@formio/js 5.0.0-rc.27 → 5.0.0-rc.27-dev.5543.40bb827
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +9 -7
- package/types/formio.d.ts +2 -0
- package/dist/fonts/bootstrap-icons.woff +0 -0
- package/dist/fonts/bootstrap-icons.woff2 +0 -0
- package/dist/formio.builder.css +0 -2299
- package/dist/formio.builder.min.css +0 -1
- package/dist/formio.embed.css +0 -1
- package/dist/formio.embed.js +0 -2
- package/dist/formio.embed.min.css +0 -1
- package/dist/formio.embed.min.js +0 -2
- package/dist/formio.embed.min.js.LICENSE.txt +0 -1
- package/dist/formio.form.css +0 -2034
- package/dist/formio.form.js +0 -8273
- package/dist/formio.form.min.css +0 -1
- package/dist/formio.form.min.js +0 -2
- package/dist/formio.form.min.js.LICENSE.txt +0 -43
- package/dist/formio.full.css +0 -3941
- package/dist/formio.full.js +0 -10280
- package/dist/formio.full.min.css +0 -5
- package/dist/formio.full.min.js +0 -2
- package/dist/formio.full.min.js.LICENSE.txt +0 -43
- package/dist/formio.js +0 -2809
- package/dist/formio.min.js +0 -2
- package/dist/formio.min.js.LICENSE.txt +0 -12
- package/dist/formio.utils.js +0 -2310
- package/dist/formio.utils.min.js +0 -2
- package/dist/formio.utils.min.js.LICENSE.txt +0 -36
- package/lib/cjs/CDN.d.ts +0 -29
- package/lib/cjs/CDN.js +0 -77
- package/lib/cjs/Element.d.ts +0 -255
- package/lib/cjs/Element.js +0 -603
- package/lib/cjs/Embed.d.ts +0 -43
- package/lib/cjs/Embed.js +0 -325
- package/lib/cjs/EventEmitter.d.ts +0 -7
- package/lib/cjs/EventEmitter.js +0 -52
- package/lib/cjs/Form.d.ts +0 -93
- package/lib/cjs/Form.js +0 -379
- package/lib/cjs/FormBuilder.d.ts +0 -6
- package/lib/cjs/FormBuilder.js +0 -39
- package/lib/cjs/Formio.d.ts +0 -2
- package/lib/cjs/Formio.js +0 -95
- package/lib/cjs/PDF.d.ts +0 -40
- package/lib/cjs/PDF.js +0 -291
- package/lib/cjs/PDFBuilder.d.ts +0 -55
- package/lib/cjs/PDFBuilder.js +0 -480
- package/lib/cjs/Webform.d.ts +0 -405
- package/lib/cjs/Webform.js +0 -1436
- package/lib/cjs/WebformBuilder.d.ts +0 -126
- package/lib/cjs/WebformBuilder.js +0 -1578
- package/lib/cjs/Wizard.d.ts +0 -96
- package/lib/cjs/Wizard.js +0 -916
- package/lib/cjs/WizardBuilder.d.ts +0 -48
- package/lib/cjs/WizardBuilder.js +0 -269
- package/lib/cjs/addons/FormioAddon.d.ts +0 -19
- package/lib/cjs/addons/FormioAddon.js +0 -36
- package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +0 -717
- package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.form.d.ts +0 -590
- package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.form.js +0 -316
- package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.js +0 -397
- package/lib/cjs/addons/index.d.ts +0 -625
- package/lib/cjs/addons/index.js +0 -25
- package/lib/cjs/builders/Builders.d.ts +0 -18
- package/lib/cjs/builders/Builders.js +0 -29
- package/lib/cjs/builders/index.d.ts +0 -2
- package/lib/cjs/builders/index.js +0 -7
- package/lib/cjs/components/Components.d.ts +0 -258
- package/lib/cjs/components/Components.js +0 -80
- package/lib/cjs/components/_classes/component/Component.d.ts +0 -798
- package/lib/cjs/components/_classes/component/Component.form.d.ts +0 -3
- package/lib/cjs/components/_classes/component/Component.form.js +0 -77
- package/lib/cjs/components/_classes/component/Component.js +0 -3200
- package/lib/cjs/components/_classes/component/editForm/Component.edit.addons.d.ts +0 -645
- package/lib/cjs/components/_classes/component/editForm/Component.edit.addons.js +0 -46
- package/lib/cjs/components/_classes/component/editForm/Component.edit.api.d.ts +0 -42
- package/lib/cjs/components/_classes/component/editForm/Component.edit.api.js +0 -40
- package/lib/cjs/components/_classes/component/editForm/Component.edit.conditional.d.ts +0 -113
- package/lib/cjs/components/_classes/component/editForm/Component.edit.conditional.js +0 -55
- package/lib/cjs/components/_classes/component/editForm/Component.edit.data.d.ts +0 -219
- package/lib/cjs/components/_classes/component/editForm/Component.edit.data.js +0 -161
- package/lib/cjs/components/_classes/component/editForm/Component.edit.display.d.ts +0 -160
- package/lib/cjs/components/_classes/component/editForm/Component.edit.display.js +0 -202
- package/lib/cjs/components/_classes/component/editForm/Component.edit.layout.d.ts +0 -44
- package/lib/cjs/components/_classes/component/editForm/Component.edit.layout.js +0 -79
- package/lib/cjs/components/_classes/component/editForm/Component.edit.logic.d.ts +0 -368
- package/lib/cjs/components/_classes/component/editForm/Component.edit.logic.js +0 -415
- package/lib/cjs/components/_classes/component/editForm/Component.edit.validation.d.ts +0 -140
- package/lib/cjs/components/_classes/component/editForm/Component.edit.validation.js +0 -209
- package/lib/cjs/components/_classes/component/editForm/utils.d.ts +0 -83
- package/lib/cjs/components/_classes/component/editForm/utils.js +0 -137
- package/lib/cjs/components/_classes/component/fixtures/comp1.d.ts +0 -33
- package/lib/cjs/components/_classes/component/fixtures/comp1.js +0 -33
- package/lib/cjs/components/_classes/component/fixtures/comp2.d.ts +0 -33
- package/lib/cjs/components/_classes/component/fixtures/comp2.js +0 -33
- package/lib/cjs/components/_classes/component/fixtures/comp3.d.ts +0 -14
- package/lib/cjs/components/_classes/component/fixtures/comp3.js +0 -14
- package/lib/cjs/components/_classes/component/fixtures/comp4.d.ts +0 -17
- package/lib/cjs/components/_classes/component/fixtures/comp4.js +0 -18
- package/lib/cjs/components/_classes/component/fixtures/index.d.ts +0 -5
- package/lib/cjs/components/_classes/component/fixtures/index.js +0 -14
- package/lib/cjs/components/_classes/componentModal/ComponentModal.d.ts +0 -46
- package/lib/cjs/components/_classes/componentModal/ComponentModal.js +0 -183
- package/lib/cjs/components/_classes/field/Field.d.ts +0 -5
- package/lib/cjs/components/_classes/field/Field.js +0 -37
- package/lib/cjs/components/_classes/input/Input.d.ts +0 -42
- package/lib/cjs/components/_classes/input/Input.js +0 -303
- 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/ListComponent.form.js +0 -16
- package/lib/cjs/components/_classes/list/ListComponent.js +0 -255
- package/lib/cjs/components/_classes/list/editForm/ListComponent.edit.data.d.ts +0 -183
- package/lib/cjs/components/_classes/list/editForm/ListComponent.edit.data.js +0 -119
- package/lib/cjs/components/_classes/multivalue/Multivalue.d.ts +0 -29
- package/lib/cjs/components/_classes/multivalue/Multivalue.js +0 -255
- package/lib/cjs/components/_classes/nested/NestedComponent.d.ts +0 -133
- package/lib/cjs/components/_classes/nested/NestedComponent.form.d.ts +0 -3
- package/lib/cjs/components/_classes/nested/NestedComponent.form.js +0 -19
- package/lib/cjs/components/_classes/nested/NestedComponent.js +0 -692
- package/lib/cjs/components/_classes/nested/fixtures/comp1.d.ts +0 -8
- package/lib/cjs/components/_classes/nested/fixtures/comp1.js +0 -16
- package/lib/cjs/components/_classes/nested/fixtures/comp2.d.ts +0 -236
- package/lib/cjs/components/_classes/nested/fixtures/comp2.js +0 -227
- package/lib/cjs/components/_classes/nested/fixtures/comp3.d.ts +0 -26
- package/lib/cjs/components/_classes/nested/fixtures/comp3.js +0 -29
- package/lib/cjs/components/_classes/nested/fixtures/index.d.ts +0 -3
- package/lib/cjs/components/_classes/nested/fixtures/index.js +0 -12
- package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +0 -15
- package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.js +0 -184
- package/lib/cjs/components/_classes/nesteddata/NestedDataComponent.d.ts +0 -12
- package/lib/cjs/components/_classes/nesteddata/NestedDataComponent.js +0 -127
- 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/Address.form.js +0 -28
- package/lib/cjs/components/address/Address.js +0 -552
- package/lib/cjs/components/address/editForm/Address.edit.data.d.ts +0 -31
- package/lib/cjs/components/address/editForm/Address.edit.data.js +0 -23
- package/lib/cjs/components/address/editForm/Address.edit.display.d.ts +0 -49
- package/lib/cjs/components/address/editForm/Address.edit.display.js +0 -44
- package/lib/cjs/components/address/editForm/Address.edit.provider.d.ts +0 -164
- package/lib/cjs/components/address/editForm/Address.edit.provider.js +0 -156
- package/lib/cjs/components/address/fixtures/comp1.d.ts +0 -34
- package/lib/cjs/components/address/fixtures/comp1.js +0 -71
- package/lib/cjs/components/address/fixtures/comp2.d.ts +0 -62
- package/lib/cjs/components/address/fixtures/comp2.js +0 -103
- package/lib/cjs/components/address/fixtures/comp3.d.ts +0 -44
- package/lib/cjs/components/address/fixtures/comp3.js +0 -85
- package/lib/cjs/components/address/fixtures/comp4.d.ts +0 -56
- package/lib/cjs/components/address/fixtures/comp4.js +0 -93
- package/lib/cjs/components/address/fixtures/index.d.ts +0 -5
- package/lib/cjs/components/address/fixtures/index.js +0 -14
- package/lib/cjs/components/address/fixtures/values.d.ts +0 -22
- package/lib/cjs/components/address/fixtures/values.js +0 -19
- package/lib/cjs/components/alert/Alert.d.ts +0 -30
- package/lib/cjs/components/alert/Alert.js +0 -183
- package/lib/cjs/components/builder.d.ts +0 -2
- package/lib/cjs/components/builder.js +0 -91
- 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/Button.form.js +0 -24
- package/lib/cjs/components/button/Button.js +0 -467
- package/lib/cjs/components/button/editForm/Button.edit.display.d.ts +0 -360
- package/lib/cjs/components/button/editForm/Button.edit.display.js +0 -253
- package/lib/cjs/components/button/fixtures/comp1.d.ts +0 -15
- package/lib/cjs/components/button/fixtures/comp1.js +0 -16
- package/lib/cjs/components/button/fixtures/comp2.d.ts +0 -25
- package/lib/cjs/components/button/fixtures/comp2.js +0 -57
- package/lib/cjs/components/button/fixtures/comp3.d.ts +0 -113
- package/lib/cjs/components/button/fixtures/comp3.js +0 -84
- package/lib/cjs/components/button/fixtures/index.d.ts +0 -4
- package/lib/cjs/components/button/fixtures/index.js +0 -12
- package/lib/cjs/components/button/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/button/fixtures/values.js +0 -6
- 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/Checkbox.form.js +0 -26
- package/lib/cjs/components/checkbox/Checkbox.js +0 -221
- package/lib/cjs/components/checkbox/editForm/Checkbox.edit.data.d.ts +0 -5
- package/lib/cjs/components/checkbox/editForm/Checkbox.edit.data.js +0 -8
- package/lib/cjs/components/checkbox/editForm/Checkbox.edit.display.d.ts +0 -75
- package/lib/cjs/components/checkbox/editForm/Checkbox.edit.display.js +0 -79
- package/lib/cjs/components/checkbox/editForm/Checkbox.edit.validation.d.ts +0 -5
- package/lib/cjs/components/checkbox/editForm/Checkbox.edit.validation.js +0 -12
- package/lib/cjs/components/checkbox/fixtures/comp1.d.ts +0 -24
- package/lib/cjs/components/checkbox/fixtures/comp1.js +0 -24
- package/lib/cjs/components/checkbox/fixtures/comp2.d.ts +0 -12
- package/lib/cjs/components/checkbox/fixtures/comp2.js +0 -13
- package/lib/cjs/components/checkbox/fixtures/comp3.d.ts +0 -15
- package/lib/cjs/components/checkbox/fixtures/comp3.js +0 -16
- package/lib/cjs/components/checkbox/fixtures/comp4.d.ts +0 -46
- package/lib/cjs/components/checkbox/fixtures/comp4.js +0 -39
- package/lib/cjs/components/checkbox/fixtures/customDefaultComponent.d.ts +0 -25
- package/lib/cjs/components/checkbox/fixtures/customDefaultComponent.js +0 -25
- package/lib/cjs/components/checkbox/fixtures/index.d.ts +0 -6
- package/lib/cjs/components/checkbox/fixtures/index.js +0 -16
- package/lib/cjs/components/checkbox/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/checkbox/fixtures/values.js +0 -6
- package/lib/cjs/components/columns/Columns.d.ts +0 -27
- package/lib/cjs/components/columns/Columns.form.d.ts +0 -3
- package/lib/cjs/components/columns/Columns.form.js +0 -16
- package/lib/cjs/components/columns/Columns.js +0 -160
- package/lib/cjs/components/columns/editForm/Columns.edit.display.d.ts +0 -58
- package/lib/cjs/components/columns/editForm/Columns.edit.display.js +0 -100
- package/lib/cjs/components/columns/fixtures/comp1.d.ts +0 -45
- package/lib/cjs/components/columns/fixtures/comp1.js +0 -85
- package/lib/cjs/components/columns/fixtures/comp2.d.ts +0 -24
- package/lib/cjs/components/columns/fixtures/comp2.js +0 -127
- package/lib/cjs/components/columns/fixtures/comp3.d.ts +0 -45
- package/lib/cjs/components/columns/fixtures/comp3.js +0 -53
- package/lib/cjs/components/columns/fixtures/index.d.ts +0 -4
- package/lib/cjs/components/columns/fixtures/index.js +0 -12
- package/lib/cjs/components/container/Container.d.ts +0 -15
- package/lib/cjs/components/container/Container.form.d.ts +0 -3
- package/lib/cjs/components/container/Container.form.js +0 -21
- package/lib/cjs/components/container/Container.js +0 -82
- package/lib/cjs/components/container/editForm/Container.edit.data.d.ts +0 -5
- package/lib/cjs/components/container/editForm/Container.edit.data.js +0 -16
- package/lib/cjs/components/container/editForm/Container.edit.display.d.ts +0 -5
- package/lib/cjs/components/container/editForm/Container.edit.display.js +0 -20
- package/lib/cjs/components/container/fixtures/comp1.d.ts +0 -49
- package/lib/cjs/components/container/fixtures/comp1.js +0 -82
- package/lib/cjs/components/container/fixtures/comp2.d.ts +0 -30
- package/lib/cjs/components/container/fixtures/comp2.js +0 -34
- package/lib/cjs/components/container/fixtures/comp3.d.ts +0 -77
- package/lib/cjs/components/container/fixtures/comp3.js +0 -57
- package/lib/cjs/components/container/fixtures/index.d.ts +0 -4
- package/lib/cjs/components/container/fixtures/index.js +0 -12
- package/lib/cjs/components/content/Content.d.ts +0 -17
- package/lib/cjs/components/content/Content.form.d.ts +0 -3
- package/lib/cjs/components/content/Content.form.js +0 -43
- package/lib/cjs/components/content/Content.js +0 -78
- package/lib/cjs/components/content/editForm/Content.edit.display.d.ts +0 -18
- package/lib/cjs/components/content/editForm/Content.edit.display.js +0 -48
- package/lib/cjs/components/content/editForm/Content.edit.logic.d.ts +0 -48
- package/lib/cjs/components/content/editForm/Content.edit.logic.js +0 -100
- package/lib/cjs/components/content/fixtures/comp1.d.ts +0 -13
- package/lib/cjs/components/content/fixtures/comp1.js +0 -14
- package/lib/cjs/components/content/fixtures/index.d.ts +0 -2
- package/lib/cjs/components/content/fixtures/index.js +0 -8
- 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/Currency.form.js +0 -46
- package/lib/cjs/components/currency/Currency.js +0 -180
- package/lib/cjs/components/currency/editForm/Currency.edit.data.d.ts +0 -29
- package/lib/cjs/components/currency/editForm/Currency.edit.data.js +0 -192
- package/lib/cjs/components/currency/editForm/Currency.edit.display.d.ts +0 -18
- package/lib/cjs/components/currency/editForm/Currency.edit.display.js +0 -40
- package/lib/cjs/components/currency/fixtures/comp1.d.ts +0 -31
- package/lib/cjs/components/currency/fixtures/comp1.js +0 -31
- package/lib/cjs/components/currency/fixtures/comp2.d.ts +0 -20
- package/lib/cjs/components/currency/fixtures/comp2.js +0 -20
- package/lib/cjs/components/currency/fixtures/comp3.d.ts +0 -13
- package/lib/cjs/components/currency/fixtures/comp3.js +0 -14
- package/lib/cjs/components/currency/fixtures/comp4.d.ts +0 -17
- package/lib/cjs/components/currency/fixtures/comp4.js +0 -20
- package/lib/cjs/components/currency/fixtures/index.d.ts +0 -5
- package/lib/cjs/components/currency/fixtures/index.js +0 -14
- package/lib/cjs/components/currency/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/currency/fixtures/values.js +0 -8
- package/lib/cjs/components/datagrid/DataGrid.d.ts +0 -88
- package/lib/cjs/components/datagrid/DataGrid.form.d.ts +0 -3
- package/lib/cjs/components/datagrid/DataGrid.form.js +0 -26
- package/lib/cjs/components/datagrid/DataGrid.js +0 -648
- package/lib/cjs/components/datagrid/editForm/DataGrid.edit.data.d.ts +0 -5
- package/lib/cjs/components/datagrid/editForm/DataGrid.edit.data.js +0 -8
- package/lib/cjs/components/datagrid/editForm/DataGrid.edit.display.d.ts +0 -283
- package/lib/cjs/components/datagrid/editForm/DataGrid.edit.display.js +0 -149
- package/lib/cjs/components/datagrid/editForm/DataGrid.edit.validation.d.ts +0 -20
- package/lib/cjs/components/datagrid/editForm/DataGrid.edit.validation.js +0 -26
- package/lib/cjs/components/datagrid/fixtures/comp-modal-with-required-fields.d.ts +0 -37
- package/lib/cjs/components/datagrid/fixtures/comp-modal-with-required-fields.js +0 -42
- package/lib/cjs/components/datagrid/fixtures/comp-on-blur-validation.d.ts +0 -0
- package/lib/cjs/components/datagrid/fixtures/comp-on-blur-validation.js +0 -1
- package/lib/cjs/components/datagrid/fixtures/comp-row-groups-with-def-value.d.ts +0 -63
- package/lib/cjs/components/datagrid/fixtures/comp-row-groups-with-def-value.js +0 -81
- package/lib/cjs/components/datagrid/fixtures/comp-with-collapsible-groups.d.ts +0 -76
- package/lib/cjs/components/datagrid/fixtures/comp-with-collapsible-groups.js +0 -75
- package/lib/cjs/components/datagrid/fixtures/comp-with-conditional-components-and-validations.d.ts +0 -197
- package/lib/cjs/components/datagrid/fixtures/comp-with-conditional-components-and-validations.js +0 -178
- package/lib/cjs/components/datagrid/fixtures/comp-with-def-value.d.ts +0 -61
- package/lib/cjs/components/datagrid/fixtures/comp-with-def-value.js +0 -69
- package/lib/cjs/components/datagrid/fixtures/comp-with-logic.d.ts +0 -165
- package/lib/cjs/components/datagrid/fixtures/comp-with-logic.js +0 -180
- package/lib/cjs/components/datagrid/fixtures/comp1.d.ts +0 -93
- package/lib/cjs/components/datagrid/fixtures/comp1.js +0 -115
- package/lib/cjs/components/datagrid/fixtures/comp2.d.ts +0 -18
- package/lib/cjs/components/datagrid/fixtures/comp2.js +0 -29
- package/lib/cjs/components/datagrid/fixtures/comp3.d.ts +0 -14
- package/lib/cjs/components/datagrid/fixtures/comp3.js +0 -23
- package/lib/cjs/components/datagrid/fixtures/comp4.d.ts +0 -27
- package/lib/cjs/components/datagrid/fixtures/comp4.js +0 -28
- package/lib/cjs/components/datagrid/fixtures/comp5.d.ts +0 -67
- package/lib/cjs/components/datagrid/fixtures/comp5.js +0 -77
- package/lib/cjs/components/datagrid/fixtures/comp6.d.ts +0 -567
- package/lib/cjs/components/datagrid/fixtures/comp6.js +0 -296
- package/lib/cjs/components/datagrid/fixtures/comp7.d.ts +0 -28
- package/lib/cjs/components/datagrid/fixtures/comp7.js +0 -35
- package/lib/cjs/components/datagrid/fixtures/comp8.d.ts +0 -35
- package/lib/cjs/components/datagrid/fixtures/comp8.js +0 -37
- package/lib/cjs/components/datagrid/fixtures/index.d.ts +0 -15
- package/lib/cjs/components/datagrid/fixtures/index.js +0 -34
- 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/DataMap.form.js +0 -21
- package/lib/cjs/components/datamap/DataMap.js +0 -301
- package/lib/cjs/components/datamap/editForm/DataMap.edit.data.d.ts +0 -5
- package/lib/cjs/components/datamap/editForm/DataMap.edit.data.js +0 -12
- package/lib/cjs/components/datamap/editForm/DataMap.edit.display.d.ts +0 -30
- package/lib/cjs/components/datamap/editForm/DataMap.edit.display.js +0 -48
- package/lib/cjs/components/datamap/fixtures/comp1.d.ts +0 -18
- package/lib/cjs/components/datamap/fixtures/comp1.js +0 -15
- package/lib/cjs/components/datamap/fixtures/formWithConditionalPanel.d.ts +0 -87
- package/lib/cjs/components/datamap/fixtures/formWithConditionalPanel.js +0 -85
- package/lib/cjs/components/datamap/fixtures/index.d.ts +0 -3
- package/lib/cjs/components/datamap/fixtures/index.js +0 -10
- 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/DateTime.form.js +0 -40
- package/lib/cjs/components/datetime/DateTime.js +0 -164
- package/lib/cjs/components/datetime/editForm/DateTime.edit.data.d.ts +0 -24
- package/lib/cjs/components/datetime/editForm/DateTime.edit.data.js +0 -23
- package/lib/cjs/components/datetime/editForm/DateTime.edit.date.d.ts +0 -61
- package/lib/cjs/components/datetime/editForm/DateTime.edit.date.js +0 -75
- package/lib/cjs/components/datetime/editForm/DateTime.edit.display.d.ts +0 -128
- package/lib/cjs/components/datetime/editForm/DateTime.edit.display.js +0 -100
- package/lib/cjs/components/datetime/editForm/DateTime.edit.time.d.ts +0 -9
- package/lib/cjs/components/datetime/editForm/DateTime.edit.time.js +0 -36
- package/lib/cjs/components/datetime/editForm/DateTime.edit.validation.d.ts +0 -40
- package/lib/cjs/components/datetime/editForm/DateTime.edit.validation.js +0 -84
- package/lib/cjs/components/datetime/fixtures/comp1.d.ts +0 -45
- package/lib/cjs/components/datetime/fixtures/comp1.js +0 -44
- package/lib/cjs/components/datetime/fixtures/comp10.d.ts +0 -102
- package/lib/cjs/components/datetime/fixtures/comp10.js +0 -86
- package/lib/cjs/components/datetime/fixtures/comp11.d.ts +0 -58
- package/lib/cjs/components/datetime/fixtures/comp11.js +0 -55
- package/lib/cjs/components/datetime/fixtures/comp12.d.ts +0 -57
- package/lib/cjs/components/datetime/fixtures/comp12.js +0 -55
- package/lib/cjs/components/datetime/fixtures/comp2.d.ts +0 -42
- package/lib/cjs/components/datetime/fixtures/comp2.js +0 -43
- package/lib/cjs/components/datetime/fixtures/comp3.d.ts +0 -51
- package/lib/cjs/components/datetime/fixtures/comp3.js +0 -40
- package/lib/cjs/components/datetime/fixtures/comp5.d.ts +0 -57
- package/lib/cjs/components/datetime/fixtures/comp5.js +0 -48
- package/lib/cjs/components/datetime/fixtures/comp6.d.ts +0 -55
- package/lib/cjs/components/datetime/fixtures/comp6.js +0 -49
- package/lib/cjs/components/datetime/fixtures/comp7.d.ts +0 -59
- package/lib/cjs/components/datetime/fixtures/comp7.js +0 -53
- package/lib/cjs/components/datetime/fixtures/comp8.d.ts +0 -59
- package/lib/cjs/components/datetime/fixtures/comp8.js +0 -52
- package/lib/cjs/components/datetime/fixtures/comp9.d.ts +0 -64
- package/lib/cjs/components/datetime/fixtures/comp9.js +0 -95
- package/lib/cjs/components/datetime/fixtures/index.d.ts +0 -12
- package/lib/cjs/components/datetime/fixtures/index.js +0 -28
- package/lib/cjs/components/datetime/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/datetime/fixtures/values.js +0 -6
- 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/Day.form.js +0 -47
- package/lib/cjs/components/day/Day.js +0 -573
- package/lib/cjs/components/day/editForm/Day.edit.data.d.ts +0 -5
- package/lib/cjs/components/day/editForm/Day.edit.data.js +0 -8
- package/lib/cjs/components/day/editForm/Day.edit.day.d.ts +0 -40
- package/lib/cjs/components/day/editForm/Day.edit.day.js +0 -48
- package/lib/cjs/components/day/editForm/Day.edit.display.d.ts +0 -40
- package/lib/cjs/components/day/editForm/Day.edit.display.js +0 -46
- package/lib/cjs/components/day/editForm/Day.edit.month.d.ts +0 -40
- package/lib/cjs/components/day/editForm/Day.edit.month.js +0 -40
- package/lib/cjs/components/day/editForm/Day.edit.validation.d.ts +0 -29
- package/lib/cjs/components/day/editForm/Day.edit.validation.js +0 -54
- package/lib/cjs/components/day/editForm/Day.edit.year.d.ts +0 -40
- package/lib/cjs/components/day/editForm/Day.edit.year.js +0 -58
- package/lib/cjs/components/day/fixtures/comp1.d.ts +0 -46
- package/lib/cjs/components/day/fixtures/comp1.js +0 -39
- package/lib/cjs/components/day/fixtures/comp2.d.ts +0 -46
- package/lib/cjs/components/day/fixtures/comp2.js +0 -39
- package/lib/cjs/components/day/fixtures/comp3.d.ts +0 -48
- package/lib/cjs/components/day/fixtures/comp3.js +0 -41
- package/lib/cjs/components/day/fixtures/comp4.d.ts +0 -53
- package/lib/cjs/components/day/fixtures/comp4.js +0 -56
- package/lib/cjs/components/day/fixtures/comp5.d.ts +0 -29
- package/lib/cjs/components/day/fixtures/comp5.js +0 -32
- package/lib/cjs/components/day/fixtures/comp6.d.ts +0 -81
- package/lib/cjs/components/day/fixtures/comp6.js +0 -76
- package/lib/cjs/components/day/fixtures/index.d.ts +0 -7
- package/lib/cjs/components/day/fixtures/index.js +0 -18
- package/lib/cjs/components/day/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/day/fixtures/values.js +0 -6
- package/lib/cjs/components/editgrid/EditGrid.d.ts +0 -99
- package/lib/cjs/components/editgrid/EditGrid.form.d.ts +0 -3
- package/lib/cjs/components/editgrid/EditGrid.form.js +0 -33
- package/lib/cjs/components/editgrid/EditGrid.js +0 -1167
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.data.d.ts +0 -18
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.data.js +0 -20
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.display.d.ts +0 -82
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.display.js +0 -58
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.templates.d.ts +0 -58
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.templates.js +0 -131
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.validation.d.ts +0 -29
- package/lib/cjs/components/editgrid/editForm/EditGrid.edit.validation.js +0 -34
- package/lib/cjs/components/editgrid/fixtures/comp-openWhenEmpty.d.ts +0 -34
- package/lib/cjs/components/editgrid/fixtures/comp-openWhenEmpty.js +0 -36
- package/lib/cjs/components/editgrid/fixtures/comp-with-basic-components.d.ts +0 -327
- package/lib/cjs/components/editgrid/fixtures/comp-with-basic-components.js +0 -220
- package/lib/cjs/components/editgrid/fixtures/comp-with-conditions-and-openWhenEmpty.d.ts +0 -77
- package/lib/cjs/components/editgrid/fixtures/comp-with-conditions-and-openWhenEmpty.js +0 -84
- package/lib/cjs/components/editgrid/fixtures/comp-with-custom-default-value.d.ts +0 -190
- package/lib/cjs/components/editgrid/fixtures/comp-with-custom-default-value.js +0 -227
- package/lib/cjs/components/editgrid/fixtures/comp1.d.ts +0 -89
- package/lib/cjs/components/editgrid/fixtures/comp1.js +0 -128
- package/lib/cjs/components/editgrid/fixtures/comp10.d.ts +0 -49
- package/lib/cjs/components/editgrid/fixtures/comp10.js +0 -48
- package/lib/cjs/components/editgrid/fixtures/comp11.d.ts +0 -53
- package/lib/cjs/components/editgrid/fixtures/comp11.js +0 -50
- package/lib/cjs/components/editgrid/fixtures/comp12.d.ts +0 -57
- package/lib/cjs/components/editgrid/fixtures/comp12.js +0 -50
- package/lib/cjs/components/editgrid/fixtures/comp13.d.ts +0 -64
- package/lib/cjs/components/editgrid/fixtures/comp13.js +0 -64
- package/lib/cjs/components/editgrid/fixtures/comp14.d.ts +0 -88
- package/lib/cjs/components/editgrid/fixtures/comp14.js +0 -84
- package/lib/cjs/components/editgrid/fixtures/comp15.d.ts +0 -54
- package/lib/cjs/components/editgrid/fixtures/comp15.js +0 -51
- package/lib/cjs/components/editgrid/fixtures/comp2.d.ts +0 -112
- package/lib/cjs/components/editgrid/fixtures/comp2.js +0 -114
- package/lib/cjs/components/editgrid/fixtures/comp3.d.ts +0 -27
- package/lib/cjs/components/editgrid/fixtures/comp3.js +0 -28
- package/lib/cjs/components/editgrid/fixtures/comp4.d.ts +0 -23
- package/lib/cjs/components/editgrid/fixtures/comp4.js +0 -24
- package/lib/cjs/components/editgrid/fixtures/comp5.d.ts +0 -19
- package/lib/cjs/components/editgrid/fixtures/comp5.js +0 -22
- package/lib/cjs/components/editgrid/fixtures/comp6.d.ts +0 -50
- package/lib/cjs/components/editgrid/fixtures/comp6.js +0 -58
- package/lib/cjs/components/editgrid/fixtures/comp7.d.ts +0 -129
- package/lib/cjs/components/editgrid/fixtures/comp7.js +0 -123
- package/lib/cjs/components/editgrid/fixtures/comp8.d.ts +0 -148
- package/lib/cjs/components/editgrid/fixtures/comp8.js +0 -156
- package/lib/cjs/components/editgrid/fixtures/comp9.d.ts +0 -86
- package/lib/cjs/components/editgrid/fixtures/comp9.js +0 -62
- package/lib/cjs/components/editgrid/fixtures/index.d.ts +0 -19
- package/lib/cjs/components/editgrid/fixtures/index.js +0 -42
- 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/Email.form.js +0 -21
- package/lib/cjs/components/email/Email.js +0 -54
- package/lib/cjs/components/email/editForm/Email.edit.display.d.ts +0 -5
- package/lib/cjs/components/email/editForm/Email.edit.display.js +0 -20
- package/lib/cjs/components/email/editForm/Email.edit.validation.d.ts +0 -24
- package/lib/cjs/components/email/editForm/Email.edit.validation.js +0 -28
- package/lib/cjs/components/email/fixtures/comp1.d.ts +0 -26
- package/lib/cjs/components/email/fixtures/comp1.js +0 -26
- package/lib/cjs/components/email/fixtures/comp2.d.ts +0 -23
- package/lib/cjs/components/email/fixtures/comp2.js +0 -13
- package/lib/cjs/components/email/fixtures/index.d.ts +0 -3
- package/lib/cjs/components/email/fixtures/index.js +0 -10
- package/lib/cjs/components/email/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/email/fixtures/values.js +0 -6
- 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/Fieldset.form.js +0 -16
- package/lib/cjs/components/fieldset/Fieldset.js +0 -47
- package/lib/cjs/components/fieldset/editForm/Fieldset.edit.display.d.ts +0 -33
- package/lib/cjs/components/fieldset/editForm/Fieldset.edit.display.js +0 -44
- package/lib/cjs/components/fieldset/fixtures/comp1.d.ts +0 -46
- package/lib/cjs/components/fieldset/fixtures/comp1.js +0 -81
- package/lib/cjs/components/fieldset/fixtures/index.d.ts +0 -2
- package/lib/cjs/components/fieldset/fixtures/index.js +0 -8
- 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/File.form.js +0 -33
- package/lib/cjs/components/file/File.js +0 -777
- package/lib/cjs/components/file/editForm/File.edit.data.d.ts +0 -5
- package/lib/cjs/components/file/editForm/File.edit.data.js +0 -8
- package/lib/cjs/components/file/editForm/File.edit.display.d.ts +0 -5
- package/lib/cjs/components/file/editForm/File.edit.display.js +0 -8
- package/lib/cjs/components/file/editForm/File.edit.file.d.ts +0 -275
- package/lib/cjs/components/file/editForm/File.edit.file.js +0 -288
- package/lib/cjs/components/file/editForm/File.edit.validation.d.ts +0 -5
- package/lib/cjs/components/file/editForm/File.edit.validation.js +0 -12
- package/lib/cjs/components/file/fixtures/comp1.d.ts +0 -15
- package/lib/cjs/components/file/fixtures/comp1.js +0 -18
- package/lib/cjs/components/file/fixtures/comp2.d.ts +0 -35
- package/lib/cjs/components/file/fixtures/comp2.js +0 -31
- package/lib/cjs/components/file/fixtures/index.d.ts +0 -3
- package/lib/cjs/components/file/fixtures/index.js +0 -10
- package/lib/cjs/components/file/fixtures/values.d.ts +0 -10
- package/lib/cjs/components/file/fixtures/values.js +0 -15
- package/lib/cjs/components/form/Form.d.ts +0 -98
- package/lib/cjs/components/form/Form.form.d.ts +0 -3
- package/lib/cjs/components/form/Form.form.js +0 -30
- package/lib/cjs/components/form/Form.js +0 -730
- package/lib/cjs/components/form/editForm/Form.edit.data.d.ts +0 -82
- package/lib/cjs/components/form/editForm/Form.edit.data.js +0 -21
- package/lib/cjs/components/form/editForm/Form.edit.display.d.ts +0 -5
- package/lib/cjs/components/form/editForm/Form.edit.display.js +0 -29
- package/lib/cjs/components/form/editForm/Form.edit.form.d.ts +0 -89
- package/lib/cjs/components/form/editForm/Form.edit.form.js +0 -75
- package/lib/cjs/components/form/fixtures/comp1.d.ts +0 -45
- package/lib/cjs/components/form/fixtures/comp1.js +0 -80
- package/lib/cjs/components/form/fixtures/comp2.d.ts +0 -14
- package/lib/cjs/components/form/fixtures/comp2.js +0 -15
- package/lib/cjs/components/form/fixtures/comp3.d.ts +0 -187
- package/lib/cjs/components/form/fixtures/comp3.js +0 -170
- package/lib/cjs/components/form/fixtures/comp4.d.ts +0 -107
- package/lib/cjs/components/form/fixtures/comp4.js +0 -91
- package/lib/cjs/components/form/fixtures/comp5.d.ts +0 -42
- package/lib/cjs/components/form/fixtures/comp5.js +0 -45
- package/lib/cjs/components/form/fixtures/comp6.d.ts +0 -74
- package/lib/cjs/components/form/fixtures/comp6.js +0 -94
- package/lib/cjs/components/form/fixtures/formModalEdit.d.ts +0 -42
- package/lib/cjs/components/form/fixtures/formModalEdit.js +0 -51
- package/lib/cjs/components/form/fixtures/index.d.ts +0 -8
- package/lib/cjs/components/form/fixtures/index.js +0 -20
- package/lib/cjs/components/form/fixtures/values.d.ts +0 -6
- package/lib/cjs/components/form/fixtures/values.js +0 -9
- 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/Hidden.form.js +0 -29
- package/lib/cjs/components/hidden/Hidden.js +0 -61
- package/lib/cjs/components/hidden/editForm/Hidden.edit.data.d.ts +0 -5
- package/lib/cjs/components/hidden/editForm/Hidden.edit.data.js +0 -16
- package/lib/cjs/components/hidden/editForm/Hidden.edit.display.d.ts +0 -5
- package/lib/cjs/components/hidden/editForm/Hidden.edit.display.js +0 -44
- package/lib/cjs/components/hidden/fixtures/comp1.d.ts +0 -18
- package/lib/cjs/components/hidden/fixtures/comp1.js +0 -18
- package/lib/cjs/components/hidden/fixtures/index.d.ts +0 -2
- package/lib/cjs/components/hidden/fixtures/index.js +0 -8
- package/lib/cjs/components/hidden/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/hidden/fixtures/values.js +0 -6
- 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/HTML.form.js +0 -29
- package/lib/cjs/components/html/HTML.js +0 -93
- package/lib/cjs/components/html/editForm/HTML.edit.display.d.ts +0 -77
- package/lib/cjs/components/html/editForm/HTML.edit.display.js +0 -100
- package/lib/cjs/components/html/editForm/HTML.edit.logic.d.ts +0 -48
- package/lib/cjs/components/html/editForm/HTML.edit.logic.js +0 -100
- package/lib/cjs/components/html/fixtures/comp1.d.ts +0 -19
- package/lib/cjs/components/html/fixtures/comp1.js +0 -22
- package/lib/cjs/components/html/fixtures/comp2.d.ts +0 -21
- package/lib/cjs/components/html/fixtures/comp2.js +0 -24
- package/lib/cjs/components/html/fixtures/index.d.ts +0 -3
- package/lib/cjs/components/html/fixtures/index.js +0 -10
- package/lib/cjs/components/index.d.ts +0 -100
- package/lib/cjs/components/index.js +0 -104
- package/lib/cjs/components/number/Number.d.ts +0 -54
- package/lib/cjs/components/number/Number.form.d.ts +0 -3
- package/lib/cjs/components/number/Number.form.js +0 -26
- package/lib/cjs/components/number/Number.js +0 -204
- package/lib/cjs/components/number/editForm/Number.edit.data.d.ts +0 -18
- package/lib/cjs/components/number/editForm/Number.edit.data.js +0 -32
- package/lib/cjs/components/number/editForm/Number.edit.display.d.ts +0 -5
- package/lib/cjs/components/number/editForm/Number.edit.display.js +0 -24
- package/lib/cjs/components/number/editForm/Number.edit.validation.d.ts +0 -20
- package/lib/cjs/components/number/editForm/Number.edit.validation.js +0 -46
- package/lib/cjs/components/number/fixtures/comp1.d.ts +0 -33
- package/lib/cjs/components/number/fixtures/comp1.js +0 -32
- package/lib/cjs/components/number/fixtures/comp2.d.ts +0 -32
- package/lib/cjs/components/number/fixtures/comp2.js +0 -31
- package/lib/cjs/components/number/fixtures/comp3.d.ts +0 -14
- package/lib/cjs/components/number/fixtures/comp3.js +0 -15
- package/lib/cjs/components/number/fixtures/comp4.d.ts +0 -14
- package/lib/cjs/components/number/fixtures/comp4.js +0 -15
- package/lib/cjs/components/number/fixtures/comp5.d.ts +0 -20
- package/lib/cjs/components/number/fixtures/comp5.js +0 -20
- package/lib/cjs/components/number/fixtures/comp6.d.ts +0 -40
- package/lib/cjs/components/number/fixtures/comp6.js +0 -27
- package/lib/cjs/components/number/fixtures/comp7.d.ts +0 -15
- package/lib/cjs/components/number/fixtures/comp7.js +0 -16
- package/lib/cjs/components/number/fixtures/index.d.ts +0 -8
- package/lib/cjs/components/number/fixtures/index.js +0 -20
- package/lib/cjs/components/number/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/number/fixtures/values.js +0 -11
- package/lib/cjs/components/panel/Panel.d.ts +0 -15
- package/lib/cjs/components/panel/Panel.form.d.ts +0 -3
- package/lib/cjs/components/panel/Panel.form.js +0 -21
- package/lib/cjs/components/panel/Panel.js +0 -62
- package/lib/cjs/components/panel/editForm/Panel.edit.conditional.d.ts +0 -75
- package/lib/cjs/components/panel/editForm/Panel.edit.conditional.js +0 -42
- package/lib/cjs/components/panel/editForm/Panel.edit.display.d.ts +0 -228
- package/lib/cjs/components/panel/editForm/Panel.edit.display.js +0 -213
- package/lib/cjs/components/panel/fixtures/comp1.d.ts +0 -46
- package/lib/cjs/components/panel/fixtures/comp1.js +0 -80
- package/lib/cjs/components/panel/fixtures/comp2.d.ts +0 -80
- package/lib/cjs/components/panel/fixtures/comp2.js +0 -69
- package/lib/cjs/components/panel/fixtures/index.d.ts +0 -3
- package/lib/cjs/components/panel/fixtures/index.js +0 -10
- 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/Password.form.js +0 -26
- package/lib/cjs/components/password/Password.js +0 -40
- package/lib/cjs/components/password/editForm/Password.edit.data.d.ts +0 -18
- package/lib/cjs/components/password/editForm/Password.edit.data.js +0 -48
- package/lib/cjs/components/password/editForm/Password.edit.display.d.ts +0 -5
- package/lib/cjs/components/password/editForm/Password.edit.display.js +0 -16
- package/lib/cjs/components/password/editForm/Password.edit.validation.d.ts +0 -5
- package/lib/cjs/components/password/editForm/Password.edit.validation.js +0 -16
- package/lib/cjs/components/password/fixtures/comp1.d.ts +0 -22
- package/lib/cjs/components/password/fixtures/comp1.js +0 -22
- package/lib/cjs/components/password/fixtures/comp2.d.ts +0 -27
- package/lib/cjs/components/password/fixtures/comp2.js +0 -29
- package/lib/cjs/components/password/fixtures/index.d.ts +0 -3
- package/lib/cjs/components/password/fixtures/index.js +0 -10
- package/lib/cjs/components/password/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/password/fixtures/values.js +0 -6
- 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/PhoneNumber.form.js +0 -38
- package/lib/cjs/components/phonenumber/PhoneNumber.js +0 -33
- package/lib/cjs/components/phonenumber/editForm/PhoneNumber.edit.validation.d.ts +0 -5
- package/lib/cjs/components/phonenumber/editForm/PhoneNumber.edit.validation.js +0 -24
- package/lib/cjs/components/phonenumber/fixtures/comp1.d.ts +0 -27
- package/lib/cjs/components/phonenumber/fixtures/comp1.js +0 -27
- package/lib/cjs/components/phonenumber/fixtures/index.d.ts +0 -2
- package/lib/cjs/components/phonenumber/fixtures/index.js +0 -8
- package/lib/cjs/components/phonenumber/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/phonenumber/fixtures/values.js +0 -6
- 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/Radio.form.js +0 -26
- package/lib/cjs/components/radio/Radio.js +0 -376
- package/lib/cjs/components/radio/editForm/Radio.edit.data.d.ts +0 -134
- package/lib/cjs/components/radio/editForm/Radio.edit.data.js +0 -85
- package/lib/cjs/components/radio/editForm/Radio.edit.display.d.ts +0 -40
- package/lib/cjs/components/radio/editForm/Radio.edit.display.js +0 -34
- package/lib/cjs/components/radio/editForm/Radio.edit.validation.d.ts +0 -18
- package/lib/cjs/components/radio/editForm/Radio.edit.validation.js +0 -20
- package/lib/cjs/components/radio/fixtures/comp1.d.ts +0 -28
- package/lib/cjs/components/radio/fixtures/comp1.js +0 -42
- package/lib/cjs/components/radio/fixtures/comp2.d.ts +0 -85
- package/lib/cjs/components/radio/fixtures/comp2.js +0 -86
- package/lib/cjs/components/radio/fixtures/comp3.d.ts +0 -85
- package/lib/cjs/components/radio/fixtures/comp3.js +0 -90
- package/lib/cjs/components/radio/fixtures/comp4.d.ts +0 -19
- package/lib/cjs/components/radio/fixtures/comp4.js +0 -27
- package/lib/cjs/components/radio/fixtures/comp5.d.ts +0 -39
- package/lib/cjs/components/radio/fixtures/comp5.js +0 -35
- package/lib/cjs/components/radio/fixtures/comp6.d.ts +0 -38
- package/lib/cjs/components/radio/fixtures/comp6.js +0 -33
- package/lib/cjs/components/radio/fixtures/comp7.d.ts +0 -23
- package/lib/cjs/components/radio/fixtures/comp7.js +0 -21
- package/lib/cjs/components/radio/fixtures/comp8.d.ts +0 -118
- package/lib/cjs/components/radio/fixtures/comp8.js +0 -113
- package/lib/cjs/components/radio/fixtures/comp9.d.ts +0 -35
- package/lib/cjs/components/radio/fixtures/comp9.js +0 -32
- package/lib/cjs/components/radio/fixtures/index.d.ts +0 -10
- package/lib/cjs/components/radio/fixtures/index.js +0 -24
- package/lib/cjs/components/radio/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/radio/fixtures/values.js +0 -7
- 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/ReCaptcha.form.js +0 -32
- package/lib/cjs/components/recaptcha/ReCaptcha.js +0 -142
- package/lib/cjs/components/recaptcha/editForm/ReCaptcha.edit.display.d.ts +0 -44
- package/lib/cjs/components/recaptcha/editForm/ReCaptcha.edit.display.js +0 -108
- package/lib/cjs/components/recaptcha/fixtures/comp1.d.ts +0 -8
- package/lib/cjs/components/recaptcha/fixtures/comp1.js +0 -9
- package/lib/cjs/components/recaptcha/fixtures/index.d.ts +0 -2
- package/lib/cjs/components/recaptcha/fixtures/index.js +0 -8
- 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/Resource.form.js +0 -16
- package/lib/cjs/components/resource/Resource.js +0 -39
- package/lib/cjs/components/resource/editForm/Resource.edit.display.d.ts +0 -173
- package/lib/cjs/components/resource/editForm/Resource.edit.display.js +0 -102
- package/lib/cjs/components/resource/fixtures/comp1.d.ts +0 -30
- package/lib/cjs/components/resource/fixtures/comp1.js +0 -30
- package/lib/cjs/components/resource/fixtures/comp2.d.ts +0 -35
- package/lib/cjs/components/resource/fixtures/comp2.js +0 -31
- package/lib/cjs/components/resource/fixtures/index.d.ts +0 -3
- package/lib/cjs/components/resource/fixtures/index.js +0 -10
- 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/Select.form.js +0 -26
- package/lib/cjs/components/select/Select.js +0 -1466
- package/lib/cjs/components/select/editForm/Select.edit.data.d.ts +0 -1039
- package/lib/cjs/components/select/editForm/Select.edit.data.js +0 -629
- package/lib/cjs/components/select/editForm/Select.edit.display.d.ts +0 -27
- package/lib/cjs/components/select/editForm/Select.edit.display.js +0 -28
- package/lib/cjs/components/select/editForm/Select.edit.validation.d.ts +0 -30
- package/lib/cjs/components/select/editForm/Select.edit.validation.js +0 -35
- package/lib/cjs/components/select/fixtures/comp1.d.ts +0 -40
- package/lib/cjs/components/select/fixtures/comp1.js +0 -66
- package/lib/cjs/components/select/fixtures/comp10.d.ts +0 -41
- package/lib/cjs/components/select/fixtures/comp10.js +0 -32
- package/lib/cjs/components/select/fixtures/comp11.d.ts +0 -28
- package/lib/cjs/components/select/fixtures/comp11.js +0 -24
- package/lib/cjs/components/select/fixtures/comp12.d.ts +0 -53
- package/lib/cjs/components/select/fixtures/comp12.js +0 -29
- package/lib/cjs/components/select/fixtures/comp13.d.ts +0 -28
- package/lib/cjs/components/select/fixtures/comp13.js +0 -31
- package/lib/cjs/components/select/fixtures/comp14.d.ts +0 -40
- package/lib/cjs/components/select/fixtures/comp14.js +0 -27
- package/lib/cjs/components/select/fixtures/comp15.d.ts +0 -50
- package/lib/cjs/components/select/fixtures/comp15.js +0 -41
- package/lib/cjs/components/select/fixtures/comp16.d.ts +0 -34
- package/lib/cjs/components/select/fixtures/comp16.js +0 -33
- package/lib/cjs/components/select/fixtures/comp17.d.ts +0 -51
- package/lib/cjs/components/select/fixtures/comp17.js +0 -43
- package/lib/cjs/components/select/fixtures/comp18.d.ts +0 -49
- package/lib/cjs/components/select/fixtures/comp18.js +0 -42
- package/lib/cjs/components/select/fixtures/comp19.d.ts +0 -23
- package/lib/cjs/components/select/fixtures/comp19.js +0 -36
- package/lib/cjs/components/select/fixtures/comp2.d.ts +0 -41
- package/lib/cjs/components/select/fixtures/comp2.js +0 -67
- package/lib/cjs/components/select/fixtures/comp3.d.ts +0 -35
- package/lib/cjs/components/select/fixtures/comp3.js +0 -209
- package/lib/cjs/components/select/fixtures/comp4.d.ts +0 -103
- package/lib/cjs/components/select/fixtures/comp4.js +0 -106
- package/lib/cjs/components/select/fixtures/comp5.d.ts +0 -21
- package/lib/cjs/components/select/fixtures/comp5.js +0 -28
- package/lib/cjs/components/select/fixtures/comp6.d.ts +0 -20
- package/lib/cjs/components/select/fixtures/comp6.js +0 -30
- package/lib/cjs/components/select/fixtures/comp7.d.ts +0 -63
- package/lib/cjs/components/select/fixtures/comp7.js +0 -46
- package/lib/cjs/components/select/fixtures/comp8.d.ts +0 -72
- package/lib/cjs/components/select/fixtures/comp8.js +0 -37
- package/lib/cjs/components/select/fixtures/comp9.d.ts +0 -88
- package/lib/cjs/components/select/fixtures/comp9.js +0 -67
- package/lib/cjs/components/select/fixtures/index.d.ts +0 -20
- package/lib/cjs/components/select/fixtures/index.js +0 -45
- package/lib/cjs/components/select/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/select/fixtures/values.js +0 -7
- package/lib/cjs/components/selectboxes/SelectBoxes.d.ts +0 -52
- package/lib/cjs/components/selectboxes/SelectBoxes.form.d.ts +0 -3
- package/lib/cjs/components/selectboxes/SelectBoxes.form.js +0 -25
- package/lib/cjs/components/selectboxes/SelectBoxes.js +0 -258
- package/lib/cjs/components/selectboxes/editForm/SelectBoxes.edit.validation.d.ts +0 -9
- package/lib/cjs/components/selectboxes/editForm/SelectBoxes.edit.validation.js +0 -36
- package/lib/cjs/components/selectboxes/fixtures/comp1.d.ts +0 -24
- package/lib/cjs/components/selectboxes/fixtures/comp1.js +0 -54
- package/lib/cjs/components/selectboxes/fixtures/comp2.d.ts +0 -24
- package/lib/cjs/components/selectboxes/fixtures/comp2.js +0 -54
- package/lib/cjs/components/selectboxes/fixtures/comp3.d.ts +0 -23
- package/lib/cjs/components/selectboxes/fixtures/comp3.js +0 -21
- package/lib/cjs/components/selectboxes/fixtures/comp4.d.ts +0 -66
- package/lib/cjs/components/selectboxes/fixtures/comp4.js +0 -81
- package/lib/cjs/components/selectboxes/fixtures/comp5.d.ts +0 -37
- package/lib/cjs/components/selectboxes/fixtures/comp5.js +0 -33
- package/lib/cjs/components/selectboxes/fixtures/comp6.d.ts +0 -14
- package/lib/cjs/components/selectboxes/fixtures/comp6.js +0 -15
- package/lib/cjs/components/selectboxes/fixtures/comp7.d.ts +0 -18
- package/lib/cjs/components/selectboxes/fixtures/comp7.js +0 -31
- package/lib/cjs/components/selectboxes/fixtures/index.d.ts +0 -8
- package/lib/cjs/components/selectboxes/fixtures/index.js +0 -20
- package/lib/cjs/components/selectboxes/fixtures/values.d.ts +0 -6
- package/lib/cjs/components/selectboxes/fixtures/values.js +0 -24
- 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/Signature.form.js +0 -26
- package/lib/cjs/components/signature/Signature.js +0 -259
- package/lib/cjs/components/signature/editForm/Signature.edit.data.d.ts +0 -5
- package/lib/cjs/components/signature/editForm/Signature.edit.data.js +0 -16
- package/lib/cjs/components/signature/editForm/Signature.edit.display.d.ts +0 -51
- package/lib/cjs/components/signature/editForm/Signature.edit.display.js +0 -71
- package/lib/cjs/components/signature/editForm/Signature.edit.validation.d.ts +0 -5
- package/lib/cjs/components/signature/editForm/Signature.edit.validation.js +0 -12
- package/lib/cjs/components/signature/fixtures/comp1.d.ts +0 -30
- package/lib/cjs/components/signature/fixtures/comp1.js +0 -30
- package/lib/cjs/components/signature/fixtures/index.d.ts +0 -2
- package/lib/cjs/components/signature/fixtures/index.js +0 -8
- package/lib/cjs/components/signature/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/signature/fixtures/values.js +0 -7
- 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/Survey.form.js +0 -26
- package/lib/cjs/components/survey/Survey.js +0 -156
- package/lib/cjs/components/survey/editForm/Survey.edit.data.d.ts +0 -44
- package/lib/cjs/components/survey/editForm/Survey.edit.data.js +0 -72
- package/lib/cjs/components/survey/editForm/Survey.edit.display.d.ts +0 -5
- package/lib/cjs/components/survey/editForm/Survey.edit.display.js +0 -8
- package/lib/cjs/components/survey/editForm/Survey.edit.validation.d.ts +0 -5
- package/lib/cjs/components/survey/editForm/Survey.edit.validation.js +0 -8
- package/lib/cjs/components/survey/fixtures/comp1.d.ts +0 -31
- package/lib/cjs/components/survey/fixtures/comp1.js +0 -55
- package/lib/cjs/components/survey/fixtures/comp2.d.ts +0 -31
- package/lib/cjs/components/survey/fixtures/comp2.js +0 -55
- package/lib/cjs/components/survey/fixtures/index.d.ts +0 -3
- package/lib/cjs/components/survey/fixtures/index.js +0 -10
- package/lib/cjs/components/survey/fixtures/values.d.ts +0 -5
- package/lib/cjs/components/survey/fixtures/values.js +0 -12
- 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/Table.form.js +0 -16
- package/lib/cjs/components/table/Table.js +0 -175
- package/lib/cjs/components/table/editForm/Table.edit.display.d.ts +0 -55
- package/lib/cjs/components/table/editForm/Table.edit.display.js +0 -111
- package/lib/cjs/components/table/fixtures/comp1.d.ts +0 -53
- package/lib/cjs/components/table/fixtures/comp1.js +0 -237
- package/lib/cjs/components/table/fixtures/index.d.ts +0 -2
- package/lib/cjs/components/table/fixtures/index.js +0 -8
- 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/Tabs.form.js +0 -16
- package/lib/cjs/components/tabs/Tabs.js +0 -207
- package/lib/cjs/components/tabs/editForm/Tabs.edit.display.d.ts +0 -49
- package/lib/cjs/components/tabs/editForm/Tabs.edit.display.js +0 -68
- package/lib/cjs/components/tabs/fixtures/comp1.d.ts +0 -23
- package/lib/cjs/components/tabs/fixtures/comp1.js +0 -33
- package/lib/cjs/components/tabs/fixtures/index.d.ts +0 -2
- package/lib/cjs/components/tabs/fixtures/index.js +0 -8
- 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/Tags.form.js +0 -16
- package/lib/cjs/components/tags/Tags.js +0 -174
- package/lib/cjs/components/tags/editForm/Tags.edit.data.d.ts +0 -51
- package/lib/cjs/components/tags/editForm/Tags.edit.data.js +0 -39
- package/lib/cjs/components/tags/fixtures/comp1.d.ts +0 -20
- package/lib/cjs/components/tags/fixtures/comp1.js +0 -20
- package/lib/cjs/components/tags/fixtures/comp2.d.ts +0 -10
- package/lib/cjs/components/tags/fixtures/comp2.js +0 -11
- package/lib/cjs/components/tags/fixtures/comp3.d.ts +0 -23
- package/lib/cjs/components/tags/fixtures/comp3.js +0 -20
- package/lib/cjs/components/tags/fixtures/comp4.d.ts +0 -9
- package/lib/cjs/components/tags/fixtures/comp4.js +0 -10
- package/lib/cjs/components/tags/fixtures/comp5.d.ts +0 -24
- package/lib/cjs/components/tags/fixtures/comp5.js +0 -24
- package/lib/cjs/components/tags/fixtures/comp6.d.ts +0 -17
- package/lib/cjs/components/tags/fixtures/comp6.js +0 -20
- package/lib/cjs/components/tags/fixtures/index.d.ts +0 -7
- package/lib/cjs/components/tags/fixtures/index.js +0 -18
- package/lib/cjs/components/tags/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/tags/fixtures/values.js +0 -6
- 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/TextArea.form.js +0 -21
- package/lib/cjs/components/textarea/TextArea.js +0 -537
- package/lib/cjs/components/textarea/editForm/TextArea.edit.display.d.ts +0 -355
- package/lib/cjs/components/textarea/editForm/TextArea.edit.display.js +0 -263
- package/lib/cjs/components/textarea/editForm/TextArea.edit.validation.d.ts +0 -10
- package/lib/cjs/components/textarea/editForm/TextArea.edit.validation.js +0 -22
- package/lib/cjs/components/textarea/fixtures/comp1.d.ts +0 -31
- package/lib/cjs/components/textarea/fixtures/comp1.js +0 -31
- package/lib/cjs/components/textarea/fixtures/comp2.d.ts +0 -29
- package/lib/cjs/components/textarea/fixtures/comp2.js +0 -29
- package/lib/cjs/components/textarea/fixtures/comp3.d.ts +0 -27
- package/lib/cjs/components/textarea/fixtures/comp3.js +0 -29
- package/lib/cjs/components/textarea/fixtures/comp4.d.ts +0 -30
- package/lib/cjs/components/textarea/fixtures/comp4.js +0 -27
- package/lib/cjs/components/textarea/fixtures/index.d.ts +0 -5
- package/lib/cjs/components/textarea/fixtures/index.js +0 -14
- package/lib/cjs/components/textarea/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/textarea/fixtures/values.js +0 -6
- 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/TextField.form.js +0 -26
- package/lib/cjs/components/textfield/TextField.js +0 -251
- package/lib/cjs/components/textfield/editForm/TextField.edit.data.d.ts +0 -46
- package/lib/cjs/components/textfield/editForm/TextField.edit.data.js +0 -58
- package/lib/cjs/components/textfield/editForm/TextField.edit.display.d.ts +0 -248
- package/lib/cjs/components/textfield/editForm/TextField.edit.display.js +0 -208
- package/lib/cjs/components/textfield/editForm/TextField.edit.validation.d.ts +0 -10
- package/lib/cjs/components/textfield/editForm/TextField.edit.validation.js +0 -49
- package/lib/cjs/components/textfield/fixtures/comp-with-display-and-value-masks.d.ts +0 -47
- package/lib/cjs/components/textfield/fixtures/comp-with-display-and-value-masks.js +0 -48
- package/lib/cjs/components/textfield/fixtures/comp1.d.ts +0 -33
- package/lib/cjs/components/textfield/fixtures/comp1.js +0 -33
- package/lib/cjs/components/textfield/fixtures/comp2.d.ts +0 -33
- package/lib/cjs/components/textfield/fixtures/comp2.js +0 -33
- package/lib/cjs/components/textfield/fixtures/comp3.d.ts +0 -33
- package/lib/cjs/components/textfield/fixtures/comp3.js +0 -33
- package/lib/cjs/components/textfield/fixtures/comp4.d.ts +0 -23
- package/lib/cjs/components/textfield/fixtures/comp4.js +0 -27
- package/lib/cjs/components/textfield/fixtures/comp5.d.ts +0 -12
- package/lib/cjs/components/textfield/fixtures/comp5.js +0 -13
- package/lib/cjs/components/textfield/fixtures/comp6.d.ts +0 -25
- package/lib/cjs/components/textfield/fixtures/comp6.js +0 -21
- package/lib/cjs/components/textfield/fixtures/comp7.d.ts +0 -37
- package/lib/cjs/components/textfield/fixtures/comp7.js +0 -38
- package/lib/cjs/components/textfield/fixtures/index.d.ts +0 -9
- package/lib/cjs/components/textfield/fixtures/index.js +0 -22
- package/lib/cjs/components/textfield/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/textfield/fixtures/values.js +0 -7
- 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/Time.form.js +0 -21
- package/lib/cjs/components/time/Time.js +0 -153
- package/lib/cjs/components/time/editForm/Time.edit.data.d.ts +0 -10
- package/lib/cjs/components/time/editForm/Time.edit.data.js +0 -13
- package/lib/cjs/components/time/editForm/Time.edit.display.d.ts +0 -52
- package/lib/cjs/components/time/editForm/Time.edit.display.js +0 -42
- package/lib/cjs/components/time/fixtures/comp1.d.ts +0 -24
- package/lib/cjs/components/time/fixtures/comp1.js +0 -24
- package/lib/cjs/components/time/fixtures/comp2.d.ts +0 -10
- package/lib/cjs/components/time/fixtures/comp2.js +0 -11
- package/lib/cjs/components/time/fixtures/comp3.d.ts +0 -15
- package/lib/cjs/components/time/fixtures/comp3.js +0 -18
- package/lib/cjs/components/time/fixtures/index.d.ts +0 -6
- package/lib/cjs/components/time/fixtures/index.js +0 -16
- package/lib/cjs/components/time/fixtures/timeForm.d.ts +0 -47
- package/lib/cjs/components/time/fixtures/timeForm.js +0 -52
- package/lib/cjs/components/time/fixtures/timeForm2.d.ts +0 -38
- package/lib/cjs/components/time/fixtures/timeForm2.js +0 -44
- package/lib/cjs/components/time/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/time/fixtures/values.js +0 -7
- package/lib/cjs/components/tree/Node.d.ts +0 -55
- package/lib/cjs/components/tree/Node.js +0 -185
- package/lib/cjs/components/tree/Tree.d.ts +0 -48
- package/lib/cjs/components/tree/Tree.form.d.ts +0 -3
- package/lib/cjs/components/tree/Tree.form.js +0 -21
- package/lib/cjs/components/tree/Tree.js +0 -383
- package/lib/cjs/components/tree/editForm/Tree.edit.data.d.ts +0 -5
- package/lib/cjs/components/tree/editForm/Tree.edit.data.js +0 -9
- package/lib/cjs/components/tree/editForm/Tree.edit.display.d.ts +0 -9
- package/lib/cjs/components/tree/editForm/Tree.edit.display.js +0 -12
- package/lib/cjs/components/tree/fixtures/comp1.d.ts +0 -23
- package/lib/cjs/components/tree/fixtures/comp1.js +0 -24
- package/lib/cjs/components/tree/fixtures/comp2.d.ts +0 -116
- package/lib/cjs/components/tree/fixtures/comp2.js +0 -82
- package/lib/cjs/components/tree/fixtures/comp3.d.ts +0 -24
- package/lib/cjs/components/tree/fixtures/comp3.js +0 -25
- package/lib/cjs/components/tree/fixtures/comp4.d.ts +0 -42
- package/lib/cjs/components/tree/fixtures/comp4.js +0 -47
- package/lib/cjs/components/tree/fixtures/index.d.ts +0 -5
- package/lib/cjs/components/tree/fixtures/index.js +0 -14
- 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/Unknown.form.js +0 -25
- package/lib/cjs/components/unknown/Unknown.js +0 -30
- package/lib/cjs/components/unknown/editForm/Unknown.edit.display.d.ts +0 -24
- package/lib/cjs/components/unknown/editForm/Unknown.edit.display.js +0 -27
- package/lib/cjs/components/unknown/fixtures/comp1.d.ts +0 -7
- package/lib/cjs/components/unknown/fixtures/comp1.js +0 -8
- package/lib/cjs/components/unknown/fixtures/index.d.ts +0 -2
- package/lib/cjs/components/unknown/fixtures/index.js +0 -8
- 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/Url.form.js +0 -26
- package/lib/cjs/components/url/Url.js +0 -39
- package/lib/cjs/components/url/editForm/Url.edit.data.d.ts +0 -5
- package/lib/cjs/components/url/editForm/Url.edit.data.js +0 -8
- package/lib/cjs/components/url/editForm/Url.edit.display.d.ts +0 -5
- package/lib/cjs/components/url/editForm/Url.edit.display.js +0 -20
- package/lib/cjs/components/url/editForm/Url.edit.validation.d.ts +0 -5
- package/lib/cjs/components/url/editForm/Url.edit.validation.js +0 -12
- package/lib/cjs/components/url/fixtures/comp1.d.ts +0 -26
- package/lib/cjs/components/url/fixtures/comp1.js +0 -26
- package/lib/cjs/components/url/fixtures/comp2.d.ts +0 -26
- package/lib/cjs/components/url/fixtures/comp2.js +0 -23
- package/lib/cjs/components/url/fixtures/index.d.ts +0 -3
- package/lib/cjs/components/url/fixtures/index.js +0 -10
- package/lib/cjs/components/url/fixtures/values.d.ts +0 -2
- package/lib/cjs/components/url/fixtures/values.js +0 -6
- 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/Well.form.js +0 -16
- package/lib/cjs/components/well/Well.js +0 -45
- package/lib/cjs/components/well/editForm/Well.edit.display.d.ts +0 -5
- package/lib/cjs/components/well/editForm/Well.edit.display.js +0 -32
- package/lib/cjs/components/well/fixtures/comp1.d.ts +0 -43
- package/lib/cjs/components/well/fixtures/comp1.js +0 -77
- package/lib/cjs/components/well/fixtures/index.d.ts +0 -2
- package/lib/cjs/components/well/fixtures/index.js +0 -8
- package/lib/cjs/displays/Displays.d.ts +0 -18
- package/lib/cjs/displays/Displays.js +0 -29
- package/lib/cjs/displays/index.d.ts +0 -2
- package/lib/cjs/displays/index.js +0 -7
- package/lib/cjs/formio.embed.d.ts +0 -2
- package/lib/cjs/formio.embed.js +0 -100
- package/lib/cjs/formio.form.d.ts +0 -23
- package/lib/cjs/formio.form.js +0 -167
- package/lib/cjs/i18n.d.ts +0 -13
- package/lib/cjs/i18n.js +0 -19
- package/lib/cjs/index.d.ts +0 -4
- package/lib/cjs/index.js +0 -34
- package/lib/cjs/licenses/Licenses.d.ts +0 -7
- package/lib/cjs/licenses/Licenses.js +0 -22
- package/lib/cjs/licenses/index.d.ts +0 -2
- package/lib/cjs/licenses/index.js +0 -7
- package/lib/cjs/package.json +0 -3
- package/lib/cjs/pdf.image.d.ts +0 -2
- package/lib/cjs/pdf.image.js +0 -94
- package/lib/cjs/providers/Providers.d.ts +0 -84
- package/lib/cjs/providers/Providers.js +0 -34
- package/lib/cjs/providers/address/AddressProvider.d.ts +0 -17
- package/lib/cjs/providers/address/AddressProvider.js +0 -61
- package/lib/cjs/providers/address/AzureAddressProvider.d.ts +0 -12
- package/lib/cjs/providers/address/AzureAddressProvider.js +0 -31
- package/lib/cjs/providers/address/CustomAddressProvider.d.ts +0 -7
- package/lib/cjs/providers/address/CustomAddressProvider.js +0 -26
- package/lib/cjs/providers/address/GoogleAddressProvider.d.ts +0 -18
- package/lib/cjs/providers/address/GoogleAddressProvider.js +0 -117
- package/lib/cjs/providers/address/NominatimAddressProvider.d.ts +0 -11
- package/lib/cjs/providers/address/NominatimAddressProvider.js +0 -31
- package/lib/cjs/providers/address/index.d.ts +0 -6
- package/lib/cjs/providers/address/index.js +0 -12
- package/lib/cjs/providers/auth/index.d.ts +0 -2
- package/lib/cjs/providers/auth/index.js +0 -3
- package/lib/cjs/providers/index.d.ts +0 -2
- package/lib/cjs/providers/index.js +0 -7
- package/lib/cjs/providers/processor/fileProcessor.d.ts +0 -2
- package/lib/cjs/providers/processor/fileProcessor.js +0 -40
- package/lib/cjs/providers/storage/azure.d.ts +0 -17
- package/lib/cjs/providers/storage/azure.js +0 -35
- package/lib/cjs/providers/storage/base64.d.ts +0 -10
- package/lib/cjs/providers/storage/base64.js +0 -31
- package/lib/cjs/providers/storage/dropbox.d.ts +0 -8
- package/lib/cjs/providers/storage/dropbox.js +0 -57
- package/lib/cjs/providers/storage/googleDrive.d.ts +0 -9
- package/lib/cjs/providers/storage/googleDrive.js +0 -60
- package/lib/cjs/providers/storage/index.d.ts +0 -15
- package/lib/cjs/providers/storage/index.js +0 -19
- package/lib/cjs/providers/storage/indexeddb.d.ts +0 -11
- package/lib/cjs/providers/storage/indexeddb.js +0 -120
- package/lib/cjs/providers/storage/s3.d.ts +0 -18
- package/lib/cjs/providers/storage/s3.js +0 -53
- package/lib/cjs/providers/storage/uploadAdapter.d.ts +0 -1
- package/lib/cjs/providers/storage/uploadAdapter.js +0 -57
- package/lib/cjs/providers/storage/url.d.ts +0 -11
- package/lib/cjs/providers/storage/url.js +0 -142
- package/lib/cjs/providers/storage/xhr.d.ts +0 -7
- package/lib/cjs/providers/storage/xhr.js +0 -100
- package/lib/cjs/templates/Templates.d.ts +0 -11
- package/lib/cjs/templates/Templates.js +0 -47
- package/lib/cjs/templates/index.d.ts +0 -229
- package/lib/cjs/templates/index.js +0 -9
- package/lib/cjs/translations/en.d.ts +0 -66
- package/lib/cjs/translations/en.js +0 -67
- package/lib/cjs/utils/ChoicesWrapper.d.ts +0 -38
- package/lib/cjs/utils/ChoicesWrapper.js +0 -194
- package/lib/cjs/utils/Evaluator.d.ts +0 -4
- package/lib/cjs/utils/Evaluator.js +0 -69
- package/lib/cjs/utils/builder.d.ts +0 -22
- package/lib/cjs/utils/builder.js +0 -84
- package/lib/cjs/utils/calendarUtils.d.ts +0 -41
- package/lib/cjs/utils/calendarUtils.js +0 -136
- package/lib/cjs/utils/conditionOperators/ConditionOperator.d.ts +0 -7
- package/lib/cjs/utils/conditionOperators/ConditionOperator.js +0 -29
- package/lib/cjs/utils/conditionOperators/DateGreaterThan.d.ts +0 -13
- package/lib/cjs/utils/conditionOperators/DateGreaterThan.js +0 -37
- package/lib/cjs/utils/conditionOperators/DateGreaterThanOrEqual.d.ts +0 -4
- package/lib/cjs/utils/conditionOperators/DateGreaterThanOrEqual.js +0 -18
- package/lib/cjs/utils/conditionOperators/DateLessThan.d.ts +0 -4
- package/lib/cjs/utils/conditionOperators/DateLessThan.js +0 -18
- package/lib/cjs/utils/conditionOperators/DateLessThanOrEqual.d.ts +0 -4
- package/lib/cjs/utils/conditionOperators/DateLessThanOrEqual.js +0 -18
- package/lib/cjs/utils/conditionOperators/EndsWith.d.ts +0 -7
- package/lib/cjs/utils/conditionOperators/EndsWith.js +0 -19
- package/lib/cjs/utils/conditionOperators/GreaterThan.d.ts +0 -7
- package/lib/cjs/utils/conditionOperators/GreaterThan.js +0 -19
- package/lib/cjs/utils/conditionOperators/GreaterThanOrEqual.d.ts +0 -7
- package/lib/cjs/utils/conditionOperators/GreaterThanOrEqual.js +0 -19
- package/lib/cjs/utils/conditionOperators/Includes.d.ts +0 -7
- package/lib/cjs/utils/conditionOperators/Includes.js +0 -19
- package/lib/cjs/utils/conditionOperators/IsDateEqual.d.ts +0 -4
- package/lib/cjs/utils/conditionOperators/IsDateEqual.js +0 -18
- package/lib/cjs/utils/conditionOperators/IsEmptyValue.d.ts +0 -9
- package/lib/cjs/utils/conditionOperators/IsEmptyValue.js +0 -30
- package/lib/cjs/utils/conditionOperators/IsEqualTo.d.ts +0 -7
- package/lib/cjs/utils/conditionOperators/IsEqualTo.js +0 -30
- package/lib/cjs/utils/conditionOperators/IsNotDateEqual.d.ts +0 -4
- package/lib/cjs/utils/conditionOperators/IsNotDateEqual.js +0 -18
- package/lib/cjs/utils/conditionOperators/IsNotEmptyValue.d.ts +0 -4
- package/lib/cjs/utils/conditionOperators/IsNotEmptyValue.js +0 -18
- package/lib/cjs/utils/conditionOperators/IsNotEqualTo.d.ts +0 -7
- package/lib/cjs/utils/conditionOperators/IsNotEqualTo.js +0 -19
- package/lib/cjs/utils/conditionOperators/LessThan.d.ts +0 -7
- package/lib/cjs/utils/conditionOperators/LessThan.js +0 -19
- package/lib/cjs/utils/conditionOperators/LessThanOrEqual.d.ts +0 -7
- package/lib/cjs/utils/conditionOperators/LessThanOrEqual.js +0 -19
- package/lib/cjs/utils/conditionOperators/NotIncludes.d.ts +0 -4
- package/lib/cjs/utils/conditionOperators/NotIncludes.js +0 -18
- package/lib/cjs/utils/conditionOperators/StartsWith.d.ts +0 -7
- package/lib/cjs/utils/conditionOperators/StartsWith.js +0 -19
- package/lib/cjs/utils/conditionOperators/index.d.ts +0 -7
- package/lib/cjs/utils/conditionOperators/index.js +0 -44
- package/lib/cjs/utils/formUtils.d.ts +0 -173
- package/lib/cjs/utils/formUtils.js +0 -583
- package/lib/cjs/utils/i18n.d.ts +0 -16
- package/lib/cjs/utils/i18n.js +0 -88
- package/lib/cjs/utils/index.d.ts +0 -2
- package/lib/cjs/utils/index.js +0 -30
- package/lib/cjs/utils/jsonlogic/operators.d.ts +0 -1
- package/lib/cjs/utils/jsonlogic/operators.js +0 -265
- package/lib/cjs/utils/utils.d.ts +0 -374
- package/lib/cjs/utils/utils.js +0 -1487
- package/lib/cjs/validator/Rules.d.ts +0 -53
- package/lib/cjs/validator/Rules.js +0 -22
- package/lib/cjs/validator/Validator.d.ts +0 -228
- package/lib/cjs/validator/Validator.js +0 -1113
- package/lib/cjs/validator/conjunctions/index.d.ts +0 -7
- package/lib/cjs/validator/conjunctions/index.js +0 -18
- package/lib/cjs/validator/operators/index.d.ts +0 -7
- package/lib/cjs/validator/operators/index.js +0 -18
- package/lib/cjs/validator/quickRules/index.d.ts +0 -7
- package/lib/cjs/validator/quickRules/index.js +0 -18
- package/lib/cjs/validator/rules/Custom.d.ts +0 -5
- package/lib/cjs/validator/rules/Custom.js +0 -30
- package/lib/cjs/validator/rules/Date.d.ts +0 -5
- package/lib/cjs/validator/rules/Date.js +0 -25
- package/lib/cjs/validator/rules/Day.d.ts +0 -5
- package/lib/cjs/validator/rules/Day.js +0 -58
- package/lib/cjs/validator/rules/Email.d.ts +0 -5
- package/lib/cjs/validator/rules/Email.js +0 -24
- package/lib/cjs/validator/rules/JSON.d.ts +0 -5
- package/lib/cjs/validator/rules/JSON.js +0 -29
- package/lib/cjs/validator/rules/Mask.d.ts +0 -5
- package/lib/cjs/validator/rules/Mask.js +0 -32
- package/lib/cjs/validator/rules/Max.d.ts +0 -5
- package/lib/cjs/validator/rules/Max.js +0 -21
- package/lib/cjs/validator/rules/MaxDate.d.ts +0 -5
- package/lib/cjs/validator/rules/MaxDate.js +0 -34
- package/lib/cjs/validator/rules/MaxLength.d.ts +0 -5
- package/lib/cjs/validator/rules/MaxLength.js +0 -20
- package/lib/cjs/validator/rules/MaxWords.d.ts +0 -5
- package/lib/cjs/validator/rules/MaxWords.js +0 -20
- package/lib/cjs/validator/rules/MaxYear.d.ts +0 -5
- package/lib/cjs/validator/rules/MaxYear.js +0 -22
- package/lib/cjs/validator/rules/Min.d.ts +0 -5
- package/lib/cjs/validator/rules/Min.js +0 -21
- package/lib/cjs/validator/rules/MinDate.d.ts +0 -5
- package/lib/cjs/validator/rules/MinDate.js +0 -30
- package/lib/cjs/validator/rules/MinLength.d.ts +0 -5
- package/lib/cjs/validator/rules/MinLength.js +0 -20
- package/lib/cjs/validator/rules/MinWords.d.ts +0 -5
- package/lib/cjs/validator/rules/MinWords.js +0 -20
- package/lib/cjs/validator/rules/MinYear.d.ts +0 -5
- package/lib/cjs/validator/rules/MinYear.js +0 -22
- package/lib/cjs/validator/rules/Pattern.d.ts +0 -5
- package/lib/cjs/validator/rules/Pattern.js +0 -20
- package/lib/cjs/validator/rules/Required.d.ts +0 -5
- package/lib/cjs/validator/rules/Required.js +0 -17
- package/lib/cjs/validator/rules/Rule.d.ts +0 -7
- package/lib/cjs/validator/rules/Rule.js +0 -12
- package/lib/cjs/validator/rules/Select.d.ts +0 -5
- package/lib/cjs/validator/rules/Select.js +0 -95
- package/lib/cjs/validator/rules/Time.d.ts +0 -5
- package/lib/cjs/validator/rules/Time.js +0 -19
- package/lib/cjs/validator/rules/Unique.d.ts +0 -5
- package/lib/cjs/validator/rules/Unique.js +0 -69
- package/lib/cjs/validator/rules/Url.d.ts +0 -5
- package/lib/cjs/validator/rules/Url.js +0 -23
- package/lib/cjs/validator/rules/index.d.ts +0 -47
- package/lib/cjs/validator/rules/index.js +0 -51
- package/lib/cjs/validator/transformers/index.d.ts +0 -7
- package/lib/cjs/validator/transformers/index.js +0 -18
- package/lib/cjs/validator/valueSources/index.d.ts +0 -7
- package/lib/cjs/validator/valueSources/index.js +0 -18
- package/lib/cjs/widgets/CalendarWidget.d.ts +0 -97
- package/lib/cjs/widgets/CalendarWidget.js +0 -468
- package/lib/cjs/widgets/InputWidget.d.ts +0 -24
- package/lib/cjs/widgets/InputWidget.js +0 -74
- package/lib/cjs/widgets/index.d.ts +0 -7
- package/lib/cjs/widgets/index.js +0 -11
- package/lib/mjs/CDN.d.ts +0 -29
- package/lib/mjs/CDN.js +0 -75
- package/lib/mjs/Element.d.ts +0 -255
- package/lib/mjs/Element.js +0 -571
- package/lib/mjs/Embed.d.ts +0 -43
- package/lib/mjs/Embed.js +0 -298
- package/lib/mjs/EventEmitter.d.ts +0 -7
- package/lib/mjs/EventEmitter.js +0 -26
- package/lib/mjs/Form.d.ts +0 -93
- package/lib/mjs/Form.js +0 -350
- package/lib/mjs/FormBuilder.d.ts +0 -6
- package/lib/mjs/FormBuilder.js +0 -34
- package/lib/mjs/Formio.d.ts +0 -2
- package/lib/mjs/Formio.js +0 -89
- package/lib/mjs/PDF.d.ts +0 -40
- package/lib/mjs/PDF.js +0 -284
- package/lib/mjs/PDFBuilder.d.ts +0 -55
- package/lib/mjs/PDFBuilder.js +0 -473
- package/lib/mjs/Webform.d.ts +0 -405
- package/lib/mjs/Webform.js +0 -1431
- package/lib/mjs/WebformBuilder.d.ts +0 -126
- package/lib/mjs/WebformBuilder.js +0 -1576
- package/lib/mjs/Wizard.d.ts +0 -96
- package/lib/mjs/Wizard.js +0 -904
- package/lib/mjs/WizardBuilder.d.ts +0 -48
- package/lib/mjs/WizardBuilder.js +0 -262
- package/lib/mjs/addons/FormioAddon.d.ts +0 -19
- package/lib/mjs/addons/FormioAddon.js +0 -30
- package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +0 -717
- package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.form.d.ts +0 -590
- package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.form.js +0 -311
- package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.js +0 -388
- package/lib/mjs/addons/index.d.ts +0 -625
- package/lib/mjs/addons/index.js +0 -19
- package/lib/mjs/builders/Builders.d.ts +0 -18
- package/lib/mjs/builders/Builders.js +0 -24
- package/lib/mjs/builders/index.d.ts +0 -2
- package/lib/mjs/builders/index.js +0 -2
- package/lib/mjs/components/Components.d.ts +0 -258
- package/lib/mjs/components/Components.js +0 -75
- package/lib/mjs/components/_classes/component/Component.d.ts +0 -798
- package/lib/mjs/components/_classes/component/Component.form.d.ts +0 -3
- package/lib/mjs/components/_classes/component/Component.form.js +0 -71
- package/lib/mjs/components/_classes/component/Component.js +0 -3164
- package/lib/mjs/components/_classes/component/editForm/Component.edit.addons.d.ts +0 -645
- package/lib/mjs/components/_classes/component/editForm/Component.edit.addons.js +0 -39
- package/lib/mjs/components/_classes/component/editForm/Component.edit.api.d.ts +0 -42
- package/lib/mjs/components/_classes/component/editForm/Component.edit.api.js +0 -38
- package/lib/mjs/components/_classes/component/editForm/Component.edit.conditional.d.ts +0 -113
- package/lib/mjs/components/_classes/component/editForm/Component.edit.conditional.js +0 -50
- package/lib/mjs/components/_classes/component/editForm/Component.edit.data.d.ts +0 -219
- package/lib/mjs/components/_classes/component/editForm/Component.edit.data.js +0 -156
- package/lib/mjs/components/_classes/component/editForm/Component.edit.display.d.ts +0 -160
- package/lib/mjs/components/_classes/component/editForm/Component.edit.display.js +0 -199
- package/lib/mjs/components/_classes/component/editForm/Component.edit.layout.d.ts +0 -44
- package/lib/mjs/components/_classes/component/editForm/Component.edit.layout.js +0 -77
- package/lib/mjs/components/_classes/component/editForm/Component.edit.logic.d.ts +0 -368
- package/lib/mjs/components/_classes/component/editForm/Component.edit.logic.js +0 -410
- package/lib/mjs/components/_classes/component/editForm/Component.edit.validation.d.ts +0 -140
- package/lib/mjs/components/_classes/component/editForm/Component.edit.validation.js +0 -204
- package/lib/mjs/components/_classes/component/editForm/utils.d.ts +0 -83
- package/lib/mjs/components/_classes/component/editForm/utils.js +0 -132
- package/lib/mjs/components/_classes/component/fixtures/comp1.d.ts +0 -33
- package/lib/mjs/components/_classes/component/fixtures/comp1.js +0 -31
- package/lib/mjs/components/_classes/component/fixtures/comp2.d.ts +0 -33
- package/lib/mjs/components/_classes/component/fixtures/comp2.js +0 -31
- package/lib/mjs/components/_classes/component/fixtures/comp3.d.ts +0 -14
- package/lib/mjs/components/_classes/component/fixtures/comp3.js +0 -12
- package/lib/mjs/components/_classes/component/fixtures/comp4.d.ts +0 -17
- package/lib/mjs/components/_classes/component/fixtures/comp4.js +0 -16
- package/lib/mjs/components/_classes/component/fixtures/index.d.ts +0 -5
- package/lib/mjs/components/_classes/component/fixtures/index.js +0 -5
- package/lib/mjs/components/_classes/componentModal/ComponentModal.d.ts +0 -46
- package/lib/mjs/components/_classes/componentModal/ComponentModal.js +0 -177
- package/lib/mjs/components/_classes/field/Field.d.ts +0 -5
- package/lib/mjs/components/_classes/field/Field.js +0 -34
- package/lib/mjs/components/_classes/input/Input.d.ts +0 -42
- package/lib/mjs/components/_classes/input/Input.js +0 -296
- 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/ListComponent.form.js +0 -10
- package/lib/mjs/components/_classes/list/ListComponent.js +0 -249
- package/lib/mjs/components/_classes/list/editForm/ListComponent.edit.data.d.ts +0 -183
- package/lib/mjs/components/_classes/list/editForm/ListComponent.edit.data.js +0 -117
- package/lib/mjs/components/_classes/multivalue/Multivalue.d.ts +0 -29
- package/lib/mjs/components/_classes/multivalue/Multivalue.js +0 -249
- package/lib/mjs/components/_classes/nested/NestedComponent.d.ts +0 -133
- package/lib/mjs/components/_classes/nested/NestedComponent.form.d.ts +0 -3
- package/lib/mjs/components/_classes/nested/NestedComponent.form.js +0 -13
- package/lib/mjs/components/_classes/nested/NestedComponent.js +0 -686
- package/lib/mjs/components/_classes/nested/fixtures/comp1.d.ts +0 -8
- package/lib/mjs/components/_classes/nested/fixtures/comp1.js +0 -14
- package/lib/mjs/components/_classes/nested/fixtures/comp2.d.ts +0 -236
- package/lib/mjs/components/_classes/nested/fixtures/comp2.js +0 -225
- package/lib/mjs/components/_classes/nested/fixtures/comp3.d.ts +0 -26
- package/lib/mjs/components/_classes/nested/fixtures/comp3.js +0 -27
- package/lib/mjs/components/_classes/nested/fixtures/index.d.ts +0 -3
- package/lib/mjs/components/_classes/nested/fixtures/index.js +0 -3
- package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +0 -15
- package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.js +0 -178
- package/lib/mjs/components/_classes/nesteddata/NestedDataComponent.d.ts +0 -12
- package/lib/mjs/components/_classes/nesteddata/NestedDataComponent.js +0 -128
- 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/Address.form.js +0 -22
- package/lib/mjs/components/address/Address.js +0 -541
- package/lib/mjs/components/address/editForm/Address.edit.data.d.ts +0 -31
- package/lib/mjs/components/address/editForm/Address.edit.data.js +0 -21
- package/lib/mjs/components/address/editForm/Address.edit.display.d.ts +0 -49
- package/lib/mjs/components/address/editForm/Address.edit.display.js +0 -42
- package/lib/mjs/components/address/editForm/Address.edit.provider.d.ts +0 -164
- package/lib/mjs/components/address/editForm/Address.edit.provider.js +0 -151
- package/lib/mjs/components/address/fixtures/comp1.d.ts +0 -34
- package/lib/mjs/components/address/fixtures/comp1.js +0 -69
- package/lib/mjs/components/address/fixtures/comp2.d.ts +0 -62
- package/lib/mjs/components/address/fixtures/comp2.js +0 -101
- package/lib/mjs/components/address/fixtures/comp3.d.ts +0 -44
- package/lib/mjs/components/address/fixtures/comp3.js +0 -83
- package/lib/mjs/components/address/fixtures/comp4.d.ts +0 -56
- package/lib/mjs/components/address/fixtures/comp4.js +0 -91
- package/lib/mjs/components/address/fixtures/index.d.ts +0 -5
- package/lib/mjs/components/address/fixtures/index.js +0 -5
- package/lib/mjs/components/address/fixtures/values.d.ts +0 -22
- package/lib/mjs/components/address/fixtures/values.js +0 -17
- package/lib/mjs/components/alert/Alert.d.ts +0 -30
- package/lib/mjs/components/alert/Alert.js +0 -176
- package/lib/mjs/components/builder.d.ts +0 -2
- package/lib/mjs/components/builder.js +0 -86
- 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/Button.form.js +0 -18
- package/lib/mjs/components/button/Button.js +0 -460
- package/lib/mjs/components/button/editForm/Button.edit.display.d.ts +0 -360
- package/lib/mjs/components/button/editForm/Button.edit.display.js +0 -247
- package/lib/mjs/components/button/fixtures/comp1.d.ts +0 -15
- package/lib/mjs/components/button/fixtures/comp1.js +0 -14
- package/lib/mjs/components/button/fixtures/comp2.d.ts +0 -25
- package/lib/mjs/components/button/fixtures/comp2.js +0 -55
- package/lib/mjs/components/button/fixtures/comp3.d.ts +0 -113
- package/lib/mjs/components/button/fixtures/comp3.js +0 -82
- package/lib/mjs/components/button/fixtures/index.d.ts +0 -4
- package/lib/mjs/components/button/fixtures/index.js +0 -4
- package/lib/mjs/components/button/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/button/fixtures/values.js +0 -4
- 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/Checkbox.form.js +0 -20
- package/lib/mjs/components/checkbox/Checkbox.js +0 -219
- package/lib/mjs/components/checkbox/editForm/Checkbox.edit.data.d.ts +0 -5
- package/lib/mjs/components/checkbox/editForm/Checkbox.edit.data.js +0 -6
- package/lib/mjs/components/checkbox/editForm/Checkbox.edit.display.d.ts +0 -75
- package/lib/mjs/components/checkbox/editForm/Checkbox.edit.display.js +0 -74
- package/lib/mjs/components/checkbox/editForm/Checkbox.edit.validation.d.ts +0 -5
- package/lib/mjs/components/checkbox/editForm/Checkbox.edit.validation.js +0 -10
- package/lib/mjs/components/checkbox/fixtures/comp1.d.ts +0 -24
- package/lib/mjs/components/checkbox/fixtures/comp1.js +0 -22
- package/lib/mjs/components/checkbox/fixtures/comp2.d.ts +0 -12
- package/lib/mjs/components/checkbox/fixtures/comp2.js +0 -11
- package/lib/mjs/components/checkbox/fixtures/comp3.d.ts +0 -15
- package/lib/mjs/components/checkbox/fixtures/comp3.js +0 -14
- package/lib/mjs/components/checkbox/fixtures/comp4.d.ts +0 -46
- package/lib/mjs/components/checkbox/fixtures/comp4.js +0 -37
- package/lib/mjs/components/checkbox/fixtures/customDefaultComponent.d.ts +0 -25
- package/lib/mjs/components/checkbox/fixtures/customDefaultComponent.js +0 -23
- package/lib/mjs/components/checkbox/fixtures/index.d.ts +0 -6
- package/lib/mjs/components/checkbox/fixtures/index.js +0 -6
- package/lib/mjs/components/checkbox/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/checkbox/fixtures/values.js +0 -4
- package/lib/mjs/components/columns/Columns.d.ts +0 -27
- package/lib/mjs/components/columns/Columns.form.d.ts +0 -3
- package/lib/mjs/components/columns/Columns.form.js +0 -10
- package/lib/mjs/components/columns/Columns.js +0 -153
- package/lib/mjs/components/columns/editForm/Columns.edit.display.d.ts +0 -58
- package/lib/mjs/components/columns/editForm/Columns.edit.display.js +0 -98
- package/lib/mjs/components/columns/fixtures/comp1.d.ts +0 -45
- package/lib/mjs/components/columns/fixtures/comp1.js +0 -83
- package/lib/mjs/components/columns/fixtures/comp2.d.ts +0 -24
- package/lib/mjs/components/columns/fixtures/comp2.js +0 -125
- package/lib/mjs/components/columns/fixtures/comp3.d.ts +0 -45
- package/lib/mjs/components/columns/fixtures/comp3.js +0 -51
- package/lib/mjs/components/columns/fixtures/index.d.ts +0 -4
- package/lib/mjs/components/columns/fixtures/index.js +0 -4
- package/lib/mjs/components/container/Container.d.ts +0 -15
- package/lib/mjs/components/container/Container.form.d.ts +0 -3
- package/lib/mjs/components/container/Container.form.js +0 -15
- package/lib/mjs/components/container/Container.js +0 -76
- package/lib/mjs/components/container/editForm/Container.edit.data.d.ts +0 -5
- package/lib/mjs/components/container/editForm/Container.edit.data.js +0 -14
- package/lib/mjs/components/container/editForm/Container.edit.display.d.ts +0 -5
- package/lib/mjs/components/container/editForm/Container.edit.display.js +0 -18
- package/lib/mjs/components/container/fixtures/comp1.d.ts +0 -49
- package/lib/mjs/components/container/fixtures/comp1.js +0 -80
- package/lib/mjs/components/container/fixtures/comp2.d.ts +0 -30
- package/lib/mjs/components/container/fixtures/comp2.js +0 -32
- package/lib/mjs/components/container/fixtures/comp3.d.ts +0 -77
- package/lib/mjs/components/container/fixtures/comp3.js +0 -55
- package/lib/mjs/components/container/fixtures/index.d.ts +0 -4
- package/lib/mjs/components/container/fixtures/index.js +0 -4
- package/lib/mjs/components/content/Content.d.ts +0 -17
- package/lib/mjs/components/content/Content.form.d.ts +0 -3
- package/lib/mjs/components/content/Content.form.js +0 -37
- package/lib/mjs/components/content/Content.js +0 -71
- package/lib/mjs/components/content/editForm/Content.edit.display.d.ts +0 -18
- package/lib/mjs/components/content/editForm/Content.edit.display.js +0 -46
- package/lib/mjs/components/content/editForm/Content.edit.logic.d.ts +0 -48
- package/lib/mjs/components/content/editForm/Content.edit.logic.js +0 -98
- package/lib/mjs/components/content/fixtures/comp1.d.ts +0 -13
- package/lib/mjs/components/content/fixtures/comp1.js +0 -12
- package/lib/mjs/components/content/fixtures/index.d.ts +0 -2
- package/lib/mjs/components/content/fixtures/index.js +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/Currency.form.js +0 -40
- package/lib/mjs/components/currency/Currency.js +0 -174
- package/lib/mjs/components/currency/editForm/Currency.edit.data.d.ts +0 -29
- package/lib/mjs/components/currency/editForm/Currency.edit.data.js +0 -190
- package/lib/mjs/components/currency/editForm/Currency.edit.display.d.ts +0 -18
- package/lib/mjs/components/currency/editForm/Currency.edit.display.js +0 -38
- package/lib/mjs/components/currency/fixtures/comp1.d.ts +0 -31
- package/lib/mjs/components/currency/fixtures/comp1.js +0 -29
- package/lib/mjs/components/currency/fixtures/comp2.d.ts +0 -20
- package/lib/mjs/components/currency/fixtures/comp2.js +0 -18
- package/lib/mjs/components/currency/fixtures/comp3.d.ts +0 -13
- package/lib/mjs/components/currency/fixtures/comp3.js +0 -12
- package/lib/mjs/components/currency/fixtures/comp4.d.ts +0 -17
- package/lib/mjs/components/currency/fixtures/comp4.js +0 -18
- package/lib/mjs/components/currency/fixtures/index.d.ts +0 -5
- package/lib/mjs/components/currency/fixtures/index.js +0 -5
- package/lib/mjs/components/currency/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/currency/fixtures/values.js +0 -6
- package/lib/mjs/components/datagrid/DataGrid.d.ts +0 -88
- package/lib/mjs/components/datagrid/DataGrid.form.d.ts +0 -3
- package/lib/mjs/components/datagrid/DataGrid.form.js +0 -20
- package/lib/mjs/components/datagrid/DataGrid.js +0 -644
- package/lib/mjs/components/datagrid/editForm/DataGrid.edit.data.d.ts +0 -5
- package/lib/mjs/components/datagrid/editForm/DataGrid.edit.data.js +0 -6
- package/lib/mjs/components/datagrid/editForm/DataGrid.edit.display.d.ts +0 -283
- package/lib/mjs/components/datagrid/editForm/DataGrid.edit.display.js +0 -147
- package/lib/mjs/components/datagrid/editForm/DataGrid.edit.validation.d.ts +0 -20
- package/lib/mjs/components/datagrid/editForm/DataGrid.edit.validation.js +0 -24
- package/lib/mjs/components/datagrid/fixtures/comp-modal-with-required-fields.d.ts +0 -37
- package/lib/mjs/components/datagrid/fixtures/comp-modal-with-required-fields.js +0 -40
- package/lib/mjs/components/datagrid/fixtures/comp-on-blur-validation.d.ts +0 -0
- package/lib/mjs/components/datagrid/fixtures/comp-on-blur-validation.js +0 -1
- package/lib/mjs/components/datagrid/fixtures/comp-row-groups-with-def-value.d.ts +0 -63
- package/lib/mjs/components/datagrid/fixtures/comp-row-groups-with-def-value.js +0 -79
- package/lib/mjs/components/datagrid/fixtures/comp-with-collapsible-groups.d.ts +0 -76
- package/lib/mjs/components/datagrid/fixtures/comp-with-collapsible-groups.js +0 -73
- package/lib/mjs/components/datagrid/fixtures/comp-with-conditional-components-and-validations.d.ts +0 -197
- package/lib/mjs/components/datagrid/fixtures/comp-with-conditional-components-and-validations.js +0 -176
- package/lib/mjs/components/datagrid/fixtures/comp-with-def-value.d.ts +0 -61
- package/lib/mjs/components/datagrid/fixtures/comp-with-def-value.js +0 -67
- package/lib/mjs/components/datagrid/fixtures/comp-with-logic.d.ts +0 -165
- package/lib/mjs/components/datagrid/fixtures/comp-with-logic.js +0 -178
- package/lib/mjs/components/datagrid/fixtures/comp1.d.ts +0 -93
- package/lib/mjs/components/datagrid/fixtures/comp1.js +0 -113
- package/lib/mjs/components/datagrid/fixtures/comp2.d.ts +0 -18
- package/lib/mjs/components/datagrid/fixtures/comp2.js +0 -27
- package/lib/mjs/components/datagrid/fixtures/comp3.d.ts +0 -14
- package/lib/mjs/components/datagrid/fixtures/comp3.js +0 -21
- package/lib/mjs/components/datagrid/fixtures/comp4.d.ts +0 -27
- package/lib/mjs/components/datagrid/fixtures/comp4.js +0 -26
- package/lib/mjs/components/datagrid/fixtures/comp5.d.ts +0 -67
- package/lib/mjs/components/datagrid/fixtures/comp5.js +0 -75
- package/lib/mjs/components/datagrid/fixtures/comp6.d.ts +0 -567
- package/lib/mjs/components/datagrid/fixtures/comp6.js +0 -294
- package/lib/mjs/components/datagrid/fixtures/comp7.d.ts +0 -28
- package/lib/mjs/components/datagrid/fixtures/comp7.js +0 -33
- package/lib/mjs/components/datagrid/fixtures/comp8.d.ts +0 -35
- package/lib/mjs/components/datagrid/fixtures/comp8.js +0 -35
- package/lib/mjs/components/datagrid/fixtures/index.d.ts +0 -15
- package/lib/mjs/components/datagrid/fixtures/index.js +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/DataMap.form.js +0 -15
- package/lib/mjs/components/datamap/DataMap.js +0 -295
- package/lib/mjs/components/datamap/editForm/DataMap.edit.data.d.ts +0 -5
- package/lib/mjs/components/datamap/editForm/DataMap.edit.data.js +0 -10
- package/lib/mjs/components/datamap/editForm/DataMap.edit.display.d.ts +0 -30
- package/lib/mjs/components/datamap/editForm/DataMap.edit.display.js +0 -46
- package/lib/mjs/components/datamap/fixtures/comp1.d.ts +0 -18
- package/lib/mjs/components/datamap/fixtures/comp1.js +0 -13
- package/lib/mjs/components/datamap/fixtures/formWithConditionalPanel.d.ts +0 -87
- package/lib/mjs/components/datamap/fixtures/formWithConditionalPanel.js +0 -83
- package/lib/mjs/components/datamap/fixtures/index.d.ts +0 -3
- package/lib/mjs/components/datamap/fixtures/index.js +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/DateTime.form.js +0 -34
- package/lib/mjs/components/datetime/DateTime.js +0 -187
- package/lib/mjs/components/datetime/editForm/DateTime.edit.data.d.ts +0 -24
- package/lib/mjs/components/datetime/editForm/DateTime.edit.data.js +0 -21
- package/lib/mjs/components/datetime/editForm/DateTime.edit.date.d.ts +0 -61
- package/lib/mjs/components/datetime/editForm/DateTime.edit.date.js +0 -70
- package/lib/mjs/components/datetime/editForm/DateTime.edit.display.d.ts +0 -128
- package/lib/mjs/components/datetime/editForm/DateTime.edit.display.js +0 -98
- package/lib/mjs/components/datetime/editForm/DateTime.edit.time.d.ts +0 -9
- package/lib/mjs/components/datetime/editForm/DateTime.edit.time.js +0 -34
- package/lib/mjs/components/datetime/editForm/DateTime.edit.validation.d.ts +0 -40
- package/lib/mjs/components/datetime/editForm/DateTime.edit.validation.js +0 -82
- package/lib/mjs/components/datetime/fixtures/comp1.d.ts +0 -45
- package/lib/mjs/components/datetime/fixtures/comp1.js +0 -42
- package/lib/mjs/components/datetime/fixtures/comp10.d.ts +0 -102
- package/lib/mjs/components/datetime/fixtures/comp10.js +0 -84
- package/lib/mjs/components/datetime/fixtures/comp11.d.ts +0 -58
- package/lib/mjs/components/datetime/fixtures/comp11.js +0 -53
- package/lib/mjs/components/datetime/fixtures/comp12.d.ts +0 -57
- package/lib/mjs/components/datetime/fixtures/comp12.js +0 -53
- package/lib/mjs/components/datetime/fixtures/comp2.d.ts +0 -42
- package/lib/mjs/components/datetime/fixtures/comp2.js +0 -41
- package/lib/mjs/components/datetime/fixtures/comp3.d.ts +0 -51
- package/lib/mjs/components/datetime/fixtures/comp3.js +0 -38
- package/lib/mjs/components/datetime/fixtures/comp5.d.ts +0 -57
- package/lib/mjs/components/datetime/fixtures/comp5.js +0 -46
- package/lib/mjs/components/datetime/fixtures/comp6.d.ts +0 -55
- package/lib/mjs/components/datetime/fixtures/comp6.js +0 -47
- package/lib/mjs/components/datetime/fixtures/comp7.d.ts +0 -59
- package/lib/mjs/components/datetime/fixtures/comp7.js +0 -51
- package/lib/mjs/components/datetime/fixtures/comp8.d.ts +0 -59
- package/lib/mjs/components/datetime/fixtures/comp8.js +0 -50
- package/lib/mjs/components/datetime/fixtures/comp9.d.ts +0 -64
- package/lib/mjs/components/datetime/fixtures/comp9.js +0 -93
- package/lib/mjs/components/datetime/fixtures/index.d.ts +0 -12
- package/lib/mjs/components/datetime/fixtures/index.js +0 -12
- package/lib/mjs/components/datetime/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/datetime/fixtures/values.js +0 -4
- 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/Day.form.js +0 -41
- package/lib/mjs/components/day/Day.js +0 -568
- package/lib/mjs/components/day/editForm/Day.edit.data.d.ts +0 -5
- package/lib/mjs/components/day/editForm/Day.edit.data.js +0 -6
- package/lib/mjs/components/day/editForm/Day.edit.day.d.ts +0 -40
- package/lib/mjs/components/day/editForm/Day.edit.day.js +0 -46
- package/lib/mjs/components/day/editForm/Day.edit.display.d.ts +0 -40
- package/lib/mjs/components/day/editForm/Day.edit.display.js +0 -44
- package/lib/mjs/components/day/editForm/Day.edit.month.d.ts +0 -40
- package/lib/mjs/components/day/editForm/Day.edit.month.js +0 -38
- package/lib/mjs/components/day/editForm/Day.edit.validation.d.ts +0 -29
- package/lib/mjs/components/day/editForm/Day.edit.validation.js +0 -52
- package/lib/mjs/components/day/editForm/Day.edit.year.d.ts +0 -40
- package/lib/mjs/components/day/editForm/Day.edit.year.js +0 -56
- package/lib/mjs/components/day/fixtures/comp1.d.ts +0 -46
- package/lib/mjs/components/day/fixtures/comp1.js +0 -37
- package/lib/mjs/components/day/fixtures/comp2.d.ts +0 -46
- package/lib/mjs/components/day/fixtures/comp2.js +0 -37
- package/lib/mjs/components/day/fixtures/comp3.d.ts +0 -48
- package/lib/mjs/components/day/fixtures/comp3.js +0 -39
- package/lib/mjs/components/day/fixtures/comp4.d.ts +0 -53
- package/lib/mjs/components/day/fixtures/comp4.js +0 -54
- package/lib/mjs/components/day/fixtures/comp5.d.ts +0 -29
- package/lib/mjs/components/day/fixtures/comp5.js +0 -30
- package/lib/mjs/components/day/fixtures/comp6.d.ts +0 -81
- package/lib/mjs/components/day/fixtures/comp6.js +0 -74
- package/lib/mjs/components/day/fixtures/index.d.ts +0 -7
- package/lib/mjs/components/day/fixtures/index.js +0 -7
- package/lib/mjs/components/day/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/day/fixtures/values.js +0 -4
- package/lib/mjs/components/editgrid/EditGrid.d.ts +0 -99
- package/lib/mjs/components/editgrid/EditGrid.form.d.ts +0 -3
- package/lib/mjs/components/editgrid/EditGrid.form.js +0 -27
- package/lib/mjs/components/editgrid/EditGrid.js +0 -1156
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.data.d.ts +0 -18
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.data.js +0 -18
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.display.d.ts +0 -82
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.display.js +0 -53
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.templates.d.ts +0 -58
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.templates.js +0 -126
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.validation.d.ts +0 -29
- package/lib/mjs/components/editgrid/editForm/EditGrid.edit.validation.js +0 -32
- package/lib/mjs/components/editgrid/fixtures/comp-openWhenEmpty.d.ts +0 -34
- package/lib/mjs/components/editgrid/fixtures/comp-openWhenEmpty.js +0 -34
- package/lib/mjs/components/editgrid/fixtures/comp-with-basic-components.d.ts +0 -327
- package/lib/mjs/components/editgrid/fixtures/comp-with-basic-components.js +0 -218
- package/lib/mjs/components/editgrid/fixtures/comp-with-conditions-and-openWhenEmpty.d.ts +0 -77
- package/lib/mjs/components/editgrid/fixtures/comp-with-conditions-and-openWhenEmpty.js +0 -82
- package/lib/mjs/components/editgrid/fixtures/comp-with-custom-default-value.d.ts +0 -190
- package/lib/mjs/components/editgrid/fixtures/comp-with-custom-default-value.js +0 -225
- package/lib/mjs/components/editgrid/fixtures/comp1.d.ts +0 -89
- package/lib/mjs/components/editgrid/fixtures/comp1.js +0 -126
- package/lib/mjs/components/editgrid/fixtures/comp10.d.ts +0 -49
- package/lib/mjs/components/editgrid/fixtures/comp10.js +0 -46
- package/lib/mjs/components/editgrid/fixtures/comp11.d.ts +0 -53
- package/lib/mjs/components/editgrid/fixtures/comp11.js +0 -48
- package/lib/mjs/components/editgrid/fixtures/comp12.d.ts +0 -57
- package/lib/mjs/components/editgrid/fixtures/comp12.js +0 -48
- package/lib/mjs/components/editgrid/fixtures/comp13.d.ts +0 -64
- package/lib/mjs/components/editgrid/fixtures/comp13.js +0 -62
- package/lib/mjs/components/editgrid/fixtures/comp14.d.ts +0 -88
- package/lib/mjs/components/editgrid/fixtures/comp14.js +0 -82
- package/lib/mjs/components/editgrid/fixtures/comp15.d.ts +0 -54
- package/lib/mjs/components/editgrid/fixtures/comp15.js +0 -49
- package/lib/mjs/components/editgrid/fixtures/comp2.d.ts +0 -112
- package/lib/mjs/components/editgrid/fixtures/comp2.js +0 -112
- package/lib/mjs/components/editgrid/fixtures/comp3.d.ts +0 -27
- package/lib/mjs/components/editgrid/fixtures/comp3.js +0 -26
- package/lib/mjs/components/editgrid/fixtures/comp4.d.ts +0 -23
- package/lib/mjs/components/editgrid/fixtures/comp4.js +0 -22
- package/lib/mjs/components/editgrid/fixtures/comp5.d.ts +0 -19
- package/lib/mjs/components/editgrid/fixtures/comp5.js +0 -20
- package/lib/mjs/components/editgrid/fixtures/comp6.d.ts +0 -50
- package/lib/mjs/components/editgrid/fixtures/comp6.js +0 -56
- package/lib/mjs/components/editgrid/fixtures/comp7.d.ts +0 -129
- package/lib/mjs/components/editgrid/fixtures/comp7.js +0 -121
- package/lib/mjs/components/editgrid/fixtures/comp8.d.ts +0 -148
- package/lib/mjs/components/editgrid/fixtures/comp8.js +0 -154
- package/lib/mjs/components/editgrid/fixtures/comp9.d.ts +0 -86
- package/lib/mjs/components/editgrid/fixtures/comp9.js +0 -60
- package/lib/mjs/components/editgrid/fixtures/index.d.ts +0 -19
- package/lib/mjs/components/editgrid/fixtures/index.js +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/Email.form.js +0 -15
- package/lib/mjs/components/email/Email.js +0 -48
- package/lib/mjs/components/email/editForm/Email.edit.display.d.ts +0 -5
- package/lib/mjs/components/email/editForm/Email.edit.display.js +0 -18
- package/lib/mjs/components/email/editForm/Email.edit.validation.d.ts +0 -24
- package/lib/mjs/components/email/editForm/Email.edit.validation.js +0 -26
- package/lib/mjs/components/email/fixtures/comp1.d.ts +0 -26
- package/lib/mjs/components/email/fixtures/comp1.js +0 -24
- package/lib/mjs/components/email/fixtures/comp2.d.ts +0 -23
- package/lib/mjs/components/email/fixtures/comp2.js +0 -11
- package/lib/mjs/components/email/fixtures/index.d.ts +0 -3
- package/lib/mjs/components/email/fixtures/index.js +0 -3
- package/lib/mjs/components/email/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/email/fixtures/values.js +0 -4
- 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/Fieldset.form.js +0 -10
- package/lib/mjs/components/fieldset/Fieldset.js +0 -41
- package/lib/mjs/components/fieldset/editForm/Fieldset.edit.display.d.ts +0 -33
- package/lib/mjs/components/fieldset/editForm/Fieldset.edit.display.js +0 -42
- package/lib/mjs/components/fieldset/fixtures/comp1.d.ts +0 -46
- package/lib/mjs/components/fieldset/fixtures/comp1.js +0 -79
- package/lib/mjs/components/fieldset/fixtures/index.d.ts +0 -2
- package/lib/mjs/components/fieldset/fixtures/index.js +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/File.form.js +0 -27
- package/lib/mjs/components/file/File.js +0 -774
- package/lib/mjs/components/file/editForm/File.edit.data.d.ts +0 -5
- package/lib/mjs/components/file/editForm/File.edit.data.js +0 -6
- package/lib/mjs/components/file/editForm/File.edit.display.d.ts +0 -5
- package/lib/mjs/components/file/editForm/File.edit.display.js +0 -6
- package/lib/mjs/components/file/editForm/File.edit.file.d.ts +0 -275
- package/lib/mjs/components/file/editForm/File.edit.file.js +0 -283
- package/lib/mjs/components/file/editForm/File.edit.validation.d.ts +0 -5
- package/lib/mjs/components/file/editForm/File.edit.validation.js +0 -10
- package/lib/mjs/components/file/fixtures/comp1.d.ts +0 -15
- package/lib/mjs/components/file/fixtures/comp1.js +0 -16
- package/lib/mjs/components/file/fixtures/comp2.d.ts +0 -35
- package/lib/mjs/components/file/fixtures/comp2.js +0 -29
- package/lib/mjs/components/file/fixtures/index.d.ts +0 -3
- package/lib/mjs/components/file/fixtures/index.js +0 -3
- package/lib/mjs/components/file/fixtures/values.d.ts +0 -10
- package/lib/mjs/components/file/fixtures/values.js +0 -13
- package/lib/mjs/components/form/Form.d.ts +0 -98
- package/lib/mjs/components/form/Form.form.d.ts +0 -3
- package/lib/mjs/components/form/Form.form.js +0 -24
- package/lib/mjs/components/form/Form.js +0 -717
- package/lib/mjs/components/form/editForm/Form.edit.data.d.ts +0 -82
- package/lib/mjs/components/form/editForm/Form.edit.data.js +0 -16
- package/lib/mjs/components/form/editForm/Form.edit.display.d.ts +0 -5
- package/lib/mjs/components/form/editForm/Form.edit.display.js +0 -27
- package/lib/mjs/components/form/editForm/Form.edit.form.d.ts +0 -89
- package/lib/mjs/components/form/editForm/Form.edit.form.js +0 -72
- package/lib/mjs/components/form/fixtures/comp1.d.ts +0 -45
- package/lib/mjs/components/form/fixtures/comp1.js +0 -78
- package/lib/mjs/components/form/fixtures/comp2.d.ts +0 -14
- package/lib/mjs/components/form/fixtures/comp2.js +0 -13
- package/lib/mjs/components/form/fixtures/comp3.d.ts +0 -187
- package/lib/mjs/components/form/fixtures/comp3.js +0 -168
- package/lib/mjs/components/form/fixtures/comp4.d.ts +0 -107
- package/lib/mjs/components/form/fixtures/comp4.js +0 -89
- package/lib/mjs/components/form/fixtures/comp5.d.ts +0 -42
- package/lib/mjs/components/form/fixtures/comp5.js +0 -43
- package/lib/mjs/components/form/fixtures/comp6.d.ts +0 -74
- package/lib/mjs/components/form/fixtures/comp6.js +0 -92
- package/lib/mjs/components/form/fixtures/formModalEdit.d.ts +0 -42
- package/lib/mjs/components/form/fixtures/formModalEdit.js +0 -49
- package/lib/mjs/components/form/fixtures/index.d.ts +0 -8
- package/lib/mjs/components/form/fixtures/index.js +0 -8
- package/lib/mjs/components/form/fixtures/values.d.ts +0 -6
- package/lib/mjs/components/form/fixtures/values.js +0 -7
- 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/Hidden.form.js +0 -23
- package/lib/mjs/components/hidden/Hidden.js +0 -55
- package/lib/mjs/components/hidden/editForm/Hidden.edit.data.d.ts +0 -5
- package/lib/mjs/components/hidden/editForm/Hidden.edit.data.js +0 -14
- package/lib/mjs/components/hidden/editForm/Hidden.edit.display.d.ts +0 -5
- package/lib/mjs/components/hidden/editForm/Hidden.edit.display.js +0 -42
- package/lib/mjs/components/hidden/fixtures/comp1.d.ts +0 -18
- package/lib/mjs/components/hidden/fixtures/comp1.js +0 -16
- package/lib/mjs/components/hidden/fixtures/index.d.ts +0 -2
- package/lib/mjs/components/hidden/fixtures/index.js +0 -2
- package/lib/mjs/components/hidden/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/hidden/fixtures/values.js +0 -4
- 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/HTML.form.js +0 -23
- package/lib/mjs/components/html/HTML.js +0 -87
- package/lib/mjs/components/html/editForm/HTML.edit.display.d.ts +0 -77
- package/lib/mjs/components/html/editForm/HTML.edit.display.js +0 -98
- package/lib/mjs/components/html/editForm/HTML.edit.logic.d.ts +0 -48
- package/lib/mjs/components/html/editForm/HTML.edit.logic.js +0 -98
- package/lib/mjs/components/html/fixtures/comp1.d.ts +0 -19
- package/lib/mjs/components/html/fixtures/comp1.js +0 -20
- package/lib/mjs/components/html/fixtures/comp2.d.ts +0 -21
- package/lib/mjs/components/html/fixtures/comp2.js +0 -22
- package/lib/mjs/components/html/fixtures/index.d.ts +0 -3
- package/lib/mjs/components/html/fixtures/index.js +0 -3
- package/lib/mjs/components/index.d.ts +0 -100
- package/lib/mjs/components/index.js +0 -99
- package/lib/mjs/components/number/Number.d.ts +0 -54
- package/lib/mjs/components/number/Number.form.d.ts +0 -3
- package/lib/mjs/components/number/Number.form.js +0 -20
- package/lib/mjs/components/number/Number.js +0 -201
- package/lib/mjs/components/number/editForm/Number.edit.data.d.ts +0 -18
- package/lib/mjs/components/number/editForm/Number.edit.data.js +0 -30
- package/lib/mjs/components/number/editForm/Number.edit.display.d.ts +0 -5
- package/lib/mjs/components/number/editForm/Number.edit.display.js +0 -22
- package/lib/mjs/components/number/editForm/Number.edit.validation.d.ts +0 -20
- package/lib/mjs/components/number/editForm/Number.edit.validation.js +0 -44
- package/lib/mjs/components/number/fixtures/comp1.d.ts +0 -33
- package/lib/mjs/components/number/fixtures/comp1.js +0 -30
- package/lib/mjs/components/number/fixtures/comp2.d.ts +0 -32
- package/lib/mjs/components/number/fixtures/comp2.js +0 -29
- package/lib/mjs/components/number/fixtures/comp3.d.ts +0 -14
- package/lib/mjs/components/number/fixtures/comp3.js +0 -13
- package/lib/mjs/components/number/fixtures/comp4.d.ts +0 -14
- package/lib/mjs/components/number/fixtures/comp4.js +0 -13
- package/lib/mjs/components/number/fixtures/comp5.d.ts +0 -20
- package/lib/mjs/components/number/fixtures/comp5.js +0 -18
- package/lib/mjs/components/number/fixtures/comp6.d.ts +0 -40
- package/lib/mjs/components/number/fixtures/comp6.js +0 -25
- package/lib/mjs/components/number/fixtures/comp7.d.ts +0 -15
- package/lib/mjs/components/number/fixtures/comp7.js +0 -14
- package/lib/mjs/components/number/fixtures/index.d.ts +0 -8
- package/lib/mjs/components/number/fixtures/index.js +0 -8
- package/lib/mjs/components/number/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/number/fixtures/values.js +0 -9
- package/lib/mjs/components/panel/Panel.d.ts +0 -15
- package/lib/mjs/components/panel/Panel.form.d.ts +0 -3
- package/lib/mjs/components/panel/Panel.form.js +0 -15
- package/lib/mjs/components/panel/Panel.js +0 -55
- package/lib/mjs/components/panel/editForm/Panel.edit.conditional.d.ts +0 -75
- package/lib/mjs/components/panel/editForm/Panel.edit.conditional.js +0 -40
- package/lib/mjs/components/panel/editForm/Panel.edit.display.d.ts +0 -228
- package/lib/mjs/components/panel/editForm/Panel.edit.display.js +0 -208
- package/lib/mjs/components/panel/fixtures/comp1.d.ts +0 -46
- package/lib/mjs/components/panel/fixtures/comp1.js +0 -78
- package/lib/mjs/components/panel/fixtures/comp2.d.ts +0 -80
- package/lib/mjs/components/panel/fixtures/comp2.js +0 -67
- package/lib/mjs/components/panel/fixtures/index.d.ts +0 -3
- package/lib/mjs/components/panel/fixtures/index.js +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/Password.form.js +0 -20
- package/lib/mjs/components/password/Password.js +0 -34
- package/lib/mjs/components/password/editForm/Password.edit.data.d.ts +0 -18
- package/lib/mjs/components/password/editForm/Password.edit.data.js +0 -46
- package/lib/mjs/components/password/editForm/Password.edit.display.d.ts +0 -5
- package/lib/mjs/components/password/editForm/Password.edit.display.js +0 -14
- package/lib/mjs/components/password/editForm/Password.edit.validation.d.ts +0 -5
- package/lib/mjs/components/password/editForm/Password.edit.validation.js +0 -14
- package/lib/mjs/components/password/fixtures/comp1.d.ts +0 -22
- package/lib/mjs/components/password/fixtures/comp1.js +0 -20
- package/lib/mjs/components/password/fixtures/comp2.d.ts +0 -27
- package/lib/mjs/components/password/fixtures/comp2.js +0 -27
- package/lib/mjs/components/password/fixtures/index.d.ts +0 -3
- package/lib/mjs/components/password/fixtures/index.js +0 -3
- package/lib/mjs/components/password/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/password/fixtures/values.js +0 -4
- 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/PhoneNumber.form.js +0 -32
- package/lib/mjs/components/phonenumber/PhoneNumber.js +0 -27
- package/lib/mjs/components/phonenumber/editForm/PhoneNumber.edit.validation.d.ts +0 -5
- package/lib/mjs/components/phonenumber/editForm/PhoneNumber.edit.validation.js +0 -22
- package/lib/mjs/components/phonenumber/fixtures/comp1.d.ts +0 -27
- package/lib/mjs/components/phonenumber/fixtures/comp1.js +0 -25
- package/lib/mjs/components/phonenumber/fixtures/index.d.ts +0 -2
- package/lib/mjs/components/phonenumber/fixtures/index.js +0 -2
- package/lib/mjs/components/phonenumber/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/phonenumber/fixtures/values.js +0 -4
- 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/Radio.form.js +0 -20
- package/lib/mjs/components/radio/Radio.js +0 -372
- package/lib/mjs/components/radio/editForm/Radio.edit.data.d.ts +0 -134
- package/lib/mjs/components/radio/editForm/Radio.edit.data.js +0 -80
- package/lib/mjs/components/radio/editForm/Radio.edit.display.d.ts +0 -40
- package/lib/mjs/components/radio/editForm/Radio.edit.display.js +0 -32
- package/lib/mjs/components/radio/editForm/Radio.edit.validation.d.ts +0 -18
- package/lib/mjs/components/radio/editForm/Radio.edit.validation.js +0 -18
- package/lib/mjs/components/radio/fixtures/comp1.d.ts +0 -28
- package/lib/mjs/components/radio/fixtures/comp1.js +0 -40
- package/lib/mjs/components/radio/fixtures/comp2.d.ts +0 -85
- package/lib/mjs/components/radio/fixtures/comp2.js +0 -84
- package/lib/mjs/components/radio/fixtures/comp3.d.ts +0 -85
- package/lib/mjs/components/radio/fixtures/comp3.js +0 -88
- package/lib/mjs/components/radio/fixtures/comp4.d.ts +0 -19
- package/lib/mjs/components/radio/fixtures/comp4.js +0 -25
- package/lib/mjs/components/radio/fixtures/comp5.d.ts +0 -39
- package/lib/mjs/components/radio/fixtures/comp5.js +0 -33
- package/lib/mjs/components/radio/fixtures/comp6.d.ts +0 -38
- package/lib/mjs/components/radio/fixtures/comp6.js +0 -31
- package/lib/mjs/components/radio/fixtures/comp7.d.ts +0 -23
- package/lib/mjs/components/radio/fixtures/comp7.js +0 -19
- package/lib/mjs/components/radio/fixtures/comp8.d.ts +0 -118
- package/lib/mjs/components/radio/fixtures/comp8.js +0 -111
- package/lib/mjs/components/radio/fixtures/comp9.d.ts +0 -35
- package/lib/mjs/components/radio/fixtures/comp9.js +0 -30
- package/lib/mjs/components/radio/fixtures/index.d.ts +0 -10
- package/lib/mjs/components/radio/fixtures/index.js +0 -10
- package/lib/mjs/components/radio/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/radio/fixtures/values.js +0 -5
- 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/ReCaptcha.form.js +0 -26
- package/lib/mjs/components/recaptcha/ReCaptcha.js +0 -139
- package/lib/mjs/components/recaptcha/editForm/ReCaptcha.edit.display.d.ts +0 -44
- package/lib/mjs/components/recaptcha/editForm/ReCaptcha.edit.display.js +0 -106
- package/lib/mjs/components/recaptcha/fixtures/comp1.d.ts +0 -8
- package/lib/mjs/components/recaptcha/fixtures/comp1.js +0 -7
- package/lib/mjs/components/recaptcha/fixtures/index.d.ts +0 -2
- package/lib/mjs/components/recaptcha/fixtures/index.js +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/Resource.form.js +0 -10
- package/lib/mjs/components/resource/Resource.js +0 -33
- package/lib/mjs/components/resource/editForm/Resource.edit.display.d.ts +0 -173
- package/lib/mjs/components/resource/editForm/Resource.edit.display.js +0 -100
- package/lib/mjs/components/resource/fixtures/comp1.d.ts +0 -30
- package/lib/mjs/components/resource/fixtures/comp1.js +0 -28
- package/lib/mjs/components/resource/fixtures/comp2.d.ts +0 -35
- package/lib/mjs/components/resource/fixtures/comp2.js +0 -29
- package/lib/mjs/components/resource/fixtures/index.d.ts +0 -3
- package/lib/mjs/components/resource/fixtures/index.js +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/Select.form.js +0 -20
- package/lib/mjs/components/select/Select.js +0 -1491
- package/lib/mjs/components/select/editForm/Select.edit.data.d.ts +0 -1039
- package/lib/mjs/components/select/editForm/Select.edit.data.js +0 -627
- package/lib/mjs/components/select/editForm/Select.edit.display.d.ts +0 -27
- package/lib/mjs/components/select/editForm/Select.edit.display.js +0 -26
- package/lib/mjs/components/select/editForm/Select.edit.validation.d.ts +0 -30
- package/lib/mjs/components/select/editForm/Select.edit.validation.js +0 -33
- package/lib/mjs/components/select/fixtures/comp1.d.ts +0 -40
- package/lib/mjs/components/select/fixtures/comp1.js +0 -64
- package/lib/mjs/components/select/fixtures/comp10.d.ts +0 -41
- package/lib/mjs/components/select/fixtures/comp10.js +0 -30
- package/lib/mjs/components/select/fixtures/comp11.d.ts +0 -28
- package/lib/mjs/components/select/fixtures/comp11.js +0 -22
- package/lib/mjs/components/select/fixtures/comp12.d.ts +0 -53
- package/lib/mjs/components/select/fixtures/comp12.js +0 -27
- package/lib/mjs/components/select/fixtures/comp13.d.ts +0 -28
- package/lib/mjs/components/select/fixtures/comp13.js +0 -29
- package/lib/mjs/components/select/fixtures/comp14.d.ts +0 -40
- package/lib/mjs/components/select/fixtures/comp14.js +0 -25
- package/lib/mjs/components/select/fixtures/comp15.d.ts +0 -50
- package/lib/mjs/components/select/fixtures/comp15.js +0 -39
- package/lib/mjs/components/select/fixtures/comp16.d.ts +0 -34
- package/lib/mjs/components/select/fixtures/comp16.js +0 -31
- package/lib/mjs/components/select/fixtures/comp17.d.ts +0 -51
- package/lib/mjs/components/select/fixtures/comp17.js +0 -41
- package/lib/mjs/components/select/fixtures/comp18.d.ts +0 -49
- package/lib/mjs/components/select/fixtures/comp18.js +0 -40
- package/lib/mjs/components/select/fixtures/comp19.d.ts +0 -23
- package/lib/mjs/components/select/fixtures/comp19.js +0 -34
- package/lib/mjs/components/select/fixtures/comp2.d.ts +0 -41
- package/lib/mjs/components/select/fixtures/comp2.js +0 -65
- package/lib/mjs/components/select/fixtures/comp3.d.ts +0 -35
- package/lib/mjs/components/select/fixtures/comp3.js +0 -206
- package/lib/mjs/components/select/fixtures/comp4.d.ts +0 -103
- package/lib/mjs/components/select/fixtures/comp4.js +0 -104
- package/lib/mjs/components/select/fixtures/comp5.d.ts +0 -21
- package/lib/mjs/components/select/fixtures/comp5.js +0 -26
- package/lib/mjs/components/select/fixtures/comp6.d.ts +0 -20
- package/lib/mjs/components/select/fixtures/comp6.js +0 -28
- package/lib/mjs/components/select/fixtures/comp7.d.ts +0 -63
- package/lib/mjs/components/select/fixtures/comp7.js +0 -44
- package/lib/mjs/components/select/fixtures/comp8.d.ts +0 -72
- package/lib/mjs/components/select/fixtures/comp8.js +0 -35
- package/lib/mjs/components/select/fixtures/comp9.d.ts +0 -88
- package/lib/mjs/components/select/fixtures/comp9.js +0 -65
- package/lib/mjs/components/select/fixtures/index.d.ts +0 -20
- package/lib/mjs/components/select/fixtures/index.js +0 -20
- package/lib/mjs/components/select/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/select/fixtures/values.js +0 -5
- package/lib/mjs/components/selectboxes/SelectBoxes.d.ts +0 -52
- package/lib/mjs/components/selectboxes/SelectBoxes.form.d.ts +0 -3
- package/lib/mjs/components/selectboxes/SelectBoxes.form.js +0 -19
- package/lib/mjs/components/selectboxes/SelectBoxes.js +0 -255
- package/lib/mjs/components/selectboxes/editForm/SelectBoxes.edit.validation.d.ts +0 -9
- package/lib/mjs/components/selectboxes/editForm/SelectBoxes.edit.validation.js +0 -34
- package/lib/mjs/components/selectboxes/fixtures/comp1.d.ts +0 -24
- package/lib/mjs/components/selectboxes/fixtures/comp1.js +0 -52
- package/lib/mjs/components/selectboxes/fixtures/comp2.d.ts +0 -24
- package/lib/mjs/components/selectboxes/fixtures/comp2.js +0 -52
- package/lib/mjs/components/selectboxes/fixtures/comp3.d.ts +0 -23
- package/lib/mjs/components/selectboxes/fixtures/comp3.js +0 -19
- package/lib/mjs/components/selectboxes/fixtures/comp4.d.ts +0 -66
- package/lib/mjs/components/selectboxes/fixtures/comp4.js +0 -79
- package/lib/mjs/components/selectboxes/fixtures/comp5.d.ts +0 -37
- package/lib/mjs/components/selectboxes/fixtures/comp5.js +0 -31
- package/lib/mjs/components/selectboxes/fixtures/comp6.d.ts +0 -14
- package/lib/mjs/components/selectboxes/fixtures/comp6.js +0 -13
- package/lib/mjs/components/selectboxes/fixtures/comp7.d.ts +0 -18
- package/lib/mjs/components/selectboxes/fixtures/comp7.js +0 -29
- package/lib/mjs/components/selectboxes/fixtures/index.d.ts +0 -8
- package/lib/mjs/components/selectboxes/fixtures/index.js +0 -8
- package/lib/mjs/components/selectboxes/fixtures/values.d.ts +0 -6
- package/lib/mjs/components/selectboxes/fixtures/values.js +0 -22
- 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/Signature.form.js +0 -20
- package/lib/mjs/components/signature/Signature.js +0 -255
- package/lib/mjs/components/signature/editForm/Signature.edit.data.d.ts +0 -5
- package/lib/mjs/components/signature/editForm/Signature.edit.data.js +0 -14
- package/lib/mjs/components/signature/editForm/Signature.edit.display.d.ts +0 -51
- package/lib/mjs/components/signature/editForm/Signature.edit.display.js +0 -69
- package/lib/mjs/components/signature/editForm/Signature.edit.validation.d.ts +0 -5
- package/lib/mjs/components/signature/editForm/Signature.edit.validation.js +0 -10
- package/lib/mjs/components/signature/fixtures/comp1.d.ts +0 -30
- package/lib/mjs/components/signature/fixtures/comp1.js +0 -28
- package/lib/mjs/components/signature/fixtures/index.d.ts +0 -2
- package/lib/mjs/components/signature/fixtures/index.js +0 -2
- package/lib/mjs/components/signature/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/signature/fixtures/values.js +0 -5
- 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/Survey.form.js +0 -20
- package/lib/mjs/components/survey/Survey.js +0 -153
- package/lib/mjs/components/survey/editForm/Survey.edit.data.d.ts +0 -44
- package/lib/mjs/components/survey/editForm/Survey.edit.data.js +0 -70
- package/lib/mjs/components/survey/editForm/Survey.edit.display.d.ts +0 -5
- package/lib/mjs/components/survey/editForm/Survey.edit.display.js +0 -6
- package/lib/mjs/components/survey/editForm/Survey.edit.validation.d.ts +0 -5
- package/lib/mjs/components/survey/editForm/Survey.edit.validation.js +0 -6
- package/lib/mjs/components/survey/fixtures/comp1.d.ts +0 -31
- package/lib/mjs/components/survey/fixtures/comp1.js +0 -53
- package/lib/mjs/components/survey/fixtures/comp2.d.ts +0 -31
- package/lib/mjs/components/survey/fixtures/comp2.js +0 -53
- package/lib/mjs/components/survey/fixtures/index.d.ts +0 -3
- package/lib/mjs/components/survey/fixtures/index.js +0 -3
- package/lib/mjs/components/survey/fixtures/values.d.ts +0 -5
- package/lib/mjs/components/survey/fixtures/values.js +0 -10
- 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/Table.form.js +0 -10
- package/lib/mjs/components/table/Table.js +0 -169
- package/lib/mjs/components/table/editForm/Table.edit.display.d.ts +0 -55
- package/lib/mjs/components/table/editForm/Table.edit.display.js +0 -109
- package/lib/mjs/components/table/fixtures/comp1.d.ts +0 -53
- package/lib/mjs/components/table/fixtures/comp1.js +0 -235
- package/lib/mjs/components/table/fixtures/index.d.ts +0 -2
- package/lib/mjs/components/table/fixtures/index.js +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/Tabs.form.js +0 -10
- package/lib/mjs/components/tabs/Tabs.js +0 -201
- package/lib/mjs/components/tabs/editForm/Tabs.edit.display.d.ts +0 -49
- package/lib/mjs/components/tabs/editForm/Tabs.edit.display.js +0 -66
- package/lib/mjs/components/tabs/fixtures/comp1.d.ts +0 -23
- package/lib/mjs/components/tabs/fixtures/comp1.js +0 -31
- package/lib/mjs/components/tabs/fixtures/index.d.ts +0 -2
- package/lib/mjs/components/tabs/fixtures/index.js +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/Tags.form.js +0 -10
- package/lib/mjs/components/tags/Tags.js +0 -171
- package/lib/mjs/components/tags/editForm/Tags.edit.data.d.ts +0 -51
- package/lib/mjs/components/tags/editForm/Tags.edit.data.js +0 -37
- package/lib/mjs/components/tags/fixtures/comp1.d.ts +0 -20
- package/lib/mjs/components/tags/fixtures/comp1.js +0 -18
- package/lib/mjs/components/tags/fixtures/comp2.d.ts +0 -10
- package/lib/mjs/components/tags/fixtures/comp2.js +0 -9
- package/lib/mjs/components/tags/fixtures/comp3.d.ts +0 -23
- package/lib/mjs/components/tags/fixtures/comp3.js +0 -18
- package/lib/mjs/components/tags/fixtures/comp4.d.ts +0 -9
- package/lib/mjs/components/tags/fixtures/comp4.js +0 -8
- package/lib/mjs/components/tags/fixtures/comp5.d.ts +0 -24
- package/lib/mjs/components/tags/fixtures/comp5.js +0 -22
- package/lib/mjs/components/tags/fixtures/comp6.d.ts +0 -17
- package/lib/mjs/components/tags/fixtures/comp6.js +0 -18
- package/lib/mjs/components/tags/fixtures/index.d.ts +0 -7
- package/lib/mjs/components/tags/fixtures/index.js +0 -7
- package/lib/mjs/components/tags/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/tags/fixtures/values.js +0 -4
- 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/TextArea.form.js +0 -15
- package/lib/mjs/components/textarea/TextArea.js +0 -529
- package/lib/mjs/components/textarea/editForm/TextArea.edit.display.d.ts +0 -355
- package/lib/mjs/components/textarea/editForm/TextArea.edit.display.js +0 -258
- package/lib/mjs/components/textarea/editForm/TextArea.edit.validation.d.ts +0 -10
- package/lib/mjs/components/textarea/editForm/TextArea.edit.validation.js +0 -20
- package/lib/mjs/components/textarea/fixtures/comp1.d.ts +0 -31
- package/lib/mjs/components/textarea/fixtures/comp1.js +0 -29
- package/lib/mjs/components/textarea/fixtures/comp2.d.ts +0 -29
- package/lib/mjs/components/textarea/fixtures/comp2.js +0 -27
- package/lib/mjs/components/textarea/fixtures/comp3.d.ts +0 -27
- package/lib/mjs/components/textarea/fixtures/comp3.js +0 -27
- package/lib/mjs/components/textarea/fixtures/comp4.d.ts +0 -30
- package/lib/mjs/components/textarea/fixtures/comp4.js +0 -25
- package/lib/mjs/components/textarea/fixtures/index.d.ts +0 -5
- package/lib/mjs/components/textarea/fixtures/index.js +0 -5
- package/lib/mjs/components/textarea/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/textarea/fixtures/values.js +0 -4
- 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/TextField.form.js +0 -20
- package/lib/mjs/components/textfield/TextField.js +0 -229
- package/lib/mjs/components/textfield/editForm/TextField.edit.data.d.ts +0 -46
- package/lib/mjs/components/textfield/editForm/TextField.edit.data.js +0 -56
- package/lib/mjs/components/textfield/editForm/TextField.edit.display.d.ts +0 -248
- package/lib/mjs/components/textfield/editForm/TextField.edit.display.js +0 -203
- package/lib/mjs/components/textfield/editForm/TextField.edit.validation.d.ts +0 -10
- package/lib/mjs/components/textfield/editForm/TextField.edit.validation.js +0 -47
- package/lib/mjs/components/textfield/fixtures/comp-with-display-and-value-masks.d.ts +0 -47
- package/lib/mjs/components/textfield/fixtures/comp-with-display-and-value-masks.js +0 -46
- package/lib/mjs/components/textfield/fixtures/comp1.d.ts +0 -33
- package/lib/mjs/components/textfield/fixtures/comp1.js +0 -31
- package/lib/mjs/components/textfield/fixtures/comp2.d.ts +0 -33
- package/lib/mjs/components/textfield/fixtures/comp2.js +0 -31
- package/lib/mjs/components/textfield/fixtures/comp3.d.ts +0 -33
- package/lib/mjs/components/textfield/fixtures/comp3.js +0 -31
- package/lib/mjs/components/textfield/fixtures/comp4.d.ts +0 -23
- package/lib/mjs/components/textfield/fixtures/comp4.js +0 -25
- package/lib/mjs/components/textfield/fixtures/comp5.d.ts +0 -12
- package/lib/mjs/components/textfield/fixtures/comp5.js +0 -11
- package/lib/mjs/components/textfield/fixtures/comp6.d.ts +0 -25
- package/lib/mjs/components/textfield/fixtures/comp6.js +0 -19
- package/lib/mjs/components/textfield/fixtures/comp7.d.ts +0 -37
- package/lib/mjs/components/textfield/fixtures/comp7.js +0 -36
- package/lib/mjs/components/textfield/fixtures/index.d.ts +0 -9
- package/lib/mjs/components/textfield/fixtures/index.js +0 -9
- package/lib/mjs/components/textfield/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/textfield/fixtures/values.js +0 -5
- 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/Time.form.js +0 -15
- package/lib/mjs/components/time/Time.js +0 -153
- package/lib/mjs/components/time/editForm/Time.edit.data.d.ts +0 -10
- package/lib/mjs/components/time/editForm/Time.edit.data.js +0 -11
- package/lib/mjs/components/time/editForm/Time.edit.display.d.ts +0 -52
- package/lib/mjs/components/time/editForm/Time.edit.display.js +0 -40
- package/lib/mjs/components/time/fixtures/comp1.d.ts +0 -24
- package/lib/mjs/components/time/fixtures/comp1.js +0 -22
- package/lib/mjs/components/time/fixtures/comp2.d.ts +0 -10
- package/lib/mjs/components/time/fixtures/comp2.js +0 -9
- package/lib/mjs/components/time/fixtures/comp3.d.ts +0 -15
- package/lib/mjs/components/time/fixtures/comp3.js +0 -16
- package/lib/mjs/components/time/fixtures/index.d.ts +0 -6
- package/lib/mjs/components/time/fixtures/index.js +0 -6
- package/lib/mjs/components/time/fixtures/timeForm.d.ts +0 -47
- package/lib/mjs/components/time/fixtures/timeForm.js +0 -50
- package/lib/mjs/components/time/fixtures/timeForm2.d.ts +0 -38
- package/lib/mjs/components/time/fixtures/timeForm2.js +0 -42
- package/lib/mjs/components/time/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/time/fixtures/values.js +0 -5
- package/lib/mjs/components/tree/Node.d.ts +0 -55
- package/lib/mjs/components/tree/Node.js +0 -179
- package/lib/mjs/components/tree/Tree.d.ts +0 -48
- package/lib/mjs/components/tree/Tree.form.d.ts +0 -3
- package/lib/mjs/components/tree/Tree.form.js +0 -15
- package/lib/mjs/components/tree/Tree.js +0 -384
- package/lib/mjs/components/tree/editForm/Tree.edit.data.d.ts +0 -5
- package/lib/mjs/components/tree/editForm/Tree.edit.data.js +0 -7
- package/lib/mjs/components/tree/editForm/Tree.edit.display.d.ts +0 -9
- package/lib/mjs/components/tree/editForm/Tree.edit.display.js +0 -10
- package/lib/mjs/components/tree/fixtures/comp1.d.ts +0 -23
- package/lib/mjs/components/tree/fixtures/comp1.js +0 -22
- package/lib/mjs/components/tree/fixtures/comp2.d.ts +0 -116
- package/lib/mjs/components/tree/fixtures/comp2.js +0 -80
- package/lib/mjs/components/tree/fixtures/comp3.d.ts +0 -24
- package/lib/mjs/components/tree/fixtures/comp3.js +0 -23
- package/lib/mjs/components/tree/fixtures/comp4.d.ts +0 -42
- package/lib/mjs/components/tree/fixtures/comp4.js +0 -45
- package/lib/mjs/components/tree/fixtures/index.d.ts +0 -5
- package/lib/mjs/components/tree/fixtures/index.js +0 -5
- 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/Unknown.form.js +0 -19
- package/lib/mjs/components/unknown/Unknown.js +0 -24
- package/lib/mjs/components/unknown/editForm/Unknown.edit.display.d.ts +0 -24
- package/lib/mjs/components/unknown/editForm/Unknown.edit.display.js +0 -25
- package/lib/mjs/components/unknown/fixtures/comp1.d.ts +0 -7
- package/lib/mjs/components/unknown/fixtures/comp1.js +0 -6
- package/lib/mjs/components/unknown/fixtures/index.d.ts +0 -2
- package/lib/mjs/components/unknown/fixtures/index.js +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/Url.form.js +0 -20
- package/lib/mjs/components/url/Url.js +0 -33
- package/lib/mjs/components/url/editForm/Url.edit.data.d.ts +0 -5
- package/lib/mjs/components/url/editForm/Url.edit.data.js +0 -6
- package/lib/mjs/components/url/editForm/Url.edit.display.d.ts +0 -5
- package/lib/mjs/components/url/editForm/Url.edit.display.js +0 -18
- package/lib/mjs/components/url/editForm/Url.edit.validation.d.ts +0 -5
- package/lib/mjs/components/url/editForm/Url.edit.validation.js +0 -10
- package/lib/mjs/components/url/fixtures/comp1.d.ts +0 -26
- package/lib/mjs/components/url/fixtures/comp1.js +0 -24
- package/lib/mjs/components/url/fixtures/comp2.d.ts +0 -26
- package/lib/mjs/components/url/fixtures/comp2.js +0 -21
- package/lib/mjs/components/url/fixtures/index.d.ts +0 -3
- package/lib/mjs/components/url/fixtures/index.js +0 -3
- package/lib/mjs/components/url/fixtures/values.d.ts +0 -2
- package/lib/mjs/components/url/fixtures/values.js +0 -4
- 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/Well.form.js +0 -10
- package/lib/mjs/components/well/Well.js +0 -39
- package/lib/mjs/components/well/editForm/Well.edit.display.d.ts +0 -5
- package/lib/mjs/components/well/editForm/Well.edit.display.js +0 -30
- package/lib/mjs/components/well/fixtures/comp1.d.ts +0 -43
- package/lib/mjs/components/well/fixtures/comp1.js +0 -75
- package/lib/mjs/components/well/fixtures/index.d.ts +0 -2
- package/lib/mjs/components/well/fixtures/index.js +0 -2
- package/lib/mjs/displays/Displays.d.ts +0 -18
- package/lib/mjs/displays/Displays.js +0 -24
- package/lib/mjs/displays/index.d.ts +0 -2
- package/lib/mjs/displays/index.js +0 -2
- package/lib/mjs/formio.embed.d.ts +0 -2
- package/lib/mjs/formio.embed.js +0 -97
- package/lib/mjs/formio.form.d.ts +0 -23
- package/lib/mjs/formio.form.js +0 -146
- package/lib/mjs/i18n.d.ts +0 -13
- package/lib/mjs/i18n.js +0 -14
- package/lib/mjs/index.d.ts +0 -4
- package/lib/mjs/index.js +0 -13
- package/lib/mjs/licenses/Licenses.d.ts +0 -7
- package/lib/mjs/licenses/Licenses.js +0 -17
- package/lib/mjs/licenses/index.d.ts +0 -2
- package/lib/mjs/licenses/index.js +0 -2
- package/lib/mjs/package.json +0 -3
- package/lib/mjs/pdf.image.d.ts +0 -2
- package/lib/mjs/pdf.image.js +0 -94
- package/lib/mjs/providers/Providers.d.ts +0 -84
- package/lib/mjs/providers/Providers.js +0 -29
- package/lib/mjs/providers/address/AddressProvider.d.ts +0 -17
- package/lib/mjs/providers/address/AddressProvider.js +0 -54
- package/lib/mjs/providers/address/AzureAddressProvider.d.ts +0 -12
- package/lib/mjs/providers/address/AzureAddressProvider.js +0 -27
- package/lib/mjs/providers/address/CustomAddressProvider.d.ts +0 -7
- package/lib/mjs/providers/address/CustomAddressProvider.js +0 -22
- package/lib/mjs/providers/address/GoogleAddressProvider.d.ts +0 -18
- package/lib/mjs/providers/address/GoogleAddressProvider.js +0 -109
- package/lib/mjs/providers/address/NominatimAddressProvider.d.ts +0 -11
- package/lib/mjs/providers/address/NominatimAddressProvider.js +0 -27
- package/lib/mjs/providers/address/index.d.ts +0 -6
- package/lib/mjs/providers/address/index.js +0 -10
- package/lib/mjs/providers/auth/index.d.ts +0 -2
- package/lib/mjs/providers/auth/index.js +0 -1
- package/lib/mjs/providers/index.d.ts +0 -2
- package/lib/mjs/providers/index.js +0 -2
- package/lib/mjs/providers/processor/fileProcessor.d.ts +0 -2
- package/lib/mjs/providers/processor/fileProcessor.js +0 -38
- package/lib/mjs/providers/storage/azure.d.ts +0 -17
- package/lib/mjs/providers/storage/azure.js +0 -30
- package/lib/mjs/providers/storage/base64.d.ts +0 -10
- package/lib/mjs/providers/storage/base64.js +0 -29
- package/lib/mjs/providers/storage/dropbox.d.ts +0 -8
- package/lib/mjs/providers/storage/dropbox.js +0 -55
- package/lib/mjs/providers/storage/googleDrive.d.ts +0 -9
- package/lib/mjs/providers/storage/googleDrive.js +0 -58
- package/lib/mjs/providers/storage/index.d.ts +0 -15
- package/lib/mjs/providers/storage/index.js +0 -14
- package/lib/mjs/providers/storage/indexeddb.d.ts +0 -11
- package/lib/mjs/providers/storage/indexeddb.js +0 -118
- package/lib/mjs/providers/storage/s3.d.ts +0 -18
- package/lib/mjs/providers/storage/s3.js +0 -48
- package/lib/mjs/providers/storage/uploadAdapter.d.ts +0 -1
- package/lib/mjs/providers/storage/uploadAdapter.js +0 -54
- package/lib/mjs/providers/storage/url.d.ts +0 -11
- package/lib/mjs/providers/storage/url.js +0 -140
- package/lib/mjs/providers/storage/xhr.d.ts +0 -7
- package/lib/mjs/providers/storage/xhr.js +0 -93
- package/lib/mjs/templates/Templates.d.ts +0 -11
- package/lib/mjs/templates/Templates.js +0 -41
- package/lib/mjs/templates/index.d.ts +0 -229
- package/lib/mjs/templates/index.js +0 -4
- package/lib/mjs/translations/en.d.ts +0 -66
- package/lib/mjs/translations/en.js +0 -65
- package/lib/mjs/utils/ChoicesWrapper.d.ts +0 -38
- package/lib/mjs/utils/ChoicesWrapper.js +0 -188
- package/lib/mjs/utils/Evaluator.d.ts +0 -4
- package/lib/mjs/utils/Evaluator.js +0 -64
- package/lib/mjs/utils/builder.d.ts +0 -22
- package/lib/mjs/utils/builder.js +0 -79
- package/lib/mjs/utils/calendarUtils.d.ts +0 -41
- package/lib/mjs/utils/calendarUtils.js +0 -128
- package/lib/mjs/utils/conditionOperators/ConditionOperator.d.ts +0 -7
- package/lib/mjs/utils/conditionOperators/ConditionOperator.js +0 -23
- package/lib/mjs/utils/conditionOperators/DateGreaterThan.d.ts +0 -13
- package/lib/mjs/utils/conditionOperators/DateGreaterThan.js +0 -31
- package/lib/mjs/utils/conditionOperators/DateGreaterThanOrEqual.d.ts +0 -4
- package/lib/mjs/utils/conditionOperators/DateGreaterThanOrEqual.js +0 -12
- package/lib/mjs/utils/conditionOperators/DateLessThan.d.ts +0 -4
- package/lib/mjs/utils/conditionOperators/DateLessThan.js +0 -12
- package/lib/mjs/utils/conditionOperators/DateLessThanOrEqual.d.ts +0 -4
- package/lib/mjs/utils/conditionOperators/DateLessThanOrEqual.js +0 -12
- package/lib/mjs/utils/conditionOperators/EndsWith.d.ts +0 -7
- package/lib/mjs/utils/conditionOperators/EndsWith.js +0 -13
- package/lib/mjs/utils/conditionOperators/GreaterThan.d.ts +0 -7
- package/lib/mjs/utils/conditionOperators/GreaterThan.js +0 -13
- package/lib/mjs/utils/conditionOperators/GreaterThanOrEqual.d.ts +0 -7
- package/lib/mjs/utils/conditionOperators/GreaterThanOrEqual.js +0 -13
- package/lib/mjs/utils/conditionOperators/Includes.d.ts +0 -7
- package/lib/mjs/utils/conditionOperators/Includes.js +0 -13
- package/lib/mjs/utils/conditionOperators/IsDateEqual.d.ts +0 -4
- package/lib/mjs/utils/conditionOperators/IsDateEqual.js +0 -12
- package/lib/mjs/utils/conditionOperators/IsEmptyValue.d.ts +0 -9
- package/lib/mjs/utils/conditionOperators/IsEmptyValue.js +0 -24
- package/lib/mjs/utils/conditionOperators/IsEqualTo.d.ts +0 -7
- package/lib/mjs/utils/conditionOperators/IsEqualTo.js +0 -24
- package/lib/mjs/utils/conditionOperators/IsNotDateEqual.d.ts +0 -4
- package/lib/mjs/utils/conditionOperators/IsNotDateEqual.js +0 -12
- package/lib/mjs/utils/conditionOperators/IsNotEmptyValue.d.ts +0 -4
- package/lib/mjs/utils/conditionOperators/IsNotEmptyValue.js +0 -12
- package/lib/mjs/utils/conditionOperators/IsNotEqualTo.d.ts +0 -7
- package/lib/mjs/utils/conditionOperators/IsNotEqualTo.js +0 -13
- package/lib/mjs/utils/conditionOperators/LessThan.d.ts +0 -7
- package/lib/mjs/utils/conditionOperators/LessThan.js +0 -13
- package/lib/mjs/utils/conditionOperators/LessThanOrEqual.d.ts +0 -7
- package/lib/mjs/utils/conditionOperators/LessThanOrEqual.js +0 -13
- package/lib/mjs/utils/conditionOperators/NotIncludes.d.ts +0 -4
- package/lib/mjs/utils/conditionOperators/NotIncludes.js +0 -12
- package/lib/mjs/utils/conditionOperators/StartsWith.d.ts +0 -7
- package/lib/mjs/utils/conditionOperators/StartsWith.js +0 -13
- package/lib/mjs/utils/conditionOperators/index.d.ts +0 -7
- package/lib/mjs/utils/conditionOperators/index.js +0 -39
- package/lib/mjs/utils/formUtils.d.ts +0 -173
- package/lib/mjs/utils/formUtils.js +0 -560
- package/lib/mjs/utils/i18n.d.ts +0 -16
- package/lib/mjs/utils/i18n.js +0 -81
- package/lib/mjs/utils/index.d.ts +0 -2
- package/lib/mjs/utils/index.js +0 -5
- package/lib/mjs/utils/jsonlogic/operators.d.ts +0 -1
- package/lib/mjs/utils/jsonlogic/operators.js +0 -262
- package/lib/mjs/utils/utils.d.ts +0 -374
- package/lib/mjs/utils/utils.js +0 -1386
- package/lib/mjs/validator/Rules.d.ts +0 -53
- package/lib/mjs/validator/Rules.js +0 -17
- package/lib/mjs/validator/Validator.d.ts +0 -228
- package/lib/mjs/validator/Validator.js +0 -1103
- package/lib/mjs/validator/conjunctions/index.d.ts +0 -7
- package/lib/mjs/validator/conjunctions/index.js +0 -16
- package/lib/mjs/validator/operators/index.d.ts +0 -7
- package/lib/mjs/validator/operators/index.js +0 -16
- package/lib/mjs/validator/quickRules/index.d.ts +0 -7
- package/lib/mjs/validator/quickRules/index.js +0 -16
- package/lib/mjs/validator/rules/Custom.d.ts +0 -5
- package/lib/mjs/validator/rules/Custom.js +0 -21
- package/lib/mjs/validator/rules/Date.d.ts +0 -5
- package/lib/mjs/validator/rules/Date.js +0 -16
- package/lib/mjs/validator/rules/Day.d.ts +0 -5
- package/lib/mjs/validator/rules/Day.js +0 -49
- package/lib/mjs/validator/rules/Email.d.ts +0 -5
- package/lib/mjs/validator/rules/Email.js +0 -15
- package/lib/mjs/validator/rules/JSON.d.ts +0 -5
- package/lib/mjs/validator/rules/JSON.js +0 -20
- package/lib/mjs/validator/rules/Mask.d.ts +0 -5
- package/lib/mjs/validator/rules/Mask.js +0 -23
- package/lib/mjs/validator/rules/Max.d.ts +0 -5
- package/lib/mjs/validator/rules/Max.js +0 -12
- package/lib/mjs/validator/rules/MaxDate.d.ts +0 -5
- package/lib/mjs/validator/rules/MaxDate.js +0 -25
- package/lib/mjs/validator/rules/MaxLength.d.ts +0 -5
- package/lib/mjs/validator/rules/MaxLength.js +0 -11
- package/lib/mjs/validator/rules/MaxWords.d.ts +0 -5
- package/lib/mjs/validator/rules/MaxWords.js +0 -11
- package/lib/mjs/validator/rules/MaxYear.d.ts +0 -5
- package/lib/mjs/validator/rules/MaxYear.js +0 -13
- package/lib/mjs/validator/rules/Min.d.ts +0 -5
- package/lib/mjs/validator/rules/Min.js +0 -12
- package/lib/mjs/validator/rules/MinDate.d.ts +0 -5
- package/lib/mjs/validator/rules/MinDate.js +0 -21
- package/lib/mjs/validator/rules/MinLength.d.ts +0 -5
- package/lib/mjs/validator/rules/MinLength.js +0 -11
- package/lib/mjs/validator/rules/MinWords.d.ts +0 -5
- package/lib/mjs/validator/rules/MinWords.js +0 -11
- package/lib/mjs/validator/rules/MinYear.d.ts +0 -5
- package/lib/mjs/validator/rules/MinYear.js +0 -13
- package/lib/mjs/validator/rules/Pattern.d.ts +0 -5
- package/lib/mjs/validator/rules/Pattern.js +0 -11
- package/lib/mjs/validator/rules/Required.d.ts +0 -5
- package/lib/mjs/validator/rules/Required.js +0 -8
- package/lib/mjs/validator/rules/Rule.d.ts +0 -7
- package/lib/mjs/validator/rules/Rule.js +0 -9
- package/lib/mjs/validator/rules/Select.d.ts +0 -5
- package/lib/mjs/validator/rules/Select.js +0 -86
- package/lib/mjs/validator/rules/Time.d.ts +0 -5
- package/lib/mjs/validator/rules/Time.js +0 -10
- package/lib/mjs/validator/rules/Unique.d.ts +0 -5
- package/lib/mjs/validator/rules/Unique.js +0 -60
- package/lib/mjs/validator/rules/Url.d.ts +0 -5
- package/lib/mjs/validator/rules/Url.js +0 -14
- package/lib/mjs/validator/rules/index.d.ts +0 -47
- package/lib/mjs/validator/rules/index.js +0 -46
- package/lib/mjs/validator/transformers/index.d.ts +0 -7
- package/lib/mjs/validator/transformers/index.js +0 -16
- package/lib/mjs/validator/valueSources/index.d.ts +0 -7
- package/lib/mjs/validator/valueSources/index.js +0 -16
- package/lib/mjs/widgets/CalendarWidget.d.ts +0 -97
- package/lib/mjs/widgets/CalendarWidget.js +0 -457
- package/lib/mjs/widgets/InputWidget.d.ts +0 -24
- package/lib/mjs/widgets/InputWidget.js +0 -68
- package/lib/mjs/widgets/index.d.ts +0 -7
- package/lib/mjs/widgets/index.js +0 -6
@@ -1,1576 +0,0 @@
|
|
1
|
-
import Webform from './Webform';
|
2
|
-
import Component from './components/_classes/component/Component';
|
3
|
-
import tippy from 'tippy.js';
|
4
|
-
import Components from './components/Components';
|
5
|
-
import { Formio } from './Formio';
|
6
|
-
import { fastCloneDeep, bootstrapVersion, getArrayFromComponentPath, getStringFromComponentPath } from './utils/utils';
|
7
|
-
import { eachComponent, getComponent } from './utils/formUtils';
|
8
|
-
import BuilderUtils from './utils/builder';
|
9
|
-
import _ from 'lodash';
|
10
|
-
import autoScroll from 'dom-autoscroller';
|
11
|
-
import Templates from './templates/Templates';
|
12
|
-
import './components/builder';
|
13
|
-
// We need this here because dragula pulls in CustomEvent class that requires global to exist.
|
14
|
-
if (typeof window !== 'undefined' && typeof window.global === 'undefined') {
|
15
|
-
window.global = window;
|
16
|
-
}
|
17
|
-
import dragula from 'dragula/dist/dragula.min.js';
|
18
|
-
export default class WebformBuilder extends Component {
|
19
|
-
// eslint-disable-next-line max-statements
|
20
|
-
constructor() {
|
21
|
-
let element, options;
|
22
|
-
if (arguments[0] instanceof HTMLElement || arguments[1]) {
|
23
|
-
element = arguments[0];
|
24
|
-
options = arguments[1];
|
25
|
-
}
|
26
|
-
else {
|
27
|
-
options = arguments[0];
|
28
|
-
}
|
29
|
-
// Reset skipInit in case PDFBuilder has set it.
|
30
|
-
options.skipInit = false;
|
31
|
-
options.display = options.display || 'form';
|
32
|
-
super(null, options);
|
33
|
-
this.setElement(element);
|
34
|
-
this.dragulaLib = dragula;
|
35
|
-
this.builderHeight = 0;
|
36
|
-
this.schemas = {};
|
37
|
-
this.repeatablePaths = [];
|
38
|
-
this.sideBarScroll = _.get(this.options, 'sideBarScroll', true);
|
39
|
-
this.sideBarScrollOffset = _.get(this.options, 'sideBarScrollOffset', 0);
|
40
|
-
this.dragDropEnabled = true;
|
41
|
-
// Setup the builder options.
|
42
|
-
this.builder = _.defaultsDeep({}, this.options.builder, this.defaultGroups);
|
43
|
-
// Turn off if explicitely said to do so...
|
44
|
-
_.each(this.defaultGroups, (config, key) => {
|
45
|
-
if (config === false) {
|
46
|
-
this.builder[key] = false;
|
47
|
-
}
|
48
|
-
});
|
49
|
-
// Add the groups.////
|
50
|
-
this.groups = {};
|
51
|
-
this.groupOrder = [];
|
52
|
-
for (const group in this.builder) {
|
53
|
-
if (this.builder[group]) {
|
54
|
-
this.builder[group].key = group;
|
55
|
-
this.groups[group] = this.builder[group];
|
56
|
-
this.groups[group].components = this.groups[group].components || {};
|
57
|
-
this.groups[group].componentOrder = this.groups[group].componentOrder || [];
|
58
|
-
this.groups[group].subgroups = Object.keys(this.groups[group].groups || {}).map((groupKey) => {
|
59
|
-
this.groups[group].groups[groupKey].componentOrder = Object.keys(this.groups[group].groups[groupKey].components).map((key) => key);
|
60
|
-
return this.groups[group].groups[groupKey];
|
61
|
-
});
|
62
|
-
this.groupOrder.push(this.groups[group]);
|
63
|
-
}
|
64
|
-
}
|
65
|
-
this.groupOrder = this.groupOrder
|
66
|
-
.filter(group => group && !group.ignore)
|
67
|
-
.sort((a, b) => a.weight - b.weight)
|
68
|
-
.map(group => group.key);
|
69
|
-
for (const type in Components.components) {
|
70
|
-
const component = Components.components[type];
|
71
|
-
if (component.builderInfo && component.builderInfo.schema) {
|
72
|
-
this.schemas[type] = component.builderInfo.schema;
|
73
|
-
component.type = type;
|
74
|
-
const builderInfo = component.builderInfo;
|
75
|
-
builderInfo.key = component.type;
|
76
|
-
this.addBuilderComponentInfo(builderInfo);
|
77
|
-
}
|
78
|
-
}
|
79
|
-
// Filter out any extra components.
|
80
|
-
// Add the components in each group.
|
81
|
-
for (const group in this.groups) {
|
82
|
-
const info = this.groups[group];
|
83
|
-
for (const key in info.components) {
|
84
|
-
const compKey = group === 'resource' ? `component-${key}` : key;
|
85
|
-
let comp = info.components[compKey];
|
86
|
-
if (comp === true &&
|
87
|
-
Components.components[key] &&
|
88
|
-
Components.components[key].builderInfo) {
|
89
|
-
comp = Components.components[key].builderInfo;
|
90
|
-
}
|
91
|
-
if (comp && comp.schema) {
|
92
|
-
this.schemas[key] = comp.schema;
|
93
|
-
info.components[compKey] = comp;
|
94
|
-
info.components[compKey].key = key;
|
95
|
-
}
|
96
|
-
else {
|
97
|
-
// Do not include this component in the components array.
|
98
|
-
delete info.components[compKey];
|
99
|
-
}
|
100
|
-
}
|
101
|
-
// Order the components.
|
102
|
-
this.orderComponents(info);
|
103
|
-
}
|
104
|
-
this.options.hooks = this.options.hooks || {};
|
105
|
-
this.options.hooks.renderComponent = (html, { component, self }) => {
|
106
|
-
if (self.type === 'form' && !self.key) {
|
107
|
-
const template = this.hook('renderComponentFormTemplate', html.replace('formio-component-form', ''));
|
108
|
-
// The main webform shouldn't have this class as it adds extra styles.
|
109
|
-
return template;
|
110
|
-
}
|
111
|
-
if (this.options.disabled && this.options.disabled.includes(self.key) || self.parent.noDragDrop) {
|
112
|
-
return html;
|
113
|
-
}
|
114
|
-
return this.renderTemplate('builderComponent', {
|
115
|
-
html,
|
116
|
-
disableBuilderActions: self?.component?.disableBuilderActions,
|
117
|
-
childComponent: component,
|
118
|
-
});
|
119
|
-
};
|
120
|
-
this.options.hooks.renderComponents = (html, { components, self }) => {
|
121
|
-
// if Datagrid and already has a component, don't make it droppable.
|
122
|
-
if (self.type === 'datagrid' && components.length > 0 || self.noDragDrop) {
|
123
|
-
return html;
|
124
|
-
}
|
125
|
-
if (!components ||
|
126
|
-
(!components.length && !components.nodrop) ||
|
127
|
-
(self.type === 'form' && components.length <= 1 && (components.length === 0 || components[0].type === 'button'))) {
|
128
|
-
html = this.renderTemplate('builderPlaceholder', {
|
129
|
-
position: 0
|
130
|
-
}) + html;
|
131
|
-
}
|
132
|
-
return this.renderTemplate('builderComponents', {
|
133
|
-
key: self.key,
|
134
|
-
type: self.type,
|
135
|
-
html,
|
136
|
-
});
|
137
|
-
};
|
138
|
-
this.options.hooks.renderInput = (html, { self }) => {
|
139
|
-
if (self.type === 'hidden') {
|
140
|
-
return html + self.name;
|
141
|
-
}
|
142
|
-
return html;
|
143
|
-
};
|
144
|
-
this.options.hooks.renderLoading = (html, { self }) => {
|
145
|
-
if (self.type === 'form' && self.key) {
|
146
|
-
return self.name;
|
147
|
-
}
|
148
|
-
return html;
|
149
|
-
};
|
150
|
-
this.options.hooks.attachComponents = (element, components, container, component) => {
|
151
|
-
// Don't attach if no element was found or component doesn't participate in drag'n'drop.
|
152
|
-
if (!element) {
|
153
|
-
return;
|
154
|
-
}
|
155
|
-
if (component.noDragDrop) {
|
156
|
-
return element;
|
157
|
-
}
|
158
|
-
// Attach container and component to element for later reference.
|
159
|
-
const containerElement = element.querySelector(`[ref="${component.component.key}-container"]`) || element;
|
160
|
-
containerElement.formioContainer = container;
|
161
|
-
containerElement.formioComponent = component;
|
162
|
-
// Add container to draggable list.
|
163
|
-
if (this.dragula && this.allowDrop(element)) {
|
164
|
-
this.dragula.containers.push(containerElement);
|
165
|
-
}
|
166
|
-
// If this is an existing datagrid element, don't make it draggable.
|
167
|
-
if ((component.type === 'datagrid' || component.type === 'datamap') && components.length > 0) {
|
168
|
-
return element;
|
169
|
-
}
|
170
|
-
// Since we added a wrapper, need to return the original element so that we can find the components inside it.
|
171
|
-
return element.children[0];
|
172
|
-
};
|
173
|
-
this.options.hooks.attachDatagrid = (element, component) => {
|
174
|
-
component.loadRefs(element, {
|
175
|
-
[`${component.key}-container`]: 'single',
|
176
|
-
});
|
177
|
-
const dataGridContainer = component.refs[`${component.key}-container`];
|
178
|
-
if (dataGridContainer) {
|
179
|
-
component.attachComponents(dataGridContainer.parentNode, [], component.component.components);
|
180
|
-
}
|
181
|
-
// Need to set up horizontal rearrangement of fields.
|
182
|
-
};
|
183
|
-
this.options.hooks.attachComponent = this.attachComponent.bind(this);
|
184
|
-
// Load resources tagged as 'builder'
|
185
|
-
const query = {
|
186
|
-
params: {
|
187
|
-
type: 'resource',
|
188
|
-
limit: 1000000,
|
189
|
-
select: '_id,title,name,components'
|
190
|
-
}
|
191
|
-
};
|
192
|
-
if (this.options && this.options.resourceTag) {
|
193
|
-
query.params.tags = [this.options.resourceTag];
|
194
|
-
}
|
195
|
-
else if (!this.options || !this.options.hasOwnProperty('resourceTag')) {
|
196
|
-
query.params.tags = ['builder'];
|
197
|
-
}
|
198
|
-
const formio = new Formio(Formio.projectUrl);
|
199
|
-
const isResourcesDisabled = this.options.builder && this.options.builder.resource === false;
|
200
|
-
formio.loadProject().then((project) => {
|
201
|
-
if (project && (_.get(project, 'settings.addConfigToForms', false) || _.get(project, 'addConfigToForms', false))) {
|
202
|
-
const config = project.config || {};
|
203
|
-
this.options.formConfig = config;
|
204
|
-
const pathToFormConfig = 'webform._form.config';
|
205
|
-
const webformConfig = _.get(this, pathToFormConfig);
|
206
|
-
if (this.webform && !webformConfig) {
|
207
|
-
_.set(this, pathToFormConfig, config);
|
208
|
-
}
|
209
|
-
}
|
210
|
-
}).catch((err) => {
|
211
|
-
console.warn(`Could not load project settings: ${err.message || err}`);
|
212
|
-
});
|
213
|
-
if (!formio.noProject && !isResourcesDisabled && formio.formsUrl) {
|
214
|
-
const resourceOptions = this.options.builder && this.options.builder.resource;
|
215
|
-
formio.loadForms(query)
|
216
|
-
.then((resources) => {
|
217
|
-
if (resources.length) {
|
218
|
-
this.builder.resource = {
|
219
|
-
title: resourceOptions ? resourceOptions.title : 'Existing Resource Fields',
|
220
|
-
key: 'resource',
|
221
|
-
weight: resourceOptions ? resourceOptions.weight : 50,
|
222
|
-
subgroups: [],
|
223
|
-
components: [],
|
224
|
-
componentOrder: []
|
225
|
-
};
|
226
|
-
this.groups.resource = {
|
227
|
-
title: resourceOptions ? resourceOptions.title : 'Existing Resource Fields',
|
228
|
-
key: 'resource',
|
229
|
-
weight: resourceOptions ? resourceOptions.weight : 50,
|
230
|
-
subgroups: [],
|
231
|
-
components: [],
|
232
|
-
componentOrder: []
|
233
|
-
};
|
234
|
-
if (!this.groupOrder.includes('resource')) {
|
235
|
-
this.groupOrder.push('resource');
|
236
|
-
}
|
237
|
-
this.addExistingResourceFields(resources);
|
238
|
-
}
|
239
|
-
});
|
240
|
-
}
|
241
|
-
// Notify components if they need to modify their render.
|
242
|
-
this.options.attachMode = 'builder';
|
243
|
-
this.webform = this.webform || this.createForm(this.options);
|
244
|
-
this.pathComponentsMapping = {};
|
245
|
-
this.arrayDataComponentPaths = [];
|
246
|
-
this.nestedDataComponents = [];
|
247
|
-
this.arrayDataComponents = [];
|
248
|
-
}
|
249
|
-
allowDrop() {
|
250
|
-
return true;
|
251
|
-
}
|
252
|
-
addExistingResourceFields(resources) {
|
253
|
-
_.each(resources, (resource, index) => {
|
254
|
-
const resourceKey = `resource-${resource.name}`;
|
255
|
-
const subgroup = {
|
256
|
-
key: resourceKey,
|
257
|
-
title: resource.title,
|
258
|
-
components: [],
|
259
|
-
componentOrder: [],
|
260
|
-
default: index === 0,
|
261
|
-
};
|
262
|
-
eachComponent(resource.components, (component) => {
|
263
|
-
if (component.type === 'button')
|
264
|
-
return;
|
265
|
-
if (this.options &&
|
266
|
-
this.options.resourceFilter &&
|
267
|
-
(!component.tags || component.tags.indexOf(this.options.resourceFilter) === -1))
|
268
|
-
return;
|
269
|
-
let componentName = component.label;
|
270
|
-
if (!componentName && component.key) {
|
271
|
-
componentName = _.upperFirst(component.key);
|
272
|
-
}
|
273
|
-
subgroup.componentOrder.push(`component-${component.key}`);
|
274
|
-
subgroup.components[`component-${component.key}`] = _.merge(fastCloneDeep(Components.components[component.type]
|
275
|
-
? Components.components[component.type].builderInfo
|
276
|
-
: Components.components['unknown'].builderInfo), {
|
277
|
-
key: component.key,
|
278
|
-
title: componentName,
|
279
|
-
group: 'resource',
|
280
|
-
subgroup: resourceKey,
|
281
|
-
}, {
|
282
|
-
schema: {
|
283
|
-
...component,
|
284
|
-
label: component.label,
|
285
|
-
key: component.key,
|
286
|
-
lockKey: true,
|
287
|
-
source: (!this.options.noSource ? resource._id : undefined),
|
288
|
-
isNew: true
|
289
|
-
}
|
290
|
-
});
|
291
|
-
}, true);
|
292
|
-
this.groups.resource.subgroups.push(subgroup);
|
293
|
-
});
|
294
|
-
this.triggerRedraw();
|
295
|
-
}
|
296
|
-
attachTooltip(component, title) {
|
297
|
-
return tippy(component, {
|
298
|
-
allowHTML: true,
|
299
|
-
trigger: 'mouseenter focus',
|
300
|
-
placement: 'top',
|
301
|
-
delay: [200, 0],
|
302
|
-
zIndex: 10000,
|
303
|
-
content: title
|
304
|
-
});
|
305
|
-
}
|
306
|
-
attachComponent(element, component) {
|
307
|
-
if (component instanceof WebformBuilder) {
|
308
|
-
return;
|
309
|
-
}
|
310
|
-
// Add component to element for later reference.
|
311
|
-
element.formioComponent = component;
|
312
|
-
component.loadRefs(element, {
|
313
|
-
removeComponent: 'single',
|
314
|
-
editComponent: 'single',
|
315
|
-
moveComponent: 'single',
|
316
|
-
copyComponent: 'single',
|
317
|
-
pasteComponent: 'single',
|
318
|
-
editJson: 'single'
|
319
|
-
});
|
320
|
-
if (component.refs.copyComponent) {
|
321
|
-
this.attachTooltip(component.refs.copyComponent, this.t('Copy'));
|
322
|
-
component.addEventListener(component.refs.copyComponent, 'click', () => this.copyComponent(component));
|
323
|
-
}
|
324
|
-
if (component.refs.pasteComponent) {
|
325
|
-
const pasteToolTip = this.attachTooltip(component.refs.pasteComponent, this.t('Paste below'));
|
326
|
-
component.addEventListener(component.refs.pasteComponent, 'click', () => {
|
327
|
-
pasteToolTip.hide();
|
328
|
-
this.pasteComponent(component);
|
329
|
-
});
|
330
|
-
}
|
331
|
-
if (component.refs.moveComponent) {
|
332
|
-
this.attachTooltip(component.refs.moveComponent, this.t('Move'));
|
333
|
-
if (this.keyboardActionsEnabled) {
|
334
|
-
component.addEventListener(component.refs.moveComponent, 'click', () => {
|
335
|
-
this.moveComponent(component);
|
336
|
-
});
|
337
|
-
}
|
338
|
-
}
|
339
|
-
const parent = this.getParentElement(element);
|
340
|
-
if (component.refs.editComponent) {
|
341
|
-
this.attachTooltip(component.refs.editComponent, this.t('Edit'));
|
342
|
-
component.addEventListener(component.refs.editComponent, 'click', () => this.editComponent(component.schema, parent, false, false, component.component, { inDataGrid: component.isInDataGrid }));
|
343
|
-
}
|
344
|
-
if (component.refs.editJson) {
|
345
|
-
this.attachTooltip(component.refs.editJson, this.t('Edit JSON'));
|
346
|
-
component.addEventListener(component.refs.editJson, 'click', () => this.editComponent(component.schema, parent, false, true, component.component));
|
347
|
-
}
|
348
|
-
if (component.refs.removeComponent) {
|
349
|
-
this.attachTooltip(component.refs.removeComponent, this.t('Remove'));
|
350
|
-
component.addEventListener(component.refs.removeComponent, 'click', () => this.removeComponent(component.schema, parent, component.component));
|
351
|
-
}
|
352
|
-
return element;
|
353
|
-
}
|
354
|
-
createForm(options) {
|
355
|
-
this.webform = new Webform(this.element, options);
|
356
|
-
if (this.element) {
|
357
|
-
this.loadRefs(this.element, {
|
358
|
-
form: 'single'
|
359
|
-
});
|
360
|
-
if (this.refs.form) {
|
361
|
-
this.webform.element = this.refs.form;
|
362
|
-
}
|
363
|
-
}
|
364
|
-
return this.webform;
|
365
|
-
}
|
366
|
-
/**
|
367
|
-
* Called when everything is ready.
|
368
|
-
*
|
369
|
-
* @returns {Promise} - Wait for webform to be ready.
|
370
|
-
*/
|
371
|
-
get ready() {
|
372
|
-
return this.webform.ready;
|
373
|
-
}
|
374
|
-
get defaultGroups() {
|
375
|
-
return {
|
376
|
-
basic: {
|
377
|
-
title: 'Basic',
|
378
|
-
weight: 0,
|
379
|
-
default: true,
|
380
|
-
},
|
381
|
-
advanced: {
|
382
|
-
title: 'Advanced',
|
383
|
-
weight: 10
|
384
|
-
},
|
385
|
-
layout: {
|
386
|
-
title: 'Layout',
|
387
|
-
weight: 20
|
388
|
-
},
|
389
|
-
data: {
|
390
|
-
title: 'Data',
|
391
|
-
weight: 30
|
392
|
-
},
|
393
|
-
premium: {
|
394
|
-
title: 'Premium',
|
395
|
-
weight: 40
|
396
|
-
}
|
397
|
-
};
|
398
|
-
}
|
399
|
-
redraw() {
|
400
|
-
return Webform.prototype.redraw.call(this);
|
401
|
-
}
|
402
|
-
get form() {
|
403
|
-
return this.webform.form;
|
404
|
-
}
|
405
|
-
get schema() {
|
406
|
-
return this.webform.schema;
|
407
|
-
}
|
408
|
-
set form(value) {
|
409
|
-
this.setForm(value);
|
410
|
-
}
|
411
|
-
get container() {
|
412
|
-
return this.webform.form.components;
|
413
|
-
}
|
414
|
-
/**
|
415
|
-
* When a component sets its api key, we need to check if it is unique within its namespace. Find the namespace root
|
416
|
-
* so we can calculate this correctly.
|
417
|
-
* @param component
|
418
|
-
*/
|
419
|
-
findNamespaceRoot(component) {
|
420
|
-
const path = getArrayFromComponentPath(component.path);
|
421
|
-
// First get the component with nested parents.
|
422
|
-
let comp = this.webform.getComponent(path);
|
423
|
-
comp = Array.isArray(comp) ? comp[0] : comp;
|
424
|
-
const namespaceKey = this.recurseNamespace(comp);
|
425
|
-
// If there is no key, it is the root form.
|
426
|
-
if (!namespaceKey || this.form.key === namespaceKey) {
|
427
|
-
return this.form.components;
|
428
|
-
}
|
429
|
-
const componentSchema = component.component;
|
430
|
-
// If the current component is the namespace, we don't need to find it again.
|
431
|
-
if (namespaceKey === component.key) {
|
432
|
-
return [...componentSchema.components, componentSchema];
|
433
|
-
}
|
434
|
-
// Get the namespace component so we have the original object.
|
435
|
-
const namespaceComponent = getComponent(this.form.components, namespaceKey, true);
|
436
|
-
return namespaceComponent ? namespaceComponent.components : comp.components;
|
437
|
-
}
|
438
|
-
recurseNamespace(component) {
|
439
|
-
// If there is no parent, we are at the root level.
|
440
|
-
if (!component) {
|
441
|
-
return null;
|
442
|
-
}
|
443
|
-
// Some components are their own namespace.
|
444
|
-
if (['address', 'container', 'datagrid', 'editgrid', 'dynamicWizard', 'tree'].includes(component.type) || component.tree || component.arrayTree) {
|
445
|
-
return component.key;
|
446
|
-
}
|
447
|
-
// Anything else, keep going up.
|
448
|
-
return this.recurseNamespace(component.parent);
|
449
|
-
}
|
450
|
-
render() {
|
451
|
-
return this.renderTemplate('builder', {
|
452
|
-
sidebar: this.renderTemplate('builderSidebar', {
|
453
|
-
scrollEnabled: this.sideBarScroll,
|
454
|
-
groupOrder: this.groupOrder,
|
455
|
-
groupId: `builder-sidebar-${this.id}`,
|
456
|
-
groups: this.groupOrder.map((groupKey) => this.renderTemplate('builderSidebarGroup', {
|
457
|
-
group: this.groups[groupKey],
|
458
|
-
groupKey,
|
459
|
-
groupId: `builder-sidebar-${this.id}`,
|
460
|
-
subgroups: this.groups[groupKey].subgroups.map((group) => this.renderTemplate('builderSidebarGroup', {
|
461
|
-
group,
|
462
|
-
groupKey: group.key,
|
463
|
-
groupId: `group-container-${groupKey}`,
|
464
|
-
subgroups: []
|
465
|
-
})),
|
466
|
-
keyboardActionsEnabled: this.keyboardActionsEnabled,
|
467
|
-
})),
|
468
|
-
}),
|
469
|
-
form: this.webform.render(),
|
470
|
-
});
|
471
|
-
}
|
472
|
-
attach(element) {
|
473
|
-
this.on('change', (form) => {
|
474
|
-
this.populateRecaptchaSettings(form);
|
475
|
-
});
|
476
|
-
return super.attach(element).then(() => {
|
477
|
-
this.loadRefs(element, {
|
478
|
-
form: 'single',
|
479
|
-
sidebar: 'single',
|
480
|
-
'sidebar-search': 'single',
|
481
|
-
'sidebar-groups': 'single',
|
482
|
-
'container': 'multiple',
|
483
|
-
'sidebar-anchor': 'multiple',
|
484
|
-
'sidebar-group': 'multiple',
|
485
|
-
'sidebar-container': 'multiple',
|
486
|
-
'sidebar-component': 'multiple',
|
487
|
-
});
|
488
|
-
if (this.sideBarScroll && Templates.current.handleBuilderSidebarScroll) {
|
489
|
-
Templates.current.handleBuilderSidebarScroll.call(this, this);
|
490
|
-
}
|
491
|
-
// Add the paste status in form
|
492
|
-
if (typeof window !== 'undefined' && window.sessionStorage) {
|
493
|
-
const data = window.sessionStorage.getItem('formio.clipboard');
|
494
|
-
if (data) {
|
495
|
-
this.addClass(this.refs.form, 'builder-paste-mode');
|
496
|
-
}
|
497
|
-
}
|
498
|
-
if (!bootstrapVersion(this.options)) {
|
499
|
-
const getAttribute = (anchor, attribute) => {
|
500
|
-
let elem = anchor.getAttribute(`data-${attribute}`);
|
501
|
-
if (!elem) {
|
502
|
-
elem = anchor.getAttribute(`data-bs-${attribute}`);
|
503
|
-
}
|
504
|
-
return elem;
|
505
|
-
};
|
506
|
-
const hideShow = (group, show) => {
|
507
|
-
if (show) {
|
508
|
-
group.classList.add(['show']);
|
509
|
-
group.style.display = 'inherit';
|
510
|
-
}
|
511
|
-
else {
|
512
|
-
group.classList.remove(['show']);
|
513
|
-
group.style.display = 'none';
|
514
|
-
}
|
515
|
-
};
|
516
|
-
// Initialize
|
517
|
-
this.refs['sidebar-group'].forEach((group) => {
|
518
|
-
hideShow(group, getAttribute(group, 'default') === 'true');
|
519
|
-
});
|
520
|
-
// Click event
|
521
|
-
this.refs['sidebar-anchor'].forEach((anchor, index) => {
|
522
|
-
this.addEventListener(anchor, 'click', () => {
|
523
|
-
const clickedParentId = getAttribute(anchor, 'parent').slice('#builder-sidebar-'.length);
|
524
|
-
const clickedId = getAttribute(anchor, 'target').slice('#group-'.length);
|
525
|
-
this.refs['sidebar-group'].forEach((group, groupIndex) => {
|
526
|
-
const openByDefault = getAttribute(group, 'default') === 'true';
|
527
|
-
const groupId = group.getAttribute('id').slice('group-'.length);
|
528
|
-
const groupParent = getAttribute(group, 'parent').slice('#builder-sidebar-'.length);
|
529
|
-
hideShow(group, ((openByDefault && groupParent === clickedId) || groupId === clickedParentId || groupIndex === index));
|
530
|
-
});
|
531
|
-
}, true);
|
532
|
-
});
|
533
|
-
}
|
534
|
-
if (this.keyboardActionsEnabled) {
|
535
|
-
this.refs['sidebar-component'].forEach((component) => {
|
536
|
-
this.addEventListener(component, 'keydown', (event) => {
|
537
|
-
if (event.keyCode === 13) {
|
538
|
-
this.addNewComponent(component);
|
539
|
-
}
|
540
|
-
});
|
541
|
-
});
|
542
|
-
}
|
543
|
-
this.addEventListener(this.refs['sidebar-search'], 'input', _.debounce((e) => {
|
544
|
-
const searchString = e.target.value;
|
545
|
-
this.searchFields(searchString);
|
546
|
-
}, 300));
|
547
|
-
if (this.dragDropEnabled) {
|
548
|
-
this.initDragula();
|
549
|
-
}
|
550
|
-
const drake = this.dragula;
|
551
|
-
if (this.refs.form) {
|
552
|
-
autoScroll([window], {
|
553
|
-
margin: 20,
|
554
|
-
maxSpeed: 6,
|
555
|
-
scrollWhenOutside: true,
|
556
|
-
autoScroll: function () {
|
557
|
-
return this.down && drake?.dragging;
|
558
|
-
}
|
559
|
-
});
|
560
|
-
return this.webform.attach(this.refs.form);
|
561
|
-
}
|
562
|
-
});
|
563
|
-
}
|
564
|
-
searchFields(searchString = '') {
|
565
|
-
const searchValue = searchString.toLowerCase();
|
566
|
-
const sidebar = this.refs['sidebar'];
|
567
|
-
const sidebarGroups = this.refs['sidebar-groups'];
|
568
|
-
if (!sidebar || !sidebarGroups) {
|
569
|
-
return;
|
570
|
-
}
|
571
|
-
const filterGroupBy = (group, searchValue = '') => {
|
572
|
-
const result = _.toPlainObject(group);
|
573
|
-
const { subgroups = [], components } = result;
|
574
|
-
const filteredComponents = [];
|
575
|
-
for (const key in components) {
|
576
|
-
const isMatchedToTitle = this.t(components[key].title).toLowerCase().match(searchValue);
|
577
|
-
const isMatchedToKey = components[key].key.toLowerCase().match(searchValue);
|
578
|
-
if (isMatchedToTitle || isMatchedToKey) {
|
579
|
-
filteredComponents.push(components[key]);
|
580
|
-
}
|
581
|
-
}
|
582
|
-
this.orderComponents(result, filteredComponents);
|
583
|
-
if (searchValue) {
|
584
|
-
result.default = true;
|
585
|
-
}
|
586
|
-
if (result.componentOrder.length || subgroups.length) {
|
587
|
-
return result;
|
588
|
-
}
|
589
|
-
return null;
|
590
|
-
};
|
591
|
-
const filterGroupOrder = (groupOrder, searchValue) => {
|
592
|
-
const result = _.cloneDeep(groupOrder);
|
593
|
-
return result.filter(key => filterGroupBy(this.groups[key], searchValue));
|
594
|
-
};
|
595
|
-
const filterSubgroups = (groups, searchValue) => {
|
596
|
-
const result = _.clone(groups);
|
597
|
-
return result
|
598
|
-
.map(subgroup => filterGroupBy(subgroup, searchValue))
|
599
|
-
.filter(subgroup => !_.isNull(subgroup));
|
600
|
-
};
|
601
|
-
const toTemplate = groupKey => {
|
602
|
-
return {
|
603
|
-
group: filterGroupBy(this.groups[groupKey], searchValue),
|
604
|
-
groupKey,
|
605
|
-
groupId: sidebar.id || sidebarGroups.id,
|
606
|
-
subgroups: filterSubgroups(this.groups[groupKey].subgroups, searchValue)
|
607
|
-
.map((group) => this.renderTemplate('builderSidebarGroup', {
|
608
|
-
group,
|
609
|
-
groupKey: group.key,
|
610
|
-
groupId: `group-container-${groupKey}`,
|
611
|
-
subgroups: []
|
612
|
-
})),
|
613
|
-
};
|
614
|
-
};
|
615
|
-
sidebarGroups.innerHTML = filterGroupOrder(this.groupOrder, searchValue)
|
616
|
-
.map(groupKey => this.renderTemplate('builderSidebarGroup', toTemplate(groupKey)))
|
617
|
-
.join('');
|
618
|
-
this.loadRefs(this.element, {
|
619
|
-
'sidebar-groups': 'single',
|
620
|
-
'sidebar-anchor': 'multiple',
|
621
|
-
'sidebar-group': 'multiple',
|
622
|
-
'sidebar-container': 'multiple',
|
623
|
-
});
|
624
|
-
this.updateDragAndDrop();
|
625
|
-
if (searchValue === '') {
|
626
|
-
this.triggerRedraw();
|
627
|
-
}
|
628
|
-
}
|
629
|
-
orderComponents(groupInfo, foundComponents) {
|
630
|
-
const components = foundComponents || groupInfo.components;
|
631
|
-
const isResource = groupInfo.key.indexOf('resource-') === 0;
|
632
|
-
if (components) {
|
633
|
-
groupInfo.componentOrder = Object.keys(components)
|
634
|
-
.map(key => components[key])
|
635
|
-
.filter(component => component && !component.ignore && !component.ignoreForForm)
|
636
|
-
.sort((a, b) => a.weight - b.weight)
|
637
|
-
.map(component => isResource ? `component-${component.key}` : component.key);
|
638
|
-
}
|
639
|
-
}
|
640
|
-
updateDragAndDrop() {
|
641
|
-
if (this.dragDropEnabled) {
|
642
|
-
this.initDragula();
|
643
|
-
}
|
644
|
-
if (this.refs.form) {
|
645
|
-
return this.webform.attach(this.refs.form);
|
646
|
-
}
|
647
|
-
}
|
648
|
-
initDragula() {
|
649
|
-
const options = this.options;
|
650
|
-
if (this.dragula) {
|
651
|
-
this.dragula.destroy();
|
652
|
-
}
|
653
|
-
const containersArray = Array.prototype.slice.call(this.refs['sidebar-container']).filter(item => {
|
654
|
-
return item.id !== 'group-container-resource';
|
655
|
-
});
|
656
|
-
if (!dragula) {
|
657
|
-
return;
|
658
|
-
}
|
659
|
-
this.dragula = dragula(containersArray, {
|
660
|
-
moves(el) {
|
661
|
-
let moves = true;
|
662
|
-
const list = Array.from(el.classList).filter(item => item.indexOf('formio-component-') === 0);
|
663
|
-
list.forEach(item => {
|
664
|
-
const key = item.slice('formio-component-'.length);
|
665
|
-
if (options.disabled && options.disabled.includes(key)) {
|
666
|
-
moves = false;
|
667
|
-
}
|
668
|
-
});
|
669
|
-
if (el.classList.contains('no-drag')) {
|
670
|
-
moves = false;
|
671
|
-
}
|
672
|
-
return moves;
|
673
|
-
},
|
674
|
-
copy(el) {
|
675
|
-
return el.classList.contains('drag-copy');
|
676
|
-
},
|
677
|
-
accepts(el, target) {
|
678
|
-
return !el.contains(target) && !target.classList.contains('no-drop');
|
679
|
-
}
|
680
|
-
}).on('drop', (element, target, source, sibling) => this.onDrop(element, target, source, sibling));
|
681
|
-
}
|
682
|
-
detach() {
|
683
|
-
if (this.dragula) {
|
684
|
-
this.dragula.destroy();
|
685
|
-
}
|
686
|
-
this.dragula = null;
|
687
|
-
if (this.sideBarScroll && Templates.current.clearBuilderSidebarScroll) {
|
688
|
-
Templates.current.clearBuilderSidebarScroll.call(this, this);
|
689
|
-
}
|
690
|
-
super.detach();
|
691
|
-
}
|
692
|
-
getComponentInfo(key, group) {
|
693
|
-
let info;
|
694
|
-
// Need to check in first order as resource component key can be the same as from webform default components
|
695
|
-
if (group && group.slice(0, group.indexOf('-')) === 'resource') {
|
696
|
-
// This is an existing resource field.
|
697
|
-
const resourceGroups = this.groups.resource.subgroups;
|
698
|
-
const resourceGroup = _.find(resourceGroups, { key: group });
|
699
|
-
if (resourceGroup && resourceGroup.components.hasOwnProperty(`component-${key}`)) {
|
700
|
-
info = fastCloneDeep(resourceGroup.components[`component-${key}`].schema);
|
701
|
-
}
|
702
|
-
}
|
703
|
-
// This is a new component
|
704
|
-
else if (this.schemas.hasOwnProperty(key)) {
|
705
|
-
info = fastCloneDeep(this.schemas[key]);
|
706
|
-
}
|
707
|
-
else if (this.groups.hasOwnProperty(group)) {
|
708
|
-
const groupComponents = this.groups[group].components;
|
709
|
-
if (groupComponents.hasOwnProperty(key)) {
|
710
|
-
info = fastCloneDeep(groupComponents[key].schema);
|
711
|
-
}
|
712
|
-
}
|
713
|
-
else if (group === 'searchFields') { //Search components go into this group
|
714
|
-
const resourceGroups = this.groups.resource.subgroups;
|
715
|
-
for (let ix = 0; ix < resourceGroups.length; ix++) {
|
716
|
-
const resourceGroup = resourceGroups[ix];
|
717
|
-
if (resourceGroup.components.hasOwnProperty(`component-${key}`)) {
|
718
|
-
info = fastCloneDeep(resourceGroup.components[`component-${key}`].schema);
|
719
|
-
break;
|
720
|
-
}
|
721
|
-
}
|
722
|
-
}
|
723
|
-
if (info) {
|
724
|
-
info.key = this.generateKey(info);
|
725
|
-
}
|
726
|
-
return info;
|
727
|
-
}
|
728
|
-
getComponentsPath(component, parent) {
|
729
|
-
// Get path to the component in the parent component.
|
730
|
-
let path = 'components';
|
731
|
-
let columnIndex = 0;
|
732
|
-
let tableRowIndex = 0;
|
733
|
-
let tableColumnIndex = 0;
|
734
|
-
let tabIndex = 0;
|
735
|
-
switch (parent.type) {
|
736
|
-
case 'table':
|
737
|
-
tableRowIndex = _.findIndex(parent.rows, row => row.some(column => column.components.some(comp => comp.key === component.key)));
|
738
|
-
tableColumnIndex = _.findIndex(parent.rows[tableRowIndex], (column => column.components.some(comp => comp.key === component.key)));
|
739
|
-
path = `rows[${tableRowIndex}][${tableColumnIndex}].components`;
|
740
|
-
break;
|
741
|
-
case 'columns':
|
742
|
-
columnIndex = _.findIndex(parent.columns, column => column.components.some(comp => comp.key === component.key));
|
743
|
-
path = `columns[${columnIndex}].components`;
|
744
|
-
break;
|
745
|
-
case 'tabs':
|
746
|
-
tabIndex = _.findIndex(parent.components, tab => tab.components.some(comp => comp.key === component.key));
|
747
|
-
path = `components[${tabIndex}].components`;
|
748
|
-
break;
|
749
|
-
}
|
750
|
-
return path;
|
751
|
-
}
|
752
|
-
/* eslint-disable max-statements */
|
753
|
-
onDrop(element, target, source, sibling) {
|
754
|
-
if (!target) {
|
755
|
-
return;
|
756
|
-
}
|
757
|
-
// If you try to drop within itself.
|
758
|
-
if (element.contains(target)) {
|
759
|
-
return;
|
760
|
-
}
|
761
|
-
const key = element.getAttribute('data-key');
|
762
|
-
const type = element.getAttribute('data-type');
|
763
|
-
const group = element.getAttribute('data-group');
|
764
|
-
let info, isNew, path, index;
|
765
|
-
if (key && group) {
|
766
|
-
// This is a new component.
|
767
|
-
info = this.getComponentInfo(key, group);
|
768
|
-
if (!info && type) {
|
769
|
-
info = this.getComponentInfo(type, group);
|
770
|
-
}
|
771
|
-
isNew = true;
|
772
|
-
}
|
773
|
-
else if (source.formioContainer) {
|
774
|
-
index = _.findIndex(source.formioContainer, { key: element.formioComponent.component.key });
|
775
|
-
if (index !== -1) {
|
776
|
-
// Grab and remove the component from the source container.
|
777
|
-
info = source.formioContainer.splice(_.findIndex(source.formioContainer, { key: element.formioComponent.component.key }), 1);
|
778
|
-
// Since splice returns an array of one object, we need to destructure it.
|
779
|
-
info = info[0];
|
780
|
-
}
|
781
|
-
}
|
782
|
-
// If we haven't found the component, stop.
|
783
|
-
if (!info) {
|
784
|
-
return;
|
785
|
-
}
|
786
|
-
// Show an error if siblings are disabled for a component and such a component already exists.
|
787
|
-
const compKey = (group === 'resource') ? `component-${key}` : key;
|
788
|
-
const draggableComponent = this.groups[group]?.components[compKey] || {};
|
789
|
-
if (draggableComponent.disableSiblings) {
|
790
|
-
let isCompAlreadyExists = false;
|
791
|
-
eachComponent(this.webform.components, (component) => {
|
792
|
-
if (component.type === draggableComponent.schema.type) {
|
793
|
-
isCompAlreadyExists = true;
|
794
|
-
return;
|
795
|
-
}
|
796
|
-
}, true);
|
797
|
-
if (isCompAlreadyExists) {
|
798
|
-
this.webform.redraw();
|
799
|
-
this.webform.setAlert('danger', `You cannot add more than one ${draggableComponent.key} component to one page.`);
|
800
|
-
return;
|
801
|
-
}
|
802
|
-
}
|
803
|
-
if (target !== source) {
|
804
|
-
// Ensure the key remains unique in its new container.
|
805
|
-
BuilderUtils.uniquify(this.findNamespaceRoot(target.formioComponent), info);
|
806
|
-
}
|
807
|
-
const parent = target.formioComponent;
|
808
|
-
// Insert in the new container.
|
809
|
-
if (target.formioContainer) {
|
810
|
-
if (sibling) {
|
811
|
-
if (!sibling.getAttribute('data-noattach')) {
|
812
|
-
index = _.findIndex(target.formioContainer, { key: _.get(sibling, 'formioComponent.component.key') });
|
813
|
-
index = (index === -1) ? 0 : index;
|
814
|
-
}
|
815
|
-
else {
|
816
|
-
index = sibling.getAttribute('data-position');
|
817
|
-
}
|
818
|
-
if (index !== -1) {
|
819
|
-
target.formioContainer.splice(index, 0, info);
|
820
|
-
}
|
821
|
-
}
|
822
|
-
else {
|
823
|
-
target.formioContainer.push(info);
|
824
|
-
}
|
825
|
-
path = this.getComponentsPath(info, parent.component);
|
826
|
-
index = _.findIndex(_.get(parent.schema, path), { key: info.key });
|
827
|
-
if (index === -1) {
|
828
|
-
index = 0;
|
829
|
-
}
|
830
|
-
}
|
831
|
-
if (parent && parent.addChildComponent) {
|
832
|
-
parent.addChildComponent(info, element, target, source, sibling);
|
833
|
-
}
|
834
|
-
const componentInDataGrid = parent.type === 'datagrid';
|
835
|
-
if (isNew && !this.options.noNewEdit && !info.noNewEdit) {
|
836
|
-
this.editComponent(info, target, isNew, null, null, { inDataGrid: componentInDataGrid });
|
837
|
-
}
|
838
|
-
// Only rebuild the parts needing to be rebuilt.
|
839
|
-
let rebuild;
|
840
|
-
if (target !== source) {
|
841
|
-
if (source.formioContainer && source.contains(target)) {
|
842
|
-
rebuild = source.formioComponent.rebuild();
|
843
|
-
}
|
844
|
-
else if (target.contains(source)) {
|
845
|
-
rebuild = target.formioComponent.rebuild();
|
846
|
-
}
|
847
|
-
else {
|
848
|
-
if (source.formioContainer) {
|
849
|
-
rebuild = source.formioComponent.rebuild();
|
850
|
-
}
|
851
|
-
rebuild = target.formioComponent.rebuild();
|
852
|
-
}
|
853
|
-
}
|
854
|
-
else {
|
855
|
-
// If they are the same, only rebuild one.
|
856
|
-
rebuild = target.formioComponent.rebuild();
|
857
|
-
}
|
858
|
-
if (!rebuild) {
|
859
|
-
rebuild = Promise.resolve();
|
860
|
-
}
|
861
|
-
return rebuild.then(() => {
|
862
|
-
this.emit('addComponent', info, parent, path, index, isNew && !this.options.noNewEdit && !info.noNewEdit);
|
863
|
-
if (!isNew || this.options.noNewEdit || info.noNewEdit) {
|
864
|
-
this.emit('change', this.form);
|
865
|
-
}
|
866
|
-
});
|
867
|
-
}
|
868
|
-
setForm(form) {
|
869
|
-
if (!form.components) {
|
870
|
-
form.components = [];
|
871
|
-
}
|
872
|
-
if (form && form.properties) {
|
873
|
-
this.options.properties = form.properties;
|
874
|
-
}
|
875
|
-
this.keyboardActionsEnabled = _.get(this.options, 'keyboardBuilder', false) || this.options.properties?.keyboardBuilder;
|
876
|
-
const isShowSubmitButton = !this.options.noDefaultSubmitButton
|
877
|
-
&& (!form.components.length || !form.components.find(comp => comp.key === 'submit'));
|
878
|
-
// Ensure there is at least a submit button.
|
879
|
-
if (isShowSubmitButton) {
|
880
|
-
form.components.push({
|
881
|
-
type: 'button',
|
882
|
-
label: 'Submit',
|
883
|
-
key: 'submit',
|
884
|
-
size: 'md',
|
885
|
-
block: false,
|
886
|
-
action: 'submit',
|
887
|
-
disableOnInvalid: true,
|
888
|
-
theme: 'primary'
|
889
|
-
});
|
890
|
-
}
|
891
|
-
if (this.webform) {
|
892
|
-
const shouldRebuild = !this.webform.form.components ||
|
893
|
-
(form.components.length !== this.webform.form.components.length);
|
894
|
-
return this.webform.setForm(form, { keepAsReference: true }).then(() => {
|
895
|
-
if (this.refs.form) {
|
896
|
-
this.builderHeight = this.refs.form.offsetHeight;
|
897
|
-
}
|
898
|
-
if (!shouldRebuild) {
|
899
|
-
return this.form;
|
900
|
-
}
|
901
|
-
return this.rebuild().then(() => this.form);
|
902
|
-
});
|
903
|
-
}
|
904
|
-
return Promise.resolve(form);
|
905
|
-
}
|
906
|
-
populateRecaptchaSettings(form) {
|
907
|
-
//populate isEnabled for recaptcha form settings
|
908
|
-
let isRecaptchaEnabled = false;
|
909
|
-
if (this.form.components) {
|
910
|
-
eachComponent(form.components, component => {
|
911
|
-
if (isRecaptchaEnabled) {
|
912
|
-
return;
|
913
|
-
}
|
914
|
-
if (component.type === 'recaptcha') {
|
915
|
-
isRecaptchaEnabled = true;
|
916
|
-
return false;
|
917
|
-
}
|
918
|
-
});
|
919
|
-
if (isRecaptchaEnabled) {
|
920
|
-
_.set(form, 'settings.recaptcha.isEnabled', true);
|
921
|
-
}
|
922
|
-
else if (_.get(form, 'settings.recaptcha.isEnabled')) {
|
923
|
-
_.set(form, 'settings.recaptcha.isEnabled', false);
|
924
|
-
}
|
925
|
-
}
|
926
|
-
}
|
927
|
-
removeComponent(component, parent, original) {
|
928
|
-
if (!parent) {
|
929
|
-
return;
|
930
|
-
}
|
931
|
-
let remove = true;
|
932
|
-
const removingComponentsGroup = !component.skipRemoveConfirm &&
|
933
|
-
((Array.isArray(component.components) && component.components.length) ||
|
934
|
-
(Array.isArray(component.rows) && component.rows.length) ||
|
935
|
-
(Array.isArray(component.columns) && component.columns.length));
|
936
|
-
if (this.options.alwaysConfirmComponentRemoval || removingComponentsGroup) {
|
937
|
-
const message = removingComponentsGroup ? 'Removing this component will also remove all of its children. Are you sure you want to do this?'
|
938
|
-
: 'Are you sure you want to remove this component?';
|
939
|
-
remove = window.confirm(this.t(message));
|
940
|
-
}
|
941
|
-
if (!original) {
|
942
|
-
original = parent.formioContainer.find((comp) => comp.id === component.id);
|
943
|
-
}
|
944
|
-
const index = parent.formioContainer ? parent.formioContainer.indexOf(original) : 0;
|
945
|
-
if (remove && index !== -1) {
|
946
|
-
const path = this.getComponentsPath(component, parent.formioComponent.component);
|
947
|
-
if (parent.formioContainer) {
|
948
|
-
parent.formioContainer.splice(index, 1);
|
949
|
-
}
|
950
|
-
else if (parent.formioComponent && parent.formioComponent.removeChildComponent) {
|
951
|
-
parent.formioComponent.removeChildComponent(component);
|
952
|
-
}
|
953
|
-
const rebuild = parent.formioComponent.rebuild() || Promise.resolve();
|
954
|
-
rebuild.then(() => {
|
955
|
-
this.emit('removeComponent', component, parent.formioComponent.schema, path, index);
|
956
|
-
this.emit('change', this.form);
|
957
|
-
});
|
958
|
-
}
|
959
|
-
return remove;
|
960
|
-
}
|
961
|
-
replaceDoubleQuotes(data, fieldsToRemoveDoubleQuotes = []) {
|
962
|
-
if (data) {
|
963
|
-
fieldsToRemoveDoubleQuotes.forEach((key) => {
|
964
|
-
if (data[key]) {
|
965
|
-
data[key] = data[key].replace(/"/g, "'");
|
966
|
-
}
|
967
|
-
});
|
968
|
-
return data;
|
969
|
-
}
|
970
|
-
}
|
971
|
-
updateComponent(component, changed) {
|
972
|
-
// Update the preview.
|
973
|
-
if (this.preview) {
|
974
|
-
this.preview.form = {
|
975
|
-
components: [_.omit({ ...component }, [
|
976
|
-
'hidden',
|
977
|
-
'conditional',
|
978
|
-
'calculateValue',
|
979
|
-
'logic',
|
980
|
-
'autofocus',
|
981
|
-
'customConditional',
|
982
|
-
])],
|
983
|
-
config: this.options.formConfig || {}
|
984
|
-
};
|
985
|
-
const fieldsToRemoveDoubleQuotes = ['label', 'tooltip'];
|
986
|
-
this.preview.form.components.forEach(component => this.replaceDoubleQuotes(component, fieldsToRemoveDoubleQuotes));
|
987
|
-
const previewElement = this.componentEdit.querySelector('[ref="preview"]');
|
988
|
-
if (previewElement) {
|
989
|
-
this.setContent(previewElement, this.preview.render());
|
990
|
-
this.preview.attach(previewElement);
|
991
|
-
}
|
992
|
-
}
|
993
|
-
// Change the "default value" field to be reflective of this component.
|
994
|
-
const defaultValueComponent = getComponent(this.editForm.components, 'defaultValue', true);
|
995
|
-
if (defaultValueComponent && component.type !== 'hidden') {
|
996
|
-
const defaultChanged = changed && ((changed.component && changed.component.key === 'defaultValue')
|
997
|
-
|| (changed.instance && defaultValueComponent.hasComponent && defaultValueComponent.hasComponent(changed.instance)));
|
998
|
-
if (!defaultChanged) {
|
999
|
-
_.assign(defaultValueComponent.component, _.omit({ ...component }, [
|
1000
|
-
'key',
|
1001
|
-
'label',
|
1002
|
-
'labelPosition',
|
1003
|
-
'labelMargin',
|
1004
|
-
'labelWidth',
|
1005
|
-
'placeholder',
|
1006
|
-
'tooltip',
|
1007
|
-
'hidden',
|
1008
|
-
'autofocus',
|
1009
|
-
'validate',
|
1010
|
-
'disabled',
|
1011
|
-
'defaultValue',
|
1012
|
-
'customDefaultValue',
|
1013
|
-
'calculateValue',
|
1014
|
-
'conditional',
|
1015
|
-
'customConditional',
|
1016
|
-
'id'
|
1017
|
-
]));
|
1018
|
-
const parentComponent = defaultValueComponent.parent;
|
1019
|
-
let tabIndex = -1;
|
1020
|
-
let index = -1;
|
1021
|
-
parentComponent.tabs.some((tab, tIndex) => {
|
1022
|
-
tab.some((comp, compIndex) => {
|
1023
|
-
if (comp.id === defaultValueComponent.id) {
|
1024
|
-
tabIndex = tIndex;
|
1025
|
-
index = compIndex;
|
1026
|
-
return true;
|
1027
|
-
}
|
1028
|
-
return false;
|
1029
|
-
});
|
1030
|
-
});
|
1031
|
-
if (tabIndex !== -1 && index !== -1 && changed && !_.isNil(changed.value)) {
|
1032
|
-
const sibling = parentComponent.tabs[tabIndex][index + 1];
|
1033
|
-
parentComponent.removeComponent(defaultValueComponent);
|
1034
|
-
const newComp = parentComponent.addComponent(defaultValueComponent.component, defaultValueComponent.data, sibling);
|
1035
|
-
_.pull(newComp.validators, 'required');
|
1036
|
-
parentComponent.tabs[tabIndex].splice(index, 1, newComp);
|
1037
|
-
newComp.checkValidity = () => true;
|
1038
|
-
newComp.build(defaultValueComponent.element);
|
1039
|
-
}
|
1040
|
-
}
|
1041
|
-
else {
|
1042
|
-
let dataPath = changed.instance._data.key;
|
1043
|
-
const path = getArrayFromComponentPath(changed.instance.path);
|
1044
|
-
path.shift();
|
1045
|
-
if (path.length) {
|
1046
|
-
path.unshift(component.key);
|
1047
|
-
dataPath = getStringFromComponentPath(path);
|
1048
|
-
}
|
1049
|
-
_.set(this.preview._data, dataPath, changed.value);
|
1050
|
-
_.set(this.webform._data, dataPath, changed.value);
|
1051
|
-
}
|
1052
|
-
}
|
1053
|
-
// Called when we update a component.
|
1054
|
-
this.emit('updateComponent', component);
|
1055
|
-
}
|
1056
|
-
findRepeatablePaths() {
|
1057
|
-
const repeatablePaths = [];
|
1058
|
-
const keys = new Map();
|
1059
|
-
eachComponent(this.form.components, (comp, path) => {
|
1060
|
-
if (!comp.key) {
|
1061
|
-
return;
|
1062
|
-
}
|
1063
|
-
if (keys.has(comp.key)) {
|
1064
|
-
if (keys.get(comp.key).includes(path)) {
|
1065
|
-
repeatablePaths.push(path);
|
1066
|
-
}
|
1067
|
-
else {
|
1068
|
-
keys.set(comp.key, [...keys.get(comp.key), path]);
|
1069
|
-
}
|
1070
|
-
}
|
1071
|
-
else {
|
1072
|
-
keys.set(comp.key, [path]);
|
1073
|
-
}
|
1074
|
-
}, true);
|
1075
|
-
return repeatablePaths;
|
1076
|
-
}
|
1077
|
-
highlightInvalidComponents() {
|
1078
|
-
const repeatablePaths = this.findRepeatablePaths();
|
1079
|
-
let hasInvalidComponents = false;
|
1080
|
-
this.webform.everyComponent((comp) => {
|
1081
|
-
const path = comp.path;
|
1082
|
-
if (repeatablePaths.includes(path)) {
|
1083
|
-
comp.setCustomValidity(`API Key is not unique: ${comp.key}`);
|
1084
|
-
hasInvalidComponents = true;
|
1085
|
-
}
|
1086
|
-
else if (comp.error?.message?.startsWith('API Key is not unique')) {
|
1087
|
-
comp.setCustomValidity('');
|
1088
|
-
}
|
1089
|
-
});
|
1090
|
-
this.emit('builderFormValidityChange', hasInvalidComponents);
|
1091
|
-
}
|
1092
|
-
/**
|
1093
|
-
* Called when a new component is saved.
|
1094
|
-
*
|
1095
|
-
* @param parent
|
1096
|
-
* @param component
|
1097
|
-
* @return {boolean}
|
1098
|
-
*/
|
1099
|
-
saveComponent(component, parent, isNew, original) {
|
1100
|
-
this.editForm.detach();
|
1101
|
-
const parentContainer = parent ? parent.formioContainer : this.container;
|
1102
|
-
const parentComponent = parent ? parent.formioComponent : this;
|
1103
|
-
this.dialog.close();
|
1104
|
-
const path = parentContainer ? this.getComponentsPath(component, parentComponent.component) : '';
|
1105
|
-
if (!original) {
|
1106
|
-
original = parent.formioContainer.find((comp) => comp.id === component.id);
|
1107
|
-
}
|
1108
|
-
const index = parentContainer ? parentContainer.indexOf(original) : 0;
|
1109
|
-
if (index !== -1) {
|
1110
|
-
let submissionData = this.editForm.submission.data;
|
1111
|
-
submissionData = submissionData.componentJson || submissionData;
|
1112
|
-
const fieldsToRemoveDoubleQuotes = ['label', 'tooltip'];
|
1113
|
-
this.replaceDoubleQuotes(submissionData, fieldsToRemoveDoubleQuotes);
|
1114
|
-
this.hook('beforeSaveComponentSettings', submissionData);
|
1115
|
-
let comp = null;
|
1116
|
-
parentComponent.getComponents().forEach((component) => {
|
1117
|
-
if (component.component.key === original.key) {
|
1118
|
-
comp = component;
|
1119
|
-
}
|
1120
|
-
});
|
1121
|
-
const originalComp = comp.component;
|
1122
|
-
const originalComponentSchema = comp.schema;
|
1123
|
-
const isParentSaveChildMethod = this.isParentSaveChildMethod(parent.formioComponent);
|
1124
|
-
if (parentContainer && !isParentSaveChildMethod) {
|
1125
|
-
parentContainer[index] = submissionData;
|
1126
|
-
if (comp) {
|
1127
|
-
comp.component = submissionData;
|
1128
|
-
}
|
1129
|
-
}
|
1130
|
-
else if (isParentSaveChildMethod) {
|
1131
|
-
parent.formioComponent.saveChildComponent(submissionData);
|
1132
|
-
}
|
1133
|
-
const rebuild = parentComponent.rebuild() || Promise.resolve();
|
1134
|
-
return rebuild.then(() => {
|
1135
|
-
const schema = parentContainer ? parentContainer[index] : (comp ? comp.schema : []);
|
1136
|
-
this.emitSaveComponentEvent(schema, originalComp, parentComponent.schema, path, index, isNew, originalComponentSchema);
|
1137
|
-
this.emit('change', this.form);
|
1138
|
-
this.highlightInvalidComponents();
|
1139
|
-
if (this.isComponentCreated) {
|
1140
|
-
const component = parent.formioComponent.components[0];
|
1141
|
-
this.moveComponent(component);
|
1142
|
-
this.isComponentCreated = false;
|
1143
|
-
}
|
1144
|
-
});
|
1145
|
-
}
|
1146
|
-
this.highlightInvalidComponents();
|
1147
|
-
return Promise.resolve();
|
1148
|
-
}
|
1149
|
-
emitSaveComponentEvent(schema, originalComp, parentComponentSchema, path, index, isNew, originalComponentSchema) {
|
1150
|
-
this.emit('saveComponent', schema, originalComp, parentComponentSchema, path, index, isNew, originalComponentSchema);
|
1151
|
-
}
|
1152
|
-
attachEditComponentControls(component, parent, isNew, original, ComponentClass) {
|
1153
|
-
const cancelButtons = this.componentEdit.querySelectorAll('[ref="cancelButton"]');
|
1154
|
-
cancelButtons.forEach((cancelButton) => {
|
1155
|
-
this.editForm.addEventListener(cancelButton, 'click', (event) => {
|
1156
|
-
event.preventDefault();
|
1157
|
-
this.editForm.detach();
|
1158
|
-
this.emit('cancelComponent', component);
|
1159
|
-
this.dialog.close();
|
1160
|
-
this.highlightInvalidComponents();
|
1161
|
-
});
|
1162
|
-
});
|
1163
|
-
const removeButtons = this.componentEdit.querySelectorAll('[ref="removeButton"]');
|
1164
|
-
removeButtons.forEach((removeButton) => {
|
1165
|
-
this.editForm.addEventListener(removeButton, 'click', (event) => {
|
1166
|
-
event.preventDefault();
|
1167
|
-
// Since we are already removing the component, don't trigger another remove.
|
1168
|
-
this.saved = true;
|
1169
|
-
this.editForm.detach();
|
1170
|
-
this.removeComponent(component, parent, original);
|
1171
|
-
this.dialog.close();
|
1172
|
-
this.highlightInvalidComponents();
|
1173
|
-
});
|
1174
|
-
});
|
1175
|
-
const saveButtons = this.componentEdit.querySelectorAll('[ref="saveButton"]');
|
1176
|
-
saveButtons.forEach((saveButton) => {
|
1177
|
-
this.editForm.addEventListener(saveButton, 'click', (event) => {
|
1178
|
-
event.preventDefault();
|
1179
|
-
if (!this.editForm.checkValidity(this.editForm.data, true, this.editForm.data)) {
|
1180
|
-
this.editForm.setPristine(false);
|
1181
|
-
this.editForm.showErrors();
|
1182
|
-
return false;
|
1183
|
-
}
|
1184
|
-
this.saved = true;
|
1185
|
-
this.saveComponent(component, parent, isNew, original);
|
1186
|
-
});
|
1187
|
-
});
|
1188
|
-
const previewButtons = this.componentEdit.querySelectorAll('[ref="previewButton"]');
|
1189
|
-
previewButtons.forEach((previewButton) => {
|
1190
|
-
this.editForm.addEventListener(previewButton, 'click', (event) => {
|
1191
|
-
event.preventDefault();
|
1192
|
-
this.showPreview = !this.showPreview;
|
1193
|
-
this.editForm.detach();
|
1194
|
-
this.setContent(this.componentEdit, this.renderTemplate('builderEditForm', {
|
1195
|
-
componentInfo: ComponentClass.builderInfo,
|
1196
|
-
editForm: this.editForm.render(),
|
1197
|
-
preview: this.preview ? this.preview.render() : false,
|
1198
|
-
showPreview: this.showPreview,
|
1199
|
-
helplinks: this.helplinks,
|
1200
|
-
}));
|
1201
|
-
this.editForm.attach(this.componentEdit.querySelector('[ref="editForm"]'));
|
1202
|
-
this.attachEditComponentControls(component, parent, isNew, original, ComponentClass);
|
1203
|
-
});
|
1204
|
-
});
|
1205
|
-
}
|
1206
|
-
editComponent(component, parent, isNew, isJsonEdit, original, flags = {}) {
|
1207
|
-
if (!component.key) {
|
1208
|
-
return;
|
1209
|
-
}
|
1210
|
-
this.saved = false;
|
1211
|
-
const componentCopy = fastCloneDeep(component);
|
1212
|
-
let ComponentClass = Components.components[componentCopy.type];
|
1213
|
-
const isCustom = ComponentClass === undefined;
|
1214
|
-
isJsonEdit = isJsonEdit || isCustom;
|
1215
|
-
ComponentClass = isCustom ? Components.components.unknown : ComponentClass;
|
1216
|
-
// Make sure we only have one dialog open at a time.
|
1217
|
-
if (this.dialog) {
|
1218
|
-
this.dialog.close();
|
1219
|
-
this.highlightInvalidComponents();
|
1220
|
-
}
|
1221
|
-
// This is the render step.
|
1222
|
-
const editFormOptions = _.clone(_.get(this, 'options.editForm', {}));
|
1223
|
-
if (this.editForm) {
|
1224
|
-
this.editForm.destroy();
|
1225
|
-
}
|
1226
|
-
// Allow editForm overrides per component.
|
1227
|
-
const overrides = _.get(this.options, `editForm.${componentCopy.type}`, {});
|
1228
|
-
// Pass along the form being edited.
|
1229
|
-
editFormOptions.editForm = this.form;
|
1230
|
-
editFormOptions.editComponent = component;
|
1231
|
-
editFormOptions.flags = flags;
|
1232
|
-
this.hook('editComponentParentInstance', editFormOptions, parent);
|
1233
|
-
this.editForm = new Webform({
|
1234
|
-
..._.omit(this.options, ['hooks', 'builder', 'events', 'attachMode', 'skipInit']),
|
1235
|
-
language: this.options.language,
|
1236
|
-
...editFormOptions
|
1237
|
-
});
|
1238
|
-
this.hook('editFormProperties', parent);
|
1239
|
-
this.editForm.form = (isJsonEdit && !isCustom) ? {
|
1240
|
-
components: [
|
1241
|
-
{
|
1242
|
-
type: 'textarea',
|
1243
|
-
as: 'json',
|
1244
|
-
editor: 'ace',
|
1245
|
-
weight: 10,
|
1246
|
-
input: true,
|
1247
|
-
key: 'componentJson',
|
1248
|
-
label: 'Component JSON',
|
1249
|
-
tooltip: 'Edit the JSON for this component.'
|
1250
|
-
},
|
1251
|
-
{
|
1252
|
-
type: 'checkbox',
|
1253
|
-
key: 'showFullSchema',
|
1254
|
-
label: 'Full Schema'
|
1255
|
-
}
|
1256
|
-
]
|
1257
|
-
} : ComponentClass.editForm(_.cloneDeep(overrides));
|
1258
|
-
const instanceOptions = {
|
1259
|
-
inFormBuilder: true,
|
1260
|
-
};
|
1261
|
-
this.hook('instanceOptionsPreview', instanceOptions);
|
1262
|
-
const instance = new ComponentClass(componentCopy, instanceOptions);
|
1263
|
-
const schema = this.hook('builderComponentSchema', component, instance);
|
1264
|
-
this.editForm.submission = isJsonEdit ? {
|
1265
|
-
data: {
|
1266
|
-
componentJson: schema,
|
1267
|
-
showFullSchema: this.options.showFullJsonSchema
|
1268
|
-
},
|
1269
|
-
} : {
|
1270
|
-
data: instance.component,
|
1271
|
-
};
|
1272
|
-
if (this.preview) {
|
1273
|
-
this.preview.destroy();
|
1274
|
-
}
|
1275
|
-
if (!ComponentClass.builderInfo.hasOwnProperty('preview') || ComponentClass.builderInfo.preview) {
|
1276
|
-
this.preview = new Webform(_.omit({ ...this.options, preview: true }, [
|
1277
|
-
'hooks',
|
1278
|
-
'builder',
|
1279
|
-
'events',
|
1280
|
-
'attachMode',
|
1281
|
-
'calculateValue'
|
1282
|
-
]));
|
1283
|
-
this.hook('previewFormSettitngs', schema, isJsonEdit);
|
1284
|
-
}
|
1285
|
-
this.showPreview = ComponentClass.builderInfo.showPreview ?? true;
|
1286
|
-
this.componentEdit = this.ce('div', { 'class': 'component-edit-container' });
|
1287
|
-
this.setContent(this.componentEdit, this.renderTemplate('builderEditForm', {
|
1288
|
-
componentInfo: ComponentClass.builderInfo,
|
1289
|
-
editForm: this.editForm.render(),
|
1290
|
-
preview: this.preview ? this.preview.render() : false,
|
1291
|
-
showPreview: this.showPreview,
|
1292
|
-
helplinks: this.helplinks
|
1293
|
-
}));
|
1294
|
-
this.dialog = this.createModal(this.componentEdit, _.get(this.options, 'dialogAttr', {}));
|
1295
|
-
// This is the attach step.
|
1296
|
-
this.editForm.attach(this.componentEdit.querySelector('[ref="editForm"]'));
|
1297
|
-
this.hook('editFormWrapper');
|
1298
|
-
this.updateComponent(componentCopy);
|
1299
|
-
this.editForm.on('change', (event) => {
|
1300
|
-
if (event.changed) {
|
1301
|
-
if (event.changed.component && event.changed.component.key === 'showFullSchema') {
|
1302
|
-
const { value } = event.changed;
|
1303
|
-
this.editForm.submission = {
|
1304
|
-
data: {
|
1305
|
-
componentJson: value ? instance.component : component,
|
1306
|
-
showFullSchema: value
|
1307
|
-
},
|
1308
|
-
};
|
1309
|
-
return;
|
1310
|
-
}
|
1311
|
-
// See if this is a manually modified key. Treat custom component keys as manually modified
|
1312
|
-
if ((event.changed.component && (event.changed.component.key === 'key')) || isJsonEdit) {
|
1313
|
-
componentCopy.keyModified = true;
|
1314
|
-
}
|
1315
|
-
let isComponentLabelChanged = false;
|
1316
|
-
if (event.changed.instance) {
|
1317
|
-
isComponentLabelChanged = ['label', 'title'].includes(event.changed.instance.path);
|
1318
|
-
}
|
1319
|
-
else if (event.changed.component) {
|
1320
|
-
isComponentLabelChanged = ['label', 'title'].includes(event.changed.component.key);
|
1321
|
-
}
|
1322
|
-
if (isComponentLabelChanged) {
|
1323
|
-
// Ensure this component has a key.
|
1324
|
-
if (isNew) {
|
1325
|
-
if (!event.data.keyModified) {
|
1326
|
-
this.editForm.everyComponent(component => {
|
1327
|
-
if (component.key === 'key' && component.parent.component.key === 'tabs') {
|
1328
|
-
component.setValue(this.updateComponentKey(event.data));
|
1329
|
-
return false;
|
1330
|
-
}
|
1331
|
-
});
|
1332
|
-
}
|
1333
|
-
if (this.form) {
|
1334
|
-
let formComponents = this.findNamespaceRoot(parent.formioComponent);
|
1335
|
-
// excluding component which key uniqueness is to be checked to prevent the comparing of the same keys
|
1336
|
-
formComponents = formComponents.filter(comp => editFormOptions.editComponent.id !== comp.id);
|
1337
|
-
// Set a unique key for this component.
|
1338
|
-
BuilderUtils.uniquify(formComponents, event.data);
|
1339
|
-
}
|
1340
|
-
}
|
1341
|
-
}
|
1342
|
-
// Update the component.
|
1343
|
-
this.updateComponent(event.data.componentJson || event.data, event.changed);
|
1344
|
-
}
|
1345
|
-
});
|
1346
|
-
this.attachEditComponentControls(component, parent, isNew, original, ComponentClass);
|
1347
|
-
const dialogClose = () => {
|
1348
|
-
this.editForm.destroy(true);
|
1349
|
-
if (this.preview) {
|
1350
|
-
this.preview.destroy(true);
|
1351
|
-
this.preview = null;
|
1352
|
-
}
|
1353
|
-
if (isNew && !this.saved) {
|
1354
|
-
this.removeComponent(component, parent, original);
|
1355
|
-
this.highlightInvalidComponents();
|
1356
|
-
}
|
1357
|
-
// Clean up.
|
1358
|
-
this.removeEventListener(this.dialog, 'close', dialogClose);
|
1359
|
-
this.dialog = null;
|
1360
|
-
};
|
1361
|
-
this.addEventListener(this.dialog, 'close', dialogClose);
|
1362
|
-
// Called when we edit a component.
|
1363
|
-
this.emit('editComponent', component);
|
1364
|
-
}
|
1365
|
-
updateComponentKey(data) {
|
1366
|
-
return _.camelCase(data.title ||
|
1367
|
-
data.label ||
|
1368
|
-
data.placeholder ||
|
1369
|
-
data.type).replace(/^[0-9]*/, '');
|
1370
|
-
}
|
1371
|
-
moveComponent(component) {
|
1372
|
-
if (this.selectedComponent) {
|
1373
|
-
const prevSelected = this.selectedComponent;
|
1374
|
-
prevSelected.element?.classList.remove('builder-component-selected');
|
1375
|
-
this.removeEventListener(document, 'keydown');
|
1376
|
-
}
|
1377
|
-
component.element.focus();
|
1378
|
-
component.element.classList.add('builder-component-selected');
|
1379
|
-
this.selectedComponent = component;
|
1380
|
-
this.addEventListener(document, 'keydown', this.moveHandler.bind(this));
|
1381
|
-
}
|
1382
|
-
moveHandler = (e) => {
|
1383
|
-
if (e.keyCode === 38 || e.keyCode === 40 || e.keyCode === 13) {
|
1384
|
-
e.stopPropagation();
|
1385
|
-
e.preventDefault();
|
1386
|
-
}
|
1387
|
-
if (e.keyCode === 38) {
|
1388
|
-
this.updateComponentPlacement(true);
|
1389
|
-
}
|
1390
|
-
if (e.keyCode === 40) {
|
1391
|
-
this.updateComponentPlacement(false);
|
1392
|
-
}
|
1393
|
-
if (e.keyCode === 13) {
|
1394
|
-
this.stopMoving(this.selectedComponent);
|
1395
|
-
}
|
1396
|
-
};
|
1397
|
-
updateComponentPlacement(direction) {
|
1398
|
-
const component = this.selectedComponent;
|
1399
|
-
let index, info;
|
1400
|
-
const step = direction ? -1 : 1;
|
1401
|
-
if (component) {
|
1402
|
-
const element = component.element;
|
1403
|
-
const sibling = direction ? element.previousElementSibling : element.nextElementSibling;
|
1404
|
-
const source = element.parentNode;
|
1405
|
-
const containerLength = source.formioContainer.length;
|
1406
|
-
if (containerLength && containerLength <= 1) {
|
1407
|
-
return;
|
1408
|
-
}
|
1409
|
-
if (source.formioContainer) {
|
1410
|
-
index = _.findIndex(source.formioContainer, { key: element.formioComponent.component.key });
|
1411
|
-
if (index !== -1) {
|
1412
|
-
info = source.formioContainer.splice(_.findIndex(source.formioContainer, { key: element.formioComponent.component.key }), 1);
|
1413
|
-
info = info[0];
|
1414
|
-
source.removeChild(element);
|
1415
|
-
}
|
1416
|
-
}
|
1417
|
-
const len = source.formioComponent.components.length;
|
1418
|
-
index = (index === -1) ? 0 : index + step;
|
1419
|
-
if (index === -1) {
|
1420
|
-
source.formioContainer.push(info);
|
1421
|
-
source.appendChild(element);
|
1422
|
-
}
|
1423
|
-
else if (index === len) {
|
1424
|
-
const key = source.formioContainer[0].key;
|
1425
|
-
index = _.findIndex(source.formioComponent.components, { key: key });
|
1426
|
-
const firstElement = source.formioComponent.components[index].element;
|
1427
|
-
source.formioContainer.splice(0, 0, info);
|
1428
|
-
source.insertBefore(element, firstElement);
|
1429
|
-
}
|
1430
|
-
else if (index !== -1) {
|
1431
|
-
source.formioContainer.splice(index, 0, info);
|
1432
|
-
direction
|
1433
|
-
? source.insertBefore(element, sibling)
|
1434
|
-
: source.insertBefore(element, sibling.nextElementSibling);
|
1435
|
-
}
|
1436
|
-
element.focus();
|
1437
|
-
}
|
1438
|
-
}
|
1439
|
-
stopMoving(comp) {
|
1440
|
-
const parent = comp.element.parentNode;
|
1441
|
-
this.removeEventListener(document, 'keydown');
|
1442
|
-
parent.formioComponent.rebuild();
|
1443
|
-
this.selectedComponent = null;
|
1444
|
-
}
|
1445
|
-
addNewComponent(element) {
|
1446
|
-
const source = document.querySelector('.formio-builder-form');
|
1447
|
-
const key = element.getAttribute('data-key');
|
1448
|
-
const group = element.getAttribute('data-group');
|
1449
|
-
const isNew = true;
|
1450
|
-
let info;
|
1451
|
-
if (key && group) {
|
1452
|
-
info = this.getComponentInfo(key, group);
|
1453
|
-
}
|
1454
|
-
if (isNew && !this.options.noNewEdit && !info.noNewEdit) {
|
1455
|
-
BuilderUtils.uniquify(this.findNamespaceRoot(source.formioComponent), info);
|
1456
|
-
this.editComponent(info, source, isNew, null, null);
|
1457
|
-
}
|
1458
|
-
const firstComponent = source.formioComponent.components[0]?.element;
|
1459
|
-
if (firstComponent) {
|
1460
|
-
source.formioContainer.splice(0, 0, info);
|
1461
|
-
}
|
1462
|
-
else {
|
1463
|
-
source.formioContainer.push(info);
|
1464
|
-
}
|
1465
|
-
source.formioComponent.rebuild().then(() => {
|
1466
|
-
this.isComponentCreated = true;
|
1467
|
-
});
|
1468
|
-
}
|
1469
|
-
/**
|
1470
|
-
* Creates copy of component schema and stores it under sessionStorage.
|
1471
|
-
* @param {Component} component
|
1472
|
-
* @return {*}
|
1473
|
-
*/
|
1474
|
-
copyComponent(component) {
|
1475
|
-
if (!window.sessionStorage) {
|
1476
|
-
return console.warn('Session storage is not supported in this browser.');
|
1477
|
-
}
|
1478
|
-
this.addClass(this.refs.form, 'builder-paste-mode');
|
1479
|
-
window.sessionStorage.setItem('formio.clipboard', JSON.stringify(component.schema));
|
1480
|
-
}
|
1481
|
-
/**
|
1482
|
-
* Paste copied component after the current component.
|
1483
|
-
* @param {Component} component
|
1484
|
-
* @return {*}
|
1485
|
-
*/
|
1486
|
-
pasteComponent(component) {
|
1487
|
-
if (!window.sessionStorage) {
|
1488
|
-
return console.warn('Session storage is not supported in this browser.');
|
1489
|
-
}
|
1490
|
-
this.removeClass(this.refs.form, 'builder-paste-mode');
|
1491
|
-
if (window.sessionStorage) {
|
1492
|
-
const data = window.sessionStorage.getItem('formio.clipboard');
|
1493
|
-
if (data) {
|
1494
|
-
const schema = JSON.parse(data);
|
1495
|
-
const parent = this.getParentElement(component.element);
|
1496
|
-
if (parent) {
|
1497
|
-
BuilderUtils.uniquify(this.findNamespaceRoot(parent.formioComponent), schema);
|
1498
|
-
let path = '';
|
1499
|
-
let index = 0;
|
1500
|
-
const isParentSaveChildMethod = this.isParentSaveChildMethod(parent.formioComponent);
|
1501
|
-
if (parent.formioContainer && !isParentSaveChildMethod) {
|
1502
|
-
index = parent.formioContainer.indexOf(component.component);
|
1503
|
-
path = this.getComponentsPath(schema, parent.formioComponent.component);
|
1504
|
-
parent.formioContainer.splice(index + 1, 0, schema);
|
1505
|
-
}
|
1506
|
-
else if (isParentSaveChildMethod) {
|
1507
|
-
parent.formioComponent.saveChildComponent(schema, false);
|
1508
|
-
}
|
1509
|
-
parent.formioComponent.rebuild();
|
1510
|
-
this.emitSaveComponentEvent(schema, schema, parent.formioComponent.component, path, (index + 1), true, schema);
|
1511
|
-
}
|
1512
|
-
this.emit('change', this.form);
|
1513
|
-
}
|
1514
|
-
}
|
1515
|
-
}
|
1516
|
-
isParentSaveChildMethod(parentComp) {
|
1517
|
-
return !!(parentComp && parentComp.saveChildComponent);
|
1518
|
-
}
|
1519
|
-
getParentElement(element) {
|
1520
|
-
let container = element;
|
1521
|
-
do {
|
1522
|
-
container = container.parentNode;
|
1523
|
-
} while (container && !container.formioComponent);
|
1524
|
-
return container;
|
1525
|
-
}
|
1526
|
-
addBuilderComponentInfo(component) {
|
1527
|
-
if (!component || !component.group || !this.groups[component.group]) {
|
1528
|
-
return;
|
1529
|
-
}
|
1530
|
-
component = _.clone(component);
|
1531
|
-
const groupInfo = this.groups[component.group];
|
1532
|
-
if (!groupInfo.components.hasOwnProperty(component.key)) {
|
1533
|
-
groupInfo.components[component.key] = component;
|
1534
|
-
}
|
1535
|
-
return component;
|
1536
|
-
}
|
1537
|
-
init() {
|
1538
|
-
if (this.webform) {
|
1539
|
-
this.webform.init();
|
1540
|
-
}
|
1541
|
-
return super.init();
|
1542
|
-
}
|
1543
|
-
clear() {
|
1544
|
-
if (this.webform.initialized) {
|
1545
|
-
this.webform.clear();
|
1546
|
-
}
|
1547
|
-
}
|
1548
|
-
destroy(all = false) {
|
1549
|
-
if (this.webform.initialized) {
|
1550
|
-
this.webform.destroy(all);
|
1551
|
-
}
|
1552
|
-
super.destroy(all);
|
1553
|
-
}
|
1554
|
-
addBuilderGroup(name, group) {
|
1555
|
-
if (!this.groups[name]) {
|
1556
|
-
this.groups[name] = group;
|
1557
|
-
this.groupOrder.push(name);
|
1558
|
-
this.triggerRedraw();
|
1559
|
-
}
|
1560
|
-
else {
|
1561
|
-
this.updateBuilderGroup(name, group);
|
1562
|
-
}
|
1563
|
-
}
|
1564
|
-
updateBuilderGroup(name, group) {
|
1565
|
-
if (this.groups[name]) {
|
1566
|
-
this.groups[name] = group;
|
1567
|
-
this.triggerRedraw();
|
1568
|
-
}
|
1569
|
-
}
|
1570
|
-
generateKey(info) {
|
1571
|
-
return info.key || _.camelCase(info.title ||
|
1572
|
-
info.label ||
|
1573
|
-
info.placeholder ||
|
1574
|
-
info.type);
|
1575
|
-
}
|
1576
|
-
}
|