@formio/js 5.0.0-rc.54 → 5.0.0-rc.55
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 +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/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/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.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/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.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 +5 -8
@@ -1,8 +1,9 @@
|
|
1
1
|
import nestedComponentForm from '../_classes/nested/NestedComponent.form';
|
2
2
|
import ColumnsEditDisplay from './editForm/Columns.edit.display';
|
3
3
|
/**
|
4
|
-
*
|
5
|
-
* @param {...any} extend
|
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.
|
6
7
|
*/
|
7
8
|
export default function (...extend) {
|
8
9
|
return nestedComponentForm([
|
@@ -114,7 +114,7 @@ export default class ColumnsComponent extends NestedComponent {
|
|
114
114
|
}
|
115
115
|
/**
|
116
116
|
* Group columns in rows.
|
117
|
-
* @returns {Array.<ColumnComponent[]>}
|
117
|
+
* @returns {Array.<ColumnComponent[]>} - The array of columns
|
118
118
|
*/
|
119
119
|
groupByRow() {
|
120
120
|
const initVal = { stack: [], rows: [] };
|
@@ -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[];
|
@@ -2,8 +2,9 @@ import Components from '../Components';
|
|
2
2
|
import ContainerEditDisplay from './editForm/Container.edit.display';
|
3
3
|
import ContainerEditData from './editForm/Container.edit.data';
|
4
4
|
/**
|
5
|
-
*
|
6
|
-
* @param {...any} extend
|
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.
|
7
8
|
*/
|
8
9
|
export default function (...extend) {
|
9
10
|
return Components.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[];
|
@@ -2,8 +2,9 @@ import Components from '../Components';
|
|
2
2
|
import ContentEditDisplay from './editForm/Content.edit.display';
|
3
3
|
import ContentEditLogic from './editForm/Content.edit.logic';
|
4
4
|
/**
|
5
|
-
*
|
6
|
-
* @param {...any} extend
|
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.
|
7
8
|
*/
|
8
9
|
export default function (...extend) {
|
9
10
|
const editForm = Components.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[];
|
@@ -2,8 +2,9 @@ import baseEditForm from '../textfield/TextField.form';
|
|
2
2
|
import CurrencyEditDisplay from './editForm/Currency.edit.display';
|
3
3
|
import CurrencyEditData from './editForm/Currency.edit.data';
|
4
4
|
/**
|
5
|
-
*
|
6
|
-
* @param {...any} extend
|
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.
|
7
8
|
*/
|
8
9
|
export default function (...extend) {
|
9
10
|
return baseEditForm([
|
@@ -30,7 +30,7 @@ export default class CurrencyComponent extends NumberComponent {
|
|
30
30
|
}
|
31
31
|
/**
|
32
32
|
* Creates the number mask for currency numbers.
|
33
|
-
* @returns {*}
|
33
|
+
* @returns {*} - The result of the createNumberMask function
|
34
34
|
*/
|
35
35
|
createNumberMask() {
|
36
36
|
const decimalLimit = _.get(this.component, 'decimalLimit', 2);
|
@@ -32,18 +32,18 @@ export default class DataGridComponent extends NestedArrayComponent {
|
|
32
32
|
* Split rows into chunks.
|
33
33
|
* @param {number[]} groups - array of numbers where each item is size of group
|
34
34
|
* @param {Array<T>} rows - rows collection
|
35
|
-
* @returns {Array<T[]>}
|
35
|
+
* @returns {Array<T[]>} - The chunked rows
|
36
36
|
*/
|
37
37
|
getRowChunks(groups: number[], rows: Array<T>): Array<T[]>;
|
38
38
|
/**
|
39
39
|
* Create groups object.
|
40
40
|
* Each key in object represents index of first row in group.
|
41
|
-
* @returns {object}
|
41
|
+
* @returns {object} - The groups object.
|
42
42
|
*/
|
43
43
|
getGroups(): object;
|
44
44
|
/**
|
45
|
-
*
|
46
|
-
* @returns {number[]}
|
45
|
+
* Get group sizes.
|
46
|
+
* @returns {number[]} - The array of group sizes.
|
47
47
|
*/
|
48
48
|
getGroupSizes(): number[];
|
49
49
|
hasRowGroups(): 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[];
|
@@ -3,8 +3,9 @@ import DataGridEditData from './editForm/DataGrid.edit.data';
|
|
3
3
|
import DataGridEditDisplay from './editForm/DataGrid.edit.display';
|
4
4
|
import DataGridEditValidation from './editForm/DataGrid.edit.validation';
|
5
5
|
/**
|
6
|
-
*
|
7
|
-
* @param {...any} extend
|
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.
|
8
9
|
*/
|
9
10
|
export default function (...extend) {
|
10
11
|
return Components.baseEditForm([
|
@@ -135,7 +135,7 @@ export default class DataGridComponent extends NestedArrayComponent {
|
|
135
135
|
* Split rows into chunks.
|
136
136
|
* @param {number[]} groups - array of numbers where each item is size of group
|
137
137
|
* @param {Array<T>} rows - rows collection
|
138
|
-
* @returns {Array<T[]>}
|
138
|
+
* @returns {Array<T[]>} - The chunked rows
|
139
139
|
*/
|
140
140
|
getRowChunks(groups, rows) {
|
141
141
|
const [, chunks] = groups.reduce(([startIndex, acc], size) => {
|
@@ -147,7 +147,7 @@ export default class DataGridComponent extends NestedArrayComponent {
|
|
147
147
|
/**
|
148
148
|
* Create groups object.
|
149
149
|
* Each key in object represents index of first row in group.
|
150
|
-
* @returns {object}
|
150
|
+
* @returns {object} - The groups object.
|
151
151
|
*/
|
152
152
|
getGroups() {
|
153
153
|
const groups = _.get(this.component, 'rowGroups', []);
|
@@ -164,8 +164,8 @@ export default class DataGridComponent extends NestedArrayComponent {
|
|
164
164
|
}, {});
|
165
165
|
}
|
166
166
|
/**
|
167
|
-
*
|
168
|
-
* @returns {number[]}
|
167
|
+
* Get group sizes.
|
168
|
+
* @returns {number[]} - The array of group sizes.
|
169
169
|
*/
|
170
170
|
getGroupSizes() {
|
171
171
|
return _.map(_.get(this.component, 'rowGroups', []), 'numberOfRows');
|
@@ -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[];
|
@@ -2,8 +2,9 @@ import Components from '../Components';
|
|
2
2
|
import DataMapEditData from './editForm/DataMap.edit.data';
|
3
3
|
import DataMapEditDisplay from './editForm/DataMap.edit.display';
|
4
4
|
/**
|
5
|
-
*
|
6
|
-
* @param {...any} extend
|
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.
|
7
8
|
*/
|
8
9
|
export default function (...extend) {
|
9
10
|
return Components.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[];
|
@@ -5,8 +5,9 @@ import DateTimeEditDisplay from './editForm/DateTime.edit.display';
|
|
5
5
|
import DateTimeEditTime from './editForm/DateTime.edit.time';
|
6
6
|
import DateTimeEditValidation from './editForm/DateTime.edit.validation';
|
7
7
|
/**
|
8
|
-
*
|
9
|
-
* @param {...any} extend
|
8
|
+
* The Edit Form function.
|
9
|
+
* @param {...any} extend - The components that extend the edit form.
|
10
|
+
* @returns {import('@formio/core').Component[]} - The edit form components.
|
10
11
|
*/
|
11
12
|
export default function (...extend) {
|
12
13
|
return Components.baseEditForm([
|
@@ -17,7 +17,7 @@ export default class DayComponent extends Field {
|
|
17
17
|
constructor(component: any, options: any, data: any);
|
18
18
|
/**
|
19
19
|
* The empty value for day component.
|
20
|
-
* @returns {'00/00/0000'}
|
20
|
+
* @returns {'00/00/0000'} - The empty value of the day component.
|
21
21
|
*/
|
22
22
|
get emptyValue(): "00/00/0000";
|
23
23
|
get valueMask(): RegExp;
|
@@ -91,11 +91,12 @@ export default class DayComponent extends Field {
|
|
91
91
|
validateRequired(setting: any, value: any): boolean;
|
92
92
|
normalizeValue(value: any): any;
|
93
93
|
/**
|
94
|
-
* Set the value at a specific index.
|
95
|
-
* @param index
|
96
|
-
* @param value
|
94
|
+
* Set the value at a specific index and updates the component's refs.
|
95
|
+
* @param {number} index - The index to set.
|
96
|
+
* @param {any} value - The value to set.
|
97
|
+
* @returns {null|void} - Returns null if the value is invalid, otherwise void.
|
97
98
|
*/
|
98
|
-
setValueAt(index:
|
99
|
+
setValueAt(index: number, value: any): null | void;
|
99
100
|
getFieldValue(name: any): number;
|
100
101
|
get parts(): {
|
101
102
|
day: number;
|
@@ -104,37 +105,31 @@ export default class DayComponent extends Field {
|
|
104
105
|
};
|
105
106
|
/**
|
106
107
|
* Get the format for the value string.
|
107
|
-
* @returns {string}
|
108
|
+
* @returns {string} - the format for the value string.
|
108
109
|
*/
|
109
110
|
get format(): string;
|
110
111
|
/**
|
111
112
|
* Return the date for this component.
|
112
|
-
* @param value
|
113
|
-
* @returns {
|
113
|
+
* @param {any} value - The value to convert to a date.
|
114
|
+
* @returns {null|string} - The date string.
|
114
115
|
*/
|
115
|
-
getDate(value: any):
|
116
|
+
getDate(value: any): null | string;
|
116
117
|
/**
|
117
|
-
* Return the date
|
118
|
-
* @returns {
|
118
|
+
* Return the date string for this component.
|
119
|
+
* @returns {string|null} - The date string for this component.
|
119
120
|
*/
|
120
|
-
get date():
|
121
|
+
get date(): string | null;
|
121
122
|
/**
|
122
123
|
* Return the raw value.
|
123
|
-
* @returns {
|
124
|
+
* @returns {string} - The raw value of the component.
|
124
125
|
*/
|
125
|
-
get validationValue():
|
126
|
-
/**
|
127
|
-
* Get the value at a specific index.
|
128
|
-
* @param index
|
129
|
-
* @returns {*}
|
130
|
-
*/
|
131
|
-
getValueAt(index: any): any;
|
126
|
+
get validationValue(): string;
|
132
127
|
/**
|
133
128
|
* Get the input value of the date.
|
134
|
-
* @param value
|
135
|
-
* @returns {null}
|
129
|
+
* @param {any} value - The value to convert to a string.
|
130
|
+
* @returns {string|null} - The string value of the date.
|
136
131
|
*/
|
137
|
-
getValueAsString(value: any): null;
|
132
|
+
getValueAsString(value: any): string | null;
|
138
133
|
focus(field: any): void;
|
139
134
|
isPartialDay(value: any): boolean;
|
140
135
|
getValidationFormat(): "DD-MM-YYYY" | "MM-DD-YYYY";
|
@@ -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 @@ import DayEditDay from './editForm/Day.edit.day';
|
|
6
6
|
import DayEditMonth from './editForm/Day.edit.month';
|
7
7
|
import DayEditYear from './editForm/Day.edit.year';
|
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
|
export default function (...extend) {
|
13
14
|
return Components.baseEditForm([
|
@@ -62,7 +62,7 @@ export default class DayComponent extends Field {
|
|
62
62
|
}
|
63
63
|
/**
|
64
64
|
* The empty value for day component.
|
65
|
-
* @returns {'00/00/0000'}
|
65
|
+
* @returns {'00/00/0000'} - The empty value of the day component.
|
66
66
|
*/
|
67
67
|
get emptyValue() {
|
68
68
|
return '00/00/0000';
|
@@ -353,9 +353,10 @@ export default class DayComponent extends Field {
|
|
353
353
|
return dateParts.join('/');
|
354
354
|
}
|
355
355
|
/**
|
356
|
-
* Set the value at a specific index.
|
357
|
-
* @param index
|
358
|
-
* @param value
|
356
|
+
* Set the value at a specific index and updates the component's refs.
|
357
|
+
* @param {number} index - The index to set.
|
358
|
+
* @param {any} value - The value to set.
|
359
|
+
* @returns {null|void} - Returns null if the value is invalid, otherwise void.
|
359
360
|
*/
|
360
361
|
setValueAt(index, value) {
|
361
362
|
// temporary solution to avoid input reset
|
@@ -409,7 +410,7 @@ export default class DayComponent extends Field {
|
|
409
410
|
}
|
410
411
|
/**
|
411
412
|
* Get the format for the value string.
|
412
|
-
* @returns {string}
|
413
|
+
* @returns {string} - the format for the value string.
|
413
414
|
*/
|
414
415
|
get format() {
|
415
416
|
let format = '';
|
@@ -433,8 +434,8 @@ export default class DayComponent extends Field {
|
|
433
434
|
}
|
434
435
|
/**
|
435
436
|
* Return the date for this component.
|
436
|
-
* @param value
|
437
|
-
* @returns {
|
437
|
+
* @param {any} value - The value to convert to a date.
|
438
|
+
* @returns {null|string} - The date string.
|
438
439
|
*/
|
439
440
|
getDate(value) {
|
440
441
|
let defaults = [], day, month, year;
|
@@ -480,15 +481,15 @@ export default class DayComponent extends Field {
|
|
480
481
|
return result;
|
481
482
|
}
|
482
483
|
/**
|
483
|
-
* Return the date
|
484
|
-
* @returns {
|
484
|
+
* Return the date string for this component.
|
485
|
+
* @returns {string|null} - The date string for this component.
|
485
486
|
*/
|
486
487
|
get date() {
|
487
488
|
return this.getDate();
|
488
489
|
}
|
489
490
|
/**
|
490
491
|
* Return the raw value.
|
491
|
-
* @returns {
|
492
|
+
* @returns {string} - The raw value of the component.
|
492
493
|
*/
|
493
494
|
get validationValue() {
|
494
495
|
return this.dataValue;
|
@@ -499,8 +500,8 @@ export default class DayComponent extends Field {
|
|
499
500
|
}
|
500
501
|
/**
|
501
502
|
* Get the value at a specific index.
|
502
|
-
* @param index
|
503
|
-
* @returns {*}
|
503
|
+
* @param {number} index - The index to get the value from.
|
504
|
+
* @returns {*} - The value at index.
|
504
505
|
*/
|
505
506
|
getValueAt(index) {
|
506
507
|
const date = this.date || this.emptyValue;
|
@@ -515,8 +516,8 @@ export default class DayComponent extends Field {
|
|
515
516
|
}
|
516
517
|
/**
|
517
518
|
* Get the input value of the date.
|
518
|
-
* @param value
|
519
|
-
* @returns {null}
|
519
|
+
* @param {any} value - The value to convert to a string.
|
520
|
+
* @returns {string|null} - The string value of the date.
|
520
521
|
*/
|
521
522
|
getValueAsString(value) {
|
522
523
|
return this.getDate(value) || '';
|
@@ -19,8 +19,9 @@ export default class EditGridComponent extends NestedArrayComponent {
|
|
19
19
|
get rowTemplate(): any;
|
20
20
|
get headerTemplate(): any;
|
21
21
|
/**
|
22
|
-
* Returns true if the component has nested components which don't trigger changes on the root level
|
23
|
-
*/
|
22
|
+
* @returns {boolean} - Returns true if the component has nested components which don't trigger changes on the root level
|
23
|
+
*/
|
24
|
+
get hasScopedChildren(): boolean;
|
24
25
|
get emptyValue(): never[];
|
25
26
|
get editgridKey(): string;
|
26
27
|
get rowRef(): string;
|
@@ -92,7 +93,7 @@ export default class EditGridComponent extends NestedArrayComponent {
|
|
92
93
|
validateRow(editRow: any, dirty: any, forceSilentCheck: any): any;
|
93
94
|
showRowErrorAlerts(editRow: any, errors: any): void;
|
94
95
|
/**
|
95
|
-
* Return that this component processes its own validation.
|
96
|
+
* @returns {boolean} - Return that this component processes its own validation.
|
96
97
|
*/
|
97
98
|
get processOwnValidation(): boolean;
|
98
99
|
checkComponentValidity(data: any, dirty: any, row: any, options?: {}, errors?: any[]): boolean;
|
@@ -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[];
|
@@ -4,8 +4,9 @@ import EditGridEditDisplay from './editForm/EditGrid.edit.display';
|
|
4
4
|
import EditGridEditTemplates from './editForm/EditGrid.edit.templates';
|
5
5
|
import EditGridEditValidation from './editForm/EditGrid.edit.validation';
|
6
6
|
/**
|
7
|
-
*
|
8
|
-
* @param {...any} extend
|
7
|
+
* The Edit Form function.
|
8
|
+
* @param {...any} extend - The components that extend the edit form.
|
9
|
+
* @returns {import('@formio/core').Component[]} - The edit form components.
|
9
10
|
*/
|
10
11
|
export default function (...extend) {
|
11
12
|
return Components.baseEditForm([
|
@@ -161,8 +161,8 @@ export default class EditGridComponent extends NestedArrayComponent {
|
|
161
161
|
return headerTemplate;
|
162
162
|
}
|
163
163
|
/**
|
164
|
-
* Returns true if the component has nested components which don't trigger changes on the root level
|
165
|
-
*/
|
164
|
+
* @returns {boolean} - Returns true if the component has nested components which don't trigger changes on the root level
|
165
|
+
*/
|
166
166
|
get hasScopedChildren() {
|
167
167
|
return !this.inlineEditMode;
|
168
168
|
}
|
@@ -1035,7 +1035,7 @@ export default class EditGridComponent extends NestedArrayComponent {
|
|
1035
1035
|
}
|
1036
1036
|
}
|
1037
1037
|
/**
|
1038
|
-
* Return that this component processes its own validation.
|
1038
|
+
* @returns {boolean} - Return that this component processes its own validation.
|
1039
1039
|
*/
|
1040
1040
|
get processOwnValidation() {
|
1041
1041
|
return true;
|
@@ -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[];
|
@@ -2,8 +2,9 @@ import baseEditForm from '../textfield/TextField.form';
|
|
2
2
|
import EmailEditFormDisplay from './editForm/Email.edit.display';
|
3
3
|
import EmailEditFormValidation from './editForm/Email.edit.validation';
|
4
4
|
/**
|
5
|
-
*
|
6
|
-
* @param {...any} extend
|
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.
|
7
8
|
*/
|
8
9
|
export default function (...extend) {
|
9
10
|
return 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[];
|
@@ -1,8 +1,9 @@
|
|
1
1
|
import nestedComponentForm from '../_classes/nested/NestedComponent.form';
|
2
2
|
import FieldSetEditDisplay from './editForm/Fieldset.edit.display';
|
3
3
|
/**
|
4
|
-
*
|
5
|
-
* @param {...any} extend
|
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.
|
6
7
|
*/
|
7
8
|
export default function (...extend) {
|
8
9
|
return nestedComponentForm([
|
@@ -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[];
|
@@ -4,8 +4,9 @@ import FileEditDisplay from './editForm/File.edit.display';
|
|
4
4
|
import FileEditFile from './editForm/File.edit.file';
|
5
5
|
import FileEditValidation from './editForm/File.edit.validation';
|
6
6
|
/**
|
7
|
-
*
|
8
|
-
* @param {...any} extend
|
7
|
+
* The Edit Form function.
|
8
|
+
* @param {...any} extend - The components that extend the edit form.
|
9
|
+
* @returns {import('@formio/core').Component[]} - The edit form components.
|
9
10
|
*/
|
10
11
|
export default function (...extend) {
|
11
12
|
return Components.baseEditForm([
|