@formio/js 5.0.0-rc.30 → 5.0.0-rc.31
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 +541 -534
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.form.min.js.LICENSE.txt +1 -1
- package/dist/formio.full.js +543 -536
- package/dist/formio.full.min.js +1 -1
- package/dist/formio.full.min.js.LICENSE.txt +1 -1
- package/dist/formio.js +83 -117
- package/dist/formio.min.js +1 -1
- package/dist/formio.min.js.LICENSE.txt +1 -1
- package/dist/formio.utils.js +96 -142
- package/dist/formio.utils.min.js +1 -1
- package/dist/formio.utils.min.js.LICENSE.txt +1 -1
- package/lib/cjs/CDN.js +6 -2
- package/lib/cjs/Embed.js +98 -61
- package/lib/cjs/Formio.js +10 -0
- package/lib/cjs/Wizard.js +9 -10
- package/lib/cjs/components/_classes/component/Component.js +1 -3
- package/lib/cjs/components/_classes/component/fixtures/comp5.js +26 -0
- package/lib/cjs/components/_classes/component/fixtures/index.js +3 -1
- package/lib/cjs/components/columns/editForm/Columns.edit.display.js +0 -18
- package/lib/cjs/components/file/File.js +13 -1
- package/lib/cjs/components/file/editForm/File.edit.file.js +40 -0
- package/lib/cjs/components/select/Select.js +7 -3
- package/lib/cjs/formio.form.js +3 -1
- package/lib/cjs/providers/storage/azure.js +24 -22
- package/lib/cjs/providers/storage/base64.js +29 -27
- package/lib/cjs/providers/storage/dropbox.js +51 -49
- package/lib/cjs/providers/storage/googleDrive.js +50 -48
- package/lib/cjs/providers/storage/indexeddb.js +106 -104
- package/lib/cjs/providers/storage/s3.js +137 -37
- package/lib/cjs/providers/storage/url.js +2 -2
- package/lib/cjs/providers/storage/util.js +21 -0
- package/lib/cjs/providers/storage/xhr.js +81 -64
- package/lib/cjs/utils/formUtils.js +1 -1
- package/lib/cjs/utils/utils.js +6 -0
- package/lib/mjs/CDN.js +6 -2
- package/lib/mjs/Embed.js +94 -62
- package/lib/mjs/Formio.js +35 -25
- package/lib/mjs/Wizard.js +9 -10
- package/lib/mjs/components/_classes/component/Component.js +1 -3
- package/lib/mjs/components/_classes/component/fixtures/comp5.js +24 -0
- package/lib/mjs/components/_classes/component/fixtures/index.js +2 -1
- package/lib/mjs/components/columns/editForm/Columns.edit.display.js +0 -18
- package/lib/mjs/components/file/File.js +17 -1
- package/lib/mjs/components/file/editForm/File.edit.file.js +40 -0
- package/lib/mjs/components/select/Select.js +7 -3
- package/lib/mjs/formio.form.js +3 -1
- package/lib/mjs/providers/storage/azure.js +24 -22
- package/lib/mjs/providers/storage/base64.js +29 -27
- package/lib/mjs/providers/storage/dropbox.js +51 -49
- package/lib/mjs/providers/storage/googleDrive.js +50 -48
- package/lib/mjs/providers/storage/indexeddb.js +106 -104
- package/lib/mjs/providers/storage/s3.js +122 -29
- package/lib/mjs/providers/storage/url.js +2 -2
- package/lib/mjs/providers/storage/util.js +6 -0
- package/lib/mjs/providers/storage/xhr.js +75 -65
- package/lib/mjs/utils/formUtils.js +1 -1
- package/lib/mjs/utils/utils.js +6 -0
- package/package.json +7 -4
- package/types/Embed.d.ts +13 -0
- package/types/Plugins.d.ts +95 -0
- package/types/components/_classes/component/component.d.ts +2 -1
- package/types/components/schema.d.ts +2 -68
- package/types/formio.d.ts +1220 -118
- package/types/index.d.ts +1 -1
- package/types/utils.d.ts +1 -1
- package/lib/cjs/CDN.d.ts +0 -29
- package/lib/cjs/Element.d.ts +0 -255
- package/lib/cjs/Embed.d.ts +0 -52
- package/lib/cjs/EventEmitter.d.ts +0 -7
- package/lib/cjs/Form.d.ts +0 -93
- package/lib/cjs/FormBuilder.d.ts +0 -6
- package/lib/cjs/Formio.d.ts +0 -1
- package/lib/cjs/PDF.d.ts +0 -40
- package/lib/cjs/PDFBuilder.d.ts +0 -55
- package/lib/cjs/Webform.d.ts +0 -402
- package/lib/cjs/WebformBuilder.d.ts +0 -126
- package/lib/cjs/Wizard.d.ts +0 -97
- package/lib/cjs/WizardBuilder.d.ts +0 -49
- package/lib/cjs/addons/FormioAddon.d.ts +0 -19
- package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +0 -716
- package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.form.d.ts +0 -590
- package/lib/cjs/addons/index.d.ts +0 -626
- package/lib/cjs/builders/Builders.d.ts +0 -18
- package/lib/cjs/builders/index.d.ts +0 -2
- package/lib/cjs/components/Components.d.ts +0 -265
- package/lib/cjs/components/_classes/component/Component.d.ts +0 -828
- package/lib/cjs/components/_classes/component/Component.form.d.ts +0 -3
- package/lib/cjs/components/_classes/component/editForm/Component.edit.addons.d.ts +0 -653
- package/lib/cjs/components/_classes/component/editForm/Component.edit.api.d.ts +0 -42
- package/lib/cjs/components/_classes/component/editForm/Component.edit.conditional.d.ts +0 -113
- package/lib/cjs/components/_classes/component/editForm/Component.edit.data.d.ts +0 -219
- package/lib/cjs/components/_classes/component/editForm/Component.edit.display.d.ts +0 -160
- package/lib/cjs/components/_classes/component/editForm/Component.edit.layout.d.ts +0 -44
- package/lib/cjs/components/_classes/component/editForm/Component.edit.logic.d.ts +0 -368
- package/lib/cjs/components/_classes/component/editForm/Component.edit.validation.d.ts +0 -140
- package/lib/cjs/components/_classes/component/editForm/utils.d.ts +0 -83
- package/lib/cjs/components/_classes/component/fixtures/comp1.d.ts +0 -33
- package/lib/cjs/components/_classes/component/fixtures/comp2.d.ts +0 -33
- package/lib/cjs/components/_classes/component/fixtures/comp3.d.ts +0 -14
- package/lib/cjs/components/_classes/component/fixtures/comp4.d.ts +0 -17
- package/lib/cjs/components/_classes/component/fixtures/index.d.ts +0 -5
- package/lib/cjs/components/_classes/componentModal/ComponentModal.d.ts +0 -46
- package/lib/cjs/components/_classes/field/Field.d.ts +0 -5
- package/lib/cjs/components/_classes/input/Input.d.ts +0 -42
- package/lib/cjs/components/_classes/list/ListComponent.d.ts +0 -18
- package/lib/cjs/components/_classes/list/ListComponent.form.d.ts +0 -3
- package/lib/cjs/components/_classes/list/editForm/ListComponent.edit.data.d.ts +0 -183
- package/lib/cjs/components/_classes/multivalue/Multivalue.d.ts +0 -29
- package/lib/cjs/components/_classes/nested/NestedComponent.d.ts +0 -150
- package/lib/cjs/components/_classes/nested/NestedComponent.form.d.ts +0 -3
- package/lib/cjs/components/_classes/nested/fixtures/comp1.d.ts +0 -8
- package/lib/cjs/components/_classes/nested/fixtures/comp2.d.ts +0 -236
- package/lib/cjs/components/_classes/nested/fixtures/comp3.d.ts +0 -26
- package/lib/cjs/components/_classes/nested/fixtures/index.d.ts +0 -3
- package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +0 -16
- package/lib/cjs/components/_classes/nesteddata/NestedDataComponent.d.ts +0 -12
- package/lib/cjs/components/address/Address.d.ts +0 -66
- package/lib/cjs/components/address/Address.form.d.ts +0 -3
- package/lib/cjs/components/address/editForm/Address.edit.data.d.ts +0 -31
- package/lib/cjs/components/address/editForm/Address.edit.display.d.ts +0 -49
- package/lib/cjs/components/address/editForm/Address.edit.provider.d.ts +0 -164
- package/lib/cjs/components/address/fixtures/comp1.d.ts +0 -34
- package/lib/cjs/components/address/fixtures/comp2.d.ts +0 -62
- package/lib/cjs/components/address/fixtures/comp3.d.ts +0 -44
- package/lib/cjs/components/address/fixtures/comp4.d.ts +0 -56
- package/lib/cjs/components/address/fixtures/index.d.ts +0 -5
- package/lib/cjs/components/address/fixtures/values.d.ts +0 -22
- package/lib/cjs/components/alert/Alert.d.ts +0 -30
- package/lib/cjs/components/builder.d.ts +0 -2
- package/lib/cjs/components/button/Button.d.ts +0 -45
- package/lib/cjs/components/button/Button.form.d.ts +0 -3
- package/lib/cjs/components/button/editForm/Button.edit.display.d.ts +0 -360
- package/lib/cjs/components/button/fixtures/comp1.d.ts +0 -15
- package/lib/cjs/components/button/fixtures/comp2.d.ts +0 -25
- package/lib/cjs/components/button/fixtures/comp3.d.ts +0 -113
- package/lib/cjs/components/button/fixtures/index.d.ts +0 -4
- package/lib/cjs/components/button/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/checkbox/Checkbox.d.ts +0 -77
- package/lib/cjs/components/checkbox/Checkbox.form.d.ts +0 -3
- package/lib/cjs/components/checkbox/editForm/Checkbox.edit.data.d.ts +0 -5
- package/lib/cjs/components/checkbox/editForm/Checkbox.edit.display.d.ts +0 -75
- package/lib/cjs/components/checkbox/editForm/Checkbox.edit.validation.d.ts +0 -5
- package/lib/cjs/components/checkbox/fixtures/comp1.d.ts +0 -24
- package/lib/cjs/components/checkbox/fixtures/comp2.d.ts +0 -12
- package/lib/cjs/components/checkbox/fixtures/comp3.d.ts +0 -15
- package/lib/cjs/components/checkbox/fixtures/comp4.d.ts +0 -46
- package/lib/cjs/components/checkbox/fixtures/customDefaultComponent.d.ts +0 -25
- package/lib/cjs/components/checkbox/fixtures/index.d.ts +0 -6
- package/lib/cjs/components/checkbox/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/columns/Columns.d.ts +0 -28
- package/lib/cjs/components/columns/Columns.form.d.ts +0 -3
- package/lib/cjs/components/columns/editForm/Columns.edit.display.d.ts +0 -87
- package/lib/cjs/components/columns/fixtures/comp1.d.ts +0 -45
- package/lib/cjs/components/columns/fixtures/comp2.d.ts +0 -24
- package/lib/cjs/components/columns/fixtures/comp3.d.ts +0 -45
- package/lib/cjs/components/columns/fixtures/index.d.ts +0 -4
- package/lib/cjs/components/container/Container.d.ts +0 -16
- package/lib/cjs/components/container/Container.form.d.ts +0 -3
- package/lib/cjs/components/container/editForm/Container.edit.data.d.ts +0 -5
- package/lib/cjs/components/container/editForm/Container.edit.display.d.ts +0 -5
- package/lib/cjs/components/container/fixtures/comp1.d.ts +0 -49
- package/lib/cjs/components/container/fixtures/comp2.d.ts +0 -30
- package/lib/cjs/components/container/fixtures/comp3.d.ts +0 -77
- package/lib/cjs/components/container/fixtures/index.d.ts +0 -4
- package/lib/cjs/components/content/Content.d.ts +0 -18
- package/lib/cjs/components/content/Content.form.d.ts +0 -3
- package/lib/cjs/components/content/editForm/Content.edit.display.d.ts +0 -18
- package/lib/cjs/components/content/editForm/Content.edit.logic.d.ts +0 -48
- package/lib/cjs/components/content/fixtures/comp1.d.ts +0 -13
- package/lib/cjs/components/content/fixtures/index.d.ts +0 -2
- package/lib/cjs/components/currency/Currency.d.ts +0 -8
- package/lib/cjs/components/currency/Currency.form.d.ts +0 -3
- package/lib/cjs/components/currency/editForm/Currency.edit.data.d.ts +0 -29
- package/lib/cjs/components/currency/editForm/Currency.edit.display.d.ts +0 -18
- package/lib/cjs/components/currency/fixtures/comp1.d.ts +0 -31
- package/lib/cjs/components/currency/fixtures/comp2.d.ts +0 -20
- package/lib/cjs/components/currency/fixtures/comp3.d.ts +0 -13
- package/lib/cjs/components/currency/fixtures/comp4.d.ts +0 -17
- package/lib/cjs/components/currency/fixtures/index.d.ts +0 -5
- package/lib/cjs/components/currency/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/datagrid/DataGrid.d.ts +0 -80
- package/lib/cjs/components/datagrid/DataGrid.form.d.ts +0 -3
- package/lib/cjs/components/datagrid/editForm/DataGrid.edit.data.d.ts +0 -5
- package/lib/cjs/components/datagrid/editForm/DataGrid.edit.display.d.ts +0 -283
- package/lib/cjs/components/datagrid/editForm/DataGrid.edit.validation.d.ts +0 -20
- package/lib/cjs/components/datagrid/fixtures/comp-modal-with-required-fields.d.ts +0 -37
- package/lib/cjs/components/datagrid/fixtures/comp-on-blur-validation.d.ts +0 -0
- package/lib/cjs/components/datagrid/fixtures/comp-row-groups-with-def-value.d.ts +0 -63
- package/lib/cjs/components/datagrid/fixtures/comp-with-collapsible-groups.d.ts +0 -76
- package/lib/cjs/components/datagrid/fixtures/comp-with-conditional-components-and-validations.d.ts +0 -197
- package/lib/cjs/components/datagrid/fixtures/comp-with-def-value.d.ts +0 -61
- package/lib/cjs/components/datagrid/fixtures/comp-with-logic.d.ts +0 -165
- package/lib/cjs/components/datagrid/fixtures/comp1.d.ts +0 -93
- package/lib/cjs/components/datagrid/fixtures/comp2.d.ts +0 -18
- package/lib/cjs/components/datagrid/fixtures/comp3.d.ts +0 -14
- package/lib/cjs/components/datagrid/fixtures/comp4.d.ts +0 -27
- package/lib/cjs/components/datagrid/fixtures/comp5.d.ts +0 -67
- package/lib/cjs/components/datagrid/fixtures/comp6.d.ts +0 -567
- package/lib/cjs/components/datagrid/fixtures/comp7.d.ts +0 -28
- package/lib/cjs/components/datagrid/fixtures/comp8.d.ts +0 -35
- package/lib/cjs/components/datagrid/fixtures/index.d.ts +0 -15
- package/lib/cjs/components/datamap/DataMap.d.ts +0 -36
- package/lib/cjs/components/datamap/DataMap.form.d.ts +0 -3
- package/lib/cjs/components/datamap/editForm/DataMap.edit.data.d.ts +0 -5
- package/lib/cjs/components/datamap/editForm/DataMap.edit.display.d.ts +0 -30
- package/lib/cjs/components/datamap/fixtures/comp1.d.ts +0 -18
- package/lib/cjs/components/datamap/fixtures/formWithConditionalPanel.d.ts +0 -87
- package/lib/cjs/components/datamap/fixtures/index.d.ts +0 -3
- package/lib/cjs/components/datetime/DateTime.d.ts +0 -39
- package/lib/cjs/components/datetime/DateTime.form.d.ts +0 -3
- package/lib/cjs/components/datetime/editForm/DateTime.edit.data.d.ts +0 -24
- package/lib/cjs/components/datetime/editForm/DateTime.edit.date.d.ts +0 -61
- package/lib/cjs/components/datetime/editForm/DateTime.edit.display.d.ts +0 -128
- package/lib/cjs/components/datetime/editForm/DateTime.edit.time.d.ts +0 -9
- package/lib/cjs/components/datetime/editForm/DateTime.edit.validation.d.ts +0 -40
- package/lib/cjs/components/datetime/fixtures/comp1.d.ts +0 -45
- package/lib/cjs/components/datetime/fixtures/comp10.d.ts +0 -102
- package/lib/cjs/components/datetime/fixtures/comp11.d.ts +0 -58
- package/lib/cjs/components/datetime/fixtures/comp12.d.ts +0 -57
- package/lib/cjs/components/datetime/fixtures/comp2.d.ts +0 -42
- package/lib/cjs/components/datetime/fixtures/comp3.d.ts +0 -51
- package/lib/cjs/components/datetime/fixtures/comp5.d.ts +0 -57
- package/lib/cjs/components/datetime/fixtures/comp6.d.ts +0 -55
- package/lib/cjs/components/datetime/fixtures/comp7.d.ts +0 -59
- package/lib/cjs/components/datetime/fixtures/comp8.d.ts +0 -59
- package/lib/cjs/components/datetime/fixtures/comp9.d.ts +0 -64
- package/lib/cjs/components/datetime/fixtures/index.d.ts +0 -12
- package/lib/cjs/components/datetime/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/day/Day.d.ts +0 -163
- package/lib/cjs/components/day/Day.form.d.ts +0 -3
- package/lib/cjs/components/day/editForm/Day.edit.data.d.ts +0 -5
- package/lib/cjs/components/day/editForm/Day.edit.day.d.ts +0 -40
- package/lib/cjs/components/day/editForm/Day.edit.display.d.ts +0 -40
- package/lib/cjs/components/day/editForm/Day.edit.month.d.ts +0 -40
- package/lib/cjs/components/day/editForm/Day.edit.validation.d.ts +0 -29
- package/lib/cjs/components/day/editForm/Day.edit.year.d.ts +0 -40
- package/lib/cjs/components/day/fixtures/comp1.d.ts +0 -46
- package/lib/cjs/components/day/fixtures/comp2.d.ts +0 -46
- package/lib/cjs/components/day/fixtures/comp3.d.ts +0 -48
- package/lib/cjs/components/day/fixtures/comp4.d.ts +0 -53
- package/lib/cjs/components/day/fixtures/comp5.d.ts +0 -29
- package/lib/cjs/components/day/fixtures/comp6.d.ts +0 -81
- package/lib/cjs/components/day/fixtures/index.d.ts +0 -7
- package/lib/cjs/components/day/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/editgrid/EditGrid.d.ts +0 -103
- package/lib/cjs/components/editgrid/EditGrid.form.d.ts +0 -3
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.data.d.ts +0 -18
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.display.d.ts +0 -82
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.templates.d.ts +0 -58
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.validation.d.ts +0 -29
- package/lib/cjs/components/editgrid/fixtures/comp-openWhenEmpty.d.ts +0 -34
- package/lib/cjs/components/editgrid/fixtures/comp-with-basic-components.d.ts +0 -327
- package/lib/cjs/components/editgrid/fixtures/comp-with-conditions-and-openWhenEmpty.d.ts +0 -77
- package/lib/cjs/components/editgrid/fixtures/comp-with-custom-default-value.d.ts +0 -190
- package/lib/cjs/components/editgrid/fixtures/comp1.d.ts +0 -89
- package/lib/cjs/components/editgrid/fixtures/comp10.d.ts +0 -49
- package/lib/cjs/components/editgrid/fixtures/comp11.d.ts +0 -53
- package/lib/cjs/components/editgrid/fixtures/comp12.d.ts +0 -57
- package/lib/cjs/components/editgrid/fixtures/comp13.d.ts +0 -64
- package/lib/cjs/components/editgrid/fixtures/comp14.d.ts +0 -88
- package/lib/cjs/components/editgrid/fixtures/comp15.d.ts +0 -54
- package/lib/cjs/components/editgrid/fixtures/comp2.d.ts +0 -112
- package/lib/cjs/components/editgrid/fixtures/comp3.d.ts +0 -27
- package/lib/cjs/components/editgrid/fixtures/comp4.d.ts +0 -23
- package/lib/cjs/components/editgrid/fixtures/comp5.d.ts +0 -19
- package/lib/cjs/components/editgrid/fixtures/comp6.d.ts +0 -50
- package/lib/cjs/components/editgrid/fixtures/comp7.d.ts +0 -129
- package/lib/cjs/components/editgrid/fixtures/comp8.d.ts +0 -148
- package/lib/cjs/components/editgrid/fixtures/comp9.d.ts +0 -86
- package/lib/cjs/components/editgrid/fixtures/index.d.ts +0 -19
- package/lib/cjs/components/email/Email.d.ts +0 -4
- package/lib/cjs/components/email/Email.form.d.ts +0 -3
- package/lib/cjs/components/email/editForm/Email.edit.display.d.ts +0 -5
- package/lib/cjs/components/email/editForm/Email.edit.validation.d.ts +0 -24
- package/lib/cjs/components/email/fixtures/comp1.d.ts +0 -26
- package/lib/cjs/components/email/fixtures/comp2.d.ts +0 -23
- package/lib/cjs/components/email/fixtures/index.d.ts +0 -3
- package/lib/cjs/components/email/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/fieldset/Fieldset.d.ts +0 -15
- package/lib/cjs/components/fieldset/Fieldset.form.d.ts +0 -3
- package/lib/cjs/components/fieldset/editForm/Fieldset.edit.display.d.ts +0 -33
- package/lib/cjs/components/fieldset/fixtures/comp1.d.ts +0 -46
- package/lib/cjs/components/fieldset/fixtures/index.d.ts +0 -2
- package/lib/cjs/components/file/File.d.ts +0 -81
- package/lib/cjs/components/file/File.form.d.ts +0 -3
- package/lib/cjs/components/file/editForm/File.edit.data.d.ts +0 -5
- package/lib/cjs/components/file/editForm/File.edit.display.d.ts +0 -5
- package/lib/cjs/components/file/editForm/File.edit.file.d.ts +0 -275
- package/lib/cjs/components/file/editForm/File.edit.validation.d.ts +0 -5
- package/lib/cjs/components/file/fixtures/comp1.d.ts +0 -15
- package/lib/cjs/components/file/fixtures/comp2.d.ts +0 -35
- package/lib/cjs/components/file/fixtures/comp3.d.ts +0 -29
- package/lib/cjs/components/file/fixtures/index.d.ts +0 -3
- package/lib/cjs/components/file/fixtures/values.d.ts +0 -10
- package/lib/cjs/components/form/Form.d.ts +0 -94
- package/lib/cjs/components/form/Form.form.d.ts +0 -3
- package/lib/cjs/components/form/editForm/Form.edit.data.d.ts +0 -82
- package/lib/cjs/components/form/editForm/Form.edit.display.d.ts +0 -5
- package/lib/cjs/components/form/editForm/Form.edit.form.d.ts +0 -89
- package/lib/cjs/components/form/fixtures/comp1.d.ts +0 -45
- package/lib/cjs/components/form/fixtures/comp2.d.ts +0 -14
- package/lib/cjs/components/form/fixtures/comp3.d.ts +0 -187
- package/lib/cjs/components/form/fixtures/comp4.d.ts +0 -107
- package/lib/cjs/components/form/fixtures/comp5.d.ts +0 -42
- package/lib/cjs/components/form/fixtures/comp6.d.ts +0 -74
- package/lib/cjs/components/form/fixtures/formModalEdit.d.ts +0 -42
- package/lib/cjs/components/form/fixtures/index.d.ts +0 -8
- package/lib/cjs/components/form/fixtures/values.d.ts +0 -6
- package/lib/cjs/components/hidden/Hidden.d.ts +0 -26
- package/lib/cjs/components/hidden/Hidden.form.d.ts +0 -3
- package/lib/cjs/components/hidden/editForm/Hidden.edit.data.d.ts +0 -5
- package/lib/cjs/components/hidden/editForm/Hidden.edit.display.d.ts +0 -5
- package/lib/cjs/components/hidden/fixtures/comp1.d.ts +0 -18
- package/lib/cjs/components/hidden/fixtures/index.d.ts +0 -2
- package/lib/cjs/components/hidden/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/html/HTML.d.ts +0 -18
- package/lib/cjs/components/html/HTML.form.d.ts +0 -3
- package/lib/cjs/components/html/editForm/HTML.edit.display.d.ts +0 -77
- package/lib/cjs/components/html/editForm/HTML.edit.logic.d.ts +0 -48
- package/lib/cjs/components/html/fixtures/comp1.d.ts +0 -19
- package/lib/cjs/components/html/fixtures/comp2.d.ts +0 -21
- package/lib/cjs/components/html/fixtures/index.d.ts +0 -3
- package/lib/cjs/components/index.d.ts +0 -98
- package/lib/cjs/components/number/Number.d.ts +0 -53
- package/lib/cjs/components/number/Number.form.d.ts +0 -3
- package/lib/cjs/components/number/editForm/Number.edit.data.d.ts +0 -18
- package/lib/cjs/components/number/editForm/Number.edit.display.d.ts +0 -5
- package/lib/cjs/components/number/editForm/Number.edit.validation.d.ts +0 -20
- package/lib/cjs/components/number/fixtures/comp1.d.ts +0 -33
- package/lib/cjs/components/number/fixtures/comp2.d.ts +0 -32
- package/lib/cjs/components/number/fixtures/comp3.d.ts +0 -14
- package/lib/cjs/components/number/fixtures/comp4.d.ts +0 -14
- package/lib/cjs/components/number/fixtures/comp5.d.ts +0 -20
- package/lib/cjs/components/number/fixtures/comp6.d.ts +0 -40
- package/lib/cjs/components/number/fixtures/comp7.d.ts +0 -15
- package/lib/cjs/components/number/fixtures/index.d.ts +0 -8
- package/lib/cjs/components/number/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/panel/Panel.d.ts +0 -14
- package/lib/cjs/components/panel/Panel.form.d.ts +0 -3
- package/lib/cjs/components/panel/editForm/Panel.edit.conditional.d.ts +0 -75
- package/lib/cjs/components/panel/editForm/Panel.edit.display.d.ts +0 -196
- package/lib/cjs/components/panel/fixtures/comp1.d.ts +0 -46
- package/lib/cjs/components/panel/fixtures/comp2.d.ts +0 -80
- package/lib/cjs/components/panel/fixtures/index.d.ts +0 -3
- package/lib/cjs/components/password/Password.d.ts +0 -3
- package/lib/cjs/components/password/Password.form.d.ts +0 -3
- package/lib/cjs/components/password/editForm/Password.edit.data.d.ts +0 -18
- package/lib/cjs/components/password/editForm/Password.edit.display.d.ts +0 -5
- package/lib/cjs/components/password/editForm/Password.edit.validation.d.ts +0 -5
- package/lib/cjs/components/password/fixtures/comp1.d.ts +0 -22
- package/lib/cjs/components/password/fixtures/comp2.d.ts +0 -27
- package/lib/cjs/components/password/fixtures/index.d.ts +0 -3
- package/lib/cjs/components/password/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/phonenumber/PhoneNumber.d.ts +0 -3
- package/lib/cjs/components/phonenumber/PhoneNumber.form.d.ts +0 -3
- package/lib/cjs/components/phonenumber/editForm/PhoneNumber.edit.validation.d.ts +0 -5
- package/lib/cjs/components/phonenumber/fixtures/comp1.d.ts +0 -27
- package/lib/cjs/components/phonenumber/fixtures/index.d.ts +0 -2
- package/lib/cjs/components/phonenumber/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/radio/Radio.d.ts +0 -65
- package/lib/cjs/components/radio/Radio.form.d.ts +0 -3
- package/lib/cjs/components/radio/editForm/Radio.edit.data.d.ts +0 -134
- package/lib/cjs/components/radio/editForm/Radio.edit.display.d.ts +0 -40
- package/lib/cjs/components/radio/editForm/Radio.edit.validation.d.ts +0 -18
- package/lib/cjs/components/radio/fixtures/comp1.d.ts +0 -28
- package/lib/cjs/components/radio/fixtures/comp2.d.ts +0 -85
- package/lib/cjs/components/radio/fixtures/comp3.d.ts +0 -85
- package/lib/cjs/components/radio/fixtures/comp4.d.ts +0 -19
- package/lib/cjs/components/radio/fixtures/comp5.d.ts +0 -39
- package/lib/cjs/components/radio/fixtures/comp6.d.ts +0 -38
- package/lib/cjs/components/radio/fixtures/comp7.d.ts +0 -23
- package/lib/cjs/components/radio/fixtures/comp8.d.ts +0 -118
- package/lib/cjs/components/radio/fixtures/comp9.d.ts +0 -35
- package/lib/cjs/components/radio/fixtures/index.d.ts +0 -10
- package/lib/cjs/components/radio/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/recaptcha/ReCaptcha.d.ts +0 -23
- package/lib/cjs/components/recaptcha/ReCaptcha.form.d.ts +0 -3
- package/lib/cjs/components/recaptcha/editForm/ReCaptcha.edit.display.d.ts +0 -44
- package/lib/cjs/components/recaptcha/fixtures/comp1.d.ts +0 -8
- package/lib/cjs/components/recaptcha/fixtures/index.d.ts +0 -2
- package/lib/cjs/components/resource/Resource.d.ts +0 -10
- package/lib/cjs/components/resource/Resource.form.d.ts +0 -3
- package/lib/cjs/components/resource/editForm/Resource.edit.display.d.ts +0 -173
- package/lib/cjs/components/resource/fixtures/comp1.d.ts +0 -30
- package/lib/cjs/components/resource/fixtures/comp2.d.ts +0 -35
- package/lib/cjs/components/resource/fixtures/index.d.ts +0 -3
- package/lib/cjs/components/select/Select.d.ts +0 -145
- package/lib/cjs/components/select/Select.form.d.ts +0 -3
- package/lib/cjs/components/select/editForm/Select.edit.data.d.ts +0 -1039
- package/lib/cjs/components/select/editForm/Select.edit.display.d.ts +0 -27
- package/lib/cjs/components/select/editForm/Select.edit.validation.d.ts +0 -30
- package/lib/cjs/components/select/fixtures/comp1.d.ts +0 -40
- package/lib/cjs/components/select/fixtures/comp10.d.ts +0 -41
- package/lib/cjs/components/select/fixtures/comp11.d.ts +0 -28
- package/lib/cjs/components/select/fixtures/comp12.d.ts +0 -53
- package/lib/cjs/components/select/fixtures/comp13.d.ts +0 -28
- package/lib/cjs/components/select/fixtures/comp14.d.ts +0 -40
- package/lib/cjs/components/select/fixtures/comp15.d.ts +0 -50
- package/lib/cjs/components/select/fixtures/comp16.d.ts +0 -34
- package/lib/cjs/components/select/fixtures/comp17.d.ts +0 -51
- package/lib/cjs/components/select/fixtures/comp18.d.ts +0 -49
- package/lib/cjs/components/select/fixtures/comp19.d.ts +0 -23
- package/lib/cjs/components/select/fixtures/comp2.d.ts +0 -41
- package/lib/cjs/components/select/fixtures/comp3.d.ts +0 -35
- package/lib/cjs/components/select/fixtures/comp4.d.ts +0 -103
- package/lib/cjs/components/select/fixtures/comp5.d.ts +0 -21
- package/lib/cjs/components/select/fixtures/comp6.d.ts +0 -20
- package/lib/cjs/components/select/fixtures/comp7.d.ts +0 -63
- package/lib/cjs/components/select/fixtures/comp8.d.ts +0 -72
- package/lib/cjs/components/select/fixtures/comp9.d.ts +0 -88
- package/lib/cjs/components/select/fixtures/index.d.ts +0 -20
- package/lib/cjs/components/select/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/selectboxes/SelectBoxes.d.ts +0 -51
- package/lib/cjs/components/selectboxes/SelectBoxes.form.d.ts +0 -3
- package/lib/cjs/components/selectboxes/editForm/SelectBoxes.edit.validation.d.ts +0 -9
- package/lib/cjs/components/selectboxes/fixtures/comp1.d.ts +0 -24
- package/lib/cjs/components/selectboxes/fixtures/comp2.d.ts +0 -24
- package/lib/cjs/components/selectboxes/fixtures/comp3.d.ts +0 -23
- package/lib/cjs/components/selectboxes/fixtures/comp4.d.ts +0 -66
- package/lib/cjs/components/selectboxes/fixtures/comp5.d.ts +0 -37
- package/lib/cjs/components/selectboxes/fixtures/comp6.d.ts +0 -14
- package/lib/cjs/components/selectboxes/fixtures/comp7.d.ts +0 -18
- package/lib/cjs/components/selectboxes/fixtures/index.d.ts +0 -8
- package/lib/cjs/components/selectboxes/fixtures/values.d.ts +0 -6
- package/lib/cjs/components/signature/Signature.d.ts +0 -46
- package/lib/cjs/components/signature/Signature.form.d.ts +0 -3
- package/lib/cjs/components/signature/editForm/Signature.edit.data.d.ts +0 -5
- package/lib/cjs/components/signature/editForm/Signature.edit.display.d.ts +0 -51
- package/lib/cjs/components/signature/editForm/Signature.edit.validation.d.ts +0 -5
- package/lib/cjs/components/signature/fixtures/comp1.d.ts +0 -30
- package/lib/cjs/components/signature/fixtures/index.d.ts +0 -2
- package/lib/cjs/components/signature/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/survey/Survey.d.ts +0 -37
- package/lib/cjs/components/survey/Survey.form.d.ts +0 -3
- package/lib/cjs/components/survey/editForm/Survey.edit.data.d.ts +0 -44
- package/lib/cjs/components/survey/editForm/Survey.edit.display.d.ts +0 -5
- package/lib/cjs/components/survey/editForm/Survey.edit.validation.d.ts +0 -5
- package/lib/cjs/components/survey/fixtures/comp1.d.ts +0 -31
- package/lib/cjs/components/survey/fixtures/comp2.d.ts +0 -31
- package/lib/cjs/components/survey/fixtures/index.d.ts +0 -3
- package/lib/cjs/components/survey/fixtures/values.d.ts +0 -5
- package/lib/cjs/components/table/Table.d.ts +0 -23
- package/lib/cjs/components/table/Table.form.d.ts +0 -3
- package/lib/cjs/components/table/editForm/Table.edit.display.d.ts +0 -84
- package/lib/cjs/components/table/fixtures/comp1.d.ts +0 -53
- package/lib/cjs/components/table/fixtures/index.d.ts +0 -2
- package/lib/cjs/components/tabs/Tabs.d.ts +0 -30
- package/lib/cjs/components/tabs/Tabs.form.d.ts +0 -3
- package/lib/cjs/components/tabs/editForm/Tabs.edit.display.d.ts +0 -77
- package/lib/cjs/components/tabs/fixtures/comp1.d.ts +0 -23
- package/lib/cjs/components/tabs/fixtures/index.d.ts +0 -2
- package/lib/cjs/components/tags/Tags.d.ts +0 -41
- package/lib/cjs/components/tags/Tags.form.d.ts +0 -3
- package/lib/cjs/components/tags/editForm/Tags.edit.data.d.ts +0 -51
- package/lib/cjs/components/tags/fixtures/comp1.d.ts +0 -20
- package/lib/cjs/components/tags/fixtures/comp2.d.ts +0 -10
- package/lib/cjs/components/tags/fixtures/comp3.d.ts +0 -23
- package/lib/cjs/components/tags/fixtures/comp4.d.ts +0 -9
- package/lib/cjs/components/tags/fixtures/comp5.d.ts +0 -24
- package/lib/cjs/components/tags/fixtures/comp6.d.ts +0 -17
- package/lib/cjs/components/tags/fixtures/index.d.ts +0 -7
- package/lib/cjs/components/tags/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/textarea/TextArea.d.ts +0 -37
- package/lib/cjs/components/textarea/TextArea.form.d.ts +0 -3
- package/lib/cjs/components/textarea/editForm/TextArea.edit.display.d.ts +0 -355
- package/lib/cjs/components/textarea/editForm/TextArea.edit.validation.d.ts +0 -10
- package/lib/cjs/components/textarea/fixtures/comp1.d.ts +0 -31
- package/lib/cjs/components/textarea/fixtures/comp2.d.ts +0 -29
- package/lib/cjs/components/textarea/fixtures/comp3.d.ts +0 -27
- package/lib/cjs/components/textarea/fixtures/comp4.d.ts +0 -30
- package/lib/cjs/components/textarea/fixtures/index.d.ts +0 -5
- package/lib/cjs/components/textarea/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/textfield/TextField.d.ts +0 -60
- package/lib/cjs/components/textfield/TextField.form.d.ts +0 -3
- package/lib/cjs/components/textfield/editForm/TextField.edit.data.d.ts +0 -46
- package/lib/cjs/components/textfield/editForm/TextField.edit.display.d.ts +0 -248
- package/lib/cjs/components/textfield/editForm/TextField.edit.validation.d.ts +0 -10
- package/lib/cjs/components/textfield/fixtures/comp-with-display-and-value-masks.d.ts +0 -47
- package/lib/cjs/components/textfield/fixtures/comp1.d.ts +0 -33
- package/lib/cjs/components/textfield/fixtures/comp2.d.ts +0 -33
- package/lib/cjs/components/textfield/fixtures/comp3.d.ts +0 -33
- package/lib/cjs/components/textfield/fixtures/comp4.d.ts +0 -23
- package/lib/cjs/components/textfield/fixtures/comp5.d.ts +0 -12
- package/lib/cjs/components/textfield/fixtures/comp6.d.ts +0 -25
- package/lib/cjs/components/textfield/fixtures/comp7.d.ts +0 -37
- package/lib/cjs/components/textfield/fixtures/index.d.ts +0 -9
- package/lib/cjs/components/textfield/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/time/Time.d.ts +0 -27
- package/lib/cjs/components/time/Time.form.d.ts +0 -3
- package/lib/cjs/components/time/editForm/Time.edit.data.d.ts +0 -10
- package/lib/cjs/components/time/editForm/Time.edit.display.d.ts +0 -52
- package/lib/cjs/components/time/fixtures/comp1.d.ts +0 -24
- package/lib/cjs/components/time/fixtures/comp2.d.ts +0 -10
- package/lib/cjs/components/time/fixtures/comp3.d.ts +0 -15
- package/lib/cjs/components/time/fixtures/index.d.ts +0 -6
- package/lib/cjs/components/time/fixtures/timeForm.d.ts +0 -47
- package/lib/cjs/components/time/fixtures/timeForm2.d.ts +0 -38
- package/lib/cjs/components/time/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/unknown/Unknown.d.ts +0 -28
- package/lib/cjs/components/unknown/Unknown.form.d.ts +0 -34
- package/lib/cjs/components/unknown/editForm/Unknown.edit.display.d.ts +0 -24
- package/lib/cjs/components/unknown/fixtures/comp1.d.ts +0 -7
- package/lib/cjs/components/unknown/fixtures/index.d.ts +0 -2
- package/lib/cjs/components/url/Url.d.ts +0 -3
- package/lib/cjs/components/url/Url.form.d.ts +0 -3
- package/lib/cjs/components/url/editForm/Url.edit.data.d.ts +0 -5
- package/lib/cjs/components/url/editForm/Url.edit.display.d.ts +0 -5
- package/lib/cjs/components/url/editForm/Url.edit.validation.d.ts +0 -5
- package/lib/cjs/components/url/fixtures/comp1.d.ts +0 -26
- package/lib/cjs/components/url/fixtures/comp2.d.ts +0 -26
- package/lib/cjs/components/url/fixtures/index.d.ts +0 -3
- package/lib/cjs/components/url/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/well/Well.d.ts +0 -15
- package/lib/cjs/components/well/Well.form.d.ts +0 -3
- package/lib/cjs/components/well/editForm/Well.edit.display.d.ts +0 -28
- package/lib/cjs/components/well/fixtures/comp1.d.ts +0 -43
- package/lib/cjs/components/well/fixtures/index.d.ts +0 -2
- package/lib/cjs/displays/Displays.d.ts +0 -18
- package/lib/cjs/displays/index.d.ts +0 -2
- package/lib/cjs/formio.embed.d.ts +0 -2
- package/lib/cjs/formio.form.d.ts +0 -17
- package/lib/cjs/i18n.d.ts +0 -13
- package/lib/cjs/index.d.ts +0 -5
- package/lib/cjs/licenses/Licenses.d.ts +0 -7
- package/lib/cjs/licenses/index.d.ts +0 -2
- package/lib/cjs/pdf.image.d.ts +0 -2
- package/lib/cjs/providers/Providers.d.ts +0 -80
- package/lib/cjs/providers/address/AddressProvider.d.ts +0 -17
- package/lib/cjs/providers/address/AzureAddressProvider.d.ts +0 -12
- package/lib/cjs/providers/address/CustomAddressProvider.d.ts +0 -7
- package/lib/cjs/providers/address/GoogleAddressProvider.d.ts +0 -18
- package/lib/cjs/providers/address/NominatimAddressProvider.d.ts +0 -11
- package/lib/cjs/providers/address/index.d.ts +0 -6
- package/lib/cjs/providers/auth/index.d.ts +0 -2
- package/lib/cjs/providers/index.d.ts +0 -2
- package/lib/cjs/providers/processor/fileProcessor.d.ts +0 -2
- package/lib/cjs/providers/storage/azure.d.ts +0 -15
- package/lib/cjs/providers/storage/base64.d.ts +0 -10
- package/lib/cjs/providers/storage/dropbox.d.ts +0 -8
- package/lib/cjs/providers/storage/googleDrive.d.ts +0 -8
- package/lib/cjs/providers/storage/index.d.ts +0 -15
- package/lib/cjs/providers/storage/indexeddb.d.ts +0 -11
- package/lib/cjs/providers/storage/s3.d.ts +0 -17
- package/lib/cjs/providers/storage/uploadAdapter.d.ts +0 -1
- package/lib/cjs/providers/storage/url.d.ts +0 -11
- package/lib/cjs/providers/storage/xhr.d.ts +0 -7
- package/lib/cjs/templates/Templates.d.ts +0 -1
- package/lib/cjs/templates/index.d.ts +0 -229
- package/lib/cjs/translations/en.d.ts +0 -71
- package/lib/cjs/utils/ChoicesWrapper.d.ts +0 -38
- package/lib/cjs/utils/Evaluator.d.ts +0 -4
- package/lib/cjs/utils/builder.d.ts +0 -22
- package/lib/cjs/utils/calendarUtils.d.ts +0 -41
- package/lib/cjs/utils/conditionOperators/ConditionOperator.d.ts +0 -7
- package/lib/cjs/utils/conditionOperators/DateGreaterThan.d.ts +0 -13
- package/lib/cjs/utils/conditionOperators/DateGreaterThanOrEqual.d.ts +0 -4
- package/lib/cjs/utils/conditionOperators/DateLessThan.d.ts +0 -4
- package/lib/cjs/utils/conditionOperators/DateLessThanOrEqual.d.ts +0 -4
- package/lib/cjs/utils/conditionOperators/EndsWith.d.ts +0 -7
- package/lib/cjs/utils/conditionOperators/GreaterThan.d.ts +0 -7
- package/lib/cjs/utils/conditionOperators/GreaterThanOrEqual.d.ts +0 -7
- package/lib/cjs/utils/conditionOperators/Includes.d.ts +0 -7
- package/lib/cjs/utils/conditionOperators/IsDateEqual.d.ts +0 -4
- package/lib/cjs/utils/conditionOperators/IsEmptyValue.d.ts +0 -9
- package/lib/cjs/utils/conditionOperators/IsEqualTo.d.ts +0 -7
- package/lib/cjs/utils/conditionOperators/IsNotDateEqual.d.ts +0 -4
- package/lib/cjs/utils/conditionOperators/IsNotEmptyValue.d.ts +0 -4
- package/lib/cjs/utils/conditionOperators/IsNotEqualTo.d.ts +0 -7
- package/lib/cjs/utils/conditionOperators/LessThan.d.ts +0 -7
- package/lib/cjs/utils/conditionOperators/LessThanOrEqual.d.ts +0 -7
- package/lib/cjs/utils/conditionOperators/NotIncludes.d.ts +0 -4
- package/lib/cjs/utils/conditionOperators/StartsWith.d.ts +0 -7
- package/lib/cjs/utils/conditionOperators/index.d.ts +0 -7
- package/lib/cjs/utils/formUtils.d.ts +0 -173
- package/lib/cjs/utils/i18n.d.ts +0 -16
- package/lib/cjs/utils/index.d.ts +0 -3
- package/lib/cjs/utils/jsonlogic/operators.d.ts +0 -1
- package/lib/cjs/utils/utils.d.ts +0 -375
- package/lib/cjs/widgets/CalendarWidget.d.ts +0 -97
- package/lib/cjs/widgets/InputWidget.d.ts +0 -24
- package/lib/cjs/widgets/index.d.ts +0 -7
- package/lib/mjs/CDN.d.ts +0 -29
- package/lib/mjs/Element.d.ts +0 -255
- package/lib/mjs/Embed.d.ts +0 -52
- package/lib/mjs/EventEmitter.d.ts +0 -7
- package/lib/mjs/Form.d.ts +0 -93
- package/lib/mjs/FormBuilder.d.ts +0 -6
- package/lib/mjs/Formio.d.ts +0 -1
- package/lib/mjs/PDF.d.ts +0 -40
- package/lib/mjs/PDFBuilder.d.ts +0 -55
- package/lib/mjs/Webform.d.ts +0 -402
- package/lib/mjs/WebformBuilder.d.ts +0 -126
- package/lib/mjs/Wizard.d.ts +0 -97
- package/lib/mjs/WizardBuilder.d.ts +0 -49
- package/lib/mjs/addons/FormioAddon.d.ts +0 -19
- package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +0 -716
- package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.form.d.ts +0 -590
- package/lib/mjs/addons/index.d.ts +0 -626
- package/lib/mjs/builders/Builders.d.ts +0 -18
- package/lib/mjs/builders/index.d.ts +0 -2
- package/lib/mjs/components/Components.d.ts +0 -265
- package/lib/mjs/components/_classes/component/Component.d.ts +0 -828
- package/lib/mjs/components/_classes/component/Component.form.d.ts +0 -3
- package/lib/mjs/components/_classes/component/editForm/Component.edit.addons.d.ts +0 -653
- package/lib/mjs/components/_classes/component/editForm/Component.edit.api.d.ts +0 -42
- package/lib/mjs/components/_classes/component/editForm/Component.edit.conditional.d.ts +0 -113
- package/lib/mjs/components/_classes/component/editForm/Component.edit.data.d.ts +0 -219
- package/lib/mjs/components/_classes/component/editForm/Component.edit.display.d.ts +0 -160
- package/lib/mjs/components/_classes/component/editForm/Component.edit.layout.d.ts +0 -44
- package/lib/mjs/components/_classes/component/editForm/Component.edit.logic.d.ts +0 -368
- package/lib/mjs/components/_classes/component/editForm/Component.edit.validation.d.ts +0 -140
- package/lib/mjs/components/_classes/component/editForm/utils.d.ts +0 -83
- package/lib/mjs/components/_classes/component/fixtures/comp1.d.ts +0 -33
- package/lib/mjs/components/_classes/component/fixtures/comp2.d.ts +0 -33
- package/lib/mjs/components/_classes/component/fixtures/comp3.d.ts +0 -14
- package/lib/mjs/components/_classes/component/fixtures/comp4.d.ts +0 -17
- package/lib/mjs/components/_classes/component/fixtures/index.d.ts +0 -5
- package/lib/mjs/components/_classes/componentModal/ComponentModal.d.ts +0 -46
- package/lib/mjs/components/_classes/field/Field.d.ts +0 -5
- package/lib/mjs/components/_classes/input/Input.d.ts +0 -42
- package/lib/mjs/components/_classes/list/ListComponent.d.ts +0 -18
- package/lib/mjs/components/_classes/list/ListComponent.form.d.ts +0 -3
- package/lib/mjs/components/_classes/list/editForm/ListComponent.edit.data.d.ts +0 -183
- package/lib/mjs/components/_classes/multivalue/Multivalue.d.ts +0 -29
- package/lib/mjs/components/_classes/nested/NestedComponent.d.ts +0 -150
- package/lib/mjs/components/_classes/nested/NestedComponent.form.d.ts +0 -3
- package/lib/mjs/components/_classes/nested/fixtures/comp1.d.ts +0 -8
- package/lib/mjs/components/_classes/nested/fixtures/comp2.d.ts +0 -236
- package/lib/mjs/components/_classes/nested/fixtures/comp3.d.ts +0 -26
- package/lib/mjs/components/_classes/nested/fixtures/index.d.ts +0 -3
- package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +0 -16
- package/lib/mjs/components/_classes/nesteddata/NestedDataComponent.d.ts +0 -12
- package/lib/mjs/components/address/Address.d.ts +0 -66
- package/lib/mjs/components/address/Address.form.d.ts +0 -3
- package/lib/mjs/components/address/editForm/Address.edit.data.d.ts +0 -31
- package/lib/mjs/components/address/editForm/Address.edit.display.d.ts +0 -49
- package/lib/mjs/components/address/editForm/Address.edit.provider.d.ts +0 -164
- package/lib/mjs/components/address/fixtures/comp1.d.ts +0 -34
- package/lib/mjs/components/address/fixtures/comp2.d.ts +0 -62
- package/lib/mjs/components/address/fixtures/comp3.d.ts +0 -44
- package/lib/mjs/components/address/fixtures/comp4.d.ts +0 -56
- package/lib/mjs/components/address/fixtures/index.d.ts +0 -5
- package/lib/mjs/components/address/fixtures/values.d.ts +0 -22
- package/lib/mjs/components/alert/Alert.d.ts +0 -30
- package/lib/mjs/components/builder.d.ts +0 -2
- package/lib/mjs/components/button/Button.d.ts +0 -45
- package/lib/mjs/components/button/Button.form.d.ts +0 -3
- package/lib/mjs/components/button/editForm/Button.edit.display.d.ts +0 -360
- package/lib/mjs/components/button/fixtures/comp1.d.ts +0 -15
- package/lib/mjs/components/button/fixtures/comp2.d.ts +0 -25
- package/lib/mjs/components/button/fixtures/comp3.d.ts +0 -113
- package/lib/mjs/components/button/fixtures/index.d.ts +0 -4
- package/lib/mjs/components/button/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/checkbox/Checkbox.d.ts +0 -77
- package/lib/mjs/components/checkbox/Checkbox.form.d.ts +0 -3
- package/lib/mjs/components/checkbox/editForm/Checkbox.edit.data.d.ts +0 -5
- package/lib/mjs/components/checkbox/editForm/Checkbox.edit.display.d.ts +0 -75
- package/lib/mjs/components/checkbox/editForm/Checkbox.edit.validation.d.ts +0 -5
- package/lib/mjs/components/checkbox/fixtures/comp1.d.ts +0 -24
- package/lib/mjs/components/checkbox/fixtures/comp2.d.ts +0 -12
- package/lib/mjs/components/checkbox/fixtures/comp3.d.ts +0 -15
- package/lib/mjs/components/checkbox/fixtures/comp4.d.ts +0 -46
- package/lib/mjs/components/checkbox/fixtures/customDefaultComponent.d.ts +0 -25
- package/lib/mjs/components/checkbox/fixtures/index.d.ts +0 -6
- package/lib/mjs/components/checkbox/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/columns/Columns.d.ts +0 -28
- package/lib/mjs/components/columns/Columns.form.d.ts +0 -3
- package/lib/mjs/components/columns/editForm/Columns.edit.display.d.ts +0 -87
- package/lib/mjs/components/columns/fixtures/comp1.d.ts +0 -45
- package/lib/mjs/components/columns/fixtures/comp2.d.ts +0 -24
- package/lib/mjs/components/columns/fixtures/comp3.d.ts +0 -45
- package/lib/mjs/components/columns/fixtures/index.d.ts +0 -4
- package/lib/mjs/components/container/Container.d.ts +0 -16
- package/lib/mjs/components/container/Container.form.d.ts +0 -3
- package/lib/mjs/components/container/editForm/Container.edit.data.d.ts +0 -5
- package/lib/mjs/components/container/editForm/Container.edit.display.d.ts +0 -5
- package/lib/mjs/components/container/fixtures/comp1.d.ts +0 -49
- package/lib/mjs/components/container/fixtures/comp2.d.ts +0 -30
- package/lib/mjs/components/container/fixtures/comp3.d.ts +0 -77
- package/lib/mjs/components/container/fixtures/index.d.ts +0 -4
- package/lib/mjs/components/content/Content.d.ts +0 -18
- package/lib/mjs/components/content/Content.form.d.ts +0 -3
- package/lib/mjs/components/content/editForm/Content.edit.display.d.ts +0 -18
- package/lib/mjs/components/content/editForm/Content.edit.logic.d.ts +0 -48
- package/lib/mjs/components/content/fixtures/comp1.d.ts +0 -13
- package/lib/mjs/components/content/fixtures/index.d.ts +0 -2
- package/lib/mjs/components/currency/Currency.d.ts +0 -8
- package/lib/mjs/components/currency/Currency.form.d.ts +0 -3
- package/lib/mjs/components/currency/editForm/Currency.edit.data.d.ts +0 -29
- package/lib/mjs/components/currency/editForm/Currency.edit.display.d.ts +0 -18
- package/lib/mjs/components/currency/fixtures/comp1.d.ts +0 -31
- package/lib/mjs/components/currency/fixtures/comp2.d.ts +0 -20
- package/lib/mjs/components/currency/fixtures/comp3.d.ts +0 -13
- package/lib/mjs/components/currency/fixtures/comp4.d.ts +0 -17
- package/lib/mjs/components/currency/fixtures/index.d.ts +0 -5
- package/lib/mjs/components/currency/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/datagrid/DataGrid.d.ts +0 -80
- package/lib/mjs/components/datagrid/DataGrid.form.d.ts +0 -3
- package/lib/mjs/components/datagrid/editForm/DataGrid.edit.data.d.ts +0 -5
- package/lib/mjs/components/datagrid/editForm/DataGrid.edit.display.d.ts +0 -283
- package/lib/mjs/components/datagrid/editForm/DataGrid.edit.validation.d.ts +0 -20
- package/lib/mjs/components/datagrid/fixtures/comp-modal-with-required-fields.d.ts +0 -37
- package/lib/mjs/components/datagrid/fixtures/comp-on-blur-validation.d.ts +0 -0
- package/lib/mjs/components/datagrid/fixtures/comp-row-groups-with-def-value.d.ts +0 -63
- package/lib/mjs/components/datagrid/fixtures/comp-with-collapsible-groups.d.ts +0 -76
- package/lib/mjs/components/datagrid/fixtures/comp-with-conditional-components-and-validations.d.ts +0 -197
- package/lib/mjs/components/datagrid/fixtures/comp-with-def-value.d.ts +0 -61
- package/lib/mjs/components/datagrid/fixtures/comp-with-logic.d.ts +0 -165
- package/lib/mjs/components/datagrid/fixtures/comp1.d.ts +0 -93
- package/lib/mjs/components/datagrid/fixtures/comp2.d.ts +0 -18
- package/lib/mjs/components/datagrid/fixtures/comp3.d.ts +0 -14
- package/lib/mjs/components/datagrid/fixtures/comp4.d.ts +0 -27
- package/lib/mjs/components/datagrid/fixtures/comp5.d.ts +0 -67
- package/lib/mjs/components/datagrid/fixtures/comp6.d.ts +0 -567
- package/lib/mjs/components/datagrid/fixtures/comp7.d.ts +0 -28
- package/lib/mjs/components/datagrid/fixtures/comp8.d.ts +0 -35
- package/lib/mjs/components/datagrid/fixtures/index.d.ts +0 -15
- package/lib/mjs/components/datamap/DataMap.d.ts +0 -36
- package/lib/mjs/components/datamap/DataMap.form.d.ts +0 -3
- package/lib/mjs/components/datamap/editForm/DataMap.edit.data.d.ts +0 -5
- package/lib/mjs/components/datamap/editForm/DataMap.edit.display.d.ts +0 -30
- package/lib/mjs/components/datamap/fixtures/comp1.d.ts +0 -18
- package/lib/mjs/components/datamap/fixtures/formWithConditionalPanel.d.ts +0 -87
- package/lib/mjs/components/datamap/fixtures/index.d.ts +0 -3
- package/lib/mjs/components/datetime/DateTime.d.ts +0 -39
- package/lib/mjs/components/datetime/DateTime.form.d.ts +0 -3
- package/lib/mjs/components/datetime/editForm/DateTime.edit.data.d.ts +0 -24
- package/lib/mjs/components/datetime/editForm/DateTime.edit.date.d.ts +0 -61
- package/lib/mjs/components/datetime/editForm/DateTime.edit.display.d.ts +0 -128
- package/lib/mjs/components/datetime/editForm/DateTime.edit.time.d.ts +0 -9
- package/lib/mjs/components/datetime/editForm/DateTime.edit.validation.d.ts +0 -40
- package/lib/mjs/components/datetime/fixtures/comp1.d.ts +0 -45
- package/lib/mjs/components/datetime/fixtures/comp10.d.ts +0 -102
- package/lib/mjs/components/datetime/fixtures/comp11.d.ts +0 -58
- package/lib/mjs/components/datetime/fixtures/comp12.d.ts +0 -57
- package/lib/mjs/components/datetime/fixtures/comp2.d.ts +0 -42
- package/lib/mjs/components/datetime/fixtures/comp3.d.ts +0 -51
- package/lib/mjs/components/datetime/fixtures/comp5.d.ts +0 -57
- package/lib/mjs/components/datetime/fixtures/comp6.d.ts +0 -55
- package/lib/mjs/components/datetime/fixtures/comp7.d.ts +0 -59
- package/lib/mjs/components/datetime/fixtures/comp8.d.ts +0 -59
- package/lib/mjs/components/datetime/fixtures/comp9.d.ts +0 -64
- package/lib/mjs/components/datetime/fixtures/index.d.ts +0 -12
- package/lib/mjs/components/datetime/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/day/Day.d.ts +0 -163
- package/lib/mjs/components/day/Day.form.d.ts +0 -3
- package/lib/mjs/components/day/editForm/Day.edit.data.d.ts +0 -5
- package/lib/mjs/components/day/editForm/Day.edit.day.d.ts +0 -40
- package/lib/mjs/components/day/editForm/Day.edit.display.d.ts +0 -40
- package/lib/mjs/components/day/editForm/Day.edit.month.d.ts +0 -40
- package/lib/mjs/components/day/editForm/Day.edit.validation.d.ts +0 -29
- package/lib/mjs/components/day/editForm/Day.edit.year.d.ts +0 -40
- package/lib/mjs/components/day/fixtures/comp1.d.ts +0 -46
- package/lib/mjs/components/day/fixtures/comp2.d.ts +0 -46
- package/lib/mjs/components/day/fixtures/comp3.d.ts +0 -48
- package/lib/mjs/components/day/fixtures/comp4.d.ts +0 -53
- package/lib/mjs/components/day/fixtures/comp5.d.ts +0 -29
- package/lib/mjs/components/day/fixtures/comp6.d.ts +0 -81
- package/lib/mjs/components/day/fixtures/index.d.ts +0 -7
- package/lib/mjs/components/day/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/editgrid/EditGrid.d.ts +0 -103
- package/lib/mjs/components/editgrid/EditGrid.form.d.ts +0 -3
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.data.d.ts +0 -18
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.display.d.ts +0 -82
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.templates.d.ts +0 -58
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.validation.d.ts +0 -29
- package/lib/mjs/components/editgrid/fixtures/comp-openWhenEmpty.d.ts +0 -34
- package/lib/mjs/components/editgrid/fixtures/comp-with-basic-components.d.ts +0 -327
- package/lib/mjs/components/editgrid/fixtures/comp-with-conditions-and-openWhenEmpty.d.ts +0 -77
- package/lib/mjs/components/editgrid/fixtures/comp-with-custom-default-value.d.ts +0 -190
- package/lib/mjs/components/editgrid/fixtures/comp1.d.ts +0 -89
- package/lib/mjs/components/editgrid/fixtures/comp10.d.ts +0 -49
- package/lib/mjs/components/editgrid/fixtures/comp11.d.ts +0 -53
- package/lib/mjs/components/editgrid/fixtures/comp12.d.ts +0 -57
- package/lib/mjs/components/editgrid/fixtures/comp13.d.ts +0 -64
- package/lib/mjs/components/editgrid/fixtures/comp14.d.ts +0 -88
- package/lib/mjs/components/editgrid/fixtures/comp15.d.ts +0 -54
- package/lib/mjs/components/editgrid/fixtures/comp2.d.ts +0 -112
- package/lib/mjs/components/editgrid/fixtures/comp3.d.ts +0 -27
- package/lib/mjs/components/editgrid/fixtures/comp4.d.ts +0 -23
- package/lib/mjs/components/editgrid/fixtures/comp5.d.ts +0 -19
- package/lib/mjs/components/editgrid/fixtures/comp6.d.ts +0 -50
- package/lib/mjs/components/editgrid/fixtures/comp7.d.ts +0 -129
- package/lib/mjs/components/editgrid/fixtures/comp8.d.ts +0 -148
- package/lib/mjs/components/editgrid/fixtures/comp9.d.ts +0 -86
- package/lib/mjs/components/editgrid/fixtures/index.d.ts +0 -19
- package/lib/mjs/components/email/Email.d.ts +0 -4
- package/lib/mjs/components/email/Email.form.d.ts +0 -3
- package/lib/mjs/components/email/editForm/Email.edit.display.d.ts +0 -5
- package/lib/mjs/components/email/editForm/Email.edit.validation.d.ts +0 -24
- package/lib/mjs/components/email/fixtures/comp1.d.ts +0 -26
- package/lib/mjs/components/email/fixtures/comp2.d.ts +0 -23
- package/lib/mjs/components/email/fixtures/index.d.ts +0 -3
- package/lib/mjs/components/email/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/fieldset/Fieldset.d.ts +0 -15
- package/lib/mjs/components/fieldset/Fieldset.form.d.ts +0 -3
- package/lib/mjs/components/fieldset/editForm/Fieldset.edit.display.d.ts +0 -33
- package/lib/mjs/components/fieldset/fixtures/comp1.d.ts +0 -46
- package/lib/mjs/components/fieldset/fixtures/index.d.ts +0 -2
- package/lib/mjs/components/file/File.d.ts +0 -81
- package/lib/mjs/components/file/File.form.d.ts +0 -3
- package/lib/mjs/components/file/editForm/File.edit.data.d.ts +0 -5
- package/lib/mjs/components/file/editForm/File.edit.display.d.ts +0 -5
- package/lib/mjs/components/file/editForm/File.edit.file.d.ts +0 -275
- package/lib/mjs/components/file/editForm/File.edit.validation.d.ts +0 -5
- package/lib/mjs/components/file/fixtures/comp1.d.ts +0 -15
- package/lib/mjs/components/file/fixtures/comp2.d.ts +0 -35
- package/lib/mjs/components/file/fixtures/comp3.d.ts +0 -29
- package/lib/mjs/components/file/fixtures/index.d.ts +0 -3
- package/lib/mjs/components/file/fixtures/values.d.ts +0 -10
- package/lib/mjs/components/form/Form.d.ts +0 -94
- package/lib/mjs/components/form/Form.form.d.ts +0 -3
- package/lib/mjs/components/form/editForm/Form.edit.data.d.ts +0 -82
- package/lib/mjs/components/form/editForm/Form.edit.display.d.ts +0 -5
- package/lib/mjs/components/form/editForm/Form.edit.form.d.ts +0 -89
- package/lib/mjs/components/form/fixtures/comp1.d.ts +0 -45
- package/lib/mjs/components/form/fixtures/comp2.d.ts +0 -14
- package/lib/mjs/components/form/fixtures/comp3.d.ts +0 -187
- package/lib/mjs/components/form/fixtures/comp4.d.ts +0 -107
- package/lib/mjs/components/form/fixtures/comp5.d.ts +0 -42
- package/lib/mjs/components/form/fixtures/comp6.d.ts +0 -74
- package/lib/mjs/components/form/fixtures/formModalEdit.d.ts +0 -42
- package/lib/mjs/components/form/fixtures/index.d.ts +0 -8
- package/lib/mjs/components/form/fixtures/values.d.ts +0 -6
- package/lib/mjs/components/hidden/Hidden.d.ts +0 -26
- package/lib/mjs/components/hidden/Hidden.form.d.ts +0 -3
- package/lib/mjs/components/hidden/editForm/Hidden.edit.data.d.ts +0 -5
- package/lib/mjs/components/hidden/editForm/Hidden.edit.display.d.ts +0 -5
- package/lib/mjs/components/hidden/fixtures/comp1.d.ts +0 -18
- package/lib/mjs/components/hidden/fixtures/index.d.ts +0 -2
- package/lib/mjs/components/hidden/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/html/HTML.d.ts +0 -18
- package/lib/mjs/components/html/HTML.form.d.ts +0 -3
- package/lib/mjs/components/html/editForm/HTML.edit.display.d.ts +0 -77
- package/lib/mjs/components/html/editForm/HTML.edit.logic.d.ts +0 -48
- package/lib/mjs/components/html/fixtures/comp1.d.ts +0 -19
- package/lib/mjs/components/html/fixtures/comp2.d.ts +0 -21
- package/lib/mjs/components/html/fixtures/index.d.ts +0 -3
- package/lib/mjs/components/index.d.ts +0 -98
- package/lib/mjs/components/number/Number.d.ts +0 -53
- package/lib/mjs/components/number/Number.form.d.ts +0 -3
- package/lib/mjs/components/number/editForm/Number.edit.data.d.ts +0 -18
- package/lib/mjs/components/number/editForm/Number.edit.display.d.ts +0 -5
- package/lib/mjs/components/number/editForm/Number.edit.validation.d.ts +0 -20
- package/lib/mjs/components/number/fixtures/comp1.d.ts +0 -33
- package/lib/mjs/components/number/fixtures/comp2.d.ts +0 -32
- package/lib/mjs/components/number/fixtures/comp3.d.ts +0 -14
- package/lib/mjs/components/number/fixtures/comp4.d.ts +0 -14
- package/lib/mjs/components/number/fixtures/comp5.d.ts +0 -20
- package/lib/mjs/components/number/fixtures/comp6.d.ts +0 -40
- package/lib/mjs/components/number/fixtures/comp7.d.ts +0 -15
- package/lib/mjs/components/number/fixtures/index.d.ts +0 -8
- package/lib/mjs/components/number/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/panel/Panel.d.ts +0 -14
- package/lib/mjs/components/panel/Panel.form.d.ts +0 -3
- package/lib/mjs/components/panel/editForm/Panel.edit.conditional.d.ts +0 -75
- package/lib/mjs/components/panel/editForm/Panel.edit.display.d.ts +0 -196
- package/lib/mjs/components/panel/fixtures/comp1.d.ts +0 -46
- package/lib/mjs/components/panel/fixtures/comp2.d.ts +0 -80
- package/lib/mjs/components/panel/fixtures/index.d.ts +0 -3
- package/lib/mjs/components/password/Password.d.ts +0 -3
- package/lib/mjs/components/password/Password.form.d.ts +0 -3
- package/lib/mjs/components/password/editForm/Password.edit.data.d.ts +0 -18
- package/lib/mjs/components/password/editForm/Password.edit.display.d.ts +0 -5
- package/lib/mjs/components/password/editForm/Password.edit.validation.d.ts +0 -5
- package/lib/mjs/components/password/fixtures/comp1.d.ts +0 -22
- package/lib/mjs/components/password/fixtures/comp2.d.ts +0 -27
- package/lib/mjs/components/password/fixtures/index.d.ts +0 -3
- package/lib/mjs/components/password/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/phonenumber/PhoneNumber.d.ts +0 -3
- package/lib/mjs/components/phonenumber/PhoneNumber.form.d.ts +0 -3
- package/lib/mjs/components/phonenumber/editForm/PhoneNumber.edit.validation.d.ts +0 -5
- package/lib/mjs/components/phonenumber/fixtures/comp1.d.ts +0 -27
- package/lib/mjs/components/phonenumber/fixtures/index.d.ts +0 -2
- package/lib/mjs/components/phonenumber/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/radio/Radio.d.ts +0 -65
- package/lib/mjs/components/radio/Radio.form.d.ts +0 -3
- package/lib/mjs/components/radio/editForm/Radio.edit.data.d.ts +0 -134
- package/lib/mjs/components/radio/editForm/Radio.edit.display.d.ts +0 -40
- package/lib/mjs/components/radio/editForm/Radio.edit.validation.d.ts +0 -18
- package/lib/mjs/components/radio/fixtures/comp1.d.ts +0 -28
- package/lib/mjs/components/radio/fixtures/comp2.d.ts +0 -85
- package/lib/mjs/components/radio/fixtures/comp3.d.ts +0 -85
- package/lib/mjs/components/radio/fixtures/comp4.d.ts +0 -19
- package/lib/mjs/components/radio/fixtures/comp5.d.ts +0 -39
- package/lib/mjs/components/radio/fixtures/comp6.d.ts +0 -38
- package/lib/mjs/components/radio/fixtures/comp7.d.ts +0 -23
- package/lib/mjs/components/radio/fixtures/comp8.d.ts +0 -118
- package/lib/mjs/components/radio/fixtures/comp9.d.ts +0 -35
- package/lib/mjs/components/radio/fixtures/index.d.ts +0 -10
- package/lib/mjs/components/radio/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/recaptcha/ReCaptcha.d.ts +0 -23
- package/lib/mjs/components/recaptcha/ReCaptcha.form.d.ts +0 -3
- package/lib/mjs/components/recaptcha/editForm/ReCaptcha.edit.display.d.ts +0 -44
- package/lib/mjs/components/recaptcha/fixtures/comp1.d.ts +0 -8
- package/lib/mjs/components/recaptcha/fixtures/index.d.ts +0 -2
- package/lib/mjs/components/resource/Resource.d.ts +0 -10
- package/lib/mjs/components/resource/Resource.form.d.ts +0 -3
- package/lib/mjs/components/resource/editForm/Resource.edit.display.d.ts +0 -173
- package/lib/mjs/components/resource/fixtures/comp1.d.ts +0 -30
- package/lib/mjs/components/resource/fixtures/comp2.d.ts +0 -35
- package/lib/mjs/components/resource/fixtures/index.d.ts +0 -3
- package/lib/mjs/components/select/Select.d.ts +0 -145
- package/lib/mjs/components/select/Select.form.d.ts +0 -3
- package/lib/mjs/components/select/editForm/Select.edit.data.d.ts +0 -1039
- package/lib/mjs/components/select/editForm/Select.edit.display.d.ts +0 -27
- package/lib/mjs/components/select/editForm/Select.edit.validation.d.ts +0 -30
- package/lib/mjs/components/select/fixtures/comp1.d.ts +0 -40
- package/lib/mjs/components/select/fixtures/comp10.d.ts +0 -41
- package/lib/mjs/components/select/fixtures/comp11.d.ts +0 -28
- package/lib/mjs/components/select/fixtures/comp12.d.ts +0 -53
- package/lib/mjs/components/select/fixtures/comp13.d.ts +0 -28
- package/lib/mjs/components/select/fixtures/comp14.d.ts +0 -40
- package/lib/mjs/components/select/fixtures/comp15.d.ts +0 -50
- package/lib/mjs/components/select/fixtures/comp16.d.ts +0 -34
- package/lib/mjs/components/select/fixtures/comp17.d.ts +0 -51
- package/lib/mjs/components/select/fixtures/comp18.d.ts +0 -49
- package/lib/mjs/components/select/fixtures/comp19.d.ts +0 -23
- package/lib/mjs/components/select/fixtures/comp2.d.ts +0 -41
- package/lib/mjs/components/select/fixtures/comp3.d.ts +0 -35
- package/lib/mjs/components/select/fixtures/comp4.d.ts +0 -103
- package/lib/mjs/components/select/fixtures/comp5.d.ts +0 -21
- package/lib/mjs/components/select/fixtures/comp6.d.ts +0 -20
- package/lib/mjs/components/select/fixtures/comp7.d.ts +0 -63
- package/lib/mjs/components/select/fixtures/comp8.d.ts +0 -72
- package/lib/mjs/components/select/fixtures/comp9.d.ts +0 -88
- package/lib/mjs/components/select/fixtures/index.d.ts +0 -20
- package/lib/mjs/components/select/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/selectboxes/SelectBoxes.d.ts +0 -51
- package/lib/mjs/components/selectboxes/SelectBoxes.form.d.ts +0 -3
- package/lib/mjs/components/selectboxes/editForm/SelectBoxes.edit.validation.d.ts +0 -9
- package/lib/mjs/components/selectboxes/fixtures/comp1.d.ts +0 -24
- package/lib/mjs/components/selectboxes/fixtures/comp2.d.ts +0 -24
- package/lib/mjs/components/selectboxes/fixtures/comp3.d.ts +0 -23
- package/lib/mjs/components/selectboxes/fixtures/comp4.d.ts +0 -66
- package/lib/mjs/components/selectboxes/fixtures/comp5.d.ts +0 -37
- package/lib/mjs/components/selectboxes/fixtures/comp6.d.ts +0 -14
- package/lib/mjs/components/selectboxes/fixtures/comp7.d.ts +0 -18
- package/lib/mjs/components/selectboxes/fixtures/index.d.ts +0 -8
- package/lib/mjs/components/selectboxes/fixtures/values.d.ts +0 -6
- package/lib/mjs/components/signature/Signature.d.ts +0 -46
- package/lib/mjs/components/signature/Signature.form.d.ts +0 -3
- package/lib/mjs/components/signature/editForm/Signature.edit.data.d.ts +0 -5
- package/lib/mjs/components/signature/editForm/Signature.edit.display.d.ts +0 -51
- package/lib/mjs/components/signature/editForm/Signature.edit.validation.d.ts +0 -5
- package/lib/mjs/components/signature/fixtures/comp1.d.ts +0 -30
- package/lib/mjs/components/signature/fixtures/index.d.ts +0 -2
- package/lib/mjs/components/signature/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/survey/Survey.d.ts +0 -37
- package/lib/mjs/components/survey/Survey.form.d.ts +0 -3
- package/lib/mjs/components/survey/editForm/Survey.edit.data.d.ts +0 -44
- package/lib/mjs/components/survey/editForm/Survey.edit.display.d.ts +0 -5
- package/lib/mjs/components/survey/editForm/Survey.edit.validation.d.ts +0 -5
- package/lib/mjs/components/survey/fixtures/comp1.d.ts +0 -31
- package/lib/mjs/components/survey/fixtures/comp2.d.ts +0 -31
- package/lib/mjs/components/survey/fixtures/index.d.ts +0 -3
- package/lib/mjs/components/survey/fixtures/values.d.ts +0 -5
- package/lib/mjs/components/table/Table.d.ts +0 -23
- package/lib/mjs/components/table/Table.form.d.ts +0 -3
- package/lib/mjs/components/table/editForm/Table.edit.display.d.ts +0 -84
- package/lib/mjs/components/table/fixtures/comp1.d.ts +0 -53
- package/lib/mjs/components/table/fixtures/index.d.ts +0 -2
- package/lib/mjs/components/tabs/Tabs.d.ts +0 -30
- package/lib/mjs/components/tabs/Tabs.form.d.ts +0 -3
- package/lib/mjs/components/tabs/editForm/Tabs.edit.display.d.ts +0 -77
- package/lib/mjs/components/tabs/fixtures/comp1.d.ts +0 -23
- package/lib/mjs/components/tabs/fixtures/index.d.ts +0 -2
- package/lib/mjs/components/tags/Tags.d.ts +0 -41
- package/lib/mjs/components/tags/Tags.form.d.ts +0 -3
- package/lib/mjs/components/tags/editForm/Tags.edit.data.d.ts +0 -51
- package/lib/mjs/components/tags/fixtures/comp1.d.ts +0 -20
- package/lib/mjs/components/tags/fixtures/comp2.d.ts +0 -10
- package/lib/mjs/components/tags/fixtures/comp3.d.ts +0 -23
- package/lib/mjs/components/tags/fixtures/comp4.d.ts +0 -9
- package/lib/mjs/components/tags/fixtures/comp5.d.ts +0 -24
- package/lib/mjs/components/tags/fixtures/comp6.d.ts +0 -17
- package/lib/mjs/components/tags/fixtures/index.d.ts +0 -7
- package/lib/mjs/components/tags/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/textarea/TextArea.d.ts +0 -37
- package/lib/mjs/components/textarea/TextArea.form.d.ts +0 -3
- package/lib/mjs/components/textarea/editForm/TextArea.edit.display.d.ts +0 -355
- package/lib/mjs/components/textarea/editForm/TextArea.edit.validation.d.ts +0 -10
- package/lib/mjs/components/textarea/fixtures/comp1.d.ts +0 -31
- package/lib/mjs/components/textarea/fixtures/comp2.d.ts +0 -29
- package/lib/mjs/components/textarea/fixtures/comp3.d.ts +0 -27
- package/lib/mjs/components/textarea/fixtures/comp4.d.ts +0 -30
- package/lib/mjs/components/textarea/fixtures/index.d.ts +0 -5
- package/lib/mjs/components/textarea/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/textfield/TextField.d.ts +0 -60
- package/lib/mjs/components/textfield/TextField.form.d.ts +0 -3
- package/lib/mjs/components/textfield/editForm/TextField.edit.data.d.ts +0 -46
- package/lib/mjs/components/textfield/editForm/TextField.edit.display.d.ts +0 -248
- package/lib/mjs/components/textfield/editForm/TextField.edit.validation.d.ts +0 -10
- package/lib/mjs/components/textfield/fixtures/comp-with-display-and-value-masks.d.ts +0 -47
- package/lib/mjs/components/textfield/fixtures/comp1.d.ts +0 -33
- package/lib/mjs/components/textfield/fixtures/comp2.d.ts +0 -33
- package/lib/mjs/components/textfield/fixtures/comp3.d.ts +0 -33
- package/lib/mjs/components/textfield/fixtures/comp4.d.ts +0 -23
- package/lib/mjs/components/textfield/fixtures/comp5.d.ts +0 -12
- package/lib/mjs/components/textfield/fixtures/comp6.d.ts +0 -25
- package/lib/mjs/components/textfield/fixtures/comp7.d.ts +0 -37
- package/lib/mjs/components/textfield/fixtures/index.d.ts +0 -9
- package/lib/mjs/components/textfield/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/time/Time.d.ts +0 -27
- package/lib/mjs/components/time/Time.form.d.ts +0 -3
- package/lib/mjs/components/time/editForm/Time.edit.data.d.ts +0 -10
- package/lib/mjs/components/time/editForm/Time.edit.display.d.ts +0 -52
- package/lib/mjs/components/time/fixtures/comp1.d.ts +0 -24
- package/lib/mjs/components/time/fixtures/comp2.d.ts +0 -10
- package/lib/mjs/components/time/fixtures/comp3.d.ts +0 -15
- package/lib/mjs/components/time/fixtures/index.d.ts +0 -6
- package/lib/mjs/components/time/fixtures/timeForm.d.ts +0 -47
- package/lib/mjs/components/time/fixtures/timeForm2.d.ts +0 -38
- package/lib/mjs/components/time/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/unknown/Unknown.d.ts +0 -28
- package/lib/mjs/components/unknown/Unknown.form.d.ts +0 -34
- package/lib/mjs/components/unknown/editForm/Unknown.edit.display.d.ts +0 -24
- package/lib/mjs/components/unknown/fixtures/comp1.d.ts +0 -7
- package/lib/mjs/components/unknown/fixtures/index.d.ts +0 -2
- package/lib/mjs/components/url/Url.d.ts +0 -3
- package/lib/mjs/components/url/Url.form.d.ts +0 -3
- package/lib/mjs/components/url/editForm/Url.edit.data.d.ts +0 -5
- package/lib/mjs/components/url/editForm/Url.edit.display.d.ts +0 -5
- package/lib/mjs/components/url/editForm/Url.edit.validation.d.ts +0 -5
- package/lib/mjs/components/url/fixtures/comp1.d.ts +0 -26
- package/lib/mjs/components/url/fixtures/comp2.d.ts +0 -26
- package/lib/mjs/components/url/fixtures/index.d.ts +0 -3
- package/lib/mjs/components/url/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/well/Well.d.ts +0 -15
- package/lib/mjs/components/well/Well.form.d.ts +0 -3
- package/lib/mjs/components/well/editForm/Well.edit.display.d.ts +0 -28
- package/lib/mjs/components/well/fixtures/comp1.d.ts +0 -43
- package/lib/mjs/components/well/fixtures/index.d.ts +0 -2
- package/lib/mjs/displays/Displays.d.ts +0 -18
- package/lib/mjs/displays/index.d.ts +0 -2
- package/lib/mjs/formio.embed.d.ts +0 -2
- package/lib/mjs/formio.form.d.ts +0 -17
- package/lib/mjs/i18n.d.ts +0 -13
- package/lib/mjs/index.d.ts +0 -5
- package/lib/mjs/licenses/Licenses.d.ts +0 -7
- package/lib/mjs/licenses/index.d.ts +0 -2
- package/lib/mjs/pdf.image.d.ts +0 -2
- package/lib/mjs/providers/Providers.d.ts +0 -80
- package/lib/mjs/providers/address/AddressProvider.d.ts +0 -17
- package/lib/mjs/providers/address/AzureAddressProvider.d.ts +0 -12
- package/lib/mjs/providers/address/CustomAddressProvider.d.ts +0 -7
- package/lib/mjs/providers/address/GoogleAddressProvider.d.ts +0 -18
- package/lib/mjs/providers/address/NominatimAddressProvider.d.ts +0 -11
- package/lib/mjs/providers/address/index.d.ts +0 -6
- package/lib/mjs/providers/auth/index.d.ts +0 -2
- package/lib/mjs/providers/index.d.ts +0 -2
- package/lib/mjs/providers/processor/fileProcessor.d.ts +0 -2
- package/lib/mjs/providers/storage/azure.d.ts +0 -15
- package/lib/mjs/providers/storage/base64.d.ts +0 -10
- package/lib/mjs/providers/storage/dropbox.d.ts +0 -8
- package/lib/mjs/providers/storage/googleDrive.d.ts +0 -8
- package/lib/mjs/providers/storage/index.d.ts +0 -15
- package/lib/mjs/providers/storage/indexeddb.d.ts +0 -11
- package/lib/mjs/providers/storage/s3.d.ts +0 -17
- package/lib/mjs/providers/storage/uploadAdapter.d.ts +0 -1
- package/lib/mjs/providers/storage/url.d.ts +0 -11
- package/lib/mjs/providers/storage/xhr.d.ts +0 -7
- package/lib/mjs/templates/Templates.d.ts +0 -1
- package/lib/mjs/templates/index.d.ts +0 -229
- package/lib/mjs/translations/en.d.ts +0 -71
- package/lib/mjs/utils/ChoicesWrapper.d.ts +0 -38
- package/lib/mjs/utils/Evaluator.d.ts +0 -4
- package/lib/mjs/utils/builder.d.ts +0 -22
- package/lib/mjs/utils/calendarUtils.d.ts +0 -41
- package/lib/mjs/utils/conditionOperators/ConditionOperator.d.ts +0 -7
- package/lib/mjs/utils/conditionOperators/DateGreaterThan.d.ts +0 -13
- package/lib/mjs/utils/conditionOperators/DateGreaterThanOrEqual.d.ts +0 -4
- package/lib/mjs/utils/conditionOperators/DateLessThan.d.ts +0 -4
- package/lib/mjs/utils/conditionOperators/DateLessThanOrEqual.d.ts +0 -4
- package/lib/mjs/utils/conditionOperators/EndsWith.d.ts +0 -7
- package/lib/mjs/utils/conditionOperators/GreaterThan.d.ts +0 -7
- package/lib/mjs/utils/conditionOperators/GreaterThanOrEqual.d.ts +0 -7
- package/lib/mjs/utils/conditionOperators/Includes.d.ts +0 -7
- package/lib/mjs/utils/conditionOperators/IsDateEqual.d.ts +0 -4
- package/lib/mjs/utils/conditionOperators/IsEmptyValue.d.ts +0 -9
- package/lib/mjs/utils/conditionOperators/IsEqualTo.d.ts +0 -7
- package/lib/mjs/utils/conditionOperators/IsNotDateEqual.d.ts +0 -4
- package/lib/mjs/utils/conditionOperators/IsNotEmptyValue.d.ts +0 -4
- package/lib/mjs/utils/conditionOperators/IsNotEqualTo.d.ts +0 -7
- package/lib/mjs/utils/conditionOperators/LessThan.d.ts +0 -7
- package/lib/mjs/utils/conditionOperators/LessThanOrEqual.d.ts +0 -7
- package/lib/mjs/utils/conditionOperators/NotIncludes.d.ts +0 -4
- package/lib/mjs/utils/conditionOperators/StartsWith.d.ts +0 -7
- package/lib/mjs/utils/conditionOperators/index.d.ts +0 -7
- package/lib/mjs/utils/formUtils.d.ts +0 -173
- package/lib/mjs/utils/i18n.d.ts +0 -16
- package/lib/mjs/utils/index.d.ts +0 -3
- package/lib/mjs/utils/jsonlogic/operators.d.ts +0 -1
- package/lib/mjs/utils/utils.d.ts +0 -375
- package/lib/mjs/widgets/CalendarWidget.d.ts +0 -97
- package/lib/mjs/widgets/InputWidget.d.ts +0 -24
- package/lib/mjs/widgets/index.d.ts +0 -7
package/lib/mjs/Embed.js
CHANGED
@@ -6,14 +6,21 @@ class Formio {
|
|
6
6
|
static pathType;
|
7
7
|
static language;
|
8
8
|
static config = {};
|
9
|
-
static cdn
|
9
|
+
static cdn;
|
10
10
|
static modules = [];
|
11
11
|
static icons = '';
|
12
|
+
static license = '';
|
12
13
|
static formioReady = new Promise((ready, reject) => {
|
13
14
|
Formio._formioReady = ready;
|
14
15
|
Formio._formioReadyReject = reject;
|
15
16
|
});
|
16
17
|
static version = 'FORMIO_VERSION';
|
18
|
+
static setLicense(license, norecurse = false) {
|
19
|
+
Formio.license = license;
|
20
|
+
if (!norecurse && Formio.FormioClass) {
|
21
|
+
Formio.FormioClass.setLicense(license);
|
22
|
+
}
|
23
|
+
}
|
17
24
|
static setBaseUrl(url, norecurse = false) {
|
18
25
|
Formio.baseUrl = url;
|
19
26
|
if (!norecurse && Formio.FormioClass) {
|
@@ -92,9 +99,15 @@ class Formio {
|
|
92
99
|
return Promise.resolve(Formio.global(name));
|
93
100
|
}
|
94
101
|
Formio.debug('Adding Script', src);
|
95
|
-
|
96
|
-
|
97
|
-
|
102
|
+
try {
|
103
|
+
wrapper.appendChild(Formio.createElement('script', {
|
104
|
+
src
|
105
|
+
}));
|
106
|
+
}
|
107
|
+
catch (err) {
|
108
|
+
Formio.debug(err);
|
109
|
+
return Promise.resolve();
|
110
|
+
}
|
98
111
|
if (!name) {
|
99
112
|
return Promise.resolve();
|
100
113
|
}
|
@@ -157,32 +170,66 @@ class Formio {
|
|
157
170
|
}
|
158
171
|
// Return the full script if the builder is being used.
|
159
172
|
static formioScript(script, builder) {
|
173
|
+
builder = builder || Formio.config.includeBuilder;
|
160
174
|
if (Formio.fullAdded || builder) {
|
161
175
|
Formio.fullAdded = true;
|
162
176
|
return script.replace('formio.form', 'formio.full');
|
163
177
|
}
|
164
178
|
return script;
|
165
179
|
}
|
180
|
+
static async addLibrary(wrapper, lib, name) {
|
181
|
+
if (!lib) {
|
182
|
+
return;
|
183
|
+
}
|
184
|
+
if (lib.dependencies) {
|
185
|
+
for (let i = 0; i < lib.dependencies.length; i++) {
|
186
|
+
await Formio.addLibrary(wrapper, Formio.cdn.libs[lib.dependencies[i]]);
|
187
|
+
}
|
188
|
+
}
|
189
|
+
if (lib.css) {
|
190
|
+
await Formio.addStyles(wrapper, lib.css);
|
191
|
+
}
|
192
|
+
if (lib.js) {
|
193
|
+
const module = await Formio.addScript(wrapper, lib.js, lib.use ? name : false);
|
194
|
+
if (lib.use) {
|
195
|
+
Formio.debug(`Using ${name}`);
|
196
|
+
const options = lib.options || {};
|
197
|
+
if (!options.license && Formio.license) {
|
198
|
+
options.license = Formio.license;
|
199
|
+
}
|
200
|
+
Formio.use((typeof lib.use === 'function' ? lib.use(module) : module), options);
|
201
|
+
}
|
202
|
+
}
|
203
|
+
}
|
166
204
|
// eslint-disable-next-line max-statements
|
167
205
|
static async init(element, options = {}, builder = false) {
|
168
206
|
Formio.cdn = new CDN(Formio.config.cdn, Formio.config.cdnUrls || {});
|
169
207
|
Formio.config.libs = Formio.config.libs || {
|
170
208
|
uswds: {
|
171
|
-
|
209
|
+
dependencies: ['fontawesome'],
|
172
210
|
js: `${Formio.cdn.uswds}/uswds.min.js`,
|
173
211
|
css: `${Formio.cdn.uswds}/uswds.min.css`,
|
212
|
+
use: true
|
174
213
|
},
|
175
214
|
fontawesome: {
|
176
215
|
css: `${Formio.cdn['font-awesome']}/css/font-awesome.min.css`
|
177
216
|
},
|
217
|
+
bootstrap4: {
|
218
|
+
dependencies: ['fontawesome'],
|
219
|
+
css: `${Formio.cdn.bootstrap4}/css/bootstrap.min.css`
|
220
|
+
},
|
178
221
|
bootstrap: {
|
222
|
+
dependencies: ['bootstrap-icons'],
|
179
223
|
css: `${Formio.cdn.bootstrap}/css/bootstrap.min.css`
|
224
|
+
},
|
225
|
+
'bootstrap-icons': {
|
226
|
+
css: `${Formio.cdn['bootstrap-icons']}/css/bootstrap-icons.css`
|
180
227
|
}
|
181
228
|
};
|
182
229
|
const id = Formio.config.id || `formio-${Math.random().toString(36).substring(7)}`;
|
183
230
|
// Create a new wrapper and add the element inside of a new wrapper.
|
184
231
|
let wrapper = Formio.createElement('div', {
|
185
|
-
'id':
|
232
|
+
'id': `${id}-wrapper`
|
186
233
|
});
|
187
234
|
element.parentNode.insertBefore(wrapper, element);
|
188
235
|
// If we include the libraries, then we will attempt to run this in shadow dom.
|
@@ -213,9 +260,11 @@ class Formio {
|
|
213
260
|
}]));
|
214
261
|
const renderer = Formio.config.debug ? 'formio.form' : 'formio.form.min';
|
215
262
|
Formio.FormioClass = await Formio.addScript(wrapper, Formio.formioScript(Formio.config.script || `${Formio.cdn.js}/${renderer}.js`, builder), 'Formio', builder ? 'isBuilder' : 'isRenderer');
|
263
|
+
Formio.FormioClass.cdn = Formio.cdn;
|
216
264
|
Formio.FormioClass.setBaseUrl(options.baseUrl || Formio.baseUrl || Formio.config.base);
|
217
265
|
Formio.FormioClass.setProjectUrl(options.projectUrl || Formio.projectUrl || Formio.config.project);
|
218
266
|
Formio.FormioClass.language = Formio.language;
|
267
|
+
Formio.setLicense(Formio.license || Formio.config.license || false);
|
219
268
|
Formio.modules.forEach((module) => {
|
220
269
|
Formio.FormioClass.use(module);
|
221
270
|
});
|
@@ -225,43 +274,21 @@ class Formio {
|
|
225
274
|
if (Formio.pathType) {
|
226
275
|
Formio.FormioClass.setPathType(Formio.pathType);
|
227
276
|
}
|
228
|
-
// Add
|
229
|
-
if (Formio.
|
230
|
-
Formio.
|
231
|
-
Formio.FormioClass.use(Formio.global('premium'));
|
232
|
-
}
|
233
|
-
if (Formio.global('vpat')) {
|
234
|
-
Formio.debug('Using vpat module.');
|
235
|
-
Formio.FormioClass.use(Formio.global('vpat'));
|
236
|
-
}
|
237
|
-
if (Formio.config.template) {
|
238
|
-
if (Formio.config.includeLibs) {
|
239
|
-
await Formio.addStyles(wrapper, Formio.config.libs[Formio.config.template].css);
|
240
|
-
await Formio.addScript(wrapper, Formio.config.libs[Formio.config.template].js);
|
241
|
-
if (Formio.config.libs[Formio.config.template].fa) {
|
242
|
-
await Formio.addStyles(wrapper, Formio.config.libs.fontawesome.css);
|
243
|
-
}
|
244
|
-
}
|
245
|
-
if (Formio.cdn[Formio.config.template]) {
|
246
|
-
const templateSrc = `${Formio.cdn[Formio.config.template]}/${Formio.config.template}.min`;
|
247
|
-
await Formio.addStyles(wrapper, `${templateSrc}.css`);
|
248
|
-
Formio.debug(`Using ${Formio.config.template}`);
|
249
|
-
Formio.FormioClass.use(await Formio.addScript(wrapper, `${templateSrc}.js`, Formio.config.template));
|
250
|
-
}
|
251
|
-
}
|
252
|
-
else if (Formio.global('uswds')) {
|
253
|
-
Formio.debug('Using uswds module.');
|
254
|
-
Formio.FormioClass.use(Formio.global('uswds'));
|
255
|
-
}
|
256
|
-
// Default bootstrap + fontawesome.
|
257
|
-
else if (Formio.config.includeLibs) {
|
258
|
-
await Formio.addStyles(wrapper, Formio.config.libs.fontawesome.css);
|
259
|
-
await Formio.addStyles(wrapper, Formio.config.libs.bootstrap.css);
|
277
|
+
// Add libraries if they wish to include the libs.
|
278
|
+
if (Formio.config.template && Formio.config.includeLibs) {
|
279
|
+
await Formio.addLibrary(wrapper, Formio.config.libs[Formio.config.template], Formio.config.template);
|
260
280
|
}
|
281
|
+
// Add the premium modules.
|
261
282
|
if (Formio.config.premium) {
|
262
|
-
|
263
|
-
|
264
|
-
|
283
|
+
Formio.config.modules.premium = Formio.config.premium;
|
284
|
+
}
|
285
|
+
// Allow adding dynamic modules.
|
286
|
+
if (Formio.config.modules) {
|
287
|
+
for (const name in Formio.config.modules) {
|
288
|
+
const lib = Formio.config.modules[name];
|
289
|
+
lib.use = lib.use || true;
|
290
|
+
await Formio.addLibrary(wrapper, lib, name);
|
291
|
+
}
|
265
292
|
}
|
266
293
|
await Formio.addStyles(wrapper, Formio.formioScript(Formio.config.style || `${Formio.cdn.js}/${renderer}.css`, builder));
|
267
294
|
if (Formio.config.before) {
|
@@ -271,49 +298,54 @@ class Formio {
|
|
271
298
|
Formio._formioReady(Formio.FormioClass);
|
272
299
|
return wrapper;
|
273
300
|
}
|
301
|
+
// Called after an instance has been created.
|
302
|
+
static async afterCreate(instance, wrapper, readyEvent) {
|
303
|
+
wrapper.removeChild(wrapper.querySelector('.formio-loader'));
|
304
|
+
Formio.FormioClass.events.emit(readyEvent, instance);
|
305
|
+
if (Formio.config.after) {
|
306
|
+
Formio.debug('Calling ready callback');
|
307
|
+
Formio.config.after(instance, Formio.config);
|
308
|
+
}
|
309
|
+
return instance;
|
310
|
+
}
|
311
|
+
// Create a new form.
|
274
312
|
static async createForm(element, form, options = {}) {
|
275
313
|
const wrapper = await Formio.init(element, options);
|
276
314
|
return Formio.FormioClass.createForm(element, form, {
|
277
315
|
...options,
|
278
316
|
...{ noLoader: true }
|
279
317
|
}).then((instance) => {
|
280
|
-
Formio.debug('Form created', instance);
|
281
|
-
// Remove the loader.
|
282
|
-
Formio.debug('Removing loader');
|
283
|
-
wrapper.removeChild(wrapper.querySelector('.formio-loader'));
|
284
318
|
// Set the default submission data.
|
285
319
|
if (Formio.config.submission) {
|
286
320
|
Formio.debug('Setting submission', Formio.config.submission);
|
287
321
|
instance.submission = Formio.config.submission;
|
288
322
|
}
|
289
|
-
//
|
290
|
-
Formio.
|
291
|
-
Formio.FormioClass.events.emit('formEmbedded', instance);
|
292
|
-
// Trigger the after handler.
|
293
|
-
if (Formio.config.after) {
|
294
|
-
Formio.debug('Calling ready callback');
|
295
|
-
Formio.config.after(instance, Formio.config);
|
296
|
-
}
|
323
|
+
// Call the after create method.
|
324
|
+
Formio.afterCreate(instance, wrapper, 'formEmbedded');
|
297
325
|
return instance;
|
298
326
|
});
|
299
327
|
}
|
328
|
+
// Create a form builder.
|
300
329
|
static async builder(element, form, options = {}) {
|
301
330
|
const wrapper = await Formio.init(element, options, true);
|
302
331
|
return Formio.FormioClass.builder(element, form, options).then((instance) => {
|
303
|
-
Formio.
|
304
|
-
Formio.debug('Removing loader');
|
305
|
-
wrapper.removeChild(wrapper.querySelector('.formio-loader'));
|
306
|
-
Formio.debug('Triggering embed event');
|
307
|
-
Formio.FormioClass.events.emit('builderEmbedded', instance);
|
308
|
-
if (Formio.config.after) {
|
309
|
-
Formio.debug('Calling ready callback');
|
310
|
-
Formio.config.after(instance, Formio.config);
|
311
|
-
}
|
332
|
+
Formio.afterCreate(instance, wrapper, 'builderEmbedded');
|
312
333
|
return instance;
|
313
334
|
});
|
314
335
|
}
|
336
|
+
// Create a report.
|
337
|
+
static Report = {
|
338
|
+
create: async (element, submission, options = {}) => {
|
339
|
+
const wrapper = await Formio.init(element, options, true);
|
340
|
+
return Formio.FormioClass.Report.create(element, submission, options).then((instance) => {
|
341
|
+
Formio.afterCreate(instance, wrapper, 'reportEmbedded');
|
342
|
+
return instance;
|
343
|
+
});
|
344
|
+
}
|
345
|
+
};
|
315
346
|
}
|
316
347
|
export { Formio };
|
348
|
+
CDN.defaultCDN = Formio.version.includes('rc') ? 'https://cdn.test-form.io' : 'https://cdn.form.io';
|
317
349
|
export class Form {
|
318
350
|
constructor(element, form, options) {
|
319
351
|
this.form = form;
|
package/lib/mjs/Formio.js
CHANGED
@@ -1,12 +1,13 @@
|
|
1
|
-
import { Formio } from '@formio/core/sdk';
|
1
|
+
import { Formio as FormioCore } from '@formio/core/sdk';
|
2
2
|
import { Formio as FormioEmbed } from './Embed';
|
3
3
|
import CDN from './CDN';
|
4
4
|
import Providers from './providers';
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
FormioCore.cdn = new CDN();
|
6
|
+
FormioCore.Providers = Providers;
|
7
|
+
FormioCore.version = 'FORMIO_VERSION';
|
8
|
+
CDN.defaultCDN = FormioCore.version.includes('rc') ? 'https://cdn.test-form.io' : 'https://cdn.form.io';
|
8
9
|
const isNil = (val) => val === null || val === undefined;
|
9
|
-
|
10
|
+
FormioCore.prototype.uploadFile = function (storage, file, fileName, dir, progressCallback, url, options, fileKey, groupPermissions, groupId, uploadStartCallback, abortCallback, multipartOptions) {
|
10
11
|
const requestArgs = {
|
11
12
|
provider: storage,
|
12
13
|
method: 'upload',
|
@@ -15,9 +16,9 @@ Formio.prototype.uploadFile = function (storage, file, fileName, dir, progressCa
|
|
15
16
|
dir: dir
|
16
17
|
};
|
17
18
|
fileKey = fileKey || 'file';
|
18
|
-
const request =
|
19
|
+
const request = FormioCore.pluginWait('preRequest', requestArgs)
|
19
20
|
.then(() => {
|
20
|
-
return
|
21
|
+
return FormioCore.pluginGet('fileRequest', requestArgs)
|
21
22
|
.then((result) => {
|
22
23
|
if (storage && isNil(result)) {
|
23
24
|
const Provider = Providers.getProvider('storage', storage);
|
@@ -35,16 +36,16 @@ Formio.prototype.uploadFile = function (storage, file, fileName, dir, progressCa
|
|
35
36
|
return result || { url: '' };
|
36
37
|
});
|
37
38
|
});
|
38
|
-
return
|
39
|
+
return FormioCore.pluginAlter('wrapFileRequestPromise', request, requestArgs);
|
39
40
|
};
|
40
|
-
|
41
|
+
FormioCore.prototype.downloadFile = function (file, options) {
|
41
42
|
const requestArgs = {
|
42
43
|
method: 'download',
|
43
44
|
file: file
|
44
45
|
};
|
45
|
-
const request =
|
46
|
+
const request = FormioCore.pluginWait('preRequest', requestArgs)
|
46
47
|
.then(() => {
|
47
|
-
return
|
48
|
+
return FormioCore.pluginGet('fileRequest', requestArgs)
|
48
49
|
.then((result) => {
|
49
50
|
if (file.storage && isNil(result)) {
|
50
51
|
const Provider = Providers.getProvider('storage', file.storage);
|
@@ -59,16 +60,16 @@ Formio.prototype.downloadFile = function (file, options) {
|
|
59
60
|
return result || { url: '' };
|
60
61
|
});
|
61
62
|
});
|
62
|
-
return
|
63
|
+
return FormioCore.pluginAlter('wrapFileRequestPromise', request, requestArgs);
|
63
64
|
};
|
64
|
-
|
65
|
+
FormioCore.prototype.deleteFile = function (file, options) {
|
65
66
|
const requestArgs = {
|
66
67
|
method: 'delete',
|
67
68
|
file: file
|
68
69
|
};
|
69
|
-
const request =
|
70
|
+
const request = FormioCore.pluginWait('preRequest', requestArgs)
|
70
71
|
.then(() => {
|
71
|
-
return
|
72
|
+
return FormioCore.pluginGet('fileRequest', requestArgs)
|
72
73
|
.then((result) => {
|
73
74
|
if (file.storage && isNil(result)) {
|
74
75
|
const Provider = Providers.getProvider('storage', file.storage);
|
@@ -83,15 +84,24 @@ Formio.prototype.deleteFile = function (file, options) {
|
|
83
84
|
return result || { url: '' };
|
84
85
|
});
|
85
86
|
});
|
86
|
-
return
|
87
|
+
return FormioCore.pluginAlter('wrapFileRequestPromise', request, requestArgs);
|
87
88
|
};
|
89
|
+
// Esnure we proxy the following methods to the FormioEmbed class.
|
90
|
+
['setBaseUrl', 'setApiUrl', 'setAppUrl', 'setProjectUrl', 'setPathType', 'setLicense'].forEach((fn) => {
|
91
|
+
const baseFn = FormioCore[fn];
|
92
|
+
FormioCore[fn] = function (arg) {
|
93
|
+
const retVal = FormioEmbed[fn](arg, true);
|
94
|
+
return baseFn ? baseFn.call(this, arg) : retVal;
|
95
|
+
};
|
96
|
+
});
|
88
97
|
// For reverse compatability.
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
+
FormioCore.Promise = Promise;
|
99
|
+
FormioCore.formioReady = FormioEmbed.formioReady;
|
100
|
+
FormioCore.config = FormioEmbed.config;
|
101
|
+
FormioCore.builder = FormioEmbed.builder;
|
102
|
+
FormioCore.Report = FormioEmbed.Report;
|
103
|
+
FormioCore.Form = FormioEmbed.Form;
|
104
|
+
FormioCore.FormBuilder = FormioEmbed.FormBuilder;
|
105
|
+
FormioCore.use = FormioEmbed.use;
|
106
|
+
FormioCore.createForm = FormioEmbed.createForm;
|
107
|
+
export { FormioCore as Formio };
|
package/lib/mjs/Wizard.js
CHANGED
@@ -777,23 +777,22 @@ export default class Wizard extends Webform {
|
|
777
777
|
}
|
778
778
|
}
|
779
779
|
setValue(submission, flags = {}, ignoreEstablishment) {
|
780
|
-
|
781
|
-
|
782
|
-
}, false);
|
783
|
-
if (!flags.sanitize ||
|
780
|
+
this._submission = submission;
|
781
|
+
if ((flags && flags.fromSubmission && (this.options.readOnly || this.editMode) && !this.isHtmlRenderMode()) ||
|
784
782
|
(flags && flags.fromSubmission && (this.prefixComps.length || this.suffixComps.length) && submission._id) ||
|
785
783
|
(this.options.server && (this.prefixComps.length || this.suffixComps.length))) {
|
786
|
-
this.
|
784
|
+
this._data = submission.data;
|
785
|
+
}
|
786
|
+
if (!ignoreEstablishment) {
|
787
|
+
this.establishPages(submission.data);
|
787
788
|
}
|
789
|
+
const changed = this.getPages({ all: true }).reduce((changed, page) => {
|
790
|
+
return this.setNestedValue(page, submission.data, flags, changed) || changed;
|
791
|
+
}, false);
|
788
792
|
if (changed) {
|
789
793
|
this.pageFieldLogic(this.page);
|
790
794
|
}
|
791
795
|
this.setEditMode(submission);
|
792
|
-
submission.data = this.data;
|
793
|
-
this._submission = submission;
|
794
|
-
if (!ignoreEstablishment) {
|
795
|
-
this.establishPages(submission.data);
|
796
|
-
}
|
797
796
|
return changed;
|
798
797
|
}
|
799
798
|
isClickable(page, index) {
|
@@ -1030,7 +1030,7 @@ export default class Component extends Element {
|
|
1030
1030
|
placement: 'right',
|
1031
1031
|
zIndex: 10000,
|
1032
1032
|
interactive: true,
|
1033
|
-
content: this.t(tooltipText, { _userInput: true }),
|
1033
|
+
content: this.t(this.sanitize(tooltipText), { _userInput: true }),
|
1034
1034
|
});
|
1035
1035
|
}
|
1036
1036
|
});
|
@@ -2903,8 +2903,6 @@ export default class Component extends Element {
|
|
2903
2903
|
const rules = [
|
2904
2904
|
// Do not validate if the flags say not too.
|
2905
2905
|
() => flags.noValidate,
|
2906
|
-
// Do not check custom validation for empty data if it is not required
|
2907
|
-
() => this.component.validate.custom && !this.dataValue && !this.component.validate.required,
|
2908
2906
|
// Force valid if component is read-only
|
2909
2907
|
() => this.options.readOnly,
|
2910
2908
|
// Do not check validations if component is not an input component.
|
@@ -0,0 +1,24 @@
|
|
1
|
+
export default {
|
2
|
+
type: 'form',
|
3
|
+
display: 'form',
|
4
|
+
components: [
|
5
|
+
{
|
6
|
+
label: 'Text Field',
|
7
|
+
description: "<img <img src='https://somesite' onerror='var _ee = 2' >",
|
8
|
+
tooltip: "<img src='https://somesite' onerror='var _ee = 1 >",
|
9
|
+
applyMaskOn: 'change',
|
10
|
+
tableView: true,
|
11
|
+
key: 'textField',
|
12
|
+
type: 'textfield',
|
13
|
+
input: true
|
14
|
+
},
|
15
|
+
{
|
16
|
+
type: 'button',
|
17
|
+
label: 'Submit',
|
18
|
+
key: 'submit',
|
19
|
+
disableOnInvalid: true,
|
20
|
+
input: true,
|
21
|
+
tableView: false
|
22
|
+
}
|
23
|
+
],
|
24
|
+
};
|
@@ -84,24 +84,6 @@ export default [
|
|
84
84
|
key: 'width',
|
85
85
|
defaultValue: 6,
|
86
86
|
label: 'Width'
|
87
|
-
},
|
88
|
-
{
|
89
|
-
type: 'number',
|
90
|
-
key: 'offset',
|
91
|
-
defaultValue: 0,
|
92
|
-
label: 'Offset'
|
93
|
-
},
|
94
|
-
{
|
95
|
-
type: 'number',
|
96
|
-
key: 'push',
|
97
|
-
defaultValue: 0,
|
98
|
-
label: 'Push'
|
99
|
-
},
|
100
|
-
{
|
101
|
-
type: 'number',
|
102
|
-
key: 'pull',
|
103
|
-
defaultValue: 0,
|
104
|
-
label: 'Pull'
|
105
87
|
}
|
106
88
|
]
|
107
89
|
},
|
@@ -688,6 +688,22 @@ export default class FileComponent extends Field {
|
|
688
688
|
}
|
689
689
|
}
|
690
690
|
}
|
691
|
+
// Prep for a potential multipart upload
|
692
|
+
let count = 0;
|
693
|
+
const multipartOptions = this.component.useMultipartUpload && this.component.multipart ? {
|
694
|
+
...this.component.multipart,
|
695
|
+
progressCallback: (total) => {
|
696
|
+
count++;
|
697
|
+
fileUpload.status = 'progress';
|
698
|
+
fileUpload.progress = parseInt(100 * count / total);
|
699
|
+
delete fileUpload.message;
|
700
|
+
this.redraw();
|
701
|
+
},
|
702
|
+
changeMessage: (message) => {
|
703
|
+
fileUpload.message = message;
|
704
|
+
this.redraw();
|
705
|
+
},
|
706
|
+
} : false;
|
691
707
|
fileUpload.message = this.t('Starting upload...');
|
692
708
|
this.redraw();
|
693
709
|
const filePromise = fileService.uploadFile(storage, processedFile || file, fileName, dir,
|
@@ -701,7 +717,7 @@ export default class FileComponent extends Field {
|
|
701
717
|
// Upload start callback
|
702
718
|
() => {
|
703
719
|
this.emit('fileUploadingStart', filePromise);
|
704
|
-
}, (abort) => fileUpload.abort = abort).then((fileInfo) => {
|
720
|
+
}, (abort) => fileUpload.abort = abort, multipartOptions).then((fileInfo) => {
|
705
721
|
const index = this.statuses.indexOf(fileUpload);
|
706
722
|
if (index !== -1) {
|
707
723
|
this.statuses.splice(index, 1);
|
@@ -20,6 +20,46 @@ export default [
|
|
20
20
|
}
|
21
21
|
}
|
22
22
|
},
|
23
|
+
{
|
24
|
+
type: 'checkbox',
|
25
|
+
input: true,
|
26
|
+
key: 'useMultipartUpload',
|
27
|
+
label: 'Use the S3 Multipart Upload API',
|
28
|
+
tooltip: "The <a href='https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html'>S3 Multipart Upload API</a> is designed to improve the upload experience for larger objects (> 5GB).",
|
29
|
+
conditional: {
|
30
|
+
json: { '===': [{ var: 'data.storage' }, 's3'] }
|
31
|
+
},
|
32
|
+
},
|
33
|
+
{
|
34
|
+
label: 'Multipart Upload',
|
35
|
+
tableView: false,
|
36
|
+
key: 'multipart',
|
37
|
+
type: 'container',
|
38
|
+
input: true,
|
39
|
+
components: [
|
40
|
+
{
|
41
|
+
label: 'Part Size (MB)',
|
42
|
+
applyMaskOn: 'change',
|
43
|
+
mask: false,
|
44
|
+
tableView: false,
|
45
|
+
delimiter: false,
|
46
|
+
requireDecimal: false,
|
47
|
+
inputFormat: 'plain',
|
48
|
+
truncateMultipleSpaces: false,
|
49
|
+
validate: {
|
50
|
+
min: 5,
|
51
|
+
max: 5000,
|
52
|
+
},
|
53
|
+
key: 'partSize',
|
54
|
+
type: 'number',
|
55
|
+
input: true,
|
56
|
+
defaultValue: 500,
|
57
|
+
},
|
58
|
+
],
|
59
|
+
conditional: {
|
60
|
+
json: { '===': [{ var: 'data.useMultipartUpload' }, true] }
|
61
|
+
},
|
62
|
+
},
|
23
63
|
{
|
24
64
|
type: 'textfield',
|
25
65
|
input: true,
|
@@ -347,8 +347,10 @@ export default class SelectComponent extends ListComponent {
|
|
347
347
|
}
|
348
348
|
}
|
349
349
|
// Allow js processing (needed for form builder)
|
350
|
-
if (this.component.onSetItems
|
351
|
-
const newItems = this.component.onSetItems
|
350
|
+
if (this.component.onSetItems) {
|
351
|
+
const newItems = typeof this.component.onSetItems === 'function'
|
352
|
+
? this.component.onSetItems(this, items)
|
353
|
+
: this.evaluate(this.component.onSetItems, { items: items }, 'items');
|
352
354
|
if (newItems) {
|
353
355
|
items = newItems;
|
354
356
|
}
|
@@ -805,7 +807,9 @@ export default class SelectComponent extends ListComponent {
|
|
805
807
|
this.setItems(this.selectOptions || []);
|
806
808
|
}
|
807
809
|
this.focusableElement = input;
|
808
|
-
this.
|
810
|
+
if (this.component.dataSrc === 'custom') {
|
811
|
+
this.addEventListener(input, 'focus', () => this.updateCustomItems());
|
812
|
+
}
|
809
813
|
this.addEventListener(input, 'keydown', (event) => {
|
810
814
|
const { key } = event;
|
811
815
|
if (['Backspace', 'Delete'].includes(key)) {
|
package/lib/mjs/formio.form.js
CHANGED
@@ -37,7 +37,9 @@ Formio.Components.setComponents(AllComponents);
|
|
37
37
|
* @returns
|
38
38
|
*/
|
39
39
|
export function registerModule(mod, defaultFn = null, options = {}) {
|
40
|
-
|
40
|
+
if (typeof mod === 'function') {
|
41
|
+
return registerModule(mod(Formio), defaultFn, options);
|
42
|
+
}
|
41
43
|
if (typeof mod !== 'object') {
|
42
44
|
return;
|
43
45
|
}
|
@@ -1,25 +1,27 @@
|
|
1
1
|
import XHR from './xhr';
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
}
|
2
|
+
function azure(formio) {
|
3
|
+
return {
|
4
|
+
uploadFile(file, fileName, dir, progressCallback, url, options, fileKey, groupPermissions, groupId, abortCallback) {
|
5
|
+
return XHR.upload(formio, 'azure', (xhr, response) => {
|
6
|
+
xhr.openAndSetHeaders('PUT', response.url);
|
7
|
+
xhr.setRequestHeader('Content-Type', file.type);
|
8
|
+
xhr.setRequestHeader('x-ms-blob-type', 'BlockBlob');
|
9
|
+
return file;
|
10
|
+
}, file, fileName, dir, progressCallback, groupPermissions, groupId, abortCallback).then(() => {
|
11
|
+
return {
|
12
|
+
storage: 'azure',
|
13
|
+
name: XHR.path([dir, fileName]),
|
14
|
+
size: file.size,
|
15
|
+
type: file.type,
|
16
|
+
groupPermissions,
|
17
|
+
groupId,
|
18
|
+
};
|
19
|
+
});
|
20
|
+
},
|
21
|
+
downloadFile(file) {
|
22
|
+
return formio.makeRequest('file', `${formio.formUrl}/storage/azure?name=${XHR.trim(file.name)}`, 'GET');
|
23
|
+
}
|
24
|
+
};
|
25
|
+
}
|
24
26
|
azure.title = 'Azure File Services';
|
25
27
|
export default azure;
|