@formio/js 5.0.0-rc.27 → 5.0.0-rc.28
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/fonts/bootstrap-icons.woff +0 -0
- package/dist/fonts/bootstrap-icons.woff2 +0 -0
- package/dist/formio.embed.js +1 -1
- package/dist/formio.embed.min.js +1 -1
- package/dist/formio.embed.min.js.LICENSE.txt +1 -1
- package/dist/formio.form.js +710 -689
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.form.min.js.LICENSE.txt +2 -2
- package/dist/formio.full.css +100 -3
- package/dist/formio.full.js +715 -727
- package/dist/formio.full.min.css +2 -2
- package/dist/formio.full.min.js +1 -1
- package/dist/formio.full.min.js.LICENSE.txt +2 -2
- package/dist/formio.js +659 -264
- package/dist/formio.min.js +1 -1
- package/dist/formio.min.js.LICENSE.txt +2 -2
- package/dist/formio.utils.js +29 -8
- package/dist/formio.utils.min.js +1 -1
- package/dist/formio.utils.min.js.LICENSE.txt +2 -2
- package/lib/cjs/Embed.d.ts +1 -1
- package/lib/cjs/Embed.js +14 -6
- package/lib/cjs/PDF.js +2 -2
- package/lib/cjs/Webform.d.ts +3 -5
- package/lib/cjs/Webform.js +59 -81
- package/lib/cjs/WebformBuilder.d.ts +1 -1
- package/lib/cjs/WebformBuilder.js +27 -10
- package/lib/cjs/Wizard.d.ts +2 -0
- package/lib/cjs/Wizard.js +37 -26
- package/lib/cjs/WizardBuilder.d.ts +1 -0
- package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +1 -2
- package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.js +11 -12
- package/lib/cjs/addons/index.d.ts +1 -0
- package/lib/cjs/addons/index.js +5 -1
- package/lib/cjs/components/Components.d.ts +7 -0
- package/lib/cjs/components/Components.js +30 -0
- package/lib/cjs/components/_classes/component/Component.d.ts +57 -27
- package/lib/cjs/components/_classes/component/Component.js +193 -119
- package/lib/cjs/components/_classes/component/editForm/Component.edit.addons.d.ts +8 -0
- package/lib/cjs/components/_classes/component/editForm/Component.edit.addons.js +31 -1
- package/lib/cjs/components/_classes/nested/NestedComponent.d.ts +28 -11
- package/lib/cjs/components/_classes/nested/NestedComponent.js +88 -57
- package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +4 -3
- package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.js +17 -4
- package/lib/cjs/components/builder.js +0 -2
- package/lib/cjs/components/button/Button.js +2 -1
- package/lib/cjs/components/columns/Columns.d.ts +1 -0
- package/lib/cjs/components/columns/Columns.js +2 -3
- package/lib/cjs/components/columns/editForm/Columns.edit.display.d.ts +30 -1
- package/lib/cjs/components/columns/editForm/Columns.edit.display.js +23 -1
- package/lib/cjs/components/container/Container.d.ts +1 -0
- package/lib/cjs/components/container/Container.js +2 -6
- package/lib/cjs/components/content/Content.d.ts +1 -0
- package/lib/cjs/components/content/Content.js +1 -0
- package/lib/cjs/components/datagrid/DataGrid.d.ts +0 -8
- package/lib/cjs/components/datagrid/DataGrid.js +9 -26
- package/lib/cjs/components/datamap/DataMap.js +2 -1
- package/lib/cjs/components/datetime/DateTime.js +0 -2
- package/lib/cjs/components/day/Day.js +2 -3
- package/lib/cjs/components/editgrid/EditGrid.d.ts +8 -4
- package/lib/cjs/components/editgrid/EditGrid.js +96 -73
- package/lib/cjs/components/email/Email.js +0 -1
- package/lib/cjs/components/file/File.js +1 -1
- package/lib/cjs/components/file/fixtures/comp3.d.ts +29 -0
- package/lib/cjs/components/file/fixtures/comp3.js +31 -0
- package/lib/cjs/components/form/Form.d.ts +2 -6
- package/lib/cjs/components/form/Form.js +43 -14
- package/lib/cjs/components/index.d.ts +0 -2
- package/lib/cjs/components/index.js +0 -2
- package/lib/cjs/components/number/Number.d.ts +1 -2
- package/lib/cjs/components/number/Number.js +5 -6
- package/lib/cjs/components/panel/Panel.d.ts +0 -1
- package/lib/cjs/components/panel/Panel.js +2 -9
- package/lib/cjs/components/panel/editForm/Panel.edit.display.d.ts +6 -38
- package/lib/cjs/components/panel/editForm/Panel.edit.display.js +3 -16
- package/lib/cjs/components/phonenumber/PhoneNumber.js +17 -0
- package/lib/cjs/components/radio/Radio.js +0 -2
- package/lib/cjs/components/recaptcha/ReCaptcha.d.ts +1 -1
- package/lib/cjs/components/recaptcha/ReCaptcha.js +2 -2
- package/lib/cjs/components/select/Select.js +3 -2
- package/lib/cjs/components/selectboxes/SelectBoxes.d.ts +1 -2
- package/lib/cjs/components/selectboxes/SelectBoxes.js +7 -6
- package/lib/cjs/components/table/editForm/Table.edit.display.d.ts +31 -2
- package/lib/cjs/components/table/editForm/Table.edit.display.js +22 -0
- package/lib/cjs/components/tabs/editForm/Tabs.edit.display.d.ts +30 -2
- package/lib/cjs/components/tabs/editForm/Tabs.edit.display.js +22 -0
- package/lib/cjs/components/textfield/TextField.js +20 -6
- package/lib/cjs/components/time/Time.js +0 -6
- package/lib/cjs/components/url/Url.js +0 -1
- package/lib/cjs/components/well/editForm/Well.edit.display.d.ts +25 -2
- package/lib/cjs/components/well/editForm/Well.edit.display.js +18 -0
- package/lib/cjs/formio.embed.js +5 -3
- package/lib/cjs/formio.form.d.ts +1 -7
- package/lib/cjs/formio.form.js +2 -38
- package/lib/cjs/index.d.ts +2 -1
- package/lib/cjs/index.js +2 -1
- package/lib/cjs/providers/Providers.d.ts +0 -4
- package/lib/cjs/providers/storage/azure.d.ts +0 -2
- package/lib/cjs/providers/storage/azure.js +1 -6
- package/lib/cjs/providers/storage/googleDrive.d.ts +0 -1
- package/lib/cjs/providers/storage/googleDrive.js +0 -4
- package/lib/cjs/providers/storage/s3.d.ts +0 -1
- package/lib/cjs/providers/storage/s3.js +0 -4
- package/lib/cjs/translations/en.d.ts +5 -0
- package/lib/cjs/translations/en.js +5 -0
- package/lib/cjs/utils/formUtils.js +1 -0
- package/lib/cjs/utils/utils.d.ts +2 -1
- package/lib/cjs/utils/utils.js +27 -9
- package/lib/mjs/Embed.d.ts +1 -1
- package/lib/mjs/Embed.js +14 -6
- package/lib/mjs/PDF.js +2 -2
- package/lib/mjs/Webform.d.ts +3 -5
- package/lib/mjs/Webform.js +58 -82
- package/lib/mjs/WebformBuilder.d.ts +1 -1
- package/lib/mjs/WebformBuilder.js +28 -7
- package/lib/mjs/Wizard.d.ts +2 -0
- package/lib/mjs/Wizard.js +36 -27
- package/lib/mjs/WizardBuilder.d.ts +1 -0
- package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +1 -2
- package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.js +11 -12
- package/lib/mjs/addons/index.d.ts +1 -0
- package/lib/mjs/addons/index.js +5 -1
- package/lib/mjs/components/Components.d.ts +7 -0
- package/lib/mjs/components/Components.js +29 -0
- package/lib/mjs/components/_classes/component/Component.d.ts +57 -27
- package/lib/mjs/components/_classes/component/Component.js +191 -118
- package/lib/mjs/components/_classes/component/editForm/Component.edit.addons.d.ts +8 -0
- package/lib/mjs/components/_classes/component/editForm/Component.edit.addons.js +31 -1
- package/lib/mjs/components/_classes/nested/NestedComponent.d.ts +28 -11
- package/lib/mjs/components/_classes/nested/NestedComponent.js +88 -57
- package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +4 -3
- package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.js +18 -5
- package/lib/mjs/components/builder.js +0 -2
- package/lib/mjs/components/button/Button.js +2 -1
- package/lib/mjs/components/columns/Columns.d.ts +1 -0
- package/lib/mjs/components/columns/Columns.js +2 -3
- package/lib/mjs/components/columns/editForm/Columns.edit.display.d.ts +30 -1
- package/lib/mjs/components/columns/editForm/Columns.edit.display.js +23 -1
- package/lib/mjs/components/container/Container.d.ts +1 -0
- package/lib/mjs/components/container/Container.js +2 -6
- package/lib/mjs/components/content/Content.d.ts +1 -0
- package/lib/mjs/components/content/Content.js +1 -0
- package/lib/mjs/components/datagrid/DataGrid.d.ts +0 -8
- package/lib/mjs/components/datagrid/DataGrid.js +9 -26
- package/lib/mjs/components/datamap/DataMap.js +2 -1
- package/lib/mjs/components/datetime/DateTime.js +0 -2
- package/lib/mjs/components/day/Day.js +2 -3
- package/lib/mjs/components/editgrid/EditGrid.d.ts +8 -4
- package/lib/mjs/components/editgrid/EditGrid.js +97 -76
- package/lib/mjs/components/email/Email.js +0 -1
- package/lib/mjs/components/file/File.js +1 -1
- package/lib/mjs/components/file/fixtures/comp3.d.ts +29 -0
- package/lib/mjs/components/file/fixtures/comp3.js +29 -0
- package/lib/mjs/components/form/Form.d.ts +2 -6
- package/lib/mjs/components/form/Form.js +45 -14
- package/lib/mjs/components/index.d.ts +0 -2
- package/lib/mjs/components/index.js +0 -2
- package/lib/mjs/components/number/Number.d.ts +1 -2
- package/lib/mjs/components/number/Number.js +4 -5
- package/lib/mjs/components/panel/Panel.d.ts +0 -1
- package/lib/mjs/components/panel/Panel.js +3 -9
- package/lib/mjs/components/panel/editForm/Panel.edit.display.d.ts +6 -38
- package/lib/mjs/components/panel/editForm/Panel.edit.display.js +3 -16
- package/lib/mjs/components/phonenumber/PhoneNumber.js +17 -0
- package/lib/mjs/components/radio/Radio.js +0 -2
- package/lib/mjs/components/recaptcha/ReCaptcha.d.ts +1 -1
- package/lib/mjs/components/recaptcha/ReCaptcha.js +2 -2
- package/lib/mjs/components/select/Select.js +3 -2
- package/lib/mjs/components/selectboxes/SelectBoxes.d.ts +1 -2
- package/lib/mjs/components/selectboxes/SelectBoxes.js +7 -6
- package/lib/mjs/components/table/editForm/Table.edit.display.d.ts +31 -2
- package/lib/mjs/components/table/editForm/Table.edit.display.js +22 -0
- package/lib/mjs/components/tabs/editForm/Tabs.edit.display.d.ts +30 -2
- package/lib/mjs/components/tabs/editForm/Tabs.edit.display.js +22 -0
- package/lib/mjs/components/textfield/TextField.js +20 -6
- package/lib/mjs/components/time/Time.js +0 -6
- package/lib/mjs/components/url/Url.js +0 -1
- package/lib/mjs/components/well/editForm/Well.edit.display.d.ts +25 -2
- package/lib/mjs/components/well/editForm/Well.edit.display.js +18 -0
- package/lib/mjs/formio.embed.js +5 -3
- package/lib/mjs/formio.form.d.ts +1 -7
- package/lib/mjs/formio.form.js +2 -32
- package/lib/mjs/index.d.ts +2 -1
- package/lib/mjs/index.js +1 -1
- package/lib/mjs/providers/Providers.d.ts +0 -4
- package/lib/mjs/providers/storage/azure.d.ts +0 -2
- package/lib/mjs/providers/storage/azure.js +1 -6
- package/lib/mjs/providers/storage/googleDrive.d.ts +0 -1
- package/lib/mjs/providers/storage/googleDrive.js +0 -4
- package/lib/mjs/providers/storage/s3.d.ts +0 -1
- package/lib/mjs/providers/storage/s3.js +0 -4
- package/lib/mjs/translations/en.d.ts +5 -0
- package/lib/mjs/translations/en.js +5 -0
- package/lib/mjs/utils/formUtils.js +1 -0
- package/lib/mjs/utils/utils.d.ts +2 -1
- package/lib/mjs/utils/utils.js +24 -7
- package/package.json +5 -5
- 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/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/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/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
@@ -1,22 +0,0 @@
|
|
1
|
-
export default {
|
2
|
-
'label': 'Tree',
|
3
|
-
'tableView': true,
|
4
|
-
'calculateServer': false,
|
5
|
-
'key': 'tree',
|
6
|
-
'type': 'tree',
|
7
|
-
'input': true,
|
8
|
-
'tree': true,
|
9
|
-
'components': [{
|
10
|
-
'label': 'Number',
|
11
|
-
'mask': false,
|
12
|
-
'spellcheck': true,
|
13
|
-
'tableView': false,
|
14
|
-
'delimiter': false,
|
15
|
-
'requireDecimal': false,
|
16
|
-
'inputFormat': 'plain',
|
17
|
-
'calculateServer': false,
|
18
|
-
'key': 'number',
|
19
|
-
'type': 'number',
|
20
|
-
'input': true
|
21
|
-
}]
|
22
|
-
};
|
@@ -1,116 +0,0 @@
|
|
1
|
-
declare namespace _default {
|
2
|
-
const label: string;
|
3
|
-
const tableView: boolean;
|
4
|
-
const key: string;
|
5
|
-
const type: string;
|
6
|
-
const input: boolean;
|
7
|
-
const tree: boolean;
|
8
|
-
const components: ({
|
9
|
-
label: string;
|
10
|
-
autoExpand: boolean;
|
11
|
-
tableView: boolean;
|
12
|
-
key: string;
|
13
|
-
type: string;
|
14
|
-
input: boolean;
|
15
|
-
widget?: undefined;
|
16
|
-
data?: undefined;
|
17
|
-
selectThreshold?: undefined;
|
18
|
-
validate?: undefined;
|
19
|
-
indexeddb?: undefined;
|
20
|
-
collapsible?: undefined;
|
21
|
-
components?: undefined;
|
22
|
-
reorder?: undefined;
|
23
|
-
addAnotherPosition?: undefined;
|
24
|
-
layoutFixed?: undefined;
|
25
|
-
enableRowGroups?: undefined;
|
26
|
-
initEmpty?: undefined;
|
27
|
-
defaultValue?: undefined;
|
28
|
-
} | {
|
29
|
-
label: string;
|
30
|
-
widget: string;
|
31
|
-
tableView: boolean;
|
32
|
-
data: {
|
33
|
-
values: {
|
34
|
-
label: string;
|
35
|
-
value: string;
|
36
|
-
}[];
|
37
|
-
};
|
38
|
-
selectThreshold: number;
|
39
|
-
validate: {
|
40
|
-
onlyAvailableItems: boolean;
|
41
|
-
};
|
42
|
-
key: string;
|
43
|
-
type: string;
|
44
|
-
indexeddb: {
|
45
|
-
filter: {};
|
46
|
-
};
|
47
|
-
input: boolean;
|
48
|
-
autoExpand?: undefined;
|
49
|
-
collapsible?: undefined;
|
50
|
-
components?: undefined;
|
51
|
-
reorder?: undefined;
|
52
|
-
addAnotherPosition?: undefined;
|
53
|
-
layoutFixed?: undefined;
|
54
|
-
enableRowGroups?: undefined;
|
55
|
-
initEmpty?: undefined;
|
56
|
-
defaultValue?: undefined;
|
57
|
-
} | {
|
58
|
-
collapsible: boolean;
|
59
|
-
key: string;
|
60
|
-
type: string;
|
61
|
-
label: string;
|
62
|
-
input: boolean;
|
63
|
-
tableView: boolean;
|
64
|
-
components: {
|
65
|
-
label: string;
|
66
|
-
mask: boolean;
|
67
|
-
spellcheck: boolean;
|
68
|
-
tableView: boolean;
|
69
|
-
delimiter: boolean;
|
70
|
-
requireDecimal: boolean;
|
71
|
-
inputFormat: string;
|
72
|
-
key: string;
|
73
|
-
type: string;
|
74
|
-
input: boolean;
|
75
|
-
}[];
|
76
|
-
autoExpand?: undefined;
|
77
|
-
widget?: undefined;
|
78
|
-
data?: undefined;
|
79
|
-
selectThreshold?: undefined;
|
80
|
-
validate?: undefined;
|
81
|
-
indexeddb?: undefined;
|
82
|
-
reorder?: undefined;
|
83
|
-
addAnotherPosition?: undefined;
|
84
|
-
layoutFixed?: undefined;
|
85
|
-
enableRowGroups?: undefined;
|
86
|
-
initEmpty?: undefined;
|
87
|
-
defaultValue?: undefined;
|
88
|
-
} | {
|
89
|
-
label: string;
|
90
|
-
reorder: boolean;
|
91
|
-
addAnotherPosition: string;
|
92
|
-
layoutFixed: boolean;
|
93
|
-
enableRowGroups: boolean;
|
94
|
-
initEmpty: boolean;
|
95
|
-
tableView: boolean;
|
96
|
-
defaultValue: {}[];
|
97
|
-
key: string;
|
98
|
-
type: string;
|
99
|
-
input: boolean;
|
100
|
-
components: {
|
101
|
-
label: string;
|
102
|
-
tableView: boolean;
|
103
|
-
key: string;
|
104
|
-
type: string;
|
105
|
-
input: boolean;
|
106
|
-
}[];
|
107
|
-
autoExpand?: undefined;
|
108
|
-
widget?: undefined;
|
109
|
-
data?: undefined;
|
110
|
-
selectThreshold?: undefined;
|
111
|
-
validate?: undefined;
|
112
|
-
indexeddb?: undefined;
|
113
|
-
collapsible?: undefined;
|
114
|
-
})[];
|
115
|
-
}
|
116
|
-
export default _default;
|
@@ -1,80 +0,0 @@
|
|
1
|
-
export default {
|
2
|
-
'label': 'Tree',
|
3
|
-
'tableView': false,
|
4
|
-
'key': 'tree',
|
5
|
-
'type': 'tree',
|
6
|
-
'input': true,
|
7
|
-
'tree': true,
|
8
|
-
'components': [{
|
9
|
-
'label': 'Text Area',
|
10
|
-
'autoExpand': false,
|
11
|
-
'tableView': true,
|
12
|
-
'key': 'textArea',
|
13
|
-
'type': 'textarea',
|
14
|
-
'input': true
|
15
|
-
}, {
|
16
|
-
'label': 'Select',
|
17
|
-
'widget': 'choicesjs',
|
18
|
-
'tableView': true,
|
19
|
-
'data': {
|
20
|
-
'values': [{
|
21
|
-
'label': 'a',
|
22
|
-
'value': 'a'
|
23
|
-
}, {
|
24
|
-
'label': 'b',
|
25
|
-
'value': 'b'
|
26
|
-
}, {
|
27
|
-
'label': 'c',
|
28
|
-
'value': 'c'
|
29
|
-
}]
|
30
|
-
},
|
31
|
-
'selectThreshold': 0.3,
|
32
|
-
'validate': {
|
33
|
-
'onlyAvailableItems': false
|
34
|
-
},
|
35
|
-
'key': 'select',
|
36
|
-
'type': 'select',
|
37
|
-
'indexeddb': {
|
38
|
-
'filter': {}
|
39
|
-
},
|
40
|
-
'input': true
|
41
|
-
}, {
|
42
|
-
'collapsible': false,
|
43
|
-
'key': 'panel',
|
44
|
-
'type': 'panel',
|
45
|
-
'label': 'Panel',
|
46
|
-
'input': false,
|
47
|
-
'tableView': false,
|
48
|
-
'components': [{
|
49
|
-
'label': 'Number',
|
50
|
-
'mask': false,
|
51
|
-
'spellcheck': true,
|
52
|
-
'tableView': false,
|
53
|
-
'delimiter': false,
|
54
|
-
'requireDecimal': false,
|
55
|
-
'inputFormat': 'plain',
|
56
|
-
'key': 'number',
|
57
|
-
'type': 'number',
|
58
|
-
'input': true
|
59
|
-
}]
|
60
|
-
}, {
|
61
|
-
'label': 'Data Grid',
|
62
|
-
'reorder': false,
|
63
|
-
'addAnotherPosition': 'bottom',
|
64
|
-
'layoutFixed': false,
|
65
|
-
'enableRowGroups': false,
|
66
|
-
'initEmpty': false,
|
67
|
-
'tableView': false,
|
68
|
-
'defaultValue': [{}],
|
69
|
-
'key': 'dataGrid',
|
70
|
-
'type': 'datagrid',
|
71
|
-
'input': true,
|
72
|
-
'components': [{
|
73
|
-
'label': 'Text Field',
|
74
|
-
'tableView': true,
|
75
|
-
'key': 'textField',
|
76
|
-
'type': 'textfield',
|
77
|
-
'input': true
|
78
|
-
}]
|
79
|
-
}]
|
80
|
-
};
|
@@ -1,24 +0,0 @@
|
|
1
|
-
declare namespace _default {
|
2
|
-
const label: string;
|
3
|
-
const tableView: boolean;
|
4
|
-
const key: string;
|
5
|
-
const type: string;
|
6
|
-
const input: boolean;
|
7
|
-
const tree: boolean;
|
8
|
-
const components: {
|
9
|
-
label: string;
|
10
|
-
tableView: boolean;
|
11
|
-
key: string;
|
12
|
-
type: string;
|
13
|
-
input: boolean;
|
14
|
-
tree: boolean;
|
15
|
-
components: {
|
16
|
-
label: string;
|
17
|
-
tableView: boolean;
|
18
|
-
key: string;
|
19
|
-
type: string;
|
20
|
-
input: boolean;
|
21
|
-
}[];
|
22
|
-
}[];
|
23
|
-
}
|
24
|
-
export default _default;
|
@@ -1,23 +0,0 @@
|
|
1
|
-
export default {
|
2
|
-
'label': 'Tree',
|
3
|
-
'tableView': false,
|
4
|
-
'key': 'tree',
|
5
|
-
'type': 'tree',
|
6
|
-
'input': true,
|
7
|
-
'tree': true,
|
8
|
-
'components': [{
|
9
|
-
'label': 'Tree',
|
10
|
-
'tableView': false,
|
11
|
-
'key': 'tree1',
|
12
|
-
'type': 'tree',
|
13
|
-
'input': true,
|
14
|
-
'tree': true,
|
15
|
-
'components': [{
|
16
|
-
'label': 'Text Field',
|
17
|
-
'tableView': true,
|
18
|
-
'key': 'textField',
|
19
|
-
'type': 'textfield',
|
20
|
-
'input': true
|
21
|
-
}]
|
22
|
-
}]
|
23
|
-
};
|
@@ -1,42 +0,0 @@
|
|
1
|
-
declare namespace _default {
|
2
|
-
const type: string;
|
3
|
-
const owner: null;
|
4
|
-
const components: ({
|
5
|
-
label: string;
|
6
|
-
tableView: boolean;
|
7
|
-
key: string;
|
8
|
-
type: string;
|
9
|
-
input: boolean;
|
10
|
-
tree: boolean;
|
11
|
-
components: {
|
12
|
-
title: string;
|
13
|
-
collapsible: boolean;
|
14
|
-
key: string;
|
15
|
-
type: string;
|
16
|
-
label: string;
|
17
|
-
input: boolean;
|
18
|
-
tableView: boolean;
|
19
|
-
components: {
|
20
|
-
label: string;
|
21
|
-
tableView: boolean;
|
22
|
-
validate: {
|
23
|
-
required: boolean;
|
24
|
-
};
|
25
|
-
key: string;
|
26
|
-
type: string;
|
27
|
-
input: boolean;
|
28
|
-
}[];
|
29
|
-
}[];
|
30
|
-
disableOnInvalid?: undefined;
|
31
|
-
} | {
|
32
|
-
type: string;
|
33
|
-
label: string;
|
34
|
-
key: string;
|
35
|
-
disableOnInvalid: boolean;
|
36
|
-
input: boolean;
|
37
|
-
tableView: boolean;
|
38
|
-
tree?: undefined;
|
39
|
-
components?: undefined;
|
40
|
-
})[];
|
41
|
-
}
|
42
|
-
export default _default;
|
@@ -1,45 +0,0 @@
|
|
1
|
-
export default {
|
2
|
-
type: 'form',
|
3
|
-
owner: null,
|
4
|
-
components: [
|
5
|
-
{
|
6
|
-
label: 'Tree',
|
7
|
-
tableView: false,
|
8
|
-
key: 'tree',
|
9
|
-
type: 'tree',
|
10
|
-
input: true,
|
11
|
-
tree: true,
|
12
|
-
components: [
|
13
|
-
{
|
14
|
-
title: 'Required validation',
|
15
|
-
collapsible: false,
|
16
|
-
key: 'panel',
|
17
|
-
type: 'panel',
|
18
|
-
label: 'Panel',
|
19
|
-
input: false,
|
20
|
-
tableView: false,
|
21
|
-
components: [
|
22
|
-
{
|
23
|
-
label: 'Text Field',
|
24
|
-
tableView: true,
|
25
|
-
validate: {
|
26
|
-
required: true,
|
27
|
-
},
|
28
|
-
key: 'textField',
|
29
|
-
type: 'textfield',
|
30
|
-
input: true,
|
31
|
-
},
|
32
|
-
],
|
33
|
-
},
|
34
|
-
],
|
35
|
-
},
|
36
|
-
{
|
37
|
-
type: 'button',
|
38
|
-
label: 'Submit',
|
39
|
-
key: 'submit',
|
40
|
-
disableOnInvalid: true,
|
41
|
-
input: true,
|
42
|
-
tableView: false,
|
43
|
-
},
|
44
|
-
],
|
45
|
-
};
|
@@ -1,53 +0,0 @@
|
|
1
|
-
export default class Rules {
|
2
|
-
static rules: {
|
3
|
-
custom: typeof import("./rules/Custom").default;
|
4
|
-
date: typeof import("./rules/Date").default;
|
5
|
-
day: typeof import("./rules/Day").default;
|
6
|
-
email: typeof import("./rules/Email").default;
|
7
|
-
json: typeof import("./rules/JSON").default;
|
8
|
-
mask: typeof import("./rules/Mask").default;
|
9
|
-
max: typeof import("./rules/Max").default;
|
10
|
-
maxDate: typeof import("./rules/MaxDate").default;
|
11
|
-
maxLength: typeof import("./rules/MaxLength").default;
|
12
|
-
maxWords: typeof import("./rules/MaxWords").default;
|
13
|
-
min: typeof import("./rules/Min").default;
|
14
|
-
minDate: typeof import("./rules/MinDate").default;
|
15
|
-
minLength: typeof import("./rules/MinLength").default;
|
16
|
-
minWords: typeof import("./rules/MinWords").default;
|
17
|
-
pattern: typeof import("./rules/Pattern").default;
|
18
|
-
required: typeof import("./rules/Required").default;
|
19
|
-
select: typeof import("./rules/Select").default;
|
20
|
-
unique: typeof import("./rules/Unique").default;
|
21
|
-
url: typeof import("./rules/Url").default;
|
22
|
-
minYear: typeof import("./rules/MinYear").default;
|
23
|
-
maxYear: typeof import("./rules/MaxYear").default;
|
24
|
-
time: typeof import("./rules/Time").default;
|
25
|
-
};
|
26
|
-
static addRule(name: any, rule: any): void;
|
27
|
-
static addRules(rules: any): void;
|
28
|
-
static getRule(name: any): any;
|
29
|
-
static getRules(): {
|
30
|
-
custom: typeof import("./rules/Custom").default;
|
31
|
-
date: typeof import("./rules/Date").default;
|
32
|
-
day: typeof import("./rules/Day").default;
|
33
|
-
email: typeof import("./rules/Email").default;
|
34
|
-
json: typeof import("./rules/JSON").default;
|
35
|
-
mask: typeof import("./rules/Mask").default;
|
36
|
-
max: typeof import("./rules/Max").default;
|
37
|
-
maxDate: typeof import("./rules/MaxDate").default;
|
38
|
-
maxLength: typeof import("./rules/MaxLength").default;
|
39
|
-
maxWords: typeof import("./rules/MaxWords").default;
|
40
|
-
min: typeof import("./rules/Min").default;
|
41
|
-
minDate: typeof import("./rules/MinDate").default;
|
42
|
-
minLength: typeof import("./rules/MinLength").default;
|
43
|
-
minWords: typeof import("./rules/MinWords").default;
|
44
|
-
pattern: typeof import("./rules/Pattern").default;
|
45
|
-
required: typeof import("./rules/Required").default;
|
46
|
-
select: typeof import("./rules/Select").default;
|
47
|
-
unique: typeof import("./rules/Unique").default;
|
48
|
-
url: typeof import("./rules/Url").default;
|
49
|
-
minYear: typeof import("./rules/MinYear").default;
|
50
|
-
maxYear: typeof import("./rules/MaxYear").default;
|
51
|
-
time: typeof import("./rules/Time").default;
|
52
|
-
};
|
53
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import rules from './rules/index';
|
2
|
-
class Rules {
|
3
|
-
static rules = rules;
|
4
|
-
static addRule(name, rule) {
|
5
|
-
Rules.rules[name] = rule;
|
6
|
-
}
|
7
|
-
static addRules(rules) {
|
8
|
-
Rules.rules = { ...Rules.rules, ...rules };
|
9
|
-
}
|
10
|
-
static getRule(name) {
|
11
|
-
return Rules.rules[name];
|
12
|
-
}
|
13
|
-
static getRules() {
|
14
|
-
return Rules.rules;
|
15
|
-
}
|
16
|
-
}
|
17
|
-
export default Rules;
|
@@ -1,228 +0,0 @@
|
|
1
|
-
declare const instance: ValidationChecker;
|
2
|
-
export class ValidationChecker {
|
3
|
-
constructor(config?: {});
|
4
|
-
config: any;
|
5
|
-
validators: {
|
6
|
-
required: {
|
7
|
-
key: string;
|
8
|
-
method: string;
|
9
|
-
hasLabel: boolean;
|
10
|
-
message(component: any): any;
|
11
|
-
check(component: any, setting: any, value: any): any;
|
12
|
-
};
|
13
|
-
onlyAvailableItems: {
|
14
|
-
key: string;
|
15
|
-
method: string;
|
16
|
-
hasLabel: boolean;
|
17
|
-
message(component: any): any;
|
18
|
-
check(component: any, setting: any): boolean;
|
19
|
-
};
|
20
|
-
unique: {
|
21
|
-
key: string;
|
22
|
-
hasLabel: boolean;
|
23
|
-
message(component: any): any;
|
24
|
-
check(component: any, setting: any, value: any): true | Promise<any>;
|
25
|
-
};
|
26
|
-
multiple: {
|
27
|
-
key: string;
|
28
|
-
hasLabel: boolean;
|
29
|
-
message(component: any): any;
|
30
|
-
check(component: any, setting: any, value: any): boolean;
|
31
|
-
};
|
32
|
-
select: {
|
33
|
-
key: string;
|
34
|
-
hasLabel: boolean;
|
35
|
-
message(component: any): any;
|
36
|
-
check(component: any, setting: any, value: any, data: any, index: any, row: any, async: any): any;
|
37
|
-
};
|
38
|
-
min: {
|
39
|
-
key: string;
|
40
|
-
hasLabel: boolean;
|
41
|
-
message(component: any, setting: any): any;
|
42
|
-
check(component: any, setting: any, value: any): boolean;
|
43
|
-
};
|
44
|
-
max: {
|
45
|
-
key: string;
|
46
|
-
hasLabel: boolean;
|
47
|
-
message(component: any, setting: any): any;
|
48
|
-
check(component: any, setting: any, value: any): boolean;
|
49
|
-
};
|
50
|
-
minSelectedCount: {
|
51
|
-
key: string;
|
52
|
-
message(component: any, setting: any): any;
|
53
|
-
check(component: any, setting: any, value: any): boolean;
|
54
|
-
};
|
55
|
-
maxSelectedCount: {
|
56
|
-
key: string;
|
57
|
-
message(component: any, setting: any): any;
|
58
|
-
check(component: any, setting: any, value: any): boolean;
|
59
|
-
};
|
60
|
-
minLength: {
|
61
|
-
key: string;
|
62
|
-
hasLabel: boolean;
|
63
|
-
message(component: any, setting: any): any;
|
64
|
-
check(component: any, setting: any, value: any): boolean;
|
65
|
-
};
|
66
|
-
maxLength: {
|
67
|
-
key: string;
|
68
|
-
hasLabel: boolean;
|
69
|
-
message(component: any, setting: any): any;
|
70
|
-
check(component: any, setting: any, value: any): boolean;
|
71
|
-
};
|
72
|
-
maxWords: {
|
73
|
-
key: string;
|
74
|
-
hasLabel: boolean;
|
75
|
-
message(component: any, setting: any): any;
|
76
|
-
check(component: any, setting: any, value: any): boolean;
|
77
|
-
};
|
78
|
-
minWords: {
|
79
|
-
key: string;
|
80
|
-
hasLabel: boolean;
|
81
|
-
message(component: any, setting: any): any;
|
82
|
-
check(component: any, setting: any, value: any): boolean;
|
83
|
-
};
|
84
|
-
email: {
|
85
|
-
hasLabel: boolean;
|
86
|
-
message(component: any): any;
|
87
|
-
check(component: any, setting: any, value: any): boolean;
|
88
|
-
};
|
89
|
-
url: {
|
90
|
-
hasLabel: boolean;
|
91
|
-
message(component: any): any;
|
92
|
-
check(component: any, setting: any, value: any): boolean;
|
93
|
-
};
|
94
|
-
date: {
|
95
|
-
hasLabel: boolean;
|
96
|
-
message(component: any): any;
|
97
|
-
check(component: any, setting: any, value: any): boolean;
|
98
|
-
};
|
99
|
-
day: {
|
100
|
-
hasLabel: boolean;
|
101
|
-
message(component: any): any;
|
102
|
-
check(component: any, setting: any, value: any): boolean;
|
103
|
-
};
|
104
|
-
pattern: {
|
105
|
-
key: string;
|
106
|
-
hasLabel: boolean;
|
107
|
-
message(component: any, setting: any): any;
|
108
|
-
check(component: any, setting: any, value: any): boolean;
|
109
|
-
};
|
110
|
-
json: {
|
111
|
-
key: string;
|
112
|
-
check(component: any, setting: any, value: any, data: any, index: any, row: any): any;
|
113
|
-
};
|
114
|
-
mask: {
|
115
|
-
key: string;
|
116
|
-
hasLabel: boolean;
|
117
|
-
message(component: any): any;
|
118
|
-
check(component: any, setting: any, value: any): boolean;
|
119
|
-
};
|
120
|
-
custom: {
|
121
|
-
key: string;
|
122
|
-
message(component: any): any;
|
123
|
-
check(component: any, setting: any, value: any, data: any, index: any, row: any): any;
|
124
|
-
};
|
125
|
-
maxDate: {
|
126
|
-
key: string;
|
127
|
-
hasLabel: boolean;
|
128
|
-
message(component: any, setting: any): any;
|
129
|
-
check(component: any, setting: any, value: any): boolean;
|
130
|
-
};
|
131
|
-
minDate: {
|
132
|
-
key: string;
|
133
|
-
hasLabel: boolean;
|
134
|
-
message(component: any, setting: any): any;
|
135
|
-
check(component: any, setting: any, value: any): boolean;
|
136
|
-
};
|
137
|
-
minYear: {
|
138
|
-
key: string;
|
139
|
-
hasLabel: boolean;
|
140
|
-
message(component: any, setting: any): any;
|
141
|
-
check(component: any, setting: any, value: any): boolean;
|
142
|
-
};
|
143
|
-
maxYear: {
|
144
|
-
key: string;
|
145
|
-
hasLabel: boolean;
|
146
|
-
message(component: any, setting: any): any;
|
147
|
-
check(component: any, setting: any, value: any): boolean;
|
148
|
-
};
|
149
|
-
calendar: {
|
150
|
-
key: string;
|
151
|
-
messageText: string;
|
152
|
-
hasLabel: boolean;
|
153
|
-
message(component: any): any;
|
154
|
-
check(component: any, setting: any, value: any, data: any, index: any): boolean | undefined;
|
155
|
-
};
|
156
|
-
time: {
|
157
|
-
key: string;
|
158
|
-
messageText: string;
|
159
|
-
hasLabel: boolean;
|
160
|
-
message(component: any): any;
|
161
|
-
check(component: any, setting: any, value: any): boolean;
|
162
|
-
};
|
163
|
-
availableValueProperty: {
|
164
|
-
key: string;
|
165
|
-
method: string;
|
166
|
-
messageText: string;
|
167
|
-
hasLabel: boolean;
|
168
|
-
message(component: any): any;
|
169
|
-
check(component: any, setting: any, value: any): boolean;
|
170
|
-
};
|
171
|
-
};
|
172
|
-
checkValidator(component: any, validator: any, setting: any, value: any, data: any, index: any, row: any, async: any): any;
|
173
|
-
validate(component: any, validatorName: any, value: any, data: any, index: any, row: any, async: any, conditionallyVisible: any, validationObj: any): false | {
|
174
|
-
message: string;
|
175
|
-
level: string;
|
176
|
-
path: any;
|
177
|
-
context: {
|
178
|
-
validator: any;
|
179
|
-
hasLabel: any;
|
180
|
-
setting: any;
|
181
|
-
key: any;
|
182
|
-
label: any;
|
183
|
-
value: any;
|
184
|
-
index: any;
|
185
|
-
input: any;
|
186
|
-
};
|
187
|
-
} | Promise<false | {
|
188
|
-
message: string;
|
189
|
-
level: string;
|
190
|
-
path: any;
|
191
|
-
context: {
|
192
|
-
validator: any;
|
193
|
-
hasLabel: any;
|
194
|
-
setting: any;
|
195
|
-
key: any;
|
196
|
-
label: any;
|
197
|
-
value: any;
|
198
|
-
index: any;
|
199
|
-
input: any;
|
200
|
-
};
|
201
|
-
}>;
|
202
|
-
checkComponent(component: any, data: any, row: any, includeWarnings?: boolean, async?: boolean): any;
|
203
|
-
/**
|
204
|
-
* Use the new validations engine to evaluate any errors.
|
205
|
-
*
|
206
|
-
* @param component
|
207
|
-
* @param validations
|
208
|
-
* @param data
|
209
|
-
* @param row
|
210
|
-
* @param values
|
211
|
-
* @returns {any[]}
|
212
|
-
*/
|
213
|
-
checkValidations(component: any, validations: any, data: any, row: any, values: any, async: any): any[];
|
214
|
-
checkRule(component: any, validation: any, data: any, row: any, values: any, async: any): false | any[];
|
215
|
-
get check(): (component: any, data: any, row: any, includeWarnings?: boolean, async?: boolean) => any;
|
216
|
-
get(...args: any[]): void;
|
217
|
-
each(...args: any[]): void;
|
218
|
-
has(...args: any[]): void;
|
219
|
-
}
|
220
|
-
export namespace ValidationChecker {
|
221
|
-
namespace config {
|
222
|
-
const db: null;
|
223
|
-
const token: null;
|
224
|
-
const form: null;
|
225
|
-
const submission: null;
|
226
|
-
}
|
227
|
-
}
|
228
|
-
export { instance as default };
|