@formio/js 5.0.0-rc.53 → 5.0.0-rc.55
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/formio.embed.js +1 -1
- package/dist/formio.embed.min.js +1 -1
- package/dist/formio.embed.min.js.LICENSE.txt +1 -1
- package/dist/formio.form.js +563 -563
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.form.min.js.LICENSE.txt +3 -3
- package/dist/formio.full.js +606 -606
- package/dist/formio.full.min.js +1 -1
- package/dist/formio.full.min.js.LICENSE.txt +3 -3
- package/dist/formio.js +3 -3
- package/dist/formio.min.js +1 -1
- package/dist/formio.min.js.LICENSE.txt +1 -1
- package/dist/formio.utils.js +16 -16
- package/dist/formio.utils.min.js +1 -1
- package/dist/formio.utils.min.js.LICENSE.txt +3 -3
- package/embed.d.ts +1 -0
- package/form.d.ts +1 -0
- package/lib/cjs/Element.d.ts +3 -2
- package/lib/cjs/Element.js +4 -3
- package/lib/cjs/Form.d.ts +99 -36
- package/lib/cjs/Form.js +23 -18
- package/lib/cjs/InlineEmbed.d.ts +7 -0
- package/lib/cjs/InlineEmbed.js +109 -0
- package/lib/cjs/PDF.d.ts +8 -7
- package/lib/cjs/PDF.js +6 -5
- package/lib/cjs/Webform.d.ts +0 -3
- package/lib/cjs/Webform.js +18 -15
- package/lib/cjs/WebformBuilder.d.ts +15 -14
- package/lib/cjs/WebformBuilder.js +11 -10
- package/lib/cjs/Wizard.d.ts +0 -11
- package/lib/cjs/Wizard.js +16 -14
- package/lib/cjs/WizardBuilder.d.ts +1 -1
- package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +2 -2
- package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.form.d.ts +2 -2
- package/lib/cjs/addons/index.d.ts +2 -2
- package/lib/cjs/components/Components.d.ts +6 -5
- package/lib/cjs/components/Components.js +2 -1
- package/lib/cjs/components/_classes/component/Component.form.d.ts +4 -5
- package/lib/cjs/components/_classes/component/Component.form.js +3 -2
- package/lib/cjs/components/_classes/component/Component.js +3 -2
- package/lib/cjs/components/_classes/component/editForm/Component.edit.addons.d.ts +2 -2
- package/lib/cjs/components/_classes/component/editForm/Component.edit.conditional.d.ts +1 -1
- package/lib/cjs/components/_classes/component/editForm/Component.edit.data.d.ts +1 -1
- package/lib/cjs/components/_classes/component/editForm/Component.edit.validation.d.ts +1 -1
- package/lib/cjs/components/_classes/component/editForm/Component.edit.validation.js +2 -2
- package/lib/cjs/components/_classes/component/editForm/utils.d.ts +1 -1
- package/lib/cjs/components/_classes/component/editForm/utils.js +2 -2
- package/lib/cjs/components/_classes/list/ListComponent.d.ts +2 -2
- package/lib/cjs/components/_classes/list/ListComponent.form.d.ts +4 -4
- package/lib/cjs/components/_classes/list/ListComponent.form.js +3 -3
- package/lib/cjs/components/_classes/nested/NestedComponent.form.d.ts +4 -5
- package/lib/cjs/components/_classes/nested/NestedComponent.form.js +3 -2
- package/lib/cjs/components/_classes/nested/NestedComponent.js +0 -2
- package/lib/cjs/components/_classes/nesteddata/NestedDataComponent.d.ts +1 -1
- package/lib/cjs/components/_classes/nesteddata/NestedDataComponent.js +1 -1
- package/lib/cjs/components/address/Address.form.d.ts +4 -5
- package/lib/cjs/components/address/Address.form.js +3 -2
- package/lib/cjs/components/button/Button.form.d.ts +4 -5
- package/lib/cjs/components/button/Button.form.js +3 -2
- package/lib/cjs/components/button/Button.js +3 -2
- package/lib/cjs/components/checkbox/Checkbox.form.d.ts +4 -5
- package/lib/cjs/components/checkbox/Checkbox.form.js +3 -2
- package/lib/cjs/components/checkbox/Checkbox.js +2 -9
- package/lib/cjs/components/checkbox/fixtures/comp5.d.ts +34 -0
- package/lib/cjs/components/checkbox/fixtures/comp5.js +55 -0
- package/lib/cjs/components/checkbox/fixtures/index.d.ts +2 -1
- package/lib/cjs/components/checkbox/fixtures/index.js +3 -1
- package/lib/cjs/components/columns/Columns.d.ts +1 -1
- package/lib/cjs/components/columns/Columns.form.d.ts +4 -5
- package/lib/cjs/components/columns/Columns.form.js +3 -2
- package/lib/cjs/components/columns/Columns.js +1 -1
- package/lib/cjs/components/container/Container.form.d.ts +4 -5
- package/lib/cjs/components/container/Container.form.js +3 -2
- package/lib/cjs/components/content/Content.form.d.ts +4 -5
- package/lib/cjs/components/content/Content.form.js +3 -2
- package/lib/cjs/components/currency/Currency.form.d.ts +4 -5
- package/lib/cjs/components/currency/Currency.form.js +3 -2
- package/lib/cjs/components/currency/Currency.js +1 -1
- package/lib/cjs/components/datagrid/DataGrid.d.ts +4 -4
- package/lib/cjs/components/datagrid/DataGrid.form.d.ts +4 -5
- package/lib/cjs/components/datagrid/DataGrid.form.js +3 -2
- package/lib/cjs/components/datagrid/DataGrid.js +4 -4
- package/lib/cjs/components/datamap/DataMap.form.d.ts +4 -5
- package/lib/cjs/components/datamap/DataMap.form.js +3 -2
- package/lib/cjs/components/datetime/DateTime.form.d.ts +4 -5
- package/lib/cjs/components/datetime/DateTime.form.js +3 -2
- package/lib/cjs/components/datetime/editForm/DateTime.edit.date.d.ts +1 -1
- package/lib/cjs/components/datetime/editForm/DateTime.edit.date.js +2 -2
- package/lib/cjs/components/day/Day.d.ts +18 -23
- package/lib/cjs/components/day/Day.form.d.ts +4 -5
- package/lib/cjs/components/day/Day.form.js +3 -2
- package/lib/cjs/components/day/Day.js +15 -14
- package/lib/cjs/components/editgrid/EditGrid.d.ts +4 -3
- package/lib/cjs/components/editgrid/EditGrid.form.d.ts +4 -5
- package/lib/cjs/components/editgrid/EditGrid.form.js +3 -2
- package/lib/cjs/components/editgrid/EditGrid.js +3 -3
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.display.js +2 -5
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.templates.d.ts +1 -1
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.templates.js +6 -9
- package/lib/cjs/components/email/Email.form.d.ts +4 -5
- package/lib/cjs/components/email/Email.form.js +3 -2
- package/lib/cjs/components/fieldset/Fieldset.form.d.ts +4 -5
- package/lib/cjs/components/fieldset/Fieldset.form.js +3 -2
- package/lib/cjs/components/file/File.form.d.ts +4 -5
- package/lib/cjs/components/file/File.form.js +3 -2
- package/lib/cjs/components/form/Form.d.ts +23 -20
- package/lib/cjs/components/form/Form.form.d.ts +4 -5
- package/lib/cjs/components/form/Form.form.js +3 -2
- package/lib/cjs/components/form/Form.js +18 -11
- package/lib/cjs/components/form/editForm/Form.edit.data.d.ts +1 -1
- package/lib/cjs/components/form/fixtures/comp7.d.ts +36 -0
- package/lib/cjs/components/form/fixtures/comp7.js +37 -0
- package/lib/cjs/components/form/fixtures/comp8.d.ts +26 -0
- package/lib/cjs/components/form/fixtures/comp8.js +29 -0
- package/lib/cjs/components/form/fixtures/index.d.ts +3 -1
- package/lib/cjs/components/form/fixtures/index.js +5 -1
- package/lib/cjs/components/hidden/Hidden.form.d.ts +4 -5
- package/lib/cjs/components/hidden/Hidden.form.js +3 -2
- package/lib/cjs/components/hidden/Hidden.js +1 -1
- package/lib/cjs/components/html/HTML.form.d.ts +4 -5
- package/lib/cjs/components/html/HTML.form.js +3 -2
- package/lib/cjs/components/number/Number.d.ts +1 -1
- package/lib/cjs/components/number/Number.form.d.ts +4 -5
- package/lib/cjs/components/number/Number.form.js +3 -2
- package/lib/cjs/components/number/Number.js +1 -1
- package/lib/cjs/components/panel/Panel.form.d.ts +4 -5
- package/lib/cjs/components/panel/Panel.form.js +3 -2
- package/lib/cjs/components/panel/editForm/Panel.edit.conditional.d.ts +1 -1
- package/lib/cjs/components/password/Password.form.d.ts +4 -5
- package/lib/cjs/components/password/Password.form.js +3 -2
- package/lib/cjs/components/phonenumber/PhoneNumber.form.d.ts +4 -5
- package/lib/cjs/components/phonenumber/PhoneNumber.form.js +3 -2
- package/lib/cjs/components/radio/Radio.form.d.ts +4 -3
- package/lib/cjs/components/radio/Radio.form.js +3 -2
- package/lib/cjs/components/recaptcha/ReCaptcha.form.d.ts +3 -4
- package/lib/cjs/components/recaptcha/ReCaptcha.form.js +2 -1
- package/lib/cjs/components/select/Select.d.ts +2 -2
- package/lib/cjs/components/select/Select.form.d.ts +4 -3
- package/lib/cjs/components/select/Select.form.js +3 -2
- package/lib/cjs/components/select/Select.js +1 -1
- package/lib/cjs/components/selectboxes/SelectBoxes.d.ts +2 -8
- package/lib/cjs/components/selectboxes/SelectBoxes.form.d.ts +4 -3
- package/lib/cjs/components/selectboxes/SelectBoxes.form.js +3 -2
- package/lib/cjs/components/selectboxes/SelectBoxes.js +7 -6
- package/lib/cjs/components/signature/Signature.form.d.ts +4 -5
- package/lib/cjs/components/signature/Signature.form.js +3 -2
- package/lib/cjs/components/survey/Survey.form.d.ts +4 -5
- package/lib/cjs/components/survey/Survey.form.js +3 -2
- package/lib/cjs/components/table/Table.form.d.ts +4 -5
- package/lib/cjs/components/table/Table.form.js +3 -2
- package/lib/cjs/components/tabs/Tabs.d.ts +2 -2
- package/lib/cjs/components/tabs/Tabs.form.d.ts +4 -5
- package/lib/cjs/components/tabs/Tabs.form.js +3 -2
- package/lib/cjs/components/tabs/Tabs.js +1 -1
- package/lib/cjs/components/tags/Tags.form.d.ts +4 -5
- package/lib/cjs/components/tags/Tags.form.js +3 -2
- package/lib/cjs/components/textarea/TextArea.d.ts +3 -3
- package/lib/cjs/components/textarea/TextArea.form.d.ts +4 -5
- package/lib/cjs/components/textarea/TextArea.form.js +3 -2
- package/lib/cjs/components/textarea/TextArea.js +2 -2
- package/lib/cjs/components/textfield/TextField.d.ts +12 -19
- package/lib/cjs/components/textfield/TextField.form.d.ts +4 -5
- package/lib/cjs/components/textfield/TextField.form.js +3 -2
- package/lib/cjs/components/textfield/TextField.js +13 -12
- package/lib/cjs/components/time/Time.form.d.ts +4 -5
- package/lib/cjs/components/time/Time.form.js +3 -2
- package/lib/cjs/components/unknown/Unknown.form.d.ts +3 -35
- package/lib/cjs/components/unknown/Unknown.form.js +2 -1
- package/lib/cjs/components/url/Url.form.d.ts +4 -5
- package/lib/cjs/components/url/Url.form.js +3 -2
- package/lib/cjs/components/well/Well.form.d.ts +4 -5
- package/lib/cjs/components/well/Well.form.js +3 -2
- package/lib/cjs/formio.embed.d.ts +1 -2
- package/lib/cjs/formio.embed.js +2 -100
- package/lib/cjs/formio.form.js +2 -2
- package/lib/cjs/utils/Evaluator.d.ts +0 -1
- package/lib/cjs/utils/Evaluator.js +2 -5
- package/lib/cjs/utils/formUtils.d.ts +1 -1
- package/lib/cjs/utils/utils.d.ts +106 -83
- package/lib/cjs/utils/utils.js +96 -140
- package/lib/cjs/widgets/CalendarWidget.d.ts +8 -7
- package/lib/cjs/widgets/CalendarWidget.js +8 -7
- package/lib/mjs/Element.d.ts +3 -2
- package/lib/mjs/Element.js +4 -3
- package/lib/mjs/Form.d.ts +99 -36
- package/lib/mjs/Form.js +43 -38
- package/lib/mjs/InlineEmbed.d.ts +7 -0
- package/lib/mjs/InlineEmbed.js +105 -0
- package/lib/mjs/PDF.d.ts +8 -7
- package/lib/mjs/PDF.js +6 -5
- package/lib/mjs/Webform.d.ts +0 -3
- package/lib/mjs/Webform.js +18 -15
- package/lib/mjs/WebformBuilder.d.ts +15 -14
- package/lib/mjs/WebformBuilder.js +11 -10
- package/lib/mjs/Wizard.d.ts +0 -11
- package/lib/mjs/Wizard.js +14 -12
- package/lib/mjs/WizardBuilder.d.ts +1 -1
- package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +2 -2
- package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.form.d.ts +2 -2
- package/lib/mjs/addons/index.d.ts +2 -2
- package/lib/mjs/components/Components.d.ts +6 -5
- package/lib/mjs/components/Components.js +2 -1
- package/lib/mjs/components/_classes/component/Component.form.d.ts +4 -5
- package/lib/mjs/components/_classes/component/Component.form.js +3 -2
- package/lib/mjs/components/_classes/component/Component.js +3 -2
- package/lib/mjs/components/_classes/component/editForm/Component.edit.addons.d.ts +2 -2
- package/lib/mjs/components/_classes/component/editForm/Component.edit.conditional.d.ts +1 -1
- package/lib/mjs/components/_classes/component/editForm/Component.edit.data.d.ts +1 -1
- package/lib/mjs/components/_classes/component/editForm/Component.edit.validation.d.ts +1 -1
- package/lib/mjs/components/_classes/component/editForm/Component.edit.validation.js +1 -1
- package/lib/mjs/components/_classes/component/editForm/utils.d.ts +1 -1
- package/lib/mjs/components/_classes/component/editForm/utils.js +1 -1
- package/lib/mjs/components/_classes/list/ListComponent.d.ts +2 -2
- package/lib/mjs/components/_classes/list/ListComponent.form.d.ts +4 -4
- package/lib/mjs/components/_classes/list/ListComponent.form.js +3 -3
- package/lib/mjs/components/_classes/nested/NestedComponent.form.d.ts +4 -5
- package/lib/mjs/components/_classes/nested/NestedComponent.form.js +3 -2
- package/lib/mjs/components/_classes/nested/NestedComponent.js +0 -2
- package/lib/mjs/components/_classes/nesteddata/NestedDataComponent.d.ts +1 -1
- package/lib/mjs/components/_classes/nesteddata/NestedDataComponent.js +1 -1
- package/lib/mjs/components/address/Address.form.d.ts +4 -5
- package/lib/mjs/components/address/Address.form.js +3 -2
- package/lib/mjs/components/button/Button.form.d.ts +4 -5
- package/lib/mjs/components/button/Button.form.js +3 -2
- package/lib/mjs/components/button/Button.js +3 -2
- package/lib/mjs/components/checkbox/Checkbox.form.d.ts +4 -5
- package/lib/mjs/components/checkbox/Checkbox.form.js +3 -2
- package/lib/mjs/components/checkbox/Checkbox.js +2 -9
- package/lib/mjs/components/checkbox/fixtures/comp5.d.ts +34 -0
- package/lib/mjs/components/checkbox/fixtures/comp5.js +53 -0
- package/lib/mjs/components/checkbox/fixtures/index.d.ts +2 -1
- package/lib/mjs/components/checkbox/fixtures/index.js +2 -1
- package/lib/mjs/components/columns/Columns.d.ts +1 -1
- package/lib/mjs/components/columns/Columns.form.d.ts +4 -5
- package/lib/mjs/components/columns/Columns.form.js +3 -2
- package/lib/mjs/components/columns/Columns.js +1 -1
- package/lib/mjs/components/container/Container.form.d.ts +4 -5
- package/lib/mjs/components/container/Container.form.js +3 -2
- package/lib/mjs/components/content/Content.form.d.ts +4 -5
- package/lib/mjs/components/content/Content.form.js +3 -2
- package/lib/mjs/components/currency/Currency.form.d.ts +4 -5
- package/lib/mjs/components/currency/Currency.form.js +3 -2
- package/lib/mjs/components/currency/Currency.js +1 -1
- package/lib/mjs/components/datagrid/DataGrid.d.ts +4 -4
- package/lib/mjs/components/datagrid/DataGrid.form.d.ts +4 -5
- package/lib/mjs/components/datagrid/DataGrid.form.js +3 -2
- package/lib/mjs/components/datagrid/DataGrid.js +4 -4
- package/lib/mjs/components/datamap/DataMap.form.d.ts +4 -5
- package/lib/mjs/components/datamap/DataMap.form.js +3 -2
- package/lib/mjs/components/datetime/DateTime.form.d.ts +4 -5
- package/lib/mjs/components/datetime/DateTime.form.js +3 -2
- package/lib/mjs/components/datetime/editForm/DateTime.edit.date.d.ts +1 -1
- package/lib/mjs/components/datetime/editForm/DateTime.edit.date.js +1 -1
- package/lib/mjs/components/day/Day.d.ts +18 -23
- package/lib/mjs/components/day/Day.form.d.ts +4 -5
- package/lib/mjs/components/day/Day.form.js +3 -2
- package/lib/mjs/components/day/Day.js +15 -14
- package/lib/mjs/components/editgrid/EditGrid.d.ts +4 -3
- package/lib/mjs/components/editgrid/EditGrid.form.d.ts +4 -5
- package/lib/mjs/components/editgrid/EditGrid.form.js +3 -2
- 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.d.ts +1 -1
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.templates.js +1 -1
- package/lib/mjs/components/email/Email.form.d.ts +4 -5
- package/lib/mjs/components/email/Email.form.js +3 -2
- package/lib/mjs/components/fieldset/Fieldset.form.d.ts +4 -5
- package/lib/mjs/components/fieldset/Fieldset.form.js +3 -2
- package/lib/mjs/components/file/File.form.d.ts +4 -5
- package/lib/mjs/components/file/File.form.js +3 -2
- package/lib/mjs/components/form/Form.d.ts +23 -20
- package/lib/mjs/components/form/Form.form.d.ts +4 -5
- package/lib/mjs/components/form/Form.form.js +3 -2
- package/lib/mjs/components/form/Form.js +18 -11
- package/lib/mjs/components/form/editForm/Form.edit.data.d.ts +1 -1
- package/lib/mjs/components/form/fixtures/comp7.d.ts +36 -0
- package/lib/mjs/components/form/fixtures/comp7.js +35 -0
- package/lib/mjs/components/form/fixtures/comp8.d.ts +26 -0
- package/lib/mjs/components/form/fixtures/comp8.js +27 -0
- package/lib/mjs/components/form/fixtures/index.d.ts +3 -1
- package/lib/mjs/components/form/fixtures/index.js +3 -1
- package/lib/mjs/components/hidden/Hidden.form.d.ts +4 -5
- package/lib/mjs/components/hidden/Hidden.form.js +3 -2
- package/lib/mjs/components/hidden/Hidden.js +1 -1
- package/lib/mjs/components/html/HTML.form.d.ts +4 -5
- package/lib/mjs/components/html/HTML.form.js +3 -2
- package/lib/mjs/components/number/Number.d.ts +1 -1
- package/lib/mjs/components/number/Number.form.d.ts +4 -5
- package/lib/mjs/components/number/Number.form.js +3 -2
- package/lib/mjs/components/number/Number.js +1 -1
- package/lib/mjs/components/panel/Panel.form.d.ts +4 -5
- package/lib/mjs/components/panel/Panel.form.js +3 -2
- package/lib/mjs/components/panel/editForm/Panel.edit.conditional.d.ts +1 -1
- package/lib/mjs/components/password/Password.form.d.ts +4 -5
- package/lib/mjs/components/password/Password.form.js +3 -2
- package/lib/mjs/components/phonenumber/PhoneNumber.form.d.ts +4 -5
- package/lib/mjs/components/phonenumber/PhoneNumber.form.js +3 -2
- package/lib/mjs/components/radio/Radio.form.d.ts +4 -3
- package/lib/mjs/components/radio/Radio.form.js +3 -2
- package/lib/mjs/components/recaptcha/ReCaptcha.form.d.ts +3 -4
- package/lib/mjs/components/recaptcha/ReCaptcha.form.js +2 -1
- package/lib/mjs/components/select/Select.d.ts +2 -2
- package/lib/mjs/components/select/Select.form.d.ts +4 -3
- package/lib/mjs/components/select/Select.form.js +3 -2
- package/lib/mjs/components/select/Select.js +1 -1
- package/lib/mjs/components/selectboxes/SelectBoxes.d.ts +2 -8
- package/lib/mjs/components/selectboxes/SelectBoxes.form.d.ts +4 -3
- package/lib/mjs/components/selectboxes/SelectBoxes.form.js +3 -2
- package/lib/mjs/components/selectboxes/SelectBoxes.js +7 -6
- package/lib/mjs/components/signature/Signature.form.d.ts +4 -5
- package/lib/mjs/components/signature/Signature.form.js +3 -2
- package/lib/mjs/components/survey/Survey.form.d.ts +4 -5
- package/lib/mjs/components/survey/Survey.form.js +3 -2
- package/lib/mjs/components/table/Table.form.d.ts +4 -5
- package/lib/mjs/components/table/Table.form.js +3 -2
- package/lib/mjs/components/tabs/Tabs.d.ts +2 -2
- package/lib/mjs/components/tabs/Tabs.form.d.ts +4 -5
- package/lib/mjs/components/tabs/Tabs.form.js +3 -2
- package/lib/mjs/components/tabs/Tabs.js +1 -1
- package/lib/mjs/components/tags/Tags.form.d.ts +4 -5
- package/lib/mjs/components/tags/Tags.form.js +3 -2
- package/lib/mjs/components/textarea/TextArea.d.ts +3 -3
- package/lib/mjs/components/textarea/TextArea.form.d.ts +4 -5
- package/lib/mjs/components/textarea/TextArea.form.js +3 -2
- package/lib/mjs/components/textarea/TextArea.js +2 -2
- package/lib/mjs/components/textfield/TextField.d.ts +12 -19
- package/lib/mjs/components/textfield/TextField.form.d.ts +4 -5
- package/lib/mjs/components/textfield/TextField.form.js +3 -2
- package/lib/mjs/components/textfield/TextField.js +13 -12
- package/lib/mjs/components/time/Time.form.d.ts +4 -5
- package/lib/mjs/components/time/Time.form.js +3 -2
- package/lib/mjs/components/unknown/Unknown.form.d.ts +3 -35
- package/lib/mjs/components/unknown/Unknown.form.js +2 -1
- package/lib/mjs/components/url/Url.form.d.ts +4 -5
- package/lib/mjs/components/url/Url.form.js +3 -2
- package/lib/mjs/components/well/Well.form.d.ts +4 -5
- package/lib/mjs/components/well/Well.form.js +3 -2
- package/lib/mjs/formio.embed.d.ts +1 -2
- package/lib/mjs/formio.embed.js +2 -99
- package/lib/mjs/formio.form.js +1 -1
- package/lib/mjs/utils/Evaluator.d.ts +0 -1
- package/lib/mjs/utils/Evaluator.js +1 -4
- package/lib/mjs/utils/formUtils.d.ts +1 -1
- package/lib/mjs/utils/utils.d.ts +106 -83
- package/lib/mjs/utils/utils.js +96 -140
- package/lib/mjs/widgets/CalendarWidget.d.ts +8 -7
- package/lib/mjs/widgets/CalendarWidget.js +8 -7
- package/package.json +12 -11
- package/sdk.d.ts +1 -0
- package/utils.d.ts +1 -0
@@ -7,8 +7,9 @@ const Components_1 = __importDefault(require("../Components"));
|
|
7
7
|
const Hidden_edit_display_1 = __importDefault(require("./editForm/Hidden.edit.display"));
|
8
8
|
const Hidden_edit_data_1 = __importDefault(require("./editForm/Hidden.edit.data"));
|
9
9
|
/**
|
10
|
-
*
|
11
|
-
* @param {...any} extend
|
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.
|
12
13
|
*/
|
13
14
|
function default_1(...extend) {
|
14
15
|
return Components_1.default.baseEditForm([
|
@@ -38,7 +38,7 @@ class HiddenComponent extends Input_1.default {
|
|
38
38
|
}
|
39
39
|
/**
|
40
40
|
* Check if a component is eligible for multiple validation
|
41
|
-
* @returns {boolean}
|
41
|
+
* @returns {boolean} - If the component is eligible for multiple validation.
|
42
42
|
*/
|
43
43
|
validateMultiple() {
|
44
44
|
// Since "arrays" are able to be stored in hidden components, we need to turn off multiple validation.
|
@@ -1,7 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
*
|
3
|
-
* @param {...any} extend
|
2
|
+
* The Edit Form function.
|
3
|
+
* @param {...any} extend - The components that extend the edit form.
|
4
|
+
* @returns {import('@formio/core').Component[]} - The edit form components.
|
4
5
|
*/
|
5
|
-
export default function _default(...extend: any[]):
|
6
|
-
components: any;
|
7
|
-
};
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -7,8 +7,9 @@ const Components_1 = __importDefault(require("../Components"));
|
|
7
7
|
const HTML_edit_display_1 = __importDefault(require("./editForm/HTML.edit.display"));
|
8
8
|
const HTML_edit_logic_1 = __importDefault(require("./editForm/HTML.edit.logic"));
|
9
9
|
/**
|
10
|
-
*
|
11
|
-
* @param {...any} extend
|
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.
|
12
13
|
*/
|
13
14
|
function default_1(...extend) {
|
14
15
|
return Components_1.default.baseEditForm([
|
@@ -1,7 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
*
|
3
|
-
* @param {...any} extend
|
2
|
+
* The Edit Form function.
|
3
|
+
* @param {...any} extend - The components that extend the edit form.
|
4
|
+
* @returns {import('@formio/core').Component[]} - The edit form components.
|
4
5
|
*/
|
5
|
-
export default function _default(...extend: any[]):
|
6
|
-
components: any;
|
7
|
-
};
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -8,8 +8,9 @@ const Number_edit_display_1 = __importDefault(require("./editForm/Number.edit.di
|
|
8
8
|
const Number_edit_data_1 = __importDefault(require("./editForm/Number.edit.data"));
|
9
9
|
const Number_edit_validation_1 = __importDefault(require("./editForm/Number.edit.validation"));
|
10
10
|
/**
|
11
|
-
*
|
12
|
-
* @param {...any} extend
|
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.
|
13
14
|
*/
|
14
15
|
function default_1(...extend) {
|
15
16
|
return (0, TextField_form_1.default)([
|
@@ -1,7 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
*
|
3
|
-
* @param {...any} extend
|
2
|
+
* The Edit Form function.
|
3
|
+
* @param {...any} extend - The components that extend the edit form.
|
4
|
+
* @returns {import('@formio/core').Component[]} - The edit form components.
|
4
5
|
*/
|
5
|
-
export default function _default(...extend: any[]):
|
6
|
-
components: any;
|
7
|
-
};
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -7,8 +7,9 @@ const NestedComponent_form_1 = __importDefault(require("../_classes/nested/Neste
|
|
7
7
|
const Panel_edit_display_1 = __importDefault(require("./editForm/Panel.edit.display"));
|
8
8
|
const Panel_edit_conditional_1 = __importDefault(require("./editForm/Panel.edit.conditional"));
|
9
9
|
/**
|
10
|
-
*
|
11
|
-
* @param {...any} extend
|
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.
|
12
13
|
*/
|
13
14
|
function default_1(...extend) {
|
14
15
|
return (0, NestedComponent_form_1.default)([
|
@@ -1,7 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
*
|
3
|
-
* @param {...any} extend
|
2
|
+
* The Edit Form function.
|
3
|
+
* @param {...any} extend - The components that extend the edit form.
|
4
|
+
* @returns {import('@formio/core').Component[]} - The edit form components.
|
4
5
|
*/
|
5
|
-
export default function _default(...extend: any[]):
|
6
|
-
components: any;
|
7
|
-
};
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -8,8 +8,9 @@ const Password_edit_display_1 = __importDefault(require("./editForm/Password.edi
|
|
8
8
|
const Password_edit_data_1 = __importDefault(require("./editForm/Password.edit.data"));
|
9
9
|
const Password_edit_validation_1 = __importDefault(require("./editForm/Password.edit.validation"));
|
10
10
|
/**
|
11
|
-
*
|
12
|
-
* @param {...any} extend
|
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.
|
13
14
|
*/
|
14
15
|
function default_1(...extend) {
|
15
16
|
return (0, TextField_form_1.default)([
|
@@ -1,7 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
*
|
3
|
-
* @param {...any} extend
|
2
|
+
* The Edit Form function.
|
3
|
+
* @param {...any} extend - The components that extend the edit form.
|
4
|
+
* @returns {import('@formio/core').Component[]} - The edit form components.
|
4
5
|
*/
|
5
|
-
export default function _default(...extend: any[]):
|
6
|
-
components: any;
|
7
|
-
};
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -6,8 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const TextField_form_1 = __importDefault(require("../textfield/TextField.form"));
|
7
7
|
const PhoneNumber_edit_validation_1 = __importDefault(require("./editForm/PhoneNumber.edit.validation"));
|
8
8
|
/**
|
9
|
-
*
|
10
|
-
* @param {...any} extend
|
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.
|
11
12
|
*/
|
12
13
|
function default_1(...extend) {
|
13
14
|
return (0, TextField_form_1.default)([
|
@@ -1,5 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
*
|
3
|
-
* @param {...any} extend
|
2
|
+
* The Edit Form function.
|
3
|
+
* @param {...any} extend - The components that extend the edit form.
|
4
|
+
* @returns {import('@formio/core').Component[]} - The edit form components.
|
4
5
|
*/
|
5
|
-
export default function _default(...extend: any[]):
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -8,8 +8,9 @@ const Radio_edit_data_1 = __importDefault(require("./editForm/Radio.edit.data"))
|
|
8
8
|
const Radio_edit_display_1 = __importDefault(require("./editForm/Radio.edit.display"));
|
9
9
|
const Radio_edit_validation_1 = __importDefault(require("./editForm/Radio.edit.validation"));
|
10
10
|
/**
|
11
|
-
*
|
12
|
-
* @param {...any} extend
|
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.
|
13
14
|
*/
|
14
15
|
function default_1(...extend) {
|
15
16
|
return (0, ListComponent_form_1.default)([
|
@@ -6,7 +6,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const Components_1 = __importDefault(require("../Components"));
|
7
7
|
const ReCaptcha_edit_display_1 = __importDefault(require("./editForm/ReCaptcha.edit.display"));
|
8
8
|
/**
|
9
|
-
*
|
9
|
+
* The Edit Form function.
|
10
|
+
* @returns {import('@formio/core').Component[]} - The edit form components.
|
10
11
|
*/
|
11
12
|
function default_1() {
|
12
13
|
return Components_1.default.baseEditForm([
|
@@ -34,7 +34,7 @@ export default class SelectComponent extends ListComponent {
|
|
34
34
|
get isSelectResource(): boolean;
|
35
35
|
get itemsFromUrl(): boolean;
|
36
36
|
get isInfiniteScrollProvided(): boolean;
|
37
|
-
get shouldInitialLoad():
|
37
|
+
get shouldInitialLoad(): boolean;
|
38
38
|
get selectMetadata(): any;
|
39
39
|
isEntireObjectDisplay(): boolean;
|
40
40
|
selectValueAndLabel(data: any): {
|
@@ -106,7 +106,7 @@ export default class SelectComponent extends ListComponent {
|
|
106
106
|
validateValueAvailability(setting: any, value: any): boolean;
|
107
107
|
/**
|
108
108
|
* Performs required transformations on the initial value to use in selectOptions
|
109
|
-
* @param {*} value
|
109
|
+
* @param {*} value - The value to transform.
|
110
110
|
* @returns {*} - Returns the options value.
|
111
111
|
*/
|
112
112
|
getOptionValue(value: any): any;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
*
|
3
|
-
* @param {...any} extend
|
2
|
+
* The Edit Form function.
|
3
|
+
* @param {...any} extend - The components that extend the edit form.
|
4
|
+
* @returns {import('@formio/core').Component[]} - The edit form components.
|
4
5
|
*/
|
5
|
-
export default function _default(...extend: any[]):
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -8,8 +8,9 @@ const Select_edit_data_1 = __importDefault(require("./editForm/Select.edit.data"
|
|
8
8
|
const Select_edit_display_1 = __importDefault(require("./editForm/Select.edit.display"));
|
9
9
|
const Select_edit_validation_1 = __importDefault(require("./editForm/Select.edit.validation"));
|
10
10
|
/**
|
11
|
-
*
|
12
|
-
* @param {...any} extend
|
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.
|
13
14
|
*/
|
14
15
|
function default_1(...extend) {
|
15
16
|
return (0, ListComponent_form_1.default)([
|
@@ -1389,7 +1389,7 @@ class SelectComponent extends ListComponent_1.default {
|
|
1389
1389
|
}
|
1390
1390
|
/**
|
1391
1391
|
* Performs required transformations on the initial value to use in selectOptions
|
1392
|
-
* @param {*} value
|
1392
|
+
* @param {*} value - The value to transform.
|
1393
1393
|
* @returns {*} - Returns the options value.
|
1394
1394
|
*/
|
1395
1395
|
getOptionValue(value) {
|
@@ -26,16 +26,10 @@ export default class SelectBoxesComponent extends RadioComponent {
|
|
26
26
|
get emptyValue(): any;
|
27
27
|
/**
|
28
28
|
* Only empty if the values are all false.
|
29
|
-
* @param value
|
30
|
-
* @returns {boolean}
|
29
|
+
* @param {any} value - The value to check if empty.
|
30
|
+
* @returns {boolean} - If the value is empty.
|
31
31
|
*/
|
32
32
|
isEmpty(value?: any): boolean;
|
33
|
-
/**
|
34
|
-
* Set the value of this component.
|
35
|
-
* @param value
|
36
|
-
* @param flags
|
37
|
-
*/
|
38
|
-
setValue(value: any, flags?: {}): boolean;
|
39
33
|
setInputsDisabled(value: any, onlyUnchecked: any): void;
|
40
34
|
checkComponentValidity(data: any, dirty: any, rowData: any, options: any, errors?: any[]): boolean;
|
41
35
|
}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
*
|
3
|
-
* @param {...any} extend
|
2
|
+
* The Edit Form function.
|
3
|
+
* @param {...any} extend - The components that extend the edit form.
|
4
|
+
* @returns {import('@formio/core').Component[]} - The edit form components.
|
4
5
|
*/
|
5
|
-
export default function _default(...extend: any[]):
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -6,8 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const Radio_form_1 = __importDefault(require("../radio/Radio.form"));
|
7
7
|
const SelectBoxes_edit_validation_1 = __importDefault(require("./editForm/SelectBoxes.edit.validation"));
|
8
8
|
/**
|
9
|
-
*
|
10
|
-
* @param {...any} extend
|
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.
|
11
12
|
*/
|
12
13
|
function default_1(...extend) {
|
13
14
|
return (0, Radio_form_1.default)([
|
@@ -81,8 +81,8 @@ class SelectBoxesComponent extends Radio_1.default {
|
|
81
81
|
}
|
82
82
|
/**
|
83
83
|
* Only empty if the values are all false.
|
84
|
-
* @param value
|
85
|
-
* @returns {boolean}
|
84
|
+
* @param {any} value - The value to check if empty.
|
85
|
+
* @returns {boolean} - If the value is empty.
|
86
86
|
*/
|
87
87
|
isEmpty(value = this.dataValue) {
|
88
88
|
let empty = true;
|
@@ -106,8 +106,8 @@ class SelectBoxesComponent extends Radio_1.default {
|
|
106
106
|
}
|
107
107
|
/**
|
108
108
|
* Normalize values coming into updateValue.
|
109
|
-
* @param value
|
110
|
-
* @returns {*}
|
109
|
+
* @param {any} value - The value to normalize.
|
110
|
+
* @returns {*} - The normalized value
|
111
111
|
*/
|
112
112
|
normalizeValue(value) {
|
113
113
|
value = value || {};
|
@@ -140,8 +140,9 @@ class SelectBoxesComponent extends Radio_1.default {
|
|
140
140
|
}
|
141
141
|
/**
|
142
142
|
* Set the value of this component.
|
143
|
-
* @param value
|
144
|
-
* @param flags
|
143
|
+
* @param {any} value - The value to set.
|
144
|
+
* @param {any} flags - Flags to apply to this update.
|
145
|
+
* @returns {boolean} - If the value has changed.
|
145
146
|
*/
|
146
147
|
setValue(value, flags = {}) {
|
147
148
|
const changed = this.updateValue(value, flags);
|
@@ -1,7 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
*
|
3
|
-
* @param {...any} extend
|
2
|
+
* The Edit Form function.
|
3
|
+
* @param {...any} extend - The components that extend the edit form.
|
4
|
+
* @returns {import('@formio/core').Component[]} - The edit form components.
|
4
5
|
*/
|
5
|
-
export default function _default(...extend: any[]):
|
6
|
-
components: any;
|
7
|
-
};
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -8,8 +8,9 @@ const Signature_edit_data_1 = __importDefault(require("./editForm/Signature.edit
|
|
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
10
|
/**
|
11
|
-
*
|
12
|
-
* @param {...any} extend
|
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.
|
13
14
|
*/
|
14
15
|
function default_1(...extend) {
|
15
16
|
return Components_1.default.baseEditForm([
|
@@ -1,7 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
*
|
3
|
-
* @param {...any} extend
|
2
|
+
* The Edit Form function.
|
3
|
+
* @param {...any} extend - The components that extend the edit form.
|
4
|
+
* @returns {import('@formio/core').Component[]} - The edit form components.
|
4
5
|
*/
|
5
|
-
export default function _default(...extend: any[]):
|
6
|
-
components: any;
|
7
|
-
};
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -8,8 +8,9 @@ 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
10
|
/**
|
11
|
-
*
|
12
|
-
* @param {...any} extend
|
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.
|
13
14
|
*/
|
14
15
|
function default_1(...extend) {
|
15
16
|
return Components_1.default.baseEditForm([
|
@@ -1,7 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
*
|
3
|
-
* @param {...any} extend
|
2
|
+
* The Edit Form function.
|
3
|
+
* @param {...any} extend - The components that extend the edit form.
|
4
|
+
* @returns {import('@formio/core').Component[]} - The edit form components.
|
4
5
|
*/
|
5
|
-
export default function _default(...extend: any[]):
|
6
|
-
components: any;
|
7
|
-
};
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -6,8 +6,9 @@ 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
8
|
/**
|
9
|
-
*
|
10
|
-
* @param {...any} extend
|
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.
|
11
12
|
*/
|
12
13
|
function default_1(...extend) {
|
13
14
|
return (0, NestedComponent_form_1.default)([
|
@@ -20,9 +20,9 @@ export default class TabsComponent extends NestedComponent {
|
|
20
20
|
detach(all: any): void;
|
21
21
|
/**
|
22
22
|
* Set the current tab.
|
23
|
-
* @param index
|
23
|
+
* @param {number} index - The index of the tab to set.
|
24
24
|
*/
|
25
|
-
setTab(index:
|
25
|
+
setTab(index: number): void;
|
26
26
|
beforeFocus(component: any): void;
|
27
27
|
setErrorClasses(elements: any, dirty: any, hasErrors: any, hasMessages: any, element?: any): void;
|
28
28
|
handleTabsValidation(): void;
|
@@ -1,7 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
*
|
3
|
-
* @param {...any} extend
|
2
|
+
* The Edit Form function.
|
3
|
+
* @param {...any} extend - The components that extend the edit form.
|
4
|
+
* @returns {import('@formio/core').Component[]} - The edit form components.
|
4
5
|
*/
|
5
|
-
export default function _default(...extend: any[]):
|
6
|
-
components: any;
|
7
|
-
};
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -6,8 +6,9 @@ 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
8
|
/**
|
9
|
-
*
|
10
|
-
* @param {...any} extend
|
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.
|
11
12
|
*/
|
12
13
|
function default_1(...extend) {
|
13
14
|
return (0, NestedComponent_form_1.default)([
|
@@ -112,7 +112,7 @@ class TabsComponent extends NestedComponent_1.default {
|
|
112
112
|
}
|
113
113
|
/**
|
114
114
|
* Set the current tab.
|
115
|
-
* @param index
|
115
|
+
* @param {number} index - The index of the tab to set.
|
116
116
|
*/
|
117
117
|
setTab(index) {
|
118
118
|
if (!this.tabs || !this.tabs[index] || !this.refs[this.tabKey] || !this.refs[this.tabKey][index]) {
|
@@ -1,7 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
*
|
3
|
-
* @param {...any} extend
|
2
|
+
* The Edit Form function.
|
3
|
+
* @param {...any} extend - The components that extend the edit form.
|
4
|
+
* @returns {import('@formio/core').Component[]} - The edit form components.
|
4
5
|
*/
|
5
|
-
export default function _default(...extend: any[]):
|
6
|
-
components: any;
|
7
|
-
};
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -6,8 +6,9 @@ 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
8
|
/**
|
9
|
-
*
|
10
|
-
* @param {...any} extend
|
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.
|
11
12
|
*/
|
12
13
|
function default_1(...extend) {
|
13
14
|
return Components_1.default.baseEditForm([
|
@@ -5,10 +5,10 @@ export default class TextAreaComponent extends TextFieldComponent {
|
|
5
5
|
get autoExpand(): any;
|
6
6
|
/**
|
7
7
|
* Updates the editor value.
|
8
|
-
* @param index
|
9
|
-
* @param newValue
|
8
|
+
* @param {number} index - The index of the editor.
|
9
|
+
* @param {any} newValue - The new editor value.
|
10
10
|
*/
|
11
|
-
updateEditorValue(index:
|
11
|
+
updateEditorValue(index: number, 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;
|
@@ -1,7 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
*
|
3
|
-
* @param {...any} extend
|
2
|
+
* The Edit Form function.
|
3
|
+
* @param {...any} extend - The components that extend the edit form.
|
4
|
+
* @returns {import('@formio/core').Component[]} - The edit form components.
|
4
5
|
*/
|
5
|
-
export default function _default(...extend: any[]):
|
6
|
-
components: any;
|
7
|
-
};
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|
@@ -7,8 +7,9 @@ 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
9
|
/**
|
10
|
-
*
|
11
|
-
* @param {...any} extend
|
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.
|
12
13
|
*/
|
13
14
|
function default_1(...extend) {
|
14
15
|
return (0, TextField_form_1.default)([
|
@@ -82,8 +82,8 @@ class TextAreaComponent extends TextField_1.default {
|
|
82
82
|
}
|
83
83
|
/**
|
84
84
|
* Updates the editor value.
|
85
|
-
* @param index
|
86
|
-
* @param newValue
|
85
|
+
* @param {number} index - The index of the editor.
|
86
|
+
* @param {any} newValue - The new editor value.
|
87
87
|
*/
|
88
88
|
updateEditorValue(index, newValue) {
|
89
89
|
newValue = this.getConvertedValue(this.trimBlanks(newValue));
|
@@ -18,33 +18,26 @@ export default class TextFieldComponent extends Input {
|
|
18
18
|
static savedValueTypes(schema: any): string[];
|
19
19
|
get emptyValue(): string;
|
20
20
|
/**
|
21
|
-
* Returns the mask value object.
|
22
|
-
* @param value
|
23
|
-
* @param flags
|
24
|
-
* @returns {*}
|
21
|
+
* Returns the mask value object (mutates value!).
|
22
|
+
* @param {any} [value] - The value to convert to a mask value.
|
23
|
+
* @param {any} [flags] - The flags to use when converting to a mask value.
|
24
|
+
* @returns {*} - The value as a mask value.
|
25
25
|
*/
|
26
|
-
maskValue(value
|
26
|
+
maskValue(value?: any, flags?: any): any;
|
27
27
|
/**
|
28
28
|
* Normalize the value set in the data object.
|
29
|
-
* @param value
|
30
|
-
* @param flags
|
31
|
-
* @returns {*}
|
29
|
+
* @param {any} value - The value to normalize.
|
30
|
+
* @param {any} flags - The flags to use when normalizing the value.
|
31
|
+
* @returns {*} - Returns the normalized value.
|
32
32
|
*/
|
33
|
-
normalizeValue(value: any, flags?:
|
34
|
-
/**
|
35
|
-
* Sets the value at this index.
|
36
|
-
* @param index
|
37
|
-
* @param value
|
38
|
-
* @param flags
|
39
|
-
*/
|
40
|
-
setValueAt(index: any, value: any, flags?: {}): void;
|
33
|
+
normalizeValue(value: any, flags?: any): any;
|
41
34
|
unmaskValue(value: any, format?: any): string;
|
42
35
|
/**
|
43
36
|
* Returns the value at this index.
|
44
|
-
* @param index
|
45
|
-
* @returns {*}
|
37
|
+
* @param {number} index - The index to get the value from.
|
38
|
+
* @returns {*} - The value at the index.
|
46
39
|
*/
|
47
|
-
getValueAt(index:
|
40
|
+
getValueAt(index: number): any;
|
48
41
|
checkInputMaskValue(inputMask: any): boolean;
|
49
42
|
setInputMask(input: any, inputMask: any, usePlaceholder: any): void;
|
50
43
|
isHtmlRenderMode(): any;
|
@@ -1,7 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
*
|
3
|
-
* @param {...any} extend
|
2
|
+
* The Edit Form function.
|
3
|
+
* @param {...any} extend - The components that extend the edit form.
|
4
|
+
* @returns {import('@formio/core').Component[]} - The edit form components.
|
4
5
|
*/
|
5
|
-
export default function _default(...extend: any[]):
|
6
|
-
components: any;
|
7
|
-
};
|
6
|
+
export default function _default(...extend: any[]): import('@formio/core').Component[];
|