@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
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import nestedComponentForm from '../_classes/nested/NestedComponent.form';
|
|
2
2
|
import PanelEditDisplay from './editForm/Panel.edit.display';
|
|
3
3
|
import PanelEditConditional from './editForm/Panel.edit.conditional';
|
|
4
|
-
/**
|
|
5
|
-
* The Edit Form function.
|
|
6
|
-
* @param {...any} extend - The components that extend the edit form.
|
|
7
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
8
|
-
*/
|
|
9
4
|
export default function (...extend) {
|
|
10
5
|
return nestedComponentForm([
|
|
11
6
|
{
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import NestedComponent from '../_classes/nested/NestedComponent';
|
|
2
2
|
import { isChildOf } from '../../utils/utils';
|
|
3
|
+
import FormComponent from '../form/Form';
|
|
3
4
|
export default class PanelComponent extends NestedComponent {
|
|
4
5
|
static schema(...extend) {
|
|
5
6
|
return NestedComponent.schema({
|
|
@@ -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
|
+
};
|
|
@@ -2,11 +2,6 @@ import textEditForm from '../textfield/TextField.form';
|
|
|
2
2
|
import PasswordEditDisplay from './editForm/Password.edit.display';
|
|
3
3
|
import PasswordEditData from './editForm/Password.edit.data';
|
|
4
4
|
import PasswordEditValidation from './editForm/Password.edit.validation';
|
|
5
|
-
/**
|
|
6
|
-
* The Edit Form function.
|
|
7
|
-
* @param {...any} extend - The components that extend the edit form.
|
|
8
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
9
|
-
*/
|
|
10
5
|
export default function (...extend) {
|
|
11
6
|
return textEditForm([
|
|
12
7
|
{
|
|
@@ -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
|
+
};
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import textEditForm from '../textfield/TextField.form';
|
|
2
2
|
import PhoneNumberEditValidation from './editForm/PhoneNumber.edit.validation';
|
|
3
|
-
/**
|
|
4
|
-
* The Edit Form function.
|
|
5
|
-
* @param {...any} extend - The components that extend the edit form.
|
|
6
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
7
|
-
*/
|
|
8
3
|
export default function (...extend) {
|
|
9
4
|
return textEditForm([
|
|
10
5
|
{
|
|
@@ -17,6 +17,13 @@ export default class RadioComponent extends ListComponent {
|
|
|
17
17
|
custom(): any;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
|
+
constructor: Function;
|
|
21
|
+
toString(): string;
|
|
22
|
+
toLocaleString(): string;
|
|
23
|
+
valueOf(): Object;
|
|
24
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
25
|
+
isPrototypeOf(v: Object): boolean;
|
|
26
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
20
27
|
};
|
|
21
28
|
static get serverConditionSettings(): {
|
|
22
29
|
valueComponent(classComp: any): {
|
|
@@ -28,11 +35,28 @@ export default class RadioComponent extends ListComponent {
|
|
|
28
35
|
custom: string;
|
|
29
36
|
};
|
|
30
37
|
};
|
|
38
|
+
constructor: Function;
|
|
39
|
+
toString(): string;
|
|
40
|
+
toLocaleString(): string;
|
|
41
|
+
valueOf(): Object;
|
|
42
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
43
|
+
isPrototypeOf(v: Object): boolean;
|
|
44
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
31
45
|
};
|
|
32
46
|
static savedValueTypes(schema: any): any[];
|
|
33
47
|
constructor(component: any, options: any, data: any);
|
|
34
48
|
previousValue: any;
|
|
35
|
-
get inputInfo():
|
|
49
|
+
get inputInfo(): {
|
|
50
|
+
type: string;
|
|
51
|
+
component: any;
|
|
52
|
+
changeEvent: string;
|
|
53
|
+
attr: {
|
|
54
|
+
name: any;
|
|
55
|
+
type: any;
|
|
56
|
+
class: string;
|
|
57
|
+
lang: any;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
36
60
|
get emptyValue(): string;
|
|
37
61
|
get isRadio(): boolean;
|
|
38
62
|
get optionSelectedClass(): string;
|
|
@@ -43,8 +67,7 @@ export default class RadioComponent extends ListComponent {
|
|
|
43
67
|
itemsLoadedResolve: ((value: any) => void) | undefined;
|
|
44
68
|
optionsLoaded: boolean | undefined;
|
|
45
69
|
loadedOptions: any[] | undefined;
|
|
46
|
-
render():
|
|
47
|
-
attach(element: any): Promise<void>;
|
|
70
|
+
render(): any;
|
|
48
71
|
detach(element: any): void;
|
|
49
72
|
validateValueProperty(): boolean;
|
|
50
73
|
validateValueAvailability(setting: any, value: any): boolean;
|
|
@@ -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
|
+
};
|
|
@@ -2,11 +2,6 @@ import listComponentForm from '../_classes/list/ListComponent.form';
|
|
|
2
2
|
import RadioEditData from './editForm/Radio.edit.data';
|
|
3
3
|
import RadioEditDisplay from './editForm/Radio.edit.display';
|
|
4
4
|
import RadioEditValidation from './editForm/Radio.edit.validation';
|
|
5
|
-
/**
|
|
6
|
-
* The Edit Form function.
|
|
7
|
-
* @param {...any} extend - The components that extend the edit form.
|
|
8
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
9
|
-
*/
|
|
10
5
|
export default function (...extend) {
|
|
11
6
|
return listComponentForm([
|
|
12
7
|
{
|
|
@@ -357,9 +357,10 @@ export default class RadioComponent extends ListComponent {
|
|
|
357
357
|
return changed;
|
|
358
358
|
}
|
|
359
359
|
/**
|
|
360
|
-
* Normalize values coming into updateValue.
|
|
361
|
-
*
|
|
362
|
-
* @
|
|
360
|
+
* Normalize values coming into updateValue.
|
|
361
|
+
*
|
|
362
|
+
* @param value
|
|
363
|
+
* @return {*}
|
|
363
364
|
*/
|
|
364
365
|
normalizeValue(value) {
|
|
365
366
|
const dataType = this.component.dataType || 'auto';
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import Components from '../Components';
|
|
2
2
|
import ReCaptchaEditDisplay from './editForm/ReCaptcha.edit.display';
|
|
3
|
-
/**
|
|
4
|
-
* The Edit Form function.
|
|
5
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
6
|
-
*/
|
|
7
3
|
export default function () {
|
|
8
4
|
return Components.baseEditForm([
|
|
9
5
|
{
|
|
@@ -9,9 +9,23 @@ export default class SelectComponent extends ListComponent {
|
|
|
9
9
|
};
|
|
10
10
|
static get serverConditionSettings(): {
|
|
11
11
|
valueComponent(classComp: any): 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
|
valueComponent(classComp: any): 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
|
templateData: {} | undefined;
|
|
@@ -30,11 +44,21 @@ export default class SelectComponent extends ListComponent {
|
|
|
30
44
|
get dataReady(): any;
|
|
31
45
|
get emptyValue(): {};
|
|
32
46
|
get valueProperty(): any;
|
|
33
|
-
get inputInfo():
|
|
47
|
+
get inputInfo(): {
|
|
48
|
+
type: string;
|
|
49
|
+
component: any;
|
|
50
|
+
changeEvent: string;
|
|
51
|
+
attr: {
|
|
52
|
+
name: any;
|
|
53
|
+
type: any;
|
|
54
|
+
class: string;
|
|
55
|
+
lang: any;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
34
58
|
get isSelectResource(): boolean;
|
|
35
59
|
get itemsFromUrl(): boolean;
|
|
36
60
|
get isInfiniteScrollProvided(): boolean;
|
|
37
|
-
get shouldInitialLoad():
|
|
61
|
+
get shouldInitialLoad(): any;
|
|
38
62
|
get selectMetadata(): any;
|
|
39
63
|
isEntireObjectDisplay(): boolean;
|
|
40
64
|
selectValueAndLabel(data: any): {
|
|
@@ -44,12 +68,11 @@ export default class SelectComponent extends ListComponent {
|
|
|
44
68
|
itemTemplate(data: any, value: any): any;
|
|
45
69
|
/**
|
|
46
70
|
* Adds an option to the select dropdown.
|
|
47
|
-
*
|
|
48
|
-
* @param
|
|
49
|
-
* @param
|
|
50
|
-
* @param {string} [id] - An id. Defaults to a random string.
|
|
71
|
+
*
|
|
72
|
+
* @param value
|
|
73
|
+
* @param label
|
|
51
74
|
*/
|
|
52
|
-
addOption(value: any, label:
|
|
75
|
+
addOption(value: any, label: any, attrs?: {}, id?: string): void;
|
|
53
76
|
addValueOptions(items: any): boolean;
|
|
54
77
|
disableInfiniteScroll(): void;
|
|
55
78
|
set serverCount(value: any);
|
|
@@ -59,7 +82,6 @@ export default class SelectComponent extends ListComponent {
|
|
|
59
82
|
set downloadedResources(value: any);
|
|
60
83
|
get downloadedResources(): any;
|
|
61
84
|
getSingleItemValueForHTMLMode(data: any): any;
|
|
62
|
-
itemValueForHTMLMode(value: any): any;
|
|
63
85
|
get loadingError(): boolean | undefined;
|
|
64
86
|
loadItems(url: any, search: any, headers: any, options: any, method: any, body: any): void;
|
|
65
87
|
getCustomItems(): any;
|
|
@@ -77,7 +99,7 @@ export default class SelectComponent extends ListComponent {
|
|
|
77
99
|
activate(): void;
|
|
78
100
|
setLoadingItem(addToCurrentList?: boolean): void;
|
|
79
101
|
get active(): boolean | undefined;
|
|
80
|
-
render():
|
|
102
|
+
render(): any;
|
|
81
103
|
wrapElement(element: any): any;
|
|
82
104
|
choicesOptions(): any;
|
|
83
105
|
attach(element: any): Promise<void> | undefined;
|
|
@@ -93,8 +115,11 @@ export default class SelectComponent extends ListComponent {
|
|
|
93
115
|
attachRefreshOnBlur(): void;
|
|
94
116
|
addPlaceholderItem(placeholderValue: any): void;
|
|
95
117
|
update(): void;
|
|
96
|
-
|
|
97
|
-
|
|
118
|
+
/**
|
|
119
|
+
* @param {*} value
|
|
120
|
+
* @param {Array} items
|
|
121
|
+
*/
|
|
122
|
+
addCurrentChoices(values: any, items: any[], keyValue: any): any;
|
|
98
123
|
normalizeSingleValue(value: any): any;
|
|
99
124
|
setMetadata(value: any): any;
|
|
100
125
|
updateValue(value: any, flags: any): boolean;
|
|
@@ -106,24 +131,22 @@ export default class SelectComponent extends ListComponent {
|
|
|
106
131
|
validateValueAvailability(setting: any, value: any): boolean;
|
|
107
132
|
/**
|
|
108
133
|
* Performs required transformations on the initial value to use in selectOptions
|
|
109
|
-
* @param {*} value
|
|
110
|
-
* @returns {*} - Returns the options value.
|
|
134
|
+
* @param {*} value
|
|
111
135
|
*/
|
|
112
136
|
getOptionValue(value: any): any;
|
|
113
137
|
/**
|
|
114
138
|
* If component has static values (values, json) or custom values, returns an array of them
|
|
115
|
-
* @returns {Array<*>|undefined}
|
|
139
|
+
* @returns {Array<*>|undefined}
|
|
116
140
|
*/
|
|
117
141
|
getOptionsValues(): Array<any> | undefined;
|
|
118
142
|
/**
|
|
119
143
|
* Output this select dropdown as a string value.
|
|
120
|
-
* @
|
|
144
|
+
* @return {*}
|
|
121
145
|
*/
|
|
122
146
|
isBooleanOrNumber(value: any): any;
|
|
123
147
|
getNormalizedValues(): any;
|
|
124
148
|
asString(value: any, options?: {}): any;
|
|
125
149
|
focus(): void;
|
|
126
|
-
setErrorClasses(elements: any, dirty: any, hasError: any, hasMessages: any, element?: any): void;
|
|
127
150
|
}
|
|
128
151
|
import ListComponent from '../_classes/list/ListComponent';
|
|
129
152
|
import Choices from '../../utils/ChoicesWrapper';
|
|
@@ -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
|
+
};
|
|
@@ -2,11 +2,6 @@ import listComponentForm from '../_classes/list/ListComponent.form';
|
|
|
2
2
|
import SelectEditData from './editForm/Select.edit.data';
|
|
3
3
|
import SelectEditDisplay from './editForm/Select.edit.display';
|
|
4
4
|
import SelectEditValidation from './editForm/Select.edit.validation';
|
|
5
|
-
/**
|
|
6
|
-
* The Edit Form function.
|
|
7
|
-
* @param {...any} extend - The components that extend the edit form.
|
|
8
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
9
|
-
*/
|
|
10
5
|
export default function (...extend) {
|
|
11
6
|
return listComponentForm([
|
|
12
7
|
{
|
|
@@ -284,10 +284,9 @@ export default class SelectComponent extends ListComponent {
|
|
|
284
284
|
}
|
|
285
285
|
/**
|
|
286
286
|
* Adds an option to the select dropdown.
|
|
287
|
-
*
|
|
288
|
-
* @param
|
|
289
|
-
* @param
|
|
290
|
-
* @param {string} [id] - An id. Defaults to a random string.
|
|
287
|
+
*
|
|
288
|
+
* @param value
|
|
289
|
+
* @param label
|
|
291
290
|
*/
|
|
292
291
|
addOption(value, label, attrs = {}, id = getRandomComponentId()) {
|
|
293
292
|
if (_.isNil(label))
|
|
@@ -593,7 +592,6 @@ export default class SelectComponent extends ListComponent {
|
|
|
593
592
|
}
|
|
594
593
|
/**
|
|
595
594
|
* Get the request headers for this select dropdown.
|
|
596
|
-
* @returns {*} - Returns the request headers for this select dropdown.
|
|
597
595
|
*/
|
|
598
596
|
get requestHeaders() {
|
|
599
597
|
// Create the headers object.
|
|
@@ -1070,6 +1068,10 @@ export default class SelectComponent extends ListComponent {
|
|
|
1070
1068
|
get visible() {
|
|
1071
1069
|
return super.visible;
|
|
1072
1070
|
}
|
|
1071
|
+
/**
|
|
1072
|
+
* @param {*} value
|
|
1073
|
+
* @param {Array} items
|
|
1074
|
+
*/
|
|
1073
1075
|
addCurrentChoices(values, items, keyValue) {
|
|
1074
1076
|
if (!values) {
|
|
1075
1077
|
return false;
|
|
@@ -1218,9 +1220,10 @@ export default class SelectComponent extends ListComponent {
|
|
|
1218
1220
|
}
|
|
1219
1221
|
}
|
|
1220
1222
|
/**
|
|
1221
|
-
* Normalize values coming into updateValue.
|
|
1222
|
-
*
|
|
1223
|
-
* @
|
|
1223
|
+
* Normalize values coming into updateValue.
|
|
1224
|
+
*
|
|
1225
|
+
* @param value
|
|
1226
|
+
* @return {*}
|
|
1224
1227
|
*/
|
|
1225
1228
|
normalizeValue(value) {
|
|
1226
1229
|
if (this.component.multiple && Array.isArray(value)) {
|
|
@@ -1415,8 +1418,7 @@ export default class SelectComponent extends ListComponent {
|
|
|
1415
1418
|
}
|
|
1416
1419
|
/**
|
|
1417
1420
|
* Performs required transformations on the initial value to use in selectOptions
|
|
1418
|
-
* @param {*} value
|
|
1419
|
-
* @returns {*} - Returns the options value.
|
|
1421
|
+
* @param {*} value
|
|
1420
1422
|
*/
|
|
1421
1423
|
getOptionValue(value) {
|
|
1422
1424
|
return _.isObject(value) && this.isEntireObjectDisplay()
|
|
@@ -1431,7 +1433,7 @@ export default class SelectComponent extends ListComponent {
|
|
|
1431
1433
|
}
|
|
1432
1434
|
/**
|
|
1433
1435
|
* If component has static values (values, json) or custom values, returns an array of them
|
|
1434
|
-
* @returns {Array<*>|undefined}
|
|
1436
|
+
* @returns {Array<*>|undefined}
|
|
1435
1437
|
*/
|
|
1436
1438
|
getOptionsValues() {
|
|
1437
1439
|
let rawItems = [];
|
|
@@ -1471,7 +1473,8 @@ export default class SelectComponent extends ListComponent {
|
|
|
1471
1473
|
}
|
|
1472
1474
|
/**
|
|
1473
1475
|
* Check if a component is eligible for multiple validation
|
|
1474
|
-
*
|
|
1476
|
+
*
|
|
1477
|
+
* @return {boolean}
|
|
1475
1478
|
*/
|
|
1476
1479
|
validateMultiple() {
|
|
1477
1480
|
// Select component will contain one input when flagged as multiple.
|
|
@@ -1479,7 +1482,7 @@ export default class SelectComponent extends ListComponent {
|
|
|
1479
1482
|
}
|
|
1480
1483
|
/**
|
|
1481
1484
|
* Output this select dropdown as a string value.
|
|
1482
|
-
* @
|
|
1485
|
+
* @return {*}
|
|
1483
1486
|
*/
|
|
1484
1487
|
isBooleanOrNumber(value) {
|
|
1485
1488
|
return typeof value === 'number' || typeof value === 'boolean';
|
|
@@ -9,6 +9,13 @@ export default class SelectBoxesComponent extends RadioComponent {
|
|
|
9
9
|
custom: string;
|
|
10
10
|
};
|
|
11
11
|
};
|
|
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
|
valueComponent(classComp: any): {
|
|
@@ -20,14 +27,22 @@ export default class SelectBoxesComponent extends RadioComponent {
|
|
|
20
27
|
custom: string;
|
|
21
28
|
};
|
|
22
29
|
};
|
|
30
|
+
constructor: Function;
|
|
31
|
+
toString(): string;
|
|
32
|
+
toLocaleString(): string;
|
|
33
|
+
valueOf(): Object;
|
|
34
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
35
|
+
isPrototypeOf(v: Object): boolean;
|
|
36
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
23
37
|
};
|
|
24
38
|
static savedValueTypes(schema: any): string[];
|
|
25
39
|
constructor(...args: any[]);
|
|
26
40
|
get emptyValue(): any;
|
|
27
41
|
/**
|
|
28
42
|
* Only empty if the values are all false.
|
|
29
|
-
*
|
|
30
|
-
* @
|
|
43
|
+
*
|
|
44
|
+
* @param value
|
|
45
|
+
* @return {boolean}
|
|
31
46
|
*/
|
|
32
47
|
isEmpty(value?: any): boolean;
|
|
33
48
|
setInputsDisabled(value: any, onlyUnchecked: any): 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
|
+
};
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import radioEditForm from '../radio/Radio.form';
|
|
2
2
|
import SelectBoxesEditValidation from './editForm/SelectBoxes.edit.validation';
|
|
3
|
-
/**
|
|
4
|
-
* The Edit Form function.
|
|
5
|
-
* @param {...any} extend - The components that extend the edit form.
|
|
6
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
7
|
-
*/
|
|
8
3
|
export default function (...extend) {
|
|
9
4
|
return radioEditForm([
|
|
10
5
|
{
|
|
@@ -79,8 +79,9 @@ export default class SelectBoxesComponent extends RadioComponent {
|
|
|
79
79
|
}
|
|
80
80
|
/**
|
|
81
81
|
* Only empty if the values are all false.
|
|
82
|
-
*
|
|
83
|
-
* @
|
|
82
|
+
*
|
|
83
|
+
* @param value
|
|
84
|
+
* @return {boolean}
|
|
84
85
|
*/
|
|
85
86
|
isEmpty(value = this.dataValue) {
|
|
86
87
|
let empty = true;
|
|
@@ -104,8 +105,9 @@ export default class SelectBoxesComponent extends RadioComponent {
|
|
|
104
105
|
}
|
|
105
106
|
/**
|
|
106
107
|
* Normalize values coming into updateValue.
|
|
107
|
-
*
|
|
108
|
-
* @
|
|
108
|
+
*
|
|
109
|
+
* @param value
|
|
110
|
+
* @return {*}
|
|
109
111
|
*/
|
|
110
112
|
normalizeValue(value) {
|
|
111
113
|
value = value || {};
|
|
@@ -138,9 +140,9 @@ export default class SelectBoxesComponent extends RadioComponent {
|
|
|
138
140
|
}
|
|
139
141
|
/**
|
|
140
142
|
* Set the value of this component.
|
|
141
|
-
*
|
|
142
|
-
* @param
|
|
143
|
-
* @
|
|
143
|
+
*
|
|
144
|
+
* @param value
|
|
145
|
+
* @param flags
|
|
144
146
|
*/
|
|
145
147
|
setValue(value, flags = {}) {
|
|
146
148
|
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
|
+
};
|
|
@@ -2,11 +2,6 @@ import Components from '../Components';
|
|
|
2
2
|
import SignatureEditData from './editForm/Signature.edit.data';
|
|
3
3
|
import SignatureEditDisplay from './editForm/Signature.edit.display';
|
|
4
4
|
import SignatureEditValidation from './editForm/Signature.edit.validation';
|
|
5
|
-
/**
|
|
6
|
-
* The Edit Form function.
|
|
7
|
-
* @param {...any} extend - The components that extend the edit form.
|
|
8
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
9
|
-
*/
|
|
10
5
|
export default function (...extend) {
|
|
11
6
|
return Components.baseEditForm([
|
|
12
7
|
{
|
|
@@ -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
|
+
};
|
|
@@ -2,11 +2,6 @@ import Components from '../Components';
|
|
|
2
2
|
import SurveyEditData from './editForm/Survey.edit.data';
|
|
3
3
|
import SurveyEditDisplay from './editForm/Survey.edit.display';
|
|
4
4
|
import SurveyEditValidation from './editForm/Survey.edit.validation';
|
|
5
|
-
/**
|
|
6
|
-
* The Edit Form function.
|
|
7
|
-
* @param {...any} extend - The components that extend the edit form.
|
|
8
|
-
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
9
|
-
*/
|
|
10
5
|
export default function (...extend) {
|
|
11
6
|
return Components.baseEditForm([
|
|
12
7
|
{
|
|
@@ -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';
|