@globalpayments/vega 2.39.0 → 2.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{app-globals-dd3e7925.js → app-globals-7fecd3ff.js} +21 -10
- package/dist/cjs/check-box-required-rule-1ee54b9a.js +70 -0
- package/dist/cjs/{child-nodes-event-prevent-slimmer-af2addec.js → child-nodes-event-prevent-slimmer-4beb1fde.js} +2 -2
- package/dist/cjs/{child-nodes-notify-observer-slimmer-4e60a929.js → child-nodes-notify-observer-slimmer-be92f366.js} +2 -2
- package/dist/cjs/{content-state-c5b47ca1.js → content-state-582d8961.js} +2 -3
- package/dist/cjs/date-required-rule-4e1f84fd.js +92 -0
- package/dist/cjs/{design-token-36eb5def.js → design-token-4d94a23c.js} +1 -1
- package/dist/cjs/{dom-node-subject-factory-ce1777a9.js → dom-node-subject-factory-3ec114b8.js} +30 -0
- package/dist/cjs/{dom-node-subject-observer-factory-80b3ac6c.js → dom-node-subject-observer-factory-5f0eae19.js} +2 -3
- package/dist/cjs/{element-appender-slimmer-c6e0f4ca.js → element-appender-slimmer-88edb0d1.js} +19 -14
- package/dist/cjs/{event-emit-slimmer-208a19e4.js → event-emit-slimmer-9c223f73.js} +3 -3
- package/dist/cjs/{feature-flag-controller-7b22e598.js → feature-flag-controller-3c6666df.js} +6 -0
- package/dist/cjs/file-uploader-required-rule-313ec9e3.js +21 -0
- package/dist/cjs/{form-field-controller-slimmer-48c0ad0b.js → form-field-controller-slimmer-9f4d1fc3.js} +36 -10
- package/dist/cjs/{image-annotation-action-75b9c0d3.js → image-annotation-action-3247409b.js} +3 -3
- package/dist/cjs/index-453b89b9.js +42 -0
- package/dist/cjs/index.cjs.js +37 -18
- package/dist/cjs/input-phone-number-required-rule-2668fdf1.js +65 -0
- package/dist/cjs/input-range-required-rule-5b9c2a95.js +63 -0
- package/dist/cjs/internal-form-field-validation-rule.abstract-07cdff46.js +15 -0
- package/dist/cjs/{internal-vega-event-manager-981dfd1c.js → internal-vega-event-manager-e5e4bcf4.js} +1 -1
- package/dist/cjs/loader.cjs.js +12 -14
- package/dist/cjs/{min-number-rule-115c5a3b.js → min-number-rule-5bcccc8f.js} +7 -4
- package/dist/cjs/{min-string-length-rule-75f24a48.js → min-string-length-rule-af215976.js} +8 -4
- package/dist/cjs/{page-resize-observer-slimmer-bb1eaebe.js → page-resize-observer-slimmer-bceeaabf.js} +53 -2
- package/dist/cjs/public-rules-ec626913.js +41 -0
- package/dist/cjs/{remote-invocation-registry-32aaf6c2.js → remote-invocation-registry-ff9af278.js} +3 -3
- package/dist/cjs/{required-field-rule-7f9945fa.js → required-field-rule-d73c1d8c.js} +6 -3
- package/dist/cjs/{responsive-format-facade-a1983026.js → responsive-format-facade-ad8ca2ab.js} +212 -9
- package/dist/cjs/rich-text-editor-required-rule-15d9dea1.js +64 -0
- package/dist/cjs/{string-input-formatter-slimmer-f45931fd.js → string-input-formatter-slimmer-83aa7e61.js} +2 -2
- package/dist/cjs/{style-formatter-d446562b.js → style-formatter-c1c9c121.js} +1 -1
- package/dist/cjs/{sub-state-notify-slimmer-b1f1e61a.js → sub-state-notify-slimmer-1a52271c.js} +2 -3
- package/dist/cjs/{sub-state-observer-slimmer-02634647.js → sub-state-observer-slimmer-91b89d4d.js} +2 -3
- package/dist/cjs/time-required-rule-ccf178e7.js +141 -0
- package/dist/cjs/toggle-switch-required-rule-88a51b36.js +66 -0
- package/dist/cjs/{valid-credit-card-number-rule-4a9ae5d9.js → valid-credit-card-number-rule-4a1b00b8.js} +3 -2
- package/dist/cjs/vega-accordion.cjs.entry.js +21 -12
- package/dist/cjs/vega-app-header-button.cjs.entry.js +19 -14
- package/dist/cjs/vega-banner.cjs.entry.js +5 -6
- package/dist/cjs/vega-box.cjs.entry.js +135 -18
- package/dist/cjs/vega-breadcrumb.cjs.entry.js +6 -7
- package/dist/cjs/vega-button-circle.cjs.entry.js +19 -12
- package/dist/cjs/vega-button-group_2.cjs.entry.js +8 -9
- package/dist/cjs/vega-button-link.cjs.entry.js +6 -7
- package/dist/cjs/vega-button.cjs.entry.js +18 -12
- package/dist/cjs/vega-calendar_3.cjs.entry.js +9 -11
- package/dist/cjs/vega-card.cjs.entry.js +20 -3
- package/dist/cjs/vega-carousel.cjs.entry.js +20 -9
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +21 -91
- package/dist/cjs/vega-chip.cjs.entry.js +22 -15
- package/dist/cjs/vega-color-picker.cjs.entry.js +8 -9
- package/dist/cjs/vega-combo-box.cjs.entry.js +10 -11
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +26 -111
- package/dist/cjs/vega-dialog_2.cjs.entry.js +62 -29
- package/dist/cjs/vega-divider.cjs.entry.js +22 -5
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +28 -24
- package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
- package/dist/cjs/vega-field-label.cjs.entry.js +4 -5
- package/dist/cjs/vega-file-uploader.cjs.entry.js +10 -26
- package/dist/cjs/vega-flex.cjs.entry.js +19 -6
- package/dist/cjs/vega-font.cjs.entry.js +21 -5
- package/dist/cjs/vega-form.cjs.entry.js +14 -15
- package/dist/cjs/vega-grid.cjs.entry.js +20 -3
- package/dist/cjs/vega-icon.cjs.entry.js +18 -4
- package/dist/cjs/vega-image-uploader.cjs.entry.js +22 -20
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +11 -12
- package/dist/cjs/vega-input-numeric.cjs.entry.js +11 -12
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +15 -73
- package/dist/cjs/vega-input-range.cjs.entry.js +13 -70
- package/dist/cjs/vega-input-select.cjs.entry.js +19 -17
- package/dist/cjs/vega-input.cjs.entry.js +16 -16
- package/dist/cjs/vega-item-toggle.cjs.entry.js +4 -5
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +25 -22
- package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +22 -7
- package/dist/cjs/vega-page-notification_2.cjs.entry.js +2 -3
- package/dist/cjs/vega-pagination.cjs.entry.js +6 -7
- package/dist/cjs/vega-popover_2.cjs.entry.js +20 -12
- package/dist/cjs/vega-progress-tracker.cjs.entry.js +4 -5
- package/dist/cjs/vega-radio_2.cjs.entry.js +13 -14
- package/dist/cjs/vega-rich-text-content.cjs.entry.js +7 -7
- package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +22 -81
- package/dist/cjs/vega-segment-control.cjs.entry.js +5 -7
- package/dist/cjs/vega-selection-chip_2.cjs.entry.js +22 -19
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +14 -15
- package/dist/cjs/vega-sidenav_3.cjs.entry.js +24 -19
- package/dist/cjs/vega-signature-capture.cjs.entry.js +21 -15
- package/dist/cjs/{vega-skeleton-loader-controller-00dbdf29.js → vega-skeleton-loader-controller-381e90fe.js} +262 -11
- package/dist/cjs/vega-stepper.cjs.entry.js +10 -11
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +8 -10
- package/dist/cjs/vega-table_8.cjs.entry.js +40 -40
- package/dist/cjs/vega-text.cjs.entry.js +1 -2
- package/dist/cjs/vega-textarea.cjs.entry.js +11 -12
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +27 -155
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +9 -70
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +70 -18
- package/dist/cjs/vega.cjs.js +12 -14
- package/dist/cjs/{index-0546e2ea.js → wait-for-vega-handler-46280dcf.js} +1 -39
- package/dist/collection/components/vega-box/slimmers/controllers/vega-box-responsive-style-controller.js +89 -0
- package/dist/collection/components/vega-box/vega-box.css +55 -7196
- package/dist/collection/components/vega-box/vega-box.js +23 -0
- package/dist/collection/components/vega-checkbox/vega-checkbox.css +82 -33
- package/dist/collection/components/vega-checkbox/vega-checkbox.js +8 -13
- package/dist/collection/components/vega-dialog/vega-dialog.js +4 -4
- package/dist/collection/components/vega-file-uploader/vega-file-uploader.js +2 -2
- package/dist/collection/components/vega-modal/slimmers/controllers/vega-modal-layout-controller.js +9 -0
- package/dist/collection/components/vega-modal/slimmers/controllers/vega-modal-scroll-controller.js +16 -0
- package/dist/collection/components/vega-modal/vega-modal.js +6 -0
- package/dist/collection/components/vega-time-picker/vega-time-picker-dropdown/vega-time-picker-dropdown.css +1 -1
- package/dist/collection/components/vega-tooltip/slimmers/controllers/vega-tooltip-element-appender-controller.js +45 -11
- package/dist/collection/components/vega-tooltip/vega-tooltip.js +12 -0
- package/dist/collection/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-scrollable-controller.js +8 -5
- package/dist/collection/global/scripts/before-vega-load.js +11 -0
- package/dist/collection/helpers/dialog/test/vega-dialog-controller.test.js +19 -1
- package/dist/collection/helpers/dialog/vega-dialog-controller.js +2 -2
- package/dist/collection/helpers/feature-control/feature-flags-map.js +6 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsiv-border-radius-formatter.js +1 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-border-radius-style-formatter.js +63 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-css-text-formatter.js +45 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-format-facade.js +9 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-margin-formatter.js +1 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-margin-style-formatter.js +44 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-padding-formatter.js +1 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-padding-style-formatter.js +44 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-style-formatter.test.js +32 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-margin-style-formatter.test.js +28 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-padding-style-formatter.test.js +28 -0
- package/dist/collection/helpers/slimmers/element-appender-slimmer.js +9 -6
- package/dist/collection/helpers/slimmers/test/element-appender-slimmer.test.js +2 -0
- package/dist/collection/helpers/ui/element-appender.js +2 -0
- package/dist/collection/helpers/ui/test/element-appender.test.js +13 -12
- package/dist/collection/helpers/validator/form-field-controller.js +28 -1
- package/dist/collection/helpers/validator/public-rules.js +10 -0
- package/dist/collection/helpers/validator/rules/check-box-required-rule.js +4 -3
- package/dist/collection/helpers/validator/rules/date-range-rule.js +2 -1
- package/dist/collection/helpers/validator/rules/date-required-rule.js +5 -3
- package/dist/collection/helpers/validator/rules/email-field-rule.js +3 -2
- package/dist/collection/helpers/validator/rules/{object-array-required-rule.js → file-uploader-required-rule.js} +1 -1
- package/dist/collection/helpers/validator/rules/input-phone-number-required-rule.js +5 -3
- package/dist/collection/helpers/validator/rules/input-range-min-and-max-rule.js +3 -1
- package/dist/collection/helpers/validator/rules/input-range-required-rule.js +5 -4
- package/dist/collection/helpers/validator/rules/internal-form-field-validation-rule.abstract.js +11 -0
- package/dist/collection/helpers/validator/rules/max-number-rule.js +4 -2
- package/dist/collection/helpers/validator/rules/max-string-length-rule.js +4 -2
- package/dist/collection/helpers/validator/rules/min-and-max-date-rule.js +3 -1
- package/dist/collection/helpers/validator/rules/min-number-rule.js +4 -2
- package/dist/collection/helpers/validator/rules/min-string-length-rule.js +4 -2
- package/dist/collection/helpers/validator/rules/required-field-rule.js +5 -3
- package/dist/collection/helpers/validator/rules/rich-text-editor-required-rule.js +4 -3
- package/dist/collection/helpers/validator/rules/time-range-required-rule.js +5 -3
- package/dist/collection/helpers/validator/rules/time-range-rule.js +3 -1
- package/dist/collection/helpers/validator/rules/time-required-rule.js +5 -3
- package/dist/collection/helpers/validator/rules/toggle-switch-required-rule.js +4 -3
- package/dist/collection/helpers/validator/rules/valid-credit-card-number-rule.js +3 -2
- package/dist/collection/helpers/validator/rules/valid-phone-number-rule.js +4 -2
- package/dist/collection/helpers/validator/test/rules/file-uploader-required-rule.test.js +7 -0
- package/dist/collection/helpers/validator/test/rules/public-rules.test.js +80 -0
- package/dist/collection/index.js +1 -0
- package/dist/esm/{app-globals-c954167a.js → app-globals-9ad844bb.js} +18 -7
- package/dist/esm/check-box-required-rule-cb0aa339.js +68 -0
- package/dist/esm/{child-nodes-event-prevent-slimmer-3220fa5b.js → child-nodes-event-prevent-slimmer-851ad927.js} +2 -2
- package/dist/esm/{child-nodes-notify-observer-slimmer-36024b11.js → child-nodes-notify-observer-slimmer-289caacc.js} +1 -1
- package/dist/esm/{content-state-2edba4ec.js → content-state-5646be9f.js} +1 -2
- package/dist/esm/{date-732bc749.js → date-c55b97f0.js} +1 -1
- package/dist/esm/date-required-rule-8944f3bf.js +90 -0
- package/dist/esm/{design-token-e14b622b.js → design-token-a1bb9a99.js} +1 -1
- package/dist/esm/{dom-node-subject-factory-97deb349.js → dom-node-subject-factory-5831cdd4.js} +30 -1
- package/dist/esm/{dom-node-subject-observer-factory-857c65fa.js → dom-node-subject-observer-factory-dc486a8b.js} +1 -2
- package/dist/esm/{element-appender-slimmer-f5e703f3.js → element-appender-slimmer-dbe9f79e.js} +15 -10
- package/dist/esm/{event-emit-slimmer-36cf4e39.js → event-emit-slimmer-f285e3ac.js} +3 -3
- package/dist/esm/{feature-flag-controller-4b3fe6f8.js → feature-flag-controller-91e7eaa1.js} +6 -0
- package/dist/esm/file-uploader-required-rule-ad886d01.js +19 -0
- package/dist/esm/{form-field-controller-slimmer-7a9f2b2e.js → form-field-controller-slimmer-0da8c510.js} +31 -5
- package/dist/esm/{image-annotation-action-b6668f48.js → image-annotation-action-af91eb87.js} +3 -3
- package/dist/esm/index-88cfdf1a.js +39 -0
- package/dist/esm/index.js +23 -14
- package/dist/esm/input-phone-number-required-rule-be6a5572.js +63 -0
- package/dist/esm/input-range-required-rule-3ad74776.js +61 -0
- package/dist/esm/internal-form-field-validation-rule.abstract-f5b6bdbf.js +13 -0
- package/dist/esm/{internal-vega-event-manager-0a01ba12.js → internal-vega-event-manager-07e1b3d9.js} +1 -1
- package/dist/esm/loader.js +12 -14
- package/dist/esm/{min-number-rule-31d48b22.js → min-number-rule-a6082418.js} +7 -4
- package/dist/esm/{min-string-length-rule-c6a69eeb.js → min-string-length-rule-c31c89f4.js} +8 -4
- package/dist/esm/{page-resize-observer-slimmer-beb7b0bd.js → page-resize-observer-slimmer-bf715d05.js} +51 -2
- package/dist/esm/public-rules-4a519276.js +26 -0
- package/dist/esm/{remote-invocation-registry-1682b34e.js → remote-invocation-registry-d97fa3bc.js} +1 -1
- package/dist/esm/{required-field-rule-368b31fa.js → required-field-rule-ab4bdc47.js} +6 -3
- package/dist/esm/{responsive-format-facade-661193d7.js → responsive-format-facade-b3bc4db6.js} +204 -1
- package/dist/esm/rich-text-editor-required-rule-7a402a9c.js +62 -0
- package/dist/esm/{string-input-formatter-slimmer-418b54f0.js → string-input-formatter-slimmer-1f74c6f3.js} +2 -2
- package/dist/esm/{style-formatter-4b857992.js → style-formatter-bdafdf22.js} +1 -1
- package/dist/esm/{sub-state-notify-slimmer-b36fd081.js → sub-state-notify-slimmer-e9489326.js} +1 -2
- package/dist/esm/{sub-state-observer-slimmer-09452523.js → sub-state-observer-slimmer-7e99a677.js} +1 -2
- package/dist/esm/time-required-rule-a01163b5.js +138 -0
- package/dist/esm/toggle-switch-required-rule-b3cf4302.js +64 -0
- package/dist/esm/{valid-credit-card-number-rule-2aef3ad5.js → valid-credit-card-number-rule-cc497bec.js} +3 -2
- package/dist/esm/vega-accordion.entry.js +20 -11
- package/dist/esm/vega-app-header-button.entry.js +18 -13
- package/dist/esm/vega-banner.entry.js +5 -6
- package/dist/esm/vega-box.entry.js +135 -18
- package/dist/esm/vega-breadcrumb.entry.js +6 -7
- package/dist/esm/vega-button-circle.entry.js +19 -12
- package/dist/esm/vega-button-group_2.entry.js +8 -9
- package/dist/esm/vega-button-link.entry.js +6 -7
- package/dist/esm/vega-button.entry.js +17 -11
- package/dist/esm/vega-calendar_3.entry.js +10 -12
- package/dist/esm/vega-card.entry.js +20 -3
- package/dist/esm/vega-carousel.entry.js +20 -9
- package/dist/esm/vega-checkbox_2.entry.js +19 -89
- package/dist/esm/vega-chip.entry.js +21 -14
- package/dist/esm/vega-color-picker.entry.js +8 -9
- package/dist/esm/vega-combo-box.entry.js +10 -11
- package/dist/esm/vega-date-picker_2.entry.js +22 -107
- package/dist/esm/vega-dialog_2.entry.js +54 -21
- package/dist/esm/vega-divider.entry.js +21 -4
- package/dist/esm/vega-dropdown_5.entry.js +28 -24
- package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
- package/dist/esm/vega-field-label.entry.js +4 -5
- package/dist/esm/vega-file-uploader.entry.js +10 -26
- package/dist/esm/vega-flex.entry.js +19 -6
- package/dist/esm/vega-font.entry.js +20 -4
- package/dist/esm/vega-form.entry.js +10 -11
- package/dist/esm/vega-grid.entry.js +20 -3
- package/dist/esm/vega-icon.entry.js +18 -4
- package/dist/esm/vega-image-uploader.entry.js +21 -19
- package/dist/esm/vega-input-credit-card.entry.js +11 -12
- package/dist/esm/vega-input-numeric.entry.js +11 -12
- package/dist/esm/vega-input-phone-number.entry.js +14 -72
- package/dist/esm/vega-input-range.entry.js +12 -69
- package/dist/esm/vega-input-select.entry.js +18 -16
- package/dist/esm/vega-input.entry.js +16 -16
- package/dist/esm/vega-item-toggle.entry.js +4 -5
- package/dist/esm/vega-left-nav_5.entry.js +18 -15
- package/dist/esm/vega-loader-wrapper_2.entry.js +19 -4
- package/dist/esm/vega-page-notification_2.entry.js +2 -3
- package/dist/esm/vega-pagination.entry.js +6 -7
- package/dist/esm/vega-popover_2.entry.js +20 -12
- package/dist/esm/vega-progress-tracker.entry.js +4 -5
- package/dist/esm/vega-radio_2.entry.js +11 -12
- package/dist/esm/vega-rich-text-content.entry.js +7 -7
- package/dist/esm/vega-rich-text-editor_4.entry.js +17 -76
- package/dist/esm/vega-segment-control.entry.js +5 -7
- package/dist/esm/vega-selection-chip_2.entry.js +20 -17
- package/dist/esm/vega-selection-tile_2.entry.js +13 -14
- package/dist/esm/vega-sidenav_3.entry.js +16 -11
- package/dist/esm/vega-signature-capture.entry.js +20 -14
- package/dist/esm/{vega-skeleton-loader-controller-5aea7aeb.js → vega-skeleton-loader-controller-964db62f.js} +261 -12
- package/dist/esm/vega-stepper.entry.js +10 -11
- package/dist/esm/vega-tab-group_2.entry.js +7 -9
- package/dist/esm/vega-table_8.entry.js +17 -17
- package/dist/esm/vega-text.entry.js +1 -2
- package/dist/esm/vega-textarea.entry.js +11 -12
- package/dist/esm/vega-time-picker_2.entry.js +23 -151
- package/dist/esm/vega-toggle-switch.entry.js +8 -69
- package/dist/esm/vega-tooltip_2.entry.js +70 -18
- package/dist/esm/vega.js +12 -14
- package/dist/esm/{index-d172bafa.js → wait-for-vega-handler-03a25866.js} +1 -38
- package/dist/types/components/vega-box/slimmers/controllers/vega-box-responsive-style-controller.d.ts +38 -0
- package/dist/types/components/vega-box/vega-box.d.ts +5 -0
- package/dist/types/components/vega-dialog/types.d.ts +1 -1
- package/dist/types/components/vega-modal/slimmers/controllers/vega-modal-layout-controller.d.ts +4 -0
- package/dist/types/components/vega-modal/slimmers/controllers/vega-modal-scroll-controller.d.ts +5 -0
- package/dist/types/components/vega-modal/vega-modal.d.ts +1 -0
- package/dist/types/components/vega-tooltip/slimmers/controllers/vega-tooltip-element-appender-controller.d.ts +18 -0
- package/dist/types/components/vega-tooltip/vega-tooltip.d.ts +4 -0
- package/dist/types/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-scrollable-controller.d.ts +1 -1
- package/dist/types/helpers/dialog/vega-dialog-controller.d.ts +1 -1
- package/dist/types/helpers/feature-control/feature-flag.d.ts +6 -1
- package/dist/types/helpers/formatter/responsive-map-formatter/responsiv-border-radius-formatter.d.ts +1 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-border-radius-style-formatter.d.ts +26 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-css-text-formatter.d.ts +25 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-margin-formatter.d.ts +1 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-margin-style-formatter.d.ts +16 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-padding-formatter.d.ts +1 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-padding-style-formatter.d.ts +16 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-margin-style-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-padding-style-formatter.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/element-appender-slimmer.d.ts +1 -0
- package/dist/types/helpers/slimmers/form-field-controller-slimmer.d.ts +2 -1
- package/dist/types/helpers/validator/form-field-controller.d.ts +10 -0
- package/dist/types/helpers/validator/public-rules.d.ts +10 -0
- package/dist/types/helpers/validator/rules/check-box-required-rule.d.ts +7 -6
- package/dist/types/helpers/validator/rules/date-range-rule.d.ts +3 -2
- package/dist/types/helpers/validator/rules/date-required-rule.d.ts +7 -6
- package/dist/types/helpers/validator/rules/email-field-rule.d.ts +4 -3
- package/dist/types/helpers/validator/rules/{object-array-required-rule.d.ts → file-uploader-required-rule.d.ts} +1 -1
- package/dist/types/helpers/validator/rules/input-phone-number-required-rule.d.ts +7 -6
- package/dist/types/helpers/validator/rules/input-range-min-and-max-rule.d.ts +3 -2
- package/dist/types/helpers/validator/rules/input-range-required-rule.d.ts +8 -7
- package/dist/types/helpers/validator/rules/internal-form-field-validation-rule.abstract.d.ts +19 -0
- package/dist/types/helpers/validator/rules/max-number-rule.d.ts +4 -3
- package/dist/types/helpers/validator/rules/max-string-length-rule.d.ts +4 -3
- package/dist/types/helpers/validator/rules/min-and-max-date-rule.d.ts +3 -2
- package/dist/types/helpers/validator/rules/min-number-rule.d.ts +4 -3
- package/dist/types/helpers/validator/rules/min-string-length-rule.d.ts +4 -3
- package/dist/types/helpers/validator/rules/required-field-rule.d.ts +7 -6
- package/dist/types/helpers/validator/rules/rich-text-editor-required-rule.d.ts +7 -6
- package/dist/types/helpers/validator/rules/time-range-required-rule.d.ts +7 -6
- package/dist/types/helpers/validator/rules/time-range-rule.d.ts +3 -2
- package/dist/types/helpers/validator/rules/time-required-rule.d.ts +7 -6
- package/dist/types/helpers/validator/rules/toggle-switch-required-rule.d.ts +5 -4
- package/dist/types/helpers/validator/rules/valid-credit-card-number-rule.d.ts +4 -3
- package/dist/types/helpers/validator/rules/valid-phone-number-rule.d.ts +4 -3
- package/dist/types/helpers/validator/test/rules/file-uploader-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/public-rules.test.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/types/public-api.d.ts +1 -1
- package/dist/types/types/ui.type.d.ts +6 -0
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/p-04ca73d5.entry.js +1 -0
- package/dist/vega/p-07c2725a.js +1 -0
- package/dist/vega/p-07d5ebac.entry.js +1 -0
- package/dist/vega/{p-b5990090.js → p-08835909.js} +1 -1
- package/dist/vega/p-09c5de7f.entry.js +1 -0
- package/dist/vega/{p-1b860f90.js → p-0af4bda9.js} +1 -1
- package/dist/vega/p-0bb860cc.js +1 -0
- package/dist/vega/p-0ceb92d7.entry.js +1 -0
- package/dist/vega/p-14f85e30.entry.js +1 -0
- package/dist/vega/p-1727b651.entry.js +1 -0
- package/dist/vega/p-1d01b5ab.entry.js +1 -0
- package/dist/vega/p-1d62d89d.js +1 -0
- package/dist/vega/p-1db0a7a1.entry.js +1 -0
- package/dist/vega/{p-bd0116f9.js → p-1f9a66e6.js} +1 -1
- package/dist/vega/p-24da2ffd.entry.js +1 -0
- package/dist/vega/p-25228e15.entry.js +1 -0
- package/dist/vega/p-280cbcdb.js +1 -0
- package/dist/vega/p-29b09aad.js +1 -0
- package/dist/vega/p-2b8e9c64.entry.js +1 -0
- package/dist/vega/p-2f6890e8.entry.js +1 -0
- package/dist/vega/p-2f9f5995.entry.js +1 -0
- package/dist/vega/p-2fb4faf8.entry.js +1 -0
- package/dist/vega/p-30881e6c.entry.js +1 -0
- package/dist/vega/{p-9ee23f34.entry.js → p-349480f8.entry.js} +2 -2
- package/dist/vega/p-36cb03ec.js +1 -0
- package/dist/vega/{p-ac608edc.js → p-39dfa61b.js} +1 -1
- package/dist/vega/p-45dd4698.entry.js +1 -0
- package/dist/vega/{p-4ab0d645.js → p-45fccc2e.js} +1 -1
- package/dist/vega/p-499d9811.entry.js +1 -0
- package/dist/vega/{p-a190c86a.js → p-4b500240.js} +1 -1
- package/dist/vega/{p-666cd80f.js → p-53328c50.js} +1 -1
- package/dist/vega/p-54cb3c47.entry.js +1 -0
- package/dist/vega/p-5616294e.entry.js +1 -0
- package/dist/vega/p-590fd123.js +1 -0
- package/dist/vega/p-5986c439.entry.js +1 -0
- package/dist/vega/p-5d7ea126.entry.js +1 -0
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/p-5f5af9e8.entry.js +1 -0
- package/dist/vega/{p-6e5db02b.js → p-601fbb96.js} +1 -1
- package/dist/vega/p-611eba55.entry.js +1 -0
- package/dist/vega/p-61d8636c.js +1 -0
- package/dist/vega/p-62cae5ef.entry.js +1 -0
- package/dist/vega/p-66d871d6.js +1 -0
- package/dist/vega/p-6868a09d.entry.js +1 -0
- package/dist/vega/p-6a3989dd.js +1 -0
- package/dist/vega/p-6e921ac2.js +1 -0
- package/dist/vega/p-6f90d444.js +1 -0
- package/dist/vega/p-71791731.entry.js +1 -0
- package/dist/vega/{p-60fb1db7.js → p-72eee5e2.js} +1 -1
- package/dist/vega/p-74b6ce44.entry.js +1 -0
- package/dist/vega/p-7c0b4c36.js +1 -0
- package/dist/vega/p-831fbe52.entry.js +1 -0
- package/dist/vega/{p-0b697841.entry.js → p-83a06a40.entry.js} +1 -1
- package/dist/vega/p-87ee1dab.entry.js +1 -0
- package/dist/vega/p-88b5fcc3.entry.js +1 -0
- package/dist/vega/p-8bc7e1a7.entry.js +1 -0
- package/dist/vega/p-8be34d8e.entry.js +1 -0
- package/dist/vega/p-8ce6e672.entry.js +1 -0
- package/dist/vega/p-8fae8f9e.js +1 -0
- package/dist/vega/{p-ff4bafa3.js → p-922bb790.js} +1 -1
- package/dist/vega/p-924b4e24.js +1 -0
- package/dist/vega/p-92f9b9b5.entry.js +1 -0
- package/dist/vega/p-93421a1a.entry.js +1 -0
- package/dist/vega/p-99b7257b.entry.js +1 -0
- package/dist/vega/p-a57fc4df.entry.js +1 -0
- package/dist/vega/p-a7fea3c8.entry.js +1 -0
- package/dist/vega/p-aa1a5f2d.entry.js +1 -0
- package/dist/vega/p-ab0c8cf7.entry.js +1 -0
- package/dist/vega/p-abd7aeaa.js +1 -0
- package/dist/vega/p-aca02a0b.js +1 -0
- package/dist/vega/p-ad2e8e08.entry.js +1 -0
- package/dist/vega/p-b0926d1c.entry.js +1 -0
- package/dist/vega/p-b1eb225c.entry.js +1 -0
- package/dist/vega/p-b5944e86.entry.js +1 -0
- package/dist/vega/p-b6d62c44.js +1 -0
- package/dist/vega/p-b9051ad2.js +1 -0
- package/dist/vega/p-bbc4b90a.entry.js +1 -0
- package/dist/vega/p-c1a3e7f7.js +1 -0
- package/dist/vega/p-ca1fd7b2.js +1 -0
- package/dist/vega/p-cb8f8458.entry.js +1 -0
- package/dist/vega/p-cd1b4bd4.entry.js +1 -0
- package/dist/vega/p-cdbbdcc2.js +1 -0
- package/dist/vega/p-cf1001e6.js +1 -0
- package/dist/vega/p-d8e95692.js +1 -0
- package/dist/vega/p-da82e78c.entry.js +1 -0
- package/dist/vega/p-dd7ade28.js +1 -0
- package/dist/vega/{p-6408d3dc.entry.js → p-e43c18d4.entry.js} +1 -1
- package/dist/vega/{p-57669fd6.js → p-e8f540d8.js} +1 -1
- package/dist/vega/p-ebc73140.entry.js +1 -0
- package/dist/vega/p-ec2d3456.entry.js +1 -0
- package/dist/vega/p-edfedd8e.entry.js +1 -0
- package/dist/vega/p-f396c69a.js +1 -0
- package/dist/vega/p-f4a62fa7.entry.js +1 -0
- package/dist/vega/p-f50bd1d3.entry.js +1 -0
- package/dist/vega/p-f7d9c7d1.js +1 -0
- package/dist/vega/p-fdf812b0.entry.js +1 -0
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +4 -3
- package/dist/cjs/breakpoints-17d6c4c7.js +0 -55
- package/dist/cjs/internal-vega-z-index-manager-f03ddb37.js +0 -180
- package/dist/cjs/observer-f49483e8.js +0 -32
- package/dist/cjs/vega-dialog-controller-fe610705.js +0 -81
- package/dist/collection/helpers/validator/test/rules/object-array-required-rule.test.js +0 -7
- package/dist/esm/breakpoints-91116111.js +0 -52
- package/dist/esm/internal-vega-z-index-manager-7d2b54c3.js +0 -178
- package/dist/esm/observer-3959f9dd.js +0 -30
- package/dist/esm/vega-dialog-controller-34eb8967.js +0 -79
- package/dist/vega/p-05f5e22b.entry.js +0 -1
- package/dist/vega/p-073beb31.entry.js +0 -1
- package/dist/vega/p-08bbc8e6.entry.js +0 -1
- package/dist/vega/p-0cc1ad76.js +0 -1
- package/dist/vega/p-149d2801.js +0 -1
- package/dist/vega/p-1d53d434.entry.js +0 -1
- package/dist/vega/p-1d5fbccc.entry.js +0 -1
- package/dist/vega/p-239bae84.js +0 -1
- package/dist/vega/p-24ac5151.entry.js +0 -1
- package/dist/vega/p-257b1bc2.entry.js +0 -1
- package/dist/vega/p-2f39ea18.entry.js +0 -1
- package/dist/vega/p-3152031c.js +0 -1
- package/dist/vega/p-331a62d5.js +0 -1
- package/dist/vega/p-3c85a11b.entry.js +0 -1
- package/dist/vega/p-4019a3ec.entry.js +0 -1
- package/dist/vega/p-46359293.entry.js +0 -1
- package/dist/vega/p-49bf2b3a.js +0 -1
- package/dist/vega/p-4a8db510.entry.js +0 -1
- package/dist/vega/p-4b19706c.entry.js +0 -1
- package/dist/vega/p-4bcd6612.js +0 -1
- package/dist/vega/p-4e436842.entry.js +0 -1
- package/dist/vega/p-59834ea4.entry.js +0 -1
- package/dist/vega/p-59b0f3c5.entry.js +0 -1
- package/dist/vega/p-59cfed37.entry.js +0 -1
- package/dist/vega/p-5f589974.js +0 -1
- package/dist/vega/p-60e1ebe1.entry.js +0 -1
- package/dist/vega/p-629bd266.entry.js +0 -1
- package/dist/vega/p-644d7300.entry.js +0 -1
- package/dist/vega/p-64e0c944.entry.js +0 -1
- package/dist/vega/p-64e49394.entry.js +0 -1
- package/dist/vega/p-66b9e86d.entry.js +0 -1
- package/dist/vega/p-74958b1a.js +0 -1
- package/dist/vega/p-74ff73d6.entry.js +0 -1
- package/dist/vega/p-76a8ccbb.js +0 -1
- package/dist/vega/p-781fd6e0.js +0 -1
- package/dist/vega/p-7c37e5bb.js +0 -1
- package/dist/vega/p-7f2441d6.js +0 -1
- package/dist/vega/p-8120e7a1.entry.js +0 -1
- package/dist/vega/p-894c067a.entry.js +0 -1
- package/dist/vega/p-989b36a2.entry.js +0 -1
- package/dist/vega/p-9b7f9c27.entry.js +0 -1
- package/dist/vega/p-9cfae00d.entry.js +0 -1
- package/dist/vega/p-9d19c126.entry.js +0 -1
- package/dist/vega/p-a247e23c.entry.js +0 -1
- package/dist/vega/p-a8a809e1.entry.js +0 -1
- package/dist/vega/p-a9e1123a.js +0 -1
- package/dist/vega/p-af7e6dfb.entry.js +0 -1
- package/dist/vega/p-b071be5c.entry.js +0 -1
- package/dist/vega/p-b6bffdf3.entry.js +0 -1
- package/dist/vega/p-b7e52da9.entry.js +0 -1
- package/dist/vega/p-b7ebb9fa.entry.js +0 -1
- package/dist/vega/p-bf6d3c00.entry.js +0 -1
- package/dist/vega/p-c00fde35.entry.js +0 -1
- package/dist/vega/p-c1f7f37c.entry.js +0 -1
- package/dist/vega/p-c2e96537.entry.js +0 -1
- package/dist/vega/p-cc8ec82c.entry.js +0 -1
- package/dist/vega/p-ce94a9c5.entry.js +0 -1
- package/dist/vega/p-d03945cb.entry.js +0 -1
- package/dist/vega/p-d2e6090a.js +0 -1
- package/dist/vega/p-d638f007.entry.js +0 -1
- package/dist/vega/p-d7219734.js +0 -1
- package/dist/vega/p-ddac683a.entry.js +0 -1
- package/dist/vega/p-e0d3ca2d.js +0 -1
- package/dist/vega/p-e4ca75a7.entry.js +0 -1
- package/dist/vega/p-e4ce559d.entry.js +0 -1
- package/dist/vega/p-e6fdc69f.entry.js +0 -1
- package/dist/vega/p-e95668f3.entry.js +0 -1
- package/dist/vega/p-ea78ddfa.entry.js +0 -1
- package/dist/vega/p-ebc062f6.entry.js +0 -1
- package/dist/vega/p-ec4de3ec.js +0 -1
- package/dist/vega/p-f1ebe86b.entry.js +0 -1
- package/dist/vega/p-f41102cd.js +0 -1
- package/dist/vega/p-f5b0ce61.js +0 -1
- package/dist/vega/p-fc49a98e.entry.js +0 -1
- /package/dist/types/helpers/{validator/test/rules/object-array-required-rule.test.d.ts → formatter/test/responsive-map-formatter/responsive-border-radius-style-formatter.test.d.ts} +0 -0
|
@@ -5,6 +5,7 @@ import { BackgroundColorsTokenType, BorderColorsTokenType, BordersTokenType, Bre
|
|
|
5
5
|
import { PageResizeObserverSlimmer } from '../../helpers/slimmers/page-resize-observer-slimmer';
|
|
6
6
|
import { AlignSelfType, FlexBasisType, FlexGrowType, FlexShrinkType, FlexType, JustifySelfType, OrderType, GridAreaType, GridColumnType, GridRowType } from './interface';
|
|
7
7
|
import { VegaComponentUsageRuntimeMetricsSlimmer } from '../../helpers/slimmers/component-usage-runtime-metrics';
|
|
8
|
+
import { VegaBoxResponsiveStyleController } from './slimmers/controllers/vega-box-responsive-style-controller';
|
|
8
9
|
/**
|
|
9
10
|
* @vegaVersion 1.27.0
|
|
10
11
|
*/
|
|
@@ -13,6 +14,7 @@ export declare class VegaBox {
|
|
|
13
14
|
protected readonly pageResizeSlimmer: PageResizeObserverSlimmer;
|
|
14
15
|
protected readonly stateStyleController: VegaBoxStateStylesController;
|
|
15
16
|
protected vegaComponentUsageRuntimeMetricsSlimmer: VegaComponentUsageRuntimeMetricsSlimmer<HTMLVegaBoxElement>;
|
|
17
|
+
protected responsiveStyleController: VegaBoxResponsiveStyleController;
|
|
16
18
|
host: HTMLVegaBoxElement;
|
|
17
19
|
currentBreakpoint: BreakpointsTokenType;
|
|
18
20
|
/**
|
|
@@ -32,6 +34,7 @@ export declare class VegaBox {
|
|
|
32
34
|
* @vegaVersion 1.27.0
|
|
33
35
|
*/
|
|
34
36
|
padding: ResponsiveType<PaddingType>;
|
|
37
|
+
watchPaddingChange(): void;
|
|
35
38
|
/**
|
|
36
39
|
* Defines the spacing around the box.
|
|
37
40
|
* You can set it as a single spacing value,
|
|
@@ -50,6 +53,7 @@ export declare class VegaBox {
|
|
|
50
53
|
* @vegaVersion 1.27.0
|
|
51
54
|
*/
|
|
52
55
|
margin: ResponsiveType<MarginType>;
|
|
56
|
+
watchMarginChange(): void;
|
|
53
57
|
/**
|
|
54
58
|
* Defines the display behavior of the box, allowing you to choose from
|
|
55
59
|
* standard display options like `block`, `inline-block` and `none`.
|
|
@@ -167,6 +171,7 @@ export declare class VegaBox {
|
|
|
167
171
|
* @vegaVersion 2.0.0
|
|
168
172
|
*/
|
|
169
173
|
corners: ResponsiveType<CornersType>;
|
|
174
|
+
watchCornersChange(): void;
|
|
170
175
|
/**
|
|
171
176
|
* Specifies the base size of the box.
|
|
172
177
|
*
|
package/dist/types/components/vega-modal/slimmers/controllers/vega-modal-layout-controller.d.ts
CHANGED
|
@@ -19,6 +19,10 @@ export declare class VegaModalLayoutController extends VegaSlimmer {
|
|
|
19
19
|
* Listen watch size method to be called
|
|
20
20
|
*/
|
|
21
21
|
watchSize(): void;
|
|
22
|
+
/**
|
|
23
|
+
* Listen watchContentMaxHeight method to be called
|
|
24
|
+
*/
|
|
25
|
+
watchContentMaxHeight(): void;
|
|
22
26
|
/**
|
|
23
27
|
* Set width of modal.
|
|
24
28
|
*
|
package/dist/types/components/vega-modal/slimmers/controllers/vega-modal-scroll-controller.d.ts
CHANGED
|
@@ -7,10 +7,15 @@ export declare class VegaModalScrollController extends VegaSlimmer {
|
|
|
7
7
|
host: VegaModal['host'];
|
|
8
8
|
contentMaxHeight: VegaModal['contentMaxHeight'];
|
|
9
9
|
renderer: VegaModal['renderer'];
|
|
10
|
+
private scrollEventListenerAdded;
|
|
10
11
|
/**
|
|
11
12
|
* Component lifecycle - [connectedCallback]
|
|
12
13
|
*/
|
|
13
14
|
componentDidLoad(): void;
|
|
15
|
+
/**
|
|
16
|
+
* Listen watchContentMaxHeight method to be called
|
|
17
|
+
*/
|
|
18
|
+
watchContentMaxHeight(): void;
|
|
14
19
|
/**
|
|
15
20
|
* Is modal content scrollable.
|
|
16
21
|
*
|
|
@@ -139,6 +139,7 @@ export declare class VegaModal {
|
|
|
139
139
|
* @vegaVersion 1.4.0
|
|
140
140
|
*/
|
|
141
141
|
contentMaxHeight: ResponsiveType<number>;
|
|
142
|
+
watchContentMaxHeight(): void;
|
|
142
143
|
/**
|
|
143
144
|
* Provides a callback function that is triggered when a user clicks the
|
|
144
145
|
* close button located in the top right corner of the modal.
|
|
@@ -13,6 +13,7 @@ export declare class VegaTooltipElementAppenderController extends ElementAppende
|
|
|
13
13
|
alignment: VegaTooltip['alignment'];
|
|
14
14
|
trigger: VegaTooltip['trigger'];
|
|
15
15
|
disableInteractive: VegaTooltip['disableInteractive'];
|
|
16
|
+
deprecatedPropertySlimmer: VegaTooltip['deprecatedPropertySlimmer'];
|
|
16
17
|
isTooltipShow: VegaTooltip['isTooltipShow'];
|
|
17
18
|
vegaTooltipContentBoxRenderer: VegaTooltip['vegaTooltipContentBoxRenderer'];
|
|
18
19
|
/**
|
|
@@ -27,4 +28,21 @@ export declare class VegaTooltipElementAppenderController extends ElementAppende
|
|
|
27
28
|
* The function `watchToShowTooltip` checks if the tooltip should be shown and then displays it if necessary.
|
|
28
29
|
*/
|
|
29
30
|
watchToShowTooltip(): void;
|
|
31
|
+
/**
|
|
32
|
+
* Hide the tooltip if the content change to empty.
|
|
33
|
+
*
|
|
34
|
+
* @param {string} newText - The property text or content new value.
|
|
35
|
+
* @param {string} oldText - The property text or content old value.
|
|
36
|
+
*/
|
|
37
|
+
watchTextChange(newText: string, oldText: string): void;
|
|
38
|
+
/**
|
|
39
|
+
* Override the parent class `ElementAppenderSlimmer` show method to control the tooltip show according to the tooltip content.
|
|
40
|
+
*/
|
|
41
|
+
show(): void;
|
|
42
|
+
/**
|
|
43
|
+
* Generate the element appender show config object.
|
|
44
|
+
*
|
|
45
|
+
* @returns {ElementAppenderShowConfig} - Show config object.
|
|
46
|
+
*/
|
|
47
|
+
private getShowConfig;
|
|
30
48
|
}
|
|
@@ -69,6 +69,10 @@ export declare class VegaTooltip {
|
|
|
69
69
|
* @vegaVersion 2.0.0
|
|
70
70
|
*/
|
|
71
71
|
text: string;
|
|
72
|
+
/**
|
|
73
|
+
* Monitor the property text updates.
|
|
74
|
+
*/
|
|
75
|
+
watchTextChange(): void;
|
|
72
76
|
/**
|
|
73
77
|
* Specifies the vertical positioning of the tooltip
|
|
74
78
|
* within its container or relative to a reference point.
|
|
@@ -72,7 +72,7 @@ export declare class VegaVirtualScrollScrollableController extends VegaSlimmer {
|
|
|
72
72
|
* The function adjusts the scroll top position based on certain properties to ensure it stays within
|
|
73
73
|
* valid bounds.
|
|
74
74
|
*/
|
|
75
|
-
private
|
|
75
|
+
private adjustScrollTopInVirtualMode;
|
|
76
76
|
/**
|
|
77
77
|
* Checks if the page is at the bottom of the page and if so notifies the change manager
|
|
78
78
|
*/
|
|
@@ -9,7 +9,7 @@ export declare type VegaDialogOption = {
|
|
|
9
9
|
cancelButton?: VegaDialogActionButtonProps;
|
|
10
10
|
handleCancel?: VegaDialogAction;
|
|
11
11
|
showCancel?: boolean;
|
|
12
|
-
} & Partial<Pick<HTMLVegaModalElement, 'size' | 'isVerticallyCenter' | 'isVerticallyCentered' | 'showCloseButton'>>;
|
|
12
|
+
} & Partial<Pick<HTMLVegaModalElement, 'size' | 'isVerticallyCenter' | 'isVerticallyCentered' | 'showCloseButton' | 'handleClose'>>;
|
|
13
13
|
/**
|
|
14
14
|
* The dialog controller
|
|
15
15
|
*/
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @property {string} description - A description of the feature flag.
|
|
5
5
|
* @property {number} createdAt - The timestamp the feature flag was created in **milliseconds**.
|
|
6
|
+
* @property {string} enabledByDefaultInVersion - The `disabledByDefault` of feature flag must be true after '2.32.0',
|
|
7
|
+
* if you want enable it, you can set enabledByDefaultInVersion with a major version.
|
|
8
|
+
* Note: the value of this property must be a major version.
|
|
6
9
|
*/
|
|
7
10
|
export type FeatureFlagDefinition = {
|
|
8
11
|
description: string;
|
|
@@ -10,6 +13,7 @@ export type FeatureFlagDefinition = {
|
|
|
10
13
|
createdTimestamp: number;
|
|
11
14
|
disabledByDefault?: boolean;
|
|
12
15
|
removedAfterVersion?: string;
|
|
16
|
+
enabledByDefaultInVersion?: string;
|
|
13
17
|
};
|
|
14
18
|
|
|
15
19
|
/**
|
|
@@ -52,4 +56,5 @@ export type FeatureFlagKey =
|
|
|
52
56
|
| 'VEGA_TELEMETRY.ENABLE_COLLECT_PUBLIC_API'
|
|
53
57
|
| 'VEGA_LEFT_NAV.DISABLE_ANIMATION_ON_LOAD'
|
|
54
58
|
| 'VEGA_DATE_PICKER.ENABLE_CALCULATION_POSITION_BY_SCREEN'
|
|
55
|
-
| 'VEGA_TABLE.REVERSE_SORT_ORDER'
|
|
59
|
+
| 'VEGA_TABLE.REVERSE_SORT_ORDER'
|
|
60
|
+
| 'VEGA_COMPONENT.CORNERS_USE_OLD_BEHAVIOR';
|
package/dist/types/helpers/formatter/responsive-map-formatter/responsiv-border-radius-formatter.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { ResponsiveClassStringFormatter } from './responsive-class-string-format
|
|
|
3
3
|
/**
|
|
4
4
|
* A class for format BorderRadiusType with BreakpointsForPrefixType to CSS class string
|
|
5
5
|
*
|
|
6
|
+
* @deprecated Please use the `ResponsiveBorderRadiusStyleStyleFormatter` instead.
|
|
6
7
|
* @augments ResponsiveClassStringFormatter
|
|
7
8
|
*/
|
|
8
9
|
declare class ResponsiveBorderRadiusFormatter extends ResponsiveClassStringFormatter<'corners'> {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { CornersType } from '../../../types/ui.type';
|
|
2
|
+
import { ResponsiveCSSTextFormatter } from './responsive-css-text-formatter';
|
|
3
|
+
/**
|
|
4
|
+
* A class for format BorderRadiusType with BreakpointsForPrefixType to CSS text string
|
|
5
|
+
*
|
|
6
|
+
* @augments ResponsiveClassStringFormatter
|
|
7
|
+
*/
|
|
8
|
+
declare class ResponsiveBorderRadiusStyleFormatter extends ResponsiveCSSTextFormatter<'cornersStyle'> {
|
|
9
|
+
/**
|
|
10
|
+
* Given a border-radius type, return a string of CSS classes that can be used to apply the border-radius to an element
|
|
11
|
+
*
|
|
12
|
+
* @param {CornersType} input - CornersType
|
|
13
|
+
* @returns {string} - A string of CSS text.
|
|
14
|
+
*/
|
|
15
|
+
formatToken(input: CornersType): string;
|
|
16
|
+
/**
|
|
17
|
+
* Get the corners object keys. Order the keys as exist array if the feature flag enabled.
|
|
18
|
+
* The order affects the weight of the styles.
|
|
19
|
+
*
|
|
20
|
+
* @param {DirectionalBorderRadiusType} map - The corners input object.
|
|
21
|
+
* @returns {string[]} - The input object keys.
|
|
22
|
+
*/
|
|
23
|
+
private getDirectionKeys;
|
|
24
|
+
}
|
|
25
|
+
declare const _default: ResponsiveBorderRadiusStyleFormatter;
|
|
26
|
+
export default _default;
|
package/dist/types/helpers/formatter/responsive-map-formatter/responsive-css-text-formatter.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { BreakpointsForPrefixType, ManagedResponsiveScopeInput, ResponsiveType } from '../../../types/ui.type';
|
|
2
|
+
import { ResponsiveFormatter } from './responsive-formatter';
|
|
3
|
+
import { Nullable } from '../../../types/general';
|
|
4
|
+
/**
|
|
5
|
+
* Get the style text from the responsive property.
|
|
6
|
+
*/
|
|
7
|
+
export declare abstract class ResponsiveCSSTextFormatter<Flag extends keyof ManagedResponsiveScopeInput> implements ResponsiveFormatter<ManagedResponsiveScopeInput[Flag], string> {
|
|
8
|
+
/**
|
|
9
|
+
* > It takes a `ResponsiveType<ManagedResponsiveScopeInput[Flag]>` and returns a string
|
|
10
|
+
*
|
|
11
|
+
* @typedef Flag key of ManagedResponsiveScopeInput
|
|
12
|
+
* @param {ResponsiveType<ManagedResponsiveScopeInput[Flag]>} input - ManagedResponsiveScopeInput[Flag]
|
|
13
|
+
* @returns {string} - CSS text string.
|
|
14
|
+
*/
|
|
15
|
+
format(input: ResponsiveType<ManagedResponsiveScopeInput[Flag]>): string;
|
|
16
|
+
/**
|
|
17
|
+
* Create the complete style text with media query selector.
|
|
18
|
+
*
|
|
19
|
+
* @param {string} cssText - The style snippet.
|
|
20
|
+
* @param {BreakpointsTokenType} breakpoint - The screen breakpoint.
|
|
21
|
+
* @returns {string} - Style content with css selector.
|
|
22
|
+
*/
|
|
23
|
+
private generateCssText;
|
|
24
|
+
abstract formatToken(input: ManagedResponsiveScopeInput[Flag], breakpoint?: Nullable<BreakpointsForPrefixType>): string;
|
|
25
|
+
}
|
package/dist/types/helpers/formatter/responsive-map-formatter/responsive-margin-formatter.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { ResponsiveClassStringFormatter } from './responsive-class-string-format
|
|
|
3
3
|
/**
|
|
4
4
|
* A class for format MarginType with BreakpointsForPrefixType to CSS class string
|
|
5
5
|
*
|
|
6
|
+
* @deprecated Please use the `ResponsiveMarginStyleFormatter` instead.
|
|
6
7
|
* @augments ResponsiveClassStringFormatter
|
|
7
8
|
*/
|
|
8
9
|
declare class ResponsiveMarginFormatter extends ResponsiveClassStringFormatter<'margin'> {
|
package/dist/types/helpers/formatter/responsive-map-formatter/responsive-margin-style-formatter.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MarginType } from '../../../types/ui.type';
|
|
2
|
+
import { ResponsiveCSSTextFormatter } from './responsive-css-text-formatter';
|
|
3
|
+
/**
|
|
4
|
+
* Get the padding style content.
|
|
5
|
+
*/
|
|
6
|
+
declare class ResponsiveMarginStyleFormatter extends ResponsiveCSSTextFormatter<'marginStyle'> {
|
|
7
|
+
/**
|
|
8
|
+
* Given a margin type, return a string of style content that can be used to apply the margin to an element
|
|
9
|
+
*
|
|
10
|
+
* @param {MarginType} input - MarginType
|
|
11
|
+
* @returns {string} - A string of style content.
|
|
12
|
+
*/
|
|
13
|
+
formatToken(input: MarginType): string;
|
|
14
|
+
}
|
|
15
|
+
declare const _default: ResponsiveMarginStyleFormatter;
|
|
16
|
+
export default _default;
|
package/dist/types/helpers/formatter/responsive-map-formatter/responsive-padding-formatter.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { ResponsiveClassStringFormatter } from './responsive-class-string-format
|
|
|
3
3
|
/**
|
|
4
4
|
* A class for format PaddingType with BreakpointsForPrefixType to CSS class string
|
|
5
5
|
*
|
|
6
|
+
* @deprecated Please use the `ResponsivePaddingStyleFormatter` instead.
|
|
6
7
|
* @augments ResponsiveClassStringFormatter
|
|
7
8
|
*/
|
|
8
9
|
declare class ResponsivePaddingFormatter extends ResponsiveClassStringFormatter<'padding'> {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PaddingType } from '../../../types/ui.type';
|
|
2
|
+
import { ResponsiveCSSTextFormatter } from './responsive-css-text-formatter';
|
|
3
|
+
/**
|
|
4
|
+
* Get the padding style content.
|
|
5
|
+
*/
|
|
6
|
+
declare class ResponsivePaddingStyleFormatter extends ResponsiveCSSTextFormatter<'paddingStyle'> {
|
|
7
|
+
/**
|
|
8
|
+
* Given a padding type, return the corresponding string of CSS text.
|
|
9
|
+
*
|
|
10
|
+
* @param {PaddingType} input - PaddingType
|
|
11
|
+
* @returns {string} - CSS text.
|
|
12
|
+
*/
|
|
13
|
+
formatToken(input: PaddingType): string;
|
|
14
|
+
}
|
|
15
|
+
declare const _default: ResponsivePaddingStyleFormatter;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -33,6 +33,7 @@ export declare class ElementAppenderSlimmer extends VegaSlimmer {
|
|
|
33
33
|
hide(): void;
|
|
34
34
|
destroy(): void;
|
|
35
35
|
updateShowConfigFactory(showConfigFactory: ShowConfigFactoryType): void;
|
|
36
|
+
private destroyElementAppender;
|
|
36
37
|
private initElementAppender;
|
|
37
38
|
private setElementAppender;
|
|
38
39
|
private isShowing;
|
|
@@ -5,6 +5,7 @@ import { Nullable } from '../../types/general';
|
|
|
5
5
|
import { FieldErrorControllerSlimmer } from './field-error-controller-silmmer';
|
|
6
6
|
import { FormFieldValidInvokeSlimmer } from './form-field-valid-invoke-slimmer';
|
|
7
7
|
import { MutationObserverSlimmer } from './mutation-observer/mutation-observer-slimmer';
|
|
8
|
+
import { InternalFormFieldValidationRule } from '../validator/rules/internal-form-field-validation-rule.abstract';
|
|
8
9
|
export declare type FormFieldOptionForSlimmer<T> = {
|
|
9
10
|
propertyRules: PropertyRuleTypeForSlimmer<T>[];
|
|
10
11
|
validationRulesName?: string;
|
|
@@ -13,7 +14,7 @@ export declare type FormFieldOptionForSlimmer<T> = {
|
|
|
13
14
|
inputContainerGetter: () => Nullable<HTMLElement>;
|
|
14
15
|
touchableAreaGetter: () => HTMLElement[];
|
|
15
16
|
};
|
|
16
|
-
declare type RuleFactory<T> = (propValue: unknown, ...dependence: unknown[]) =>
|
|
17
|
+
declare type RuleFactory<T> = (propValue: unknown, ...dependence: unknown[]) => InternalFormFieldValidationRule<T> | null;
|
|
17
18
|
export declare type PropertyRuleTypeForSlimmer<T> = {
|
|
18
19
|
propertyName: string;
|
|
19
20
|
ruleFactory: RuleFactory<T>;
|
|
@@ -244,4 +244,14 @@ export declare class FormFieldController<T> implements Validator<T> {
|
|
|
244
244
|
* @returns {boolean} a boolean value.
|
|
245
245
|
*/
|
|
246
246
|
private canSubmitFormByEvent;
|
|
247
|
+
/**
|
|
248
|
+
* It overrides the default rule by checking if the additional rules contain a custom rule that overrides.
|
|
249
|
+
* If it does, it returns that additional rule, and the rule will be removed from the additional rules array.
|
|
250
|
+
* otherwise, it returns the default rule.
|
|
251
|
+
*
|
|
252
|
+
* @param {InternalFormFieldValidationRule} defaultRule - The rule to be overridden.
|
|
253
|
+
* @param {FormFieldValidationRule[]} additionalRules - The additional rules to be applied.
|
|
254
|
+
* @returns {FormFieldValidationRule} The overridden rule.
|
|
255
|
+
*/
|
|
256
|
+
private overrideDefaultRuleByAdditionalRule;
|
|
247
257
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { CheckBoxRequiredRule } from './rules/check-box-required-rule';
|
|
2
|
+
export { DateRequiredRule } from './rules/date-required-rule';
|
|
3
|
+
export { InputPhoneNumberRequiredRule } from './rules/input-phone-number-required-rule';
|
|
4
|
+
export { InputRangeRequiredRule } from './rules/input-range-required-rule';
|
|
5
|
+
export { RequiredFieldRule } from './rules/required-field-rule';
|
|
6
|
+
export { RichTextEditorRequiredRule } from './rules/rich-text-editor-required-rule';
|
|
7
|
+
export { TimeRangeRequiredRule } from './rules/time-range-required-rule';
|
|
8
|
+
export { TimeRequiredRule } from './rules/time-required-rule';
|
|
9
|
+
export { ToggleSwitchRequiredRule } from './rules/toggle-switch-required-rule';
|
|
10
|
+
export { FileUploaderRequiredRule } from './rules/file-uploader-required-rule';
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { Primitive } from '../../../types/general';
|
|
2
|
-
import { FormFieldStatusMeta
|
|
3
|
-
import {
|
|
2
|
+
import { FormFieldStatusMeta } from './form-field-validation-rule';
|
|
3
|
+
import { EvaluateResult } from './validation-rule';
|
|
4
|
+
import { InternalFormFieldValidationRule } from './internal-form-field-validation-rule.abstract';
|
|
4
5
|
/**
|
|
5
6
|
* A rule that checks if a string is empty or not
|
|
6
7
|
*
|
|
7
|
-
* @
|
|
8
|
+
* @augments {InternalFormFieldValidationRule<string>}
|
|
8
9
|
*/
|
|
9
|
-
export declare class CheckBoxRequiredRule
|
|
10
|
+
export declare class CheckBoxRequiredRule extends InternalFormFieldValidationRule<Primitive | Array<Primitive>> {
|
|
10
11
|
/**
|
|
11
12
|
* If the input is a boolean, return a boolean. If the input is a string, return a boolean. If the
|
|
12
13
|
* input is anything else, return false
|
|
13
14
|
*
|
|
14
15
|
* @param {string | boolean} input - The input to be evaluated.
|
|
15
|
-
* @returns {
|
|
16
|
+
* @returns {EvaluateResult} - An object with two properties: isValid and message.
|
|
16
17
|
*/
|
|
17
|
-
evaluate(input: string | boolean):
|
|
18
|
+
evaluate(input: string | boolean): EvaluateResult;
|
|
18
19
|
/**
|
|
19
20
|
* If the input is accepted and the status is not disabled and visible, then return true
|
|
20
21
|
*
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FormFieldStatusMeta
|
|
1
|
+
import { FormFieldStatusMeta } from './form-field-validation-rule';
|
|
2
2
|
import { DatePickerModeType, DatePickerValueType } from '../../../components/vega-date-picker/types';
|
|
3
3
|
import { EvaluateResultTranslation } from './validation-rule';
|
|
4
|
+
import { InternalFormFieldValidationRule } from './internal-form-field-validation-rule.abstract';
|
|
4
5
|
/**
|
|
5
6
|
* A rule that checks if start date is before than end date
|
|
6
7
|
*/
|
|
7
|
-
export declare class DateRangeRule
|
|
8
|
+
export declare class DateRangeRule extends InternalFormFieldValidationRule<DatePickerValueType<DatePickerModeType>> {
|
|
8
9
|
/**
|
|
9
10
|
* If the input is accepted and the status is not disabled and visible, then return true
|
|
10
11
|
*
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { FormFieldStatusMeta
|
|
1
|
+
import { FormFieldStatusMeta } from './form-field-validation-rule';
|
|
2
2
|
import { DatePickerModeType, DatePickerValueType } from '../../../components/vega-date-picker/types';
|
|
3
|
-
import {
|
|
3
|
+
import { EvaluateResult } from './validation-rule';
|
|
4
|
+
import { InternalFormFieldValidationRule } from './internal-form-field-validation-rule.abstract';
|
|
4
5
|
/**
|
|
5
6
|
* A rule that checks if date is empty or not
|
|
6
7
|
*
|
|
7
|
-
* @
|
|
8
|
+
* @augments {InternalFormFieldValidationRule<string | string[]>}
|
|
8
9
|
*/
|
|
9
|
-
export declare class DateRequiredRule
|
|
10
|
+
export declare class DateRequiredRule extends InternalFormFieldValidationRule<DatePickerValueType<DatePickerModeType>> {
|
|
10
11
|
private readonly config;
|
|
11
12
|
/**
|
|
12
13
|
* It creates a new instance of the class with the given config.
|
|
@@ -22,9 +23,9 @@ export declare class DateRequiredRule implements FormFieldValidationRule<DatePic
|
|
|
22
23
|
* Otherwise, return an object with a boolean indicating whether the input is valid and a message to display to the user
|
|
23
24
|
*
|
|
24
25
|
* @param {string | string[]} input - The value of the input field.
|
|
25
|
-
* @returns {
|
|
26
|
+
* @returns {EvaluateResult} An object with two properties: isValid and message.
|
|
26
27
|
*/
|
|
27
|
-
evaluate(input: DatePickerValueType<DatePickerModeType>):
|
|
28
|
+
evaluate(input: DatePickerValueType<DatePickerModeType>): EvaluateResult;
|
|
28
29
|
/**
|
|
29
30
|
* If the input is accepted and the status is not disabled and visible, then return true
|
|
30
31
|
*
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { FormFieldStatusMeta
|
|
1
|
+
import { FormFieldStatusMeta } from './form-field-validation-rule';
|
|
2
2
|
import { EvaluateResultTranslation } from './validation-rule';
|
|
3
|
+
import { InternalFormFieldValidationRule } from './internal-form-field-validation-rule.abstract';
|
|
3
4
|
/**
|
|
4
5
|
* This class is a rule that checks if the input is a valid email address
|
|
5
6
|
*
|
|
6
|
-
* @
|
|
7
|
+
* @augments {InternalFormFieldValidationRule<string>}
|
|
7
8
|
*/
|
|
8
|
-
export declare class EmailFieldRule
|
|
9
|
+
export declare class EmailFieldRule extends InternalFormFieldValidationRule<string> {
|
|
9
10
|
/**
|
|
10
11
|
* It checks if the input is a valid email address.
|
|
11
12
|
*
|
|
@@ -2,7 +2,7 @@ import { RequiredFieldRule } from './required-field-rule';
|
|
|
2
2
|
/**
|
|
3
3
|
* A rule that checks the value is empty or not which value type is object array
|
|
4
4
|
*/
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class FileUploaderRequiredRule extends RequiredFieldRule {
|
|
6
6
|
/**
|
|
7
7
|
* re-define the object array check item type method
|
|
8
8
|
*
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { FormFieldStatusMeta
|
|
2
|
-
import {
|
|
1
|
+
import { FormFieldStatusMeta } from './form-field-validation-rule';
|
|
2
|
+
import { EvaluateResult } from './validation-rule';
|
|
3
|
+
import { InternalFormFieldValidationRule } from './internal-form-field-validation-rule.abstract';
|
|
3
4
|
/**
|
|
4
5
|
* A rule that checks if input phone number is empty or not
|
|
5
6
|
*
|
|
6
|
-
* @
|
|
7
|
+
* @augments {InternalFormFieldValidationRule<string>}
|
|
7
8
|
*/
|
|
8
|
-
export declare class InputPhoneNumberRequiredRule
|
|
9
|
+
export declare class InputPhoneNumberRequiredRule extends InternalFormFieldValidationRule<string> {
|
|
9
10
|
private readonly phoneNumberValueGetter;
|
|
10
11
|
constructor(phoneNumberValueGetter: () => string);
|
|
11
12
|
/**
|
|
12
13
|
* It checks if the input is a valid value.
|
|
13
14
|
*
|
|
14
15
|
* @param {unknown} input - The value of the input field.
|
|
15
|
-
* @returns {
|
|
16
|
+
* @returns {EvaluateResult} An object with two properties: isValid and message.
|
|
16
17
|
*/
|
|
17
|
-
evaluate(input: unknown):
|
|
18
|
+
evaluate(input: unknown): EvaluateResult;
|
|
18
19
|
/**
|
|
19
20
|
* If the input is accepted and the status is not disabled and visible, then return true
|
|
20
21
|
*
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { FormFieldStatusMeta
|
|
1
|
+
import { FormFieldStatusMeta } from './form-field-validation-rule';
|
|
2
2
|
import { EvaluateResultTranslation } from './validation-rule';
|
|
3
|
+
import { InternalFormFieldValidationRule } from './internal-form-field-validation-rule.abstract';
|
|
3
4
|
/**
|
|
4
5
|
* A rule that checks if number is in min and max range
|
|
5
6
|
*/
|
|
6
|
-
export declare class InputRangeMinAndMaxRule
|
|
7
|
+
export declare class InputRangeMinAndMaxRule extends InternalFormFieldValidationRule<[string, string]> {
|
|
7
8
|
private readonly minValue;
|
|
8
9
|
private readonly maxValue;
|
|
9
10
|
/**
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { FormFieldStatusMeta
|
|
2
|
-
import {
|
|
1
|
+
import { FormFieldStatusMeta } from './form-field-validation-rule';
|
|
2
|
+
import { EvaluateResult } from './validation-rule';
|
|
3
|
+
import { InternalFormFieldValidationRule } from './internal-form-field-validation-rule.abstract';
|
|
3
4
|
/**
|
|
4
|
-
* A rule that checks if input range is empty or not
|
|
5
|
+
* A rule that checks if the input range is empty or not
|
|
5
6
|
*
|
|
6
|
-
* @
|
|
7
|
+
* @augments {InternalFormFieldValidationRule<string[]>}
|
|
7
8
|
*/
|
|
8
|
-
export declare class InputRangeRequiredRule
|
|
9
|
+
export declare class InputRangeRequiredRule extends InternalFormFieldValidationRule<string[]> {
|
|
9
10
|
/**
|
|
10
11
|
* It checks if the input is a valid value.
|
|
11
12
|
*
|
|
12
13
|
* @param {string[]} input - The value of the input field.
|
|
13
|
-
* @returns {
|
|
14
|
+
* @returns {EvaluateResult} An object with two properties: isValid and message.
|
|
14
15
|
*/
|
|
15
|
-
evaluate(input: unknown):
|
|
16
|
+
evaluate(input: unknown): EvaluateResult;
|
|
16
17
|
/**
|
|
17
18
|
* If the input is accepted and the status is not disabled and visible, then return true
|
|
18
19
|
*
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FormFieldStatusMeta, FormFieldValidationRule } from './form-field-validation-rule';
|
|
2
|
+
import { EvaluateResult } from './validation-rule';
|
|
3
|
+
/**
|
|
4
|
+
* Abstract class for internal form field validation rules
|
|
5
|
+
*/
|
|
6
|
+
export declare abstract class InternalFormFieldValidationRule<T> implements FormFieldValidationRule<T> {
|
|
7
|
+
/**
|
|
8
|
+
* Whether to override the default validation rule.
|
|
9
|
+
*/
|
|
10
|
+
overrideDefault: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* @inheritDoc
|
|
13
|
+
*/
|
|
14
|
+
abstract canEvaluate(input: unknown, status?: FormFieldStatusMeta, statusChanged?: (keyof FormFieldStatusMeta)[]): boolean;
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
abstract evaluate(input: T): EvaluateResult | Promise<EvaluateResult>;
|
|
19
|
+
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { FormFieldStatusMeta
|
|
1
|
+
import { FormFieldStatusMeta } from './form-field-validation-rule';
|
|
2
2
|
import { EvaluateResultTranslation } from './validation-rule';
|
|
3
|
+
import { InternalFormFieldValidationRule } from './internal-form-field-validation-rule.abstract';
|
|
3
4
|
/**
|
|
4
5
|
* A rule that checks if the input is less than or equal to a maximum value
|
|
5
6
|
*
|
|
6
|
-
* @
|
|
7
|
+
* @augments {InternalFormFieldValidationRule<string>}
|
|
7
8
|
* @property {{ maxValue: number }} config config including the maxValue limit for validation
|
|
8
9
|
*/
|
|
9
|
-
export declare class MaxNumberRule
|
|
10
|
+
export declare class MaxNumberRule extends InternalFormFieldValidationRule<unknown> {
|
|
10
11
|
private readonly config;
|
|
11
12
|
/**
|
|
12
13
|
* It creates a new instance of the class with the given config.
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { FormFieldStatusMeta
|
|
1
|
+
import { FormFieldStatusMeta } from './form-field-validation-rule';
|
|
2
2
|
import { EvaluateResultTranslation } from './validation-rule';
|
|
3
|
+
import { InternalFormFieldValidationRule } from './internal-form-field-validation-rule.abstract';
|
|
3
4
|
/**
|
|
4
5
|
* A rule that checks if the length of input is less than or equal to a maximum value
|
|
5
6
|
*
|
|
6
|
-
* @
|
|
7
|
+
* @augments {InternalFormFieldValidationRule<string>}
|
|
7
8
|
* @property {{ maxStrLength: number }} config config including the maxStrLength limit for validation
|
|
8
9
|
*/
|
|
9
|
-
export declare class MaxStringLengthRule
|
|
10
|
+
export declare class MaxStringLengthRule extends InternalFormFieldValidationRule<string> {
|
|
10
11
|
private readonly config;
|
|
11
12
|
/**
|
|
12
13
|
* It creates a new instance of the class with the given config.
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { FormFieldStatusMeta
|
|
1
|
+
import { FormFieldStatusMeta } from './form-field-validation-rule';
|
|
2
2
|
import { EvaluateResultTranslation } from './validation-rule';
|
|
3
|
+
import { InternalFormFieldValidationRule } from './internal-form-field-validation-rule.abstract';
|
|
3
4
|
/**
|
|
4
5
|
* A rule that checks if date is in minDate and maxDate range
|
|
5
6
|
*/
|
|
6
|
-
export declare class MinAndMaxDateRule
|
|
7
|
+
export declare class MinAndMaxDateRule extends InternalFormFieldValidationRule<string | [string, string]> {
|
|
7
8
|
private readonly config;
|
|
8
9
|
private readonly minDate;
|
|
9
10
|
private readonly maxDate;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { FormFieldStatusMeta
|
|
1
|
+
import { FormFieldStatusMeta } from './form-field-validation-rule';
|
|
2
2
|
import { EvaluateResultTranslation } from './validation-rule';
|
|
3
|
+
import { InternalFormFieldValidationRule } from './internal-form-field-validation-rule.abstract';
|
|
3
4
|
/**
|
|
4
5
|
* A rule that checks if the input is larger than or equal to a minimum value
|
|
5
6
|
*
|
|
6
|
-
* @
|
|
7
|
+
* @augments {InternalFormFieldValidationRule<string>}
|
|
7
8
|
* @property {{ minValue: number }} config config including the minValue limit for validation
|
|
8
9
|
*/
|
|
9
|
-
export declare class MinNumberRule
|
|
10
|
+
export declare class MinNumberRule extends InternalFormFieldValidationRule<unknown> {
|
|
10
11
|
private readonly config;
|
|
11
12
|
/**
|
|
12
13
|
* It creates a new instance of the class with the given config.
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { FormFieldStatusMeta
|
|
1
|
+
import { FormFieldStatusMeta } from './form-field-validation-rule';
|
|
2
2
|
import { EvaluateResultTranslation } from './validation-rule';
|
|
3
|
+
import { InternalFormFieldValidationRule } from './internal-form-field-validation-rule.abstract';
|
|
3
4
|
/**
|
|
4
5
|
* A rule that checks if the length of input is more than or equal to a minimum value
|
|
5
6
|
*
|
|
6
|
-
* @
|
|
7
|
+
* @augments {InternalFormFieldValidationRule<string>}
|
|
7
8
|
* @property {{ minStrLength: number }} config config including the minStrLength limit for validation
|
|
8
9
|
*/
|
|
9
|
-
export declare class MinStringLengthRule
|
|
10
|
+
export declare class MinStringLengthRule extends InternalFormFieldValidationRule<string> {
|
|
10
11
|
private readonly config;
|
|
11
12
|
/**
|
|
12
13
|
* It creates a new instance of the class with the given config.
|