@formio/js 5.0.0-rc.5
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE.txt +19 -0
- package/README.md +195 -0
- package/dist/fonts/bootstrap-icons.woff +0 -0
- package/dist/fonts/bootstrap-icons.woff2 +0 -0
- package/dist/formio.builder.css +2295 -0
- package/dist/formio.builder.min.css +1 -0
- package/dist/formio.embed.css +40 -0
- package/dist/formio.embed.js +90 -0
- package/dist/formio.embed.min.css +1 -0
- package/dist/formio.embed.min.js +2 -0
- package/dist/formio.embed.min.js.LICENSE.txt +1 -0
- package/dist/formio.form.css +2014 -0
- package/dist/formio.form.js +8300 -0
- package/dist/formio.form.min.css +1 -0
- package/dist/formio.form.min.js +2 -0
- package/dist/formio.form.min.js.LICENSE.txt +48 -0
- package/dist/formio.full.css +3937 -0
- package/dist/formio.full.js +10276 -0
- package/dist/formio.full.min.css +5 -0
- package/dist/formio.full.min.js +2 -0
- package/dist/formio.full.min.js.LICENSE.txt +48 -0
- package/dist/formio.js +2722 -0
- package/dist/formio.min.js +2 -0
- package/dist/formio.min.js.LICENSE.txt +17 -0
- package/dist/formio.utils.js +2103 -0
- package/dist/formio.utils.min.js +2 -0
- package/dist/formio.utils.min.js.LICENSE.txt +41 -0
- package/index.d.ts +1 -0
- package/lib/cjs/CDN.d.ts +28 -0
- package/lib/cjs/CDN.js +76 -0
- package/lib/cjs/Element.d.ts +255 -0
- package/lib/cjs/Element.js +593 -0
- package/lib/cjs/Embed.d.ts +1 -0
- package/lib/cjs/Embed.js +355 -0
- package/lib/cjs/EventEmitter.d.ts +7 -0
- package/lib/cjs/EventEmitter.js +52 -0
- package/lib/cjs/Form.d.ts +90 -0
- package/lib/cjs/Form.js +337 -0
- package/lib/cjs/FormBuilder.d.ts +6 -0
- package/lib/cjs/FormBuilder.js +39 -0
- package/lib/cjs/Formio.d.ts +2 -0
- package/lib/cjs/Formio.js +95 -0
- package/lib/cjs/PDF.d.ts +32 -0
- package/lib/cjs/PDF.js +292 -0
- package/lib/cjs/PDFBuilder.d.ts +55 -0
- package/lib/cjs/PDFBuilder.js +481 -0
- package/lib/cjs/Webform.d.ts +408 -0
- package/lib/cjs/Webform.js +1515 -0
- package/lib/cjs/WebformBuilder.d.ts +120 -0
- package/lib/cjs/WebformBuilder.js +1537 -0
- package/lib/cjs/Wizard.d.ts +93 -0
- package/lib/cjs/Wizard.js +917 -0
- package/lib/cjs/WizardBuilder.d.ts +46 -0
- package/lib/cjs/WizardBuilder.js +257 -0
- package/lib/cjs/addons/FormioAddon.d.ts +19 -0
- package/lib/cjs/addons/FormioAddon.js +37 -0
- package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +717 -0
- package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.form.d.ts +590 -0
- package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.form.js +316 -0
- package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.js +397 -0
- package/lib/cjs/addons/index.d.ts +625 -0
- package/lib/cjs/addons/index.js +25 -0
- package/lib/cjs/builders/Builders.d.ts +18 -0
- package/lib/cjs/builders/Builders.js +29 -0
- package/lib/cjs/builders/index.d.ts +2 -0
- package/lib/cjs/builders/index.js +7 -0
- package/lib/cjs/components/Components.d.ts +258 -0
- package/lib/cjs/components/Components.js +80 -0
- package/lib/cjs/components/_classes/component/Component.d.ts +779 -0
- package/lib/cjs/components/_classes/component/Component.form.d.ts +3 -0
- package/lib/cjs/components/_classes/component/Component.form.js +77 -0
- package/lib/cjs/components/_classes/component/Component.js +3146 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.addons.d.ts +645 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.addons.js +46 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.api.d.ts +42 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.api.js +40 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.conditional.d.ts +113 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.conditional.js +55 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.data.d.ts +219 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.data.js +161 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.display.d.ts +160 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.display.js +202 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.layout.d.ts +44 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.layout.js +79 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.logic.d.ts +368 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.logic.js +415 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.validation.d.ts +140 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.validation.js +209 -0
- package/lib/cjs/components/_classes/component/editForm/utils.d.ts +83 -0
- package/lib/cjs/components/_classes/component/editForm/utils.js +137 -0
- package/lib/cjs/components/_classes/component/fixtures/comp1.d.ts +33 -0
- package/lib/cjs/components/_classes/component/fixtures/comp1.js +33 -0
- package/lib/cjs/components/_classes/component/fixtures/comp2.d.ts +33 -0
- package/lib/cjs/components/_classes/component/fixtures/comp2.js +33 -0
- package/lib/cjs/components/_classes/component/fixtures/comp3.d.ts +14 -0
- package/lib/cjs/components/_classes/component/fixtures/comp3.js +14 -0
- package/lib/cjs/components/_classes/component/fixtures/comp4.d.ts +17 -0
- package/lib/cjs/components/_classes/component/fixtures/comp4.js +18 -0
- package/lib/cjs/components/_classes/component/fixtures/index.d.ts +5 -0
- package/lib/cjs/components/_classes/component/fixtures/index.js +14 -0
- package/lib/cjs/components/_classes/componentModal/ComponentModal.d.ts +46 -0
- package/lib/cjs/components/_classes/componentModal/ComponentModal.js +183 -0
- package/lib/cjs/components/_classes/field/Field.d.ts +4 -0
- package/lib/cjs/components/_classes/field/Field.js +23 -0
- package/lib/cjs/components/_classes/input/Input.d.ts +42 -0
- package/lib/cjs/components/_classes/input/Input.js +304 -0
- package/lib/cjs/components/_classes/list/ListComponent.d.ts +14 -0
- package/lib/cjs/components/_classes/list/ListComponent.form.d.ts +3 -0
- package/lib/cjs/components/_classes/list/ListComponent.form.js +16 -0
- package/lib/cjs/components/_classes/list/ListComponent.js +215 -0
- package/lib/cjs/components/_classes/list/editForm/ListComponent.edit.data.d.ts +183 -0
- package/lib/cjs/components/_classes/list/editForm/ListComponent.edit.data.js +119 -0
- package/lib/cjs/components/_classes/multivalue/Multivalue.d.ts +29 -0
- package/lib/cjs/components/_classes/multivalue/Multivalue.js +263 -0
- package/lib/cjs/components/_classes/nested/NestedComponent.d.ts +130 -0
- package/lib/cjs/components/_classes/nested/NestedComponent.form.d.ts +3 -0
- package/lib/cjs/components/_classes/nested/NestedComponent.form.js +19 -0
- package/lib/cjs/components/_classes/nested/NestedComponent.js +693 -0
- package/lib/cjs/components/_classes/nested/fixtures/comp1.d.ts +8 -0
- package/lib/cjs/components/_classes/nested/fixtures/comp1.js +16 -0
- package/lib/cjs/components/_classes/nested/fixtures/comp2.d.ts +236 -0
- package/lib/cjs/components/_classes/nested/fixtures/comp2.js +227 -0
- package/lib/cjs/components/_classes/nested/fixtures/comp3.d.ts +26 -0
- package/lib/cjs/components/_classes/nested/fixtures/comp3.js +29 -0
- package/lib/cjs/components/_classes/nested/fixtures/index.d.ts +3 -0
- package/lib/cjs/components/_classes/nested/fixtures/index.js +12 -0
- package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +14 -0
- package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.js +180 -0
- package/lib/cjs/components/_classes/nesteddata/NestedDataComponent.d.ts +11 -0
- package/lib/cjs/components/_classes/nesteddata/NestedDataComponent.js +123 -0
- package/lib/cjs/components/address/Address.d.ts +58 -0
- package/lib/cjs/components/address/Address.form.d.ts +3 -0
- package/lib/cjs/components/address/Address.form.js +28 -0
- package/lib/cjs/components/address/Address.js +547 -0
- package/lib/cjs/components/address/editForm/Address.edit.data.d.ts +31 -0
- package/lib/cjs/components/address/editForm/Address.edit.data.js +23 -0
- package/lib/cjs/components/address/editForm/Address.edit.display.d.ts +49 -0
- package/lib/cjs/components/address/editForm/Address.edit.display.js +44 -0
- package/lib/cjs/components/address/editForm/Address.edit.provider.d.ts +164 -0
- package/lib/cjs/components/address/editForm/Address.edit.provider.js +156 -0
- package/lib/cjs/components/address/fixtures/comp1.d.ts +34 -0
- package/lib/cjs/components/address/fixtures/comp1.js +71 -0
- package/lib/cjs/components/address/fixtures/comp2.d.ts +62 -0
- package/lib/cjs/components/address/fixtures/comp2.js +103 -0
- package/lib/cjs/components/address/fixtures/comp3.d.ts +44 -0
- package/lib/cjs/components/address/fixtures/comp3.js +85 -0
- package/lib/cjs/components/address/fixtures/comp4.d.ts +56 -0
- package/lib/cjs/components/address/fixtures/comp4.js +93 -0
- package/lib/cjs/components/address/fixtures/index.d.ts +5 -0
- package/lib/cjs/components/address/fixtures/index.js +14 -0
- package/lib/cjs/components/address/fixtures/values.d.ts +22 -0
- package/lib/cjs/components/address/fixtures/values.js +19 -0
- package/lib/cjs/components/alert/Alert.d.ts +30 -0
- package/lib/cjs/components/alert/Alert.js +183 -0
- package/lib/cjs/components/builder.d.ts +2 -0
- package/lib/cjs/components/builder.js +91 -0
- package/lib/cjs/components/button/Button.d.ts +44 -0
- package/lib/cjs/components/button/Button.form.d.ts +3 -0
- package/lib/cjs/components/button/Button.form.js +24 -0
- package/lib/cjs/components/button/Button.js +465 -0
- package/lib/cjs/components/button/editForm/Button.edit.display.d.ts +360 -0
- package/lib/cjs/components/button/editForm/Button.edit.display.js +253 -0
- package/lib/cjs/components/button/fixtures/comp1.d.ts +15 -0
- package/lib/cjs/components/button/fixtures/comp1.js +16 -0
- package/lib/cjs/components/button/fixtures/comp2.d.ts +25 -0
- package/lib/cjs/components/button/fixtures/comp2.js +57 -0
- package/lib/cjs/components/button/fixtures/comp3.d.ts +113 -0
- package/lib/cjs/components/button/fixtures/comp3.js +84 -0
- package/lib/cjs/components/button/fixtures/index.d.ts +4 -0
- package/lib/cjs/components/button/fixtures/index.js +12 -0
- package/lib/cjs/components/button/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/button/fixtures/values.js +6 -0
- package/lib/cjs/components/checkbox/Checkbox.d.ts +36 -0
- package/lib/cjs/components/checkbox/Checkbox.form.d.ts +3 -0
- package/lib/cjs/components/checkbox/Checkbox.form.js +26 -0
- package/lib/cjs/components/checkbox/Checkbox.js +194 -0
- package/lib/cjs/components/checkbox/editForm/Checkbox.edit.data.d.ts +5 -0
- package/lib/cjs/components/checkbox/editForm/Checkbox.edit.data.js +8 -0
- package/lib/cjs/components/checkbox/editForm/Checkbox.edit.display.d.ts +75 -0
- package/lib/cjs/components/checkbox/editForm/Checkbox.edit.display.js +79 -0
- package/lib/cjs/components/checkbox/editForm/Checkbox.edit.validation.d.ts +5 -0
- package/lib/cjs/components/checkbox/editForm/Checkbox.edit.validation.js +12 -0
- package/lib/cjs/components/checkbox/fixtures/comp1.d.ts +24 -0
- package/lib/cjs/components/checkbox/fixtures/comp1.js +24 -0
- package/lib/cjs/components/checkbox/fixtures/comp2.d.ts +12 -0
- package/lib/cjs/components/checkbox/fixtures/comp2.js +13 -0
- package/lib/cjs/components/checkbox/fixtures/comp3.d.ts +15 -0
- package/lib/cjs/components/checkbox/fixtures/comp3.js +16 -0
- package/lib/cjs/components/checkbox/fixtures/comp4.d.ts +46 -0
- package/lib/cjs/components/checkbox/fixtures/comp4.js +39 -0
- package/lib/cjs/components/checkbox/fixtures/customDefaultComponent.d.ts +25 -0
- package/lib/cjs/components/checkbox/fixtures/customDefaultComponent.js +25 -0
- package/lib/cjs/components/checkbox/fixtures/index.d.ts +6 -0
- package/lib/cjs/components/checkbox/fixtures/index.js +16 -0
- package/lib/cjs/components/checkbox/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/checkbox/fixtures/values.js +6 -0
- package/lib/cjs/components/columns/Columns.d.ts +25 -0
- package/lib/cjs/components/columns/Columns.form.d.ts +3 -0
- package/lib/cjs/components/columns/Columns.form.js +16 -0
- package/lib/cjs/components/columns/Columns.js +156 -0
- package/lib/cjs/components/columns/editForm/Columns.edit.display.d.ts +58 -0
- package/lib/cjs/components/columns/editForm/Columns.edit.display.js +100 -0
- package/lib/cjs/components/columns/fixtures/comp1.d.ts +45 -0
- package/lib/cjs/components/columns/fixtures/comp1.js +85 -0
- package/lib/cjs/components/columns/fixtures/comp2.d.ts +24 -0
- package/lib/cjs/components/columns/fixtures/comp2.js +127 -0
- package/lib/cjs/components/columns/fixtures/comp3.d.ts +45 -0
- package/lib/cjs/components/columns/fixtures/comp3.js +53 -0
- package/lib/cjs/components/columns/fixtures/index.d.ts +4 -0
- package/lib/cjs/components/columns/fixtures/index.js +12 -0
- package/lib/cjs/components/container/Container.d.ts +14 -0
- package/lib/cjs/components/container/Container.form.d.ts +3 -0
- package/lib/cjs/components/container/Container.form.js +21 -0
- package/lib/cjs/components/container/Container.js +78 -0
- package/lib/cjs/components/container/editForm/Container.edit.data.d.ts +5 -0
- package/lib/cjs/components/container/editForm/Container.edit.data.js +16 -0
- package/lib/cjs/components/container/editForm/Container.edit.display.d.ts +5 -0
- package/lib/cjs/components/container/editForm/Container.edit.display.js +20 -0
- package/lib/cjs/components/container/fixtures/comp1.d.ts +49 -0
- package/lib/cjs/components/container/fixtures/comp1.js +82 -0
- package/lib/cjs/components/container/fixtures/comp2.d.ts +30 -0
- package/lib/cjs/components/container/fixtures/comp2.js +34 -0
- package/lib/cjs/components/container/fixtures/comp3.d.ts +77 -0
- package/lib/cjs/components/container/fixtures/comp3.js +57 -0
- package/lib/cjs/components/container/fixtures/index.d.ts +4 -0
- package/lib/cjs/components/container/fixtures/index.js +12 -0
- package/lib/cjs/components/content/Content.d.ts +15 -0
- package/lib/cjs/components/content/Content.form.d.ts +3 -0
- package/lib/cjs/components/content/Content.form.js +43 -0
- package/lib/cjs/components/content/Content.js +76 -0
- package/lib/cjs/components/content/editForm/Content.edit.display.d.ts +18 -0
- package/lib/cjs/components/content/editForm/Content.edit.display.js +48 -0
- package/lib/cjs/components/content/editForm/Content.edit.logic.d.ts +48 -0
- package/lib/cjs/components/content/editForm/Content.edit.logic.js +100 -0
- package/lib/cjs/components/content/fixtures/comp1.d.ts +13 -0
- package/lib/cjs/components/content/fixtures/comp1.js +14 -0
- package/lib/cjs/components/content/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/content/fixtures/index.js +8 -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/Currency.form.js +46 -0
- package/lib/cjs/components/currency/Currency.js +180 -0
- package/lib/cjs/components/currency/editForm/Currency.edit.data.d.ts +17 -0
- package/lib/cjs/components/currency/editForm/Currency.edit.data.js +188 -0
- package/lib/cjs/components/currency/editForm/Currency.edit.display.d.ts +18 -0
- package/lib/cjs/components/currency/editForm/Currency.edit.display.js +36 -0
- package/lib/cjs/components/currency/fixtures/comp1.d.ts +31 -0
- package/lib/cjs/components/currency/fixtures/comp1.js +31 -0
- package/lib/cjs/components/currency/fixtures/comp2.d.ts +20 -0
- package/lib/cjs/components/currency/fixtures/comp2.js +20 -0
- package/lib/cjs/components/currency/fixtures/comp3.d.ts +13 -0
- package/lib/cjs/components/currency/fixtures/comp3.js +14 -0
- package/lib/cjs/components/currency/fixtures/comp4.d.ts +17 -0
- package/lib/cjs/components/currency/fixtures/comp4.js +20 -0
- package/lib/cjs/components/currency/fixtures/index.d.ts +5 -0
- package/lib/cjs/components/currency/fixtures/index.js +14 -0
- package/lib/cjs/components/currency/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/currency/fixtures/values.js +8 -0
- package/lib/cjs/components/datagrid/DataGrid.d.ts +87 -0
- package/lib/cjs/components/datagrid/DataGrid.form.d.ts +3 -0
- package/lib/cjs/components/datagrid/DataGrid.form.js +26 -0
- package/lib/cjs/components/datagrid/DataGrid.js +646 -0
- package/lib/cjs/components/datagrid/editForm/DataGrid.edit.data.d.ts +5 -0
- package/lib/cjs/components/datagrid/editForm/DataGrid.edit.data.js +8 -0
- package/lib/cjs/components/datagrid/editForm/DataGrid.edit.display.d.ts +283 -0
- package/lib/cjs/components/datagrid/editForm/DataGrid.edit.display.js +149 -0
- package/lib/cjs/components/datagrid/editForm/DataGrid.edit.validation.d.ts +20 -0
- package/lib/cjs/components/datagrid/editForm/DataGrid.edit.validation.js +26 -0
- package/lib/cjs/components/datagrid/fixtures/comp-modal-with-required-fields.d.ts +37 -0
- package/lib/cjs/components/datagrid/fixtures/comp-modal-with-required-fields.js +42 -0
- package/lib/cjs/components/datagrid/fixtures/comp-on-blur-validation.d.ts +0 -0
- package/lib/cjs/components/datagrid/fixtures/comp-on-blur-validation.js +1 -0
- package/lib/cjs/components/datagrid/fixtures/comp-row-groups-with-def-value.d.ts +63 -0
- package/lib/cjs/components/datagrid/fixtures/comp-row-groups-with-def-value.js +81 -0
- package/lib/cjs/components/datagrid/fixtures/comp-with-collapsible-groups.d.ts +76 -0
- package/lib/cjs/components/datagrid/fixtures/comp-with-collapsible-groups.js +75 -0
- package/lib/cjs/components/datagrid/fixtures/comp-with-conditional-components-and-validations.d.ts +197 -0
- package/lib/cjs/components/datagrid/fixtures/comp-with-conditional-components-and-validations.js +178 -0
- package/lib/cjs/components/datagrid/fixtures/comp-with-def-value.d.ts +61 -0
- package/lib/cjs/components/datagrid/fixtures/comp-with-def-value.js +69 -0
- package/lib/cjs/components/datagrid/fixtures/comp-with-logic.d.ts +165 -0
- package/lib/cjs/components/datagrid/fixtures/comp-with-logic.js +180 -0
- package/lib/cjs/components/datagrid/fixtures/comp1.d.ts +93 -0
- package/lib/cjs/components/datagrid/fixtures/comp1.js +115 -0
- package/lib/cjs/components/datagrid/fixtures/comp2.d.ts +18 -0
- package/lib/cjs/components/datagrid/fixtures/comp2.js +29 -0
- package/lib/cjs/components/datagrid/fixtures/comp3.d.ts +14 -0
- package/lib/cjs/components/datagrid/fixtures/comp3.js +23 -0
- package/lib/cjs/components/datagrid/fixtures/comp4.d.ts +27 -0
- package/lib/cjs/components/datagrid/fixtures/comp4.js +28 -0
- package/lib/cjs/components/datagrid/fixtures/comp5.d.ts +67 -0
- package/lib/cjs/components/datagrid/fixtures/comp5.js +77 -0
- package/lib/cjs/components/datagrid/fixtures/comp6.d.ts +567 -0
- package/lib/cjs/components/datagrid/fixtures/comp6.js +296 -0
- package/lib/cjs/components/datagrid/fixtures/comp7.d.ts +28 -0
- package/lib/cjs/components/datagrid/fixtures/comp7.js +35 -0
- package/lib/cjs/components/datagrid/fixtures/comp8.d.ts +35 -0
- package/lib/cjs/components/datagrid/fixtures/comp8.js +37 -0
- package/lib/cjs/components/datagrid/fixtures/index.d.ts +15 -0
- package/lib/cjs/components/datagrid/fixtures/index.js +34 -0
- package/lib/cjs/components/datamap/DataMap.d.ts +35 -0
- package/lib/cjs/components/datamap/DataMap.form.d.ts +3 -0
- package/lib/cjs/components/datamap/DataMap.form.js +21 -0
- package/lib/cjs/components/datamap/DataMap.js +297 -0
- package/lib/cjs/components/datamap/editForm/DataMap.edit.data.d.ts +5 -0
- package/lib/cjs/components/datamap/editForm/DataMap.edit.data.js +12 -0
- package/lib/cjs/components/datamap/editForm/DataMap.edit.display.d.ts +30 -0
- package/lib/cjs/components/datamap/editForm/DataMap.edit.display.js +48 -0
- package/lib/cjs/components/datamap/fixtures/comp1.d.ts +18 -0
- package/lib/cjs/components/datamap/fixtures/comp1.js +15 -0
- package/lib/cjs/components/datamap/fixtures/formWithConditionalPanel.d.ts +87 -0
- package/lib/cjs/components/datamap/fixtures/formWithConditionalPanel.js +85 -0
- package/lib/cjs/components/datamap/fixtures/index.d.ts +3 -0
- package/lib/cjs/components/datamap/fixtures/index.js +10 -0
- package/lib/cjs/components/datetime/DateTime.d.ts +16 -0
- package/lib/cjs/components/datetime/DateTime.form.d.ts +3 -0
- package/lib/cjs/components/datetime/DateTime.form.js +40 -0
- package/lib/cjs/components/datetime/DateTime.js +145 -0
- package/lib/cjs/components/datetime/editForm/DateTime.edit.data.d.ts +24 -0
- package/lib/cjs/components/datetime/editForm/DateTime.edit.data.js +23 -0
- package/lib/cjs/components/datetime/editForm/DateTime.edit.date.d.ts +61 -0
- package/lib/cjs/components/datetime/editForm/DateTime.edit.date.js +75 -0
- package/lib/cjs/components/datetime/editForm/DateTime.edit.display.d.ts +128 -0
- package/lib/cjs/components/datetime/editForm/DateTime.edit.display.js +100 -0
- package/lib/cjs/components/datetime/editForm/DateTime.edit.time.d.ts +9 -0
- package/lib/cjs/components/datetime/editForm/DateTime.edit.time.js +36 -0
- package/lib/cjs/components/datetime/editForm/DateTime.edit.validation.d.ts +40 -0
- package/lib/cjs/components/datetime/editForm/DateTime.edit.validation.js +84 -0
- package/lib/cjs/components/datetime/fixtures/comp1.d.ts +45 -0
- package/lib/cjs/components/datetime/fixtures/comp1.js +44 -0
- package/lib/cjs/components/datetime/fixtures/comp10.d.ts +102 -0
- package/lib/cjs/components/datetime/fixtures/comp10.js +86 -0
- package/lib/cjs/components/datetime/fixtures/comp11.d.ts +58 -0
- package/lib/cjs/components/datetime/fixtures/comp11.js +55 -0
- package/lib/cjs/components/datetime/fixtures/comp12.d.ts +57 -0
- package/lib/cjs/components/datetime/fixtures/comp12.js +55 -0
- package/lib/cjs/components/datetime/fixtures/comp2.d.ts +42 -0
- package/lib/cjs/components/datetime/fixtures/comp2.js +43 -0
- package/lib/cjs/components/datetime/fixtures/comp3.d.ts +51 -0
- package/lib/cjs/components/datetime/fixtures/comp3.js +40 -0
- package/lib/cjs/components/datetime/fixtures/comp5.d.ts +57 -0
- package/lib/cjs/components/datetime/fixtures/comp5.js +48 -0
- package/lib/cjs/components/datetime/fixtures/comp6.d.ts +55 -0
- package/lib/cjs/components/datetime/fixtures/comp6.js +49 -0
- package/lib/cjs/components/datetime/fixtures/comp7.d.ts +59 -0
- package/lib/cjs/components/datetime/fixtures/comp7.js +53 -0
- package/lib/cjs/components/datetime/fixtures/comp8.d.ts +59 -0
- package/lib/cjs/components/datetime/fixtures/comp8.js +52 -0
- package/lib/cjs/components/datetime/fixtures/comp9.d.ts +64 -0
- package/lib/cjs/components/datetime/fixtures/comp9.js +95 -0
- package/lib/cjs/components/datetime/fixtures/index.d.ts +12 -0
- package/lib/cjs/components/datetime/fixtures/index.js +28 -0
- package/lib/cjs/components/datetime/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/datetime/fixtures/values.js +6 -0
- package/lib/cjs/components/day/Day.d.ts +143 -0
- package/lib/cjs/components/day/Day.form.d.ts +3 -0
- package/lib/cjs/components/day/Day.form.js +47 -0
- package/lib/cjs/components/day/Day.js +535 -0
- package/lib/cjs/components/day/editForm/Day.edit.data.d.ts +5 -0
- package/lib/cjs/components/day/editForm/Day.edit.data.js +8 -0
- package/lib/cjs/components/day/editForm/Day.edit.day.d.ts +40 -0
- package/lib/cjs/components/day/editForm/Day.edit.day.js +48 -0
- package/lib/cjs/components/day/editForm/Day.edit.display.d.ts +40 -0
- package/lib/cjs/components/day/editForm/Day.edit.display.js +46 -0
- package/lib/cjs/components/day/editForm/Day.edit.month.d.ts +40 -0
- package/lib/cjs/components/day/editForm/Day.edit.month.js +40 -0
- package/lib/cjs/components/day/editForm/Day.edit.validation.d.ts +29 -0
- package/lib/cjs/components/day/editForm/Day.edit.validation.js +54 -0
- package/lib/cjs/components/day/editForm/Day.edit.year.d.ts +40 -0
- package/lib/cjs/components/day/editForm/Day.edit.year.js +58 -0
- package/lib/cjs/components/day/fixtures/comp1.d.ts +46 -0
- package/lib/cjs/components/day/fixtures/comp1.js +39 -0
- package/lib/cjs/components/day/fixtures/comp2.d.ts +46 -0
- package/lib/cjs/components/day/fixtures/comp2.js +39 -0
- package/lib/cjs/components/day/fixtures/comp3.d.ts +48 -0
- package/lib/cjs/components/day/fixtures/comp3.js +41 -0
- package/lib/cjs/components/day/fixtures/comp4.d.ts +53 -0
- package/lib/cjs/components/day/fixtures/comp4.js +56 -0
- package/lib/cjs/components/day/fixtures/index.d.ts +5 -0
- package/lib/cjs/components/day/fixtures/index.js +14 -0
- package/lib/cjs/components/day/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/day/fixtures/values.js +6 -0
- package/lib/cjs/components/editgrid/EditGrid.d.ts +98 -0
- package/lib/cjs/components/editgrid/EditGrid.form.d.ts +3 -0
- package/lib/cjs/components/editgrid/EditGrid.form.js +33 -0
- package/lib/cjs/components/editgrid/EditGrid.js +1162 -0
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.data.d.ts +18 -0
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.data.js +20 -0
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.display.d.ts +82 -0
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.display.js +58 -0
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.templates.d.ts +58 -0
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.templates.js +131 -0
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.validation.d.ts +29 -0
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.validation.js +34 -0
- package/lib/cjs/components/editgrid/fixtures/comp-openWhenEmpty.d.ts +34 -0
- package/lib/cjs/components/editgrid/fixtures/comp-openWhenEmpty.js +36 -0
- package/lib/cjs/components/editgrid/fixtures/comp-with-basic-components.d.ts +327 -0
- package/lib/cjs/components/editgrid/fixtures/comp-with-basic-components.js +220 -0
- package/lib/cjs/components/editgrid/fixtures/comp-with-conditions-and-openWhenEmpty.d.ts +77 -0
- package/lib/cjs/components/editgrid/fixtures/comp-with-conditions-and-openWhenEmpty.js +84 -0
- package/lib/cjs/components/editgrid/fixtures/comp1.d.ts +89 -0
- package/lib/cjs/components/editgrid/fixtures/comp1.js +128 -0
- package/lib/cjs/components/editgrid/fixtures/comp10.d.ts +49 -0
- package/lib/cjs/components/editgrid/fixtures/comp10.js +48 -0
- package/lib/cjs/components/editgrid/fixtures/comp11.d.ts +53 -0
- package/lib/cjs/components/editgrid/fixtures/comp11.js +50 -0
- package/lib/cjs/components/editgrid/fixtures/comp12.d.ts +57 -0
- package/lib/cjs/components/editgrid/fixtures/comp12.js +50 -0
- package/lib/cjs/components/editgrid/fixtures/comp13.d.ts +64 -0
- package/lib/cjs/components/editgrid/fixtures/comp13.js +64 -0
- package/lib/cjs/components/editgrid/fixtures/comp14.d.ts +88 -0
- package/lib/cjs/components/editgrid/fixtures/comp14.js +84 -0
- package/lib/cjs/components/editgrid/fixtures/comp2.d.ts +112 -0
- package/lib/cjs/components/editgrid/fixtures/comp2.js +114 -0
- package/lib/cjs/components/editgrid/fixtures/comp3.d.ts +27 -0
- package/lib/cjs/components/editgrid/fixtures/comp3.js +28 -0
- package/lib/cjs/components/editgrid/fixtures/comp4.d.ts +23 -0
- package/lib/cjs/components/editgrid/fixtures/comp4.js +24 -0
- package/lib/cjs/components/editgrid/fixtures/comp5.d.ts +19 -0
- package/lib/cjs/components/editgrid/fixtures/comp5.js +22 -0
- package/lib/cjs/components/editgrid/fixtures/comp6.d.ts +50 -0
- package/lib/cjs/components/editgrid/fixtures/comp6.js +58 -0
- package/lib/cjs/components/editgrid/fixtures/comp7.d.ts +129 -0
- package/lib/cjs/components/editgrid/fixtures/comp7.js +123 -0
- package/lib/cjs/components/editgrid/fixtures/comp8.d.ts +148 -0
- package/lib/cjs/components/editgrid/fixtures/comp8.js +156 -0
- package/lib/cjs/components/editgrid/fixtures/comp9.d.ts +86 -0
- package/lib/cjs/components/editgrid/fixtures/comp9.js +62 -0
- package/lib/cjs/components/editgrid/fixtures/index.d.ts +17 -0
- package/lib/cjs/components/editgrid/fixtures/index.js +38 -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/Email.form.js +21 -0
- package/lib/cjs/components/email/Email.js +54 -0
- package/lib/cjs/components/email/editForm/Email.edit.display.d.ts +5 -0
- package/lib/cjs/components/email/editForm/Email.edit.display.js +20 -0
- package/lib/cjs/components/email/editForm/Email.edit.validation.d.ts +24 -0
- package/lib/cjs/components/email/editForm/Email.edit.validation.js +28 -0
- package/lib/cjs/components/email/fixtures/comp1.d.ts +26 -0
- package/lib/cjs/components/email/fixtures/comp1.js +26 -0
- package/lib/cjs/components/email/fixtures/comp2.d.ts +23 -0
- package/lib/cjs/components/email/fixtures/comp2.js +13 -0
- package/lib/cjs/components/email/fixtures/index.d.ts +3 -0
- package/lib/cjs/components/email/fixtures/index.js +10 -0
- package/lib/cjs/components/email/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/email/fixtures/values.js +6 -0
- package/lib/cjs/components/fieldset/Fieldset.d.ts +13 -0
- package/lib/cjs/components/fieldset/Fieldset.form.d.ts +3 -0
- package/lib/cjs/components/fieldset/Fieldset.form.js +16 -0
- package/lib/cjs/components/fieldset/Fieldset.js +43 -0
- package/lib/cjs/components/fieldset/editForm/Fieldset.edit.display.d.ts +33 -0
- package/lib/cjs/components/fieldset/editForm/Fieldset.edit.display.js +44 -0
- package/lib/cjs/components/fieldset/fixtures/comp1.d.ts +46 -0
- package/lib/cjs/components/fieldset/fixtures/comp1.js +81 -0
- package/lib/cjs/components/fieldset/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/fieldset/fixtures/index.js +8 -0
- package/lib/cjs/components/file/File.d.ts +59 -0
- package/lib/cjs/components/file/File.form.d.ts +3 -0
- package/lib/cjs/components/file/File.form.js +33 -0
- package/lib/cjs/components/file/File.js +752 -0
- package/lib/cjs/components/file/editForm/File.edit.data.d.ts +5 -0
- package/lib/cjs/components/file/editForm/File.edit.data.js +8 -0
- package/lib/cjs/components/file/editForm/File.edit.display.d.ts +5 -0
- package/lib/cjs/components/file/editForm/File.edit.display.js +8 -0
- package/lib/cjs/components/file/editForm/File.edit.file.d.ts +213 -0
- package/lib/cjs/components/file/editForm/File.edit.file.js +261 -0
- package/lib/cjs/components/file/editForm/File.edit.validation.d.ts +5 -0
- package/lib/cjs/components/file/editForm/File.edit.validation.js +12 -0
- package/lib/cjs/components/file/fixtures/comp1.d.ts +15 -0
- package/lib/cjs/components/file/fixtures/comp1.js +18 -0
- package/lib/cjs/components/file/fixtures/comp2.d.ts +35 -0
- package/lib/cjs/components/file/fixtures/comp2.js +31 -0
- package/lib/cjs/components/file/fixtures/index.d.ts +3 -0
- package/lib/cjs/components/file/fixtures/index.js +10 -0
- package/lib/cjs/components/file/fixtures/values.d.ts +10 -0
- package/lib/cjs/components/file/fixtures/values.js +15 -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.form.js +30 -0
- package/lib/cjs/components/form/Form.js +727 -0
- package/lib/cjs/components/form/editForm/Form.edit.data.d.ts +82 -0
- package/lib/cjs/components/form/editForm/Form.edit.data.js +21 -0
- package/lib/cjs/components/form/editForm/Form.edit.display.d.ts +5 -0
- package/lib/cjs/components/form/editForm/Form.edit.display.js +29 -0
- package/lib/cjs/components/form/editForm/Form.edit.form.d.ts +89 -0
- package/lib/cjs/components/form/editForm/Form.edit.form.js +75 -0
- package/lib/cjs/components/form/fixtures/comp1.d.ts +45 -0
- package/lib/cjs/components/form/fixtures/comp1.js +80 -0
- package/lib/cjs/components/form/fixtures/comp2.d.ts +14 -0
- package/lib/cjs/components/form/fixtures/comp2.js +15 -0
- package/lib/cjs/components/form/fixtures/comp3.d.ts +187 -0
- package/lib/cjs/components/form/fixtures/comp3.js +170 -0
- package/lib/cjs/components/form/fixtures/comp4.d.ts +107 -0
- package/lib/cjs/components/form/fixtures/comp4.js +91 -0
- package/lib/cjs/components/form/fixtures/comp5.d.ts +42 -0
- package/lib/cjs/components/form/fixtures/comp5.js +45 -0
- package/lib/cjs/components/form/fixtures/comp6.d.ts +74 -0
- package/lib/cjs/components/form/fixtures/comp6.js +94 -0
- package/lib/cjs/components/form/fixtures/formModalEdit.d.ts +42 -0
- package/lib/cjs/components/form/fixtures/formModalEdit.js +51 -0
- package/lib/cjs/components/form/fixtures/index.d.ts +8 -0
- package/lib/cjs/components/form/fixtures/index.js +20 -0
- package/lib/cjs/components/form/fixtures/values.d.ts +6 -0
- package/lib/cjs/components/form/fixtures/values.js +9 -0
- package/lib/cjs/components/hidden/Hidden.d.ts +25 -0
- package/lib/cjs/components/hidden/Hidden.form.d.ts +3 -0
- package/lib/cjs/components/hidden/Hidden.form.js +29 -0
- package/lib/cjs/components/hidden/Hidden.js +60 -0
- package/lib/cjs/components/hidden/editForm/Hidden.edit.data.d.ts +5 -0
- package/lib/cjs/components/hidden/editForm/Hidden.edit.data.js +16 -0
- package/lib/cjs/components/hidden/editForm/Hidden.edit.display.d.ts +5 -0
- package/lib/cjs/components/hidden/editForm/Hidden.edit.display.js +44 -0
- package/lib/cjs/components/hidden/fixtures/comp1.d.ts +18 -0
- package/lib/cjs/components/hidden/fixtures/comp1.js +18 -0
- package/lib/cjs/components/hidden/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/hidden/fixtures/index.js +8 -0
- package/lib/cjs/components/hidden/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/hidden/fixtures/values.js +6 -0
- package/lib/cjs/components/html/HTML.d.ts +16 -0
- package/lib/cjs/components/html/HTML.form.d.ts +3 -0
- package/lib/cjs/components/html/HTML.form.js +29 -0
- package/lib/cjs/components/html/HTML.js +89 -0
- package/lib/cjs/components/html/editForm/HTML.edit.display.d.ts +77 -0
- package/lib/cjs/components/html/editForm/HTML.edit.display.js +100 -0
- package/lib/cjs/components/html/editForm/HTML.edit.logic.d.ts +48 -0
- package/lib/cjs/components/html/editForm/HTML.edit.logic.js +100 -0
- package/lib/cjs/components/html/fixtures/comp1.d.ts +19 -0
- package/lib/cjs/components/html/fixtures/comp1.js +22 -0
- package/lib/cjs/components/html/fixtures/comp2.d.ts +21 -0
- package/lib/cjs/components/html/fixtures/comp2.js +24 -0
- package/lib/cjs/components/html/fixtures/index.d.ts +3 -0
- package/lib/cjs/components/html/fixtures/index.js +10 -0
- package/lib/cjs/components/index.d.ts +100 -0
- package/lib/cjs/components/index.js +104 -0
- package/lib/cjs/components/number/Number.d.ts +31 -0
- package/lib/cjs/components/number/Number.form.d.ts +3 -0
- package/lib/cjs/components/number/Number.form.js +26 -0
- package/lib/cjs/components/number/Number.js +192 -0
- package/lib/cjs/components/number/editForm/Number.edit.data.d.ts +18 -0
- package/lib/cjs/components/number/editForm/Number.edit.data.js +32 -0
- package/lib/cjs/components/number/editForm/Number.edit.display.d.ts +5 -0
- package/lib/cjs/components/number/editForm/Number.edit.display.js +24 -0
- package/lib/cjs/components/number/editForm/Number.edit.validation.d.ts +20 -0
- package/lib/cjs/components/number/editForm/Number.edit.validation.js +46 -0
- package/lib/cjs/components/number/fixtures/comp1.d.ts +33 -0
- package/lib/cjs/components/number/fixtures/comp1.js +32 -0
- package/lib/cjs/components/number/fixtures/comp2.d.ts +32 -0
- package/lib/cjs/components/number/fixtures/comp2.js +31 -0
- package/lib/cjs/components/number/fixtures/comp3.d.ts +14 -0
- package/lib/cjs/components/number/fixtures/comp3.js +15 -0
- package/lib/cjs/components/number/fixtures/comp4.d.ts +14 -0
- package/lib/cjs/components/number/fixtures/comp4.js +15 -0
- package/lib/cjs/components/number/fixtures/comp5.d.ts +20 -0
- package/lib/cjs/components/number/fixtures/comp5.js +20 -0
- package/lib/cjs/components/number/fixtures/comp6.d.ts +40 -0
- package/lib/cjs/components/number/fixtures/comp6.js +27 -0
- package/lib/cjs/components/number/fixtures/comp7.d.ts +15 -0
- package/lib/cjs/components/number/fixtures/comp7.js +16 -0
- package/lib/cjs/components/number/fixtures/index.d.ts +8 -0
- package/lib/cjs/components/number/fixtures/index.js +20 -0
- package/lib/cjs/components/number/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/number/fixtures/values.js +11 -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/Panel.form.js +21 -0
- package/lib/cjs/components/panel/Panel.js +59 -0
- package/lib/cjs/components/panel/editForm/Panel.edit.conditional.d.ts +75 -0
- package/lib/cjs/components/panel/editForm/Panel.edit.conditional.js +42 -0
- package/lib/cjs/components/panel/editForm/Panel.edit.display.d.ts +228 -0
- package/lib/cjs/components/panel/editForm/Panel.edit.display.js +213 -0
- package/lib/cjs/components/panel/fixtures/comp1.d.ts +46 -0
- package/lib/cjs/components/panel/fixtures/comp1.js +80 -0
- package/lib/cjs/components/panel/fixtures/comp2.d.ts +80 -0
- package/lib/cjs/components/panel/fixtures/comp2.js +69 -0
- package/lib/cjs/components/panel/fixtures/index.d.ts +3 -0
- package/lib/cjs/components/panel/fixtures/index.js +10 -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/Password.form.js +26 -0
- package/lib/cjs/components/password/Password.js +40 -0
- package/lib/cjs/components/password/editForm/Password.edit.data.d.ts +18 -0
- package/lib/cjs/components/password/editForm/Password.edit.data.js +48 -0
- package/lib/cjs/components/password/editForm/Password.edit.display.d.ts +5 -0
- package/lib/cjs/components/password/editForm/Password.edit.display.js +16 -0
- package/lib/cjs/components/password/editForm/Password.edit.validation.d.ts +5 -0
- package/lib/cjs/components/password/editForm/Password.edit.validation.js +16 -0
- package/lib/cjs/components/password/fixtures/comp1.d.ts +22 -0
- package/lib/cjs/components/password/fixtures/comp1.js +22 -0
- package/lib/cjs/components/password/fixtures/comp2.d.ts +27 -0
- package/lib/cjs/components/password/fixtures/comp2.js +29 -0
- package/lib/cjs/components/password/fixtures/index.d.ts +3 -0
- package/lib/cjs/components/password/fixtures/index.js +10 -0
- package/lib/cjs/components/password/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/password/fixtures/values.js +6 -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/PhoneNumber.form.js +29 -0
- package/lib/cjs/components/phonenumber/PhoneNumber.js +33 -0
- package/lib/cjs/components/phonenumber/editForm/PhoneNumber.edit.validation.d.ts +5 -0
- package/lib/cjs/components/phonenumber/editForm/PhoneNumber.edit.validation.js +24 -0
- package/lib/cjs/components/phonenumber/fixtures/comp1.d.ts +27 -0
- package/lib/cjs/components/phonenumber/fixtures/comp1.js +27 -0
- package/lib/cjs/components/phonenumber/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/phonenumber/fixtures/index.js +8 -0
- package/lib/cjs/components/phonenumber/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/phonenumber/fixtures/values.js +6 -0
- package/lib/cjs/components/radio/Radio.d.ts +44 -0
- package/lib/cjs/components/radio/Radio.form.d.ts +3 -0
- package/lib/cjs/components/radio/Radio.form.js +26 -0
- package/lib/cjs/components/radio/Radio.js +295 -0
- package/lib/cjs/components/radio/editForm/Radio.edit.data.d.ts +134 -0
- package/lib/cjs/components/radio/editForm/Radio.edit.data.js +85 -0
- package/lib/cjs/components/radio/editForm/Radio.edit.display.d.ts +40 -0
- package/lib/cjs/components/radio/editForm/Radio.edit.display.js +34 -0
- package/lib/cjs/components/radio/editForm/Radio.edit.validation.d.ts +18 -0
- package/lib/cjs/components/radio/editForm/Radio.edit.validation.js +20 -0
- package/lib/cjs/components/radio/fixtures/comp1.d.ts +28 -0
- package/lib/cjs/components/radio/fixtures/comp1.js +42 -0
- package/lib/cjs/components/radio/fixtures/comp2.d.ts +85 -0
- package/lib/cjs/components/radio/fixtures/comp2.js +86 -0
- package/lib/cjs/components/radio/fixtures/comp3.d.ts +85 -0
- package/lib/cjs/components/radio/fixtures/comp3.js +90 -0
- package/lib/cjs/components/radio/fixtures/comp4.d.ts +19 -0
- package/lib/cjs/components/radio/fixtures/comp4.js +27 -0
- package/lib/cjs/components/radio/fixtures/comp5.d.ts +39 -0
- package/lib/cjs/components/radio/fixtures/comp5.js +35 -0
- package/lib/cjs/components/radio/fixtures/comp6.d.ts +38 -0
- package/lib/cjs/components/radio/fixtures/comp6.js +33 -0
- package/lib/cjs/components/radio/fixtures/comp7.d.ts +23 -0
- package/lib/cjs/components/radio/fixtures/comp7.js +21 -0
- package/lib/cjs/components/radio/fixtures/comp8.d.ts +118 -0
- package/lib/cjs/components/radio/fixtures/comp8.js +113 -0
- package/lib/cjs/components/radio/fixtures/comp9.d.ts +35 -0
- package/lib/cjs/components/radio/fixtures/comp9.js +32 -0
- package/lib/cjs/components/radio/fixtures/index.d.ts +10 -0
- package/lib/cjs/components/radio/fixtures/index.js +24 -0
- package/lib/cjs/components/radio/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/radio/fixtures/values.js +7 -0
- package/lib/cjs/components/recaptcha/ReCaptcha.d.ts +22 -0
- package/lib/cjs/components/recaptcha/ReCaptcha.form.d.ts +3 -0
- package/lib/cjs/components/recaptcha/ReCaptcha.form.js +32 -0
- package/lib/cjs/components/recaptcha/ReCaptcha.js +140 -0
- package/lib/cjs/components/recaptcha/editForm/ReCaptcha.edit.display.d.ts +44 -0
- package/lib/cjs/components/recaptcha/editForm/ReCaptcha.edit.display.js +108 -0
- package/lib/cjs/components/recaptcha/fixtures/comp1.d.ts +8 -0
- package/lib/cjs/components/recaptcha/fixtures/comp1.js +9 -0
- package/lib/cjs/components/recaptcha/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/recaptcha/fixtures/index.js +8 -0
- package/lib/cjs/components/resource/Resource.d.ts +3 -0
- package/lib/cjs/components/resource/Resource.form.d.ts +3 -0
- package/lib/cjs/components/resource/Resource.form.js +16 -0
- package/lib/cjs/components/resource/Resource.js +40 -0
- package/lib/cjs/components/resource/editForm/Resource.edit.display.d.ts +173 -0
- package/lib/cjs/components/resource/editForm/Resource.edit.display.js +102 -0
- package/lib/cjs/components/resource/fixtures/comp1.d.ts +30 -0
- package/lib/cjs/components/resource/fixtures/comp1.js +30 -0
- package/lib/cjs/components/resource/fixtures/comp2.d.ts +35 -0
- package/lib/cjs/components/resource/fixtures/comp2.js +31 -0
- package/lib/cjs/components/resource/fixtures/index.d.ts +3 -0
- package/lib/cjs/components/resource/fixtures/index.js +10 -0
- package/lib/cjs/components/select/Select.d.ts +122 -0
- package/lib/cjs/components/select/Select.form.d.ts +3 -0
- package/lib/cjs/components/select/Select.form.js +26 -0
- package/lib/cjs/components/select/Select.js +1463 -0
- package/lib/cjs/components/select/editForm/Select.edit.data.d.ts +1039 -0
- package/lib/cjs/components/select/editForm/Select.edit.data.js +629 -0
- package/lib/cjs/components/select/editForm/Select.edit.display.d.ts +27 -0
- package/lib/cjs/components/select/editForm/Select.edit.display.js +28 -0
- package/lib/cjs/components/select/editForm/Select.edit.validation.d.ts +30 -0
- package/lib/cjs/components/select/editForm/Select.edit.validation.js +35 -0
- package/lib/cjs/components/select/fixtures/comp1.d.ts +40 -0
- package/lib/cjs/components/select/fixtures/comp1.js +66 -0
- package/lib/cjs/components/select/fixtures/comp10.d.ts +41 -0
- package/lib/cjs/components/select/fixtures/comp10.js +32 -0
- package/lib/cjs/components/select/fixtures/comp11.d.ts +28 -0
- package/lib/cjs/components/select/fixtures/comp11.js +24 -0
- package/lib/cjs/components/select/fixtures/comp12.d.ts +53 -0
- package/lib/cjs/components/select/fixtures/comp12.js +29 -0
- package/lib/cjs/components/select/fixtures/comp13.d.ts +28 -0
- package/lib/cjs/components/select/fixtures/comp13.js +31 -0
- package/lib/cjs/components/select/fixtures/comp14.d.ts +40 -0
- package/lib/cjs/components/select/fixtures/comp14.js +27 -0
- package/lib/cjs/components/select/fixtures/comp15.d.ts +50 -0
- package/lib/cjs/components/select/fixtures/comp15.js +41 -0
- package/lib/cjs/components/select/fixtures/comp16.d.ts +34 -0
- package/lib/cjs/components/select/fixtures/comp16.js +33 -0
- package/lib/cjs/components/select/fixtures/comp17.d.ts +51 -0
- package/lib/cjs/components/select/fixtures/comp17.js +43 -0
- package/lib/cjs/components/select/fixtures/comp18.d.ts +49 -0
- package/lib/cjs/components/select/fixtures/comp18.js +42 -0
- package/lib/cjs/components/select/fixtures/comp2.d.ts +41 -0
- package/lib/cjs/components/select/fixtures/comp2.js +67 -0
- package/lib/cjs/components/select/fixtures/comp3.d.ts +35 -0
- package/lib/cjs/components/select/fixtures/comp3.js +209 -0
- package/lib/cjs/components/select/fixtures/comp4.d.ts +103 -0
- package/lib/cjs/components/select/fixtures/comp4.js +106 -0
- package/lib/cjs/components/select/fixtures/comp5.d.ts +21 -0
- package/lib/cjs/components/select/fixtures/comp5.js +28 -0
- package/lib/cjs/components/select/fixtures/comp6.d.ts +20 -0
- package/lib/cjs/components/select/fixtures/comp6.js +30 -0
- package/lib/cjs/components/select/fixtures/comp7.d.ts +63 -0
- package/lib/cjs/components/select/fixtures/comp7.js +46 -0
- package/lib/cjs/components/select/fixtures/comp8.d.ts +72 -0
- package/lib/cjs/components/select/fixtures/comp8.js +37 -0
- package/lib/cjs/components/select/fixtures/comp9.d.ts +88 -0
- package/lib/cjs/components/select/fixtures/comp9.js +67 -0
- package/lib/cjs/components/select/fixtures/index.d.ts +19 -0
- package/lib/cjs/components/select/fixtures/index.js +43 -0
- package/lib/cjs/components/select/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/select/fixtures/values.js +7 -0
- package/lib/cjs/components/selectboxes/SelectBoxes.d.ts +15 -0
- package/lib/cjs/components/selectboxes/SelectBoxes.form.d.ts +3 -0
- package/lib/cjs/components/selectboxes/SelectBoxes.form.js +25 -0
- package/lib/cjs/components/selectboxes/SelectBoxes.js +214 -0
- package/lib/cjs/components/selectboxes/editForm/SelectBoxes.edit.validation.d.ts +9 -0
- package/lib/cjs/components/selectboxes/editForm/SelectBoxes.edit.validation.js +36 -0
- package/lib/cjs/components/selectboxes/fixtures/comp1.d.ts +24 -0
- package/lib/cjs/components/selectboxes/fixtures/comp1.js +54 -0
- package/lib/cjs/components/selectboxes/fixtures/comp2.d.ts +24 -0
- package/lib/cjs/components/selectboxes/fixtures/comp2.js +54 -0
- package/lib/cjs/components/selectboxes/fixtures/comp3.d.ts +23 -0
- package/lib/cjs/components/selectboxes/fixtures/comp3.js +21 -0
- package/lib/cjs/components/selectboxes/fixtures/comp4.d.ts +63 -0
- package/lib/cjs/components/selectboxes/fixtures/comp4.js +66 -0
- package/lib/cjs/components/selectboxes/fixtures/comp5.d.ts +37 -0
- package/lib/cjs/components/selectboxes/fixtures/comp5.js +33 -0
- package/lib/cjs/components/selectboxes/fixtures/index.d.ts +6 -0
- package/lib/cjs/components/selectboxes/fixtures/index.js +16 -0
- package/lib/cjs/components/selectboxes/fixtures/values.d.ts +6 -0
- package/lib/cjs/components/selectboxes/fixtures/values.js +24 -0
- package/lib/cjs/components/signature/Signature.d.ts +26 -0
- package/lib/cjs/components/signature/Signature.form.d.ts +3 -0
- package/lib/cjs/components/signature/Signature.form.js +26 -0
- package/lib/cjs/components/signature/Signature.js +247 -0
- package/lib/cjs/components/signature/editForm/Signature.edit.data.d.ts +5 -0
- package/lib/cjs/components/signature/editForm/Signature.edit.data.js +16 -0
- package/lib/cjs/components/signature/editForm/Signature.edit.display.d.ts +51 -0
- package/lib/cjs/components/signature/editForm/Signature.edit.display.js +71 -0
- package/lib/cjs/components/signature/editForm/Signature.edit.validation.d.ts +5 -0
- package/lib/cjs/components/signature/editForm/Signature.edit.validation.js +12 -0
- package/lib/cjs/components/signature/fixtures/comp1.d.ts +30 -0
- package/lib/cjs/components/signature/fixtures/comp1.js +30 -0
- package/lib/cjs/components/signature/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/signature/fixtures/index.js +8 -0
- package/lib/cjs/components/signature/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/signature/fixtures/values.js +7 -0
- package/lib/cjs/components/survey/Survey.d.ts +16 -0
- package/lib/cjs/components/survey/Survey.form.d.ts +3 -0
- package/lib/cjs/components/survey/Survey.form.js +26 -0
- package/lib/cjs/components/survey/Survey.js +147 -0
- package/lib/cjs/components/survey/editForm/Survey.edit.data.d.ts +44 -0
- package/lib/cjs/components/survey/editForm/Survey.edit.data.js +72 -0
- package/lib/cjs/components/survey/editForm/Survey.edit.display.d.ts +5 -0
- package/lib/cjs/components/survey/editForm/Survey.edit.display.js +8 -0
- package/lib/cjs/components/survey/editForm/Survey.edit.validation.d.ts +5 -0
- package/lib/cjs/components/survey/editForm/Survey.edit.validation.js +8 -0
- package/lib/cjs/components/survey/fixtures/comp1.d.ts +31 -0
- package/lib/cjs/components/survey/fixtures/comp1.js +55 -0
- package/lib/cjs/components/survey/fixtures/comp2.d.ts +31 -0
- package/lib/cjs/components/survey/fixtures/comp2.js +55 -0
- package/lib/cjs/components/survey/fixtures/index.d.ts +3 -0
- package/lib/cjs/components/survey/fixtures/index.js +10 -0
- package/lib/cjs/components/survey/fixtures/values.d.ts +5 -0
- package/lib/cjs/components/survey/fixtures/values.js +12 -0
- package/lib/cjs/components/table/Table.d.ts +21 -0
- package/lib/cjs/components/table/Table.form.d.ts +3 -0
- package/lib/cjs/components/table/Table.form.js +16 -0
- package/lib/cjs/components/table/Table.js +171 -0
- package/lib/cjs/components/table/editForm/Table.edit.display.d.ts +55 -0
- package/lib/cjs/components/table/editForm/Table.edit.display.js +111 -0
- package/lib/cjs/components/table/fixtures/comp1.d.ts +53 -0
- package/lib/cjs/components/table/fixtures/comp1.js +237 -0
- package/lib/cjs/components/table/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/table/fixtures/index.js +8 -0
- package/lib/cjs/components/tabs/Tabs.d.ts +28 -0
- package/lib/cjs/components/tabs/Tabs.form.d.ts +3 -0
- package/lib/cjs/components/tabs/Tabs.form.js +16 -0
- package/lib/cjs/components/tabs/Tabs.js +203 -0
- package/lib/cjs/components/tabs/editForm/Tabs.edit.display.d.ts +49 -0
- package/lib/cjs/components/tabs/editForm/Tabs.edit.display.js +68 -0
- package/lib/cjs/components/tabs/fixtures/comp1.d.ts +23 -0
- package/lib/cjs/components/tabs/fixtures/comp1.js +33 -0
- package/lib/cjs/components/tabs/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/tabs/fixtures/index.js +8 -0
- package/lib/cjs/components/tags/Tags.d.ts +19 -0
- package/lib/cjs/components/tags/Tags.form.d.ts +3 -0
- package/lib/cjs/components/tags/Tags.form.js +16 -0
- package/lib/cjs/components/tags/Tags.js +164 -0
- package/lib/cjs/components/tags/editForm/Tags.edit.data.d.ts +51 -0
- package/lib/cjs/components/tags/editForm/Tags.edit.data.js +39 -0
- package/lib/cjs/components/tags/fixtures/comp1.d.ts +20 -0
- package/lib/cjs/components/tags/fixtures/comp1.js +20 -0
- package/lib/cjs/components/tags/fixtures/comp2.d.ts +10 -0
- package/lib/cjs/components/tags/fixtures/comp2.js +11 -0
- package/lib/cjs/components/tags/fixtures/comp3.d.ts +23 -0
- package/lib/cjs/components/tags/fixtures/comp3.js +20 -0
- package/lib/cjs/components/tags/fixtures/comp4.d.ts +9 -0
- package/lib/cjs/components/tags/fixtures/comp4.js +10 -0
- package/lib/cjs/components/tags/fixtures/comp5.d.ts +24 -0
- package/lib/cjs/components/tags/fixtures/comp5.js +24 -0
- package/lib/cjs/components/tags/fixtures/index.d.ts +6 -0
- package/lib/cjs/components/tags/fixtures/index.js +16 -0
- package/lib/cjs/components/tags/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/tags/fixtures/values.js +6 -0
- package/lib/cjs/components/textarea/TextArea.d.ts +36 -0
- package/lib/cjs/components/textarea/TextArea.form.d.ts +3 -0
- package/lib/cjs/components/textarea/TextArea.form.js +21 -0
- package/lib/cjs/components/textarea/TextArea.js +538 -0
- package/lib/cjs/components/textarea/editForm/TextArea.edit.display.d.ts +355 -0
- package/lib/cjs/components/textarea/editForm/TextArea.edit.display.js +263 -0
- package/lib/cjs/components/textarea/editForm/TextArea.edit.validation.d.ts +10 -0
- package/lib/cjs/components/textarea/editForm/TextArea.edit.validation.js +22 -0
- package/lib/cjs/components/textarea/fixtures/comp1.d.ts +31 -0
- package/lib/cjs/components/textarea/fixtures/comp1.js +31 -0
- package/lib/cjs/components/textarea/fixtures/comp2.d.ts +29 -0
- package/lib/cjs/components/textarea/fixtures/comp2.js +29 -0
- package/lib/cjs/components/textarea/fixtures/comp3.d.ts +27 -0
- package/lib/cjs/components/textarea/fixtures/comp3.js +29 -0
- package/lib/cjs/components/textarea/fixtures/index.d.ts +4 -0
- package/lib/cjs/components/textarea/fixtures/index.js +12 -0
- package/lib/cjs/components/textarea/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/textarea/fixtures/values.js +6 -0
- package/lib/cjs/components/textfield/TextField.d.ts +38 -0
- package/lib/cjs/components/textfield/TextField.form.d.ts +3 -0
- package/lib/cjs/components/textfield/TextField.form.js +26 -0
- package/lib/cjs/components/textfield/TextField.js +243 -0
- package/lib/cjs/components/textfield/editForm/TextField.edit.data.d.ts +46 -0
- package/lib/cjs/components/textfield/editForm/TextField.edit.data.js +58 -0
- package/lib/cjs/components/textfield/editForm/TextField.edit.display.d.ts +248 -0
- package/lib/cjs/components/textfield/editForm/TextField.edit.display.js +208 -0
- package/lib/cjs/components/textfield/editForm/TextField.edit.validation.d.ts +10 -0
- package/lib/cjs/components/textfield/editForm/TextField.edit.validation.js +49 -0
- package/lib/cjs/components/textfield/fixtures/comp-with-display-and-value-masks.d.ts +47 -0
- package/lib/cjs/components/textfield/fixtures/comp-with-display-and-value-masks.js +48 -0
- package/lib/cjs/components/textfield/fixtures/comp1.d.ts +33 -0
- package/lib/cjs/components/textfield/fixtures/comp1.js +33 -0
- package/lib/cjs/components/textfield/fixtures/comp2.d.ts +33 -0
- package/lib/cjs/components/textfield/fixtures/comp2.js +33 -0
- package/lib/cjs/components/textfield/fixtures/comp3.d.ts +33 -0
- package/lib/cjs/components/textfield/fixtures/comp3.js +33 -0
- package/lib/cjs/components/textfield/fixtures/comp4.d.ts +23 -0
- package/lib/cjs/components/textfield/fixtures/comp4.js +27 -0
- package/lib/cjs/components/textfield/fixtures/comp5.d.ts +12 -0
- package/lib/cjs/components/textfield/fixtures/comp5.js +13 -0
- package/lib/cjs/components/textfield/fixtures/comp6.d.ts +25 -0
- package/lib/cjs/components/textfield/fixtures/comp6.js +21 -0
- package/lib/cjs/components/textfield/fixtures/comp7.d.ts +37 -0
- package/lib/cjs/components/textfield/fixtures/comp7.js +38 -0
- package/lib/cjs/components/textfield/fixtures/index.d.ts +9 -0
- package/lib/cjs/components/textfield/fixtures/index.js +22 -0
- package/lib/cjs/components/textfield/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/textfield/fixtures/values.js +7 -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/Time.form.js +21 -0
- package/lib/cjs/components/time/Time.js +148 -0
- package/lib/cjs/components/time/editForm/Time.edit.data.d.ts +10 -0
- package/lib/cjs/components/time/editForm/Time.edit.data.js +13 -0
- package/lib/cjs/components/time/editForm/Time.edit.display.d.ts +52 -0
- package/lib/cjs/components/time/editForm/Time.edit.display.js +42 -0
- package/lib/cjs/components/time/fixtures/comp1.d.ts +24 -0
- package/lib/cjs/components/time/fixtures/comp1.js +24 -0
- package/lib/cjs/components/time/fixtures/comp2.d.ts +10 -0
- package/lib/cjs/components/time/fixtures/comp2.js +11 -0
- package/lib/cjs/components/time/fixtures/comp3.d.ts +15 -0
- package/lib/cjs/components/time/fixtures/comp3.js +18 -0
- package/lib/cjs/components/time/fixtures/index.d.ts +6 -0
- package/lib/cjs/components/time/fixtures/index.js +16 -0
- package/lib/cjs/components/time/fixtures/timeForm.d.ts +47 -0
- package/lib/cjs/components/time/fixtures/timeForm.js +52 -0
- package/lib/cjs/components/time/fixtures/timeForm2.d.ts +38 -0
- package/lib/cjs/components/time/fixtures/timeForm2.js +44 -0
- package/lib/cjs/components/time/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/time/fixtures/values.js +7 -0
- package/lib/cjs/components/tree/Node.d.ts +55 -0
- package/lib/cjs/components/tree/Node.js +185 -0
- package/lib/cjs/components/tree/Tree.d.ts +47 -0
- package/lib/cjs/components/tree/Tree.form.d.ts +3 -0
- package/lib/cjs/components/tree/Tree.form.js +16 -0
- package/lib/cjs/components/tree/Tree.js +384 -0
- package/lib/cjs/components/tree/editForm/Tree.edit.data.d.ts +5 -0
- package/lib/cjs/components/tree/editForm/Tree.edit.data.js +9 -0
- package/lib/cjs/components/tree/fixtures/comp1.d.ts +23 -0
- package/lib/cjs/components/tree/fixtures/comp1.js +24 -0
- package/lib/cjs/components/tree/fixtures/comp2.d.ts +116 -0
- package/lib/cjs/components/tree/fixtures/comp2.js +82 -0
- package/lib/cjs/components/tree/fixtures/comp3.d.ts +24 -0
- package/lib/cjs/components/tree/fixtures/comp3.js +25 -0
- package/lib/cjs/components/tree/fixtures/comp4.d.ts +42 -0
- package/lib/cjs/components/tree/fixtures/comp4.js +47 -0
- package/lib/cjs/components/tree/fixtures/index.d.ts +5 -0
- package/lib/cjs/components/tree/fixtures/index.js +14 -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/Unknown.form.js +25 -0
- package/lib/cjs/components/unknown/Unknown.js +30 -0
- package/lib/cjs/components/unknown/editForm/Unknown.edit.display.d.ts +24 -0
- package/lib/cjs/components/unknown/editForm/Unknown.edit.display.js +27 -0
- package/lib/cjs/components/unknown/fixtures/comp1.d.ts +7 -0
- package/lib/cjs/components/unknown/fixtures/comp1.js +8 -0
- package/lib/cjs/components/unknown/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/unknown/fixtures/index.js +8 -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/Url.form.js +26 -0
- package/lib/cjs/components/url/Url.js +39 -0
- package/lib/cjs/components/url/editForm/Url.edit.data.d.ts +5 -0
- package/lib/cjs/components/url/editForm/Url.edit.data.js +8 -0
- package/lib/cjs/components/url/editForm/Url.edit.display.d.ts +5 -0
- package/lib/cjs/components/url/editForm/Url.edit.display.js +20 -0
- package/lib/cjs/components/url/editForm/Url.edit.validation.d.ts +5 -0
- package/lib/cjs/components/url/editForm/Url.edit.validation.js +12 -0
- package/lib/cjs/components/url/fixtures/comp1.d.ts +26 -0
- package/lib/cjs/components/url/fixtures/comp1.js +26 -0
- package/lib/cjs/components/url/fixtures/comp2.d.ts +26 -0
- package/lib/cjs/components/url/fixtures/comp2.js +23 -0
- package/lib/cjs/components/url/fixtures/index.d.ts +3 -0
- package/lib/cjs/components/url/fixtures/index.js +10 -0
- package/lib/cjs/components/url/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/url/fixtures/values.js +6 -0
- package/lib/cjs/components/well/Well.d.ts +13 -0
- package/lib/cjs/components/well/Well.form.d.ts +3 -0
- package/lib/cjs/components/well/Well.form.js +16 -0
- package/lib/cjs/components/well/Well.js +41 -0
- package/lib/cjs/components/well/editForm/Well.edit.display.d.ts +5 -0
- package/lib/cjs/components/well/editForm/Well.edit.display.js +32 -0
- package/lib/cjs/components/well/fixtures/comp1.d.ts +43 -0
- package/lib/cjs/components/well/fixtures/comp1.js +77 -0
- package/lib/cjs/components/well/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/well/fixtures/index.js +8 -0
- package/lib/cjs/displays/Displays.d.ts +18 -0
- package/lib/cjs/displays/Displays.js +29 -0
- package/lib/cjs/displays/index.d.ts +2 -0
- package/lib/cjs/displays/index.js +7 -0
- package/lib/cjs/formio.embed.d.ts +1 -0
- package/lib/cjs/formio.embed.js +4 -0
- package/lib/cjs/formio.form.d.ts +22 -0
- package/lib/cjs/formio.form.js +158 -0
- package/lib/cjs/i18n.d.ts +13 -0
- package/lib/cjs/i18n.js +19 -0
- package/lib/cjs/index.d.ts +4 -0
- package/lib/cjs/index.js +34 -0
- package/lib/cjs/package.json +3 -0
- package/lib/cjs/pdf.image.d.ts +2 -0
- package/lib/cjs/pdf.image.js +94 -0
- package/lib/cjs/polyfills/ElementPolyfill.d.ts +0 -0
- package/lib/cjs/polyfills/ElementPolyfill.js +338 -0
- package/lib/cjs/polyfills/index.d.ts +1 -0
- package/lib/cjs/polyfills/index.js +4 -0
- package/lib/cjs/providers/Providers.d.ts +64 -0
- package/lib/cjs/providers/Providers.js +34 -0
- package/lib/cjs/providers/address/AddressProvider.d.ts +17 -0
- package/lib/cjs/providers/address/AddressProvider.js +61 -0
- package/lib/cjs/providers/address/AzureAddressProvider.d.ts +12 -0
- package/lib/cjs/providers/address/AzureAddressProvider.js +31 -0
- package/lib/cjs/providers/address/CustomAddressProvider.d.ts +7 -0
- package/lib/cjs/providers/address/CustomAddressProvider.js +26 -0
- package/lib/cjs/providers/address/GoogleAddressProvider.d.ts +18 -0
- package/lib/cjs/providers/address/GoogleAddressProvider.js +118 -0
- package/lib/cjs/providers/address/NominatimAddressProvider.d.ts +11 -0
- package/lib/cjs/providers/address/NominatimAddressProvider.js +31 -0
- package/lib/cjs/providers/address/index.d.ts +6 -0
- package/lib/cjs/providers/address/index.js +12 -0
- package/lib/cjs/providers/auth/index.d.ts +2 -0
- package/lib/cjs/providers/auth/index.js +3 -0
- package/lib/cjs/providers/index.d.ts +2 -0
- package/lib/cjs/providers/index.js +7 -0
- package/lib/cjs/providers/processor/fileProcessor.d.ts +2 -0
- package/lib/cjs/providers/processor/fileProcessor.js +44 -0
- package/lib/cjs/providers/storage/azure.d.ts +8 -0
- package/lib/cjs/providers/storage/azure.js +30 -0
- package/lib/cjs/providers/storage/base64.d.ts +10 -0
- package/lib/cjs/providers/storage/base64.js +35 -0
- package/lib/cjs/providers/storage/dropbox.d.ts +8 -0
- package/lib/cjs/providers/storage/dropbox.js +61 -0
- package/lib/cjs/providers/storage/googleDrive.d.ts +8 -0
- package/lib/cjs/providers/storage/googleDrive.js +60 -0
- package/lib/cjs/providers/storage/index.d.ts +15 -0
- package/lib/cjs/providers/storage/index.js +19 -0
- package/lib/cjs/providers/storage/indexeddb.d.ts +11 -0
- package/lib/cjs/providers/storage/indexeddb.js +124 -0
- package/lib/cjs/providers/storage/s3.d.ts +8 -0
- package/lib/cjs/providers/storage/s3.js +50 -0
- package/lib/cjs/providers/storage/uploadAdapter.d.ts +1 -0
- package/lib/cjs/providers/storage/uploadAdapter.js +61 -0
- package/lib/cjs/providers/storage/url.d.ts +11 -0
- package/lib/cjs/providers/storage/url.js +138 -0
- package/lib/cjs/providers/storage/xhr.d.ts +7 -0
- package/lib/cjs/providers/storage/xhr.js +101 -0
- package/lib/cjs/templates/Templates.d.ts +11 -0
- package/lib/cjs/templates/Templates.js +47 -0
- package/lib/cjs/templates/index.d.ts +4 -0
- package/lib/cjs/templates/index.js +9 -0
- package/lib/cjs/translations/en.d.ts +66 -0
- package/lib/cjs/translations/en.js +67 -0
- package/lib/cjs/utils/ChoicesWrapper.d.ts +37 -0
- package/lib/cjs/utils/ChoicesWrapper.js +175 -0
- package/lib/cjs/utils/Evaluator.d.ts +4 -0
- package/lib/cjs/utils/Evaluator.js +98 -0
- package/lib/cjs/utils/builder.d.ts +22 -0
- package/lib/cjs/utils/builder.js +84 -0
- package/lib/cjs/utils/calendarUtils.d.ts +41 -0
- package/lib/cjs/utils/calendarUtils.js +136 -0
- package/lib/cjs/utils/conditionOperators/ConditionOperator.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/ConditionOperator.js +29 -0
- package/lib/cjs/utils/conditionOperators/DateGreaterThan.d.ts +13 -0
- package/lib/cjs/utils/conditionOperators/DateGreaterThan.js +37 -0
- package/lib/cjs/utils/conditionOperators/DateGreaterThanOrEqual.d.ts +4 -0
- package/lib/cjs/utils/conditionOperators/DateGreaterThanOrEqual.js +18 -0
- package/lib/cjs/utils/conditionOperators/DateLessThan.d.ts +4 -0
- package/lib/cjs/utils/conditionOperators/DateLessThan.js +18 -0
- package/lib/cjs/utils/conditionOperators/DateLessThanOrEqual.d.ts +4 -0
- package/lib/cjs/utils/conditionOperators/DateLessThanOrEqual.js +18 -0
- package/lib/cjs/utils/conditionOperators/EndsWith.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/EndsWith.js +19 -0
- package/lib/cjs/utils/conditionOperators/GreaterThan.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/GreaterThan.js +19 -0
- package/lib/cjs/utils/conditionOperators/GreaterThanOrEqual.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/GreaterThanOrEqual.js +19 -0
- package/lib/cjs/utils/conditionOperators/Includes.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/Includes.js +19 -0
- package/lib/cjs/utils/conditionOperators/IsDateEqual.d.ts +4 -0
- package/lib/cjs/utils/conditionOperators/IsDateEqual.js +18 -0
- package/lib/cjs/utils/conditionOperators/IsEmptyValue.d.ts +9 -0
- package/lib/cjs/utils/conditionOperators/IsEmptyValue.js +30 -0
- package/lib/cjs/utils/conditionOperators/IsEqualTo.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/IsEqualTo.js +30 -0
- package/lib/cjs/utils/conditionOperators/IsNotDateEqual.d.ts +4 -0
- package/lib/cjs/utils/conditionOperators/IsNotDateEqual.js +18 -0
- package/lib/cjs/utils/conditionOperators/IsNotEmptyValue.d.ts +4 -0
- package/lib/cjs/utils/conditionOperators/IsNotEmptyValue.js +18 -0
- package/lib/cjs/utils/conditionOperators/IsNotEqualTo.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/IsNotEqualTo.js +19 -0
- package/lib/cjs/utils/conditionOperators/LessThan.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/LessThan.js +19 -0
- package/lib/cjs/utils/conditionOperators/LessThanOrEqual.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/LessThanOrEqual.js +19 -0
- package/lib/cjs/utils/conditionOperators/NotIncludes.d.ts +4 -0
- package/lib/cjs/utils/conditionOperators/NotIncludes.js +18 -0
- package/lib/cjs/utils/conditionOperators/StartsWith.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/StartsWith.js +19 -0
- package/lib/cjs/utils/conditionOperators/index.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/index.js +44 -0
- package/lib/cjs/utils/formUtils.d.ts +173 -0
- package/lib/cjs/utils/formUtils.js +583 -0
- package/lib/cjs/utils/index.d.ts +2 -0
- package/lib/cjs/utils/index.js +30 -0
- package/lib/cjs/utils/jsonlogic/operators.d.ts +1 -0
- package/lib/cjs/utils/jsonlogic/operators.js +265 -0
- package/lib/cjs/utils/utils.d.ts +364 -0
- package/lib/cjs/utils/utils.js +1468 -0
- package/lib/cjs/validator/Rules.d.ts +8 -0
- package/lib/cjs/validator/Rules.js +22 -0
- package/lib/cjs/validator/Validator.d.ts +200 -0
- package/lib/cjs/validator/Validator.js +1090 -0
- package/lib/cjs/validator/conjunctions/index.d.ts +7 -0
- package/lib/cjs/validator/conjunctions/index.js +18 -0
- package/lib/cjs/validator/operators/index.d.ts +7 -0
- package/lib/cjs/validator/operators/index.js +18 -0
- package/lib/cjs/validator/quickRules/index.d.ts +7 -0
- package/lib/cjs/validator/quickRules/index.js +18 -0
- package/lib/cjs/validator/rules/Custom.d.ts +6 -0
- package/lib/cjs/validator/rules/Custom.js +25 -0
- package/lib/cjs/validator/rules/Date.d.ts +6 -0
- package/lib/cjs/validator/rules/Date.js +20 -0
- package/lib/cjs/validator/rules/Day.d.ts +6 -0
- package/lib/cjs/validator/rules/Day.js +53 -0
- package/lib/cjs/validator/rules/Email.d.ts +6 -0
- package/lib/cjs/validator/rules/Email.js +19 -0
- package/lib/cjs/validator/rules/JSON.d.ts +6 -0
- package/lib/cjs/validator/rules/JSON.js +24 -0
- package/lib/cjs/validator/rules/Mask.d.ts +1 -0
- package/lib/cjs/validator/rules/Mask.js +28 -0
- package/lib/cjs/validator/rules/Max.d.ts +6 -0
- package/lib/cjs/validator/rules/Max.js +16 -0
- package/lib/cjs/validator/rules/MaxDate.d.ts +1 -0
- package/lib/cjs/validator/rules/MaxDate.js +33 -0
- package/lib/cjs/validator/rules/MaxLength.d.ts +6 -0
- package/lib/cjs/validator/rules/MaxLength.js +15 -0
- package/lib/cjs/validator/rules/MaxWords.d.ts +6 -0
- package/lib/cjs/validator/rules/MaxWords.js +15 -0
- package/lib/cjs/validator/rules/MaxYear.d.ts +6 -0
- package/lib/cjs/validator/rules/MaxYear.js +17 -0
- package/lib/cjs/validator/rules/Min.d.ts +6 -0
- package/lib/cjs/validator/rules/Min.js +16 -0
- package/lib/cjs/validator/rules/MinDate.d.ts +1 -0
- package/lib/cjs/validator/rules/MinDate.js +29 -0
- package/lib/cjs/validator/rules/MinLength.d.ts +6 -0
- package/lib/cjs/validator/rules/MinLength.js +15 -0
- package/lib/cjs/validator/rules/MinWords.d.ts +6 -0
- package/lib/cjs/validator/rules/MinWords.js +15 -0
- package/lib/cjs/validator/rules/MinYear.d.ts +6 -0
- package/lib/cjs/validator/rules/MinYear.js +17 -0
- package/lib/cjs/validator/rules/Pattern.d.ts +6 -0
- package/lib/cjs/validator/rules/Pattern.js +15 -0
- package/lib/cjs/validator/rules/Required.d.ts +6 -0
- package/lib/cjs/validator/rules/Required.js +12 -0
- package/lib/cjs/validator/rules/Rule.d.ts +8 -0
- package/lib/cjs/validator/rules/Rule.js +10 -0
- package/lib/cjs/validator/rules/Select.d.ts +1 -0
- package/lib/cjs/validator/rules/Select.js +95 -0
- package/lib/cjs/validator/rules/Time.d.ts +1 -0
- package/lib/cjs/validator/rules/Time.js +18 -0
- package/lib/cjs/validator/rules/Unique.d.ts +1 -0
- package/lib/cjs/validator/rules/Unique.js +69 -0
- package/lib/cjs/validator/rules/Url.d.ts +6 -0
- package/lib/cjs/validator/rules/Url.js +18 -0
- package/lib/cjs/validator/rules/index.d.ts +23 -0
- package/lib/cjs/validator/rules/index.js +47 -0
- package/lib/cjs/validator/transformers/index.d.ts +7 -0
- package/lib/cjs/validator/transformers/index.js +18 -0
- package/lib/cjs/validator/valueSources/index.d.ts +7 -0
- package/lib/cjs/validator/valueSources/index.js +18 -0
- package/lib/cjs/widgets/CalendarWidget.d.ts +96 -0
- package/lib/cjs/widgets/CalendarWidget.js +468 -0
- package/lib/cjs/widgets/InputWidget.d.ts +24 -0
- package/lib/cjs/widgets/InputWidget.js +75 -0
- package/lib/cjs/widgets/index.d.ts +7 -0
- package/lib/cjs/widgets/index.js +11 -0
- package/lib/mjs/CDN.d.ts +28 -0
- package/lib/mjs/CDN.js +74 -0
- package/lib/mjs/Element.d.ts +255 -0
- package/lib/mjs/Element.js +562 -0
- package/lib/mjs/Embed.d.ts +1 -0
- package/lib/mjs/Embed.js +348 -0
- package/lib/mjs/EventEmitter.d.ts +7 -0
- package/lib/mjs/EventEmitter.js +26 -0
- package/lib/mjs/Form.d.ts +90 -0
- package/lib/mjs/Form.js +308 -0
- package/lib/mjs/FormBuilder.d.ts +6 -0
- package/lib/mjs/FormBuilder.js +34 -0
- package/lib/mjs/Formio.d.ts +2 -0
- package/lib/mjs/Formio.js +89 -0
- package/lib/mjs/PDF.d.ts +32 -0
- package/lib/mjs/PDF.js +285 -0
- package/lib/mjs/PDFBuilder.d.ts +55 -0
- package/lib/mjs/PDFBuilder.js +474 -0
- package/lib/mjs/Webform.d.ts +408 -0
- package/lib/mjs/Webform.js +1513 -0
- package/lib/mjs/WebformBuilder.d.ts +120 -0
- package/lib/mjs/WebformBuilder.js +1537 -0
- package/lib/mjs/Wizard.d.ts +93 -0
- package/lib/mjs/Wizard.js +905 -0
- package/lib/mjs/WizardBuilder.d.ts +46 -0
- package/lib/mjs/WizardBuilder.js +250 -0
- package/lib/mjs/addons/FormioAddon.d.ts +19 -0
- package/lib/mjs/addons/FormioAddon.js +31 -0
- package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +717 -0
- package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.form.d.ts +590 -0
- package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.form.js +311 -0
- package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.js +388 -0
- package/lib/mjs/addons/index.d.ts +625 -0
- package/lib/mjs/addons/index.js +19 -0
- package/lib/mjs/builders/Builders.d.ts +18 -0
- package/lib/mjs/builders/Builders.js +24 -0
- package/lib/mjs/builders/index.d.ts +2 -0
- package/lib/mjs/builders/index.js +2 -0
- package/lib/mjs/components/Components.d.ts +258 -0
- package/lib/mjs/components/Components.js +75 -0
- package/lib/mjs/components/_classes/component/Component.d.ts +779 -0
- package/lib/mjs/components/_classes/component/Component.form.d.ts +3 -0
- package/lib/mjs/components/_classes/component/Component.form.js +71 -0
- package/lib/mjs/components/_classes/component/Component.js +3110 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.addons.d.ts +645 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.addons.js +39 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.api.d.ts +42 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.api.js +38 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.conditional.d.ts +113 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.conditional.js +50 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.data.d.ts +219 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.data.js +156 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.display.d.ts +160 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.display.js +199 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.layout.d.ts +44 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.layout.js +77 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.logic.d.ts +368 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.logic.js +410 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.validation.d.ts +140 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.validation.js +204 -0
- package/lib/mjs/components/_classes/component/editForm/utils.d.ts +83 -0
- package/lib/mjs/components/_classes/component/editForm/utils.js +132 -0
- package/lib/mjs/components/_classes/component/fixtures/comp1.d.ts +33 -0
- package/lib/mjs/components/_classes/component/fixtures/comp1.js +31 -0
- package/lib/mjs/components/_classes/component/fixtures/comp2.d.ts +33 -0
- package/lib/mjs/components/_classes/component/fixtures/comp2.js +31 -0
- package/lib/mjs/components/_classes/component/fixtures/comp3.d.ts +14 -0
- package/lib/mjs/components/_classes/component/fixtures/comp3.js +12 -0
- package/lib/mjs/components/_classes/component/fixtures/comp4.d.ts +17 -0
- package/lib/mjs/components/_classes/component/fixtures/comp4.js +16 -0
- package/lib/mjs/components/_classes/component/fixtures/index.d.ts +5 -0
- package/lib/mjs/components/_classes/component/fixtures/index.js +5 -0
- package/lib/mjs/components/_classes/componentModal/ComponentModal.d.ts +46 -0
- package/lib/mjs/components/_classes/componentModal/ComponentModal.js +177 -0
- package/lib/mjs/components/_classes/field/Field.d.ts +4 -0
- package/lib/mjs/components/_classes/field/Field.js +21 -0
- package/lib/mjs/components/_classes/input/Input.d.ts +42 -0
- package/lib/mjs/components/_classes/input/Input.js +297 -0
- package/lib/mjs/components/_classes/list/ListComponent.d.ts +14 -0
- package/lib/mjs/components/_classes/list/ListComponent.form.d.ts +3 -0
- package/lib/mjs/components/_classes/list/ListComponent.form.js +10 -0
- package/lib/mjs/components/_classes/list/ListComponent.js +208 -0
- package/lib/mjs/components/_classes/list/editForm/ListComponent.edit.data.d.ts +183 -0
- package/lib/mjs/components/_classes/list/editForm/ListComponent.edit.data.js +117 -0
- package/lib/mjs/components/_classes/multivalue/Multivalue.d.ts +29 -0
- package/lib/mjs/components/_classes/multivalue/Multivalue.js +256 -0
- package/lib/mjs/components/_classes/nested/NestedComponent.d.ts +130 -0
- package/lib/mjs/components/_classes/nested/NestedComponent.form.d.ts +3 -0
- package/lib/mjs/components/_classes/nested/NestedComponent.form.js +13 -0
- package/lib/mjs/components/_classes/nested/NestedComponent.js +687 -0
- package/lib/mjs/components/_classes/nested/fixtures/comp1.d.ts +8 -0
- package/lib/mjs/components/_classes/nested/fixtures/comp1.js +14 -0
- package/lib/mjs/components/_classes/nested/fixtures/comp2.d.ts +236 -0
- package/lib/mjs/components/_classes/nested/fixtures/comp2.js +225 -0
- package/lib/mjs/components/_classes/nested/fixtures/comp3.d.ts +26 -0
- package/lib/mjs/components/_classes/nested/fixtures/comp3.js +27 -0
- package/lib/mjs/components/_classes/nested/fixtures/index.d.ts +3 -0
- package/lib/mjs/components/_classes/nested/fixtures/index.js +3 -0
- package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +14 -0
- package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.js +174 -0
- package/lib/mjs/components/_classes/nesteddata/NestedDataComponent.d.ts +11 -0
- package/lib/mjs/components/_classes/nesteddata/NestedDataComponent.js +124 -0
- package/lib/mjs/components/address/Address.d.ts +58 -0
- package/lib/mjs/components/address/Address.form.d.ts +3 -0
- package/lib/mjs/components/address/Address.form.js +22 -0
- package/lib/mjs/components/address/Address.js +536 -0
- package/lib/mjs/components/address/editForm/Address.edit.data.d.ts +31 -0
- package/lib/mjs/components/address/editForm/Address.edit.data.js +21 -0
- package/lib/mjs/components/address/editForm/Address.edit.display.d.ts +49 -0
- package/lib/mjs/components/address/editForm/Address.edit.display.js +42 -0
- package/lib/mjs/components/address/editForm/Address.edit.provider.d.ts +164 -0
- package/lib/mjs/components/address/editForm/Address.edit.provider.js +151 -0
- package/lib/mjs/components/address/fixtures/comp1.d.ts +34 -0
- package/lib/mjs/components/address/fixtures/comp1.js +69 -0
- package/lib/mjs/components/address/fixtures/comp2.d.ts +62 -0
- package/lib/mjs/components/address/fixtures/comp2.js +101 -0
- package/lib/mjs/components/address/fixtures/comp3.d.ts +44 -0
- package/lib/mjs/components/address/fixtures/comp3.js +83 -0
- package/lib/mjs/components/address/fixtures/comp4.d.ts +56 -0
- package/lib/mjs/components/address/fixtures/comp4.js +91 -0
- package/lib/mjs/components/address/fixtures/index.d.ts +5 -0
- package/lib/mjs/components/address/fixtures/index.js +5 -0
- package/lib/mjs/components/address/fixtures/values.d.ts +22 -0
- package/lib/mjs/components/address/fixtures/values.js +17 -0
- package/lib/mjs/components/alert/Alert.d.ts +30 -0
- package/lib/mjs/components/alert/Alert.js +176 -0
- package/lib/mjs/components/builder.d.ts +2 -0
- package/lib/mjs/components/builder.js +86 -0
- package/lib/mjs/components/button/Button.d.ts +44 -0
- package/lib/mjs/components/button/Button.form.d.ts +3 -0
- package/lib/mjs/components/button/Button.form.js +18 -0
- package/lib/mjs/components/button/Button.js +458 -0
- package/lib/mjs/components/button/editForm/Button.edit.display.d.ts +360 -0
- package/lib/mjs/components/button/editForm/Button.edit.display.js +247 -0
- package/lib/mjs/components/button/fixtures/comp1.d.ts +15 -0
- package/lib/mjs/components/button/fixtures/comp1.js +14 -0
- package/lib/mjs/components/button/fixtures/comp2.d.ts +25 -0
- package/lib/mjs/components/button/fixtures/comp2.js +55 -0
- package/lib/mjs/components/button/fixtures/comp3.d.ts +113 -0
- package/lib/mjs/components/button/fixtures/comp3.js +82 -0
- package/lib/mjs/components/button/fixtures/index.d.ts +4 -0
- package/lib/mjs/components/button/fixtures/index.js +4 -0
- package/lib/mjs/components/button/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/button/fixtures/values.js +4 -0
- package/lib/mjs/components/checkbox/Checkbox.d.ts +36 -0
- package/lib/mjs/components/checkbox/Checkbox.form.d.ts +3 -0
- package/lib/mjs/components/checkbox/Checkbox.form.js +20 -0
- package/lib/mjs/components/checkbox/Checkbox.js +188 -0
- package/lib/mjs/components/checkbox/editForm/Checkbox.edit.data.d.ts +5 -0
- package/lib/mjs/components/checkbox/editForm/Checkbox.edit.data.js +6 -0
- package/lib/mjs/components/checkbox/editForm/Checkbox.edit.display.d.ts +75 -0
- package/lib/mjs/components/checkbox/editForm/Checkbox.edit.display.js +74 -0
- package/lib/mjs/components/checkbox/editForm/Checkbox.edit.validation.d.ts +5 -0
- package/lib/mjs/components/checkbox/editForm/Checkbox.edit.validation.js +10 -0
- package/lib/mjs/components/checkbox/fixtures/comp1.d.ts +24 -0
- package/lib/mjs/components/checkbox/fixtures/comp1.js +22 -0
- package/lib/mjs/components/checkbox/fixtures/comp2.d.ts +12 -0
- package/lib/mjs/components/checkbox/fixtures/comp2.js +11 -0
- package/lib/mjs/components/checkbox/fixtures/comp3.d.ts +15 -0
- package/lib/mjs/components/checkbox/fixtures/comp3.js +14 -0
- package/lib/mjs/components/checkbox/fixtures/comp4.d.ts +46 -0
- package/lib/mjs/components/checkbox/fixtures/comp4.js +37 -0
- package/lib/mjs/components/checkbox/fixtures/customDefaultComponent.d.ts +25 -0
- package/lib/mjs/components/checkbox/fixtures/customDefaultComponent.js +23 -0
- package/lib/mjs/components/checkbox/fixtures/index.d.ts +6 -0
- package/lib/mjs/components/checkbox/fixtures/index.js +6 -0
- package/lib/mjs/components/checkbox/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/checkbox/fixtures/values.js +4 -0
- package/lib/mjs/components/columns/Columns.d.ts +25 -0
- package/lib/mjs/components/columns/Columns.form.d.ts +3 -0
- package/lib/mjs/components/columns/Columns.form.js +10 -0
- package/lib/mjs/components/columns/Columns.js +149 -0
- package/lib/mjs/components/columns/editForm/Columns.edit.display.d.ts +58 -0
- package/lib/mjs/components/columns/editForm/Columns.edit.display.js +98 -0
- package/lib/mjs/components/columns/fixtures/comp1.d.ts +45 -0
- package/lib/mjs/components/columns/fixtures/comp1.js +83 -0
- package/lib/mjs/components/columns/fixtures/comp2.d.ts +24 -0
- package/lib/mjs/components/columns/fixtures/comp2.js +125 -0
- package/lib/mjs/components/columns/fixtures/comp3.d.ts +45 -0
- package/lib/mjs/components/columns/fixtures/comp3.js +51 -0
- package/lib/mjs/components/columns/fixtures/index.d.ts +4 -0
- package/lib/mjs/components/columns/fixtures/index.js +4 -0
- package/lib/mjs/components/container/Container.d.ts +14 -0
- package/lib/mjs/components/container/Container.form.d.ts +3 -0
- package/lib/mjs/components/container/Container.form.js +15 -0
- package/lib/mjs/components/container/Container.js +72 -0
- package/lib/mjs/components/container/editForm/Container.edit.data.d.ts +5 -0
- package/lib/mjs/components/container/editForm/Container.edit.data.js +14 -0
- package/lib/mjs/components/container/editForm/Container.edit.display.d.ts +5 -0
- package/lib/mjs/components/container/editForm/Container.edit.display.js +18 -0
- package/lib/mjs/components/container/fixtures/comp1.d.ts +49 -0
- package/lib/mjs/components/container/fixtures/comp1.js +80 -0
- package/lib/mjs/components/container/fixtures/comp2.d.ts +30 -0
- package/lib/mjs/components/container/fixtures/comp2.js +32 -0
- package/lib/mjs/components/container/fixtures/comp3.d.ts +77 -0
- package/lib/mjs/components/container/fixtures/comp3.js +55 -0
- package/lib/mjs/components/container/fixtures/index.d.ts +4 -0
- package/lib/mjs/components/container/fixtures/index.js +4 -0
- package/lib/mjs/components/content/Content.d.ts +15 -0
- package/lib/mjs/components/content/Content.form.d.ts +3 -0
- package/lib/mjs/components/content/Content.form.js +37 -0
- package/lib/mjs/components/content/Content.js +69 -0
- package/lib/mjs/components/content/editForm/Content.edit.display.d.ts +18 -0
- package/lib/mjs/components/content/editForm/Content.edit.display.js +46 -0
- package/lib/mjs/components/content/editForm/Content.edit.logic.d.ts +48 -0
- package/lib/mjs/components/content/editForm/Content.edit.logic.js +98 -0
- package/lib/mjs/components/content/fixtures/comp1.d.ts +13 -0
- package/lib/mjs/components/content/fixtures/comp1.js +12 -0
- package/lib/mjs/components/content/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/content/fixtures/index.js +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/Currency.form.js +40 -0
- package/lib/mjs/components/currency/Currency.js +174 -0
- package/lib/mjs/components/currency/editForm/Currency.edit.data.d.ts +17 -0
- package/lib/mjs/components/currency/editForm/Currency.edit.data.js +186 -0
- package/lib/mjs/components/currency/editForm/Currency.edit.display.d.ts +18 -0
- package/lib/mjs/components/currency/editForm/Currency.edit.display.js +34 -0
- package/lib/mjs/components/currency/fixtures/comp1.d.ts +31 -0
- package/lib/mjs/components/currency/fixtures/comp1.js +29 -0
- package/lib/mjs/components/currency/fixtures/comp2.d.ts +20 -0
- package/lib/mjs/components/currency/fixtures/comp2.js +18 -0
- package/lib/mjs/components/currency/fixtures/comp3.d.ts +13 -0
- package/lib/mjs/components/currency/fixtures/comp3.js +12 -0
- package/lib/mjs/components/currency/fixtures/comp4.d.ts +17 -0
- package/lib/mjs/components/currency/fixtures/comp4.js +18 -0
- package/lib/mjs/components/currency/fixtures/index.d.ts +5 -0
- package/lib/mjs/components/currency/fixtures/index.js +5 -0
- package/lib/mjs/components/currency/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/currency/fixtures/values.js +6 -0
- package/lib/mjs/components/datagrid/DataGrid.d.ts +87 -0
- package/lib/mjs/components/datagrid/DataGrid.form.d.ts +3 -0
- package/lib/mjs/components/datagrid/DataGrid.form.js +20 -0
- package/lib/mjs/components/datagrid/DataGrid.js +642 -0
- package/lib/mjs/components/datagrid/editForm/DataGrid.edit.data.d.ts +5 -0
- package/lib/mjs/components/datagrid/editForm/DataGrid.edit.data.js +6 -0
- package/lib/mjs/components/datagrid/editForm/DataGrid.edit.display.d.ts +283 -0
- package/lib/mjs/components/datagrid/editForm/DataGrid.edit.display.js +147 -0
- package/lib/mjs/components/datagrid/editForm/DataGrid.edit.validation.d.ts +20 -0
- package/lib/mjs/components/datagrid/editForm/DataGrid.edit.validation.js +24 -0
- package/lib/mjs/components/datagrid/fixtures/comp-modal-with-required-fields.d.ts +37 -0
- package/lib/mjs/components/datagrid/fixtures/comp-modal-with-required-fields.js +40 -0
- package/lib/mjs/components/datagrid/fixtures/comp-on-blur-validation.d.ts +0 -0
- package/lib/mjs/components/datagrid/fixtures/comp-on-blur-validation.js +1 -0
- package/lib/mjs/components/datagrid/fixtures/comp-row-groups-with-def-value.d.ts +63 -0
- package/lib/mjs/components/datagrid/fixtures/comp-row-groups-with-def-value.js +79 -0
- package/lib/mjs/components/datagrid/fixtures/comp-with-collapsible-groups.d.ts +76 -0
- package/lib/mjs/components/datagrid/fixtures/comp-with-collapsible-groups.js +73 -0
- package/lib/mjs/components/datagrid/fixtures/comp-with-conditional-components-and-validations.d.ts +197 -0
- package/lib/mjs/components/datagrid/fixtures/comp-with-conditional-components-and-validations.js +176 -0
- package/lib/mjs/components/datagrid/fixtures/comp-with-def-value.d.ts +61 -0
- package/lib/mjs/components/datagrid/fixtures/comp-with-def-value.js +67 -0
- package/lib/mjs/components/datagrid/fixtures/comp-with-logic.d.ts +165 -0
- package/lib/mjs/components/datagrid/fixtures/comp-with-logic.js +178 -0
- package/lib/mjs/components/datagrid/fixtures/comp1.d.ts +93 -0
- package/lib/mjs/components/datagrid/fixtures/comp1.js +113 -0
- package/lib/mjs/components/datagrid/fixtures/comp2.d.ts +18 -0
- package/lib/mjs/components/datagrid/fixtures/comp2.js +27 -0
- package/lib/mjs/components/datagrid/fixtures/comp3.d.ts +14 -0
- package/lib/mjs/components/datagrid/fixtures/comp3.js +21 -0
- package/lib/mjs/components/datagrid/fixtures/comp4.d.ts +27 -0
- package/lib/mjs/components/datagrid/fixtures/comp4.js +26 -0
- package/lib/mjs/components/datagrid/fixtures/comp5.d.ts +67 -0
- package/lib/mjs/components/datagrid/fixtures/comp5.js +75 -0
- package/lib/mjs/components/datagrid/fixtures/comp6.d.ts +567 -0
- package/lib/mjs/components/datagrid/fixtures/comp6.js +294 -0
- package/lib/mjs/components/datagrid/fixtures/comp7.d.ts +28 -0
- package/lib/mjs/components/datagrid/fixtures/comp7.js +33 -0
- package/lib/mjs/components/datagrid/fixtures/comp8.d.ts +35 -0
- package/lib/mjs/components/datagrid/fixtures/comp8.js +35 -0
- package/lib/mjs/components/datagrid/fixtures/index.d.ts +15 -0
- package/lib/mjs/components/datagrid/fixtures/index.js +15 -0
- package/lib/mjs/components/datamap/DataMap.d.ts +35 -0
- package/lib/mjs/components/datamap/DataMap.form.d.ts +3 -0
- package/lib/mjs/components/datamap/DataMap.form.js +15 -0
- package/lib/mjs/components/datamap/DataMap.js +291 -0
- package/lib/mjs/components/datamap/editForm/DataMap.edit.data.d.ts +5 -0
- package/lib/mjs/components/datamap/editForm/DataMap.edit.data.js +10 -0
- package/lib/mjs/components/datamap/editForm/DataMap.edit.display.d.ts +30 -0
- package/lib/mjs/components/datamap/editForm/DataMap.edit.display.js +46 -0
- package/lib/mjs/components/datamap/fixtures/comp1.d.ts +18 -0
- package/lib/mjs/components/datamap/fixtures/comp1.js +13 -0
- package/lib/mjs/components/datamap/fixtures/formWithConditionalPanel.d.ts +87 -0
- package/lib/mjs/components/datamap/fixtures/formWithConditionalPanel.js +83 -0
- package/lib/mjs/components/datamap/fixtures/index.d.ts +3 -0
- package/lib/mjs/components/datamap/fixtures/index.js +3 -0
- package/lib/mjs/components/datetime/DateTime.d.ts +16 -0
- package/lib/mjs/components/datetime/DateTime.form.d.ts +3 -0
- package/lib/mjs/components/datetime/DateTime.form.js +34 -0
- package/lib/mjs/components/datetime/DateTime.js +161 -0
- package/lib/mjs/components/datetime/editForm/DateTime.edit.data.d.ts +24 -0
- package/lib/mjs/components/datetime/editForm/DateTime.edit.data.js +21 -0
- package/lib/mjs/components/datetime/editForm/DateTime.edit.date.d.ts +61 -0
- package/lib/mjs/components/datetime/editForm/DateTime.edit.date.js +70 -0
- package/lib/mjs/components/datetime/editForm/DateTime.edit.display.d.ts +128 -0
- package/lib/mjs/components/datetime/editForm/DateTime.edit.display.js +98 -0
- package/lib/mjs/components/datetime/editForm/DateTime.edit.time.d.ts +9 -0
- package/lib/mjs/components/datetime/editForm/DateTime.edit.time.js +34 -0
- package/lib/mjs/components/datetime/editForm/DateTime.edit.validation.d.ts +40 -0
- package/lib/mjs/components/datetime/editForm/DateTime.edit.validation.js +82 -0
- package/lib/mjs/components/datetime/fixtures/comp1.d.ts +45 -0
- package/lib/mjs/components/datetime/fixtures/comp1.js +42 -0
- package/lib/mjs/components/datetime/fixtures/comp10.d.ts +102 -0
- package/lib/mjs/components/datetime/fixtures/comp10.js +84 -0
- package/lib/mjs/components/datetime/fixtures/comp11.d.ts +58 -0
- package/lib/mjs/components/datetime/fixtures/comp11.js +53 -0
- package/lib/mjs/components/datetime/fixtures/comp12.d.ts +57 -0
- package/lib/mjs/components/datetime/fixtures/comp12.js +53 -0
- package/lib/mjs/components/datetime/fixtures/comp2.d.ts +42 -0
- package/lib/mjs/components/datetime/fixtures/comp2.js +41 -0
- package/lib/mjs/components/datetime/fixtures/comp3.d.ts +51 -0
- package/lib/mjs/components/datetime/fixtures/comp3.js +38 -0
- package/lib/mjs/components/datetime/fixtures/comp5.d.ts +57 -0
- package/lib/mjs/components/datetime/fixtures/comp5.js +46 -0
- package/lib/mjs/components/datetime/fixtures/comp6.d.ts +55 -0
- package/lib/mjs/components/datetime/fixtures/comp6.js +47 -0
- package/lib/mjs/components/datetime/fixtures/comp7.d.ts +59 -0
- package/lib/mjs/components/datetime/fixtures/comp7.js +51 -0
- package/lib/mjs/components/datetime/fixtures/comp8.d.ts +59 -0
- package/lib/mjs/components/datetime/fixtures/comp8.js +50 -0
- package/lib/mjs/components/datetime/fixtures/comp9.d.ts +64 -0
- package/lib/mjs/components/datetime/fixtures/comp9.js +93 -0
- package/lib/mjs/components/datetime/fixtures/index.d.ts +12 -0
- package/lib/mjs/components/datetime/fixtures/index.js +12 -0
- package/lib/mjs/components/datetime/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/datetime/fixtures/values.js +4 -0
- package/lib/mjs/components/day/Day.d.ts +143 -0
- package/lib/mjs/components/day/Day.form.d.ts +3 -0
- package/lib/mjs/components/day/Day.form.js +41 -0
- package/lib/mjs/components/day/Day.js +528 -0
- package/lib/mjs/components/day/editForm/Day.edit.data.d.ts +5 -0
- package/lib/mjs/components/day/editForm/Day.edit.data.js +6 -0
- package/lib/mjs/components/day/editForm/Day.edit.day.d.ts +40 -0
- package/lib/mjs/components/day/editForm/Day.edit.day.js +46 -0
- package/lib/mjs/components/day/editForm/Day.edit.display.d.ts +40 -0
- package/lib/mjs/components/day/editForm/Day.edit.display.js +44 -0
- package/lib/mjs/components/day/editForm/Day.edit.month.d.ts +40 -0
- package/lib/mjs/components/day/editForm/Day.edit.month.js +38 -0
- package/lib/mjs/components/day/editForm/Day.edit.validation.d.ts +29 -0
- package/lib/mjs/components/day/editForm/Day.edit.validation.js +52 -0
- package/lib/mjs/components/day/editForm/Day.edit.year.d.ts +40 -0
- package/lib/mjs/components/day/editForm/Day.edit.year.js +56 -0
- package/lib/mjs/components/day/fixtures/comp1.d.ts +46 -0
- package/lib/mjs/components/day/fixtures/comp1.js +37 -0
- package/lib/mjs/components/day/fixtures/comp2.d.ts +46 -0
- package/lib/mjs/components/day/fixtures/comp2.js +37 -0
- package/lib/mjs/components/day/fixtures/comp3.d.ts +48 -0
- package/lib/mjs/components/day/fixtures/comp3.js +39 -0
- package/lib/mjs/components/day/fixtures/comp4.d.ts +53 -0
- package/lib/mjs/components/day/fixtures/comp4.js +54 -0
- package/lib/mjs/components/day/fixtures/index.d.ts +5 -0
- package/lib/mjs/components/day/fixtures/index.js +5 -0
- package/lib/mjs/components/day/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/day/fixtures/values.js +4 -0
- package/lib/mjs/components/editgrid/EditGrid.d.ts +98 -0
- package/lib/mjs/components/editgrid/EditGrid.form.d.ts +3 -0
- package/lib/mjs/components/editgrid/EditGrid.form.js +27 -0
- package/lib/mjs/components/editgrid/EditGrid.js +1151 -0
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.data.d.ts +18 -0
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.data.js +18 -0
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.display.d.ts +82 -0
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.display.js +53 -0
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.templates.d.ts +58 -0
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.templates.js +126 -0
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.validation.d.ts +29 -0
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.validation.js +32 -0
- package/lib/mjs/components/editgrid/fixtures/comp-openWhenEmpty.d.ts +34 -0
- package/lib/mjs/components/editgrid/fixtures/comp-openWhenEmpty.js +34 -0
- package/lib/mjs/components/editgrid/fixtures/comp-with-basic-components.d.ts +327 -0
- package/lib/mjs/components/editgrid/fixtures/comp-with-basic-components.js +218 -0
- package/lib/mjs/components/editgrid/fixtures/comp-with-conditions-and-openWhenEmpty.d.ts +77 -0
- package/lib/mjs/components/editgrid/fixtures/comp-with-conditions-and-openWhenEmpty.js +82 -0
- package/lib/mjs/components/editgrid/fixtures/comp1.d.ts +89 -0
- package/lib/mjs/components/editgrid/fixtures/comp1.js +126 -0
- package/lib/mjs/components/editgrid/fixtures/comp10.d.ts +49 -0
- package/lib/mjs/components/editgrid/fixtures/comp10.js +46 -0
- package/lib/mjs/components/editgrid/fixtures/comp11.d.ts +53 -0
- package/lib/mjs/components/editgrid/fixtures/comp11.js +48 -0
- package/lib/mjs/components/editgrid/fixtures/comp12.d.ts +57 -0
- package/lib/mjs/components/editgrid/fixtures/comp12.js +48 -0
- package/lib/mjs/components/editgrid/fixtures/comp13.d.ts +64 -0
- package/lib/mjs/components/editgrid/fixtures/comp13.js +62 -0
- package/lib/mjs/components/editgrid/fixtures/comp14.d.ts +88 -0
- package/lib/mjs/components/editgrid/fixtures/comp14.js +82 -0
- package/lib/mjs/components/editgrid/fixtures/comp2.d.ts +112 -0
- package/lib/mjs/components/editgrid/fixtures/comp2.js +112 -0
- package/lib/mjs/components/editgrid/fixtures/comp3.d.ts +27 -0
- package/lib/mjs/components/editgrid/fixtures/comp3.js +26 -0
- package/lib/mjs/components/editgrid/fixtures/comp4.d.ts +23 -0
- package/lib/mjs/components/editgrid/fixtures/comp4.js +22 -0
- package/lib/mjs/components/editgrid/fixtures/comp5.d.ts +19 -0
- package/lib/mjs/components/editgrid/fixtures/comp5.js +20 -0
- package/lib/mjs/components/editgrid/fixtures/comp6.d.ts +50 -0
- package/lib/mjs/components/editgrid/fixtures/comp6.js +56 -0
- package/lib/mjs/components/editgrid/fixtures/comp7.d.ts +129 -0
- package/lib/mjs/components/editgrid/fixtures/comp7.js +121 -0
- package/lib/mjs/components/editgrid/fixtures/comp8.d.ts +148 -0
- package/lib/mjs/components/editgrid/fixtures/comp8.js +154 -0
- package/lib/mjs/components/editgrid/fixtures/comp9.d.ts +86 -0
- package/lib/mjs/components/editgrid/fixtures/comp9.js +60 -0
- package/lib/mjs/components/editgrid/fixtures/index.d.ts +17 -0
- package/lib/mjs/components/editgrid/fixtures/index.js +17 -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/Email.form.js +15 -0
- package/lib/mjs/components/email/Email.js +48 -0
- package/lib/mjs/components/email/editForm/Email.edit.display.d.ts +5 -0
- package/lib/mjs/components/email/editForm/Email.edit.display.js +18 -0
- package/lib/mjs/components/email/editForm/Email.edit.validation.d.ts +24 -0
- package/lib/mjs/components/email/editForm/Email.edit.validation.js +26 -0
- package/lib/mjs/components/email/fixtures/comp1.d.ts +26 -0
- package/lib/mjs/components/email/fixtures/comp1.js +24 -0
- package/lib/mjs/components/email/fixtures/comp2.d.ts +23 -0
- package/lib/mjs/components/email/fixtures/comp2.js +11 -0
- package/lib/mjs/components/email/fixtures/index.d.ts +3 -0
- package/lib/mjs/components/email/fixtures/index.js +3 -0
- package/lib/mjs/components/email/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/email/fixtures/values.js +4 -0
- package/lib/mjs/components/fieldset/Fieldset.d.ts +13 -0
- package/lib/mjs/components/fieldset/Fieldset.form.d.ts +3 -0
- package/lib/mjs/components/fieldset/Fieldset.form.js +10 -0
- package/lib/mjs/components/fieldset/Fieldset.js +37 -0
- package/lib/mjs/components/fieldset/editForm/Fieldset.edit.display.d.ts +33 -0
- package/lib/mjs/components/fieldset/editForm/Fieldset.edit.display.js +42 -0
- package/lib/mjs/components/fieldset/fixtures/comp1.d.ts +46 -0
- package/lib/mjs/components/fieldset/fixtures/comp1.js +79 -0
- package/lib/mjs/components/fieldset/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/fieldset/fixtures/index.js +2 -0
- package/lib/mjs/components/file/File.d.ts +59 -0
- package/lib/mjs/components/file/File.form.d.ts +3 -0
- package/lib/mjs/components/file/File.form.js +27 -0
- package/lib/mjs/components/file/File.js +746 -0
- package/lib/mjs/components/file/editForm/File.edit.data.d.ts +5 -0
- package/lib/mjs/components/file/editForm/File.edit.data.js +6 -0
- package/lib/mjs/components/file/editForm/File.edit.display.d.ts +5 -0
- package/lib/mjs/components/file/editForm/File.edit.display.js +6 -0
- package/lib/mjs/components/file/editForm/File.edit.file.d.ts +213 -0
- package/lib/mjs/components/file/editForm/File.edit.file.js +256 -0
- package/lib/mjs/components/file/editForm/File.edit.validation.d.ts +5 -0
- package/lib/mjs/components/file/editForm/File.edit.validation.js +10 -0
- package/lib/mjs/components/file/fixtures/comp1.d.ts +15 -0
- package/lib/mjs/components/file/fixtures/comp1.js +16 -0
- package/lib/mjs/components/file/fixtures/comp2.d.ts +35 -0
- package/lib/mjs/components/file/fixtures/comp2.js +29 -0
- package/lib/mjs/components/file/fixtures/index.d.ts +3 -0
- package/lib/mjs/components/file/fixtures/index.js +3 -0
- package/lib/mjs/components/file/fixtures/values.d.ts +10 -0
- package/lib/mjs/components/file/fixtures/values.js +13 -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.form.js +24 -0
- package/lib/mjs/components/form/Form.js +714 -0
- package/lib/mjs/components/form/editForm/Form.edit.data.d.ts +82 -0
- package/lib/mjs/components/form/editForm/Form.edit.data.js +16 -0
- package/lib/mjs/components/form/editForm/Form.edit.display.d.ts +5 -0
- package/lib/mjs/components/form/editForm/Form.edit.display.js +27 -0
- package/lib/mjs/components/form/editForm/Form.edit.form.d.ts +89 -0
- package/lib/mjs/components/form/editForm/Form.edit.form.js +72 -0
- package/lib/mjs/components/form/fixtures/comp1.d.ts +45 -0
- package/lib/mjs/components/form/fixtures/comp1.js +78 -0
- package/lib/mjs/components/form/fixtures/comp2.d.ts +14 -0
- package/lib/mjs/components/form/fixtures/comp2.js +13 -0
- package/lib/mjs/components/form/fixtures/comp3.d.ts +187 -0
- package/lib/mjs/components/form/fixtures/comp3.js +168 -0
- package/lib/mjs/components/form/fixtures/comp4.d.ts +107 -0
- package/lib/mjs/components/form/fixtures/comp4.js +89 -0
- package/lib/mjs/components/form/fixtures/comp5.d.ts +42 -0
- package/lib/mjs/components/form/fixtures/comp5.js +43 -0
- package/lib/mjs/components/form/fixtures/comp6.d.ts +74 -0
- package/lib/mjs/components/form/fixtures/comp6.js +92 -0
- package/lib/mjs/components/form/fixtures/formModalEdit.d.ts +42 -0
- package/lib/mjs/components/form/fixtures/formModalEdit.js +49 -0
- package/lib/mjs/components/form/fixtures/index.d.ts +8 -0
- package/lib/mjs/components/form/fixtures/index.js +8 -0
- package/lib/mjs/components/form/fixtures/values.d.ts +6 -0
- package/lib/mjs/components/form/fixtures/values.js +7 -0
- package/lib/mjs/components/hidden/Hidden.d.ts +25 -0
- package/lib/mjs/components/hidden/Hidden.form.d.ts +3 -0
- package/lib/mjs/components/hidden/Hidden.form.js +23 -0
- package/lib/mjs/components/hidden/Hidden.js +54 -0
- package/lib/mjs/components/hidden/editForm/Hidden.edit.data.d.ts +5 -0
- package/lib/mjs/components/hidden/editForm/Hidden.edit.data.js +14 -0
- package/lib/mjs/components/hidden/editForm/Hidden.edit.display.d.ts +5 -0
- package/lib/mjs/components/hidden/editForm/Hidden.edit.display.js +42 -0
- package/lib/mjs/components/hidden/fixtures/comp1.d.ts +18 -0
- package/lib/mjs/components/hidden/fixtures/comp1.js +16 -0
- package/lib/mjs/components/hidden/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/hidden/fixtures/index.js +2 -0
- package/lib/mjs/components/hidden/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/hidden/fixtures/values.js +4 -0
- package/lib/mjs/components/html/HTML.d.ts +16 -0
- package/lib/mjs/components/html/HTML.form.d.ts +3 -0
- package/lib/mjs/components/html/HTML.form.js +23 -0
- package/lib/mjs/components/html/HTML.js +83 -0
- package/lib/mjs/components/html/editForm/HTML.edit.display.d.ts +77 -0
- package/lib/mjs/components/html/editForm/HTML.edit.display.js +98 -0
- package/lib/mjs/components/html/editForm/HTML.edit.logic.d.ts +48 -0
- package/lib/mjs/components/html/editForm/HTML.edit.logic.js +98 -0
- package/lib/mjs/components/html/fixtures/comp1.d.ts +19 -0
- package/lib/mjs/components/html/fixtures/comp1.js +20 -0
- package/lib/mjs/components/html/fixtures/comp2.d.ts +21 -0
- package/lib/mjs/components/html/fixtures/comp2.js +22 -0
- package/lib/mjs/components/html/fixtures/index.d.ts +3 -0
- package/lib/mjs/components/html/fixtures/index.js +3 -0
- package/lib/mjs/components/index.d.ts +100 -0
- package/lib/mjs/components/index.js +99 -0
- package/lib/mjs/components/number/Number.d.ts +31 -0
- package/lib/mjs/components/number/Number.form.d.ts +3 -0
- package/lib/mjs/components/number/Number.form.js +20 -0
- package/lib/mjs/components/number/Number.js +185 -0
- package/lib/mjs/components/number/editForm/Number.edit.data.d.ts +18 -0
- package/lib/mjs/components/number/editForm/Number.edit.data.js +30 -0
- package/lib/mjs/components/number/editForm/Number.edit.display.d.ts +5 -0
- package/lib/mjs/components/number/editForm/Number.edit.display.js +22 -0
- package/lib/mjs/components/number/editForm/Number.edit.validation.d.ts +20 -0
- package/lib/mjs/components/number/editForm/Number.edit.validation.js +44 -0
- package/lib/mjs/components/number/fixtures/comp1.d.ts +33 -0
- package/lib/mjs/components/number/fixtures/comp1.js +30 -0
- package/lib/mjs/components/number/fixtures/comp2.d.ts +32 -0
- package/lib/mjs/components/number/fixtures/comp2.js +29 -0
- package/lib/mjs/components/number/fixtures/comp3.d.ts +14 -0
- package/lib/mjs/components/number/fixtures/comp3.js +13 -0
- package/lib/mjs/components/number/fixtures/comp4.d.ts +14 -0
- package/lib/mjs/components/number/fixtures/comp4.js +13 -0
- package/lib/mjs/components/number/fixtures/comp5.d.ts +20 -0
- package/lib/mjs/components/number/fixtures/comp5.js +18 -0
- package/lib/mjs/components/number/fixtures/comp6.d.ts +40 -0
- package/lib/mjs/components/number/fixtures/comp6.js +25 -0
- package/lib/mjs/components/number/fixtures/comp7.d.ts +15 -0
- package/lib/mjs/components/number/fixtures/comp7.js +14 -0
- package/lib/mjs/components/number/fixtures/index.d.ts +8 -0
- package/lib/mjs/components/number/fixtures/index.js +8 -0
- package/lib/mjs/components/number/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/number/fixtures/values.js +9 -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/Panel.form.js +15 -0
- package/lib/mjs/components/panel/Panel.js +52 -0
- package/lib/mjs/components/panel/editForm/Panel.edit.conditional.d.ts +75 -0
- package/lib/mjs/components/panel/editForm/Panel.edit.conditional.js +40 -0
- package/lib/mjs/components/panel/editForm/Panel.edit.display.d.ts +228 -0
- package/lib/mjs/components/panel/editForm/Panel.edit.display.js +208 -0
- package/lib/mjs/components/panel/fixtures/comp1.d.ts +46 -0
- package/lib/mjs/components/panel/fixtures/comp1.js +78 -0
- package/lib/mjs/components/panel/fixtures/comp2.d.ts +80 -0
- package/lib/mjs/components/panel/fixtures/comp2.js +67 -0
- package/lib/mjs/components/panel/fixtures/index.d.ts +3 -0
- package/lib/mjs/components/panel/fixtures/index.js +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/Password.form.js +20 -0
- package/lib/mjs/components/password/Password.js +34 -0
- package/lib/mjs/components/password/editForm/Password.edit.data.d.ts +18 -0
- package/lib/mjs/components/password/editForm/Password.edit.data.js +46 -0
- package/lib/mjs/components/password/editForm/Password.edit.display.d.ts +5 -0
- package/lib/mjs/components/password/editForm/Password.edit.display.js +14 -0
- package/lib/mjs/components/password/editForm/Password.edit.validation.d.ts +5 -0
- package/lib/mjs/components/password/editForm/Password.edit.validation.js +14 -0
- package/lib/mjs/components/password/fixtures/comp1.d.ts +22 -0
- package/lib/mjs/components/password/fixtures/comp1.js +20 -0
- package/lib/mjs/components/password/fixtures/comp2.d.ts +27 -0
- package/lib/mjs/components/password/fixtures/comp2.js +27 -0
- package/lib/mjs/components/password/fixtures/index.d.ts +3 -0
- package/lib/mjs/components/password/fixtures/index.js +3 -0
- package/lib/mjs/components/password/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/password/fixtures/values.js +4 -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/PhoneNumber.form.js +23 -0
- package/lib/mjs/components/phonenumber/PhoneNumber.js +27 -0
- package/lib/mjs/components/phonenumber/editForm/PhoneNumber.edit.validation.d.ts +5 -0
- package/lib/mjs/components/phonenumber/editForm/PhoneNumber.edit.validation.js +22 -0
- package/lib/mjs/components/phonenumber/fixtures/comp1.d.ts +27 -0
- package/lib/mjs/components/phonenumber/fixtures/comp1.js +25 -0
- package/lib/mjs/components/phonenumber/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/phonenumber/fixtures/index.js +2 -0
- package/lib/mjs/components/phonenumber/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/phonenumber/fixtures/values.js +4 -0
- package/lib/mjs/components/radio/Radio.d.ts +44 -0
- package/lib/mjs/components/radio/Radio.form.d.ts +3 -0
- package/lib/mjs/components/radio/Radio.form.js +20 -0
- package/lib/mjs/components/radio/Radio.js +288 -0
- package/lib/mjs/components/radio/editForm/Radio.edit.data.d.ts +134 -0
- package/lib/mjs/components/radio/editForm/Radio.edit.data.js +80 -0
- package/lib/mjs/components/radio/editForm/Radio.edit.display.d.ts +40 -0
- package/lib/mjs/components/radio/editForm/Radio.edit.display.js +32 -0
- package/lib/mjs/components/radio/editForm/Radio.edit.validation.d.ts +18 -0
- package/lib/mjs/components/radio/editForm/Radio.edit.validation.js +18 -0
- package/lib/mjs/components/radio/fixtures/comp1.d.ts +28 -0
- package/lib/mjs/components/radio/fixtures/comp1.js +40 -0
- package/lib/mjs/components/radio/fixtures/comp2.d.ts +85 -0
- package/lib/mjs/components/radio/fixtures/comp2.js +84 -0
- package/lib/mjs/components/radio/fixtures/comp3.d.ts +85 -0
- package/lib/mjs/components/radio/fixtures/comp3.js +88 -0
- package/lib/mjs/components/radio/fixtures/comp4.d.ts +19 -0
- package/lib/mjs/components/radio/fixtures/comp4.js +25 -0
- package/lib/mjs/components/radio/fixtures/comp5.d.ts +39 -0
- package/lib/mjs/components/radio/fixtures/comp5.js +33 -0
- package/lib/mjs/components/radio/fixtures/comp6.d.ts +38 -0
- package/lib/mjs/components/radio/fixtures/comp6.js +31 -0
- package/lib/mjs/components/radio/fixtures/comp7.d.ts +23 -0
- package/lib/mjs/components/radio/fixtures/comp7.js +19 -0
- package/lib/mjs/components/radio/fixtures/comp8.d.ts +118 -0
- package/lib/mjs/components/radio/fixtures/comp8.js +111 -0
- package/lib/mjs/components/radio/fixtures/comp9.d.ts +35 -0
- package/lib/mjs/components/radio/fixtures/comp9.js +30 -0
- package/lib/mjs/components/radio/fixtures/index.d.ts +10 -0
- package/lib/mjs/components/radio/fixtures/index.js +10 -0
- package/lib/mjs/components/radio/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/radio/fixtures/values.js +5 -0
- package/lib/mjs/components/recaptcha/ReCaptcha.d.ts +22 -0
- package/lib/mjs/components/recaptcha/ReCaptcha.form.d.ts +3 -0
- package/lib/mjs/components/recaptcha/ReCaptcha.form.js +26 -0
- package/lib/mjs/components/recaptcha/ReCaptcha.js +137 -0
- package/lib/mjs/components/recaptcha/editForm/ReCaptcha.edit.display.d.ts +44 -0
- package/lib/mjs/components/recaptcha/editForm/ReCaptcha.edit.display.js +106 -0
- package/lib/mjs/components/recaptcha/fixtures/comp1.d.ts +8 -0
- package/lib/mjs/components/recaptcha/fixtures/comp1.js +7 -0
- package/lib/mjs/components/recaptcha/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/recaptcha/fixtures/index.js +2 -0
- package/lib/mjs/components/resource/Resource.d.ts +3 -0
- package/lib/mjs/components/resource/Resource.form.d.ts +3 -0
- package/lib/mjs/components/resource/Resource.form.js +10 -0
- package/lib/mjs/components/resource/Resource.js +34 -0
- package/lib/mjs/components/resource/editForm/Resource.edit.display.d.ts +173 -0
- package/lib/mjs/components/resource/editForm/Resource.edit.display.js +100 -0
- package/lib/mjs/components/resource/fixtures/comp1.d.ts +30 -0
- package/lib/mjs/components/resource/fixtures/comp1.js +28 -0
- package/lib/mjs/components/resource/fixtures/comp2.d.ts +35 -0
- package/lib/mjs/components/resource/fixtures/comp2.js +29 -0
- package/lib/mjs/components/resource/fixtures/index.d.ts +3 -0
- package/lib/mjs/components/resource/fixtures/index.js +3 -0
- package/lib/mjs/components/select/Select.d.ts +122 -0
- package/lib/mjs/components/select/Select.form.d.ts +3 -0
- package/lib/mjs/components/select/Select.form.js +20 -0
- package/lib/mjs/components/select/Select.js +1485 -0
- package/lib/mjs/components/select/editForm/Select.edit.data.d.ts +1039 -0
- package/lib/mjs/components/select/editForm/Select.edit.data.js +627 -0
- package/lib/mjs/components/select/editForm/Select.edit.display.d.ts +27 -0
- package/lib/mjs/components/select/editForm/Select.edit.display.js +26 -0
- package/lib/mjs/components/select/editForm/Select.edit.validation.d.ts +30 -0
- package/lib/mjs/components/select/editForm/Select.edit.validation.js +33 -0
- package/lib/mjs/components/select/fixtures/comp1.d.ts +40 -0
- package/lib/mjs/components/select/fixtures/comp1.js +64 -0
- package/lib/mjs/components/select/fixtures/comp10.d.ts +41 -0
- package/lib/mjs/components/select/fixtures/comp10.js +30 -0
- package/lib/mjs/components/select/fixtures/comp11.d.ts +28 -0
- package/lib/mjs/components/select/fixtures/comp11.js +22 -0
- package/lib/mjs/components/select/fixtures/comp12.d.ts +53 -0
- package/lib/mjs/components/select/fixtures/comp12.js +27 -0
- package/lib/mjs/components/select/fixtures/comp13.d.ts +28 -0
- package/lib/mjs/components/select/fixtures/comp13.js +29 -0
- package/lib/mjs/components/select/fixtures/comp14.d.ts +40 -0
- package/lib/mjs/components/select/fixtures/comp14.js +25 -0
- package/lib/mjs/components/select/fixtures/comp15.d.ts +50 -0
- package/lib/mjs/components/select/fixtures/comp15.js +39 -0
- package/lib/mjs/components/select/fixtures/comp16.d.ts +34 -0
- package/lib/mjs/components/select/fixtures/comp16.js +31 -0
- package/lib/mjs/components/select/fixtures/comp17.d.ts +51 -0
- package/lib/mjs/components/select/fixtures/comp17.js +41 -0
- package/lib/mjs/components/select/fixtures/comp18.d.ts +49 -0
- package/lib/mjs/components/select/fixtures/comp18.js +40 -0
- package/lib/mjs/components/select/fixtures/comp2.d.ts +41 -0
- package/lib/mjs/components/select/fixtures/comp2.js +65 -0
- package/lib/mjs/components/select/fixtures/comp3.d.ts +35 -0
- package/lib/mjs/components/select/fixtures/comp3.js +206 -0
- package/lib/mjs/components/select/fixtures/comp4.d.ts +103 -0
- package/lib/mjs/components/select/fixtures/comp4.js +104 -0
- package/lib/mjs/components/select/fixtures/comp5.d.ts +21 -0
- package/lib/mjs/components/select/fixtures/comp5.js +26 -0
- package/lib/mjs/components/select/fixtures/comp6.d.ts +20 -0
- package/lib/mjs/components/select/fixtures/comp6.js +28 -0
- package/lib/mjs/components/select/fixtures/comp7.d.ts +63 -0
- package/lib/mjs/components/select/fixtures/comp7.js +44 -0
- package/lib/mjs/components/select/fixtures/comp8.d.ts +72 -0
- package/lib/mjs/components/select/fixtures/comp8.js +35 -0
- package/lib/mjs/components/select/fixtures/comp9.d.ts +88 -0
- package/lib/mjs/components/select/fixtures/comp9.js +65 -0
- package/lib/mjs/components/select/fixtures/index.d.ts +19 -0
- package/lib/mjs/components/select/fixtures/index.js +19 -0
- package/lib/mjs/components/select/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/select/fixtures/values.js +5 -0
- package/lib/mjs/components/selectboxes/SelectBoxes.d.ts +15 -0
- package/lib/mjs/components/selectboxes/SelectBoxes.form.d.ts +3 -0
- package/lib/mjs/components/selectboxes/SelectBoxes.form.js +19 -0
- package/lib/mjs/components/selectboxes/SelectBoxes.js +208 -0
- package/lib/mjs/components/selectboxes/editForm/SelectBoxes.edit.validation.d.ts +9 -0
- package/lib/mjs/components/selectboxes/editForm/SelectBoxes.edit.validation.js +34 -0
- package/lib/mjs/components/selectboxes/fixtures/comp1.d.ts +24 -0
- package/lib/mjs/components/selectboxes/fixtures/comp1.js +52 -0
- package/lib/mjs/components/selectboxes/fixtures/comp2.d.ts +24 -0
- package/lib/mjs/components/selectboxes/fixtures/comp2.js +52 -0
- package/lib/mjs/components/selectboxes/fixtures/comp3.d.ts +23 -0
- package/lib/mjs/components/selectboxes/fixtures/comp3.js +19 -0
- package/lib/mjs/components/selectboxes/fixtures/comp4.d.ts +63 -0
- package/lib/mjs/components/selectboxes/fixtures/comp4.js +64 -0
- package/lib/mjs/components/selectboxes/fixtures/comp5.d.ts +37 -0
- package/lib/mjs/components/selectboxes/fixtures/comp5.js +31 -0
- package/lib/mjs/components/selectboxes/fixtures/index.d.ts +6 -0
- package/lib/mjs/components/selectboxes/fixtures/index.js +6 -0
- package/lib/mjs/components/selectboxes/fixtures/values.d.ts +6 -0
- package/lib/mjs/components/selectboxes/fixtures/values.js +22 -0
- package/lib/mjs/components/signature/Signature.d.ts +26 -0
- package/lib/mjs/components/signature/Signature.form.d.ts +3 -0
- package/lib/mjs/components/signature/Signature.form.js +20 -0
- package/lib/mjs/components/signature/Signature.js +240 -0
- package/lib/mjs/components/signature/editForm/Signature.edit.data.d.ts +5 -0
- package/lib/mjs/components/signature/editForm/Signature.edit.data.js +14 -0
- package/lib/mjs/components/signature/editForm/Signature.edit.display.d.ts +51 -0
- package/lib/mjs/components/signature/editForm/Signature.edit.display.js +69 -0
- package/lib/mjs/components/signature/editForm/Signature.edit.validation.d.ts +5 -0
- package/lib/mjs/components/signature/editForm/Signature.edit.validation.js +10 -0
- package/lib/mjs/components/signature/fixtures/comp1.d.ts +30 -0
- package/lib/mjs/components/signature/fixtures/comp1.js +28 -0
- package/lib/mjs/components/signature/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/signature/fixtures/index.js +2 -0
- package/lib/mjs/components/signature/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/signature/fixtures/values.js +5 -0
- package/lib/mjs/components/survey/Survey.d.ts +16 -0
- package/lib/mjs/components/survey/Survey.form.d.ts +3 -0
- package/lib/mjs/components/survey/Survey.form.js +20 -0
- package/lib/mjs/components/survey/Survey.js +141 -0
- package/lib/mjs/components/survey/editForm/Survey.edit.data.d.ts +44 -0
- package/lib/mjs/components/survey/editForm/Survey.edit.data.js +70 -0
- package/lib/mjs/components/survey/editForm/Survey.edit.display.d.ts +5 -0
- package/lib/mjs/components/survey/editForm/Survey.edit.display.js +6 -0
- package/lib/mjs/components/survey/editForm/Survey.edit.validation.d.ts +5 -0
- package/lib/mjs/components/survey/editForm/Survey.edit.validation.js +6 -0
- package/lib/mjs/components/survey/fixtures/comp1.d.ts +31 -0
- package/lib/mjs/components/survey/fixtures/comp1.js +53 -0
- package/lib/mjs/components/survey/fixtures/comp2.d.ts +31 -0
- package/lib/mjs/components/survey/fixtures/comp2.js +53 -0
- package/lib/mjs/components/survey/fixtures/index.d.ts +3 -0
- package/lib/mjs/components/survey/fixtures/index.js +3 -0
- package/lib/mjs/components/survey/fixtures/values.d.ts +5 -0
- package/lib/mjs/components/survey/fixtures/values.js +10 -0
- package/lib/mjs/components/table/Table.d.ts +21 -0
- package/lib/mjs/components/table/Table.form.d.ts +3 -0
- package/lib/mjs/components/table/Table.form.js +10 -0
- package/lib/mjs/components/table/Table.js +165 -0
- package/lib/mjs/components/table/editForm/Table.edit.display.d.ts +55 -0
- package/lib/mjs/components/table/editForm/Table.edit.display.js +109 -0
- package/lib/mjs/components/table/fixtures/comp1.d.ts +53 -0
- package/lib/mjs/components/table/fixtures/comp1.js +235 -0
- package/lib/mjs/components/table/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/table/fixtures/index.js +2 -0
- package/lib/mjs/components/tabs/Tabs.d.ts +28 -0
- package/lib/mjs/components/tabs/Tabs.form.d.ts +3 -0
- package/lib/mjs/components/tabs/Tabs.form.js +10 -0
- package/lib/mjs/components/tabs/Tabs.js +197 -0
- package/lib/mjs/components/tabs/editForm/Tabs.edit.display.d.ts +49 -0
- package/lib/mjs/components/tabs/editForm/Tabs.edit.display.js +66 -0
- package/lib/mjs/components/tabs/fixtures/comp1.d.ts +23 -0
- package/lib/mjs/components/tabs/fixtures/comp1.js +31 -0
- package/lib/mjs/components/tabs/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/tabs/fixtures/index.js +2 -0
- package/lib/mjs/components/tags/Tags.d.ts +19 -0
- package/lib/mjs/components/tags/Tags.form.d.ts +3 -0
- package/lib/mjs/components/tags/Tags.form.js +10 -0
- package/lib/mjs/components/tags/Tags.js +158 -0
- package/lib/mjs/components/tags/editForm/Tags.edit.data.d.ts +51 -0
- package/lib/mjs/components/tags/editForm/Tags.edit.data.js +37 -0
- package/lib/mjs/components/tags/fixtures/comp1.d.ts +20 -0
- package/lib/mjs/components/tags/fixtures/comp1.js +18 -0
- package/lib/mjs/components/tags/fixtures/comp2.d.ts +10 -0
- package/lib/mjs/components/tags/fixtures/comp2.js +9 -0
- package/lib/mjs/components/tags/fixtures/comp3.d.ts +23 -0
- package/lib/mjs/components/tags/fixtures/comp3.js +18 -0
- package/lib/mjs/components/tags/fixtures/comp4.d.ts +9 -0
- package/lib/mjs/components/tags/fixtures/comp4.js +8 -0
- package/lib/mjs/components/tags/fixtures/comp5.d.ts +24 -0
- package/lib/mjs/components/tags/fixtures/comp5.js +22 -0
- package/lib/mjs/components/tags/fixtures/index.d.ts +6 -0
- package/lib/mjs/components/tags/fixtures/index.js +6 -0
- package/lib/mjs/components/tags/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/tags/fixtures/values.js +4 -0
- package/lib/mjs/components/textarea/TextArea.d.ts +36 -0
- package/lib/mjs/components/textarea/TextArea.form.d.ts +3 -0
- package/lib/mjs/components/textarea/TextArea.form.js +15 -0
- package/lib/mjs/components/textarea/TextArea.js +530 -0
- package/lib/mjs/components/textarea/editForm/TextArea.edit.display.d.ts +355 -0
- package/lib/mjs/components/textarea/editForm/TextArea.edit.display.js +258 -0
- package/lib/mjs/components/textarea/editForm/TextArea.edit.validation.d.ts +10 -0
- package/lib/mjs/components/textarea/editForm/TextArea.edit.validation.js +20 -0
- package/lib/mjs/components/textarea/fixtures/comp1.d.ts +31 -0
- package/lib/mjs/components/textarea/fixtures/comp1.js +29 -0
- package/lib/mjs/components/textarea/fixtures/comp2.d.ts +29 -0
- package/lib/mjs/components/textarea/fixtures/comp2.js +27 -0
- package/lib/mjs/components/textarea/fixtures/comp3.d.ts +27 -0
- package/lib/mjs/components/textarea/fixtures/comp3.js +27 -0
- package/lib/mjs/components/textarea/fixtures/index.d.ts +4 -0
- package/lib/mjs/components/textarea/fixtures/index.js +4 -0
- package/lib/mjs/components/textarea/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/textarea/fixtures/values.js +4 -0
- package/lib/mjs/components/textfield/TextField.d.ts +38 -0
- package/lib/mjs/components/textfield/TextField.form.d.ts +3 -0
- package/lib/mjs/components/textfield/TextField.form.js +20 -0
- package/lib/mjs/components/textfield/TextField.js +218 -0
- package/lib/mjs/components/textfield/editForm/TextField.edit.data.d.ts +46 -0
- package/lib/mjs/components/textfield/editForm/TextField.edit.data.js +56 -0
- package/lib/mjs/components/textfield/editForm/TextField.edit.display.d.ts +248 -0
- package/lib/mjs/components/textfield/editForm/TextField.edit.display.js +203 -0
- package/lib/mjs/components/textfield/editForm/TextField.edit.validation.d.ts +10 -0
- package/lib/mjs/components/textfield/editForm/TextField.edit.validation.js +47 -0
- package/lib/mjs/components/textfield/fixtures/comp-with-display-and-value-masks.d.ts +47 -0
- package/lib/mjs/components/textfield/fixtures/comp-with-display-and-value-masks.js +46 -0
- package/lib/mjs/components/textfield/fixtures/comp1.d.ts +33 -0
- package/lib/mjs/components/textfield/fixtures/comp1.js +31 -0
- package/lib/mjs/components/textfield/fixtures/comp2.d.ts +33 -0
- package/lib/mjs/components/textfield/fixtures/comp2.js +31 -0
- package/lib/mjs/components/textfield/fixtures/comp3.d.ts +33 -0
- package/lib/mjs/components/textfield/fixtures/comp3.js +31 -0
- package/lib/mjs/components/textfield/fixtures/comp4.d.ts +23 -0
- package/lib/mjs/components/textfield/fixtures/comp4.js +25 -0
- package/lib/mjs/components/textfield/fixtures/comp5.d.ts +12 -0
- package/lib/mjs/components/textfield/fixtures/comp5.js +11 -0
- package/lib/mjs/components/textfield/fixtures/comp6.d.ts +25 -0
- package/lib/mjs/components/textfield/fixtures/comp6.js +19 -0
- package/lib/mjs/components/textfield/fixtures/comp7.d.ts +37 -0
- package/lib/mjs/components/textfield/fixtures/comp7.js +36 -0
- package/lib/mjs/components/textfield/fixtures/index.d.ts +9 -0
- package/lib/mjs/components/textfield/fixtures/index.js +9 -0
- package/lib/mjs/components/textfield/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/textfield/fixtures/values.js +5 -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/Time.form.js +15 -0
- package/lib/mjs/components/time/Time.js +142 -0
- package/lib/mjs/components/time/editForm/Time.edit.data.d.ts +10 -0
- package/lib/mjs/components/time/editForm/Time.edit.data.js +11 -0
- package/lib/mjs/components/time/editForm/Time.edit.display.d.ts +52 -0
- package/lib/mjs/components/time/editForm/Time.edit.display.js +40 -0
- package/lib/mjs/components/time/fixtures/comp1.d.ts +24 -0
- package/lib/mjs/components/time/fixtures/comp1.js +22 -0
- package/lib/mjs/components/time/fixtures/comp2.d.ts +10 -0
- package/lib/mjs/components/time/fixtures/comp2.js +9 -0
- package/lib/mjs/components/time/fixtures/comp3.d.ts +15 -0
- package/lib/mjs/components/time/fixtures/comp3.js +16 -0
- package/lib/mjs/components/time/fixtures/index.d.ts +6 -0
- package/lib/mjs/components/time/fixtures/index.js +6 -0
- package/lib/mjs/components/time/fixtures/timeForm.d.ts +47 -0
- package/lib/mjs/components/time/fixtures/timeForm.js +50 -0
- package/lib/mjs/components/time/fixtures/timeForm2.d.ts +38 -0
- package/lib/mjs/components/time/fixtures/timeForm2.js +42 -0
- package/lib/mjs/components/time/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/time/fixtures/values.js +5 -0
- package/lib/mjs/components/tree/Node.d.ts +55 -0
- package/lib/mjs/components/tree/Node.js +179 -0
- package/lib/mjs/components/tree/Tree.d.ts +47 -0
- package/lib/mjs/components/tree/Tree.form.d.ts +3 -0
- package/lib/mjs/components/tree/Tree.form.js +10 -0
- package/lib/mjs/components/tree/Tree.js +385 -0
- package/lib/mjs/components/tree/editForm/Tree.edit.data.d.ts +5 -0
- package/lib/mjs/components/tree/editForm/Tree.edit.data.js +7 -0
- package/lib/mjs/components/tree/fixtures/comp1.d.ts +23 -0
- package/lib/mjs/components/tree/fixtures/comp1.js +22 -0
- package/lib/mjs/components/tree/fixtures/comp2.d.ts +116 -0
- package/lib/mjs/components/tree/fixtures/comp2.js +80 -0
- package/lib/mjs/components/tree/fixtures/comp3.d.ts +24 -0
- package/lib/mjs/components/tree/fixtures/comp3.js +23 -0
- package/lib/mjs/components/tree/fixtures/comp4.d.ts +42 -0
- package/lib/mjs/components/tree/fixtures/comp4.js +45 -0
- package/lib/mjs/components/tree/fixtures/index.d.ts +5 -0
- package/lib/mjs/components/tree/fixtures/index.js +5 -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/Unknown.form.js +19 -0
- package/lib/mjs/components/unknown/Unknown.js +24 -0
- package/lib/mjs/components/unknown/editForm/Unknown.edit.display.d.ts +24 -0
- package/lib/mjs/components/unknown/editForm/Unknown.edit.display.js +25 -0
- package/lib/mjs/components/unknown/fixtures/comp1.d.ts +7 -0
- package/lib/mjs/components/unknown/fixtures/comp1.js +6 -0
- package/lib/mjs/components/unknown/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/unknown/fixtures/index.js +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/Url.form.js +20 -0
- package/lib/mjs/components/url/Url.js +33 -0
- package/lib/mjs/components/url/editForm/Url.edit.data.d.ts +5 -0
- package/lib/mjs/components/url/editForm/Url.edit.data.js +6 -0
- package/lib/mjs/components/url/editForm/Url.edit.display.d.ts +5 -0
- package/lib/mjs/components/url/editForm/Url.edit.display.js +18 -0
- package/lib/mjs/components/url/editForm/Url.edit.validation.d.ts +5 -0
- package/lib/mjs/components/url/editForm/Url.edit.validation.js +10 -0
- package/lib/mjs/components/url/fixtures/comp1.d.ts +26 -0
- package/lib/mjs/components/url/fixtures/comp1.js +24 -0
- package/lib/mjs/components/url/fixtures/comp2.d.ts +26 -0
- package/lib/mjs/components/url/fixtures/comp2.js +21 -0
- package/lib/mjs/components/url/fixtures/index.d.ts +3 -0
- package/lib/mjs/components/url/fixtures/index.js +3 -0
- package/lib/mjs/components/url/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/url/fixtures/values.js +4 -0
- package/lib/mjs/components/well/Well.d.ts +13 -0
- package/lib/mjs/components/well/Well.form.d.ts +3 -0
- package/lib/mjs/components/well/Well.form.js +10 -0
- package/lib/mjs/components/well/Well.js +35 -0
- package/lib/mjs/components/well/editForm/Well.edit.display.d.ts +5 -0
- package/lib/mjs/components/well/editForm/Well.edit.display.js +30 -0
- package/lib/mjs/components/well/fixtures/comp1.d.ts +43 -0
- package/lib/mjs/components/well/fixtures/comp1.js +75 -0
- package/lib/mjs/components/well/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/well/fixtures/index.js +2 -0
- package/lib/mjs/displays/Displays.d.ts +18 -0
- package/lib/mjs/displays/Displays.js +24 -0
- package/lib/mjs/displays/index.d.ts +2 -0
- package/lib/mjs/displays/index.js +2 -0
- package/lib/mjs/formio.embed.d.ts +1 -0
- package/lib/mjs/formio.embed.js +2 -0
- package/lib/mjs/formio.form.d.ts +22 -0
- package/lib/mjs/formio.form.js +138 -0
- package/lib/mjs/i18n.d.ts +13 -0
- package/lib/mjs/i18n.js +14 -0
- package/lib/mjs/index.d.ts +4 -0
- package/lib/mjs/index.js +13 -0
- package/lib/mjs/package.json +3 -0
- package/lib/mjs/pdf.image.d.ts +2 -0
- package/lib/mjs/pdf.image.js +94 -0
- package/lib/mjs/polyfills/ElementPolyfill.d.ts +0 -0
- package/lib/mjs/polyfills/ElementPolyfill.js +338 -0
- package/lib/mjs/polyfills/index.d.ts +1 -0
- package/lib/mjs/polyfills/index.js +2 -0
- package/lib/mjs/providers/Providers.d.ts +64 -0
- package/lib/mjs/providers/Providers.js +29 -0
- package/lib/mjs/providers/address/AddressProvider.d.ts +17 -0
- package/lib/mjs/providers/address/AddressProvider.js +54 -0
- package/lib/mjs/providers/address/AzureAddressProvider.d.ts +12 -0
- package/lib/mjs/providers/address/AzureAddressProvider.js +27 -0
- package/lib/mjs/providers/address/CustomAddressProvider.d.ts +7 -0
- package/lib/mjs/providers/address/CustomAddressProvider.js +22 -0
- package/lib/mjs/providers/address/GoogleAddressProvider.d.ts +18 -0
- package/lib/mjs/providers/address/GoogleAddressProvider.js +110 -0
- package/lib/mjs/providers/address/NominatimAddressProvider.d.ts +11 -0
- package/lib/mjs/providers/address/NominatimAddressProvider.js +27 -0
- package/lib/mjs/providers/address/index.d.ts +6 -0
- package/lib/mjs/providers/address/index.js +10 -0
- package/lib/mjs/providers/auth/index.d.ts +2 -0
- package/lib/mjs/providers/auth/index.js +1 -0
- package/lib/mjs/providers/index.d.ts +2 -0
- package/lib/mjs/providers/index.js +2 -0
- package/lib/mjs/providers/processor/fileProcessor.d.ts +2 -0
- package/lib/mjs/providers/processor/fileProcessor.js +39 -0
- package/lib/mjs/providers/storage/azure.d.ts +8 -0
- package/lib/mjs/providers/storage/azure.js +25 -0
- package/lib/mjs/providers/storage/base64.d.ts +10 -0
- package/lib/mjs/providers/storage/base64.js +30 -0
- package/lib/mjs/providers/storage/dropbox.d.ts +8 -0
- package/lib/mjs/providers/storage/dropbox.js +56 -0
- package/lib/mjs/providers/storage/googleDrive.d.ts +8 -0
- package/lib/mjs/providers/storage/googleDrive.js +55 -0
- package/lib/mjs/providers/storage/index.d.ts +15 -0
- package/lib/mjs/providers/storage/index.js +14 -0
- package/lib/mjs/providers/storage/indexeddb.d.ts +11 -0
- package/lib/mjs/providers/storage/indexeddb.js +119 -0
- package/lib/mjs/providers/storage/s3.d.ts +8 -0
- package/lib/mjs/providers/storage/s3.js +45 -0
- package/lib/mjs/providers/storage/uploadAdapter.d.ts +1 -0
- package/lib/mjs/providers/storage/uploadAdapter.js +55 -0
- package/lib/mjs/providers/storage/url.d.ts +11 -0
- package/lib/mjs/providers/storage/url.js +133 -0
- package/lib/mjs/providers/storage/xhr.d.ts +7 -0
- package/lib/mjs/providers/storage/xhr.js +94 -0
- package/lib/mjs/templates/Templates.d.ts +11 -0
- package/lib/mjs/templates/Templates.js +41 -0
- package/lib/mjs/templates/index.d.ts +4 -0
- package/lib/mjs/templates/index.js +4 -0
- package/lib/mjs/translations/en.d.ts +66 -0
- package/lib/mjs/translations/en.js +65 -0
- package/lib/mjs/utils/ChoicesWrapper.d.ts +37 -0
- package/lib/mjs/utils/ChoicesWrapper.js +169 -0
- package/lib/mjs/utils/Evaluator.d.ts +4 -0
- package/lib/mjs/utils/Evaluator.js +93 -0
- package/lib/mjs/utils/builder.d.ts +22 -0
- package/lib/mjs/utils/builder.js +79 -0
- package/lib/mjs/utils/calendarUtils.d.ts +41 -0
- package/lib/mjs/utils/calendarUtils.js +128 -0
- package/lib/mjs/utils/conditionOperators/ConditionOperator.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/ConditionOperator.js +23 -0
- package/lib/mjs/utils/conditionOperators/DateGreaterThan.d.ts +13 -0
- package/lib/mjs/utils/conditionOperators/DateGreaterThan.js +31 -0
- package/lib/mjs/utils/conditionOperators/DateGreaterThanOrEqual.d.ts +4 -0
- package/lib/mjs/utils/conditionOperators/DateGreaterThanOrEqual.js +12 -0
- package/lib/mjs/utils/conditionOperators/DateLessThan.d.ts +4 -0
- package/lib/mjs/utils/conditionOperators/DateLessThan.js +12 -0
- package/lib/mjs/utils/conditionOperators/DateLessThanOrEqual.d.ts +4 -0
- package/lib/mjs/utils/conditionOperators/DateLessThanOrEqual.js +12 -0
- package/lib/mjs/utils/conditionOperators/EndsWith.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/EndsWith.js +13 -0
- package/lib/mjs/utils/conditionOperators/GreaterThan.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/GreaterThan.js +13 -0
- package/lib/mjs/utils/conditionOperators/GreaterThanOrEqual.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/GreaterThanOrEqual.js +13 -0
- package/lib/mjs/utils/conditionOperators/Includes.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/Includes.js +13 -0
- package/lib/mjs/utils/conditionOperators/IsDateEqual.d.ts +4 -0
- package/lib/mjs/utils/conditionOperators/IsDateEqual.js +12 -0
- package/lib/mjs/utils/conditionOperators/IsEmptyValue.d.ts +9 -0
- package/lib/mjs/utils/conditionOperators/IsEmptyValue.js +24 -0
- package/lib/mjs/utils/conditionOperators/IsEqualTo.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/IsEqualTo.js +24 -0
- package/lib/mjs/utils/conditionOperators/IsNotDateEqual.d.ts +4 -0
- package/lib/mjs/utils/conditionOperators/IsNotDateEqual.js +12 -0
- package/lib/mjs/utils/conditionOperators/IsNotEmptyValue.d.ts +4 -0
- package/lib/mjs/utils/conditionOperators/IsNotEmptyValue.js +12 -0
- package/lib/mjs/utils/conditionOperators/IsNotEqualTo.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/IsNotEqualTo.js +13 -0
- package/lib/mjs/utils/conditionOperators/LessThan.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/LessThan.js +13 -0
- package/lib/mjs/utils/conditionOperators/LessThanOrEqual.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/LessThanOrEqual.js +13 -0
- package/lib/mjs/utils/conditionOperators/NotIncludes.d.ts +4 -0
- package/lib/mjs/utils/conditionOperators/NotIncludes.js +12 -0
- package/lib/mjs/utils/conditionOperators/StartsWith.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/StartsWith.js +13 -0
- package/lib/mjs/utils/conditionOperators/index.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/index.js +39 -0
- package/lib/mjs/utils/formUtils.d.ts +173 -0
- package/lib/mjs/utils/formUtils.js +560 -0
- package/lib/mjs/utils/index.d.ts +2 -0
- package/lib/mjs/utils/index.js +5 -0
- package/lib/mjs/utils/jsonlogic/operators.d.ts +1 -0
- package/lib/mjs/utils/jsonlogic/operators.js +262 -0
- package/lib/mjs/utils/utils.d.ts +364 -0
- package/lib/mjs/utils/utils.js +1368 -0
- package/lib/mjs/validator/Rules.d.ts +8 -0
- package/lib/mjs/validator/Rules.js +17 -0
- package/lib/mjs/validator/Validator.d.ts +200 -0
- package/lib/mjs/validator/Validator.js +1081 -0
- package/lib/mjs/validator/conjunctions/index.d.ts +7 -0
- package/lib/mjs/validator/conjunctions/index.js +16 -0
- package/lib/mjs/validator/operators/index.d.ts +7 -0
- package/lib/mjs/validator/operators/index.js +16 -0
- package/lib/mjs/validator/quickRules/index.d.ts +7 -0
- package/lib/mjs/validator/quickRules/index.js +16 -0
- package/lib/mjs/validator/rules/Custom.d.ts +6 -0
- package/lib/mjs/validator/rules/Custom.js +22 -0
- package/lib/mjs/validator/rules/Date.d.ts +6 -0
- package/lib/mjs/validator/rules/Date.js +17 -0
- package/lib/mjs/validator/rules/Day.d.ts +6 -0
- package/lib/mjs/validator/rules/Day.js +50 -0
- package/lib/mjs/validator/rules/Email.d.ts +6 -0
- package/lib/mjs/validator/rules/Email.js +16 -0
- package/lib/mjs/validator/rules/JSON.d.ts +6 -0
- package/lib/mjs/validator/rules/JSON.js +21 -0
- package/lib/mjs/validator/rules/Mask.d.ts +1 -0
- package/lib/mjs/validator/rules/Mask.js +23 -0
- package/lib/mjs/validator/rules/Max.d.ts +6 -0
- package/lib/mjs/validator/rules/Max.js +13 -0
- package/lib/mjs/validator/rules/MaxDate.d.ts +1 -0
- package/lib/mjs/validator/rules/MaxDate.js +25 -0
- package/lib/mjs/validator/rules/MaxLength.d.ts +6 -0
- package/lib/mjs/validator/rules/MaxLength.js +12 -0
- package/lib/mjs/validator/rules/MaxWords.d.ts +6 -0
- package/lib/mjs/validator/rules/MaxWords.js +12 -0
- package/lib/mjs/validator/rules/MaxYear.d.ts +6 -0
- package/lib/mjs/validator/rules/MaxYear.js +14 -0
- package/lib/mjs/validator/rules/Min.d.ts +6 -0
- package/lib/mjs/validator/rules/Min.js +13 -0
- package/lib/mjs/validator/rules/MinDate.d.ts +1 -0
- package/lib/mjs/validator/rules/MinDate.js +21 -0
- package/lib/mjs/validator/rules/MinLength.d.ts +6 -0
- package/lib/mjs/validator/rules/MinLength.js +12 -0
- package/lib/mjs/validator/rules/MinWords.d.ts +6 -0
- package/lib/mjs/validator/rules/MinWords.js +12 -0
- package/lib/mjs/validator/rules/MinYear.d.ts +6 -0
- package/lib/mjs/validator/rules/MinYear.js +14 -0
- package/lib/mjs/validator/rules/Pattern.d.ts +6 -0
- package/lib/mjs/validator/rules/Pattern.js +12 -0
- package/lib/mjs/validator/rules/Required.d.ts +6 -0
- package/lib/mjs/validator/rules/Required.js +9 -0
- package/lib/mjs/validator/rules/Rule.d.ts +8 -0
- package/lib/mjs/validator/rules/Rule.js +10 -0
- package/lib/mjs/validator/rules/Select.d.ts +1 -0
- package/lib/mjs/validator/rules/Select.js +87 -0
- package/lib/mjs/validator/rules/Time.d.ts +1 -0
- package/lib/mjs/validator/rules/Time.js +10 -0
- package/lib/mjs/validator/rules/Unique.d.ts +1 -0
- package/lib/mjs/validator/rules/Unique.js +61 -0
- package/lib/mjs/validator/rules/Url.d.ts +6 -0
- package/lib/mjs/validator/rules/Url.js +15 -0
- package/lib/mjs/validator/rules/index.d.ts +23 -0
- package/lib/mjs/validator/rules/index.js +47 -0
- package/lib/mjs/validator/transformers/index.d.ts +7 -0
- package/lib/mjs/validator/transformers/index.js +16 -0
- package/lib/mjs/validator/valueSources/index.d.ts +7 -0
- package/lib/mjs/validator/valueSources/index.js +16 -0
- package/lib/mjs/widgets/CalendarWidget.d.ts +96 -0
- package/lib/mjs/widgets/CalendarWidget.js +457 -0
- package/lib/mjs/widgets/InputWidget.d.ts +24 -0
- package/lib/mjs/widgets/InputWidget.js +69 -0
- package/lib/mjs/widgets/index.d.ts +7 -0
- package/lib/mjs/widgets/index.js +6 -0
- package/package.json +178 -0
- package/types/builders.d.ts +7 -0
- package/types/components/_classes/component/component.d.ts +174 -0
- package/types/components/_classes/componentmodal/componentmodal.d.ts +31 -0
- package/types/components/_classes/field/field.d.ts +5 -0
- package/types/components/_classes/input/input.d.ts +30 -0
- package/types/components/_classes/multivalue/multivalue.d.ts +16 -0
- package/types/components/_classes/nested/nestedComponent.d.ts +61 -0
- package/types/components/_classes/widgetcomponent/widgetComponent.d.ts +6 -0
- package/types/components/components.d.ts +69 -0
- package/types/components/schema.d.ts +240 -0
- package/types/displays.d.ts +7 -0
- package/types/element.d.ts +45 -0
- package/types/eventEmitter.d.ts +3 -0
- package/types/form.d.ts +18 -0
- package/types/formbuilder.d.ts +6 -0
- package/types/formio.d.ts +119 -0
- package/types/index.d.ts +17 -0
- package/types/providers.d.ts +8 -0
- package/types/rulesEngine/conjunctions.d.ts +7 -0
- package/types/rulesEngine/operators.d.ts +7 -0
- package/types/rulesEngine/quckRules.d.ts +7 -0
- package/types/rulesEngine/rules.d.ts +7 -0
- package/types/rulesEngine/transformers.d.ts +7 -0
- package/types/rulesEngine/valueSources.d.ts +7 -0
- package/types/templates.d.ts +8 -0
- package/types/utils.d.ts +154 -0
- package/types/widgets.d.ts +4 -0
@@ -0,0 +1,905 @@
|
|
1
|
+
import NativePromise from 'native-promise-only';
|
2
|
+
import _ from 'lodash';
|
3
|
+
import Webform from './Webform';
|
4
|
+
import { Formio } from './Formio';
|
5
|
+
import { fastCloneDeep, checkCondition, firstNonNil, uniqueKey, eachComponent } from './utils/utils';
|
6
|
+
export default class Wizard extends Webform {
|
7
|
+
/**
|
8
|
+
* Constructor for wizard based forms
|
9
|
+
* @param element Dom element to place this wizard.
|
10
|
+
* @param {Object} options Options object, supported options are:
|
11
|
+
* - breadcrumbSettings.clickable: true (default) determines if the breadcrumb bar is clickable or not
|
12
|
+
* - buttonSettings.show*(Previous, Next, Cancel): true (default) determines if the button is shown or not
|
13
|
+
* - allowPrevious: false (default) determines if the breadcrumb bar is clickable or not for visited tabs
|
14
|
+
*/
|
15
|
+
constructor() {
|
16
|
+
let element, options;
|
17
|
+
if (arguments[0] instanceof HTMLElement || arguments[1]) {
|
18
|
+
element = arguments[0];
|
19
|
+
options = arguments[1] || {};
|
20
|
+
}
|
21
|
+
else {
|
22
|
+
options = arguments[0] || {};
|
23
|
+
}
|
24
|
+
options.display = 'wizard';
|
25
|
+
super(element, options);
|
26
|
+
this.pages = [];
|
27
|
+
this.prefixComps = [];
|
28
|
+
this.suffixComps = [];
|
29
|
+
this.components = [];
|
30
|
+
this.originalComponents = [];
|
31
|
+
this.page = 0;
|
32
|
+
this.currentPanel = null;
|
33
|
+
this.currentPanels = null;
|
34
|
+
this.currentNextPage = 0;
|
35
|
+
this._seenPages = [0];
|
36
|
+
this.subWizards = [];
|
37
|
+
this.allPages = [];
|
38
|
+
this.lastPromise = NativePromise.resolve();
|
39
|
+
this.enabledIndex = 0;
|
40
|
+
this.editMode = false;
|
41
|
+
this.originalOptions = _.cloneDeep(this.options);
|
42
|
+
}
|
43
|
+
isLastPage() {
|
44
|
+
const next = this.getNextPage();
|
45
|
+
if (_.isNumber(next)) {
|
46
|
+
return next === -1;
|
47
|
+
}
|
48
|
+
return _.isNull(next);
|
49
|
+
}
|
50
|
+
getPages(args = {}) {
|
51
|
+
const { all = false } = args;
|
52
|
+
const pages = this.hasExtraPages ? this.components : this.pages;
|
53
|
+
const filteredPages = pages
|
54
|
+
.filter(all ? _.identity : (p, index) => this._seenPages.includes(index));
|
55
|
+
return filteredPages;
|
56
|
+
}
|
57
|
+
get hasExtraPages() {
|
58
|
+
return !_.isEmpty(this.subWizards);
|
59
|
+
}
|
60
|
+
get data() {
|
61
|
+
return super.data;
|
62
|
+
}
|
63
|
+
get localData() {
|
64
|
+
return this.pages[this.page]?.root?.submission.data || this.submission.data;
|
65
|
+
}
|
66
|
+
checkConditions(data, flags, row) {
|
67
|
+
const visible = super.checkConditions(data, flags, row);
|
68
|
+
this.establishPages(data);
|
69
|
+
return visible;
|
70
|
+
}
|
71
|
+
set data(value) {
|
72
|
+
this._data = value;
|
73
|
+
_.each(this.getPages({ all: true }), (component) => {
|
74
|
+
component.data = this.componentContext(component);
|
75
|
+
});
|
76
|
+
}
|
77
|
+
getComponents() {
|
78
|
+
return this.submitting
|
79
|
+
? this.getPages({ all: this.isLastPage() })
|
80
|
+
: super.getComponents();
|
81
|
+
}
|
82
|
+
resetValue() {
|
83
|
+
this.getPages({ all: true }).forEach((page) => page.resetValue());
|
84
|
+
this.setPristine(true);
|
85
|
+
}
|
86
|
+
init() {
|
87
|
+
// Check for and initlize button settings object
|
88
|
+
this.options.buttonSettings = _.defaults(this.options.buttonSettings, {
|
89
|
+
showPrevious: true,
|
90
|
+
showNext: true,
|
91
|
+
showSubmit: true,
|
92
|
+
showCancel: !this.options.readOnly
|
93
|
+
});
|
94
|
+
if (!this.isSecondInit) {
|
95
|
+
this.isClickableDefined = this.options?.breadcrumbSettings?.hasOwnProperty('clickable');
|
96
|
+
this.isSecondInit = true;
|
97
|
+
}
|
98
|
+
this.options.breadcrumbSettings = _.defaults(this.options.breadcrumbSettings, {
|
99
|
+
clickable: true
|
100
|
+
});
|
101
|
+
this.options.allowPrevious = this.options.allowPrevious || false;
|
102
|
+
this.page = 0;
|
103
|
+
const onReady = super.init();
|
104
|
+
this.setComponentSchema();
|
105
|
+
if (this.pages?.[this.page]) {
|
106
|
+
this.component = this.pages[this.page].component;
|
107
|
+
}
|
108
|
+
this.on('subWizardsUpdated', (subForm) => {
|
109
|
+
const subWizard = this.subWizards.find(subWizard => subForm?.id && subWizard.subForm?.id === subForm?.id);
|
110
|
+
if (this.subWizards.length && subWizard) {
|
111
|
+
subWizard.subForm.setValue(subForm._submission, {}, true);
|
112
|
+
this.establishPages();
|
113
|
+
this.redraw();
|
114
|
+
}
|
115
|
+
});
|
116
|
+
return onReady;
|
117
|
+
}
|
118
|
+
get wizardKey() {
|
119
|
+
return `wizard-${this.id}`;
|
120
|
+
}
|
121
|
+
get wizard() {
|
122
|
+
return this.form;
|
123
|
+
}
|
124
|
+
set wizard(form) {
|
125
|
+
this.setForm(form);
|
126
|
+
}
|
127
|
+
get buttons() {
|
128
|
+
const buttons = {};
|
129
|
+
[
|
130
|
+
{ name: 'cancel', method: 'cancel' },
|
131
|
+
{ name: 'previous', method: 'prevPage' },
|
132
|
+
{ name: 'next', method: 'nextPage' },
|
133
|
+
{ name: 'submit', method: 'submit' }
|
134
|
+
].forEach((button) => {
|
135
|
+
if (this.hasButton(button.name)) {
|
136
|
+
buttons[button.name] = button;
|
137
|
+
}
|
138
|
+
});
|
139
|
+
return buttons;
|
140
|
+
}
|
141
|
+
get buttonOrder() {
|
142
|
+
const defaultButtonOrder = [
|
143
|
+
'cancel',
|
144
|
+
'previous',
|
145
|
+
'next',
|
146
|
+
'submit'
|
147
|
+
];
|
148
|
+
return this.options.properties?.wizardButtonOrder?.toLowerCase().split(', ') ?? defaultButtonOrder;
|
149
|
+
}
|
150
|
+
get renderContext() {
|
151
|
+
return {
|
152
|
+
disableWizardSubmit: this.form.disableWizardSubmit,
|
153
|
+
wizardKey: this.wizardKey,
|
154
|
+
isBreadcrumbClickable: this.isBreadcrumbClickable(),
|
155
|
+
isSubForm: !!this.parent && !this.root?.component?.type === 'wizard',
|
156
|
+
panels: this.allPages.length ? this.allPages.map(page => page.component) : this.pages.map(page => page.component),
|
157
|
+
buttons: this.buttons,
|
158
|
+
currentPage: this.page,
|
159
|
+
buttonOrder: this.buttonOrder,
|
160
|
+
};
|
161
|
+
}
|
162
|
+
prepareNavigationSettings(ctx) {
|
163
|
+
const currentPanel = this.currentPanel;
|
164
|
+
if (currentPanel && currentPanel.buttonSettings) {
|
165
|
+
Object.keys(currentPanel.buttonSettings).forEach(() => {
|
166
|
+
Object.keys(ctx.buttons).forEach(key => {
|
167
|
+
if (typeof currentPanel.buttonSettings[key] !== 'undefined' && !currentPanel.buttonSettings[key] || ctx.isSubForm) {
|
168
|
+
ctx.buttons[key] = null;
|
169
|
+
}
|
170
|
+
});
|
171
|
+
});
|
172
|
+
}
|
173
|
+
return this.renderTemplate('wizardNav', ctx);
|
174
|
+
}
|
175
|
+
prepareHeaderSettings(ctx, headerType) {
|
176
|
+
if (this.currentPanel && this.currentPanel.breadcrumb === 'none' || ctx.isSubForm) {
|
177
|
+
return null;
|
178
|
+
}
|
179
|
+
return this.renderTemplate(headerType, ctx);
|
180
|
+
}
|
181
|
+
render() {
|
182
|
+
const ctx = this.renderContext;
|
183
|
+
if (this.component.key) {
|
184
|
+
ctx.panels.map(panel => {
|
185
|
+
if (panel.key === this.component.key) {
|
186
|
+
this.currentPanel = panel;
|
187
|
+
ctx.wizardPageTooltip = this.getFormattedTooltip(panel.tooltip);
|
188
|
+
}
|
189
|
+
});
|
190
|
+
}
|
191
|
+
const wizardNav = this.prepareNavigationSettings(ctx);
|
192
|
+
const wizardHeaderType = `wizardHeader${_.get(this.form, 'settings.wizardHeaderType', '')}`;
|
193
|
+
const wizardHeaderLocation = _.get(this.form, 'settings.wizardHeaderLocation', 'left');
|
194
|
+
const wizardHeader = this.prepareHeaderSettings(ctx, wizardHeaderType);
|
195
|
+
return this.renderTemplate('wizard', {
|
196
|
+
...ctx,
|
197
|
+
className: super.getClassName(),
|
198
|
+
wizardHeader,
|
199
|
+
wizardHeaderType,
|
200
|
+
wizardHeaderLocation,
|
201
|
+
wizardNav,
|
202
|
+
components: this.renderComponents([
|
203
|
+
...this.prefixComps,
|
204
|
+
...this.currentPage.components,
|
205
|
+
...this.suffixComps
|
206
|
+
]),
|
207
|
+
}, this.builderMode ? 'builder' : 'form');
|
208
|
+
}
|
209
|
+
redrawNavigation() {
|
210
|
+
if (this.element) {
|
211
|
+
let navElement = this.element.querySelector(`#${this.wizardKey}-nav`);
|
212
|
+
if (navElement) {
|
213
|
+
this.detachNav();
|
214
|
+
navElement.outerHTML = this.renderTemplate('wizardNav', this.renderContext);
|
215
|
+
navElement = this.element.querySelector(`#${this.wizardKey}-nav`);
|
216
|
+
this.loadRefs(navElement, {
|
217
|
+
[`${this.wizardKey}-cancel`]: 'single',
|
218
|
+
[`${this.wizardKey}-previous`]: 'single',
|
219
|
+
[`${this.wizardKey}-next`]: 'single',
|
220
|
+
[`${this.wizardKey}-submit`]: 'single',
|
221
|
+
});
|
222
|
+
this.attachNav();
|
223
|
+
}
|
224
|
+
}
|
225
|
+
}
|
226
|
+
redrawHeader() {
|
227
|
+
if (this.element) {
|
228
|
+
let headerElement = this.element.querySelector(`#${this.wizardKey}-header`);
|
229
|
+
if (headerElement) {
|
230
|
+
this.detachHeader();
|
231
|
+
headerElement.outerHTML = this.renderTemplate(`wizardHeader${_.get(this.form, 'settings.wizardHeaderType', '')}`, this.renderContext);
|
232
|
+
headerElement = this.element.querySelector(`#${this.wizardKey}-header`);
|
233
|
+
this.loadRefs(headerElement, {
|
234
|
+
[`${this.wizardKey}-link`]: 'multiple',
|
235
|
+
[`${this.wizardKey}-tooltip`]: 'multiple'
|
236
|
+
});
|
237
|
+
this.attachHeader();
|
238
|
+
}
|
239
|
+
}
|
240
|
+
}
|
241
|
+
attach(element) {
|
242
|
+
this.setElement(element);
|
243
|
+
this.loadRefs(element, {
|
244
|
+
[this.wizardKey]: 'single',
|
245
|
+
[`${this.wizardKey}-header`]: 'single',
|
246
|
+
[`${this.wizardKey}-cancel`]: 'single',
|
247
|
+
[`${this.wizardKey}-previous`]: 'single',
|
248
|
+
[`${this.wizardKey}-next`]: 'single',
|
249
|
+
[`${this.wizardKey}-submit`]: 'single',
|
250
|
+
[`${this.wizardKey}-link`]: 'multiple',
|
251
|
+
[`${this.wizardKey}-tooltip`]: 'multiple'
|
252
|
+
});
|
253
|
+
if ((this.options.readOnly || this.editMode) && !this.enabledIndex) {
|
254
|
+
this.enabledIndex = this.pages?.length - 1;
|
255
|
+
}
|
256
|
+
this.hook('attachWebform', element, this);
|
257
|
+
const promises = this.attachComponents(this.refs[this.wizardKey], [
|
258
|
+
...this.prefixComps,
|
259
|
+
...this.currentPage.components,
|
260
|
+
...this.suffixComps,
|
261
|
+
]);
|
262
|
+
this.attachNav();
|
263
|
+
this.attachHeader();
|
264
|
+
return promises.then(() => {
|
265
|
+
this.emit('render', { component: this.currentPage, page: this.page });
|
266
|
+
if (this.component.scrollToTop) {
|
267
|
+
this.scrollPageToTop();
|
268
|
+
}
|
269
|
+
});
|
270
|
+
}
|
271
|
+
scrollPageToTop() {
|
272
|
+
const pageTop = this.refs[`${this.wizardKey}-header`] ?? this.refs[this.wizardKey];
|
273
|
+
if (!pageTop) {
|
274
|
+
return;
|
275
|
+
}
|
276
|
+
if ('scrollIntoView' in pageTop) {
|
277
|
+
pageTop.scrollIntoView(true);
|
278
|
+
}
|
279
|
+
else {
|
280
|
+
this.scrollIntoView(pageTop);
|
281
|
+
}
|
282
|
+
}
|
283
|
+
isBreadcrumbClickable() {
|
284
|
+
let currentPage = null;
|
285
|
+
this.pages.map(page => {
|
286
|
+
if (_.isEqual(this.currentPage.component, page.component)) {
|
287
|
+
currentPage = page;
|
288
|
+
}
|
289
|
+
});
|
290
|
+
return this.isClickableDefined ? this.options.breadcrumbSettings.clickable : _.get(currentPage, 'component.breadcrumbClickable', true);
|
291
|
+
}
|
292
|
+
isAllowPrevious() {
|
293
|
+
let currentPage = null;
|
294
|
+
this.pages.map(page => {
|
295
|
+
if (_.isEqual(this.currentPage.component, page.component)) {
|
296
|
+
currentPage = page;
|
297
|
+
}
|
298
|
+
});
|
299
|
+
return _.get(currentPage.component, 'allowPrevious', this.options.allowPrevious);
|
300
|
+
}
|
301
|
+
handleNaviageteOnEnter(event) {
|
302
|
+
if (event.keyCode === 13) {
|
303
|
+
const clickEvent = new CustomEvent('click');
|
304
|
+
const buttonElement = this.refs[`${this.wizardKey}-${this.buttons.next.name}`];
|
305
|
+
if (buttonElement) {
|
306
|
+
buttonElement.dispatchEvent(clickEvent);
|
307
|
+
}
|
308
|
+
}
|
309
|
+
}
|
310
|
+
handleSaveOnEnter(event) {
|
311
|
+
if (event.keyCode === 13) {
|
312
|
+
const clickEvent = new CustomEvent('click');
|
313
|
+
const buttonElement = this.refs[`${this.wizardKey}-${this.buttons.submit.name}`];
|
314
|
+
if (buttonElement) {
|
315
|
+
buttonElement.dispatchEvent(clickEvent);
|
316
|
+
}
|
317
|
+
}
|
318
|
+
}
|
319
|
+
attachNav() {
|
320
|
+
if (this.component.navigateOnEnter) {
|
321
|
+
this.addEventListener(document, 'keyup', this.handleNaviageteOnEnter.bind(this));
|
322
|
+
}
|
323
|
+
if (this.component.saveOnEnter) {
|
324
|
+
this.addEventListener(document, 'keyup', this.handleSaveOnEnter.bind(this));
|
325
|
+
}
|
326
|
+
_.each(this.buttons, (button) => {
|
327
|
+
const buttonElement = this.refs[`${this.wizardKey}-${button.name}`];
|
328
|
+
this.addEventListener(buttonElement, 'click', (event) => {
|
329
|
+
event.preventDefault();
|
330
|
+
// Disable the button until done.
|
331
|
+
buttonElement.setAttribute('disabled', 'disabled');
|
332
|
+
this.setLoading(buttonElement, true);
|
333
|
+
// Call the button method, then re-enable the button.
|
334
|
+
this[button.method]().then(() => {
|
335
|
+
buttonElement.removeAttribute('disabled');
|
336
|
+
this.setLoading(buttonElement, false);
|
337
|
+
}).catch(() => {
|
338
|
+
buttonElement.removeAttribute('disabled');
|
339
|
+
this.setLoading(buttonElement, false);
|
340
|
+
});
|
341
|
+
});
|
342
|
+
});
|
343
|
+
}
|
344
|
+
emitWizardPageSelected(index) {
|
345
|
+
this.emit('wizardPageSelected', this.pages[index], index);
|
346
|
+
}
|
347
|
+
attachHeader() {
|
348
|
+
const isAllowPrevious = this.isAllowPrevious();
|
349
|
+
this.attachTooltips(this.refs[`${this.wizardKey}-tooltip`], this.currentPanel.tooltip);
|
350
|
+
if (this.isBreadcrumbClickable() || isAllowPrevious) {
|
351
|
+
this.refs[`${this.wizardKey}-link`]?.forEach((link, index) => {
|
352
|
+
if (!isAllowPrevious || index <= this.enabledIndex) {
|
353
|
+
this.addEventListener(link, 'click', (event) => {
|
354
|
+
this.emit('wizardNavigationClicked', this.pages[index]);
|
355
|
+
event.preventDefault();
|
356
|
+
return this.setPage(index).then(() => {
|
357
|
+
this.emitWizardPageSelected(index);
|
358
|
+
});
|
359
|
+
});
|
360
|
+
}
|
361
|
+
});
|
362
|
+
}
|
363
|
+
}
|
364
|
+
detachNav() {
|
365
|
+
if (this.component.navigateOnEnter) {
|
366
|
+
this.removeEventListener(document, 'keyup', this.handleNaviageteOnEnter.bind(this));
|
367
|
+
}
|
368
|
+
if (this.component.saveOnEnter) {
|
369
|
+
this.removeEventListener(document, 'keyup', this.handleSaveOnEnter.bind(this));
|
370
|
+
}
|
371
|
+
_.each(this.buttons, (button) => {
|
372
|
+
this.removeEventListener(this.refs[`${this.wizardKey}-${button.name}`], 'click');
|
373
|
+
});
|
374
|
+
}
|
375
|
+
detachHeader() {
|
376
|
+
if (this.refs[`${this.wizardKey}-link`]) {
|
377
|
+
this.refs[`${this.wizardKey}-link`].forEach((link) => {
|
378
|
+
this.removeEventListener(link, 'click');
|
379
|
+
});
|
380
|
+
}
|
381
|
+
}
|
382
|
+
transformPages() {
|
383
|
+
const allComponents = [];
|
384
|
+
const components = this.getSortedComponents(this);
|
385
|
+
let defferedComponents = [];
|
386
|
+
this.allPages = [];
|
387
|
+
// Get all components including all nested components and line up in the correct order
|
388
|
+
const getAllComponents = (nestedComp, compsArr, pushAllowed = true) => {
|
389
|
+
const nestedPages = [];
|
390
|
+
const dataArrayComponents = ['datagrid', 'editgrid', 'dynamicWizard'];
|
391
|
+
const currentComponents = nestedComp?.subForm ? this.getSortedComponents(nestedComp.subForm) : nestedComp?.components || [];
|
392
|
+
const visibleComponents = currentComponents.filter(comp => comp._visible);
|
393
|
+
const filteredComponents = visibleComponents.filter(comp => !dataArrayComponents.includes(comp.component.type) && (comp.type !== 'form' || comp.isNestedWizard));
|
394
|
+
const additionalComponents = currentComponents.filter(comp => comp.subForm?._form.display !== 'wizard');
|
395
|
+
let hasNested = false;
|
396
|
+
eachComponent(filteredComponents, (comp) => {
|
397
|
+
if (comp && comp.component) {
|
398
|
+
if (comp.component.type === 'panel' && comp?.parent.wizard && !getAllComponents(comp, compsArr, false)) {
|
399
|
+
if (pushAllowed) {
|
400
|
+
this.setRootPanelId(comp);
|
401
|
+
nestedPages.push(comp);
|
402
|
+
}
|
403
|
+
hasNested = true;
|
404
|
+
}
|
405
|
+
if (comp.isNestedWizard && comp.subForm) {
|
406
|
+
const hasNestedForm = getAllComponents(comp, nestedPages, pushAllowed);
|
407
|
+
if (!hasNested) {
|
408
|
+
hasNested = hasNestedForm;
|
409
|
+
}
|
410
|
+
}
|
411
|
+
}
|
412
|
+
}, true);
|
413
|
+
if (nestedComp.component.type === 'panel') {
|
414
|
+
if (!hasNested && pushAllowed) {
|
415
|
+
this.setRootPanelId(nestedComp);
|
416
|
+
compsArr.push(nestedComp);
|
417
|
+
}
|
418
|
+
if (hasNested && additionalComponents.length) {
|
419
|
+
const newComp = _.clone(nestedComp);
|
420
|
+
newComp.components = additionalComponents;
|
421
|
+
this.setRootPanelId(newComp);
|
422
|
+
defferedComponents.push(newComp);
|
423
|
+
}
|
424
|
+
}
|
425
|
+
if (pushAllowed) {
|
426
|
+
compsArr.push(...defferedComponents, ...nestedPages);
|
427
|
+
defferedComponents = [];
|
428
|
+
}
|
429
|
+
return hasNested;
|
430
|
+
};
|
431
|
+
components.forEach((component) => {
|
432
|
+
if (component.visible) {
|
433
|
+
getAllComponents(component, allComponents);
|
434
|
+
}
|
435
|
+
}, []);
|
436
|
+
// recalculate pages only for root wizards, including the situation when the wizard is in a wrapper
|
437
|
+
if (this.localRoot && this.id === this.localRoot.id) {
|
438
|
+
allComponents.forEach((comp, index) => {
|
439
|
+
comp.eachComponent((component) => {
|
440
|
+
component.page = index;
|
441
|
+
});
|
442
|
+
});
|
443
|
+
}
|
444
|
+
this.allPages = allComponents;
|
445
|
+
}
|
446
|
+
getSortedComponents({ components, originalComponents }) {
|
447
|
+
const currentComponents = [];
|
448
|
+
const currentPages = [];
|
449
|
+
if (components && components.length) {
|
450
|
+
components.map(page => {
|
451
|
+
if (page.component.type === 'panel') {
|
452
|
+
currentPages[page.component.key || page.component.title] = page;
|
453
|
+
}
|
454
|
+
});
|
455
|
+
}
|
456
|
+
originalComponents?.forEach((item) => {
|
457
|
+
if (!item.key) {
|
458
|
+
item.key = item.title;
|
459
|
+
}
|
460
|
+
if (currentPages[item.key]) {
|
461
|
+
currentComponents.push(currentPages[item.key]);
|
462
|
+
}
|
463
|
+
});
|
464
|
+
return currentComponents;
|
465
|
+
}
|
466
|
+
findRootPanel(component) {
|
467
|
+
return component.parent?.parent ? this.findRootPanel(component.parent) : component;
|
468
|
+
}
|
469
|
+
setRootPanelId(component) {
|
470
|
+
if (component.rootPanelId && component.rootPanelId !== component.id) {
|
471
|
+
return;
|
472
|
+
}
|
473
|
+
const parent = component.parent?.parent ? this.findRootPanel(component.parent) : component;
|
474
|
+
component.rootPanelId = parent.id;
|
475
|
+
}
|
476
|
+
establishPages(data = this.data) {
|
477
|
+
this.pages = [];
|
478
|
+
this.prefixComps = [];
|
479
|
+
this.suffixComps = [];
|
480
|
+
const visible = [];
|
481
|
+
const currentPages = {};
|
482
|
+
const pageOptions = {
|
483
|
+
...(_.clone(this.options)),
|
484
|
+
...(this.parent ? { root: this } : {}),
|
485
|
+
};
|
486
|
+
if (this.components && this.components.length) {
|
487
|
+
this.components.forEach(page => {
|
488
|
+
if (page.component.type === 'panel') {
|
489
|
+
currentPages[page.component.key || page.component.title] = page;
|
490
|
+
}
|
491
|
+
});
|
492
|
+
}
|
493
|
+
if (this.originalComponents) {
|
494
|
+
this.originalComponents.forEach((item) => {
|
495
|
+
if (item.type === 'panel') {
|
496
|
+
if (!item.key) {
|
497
|
+
item.key = item.title;
|
498
|
+
}
|
499
|
+
let page = currentPages[item.key];
|
500
|
+
const forceShow = this.options.show ? this.options.show[item.key] : false;
|
501
|
+
const forceHide = this.options.hide ? this.options.hide[item.key] : false;
|
502
|
+
let isVisible = !page
|
503
|
+
? checkCondition(item, data, data, this.component, this) && !item.hidden
|
504
|
+
: page.visible;
|
505
|
+
if (forceShow) {
|
506
|
+
isVisible = true;
|
507
|
+
}
|
508
|
+
else if (forceHide) {
|
509
|
+
isVisible = false;
|
510
|
+
}
|
511
|
+
if (isVisible) {
|
512
|
+
visible.push(item);
|
513
|
+
if (page) {
|
514
|
+
this.pages.push(page);
|
515
|
+
}
|
516
|
+
}
|
517
|
+
if (!page && isVisible) {
|
518
|
+
page = this.createComponent(item, pageOptions);
|
519
|
+
page.visible = isVisible;
|
520
|
+
this.pages.push(page);
|
521
|
+
page.eachComponent((component) => {
|
522
|
+
component.page = (this.pages.length - 1);
|
523
|
+
});
|
524
|
+
}
|
525
|
+
}
|
526
|
+
else if (item.type !== 'button') {
|
527
|
+
if (!this.pages.length) {
|
528
|
+
this.prefixComps.push(this.createComponent(item, pageOptions));
|
529
|
+
}
|
530
|
+
else {
|
531
|
+
this.suffixComps.push(this.createComponent(item, pageOptions));
|
532
|
+
}
|
533
|
+
}
|
534
|
+
});
|
535
|
+
}
|
536
|
+
if (this.pages.length) {
|
537
|
+
this.emit('pagesChanged');
|
538
|
+
}
|
539
|
+
this.transformPages();
|
540
|
+
if (this.allPages && this.allPages.length) {
|
541
|
+
this.updatePages();
|
542
|
+
}
|
543
|
+
return visible;
|
544
|
+
}
|
545
|
+
updatePages() {
|
546
|
+
this.pages = this.allPages;
|
547
|
+
}
|
548
|
+
addComponents() {
|
549
|
+
this.establishPages();
|
550
|
+
}
|
551
|
+
setPage(num) {
|
552
|
+
if (num === this.page) {
|
553
|
+
return NativePromise.resolve();
|
554
|
+
}
|
555
|
+
if (num >= 0 && num < this.pages.length) {
|
556
|
+
this.page = num;
|
557
|
+
this.pageFieldLogic(num);
|
558
|
+
this.getNextPage();
|
559
|
+
let parentNum = num;
|
560
|
+
if (this.hasExtraPages) {
|
561
|
+
const pageFromPages = this.pages[num];
|
562
|
+
const pageFromComponents = this.components[num];
|
563
|
+
if (!pageFromComponents || pageFromPages?.id !== pageFromComponents.id) {
|
564
|
+
parentNum = this.components.findIndex(comp => {
|
565
|
+
return comp.id === this.pages?.[parentNum]?.rootPanelId;
|
566
|
+
});
|
567
|
+
}
|
568
|
+
}
|
569
|
+
if (!this._seenPages.includes(parentNum)) {
|
570
|
+
this._seenPages = this._seenPages.concat(parentNum);
|
571
|
+
}
|
572
|
+
this.redraw().then(() => {
|
573
|
+
this.checkData(this.submission.data);
|
574
|
+
});
|
575
|
+
return NativePromise.resolve();
|
576
|
+
}
|
577
|
+
else if (!this.pages.length) {
|
578
|
+
this.redraw();
|
579
|
+
return NativePromise.resolve();
|
580
|
+
}
|
581
|
+
return NativePromise.reject('Page not found');
|
582
|
+
}
|
583
|
+
pageFieldLogic(page) {
|
584
|
+
if (this.pages?.[page]) {
|
585
|
+
// Handle field logic on pages.
|
586
|
+
this.component = this.pages[page].component;
|
587
|
+
this.originalComponent = fastCloneDeep(this.component);
|
588
|
+
this.fieldLogic(this.data);
|
589
|
+
// If disabled changed, be sure to distribute the setting.
|
590
|
+
this.disabled = this.shouldDisabled;
|
591
|
+
}
|
592
|
+
}
|
593
|
+
get currentPage() {
|
594
|
+
return (this.pages && (this.pages.length >= this.page)) ? this.pages[this.page] : { components: [] };
|
595
|
+
}
|
596
|
+
getNextPage() {
|
597
|
+
if (this.pages?.[this.page]) {
|
598
|
+
const data = this.submission.data;
|
599
|
+
const form = this.pages[this.page].component;
|
600
|
+
// Check conditional nextPage
|
601
|
+
if (form) {
|
602
|
+
const page = this.pages.length > (this.page + 1) && !this.showAllErrors ? this.page + 1 : -1;
|
603
|
+
if (form.nextPage) {
|
604
|
+
const next = this.evaluate(form.nextPage, {
|
605
|
+
next: page,
|
606
|
+
data,
|
607
|
+
page,
|
608
|
+
form
|
609
|
+
}, 'next');
|
610
|
+
if (next === null) {
|
611
|
+
this.currentNextPage = null;
|
612
|
+
return null;
|
613
|
+
}
|
614
|
+
const pageNum = parseInt(next, 10);
|
615
|
+
if (!isNaN(parseInt(pageNum, 10)) && isFinite(pageNum)) {
|
616
|
+
this.currentNextPage = pageNum;
|
617
|
+
return pageNum;
|
618
|
+
}
|
619
|
+
this.currentNextPage = this.getPageIndexByKey(next);
|
620
|
+
return this.currentNextPage;
|
621
|
+
}
|
622
|
+
this.currentNextPage = page;
|
623
|
+
return page;
|
624
|
+
}
|
625
|
+
this.currentNextPage = null;
|
626
|
+
}
|
627
|
+
return null;
|
628
|
+
}
|
629
|
+
getPreviousPage() {
|
630
|
+
return this.page - 1;
|
631
|
+
}
|
632
|
+
beforeSubmit() {
|
633
|
+
const pages = this.getPages();
|
634
|
+
return NativePromise.all(pages.map((page) => {
|
635
|
+
page.options.beforeSubmit = true;
|
636
|
+
return page.beforeSubmit();
|
637
|
+
}));
|
638
|
+
}
|
639
|
+
beforePage(next) {
|
640
|
+
return new NativePromise((resolve, reject) => {
|
641
|
+
this.hook(next ? 'beforeNext' : 'beforePrev', this.currentPage, this.submission, (err) => {
|
642
|
+
if (err) {
|
643
|
+
this.showErrors(err, true);
|
644
|
+
reject(err);
|
645
|
+
}
|
646
|
+
const form = this.currentPage;
|
647
|
+
if (form) {
|
648
|
+
form.beforePage(next).then(resolve).catch(reject);
|
649
|
+
}
|
650
|
+
else {
|
651
|
+
resolve();
|
652
|
+
}
|
653
|
+
});
|
654
|
+
});
|
655
|
+
}
|
656
|
+
emitNextPage() {
|
657
|
+
this.emit('nextPage', { page: this.page, submission: this.submission });
|
658
|
+
}
|
659
|
+
nextPage() {
|
660
|
+
// Read-only forms should not worry about validation before going to next page, nor should they submit.
|
661
|
+
if (this.options.readOnly) {
|
662
|
+
return this.beforePage(true).then(() => {
|
663
|
+
return this.setPage(this.getNextPage()).then(() => {
|
664
|
+
this.emitNextPage();
|
665
|
+
});
|
666
|
+
});
|
667
|
+
}
|
668
|
+
// Validate the form, before go to the next page
|
669
|
+
if (this.checkValidity(this.localData, true, this.localData, true)) {
|
670
|
+
this.checkData(this.submission.data);
|
671
|
+
return this.beforePage(true).then(() => {
|
672
|
+
return this.setPage(this.getNextPage()).then(() => {
|
673
|
+
if (!(this.options.readOnly || this.editMode) && this.enabledIndex < this.page) {
|
674
|
+
this.enabledIndex = this.page;
|
675
|
+
this.redraw();
|
676
|
+
}
|
677
|
+
this.emitNextPage();
|
678
|
+
});
|
679
|
+
});
|
680
|
+
}
|
681
|
+
else {
|
682
|
+
this.currentPage.components.forEach((comp) => comp.setPristine(false));
|
683
|
+
this.scrollIntoView(this.element);
|
684
|
+
return NativePromise.reject(this.showErrors([], true));
|
685
|
+
}
|
686
|
+
}
|
687
|
+
emitPrevPage() {
|
688
|
+
this.emit('prevPage', { page: this.page, submission: this.submission });
|
689
|
+
}
|
690
|
+
prevPage() {
|
691
|
+
return this.beforePage().then(() => {
|
692
|
+
return this.setPage(this.getPreviousPage()).then(() => {
|
693
|
+
this.emitPrevPage();
|
694
|
+
});
|
695
|
+
});
|
696
|
+
}
|
697
|
+
cancel(noconfirm) {
|
698
|
+
if (this.options.readOnly) {
|
699
|
+
return NativePromise.resolve();
|
700
|
+
}
|
701
|
+
if (super.cancel(noconfirm)) {
|
702
|
+
this.setPristine(true);
|
703
|
+
return this.setPage(0).then(() => {
|
704
|
+
if (this.enabledIndex) {
|
705
|
+
this.enabledIndex = 0;
|
706
|
+
}
|
707
|
+
this.onChange();
|
708
|
+
this.redraw();
|
709
|
+
return this.page;
|
710
|
+
});
|
711
|
+
}
|
712
|
+
return NativePromise.resolve();
|
713
|
+
}
|
714
|
+
getPageIndexByKey(key) {
|
715
|
+
let pageIndex = this.page;
|
716
|
+
this.pages.forEach((page, index) => {
|
717
|
+
if (page.component.key === key) {
|
718
|
+
pageIndex = index;
|
719
|
+
return false;
|
720
|
+
}
|
721
|
+
});
|
722
|
+
return pageIndex;
|
723
|
+
}
|
724
|
+
get schema() {
|
725
|
+
return this.wizard;
|
726
|
+
}
|
727
|
+
setComponentSchema() {
|
728
|
+
const pageKeys = {};
|
729
|
+
this.originalComponents = [];
|
730
|
+
this.component.components.map((item) => {
|
731
|
+
if (item.type === 'panel') {
|
732
|
+
item.key = uniqueKey(pageKeys, (item.key || 'panel'));
|
733
|
+
pageKeys[item.key] = true;
|
734
|
+
if (this.wizard.full) {
|
735
|
+
this.options.show = this.options.show || {};
|
736
|
+
this.options.show[item.key] = true;
|
737
|
+
}
|
738
|
+
else if (this.wizard.hasOwnProperty('full') && !_.isEqual(this.originalOptions.show, this.options.show)) {
|
739
|
+
this.options.show = { ...(this.originalOptions.show || {}) };
|
740
|
+
}
|
741
|
+
}
|
742
|
+
this.originalComponents.push(_.clone(item));
|
743
|
+
});
|
744
|
+
if (!Object.keys(pageKeys).length) {
|
745
|
+
const newPage = {
|
746
|
+
type: 'panel',
|
747
|
+
title: 'Page 1',
|
748
|
+
label: 'Page 1',
|
749
|
+
key: 'page1',
|
750
|
+
components: this.component.components
|
751
|
+
};
|
752
|
+
this.component.components = [newPage];
|
753
|
+
this.originalComponents.push(_.clone(newPage));
|
754
|
+
}
|
755
|
+
}
|
756
|
+
setForm(form, flags) {
|
757
|
+
if (!form) {
|
758
|
+
return;
|
759
|
+
}
|
760
|
+
return super.setForm(form, flags);
|
761
|
+
}
|
762
|
+
onSetForm(clonedForm, initialForm) {
|
763
|
+
this.component.components = (this._parentPath ? initialForm.components : clonedForm.components) || [];
|
764
|
+
this.setComponentSchema();
|
765
|
+
}
|
766
|
+
setEditMode(submission) {
|
767
|
+
if (!this.editMode && submission._id && !this.options.readOnly) {
|
768
|
+
this.editMode = true;
|
769
|
+
this.redraw();
|
770
|
+
}
|
771
|
+
}
|
772
|
+
setValue(submission, flags = {}, ignoreEstablishment) {
|
773
|
+
this._submission = submission;
|
774
|
+
if ((flags && flags.fromSubmission && (this.options.readOnly || this.editMode) && !this.isHtmlRenderMode()) ||
|
775
|
+
(flags && flags.fromSubmission && (this.prefixComps.length || this.suffixComps.length) && submission._id)) {
|
776
|
+
this._data = submission.data;
|
777
|
+
}
|
778
|
+
if (!ignoreEstablishment) {
|
779
|
+
this.establishPages(submission.data);
|
780
|
+
}
|
781
|
+
const changed = this.getPages({ all: true }).reduce((changed, page) => {
|
782
|
+
return this.setNestedValue(page, submission.data, flags, changed) || changed;
|
783
|
+
}, false);
|
784
|
+
if (changed) {
|
785
|
+
this.pageFieldLogic(this.page);
|
786
|
+
}
|
787
|
+
this.setEditMode(submission);
|
788
|
+
return changed;
|
789
|
+
}
|
790
|
+
isClickable(page, index) {
|
791
|
+
return this.page !== index && firstNonNil([
|
792
|
+
_.get(page, 'breadcrumbClickable'),
|
793
|
+
this.options.breadcrumbSettings.clickable
|
794
|
+
]);
|
795
|
+
}
|
796
|
+
hasButton(name, nextPage = this.getNextPage()) {
|
797
|
+
// get page options with global options as default values
|
798
|
+
const { previous = this.options.buttonSettings.showPrevious, cancel = this.options.buttonSettings.showCancel, submit = this.options.buttonSettings.showSubmit, next = this.options.buttonSettings.showNext } = _.get(this.currentPage, 'component.buttonSettings', {});
|
799
|
+
switch (name) {
|
800
|
+
case 'previous':
|
801
|
+
return previous && (this.getPreviousPage() > -1);
|
802
|
+
case 'next':
|
803
|
+
return next && (nextPage !== null) && (nextPage !== -1);
|
804
|
+
case 'cancel':
|
805
|
+
return cancel && !this.options.readOnly;
|
806
|
+
case 'submit':
|
807
|
+
return submit && !this.options.readOnly && ((nextPage === null) || (this.page === (this.pages.length - 1)));
|
808
|
+
default:
|
809
|
+
return true;
|
810
|
+
}
|
811
|
+
}
|
812
|
+
pageId(page) {
|
813
|
+
if (page.key) {
|
814
|
+
// Some panels have the same key....
|
815
|
+
return `${page.key}-${page.title}`;
|
816
|
+
}
|
817
|
+
else if (page.components &&
|
818
|
+
page.components.length > 0) {
|
819
|
+
return this.pageId(page.components[0]);
|
820
|
+
}
|
821
|
+
else {
|
822
|
+
return page.title;
|
823
|
+
}
|
824
|
+
}
|
825
|
+
onChange(flags, changed, modified, changes) {
|
826
|
+
super.onChange(flags, changed, modified, changes);
|
827
|
+
if (this.alert && !this.submitted) {
|
828
|
+
this.checkValidity(this.localData, false, this.localData, true);
|
829
|
+
this.showErrors([], true, true);
|
830
|
+
}
|
831
|
+
// If the pages change, need to redraw the header.
|
832
|
+
let currentPanels;
|
833
|
+
let panels;
|
834
|
+
const currentNextPage = this.currentNextPage;
|
835
|
+
if (this.hasExtraPages) {
|
836
|
+
currentPanels = this.pages.map(page => page.component.key);
|
837
|
+
this.establishPages();
|
838
|
+
panels = this.pages.map(page => page.component.key);
|
839
|
+
}
|
840
|
+
else {
|
841
|
+
currentPanels = this.currentPanels || this.pages.map(page => page.component.key);
|
842
|
+
panels = this.establishPages().map(panel => panel.key);
|
843
|
+
this.currentPanels = panels;
|
844
|
+
if (this.currentPanel?.key && this.currentPanels?.length) {
|
845
|
+
this.setPage(this.currentPanels.findIndex(panel => panel === this.currentPanel.key));
|
846
|
+
}
|
847
|
+
}
|
848
|
+
if (!_.isEqual(panels, currentPanels) || (flags && flags.fromSubmission)) {
|
849
|
+
this.redrawHeader();
|
850
|
+
}
|
851
|
+
// If the next page changes, then make sure to redraw navigation.
|
852
|
+
if (currentNextPage !== this.getNextPage()) {
|
853
|
+
this.redrawNavigation();
|
854
|
+
}
|
855
|
+
if (this.options.readOnly && (this.prefixComps.length || this.suffixComps.length)) {
|
856
|
+
this.redraw();
|
857
|
+
}
|
858
|
+
}
|
859
|
+
redraw() {
|
860
|
+
if (this.parent?.component?.modalEdit) {
|
861
|
+
return this.parent.redraw();
|
862
|
+
}
|
863
|
+
return super.redraw();
|
864
|
+
}
|
865
|
+
checkValidity(data, dirty, row, currentPageOnly) {
|
866
|
+
if (!this.checkCondition(row, data)) {
|
867
|
+
this.setCustomValidity('');
|
868
|
+
return true;
|
869
|
+
}
|
870
|
+
const components = !currentPageOnly || this.isLastPage()
|
871
|
+
? this.getComponents()
|
872
|
+
: this.currentPage.components;
|
873
|
+
return components.reduce((check, comp) => comp.checkValidity(data, dirty, row) && check, true);
|
874
|
+
}
|
875
|
+
get errors() {
|
876
|
+
if (!this.isLastPage()) {
|
877
|
+
return this.currentPage.errors;
|
878
|
+
}
|
879
|
+
return super.errors;
|
880
|
+
}
|
881
|
+
focusOnComponent(key) {
|
882
|
+
let pageIndex = 0;
|
883
|
+
const [page] = this.pages.filter((page, index) => {
|
884
|
+
let hasComponent = false;
|
885
|
+
page.getComponent(key, (comp) => {
|
886
|
+
if (comp.path === key) {
|
887
|
+
pageIndex = index;
|
888
|
+
hasComponent = true;
|
889
|
+
}
|
890
|
+
});
|
891
|
+
return hasComponent;
|
892
|
+
});
|
893
|
+
if (page && page !== this.currentPage) {
|
894
|
+
return this.setPage(pageIndex).then(() => {
|
895
|
+
this.checkValidity(this.submission.data, true, this.submission.data);
|
896
|
+
this.showErrors();
|
897
|
+
super.focusOnComponent(key);
|
898
|
+
});
|
899
|
+
}
|
900
|
+
return super.focusOnComponent(key);
|
901
|
+
}
|
902
|
+
}
|
903
|
+
Wizard.setBaseUrl = Formio.setBaseUrl;
|
904
|
+
Wizard.setApiUrl = Formio.setApiUrl;
|
905
|
+
Wizard.setAppUrl = Formio.setAppUrl;
|