@formio/js 5.0.0-rc.43 → 5.0.0-rc.45
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/formio.embed.js +1 -1
- package/dist/formio.embed.min.js +1 -1
- package/dist/formio.embed.min.js.LICENSE.txt +1 -1
- package/dist/formio.form.js +602 -580
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.form.min.js.LICENSE.txt +1 -11
- package/dist/formio.full.js +605 -583
- package/dist/formio.full.min.js +1 -1
- package/dist/formio.full.min.js.LICENSE.txt +1 -11
- package/dist/formio.js +10 -11
- package/dist/formio.min.js +1 -1
- package/dist/formio.min.js.LICENSE.txt +1 -1
- package/dist/formio.utils.js +1 -1
- package/dist/formio.utils.min.js +1 -1
- package/dist/formio.utils.min.js.LICENSE.txt +1 -1
- package/lib/cjs/CDN.d.ts +33 -0
- package/lib/cjs/Element.d.ts +257 -0
- package/lib/cjs/Element.js +2 -0
- package/lib/cjs/Embed.d.ts +60 -0
- package/lib/cjs/EventEmitter.d.ts +7 -0
- package/lib/cjs/Form.d.ts +101 -0
- package/lib/cjs/Form.js +3 -1
- package/lib/cjs/FormBuilder.d.ts +6 -0
- package/lib/cjs/Formio.d.ts +1 -0
- package/lib/cjs/PDF.d.ts +40 -0
- package/lib/cjs/PDFBuilder.d.ts +55 -0
- package/lib/cjs/Webform.d.ts +695 -0
- package/lib/cjs/Webform.js +93 -15
- package/lib/cjs/WebformBuilder.d.ts +126 -0
- package/lib/cjs/WebformBuilder.js +8 -8
- package/lib/cjs/Wizard.d.ts +106 -0
- package/lib/cjs/WizardBuilder.d.ts +50 -0
- package/lib/cjs/addons/FormioAddon.d.ts +19 -0
- package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +718 -0
- package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.form.d.ts +592 -0
- package/lib/cjs/addons/index.d.ts +628 -0
- package/lib/cjs/builders/Builders.d.ts +18 -0
- package/lib/cjs/builders/index.d.ts +2 -0
- package/lib/cjs/components/Components.d.ts +268 -0
- package/lib/cjs/components/_classes/component/Component.d.ts +846 -0
- package/lib/cjs/components/_classes/component/Component.form.d.ts +3 -0
- package/lib/cjs/components/_classes/component/Component.js +25 -8
- package/lib/cjs/components/_classes/component/editForm/Component.edit.addons.d.ts +655 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.api.d.ts +42 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.conditional.d.ts +115 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.data.d.ts +220 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.display.d.ts +166 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.layout.d.ts +44 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.logic.d.ts +373 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.validation.d.ts +144 -0
- package/lib/cjs/components/_classes/component/editForm/utils.d.ts +84 -0
- package/lib/cjs/components/_classes/component/fixtures/comp1.d.ts +33 -0
- package/lib/cjs/components/_classes/component/fixtures/comp2.d.ts +33 -0
- package/lib/cjs/components/_classes/component/fixtures/comp3.d.ts +14 -0
- package/lib/cjs/components/_classes/component/fixtures/comp4.d.ts +17 -0
- package/lib/cjs/components/_classes/component/fixtures/comp5.d.ts +26 -0
- package/lib/cjs/components/_classes/component/fixtures/index.d.ts +6 -0
- package/lib/cjs/components/_classes/componentModal/ComponentModal.d.ts +47 -0
- package/lib/cjs/components/_classes/componentModal/ComponentModal.js +5 -4
- package/lib/cjs/components/_classes/field/Field.d.ts +5 -0
- package/lib/cjs/components/_classes/input/Input.d.ts +42 -0
- package/lib/cjs/components/_classes/input/Input.js +1 -1
- package/lib/cjs/components/_classes/list/ListComponent.d.ts +18 -0
- package/lib/cjs/components/_classes/list/ListComponent.form.d.ts +3 -0
- package/lib/cjs/components/_classes/list/editForm/ListComponent.edit.data.d.ts +189 -0
- package/lib/cjs/components/_classes/multivalue/Multivalue.d.ts +29 -0
- package/lib/cjs/components/_classes/multivalue/Multivalue.js +1 -1
- package/lib/cjs/components/_classes/nested/NestedComponent.d.ts +152 -0
- package/lib/cjs/components/_classes/nested/NestedComponent.form.d.ts +3 -0
- package/lib/cjs/components/_classes/nested/NestedComponent.js +4 -2
- package/lib/cjs/components/_classes/nested/fixtures/comp1.d.ts +8 -0
- package/lib/cjs/components/_classes/nested/fixtures/comp2.d.ts +236 -0
- package/lib/cjs/components/_classes/nested/fixtures/comp3.d.ts +26 -0
- package/lib/cjs/components/_classes/nested/fixtures/index.d.ts +3 -0
- package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +17 -0
- package/lib/cjs/components/_classes/nesteddata/NestedDataComponent.d.ts +12 -0
- package/lib/cjs/components/address/Address.d.ts +66 -0
- package/lib/cjs/components/address/Address.form.d.ts +3 -0
- package/lib/cjs/components/address/editForm/Address.edit.data.d.ts +32 -0
- package/lib/cjs/components/address/editForm/Address.edit.display.d.ts +50 -0
- package/lib/cjs/components/address/editForm/Address.edit.provider.d.ts +164 -0
- package/lib/cjs/components/address/fixtures/comp1.d.ts +34 -0
- package/lib/cjs/components/address/fixtures/comp2.d.ts +62 -0
- package/lib/cjs/components/address/fixtures/comp3.d.ts +44 -0
- package/lib/cjs/components/address/fixtures/comp4.d.ts +56 -0
- package/lib/cjs/components/address/fixtures/index.d.ts +5 -0
- package/lib/cjs/components/address/fixtures/values.d.ts +22 -0
- package/lib/cjs/components/alert/Alert.d.ts +30 -0
- package/lib/cjs/components/builder.d.ts +2 -0
- package/lib/cjs/components/button/Button.d.ts +45 -0
- package/lib/cjs/components/button/Button.form.d.ts +3 -0
- package/lib/cjs/components/button/editForm/Button.edit.display.d.ts +375 -0
- package/lib/cjs/components/button/fixtures/comp1.d.ts +15 -0
- package/lib/cjs/components/button/fixtures/comp2.d.ts +25 -0
- package/lib/cjs/components/button/fixtures/comp3.d.ts +113 -0
- package/lib/cjs/components/button/fixtures/index.d.ts +4 -0
- package/lib/cjs/components/button/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/checkbox/Checkbox.d.ts +77 -0
- package/lib/cjs/components/checkbox/Checkbox.form.d.ts +3 -0
- package/lib/cjs/components/checkbox/editForm/Checkbox.edit.data.d.ts +5 -0
- package/lib/cjs/components/checkbox/editForm/Checkbox.edit.display.d.ts +76 -0
- package/lib/cjs/components/checkbox/editForm/Checkbox.edit.validation.d.ts +5 -0
- package/lib/cjs/components/checkbox/fixtures/comp1.d.ts +24 -0
- package/lib/cjs/components/checkbox/fixtures/comp2.d.ts +12 -0
- package/lib/cjs/components/checkbox/fixtures/comp3.d.ts +15 -0
- package/lib/cjs/components/checkbox/fixtures/comp4.d.ts +48 -0
- package/lib/cjs/components/checkbox/fixtures/customDefaultComponent.d.ts +25 -0
- package/lib/cjs/components/checkbox/fixtures/index.d.ts +6 -0
- package/lib/cjs/components/checkbox/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/columns/Columns.d.ts +28 -0
- package/lib/cjs/components/columns/Columns.form.d.ts +3 -0
- package/lib/cjs/components/columns/editForm/Columns.edit.display.d.ts +87 -0
- package/lib/cjs/components/columns/fixtures/comp1.d.ts +45 -0
- package/lib/cjs/components/columns/fixtures/comp2.d.ts +24 -0
- package/lib/cjs/components/columns/fixtures/comp3.d.ts +45 -0
- package/lib/cjs/components/columns/fixtures/index.d.ts +4 -0
- package/lib/cjs/components/container/Container.d.ts +16 -0
- package/lib/cjs/components/container/Container.form.d.ts +3 -0
- package/lib/cjs/components/container/editForm/Container.edit.data.d.ts +5 -0
- package/lib/cjs/components/container/editForm/Container.edit.display.d.ts +5 -0
- package/lib/cjs/components/container/fixtures/comp1.d.ts +49 -0
- package/lib/cjs/components/container/fixtures/comp2.d.ts +30 -0
- package/lib/cjs/components/container/fixtures/comp3.d.ts +77 -0
- package/lib/cjs/components/container/fixtures/comp4.d.ts +44 -0
- package/lib/cjs/components/container/fixtures/index.d.ts +5 -0
- package/lib/cjs/components/content/Content.d.ts +18 -0
- package/lib/cjs/components/content/Content.form.d.ts +3 -0
- package/lib/cjs/components/content/editForm/Content.edit.display.d.ts +18 -0
- package/lib/cjs/components/content/editForm/Content.edit.logic.d.ts +49 -0
- package/lib/cjs/components/content/fixtures/comp1.d.ts +13 -0
- package/lib/cjs/components/content/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/currency/Currency.d.ts +8 -0
- package/lib/cjs/components/currency/Currency.form.d.ts +3 -0
- package/lib/cjs/components/currency/editForm/Currency.edit.data.d.ts +29 -0
- package/lib/cjs/components/currency/editForm/Currency.edit.display.d.ts +18 -0
- package/lib/cjs/components/currency/fixtures/comp1.d.ts +31 -0
- package/lib/cjs/components/currency/fixtures/comp2.d.ts +20 -0
- package/lib/cjs/components/currency/fixtures/comp3.d.ts +13 -0
- package/lib/cjs/components/currency/fixtures/comp4.d.ts +17 -0
- package/lib/cjs/components/currency/fixtures/index.d.ts +5 -0
- package/lib/cjs/components/currency/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/datagrid/DataGrid.d.ts +82 -0
- package/lib/cjs/components/datagrid/DataGrid.form.d.ts +3 -0
- package/lib/cjs/components/datagrid/DataGrid.js +1 -1
- package/lib/cjs/components/datagrid/editForm/DataGrid.edit.data.d.ts +5 -0
- package/lib/cjs/components/datagrid/editForm/DataGrid.edit.display.d.ts +297 -0
- package/lib/cjs/components/datagrid/editForm/DataGrid.edit.validation.d.ts +20 -0
- package/lib/cjs/components/datagrid/fixtures/comp-modal-with-required-fields.d.ts +37 -0
- package/lib/cjs/components/datagrid/fixtures/comp-on-blur-validation.d.ts +0 -0
- package/lib/cjs/components/datagrid/fixtures/comp-row-groups-with-def-value.d.ts +63 -0
- package/lib/cjs/components/datagrid/fixtures/comp-with-allow-calculate-override.d.ts +54 -0
- package/lib/cjs/components/datagrid/fixtures/comp-with-collapsible-groups.d.ts +76 -0
- package/lib/cjs/components/datagrid/fixtures/comp-with-conditional-components-and-validations.d.ts +202 -0
- package/lib/cjs/components/datagrid/fixtures/comp-with-def-value.d.ts +61 -0
- package/lib/cjs/components/datagrid/fixtures/comp-with-logic.d.ts +165 -0
- package/lib/cjs/components/datagrid/fixtures/comp1.d.ts +93 -0
- package/lib/cjs/components/datagrid/fixtures/comp2.d.ts +18 -0
- package/lib/cjs/components/datagrid/fixtures/comp3.d.ts +14 -0
- package/lib/cjs/components/datagrid/fixtures/comp4.d.ts +27 -0
- package/lib/cjs/components/datagrid/fixtures/comp5.d.ts +67 -0
- package/lib/cjs/components/datagrid/fixtures/comp6.d.ts +567 -0
- package/lib/cjs/components/datagrid/fixtures/comp7.d.ts +28 -0
- package/lib/cjs/components/datagrid/fixtures/comp8.d.ts +35 -0
- package/lib/cjs/components/datagrid/fixtures/index.d.ts +17 -0
- package/lib/cjs/components/datagrid/fixtures/two-comp-with-allow-calculate-override.d.ts +54 -0
- package/lib/cjs/components/datamap/DataMap.d.ts +36 -0
- package/lib/cjs/components/datamap/DataMap.form.d.ts +3 -0
- package/lib/cjs/components/datamap/editForm/DataMap.edit.data.d.ts +5 -0
- package/lib/cjs/components/datamap/editForm/DataMap.edit.display.d.ts +32 -0
- package/lib/cjs/components/datamap/fixtures/comp1.d.ts +18 -0
- package/lib/cjs/components/datamap/fixtures/formWithConditionalPanel.d.ts +87 -0
- package/lib/cjs/components/datamap/fixtures/index.d.ts +3 -0
- package/lib/cjs/components/datetime/DateTime.d.ts +39 -0
- package/lib/cjs/components/datetime/DateTime.form.d.ts +3 -0
- package/lib/cjs/components/datetime/editForm/DateTime.edit.data.d.ts +24 -0
- package/lib/cjs/components/datetime/editForm/DateTime.edit.date.d.ts +63 -0
- package/lib/cjs/components/datetime/editForm/DateTime.edit.display.d.ts +128 -0
- package/lib/cjs/components/datetime/editForm/DateTime.edit.time.d.ts +9 -0
- package/lib/cjs/components/datetime/editForm/DateTime.edit.validation.d.ts +41 -0
- package/lib/cjs/components/datetime/fixtures/comp1.d.ts +45 -0
- package/lib/cjs/components/datetime/fixtures/comp10.d.ts +102 -0
- package/lib/cjs/components/datetime/fixtures/comp11.d.ts +58 -0
- package/lib/cjs/components/datetime/fixtures/comp12.d.ts +57 -0
- package/lib/cjs/components/datetime/fixtures/comp13.d.ts +126 -0
- package/lib/cjs/components/datetime/fixtures/comp2.d.ts +42 -0
- package/lib/cjs/components/datetime/fixtures/comp3.d.ts +51 -0
- package/lib/cjs/components/datetime/fixtures/comp5.d.ts +57 -0
- package/lib/cjs/components/datetime/fixtures/comp6.d.ts +55 -0
- package/lib/cjs/components/datetime/fixtures/comp7.d.ts +59 -0
- package/lib/cjs/components/datetime/fixtures/comp8.d.ts +59 -0
- package/lib/cjs/components/datetime/fixtures/comp9.d.ts +64 -0
- package/lib/cjs/components/datetime/fixtures/index.d.ts +13 -0
- package/lib/cjs/components/datetime/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/day/Day.d.ts +163 -0
- package/lib/cjs/components/day/Day.form.d.ts +3 -0
- package/lib/cjs/components/day/editForm/Day.edit.data.d.ts +5 -0
- package/lib/cjs/components/day/editForm/Day.edit.day.d.ts +40 -0
- package/lib/cjs/components/day/editForm/Day.edit.display.d.ts +40 -0
- package/lib/cjs/components/day/editForm/Day.edit.month.d.ts +40 -0
- package/lib/cjs/components/day/editForm/Day.edit.validation.d.ts +29 -0
- package/lib/cjs/components/day/editForm/Day.edit.year.d.ts +40 -0
- package/lib/cjs/components/day/fixtures/comp1.d.ts +46 -0
- package/lib/cjs/components/day/fixtures/comp2.d.ts +46 -0
- package/lib/cjs/components/day/fixtures/comp3.d.ts +48 -0
- package/lib/cjs/components/day/fixtures/comp4.d.ts +53 -0
- package/lib/cjs/components/day/fixtures/comp5.d.ts +29 -0
- package/lib/cjs/components/day/fixtures/comp6.d.ts +81 -0
- package/lib/cjs/components/day/fixtures/index.d.ts +7 -0
- package/lib/cjs/components/day/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/editgrid/EditGrid.d.ts +104 -0
- package/lib/cjs/components/editgrid/EditGrid.form.d.ts +3 -0
- package/lib/cjs/components/editgrid/EditGrid.js +3 -3
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.data.d.ts +18 -0
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.display.d.ts +90 -0
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.templates.d.ts +60 -0
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.validation.d.ts +29 -0
- package/lib/cjs/components/editgrid/fixtures/comp-openWhenEmpty.d.ts +34 -0
- package/lib/cjs/components/editgrid/fixtures/comp-with-basic-components.d.ts +327 -0
- package/lib/cjs/components/editgrid/fixtures/comp-with-conditions-and-openWhenEmpty.d.ts +79 -0
- package/lib/cjs/components/editgrid/fixtures/comp-with-custom-default-value.d.ts +190 -0
- package/lib/cjs/components/editgrid/fixtures/comp1.d.ts +89 -0
- package/lib/cjs/components/editgrid/fixtures/comp10.d.ts +49 -0
- package/lib/cjs/components/editgrid/fixtures/comp11.d.ts +53 -0
- package/lib/cjs/components/editgrid/fixtures/comp12.d.ts +58 -0
- package/lib/cjs/components/editgrid/fixtures/comp13.d.ts +64 -0
- package/lib/cjs/components/editgrid/fixtures/comp14.d.ts +88 -0
- package/lib/cjs/components/editgrid/fixtures/comp15.d.ts +54 -0
- package/lib/cjs/components/editgrid/fixtures/comp2.d.ts +112 -0
- package/lib/cjs/components/editgrid/fixtures/comp3.d.ts +27 -0
- package/lib/cjs/components/editgrid/fixtures/comp4.d.ts +23 -0
- package/lib/cjs/components/editgrid/fixtures/comp5.d.ts +19 -0
- package/lib/cjs/components/editgrid/fixtures/comp6.d.ts +50 -0
- package/lib/cjs/components/editgrid/fixtures/comp7.d.ts +129 -0
- package/lib/cjs/components/editgrid/fixtures/comp8.d.ts +148 -0
- package/lib/cjs/components/editgrid/fixtures/comp9.d.ts +86 -0
- package/lib/cjs/components/editgrid/fixtures/formsWithEditGridAndConditions.d.ts +919 -0
- package/lib/cjs/components/editgrid/fixtures/index.d.ts +19 -0
- package/lib/cjs/components/email/Email.d.ts +4 -0
- package/lib/cjs/components/email/Email.form.d.ts +3 -0
- package/lib/cjs/components/email/editForm/Email.edit.display.d.ts +5 -0
- package/lib/cjs/components/email/editForm/Email.edit.validation.d.ts +24 -0
- package/lib/cjs/components/email/fixtures/comp1.d.ts +26 -0
- package/lib/cjs/components/email/fixtures/comp2.d.ts +23 -0
- package/lib/cjs/components/email/fixtures/index.d.ts +3 -0
- package/lib/cjs/components/email/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/fieldset/Fieldset.d.ts +15 -0
- package/lib/cjs/components/fieldset/Fieldset.form.d.ts +3 -0
- package/lib/cjs/components/fieldset/editForm/Fieldset.edit.display.d.ts +35 -0
- package/lib/cjs/components/fieldset/fixtures/comp1.d.ts +46 -0
- package/lib/cjs/components/fieldset/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/file/File.d.ts +172 -0
- package/lib/cjs/components/file/File.form.d.ts +3 -0
- package/lib/cjs/components/file/editForm/File.edit.data.d.ts +5 -0
- package/lib/cjs/components/file/editForm/File.edit.display.d.ts +24 -0
- package/lib/cjs/components/file/editForm/File.edit.file.d.ts +361 -0
- package/lib/cjs/components/file/editForm/File.edit.validation.d.ts +5 -0
- package/lib/cjs/components/file/fixtures/comp1.d.ts +15 -0
- package/lib/cjs/components/file/fixtures/comp2.d.ts +35 -0
- package/lib/cjs/components/file/fixtures/comp3.d.ts +29 -0
- package/lib/cjs/components/file/fixtures/index.d.ts +3 -0
- package/lib/cjs/components/file/fixtures/values.d.ts +10 -0
- package/lib/cjs/components/form/Form.d.ts +94 -0
- package/lib/cjs/components/form/Form.form.d.ts +3 -0
- package/lib/cjs/components/form/Form.js +1 -1
- package/lib/cjs/components/form/editForm/Form.edit.data.d.ts +83 -0
- package/lib/cjs/components/form/editForm/Form.edit.display.d.ts +5 -0
- package/lib/cjs/components/form/editForm/Form.edit.form.d.ts +91 -0
- package/lib/cjs/components/form/fixtures/comp1.d.ts +45 -0
- package/lib/cjs/components/form/fixtures/comp2.d.ts +14 -0
- package/lib/cjs/components/form/fixtures/comp3.d.ts +187 -0
- package/lib/cjs/components/form/fixtures/comp4.d.ts +107 -0
- package/lib/cjs/components/form/fixtures/comp5.d.ts +42 -0
- package/lib/cjs/components/form/fixtures/comp6.d.ts +74 -0
- package/lib/cjs/components/form/fixtures/formModalEdit.d.ts +42 -0
- package/lib/cjs/components/form/fixtures/index.d.ts +8 -0
- package/lib/cjs/components/form/fixtures/values.d.ts +6 -0
- package/lib/cjs/components/hidden/Hidden.d.ts +26 -0
- package/lib/cjs/components/hidden/Hidden.form.d.ts +3 -0
- package/lib/cjs/components/hidden/editForm/Hidden.edit.data.d.ts +5 -0
- package/lib/cjs/components/hidden/editForm/Hidden.edit.display.d.ts +5 -0
- package/lib/cjs/components/hidden/fixtures/comp1.d.ts +18 -0
- package/lib/cjs/components/hidden/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/hidden/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/html/HTML.d.ts +19 -0
- package/lib/cjs/components/html/HTML.form.d.ts +3 -0
- package/lib/cjs/components/html/HTML.js +2 -2
- package/lib/cjs/components/html/editForm/HTML.edit.display.d.ts +77 -0
- package/lib/cjs/components/html/editForm/HTML.edit.logic.d.ts +49 -0
- package/lib/cjs/components/html/fixtures/comp1.d.ts +19 -0
- package/lib/cjs/components/html/fixtures/comp2.d.ts +21 -0
- package/lib/cjs/components/html/fixtures/comp3.d.ts +42 -0
- package/lib/cjs/components/html/fixtures/comp3.js +40 -0
- package/lib/cjs/components/html/fixtures/index.d.ts +4 -0
- package/lib/cjs/components/html/fixtures/index.js +3 -1
- package/lib/cjs/components/index.d.ts +96 -0
- package/lib/cjs/components/number/Number.d.ts +53 -0
- package/lib/cjs/components/number/Number.form.d.ts +3 -0
- package/lib/cjs/components/number/editForm/Number.edit.data.d.ts +18 -0
- package/lib/cjs/components/number/editForm/Number.edit.display.d.ts +5 -0
- package/lib/cjs/components/number/editForm/Number.edit.validation.d.ts +20 -0
- package/lib/cjs/components/number/fixtures/comp1.d.ts +33 -0
- package/lib/cjs/components/number/fixtures/comp2.d.ts +32 -0
- package/lib/cjs/components/number/fixtures/comp3.d.ts +14 -0
- package/lib/cjs/components/number/fixtures/comp4.d.ts +14 -0
- package/lib/cjs/components/number/fixtures/comp5.d.ts +20 -0
- package/lib/cjs/components/number/fixtures/comp6.d.ts +40 -0
- package/lib/cjs/components/number/fixtures/comp7.d.ts +15 -0
- package/lib/cjs/components/number/fixtures/index.d.ts +8 -0
- package/lib/cjs/components/number/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/panel/Panel.d.ts +14 -0
- package/lib/cjs/components/panel/Panel.form.d.ts +3 -0
- package/lib/cjs/components/panel/editForm/Panel.edit.conditional.d.ts +76 -0
- package/lib/cjs/components/panel/editForm/Panel.edit.display.d.ts +213 -0
- package/lib/cjs/components/panel/fixtures/comp1.d.ts +46 -0
- package/lib/cjs/components/panel/fixtures/comp2.d.ts +80 -0
- package/lib/cjs/components/panel/fixtures/index.d.ts +3 -0
- package/lib/cjs/components/password/Password.d.ts +3 -0
- package/lib/cjs/components/password/Password.form.d.ts +3 -0
- package/lib/cjs/components/password/editForm/Password.edit.data.d.ts +18 -0
- package/lib/cjs/components/password/editForm/Password.edit.display.d.ts +5 -0
- package/lib/cjs/components/password/editForm/Password.edit.validation.d.ts +5 -0
- package/lib/cjs/components/password/fixtures/comp1.d.ts +22 -0
- package/lib/cjs/components/password/fixtures/comp2.d.ts +27 -0
- package/lib/cjs/components/password/fixtures/index.d.ts +3 -0
- package/lib/cjs/components/password/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/phonenumber/PhoneNumber.d.ts +3 -0
- package/lib/cjs/components/phonenumber/PhoneNumber.form.d.ts +3 -0
- package/lib/cjs/components/phonenumber/editForm/PhoneNumber.edit.validation.d.ts +5 -0
- package/lib/cjs/components/phonenumber/fixtures/comp1.d.ts +27 -0
- package/lib/cjs/components/phonenumber/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/phonenumber/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/radio/Radio.d.ts +83 -0
- package/lib/cjs/components/radio/Radio.form.d.ts +3 -0
- package/lib/cjs/components/radio/Radio.js +29 -10
- package/lib/cjs/components/radio/editForm/Radio.edit.data.d.ts +171 -0
- package/lib/cjs/components/radio/editForm/Radio.edit.data.js +20 -0
- package/lib/cjs/components/radio/editForm/Radio.edit.display.d.ts +40 -0
- package/lib/cjs/components/radio/editForm/Radio.edit.validation.d.ts +18 -0
- package/lib/cjs/components/radio/fixtures/comp1.d.ts +28 -0
- package/lib/cjs/components/radio/fixtures/comp10.d.ts +15 -0
- package/lib/cjs/components/radio/fixtures/comp11.d.ts +35 -0
- package/lib/cjs/components/radio/fixtures/comp11.js +85 -0
- package/lib/cjs/components/radio/fixtures/comp2.d.ts +85 -0
- package/lib/cjs/components/radio/fixtures/comp3.d.ts +85 -0
- package/lib/cjs/components/radio/fixtures/comp4.d.ts +19 -0
- package/lib/cjs/components/radio/fixtures/comp5.d.ts +39 -0
- package/lib/cjs/components/radio/fixtures/comp6.d.ts +38 -0
- package/lib/cjs/components/radio/fixtures/comp7.d.ts +23 -0
- package/lib/cjs/components/radio/fixtures/comp8.d.ts +118 -0
- package/lib/cjs/components/radio/fixtures/comp9.d.ts +35 -0
- package/lib/cjs/components/radio/fixtures/index.d.ts +12 -0
- package/lib/cjs/components/radio/fixtures/index.js +3 -1
- package/lib/cjs/components/radio/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/recaptcha/ReCaptcha.d.ts +24 -0
- package/lib/cjs/components/recaptcha/ReCaptcha.form.d.ts +3 -0
- package/lib/cjs/components/recaptcha/editForm/ReCaptcha.edit.display.d.ts +46 -0
- package/lib/cjs/components/recaptcha/fixtures/comp1.d.ts +8 -0
- package/lib/cjs/components/recaptcha/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/select/Select.d.ts +149 -0
- package/lib/cjs/components/select/Select.form.d.ts +3 -0
- package/lib/cjs/components/select/Select.js +3 -0
- package/lib/cjs/components/select/editForm/Select.edit.data.d.ts +1183 -0
- package/lib/cjs/components/select/editForm/Select.edit.data.js +63 -1
- package/lib/cjs/components/select/editForm/Select.edit.display.d.ts +27 -0
- package/lib/cjs/components/select/editForm/Select.edit.validation.d.ts +30 -0
- package/lib/cjs/components/select/fixtures/comp1.d.ts +40 -0
- package/lib/cjs/components/select/fixtures/comp10.d.ts +41 -0
- package/lib/cjs/components/select/fixtures/comp11.d.ts +28 -0
- package/lib/cjs/components/select/fixtures/comp12.d.ts +53 -0
- package/lib/cjs/components/select/fixtures/comp13.d.ts +28 -0
- package/lib/cjs/components/select/fixtures/comp14.d.ts +40 -0
- package/lib/cjs/components/select/fixtures/comp15.d.ts +50 -0
- package/lib/cjs/components/select/fixtures/comp16.d.ts +34 -0
- package/lib/cjs/components/select/fixtures/comp17.d.ts +51 -0
- package/lib/cjs/components/select/fixtures/comp18.d.ts +49 -0
- package/lib/cjs/components/select/fixtures/comp19.d.ts +23 -0
- package/lib/cjs/components/select/fixtures/comp2.d.ts +41 -0
- package/lib/cjs/components/select/fixtures/comp20.d.ts +36 -0
- package/lib/cjs/components/select/fixtures/comp21.d.ts +87 -0
- package/lib/cjs/components/select/fixtures/comp3.d.ts +35 -0
- package/lib/cjs/components/select/fixtures/comp4.d.ts +103 -0
- package/lib/cjs/components/select/fixtures/comp5.d.ts +21 -0
- package/lib/cjs/components/select/fixtures/comp6.d.ts +20 -0
- package/lib/cjs/components/select/fixtures/comp7.d.ts +63 -0
- package/lib/cjs/components/select/fixtures/comp8.d.ts +72 -0
- package/lib/cjs/components/select/fixtures/comp9.d.ts +88 -0
- package/lib/cjs/components/select/fixtures/index.d.ts +22 -0
- package/lib/cjs/components/select/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/selectboxes/SelectBoxes.d.ts +51 -0
- package/lib/cjs/components/selectboxes/SelectBoxes.form.d.ts +3 -0
- package/lib/cjs/components/selectboxes/editForm/SelectBoxes.edit.validation.d.ts +9 -0
- package/lib/cjs/components/selectboxes/fixtures/comp1.d.ts +24 -0
- package/lib/cjs/components/selectboxes/fixtures/comp2.d.ts +24 -0
- package/lib/cjs/components/selectboxes/fixtures/comp3.d.ts +23 -0
- package/lib/cjs/components/selectboxes/fixtures/comp4.d.ts +66 -0
- package/lib/cjs/components/selectboxes/fixtures/comp5.d.ts +37 -0
- package/lib/cjs/components/selectboxes/fixtures/comp6.d.ts +14 -0
- package/lib/cjs/components/selectboxes/fixtures/comp7.d.ts +18 -0
- package/lib/cjs/components/selectboxes/fixtures/index.d.ts +8 -0
- package/lib/cjs/components/selectboxes/fixtures/values.d.ts +6 -0
- package/lib/cjs/components/signature/Signature.d.ts +46 -0
- package/lib/cjs/components/signature/Signature.form.d.ts +3 -0
- package/lib/cjs/components/signature/Signature.js +1 -1
- package/lib/cjs/components/signature/editForm/Signature.edit.data.d.ts +5 -0
- package/lib/cjs/components/signature/editForm/Signature.edit.display.d.ts +54 -0
- package/lib/cjs/components/signature/editForm/Signature.edit.validation.d.ts +5 -0
- package/lib/cjs/components/signature/fixtures/comp1.d.ts +30 -0
- package/lib/cjs/components/signature/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/signature/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/survey/Survey.d.ts +37 -0
- package/lib/cjs/components/survey/Survey.form.d.ts +3 -0
- package/lib/cjs/components/survey/editForm/Survey.edit.data.d.ts +45 -0
- package/lib/cjs/components/survey/editForm/Survey.edit.display.d.ts +5 -0
- package/lib/cjs/components/survey/editForm/Survey.edit.validation.d.ts +5 -0
- package/lib/cjs/components/survey/fixtures/comp1.d.ts +31 -0
- package/lib/cjs/components/survey/fixtures/comp2.d.ts +31 -0
- package/lib/cjs/components/survey/fixtures/index.d.ts +3 -0
- package/lib/cjs/components/survey/fixtures/values.d.ts +5 -0
- package/lib/cjs/components/table/Table.d.ts +23 -0
- package/lib/cjs/components/table/Table.form.d.ts +3 -0
- package/lib/cjs/components/table/editForm/Table.edit.display.d.ts +84 -0
- package/lib/cjs/components/table/fixtures/comp1.d.ts +53 -0
- package/lib/cjs/components/table/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/tabs/Tabs.d.ts +30 -0
- package/lib/cjs/components/tabs/Tabs.form.d.ts +3 -0
- package/lib/cjs/components/tabs/editForm/Tabs.edit.display.d.ts +78 -0
- package/lib/cjs/components/tabs/fixtures/comp1.d.ts +23 -0
- package/lib/cjs/components/tabs/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/tags/Tags.d.ts +41 -0
- package/lib/cjs/components/tags/Tags.form.d.ts +3 -0
- package/lib/cjs/components/tags/editForm/Tags.edit.data.d.ts +51 -0
- package/lib/cjs/components/tags/fixtures/comp1.d.ts +20 -0
- package/lib/cjs/components/tags/fixtures/comp2.d.ts +10 -0
- package/lib/cjs/components/tags/fixtures/comp3.d.ts +23 -0
- package/lib/cjs/components/tags/fixtures/comp4.d.ts +9 -0
- package/lib/cjs/components/tags/fixtures/comp5.d.ts +24 -0
- package/lib/cjs/components/tags/fixtures/comp6.d.ts +17 -0
- package/lib/cjs/components/tags/fixtures/index.d.ts +7 -0
- package/lib/cjs/components/tags/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/textarea/TextArea.d.ts +37 -0
- package/lib/cjs/components/textarea/TextArea.form.d.ts +3 -0
- package/lib/cjs/components/textarea/TextArea.js +1 -1
- package/lib/cjs/components/textarea/editForm/TextArea.edit.display.d.ts +357 -0
- package/lib/cjs/components/textarea/editForm/TextArea.edit.validation.d.ts +10 -0
- package/lib/cjs/components/textarea/fixtures/comp1.d.ts +31 -0
- package/lib/cjs/components/textarea/fixtures/comp2.d.ts +29 -0
- package/lib/cjs/components/textarea/fixtures/comp3.d.ts +27 -0
- package/lib/cjs/components/textarea/fixtures/comp4.d.ts +30 -0
- package/lib/cjs/components/textarea/fixtures/index.d.ts +5 -0
- package/lib/cjs/components/textarea/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/textfield/TextField.d.ts +64 -0
- package/lib/cjs/components/textfield/TextField.form.d.ts +3 -0
- package/lib/cjs/components/textfield/editForm/TextField.edit.data.d.ts +46 -0
- package/lib/cjs/components/textfield/editForm/TextField.edit.display.d.ts +263 -0
- package/lib/cjs/components/textfield/editForm/TextField.edit.validation.d.ts +10 -0
- package/lib/cjs/components/textfield/fixtures/comp-with-display-and-value-masks.d.ts +47 -0
- package/lib/cjs/components/textfield/fixtures/comp1.d.ts +33 -0
- package/lib/cjs/components/textfield/fixtures/comp2.d.ts +33 -0
- package/lib/cjs/components/textfield/fixtures/comp3.d.ts +33 -0
- package/lib/cjs/components/textfield/fixtures/comp4.d.ts +23 -0
- package/lib/cjs/components/textfield/fixtures/comp5.d.ts +12 -0
- package/lib/cjs/components/textfield/fixtures/comp6.d.ts +25 -0
- package/lib/cjs/components/textfield/fixtures/comp7.d.ts +37 -0
- package/lib/cjs/components/textfield/fixtures/index.d.ts +9 -0
- package/lib/cjs/components/textfield/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/time/Time.d.ts +16 -0
- package/lib/cjs/components/time/Time.form.d.ts +3 -0
- package/lib/cjs/components/time/editForm/Time.edit.data.d.ts +10 -0
- package/lib/cjs/components/time/editForm/Time.edit.display.d.ts +52 -0
- package/lib/cjs/components/time/fixtures/comp1.d.ts +24 -0
- package/lib/cjs/components/time/fixtures/comp2.d.ts +10 -0
- package/lib/cjs/components/time/fixtures/comp3.d.ts +15 -0
- package/lib/cjs/components/time/fixtures/index.d.ts +6 -0
- package/lib/cjs/components/time/fixtures/timeForm.d.ts +47 -0
- package/lib/cjs/components/time/fixtures/timeForm2.d.ts +38 -0
- package/lib/cjs/components/time/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/unknown/Unknown.d.ts +28 -0
- package/lib/cjs/components/unknown/Unknown.form.d.ts +34 -0
- package/lib/cjs/components/unknown/editForm/Unknown.edit.display.d.ts +24 -0
- package/lib/cjs/components/unknown/fixtures/comp1.d.ts +7 -0
- package/lib/cjs/components/unknown/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/url/Url.d.ts +3 -0
- package/lib/cjs/components/url/Url.form.d.ts +3 -0
- package/lib/cjs/components/url/editForm/Url.edit.data.d.ts +5 -0
- package/lib/cjs/components/url/editForm/Url.edit.display.d.ts +5 -0
- package/lib/cjs/components/url/editForm/Url.edit.validation.d.ts +5 -0
- package/lib/cjs/components/url/fixtures/comp1.d.ts +26 -0
- package/lib/cjs/components/url/fixtures/comp2.d.ts +26 -0
- package/lib/cjs/components/url/fixtures/index.d.ts +3 -0
- package/lib/cjs/components/url/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/well/Well.d.ts +15 -0
- package/lib/cjs/components/well/Well.form.d.ts +3 -0
- package/lib/cjs/components/well/editForm/Well.edit.display.d.ts +28 -0
- package/lib/cjs/components/well/fixtures/comp1.d.ts +43 -0
- package/lib/cjs/components/well/fixtures/index.d.ts +2 -0
- package/lib/cjs/displays/Displays.d.ts +18 -0
- package/lib/cjs/displays/index.d.ts +2 -0
- package/lib/cjs/formio.embed.d.ts +2 -0
- package/lib/cjs/formio.form.d.ts +19 -0
- package/lib/cjs/formio.form.js +5 -1
- package/lib/cjs/i18n.d.ts +13 -0
- package/lib/cjs/index.d.ts +5 -0
- package/lib/cjs/licenses/Licenses.d.ts +7 -0
- package/lib/cjs/licenses/index.d.ts +2 -0
- package/lib/cjs/pdf.image.d.ts +2 -0
- package/lib/cjs/providers/Providers.d.ts +20 -0
- package/lib/cjs/providers/address/AddressProvider.d.ts +17 -0
- package/lib/cjs/providers/address/AzureAddressProvider.d.ts +12 -0
- package/lib/cjs/providers/address/CustomAddressProvider.d.ts +7 -0
- package/lib/cjs/providers/address/GoogleAddressProvider.d.ts +18 -0
- package/lib/cjs/providers/address/NominatimAddressProvider.d.ts +11 -0
- package/lib/cjs/providers/address/index.d.ts +6 -0
- package/lib/cjs/providers/auth/index.d.ts +2 -0
- package/lib/cjs/providers/index.d.ts +2 -0
- package/lib/cjs/providers/processor/fileProcessor.d.ts +2 -0
- package/lib/cjs/providers/storage/azure.d.ts +17 -0
- package/lib/cjs/providers/storage/base64.d.ts +10 -0
- package/lib/cjs/providers/storage/dropbox.d.ts +8 -0
- package/lib/cjs/providers/storage/googleDrive.d.ts +9 -0
- package/lib/cjs/providers/storage/index.d.ts +15 -0
- package/lib/cjs/providers/storage/indexeddb.d.ts +11 -0
- package/lib/cjs/providers/storage/s3.d.ts +24 -0
- package/lib/cjs/providers/storage/s3.js +29 -1
- package/lib/cjs/providers/storage/uploadAdapter.d.ts +1 -0
- package/lib/cjs/providers/storage/url.d.ts +11 -0
- package/lib/cjs/providers/storage/util.d.ts +1 -0
- package/lib/cjs/providers/storage/xhr.d.ts +8 -0
- package/lib/cjs/templates/Templates.d.ts +2 -0
- package/lib/cjs/templates/index.d.ts +229 -0
- package/lib/cjs/translations/en.d.ts +75 -0
- package/lib/cjs/utils/ChoicesWrapper.d.ts +38 -0
- package/lib/cjs/utils/Evaluator.d.ts +4 -0
- package/lib/cjs/utils/builder.d.ts +22 -0
- package/lib/cjs/utils/calendarUtils.d.ts +41 -0
- package/lib/cjs/utils/conditionOperators/ConditionOperator.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/DateGreaterThan.d.ts +13 -0
- package/lib/cjs/utils/conditionOperators/DateGreaterThanOrEqual.d.ts +4 -0
- package/lib/cjs/utils/conditionOperators/DateLessThan.d.ts +4 -0
- package/lib/cjs/utils/conditionOperators/DateLessThanOrEqual.d.ts +4 -0
- package/lib/cjs/utils/conditionOperators/EndsWith.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/GreaterThan.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/GreaterThanOrEqual.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/Includes.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/IsDateEqual.d.ts +4 -0
- package/lib/cjs/utils/conditionOperators/IsEmptyValue.d.ts +9 -0
- package/lib/cjs/utils/conditionOperators/IsEqualTo.d.ts +9 -0
- package/lib/cjs/utils/conditionOperators/IsNotDateEqual.d.ts +4 -0
- package/lib/cjs/utils/conditionOperators/IsNotEmptyValue.d.ts +4 -0
- package/lib/cjs/utils/conditionOperators/IsNotEqualTo.d.ts +4 -0
- package/lib/cjs/utils/conditionOperators/LessThan.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/LessThanOrEqual.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/NotIncludes.d.ts +4 -0
- package/lib/cjs/utils/conditionOperators/StartsWith.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/index.d.ts +6 -0
- package/lib/cjs/utils/formUtils.d.ts +173 -0
- package/lib/cjs/utils/i18n.d.ts +16 -0
- package/lib/cjs/utils/index.d.ts +3 -0
- package/lib/cjs/utils/jsonlogic/operators.d.ts +1 -0
- package/lib/cjs/utils/utils.d.ts +377 -0
- package/lib/cjs/widgets/CalendarWidget.d.ts +97 -0
- package/lib/cjs/widgets/InputWidget.d.ts +24 -0
- package/lib/cjs/widgets/index.d.ts +7 -0
- package/lib/mjs/CDN.d.ts +33 -0
- package/lib/mjs/Element.d.ts +257 -0
- package/lib/mjs/Element.js +2 -0
- package/lib/mjs/Embed.d.ts +60 -0
- package/lib/mjs/EventEmitter.d.ts +7 -0
- package/lib/mjs/Form.d.ts +101 -0
- package/lib/mjs/Form.js +3 -1
- package/lib/mjs/FormBuilder.d.ts +6 -0
- package/lib/mjs/Formio.d.ts +1 -0
- package/lib/mjs/PDF.d.ts +40 -0
- package/lib/mjs/PDFBuilder.d.ts +55 -0
- package/lib/mjs/Webform.d.ts +695 -0
- package/lib/mjs/Webform.js +98 -16
- package/lib/mjs/WebformBuilder.d.ts +126 -0
- package/lib/mjs/WebformBuilder.js +8 -8
- package/lib/mjs/Wizard.d.ts +106 -0
- package/lib/mjs/WizardBuilder.d.ts +50 -0
- package/lib/mjs/addons/FormioAddon.d.ts +19 -0
- package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +718 -0
- package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.form.d.ts +592 -0
- package/lib/mjs/addons/index.d.ts +628 -0
- package/lib/mjs/builders/Builders.d.ts +18 -0
- package/lib/mjs/builders/index.d.ts +2 -0
- package/lib/mjs/components/Components.d.ts +268 -0
- package/lib/mjs/components/_classes/component/Component.d.ts +846 -0
- package/lib/mjs/components/_classes/component/Component.form.d.ts +3 -0
- package/lib/mjs/components/_classes/component/Component.js +25 -8
- package/lib/mjs/components/_classes/component/editForm/Component.edit.addons.d.ts +655 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.api.d.ts +42 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.conditional.d.ts +115 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.data.d.ts +220 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.display.d.ts +166 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.layout.d.ts +44 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.logic.d.ts +373 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.validation.d.ts +144 -0
- package/lib/mjs/components/_classes/component/editForm/utils.d.ts +84 -0
- package/lib/mjs/components/_classes/component/fixtures/comp1.d.ts +33 -0
- package/lib/mjs/components/_classes/component/fixtures/comp2.d.ts +33 -0
- package/lib/mjs/components/_classes/component/fixtures/comp3.d.ts +14 -0
- package/lib/mjs/components/_classes/component/fixtures/comp4.d.ts +17 -0
- package/lib/mjs/components/_classes/component/fixtures/comp5.d.ts +26 -0
- package/lib/mjs/components/_classes/component/fixtures/index.d.ts +6 -0
- package/lib/mjs/components/_classes/componentModal/ComponentModal.d.ts +47 -0
- package/lib/mjs/components/_classes/componentModal/ComponentModal.js +5 -4
- package/lib/mjs/components/_classes/field/Field.d.ts +5 -0
- package/lib/mjs/components/_classes/input/Input.d.ts +42 -0
- package/lib/mjs/components/_classes/input/Input.js +1 -1
- package/lib/mjs/components/_classes/list/ListComponent.d.ts +18 -0
- package/lib/mjs/components/_classes/list/ListComponent.form.d.ts +3 -0
- package/lib/mjs/components/_classes/list/editForm/ListComponent.edit.data.d.ts +189 -0
- package/lib/mjs/components/_classes/multivalue/Multivalue.d.ts +29 -0
- package/lib/mjs/components/_classes/multivalue/Multivalue.js +1 -1
- package/lib/mjs/components/_classes/nested/NestedComponent.d.ts +152 -0
- package/lib/mjs/components/_classes/nested/NestedComponent.form.d.ts +3 -0
- package/lib/mjs/components/_classes/nested/NestedComponent.js +4 -2
- package/lib/mjs/components/_classes/nested/fixtures/comp1.d.ts +8 -0
- package/lib/mjs/components/_classes/nested/fixtures/comp2.d.ts +236 -0
- package/lib/mjs/components/_classes/nested/fixtures/comp3.d.ts +26 -0
- package/lib/mjs/components/_classes/nested/fixtures/index.d.ts +3 -0
- package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +17 -0
- package/lib/mjs/components/_classes/nesteddata/NestedDataComponent.d.ts +12 -0
- package/lib/mjs/components/address/Address.d.ts +66 -0
- package/lib/mjs/components/address/Address.form.d.ts +3 -0
- package/lib/mjs/components/address/editForm/Address.edit.data.d.ts +32 -0
- package/lib/mjs/components/address/editForm/Address.edit.display.d.ts +50 -0
- package/lib/mjs/components/address/editForm/Address.edit.provider.d.ts +164 -0
- package/lib/mjs/components/address/fixtures/comp1.d.ts +34 -0
- package/lib/mjs/components/address/fixtures/comp2.d.ts +62 -0
- package/lib/mjs/components/address/fixtures/comp3.d.ts +44 -0
- package/lib/mjs/components/address/fixtures/comp4.d.ts +56 -0
- package/lib/mjs/components/address/fixtures/index.d.ts +5 -0
- package/lib/mjs/components/address/fixtures/values.d.ts +22 -0
- package/lib/mjs/components/alert/Alert.d.ts +30 -0
- package/lib/mjs/components/builder.d.ts +2 -0
- package/lib/mjs/components/button/Button.d.ts +45 -0
- package/lib/mjs/components/button/Button.form.d.ts +3 -0
- package/lib/mjs/components/button/editForm/Button.edit.display.d.ts +375 -0
- package/lib/mjs/components/button/fixtures/comp1.d.ts +15 -0
- package/lib/mjs/components/button/fixtures/comp2.d.ts +25 -0
- package/lib/mjs/components/button/fixtures/comp3.d.ts +113 -0
- package/lib/mjs/components/button/fixtures/index.d.ts +4 -0
- package/lib/mjs/components/button/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/checkbox/Checkbox.d.ts +77 -0
- package/lib/mjs/components/checkbox/Checkbox.form.d.ts +3 -0
- package/lib/mjs/components/checkbox/editForm/Checkbox.edit.data.d.ts +5 -0
- package/lib/mjs/components/checkbox/editForm/Checkbox.edit.display.d.ts +76 -0
- package/lib/mjs/components/checkbox/editForm/Checkbox.edit.validation.d.ts +5 -0
- package/lib/mjs/components/checkbox/fixtures/comp1.d.ts +24 -0
- package/lib/mjs/components/checkbox/fixtures/comp2.d.ts +12 -0
- package/lib/mjs/components/checkbox/fixtures/comp3.d.ts +15 -0
- package/lib/mjs/components/checkbox/fixtures/comp4.d.ts +48 -0
- package/lib/mjs/components/checkbox/fixtures/customDefaultComponent.d.ts +25 -0
- package/lib/mjs/components/checkbox/fixtures/index.d.ts +6 -0
- package/lib/mjs/components/checkbox/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/columns/Columns.d.ts +28 -0
- package/lib/mjs/components/columns/Columns.form.d.ts +3 -0
- package/lib/mjs/components/columns/editForm/Columns.edit.display.d.ts +87 -0
- package/lib/mjs/components/columns/fixtures/comp1.d.ts +45 -0
- package/lib/mjs/components/columns/fixtures/comp2.d.ts +24 -0
- package/lib/mjs/components/columns/fixtures/comp3.d.ts +45 -0
- package/lib/mjs/components/columns/fixtures/index.d.ts +4 -0
- package/lib/mjs/components/container/Container.d.ts +16 -0
- package/lib/mjs/components/container/Container.form.d.ts +3 -0
- package/lib/mjs/components/container/editForm/Container.edit.data.d.ts +5 -0
- package/lib/mjs/components/container/editForm/Container.edit.display.d.ts +5 -0
- package/lib/mjs/components/container/fixtures/comp1.d.ts +49 -0
- package/lib/mjs/components/container/fixtures/comp2.d.ts +30 -0
- package/lib/mjs/components/container/fixtures/comp3.d.ts +77 -0
- package/lib/mjs/components/container/fixtures/comp4.d.ts +44 -0
- package/lib/mjs/components/container/fixtures/index.d.ts +5 -0
- package/lib/mjs/components/content/Content.d.ts +18 -0
- package/lib/mjs/components/content/Content.form.d.ts +3 -0
- package/lib/mjs/components/content/editForm/Content.edit.display.d.ts +18 -0
- package/lib/mjs/components/content/editForm/Content.edit.logic.d.ts +49 -0
- package/lib/mjs/components/content/fixtures/comp1.d.ts +13 -0
- package/lib/mjs/components/content/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/currency/Currency.d.ts +8 -0
- package/lib/mjs/components/currency/Currency.form.d.ts +3 -0
- package/lib/mjs/components/currency/editForm/Currency.edit.data.d.ts +29 -0
- package/lib/mjs/components/currency/editForm/Currency.edit.display.d.ts +18 -0
- package/lib/mjs/components/currency/fixtures/comp1.d.ts +31 -0
- package/lib/mjs/components/currency/fixtures/comp2.d.ts +20 -0
- package/lib/mjs/components/currency/fixtures/comp3.d.ts +13 -0
- package/lib/mjs/components/currency/fixtures/comp4.d.ts +17 -0
- package/lib/mjs/components/currency/fixtures/index.d.ts +5 -0
- package/lib/mjs/components/currency/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/datagrid/DataGrid.d.ts +82 -0
- package/lib/mjs/components/datagrid/DataGrid.form.d.ts +3 -0
- package/lib/mjs/components/datagrid/DataGrid.js +1 -1
- package/lib/mjs/components/datagrid/editForm/DataGrid.edit.data.d.ts +5 -0
- package/lib/mjs/components/datagrid/editForm/DataGrid.edit.display.d.ts +297 -0
- package/lib/mjs/components/datagrid/editForm/DataGrid.edit.validation.d.ts +20 -0
- package/lib/mjs/components/datagrid/fixtures/comp-modal-with-required-fields.d.ts +37 -0
- package/lib/mjs/components/datagrid/fixtures/comp-on-blur-validation.d.ts +0 -0
- package/lib/mjs/components/datagrid/fixtures/comp-row-groups-with-def-value.d.ts +63 -0
- package/lib/mjs/components/datagrid/fixtures/comp-with-allow-calculate-override.d.ts +54 -0
- package/lib/mjs/components/datagrid/fixtures/comp-with-collapsible-groups.d.ts +76 -0
- package/lib/mjs/components/datagrid/fixtures/comp-with-conditional-components-and-validations.d.ts +202 -0
- package/lib/mjs/components/datagrid/fixtures/comp-with-def-value.d.ts +61 -0
- package/lib/mjs/components/datagrid/fixtures/comp-with-logic.d.ts +165 -0
- package/lib/mjs/components/datagrid/fixtures/comp1.d.ts +93 -0
- package/lib/mjs/components/datagrid/fixtures/comp2.d.ts +18 -0
- package/lib/mjs/components/datagrid/fixtures/comp3.d.ts +14 -0
- package/lib/mjs/components/datagrid/fixtures/comp4.d.ts +27 -0
- package/lib/mjs/components/datagrid/fixtures/comp5.d.ts +67 -0
- package/lib/mjs/components/datagrid/fixtures/comp6.d.ts +567 -0
- package/lib/mjs/components/datagrid/fixtures/comp7.d.ts +28 -0
- package/lib/mjs/components/datagrid/fixtures/comp8.d.ts +35 -0
- package/lib/mjs/components/datagrid/fixtures/index.d.ts +17 -0
- package/lib/mjs/components/datagrid/fixtures/two-comp-with-allow-calculate-override.d.ts +54 -0
- package/lib/mjs/components/datamap/DataMap.d.ts +36 -0
- package/lib/mjs/components/datamap/DataMap.form.d.ts +3 -0
- package/lib/mjs/components/datamap/editForm/DataMap.edit.data.d.ts +5 -0
- package/lib/mjs/components/datamap/editForm/DataMap.edit.display.d.ts +32 -0
- package/lib/mjs/components/datamap/fixtures/comp1.d.ts +18 -0
- package/lib/mjs/components/datamap/fixtures/formWithConditionalPanel.d.ts +87 -0
- package/lib/mjs/components/datamap/fixtures/index.d.ts +3 -0
- package/lib/mjs/components/datetime/DateTime.d.ts +39 -0
- package/lib/mjs/components/datetime/DateTime.form.d.ts +3 -0
- package/lib/mjs/components/datetime/editForm/DateTime.edit.data.d.ts +24 -0
- package/lib/mjs/components/datetime/editForm/DateTime.edit.date.d.ts +63 -0
- package/lib/mjs/components/datetime/editForm/DateTime.edit.display.d.ts +128 -0
- package/lib/mjs/components/datetime/editForm/DateTime.edit.time.d.ts +9 -0
- package/lib/mjs/components/datetime/editForm/DateTime.edit.validation.d.ts +41 -0
- package/lib/mjs/components/datetime/fixtures/comp1.d.ts +45 -0
- package/lib/mjs/components/datetime/fixtures/comp10.d.ts +102 -0
- package/lib/mjs/components/datetime/fixtures/comp11.d.ts +58 -0
- package/lib/mjs/components/datetime/fixtures/comp12.d.ts +57 -0
- package/lib/mjs/components/datetime/fixtures/comp13.d.ts +126 -0
- package/lib/mjs/components/datetime/fixtures/comp2.d.ts +42 -0
- package/lib/mjs/components/datetime/fixtures/comp3.d.ts +51 -0
- package/lib/mjs/components/datetime/fixtures/comp5.d.ts +57 -0
- package/lib/mjs/components/datetime/fixtures/comp6.d.ts +55 -0
- package/lib/mjs/components/datetime/fixtures/comp7.d.ts +59 -0
- package/lib/mjs/components/datetime/fixtures/comp8.d.ts +59 -0
- package/lib/mjs/components/datetime/fixtures/comp9.d.ts +64 -0
- package/lib/mjs/components/datetime/fixtures/index.d.ts +13 -0
- package/lib/mjs/components/datetime/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/day/Day.d.ts +163 -0
- package/lib/mjs/components/day/Day.form.d.ts +3 -0
- package/lib/mjs/components/day/editForm/Day.edit.data.d.ts +5 -0
- package/lib/mjs/components/day/editForm/Day.edit.day.d.ts +40 -0
- package/lib/mjs/components/day/editForm/Day.edit.display.d.ts +40 -0
- package/lib/mjs/components/day/editForm/Day.edit.month.d.ts +40 -0
- package/lib/mjs/components/day/editForm/Day.edit.validation.d.ts +29 -0
- package/lib/mjs/components/day/editForm/Day.edit.year.d.ts +40 -0
- package/lib/mjs/components/day/fixtures/comp1.d.ts +46 -0
- package/lib/mjs/components/day/fixtures/comp2.d.ts +46 -0
- package/lib/mjs/components/day/fixtures/comp3.d.ts +48 -0
- package/lib/mjs/components/day/fixtures/comp4.d.ts +53 -0
- package/lib/mjs/components/day/fixtures/comp5.d.ts +29 -0
- package/lib/mjs/components/day/fixtures/comp6.d.ts +81 -0
- package/lib/mjs/components/day/fixtures/index.d.ts +7 -0
- package/lib/mjs/components/day/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/editgrid/EditGrid.d.ts +104 -0
- package/lib/mjs/components/editgrid/EditGrid.form.d.ts +3 -0
- package/lib/mjs/components/editgrid/EditGrid.js +3 -3
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.data.d.ts +18 -0
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.display.d.ts +90 -0
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.templates.d.ts +60 -0
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.validation.d.ts +29 -0
- package/lib/mjs/components/editgrid/fixtures/comp-openWhenEmpty.d.ts +34 -0
- package/lib/mjs/components/editgrid/fixtures/comp-with-basic-components.d.ts +327 -0
- package/lib/mjs/components/editgrid/fixtures/comp-with-conditions-and-openWhenEmpty.d.ts +79 -0
- package/lib/mjs/components/editgrid/fixtures/comp-with-custom-default-value.d.ts +190 -0
- package/lib/mjs/components/editgrid/fixtures/comp1.d.ts +89 -0
- package/lib/mjs/components/editgrid/fixtures/comp10.d.ts +49 -0
- package/lib/mjs/components/editgrid/fixtures/comp11.d.ts +53 -0
- package/lib/mjs/components/editgrid/fixtures/comp12.d.ts +58 -0
- package/lib/mjs/components/editgrid/fixtures/comp13.d.ts +64 -0
- package/lib/mjs/components/editgrid/fixtures/comp14.d.ts +88 -0
- package/lib/mjs/components/editgrid/fixtures/comp15.d.ts +54 -0
- package/lib/mjs/components/editgrid/fixtures/comp2.d.ts +112 -0
- package/lib/mjs/components/editgrid/fixtures/comp3.d.ts +27 -0
- package/lib/mjs/components/editgrid/fixtures/comp4.d.ts +23 -0
- package/lib/mjs/components/editgrid/fixtures/comp5.d.ts +19 -0
- package/lib/mjs/components/editgrid/fixtures/comp6.d.ts +50 -0
- package/lib/mjs/components/editgrid/fixtures/comp7.d.ts +129 -0
- package/lib/mjs/components/editgrid/fixtures/comp8.d.ts +148 -0
- package/lib/mjs/components/editgrid/fixtures/comp9.d.ts +86 -0
- package/lib/mjs/components/editgrid/fixtures/formsWithEditGridAndConditions.d.ts +919 -0
- package/lib/mjs/components/editgrid/fixtures/index.d.ts +19 -0
- package/lib/mjs/components/email/Email.d.ts +4 -0
- package/lib/mjs/components/email/Email.form.d.ts +3 -0
- package/lib/mjs/components/email/editForm/Email.edit.display.d.ts +5 -0
- package/lib/mjs/components/email/editForm/Email.edit.validation.d.ts +24 -0
- package/lib/mjs/components/email/fixtures/comp1.d.ts +26 -0
- package/lib/mjs/components/email/fixtures/comp2.d.ts +23 -0
- package/lib/mjs/components/email/fixtures/index.d.ts +3 -0
- package/lib/mjs/components/email/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/fieldset/Fieldset.d.ts +15 -0
- package/lib/mjs/components/fieldset/Fieldset.form.d.ts +3 -0
- package/lib/mjs/components/fieldset/editForm/Fieldset.edit.display.d.ts +35 -0
- package/lib/mjs/components/fieldset/fixtures/comp1.d.ts +46 -0
- package/lib/mjs/components/fieldset/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/file/File.d.ts +172 -0
- package/lib/mjs/components/file/File.form.d.ts +3 -0
- package/lib/mjs/components/file/editForm/File.edit.data.d.ts +5 -0
- package/lib/mjs/components/file/editForm/File.edit.display.d.ts +24 -0
- package/lib/mjs/components/file/editForm/File.edit.file.d.ts +361 -0
- package/lib/mjs/components/file/editForm/File.edit.validation.d.ts +5 -0
- package/lib/mjs/components/file/fixtures/comp1.d.ts +15 -0
- package/lib/mjs/components/file/fixtures/comp2.d.ts +35 -0
- package/lib/mjs/components/file/fixtures/comp3.d.ts +29 -0
- package/lib/mjs/components/file/fixtures/index.d.ts +3 -0
- package/lib/mjs/components/file/fixtures/values.d.ts +10 -0
- package/lib/mjs/components/form/Form.d.ts +94 -0
- package/lib/mjs/components/form/Form.form.d.ts +3 -0
- package/lib/mjs/components/form/Form.js +1 -1
- package/lib/mjs/components/form/editForm/Form.edit.data.d.ts +83 -0
- package/lib/mjs/components/form/editForm/Form.edit.display.d.ts +5 -0
- package/lib/mjs/components/form/editForm/Form.edit.form.d.ts +91 -0
- package/lib/mjs/components/form/fixtures/comp1.d.ts +45 -0
- package/lib/mjs/components/form/fixtures/comp2.d.ts +14 -0
- package/lib/mjs/components/form/fixtures/comp3.d.ts +187 -0
- package/lib/mjs/components/form/fixtures/comp4.d.ts +107 -0
- package/lib/mjs/components/form/fixtures/comp5.d.ts +42 -0
- package/lib/mjs/components/form/fixtures/comp6.d.ts +74 -0
- package/lib/mjs/components/form/fixtures/formModalEdit.d.ts +42 -0
- package/lib/mjs/components/form/fixtures/index.d.ts +8 -0
- package/lib/mjs/components/form/fixtures/values.d.ts +6 -0
- package/lib/mjs/components/hidden/Hidden.d.ts +26 -0
- package/lib/mjs/components/hidden/Hidden.form.d.ts +3 -0
- package/lib/mjs/components/hidden/editForm/Hidden.edit.data.d.ts +5 -0
- package/lib/mjs/components/hidden/editForm/Hidden.edit.display.d.ts +5 -0
- package/lib/mjs/components/hidden/fixtures/comp1.d.ts +18 -0
- package/lib/mjs/components/hidden/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/hidden/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/html/HTML.d.ts +19 -0
- package/lib/mjs/components/html/HTML.form.d.ts +3 -0
- package/lib/mjs/components/html/HTML.js +2 -2
- package/lib/mjs/components/html/editForm/HTML.edit.display.d.ts +77 -0
- package/lib/mjs/components/html/editForm/HTML.edit.logic.d.ts +49 -0
- package/lib/mjs/components/html/fixtures/comp1.d.ts +19 -0
- package/lib/mjs/components/html/fixtures/comp2.d.ts +21 -0
- package/lib/mjs/components/html/fixtures/comp3.d.ts +42 -0
- package/lib/mjs/components/html/fixtures/comp3.js +38 -0
- package/lib/mjs/components/html/fixtures/index.d.ts +4 -0
- package/lib/mjs/components/html/fixtures/index.js +2 -1
- package/lib/mjs/components/index.d.ts +96 -0
- package/lib/mjs/components/number/Number.d.ts +53 -0
- package/lib/mjs/components/number/Number.form.d.ts +3 -0
- package/lib/mjs/components/number/editForm/Number.edit.data.d.ts +18 -0
- package/lib/mjs/components/number/editForm/Number.edit.display.d.ts +5 -0
- package/lib/mjs/components/number/editForm/Number.edit.validation.d.ts +20 -0
- package/lib/mjs/components/number/fixtures/comp1.d.ts +33 -0
- package/lib/mjs/components/number/fixtures/comp2.d.ts +32 -0
- package/lib/mjs/components/number/fixtures/comp3.d.ts +14 -0
- package/lib/mjs/components/number/fixtures/comp4.d.ts +14 -0
- package/lib/mjs/components/number/fixtures/comp5.d.ts +20 -0
- package/lib/mjs/components/number/fixtures/comp6.d.ts +40 -0
- package/lib/mjs/components/number/fixtures/comp7.d.ts +15 -0
- package/lib/mjs/components/number/fixtures/index.d.ts +8 -0
- package/lib/mjs/components/number/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/panel/Panel.d.ts +14 -0
- package/lib/mjs/components/panel/Panel.form.d.ts +3 -0
- package/lib/mjs/components/panel/editForm/Panel.edit.conditional.d.ts +76 -0
- package/lib/mjs/components/panel/editForm/Panel.edit.display.d.ts +213 -0
- package/lib/mjs/components/panel/fixtures/comp1.d.ts +46 -0
- package/lib/mjs/components/panel/fixtures/comp2.d.ts +80 -0
- package/lib/mjs/components/panel/fixtures/index.d.ts +3 -0
- package/lib/mjs/components/password/Password.d.ts +3 -0
- package/lib/mjs/components/password/Password.form.d.ts +3 -0
- package/lib/mjs/components/password/editForm/Password.edit.data.d.ts +18 -0
- package/lib/mjs/components/password/editForm/Password.edit.display.d.ts +5 -0
- package/lib/mjs/components/password/editForm/Password.edit.validation.d.ts +5 -0
- package/lib/mjs/components/password/fixtures/comp1.d.ts +22 -0
- package/lib/mjs/components/password/fixtures/comp2.d.ts +27 -0
- package/lib/mjs/components/password/fixtures/index.d.ts +3 -0
- package/lib/mjs/components/password/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/phonenumber/PhoneNumber.d.ts +3 -0
- package/lib/mjs/components/phonenumber/PhoneNumber.form.d.ts +3 -0
- package/lib/mjs/components/phonenumber/editForm/PhoneNumber.edit.validation.d.ts +5 -0
- package/lib/mjs/components/phonenumber/fixtures/comp1.d.ts +27 -0
- package/lib/mjs/components/phonenumber/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/phonenumber/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/radio/Radio.d.ts +83 -0
- package/lib/mjs/components/radio/Radio.form.d.ts +3 -0
- package/lib/mjs/components/radio/Radio.js +29 -10
- package/lib/mjs/components/radio/editForm/Radio.edit.data.d.ts +171 -0
- package/lib/mjs/components/radio/editForm/Radio.edit.data.js +20 -0
- package/lib/mjs/components/radio/editForm/Radio.edit.display.d.ts +40 -0
- package/lib/mjs/components/radio/editForm/Radio.edit.validation.d.ts +18 -0
- package/lib/mjs/components/radio/fixtures/comp1.d.ts +28 -0
- package/lib/mjs/components/radio/fixtures/comp10.d.ts +15 -0
- package/lib/mjs/components/radio/fixtures/comp11.d.ts +35 -0
- package/lib/mjs/components/radio/fixtures/comp11.js +83 -0
- package/lib/mjs/components/radio/fixtures/comp2.d.ts +85 -0
- package/lib/mjs/components/radio/fixtures/comp3.d.ts +85 -0
- package/lib/mjs/components/radio/fixtures/comp4.d.ts +19 -0
- package/lib/mjs/components/radio/fixtures/comp5.d.ts +39 -0
- package/lib/mjs/components/radio/fixtures/comp6.d.ts +38 -0
- package/lib/mjs/components/radio/fixtures/comp7.d.ts +23 -0
- package/lib/mjs/components/radio/fixtures/comp8.d.ts +118 -0
- package/lib/mjs/components/radio/fixtures/comp9.d.ts +35 -0
- package/lib/mjs/components/radio/fixtures/index.d.ts +12 -0
- package/lib/mjs/components/radio/fixtures/index.js +2 -1
- package/lib/mjs/components/radio/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/recaptcha/ReCaptcha.d.ts +24 -0
- package/lib/mjs/components/recaptcha/ReCaptcha.form.d.ts +3 -0
- package/lib/mjs/components/recaptcha/editForm/ReCaptcha.edit.display.d.ts +46 -0
- package/lib/mjs/components/recaptcha/fixtures/comp1.d.ts +8 -0
- package/lib/mjs/components/recaptcha/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/select/Select.d.ts +149 -0
- package/lib/mjs/components/select/Select.form.d.ts +3 -0
- package/lib/mjs/components/select/Select.js +3 -0
- package/lib/mjs/components/select/editForm/Select.edit.data.d.ts +1183 -0
- package/lib/mjs/components/select/editForm/Select.edit.data.js +59 -1
- package/lib/mjs/components/select/editForm/Select.edit.display.d.ts +27 -0
- package/lib/mjs/components/select/editForm/Select.edit.validation.d.ts +30 -0
- package/lib/mjs/components/select/fixtures/comp1.d.ts +40 -0
- package/lib/mjs/components/select/fixtures/comp10.d.ts +41 -0
- package/lib/mjs/components/select/fixtures/comp11.d.ts +28 -0
- package/lib/mjs/components/select/fixtures/comp12.d.ts +53 -0
- package/lib/mjs/components/select/fixtures/comp13.d.ts +28 -0
- package/lib/mjs/components/select/fixtures/comp14.d.ts +40 -0
- package/lib/mjs/components/select/fixtures/comp15.d.ts +50 -0
- package/lib/mjs/components/select/fixtures/comp16.d.ts +34 -0
- package/lib/mjs/components/select/fixtures/comp17.d.ts +51 -0
- package/lib/mjs/components/select/fixtures/comp18.d.ts +49 -0
- package/lib/mjs/components/select/fixtures/comp19.d.ts +23 -0
- package/lib/mjs/components/select/fixtures/comp2.d.ts +41 -0
- package/lib/mjs/components/select/fixtures/comp20.d.ts +36 -0
- package/lib/mjs/components/select/fixtures/comp21.d.ts +87 -0
- package/lib/mjs/components/select/fixtures/comp3.d.ts +35 -0
- package/lib/mjs/components/select/fixtures/comp4.d.ts +103 -0
- package/lib/mjs/components/select/fixtures/comp5.d.ts +21 -0
- package/lib/mjs/components/select/fixtures/comp6.d.ts +20 -0
- package/lib/mjs/components/select/fixtures/comp7.d.ts +63 -0
- package/lib/mjs/components/select/fixtures/comp8.d.ts +72 -0
- package/lib/mjs/components/select/fixtures/comp9.d.ts +88 -0
- package/lib/mjs/components/select/fixtures/index.d.ts +22 -0
- package/lib/mjs/components/select/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/selectboxes/SelectBoxes.d.ts +51 -0
- package/lib/mjs/components/selectboxes/SelectBoxes.form.d.ts +3 -0
- package/lib/mjs/components/selectboxes/editForm/SelectBoxes.edit.validation.d.ts +9 -0
- package/lib/mjs/components/selectboxes/fixtures/comp1.d.ts +24 -0
- package/lib/mjs/components/selectboxes/fixtures/comp2.d.ts +24 -0
- package/lib/mjs/components/selectboxes/fixtures/comp3.d.ts +23 -0
- package/lib/mjs/components/selectboxes/fixtures/comp4.d.ts +66 -0
- package/lib/mjs/components/selectboxes/fixtures/comp5.d.ts +37 -0
- package/lib/mjs/components/selectboxes/fixtures/comp6.d.ts +14 -0
- package/lib/mjs/components/selectboxes/fixtures/comp7.d.ts +18 -0
- package/lib/mjs/components/selectboxes/fixtures/index.d.ts +8 -0
- package/lib/mjs/components/selectboxes/fixtures/values.d.ts +6 -0
- package/lib/mjs/components/signature/Signature.d.ts +46 -0
- package/lib/mjs/components/signature/Signature.form.d.ts +3 -0
- package/lib/mjs/components/signature/Signature.js +1 -1
- package/lib/mjs/components/signature/editForm/Signature.edit.data.d.ts +5 -0
- package/lib/mjs/components/signature/editForm/Signature.edit.display.d.ts +54 -0
- package/lib/mjs/components/signature/editForm/Signature.edit.validation.d.ts +5 -0
- package/lib/mjs/components/signature/fixtures/comp1.d.ts +30 -0
- package/lib/mjs/components/signature/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/signature/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/survey/Survey.d.ts +37 -0
- package/lib/mjs/components/survey/Survey.form.d.ts +3 -0
- package/lib/mjs/components/survey/editForm/Survey.edit.data.d.ts +45 -0
- package/lib/mjs/components/survey/editForm/Survey.edit.display.d.ts +5 -0
- package/lib/mjs/components/survey/editForm/Survey.edit.validation.d.ts +5 -0
- package/lib/mjs/components/survey/fixtures/comp1.d.ts +31 -0
- package/lib/mjs/components/survey/fixtures/comp2.d.ts +31 -0
- package/lib/mjs/components/survey/fixtures/index.d.ts +3 -0
- package/lib/mjs/components/survey/fixtures/values.d.ts +5 -0
- package/lib/mjs/components/table/Table.d.ts +23 -0
- package/lib/mjs/components/table/Table.form.d.ts +3 -0
- package/lib/mjs/components/table/editForm/Table.edit.display.d.ts +84 -0
- package/lib/mjs/components/table/fixtures/comp1.d.ts +53 -0
- package/lib/mjs/components/table/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/tabs/Tabs.d.ts +30 -0
- package/lib/mjs/components/tabs/Tabs.form.d.ts +3 -0
- package/lib/mjs/components/tabs/editForm/Tabs.edit.display.d.ts +78 -0
- package/lib/mjs/components/tabs/fixtures/comp1.d.ts +23 -0
- package/lib/mjs/components/tabs/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/tags/Tags.d.ts +41 -0
- package/lib/mjs/components/tags/Tags.form.d.ts +3 -0
- package/lib/mjs/components/tags/editForm/Tags.edit.data.d.ts +51 -0
- package/lib/mjs/components/tags/fixtures/comp1.d.ts +20 -0
- package/lib/mjs/components/tags/fixtures/comp2.d.ts +10 -0
- package/lib/mjs/components/tags/fixtures/comp3.d.ts +23 -0
- package/lib/mjs/components/tags/fixtures/comp4.d.ts +9 -0
- package/lib/mjs/components/tags/fixtures/comp5.d.ts +24 -0
- package/lib/mjs/components/tags/fixtures/comp6.d.ts +17 -0
- package/lib/mjs/components/tags/fixtures/index.d.ts +7 -0
- package/lib/mjs/components/tags/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/textarea/TextArea.d.ts +37 -0
- package/lib/mjs/components/textarea/TextArea.form.d.ts +3 -0
- package/lib/mjs/components/textarea/TextArea.js +1 -1
- package/lib/mjs/components/textarea/editForm/TextArea.edit.display.d.ts +357 -0
- package/lib/mjs/components/textarea/editForm/TextArea.edit.validation.d.ts +10 -0
- package/lib/mjs/components/textarea/fixtures/comp1.d.ts +31 -0
- package/lib/mjs/components/textarea/fixtures/comp2.d.ts +29 -0
- package/lib/mjs/components/textarea/fixtures/comp3.d.ts +27 -0
- package/lib/mjs/components/textarea/fixtures/comp4.d.ts +30 -0
- package/lib/mjs/components/textarea/fixtures/index.d.ts +5 -0
- package/lib/mjs/components/textarea/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/textfield/TextField.d.ts +64 -0
- package/lib/mjs/components/textfield/TextField.form.d.ts +3 -0
- package/lib/mjs/components/textfield/editForm/TextField.edit.data.d.ts +46 -0
- package/lib/mjs/components/textfield/editForm/TextField.edit.display.d.ts +263 -0
- package/lib/mjs/components/textfield/editForm/TextField.edit.validation.d.ts +10 -0
- package/lib/mjs/components/textfield/fixtures/comp-with-display-and-value-masks.d.ts +47 -0
- package/lib/mjs/components/textfield/fixtures/comp1.d.ts +33 -0
- package/lib/mjs/components/textfield/fixtures/comp2.d.ts +33 -0
- package/lib/mjs/components/textfield/fixtures/comp3.d.ts +33 -0
- package/lib/mjs/components/textfield/fixtures/comp4.d.ts +23 -0
- package/lib/mjs/components/textfield/fixtures/comp5.d.ts +12 -0
- package/lib/mjs/components/textfield/fixtures/comp6.d.ts +25 -0
- package/lib/mjs/components/textfield/fixtures/comp7.d.ts +37 -0
- package/lib/mjs/components/textfield/fixtures/index.d.ts +9 -0
- package/lib/mjs/components/textfield/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/time/Time.d.ts +16 -0
- package/lib/mjs/components/time/Time.form.d.ts +3 -0
- package/lib/mjs/components/time/editForm/Time.edit.data.d.ts +10 -0
- package/lib/mjs/components/time/editForm/Time.edit.display.d.ts +52 -0
- package/lib/mjs/components/time/fixtures/comp1.d.ts +24 -0
- package/lib/mjs/components/time/fixtures/comp2.d.ts +10 -0
- package/lib/mjs/components/time/fixtures/comp3.d.ts +15 -0
- package/lib/mjs/components/time/fixtures/index.d.ts +6 -0
- package/lib/mjs/components/time/fixtures/timeForm.d.ts +47 -0
- package/lib/mjs/components/time/fixtures/timeForm2.d.ts +38 -0
- package/lib/mjs/components/time/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/unknown/Unknown.d.ts +28 -0
- package/lib/mjs/components/unknown/Unknown.form.d.ts +34 -0
- package/lib/mjs/components/unknown/editForm/Unknown.edit.display.d.ts +24 -0
- package/lib/mjs/components/unknown/fixtures/comp1.d.ts +7 -0
- package/lib/mjs/components/unknown/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/url/Url.d.ts +3 -0
- package/lib/mjs/components/url/Url.form.d.ts +3 -0
- package/lib/mjs/components/url/editForm/Url.edit.data.d.ts +5 -0
- package/lib/mjs/components/url/editForm/Url.edit.display.d.ts +5 -0
- package/lib/mjs/components/url/editForm/Url.edit.validation.d.ts +5 -0
- package/lib/mjs/components/url/fixtures/comp1.d.ts +26 -0
- package/lib/mjs/components/url/fixtures/comp2.d.ts +26 -0
- package/lib/mjs/components/url/fixtures/index.d.ts +3 -0
- package/lib/mjs/components/url/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/well/Well.d.ts +15 -0
- package/lib/mjs/components/well/Well.form.d.ts +3 -0
- package/lib/mjs/components/well/editForm/Well.edit.display.d.ts +28 -0
- package/lib/mjs/components/well/fixtures/comp1.d.ts +43 -0
- package/lib/mjs/components/well/fixtures/index.d.ts +2 -0
- package/lib/mjs/displays/Displays.d.ts +18 -0
- package/lib/mjs/displays/index.d.ts +2 -0
- package/lib/mjs/formio.embed.d.ts +2 -0
- package/lib/mjs/formio.form.d.ts +19 -0
- package/lib/mjs/formio.form.js +3 -1
- package/lib/mjs/i18n.d.ts +13 -0
- package/lib/mjs/index.d.ts +5 -0
- package/lib/mjs/licenses/Licenses.d.ts +7 -0
- package/lib/mjs/licenses/index.d.ts +2 -0
- package/lib/mjs/pdf.image.d.ts +2 -0
- package/lib/mjs/providers/Providers.d.ts +20 -0
- package/lib/mjs/providers/address/AddressProvider.d.ts +17 -0
- package/lib/mjs/providers/address/AzureAddressProvider.d.ts +12 -0
- package/lib/mjs/providers/address/CustomAddressProvider.d.ts +7 -0
- package/lib/mjs/providers/address/GoogleAddressProvider.d.ts +18 -0
- package/lib/mjs/providers/address/NominatimAddressProvider.d.ts +11 -0
- package/lib/mjs/providers/address/index.d.ts +6 -0
- package/lib/mjs/providers/auth/index.d.ts +2 -0
- package/lib/mjs/providers/index.d.ts +2 -0
- package/lib/mjs/providers/processor/fileProcessor.d.ts +2 -0
- package/lib/mjs/providers/storage/azure.d.ts +17 -0
- package/lib/mjs/providers/storage/base64.d.ts +10 -0
- package/lib/mjs/providers/storage/dropbox.d.ts +8 -0
- package/lib/mjs/providers/storage/googleDrive.d.ts +9 -0
- package/lib/mjs/providers/storage/index.d.ts +15 -0
- package/lib/mjs/providers/storage/indexeddb.d.ts +11 -0
- package/lib/mjs/providers/storage/s3.d.ts +24 -0
- package/lib/mjs/providers/storage/s3.js +6 -1
- package/lib/mjs/providers/storage/uploadAdapter.d.ts +1 -0
- package/lib/mjs/providers/storage/url.d.ts +11 -0
- package/lib/mjs/providers/storage/util.d.ts +1 -0
- package/lib/mjs/providers/storage/xhr.d.ts +8 -0
- package/lib/mjs/templates/Templates.d.ts +2 -0
- package/lib/mjs/templates/index.d.ts +229 -0
- package/lib/mjs/translations/en.d.ts +75 -0
- package/lib/mjs/utils/ChoicesWrapper.d.ts +38 -0
- package/lib/mjs/utils/Evaluator.d.ts +4 -0
- package/lib/mjs/utils/builder.d.ts +22 -0
- package/lib/mjs/utils/calendarUtils.d.ts +41 -0
- package/lib/mjs/utils/conditionOperators/ConditionOperator.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/DateGreaterThan.d.ts +13 -0
- package/lib/mjs/utils/conditionOperators/DateGreaterThanOrEqual.d.ts +4 -0
- package/lib/mjs/utils/conditionOperators/DateLessThan.d.ts +4 -0
- package/lib/mjs/utils/conditionOperators/DateLessThanOrEqual.d.ts +4 -0
- package/lib/mjs/utils/conditionOperators/EndsWith.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/GreaterThan.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/GreaterThanOrEqual.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/Includes.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/IsDateEqual.d.ts +4 -0
- package/lib/mjs/utils/conditionOperators/IsEmptyValue.d.ts +9 -0
- package/lib/mjs/utils/conditionOperators/IsEqualTo.d.ts +9 -0
- package/lib/mjs/utils/conditionOperators/IsNotDateEqual.d.ts +4 -0
- package/lib/mjs/utils/conditionOperators/IsNotEmptyValue.d.ts +4 -0
- package/lib/mjs/utils/conditionOperators/IsNotEqualTo.d.ts +4 -0
- package/lib/mjs/utils/conditionOperators/LessThan.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/LessThanOrEqual.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/NotIncludes.d.ts +4 -0
- package/lib/mjs/utils/conditionOperators/StartsWith.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/index.d.ts +6 -0
- package/lib/mjs/utils/formUtils.d.ts +173 -0
- package/lib/mjs/utils/i18n.d.ts +16 -0
- package/lib/mjs/utils/index.d.ts +3 -0
- package/lib/mjs/utils/jsonlogic/operators.d.ts +1 -0
- package/lib/mjs/utils/utils.d.ts +377 -0
- package/lib/mjs/widgets/CalendarWidget.d.ts +97 -0
- package/lib/mjs/widgets/InputWidget.d.ts +24 -0
- package/lib/mjs/widgets/index.d.ts +7 -0
- package/package.json +9 -17
- package/embed.d.ts +0 -1
- package/index.d.ts +0 -1
- package/sdk.d.ts +0 -1
- package/types/Embed.d.ts +0 -13
- package/types/Plugins.d.ts +0 -95
- package/types/builders.d.ts +0 -7
- package/types/components/_classes/component/component.d.ts +0 -175
- package/types/components/_classes/componentmodal/componentmodal.d.ts +0 -31
- package/types/components/_classes/field/field.d.ts +0 -5
- package/types/components/_classes/input/input.d.ts +0 -30
- package/types/components/_classes/multivalue/multivalue.d.ts +0 -16
- package/types/components/_classes/nested/nestedComponent.d.ts +0 -61
- package/types/components/_classes/widgetcomponent/widgetComponent.d.ts +0 -6
- package/types/components/components.d.ts +0 -69
- package/types/components/schema.d.ts +0 -174
- package/types/displays.d.ts +0 -7
- package/types/element.d.ts +0 -45
- package/types/eventEmitter.d.ts +0 -3
- package/types/form.d.ts +0 -18
- package/types/formbuilder.d.ts +0 -6
- package/types/formio.d.ts +0 -1236
- package/types/index.d.ts +0 -18
- package/types/licenses.d.ts +0 -7
- package/types/providers.d.ts +0 -8
- package/types/rulesEngine/conjunctions.d.ts +0 -7
- package/types/rulesEngine/operators.d.ts +0 -7
- package/types/rulesEngine/quckRules.d.ts +0 -7
- package/types/rulesEngine/rules.d.ts +0 -7
- package/types/rulesEngine/transformers.d.ts +0 -7
- package/types/rulesEngine/valueSources.d.ts +0 -7
- package/types/sdk.d.ts +0 -1
- package/types/templates.d.ts +0 -8
- package/types/utils.d.ts +0 -157
- package/types/widgets.d.ts +0 -4
- package/utils.d.ts +0 -1
package/lib/mjs/Webform.js
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
import _ from 'lodash';
|
2
2
|
import moment from 'moment';
|
3
3
|
import { compareVersions } from 'compare-versions';
|
4
|
+
import { Component } from '@formio/core';
|
4
5
|
import EventEmitter from './EventEmitter';
|
5
6
|
import i18nDefaults from './i18n';
|
6
7
|
import { Formio } from './Formio';
|
7
8
|
import Components from './components/Components';
|
8
9
|
import NestedDataComponent from './components/_classes/nesteddata/NestedDataComponent';
|
9
|
-
import { fastCloneDeep, currentTimezone, unescapeHTML, getStringFromComponentPath, searchComponents, convertStringToHTMLElement, getArrayFromComponentPath,
|
10
|
+
import { fastCloneDeep, currentTimezone, unescapeHTML, getStringFromComponentPath, searchComponents, convertStringToHTMLElement, getArrayFromComponentPath, } from './utils/utils';
|
10
11
|
import { eachComponent } from './utils/formUtils';
|
11
12
|
// Initialize the available forms.
|
12
13
|
Formio.forms = {};
|
@@ -34,32 +35,113 @@ function getOptions(options) {
|
|
34
35
|
}
|
35
36
|
return options;
|
36
37
|
}
|
38
|
+
/**
|
39
|
+
* Represents a JSON value.
|
40
|
+
* @typedef {(string | number | boolean | null | JSONArray | JSONObject)} JSON
|
41
|
+
*/
|
42
|
+
/**
|
43
|
+
* Represents a JSON array.
|
44
|
+
* @typedef {Array<JSON>} JSONArray
|
45
|
+
*/
|
46
|
+
/**
|
47
|
+
* Represents a JSON object.
|
48
|
+
* @typedef {{[key: string]: JSON}} JSONObject
|
49
|
+
*/
|
50
|
+
/**
|
51
|
+
* @typedef {Object} FormioHooks
|
52
|
+
* @property {function} [beforeSubmit]
|
53
|
+
* @property {function} [beforeCancel]
|
54
|
+
* @property {function} [beforeNext]
|
55
|
+
* @property {function} [beforePrev]
|
56
|
+
* @property {function} [attachComponent]
|
57
|
+
* @property {function} [setDataValue]
|
58
|
+
* @property {function} [addComponents]
|
59
|
+
* @property {function} [addComponent]
|
60
|
+
* @property {function} [customValidation]
|
61
|
+
* @property {function} [attachWebform]
|
62
|
+
*/
|
63
|
+
/**
|
64
|
+
* @typedef {Object} SanitizeConfig
|
65
|
+
* @property {string[]} [addAttr]
|
66
|
+
* @property {string[]} [addTags]
|
67
|
+
* @property {string[]} [allowedAttrs]
|
68
|
+
* @property {string[]} [allowedTags]
|
69
|
+
* @property {string[]} [allowedUriRegex]
|
70
|
+
* @property {string[]} [addUriSafeAttr]
|
71
|
+
*/
|
72
|
+
/**
|
73
|
+
* @typedef {Object} ButtonSettings
|
74
|
+
* @property {boolean} [showPrevious]
|
75
|
+
* @property {boolean} [showNext]
|
76
|
+
* @property {boolean} [showCancel]
|
77
|
+
* @property {boolean} [showSubmit]
|
78
|
+
*/
|
79
|
+
/**
|
80
|
+
* @typedef {Object} FormOptions
|
81
|
+
* @property {boolean} [saveDraft] - Enable the save draft feature.
|
82
|
+
* @property {number} [saveDraftThrottle] - The throttle for the save draft feature.
|
83
|
+
* @property {boolean} [readOnly] - Set this form to readOnly.
|
84
|
+
* @property {boolean} [noAlerts] - Disable the alerts dialog.
|
85
|
+
* @property {{[key: string]: string}} [i18n] - The translation file for this rendering.
|
86
|
+
* @property {string} [template] - Custom logic for creation of elements.
|
87
|
+
* @property {boolean} [noDefaults] - Exclude default values from the settings.
|
88
|
+
* @property {any} [fileService] - The file service for this form.
|
89
|
+
* @property {EventEmitter} [events] - The EventEmitter for this form.
|
90
|
+
* @property {string} [language] - The language to render this form in.
|
91
|
+
* @property {{[key: string]: string}} [i18next] - The i18next configuration for this form.
|
92
|
+
* @property {boolean} [viewAsHtml] - View the form as raw HTML.
|
93
|
+
* @property {'form' | 'html' | 'flat' | 'builder' | 'pdf'} [renderMode] - The render mode for this form.
|
94
|
+
* @property {boolean} [highlightErrors] - Highlight any errors on the form.
|
95
|
+
* @property {string} [componentErrorClass] - The error class for components.
|
96
|
+
* @property {any} [templates] - The templates for this form.
|
97
|
+
* @property {string} [iconset] - The iconset for this form.
|
98
|
+
* @property {Component[]} [components] - The components for this form.
|
99
|
+
* @property {{[key: string]: boolean}} [disabled] - Disabled components for this form.
|
100
|
+
* @property {boolean} [showHiddenFields] - Show hidden fields.
|
101
|
+
* @property {{[key: string]: boolean}} [hide] - Hidden components for this form.
|
102
|
+
* @property {{[key: string]: boolean}} [show] - Components to show for this form.
|
103
|
+
* @property {Formio} [formio] - The Formio instance for this form.
|
104
|
+
* @property {string} [decimalSeparator] - The decimal separator for this form.
|
105
|
+
* @property {string} [thousandsSeparator] - The thousands separator for this form.
|
106
|
+
* @property {FormioHooks} [hooks] - The hooks for this form.
|
107
|
+
* @property {boolean} [alwaysDirty] - Always be dirty.
|
108
|
+
* @property {boolean} [skipDraftRestore] - Skip restoring a draft.
|
109
|
+
* @property {'form' | 'wizard' | 'pdf'} [display] - The display for this form.
|
110
|
+
* @property {string} [cdnUrl] - The CDN url for this form.
|
111
|
+
* @property {boolean} [flatten] - Flatten the form.
|
112
|
+
* @property {boolean} [sanitize] - Sanitize the form.
|
113
|
+
* @property {SanitizeConfig} [sanitizeConfig] - The sanitize configuration for this form.
|
114
|
+
* @property {ButtonSettings} [buttonSettings] - The button settings for this form.
|
115
|
+
* @property {Object} [breadCrumbSettings] - The breadcrumb settings for this form.
|
116
|
+
* @property {boolean} [allowPrevious] - Allow the previous button (for Wizard forms).
|
117
|
+
* @property {string[]} [wizardButtonOrder] - The order of the buttons (for Wizard forms).
|
118
|
+
* @property {boolean} [showCheckboxBackground] - Show the checkbox background.
|
119
|
+
* @property {number} [zoom] - The zoom for PDF forms.
|
120
|
+
*/
|
37
121
|
/**
|
38
122
|
* Renders a Form.io form within the webpage.
|
39
123
|
*/
|
40
124
|
export default class Webform extends NestedDataComponent {
|
125
|
+
/**
|
126
|
+
* @type {FormOptions} - the options for this Webform.
|
127
|
+
*/
|
128
|
+
options;
|
41
129
|
/**
|
42
130
|
* Creates a new Form instance.
|
43
131
|
*
|
44
|
-
* @param {Object}
|
45
|
-
* @param {
|
46
|
-
* @param {boolean} options.saveDraftThrottle - The throttle for the save draft feature.
|
47
|
-
* @param {boolean} options.readOnly - Set this form to readOnly
|
48
|
-
* @param {boolean} options.noAlerts - Set to true to disable the alerts dialog.
|
49
|
-
* @param {boolean} options.i18n - The translation file for this rendering. @see https://github.com/formio/formio.js/blob/master/i18n.js
|
50
|
-
* @param {boolean} options.template - Provides a way to inject custom logic into the creation of every element rendered within the form.
|
132
|
+
* @param {HTMLElement | Object | FormOptions} [elementOrOptions] - The DOM element to render this form within or the options to create this form instance.
|
133
|
+
* @param {FormOptions} [options] - The options to create a new form instance.
|
51
134
|
*/
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
options = arguments[1];
|
135
|
+
constructor(elementOrOptions, options) {
|
136
|
+
let element, formOptions;
|
137
|
+
if (elementOrOptions instanceof HTMLElement || options) {
|
138
|
+
element = elementOrOptions;
|
139
|
+
formOptions = options;
|
58
140
|
}
|
59
141
|
else {
|
60
|
-
|
142
|
+
formOptions = elementOrOptions;
|
61
143
|
}
|
62
|
-
super(null, getOptions(
|
144
|
+
super(null, getOptions(formOptions));
|
63
145
|
this.setElement(element);
|
64
146
|
// Keep track of all available forms globally.
|
65
147
|
Formio.forms[this.id] = this;
|
@@ -0,0 +1,126 @@
|
|
1
|
+
export default class WebformBuilder extends Component {
|
2
|
+
constructor(...args: any[]);
|
3
|
+
dragulaLib: any;
|
4
|
+
builderHeight: number;
|
5
|
+
schemas: {};
|
6
|
+
repeatablePaths: any[];
|
7
|
+
sideBarScroll: any;
|
8
|
+
sideBarScrollOffset: any;
|
9
|
+
dragDropEnabled: boolean;
|
10
|
+
builder: any;
|
11
|
+
groups: {};
|
12
|
+
groupOrder: any[];
|
13
|
+
webform: any;
|
14
|
+
pathComponentsMapping: {};
|
15
|
+
arrayDataComponentPaths: any[];
|
16
|
+
nestedDataComponents: any[];
|
17
|
+
arrayDataComponents: any[];
|
18
|
+
allowDrop(): boolean;
|
19
|
+
addExistingResourceFields(resources: any): void;
|
20
|
+
attachTooltip(component: any, title: any): import("tippy.js").Instance<import("tippy.js").Props>[];
|
21
|
+
attachComponent(element: any, component: any): any;
|
22
|
+
createForm(options: any): any;
|
23
|
+
/**
|
24
|
+
* Called when everything is ready.
|
25
|
+
*
|
26
|
+
* @returns {Promise} - Wait for webform to be ready.
|
27
|
+
*/
|
28
|
+
get ready(): Promise<any>;
|
29
|
+
get defaultGroups(): {
|
30
|
+
basic: {
|
31
|
+
title: string;
|
32
|
+
weight: number;
|
33
|
+
default: boolean;
|
34
|
+
};
|
35
|
+
advanced: {
|
36
|
+
title: string;
|
37
|
+
weight: number;
|
38
|
+
};
|
39
|
+
layout: {
|
40
|
+
title: string;
|
41
|
+
weight: number;
|
42
|
+
};
|
43
|
+
data: {
|
44
|
+
title: string;
|
45
|
+
weight: number;
|
46
|
+
};
|
47
|
+
premium: {
|
48
|
+
title: string;
|
49
|
+
weight: number;
|
50
|
+
};
|
51
|
+
};
|
52
|
+
redraw(): Promise<void> | Promise<boolean>;
|
53
|
+
set form(value: any);
|
54
|
+
get form(): any;
|
55
|
+
get container(): any;
|
56
|
+
/**
|
57
|
+
* When a component sets its api key, we need to check if it is unique within its namespace. Find the namespace root
|
58
|
+
* so we can calculate this correctly.
|
59
|
+
* @param component
|
60
|
+
*/
|
61
|
+
findNamespaceRoot(component: any): any;
|
62
|
+
recurseNamespace(component: any): any;
|
63
|
+
render(): any;
|
64
|
+
attach(element: any): Promise<any>;
|
65
|
+
searchFields(searchString?: string): void;
|
66
|
+
orderComponents(groupInfo: any, foundComponents: any): void;
|
67
|
+
updateDragAndDrop(): any;
|
68
|
+
initDragula(): void;
|
69
|
+
dragula: any;
|
70
|
+
getComponentInfo(key: any, group: any): any;
|
71
|
+
getComponentsPath(component: any, parent: any): string;
|
72
|
+
onDrop(element: any, target: any, source: any, sibling: any): any;
|
73
|
+
setForm(form: any): any;
|
74
|
+
keyboardActionsEnabled: any;
|
75
|
+
populateRecaptchaSettings(form: any): void;
|
76
|
+
removeComponent(component: any, parent: any, original: any, componentInstance: any): boolean | undefined;
|
77
|
+
replaceDoubleQuotes(data: any, fieldsToRemoveDoubleQuotes?: any[]): any;
|
78
|
+
updateComponent(component: any, changed: any): void;
|
79
|
+
findRepeatablePaths(): any[];
|
80
|
+
highlightInvalidComponents(): void;
|
81
|
+
/**
|
82
|
+
* Called when a new component is saved.
|
83
|
+
*
|
84
|
+
* @param parent
|
85
|
+
* @param component
|
86
|
+
* @return {boolean}
|
87
|
+
*/
|
88
|
+
saveComponent(component: any, parent: any, isNew: any, original: any): boolean;
|
89
|
+
isComponentCreated: boolean | undefined;
|
90
|
+
emitSaveComponentEvent(schema: any, originalComp: any, parentComponentSchema: any, path: any, index: any, isNew: any, originalComponentSchema: any): void;
|
91
|
+
attachEditComponentControls(component: any, parent: any, isNew: any, original: any, ComponentClass: any): void;
|
92
|
+
saved: boolean | undefined;
|
93
|
+
showPreview: any;
|
94
|
+
editComponent(component: any, parent: any, isNew: any, isJsonEdit: any, original: any, flags?: {}): void;
|
95
|
+
editForm: Webform | undefined;
|
96
|
+
preview: Webform | null | undefined;
|
97
|
+
componentEdit: any;
|
98
|
+
dialog: any;
|
99
|
+
updateComponentKey(data: any): any;
|
100
|
+
moveComponent(component: any): void;
|
101
|
+
selectedComponent: any;
|
102
|
+
moveHandler: (e: any) => void;
|
103
|
+
updateComponentPlacement(direction: any): void;
|
104
|
+
stopMoving(comp: any): void;
|
105
|
+
addNewComponent(element: any): void;
|
106
|
+
/**
|
107
|
+
* Creates copy of component schema and stores it under sessionStorage.
|
108
|
+
* @param {Component} component
|
109
|
+
* @return {*}
|
110
|
+
*/
|
111
|
+
copyComponent(component: Component): any;
|
112
|
+
/**
|
113
|
+
* Paste copied component after the current component.
|
114
|
+
* @param {Component} component
|
115
|
+
* @return {*}
|
116
|
+
*/
|
117
|
+
pasteComponent(component: Component): any;
|
118
|
+
isParentSaveChildMethod(parentComp: any): boolean;
|
119
|
+
getParentElement(element: any): any;
|
120
|
+
addBuilderComponentInfo(component: any): any;
|
121
|
+
addBuilderGroup(name: any, group: any): void;
|
122
|
+
updateBuilderGroup(name: any, group: any): void;
|
123
|
+
generateKey(info: any): any;
|
124
|
+
}
|
125
|
+
import Component from './components/_classes/component/Component';
|
126
|
+
import Webform from './Webform';
|
@@ -157,7 +157,7 @@ export default class WebformBuilder extends Component {
|
|
157
157
|
return element;
|
158
158
|
}
|
159
159
|
// Attach container and component to element for later reference.
|
160
|
-
const containerElement = element.querySelector(`[
|
160
|
+
const containerElement = element.querySelector(`[${this._referenceAttributeName}="${component.component.key}-container"]`) || element;
|
161
161
|
containerElement.formioContainer = container;
|
162
162
|
containerElement.formioComponent = component;
|
163
163
|
// Add container to draggable list.
|
@@ -1009,7 +1009,7 @@ export default class WebformBuilder extends Component {
|
|
1009
1009
|
};
|
1010
1010
|
const fieldsToRemoveDoubleQuotes = ['label', 'tooltip'];
|
1011
1011
|
this.preview.form.components.forEach(component => this.replaceDoubleQuotes(component, fieldsToRemoveDoubleQuotes));
|
1012
|
-
const previewElement = this.componentEdit.querySelector(
|
1012
|
+
const previewElement = this.componentEdit.querySelector(`[${this._referenceAttributeName}="preview"]`);
|
1013
1013
|
if (previewElement) {
|
1014
1014
|
this.setContent(previewElement, this.preview.render(), null, sanitizeConfig);
|
1015
1015
|
this.preview.attach(previewElement);
|
@@ -1176,7 +1176,7 @@ export default class WebformBuilder extends Component {
|
|
1176
1176
|
this.emit('saveComponent', schema, originalComp, parentComponentSchema, path, index, isNew, originalComponentSchema);
|
1177
1177
|
}
|
1178
1178
|
attachEditComponentControls(component, parent, isNew, original, ComponentClass) {
|
1179
|
-
const cancelButtons = this.componentEdit.querySelectorAll(
|
1179
|
+
const cancelButtons = this.componentEdit.querySelectorAll(`[${this._referenceAttributeName}="cancelButton"]`);
|
1180
1180
|
cancelButtons.forEach((cancelButton) => {
|
1181
1181
|
this.editForm.addEventListener(cancelButton, 'click', (event) => {
|
1182
1182
|
event.preventDefault();
|
@@ -1186,7 +1186,7 @@ export default class WebformBuilder extends Component {
|
|
1186
1186
|
this.highlightInvalidComponents();
|
1187
1187
|
});
|
1188
1188
|
});
|
1189
|
-
const removeButtons = this.componentEdit.querySelectorAll(
|
1189
|
+
const removeButtons = this.componentEdit.querySelectorAll(`[${this._referenceAttributeName}="removeButton"]`);
|
1190
1190
|
removeButtons.forEach((removeButton) => {
|
1191
1191
|
this.editForm.addEventListener(removeButton, 'click', (event) => {
|
1192
1192
|
event.preventDefault();
|
@@ -1198,7 +1198,7 @@ export default class WebformBuilder extends Component {
|
|
1198
1198
|
this.highlightInvalidComponents();
|
1199
1199
|
});
|
1200
1200
|
});
|
1201
|
-
const saveButtons = this.componentEdit.querySelectorAll(
|
1201
|
+
const saveButtons = this.componentEdit.querySelectorAll(`[${this._referenceAttributeName}="saveButton"]`);
|
1202
1202
|
saveButtons.forEach((saveButton) => {
|
1203
1203
|
this.editForm.addEventListener(saveButton, 'click', (event) => {
|
1204
1204
|
event.preventDefault();
|
@@ -1214,7 +1214,7 @@ export default class WebformBuilder extends Component {
|
|
1214
1214
|
this.saveComponent(component, parent, isNew, original);
|
1215
1215
|
});
|
1216
1216
|
});
|
1217
|
-
const previewButtons = this.componentEdit.querySelectorAll(
|
1217
|
+
const previewButtons = this.componentEdit.querySelectorAll(`[${this._referenceAttributeName}="previewButton"]`);
|
1218
1218
|
previewButtons.forEach((previewButton) => {
|
1219
1219
|
this.editForm.addEventListener(previewButton, 'click', (event) => {
|
1220
1220
|
event.preventDefault();
|
@@ -1227,7 +1227,7 @@ export default class WebformBuilder extends Component {
|
|
1227
1227
|
showPreview: this.showPreview,
|
1228
1228
|
helplinks: this.helplinks,
|
1229
1229
|
}));
|
1230
|
-
this.editForm.attach(this.componentEdit.querySelector(
|
1230
|
+
this.editForm.attach(this.componentEdit.querySelector(`[${this._referenceAttributeName}="editForm"]`));
|
1231
1231
|
this.attachEditComponentControls(component, parent, isNew, original, ComponentClass);
|
1232
1232
|
});
|
1233
1233
|
});
|
@@ -1326,7 +1326,7 @@ export default class WebformBuilder extends Component {
|
|
1326
1326
|
}));
|
1327
1327
|
this.dialog = this.createModal(this.componentEdit, _.get(this.options, 'dialogAttr', {}));
|
1328
1328
|
// This is the attach step.
|
1329
|
-
this.editForm.attach(this.componentEdit.querySelector(
|
1329
|
+
this.editForm.attach(this.componentEdit.querySelector(`[${this._referenceAttributeName}="editForm"]`));
|
1330
1330
|
this.hook('editFormWrapper');
|
1331
1331
|
this.updateComponent(componentCopy);
|
1332
1332
|
this.editForm.on('change', (event) => {
|
@@ -0,0 +1,106 @@
|
|
1
|
+
declare class Wizard extends Webform {
|
2
|
+
/**
|
3
|
+
* Constructor for wizard based forms
|
4
|
+
* @param element Dom element to place this wizard.
|
5
|
+
* @param {Object} options Options object, supported options are:
|
6
|
+
* - breadcrumbSettings.clickable: true (default) determines if the breadcrumb bar is clickable or not
|
7
|
+
* - buttonSettings.show*(Previous, Next, Cancel): true (default) determines if the button is shown or not
|
8
|
+
* - allowPrevious: false (default) determines if the breadcrumb bar is clickable or not for visited tabs
|
9
|
+
*/
|
10
|
+
constructor(...args: any[]);
|
11
|
+
pages: any[];
|
12
|
+
prefixComps: any[];
|
13
|
+
suffixComps: any[];
|
14
|
+
components: any[];
|
15
|
+
originalComponents: any[];
|
16
|
+
page: number;
|
17
|
+
currentPanel: any;
|
18
|
+
currentPanels: any[] | null;
|
19
|
+
currentNextPage: number;
|
20
|
+
_seenPages: number[];
|
21
|
+
subWizards: any[];
|
22
|
+
allPages: any[];
|
23
|
+
lastPromise: Promise<void>;
|
24
|
+
enabledIndex: number;
|
25
|
+
editMode: boolean;
|
26
|
+
originalOptions: any;
|
27
|
+
isLastPage(): any;
|
28
|
+
getPages(args?: {}): any[];
|
29
|
+
get hasExtraPages(): boolean;
|
30
|
+
get localData(): any;
|
31
|
+
isClickableDefined: any;
|
32
|
+
isSecondInit: boolean | undefined;
|
33
|
+
get wizardKey(): string;
|
34
|
+
set wizard(form: Object);
|
35
|
+
get wizard(): Object;
|
36
|
+
get buttons(): {};
|
37
|
+
get buttonOrder(): any;
|
38
|
+
get renderContext(): {
|
39
|
+
disableWizardSubmit: any;
|
40
|
+
wizardKey: string;
|
41
|
+
isBreadcrumbClickable: any;
|
42
|
+
isSubForm: boolean;
|
43
|
+
panels: any[];
|
44
|
+
buttons: {};
|
45
|
+
currentPage: number;
|
46
|
+
buttonOrder: any;
|
47
|
+
};
|
48
|
+
prepareNavigationSettings(ctx: any): any;
|
49
|
+
prepareHeaderSettings(ctx: any, headerType: any): any;
|
50
|
+
redrawNavigation(): void;
|
51
|
+
redrawHeader(): void;
|
52
|
+
attach(element: any): Promise<void>;
|
53
|
+
scrollPageToTop(): void;
|
54
|
+
isBreadcrumbClickable(): any;
|
55
|
+
isAllowPrevious(): any;
|
56
|
+
handleNaviageteOnEnter(event: any): void;
|
57
|
+
handleSaveOnEnter(event: any): void;
|
58
|
+
attachNav(): void;
|
59
|
+
emitWizardPageSelected(index: any): void;
|
60
|
+
attachHeader(): void;
|
61
|
+
detachNav(): void;
|
62
|
+
detachHeader(): void;
|
63
|
+
transformPages(): void;
|
64
|
+
getSortedComponents({ components, originalComponents }: {
|
65
|
+
components: any;
|
66
|
+
originalComponents: any;
|
67
|
+
}): any[];
|
68
|
+
findRootPanel(component: any): any;
|
69
|
+
setRootPanelId(component: any): void;
|
70
|
+
establishPages(data?: any): any[];
|
71
|
+
updatePages(): void;
|
72
|
+
addComponents(): void;
|
73
|
+
setPage(num: any): Promise<void>;
|
74
|
+
pageFieldLogic(page: any): void;
|
75
|
+
get currentPage(): any;
|
76
|
+
getNextPage(): number | null;
|
77
|
+
getPreviousPage(): number;
|
78
|
+
beforeSubmit(): Promise<any[]>;
|
79
|
+
beforePage(next: any): Promise<any>;
|
80
|
+
emitNextPage(): void;
|
81
|
+
nextPage(): Promise<void>;
|
82
|
+
validateCurrentPage(flags?: {}): any;
|
83
|
+
emitPrevPage(): void;
|
84
|
+
prevPage(): Promise<void>;
|
85
|
+
cancel(noconfirm: any): Promise<void> | Promise<number>;
|
86
|
+
getPageIndexByKey(key: any): number;
|
87
|
+
get schema(): Object;
|
88
|
+
setComponentSchema(): void;
|
89
|
+
setForm(form: any, flags: any): any;
|
90
|
+
onSetForm(clonedForm: any, initialForm: any): void;
|
91
|
+
setEditMode(submission: any): void;
|
92
|
+
setValue(submission: any, flags: {} | undefined, ignoreEstablishment: any): any;
|
93
|
+
isClickable(page: any, index: any): any;
|
94
|
+
hasButton(name: any, nextPage?: number | null): any;
|
95
|
+
pageId(page: any): any;
|
96
|
+
onChange(flags: any, changed: any, modified: any, changes: any): void;
|
97
|
+
checkValidity(data: any, dirty: any, row: any, currentPageOnly: any, childErrors?: any[]): any;
|
98
|
+
focusOnComponent(key: any): any;
|
99
|
+
}
|
100
|
+
declare namespace Wizard {
|
101
|
+
let setBaseUrl: any;
|
102
|
+
let setApiUrl: any;
|
103
|
+
let setAppUrl: any;
|
104
|
+
}
|
105
|
+
export default Wizard;
|
106
|
+
import Webform from './Webform';
|
@@ -0,0 +1,50 @@
|
|
1
|
+
export default class WizardBuilder extends WebformBuilder {
|
2
|
+
_form: {
|
3
|
+
components: {
|
4
|
+
title: string;
|
5
|
+
label: string;
|
6
|
+
type: string;
|
7
|
+
key: string;
|
8
|
+
components: any[];
|
9
|
+
}[];
|
10
|
+
};
|
11
|
+
page: number;
|
12
|
+
removeComponent(component: any, parent: any, original: any): boolean | undefined;
|
13
|
+
allowDrop(element: any): boolean;
|
14
|
+
get pages(): any;
|
15
|
+
get currentPage(): any;
|
16
|
+
setForm(value: any): void;
|
17
|
+
set form(value: {
|
18
|
+
components: {
|
19
|
+
title: string;
|
20
|
+
label: string;
|
21
|
+
type: string;
|
22
|
+
key: string;
|
23
|
+
components: any[];
|
24
|
+
}[];
|
25
|
+
});
|
26
|
+
get form(): {
|
27
|
+
components: {
|
28
|
+
title: string;
|
29
|
+
label: string;
|
30
|
+
type: string;
|
31
|
+
key: string;
|
32
|
+
components: any[];
|
33
|
+
}[];
|
34
|
+
};
|
35
|
+
navigationDragula: any;
|
36
|
+
rebuild(): Promise<void> | Promise<boolean>;
|
37
|
+
addPage(page: any): Promise<void> | Promise<boolean>;
|
38
|
+
removePage(pageIndex: any, componentIndex: any): Promise<void> | Promise<boolean> | undefined;
|
39
|
+
onReorder(element: any, _target: any, _source: any, sibling: any): Promise<void> | undefined;
|
40
|
+
setPage(index: any): Promise<void> | Promise<boolean> | undefined;
|
41
|
+
getPageConfig(index: any, components?: any[]): {
|
42
|
+
title: string;
|
43
|
+
label: string;
|
44
|
+
type: string;
|
45
|
+
key: string;
|
46
|
+
components: any[];
|
47
|
+
};
|
48
|
+
pasteComponent(component: any): any;
|
49
|
+
}
|
50
|
+
import WebformBuilder from './WebformBuilder';
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export default class FormioAddon extends Element {
|
2
|
+
static get info(): {
|
3
|
+
supportedComponents: never[];
|
4
|
+
name: string;
|
5
|
+
components: never[];
|
6
|
+
label: string;
|
7
|
+
defaultSettings: {};
|
8
|
+
};
|
9
|
+
constructor(settings: any, componentInstance: any);
|
10
|
+
get defaultSettings(): {};
|
11
|
+
get element(): any;
|
12
|
+
namespace: string;
|
13
|
+
component: any;
|
14
|
+
settings: any;
|
15
|
+
attach(element: any): Promise<void>;
|
16
|
+
_element: any;
|
17
|
+
destroy(): void;
|
18
|
+
}
|
19
|
+
import Element from '../Element';
|