@formio/js 5.0.0-rc.43 → 5.0.0-rc.45
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/formio.embed.js +1 -1
- package/dist/formio.embed.min.js +1 -1
- package/dist/formio.embed.min.js.LICENSE.txt +1 -1
- package/dist/formio.form.js +602 -580
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.form.min.js.LICENSE.txt +1 -11
- package/dist/formio.full.js +605 -583
- package/dist/formio.full.min.js +1 -1
- package/dist/formio.full.min.js.LICENSE.txt +1 -11
- package/dist/formio.js +10 -11
- package/dist/formio.min.js +1 -1
- package/dist/formio.min.js.LICENSE.txt +1 -1
- package/dist/formio.utils.js +1 -1
- package/dist/formio.utils.min.js +1 -1
- package/dist/formio.utils.min.js.LICENSE.txt +1 -1
- package/lib/cjs/CDN.d.ts +33 -0
- package/lib/cjs/Element.d.ts +257 -0
- package/lib/cjs/Element.js +2 -0
- package/lib/cjs/Embed.d.ts +60 -0
- package/lib/cjs/EventEmitter.d.ts +7 -0
- package/lib/cjs/Form.d.ts +101 -0
- package/lib/cjs/Form.js +3 -1
- package/lib/cjs/FormBuilder.d.ts +6 -0
- package/lib/cjs/Formio.d.ts +1 -0
- package/lib/cjs/PDF.d.ts +40 -0
- package/lib/cjs/PDFBuilder.d.ts +55 -0
- package/lib/cjs/Webform.d.ts +695 -0
- package/lib/cjs/Webform.js +93 -15
- package/lib/cjs/WebformBuilder.d.ts +126 -0
- package/lib/cjs/WebformBuilder.js +8 -8
- package/lib/cjs/Wizard.d.ts +106 -0
- package/lib/cjs/WizardBuilder.d.ts +50 -0
- package/lib/cjs/addons/FormioAddon.d.ts +19 -0
- package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +718 -0
- package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.form.d.ts +592 -0
- package/lib/cjs/addons/index.d.ts +628 -0
- package/lib/cjs/builders/Builders.d.ts +18 -0
- package/lib/cjs/builders/index.d.ts +2 -0
- package/lib/cjs/components/Components.d.ts +268 -0
- package/lib/cjs/components/_classes/component/Component.d.ts +846 -0
- package/lib/cjs/components/_classes/component/Component.form.d.ts +3 -0
- package/lib/cjs/components/_classes/component/Component.js +25 -8
- package/lib/cjs/components/_classes/component/editForm/Component.edit.addons.d.ts +655 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.api.d.ts +42 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.conditional.d.ts +115 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.data.d.ts +220 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.display.d.ts +166 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.layout.d.ts +44 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.logic.d.ts +373 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.validation.d.ts +144 -0
- package/lib/cjs/components/_classes/component/editForm/utils.d.ts +84 -0
- package/lib/cjs/components/_classes/component/fixtures/comp1.d.ts +33 -0
- package/lib/cjs/components/_classes/component/fixtures/comp2.d.ts +33 -0
- package/lib/cjs/components/_classes/component/fixtures/comp3.d.ts +14 -0
- package/lib/cjs/components/_classes/component/fixtures/comp4.d.ts +17 -0
- package/lib/cjs/components/_classes/component/fixtures/comp5.d.ts +26 -0
- package/lib/cjs/components/_classes/component/fixtures/index.d.ts +6 -0
- package/lib/cjs/components/_classes/componentModal/ComponentModal.d.ts +47 -0
- package/lib/cjs/components/_classes/componentModal/ComponentModal.js +5 -4
- package/lib/cjs/components/_classes/field/Field.d.ts +5 -0
- package/lib/cjs/components/_classes/input/Input.d.ts +42 -0
- package/lib/cjs/components/_classes/input/Input.js +1 -1
- package/lib/cjs/components/_classes/list/ListComponent.d.ts +18 -0
- package/lib/cjs/components/_classes/list/ListComponent.form.d.ts +3 -0
- package/lib/cjs/components/_classes/list/editForm/ListComponent.edit.data.d.ts +189 -0
- package/lib/cjs/components/_classes/multivalue/Multivalue.d.ts +29 -0
- package/lib/cjs/components/_classes/multivalue/Multivalue.js +1 -1
- package/lib/cjs/components/_classes/nested/NestedComponent.d.ts +152 -0
- package/lib/cjs/components/_classes/nested/NestedComponent.form.d.ts +3 -0
- package/lib/cjs/components/_classes/nested/NestedComponent.js +4 -2
- package/lib/cjs/components/_classes/nested/fixtures/comp1.d.ts +8 -0
- package/lib/cjs/components/_classes/nested/fixtures/comp2.d.ts +236 -0
- package/lib/cjs/components/_classes/nested/fixtures/comp3.d.ts +26 -0
- package/lib/cjs/components/_classes/nested/fixtures/index.d.ts +3 -0
- package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +17 -0
- package/lib/cjs/components/_classes/nesteddata/NestedDataComponent.d.ts +12 -0
- package/lib/cjs/components/address/Address.d.ts +66 -0
- package/lib/cjs/components/address/Address.form.d.ts +3 -0
- package/lib/cjs/components/address/editForm/Address.edit.data.d.ts +32 -0
- package/lib/cjs/components/address/editForm/Address.edit.display.d.ts +50 -0
- package/lib/cjs/components/address/editForm/Address.edit.provider.d.ts +164 -0
- package/lib/cjs/components/address/fixtures/comp1.d.ts +34 -0
- package/lib/cjs/components/address/fixtures/comp2.d.ts +62 -0
- package/lib/cjs/components/address/fixtures/comp3.d.ts +44 -0
- package/lib/cjs/components/address/fixtures/comp4.d.ts +56 -0
- package/lib/cjs/components/address/fixtures/index.d.ts +5 -0
- package/lib/cjs/components/address/fixtures/values.d.ts +22 -0
- package/lib/cjs/components/alert/Alert.d.ts +30 -0
- package/lib/cjs/components/builder.d.ts +2 -0
- package/lib/cjs/components/button/Button.d.ts +45 -0
- package/lib/cjs/components/button/Button.form.d.ts +3 -0
- package/lib/cjs/components/button/editForm/Button.edit.display.d.ts +375 -0
- package/lib/cjs/components/button/fixtures/comp1.d.ts +15 -0
- package/lib/cjs/components/button/fixtures/comp2.d.ts +25 -0
- package/lib/cjs/components/button/fixtures/comp3.d.ts +113 -0
- package/lib/cjs/components/button/fixtures/index.d.ts +4 -0
- package/lib/cjs/components/button/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/checkbox/Checkbox.d.ts +77 -0
- package/lib/cjs/components/checkbox/Checkbox.form.d.ts +3 -0
- package/lib/cjs/components/checkbox/editForm/Checkbox.edit.data.d.ts +5 -0
- package/lib/cjs/components/checkbox/editForm/Checkbox.edit.display.d.ts +76 -0
- package/lib/cjs/components/checkbox/editForm/Checkbox.edit.validation.d.ts +5 -0
- package/lib/cjs/components/checkbox/fixtures/comp1.d.ts +24 -0
- package/lib/cjs/components/checkbox/fixtures/comp2.d.ts +12 -0
- package/lib/cjs/components/checkbox/fixtures/comp3.d.ts +15 -0
- package/lib/cjs/components/checkbox/fixtures/comp4.d.ts +48 -0
- package/lib/cjs/components/checkbox/fixtures/customDefaultComponent.d.ts +25 -0
- package/lib/cjs/components/checkbox/fixtures/index.d.ts +6 -0
- package/lib/cjs/components/checkbox/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/columns/Columns.d.ts +28 -0
- package/lib/cjs/components/columns/Columns.form.d.ts +3 -0
- package/lib/cjs/components/columns/editForm/Columns.edit.display.d.ts +87 -0
- package/lib/cjs/components/columns/fixtures/comp1.d.ts +45 -0
- package/lib/cjs/components/columns/fixtures/comp2.d.ts +24 -0
- package/lib/cjs/components/columns/fixtures/comp3.d.ts +45 -0
- package/lib/cjs/components/columns/fixtures/index.d.ts +4 -0
- package/lib/cjs/components/container/Container.d.ts +16 -0
- package/lib/cjs/components/container/Container.form.d.ts +3 -0
- package/lib/cjs/components/container/editForm/Container.edit.data.d.ts +5 -0
- package/lib/cjs/components/container/editForm/Container.edit.display.d.ts +5 -0
- package/lib/cjs/components/container/fixtures/comp1.d.ts +49 -0
- package/lib/cjs/components/container/fixtures/comp2.d.ts +30 -0
- package/lib/cjs/components/container/fixtures/comp3.d.ts +77 -0
- package/lib/cjs/components/container/fixtures/comp4.d.ts +44 -0
- package/lib/cjs/components/container/fixtures/index.d.ts +5 -0
- package/lib/cjs/components/content/Content.d.ts +18 -0
- package/lib/cjs/components/content/Content.form.d.ts +3 -0
- package/lib/cjs/components/content/editForm/Content.edit.display.d.ts +18 -0
- package/lib/cjs/components/content/editForm/Content.edit.logic.d.ts +49 -0
- package/lib/cjs/components/content/fixtures/comp1.d.ts +13 -0
- package/lib/cjs/components/content/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/currency/Currency.d.ts +8 -0
- package/lib/cjs/components/currency/Currency.form.d.ts +3 -0
- package/lib/cjs/components/currency/editForm/Currency.edit.data.d.ts +29 -0
- package/lib/cjs/components/currency/editForm/Currency.edit.display.d.ts +18 -0
- package/lib/cjs/components/currency/fixtures/comp1.d.ts +31 -0
- package/lib/cjs/components/currency/fixtures/comp2.d.ts +20 -0
- package/lib/cjs/components/currency/fixtures/comp3.d.ts +13 -0
- package/lib/cjs/components/currency/fixtures/comp4.d.ts +17 -0
- package/lib/cjs/components/currency/fixtures/index.d.ts +5 -0
- package/lib/cjs/components/currency/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/datagrid/DataGrid.d.ts +82 -0
- package/lib/cjs/components/datagrid/DataGrid.form.d.ts +3 -0
- package/lib/cjs/components/datagrid/DataGrid.js +1 -1
- package/lib/cjs/components/datagrid/editForm/DataGrid.edit.data.d.ts +5 -0
- package/lib/cjs/components/datagrid/editForm/DataGrid.edit.display.d.ts +297 -0
- package/lib/cjs/components/datagrid/editForm/DataGrid.edit.validation.d.ts +20 -0
- package/lib/cjs/components/datagrid/fixtures/comp-modal-with-required-fields.d.ts +37 -0
- package/lib/cjs/components/datagrid/fixtures/comp-on-blur-validation.d.ts +0 -0
- package/lib/cjs/components/datagrid/fixtures/comp-row-groups-with-def-value.d.ts +63 -0
- package/lib/cjs/components/datagrid/fixtures/comp-with-allow-calculate-override.d.ts +54 -0
- package/lib/cjs/components/datagrid/fixtures/comp-with-collapsible-groups.d.ts +76 -0
- package/lib/cjs/components/datagrid/fixtures/comp-with-conditional-components-and-validations.d.ts +202 -0
- package/lib/cjs/components/datagrid/fixtures/comp-with-def-value.d.ts +61 -0
- package/lib/cjs/components/datagrid/fixtures/comp-with-logic.d.ts +165 -0
- package/lib/cjs/components/datagrid/fixtures/comp1.d.ts +93 -0
- package/lib/cjs/components/datagrid/fixtures/comp2.d.ts +18 -0
- package/lib/cjs/components/datagrid/fixtures/comp3.d.ts +14 -0
- package/lib/cjs/components/datagrid/fixtures/comp4.d.ts +27 -0
- package/lib/cjs/components/datagrid/fixtures/comp5.d.ts +67 -0
- package/lib/cjs/components/datagrid/fixtures/comp6.d.ts +567 -0
- package/lib/cjs/components/datagrid/fixtures/comp7.d.ts +28 -0
- package/lib/cjs/components/datagrid/fixtures/comp8.d.ts +35 -0
- package/lib/cjs/components/datagrid/fixtures/index.d.ts +17 -0
- package/lib/cjs/components/datagrid/fixtures/two-comp-with-allow-calculate-override.d.ts +54 -0
- package/lib/cjs/components/datamap/DataMap.d.ts +36 -0
- package/lib/cjs/components/datamap/DataMap.form.d.ts +3 -0
- package/lib/cjs/components/datamap/editForm/DataMap.edit.data.d.ts +5 -0
- package/lib/cjs/components/datamap/editForm/DataMap.edit.display.d.ts +32 -0
- package/lib/cjs/components/datamap/fixtures/comp1.d.ts +18 -0
- package/lib/cjs/components/datamap/fixtures/formWithConditionalPanel.d.ts +87 -0
- package/lib/cjs/components/datamap/fixtures/index.d.ts +3 -0
- package/lib/cjs/components/datetime/DateTime.d.ts +39 -0
- package/lib/cjs/components/datetime/DateTime.form.d.ts +3 -0
- package/lib/cjs/components/datetime/editForm/DateTime.edit.data.d.ts +24 -0
- package/lib/cjs/components/datetime/editForm/DateTime.edit.date.d.ts +63 -0
- package/lib/cjs/components/datetime/editForm/DateTime.edit.display.d.ts +128 -0
- package/lib/cjs/components/datetime/editForm/DateTime.edit.time.d.ts +9 -0
- package/lib/cjs/components/datetime/editForm/DateTime.edit.validation.d.ts +41 -0
- package/lib/cjs/components/datetime/fixtures/comp1.d.ts +45 -0
- package/lib/cjs/components/datetime/fixtures/comp10.d.ts +102 -0
- package/lib/cjs/components/datetime/fixtures/comp11.d.ts +58 -0
- package/lib/cjs/components/datetime/fixtures/comp12.d.ts +57 -0
- package/lib/cjs/components/datetime/fixtures/comp13.d.ts +126 -0
- package/lib/cjs/components/datetime/fixtures/comp2.d.ts +42 -0
- package/lib/cjs/components/datetime/fixtures/comp3.d.ts +51 -0
- package/lib/cjs/components/datetime/fixtures/comp5.d.ts +57 -0
- package/lib/cjs/components/datetime/fixtures/comp6.d.ts +55 -0
- package/lib/cjs/components/datetime/fixtures/comp7.d.ts +59 -0
- package/lib/cjs/components/datetime/fixtures/comp8.d.ts +59 -0
- package/lib/cjs/components/datetime/fixtures/comp9.d.ts +64 -0
- package/lib/cjs/components/datetime/fixtures/index.d.ts +13 -0
- package/lib/cjs/components/datetime/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/day/Day.d.ts +163 -0
- package/lib/cjs/components/day/Day.form.d.ts +3 -0
- package/lib/cjs/components/day/editForm/Day.edit.data.d.ts +5 -0
- package/lib/cjs/components/day/editForm/Day.edit.day.d.ts +40 -0
- package/lib/cjs/components/day/editForm/Day.edit.display.d.ts +40 -0
- package/lib/cjs/components/day/editForm/Day.edit.month.d.ts +40 -0
- package/lib/cjs/components/day/editForm/Day.edit.validation.d.ts +29 -0
- package/lib/cjs/components/day/editForm/Day.edit.year.d.ts +40 -0
- package/lib/cjs/components/day/fixtures/comp1.d.ts +46 -0
- package/lib/cjs/components/day/fixtures/comp2.d.ts +46 -0
- package/lib/cjs/components/day/fixtures/comp3.d.ts +48 -0
- package/lib/cjs/components/day/fixtures/comp4.d.ts +53 -0
- package/lib/cjs/components/day/fixtures/comp5.d.ts +29 -0
- package/lib/cjs/components/day/fixtures/comp6.d.ts +81 -0
- package/lib/cjs/components/day/fixtures/index.d.ts +7 -0
- package/lib/cjs/components/day/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/editgrid/EditGrid.d.ts +104 -0
- package/lib/cjs/components/editgrid/EditGrid.form.d.ts +3 -0
- package/lib/cjs/components/editgrid/EditGrid.js +3 -3
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.data.d.ts +18 -0
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.display.d.ts +90 -0
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.templates.d.ts +60 -0
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.validation.d.ts +29 -0
- package/lib/cjs/components/editgrid/fixtures/comp-openWhenEmpty.d.ts +34 -0
- package/lib/cjs/components/editgrid/fixtures/comp-with-basic-components.d.ts +327 -0
- package/lib/cjs/components/editgrid/fixtures/comp-with-conditions-and-openWhenEmpty.d.ts +79 -0
- package/lib/cjs/components/editgrid/fixtures/comp-with-custom-default-value.d.ts +190 -0
- package/lib/cjs/components/editgrid/fixtures/comp1.d.ts +89 -0
- package/lib/cjs/components/editgrid/fixtures/comp10.d.ts +49 -0
- package/lib/cjs/components/editgrid/fixtures/comp11.d.ts +53 -0
- package/lib/cjs/components/editgrid/fixtures/comp12.d.ts +58 -0
- package/lib/cjs/components/editgrid/fixtures/comp13.d.ts +64 -0
- package/lib/cjs/components/editgrid/fixtures/comp14.d.ts +88 -0
- package/lib/cjs/components/editgrid/fixtures/comp15.d.ts +54 -0
- package/lib/cjs/components/editgrid/fixtures/comp2.d.ts +112 -0
- package/lib/cjs/components/editgrid/fixtures/comp3.d.ts +27 -0
- package/lib/cjs/components/editgrid/fixtures/comp4.d.ts +23 -0
- package/lib/cjs/components/editgrid/fixtures/comp5.d.ts +19 -0
- package/lib/cjs/components/editgrid/fixtures/comp6.d.ts +50 -0
- package/lib/cjs/components/editgrid/fixtures/comp7.d.ts +129 -0
- package/lib/cjs/components/editgrid/fixtures/comp8.d.ts +148 -0
- package/lib/cjs/components/editgrid/fixtures/comp9.d.ts +86 -0
- package/lib/cjs/components/editgrid/fixtures/formsWithEditGridAndConditions.d.ts +919 -0
- package/lib/cjs/components/editgrid/fixtures/index.d.ts +19 -0
- package/lib/cjs/components/email/Email.d.ts +4 -0
- package/lib/cjs/components/email/Email.form.d.ts +3 -0
- package/lib/cjs/components/email/editForm/Email.edit.display.d.ts +5 -0
- package/lib/cjs/components/email/editForm/Email.edit.validation.d.ts +24 -0
- package/lib/cjs/components/email/fixtures/comp1.d.ts +26 -0
- package/lib/cjs/components/email/fixtures/comp2.d.ts +23 -0
- package/lib/cjs/components/email/fixtures/index.d.ts +3 -0
- package/lib/cjs/components/email/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/fieldset/Fieldset.d.ts +15 -0
- package/lib/cjs/components/fieldset/Fieldset.form.d.ts +3 -0
- package/lib/cjs/components/fieldset/editForm/Fieldset.edit.display.d.ts +35 -0
- package/lib/cjs/components/fieldset/fixtures/comp1.d.ts +46 -0
- package/lib/cjs/components/fieldset/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/file/File.d.ts +172 -0
- package/lib/cjs/components/file/File.form.d.ts +3 -0
- package/lib/cjs/components/file/editForm/File.edit.data.d.ts +5 -0
- package/lib/cjs/components/file/editForm/File.edit.display.d.ts +24 -0
- package/lib/cjs/components/file/editForm/File.edit.file.d.ts +361 -0
- package/lib/cjs/components/file/editForm/File.edit.validation.d.ts +5 -0
- package/lib/cjs/components/file/fixtures/comp1.d.ts +15 -0
- package/lib/cjs/components/file/fixtures/comp2.d.ts +35 -0
- package/lib/cjs/components/file/fixtures/comp3.d.ts +29 -0
- package/lib/cjs/components/file/fixtures/index.d.ts +3 -0
- package/lib/cjs/components/file/fixtures/values.d.ts +10 -0
- package/lib/cjs/components/form/Form.d.ts +94 -0
- package/lib/cjs/components/form/Form.form.d.ts +3 -0
- package/lib/cjs/components/form/Form.js +1 -1
- package/lib/cjs/components/form/editForm/Form.edit.data.d.ts +83 -0
- package/lib/cjs/components/form/editForm/Form.edit.display.d.ts +5 -0
- package/lib/cjs/components/form/editForm/Form.edit.form.d.ts +91 -0
- package/lib/cjs/components/form/fixtures/comp1.d.ts +45 -0
- package/lib/cjs/components/form/fixtures/comp2.d.ts +14 -0
- package/lib/cjs/components/form/fixtures/comp3.d.ts +187 -0
- package/lib/cjs/components/form/fixtures/comp4.d.ts +107 -0
- package/lib/cjs/components/form/fixtures/comp5.d.ts +42 -0
- package/lib/cjs/components/form/fixtures/comp6.d.ts +74 -0
- package/lib/cjs/components/form/fixtures/formModalEdit.d.ts +42 -0
- package/lib/cjs/components/form/fixtures/index.d.ts +8 -0
- package/lib/cjs/components/form/fixtures/values.d.ts +6 -0
- package/lib/cjs/components/hidden/Hidden.d.ts +26 -0
- package/lib/cjs/components/hidden/Hidden.form.d.ts +3 -0
- package/lib/cjs/components/hidden/editForm/Hidden.edit.data.d.ts +5 -0
- package/lib/cjs/components/hidden/editForm/Hidden.edit.display.d.ts +5 -0
- package/lib/cjs/components/hidden/fixtures/comp1.d.ts +18 -0
- package/lib/cjs/components/hidden/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/hidden/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/html/HTML.d.ts +19 -0
- package/lib/cjs/components/html/HTML.form.d.ts +3 -0
- package/lib/cjs/components/html/HTML.js +2 -2
- package/lib/cjs/components/html/editForm/HTML.edit.display.d.ts +77 -0
- package/lib/cjs/components/html/editForm/HTML.edit.logic.d.ts +49 -0
- package/lib/cjs/components/html/fixtures/comp1.d.ts +19 -0
- package/lib/cjs/components/html/fixtures/comp2.d.ts +21 -0
- package/lib/cjs/components/html/fixtures/comp3.d.ts +42 -0
- package/lib/cjs/components/html/fixtures/comp3.js +40 -0
- package/lib/cjs/components/html/fixtures/index.d.ts +4 -0
- package/lib/cjs/components/html/fixtures/index.js +3 -1
- package/lib/cjs/components/index.d.ts +96 -0
- package/lib/cjs/components/number/Number.d.ts +53 -0
- package/lib/cjs/components/number/Number.form.d.ts +3 -0
- package/lib/cjs/components/number/editForm/Number.edit.data.d.ts +18 -0
- package/lib/cjs/components/number/editForm/Number.edit.display.d.ts +5 -0
- package/lib/cjs/components/number/editForm/Number.edit.validation.d.ts +20 -0
- package/lib/cjs/components/number/fixtures/comp1.d.ts +33 -0
- package/lib/cjs/components/number/fixtures/comp2.d.ts +32 -0
- package/lib/cjs/components/number/fixtures/comp3.d.ts +14 -0
- package/lib/cjs/components/number/fixtures/comp4.d.ts +14 -0
- package/lib/cjs/components/number/fixtures/comp5.d.ts +20 -0
- package/lib/cjs/components/number/fixtures/comp6.d.ts +40 -0
- package/lib/cjs/components/number/fixtures/comp7.d.ts +15 -0
- package/lib/cjs/components/number/fixtures/index.d.ts +8 -0
- package/lib/cjs/components/number/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/panel/Panel.d.ts +14 -0
- package/lib/cjs/components/panel/Panel.form.d.ts +3 -0
- package/lib/cjs/components/panel/editForm/Panel.edit.conditional.d.ts +76 -0
- package/lib/cjs/components/panel/editForm/Panel.edit.display.d.ts +213 -0
- package/lib/cjs/components/panel/fixtures/comp1.d.ts +46 -0
- package/lib/cjs/components/panel/fixtures/comp2.d.ts +80 -0
- package/lib/cjs/components/panel/fixtures/index.d.ts +3 -0
- package/lib/cjs/components/password/Password.d.ts +3 -0
- package/lib/cjs/components/password/Password.form.d.ts +3 -0
- package/lib/cjs/components/password/editForm/Password.edit.data.d.ts +18 -0
- package/lib/cjs/components/password/editForm/Password.edit.display.d.ts +5 -0
- package/lib/cjs/components/password/editForm/Password.edit.validation.d.ts +5 -0
- package/lib/cjs/components/password/fixtures/comp1.d.ts +22 -0
- package/lib/cjs/components/password/fixtures/comp2.d.ts +27 -0
- package/lib/cjs/components/password/fixtures/index.d.ts +3 -0
- package/lib/cjs/components/password/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/phonenumber/PhoneNumber.d.ts +3 -0
- package/lib/cjs/components/phonenumber/PhoneNumber.form.d.ts +3 -0
- package/lib/cjs/components/phonenumber/editForm/PhoneNumber.edit.validation.d.ts +5 -0
- package/lib/cjs/components/phonenumber/fixtures/comp1.d.ts +27 -0
- package/lib/cjs/components/phonenumber/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/phonenumber/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/radio/Radio.d.ts +83 -0
- package/lib/cjs/components/radio/Radio.form.d.ts +3 -0
- package/lib/cjs/components/radio/Radio.js +29 -10
- package/lib/cjs/components/radio/editForm/Radio.edit.data.d.ts +171 -0
- package/lib/cjs/components/radio/editForm/Radio.edit.data.js +20 -0
- package/lib/cjs/components/radio/editForm/Radio.edit.display.d.ts +40 -0
- package/lib/cjs/components/radio/editForm/Radio.edit.validation.d.ts +18 -0
- package/lib/cjs/components/radio/fixtures/comp1.d.ts +28 -0
- package/lib/cjs/components/radio/fixtures/comp10.d.ts +15 -0
- package/lib/cjs/components/radio/fixtures/comp11.d.ts +35 -0
- package/lib/cjs/components/radio/fixtures/comp11.js +85 -0
- package/lib/cjs/components/radio/fixtures/comp2.d.ts +85 -0
- package/lib/cjs/components/radio/fixtures/comp3.d.ts +85 -0
- package/lib/cjs/components/radio/fixtures/comp4.d.ts +19 -0
- package/lib/cjs/components/radio/fixtures/comp5.d.ts +39 -0
- package/lib/cjs/components/radio/fixtures/comp6.d.ts +38 -0
- package/lib/cjs/components/radio/fixtures/comp7.d.ts +23 -0
- package/lib/cjs/components/radio/fixtures/comp8.d.ts +118 -0
- package/lib/cjs/components/radio/fixtures/comp9.d.ts +35 -0
- package/lib/cjs/components/radio/fixtures/index.d.ts +12 -0
- package/lib/cjs/components/radio/fixtures/index.js +3 -1
- package/lib/cjs/components/radio/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/recaptcha/ReCaptcha.d.ts +24 -0
- package/lib/cjs/components/recaptcha/ReCaptcha.form.d.ts +3 -0
- package/lib/cjs/components/recaptcha/editForm/ReCaptcha.edit.display.d.ts +46 -0
- package/lib/cjs/components/recaptcha/fixtures/comp1.d.ts +8 -0
- package/lib/cjs/components/recaptcha/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/select/Select.d.ts +149 -0
- package/lib/cjs/components/select/Select.form.d.ts +3 -0
- package/lib/cjs/components/select/Select.js +3 -0
- package/lib/cjs/components/select/editForm/Select.edit.data.d.ts +1183 -0
- package/lib/cjs/components/select/editForm/Select.edit.data.js +63 -1
- package/lib/cjs/components/select/editForm/Select.edit.display.d.ts +27 -0
- package/lib/cjs/components/select/editForm/Select.edit.validation.d.ts +30 -0
- package/lib/cjs/components/select/fixtures/comp1.d.ts +40 -0
- package/lib/cjs/components/select/fixtures/comp10.d.ts +41 -0
- package/lib/cjs/components/select/fixtures/comp11.d.ts +28 -0
- package/lib/cjs/components/select/fixtures/comp12.d.ts +53 -0
- package/lib/cjs/components/select/fixtures/comp13.d.ts +28 -0
- package/lib/cjs/components/select/fixtures/comp14.d.ts +40 -0
- package/lib/cjs/components/select/fixtures/comp15.d.ts +50 -0
- package/lib/cjs/components/select/fixtures/comp16.d.ts +34 -0
- package/lib/cjs/components/select/fixtures/comp17.d.ts +51 -0
- package/lib/cjs/components/select/fixtures/comp18.d.ts +49 -0
- package/lib/cjs/components/select/fixtures/comp19.d.ts +23 -0
- package/lib/cjs/components/select/fixtures/comp2.d.ts +41 -0
- package/lib/cjs/components/select/fixtures/comp20.d.ts +36 -0
- package/lib/cjs/components/select/fixtures/comp21.d.ts +87 -0
- package/lib/cjs/components/select/fixtures/comp3.d.ts +35 -0
- package/lib/cjs/components/select/fixtures/comp4.d.ts +103 -0
- package/lib/cjs/components/select/fixtures/comp5.d.ts +21 -0
- package/lib/cjs/components/select/fixtures/comp6.d.ts +20 -0
- package/lib/cjs/components/select/fixtures/comp7.d.ts +63 -0
- package/lib/cjs/components/select/fixtures/comp8.d.ts +72 -0
- package/lib/cjs/components/select/fixtures/comp9.d.ts +88 -0
- package/lib/cjs/components/select/fixtures/index.d.ts +22 -0
- package/lib/cjs/components/select/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/selectboxes/SelectBoxes.d.ts +51 -0
- package/lib/cjs/components/selectboxes/SelectBoxes.form.d.ts +3 -0
- package/lib/cjs/components/selectboxes/editForm/SelectBoxes.edit.validation.d.ts +9 -0
- package/lib/cjs/components/selectboxes/fixtures/comp1.d.ts +24 -0
- package/lib/cjs/components/selectboxes/fixtures/comp2.d.ts +24 -0
- package/lib/cjs/components/selectboxes/fixtures/comp3.d.ts +23 -0
- package/lib/cjs/components/selectboxes/fixtures/comp4.d.ts +66 -0
- package/lib/cjs/components/selectboxes/fixtures/comp5.d.ts +37 -0
- package/lib/cjs/components/selectboxes/fixtures/comp6.d.ts +14 -0
- package/lib/cjs/components/selectboxes/fixtures/comp7.d.ts +18 -0
- package/lib/cjs/components/selectboxes/fixtures/index.d.ts +8 -0
- package/lib/cjs/components/selectboxes/fixtures/values.d.ts +6 -0
- package/lib/cjs/components/signature/Signature.d.ts +46 -0
- package/lib/cjs/components/signature/Signature.form.d.ts +3 -0
- package/lib/cjs/components/signature/Signature.js +1 -1
- package/lib/cjs/components/signature/editForm/Signature.edit.data.d.ts +5 -0
- package/lib/cjs/components/signature/editForm/Signature.edit.display.d.ts +54 -0
- package/lib/cjs/components/signature/editForm/Signature.edit.validation.d.ts +5 -0
- package/lib/cjs/components/signature/fixtures/comp1.d.ts +30 -0
- package/lib/cjs/components/signature/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/signature/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/survey/Survey.d.ts +37 -0
- package/lib/cjs/components/survey/Survey.form.d.ts +3 -0
- package/lib/cjs/components/survey/editForm/Survey.edit.data.d.ts +45 -0
- package/lib/cjs/components/survey/editForm/Survey.edit.display.d.ts +5 -0
- package/lib/cjs/components/survey/editForm/Survey.edit.validation.d.ts +5 -0
- package/lib/cjs/components/survey/fixtures/comp1.d.ts +31 -0
- package/lib/cjs/components/survey/fixtures/comp2.d.ts +31 -0
- package/lib/cjs/components/survey/fixtures/index.d.ts +3 -0
- package/lib/cjs/components/survey/fixtures/values.d.ts +5 -0
- package/lib/cjs/components/table/Table.d.ts +23 -0
- package/lib/cjs/components/table/Table.form.d.ts +3 -0
- package/lib/cjs/components/table/editForm/Table.edit.display.d.ts +84 -0
- package/lib/cjs/components/table/fixtures/comp1.d.ts +53 -0
- package/lib/cjs/components/table/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/tabs/Tabs.d.ts +30 -0
- package/lib/cjs/components/tabs/Tabs.form.d.ts +3 -0
- package/lib/cjs/components/tabs/editForm/Tabs.edit.display.d.ts +78 -0
- package/lib/cjs/components/tabs/fixtures/comp1.d.ts +23 -0
- package/lib/cjs/components/tabs/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/tags/Tags.d.ts +41 -0
- package/lib/cjs/components/tags/Tags.form.d.ts +3 -0
- package/lib/cjs/components/tags/editForm/Tags.edit.data.d.ts +51 -0
- package/lib/cjs/components/tags/fixtures/comp1.d.ts +20 -0
- package/lib/cjs/components/tags/fixtures/comp2.d.ts +10 -0
- package/lib/cjs/components/tags/fixtures/comp3.d.ts +23 -0
- package/lib/cjs/components/tags/fixtures/comp4.d.ts +9 -0
- package/lib/cjs/components/tags/fixtures/comp5.d.ts +24 -0
- package/lib/cjs/components/tags/fixtures/comp6.d.ts +17 -0
- package/lib/cjs/components/tags/fixtures/index.d.ts +7 -0
- package/lib/cjs/components/tags/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/textarea/TextArea.d.ts +37 -0
- package/lib/cjs/components/textarea/TextArea.form.d.ts +3 -0
- package/lib/cjs/components/textarea/TextArea.js +1 -1
- package/lib/cjs/components/textarea/editForm/TextArea.edit.display.d.ts +357 -0
- package/lib/cjs/components/textarea/editForm/TextArea.edit.validation.d.ts +10 -0
- package/lib/cjs/components/textarea/fixtures/comp1.d.ts +31 -0
- package/lib/cjs/components/textarea/fixtures/comp2.d.ts +29 -0
- package/lib/cjs/components/textarea/fixtures/comp3.d.ts +27 -0
- package/lib/cjs/components/textarea/fixtures/comp4.d.ts +30 -0
- package/lib/cjs/components/textarea/fixtures/index.d.ts +5 -0
- package/lib/cjs/components/textarea/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/textfield/TextField.d.ts +64 -0
- package/lib/cjs/components/textfield/TextField.form.d.ts +3 -0
- package/lib/cjs/components/textfield/editForm/TextField.edit.data.d.ts +46 -0
- package/lib/cjs/components/textfield/editForm/TextField.edit.display.d.ts +263 -0
- package/lib/cjs/components/textfield/editForm/TextField.edit.validation.d.ts +10 -0
- package/lib/cjs/components/textfield/fixtures/comp-with-display-and-value-masks.d.ts +47 -0
- package/lib/cjs/components/textfield/fixtures/comp1.d.ts +33 -0
- package/lib/cjs/components/textfield/fixtures/comp2.d.ts +33 -0
- package/lib/cjs/components/textfield/fixtures/comp3.d.ts +33 -0
- package/lib/cjs/components/textfield/fixtures/comp4.d.ts +23 -0
- package/lib/cjs/components/textfield/fixtures/comp5.d.ts +12 -0
- package/lib/cjs/components/textfield/fixtures/comp6.d.ts +25 -0
- package/lib/cjs/components/textfield/fixtures/comp7.d.ts +37 -0
- package/lib/cjs/components/textfield/fixtures/index.d.ts +9 -0
- package/lib/cjs/components/textfield/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/time/Time.d.ts +16 -0
- package/lib/cjs/components/time/Time.form.d.ts +3 -0
- package/lib/cjs/components/time/editForm/Time.edit.data.d.ts +10 -0
- package/lib/cjs/components/time/editForm/Time.edit.display.d.ts +52 -0
- package/lib/cjs/components/time/fixtures/comp1.d.ts +24 -0
- package/lib/cjs/components/time/fixtures/comp2.d.ts +10 -0
- package/lib/cjs/components/time/fixtures/comp3.d.ts +15 -0
- package/lib/cjs/components/time/fixtures/index.d.ts +6 -0
- package/lib/cjs/components/time/fixtures/timeForm.d.ts +47 -0
- package/lib/cjs/components/time/fixtures/timeForm2.d.ts +38 -0
- package/lib/cjs/components/time/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/unknown/Unknown.d.ts +28 -0
- package/lib/cjs/components/unknown/Unknown.form.d.ts +34 -0
- package/lib/cjs/components/unknown/editForm/Unknown.edit.display.d.ts +24 -0
- package/lib/cjs/components/unknown/fixtures/comp1.d.ts +7 -0
- package/lib/cjs/components/unknown/fixtures/index.d.ts +2 -0
- package/lib/cjs/components/url/Url.d.ts +3 -0
- package/lib/cjs/components/url/Url.form.d.ts +3 -0
- package/lib/cjs/components/url/editForm/Url.edit.data.d.ts +5 -0
- package/lib/cjs/components/url/editForm/Url.edit.display.d.ts +5 -0
- package/lib/cjs/components/url/editForm/Url.edit.validation.d.ts +5 -0
- package/lib/cjs/components/url/fixtures/comp1.d.ts +26 -0
- package/lib/cjs/components/url/fixtures/comp2.d.ts +26 -0
- package/lib/cjs/components/url/fixtures/index.d.ts +3 -0
- package/lib/cjs/components/url/fixtures/values.d.ts +2 -0
- package/lib/cjs/components/well/Well.d.ts +15 -0
- package/lib/cjs/components/well/Well.form.d.ts +3 -0
- package/lib/cjs/components/well/editForm/Well.edit.display.d.ts +28 -0
- package/lib/cjs/components/well/fixtures/comp1.d.ts +43 -0
- package/lib/cjs/components/well/fixtures/index.d.ts +2 -0
- package/lib/cjs/displays/Displays.d.ts +18 -0
- package/lib/cjs/displays/index.d.ts +2 -0
- package/lib/cjs/formio.embed.d.ts +2 -0
- package/lib/cjs/formio.form.d.ts +19 -0
- package/lib/cjs/formio.form.js +5 -1
- package/lib/cjs/i18n.d.ts +13 -0
- package/lib/cjs/index.d.ts +5 -0
- package/lib/cjs/licenses/Licenses.d.ts +7 -0
- package/lib/cjs/licenses/index.d.ts +2 -0
- package/lib/cjs/pdf.image.d.ts +2 -0
- package/lib/cjs/providers/Providers.d.ts +20 -0
- package/lib/cjs/providers/address/AddressProvider.d.ts +17 -0
- package/lib/cjs/providers/address/AzureAddressProvider.d.ts +12 -0
- package/lib/cjs/providers/address/CustomAddressProvider.d.ts +7 -0
- package/lib/cjs/providers/address/GoogleAddressProvider.d.ts +18 -0
- package/lib/cjs/providers/address/NominatimAddressProvider.d.ts +11 -0
- package/lib/cjs/providers/address/index.d.ts +6 -0
- package/lib/cjs/providers/auth/index.d.ts +2 -0
- package/lib/cjs/providers/index.d.ts +2 -0
- package/lib/cjs/providers/processor/fileProcessor.d.ts +2 -0
- package/lib/cjs/providers/storage/azure.d.ts +17 -0
- package/lib/cjs/providers/storage/base64.d.ts +10 -0
- package/lib/cjs/providers/storage/dropbox.d.ts +8 -0
- package/lib/cjs/providers/storage/googleDrive.d.ts +9 -0
- package/lib/cjs/providers/storage/index.d.ts +15 -0
- package/lib/cjs/providers/storage/indexeddb.d.ts +11 -0
- package/lib/cjs/providers/storage/s3.d.ts +24 -0
- package/lib/cjs/providers/storage/s3.js +29 -1
- package/lib/cjs/providers/storage/uploadAdapter.d.ts +1 -0
- package/lib/cjs/providers/storage/url.d.ts +11 -0
- package/lib/cjs/providers/storage/util.d.ts +1 -0
- package/lib/cjs/providers/storage/xhr.d.ts +8 -0
- package/lib/cjs/templates/Templates.d.ts +2 -0
- package/lib/cjs/templates/index.d.ts +229 -0
- package/lib/cjs/translations/en.d.ts +75 -0
- package/lib/cjs/utils/ChoicesWrapper.d.ts +38 -0
- package/lib/cjs/utils/Evaluator.d.ts +4 -0
- package/lib/cjs/utils/builder.d.ts +22 -0
- package/lib/cjs/utils/calendarUtils.d.ts +41 -0
- package/lib/cjs/utils/conditionOperators/ConditionOperator.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/DateGreaterThan.d.ts +13 -0
- package/lib/cjs/utils/conditionOperators/DateGreaterThanOrEqual.d.ts +4 -0
- package/lib/cjs/utils/conditionOperators/DateLessThan.d.ts +4 -0
- package/lib/cjs/utils/conditionOperators/DateLessThanOrEqual.d.ts +4 -0
- package/lib/cjs/utils/conditionOperators/EndsWith.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/GreaterThan.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/GreaterThanOrEqual.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/Includes.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/IsDateEqual.d.ts +4 -0
- package/lib/cjs/utils/conditionOperators/IsEmptyValue.d.ts +9 -0
- package/lib/cjs/utils/conditionOperators/IsEqualTo.d.ts +9 -0
- package/lib/cjs/utils/conditionOperators/IsNotDateEqual.d.ts +4 -0
- package/lib/cjs/utils/conditionOperators/IsNotEmptyValue.d.ts +4 -0
- package/lib/cjs/utils/conditionOperators/IsNotEqualTo.d.ts +4 -0
- package/lib/cjs/utils/conditionOperators/LessThan.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/LessThanOrEqual.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/NotIncludes.d.ts +4 -0
- package/lib/cjs/utils/conditionOperators/StartsWith.d.ts +7 -0
- package/lib/cjs/utils/conditionOperators/index.d.ts +6 -0
- package/lib/cjs/utils/formUtils.d.ts +173 -0
- package/lib/cjs/utils/i18n.d.ts +16 -0
- package/lib/cjs/utils/index.d.ts +3 -0
- package/lib/cjs/utils/jsonlogic/operators.d.ts +1 -0
- package/lib/cjs/utils/utils.d.ts +377 -0
- package/lib/cjs/widgets/CalendarWidget.d.ts +97 -0
- package/lib/cjs/widgets/InputWidget.d.ts +24 -0
- package/lib/cjs/widgets/index.d.ts +7 -0
- package/lib/mjs/CDN.d.ts +33 -0
- package/lib/mjs/Element.d.ts +257 -0
- package/lib/mjs/Element.js +2 -0
- package/lib/mjs/Embed.d.ts +60 -0
- package/lib/mjs/EventEmitter.d.ts +7 -0
- package/lib/mjs/Form.d.ts +101 -0
- package/lib/mjs/Form.js +3 -1
- package/lib/mjs/FormBuilder.d.ts +6 -0
- package/lib/mjs/Formio.d.ts +1 -0
- package/lib/mjs/PDF.d.ts +40 -0
- package/lib/mjs/PDFBuilder.d.ts +55 -0
- package/lib/mjs/Webform.d.ts +695 -0
- package/lib/mjs/Webform.js +98 -16
- package/lib/mjs/WebformBuilder.d.ts +126 -0
- package/lib/mjs/WebformBuilder.js +8 -8
- package/lib/mjs/Wizard.d.ts +106 -0
- package/lib/mjs/WizardBuilder.d.ts +50 -0
- package/lib/mjs/addons/FormioAddon.d.ts +19 -0
- package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +718 -0
- package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.form.d.ts +592 -0
- package/lib/mjs/addons/index.d.ts +628 -0
- package/lib/mjs/builders/Builders.d.ts +18 -0
- package/lib/mjs/builders/index.d.ts +2 -0
- package/lib/mjs/components/Components.d.ts +268 -0
- package/lib/mjs/components/_classes/component/Component.d.ts +846 -0
- package/lib/mjs/components/_classes/component/Component.form.d.ts +3 -0
- package/lib/mjs/components/_classes/component/Component.js +25 -8
- package/lib/mjs/components/_classes/component/editForm/Component.edit.addons.d.ts +655 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.api.d.ts +42 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.conditional.d.ts +115 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.data.d.ts +220 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.display.d.ts +166 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.layout.d.ts +44 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.logic.d.ts +373 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.validation.d.ts +144 -0
- package/lib/mjs/components/_classes/component/editForm/utils.d.ts +84 -0
- package/lib/mjs/components/_classes/component/fixtures/comp1.d.ts +33 -0
- package/lib/mjs/components/_classes/component/fixtures/comp2.d.ts +33 -0
- package/lib/mjs/components/_classes/component/fixtures/comp3.d.ts +14 -0
- package/lib/mjs/components/_classes/component/fixtures/comp4.d.ts +17 -0
- package/lib/mjs/components/_classes/component/fixtures/comp5.d.ts +26 -0
- package/lib/mjs/components/_classes/component/fixtures/index.d.ts +6 -0
- package/lib/mjs/components/_classes/componentModal/ComponentModal.d.ts +47 -0
- package/lib/mjs/components/_classes/componentModal/ComponentModal.js +5 -4
- package/lib/mjs/components/_classes/field/Field.d.ts +5 -0
- package/lib/mjs/components/_classes/input/Input.d.ts +42 -0
- package/lib/mjs/components/_classes/input/Input.js +1 -1
- package/lib/mjs/components/_classes/list/ListComponent.d.ts +18 -0
- package/lib/mjs/components/_classes/list/ListComponent.form.d.ts +3 -0
- package/lib/mjs/components/_classes/list/editForm/ListComponent.edit.data.d.ts +189 -0
- package/lib/mjs/components/_classes/multivalue/Multivalue.d.ts +29 -0
- package/lib/mjs/components/_classes/multivalue/Multivalue.js +1 -1
- package/lib/mjs/components/_classes/nested/NestedComponent.d.ts +152 -0
- package/lib/mjs/components/_classes/nested/NestedComponent.form.d.ts +3 -0
- package/lib/mjs/components/_classes/nested/NestedComponent.js +4 -2
- package/lib/mjs/components/_classes/nested/fixtures/comp1.d.ts +8 -0
- package/lib/mjs/components/_classes/nested/fixtures/comp2.d.ts +236 -0
- package/lib/mjs/components/_classes/nested/fixtures/comp3.d.ts +26 -0
- package/lib/mjs/components/_classes/nested/fixtures/index.d.ts +3 -0
- package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +17 -0
- package/lib/mjs/components/_classes/nesteddata/NestedDataComponent.d.ts +12 -0
- package/lib/mjs/components/address/Address.d.ts +66 -0
- package/lib/mjs/components/address/Address.form.d.ts +3 -0
- package/lib/mjs/components/address/editForm/Address.edit.data.d.ts +32 -0
- package/lib/mjs/components/address/editForm/Address.edit.display.d.ts +50 -0
- package/lib/mjs/components/address/editForm/Address.edit.provider.d.ts +164 -0
- package/lib/mjs/components/address/fixtures/comp1.d.ts +34 -0
- package/lib/mjs/components/address/fixtures/comp2.d.ts +62 -0
- package/lib/mjs/components/address/fixtures/comp3.d.ts +44 -0
- package/lib/mjs/components/address/fixtures/comp4.d.ts +56 -0
- package/lib/mjs/components/address/fixtures/index.d.ts +5 -0
- package/lib/mjs/components/address/fixtures/values.d.ts +22 -0
- package/lib/mjs/components/alert/Alert.d.ts +30 -0
- package/lib/mjs/components/builder.d.ts +2 -0
- package/lib/mjs/components/button/Button.d.ts +45 -0
- package/lib/mjs/components/button/Button.form.d.ts +3 -0
- package/lib/mjs/components/button/editForm/Button.edit.display.d.ts +375 -0
- package/lib/mjs/components/button/fixtures/comp1.d.ts +15 -0
- package/lib/mjs/components/button/fixtures/comp2.d.ts +25 -0
- package/lib/mjs/components/button/fixtures/comp3.d.ts +113 -0
- package/lib/mjs/components/button/fixtures/index.d.ts +4 -0
- package/lib/mjs/components/button/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/checkbox/Checkbox.d.ts +77 -0
- package/lib/mjs/components/checkbox/Checkbox.form.d.ts +3 -0
- package/lib/mjs/components/checkbox/editForm/Checkbox.edit.data.d.ts +5 -0
- package/lib/mjs/components/checkbox/editForm/Checkbox.edit.display.d.ts +76 -0
- package/lib/mjs/components/checkbox/editForm/Checkbox.edit.validation.d.ts +5 -0
- package/lib/mjs/components/checkbox/fixtures/comp1.d.ts +24 -0
- package/lib/mjs/components/checkbox/fixtures/comp2.d.ts +12 -0
- package/lib/mjs/components/checkbox/fixtures/comp3.d.ts +15 -0
- package/lib/mjs/components/checkbox/fixtures/comp4.d.ts +48 -0
- package/lib/mjs/components/checkbox/fixtures/customDefaultComponent.d.ts +25 -0
- package/lib/mjs/components/checkbox/fixtures/index.d.ts +6 -0
- package/lib/mjs/components/checkbox/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/columns/Columns.d.ts +28 -0
- package/lib/mjs/components/columns/Columns.form.d.ts +3 -0
- package/lib/mjs/components/columns/editForm/Columns.edit.display.d.ts +87 -0
- package/lib/mjs/components/columns/fixtures/comp1.d.ts +45 -0
- package/lib/mjs/components/columns/fixtures/comp2.d.ts +24 -0
- package/lib/mjs/components/columns/fixtures/comp3.d.ts +45 -0
- package/lib/mjs/components/columns/fixtures/index.d.ts +4 -0
- package/lib/mjs/components/container/Container.d.ts +16 -0
- package/lib/mjs/components/container/Container.form.d.ts +3 -0
- package/lib/mjs/components/container/editForm/Container.edit.data.d.ts +5 -0
- package/lib/mjs/components/container/editForm/Container.edit.display.d.ts +5 -0
- package/lib/mjs/components/container/fixtures/comp1.d.ts +49 -0
- package/lib/mjs/components/container/fixtures/comp2.d.ts +30 -0
- package/lib/mjs/components/container/fixtures/comp3.d.ts +77 -0
- package/lib/mjs/components/container/fixtures/comp4.d.ts +44 -0
- package/lib/mjs/components/container/fixtures/index.d.ts +5 -0
- package/lib/mjs/components/content/Content.d.ts +18 -0
- package/lib/mjs/components/content/Content.form.d.ts +3 -0
- package/lib/mjs/components/content/editForm/Content.edit.display.d.ts +18 -0
- package/lib/mjs/components/content/editForm/Content.edit.logic.d.ts +49 -0
- package/lib/mjs/components/content/fixtures/comp1.d.ts +13 -0
- package/lib/mjs/components/content/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/currency/Currency.d.ts +8 -0
- package/lib/mjs/components/currency/Currency.form.d.ts +3 -0
- package/lib/mjs/components/currency/editForm/Currency.edit.data.d.ts +29 -0
- package/lib/mjs/components/currency/editForm/Currency.edit.display.d.ts +18 -0
- package/lib/mjs/components/currency/fixtures/comp1.d.ts +31 -0
- package/lib/mjs/components/currency/fixtures/comp2.d.ts +20 -0
- package/lib/mjs/components/currency/fixtures/comp3.d.ts +13 -0
- package/lib/mjs/components/currency/fixtures/comp4.d.ts +17 -0
- package/lib/mjs/components/currency/fixtures/index.d.ts +5 -0
- package/lib/mjs/components/currency/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/datagrid/DataGrid.d.ts +82 -0
- package/lib/mjs/components/datagrid/DataGrid.form.d.ts +3 -0
- package/lib/mjs/components/datagrid/DataGrid.js +1 -1
- package/lib/mjs/components/datagrid/editForm/DataGrid.edit.data.d.ts +5 -0
- package/lib/mjs/components/datagrid/editForm/DataGrid.edit.display.d.ts +297 -0
- package/lib/mjs/components/datagrid/editForm/DataGrid.edit.validation.d.ts +20 -0
- package/lib/mjs/components/datagrid/fixtures/comp-modal-with-required-fields.d.ts +37 -0
- package/lib/mjs/components/datagrid/fixtures/comp-on-blur-validation.d.ts +0 -0
- package/lib/mjs/components/datagrid/fixtures/comp-row-groups-with-def-value.d.ts +63 -0
- package/lib/mjs/components/datagrid/fixtures/comp-with-allow-calculate-override.d.ts +54 -0
- package/lib/mjs/components/datagrid/fixtures/comp-with-collapsible-groups.d.ts +76 -0
- package/lib/mjs/components/datagrid/fixtures/comp-with-conditional-components-and-validations.d.ts +202 -0
- package/lib/mjs/components/datagrid/fixtures/comp-with-def-value.d.ts +61 -0
- package/lib/mjs/components/datagrid/fixtures/comp-with-logic.d.ts +165 -0
- package/lib/mjs/components/datagrid/fixtures/comp1.d.ts +93 -0
- package/lib/mjs/components/datagrid/fixtures/comp2.d.ts +18 -0
- package/lib/mjs/components/datagrid/fixtures/comp3.d.ts +14 -0
- package/lib/mjs/components/datagrid/fixtures/comp4.d.ts +27 -0
- package/lib/mjs/components/datagrid/fixtures/comp5.d.ts +67 -0
- package/lib/mjs/components/datagrid/fixtures/comp6.d.ts +567 -0
- package/lib/mjs/components/datagrid/fixtures/comp7.d.ts +28 -0
- package/lib/mjs/components/datagrid/fixtures/comp8.d.ts +35 -0
- package/lib/mjs/components/datagrid/fixtures/index.d.ts +17 -0
- package/lib/mjs/components/datagrid/fixtures/two-comp-with-allow-calculate-override.d.ts +54 -0
- package/lib/mjs/components/datamap/DataMap.d.ts +36 -0
- package/lib/mjs/components/datamap/DataMap.form.d.ts +3 -0
- package/lib/mjs/components/datamap/editForm/DataMap.edit.data.d.ts +5 -0
- package/lib/mjs/components/datamap/editForm/DataMap.edit.display.d.ts +32 -0
- package/lib/mjs/components/datamap/fixtures/comp1.d.ts +18 -0
- package/lib/mjs/components/datamap/fixtures/formWithConditionalPanel.d.ts +87 -0
- package/lib/mjs/components/datamap/fixtures/index.d.ts +3 -0
- package/lib/mjs/components/datetime/DateTime.d.ts +39 -0
- package/lib/mjs/components/datetime/DateTime.form.d.ts +3 -0
- package/lib/mjs/components/datetime/editForm/DateTime.edit.data.d.ts +24 -0
- package/lib/mjs/components/datetime/editForm/DateTime.edit.date.d.ts +63 -0
- package/lib/mjs/components/datetime/editForm/DateTime.edit.display.d.ts +128 -0
- package/lib/mjs/components/datetime/editForm/DateTime.edit.time.d.ts +9 -0
- package/lib/mjs/components/datetime/editForm/DateTime.edit.validation.d.ts +41 -0
- package/lib/mjs/components/datetime/fixtures/comp1.d.ts +45 -0
- package/lib/mjs/components/datetime/fixtures/comp10.d.ts +102 -0
- package/lib/mjs/components/datetime/fixtures/comp11.d.ts +58 -0
- package/lib/mjs/components/datetime/fixtures/comp12.d.ts +57 -0
- package/lib/mjs/components/datetime/fixtures/comp13.d.ts +126 -0
- package/lib/mjs/components/datetime/fixtures/comp2.d.ts +42 -0
- package/lib/mjs/components/datetime/fixtures/comp3.d.ts +51 -0
- package/lib/mjs/components/datetime/fixtures/comp5.d.ts +57 -0
- package/lib/mjs/components/datetime/fixtures/comp6.d.ts +55 -0
- package/lib/mjs/components/datetime/fixtures/comp7.d.ts +59 -0
- package/lib/mjs/components/datetime/fixtures/comp8.d.ts +59 -0
- package/lib/mjs/components/datetime/fixtures/comp9.d.ts +64 -0
- package/lib/mjs/components/datetime/fixtures/index.d.ts +13 -0
- package/lib/mjs/components/datetime/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/day/Day.d.ts +163 -0
- package/lib/mjs/components/day/Day.form.d.ts +3 -0
- package/lib/mjs/components/day/editForm/Day.edit.data.d.ts +5 -0
- package/lib/mjs/components/day/editForm/Day.edit.day.d.ts +40 -0
- package/lib/mjs/components/day/editForm/Day.edit.display.d.ts +40 -0
- package/lib/mjs/components/day/editForm/Day.edit.month.d.ts +40 -0
- package/lib/mjs/components/day/editForm/Day.edit.validation.d.ts +29 -0
- package/lib/mjs/components/day/editForm/Day.edit.year.d.ts +40 -0
- package/lib/mjs/components/day/fixtures/comp1.d.ts +46 -0
- package/lib/mjs/components/day/fixtures/comp2.d.ts +46 -0
- package/lib/mjs/components/day/fixtures/comp3.d.ts +48 -0
- package/lib/mjs/components/day/fixtures/comp4.d.ts +53 -0
- package/lib/mjs/components/day/fixtures/comp5.d.ts +29 -0
- package/lib/mjs/components/day/fixtures/comp6.d.ts +81 -0
- package/lib/mjs/components/day/fixtures/index.d.ts +7 -0
- package/lib/mjs/components/day/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/editgrid/EditGrid.d.ts +104 -0
- package/lib/mjs/components/editgrid/EditGrid.form.d.ts +3 -0
- package/lib/mjs/components/editgrid/EditGrid.js +3 -3
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.data.d.ts +18 -0
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.display.d.ts +90 -0
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.templates.d.ts +60 -0
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.validation.d.ts +29 -0
- package/lib/mjs/components/editgrid/fixtures/comp-openWhenEmpty.d.ts +34 -0
- package/lib/mjs/components/editgrid/fixtures/comp-with-basic-components.d.ts +327 -0
- package/lib/mjs/components/editgrid/fixtures/comp-with-conditions-and-openWhenEmpty.d.ts +79 -0
- package/lib/mjs/components/editgrid/fixtures/comp-with-custom-default-value.d.ts +190 -0
- package/lib/mjs/components/editgrid/fixtures/comp1.d.ts +89 -0
- package/lib/mjs/components/editgrid/fixtures/comp10.d.ts +49 -0
- package/lib/mjs/components/editgrid/fixtures/comp11.d.ts +53 -0
- package/lib/mjs/components/editgrid/fixtures/comp12.d.ts +58 -0
- package/lib/mjs/components/editgrid/fixtures/comp13.d.ts +64 -0
- package/lib/mjs/components/editgrid/fixtures/comp14.d.ts +88 -0
- package/lib/mjs/components/editgrid/fixtures/comp15.d.ts +54 -0
- package/lib/mjs/components/editgrid/fixtures/comp2.d.ts +112 -0
- package/lib/mjs/components/editgrid/fixtures/comp3.d.ts +27 -0
- package/lib/mjs/components/editgrid/fixtures/comp4.d.ts +23 -0
- package/lib/mjs/components/editgrid/fixtures/comp5.d.ts +19 -0
- package/lib/mjs/components/editgrid/fixtures/comp6.d.ts +50 -0
- package/lib/mjs/components/editgrid/fixtures/comp7.d.ts +129 -0
- package/lib/mjs/components/editgrid/fixtures/comp8.d.ts +148 -0
- package/lib/mjs/components/editgrid/fixtures/comp9.d.ts +86 -0
- package/lib/mjs/components/editgrid/fixtures/formsWithEditGridAndConditions.d.ts +919 -0
- package/lib/mjs/components/editgrid/fixtures/index.d.ts +19 -0
- package/lib/mjs/components/email/Email.d.ts +4 -0
- package/lib/mjs/components/email/Email.form.d.ts +3 -0
- package/lib/mjs/components/email/editForm/Email.edit.display.d.ts +5 -0
- package/lib/mjs/components/email/editForm/Email.edit.validation.d.ts +24 -0
- package/lib/mjs/components/email/fixtures/comp1.d.ts +26 -0
- package/lib/mjs/components/email/fixtures/comp2.d.ts +23 -0
- package/lib/mjs/components/email/fixtures/index.d.ts +3 -0
- package/lib/mjs/components/email/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/fieldset/Fieldset.d.ts +15 -0
- package/lib/mjs/components/fieldset/Fieldset.form.d.ts +3 -0
- package/lib/mjs/components/fieldset/editForm/Fieldset.edit.display.d.ts +35 -0
- package/lib/mjs/components/fieldset/fixtures/comp1.d.ts +46 -0
- package/lib/mjs/components/fieldset/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/file/File.d.ts +172 -0
- package/lib/mjs/components/file/File.form.d.ts +3 -0
- package/lib/mjs/components/file/editForm/File.edit.data.d.ts +5 -0
- package/lib/mjs/components/file/editForm/File.edit.display.d.ts +24 -0
- package/lib/mjs/components/file/editForm/File.edit.file.d.ts +361 -0
- package/lib/mjs/components/file/editForm/File.edit.validation.d.ts +5 -0
- package/lib/mjs/components/file/fixtures/comp1.d.ts +15 -0
- package/lib/mjs/components/file/fixtures/comp2.d.ts +35 -0
- package/lib/mjs/components/file/fixtures/comp3.d.ts +29 -0
- package/lib/mjs/components/file/fixtures/index.d.ts +3 -0
- package/lib/mjs/components/file/fixtures/values.d.ts +10 -0
- package/lib/mjs/components/form/Form.d.ts +94 -0
- package/lib/mjs/components/form/Form.form.d.ts +3 -0
- package/lib/mjs/components/form/Form.js +1 -1
- package/lib/mjs/components/form/editForm/Form.edit.data.d.ts +83 -0
- package/lib/mjs/components/form/editForm/Form.edit.display.d.ts +5 -0
- package/lib/mjs/components/form/editForm/Form.edit.form.d.ts +91 -0
- package/lib/mjs/components/form/fixtures/comp1.d.ts +45 -0
- package/lib/mjs/components/form/fixtures/comp2.d.ts +14 -0
- package/lib/mjs/components/form/fixtures/comp3.d.ts +187 -0
- package/lib/mjs/components/form/fixtures/comp4.d.ts +107 -0
- package/lib/mjs/components/form/fixtures/comp5.d.ts +42 -0
- package/lib/mjs/components/form/fixtures/comp6.d.ts +74 -0
- package/lib/mjs/components/form/fixtures/formModalEdit.d.ts +42 -0
- package/lib/mjs/components/form/fixtures/index.d.ts +8 -0
- package/lib/mjs/components/form/fixtures/values.d.ts +6 -0
- package/lib/mjs/components/hidden/Hidden.d.ts +26 -0
- package/lib/mjs/components/hidden/Hidden.form.d.ts +3 -0
- package/lib/mjs/components/hidden/editForm/Hidden.edit.data.d.ts +5 -0
- package/lib/mjs/components/hidden/editForm/Hidden.edit.display.d.ts +5 -0
- package/lib/mjs/components/hidden/fixtures/comp1.d.ts +18 -0
- package/lib/mjs/components/hidden/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/hidden/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/html/HTML.d.ts +19 -0
- package/lib/mjs/components/html/HTML.form.d.ts +3 -0
- package/lib/mjs/components/html/HTML.js +2 -2
- package/lib/mjs/components/html/editForm/HTML.edit.display.d.ts +77 -0
- package/lib/mjs/components/html/editForm/HTML.edit.logic.d.ts +49 -0
- package/lib/mjs/components/html/fixtures/comp1.d.ts +19 -0
- package/lib/mjs/components/html/fixtures/comp2.d.ts +21 -0
- package/lib/mjs/components/html/fixtures/comp3.d.ts +42 -0
- package/lib/mjs/components/html/fixtures/comp3.js +38 -0
- package/lib/mjs/components/html/fixtures/index.d.ts +4 -0
- package/lib/mjs/components/html/fixtures/index.js +2 -1
- package/lib/mjs/components/index.d.ts +96 -0
- package/lib/mjs/components/number/Number.d.ts +53 -0
- package/lib/mjs/components/number/Number.form.d.ts +3 -0
- package/lib/mjs/components/number/editForm/Number.edit.data.d.ts +18 -0
- package/lib/mjs/components/number/editForm/Number.edit.display.d.ts +5 -0
- package/lib/mjs/components/number/editForm/Number.edit.validation.d.ts +20 -0
- package/lib/mjs/components/number/fixtures/comp1.d.ts +33 -0
- package/lib/mjs/components/number/fixtures/comp2.d.ts +32 -0
- package/lib/mjs/components/number/fixtures/comp3.d.ts +14 -0
- package/lib/mjs/components/number/fixtures/comp4.d.ts +14 -0
- package/lib/mjs/components/number/fixtures/comp5.d.ts +20 -0
- package/lib/mjs/components/number/fixtures/comp6.d.ts +40 -0
- package/lib/mjs/components/number/fixtures/comp7.d.ts +15 -0
- package/lib/mjs/components/number/fixtures/index.d.ts +8 -0
- package/lib/mjs/components/number/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/panel/Panel.d.ts +14 -0
- package/lib/mjs/components/panel/Panel.form.d.ts +3 -0
- package/lib/mjs/components/panel/editForm/Panel.edit.conditional.d.ts +76 -0
- package/lib/mjs/components/panel/editForm/Panel.edit.display.d.ts +213 -0
- package/lib/mjs/components/panel/fixtures/comp1.d.ts +46 -0
- package/lib/mjs/components/panel/fixtures/comp2.d.ts +80 -0
- package/lib/mjs/components/panel/fixtures/index.d.ts +3 -0
- package/lib/mjs/components/password/Password.d.ts +3 -0
- package/lib/mjs/components/password/Password.form.d.ts +3 -0
- package/lib/mjs/components/password/editForm/Password.edit.data.d.ts +18 -0
- package/lib/mjs/components/password/editForm/Password.edit.display.d.ts +5 -0
- package/lib/mjs/components/password/editForm/Password.edit.validation.d.ts +5 -0
- package/lib/mjs/components/password/fixtures/comp1.d.ts +22 -0
- package/lib/mjs/components/password/fixtures/comp2.d.ts +27 -0
- package/lib/mjs/components/password/fixtures/index.d.ts +3 -0
- package/lib/mjs/components/password/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/phonenumber/PhoneNumber.d.ts +3 -0
- package/lib/mjs/components/phonenumber/PhoneNumber.form.d.ts +3 -0
- package/lib/mjs/components/phonenumber/editForm/PhoneNumber.edit.validation.d.ts +5 -0
- package/lib/mjs/components/phonenumber/fixtures/comp1.d.ts +27 -0
- package/lib/mjs/components/phonenumber/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/phonenumber/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/radio/Radio.d.ts +83 -0
- package/lib/mjs/components/radio/Radio.form.d.ts +3 -0
- package/lib/mjs/components/radio/Radio.js +29 -10
- package/lib/mjs/components/radio/editForm/Radio.edit.data.d.ts +171 -0
- package/lib/mjs/components/radio/editForm/Radio.edit.data.js +20 -0
- package/lib/mjs/components/radio/editForm/Radio.edit.display.d.ts +40 -0
- package/lib/mjs/components/radio/editForm/Radio.edit.validation.d.ts +18 -0
- package/lib/mjs/components/radio/fixtures/comp1.d.ts +28 -0
- package/lib/mjs/components/radio/fixtures/comp10.d.ts +15 -0
- package/lib/mjs/components/radio/fixtures/comp11.d.ts +35 -0
- package/lib/mjs/components/radio/fixtures/comp11.js +83 -0
- package/lib/mjs/components/radio/fixtures/comp2.d.ts +85 -0
- package/lib/mjs/components/radio/fixtures/comp3.d.ts +85 -0
- package/lib/mjs/components/radio/fixtures/comp4.d.ts +19 -0
- package/lib/mjs/components/radio/fixtures/comp5.d.ts +39 -0
- package/lib/mjs/components/radio/fixtures/comp6.d.ts +38 -0
- package/lib/mjs/components/radio/fixtures/comp7.d.ts +23 -0
- package/lib/mjs/components/radio/fixtures/comp8.d.ts +118 -0
- package/lib/mjs/components/radio/fixtures/comp9.d.ts +35 -0
- package/lib/mjs/components/radio/fixtures/index.d.ts +12 -0
- package/lib/mjs/components/radio/fixtures/index.js +2 -1
- package/lib/mjs/components/radio/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/recaptcha/ReCaptcha.d.ts +24 -0
- package/lib/mjs/components/recaptcha/ReCaptcha.form.d.ts +3 -0
- package/lib/mjs/components/recaptcha/editForm/ReCaptcha.edit.display.d.ts +46 -0
- package/lib/mjs/components/recaptcha/fixtures/comp1.d.ts +8 -0
- package/lib/mjs/components/recaptcha/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/select/Select.d.ts +149 -0
- package/lib/mjs/components/select/Select.form.d.ts +3 -0
- package/lib/mjs/components/select/Select.js +3 -0
- package/lib/mjs/components/select/editForm/Select.edit.data.d.ts +1183 -0
- package/lib/mjs/components/select/editForm/Select.edit.data.js +59 -1
- package/lib/mjs/components/select/editForm/Select.edit.display.d.ts +27 -0
- package/lib/mjs/components/select/editForm/Select.edit.validation.d.ts +30 -0
- package/lib/mjs/components/select/fixtures/comp1.d.ts +40 -0
- package/lib/mjs/components/select/fixtures/comp10.d.ts +41 -0
- package/lib/mjs/components/select/fixtures/comp11.d.ts +28 -0
- package/lib/mjs/components/select/fixtures/comp12.d.ts +53 -0
- package/lib/mjs/components/select/fixtures/comp13.d.ts +28 -0
- package/lib/mjs/components/select/fixtures/comp14.d.ts +40 -0
- package/lib/mjs/components/select/fixtures/comp15.d.ts +50 -0
- package/lib/mjs/components/select/fixtures/comp16.d.ts +34 -0
- package/lib/mjs/components/select/fixtures/comp17.d.ts +51 -0
- package/lib/mjs/components/select/fixtures/comp18.d.ts +49 -0
- package/lib/mjs/components/select/fixtures/comp19.d.ts +23 -0
- package/lib/mjs/components/select/fixtures/comp2.d.ts +41 -0
- package/lib/mjs/components/select/fixtures/comp20.d.ts +36 -0
- package/lib/mjs/components/select/fixtures/comp21.d.ts +87 -0
- package/lib/mjs/components/select/fixtures/comp3.d.ts +35 -0
- package/lib/mjs/components/select/fixtures/comp4.d.ts +103 -0
- package/lib/mjs/components/select/fixtures/comp5.d.ts +21 -0
- package/lib/mjs/components/select/fixtures/comp6.d.ts +20 -0
- package/lib/mjs/components/select/fixtures/comp7.d.ts +63 -0
- package/lib/mjs/components/select/fixtures/comp8.d.ts +72 -0
- package/lib/mjs/components/select/fixtures/comp9.d.ts +88 -0
- package/lib/mjs/components/select/fixtures/index.d.ts +22 -0
- package/lib/mjs/components/select/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/selectboxes/SelectBoxes.d.ts +51 -0
- package/lib/mjs/components/selectboxes/SelectBoxes.form.d.ts +3 -0
- package/lib/mjs/components/selectboxes/editForm/SelectBoxes.edit.validation.d.ts +9 -0
- package/lib/mjs/components/selectboxes/fixtures/comp1.d.ts +24 -0
- package/lib/mjs/components/selectboxes/fixtures/comp2.d.ts +24 -0
- package/lib/mjs/components/selectboxes/fixtures/comp3.d.ts +23 -0
- package/lib/mjs/components/selectboxes/fixtures/comp4.d.ts +66 -0
- package/lib/mjs/components/selectboxes/fixtures/comp5.d.ts +37 -0
- package/lib/mjs/components/selectboxes/fixtures/comp6.d.ts +14 -0
- package/lib/mjs/components/selectboxes/fixtures/comp7.d.ts +18 -0
- package/lib/mjs/components/selectboxes/fixtures/index.d.ts +8 -0
- package/lib/mjs/components/selectboxes/fixtures/values.d.ts +6 -0
- package/lib/mjs/components/signature/Signature.d.ts +46 -0
- package/lib/mjs/components/signature/Signature.form.d.ts +3 -0
- package/lib/mjs/components/signature/Signature.js +1 -1
- package/lib/mjs/components/signature/editForm/Signature.edit.data.d.ts +5 -0
- package/lib/mjs/components/signature/editForm/Signature.edit.display.d.ts +54 -0
- package/lib/mjs/components/signature/editForm/Signature.edit.validation.d.ts +5 -0
- package/lib/mjs/components/signature/fixtures/comp1.d.ts +30 -0
- package/lib/mjs/components/signature/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/signature/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/survey/Survey.d.ts +37 -0
- package/lib/mjs/components/survey/Survey.form.d.ts +3 -0
- package/lib/mjs/components/survey/editForm/Survey.edit.data.d.ts +45 -0
- package/lib/mjs/components/survey/editForm/Survey.edit.display.d.ts +5 -0
- package/lib/mjs/components/survey/editForm/Survey.edit.validation.d.ts +5 -0
- package/lib/mjs/components/survey/fixtures/comp1.d.ts +31 -0
- package/lib/mjs/components/survey/fixtures/comp2.d.ts +31 -0
- package/lib/mjs/components/survey/fixtures/index.d.ts +3 -0
- package/lib/mjs/components/survey/fixtures/values.d.ts +5 -0
- package/lib/mjs/components/table/Table.d.ts +23 -0
- package/lib/mjs/components/table/Table.form.d.ts +3 -0
- package/lib/mjs/components/table/editForm/Table.edit.display.d.ts +84 -0
- package/lib/mjs/components/table/fixtures/comp1.d.ts +53 -0
- package/lib/mjs/components/table/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/tabs/Tabs.d.ts +30 -0
- package/lib/mjs/components/tabs/Tabs.form.d.ts +3 -0
- package/lib/mjs/components/tabs/editForm/Tabs.edit.display.d.ts +78 -0
- package/lib/mjs/components/tabs/fixtures/comp1.d.ts +23 -0
- package/lib/mjs/components/tabs/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/tags/Tags.d.ts +41 -0
- package/lib/mjs/components/tags/Tags.form.d.ts +3 -0
- package/lib/mjs/components/tags/editForm/Tags.edit.data.d.ts +51 -0
- package/lib/mjs/components/tags/fixtures/comp1.d.ts +20 -0
- package/lib/mjs/components/tags/fixtures/comp2.d.ts +10 -0
- package/lib/mjs/components/tags/fixtures/comp3.d.ts +23 -0
- package/lib/mjs/components/tags/fixtures/comp4.d.ts +9 -0
- package/lib/mjs/components/tags/fixtures/comp5.d.ts +24 -0
- package/lib/mjs/components/tags/fixtures/comp6.d.ts +17 -0
- package/lib/mjs/components/tags/fixtures/index.d.ts +7 -0
- package/lib/mjs/components/tags/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/textarea/TextArea.d.ts +37 -0
- package/lib/mjs/components/textarea/TextArea.form.d.ts +3 -0
- package/lib/mjs/components/textarea/TextArea.js +1 -1
- package/lib/mjs/components/textarea/editForm/TextArea.edit.display.d.ts +357 -0
- package/lib/mjs/components/textarea/editForm/TextArea.edit.validation.d.ts +10 -0
- package/lib/mjs/components/textarea/fixtures/comp1.d.ts +31 -0
- package/lib/mjs/components/textarea/fixtures/comp2.d.ts +29 -0
- package/lib/mjs/components/textarea/fixtures/comp3.d.ts +27 -0
- package/lib/mjs/components/textarea/fixtures/comp4.d.ts +30 -0
- package/lib/mjs/components/textarea/fixtures/index.d.ts +5 -0
- package/lib/mjs/components/textarea/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/textfield/TextField.d.ts +64 -0
- package/lib/mjs/components/textfield/TextField.form.d.ts +3 -0
- package/lib/mjs/components/textfield/editForm/TextField.edit.data.d.ts +46 -0
- package/lib/mjs/components/textfield/editForm/TextField.edit.display.d.ts +263 -0
- package/lib/mjs/components/textfield/editForm/TextField.edit.validation.d.ts +10 -0
- package/lib/mjs/components/textfield/fixtures/comp-with-display-and-value-masks.d.ts +47 -0
- package/lib/mjs/components/textfield/fixtures/comp1.d.ts +33 -0
- package/lib/mjs/components/textfield/fixtures/comp2.d.ts +33 -0
- package/lib/mjs/components/textfield/fixtures/comp3.d.ts +33 -0
- package/lib/mjs/components/textfield/fixtures/comp4.d.ts +23 -0
- package/lib/mjs/components/textfield/fixtures/comp5.d.ts +12 -0
- package/lib/mjs/components/textfield/fixtures/comp6.d.ts +25 -0
- package/lib/mjs/components/textfield/fixtures/comp7.d.ts +37 -0
- package/lib/mjs/components/textfield/fixtures/index.d.ts +9 -0
- package/lib/mjs/components/textfield/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/time/Time.d.ts +16 -0
- package/lib/mjs/components/time/Time.form.d.ts +3 -0
- package/lib/mjs/components/time/editForm/Time.edit.data.d.ts +10 -0
- package/lib/mjs/components/time/editForm/Time.edit.display.d.ts +52 -0
- package/lib/mjs/components/time/fixtures/comp1.d.ts +24 -0
- package/lib/mjs/components/time/fixtures/comp2.d.ts +10 -0
- package/lib/mjs/components/time/fixtures/comp3.d.ts +15 -0
- package/lib/mjs/components/time/fixtures/index.d.ts +6 -0
- package/lib/mjs/components/time/fixtures/timeForm.d.ts +47 -0
- package/lib/mjs/components/time/fixtures/timeForm2.d.ts +38 -0
- package/lib/mjs/components/time/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/unknown/Unknown.d.ts +28 -0
- package/lib/mjs/components/unknown/Unknown.form.d.ts +34 -0
- package/lib/mjs/components/unknown/editForm/Unknown.edit.display.d.ts +24 -0
- package/lib/mjs/components/unknown/fixtures/comp1.d.ts +7 -0
- package/lib/mjs/components/unknown/fixtures/index.d.ts +2 -0
- package/lib/mjs/components/url/Url.d.ts +3 -0
- package/lib/mjs/components/url/Url.form.d.ts +3 -0
- package/lib/mjs/components/url/editForm/Url.edit.data.d.ts +5 -0
- package/lib/mjs/components/url/editForm/Url.edit.display.d.ts +5 -0
- package/lib/mjs/components/url/editForm/Url.edit.validation.d.ts +5 -0
- package/lib/mjs/components/url/fixtures/comp1.d.ts +26 -0
- package/lib/mjs/components/url/fixtures/comp2.d.ts +26 -0
- package/lib/mjs/components/url/fixtures/index.d.ts +3 -0
- package/lib/mjs/components/url/fixtures/values.d.ts +2 -0
- package/lib/mjs/components/well/Well.d.ts +15 -0
- package/lib/mjs/components/well/Well.form.d.ts +3 -0
- package/lib/mjs/components/well/editForm/Well.edit.display.d.ts +28 -0
- package/lib/mjs/components/well/fixtures/comp1.d.ts +43 -0
- package/lib/mjs/components/well/fixtures/index.d.ts +2 -0
- package/lib/mjs/displays/Displays.d.ts +18 -0
- package/lib/mjs/displays/index.d.ts +2 -0
- package/lib/mjs/formio.embed.d.ts +2 -0
- package/lib/mjs/formio.form.d.ts +19 -0
- package/lib/mjs/formio.form.js +3 -1
- package/lib/mjs/i18n.d.ts +13 -0
- package/lib/mjs/index.d.ts +5 -0
- package/lib/mjs/licenses/Licenses.d.ts +7 -0
- package/lib/mjs/licenses/index.d.ts +2 -0
- package/lib/mjs/pdf.image.d.ts +2 -0
- package/lib/mjs/providers/Providers.d.ts +20 -0
- package/lib/mjs/providers/address/AddressProvider.d.ts +17 -0
- package/lib/mjs/providers/address/AzureAddressProvider.d.ts +12 -0
- package/lib/mjs/providers/address/CustomAddressProvider.d.ts +7 -0
- package/lib/mjs/providers/address/GoogleAddressProvider.d.ts +18 -0
- package/lib/mjs/providers/address/NominatimAddressProvider.d.ts +11 -0
- package/lib/mjs/providers/address/index.d.ts +6 -0
- package/lib/mjs/providers/auth/index.d.ts +2 -0
- package/lib/mjs/providers/index.d.ts +2 -0
- package/lib/mjs/providers/processor/fileProcessor.d.ts +2 -0
- package/lib/mjs/providers/storage/azure.d.ts +17 -0
- package/lib/mjs/providers/storage/base64.d.ts +10 -0
- package/lib/mjs/providers/storage/dropbox.d.ts +8 -0
- package/lib/mjs/providers/storage/googleDrive.d.ts +9 -0
- package/lib/mjs/providers/storage/index.d.ts +15 -0
- package/lib/mjs/providers/storage/indexeddb.d.ts +11 -0
- package/lib/mjs/providers/storage/s3.d.ts +24 -0
- package/lib/mjs/providers/storage/s3.js +6 -1
- package/lib/mjs/providers/storage/uploadAdapter.d.ts +1 -0
- package/lib/mjs/providers/storage/url.d.ts +11 -0
- package/lib/mjs/providers/storage/util.d.ts +1 -0
- package/lib/mjs/providers/storage/xhr.d.ts +8 -0
- package/lib/mjs/templates/Templates.d.ts +2 -0
- package/lib/mjs/templates/index.d.ts +229 -0
- package/lib/mjs/translations/en.d.ts +75 -0
- package/lib/mjs/utils/ChoicesWrapper.d.ts +38 -0
- package/lib/mjs/utils/Evaluator.d.ts +4 -0
- package/lib/mjs/utils/builder.d.ts +22 -0
- package/lib/mjs/utils/calendarUtils.d.ts +41 -0
- package/lib/mjs/utils/conditionOperators/ConditionOperator.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/DateGreaterThan.d.ts +13 -0
- package/lib/mjs/utils/conditionOperators/DateGreaterThanOrEqual.d.ts +4 -0
- package/lib/mjs/utils/conditionOperators/DateLessThan.d.ts +4 -0
- package/lib/mjs/utils/conditionOperators/DateLessThanOrEqual.d.ts +4 -0
- package/lib/mjs/utils/conditionOperators/EndsWith.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/GreaterThan.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/GreaterThanOrEqual.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/Includes.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/IsDateEqual.d.ts +4 -0
- package/lib/mjs/utils/conditionOperators/IsEmptyValue.d.ts +9 -0
- package/lib/mjs/utils/conditionOperators/IsEqualTo.d.ts +9 -0
- package/lib/mjs/utils/conditionOperators/IsNotDateEqual.d.ts +4 -0
- package/lib/mjs/utils/conditionOperators/IsNotEmptyValue.d.ts +4 -0
- package/lib/mjs/utils/conditionOperators/IsNotEqualTo.d.ts +4 -0
- package/lib/mjs/utils/conditionOperators/LessThan.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/LessThanOrEqual.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/NotIncludes.d.ts +4 -0
- package/lib/mjs/utils/conditionOperators/StartsWith.d.ts +7 -0
- package/lib/mjs/utils/conditionOperators/index.d.ts +6 -0
- package/lib/mjs/utils/formUtils.d.ts +173 -0
- package/lib/mjs/utils/i18n.d.ts +16 -0
- package/lib/mjs/utils/index.d.ts +3 -0
- package/lib/mjs/utils/jsonlogic/operators.d.ts +1 -0
- package/lib/mjs/utils/utils.d.ts +377 -0
- package/lib/mjs/widgets/CalendarWidget.d.ts +97 -0
- package/lib/mjs/widgets/InputWidget.d.ts +24 -0
- package/lib/mjs/widgets/index.d.ts +7 -0
- package/package.json +9 -17
- package/embed.d.ts +0 -1
- package/index.d.ts +0 -1
- package/sdk.d.ts +0 -1
- package/types/Embed.d.ts +0 -13
- package/types/Plugins.d.ts +0 -95
- package/types/builders.d.ts +0 -7
- package/types/components/_classes/component/component.d.ts +0 -175
- package/types/components/_classes/componentmodal/componentmodal.d.ts +0 -31
- package/types/components/_classes/field/field.d.ts +0 -5
- package/types/components/_classes/input/input.d.ts +0 -30
- package/types/components/_classes/multivalue/multivalue.d.ts +0 -16
- package/types/components/_classes/nested/nestedComponent.d.ts +0 -61
- package/types/components/_classes/widgetcomponent/widgetComponent.d.ts +0 -6
- package/types/components/components.d.ts +0 -69
- package/types/components/schema.d.ts +0 -174
- package/types/displays.d.ts +0 -7
- package/types/element.d.ts +0 -45
- package/types/eventEmitter.d.ts +0 -3
- package/types/form.d.ts +0 -18
- package/types/formbuilder.d.ts +0 -6
- package/types/formio.d.ts +0 -1236
- package/types/index.d.ts +0 -18
- package/types/licenses.d.ts +0 -7
- package/types/providers.d.ts +0 -8
- package/types/rulesEngine/conjunctions.d.ts +0 -7
- package/types/rulesEngine/operators.d.ts +0 -7
- package/types/rulesEngine/quckRules.d.ts +0 -7
- package/types/rulesEngine/rules.d.ts +0 -7
- package/types/rulesEngine/transformers.d.ts +0 -7
- package/types/rulesEngine/valueSources.d.ts +0 -7
- package/types/sdk.d.ts +0 -1
- package/types/templates.d.ts +0 -8
- package/types/utils.d.ts +0 -157
- package/types/widgets.d.ts +0 -4
- package/utils.d.ts +0 -1
@@ -0,0 +1,695 @@
|
|
1
|
+
/**
|
2
|
+
* Represents a JSON value.
|
3
|
+
* @typedef {(string | number | boolean | null | JSONArray | JSONObject)} JSON
|
4
|
+
*/
|
5
|
+
/**
|
6
|
+
* Represents a JSON array.
|
7
|
+
* @typedef {Array<JSON>} JSONArray
|
8
|
+
*/
|
9
|
+
/**
|
10
|
+
* Represents a JSON object.
|
11
|
+
* @typedef {{[key: string]: JSON}} JSONObject
|
12
|
+
*/
|
13
|
+
/**
|
14
|
+
* @typedef {Object} FormioHooks
|
15
|
+
* @property {function} [beforeSubmit]
|
16
|
+
* @property {function} [beforeCancel]
|
17
|
+
* @property {function} [beforeNext]
|
18
|
+
* @property {function} [beforePrev]
|
19
|
+
* @property {function} [attachComponent]
|
20
|
+
* @property {function} [setDataValue]
|
21
|
+
* @property {function} [addComponents]
|
22
|
+
* @property {function} [addComponent]
|
23
|
+
* @property {function} [customValidation]
|
24
|
+
* @property {function} [attachWebform]
|
25
|
+
*/
|
26
|
+
/**
|
27
|
+
* @typedef {Object} SanitizeConfig
|
28
|
+
* @property {string[]} [addAttr]
|
29
|
+
* @property {string[]} [addTags]
|
30
|
+
* @property {string[]} [allowedAttrs]
|
31
|
+
* @property {string[]} [allowedTags]
|
32
|
+
* @property {string[]} [allowedUriRegex]
|
33
|
+
* @property {string[]} [addUriSafeAttr]
|
34
|
+
*/
|
35
|
+
/**
|
36
|
+
* @typedef {Object} ButtonSettings
|
37
|
+
* @property {boolean} [showPrevious]
|
38
|
+
* @property {boolean} [showNext]
|
39
|
+
* @property {boolean} [showCancel]
|
40
|
+
* @property {boolean} [showSubmit]
|
41
|
+
*/
|
42
|
+
/**
|
43
|
+
* @typedef {Object} FormOptions
|
44
|
+
* @property {boolean} [saveDraft] - Enable the save draft feature.
|
45
|
+
* @property {number} [saveDraftThrottle] - The throttle for the save draft feature.
|
46
|
+
* @property {boolean} [readOnly] - Set this form to readOnly.
|
47
|
+
* @property {boolean} [noAlerts] - Disable the alerts dialog.
|
48
|
+
* @property {{[key: string]: string}} [i18n] - The translation file for this rendering.
|
49
|
+
* @property {string} [template] - Custom logic for creation of elements.
|
50
|
+
* @property {boolean} [noDefaults] - Exclude default values from the settings.
|
51
|
+
* @property {any} [fileService] - The file service for this form.
|
52
|
+
* @property {EventEmitter} [events] - The EventEmitter for this form.
|
53
|
+
* @property {string} [language] - The language to render this form in.
|
54
|
+
* @property {{[key: string]: string}} [i18next] - The i18next configuration for this form.
|
55
|
+
* @property {boolean} [viewAsHtml] - View the form as raw HTML.
|
56
|
+
* @property {'form' | 'html' | 'flat' | 'builder' | 'pdf'} [renderMode] - The render mode for this form.
|
57
|
+
* @property {boolean} [highlightErrors] - Highlight any errors on the form.
|
58
|
+
* @property {string} [componentErrorClass] - The error class for components.
|
59
|
+
* @property {any} [templates] - The templates for this form.
|
60
|
+
* @property {string} [iconset] - The iconset for this form.
|
61
|
+
* @property {Component[]} [components] - The components for this form.
|
62
|
+
* @property {{[key: string]: boolean}} [disabled] - Disabled components for this form.
|
63
|
+
* @property {boolean} [showHiddenFields] - Show hidden fields.
|
64
|
+
* @property {{[key: string]: boolean}} [hide] - Hidden components for this form.
|
65
|
+
* @property {{[key: string]: boolean}} [show] - Components to show for this form.
|
66
|
+
* @property {Formio} [formio] - The Formio instance for this form.
|
67
|
+
* @property {string} [decimalSeparator] - The decimal separator for this form.
|
68
|
+
* @property {string} [thousandsSeparator] - The thousands separator for this form.
|
69
|
+
* @property {FormioHooks} [hooks] - The hooks for this form.
|
70
|
+
* @property {boolean} [alwaysDirty] - Always be dirty.
|
71
|
+
* @property {boolean} [skipDraftRestore] - Skip restoring a draft.
|
72
|
+
* @property {'form' | 'wizard' | 'pdf'} [display] - The display for this form.
|
73
|
+
* @property {string} [cdnUrl] - The CDN url for this form.
|
74
|
+
* @property {boolean} [flatten] - Flatten the form.
|
75
|
+
* @property {boolean} [sanitize] - Sanitize the form.
|
76
|
+
* @property {SanitizeConfig} [sanitizeConfig] - The sanitize configuration for this form.
|
77
|
+
* @property {ButtonSettings} [buttonSettings] - The button settings for this form.
|
78
|
+
* @property {Object} [breadCrumbSettings] - The breadcrumb settings for this form.
|
79
|
+
* @property {boolean} [allowPrevious] - Allow the previous button (for Wizard forms).
|
80
|
+
* @property {string[]} [wizardButtonOrder] - The order of the buttons (for Wizard forms).
|
81
|
+
* @property {boolean} [showCheckboxBackground] - Show the checkbox background.
|
82
|
+
* @property {number} [zoom] - The zoom for PDF forms.
|
83
|
+
*/
|
84
|
+
/**
|
85
|
+
* Renders a Form.io form within the webpage.
|
86
|
+
*/
|
87
|
+
declare class Webform extends NestedDataComponent {
|
88
|
+
/**
|
89
|
+
* Creates a new Form instance.
|
90
|
+
*
|
91
|
+
* @param {HTMLElement | Object | FormOptions} [elementOrOptions] - The DOM element to render this form within or the options to create this form instance.
|
92
|
+
* @param {FormOptions} [options] - The options to create a new form instance.
|
93
|
+
*/
|
94
|
+
constructor(elementOrOptions?: HTMLElement | Object | FormOptions, options?: FormOptions | undefined);
|
95
|
+
/**
|
96
|
+
* @type {FormOptions} - the options for this Webform.
|
97
|
+
*/
|
98
|
+
options: FormOptions;
|
99
|
+
_src: string;
|
100
|
+
_loading: boolean;
|
101
|
+
_form: {};
|
102
|
+
draftEnabled: boolean;
|
103
|
+
savingDraft: boolean;
|
104
|
+
triggerSaveDraft: any;
|
105
|
+
set nosubmit(value: any);
|
106
|
+
get nosubmit(): any;
|
107
|
+
/**
|
108
|
+
* Determines if the form has tried to be submitted, error or not.
|
109
|
+
*
|
110
|
+
* @type {boolean}
|
111
|
+
*/
|
112
|
+
submitted: boolean;
|
113
|
+
/**
|
114
|
+
* Determines if the form is being submitted at the moment.
|
115
|
+
*
|
116
|
+
* @type {boolean}
|
117
|
+
*/
|
118
|
+
submitting: boolean;
|
119
|
+
/**
|
120
|
+
* The Formio instance for this form.
|
121
|
+
* @type {Formio}
|
122
|
+
*/
|
123
|
+
formio: Formio;
|
124
|
+
/**
|
125
|
+
* The loader HTML element.
|
126
|
+
* @type {HTMLElement}
|
127
|
+
*/
|
128
|
+
loader: HTMLElement;
|
129
|
+
/**
|
130
|
+
* The alert HTML element
|
131
|
+
* @type {HTMLElement}
|
132
|
+
*/
|
133
|
+
alert: HTMLElement;
|
134
|
+
/**
|
135
|
+
* Promise that is triggered when the submission is done loading.
|
136
|
+
* @type {Promise}
|
137
|
+
*/
|
138
|
+
onSubmission: Promise<any>;
|
139
|
+
/**
|
140
|
+
* Determines if this submission is explicitly set.
|
141
|
+
* @type {boolean}
|
142
|
+
*/
|
143
|
+
submissionSet: boolean;
|
144
|
+
/**
|
145
|
+
* Promise that executes when the form is ready and rendered.
|
146
|
+
* @type {Promise}
|
147
|
+
*
|
148
|
+
* @example
|
149
|
+
* import Webform from '@formio/js/Webform';
|
150
|
+
* let form = new Webform(document.getElementById('formio'));
|
151
|
+
* form.formReady.then(() => {
|
152
|
+
* console.log('The form is ready!');
|
153
|
+
* });
|
154
|
+
* form.src = 'https://examples.form.io/example';
|
155
|
+
*/
|
156
|
+
formReady: Promise<any>;
|
157
|
+
/**
|
158
|
+
* Called when the formReady state of this form has been resolved.
|
159
|
+
*
|
160
|
+
* @type {function}
|
161
|
+
*/
|
162
|
+
formReadyResolve: Function;
|
163
|
+
/**
|
164
|
+
* Called when this form could not load and is rejected.
|
165
|
+
*
|
166
|
+
* @type {function}
|
167
|
+
*/
|
168
|
+
formReadyReject: Function;
|
169
|
+
/**
|
170
|
+
* Promise that executes when the submission is ready and rendered.
|
171
|
+
* @type {Promise}
|
172
|
+
*
|
173
|
+
* @example
|
174
|
+
* import Webform from '@formio/js/Webform';
|
175
|
+
* let form = new Webform(document.getElementById('formio'));
|
176
|
+
* form.submissionReady.then(() => {
|
177
|
+
* console.log('The submission is ready!');
|
178
|
+
* });
|
179
|
+
* form.src = 'https://examples.form.io/example/submission/234234234234234243';
|
180
|
+
*/
|
181
|
+
submissionReady: Promise<any>;
|
182
|
+
/**
|
183
|
+
* Called when the formReady state of this form has been resolved.
|
184
|
+
*
|
185
|
+
* @type {function}
|
186
|
+
*/
|
187
|
+
submissionReadyResolve: Function;
|
188
|
+
/**
|
189
|
+
* Called when this form could not load and is rejected.
|
190
|
+
*
|
191
|
+
* @type {function}
|
192
|
+
*/
|
193
|
+
submissionReadyReject: Function;
|
194
|
+
shortcuts: any[];
|
195
|
+
/**
|
196
|
+
* Sets the language for this form.
|
197
|
+
*
|
198
|
+
* @param lang
|
199
|
+
* @return {Promise}
|
200
|
+
*/
|
201
|
+
set language(lang: string | undefined);
|
202
|
+
get language(): string | undefined;
|
203
|
+
root: this;
|
204
|
+
localRoot: this;
|
205
|
+
get emptyValue(): null;
|
206
|
+
get shadowRoot(): any;
|
207
|
+
/**
|
208
|
+
* Add a language for translations
|
209
|
+
*
|
210
|
+
* @param code
|
211
|
+
* @param lang
|
212
|
+
* @param active
|
213
|
+
* @return {*}
|
214
|
+
*/
|
215
|
+
addLanguage(code: any, lang: any, active?: boolean): any;
|
216
|
+
keyboardCatchableElement(element: any): boolean;
|
217
|
+
executeShortcuts: (event: any) => void;
|
218
|
+
/**
|
219
|
+
* Set the Form source, which is typically the Form.io embed URL.
|
220
|
+
*
|
221
|
+
* @param {string} value - The value of the form embed url.
|
222
|
+
*
|
223
|
+
* @example
|
224
|
+
* import Webform from '@formio/js/Webform';
|
225
|
+
* let form = new Webform(document.getElementById('formio'));
|
226
|
+
* form.formReady.then(() => {
|
227
|
+
* console.log('The form is formReady!');
|
228
|
+
* });
|
229
|
+
* form.src = 'https://examples.form.io/example';
|
230
|
+
*/
|
231
|
+
set src(value: string);
|
232
|
+
/**
|
233
|
+
* Get the embed source of the form.
|
234
|
+
*
|
235
|
+
* @returns {string}
|
236
|
+
*/
|
237
|
+
get src(): string;
|
238
|
+
/**
|
239
|
+
* Loads the submission if applicable.
|
240
|
+
*/
|
241
|
+
loadSubmission(): Promise<any>;
|
242
|
+
loadingSubmission: boolean | undefined;
|
243
|
+
/**
|
244
|
+
* Set the src of the form renderer.
|
245
|
+
*
|
246
|
+
* @param value
|
247
|
+
* @param options
|
248
|
+
*/
|
249
|
+
setSrc(value: any, options: any): any;
|
250
|
+
/**
|
251
|
+
* Set the form source but don't initialize the form and submission from the url.
|
252
|
+
*
|
253
|
+
* @param {string} value - The value of the form embed url.
|
254
|
+
*/
|
255
|
+
set url(value: string);
|
256
|
+
/**
|
257
|
+
* Get the embed source of the form.
|
258
|
+
*
|
259
|
+
* @returns {string}
|
260
|
+
*/
|
261
|
+
get url(): string;
|
262
|
+
/**
|
263
|
+
* Sets the url of the form renderer.
|
264
|
+
*
|
265
|
+
* @param value
|
266
|
+
* @param options
|
267
|
+
*/
|
268
|
+
setUrl(value: any, options: any): boolean;
|
269
|
+
/**
|
270
|
+
* Called when both the form and submission have been loaded.
|
271
|
+
*
|
272
|
+
* @returns {Promise} - The promise to trigger when both form and submission have loaded.
|
273
|
+
*/
|
274
|
+
get ready(): Promise<any>;
|
275
|
+
/**
|
276
|
+
* Set the loading state for this form, and also show the loader spinner.
|
277
|
+
*
|
278
|
+
* @param {boolean} loading - If this form should be "loading" or not.
|
279
|
+
*/
|
280
|
+
set loading(loading: boolean);
|
281
|
+
/**
|
282
|
+
* Returns if this form is loading.
|
283
|
+
*
|
284
|
+
* @returns {boolean} - TRUE means the form is loading, FALSE otherwise.
|
285
|
+
*/
|
286
|
+
get loading(): boolean;
|
287
|
+
/**
|
288
|
+
* Sets the JSON schema for the form to be rendered.
|
289
|
+
*
|
290
|
+
* @example
|
291
|
+
* import Webform from '@formio/js/Webform';
|
292
|
+
* let form = new Webform(document.getElementById('formio'));
|
293
|
+
* form.setForm({
|
294
|
+
* components: [
|
295
|
+
* {
|
296
|
+
* type: 'textfield',
|
297
|
+
* key: 'firstName',
|
298
|
+
* label: 'First Name',
|
299
|
+
* placeholder: 'Enter your first name.',
|
300
|
+
* input: true
|
301
|
+
* },
|
302
|
+
* {
|
303
|
+
* type: 'textfield',
|
304
|
+
* key: 'lastName',
|
305
|
+
* label: 'Last Name',
|
306
|
+
* placeholder: 'Enter your last name',
|
307
|
+
* input: true
|
308
|
+
* },
|
309
|
+
* {
|
310
|
+
* type: 'button',
|
311
|
+
* action: 'submit',
|
312
|
+
* label: 'Submit',
|
313
|
+
* theme: 'primary'
|
314
|
+
* }
|
315
|
+
* ]
|
316
|
+
* });
|
317
|
+
*
|
318
|
+
* @param {Object} form - The JSON schema of the form @see https://examples.form.io/example for an example JSON schema.
|
319
|
+
* @param flags
|
320
|
+
* @returns {*}
|
321
|
+
*/
|
322
|
+
setForm(form: Object, flags: any): any;
|
323
|
+
initialized: boolean | undefined;
|
324
|
+
/**
|
325
|
+
* Sets the form value.
|
326
|
+
*
|
327
|
+
* @alias setForm
|
328
|
+
* @param {Object} form - The form schema object.
|
329
|
+
*/
|
330
|
+
set form(form: Object);
|
331
|
+
/**
|
332
|
+
* Gets the form object.
|
333
|
+
*
|
334
|
+
* @returns {Object} - The form JSON schema.
|
335
|
+
*/
|
336
|
+
get form(): Object;
|
337
|
+
/**
|
338
|
+
* Sets the submission of a form.
|
339
|
+
*
|
340
|
+
* @example
|
341
|
+
* import Webform from '@formio/js/Webform';
|
342
|
+
* let form = new Webform(document.getElementById('formio'));
|
343
|
+
* form.src = 'https://examples.form.io/example';
|
344
|
+
* form.submission = {data: {
|
345
|
+
* firstName: 'Joe',
|
346
|
+
* lastName: 'Smith',
|
347
|
+
* email: 'joe@example.com'
|
348
|
+
* }};
|
349
|
+
*
|
350
|
+
* @param {Object} submission - The Form.io submission object.
|
351
|
+
*/
|
352
|
+
set submission(submission: Object);
|
353
|
+
/**
|
354
|
+
* Returns the submission object that was set within this form.
|
355
|
+
*
|
356
|
+
* @returns {Object}
|
357
|
+
*/
|
358
|
+
get submission(): Object;
|
359
|
+
/**
|
360
|
+
* Sets a submission and returns the promise when it is ready.
|
361
|
+
* @param submission
|
362
|
+
* @param flags
|
363
|
+
* @return {Promise.<TResult>}
|
364
|
+
*/
|
365
|
+
setSubmission(submission: any, flags?: {}): Promise<TResult>;
|
366
|
+
handleDraftError(errName: any, errDetails: any, restoreDraft: any): void;
|
367
|
+
/**
|
368
|
+
* Saves a submission draft.
|
369
|
+
*/
|
370
|
+
saveDraft(): void;
|
371
|
+
/**
|
372
|
+
* Restores a draft submission based on the user who is authenticated.
|
373
|
+
*
|
374
|
+
* @param {userId} - The user id where we need to restore the draft from.
|
375
|
+
*/
|
376
|
+
restoreDraft(userId: any): void;
|
377
|
+
mergeData(_this: any, _that: any): void;
|
378
|
+
editing: boolean | undefined;
|
379
|
+
_submission: any;
|
380
|
+
/**
|
381
|
+
* Build the form.
|
382
|
+
*/
|
383
|
+
init(): Promise<any>;
|
384
|
+
executeFormController(): false | undefined;
|
385
|
+
build(element: any): Promise<any>;
|
386
|
+
getClassName(): string;
|
387
|
+
render(): any;
|
388
|
+
redraw(): Promise<void> | Promise<boolean>;
|
389
|
+
attach(element: any): Promise<boolean>;
|
390
|
+
hasRequiredFields(): boolean;
|
391
|
+
/**
|
392
|
+
* Sets a new alert to display in the error dialog of the form.
|
393
|
+
*
|
394
|
+
* @param {string} type - The type of alert to display. "danger", "success", "warning", etc.
|
395
|
+
* @param {string} message - The message to show in the alert.
|
396
|
+
* @param {Object} options
|
397
|
+
*/
|
398
|
+
setAlert(type: string, message: string, options: Object): void;
|
399
|
+
/**
|
400
|
+
* Focus on selected component.
|
401
|
+
*
|
402
|
+
* @param {string} key - The key of selected component.
|
403
|
+
* @returns {*}
|
404
|
+
*/
|
405
|
+
focusOnComponent(key: string): any;
|
406
|
+
/**
|
407
|
+
* Show the errors of this form within the alert dialog.
|
408
|
+
*
|
409
|
+
* @param {Object} error - An optional additional error to display along with the component errors.
|
410
|
+
* @returns {*}
|
411
|
+
*/
|
412
|
+
showErrors(errors: any, triggerEvent: any): any;
|
413
|
+
/**
|
414
|
+
* Called when the submission has completed, or if the submission needs to be sent to an external library.
|
415
|
+
*
|
416
|
+
* @param {Object} submission - The submission object.
|
417
|
+
* @param {boolean} saved - Whether or not this submission was saved to the server.
|
418
|
+
* @returns {object} - The submission object.
|
419
|
+
*/
|
420
|
+
onSubmit(submission: Object, saved: boolean): object;
|
421
|
+
normalizeError(error: any): any;
|
422
|
+
/**
|
423
|
+
* Called when an error occurs during the submission.
|
424
|
+
*
|
425
|
+
* @param {Object} error - The error that occured.
|
426
|
+
*/
|
427
|
+
onSubmissionError(error: Object): any;
|
428
|
+
/**
|
429
|
+
* Trigger the change event for this form.
|
430
|
+
*
|
431
|
+
* @param changed
|
432
|
+
* @param flags
|
433
|
+
*/
|
434
|
+
onChange(flags: any, changed: any, modified: any, changes: any): void;
|
435
|
+
/**
|
436
|
+
* Send a delete request to the server.
|
437
|
+
*/
|
438
|
+
deleteSubmission(): any;
|
439
|
+
/**
|
440
|
+
* Cancels the submission.
|
441
|
+
*
|
442
|
+
* @alias reset
|
443
|
+
*/
|
444
|
+
cancel(noconfirm: any): boolean;
|
445
|
+
setMetadata(submission: any): void;
|
446
|
+
submitForm(options?: {}): Promise<any>;
|
447
|
+
setServerErrors(error: any): void;
|
448
|
+
serverErrors: any;
|
449
|
+
executeSubmit(options: any): Promise<object>;
|
450
|
+
submissionInProcess: boolean | undefined;
|
451
|
+
clearServerErrors(): void;
|
452
|
+
/**
|
453
|
+
* Submits the form.
|
454
|
+
*
|
455
|
+
* @example
|
456
|
+
* import Webform from '@formio/js/Webform';
|
457
|
+
* let form = new Webform(document.getElementById('formio'));
|
458
|
+
* form.src = 'https://examples.form.io/example';
|
459
|
+
* form.submission = {data: {
|
460
|
+
* firstName: 'Joe',
|
461
|
+
* lastName: 'Smith',
|
462
|
+
* email: 'joe@example.com'
|
463
|
+
* }};
|
464
|
+
* form.submit().then((submission) => {
|
465
|
+
* console.log(submission);
|
466
|
+
* });
|
467
|
+
*
|
468
|
+
* @param {boolean} before - If this submission occured from the before handlers.
|
469
|
+
*
|
470
|
+
* @returns {Promise} - A promise when the form is done submitting.
|
471
|
+
*/
|
472
|
+
submit(before: boolean, options?: {}): Promise<any>;
|
473
|
+
submitUrl(URL: any, headers: any): void;
|
474
|
+
triggerRecaptcha(): void;
|
475
|
+
_nosubmit: any;
|
476
|
+
get conditions(): any;
|
477
|
+
get variables(): any;
|
478
|
+
}
|
479
|
+
declare namespace Webform {
|
480
|
+
let setBaseUrl: any;
|
481
|
+
let setApiUrl: any;
|
482
|
+
let setAppUrl: any;
|
483
|
+
}
|
484
|
+
export default Webform;
|
485
|
+
/**
|
486
|
+
* Represents a JSON value.
|
487
|
+
*/
|
488
|
+
export type JSON = (string | number | boolean | null | JSON[] | JSONObject);
|
489
|
+
/**
|
490
|
+
* Represents a JSON array.
|
491
|
+
*/
|
492
|
+
export type JSONArray = Array<JSON>;
|
493
|
+
/**
|
494
|
+
* Represents a JSON object.
|
495
|
+
*/
|
496
|
+
export type JSONObject = {
|
497
|
+
[key: string]: JSON;
|
498
|
+
};
|
499
|
+
export type FormioHooks = {
|
500
|
+
beforeSubmit?: Function | undefined;
|
501
|
+
beforeCancel?: Function | undefined;
|
502
|
+
beforeNext?: Function | undefined;
|
503
|
+
beforePrev?: Function | undefined;
|
504
|
+
attachComponent?: Function | undefined;
|
505
|
+
setDataValue?: Function | undefined;
|
506
|
+
addComponents?: Function | undefined;
|
507
|
+
addComponent?: Function | undefined;
|
508
|
+
customValidation?: Function | undefined;
|
509
|
+
attachWebform?: Function | undefined;
|
510
|
+
};
|
511
|
+
export type SanitizeConfig = {
|
512
|
+
addAttr?: string[] | undefined;
|
513
|
+
addTags?: string[] | undefined;
|
514
|
+
allowedAttrs?: string[] | undefined;
|
515
|
+
allowedTags?: string[] | undefined;
|
516
|
+
allowedUriRegex?: string[] | undefined;
|
517
|
+
addUriSafeAttr?: string[] | undefined;
|
518
|
+
};
|
519
|
+
export type ButtonSettings = {
|
520
|
+
showPrevious?: boolean | undefined;
|
521
|
+
showNext?: boolean | undefined;
|
522
|
+
showCancel?: boolean | undefined;
|
523
|
+
showSubmit?: boolean | undefined;
|
524
|
+
};
|
525
|
+
export type FormOptions = {
|
526
|
+
/**
|
527
|
+
* - Enable the save draft feature.
|
528
|
+
*/
|
529
|
+
saveDraft?: boolean | undefined;
|
530
|
+
/**
|
531
|
+
* - The throttle for the save draft feature.
|
532
|
+
*/
|
533
|
+
saveDraftThrottle?: number | undefined;
|
534
|
+
/**
|
535
|
+
* - Set this form to readOnly.
|
536
|
+
*/
|
537
|
+
readOnly?: boolean | undefined;
|
538
|
+
/**
|
539
|
+
* - Disable the alerts dialog.
|
540
|
+
*/
|
541
|
+
noAlerts?: boolean | undefined;
|
542
|
+
/**
|
543
|
+
* - The translation file for this rendering.
|
544
|
+
*/
|
545
|
+
i18n?: {
|
546
|
+
[key: string]: string;
|
547
|
+
} | undefined;
|
548
|
+
/**
|
549
|
+
* - Custom logic for creation of elements.
|
550
|
+
*/
|
551
|
+
template?: string | undefined;
|
552
|
+
/**
|
553
|
+
* - Exclude default values from the settings.
|
554
|
+
*/
|
555
|
+
noDefaults?: boolean | undefined;
|
556
|
+
/**
|
557
|
+
* - The file service for this form.
|
558
|
+
*/
|
559
|
+
fileService?: any;
|
560
|
+
/**
|
561
|
+
* - The EventEmitter for this form.
|
562
|
+
*/
|
563
|
+
events?: EventEmitter | undefined;
|
564
|
+
/**
|
565
|
+
* - The language to render this form in.
|
566
|
+
*/
|
567
|
+
language?: string | undefined;
|
568
|
+
/**
|
569
|
+
* - The i18next configuration for this form.
|
570
|
+
*/
|
571
|
+
i18next?: {
|
572
|
+
[key: string]: string;
|
573
|
+
} | undefined;
|
574
|
+
/**
|
575
|
+
* - View the form as raw HTML.
|
576
|
+
*/
|
577
|
+
viewAsHtml?: boolean | undefined;
|
578
|
+
/**
|
579
|
+
* - The render mode for this form.
|
580
|
+
*/
|
581
|
+
renderMode?: "html" | "form" | "flat" | "builder" | "pdf" | undefined;
|
582
|
+
/**
|
583
|
+
* - Highlight any errors on the form.
|
584
|
+
*/
|
585
|
+
highlightErrors?: boolean | undefined;
|
586
|
+
/**
|
587
|
+
* - The error class for components.
|
588
|
+
*/
|
589
|
+
componentErrorClass?: string | undefined;
|
590
|
+
/**
|
591
|
+
* - The templates for this form.
|
592
|
+
*/
|
593
|
+
templates?: any;
|
594
|
+
/**
|
595
|
+
* - The iconset for this form.
|
596
|
+
*/
|
597
|
+
iconset?: string | undefined;
|
598
|
+
/**
|
599
|
+
* - The components for this form.
|
600
|
+
*/
|
601
|
+
components?: Component[] | undefined;
|
602
|
+
/**
|
603
|
+
* - Disabled components for this form.
|
604
|
+
*/
|
605
|
+
disabled?: {
|
606
|
+
[key: string]: boolean;
|
607
|
+
} | undefined;
|
608
|
+
/**
|
609
|
+
* - Show hidden fields.
|
610
|
+
*/
|
611
|
+
showHiddenFields?: boolean | undefined;
|
612
|
+
/**
|
613
|
+
* - Hidden components for this form.
|
614
|
+
*/
|
615
|
+
hide?: {
|
616
|
+
[key: string]: boolean;
|
617
|
+
} | undefined;
|
618
|
+
/**
|
619
|
+
* - Components to show for this form.
|
620
|
+
*/
|
621
|
+
show?: {
|
622
|
+
[key: string]: boolean;
|
623
|
+
} | undefined;
|
624
|
+
/**
|
625
|
+
* - The Formio instance for this form.
|
626
|
+
*/
|
627
|
+
formio?: any;
|
628
|
+
/**
|
629
|
+
* - The decimal separator for this form.
|
630
|
+
*/
|
631
|
+
decimalSeparator?: string | undefined;
|
632
|
+
/**
|
633
|
+
* - The thousands separator for this form.
|
634
|
+
*/
|
635
|
+
thousandsSeparator?: string | undefined;
|
636
|
+
/**
|
637
|
+
* - The hooks for this form.
|
638
|
+
*/
|
639
|
+
hooks?: FormioHooks | undefined;
|
640
|
+
/**
|
641
|
+
* - Always be dirty.
|
642
|
+
*/
|
643
|
+
alwaysDirty?: boolean | undefined;
|
644
|
+
/**
|
645
|
+
* - Skip restoring a draft.
|
646
|
+
*/
|
647
|
+
skipDraftRestore?: boolean | undefined;
|
648
|
+
/**
|
649
|
+
* - The display for this form.
|
650
|
+
*/
|
651
|
+
display?: "form" | "wizard" | "pdf" | undefined;
|
652
|
+
/**
|
653
|
+
* - The CDN url for this form.
|
654
|
+
*/
|
655
|
+
cdnUrl?: string | undefined;
|
656
|
+
/**
|
657
|
+
* - Flatten the form.
|
658
|
+
*/
|
659
|
+
flatten?: boolean | undefined;
|
660
|
+
/**
|
661
|
+
* - Sanitize the form.
|
662
|
+
*/
|
663
|
+
sanitize?: boolean | undefined;
|
664
|
+
/**
|
665
|
+
* - The sanitize configuration for this form.
|
666
|
+
*/
|
667
|
+
sanitizeConfig?: SanitizeConfig | undefined;
|
668
|
+
/**
|
669
|
+
* - The button settings for this form.
|
670
|
+
*/
|
671
|
+
buttonSettings?: ButtonSettings | undefined;
|
672
|
+
/**
|
673
|
+
* - The breadcrumb settings for this form.
|
674
|
+
*/
|
675
|
+
breadCrumbSettings?: Object | undefined;
|
676
|
+
/**
|
677
|
+
* - Allow the previous button (for Wizard forms).
|
678
|
+
*/
|
679
|
+
allowPrevious?: boolean | undefined;
|
680
|
+
/**
|
681
|
+
* - The order of the buttons (for Wizard forms).
|
682
|
+
*/
|
683
|
+
wizardButtonOrder?: string[] | undefined;
|
684
|
+
/**
|
685
|
+
* - Show the checkbox background.
|
686
|
+
*/
|
687
|
+
showCheckboxBackground?: boolean | undefined;
|
688
|
+
/**
|
689
|
+
* - The zoom for PDF forms.
|
690
|
+
*/
|
691
|
+
zoom?: number | undefined;
|
692
|
+
};
|
693
|
+
import NestedDataComponent from './components/_classes/nesteddata/NestedDataComponent';
|
694
|
+
import EventEmitter from './EventEmitter';
|
695
|
+
import { Component } from '@formio/core';
|