@formio/js 5.0.0-dev.5610.da13e39 → 5.0.0-dev.5613.3476921
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +1199 -651
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.form.min.js.LICENSE.txt +11 -3
- package/dist/formio.full.js +919 -691
- package/dist/formio.full.min.js +1 -1
- package/dist/formio.full.min.js.LICENSE.txt +11 -3
- package/dist/formio.js +16 -16
- package/dist/formio.min.js +1 -1
- package/dist/formio.min.js.LICENSE.txt +1 -1
- package/dist/formio.utils.js +493 -1861
- package/dist/formio.utils.min.js +1 -1
- package/dist/formio.utils.min.js.LICENSE.txt +2 -12
- package/lib/cjs/Element.d.ts +96 -86
- package/lib/cjs/Element.js +78 -68
- package/lib/cjs/Form.d.ts +36 -365
- package/lib/cjs/Form.js +64 -50
- package/lib/cjs/FormBuilder.d.ts +2 -187
- package/lib/cjs/FormBuilder.js +8 -30
- package/lib/cjs/PDF.d.ts +13 -11
- package/lib/cjs/PDF.js +8 -6
- package/lib/cjs/Webform.d.ts +139 -180
- package/lib/cjs/Webform.js +298 -313
- package/lib/cjs/WebformBuilder.d.ts +14 -16
- package/lib/cjs/WebformBuilder.js +11 -17
- package/lib/cjs/Wizard.d.ts +21 -31
- package/lib/cjs/Wizard.js +19 -42
- package/lib/cjs/WizardBuilder.d.ts +1 -1
- package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +5 -8
- package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.js +3 -6
- package/lib/cjs/components/Components.d.ts +4 -4
- package/lib/cjs/components/Components.js +3 -3
- package/lib/cjs/components/_classes/component/Component.d.ts +269 -502
- package/lib/cjs/components/_classes/component/Component.form.d.ts +3 -6
- package/lib/cjs/components/_classes/component/Component.form.js +0 -5
- package/lib/cjs/components/_classes/component/Component.js +189 -433
- package/lib/cjs/components/_classes/component/editForm/Component.edit.display.js +8 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.validation.js +2 -2
- package/lib/cjs/components/_classes/component/editForm/utils.js +2 -2
- package/lib/cjs/components/_classes/field/Field.d.ts +2 -11
- package/lib/cjs/components/_classes/field/Field.js +1 -13
- package/lib/cjs/components/_classes/input/Input.d.ts +3 -4
- package/lib/cjs/components/_classes/input/Input.js +2 -2
- package/lib/cjs/components/_classes/list/ListComponent.d.ts +2 -2
- package/lib/cjs/components/_classes/list/ListComponent.form.d.ts +3 -6
- package/lib/cjs/components/_classes/list/ListComponent.form.js +0 -5
- package/lib/cjs/components/_classes/multivalue/Multivalue.d.ts +12 -43
- package/lib/cjs/components/_classes/multivalue/Multivalue.js +3 -37
- package/lib/cjs/components/_classes/nested/NestedComponent.d.ts +67 -163
- package/lib/cjs/components/_classes/nested/NestedComponent.form.d.ts +3 -6
- package/lib/cjs/components/_classes/nested/NestedComponent.form.js +0 -5
- package/lib/cjs/components/_classes/nested/NestedComponent.js +54 -175
- package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +2 -2
- package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.js +1 -1
- package/lib/cjs/components/_classes/nesteddata/NestedDataComponent.d.ts +1 -7
- package/lib/cjs/components/_classes/nesteddata/NestedDataComponent.js +3 -2
- package/lib/cjs/components/address/Address.d.ts +2 -4
- package/lib/cjs/components/address/Address.form.d.ts +3 -6
- package/lib/cjs/components/address/Address.form.js +0 -5
- package/lib/cjs/components/button/Button.d.ts +12 -3
- package/lib/cjs/components/button/Button.form.d.ts +3 -6
- package/lib/cjs/components/button/Button.form.js +0 -5
- package/lib/cjs/components/button/Button.js +0 -5
- package/lib/cjs/components/checkbox/Checkbox.d.ts +27 -4
- package/lib/cjs/components/checkbox/Checkbox.form.d.ts +3 -6
- package/lib/cjs/components/checkbox/Checkbox.form.js +0 -5
- package/lib/cjs/components/columns/Columns.d.ts +2 -3
- package/lib/cjs/components/columns/Columns.form.d.ts +3 -6
- package/lib/cjs/components/columns/Columns.form.js +0 -5
- package/lib/cjs/components/columns/Columns.js +1 -1
- package/lib/cjs/components/container/Container.form.d.ts +3 -6
- package/lib/cjs/components/container/Container.form.js +0 -5
- package/lib/cjs/components/content/Content.d.ts +1 -2
- package/lib/cjs/components/content/Content.form.d.ts +3 -6
- package/lib/cjs/components/content/Content.form.js +0 -5
- package/lib/cjs/components/currency/Currency.form.d.ts +3 -6
- package/lib/cjs/components/currency/Currency.form.js +0 -5
- package/lib/cjs/components/currency/Currency.js +2 -1
- package/lib/cjs/components/datagrid/DataGrid.d.ts +7 -8
- package/lib/cjs/components/datagrid/DataGrid.form.d.ts +3 -6
- package/lib/cjs/components/datagrid/DataGrid.form.js +0 -5
- package/lib/cjs/components/datagrid/DataGrid.js +5 -5
- package/lib/cjs/components/datamap/DataMap.d.ts +0 -1
- package/lib/cjs/components/datamap/DataMap.form.d.ts +3 -6
- package/lib/cjs/components/datamap/DataMap.form.js +0 -5
- package/lib/cjs/components/datetime/DateTime.d.ts +14 -0
- package/lib/cjs/components/datetime/DateTime.form.d.ts +3 -6
- package/lib/cjs/components/datetime/DateTime.form.js +0 -5
- package/lib/cjs/components/datetime/editForm/DateTime.edit.date.js +2 -2
- package/lib/cjs/components/day/Day.d.ts +48 -22
- package/lib/cjs/components/day/Day.form.d.ts +3 -6
- package/lib/cjs/components/day/Day.form.js +0 -5
- package/lib/cjs/components/day/Day.js +20 -15
- package/lib/cjs/components/editgrid/EditGrid.d.ts +3 -7
- package/lib/cjs/components/editgrid/EditGrid.form.d.ts +3 -6
- package/lib/cjs/components/editgrid/EditGrid.form.js +0 -5
- package/lib/cjs/components/editgrid/EditGrid.js +3 -3
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.display.js +5 -2
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.templates.js +9 -6
- package/lib/cjs/components/email/Email.form.d.ts +3 -6
- package/lib/cjs/components/email/Email.form.js +0 -5
- package/lib/cjs/components/fieldset/Fieldset.form.d.ts +3 -6
- package/lib/cjs/components/fieldset/Fieldset.form.js +0 -5
- package/lib/cjs/components/file/File.d.ts +22 -9
- package/lib/cjs/components/file/File.form.d.ts +3 -6
- package/lib/cjs/components/file/File.form.js +0 -5
- package/lib/cjs/components/form/Form.d.ts +20 -31
- package/lib/cjs/components/form/Form.form.d.ts +3 -6
- package/lib/cjs/components/form/Form.form.js +0 -5
- package/lib/cjs/components/form/Form.js +10 -13
- package/lib/cjs/components/hidden/Hidden.d.ts +11 -1
- package/lib/cjs/components/hidden/Hidden.form.d.ts +3 -6
- package/lib/cjs/components/hidden/Hidden.form.js +0 -5
- package/lib/cjs/components/hidden/Hidden.js +2 -1
- package/lib/cjs/components/html/HTML.d.ts +1 -2
- package/lib/cjs/components/html/HTML.form.d.ts +3 -6
- package/lib/cjs/components/html/HTML.form.js +0 -5
- package/lib/cjs/components/number/Number.d.ts +17 -3
- package/lib/cjs/components/number/Number.form.d.ts +3 -6
- package/lib/cjs/components/number/Number.form.js +0 -5
- package/lib/cjs/components/number/Number.js +2 -1
- package/lib/cjs/components/panel/Panel.form.d.ts +3 -6
- package/lib/cjs/components/panel/Panel.form.js +0 -5
- package/lib/cjs/components/panel/Panel.js +1 -0
- package/lib/cjs/components/password/Password.form.d.ts +3 -6
- package/lib/cjs/components/password/Password.form.js +0 -5
- package/lib/cjs/components/phonenumber/PhoneNumber.form.d.ts +3 -6
- package/lib/cjs/components/phonenumber/PhoneNumber.form.js +0 -5
- package/lib/cjs/components/radio/Radio.d.ts +26 -3
- package/lib/cjs/components/radio/Radio.form.d.ts +3 -6
- package/lib/cjs/components/radio/Radio.form.js +0 -5
- package/lib/cjs/components/radio/Radio.js +4 -3
- package/lib/cjs/components/recaptcha/ReCaptcha.d.ts +1 -1
- package/lib/cjs/components/recaptcha/ReCaptcha.form.d.ts +3 -5
- package/lib/cjs/components/recaptcha/ReCaptcha.form.js +0 -4
- package/lib/cjs/components/select/Select.d.ts +39 -16
- package/lib/cjs/components/select/Select.form.d.ts +3 -6
- package/lib/cjs/components/select/Select.form.js +0 -5
- package/lib/cjs/components/select/Select.js +16 -13
- package/lib/cjs/components/selectboxes/SelectBoxes.d.ts +17 -2
- package/lib/cjs/components/selectboxes/SelectBoxes.form.d.ts +3 -6
- package/lib/cjs/components/selectboxes/SelectBoxes.form.js +0 -5
- package/lib/cjs/components/selectboxes/SelectBoxes.js +9 -7
- package/lib/cjs/components/signature/Signature.d.ts +14 -1
- package/lib/cjs/components/signature/Signature.form.d.ts +3 -6
- package/lib/cjs/components/signature/Signature.form.js +0 -5
- package/lib/cjs/components/survey/Survey.d.ts +15 -3
- package/lib/cjs/components/survey/Survey.form.d.ts +3 -6
- package/lib/cjs/components/survey/Survey.form.js +0 -5
- package/lib/cjs/components/table/Table.d.ts +1 -2
- package/lib/cjs/components/table/Table.form.d.ts +3 -6
- package/lib/cjs/components/table/Table.form.js +0 -5
- package/lib/cjs/components/tabs/Tabs.d.ts +4 -4
- package/lib/cjs/components/tabs/Tabs.form.d.ts +3 -6
- package/lib/cjs/components/tabs/Tabs.form.js +0 -5
- package/lib/cjs/components/tabs/Tabs.js +2 -1
- package/lib/cjs/components/tags/Tags.d.ts +14 -0
- package/lib/cjs/components/tags/Tags.form.d.ts +3 -6
- package/lib/cjs/components/tags/Tags.form.js +0 -5
- package/lib/cjs/components/textarea/TextArea.d.ts +9 -4
- package/lib/cjs/components/textarea/TextArea.form.d.ts +3 -6
- package/lib/cjs/components/textarea/TextArea.form.js +0 -5
- package/lib/cjs/components/textarea/TextArea.js +2 -2
- package/lib/cjs/components/textfield/TextField.d.ts +30 -14
- package/lib/cjs/components/textfield/TextField.form.d.ts +3 -6
- package/lib/cjs/components/textfield/TextField.form.js +0 -5
- package/lib/cjs/components/textfield/TextField.js +16 -13
- package/lib/cjs/components/time/Time.form.d.ts +3 -6
- package/lib/cjs/components/time/Time.form.js +0 -5
- package/lib/cjs/components/unknown/Unknown.form.d.ts +34 -5
- package/lib/cjs/components/unknown/Unknown.form.js +0 -4
- package/lib/cjs/components/url/Url.form.d.ts +3 -6
- package/lib/cjs/components/url/Url.form.js +0 -5
- package/lib/cjs/components/well/Well.form.d.ts +3 -6
- package/lib/cjs/components/well/Well.form.js +0 -5
- package/lib/cjs/formio.embed.d.ts +2 -1
- package/lib/cjs/formio.embed.js +100 -2
- package/lib/cjs/formio.form.d.ts +4 -11
- package/lib/cjs/formio.form.js +5 -13
- package/lib/cjs/providers/Providers.d.ts +5 -36
- package/lib/cjs/providers/Providers.js +0 -29
- package/lib/cjs/providers/address/AddressProvider.d.ts +12 -131
- package/lib/cjs/providers/address/AddressProvider.js +2 -88
- package/lib/cjs/providers/address/AzureAddressProvider.d.ts +1 -48
- package/lib/cjs/providers/address/AzureAddressProvider.js +0 -37
- package/lib/cjs/providers/address/CustomAddressProvider.d.ts +4 -27
- package/lib/cjs/providers/address/CustomAddressProvider.js +0 -34
- package/lib/cjs/providers/address/GoogleAddressProvider.d.ts +6 -130
- package/lib/cjs/providers/address/GoogleAddressProvider.js +0 -72
- package/lib/cjs/providers/address/NominatimAddressProvider.d.ts +7 -32
- package/lib/cjs/providers/address/NominatimAddressProvider.js +0 -33
- package/lib/cjs/providers/address/index.d.ts +1 -3
- package/lib/cjs/providers/processor/fileProcessor.d.ts +1 -7
- package/lib/cjs/providers/processor/fileProcessor.js +0 -6
- package/lib/cjs/providers/storage/azure.d.ts +13 -6
- package/lib/cjs/providers/storage/azure.js +0 -5
- package/lib/cjs/providers/storage/base64.d.ts +6 -5
- package/lib/cjs/providers/storage/base64.js +0 -4
- package/lib/cjs/providers/storage/dropbox.d.ts +4 -6
- package/lib/cjs/providers/storage/dropbox.js +0 -5
- package/lib/cjs/providers/storage/googleDrive.d.ts +5 -7
- package/lib/cjs/providers/storage/googleDrive.js +0 -6
- package/lib/cjs/providers/storage/indexeddb.d.ts +7 -5
- package/lib/cjs/providers/storage/indexeddb.js +0 -4
- package/lib/cjs/providers/storage/s3.d.ts +20 -6
- package/lib/cjs/providers/storage/s3.js +0 -5
- package/lib/cjs/providers/storage/url.d.ts +7 -6
- package/lib/cjs/providers/storage/url.js +0 -10
- package/lib/cjs/providers/storage/util.d.ts +1 -24
- package/lib/cjs/providers/storage/util.js +0 -18
- package/lib/cjs/templates/Templates.d.ts +0 -1
- package/lib/cjs/translations/en.d.ts +1 -0
- package/lib/cjs/translations/en.js +1 -0
- package/lib/cjs/utils/Evaluator.d.ts +3 -6
- package/lib/cjs/utils/Evaluator.js +20 -11
- package/lib/cjs/utils/builder.d.ts +7 -9
- package/lib/cjs/utils/builder.js +5 -10
- package/lib/cjs/utils/calendarUtils.d.ts +13 -7
- package/lib/cjs/utils/calendarUtils.js +17 -10
- package/lib/cjs/utils/formUtils.d.ts +171 -43
- package/lib/cjs/utils/formUtils.js +569 -38
- package/lib/cjs/utils/utils.d.ts +216 -362
- package/lib/cjs/utils/utils.js +224 -331
- package/lib/cjs/widgets/CalendarWidget.d.ts +10 -9
- package/lib/cjs/widgets/CalendarWidget.js +11 -9
- package/lib/mjs/Element.d.ts +96 -86
- package/lib/mjs/Element.js +78 -68
- package/lib/mjs/Form.d.ts +36 -365
- package/lib/mjs/Form.js +57 -140
- package/lib/mjs/FormBuilder.d.ts +2 -187
- package/lib/mjs/FormBuilder.js +8 -32
- package/lib/mjs/PDF.d.ts +13 -11
- package/lib/mjs/PDF.js +8 -6
- package/lib/mjs/Webform.d.ts +139 -180
- package/lib/mjs/Webform.js +310 -325
- package/lib/mjs/WebformBuilder.d.ts +14 -16
- package/lib/mjs/WebformBuilder.js +11 -16
- package/lib/mjs/Wizard.d.ts +21 -31
- package/lib/mjs/Wizard.js +18 -41
- package/lib/mjs/WizardBuilder.d.ts +1 -1
- package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +5 -8
- package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.js +3 -6
- package/lib/mjs/components/Components.d.ts +4 -4
- package/lib/mjs/components/Components.js +3 -3
- package/lib/mjs/components/_classes/component/Component.d.ts +269 -502
- package/lib/mjs/components/_classes/component/Component.form.d.ts +3 -6
- package/lib/mjs/components/_classes/component/Component.form.js +0 -5
- package/lib/mjs/components/_classes/component/Component.js +189 -433
- package/lib/mjs/components/_classes/component/editForm/Component.edit.display.js +8 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.validation.js +1 -1
- package/lib/mjs/components/_classes/component/editForm/utils.js +1 -1
- package/lib/mjs/components/_classes/field/Field.d.ts +2 -11
- package/lib/mjs/components/_classes/field/Field.js +1 -13
- package/lib/mjs/components/_classes/input/Input.d.ts +3 -4
- package/lib/mjs/components/_classes/input/Input.js +2 -2
- package/lib/mjs/components/_classes/list/ListComponent.d.ts +2 -2
- package/lib/mjs/components/_classes/list/ListComponent.form.d.ts +3 -6
- package/lib/mjs/components/_classes/list/ListComponent.form.js +0 -5
- package/lib/mjs/components/_classes/multivalue/Multivalue.d.ts +12 -43
- package/lib/mjs/components/_classes/multivalue/Multivalue.js +3 -37
- package/lib/mjs/components/_classes/nested/NestedComponent.d.ts +67 -163
- package/lib/mjs/components/_classes/nested/NestedComponent.form.d.ts +3 -6
- package/lib/mjs/components/_classes/nested/NestedComponent.form.js +0 -5
- package/lib/mjs/components/_classes/nested/NestedComponent.js +54 -175
- package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +2 -2
- package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.js +1 -1
- package/lib/mjs/components/_classes/nesteddata/NestedDataComponent.d.ts +1 -7
- package/lib/mjs/components/_classes/nesteddata/NestedDataComponent.js +3 -2
- package/lib/mjs/components/address/Address.d.ts +2 -4
- package/lib/mjs/components/address/Address.form.d.ts +3 -6
- package/lib/mjs/components/address/Address.form.js +0 -5
- package/lib/mjs/components/button/Button.d.ts +12 -3
- package/lib/mjs/components/button/Button.form.d.ts +3 -6
- package/lib/mjs/components/button/Button.form.js +0 -5
- package/lib/mjs/components/button/Button.js +0 -5
- package/lib/mjs/components/checkbox/Checkbox.d.ts +27 -4
- package/lib/mjs/components/checkbox/Checkbox.form.d.ts +3 -6
- package/lib/mjs/components/checkbox/Checkbox.form.js +0 -5
- package/lib/mjs/components/columns/Columns.d.ts +2 -3
- package/lib/mjs/components/columns/Columns.form.d.ts +3 -6
- package/lib/mjs/components/columns/Columns.form.js +0 -5
- package/lib/mjs/components/columns/Columns.js +1 -1
- package/lib/mjs/components/container/Container.form.d.ts +3 -6
- package/lib/mjs/components/container/Container.form.js +0 -5
- package/lib/mjs/components/content/Content.d.ts +1 -2
- package/lib/mjs/components/content/Content.form.d.ts +3 -6
- package/lib/mjs/components/content/Content.form.js +0 -5
- package/lib/mjs/components/currency/Currency.form.d.ts +3 -6
- package/lib/mjs/components/currency/Currency.form.js +0 -5
- package/lib/mjs/components/currency/Currency.js +2 -1
- package/lib/mjs/components/datagrid/DataGrid.d.ts +7 -8
- package/lib/mjs/components/datagrid/DataGrid.form.d.ts +3 -6
- package/lib/mjs/components/datagrid/DataGrid.form.js +0 -5
- package/lib/mjs/components/datagrid/DataGrid.js +5 -5
- package/lib/mjs/components/datamap/DataMap.d.ts +0 -1
- package/lib/mjs/components/datamap/DataMap.form.d.ts +3 -6
- package/lib/mjs/components/datamap/DataMap.form.js +0 -5
- package/lib/mjs/components/datetime/DateTime.d.ts +14 -0
- package/lib/mjs/components/datetime/DateTime.form.d.ts +3 -6
- package/lib/mjs/components/datetime/DateTime.form.js +0 -5
- package/lib/mjs/components/datetime/editForm/DateTime.edit.date.js +1 -1
- package/lib/mjs/components/day/Day.d.ts +48 -22
- package/lib/mjs/components/day/Day.form.d.ts +3 -6
- package/lib/mjs/components/day/Day.form.js +0 -5
- package/lib/mjs/components/day/Day.js +20 -15
- package/lib/mjs/components/editgrid/EditGrid.d.ts +3 -7
- package/lib/mjs/components/editgrid/EditGrid.form.d.ts +3 -6
- package/lib/mjs/components/editgrid/EditGrid.form.js +0 -5
- package/lib/mjs/components/editgrid/EditGrid.js +3 -3
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.display.js +1 -1
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.templates.js +1 -1
- package/lib/mjs/components/email/Email.form.d.ts +3 -6
- package/lib/mjs/components/email/Email.form.js +0 -5
- package/lib/mjs/components/fieldset/Fieldset.form.d.ts +3 -6
- package/lib/mjs/components/fieldset/Fieldset.form.js +0 -5
- package/lib/mjs/components/file/File.d.ts +22 -9
- package/lib/mjs/components/file/File.form.d.ts +3 -6
- package/lib/mjs/components/file/File.form.js +0 -5
- package/lib/mjs/components/form/Form.d.ts +20 -31
- package/lib/mjs/components/form/Form.form.d.ts +3 -6
- package/lib/mjs/components/form/Form.form.js +0 -5
- package/lib/mjs/components/form/Form.js +10 -13
- package/lib/mjs/components/hidden/Hidden.d.ts +11 -1
- package/lib/mjs/components/hidden/Hidden.form.d.ts +3 -6
- package/lib/mjs/components/hidden/Hidden.form.js +0 -5
- package/lib/mjs/components/hidden/Hidden.js +2 -1
- package/lib/mjs/components/html/HTML.d.ts +1 -2
- package/lib/mjs/components/html/HTML.form.d.ts +3 -6
- package/lib/mjs/components/html/HTML.form.js +0 -5
- package/lib/mjs/components/number/Number.d.ts +17 -3
- package/lib/mjs/components/number/Number.form.d.ts +3 -6
- package/lib/mjs/components/number/Number.form.js +0 -5
- package/lib/mjs/components/number/Number.js +2 -1
- package/lib/mjs/components/panel/Panel.form.d.ts +3 -6
- package/lib/mjs/components/panel/Panel.form.js +0 -5
- package/lib/mjs/components/panel/Panel.js +1 -0
- package/lib/mjs/components/password/Password.form.d.ts +3 -6
- package/lib/mjs/components/password/Password.form.js +0 -5
- package/lib/mjs/components/phonenumber/PhoneNumber.form.d.ts +3 -6
- package/lib/mjs/components/phonenumber/PhoneNumber.form.js +0 -5
- package/lib/mjs/components/radio/Radio.d.ts +26 -3
- package/lib/mjs/components/radio/Radio.form.d.ts +3 -6
- package/lib/mjs/components/radio/Radio.form.js +0 -5
- package/lib/mjs/components/radio/Radio.js +4 -3
- package/lib/mjs/components/recaptcha/ReCaptcha.d.ts +1 -1
- package/lib/mjs/components/recaptcha/ReCaptcha.form.d.ts +3 -5
- package/lib/mjs/components/recaptcha/ReCaptcha.form.js +0 -4
- package/lib/mjs/components/select/Select.d.ts +39 -16
- package/lib/mjs/components/select/Select.form.d.ts +3 -6
- package/lib/mjs/components/select/Select.form.js +0 -5
- package/lib/mjs/components/select/Select.js +16 -13
- package/lib/mjs/components/selectboxes/SelectBoxes.d.ts +17 -2
- package/lib/mjs/components/selectboxes/SelectBoxes.form.d.ts +3 -6
- package/lib/mjs/components/selectboxes/SelectBoxes.form.js +0 -5
- package/lib/mjs/components/selectboxes/SelectBoxes.js +9 -7
- package/lib/mjs/components/signature/Signature.d.ts +14 -1
- package/lib/mjs/components/signature/Signature.form.d.ts +3 -6
- package/lib/mjs/components/signature/Signature.form.js +0 -5
- package/lib/mjs/components/survey/Survey.d.ts +15 -3
- package/lib/mjs/components/survey/Survey.form.d.ts +3 -6
- package/lib/mjs/components/survey/Survey.form.js +0 -5
- package/lib/mjs/components/table/Table.d.ts +1 -2
- package/lib/mjs/components/table/Table.form.d.ts +3 -6
- package/lib/mjs/components/table/Table.form.js +0 -5
- package/lib/mjs/components/tabs/Tabs.d.ts +4 -4
- package/lib/mjs/components/tabs/Tabs.form.d.ts +3 -6
- package/lib/mjs/components/tabs/Tabs.form.js +0 -5
- package/lib/mjs/components/tabs/Tabs.js +2 -1
- package/lib/mjs/components/tags/Tags.d.ts +14 -0
- package/lib/mjs/components/tags/Tags.form.d.ts +3 -6
- package/lib/mjs/components/tags/Tags.form.js +0 -5
- package/lib/mjs/components/textarea/TextArea.d.ts +9 -4
- package/lib/mjs/components/textarea/TextArea.form.d.ts +3 -6
- package/lib/mjs/components/textarea/TextArea.form.js +0 -5
- package/lib/mjs/components/textarea/TextArea.js +2 -2
- package/lib/mjs/components/textfield/TextField.d.ts +30 -14
- package/lib/mjs/components/textfield/TextField.form.d.ts +3 -6
- package/lib/mjs/components/textfield/TextField.form.js +0 -5
- package/lib/mjs/components/textfield/TextField.js +16 -13
- package/lib/mjs/components/time/Time.form.d.ts +3 -6
- package/lib/mjs/components/time/Time.form.js +0 -5
- package/lib/mjs/components/unknown/Unknown.form.d.ts +34 -5
- package/lib/mjs/components/unknown/Unknown.form.js +0 -4
- package/lib/mjs/components/url/Url.form.d.ts +3 -6
- package/lib/mjs/components/url/Url.form.js +0 -5
- package/lib/mjs/components/well/Well.form.d.ts +3 -6
- package/lib/mjs/components/well/Well.form.js +0 -5
- package/lib/mjs/formio.embed.d.ts +2 -1
- package/lib/mjs/formio.embed.js +99 -2
- package/lib/mjs/formio.form.d.ts +4 -11
- package/lib/mjs/formio.form.js +3 -10
- package/lib/mjs/providers/Providers.d.ts +5 -36
- package/lib/mjs/providers/Providers.js +0 -29
- package/lib/mjs/providers/address/AddressProvider.d.ts +12 -131
- package/lib/mjs/providers/address/AddressProvider.js +2 -88
- package/lib/mjs/providers/address/AzureAddressProvider.d.ts +1 -48
- package/lib/mjs/providers/address/AzureAddressProvider.js +0 -37
- package/lib/mjs/providers/address/CustomAddressProvider.d.ts +4 -27
- package/lib/mjs/providers/address/CustomAddressProvider.js +0 -34
- package/lib/mjs/providers/address/GoogleAddressProvider.d.ts +6 -130
- package/lib/mjs/providers/address/GoogleAddressProvider.js +0 -72
- package/lib/mjs/providers/address/NominatimAddressProvider.d.ts +7 -32
- package/lib/mjs/providers/address/NominatimAddressProvider.js +0 -33
- package/lib/mjs/providers/address/index.d.ts +1 -3
- package/lib/mjs/providers/processor/fileProcessor.d.ts +1 -7
- package/lib/mjs/providers/processor/fileProcessor.js +0 -6
- package/lib/mjs/providers/storage/azure.d.ts +13 -6
- package/lib/mjs/providers/storage/azure.js +0 -5
- package/lib/mjs/providers/storage/base64.d.ts +6 -5
- package/lib/mjs/providers/storage/base64.js +0 -4
- package/lib/mjs/providers/storage/dropbox.d.ts +4 -6
- package/lib/mjs/providers/storage/dropbox.js +0 -5
- package/lib/mjs/providers/storage/googleDrive.d.ts +5 -7
- package/lib/mjs/providers/storage/googleDrive.js +0 -6
- package/lib/mjs/providers/storage/indexeddb.d.ts +7 -5
- package/lib/mjs/providers/storage/indexeddb.js +0 -4
- package/lib/mjs/providers/storage/s3.d.ts +20 -6
- package/lib/mjs/providers/storage/s3.js +0 -5
- package/lib/mjs/providers/storage/url.d.ts +7 -6
- package/lib/mjs/providers/storage/url.js +0 -10
- package/lib/mjs/providers/storage/util.d.ts +1 -24
- package/lib/mjs/providers/storage/util.js +0 -18
- package/lib/mjs/templates/Templates.d.ts +0 -1
- package/lib/mjs/translations/en.d.ts +1 -0
- package/lib/mjs/translations/en.js +1 -0
- package/lib/mjs/utils/Evaluator.d.ts +3 -6
- package/lib/mjs/utils/Evaluator.js +20 -9
- package/lib/mjs/utils/builder.d.ts +7 -9
- package/lib/mjs/utils/builder.js +5 -10
- package/lib/mjs/utils/calendarUtils.d.ts +13 -7
- package/lib/mjs/utils/calendarUtils.js +17 -10
- package/lib/mjs/utils/formUtils.d.ts +171 -43
- package/lib/mjs/utils/formUtils.js +554 -6
- package/lib/mjs/utils/utils.d.ts +216 -362
- package/lib/mjs/utils/utils.js +218 -325
- package/lib/mjs/widgets/CalendarWidget.d.ts +10 -9
- package/lib/mjs/widgets/CalendarWidget.js +11 -9
- package/package.json +22 -22
- package/embed.d.ts +0 -1
- package/form.d.ts +0 -1
- package/lib/cjs/InlineEmbed.d.ts +0 -7
- package/lib/cjs/InlineEmbed.js +0 -109
- package/lib/mjs/InlineEmbed.d.ts +0 -7
- package/lib/mjs/InlineEmbed.js +0 -105
- package/sdk.d.ts +0 -1
- package/utils.d.ts +0 -1
|
@@ -81,8 +81,9 @@ class SelectBoxesComponent extends Radio_1.default {
|
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
83
83
|
* Only empty if the values are all false.
|
|
84
|
-
*
|
|
85
|
-
* @
|
|
84
|
+
*
|
|
85
|
+
* @param value
|
|
86
|
+
* @return {boolean}
|
|
86
87
|
*/
|
|
87
88
|
isEmpty(value = this.dataValue) {
|
|
88
89
|
let empty = true;
|
|
@@ -106,8 +107,9 @@ class SelectBoxesComponent extends Radio_1.default {
|
|
|
106
107
|
}
|
|
107
108
|
/**
|
|
108
109
|
* Normalize values coming into updateValue.
|
|
109
|
-
*
|
|
110
|
-
* @
|
|
110
|
+
*
|
|
111
|
+
* @param value
|
|
112
|
+
* @return {*}
|
|
111
113
|
*/
|
|
112
114
|
normalizeValue(value) {
|
|
113
115
|
value = value || {};
|
|
@@ -140,9 +142,9 @@ class SelectBoxesComponent extends Radio_1.default {
|
|
|
140
142
|
}
|
|
141
143
|
/**
|
|
142
144
|
* Set the value of this component.
|
|
143
|
-
*
|
|
144
|
-
* @param
|
|
145
|
-
* @
|
|
145
|
+
*
|
|
146
|
+
* @param value
|
|
147
|
+
* @param flags
|
|
146
148
|
*/
|
|
147
149
|
setValue(value, flags = {}) {
|
|
148
150
|
const changed = this.updateValue(value, flags);
|
|
@@ -9,9 +9,23 @@ export default class SignatureComponent extends Input {
|
|
|
9
9
|
};
|
|
10
10
|
static get serverConditionSettings(): {
|
|
11
11
|
operators: string[];
|
|
12
|
+
constructor: Function;
|
|
13
|
+
toString(): string;
|
|
14
|
+
toLocaleString(): string;
|
|
15
|
+
valueOf(): Object;
|
|
16
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
17
|
+
isPrototypeOf(v: Object): boolean;
|
|
18
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
12
19
|
};
|
|
13
20
|
static get conditionOperatorsSettings(): {
|
|
14
21
|
operators: string[];
|
|
22
|
+
constructor: Function;
|
|
23
|
+
toString(): string;
|
|
24
|
+
toLocaleString(): string;
|
|
25
|
+
valueOf(): Object;
|
|
26
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
27
|
+
isPrototypeOf(v: Object): boolean;
|
|
28
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
15
29
|
};
|
|
16
30
|
static savedValueTypes(schema: any): string[];
|
|
17
31
|
currentWidth: any;
|
|
@@ -22,7 +36,6 @@ export default class SignatureComponent extends Input {
|
|
|
22
36
|
showCanvas(show: any): void;
|
|
23
37
|
onDisabled(): void;
|
|
24
38
|
checkSize(force: any, scale: any): void;
|
|
25
|
-
getModalPreviewTemplate(): any;
|
|
26
39
|
signaturePad: SignaturePad | null | undefined;
|
|
27
40
|
observer: any;
|
|
28
41
|
getValueAsString(value: any): "" | "Yes" | "No";
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
5
|
-
*/
|
|
6
|
-
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
|
1
|
+
export default function _default(...extend: any[]): {
|
|
2
|
+
components: any;
|
|
3
|
+
};
|
|
@@ -7,11 +7,6 @@ const Components_1 = __importDefault(require("../Components"));
|
|
|
7
7
|
const Signature_edit_data_1 = __importDefault(require("./editForm/Signature.edit.data"));
|
|
8
8
|
const Signature_edit_display_1 = __importDefault(require("./editForm/Signature.edit.display"));
|
|
9
9
|
const Signature_edit_validation_1 = __importDefault(require("./editForm/Signature.edit.validation"));
|
|
10
|
-
/**
|
|
11
|
-
* The Edit Form function.
|
|
12
|
-
* @param {...any} extend - The components that extend the edit form.
|
|
13
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
14
|
-
*/
|
|
15
10
|
function default_1(...extend) {
|
|
16
11
|
return Components_1.default.baseEditForm([
|
|
17
12
|
{
|
|
@@ -9,17 +9,29 @@ export default class SurveyComponent extends Field {
|
|
|
9
9
|
};
|
|
10
10
|
static get serverConditionSettings(): {
|
|
11
11
|
operators: string[];
|
|
12
|
+
constructor: Function;
|
|
13
|
+
toString(): string;
|
|
14
|
+
toLocaleString(): string;
|
|
15
|
+
valueOf(): Object;
|
|
16
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
17
|
+
isPrototypeOf(v: Object): boolean;
|
|
18
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
12
19
|
};
|
|
13
20
|
static get conditionOperatorsSettings(): {
|
|
14
21
|
operators: string[];
|
|
22
|
+
constructor: Function;
|
|
23
|
+
toString(): string;
|
|
24
|
+
toLocaleString(): string;
|
|
25
|
+
valueOf(): Object;
|
|
26
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
27
|
+
isPrototypeOf(v: Object): boolean;
|
|
28
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
15
29
|
};
|
|
16
30
|
static savedValueTypes(schema: any): string[];
|
|
17
|
-
render():
|
|
18
|
-
attach(element: any): Promise<void>;
|
|
31
|
+
render(): any;
|
|
19
32
|
setValue(value: any, flags?: {}): boolean;
|
|
20
33
|
get emptyValue(): {};
|
|
21
34
|
validateRequired(setting: any, value: any): any;
|
|
22
35
|
getInputName(question: any): string;
|
|
23
|
-
getValueAsString(value: any, options: any): any;
|
|
24
36
|
}
|
|
25
37
|
import Field from '../_classes/field/Field';
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
5
|
-
*/
|
|
6
|
-
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
|
1
|
+
export default function _default(...extend: any[]): {
|
|
2
|
+
components: any;
|
|
3
|
+
};
|
|
@@ -7,11 +7,6 @@ const Components_1 = __importDefault(require("../Components"));
|
|
|
7
7
|
const Survey_edit_data_1 = __importDefault(require("./editForm/Survey.edit.data"));
|
|
8
8
|
const Survey_edit_display_1 = __importDefault(require("./editForm/Survey.edit.display"));
|
|
9
9
|
const Survey_edit_validation_1 = __importDefault(require("./editForm/Survey.edit.validation"));
|
|
10
|
-
/**
|
|
11
|
-
* The Edit Form function.
|
|
12
|
-
* @param {...any} extend - The components that extend the edit form.
|
|
13
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
14
|
-
*/
|
|
15
10
|
function default_1(...extend) {
|
|
16
11
|
return Components_1.default.baseEditForm([
|
|
17
12
|
{
|
|
@@ -13,12 +13,11 @@ export default class TableComponent extends NestedComponent {
|
|
|
13
13
|
};
|
|
14
14
|
static savedValueTypes(): never[];
|
|
15
15
|
constructor(...args: any[]);
|
|
16
|
-
get schema(): any;
|
|
17
16
|
get cellClassName(): string;
|
|
18
17
|
get tableKey(): string;
|
|
19
18
|
get colWidth(): string;
|
|
20
19
|
noField: boolean;
|
|
21
20
|
table: any[] | undefined;
|
|
22
|
-
render():
|
|
21
|
+
render(): any;
|
|
23
22
|
}
|
|
24
23
|
import NestedComponent from '../_classes/nested/NestedComponent';
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
5
|
-
*/
|
|
6
|
-
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
|
1
|
+
export default function _default(...extend: any[]): {
|
|
2
|
+
components: any;
|
|
3
|
+
};
|
|
@@ -5,11 +5,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const NestedComponent_form_1 = __importDefault(require("../_classes/nested/NestedComponent.form"));
|
|
7
7
|
const Table_edit_display_1 = __importDefault(require("./editForm/Table.edit.display"));
|
|
8
|
-
/**
|
|
9
|
-
* The Edit Form function.
|
|
10
|
-
* @param {...any} extend - The components that extend the edit form.
|
|
11
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
12
|
-
*/
|
|
13
8
|
function default_1(...extend) {
|
|
14
9
|
return (0, NestedComponent_form_1.default)([
|
|
15
10
|
{
|
|
@@ -16,15 +16,15 @@ export default class TabsComponent extends NestedComponent {
|
|
|
16
16
|
currentTab: number;
|
|
17
17
|
noField: boolean;
|
|
18
18
|
tabs: any[] | undefined;
|
|
19
|
-
render():
|
|
19
|
+
render(): any;
|
|
20
20
|
detach(all: any): void;
|
|
21
21
|
/**
|
|
22
22
|
* Set the current tab.
|
|
23
|
-
*
|
|
23
|
+
*
|
|
24
|
+
* @param index
|
|
24
25
|
*/
|
|
25
|
-
setTab(index:
|
|
26
|
+
setTab(index: any): void;
|
|
26
27
|
beforeFocus(component: any): void;
|
|
27
|
-
setErrorClasses(elements: any, dirty: any, hasErrors: any, hasMessages: any, element?: any): void;
|
|
28
28
|
handleTabsValidation(): void;
|
|
29
29
|
}
|
|
30
30
|
import NestedComponent from '../_classes/nested/NestedComponent';
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
5
|
-
*/
|
|
6
|
-
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
|
1
|
+
export default function _default(...extend: any[]): {
|
|
2
|
+
components: any;
|
|
3
|
+
};
|
|
@@ -5,11 +5,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const NestedComponent_form_1 = __importDefault(require("../_classes/nested/NestedComponent.form"));
|
|
7
7
|
const Tabs_edit_display_1 = __importDefault(require("./editForm/Tabs.edit.display"));
|
|
8
|
-
/**
|
|
9
|
-
* The Edit Form function.
|
|
10
|
-
* @param {...any} extend - The components that extend the edit form.
|
|
11
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
12
|
-
*/
|
|
13
8
|
function default_1(...extend) {
|
|
14
9
|
return (0, NestedComponent_form_1.default)([
|
|
15
10
|
{
|
|
@@ -112,7 +112,8 @@ class TabsComponent extends NestedComponent_1.default {
|
|
|
112
112
|
}
|
|
113
113
|
/**
|
|
114
114
|
* Set the current tab.
|
|
115
|
-
*
|
|
115
|
+
*
|
|
116
|
+
* @param index
|
|
116
117
|
*/
|
|
117
118
|
setTab(index) {
|
|
118
119
|
if (!this.tabs || !this.tabs[index] || !this.refs[this.tabKey] || !this.refs[this.tabKey][index]) {
|
|
@@ -9,9 +9,23 @@ export default class TagsComponent extends Input {
|
|
|
9
9
|
};
|
|
10
10
|
static get serverConditionSettings(): {
|
|
11
11
|
operators: any[];
|
|
12
|
+
constructor: Function;
|
|
13
|
+
toString(): string;
|
|
14
|
+
toLocaleString(): string;
|
|
15
|
+
valueOf(): Object;
|
|
16
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
17
|
+
isPrototypeOf(v: Object): boolean;
|
|
18
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
12
19
|
};
|
|
13
20
|
static get conditionOperatorsSettings(): {
|
|
14
21
|
operators: any[];
|
|
22
|
+
constructor: Function;
|
|
23
|
+
toString(): string;
|
|
24
|
+
toLocaleString(): string;
|
|
25
|
+
valueOf(): Object;
|
|
26
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
27
|
+
isPrototypeOf(v: Object): boolean;
|
|
28
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
15
29
|
};
|
|
16
30
|
static savedValueTypes(schema: any): any[];
|
|
17
31
|
get emptyValue(): "" | never[];
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
5
|
-
*/
|
|
6
|
-
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
|
1
|
+
export default function _default(...extend: any[]): {
|
|
2
|
+
components: any;
|
|
3
|
+
};
|
|
@@ -5,11 +5,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const Components_1 = __importDefault(require("../Components"));
|
|
7
7
|
const Tags_edit_data_1 = __importDefault(require("./editForm/Tags.edit.data"));
|
|
8
|
-
/**
|
|
9
|
-
* The Edit Form function.
|
|
10
|
-
* @param {...any} extend - The components that extend the edit form.
|
|
11
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
12
|
-
*/
|
|
13
8
|
function default_1(...extend) {
|
|
14
9
|
return Components_1.default.baseEditForm([
|
|
15
10
|
{
|
|
@@ -5,10 +5,10 @@ export default class TextAreaComponent extends TextFieldComponent {
|
|
|
5
5
|
get autoExpand(): any;
|
|
6
6
|
/**
|
|
7
7
|
* Updates the editor value.
|
|
8
|
-
*
|
|
9
|
-
* @param
|
|
8
|
+
*
|
|
9
|
+
* @param newValue
|
|
10
10
|
*/
|
|
11
|
-
updateEditorValue(index:
|
|
11
|
+
updateEditorValue(index: any, newValue: any): void;
|
|
12
12
|
autoModified: boolean | undefined;
|
|
13
13
|
attachElement(element: any, index: any): any;
|
|
14
14
|
imageHandler(moduleInstance: any, range: any, files: any): void;
|
|
@@ -24,7 +24,12 @@ export default class TextAreaComponent extends TextFieldComponent {
|
|
|
24
24
|
setImagesUrl(images: any): Promise<any>;
|
|
25
25
|
addAutoExpanding(textarea: any, index: any): void;
|
|
26
26
|
trimBlanks(value: any): any;
|
|
27
|
-
onChange(flags: any, fromRoot: any):
|
|
27
|
+
onChange(flags: any, fromRoot: any): {
|
|
28
|
+
instance: this;
|
|
29
|
+
component: any;
|
|
30
|
+
value: any;
|
|
31
|
+
flags: any;
|
|
32
|
+
};
|
|
28
33
|
hasChanged(newValue: any, oldValue: any): boolean;
|
|
29
34
|
getConvertedValue(value: any): any;
|
|
30
35
|
focus(): void;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
5
|
-
*/
|
|
6
|
-
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
|
1
|
+
export default function _default(...extend: any[]): {
|
|
2
|
+
components: any;
|
|
3
|
+
};
|
|
@@ -6,11 +6,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
const TextField_form_1 = __importDefault(require("../textfield/TextField.form"));
|
|
7
7
|
const TextArea_edit_display_1 = __importDefault(require("./editForm/TextArea.edit.display"));
|
|
8
8
|
const TextArea_edit_validation_1 = __importDefault(require("./editForm/TextArea.edit.validation"));
|
|
9
|
-
/**
|
|
10
|
-
* The Edit Form function.
|
|
11
|
-
* @param {...any} extend - The components that extend the edit form.
|
|
12
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
13
|
-
*/
|
|
14
9
|
function default_1(...extend) {
|
|
15
10
|
return (0, TextField_form_1.default)([
|
|
16
11
|
{
|
|
@@ -82,8 +82,8 @@ class TextAreaComponent extends TextField_1.default {
|
|
|
82
82
|
}
|
|
83
83
|
/**
|
|
84
84
|
* Updates the editor value.
|
|
85
|
-
*
|
|
86
|
-
* @param
|
|
85
|
+
*
|
|
86
|
+
* @param newValue
|
|
87
87
|
*/
|
|
88
88
|
updateEditorValue(index, newValue) {
|
|
89
89
|
newValue = this.getConvertedValue(this.trimBlanks(newValue));
|
|
@@ -10,39 +10,55 @@ export default class TextFieldComponent extends Input {
|
|
|
10
10
|
static get serverConditionSettings(): {
|
|
11
11
|
operators: any[];
|
|
12
12
|
valueComponent(classComp: any): any;
|
|
13
|
+
constructor: Function;
|
|
14
|
+
toString(): string;
|
|
15
|
+
toLocaleString(): string;
|
|
16
|
+
valueOf(): Object;
|
|
17
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
18
|
+
isPrototypeOf(v: Object): boolean;
|
|
19
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
13
20
|
};
|
|
14
21
|
static get conditionOperatorsSettings(): {
|
|
15
22
|
operators: any[];
|
|
16
23
|
valueComponent(classComp: any): any;
|
|
24
|
+
constructor: Function;
|
|
25
|
+
toString(): string;
|
|
26
|
+
toLocaleString(): string;
|
|
27
|
+
valueOf(): Object;
|
|
28
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
29
|
+
isPrototypeOf(v: Object): boolean;
|
|
30
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
17
31
|
};
|
|
18
32
|
static savedValueTypes(schema: any): string[];
|
|
19
33
|
get emptyValue(): string;
|
|
20
34
|
/**
|
|
21
|
-
* Returns the mask value object
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
24
|
-
* @
|
|
35
|
+
* Returns the mask value object.
|
|
36
|
+
*
|
|
37
|
+
* @param value
|
|
38
|
+
* @param flags
|
|
39
|
+
* @return {*}
|
|
25
40
|
*/
|
|
26
|
-
maskValue(value
|
|
41
|
+
maskValue(value: any, flags?: {}): any;
|
|
27
42
|
/**
|
|
28
43
|
* Normalize the value set in the data object.
|
|
29
|
-
*
|
|
30
|
-
* @param
|
|
31
|
-
* @
|
|
44
|
+
*
|
|
45
|
+
* @param value
|
|
46
|
+
* @param flags
|
|
47
|
+
* @return {*}
|
|
32
48
|
*/
|
|
33
|
-
normalizeValue(value: any, flags?:
|
|
34
|
-
unmaskValue(value: any, format?: any):
|
|
49
|
+
normalizeValue(value: any, flags?: {}): any;
|
|
50
|
+
unmaskValue(value: any, format?: any): any;
|
|
35
51
|
/**
|
|
36
52
|
* Returns the value at this index.
|
|
37
|
-
*
|
|
38
|
-
* @
|
|
53
|
+
*
|
|
54
|
+
* @param index
|
|
55
|
+
* @return {*}
|
|
39
56
|
*/
|
|
40
|
-
getValueAt(index:
|
|
57
|
+
getValueAt(index: any): any;
|
|
41
58
|
checkInputMaskValue(inputMask: any): boolean;
|
|
42
59
|
setInputMask(input: any, inputMask: any, usePlaceholder: any): void;
|
|
43
60
|
isHtmlRenderMode(): any;
|
|
44
61
|
truncateMultipleSpaces(value: any): any;
|
|
45
62
|
beforeSubmit(): Promise<any>;
|
|
46
|
-
getValueAsString(value: any, options: any): string;
|
|
47
63
|
}
|
|
48
64
|
import Input from '../_classes/input/Input';
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
5
|
-
*/
|
|
6
|
-
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
|
1
|
+
export default function _default(...extend: any[]): {
|
|
2
|
+
components: any;
|
|
3
|
+
};
|
|
@@ -7,11 +7,6 @@ const Components_1 = __importDefault(require("../Components"));
|
|
|
7
7
|
const TextField_edit_data_1 = __importDefault(require("./editForm/TextField.edit.data"));
|
|
8
8
|
const TextField_edit_display_1 = __importDefault(require("./editForm/TextField.edit.display"));
|
|
9
9
|
const TextField_edit_validation_1 = __importDefault(require("./editForm/TextField.edit.validation"));
|
|
10
|
-
/**
|
|
11
|
-
* The Edit Form function.
|
|
12
|
-
* @param {...any} extend - The components that extend the edit form.
|
|
13
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
14
|
-
*/
|
|
15
10
|
function default_1(...extend) {
|
|
16
11
|
return Components_1.default.baseEditForm([
|
|
17
12
|
{
|
|
@@ -111,10 +111,11 @@ class TextFieldComponent extends Input_1.default {
|
|
|
111
111
|
return super.attach(element);
|
|
112
112
|
}
|
|
113
113
|
/**
|
|
114
|
-
* Returns the mask value object
|
|
115
|
-
*
|
|
116
|
-
* @param
|
|
117
|
-
* @
|
|
114
|
+
* Returns the mask value object.
|
|
115
|
+
*
|
|
116
|
+
* @param value
|
|
117
|
+
* @param flags
|
|
118
|
+
* @return {*}
|
|
118
119
|
*/
|
|
119
120
|
maskValue(value, flags = {}) {
|
|
120
121
|
// Convert it into the correct format.
|
|
@@ -133,9 +134,10 @@ class TextFieldComponent extends Input_1.default {
|
|
|
133
134
|
}
|
|
134
135
|
/**
|
|
135
136
|
* Normalize the value set in the data object.
|
|
136
|
-
*
|
|
137
|
-
* @param
|
|
138
|
-
* @
|
|
137
|
+
*
|
|
138
|
+
* @param value
|
|
139
|
+
* @param flags
|
|
140
|
+
* @return {*}
|
|
139
141
|
*/
|
|
140
142
|
normalizeValue(value, flags = {}) {
|
|
141
143
|
if (!this.isMultipleMasksField) {
|
|
@@ -148,10 +150,10 @@ class TextFieldComponent extends Input_1.default {
|
|
|
148
150
|
}
|
|
149
151
|
/**
|
|
150
152
|
* Sets the value at this index.
|
|
151
|
-
*
|
|
152
|
-
* @param
|
|
153
|
-
* @param
|
|
154
|
-
* @
|
|
153
|
+
*
|
|
154
|
+
* @param index
|
|
155
|
+
* @param value
|
|
156
|
+
* @param flags
|
|
155
157
|
*/
|
|
156
158
|
setValueAt(index, value, flags = {}) {
|
|
157
159
|
if (!this.isMultipleMasksField) {
|
|
@@ -183,8 +185,9 @@ class TextFieldComponent extends Input_1.default {
|
|
|
183
185
|
}
|
|
184
186
|
/**
|
|
185
187
|
* Returns the value at this index.
|
|
186
|
-
*
|
|
187
|
-
* @
|
|
188
|
+
*
|
|
189
|
+
* @param index
|
|
190
|
+
* @return {*}
|
|
188
191
|
*/
|
|
189
192
|
getValueAt(index) {
|
|
190
193
|
var _a, _b;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
5
|
-
*/
|
|
6
|
-
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
|
1
|
+
export default function _default(...extend: any[]): {
|
|
2
|
+
components: any;
|
|
3
|
+
};
|
|
@@ -6,11 +6,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
const Component_form_1 = __importDefault(require("../_classes/component/Component.form"));
|
|
7
7
|
const Time_edit_data_1 = __importDefault(require("./editForm/Time.edit.data"));
|
|
8
8
|
const Time_edit_display_1 = __importDefault(require("./editForm/Time.edit.display"));
|
|
9
|
-
/**
|
|
10
|
-
* The Edit Form function.
|
|
11
|
-
* @param {...any} extend - The components that extend the edit form.
|
|
12
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
13
|
-
*/
|
|
14
9
|
function default_1(...extend) {
|
|
15
10
|
return (0, Component_form_1.default)([
|
|
16
11
|
{
|
|
@@ -1,5 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
export default function _default(): {
|
|
2
|
+
components: {
|
|
3
|
+
type: string;
|
|
4
|
+
key: string;
|
|
5
|
+
components: {
|
|
6
|
+
label: string;
|
|
7
|
+
key: string;
|
|
8
|
+
weight: number;
|
|
9
|
+
components: ({
|
|
10
|
+
key: string;
|
|
11
|
+
label: string;
|
|
12
|
+
input: boolean;
|
|
13
|
+
tag: string;
|
|
14
|
+
content: string;
|
|
15
|
+
type: string;
|
|
16
|
+
weight: number;
|
|
17
|
+
as?: undefined;
|
|
18
|
+
editor?: undefined;
|
|
19
|
+
tooltip?: undefined;
|
|
20
|
+
} | {
|
|
21
|
+
type: string;
|
|
22
|
+
as: string;
|
|
23
|
+
editor: string;
|
|
24
|
+
weight: number;
|
|
25
|
+
input: boolean;
|
|
26
|
+
key: string;
|
|
27
|
+
label: string;
|
|
28
|
+
tooltip: string;
|
|
29
|
+
tag?: undefined;
|
|
30
|
+
content?: undefined;
|
|
31
|
+
})[];
|
|
32
|
+
}[];
|
|
33
|
+
}[];
|
|
34
|
+
};
|
|
@@ -4,10 +4,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const Unknown_edit_display_1 = __importDefault(require("./editForm/Unknown.edit.display"));
|
|
7
|
-
/**
|
|
8
|
-
* Unknown Component schema.
|
|
9
|
-
* @returns {object} - The Unknown Component edit form.
|
|
10
|
-
*/
|
|
11
7
|
function default_1() {
|
|
12
8
|
return {
|
|
13
9
|
components: [
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
5
|
-
*/
|
|
6
|
-
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
|
1
|
+
export default function _default(...extend: any[]): {
|
|
2
|
+
components: any;
|
|
3
|
+
};
|
|
@@ -7,11 +7,6 @@ const TextField_form_1 = __importDefault(require("../textfield/TextField.form"))
|
|
|
7
7
|
const Url_edit_display_1 = __importDefault(require("./editForm/Url.edit.display"));
|
|
8
8
|
const Url_edit_data_1 = __importDefault(require("./editForm/Url.edit.data"));
|
|
9
9
|
const Url_edit_validation_1 = __importDefault(require("./editForm/Url.edit.validation"));
|
|
10
|
-
/**
|
|
11
|
-
* The Edit Form function.
|
|
12
|
-
* @param {...any} extend - The components that extend the edit form.
|
|
13
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
14
|
-
*/
|
|
15
10
|
function default_1(...extend) {
|
|
16
11
|
return (0, TextField_form_1.default)([
|
|
17
12
|
{
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
5
|
-
*/
|
|
6
|
-
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
|
1
|
+
export default function _default(...extend: any[]): {
|
|
2
|
+
components: any;
|
|
3
|
+
};
|
|
@@ -5,11 +5,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const NestedComponent_form_1 = __importDefault(require("../_classes/nested/NestedComponent.form"));
|
|
7
7
|
const Well_edit_display_1 = __importDefault(require("./editForm/Well.edit.display"));
|
|
8
|
-
/**
|
|
9
|
-
* The Edit Form function.
|
|
10
|
-
* @param {...any} extend - The components that extend the edit form.
|
|
11
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
12
|
-
*/
|
|
13
8
|
function default_1(...extend) {
|
|
14
9
|
return (0, NestedComponent_form_1.default)([
|
|
15
10
|
{
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export { Formio };
|
|
2
|
+
import { Formio } from './Embed';
|