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