Skip to content

Commit

Permalink
Updated build.
Browse files Browse the repository at this point in the history
  • Loading branch information
travist committed Apr 23, 2024
1 parent 6867afc commit d5654b8
Show file tree
Hide file tree
Showing 40 changed files with 143 additions and 85 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
},
"homepage": "https://github.com/formio/formio.js#readme",
"dependencies": {
"@formio/bootstrap": "^3.0.0-rc.23",
"@formio/bootstrap": "^3.0.0-rc.24",
"@formio/choices.js": "^10.2.1",
"@formio/core": "^2.1.0-dev.tt.3",
"@formio/text-mask-addons": "^3.8.0-formio.2",
Expand Down
6 changes: 4 additions & 2 deletions test/renders/component-bootstrap-checkbox-multiple.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<div id="checkbox" class="mb-2 formio-form-group has-feedback formio-component formio-component-checkbox formio-component-checkbox formio-component-multiple " ref="component">
<div class="form-check checkbox">
<input ref="input" name="data[checkbox]" type="checkbox" class="form-check-input" lang="en" value="0" aria-required="false">
<label class=" form-check-label"><span>Checkbox</span></label>
<input ref="input" id="checkbox-checkbox" aria-labelledby="l-checkbox-checkbox" name="data[checkbox]" type="checkbox" class="form-check-input" lang="en" value="0" aria-required="false">
<label class=" form-check-label" for="checkbox-checkbox" id="l-checkbox-checkbox">
<span>Checkbox</span>
</label>
</div>
<div ref="messageContainer" class="formio-errors invalid-feedback"></div>
</div>
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<div id="checkbox" class="mb-2 formio-form-group has-feedback formio-component formio-component-checkbox formio-component-checkbox " ref="component">
<div class="form-check checkbox">
<input ref="input" name="data[checkbox]" type="checkbox" class="form-check-input" lang="en" disabled="disabled" value="0" aria-required="false">
<label class=" form-check-label"><span>Checkbox</span></label>
<input ref="input" id="checkbox-checkbox" aria-labelledby="l-checkbox-checkbox" name="data[checkbox]" type="checkbox" class="form-check-input" lang="en" disabled="disabled" value="0" aria-required="false">
<label class=" form-check-label" for="checkbox-checkbox" id="l-checkbox-checkbox">
<span>Checkbox</span>
</label>
</div>
<div ref="messageContainer" class="formio-errors invalid-feedback"></div>
</div>
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<div id="checkbox" class="mb-2 formio-form-group has-feedback formio-component formio-component-checkbox formio-component-checkbox " ref="component">
<div class="form-check checkbox">
<input ref="input" name="data[checkbox]" type="checkbox" class="form-check-input" lang="en" disabled="disabled" value="0" checked=true aria-required="false">
<label class=" form-check-label"><span>Checkbox</span></label>
<input ref="input" id="checkbox-checkbox" aria-labelledby="l-checkbox-checkbox" name="data[checkbox]" type="checkbox" class="form-check-input" lang="en" disabled="disabled" value="0" checked=true aria-required="false">
<label class=" form-check-label" for="checkbox-checkbox" id="l-checkbox-checkbox">
<span>Checkbox</span>
</label>
</div>
<div ref="messageContainer" class="formio-errors invalid-feedback"></div>
</div>
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<div id="checkbox" class="mb-2 formio-form-group has-feedback formio-component formio-component-checkbox formio-component-checkbox " ref="component">
<div class="form-check checkbox">
<input ref="input" name="data[checkbox]" type="checkbox" class="form-check-input" lang="en" disabled="disabled" value="0" aria-required="false">
<label class=" form-check-label"><span>Checkbox</span></label>
<input ref="input" id="checkbox-checkbox" aria-labelledby="l-checkbox-checkbox" name="data[checkbox]" type="checkbox" class="form-check-input" lang="en" disabled="disabled" value="0" aria-required="false">
<label class=" form-check-label" for="checkbox-checkbox" id="l-checkbox-checkbox">
<span>Checkbox</span>
</label>
</div>
<div ref="messageContainer" class="formio-errors invalid-feedback"></div>
</div>
6 changes: 4 additions & 2 deletions test/renders/component-bootstrap-checkbox-readOnly.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<div id="checkbox" class="mb-2 formio-form-group has-feedback formio-component formio-component-checkbox formio-component-checkbox " ref="component">
<div class="form-check checkbox">
<input ref="input" name="data[checkbox]" type="checkbox" class="form-check-input" lang="en" disabled="disabled" value="0" aria-required="false">
<label class=" form-check-label"><span>Checkbox</span></label>
<input ref="input" id="checkbox-checkbox" aria-labelledby="l-checkbox-checkbox" name="data[checkbox]" type="checkbox" class="form-check-input" lang="en" disabled="disabled" value="0" aria-required="false">
<label class=" form-check-label" for="checkbox-checkbox" id="l-checkbox-checkbox">
<span>Checkbox</span>
</label>
</div>
<div ref="messageContainer" class="formio-errors invalid-feedback"></div>
</div>
6 changes: 4 additions & 2 deletions test/renders/component-bootstrap-checkbox-required.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<div id="checkbox" class="mb-2 formio-form-group has-feedback formio-component formio-component-checkbox formio-component-checkbox required" ref="component">
<div class="form-check checkbox">
<input ref="input" name="data[checkbox]" type="checkbox" class="form-check-input" lang="en" value="0" aria-required="true">
<label class=" field-required form-check-label"><span>Checkbox</span></label>
<input ref="input" id="checkbox-checkbox" aria-labelledby="l-checkbox-checkbox" name="data[checkbox]" type="checkbox" class="form-check-input" lang="en" value="0" aria-required="true">
<label class=" field-required form-check-label" for="checkbox-checkbox" id="l-checkbox-checkbox">
<span>Checkbox</span>
</label>
</div>
<div ref="messageContainer" class="formio-errors invalid-feedback"></div>
</div>
6 changes: 4 additions & 2 deletions test/renders/component-bootstrap-checkbox.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<div id="checkbox" class="mb-2 formio-form-group has-feedback formio-component formio-component-checkbox formio-component-checkbox " ref="component">
<div class="form-check checkbox">
<input ref="input" name="data[checkbox]" type="checkbox" class="form-check-input" lang="en" value="0" aria-required="false">
<label class=" form-check-label"><span>Checkbox</span></label>
<input ref="input" id="checkbox-checkbox" aria-labelledby="l-checkbox-checkbox" name="data[checkbox]" type="checkbox" class="form-check-input" lang="en" value="0" aria-required="false">
<label class=" form-check-label" for="checkbox-checkbox" id="l-checkbox-checkbox">
<span>Checkbox</span>
</label>
</div>
<div ref="messageContainer" class="formio-errors invalid-feedback"></div>
</div>
4 changes: 2 additions & 2 deletions test/renders/component-bootstrap-radio-readOnly-value0.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
</label>
<div class="form-radio radio" ref="radioGroup" role="radiogroup" aria-required="false" aria-labelledby="l-radio-radio">
<div class="radio form-check" ref="wrapper">
<input ref="input" name="data[radio][undefined-radio]" type="radio" class="form-check-input" lang="en" disabled="disabled" value="" id="-radio--" role="radio">
<label class="form-check-label label-position-" for="-radio--"><span></span></label>
<input ref="input" name="data[radio][radio-radio]" type="radio" class="form-check-input" lang="en" disabled="disabled" value="" id="radio-radio--" role="radio">
<label class="form-check-label label-position-" for="radio-radio--"><span></span></label>
</div>
</div>
<div ref="messageContainer" class="formio-errors invalid-feedback"></div>
Expand Down
4 changes: 2 additions & 2 deletions test/renders/component-bootstrap-radio-readOnly-value1.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
</label>
<div class="form-radio radio" ref="radioGroup" role="radiogroup" aria-required="false" aria-labelledby="l-radio-radio">
<div class="radio form-check" ref="wrapper">
<input ref="input" name="data[radio][undefined-radio]" type="radio" class="form-check-input" lang="en" disabled="disabled" value="" id="-radio--" role="radio">
<label class="form-check-label label-position-" for="-radio--"><span></span></label>
<input ref="input" name="data[radio][radio-radio]" type="radio" class="form-check-input" lang="en" disabled="disabled" value="" id="radio-radio--" role="radio">
<label class="form-check-label label-position-" for="radio-radio--"><span></span></label>
</div>
</div>
<div ref="messageContainer" class="formio-errors invalid-feedback"></div>
Expand Down
4 changes: 2 additions & 2 deletions test/renders/component-bootstrap-radio-readOnly-value2.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
</label>
<div class="form-radio radio" ref="radioGroup" role="radiogroup" aria-required="false" aria-labelledby="l-radio-radio">
<div class="radio form-check" ref="wrapper">
<input ref="input" name="data[radio][undefined-radio]" type="radio" class="form-check-input" lang="en" disabled="disabled" value="" id="-radio--" role="radio">
<label class="form-check-label label-position-" for="-radio--"><span></span></label>
<input ref="input" name="data[radio][radio-radio]" type="radio" class="form-check-input" lang="en" disabled="disabled" value="" id="radio-radio--" role="radio">
<label class="form-check-label label-position-" for="radio-radio--"><span></span></label>
</div>
</div>
<div ref="messageContainer" class="formio-errors invalid-feedback"></div>
Expand Down
4 changes: 2 additions & 2 deletions test/renders/component-bootstrap-radio-readOnly-value3.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
</label>
<div class="form-radio radio" ref="radioGroup" role="radiogroup" aria-required="false" aria-labelledby="l-radio-radio">
<div class="radio form-check" ref="wrapper">
<input ref="input" name="data[radio][undefined-radio]" type="radio" class="form-check-input" lang="en" disabled="disabled" value="" id="-radio--" role="radio">
<label class="form-check-label label-position-" for="-radio--"><span></span></label>
<input ref="input" name="data[radio][radio-radio]" type="radio" class="form-check-input" lang="en" disabled="disabled" value="" id="radio-radio--" role="radio">
<label class="form-check-label label-position-" for="radio-radio--"><span></span></label>
</div>
</div>
<div ref="messageContainer" class="formio-errors invalid-feedback"></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
</label>
<div class="form-radio radio" ref="radioGroup" role="group" aria-required="false" aria-labelledby="l-selectBoxes-selectBoxes">
<div class="checkbox form-check" ref="wrapper">
<input ref="input" name="data[selectBoxes][]" type="checkbox" class="form-check-input" lang="en" disabled="disabled" value="" id="-selectBoxes--" role="checkbox">
<label class="form-check-label label-position-" for="-selectBoxes--"><span></span></label>
<input ref="input" name="data[selectBoxes][]" type="checkbox" class="form-check-input" lang="en" disabled="disabled" value="" id="selectBoxes-selectBoxes--" role="checkbox">
<label class="form-check-label label-position-" for="selectBoxes-selectBoxes--"><span></span></label>
</div>
</div>
<div ref="messageContainer" class="formio-errors invalid-feedback"></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
</label>
<div class="form-radio radio" ref="radioGroup" role="group" aria-required="false" aria-labelledby="l-selectBoxes-selectBoxes">
<div class="checkbox form-check" ref="wrapper">
<input ref="input" name="data[selectBoxes][]" type="checkbox" class="form-check-input" lang="en" disabled="disabled" value="" id="-selectBoxes--" role="checkbox">
<label class="form-check-label label-position-" for="-selectBoxes--"><span></span></label>
<input ref="input" name="data[selectBoxes][]" type="checkbox" class="form-check-input" lang="en" disabled="disabled" value="" id="selectBoxes-selectBoxes--" role="checkbox">
<label class="form-check-label label-position-" for="selectBoxes-selectBoxes--"><span></span></label>
</div>
</div>
<div ref="messageContainer" class="formio-errors invalid-feedback"></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
</label>
<div class="form-radio radio" ref="radioGroup" role="group" aria-required="false" aria-labelledby="l-selectBoxes-selectBoxes">
<div class="checkbox form-check" ref="wrapper">
<input ref="input" name="data[selectBoxes][]" type="checkbox" class="form-check-input" lang="en" disabled="disabled" value="" id="-selectBoxes--" role="checkbox">
<label class="form-check-label label-position-" for="-selectBoxes--"><span></span></label>
<input ref="input" name="data[selectBoxes][]" type="checkbox" class="form-check-input" lang="en" disabled="disabled" value="" id="selectBoxes-selectBoxes--" role="checkbox">
<label class="form-check-label label-position-" for="selectBoxes-selectBoxes--"><span></span></label>
</div>
</div>
<div ref="messageContainer" class="formio-errors invalid-feedback"></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
</label>
<div class="form-radio radio" ref="radioGroup" role="group" aria-required="false" aria-labelledby="l-selectBoxes-selectBoxes">
<div class="checkbox form-check" ref="wrapper">
<input ref="input" name="data[selectBoxes][]" type="checkbox" class="form-check-input" lang="en" disabled="disabled" value="" id="-selectBoxes--" role="checkbox">
<label class="form-check-label label-position-" for="-selectBoxes--"><span></span></label>
<input ref="input" name="data[selectBoxes][]" type="checkbox" class="form-check-input" lang="en" disabled="disabled" value="" id="selectBoxes-selectBoxes--" role="checkbox">
<label class="form-check-label label-position-" for="selectBoxes-selectBoxes--"><span></span></label>
</div>
</div>
<div ref="messageContainer" class="formio-errors invalid-feedback"></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
</label>
<div class="form-radio radio" ref="radioGroup" role="group" aria-required="false" aria-labelledby="l-selectBoxes-selectBoxes">
<div class="checkbox form-check" ref="wrapper">
<input ref="input" name="data[selectBoxes][]" type="checkbox" class="form-check-input" lang="en" disabled="disabled" value="" id="-selectBoxes--" role="checkbox">
<label class="form-check-label label-position-" for="-selectBoxes--"><span></span></label>
<input ref="input" name="data[selectBoxes][]" type="checkbox" class="form-check-input" lang="en" disabled="disabled" value="" id="selectBoxes-selectBoxes--" role="checkbox">
<label class="form-check-label label-position-" for="selectBoxes-selectBoxes--"><span></span></label>
</div>
</div>
<div ref="messageContainer" class="formio-errors invalid-feedback"></div>
Expand Down
6 changes: 4 additions & 2 deletions test/renders/form-bootstrap-basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,10 @@
</div>
<div id="checkbox" class="mb-2 formio-form-group has-feedback formio-component formio-component-checkbox formio-component-checkbox " ref="component">
<div class="form-check checkbox">
<input ref="input" name="data[checkbox]" type="checkbox" class="form-check-input" lang="en" value="0" aria-required="false">
<label class=" form-check-label"><span>Checkbox</span></label>
<input ref="input" id="checkbox-checkbox" aria-labelledby="l-checkbox-checkbox" name="data[checkbox]" type="checkbox" class="form-check-input" lang="en" value="0" aria-required="false">
<label class=" form-check-label" for="checkbox-checkbox" id="l-checkbox-checkbox">
<span>Checkbox</span>
</label>
</div>
<div ref="messageContainer" class="formio-errors invalid-feedback"></div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@
<div role="tabpanel" class="card-body tab-pane" style="display: block" ref="tab-tabs">
<div id="checkbox" class="mb-2 formio-form-group has-feedback formio-component formio-component-checkbox formio-component-checkbox " ref="component">
<div class="form-check checkbox">
<input ref="input" name="data[checkbox]" type="checkbox" class="form-check-input" lang="en" value="0" aria-required="false">
<label class=" form-check-label"><span>hide</span></label>
<input ref="input" id="checkbox-checkbox" aria-labelledby="l-checkbox-checkbox" name="data[checkbox]" type="checkbox" class="form-check-input" lang="en" value="0" aria-required="false">
<label class=" form-check-label" for="checkbox-checkbox" id="l-checkbox-checkbox">
<span>hide</span>
</label>
</div>
<div ref="messageContainer" class="formio-errors invalid-feedback"></div>
</div>
Expand Down
8 changes: 5 additions & 3 deletions test/renders/form-bootstrap-data.html
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,10 @@
</div>
<div id="show" class="mb-2 formio-form-group has-feedback formio-component formio-component-checkbox formio-component-show " ref="component">
<div class="form-check checkbox">
<input ref="input" name="data[show]" type="checkbox" class="form-check-input" lang="en" value="0" aria-required="false">
<label class=" form-check-label"><span>Show</span></label>
<input ref="input" id="show-show" aria-labelledby="l-show-show" name="data[show]" type="checkbox" class="form-check-input" lang="en" value="0" aria-required="false">
<label class=" form-check-label" for="show-show" id="l-show-show">
<span>Show</span>
</label>
</div>
<div ref="messageContainer" class="formio-errors invalid-feedback"></div>
</div>
Expand All @@ -246,7 +248,7 @@
<td ref="datagrid-conditionalDataGrid">
<div id="conditionalDataGridShow2" class="mb-2 formio-form-group has-feedback formio-component formio-component-checkbox formio-component-conditionalDataGridShow2 formio-component-label-hidden" ref="component">
<div class="form-check checkbox">
<input ref="input" name="data[conditionalDataGrid][0][conditionalDataGridShow2]" type="checkbox" class="form-check-input" lang="en" value="0" aria-required="false">
<input ref="input" id="conditionalDataGridShow2-conditionalDataGridShow2" aria-labelledby="l-conditionalDataGridShow2-conditionalDataGridShow2" name="data[conditionalDataGrid][0][conditionalDataGridShow2]" type="checkbox" class="form-check-input" lang="en" value="0" aria-required="false">
</div>
<div ref="messageContainer" class="formio-errors invalid-feedback"></div>
</div>
Expand Down
12 changes: 8 additions & 4 deletions test/renders/form-bootstrap-defaults.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,19 @@
</div>
<div id="checkboxFalse" class="mb-2 formio-form-group has-feedback formio-component formio-component-checkbox formio-component-checkboxFalse " ref="component">
<div class="form-check checkbox">
<input ref="input" name="data[checkboxFalse]" type="checkbox" class="form-check-input" lang="en" value="0" aria-required="false">
<label class=" form-check-label"><span>Checkbox False</span></label>
<input ref="input" id="checkboxFalse-checkboxFalse" aria-labelledby="l-checkboxFalse-checkboxFalse" name="data[checkboxFalse]" type="checkbox" class="form-check-input" lang="en" value="0" aria-required="false">
<label class=" form-check-label" for="checkboxFalse-checkboxFalse" id="l-checkboxFalse-checkboxFalse">
<span>Checkbox False</span>
</label>
</div>
<div ref="messageContainer" class="formio-errors invalid-feedback"></div>
</div>
<div id="checkboxTrue" class="mb-2 formio-form-group has-feedback formio-component formio-component-checkbox formio-component-checkboxTrue " ref="component">
<div class="form-check checkbox">
<input ref="input" name="data[checkboxTrue]" type="checkbox" class="form-check-input" lang="en" value="0" checked=true aria-required="false">
<label class=" form-check-label"><span>Checkbox True</span></label>
<input ref="input" id="checkboxTrue-checkboxTrue" aria-labelledby="l-checkboxTrue-checkboxTrue" name="data[checkboxTrue]" type="checkbox" class="form-check-input" lang="en" value="0" checked=true aria-required="false">
<label class=" form-check-label" for="checkboxTrue-checkboxTrue" id="l-checkboxTrue-checkboxTrue">
<span>Checkbox True</span>
</label>
</div>
<div ref="messageContainer" class="formio-errors invalid-feedback"></div>
</div>
Expand Down
Loading

0 comments on commit d5654b8

Please sign in to comment.