@globalpayments/vega 2.77.1 → 2.78.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-1021e33e.js → app-globals-55e26945.js} +6 -6
- package/dist/cjs/{breakpoints-751d433a.js → breakpoints-a8ff22f0.js} +1 -1
- package/dist/cjs/{child-nodes-event-prevent-slimmer-cc6d2919.js → child-nodes-event-prevent-slimmer-dd0bb8b6.js} +1 -1
- package/dist/cjs/{code-block-f9b86a25.js → code-block-1a5fafed.js} +2 -2
- package/dist/cjs/{component-value-history-controller-slimmer.abstract-6bcff70b.js → component-value-history-controller-slimmer.abstract-42683f23.js} +4 -4
- package/dist/cjs/{date-required-rule-d3c2d088.js → date-required-rule-ad536cb5.js} +1 -1
- package/dist/cjs/{design-token-b21879b6.js → design-token-45ebd5e4.js} +3 -3
- package/dist/cjs/{dto-renderer-manager-e2823eb8.js → dto-renderer-manager-7557d562.js} +3 -3
- package/dist/cjs/{element-appender-slimmer-40d39bba.js → element-appender-slimmer-16ec8591.js} +5 -5
- package/dist/cjs/{event-emit-slimmer-062cdcb8.js → event-emit-slimmer-c84121c8.js} +1 -1
- package/dist/cjs/{form-field-controller-slimmer-1b3a1388.js → form-field-controller-slimmer-73f5849e.js} +4 -4
- package/dist/cjs/{image-annotation-action-b83283d4.js → image-annotation-action-f275863e.js} +3 -3
- package/dist/cjs/index.cjs.js +18 -18
- package/dist/cjs/{inject-keyboard-manager-ea5c598e.js → inject-keyboard-manager-6667c0f1.js} +1 -1
- package/dist/cjs/{internal-translation-controller-1f84ab0a.js → internal-translation-controller-24df468f.js} +1 -0
- package/dist/cjs/{internal-vega-event-manager-f7ecf3d4.js → internal-vega-event-manager-cc0f511c.js} +2 -2
- package/dist/cjs/{keyboard-manager-16494c34.js → keyboard-manager-7de7ecfd.js} +1 -1
- package/dist/cjs/{keyboard-manager-slimmer-5b8fa209.js → keyboard-manager-slimmer-b44f0dc9.js} +1 -1
- package/dist/cjs/loader.cjs.js +13 -13
- package/dist/cjs/{month-view-generator-1a57578d.js → month-view-generator-36c42772.js} +1 -1
- package/dist/cjs/{page-resize-observer-slimmer-7f065ee1.js → page-resize-observer-slimmer-e050cd26.js} +1 -1
- package/dist/cjs/{public-rules-5bd1624d.js → public-rules-6c6cb4ac.js} +9 -9
- package/dist/cjs/{range-7a038973.js → range-e298d4aa.js} +1 -1
- package/dist/cjs/{responsive-format-facade-0b65ce4a.js → responsive-format-facade-bddac47c.js} +3 -3
- package/dist/cjs/{rich-text-editor-required-rule-d984c0b6.js → rich-text-editor-required-rule-6346a888.js} +1 -1
- package/dist/cjs/{string-format-strategy.abstract-714bfad2.js → string-format-strategy.abstract-814d66c4.js} +1 -1
- package/dist/cjs/{string-input-formatter-slimmer-9ef2ec7a.js → string-input-formatter-slimmer-749e3cfe.js} +3 -3
- package/dist/cjs/{string-mask-strategy-bd2c18df.js → string-mask-strategy-d00871c2.js} +2 -2
- package/dist/cjs/{style-formatter-7a4e9811.js → style-formatter-94c1a1ff.js} +2 -2
- package/dist/cjs/{sub-state-notify-slimmer-58121111.js → sub-state-notify-slimmer-ac1dae32.js} +1 -1
- package/dist/cjs/{sub-state-observer-slimmer-1dfbc4c3.js → sub-state-observer-slimmer-e692d849.js} +1 -1
- package/dist/cjs/{time-required-rule-50784b9f.js → time-required-rule-f1f3c8c2.js} +1 -1
- package/dist/cjs/{token-extension-5a1c473e.js → token-extension-1e98ddf3.js} +7 -7
- package/dist/cjs/{translation-slimmer-2c207e34.js → translation-slimmer-3fa03d81.js} +1 -1
- package/dist/cjs/{type-guard-cd0376d4.js → type-guard-a0d9ff1f.js} +2 -2
- package/dist/cjs/{ui-32e69595.js → ui-024696c0.js} +8 -1
- package/dist/cjs/{valid-credit-card-number-rule-3f8dc897.js → valid-credit-card-number-rule-cba7d66a.js} +1 -1
- package/dist/cjs/vega-accordion.cjs.entry.js +9 -9
- package/dist/cjs/vega-app-header-button.cjs.entry.js +11 -11
- package/dist/cjs/vega-banner.cjs.entry.js +3 -3
- package/dist/cjs/vega-box.cjs.entry.js +8 -8
- package/dist/cjs/vega-breadcrumb.cjs.entry.js +4 -4
- package/dist/cjs/vega-button-circle.cjs.entry.js +11 -11
- package/dist/cjs/vega-button-group_2.cjs.entry.js +7 -7
- package/dist/cjs/vega-button-link.cjs.entry.js +4 -4
- package/dist/cjs/vega-button.cjs.entry.js +11 -11
- package/dist/cjs/vega-calendar_4.cjs.entry.js +14 -14
- package/dist/cjs/vega-card.cjs.entry.js +6 -6
- package/dist/cjs/vega-carousel.cjs.entry.js +9 -9
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +11 -11
- package/dist/cjs/vega-chip.cjs.entry.js +11 -11
- package/dist/cjs/vega-code-block.cjs.entry.js +16 -15
- package/dist/cjs/vega-color-picker.cjs.entry.js +10 -10
- package/dist/cjs/vega-combo-box.cjs.entry.js +14 -14
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +23 -23
- package/dist/cjs/vega-dialog_2.cjs.entry.js +11 -11
- package/dist/cjs/vega-divider.cjs.entry.js +7 -7
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +17 -17
- package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
- package/dist/cjs/{vega-event-id-ee01d8dd.js → vega-event-id-c08ce3d3.js} +2 -0
- package/dist/cjs/vega-field-label.cjs.entry.js +3 -3
- package/dist/cjs/vega-file-uploader.cjs.entry.js +11 -11
- package/dist/cjs/vega-flag-icon.cjs.entry.js +6 -6
- package/dist/cjs/vega-flex.cjs.entry.js +9 -9
- package/dist/cjs/vega-font.cjs.entry.js +7 -7
- package/dist/cjs/vega-form.cjs.entry.js +13 -13
- package/dist/cjs/vega-grid.cjs.entry.js +6 -6
- package/dist/cjs/vega-icon.cjs.entry.js +6 -6
- package/dist/cjs/vega-image-uploader.cjs.entry.js +14 -14
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +16 -16
- package/dist/cjs/vega-input-numeric.cjs.entry.js +102 -42
- package/dist/cjs/vega-input-passcode.cjs.entry.js +77 -34
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +91 -41
- package/dist/cjs/vega-input-range.cjs.entry.js +27 -12
- package/dist/cjs/vega-input-select.cjs.entry.js +17 -17
- package/dist/cjs/vega-input.cjs.entry.js +201 -69
- package/dist/cjs/{vega-internal-event-id-f2465f1b.js → vega-internal-event-id-e0aeac45.js} +2 -0
- package/dist/cjs/vega-item-toggle.cjs.entry.js +4 -4
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +13 -13
- package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +6 -6
- package/dist/cjs/vega-page-notification_2.cjs.entry.js +1 -1
- package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +4 -4
- package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +4 -4
- package/dist/cjs/vega-pagination.cjs.entry.js +12 -12
- package/dist/cjs/vega-popover_2.cjs.entry.js +14 -14
- package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +12 -12
- package/dist/cjs/vega-radio_2.cjs.entry.js +14 -14
- package/dist/cjs/vega-rich-text-content.cjs.entry.js +10 -10
- package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +474 -379
- package/dist/cjs/vega-segment-control.cjs.entry.js +6 -6
- package/dist/cjs/vega-selection-chip_2.cjs.entry.js +14 -14
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +12 -12
- package/dist/cjs/vega-sidenav_3.cjs.entry.js +12 -12
- package/dist/cjs/vega-signature-capture.cjs.entry.js +14 -14
- package/dist/cjs/vega-stepper.cjs.entry.js +12 -12
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +7 -7
- package/dist/cjs/vega-table_11.cjs.entry.js +14 -14
- package/dist/cjs/vega-text.cjs.entry.js +3 -3
- package/dist/cjs/vega-textarea.cjs.entry.js +110 -42
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +18 -18
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +10 -10
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +10 -10
- package/dist/cjs/vega.cjs.js +13 -13
- package/dist/cjs/{wait-for-component-did-render-70a01bf9.js → wait-for-component-did-render-cbebfc33.js} +1 -1
- package/dist/collection/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.js +1 -1
- package/dist/collection/components/vega-code-block/slimmers/renderers/vega-code-block-content-renderer.js +4 -0
- package/dist/collection/components/vega-flex/vega-flex.css +32 -0
- package/dist/collection/components/vega-flex/vega-flex.js +1 -1
- package/dist/collection/components/vega-grid/vega-grid.js +2 -2
- package/dist/collection/components/vega-input/slimmers/renderers/vega-input-input-container-renderer.js +1 -1
- package/dist/collection/components/vega-input/slimmers/renderers/vega-input-prefix-slot-renderer.js +1 -1
- package/dist/collection/components/vega-input/vega-input.js +358 -100
- package/dist/collection/components/vega-input-credit-card/vega-input-credit-card.js +1 -1
- package/dist/collection/components/vega-input-numeric/vega-input-numeric.js +175 -49
- package/dist/collection/components/vega-input-passcode/vega-input-passcode.js +123 -35
- package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.js +145 -56
- package/dist/collection/components/vega-input-range/slimmers/renderers/vega-input-range-input-renderer.js +15 -0
- package/dist/collection/components/vega-input-select/vega-input-select.js +6 -5
- package/dist/collection/components/vega-radio/vega-radio-group/vega-radio-group.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/source-edit-toolbar-button-slimmer.js +2 -2
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-renderer.js +4 -17
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-source-view-renderer.js +102 -0
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.js +49 -1
- package/dist/collection/components/vega-stepper/vega-stepper.js +1 -1
- package/dist/collection/components/vega-textarea/vega-textarea.js +183 -52
- package/dist/collection/constants/ui.js +9 -1
- package/dist/collection/helpers/event-manager/event-id/component-event-id-map.js +2 -2
- package/dist/collection/helpers/event-manager/event-id/vega-event-id.js +1 -0
- package/dist/collection/helpers/event-manager/event-id/vega-internal-event-id.js +1 -0
- package/dist/collection/helpers/translation/locales/en.js +1 -0
- package/dist/collection/helpers/translation/tests/internal-translation-controller.test.js +2 -0
- package/dist/collection/helpers/translation/tests/translation.test.js +14 -0
- package/dist/esm/{app-globals-0b3b7111.js → app-globals-3b97bb20.js} +6 -6
- package/dist/esm/{breakpoints-56e5407b.js → breakpoints-13353e09.js} +1 -1
- package/dist/esm/{child-nodes-event-prevent-slimmer-331312b8.js → child-nodes-event-prevent-slimmer-4feabae0.js} +1 -1
- package/dist/esm/{code-block-2408a812.js → code-block-d65bab61.js} +2 -2
- package/dist/esm/{component-value-history-controller-slimmer.abstract-ac40820f.js → component-value-history-controller-slimmer.abstract-556fcf2a.js} +4 -4
- package/dist/esm/{date-required-rule-09d5aa16.js → date-required-rule-4ffd9cae.js} +1 -1
- package/dist/esm/{design-token-7dec1eab.js → design-token-b518a2aa.js} +3 -3
- package/dist/esm/{dto-renderer-manager-d413de1e.js → dto-renderer-manager-73df5cbe.js} +3 -3
- package/dist/esm/{element-appender-slimmer-5d573612.js → element-appender-slimmer-36b7a572.js} +5 -5
- package/dist/esm/{event-emit-slimmer-ffaecb9a.js → event-emit-slimmer-f879fd58.js} +1 -1
- package/dist/esm/{form-field-controller-slimmer-e1a5a884.js → form-field-controller-slimmer-9a880420.js} +4 -4
- package/dist/esm/{image-annotation-action-54936eaa.js → image-annotation-action-eb3dcad5.js} +3 -3
- package/dist/esm/index.js +18 -18
- package/dist/esm/{inject-keyboard-manager-9339bba8.js → inject-keyboard-manager-e5481833.js} +1 -1
- package/dist/esm/{internal-translation-controller-113a6288.js → internal-translation-controller-0787a7a7.js} +1 -0
- package/dist/esm/{internal-vega-event-manager-32a3d848.js → internal-vega-event-manager-3aebbe55.js} +2 -2
- package/dist/esm/{keyboard-manager-f9bfa678.js → keyboard-manager-4dfc625f.js} +1 -1
- package/dist/esm/{keyboard-manager-slimmer-c8898843.js → keyboard-manager-slimmer-87bf68f1.js} +1 -1
- package/dist/esm/loader.js +13 -13
- package/dist/esm/{month-view-generator-160a9feb.js → month-view-generator-94134ec5.js} +1 -1
- package/dist/esm/{page-resize-observer-slimmer-d6af0d86.js → page-resize-observer-slimmer-e0505250.js} +1 -1
- package/dist/esm/{public-rules-41561e6e.js → public-rules-49912d52.js} +9 -9
- package/dist/esm/{range-a5d78e69.js → range-0a22b512.js} +1 -1
- package/dist/esm/{responsive-format-facade-2a36c54a.js → responsive-format-facade-b3799ff9.js} +3 -3
- package/dist/esm/{rich-text-editor-required-rule-b09039da.js → rich-text-editor-required-rule-d86e3a51.js} +1 -1
- package/dist/esm/{string-format-strategy.abstract-944f759b.js → string-format-strategy.abstract-e40a0df7.js} +1 -1
- package/dist/esm/{string-input-formatter-slimmer-2508d88b.js → string-input-formatter-slimmer-076764fc.js} +3 -3
- package/dist/esm/{string-mask-strategy-f9e252a2.js → string-mask-strategy-df1f5707.js} +2 -2
- package/dist/esm/{style-formatter-6db1e890.js → style-formatter-95255392.js} +2 -2
- package/dist/esm/{sub-state-notify-slimmer-5133f1a8.js → sub-state-notify-slimmer-f4b3b0b9.js} +1 -1
- package/dist/esm/{sub-state-observer-slimmer-478c9f41.js → sub-state-observer-slimmer-058feaf0.js} +1 -1
- package/dist/esm/{time-required-rule-c7cfb257.js → time-required-rule-b4af75ae.js} +1 -1
- package/dist/esm/{token-extension-25df8dbb.js → token-extension-ffd98170.js} +7 -7
- package/dist/esm/{translation-slimmer-9f0339aa.js → translation-slimmer-e788cae4.js} +1 -1
- package/dist/esm/{type-guard-af324dcd.js → type-guard-f69d2935.js} +2 -2
- package/dist/esm/{ui-28fd4193.js → ui-41f725b7.js} +8 -1
- package/dist/esm/{valid-credit-card-number-rule-099dba7d.js → valid-credit-card-number-rule-c023326d.js} +1 -1
- package/dist/esm/vega-accordion.entry.js +9 -9
- package/dist/esm/vega-app-header-button.entry.js +11 -11
- package/dist/esm/vega-banner.entry.js +3 -3
- package/dist/esm/vega-box.entry.js +8 -8
- package/dist/esm/vega-breadcrumb.entry.js +4 -4
- package/dist/esm/vega-button-circle.entry.js +11 -11
- package/dist/esm/vega-button-group_2.entry.js +7 -7
- package/dist/esm/vega-button-link.entry.js +4 -4
- package/dist/esm/vega-button.entry.js +11 -11
- package/dist/esm/vega-calendar_4.entry.js +14 -14
- package/dist/esm/vega-card.entry.js +6 -6
- package/dist/esm/vega-carousel.entry.js +9 -9
- package/dist/esm/vega-checkbox_2.entry.js +11 -11
- package/dist/esm/vega-chip.entry.js +11 -11
- package/dist/esm/vega-code-block.entry.js +16 -15
- package/dist/esm/vega-color-picker.entry.js +10 -10
- package/dist/esm/vega-combo-box.entry.js +14 -14
- package/dist/esm/vega-date-picker_2.entry.js +23 -23
- package/dist/esm/vega-dialog_2.entry.js +11 -11
- package/dist/esm/vega-divider.entry.js +7 -7
- package/dist/esm/vega-dropdown_5.entry.js +17 -17
- package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
- package/dist/esm/{vega-event-id-38aa77a0.js → vega-event-id-fdc58a67.js} +2 -1
- package/dist/esm/vega-field-label.entry.js +3 -3
- package/dist/esm/vega-file-uploader.entry.js +11 -11
- package/dist/esm/vega-flag-icon.entry.js +6 -6
- package/dist/esm/vega-flex.entry.js +9 -9
- package/dist/esm/vega-font.entry.js +7 -7
- package/dist/esm/vega-form.entry.js +13 -13
- package/dist/esm/vega-grid.entry.js +6 -6
- package/dist/esm/vega-icon.entry.js +6 -6
- package/dist/esm/vega-image-uploader.entry.js +14 -14
- package/dist/esm/vega-input-credit-card.entry.js +16 -16
- package/dist/esm/vega-input-numeric.entry.js +102 -42
- package/dist/esm/vega-input-passcode.entry.js +77 -34
- package/dist/esm/vega-input-phone-number.entry.js +91 -41
- package/dist/esm/vega-input-range.entry.js +27 -12
- package/dist/esm/vega-input-select.entry.js +17 -17
- package/dist/esm/vega-input.entry.js +201 -69
- package/dist/esm/{vega-internal-event-id-799d012e.js → vega-internal-event-id-12783594.js} +2 -1
- package/dist/esm/vega-item-toggle.entry.js +4 -4
- package/dist/esm/vega-left-nav_5.entry.js +13 -13
- package/dist/esm/vega-loader-wrapper_2.entry.js +6 -6
- package/dist/esm/vega-page-notification_2.entry.js +1 -1
- package/dist/esm/vega-pagination-page-selector-mobile.entry.js +4 -4
- package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +4 -4
- package/dist/esm/vega-pagination.entry.js +12 -12
- package/dist/esm/vega-popover_2.entry.js +14 -14
- package/dist/esm/vega-progress-tracker_2.entry.js +12 -12
- package/dist/esm/vega-radio_2.entry.js +14 -14
- package/dist/esm/vega-rich-text-content.entry.js +10 -10
- package/dist/esm/vega-rich-text-editor_4.entry.js +474 -379
- package/dist/esm/vega-segment-control.entry.js +6 -6
- package/dist/esm/vega-selection-chip_2.entry.js +14 -14
- package/dist/esm/vega-selection-tile_2.entry.js +12 -12
- package/dist/esm/vega-sidenav_3.entry.js +12 -12
- package/dist/esm/vega-signature-capture.entry.js +14 -14
- package/dist/esm/vega-stepper.entry.js +12 -12
- package/dist/esm/vega-tab-group_2.entry.js +7 -7
- package/dist/esm/vega-table_11.entry.js +14 -14
- package/dist/esm/vega-text.entry.js +3 -3
- package/dist/esm/vega-textarea.entry.js +110 -42
- package/dist/esm/vega-time-picker_2.entry.js +18 -18
- package/dist/esm/vega-toggle-switch.entry.js +10 -10
- package/dist/esm/vega-tooltip_2.entry.js +10 -10
- package/dist/esm/vega.js +13 -13
- package/dist/esm/{wait-for-component-did-render-b08ef07b.js → wait-for-component-did-render-4d0a3428.js} +1 -1
- package/dist/sri/vega-sri-manifest.json +345 -345
- package/dist/types/components/vega-input/vega-input.d.ts +317 -79
- package/dist/types/components/vega-input-numeric/vega-input-numeric.d.ts +117 -42
- package/dist/types/components/vega-input-passcode/vega-input-passcode.d.ts +82 -28
- package/dist/types/components/vega-input-phone-number/vega-input-phone-number.d.ts +99 -34
- package/dist/types/components/vega-input-range/slimmers/renderers/vega-input-range-input-renderer.d.ts +8 -0
- package/dist/types/components/vega-input-select/vega-input-select.d.ts +2 -2
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/source-edit-toolbar-button-slimmer.d.ts +1 -1
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-renderer.d.ts +1 -3
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-source-view-renderer.d.ts +37 -0
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-editor.d.ts +16 -0
- package/dist/types/components/vega-textarea/vega-textarea.d.ts +123 -41
- package/dist/types/components.d.ts +418 -218
- package/dist/types/constants/ui.d.ts +2 -2
- package/dist/types/helpers/event-manager/event-id/vega-event-id.d.ts +1 -0
- package/dist/types/helpers/event-manager/event-id/vega-internal-event-id.d.ts +1 -0
- package/dist/types/helpers/translation/interface.d.ts +2 -1
- package/dist/types/types/type-guard.d.ts +3 -3
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/p-0009e0bc.entry.js +1 -0
- package/dist/vega/{p-1a9b361b.js → p-02976501.js} +1 -1
- package/dist/vega/{p-bf6fc19f.entry.js → p-03280f85.entry.js} +1 -1
- package/dist/vega/{p-a79fdf2f.js → p-03b1e442.js} +1 -1
- package/dist/vega/{p-33f9ad94.entry.js → p-0681ffee.entry.js} +1 -1
- package/dist/vega/{p-e4c99b72.entry.js → p-093aa0cb.entry.js} +1 -1
- package/dist/vega/{p-3b9fc697.entry.js → p-1828f9e6.entry.js} +1 -1
- package/dist/vega/{p-d70e1b75.entry.js → p-19883e27.entry.js} +1 -1
- package/dist/vega/p-1e015382.js +1 -0
- package/dist/vega/{p-eab9d999.entry.js → p-1ff45314.entry.js} +1 -1
- package/dist/vega/{p-9a3a5b9e.js → p-24b4c64f.js} +1 -1
- package/dist/vega/{p-c7a9960f.entry.js → p-2e7ec8e0.entry.js} +1 -1
- package/dist/vega/{p-0ac9a732.entry.js → p-309b5016.entry.js} +1 -1
- package/dist/vega/{p-c871619c.entry.js → p-3592a26d.entry.js} +1 -1
- package/dist/vega/{p-b35bb4a2.entry.js → p-383e235a.entry.js} +1 -1
- package/dist/vega/p-3992038a.js +1 -0
- package/dist/vega/{p-02c9796a.js → p-3a537cd0.js} +1 -1
- package/dist/vega/{p-e0fb1f60.entry.js → p-3b7ad04b.entry.js} +1 -1
- package/dist/vega/{p-d0975995.entry.js → p-3d4b8066.entry.js} +1 -1
- package/dist/vega/{p-7d7aaff9.entry.js → p-3e484d99.entry.js} +1 -1
- package/dist/vega/{p-70444f6f.entry.js → p-3fd3861c.entry.js} +1 -1
- package/dist/vega/{p-600f7d6c.js → p-4079e932.js} +1 -1
- package/dist/vega/{p-5eb7f382.js → p-43df17a1.js} +1 -1
- package/dist/vega/{p-e1c017d1.entry.js → p-473ceda5.entry.js} +1 -1
- package/dist/vega/{p-ffb3e479.entry.js → p-474b97cf.entry.js} +1 -1
- package/dist/vega/{p-242fbcad.entry.js → p-47c202eb.entry.js} +1 -1
- package/dist/vega/p-4e0344bc.entry.js +1 -0
- package/dist/vega/{p-ed9ad4fd.entry.js → p-4efe9cd8.entry.js} +1 -1
- package/dist/vega/{p-36a09524.entry.js → p-536ad3d7.entry.js} +1 -1
- package/dist/vega/{p-3237be8b.entry.js → p-53e0b2bd.entry.js} +1 -1
- package/dist/vega/p-57180993.entry.js +1 -0
- package/dist/vega/{p-e827d56d.js → p-5b238c6d.js} +1 -1
- package/dist/vega/p-5ba34330.js +1 -0
- package/dist/vega/{p-acbb96b3.entry.js → p-5e1d0f21.entry.js} +1 -1
- package/dist/vega/{p-cf6bfac7.js → p-5ed5aa26.js} +1 -1
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/{p-d64fab3d.js → p-5f81beae.js} +1 -1
- package/dist/vega/{p-ef603656.entry.js → p-6a8ac66d.entry.js} +1 -1
- package/dist/vega/{p-051bbce6.js → p-6b3776ec.js} +1 -1
- package/dist/vega/{p-aaf9b39f.entry.js → p-6b4021f0.entry.js} +1 -1
- package/dist/vega/{p-4f146dae.js → p-6cf28c27.js} +1 -1
- package/dist/vega/{p-0037068c.entry.js → p-71cd1d9e.entry.js} +1 -1
- package/dist/vega/{p-ddce3e0e.entry.js → p-7440325c.entry.js} +1 -1
- package/dist/vega/p-764425e4.entry.js +1 -0
- package/dist/vega/{p-ff287001.entry.js → p-77908e45.entry.js} +1 -1
- package/dist/vega/{p-4c060ba9.js → p-7ade785e.js} +1 -1
- package/dist/vega/{p-c857e6e2.js → p-7db5e003.js} +1 -1
- package/dist/vega/{p-021d4ae4.js → p-7db918f4.js} +1 -1
- package/dist/vega/{p-ea96b0f9.entry.js → p-7f398d23.entry.js} +1 -1
- package/dist/vega/{p-1ccba615.entry.js → p-7f665911.entry.js} +1 -1
- package/dist/vega/{p-9466619f.entry.js → p-840f156e.entry.js} +1 -1
- package/dist/vega/{p-a17312a6.js → p-87379d3c.js} +1 -1
- package/dist/vega/{p-638d30a5.entry.js → p-87ed06cd.entry.js} +1 -1
- package/dist/vega/{p-fc049028.js → p-882a220c.js} +1 -1
- package/dist/vega/p-898bcb24.js +1 -0
- package/dist/vega/{p-d07f5d5a.entry.js → p-8fbb677e.entry.js} +1 -1
- package/dist/vega/p-9493d87a.js +1 -0
- package/dist/vega/{p-c7b9b7c2.js → p-951c0172.js} +1 -1
- package/dist/vega/p-95919581.entry.js +1 -0
- package/dist/vega/{p-7c39ce96.js → p-95d1b547.js} +1 -1
- package/dist/vega/{p-c086529c.entry.js → p-99c8f9a4.entry.js} +1 -1
- package/dist/vega/{p-7127f966.js → p-9c713bc0.js} +1 -1
- package/dist/vega/{p-da0fd3dc.entry.js → p-9dc77b66.entry.js} +1 -1
- package/dist/vega/{p-4d7d5583.js → p-9f467a59.js} +1 -1
- package/dist/vega/p-a113fd15.entry.js +1 -0
- package/dist/vega/{p-a0e69236.entry.js → p-a253e791.entry.js} +1 -1
- package/dist/vega/{p-4d4bf82a.entry.js → p-a3272850.entry.js} +1 -1
- package/dist/vega/{p-27b0af38.entry.js → p-a432708d.entry.js} +1 -1
- package/dist/vega/p-a57a7ab8.entry.js +1 -0
- package/dist/vega/{p-f65cb0b6.entry.js → p-a58bd510.entry.js} +1 -1
- package/dist/vega/{p-6188e783.js → p-a957e15f.js} +1 -1
- package/dist/vega/{p-38e850c3.js → p-abb81b7b.js} +1 -1
- package/dist/vega/{p-67b0ccdc.entry.js → p-ae6ed091.entry.js} +1 -1
- package/dist/vega/{p-2c2193f2.entry.js → p-b5e31243.entry.js} +1 -1
- package/dist/vega/{p-718c74ba.js → p-b88ca09b.js} +1 -1
- package/dist/vega/{p-a800bf6d.js → p-b901d624.js} +1 -1
- package/dist/vega/p-ba475520.entry.js +1 -0
- package/dist/vega/{p-ffd080db.js → p-bf04ff19.js} +1 -1
- package/dist/vega/{p-1a51bf6f.js → p-c208a3b7.js} +1 -1
- package/dist/vega/{p-c61bcd92.entry.js → p-c25577ae.entry.js} +1 -1
- package/dist/vega/{p-cbeb47be.entry.js → p-c2560608.entry.js} +1 -1
- package/dist/vega/{p-10e51081.js → p-c2df94f6.js} +1 -1
- package/dist/vega/{p-9feaac4b.entry.js → p-c3eec160.entry.js} +1 -1
- package/dist/vega/{p-f5fcd13e.entry.js → p-c6031d3f.entry.js} +1 -1
- package/dist/vega/{p-da552ddf.entry.js → p-c87cf96a.entry.js} +1 -1
- package/dist/vega/{p-19270396.entry.js → p-cc243e62.entry.js} +1 -1
- package/dist/vega/{p-af2110fc.entry.js → p-cd3d177b.entry.js} +1 -1
- package/dist/vega/{p-be1a210b.js → p-d0687ec0.js} +1 -1
- package/dist/vega/{p-7cde8489.js → p-d25db724.js} +1 -1
- package/dist/vega/{p-dfb12762.js → p-d42dbe39.js} +1 -1
- package/dist/vega/{p-1033e4c4.entry.js → p-d5570331.entry.js} +1 -1
- package/dist/vega/p-d5797747.js +1 -0
- package/dist/vega/{p-9adfcd47.entry.js → p-d7434f44.entry.js} +1 -1
- package/dist/vega/p-db92453f.entry.js +1 -0
- package/dist/vega/{p-0a3a285b.entry.js → p-e5be807b.entry.js} +1 -1
- package/dist/vega/p-e6f0097f.js +1 -0
- package/dist/vega/{p-e8775a56.entry.js → p-e7a8b61e.entry.js} +1 -1
- package/dist/vega/{p-d2ee5711.entry.js → p-f46f6679.entry.js} +1 -1
- package/dist/vega/{p-41d14339.entry.js → p-f49e8cc5.entry.js} +1 -1
- package/dist/vega/{p-9863e7a1.entry.js → p-f5b6059d.entry.js} +1 -1
- package/dist/vega/{p-68846f0d.js → p-fb40a829.js} +1 -1
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +3 -2
- package/dist/vega/p-15335b69.entry.js +0 -1
- package/dist/vega/p-22f3d35c.entry.js +0 -1
- package/dist/vega/p-23427f6a.entry.js +0 -1
- package/dist/vega/p-2466316a.js +0 -1
- package/dist/vega/p-40f39194.js +0 -1
- package/dist/vega/p-77167587.entry.js +0 -1
- package/dist/vega/p-78ecfea0.entry.js +0 -1
- package/dist/vega/p-999950d1.js +0 -1
- package/dist/vega/p-9e36f7ff.entry.js +0 -1
- package/dist/vega/p-9f9d9a53.entry.js +0 -1
- package/dist/vega/p-ab834f06.js +0 -1
- package/dist/vega/p-b7f3221f.js +0 -1
- package/dist/vega/p-b8c10187.js +0 -1
- package/dist/vega/p-d2fc470e.entry.js +0 -1
- package/dist/vega/p-e841c1fe.entry.js +0 -1
- package/dist/vega/p-faa9a3bd.js +0 -1
|
@@ -60,44 +60,53 @@ export declare class VegaInput {
|
|
|
60
60
|
isPasswordDisplay: boolean;
|
|
61
61
|
suggestionsDropdownConfig: VegaInputSuggestionsDropdownConfig;
|
|
62
62
|
/**
|
|
63
|
-
* Specifies the label
|
|
63
|
+
* Specifies the visible label text displayed above the input field.
|
|
64
64
|
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
65
|
+
* The label provides an accessible, descriptive title that helps users identify
|
|
66
|
+
* the purpose or content expected in the input field. It is rendered as a
|
|
67
|
+
* `<vega-field-label>` element and is associated with the native `<input>` for
|
|
68
|
+
* accessibility (screen readers, click-to-focus).
|
|
67
69
|
*
|
|
70
|
+
* When set to an empty string, no label is rendered.
|
|
71
|
+
*
|
|
72
|
+
* @default ''
|
|
68
73
|
* @vegaVersion 1.0.5
|
|
69
74
|
*/
|
|
70
75
|
label: string;
|
|
71
76
|
/**
|
|
72
|
-
* @deprecated Please use `
|
|
73
|
-
*
|
|
74
|
-
* Specifies the properties for the suffix button associated with the input.
|
|
77
|
+
* @deprecated Please use `labelSuffixButtonConfig` instead.
|
|
75
78
|
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
79
|
+
* Configures an optional action button displayed at the trailing end of the
|
|
80
|
+
* field label. This can be used to provide contextual actions such as a
|
|
81
|
+
* "Forgot password?" link or an info tooltip trigger.
|
|
78
82
|
*
|
|
83
|
+
* @default null
|
|
79
84
|
* @vegaVersion 2.25.0
|
|
80
85
|
*/
|
|
81
86
|
labelSuffixButtonProps: Nullable<LabelSuffixButtonProps>;
|
|
82
87
|
/**
|
|
83
|
-
*
|
|
88
|
+
* Configures an optional action button displayed at the trailing end of the
|
|
89
|
+
* field label. Use this to provide contextual actions such as a
|
|
90
|
+
* "Forgot password?" link, a help tooltip trigger, or any custom label-level action.
|
|
84
91
|
*
|
|
85
|
-
*
|
|
86
|
-
* related to the suffix button's role and behavior.
|
|
92
|
+
* When clicked, the `vegaLabelButtonClick` event is emitted.
|
|
87
93
|
*
|
|
94
|
+
* @default null
|
|
88
95
|
* @vegaVersion 2.68.0
|
|
89
96
|
*/
|
|
90
97
|
labelSuffixButtonConfig: Nullable<LabelSuffixButtonConfig>;
|
|
91
98
|
/**
|
|
92
|
-
*
|
|
99
|
+
* The current value of the input field.
|
|
93
100
|
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
101
|
+
* Use this property to programmatically set or read the input's value.
|
|
102
|
+
* The value is two-way bound — it updates when the user types and can be
|
|
103
|
+
* set externally to pre-fill or reset the field.
|
|
97
104
|
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
105
|
+
* When a `maskConfig` is applied, the displayed value may differ from the
|
|
106
|
+
* raw value (e.g., formatted phone numbers). The `vegaChange` event emits
|
|
107
|
+
* the current value whenever it changes.
|
|
100
108
|
*
|
|
109
|
+
* @default ''
|
|
101
110
|
* @vegaVersion 1.0.5
|
|
102
111
|
*/
|
|
103
112
|
value: string;
|
|
@@ -114,19 +123,31 @@ export declare class VegaInput {
|
|
|
114
123
|
*/
|
|
115
124
|
watchValue(value: string): void;
|
|
116
125
|
/**
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
126
|
+
* Controls when the `vegaChange` event is emitted, allowing you to choose
|
|
127
|
+
* between real-time updates and committed-value updates.
|
|
128
|
+
*
|
|
129
|
+
* - `'input'` — Fires on every keystroke as the user types (real-time).
|
|
130
|
+
* - `'change'` — Fires only when the input loses focus or the user presses Enter,
|
|
131
|
+
* similar to the native HTML `change` event behavior.
|
|
120
132
|
*
|
|
133
|
+
* Use `'change'` for expensive operations (e.g., API calls) where you only need
|
|
134
|
+
* the final committed value. Use `'input'` for live search or filtering scenarios.
|
|
135
|
+
*
|
|
136
|
+
* @default 'input'
|
|
121
137
|
* @vegaVersion 2.24.0
|
|
122
138
|
*/
|
|
123
139
|
valueUpdateTrigger: InputValueUpdateTriggeredBy;
|
|
124
140
|
/**
|
|
125
|
-
*
|
|
141
|
+
* Sets the HTML input type, which controls the browser's input behavior,
|
|
142
|
+
* on-screen keyboard layout, and built-in validation.
|
|
126
143
|
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
144
|
+
* - `'text'` — Standard single-line text input.
|
|
145
|
+
* - `'email'` — Optimized for email entry; triggers email validation automatically.
|
|
146
|
+
* - `'password'` — Masks the entered characters; displays a show/hide toggle icon.
|
|
147
|
+
* - `'number'` — Restricts input to numeric values; may show increment/decrement controls.
|
|
148
|
+
* - `'hidden'` — Renders the input as invisible (useful for programmatic form values).
|
|
129
149
|
*
|
|
150
|
+
* @default 'text'
|
|
130
151
|
* @vegaVersion 1.0.9
|
|
131
152
|
*/
|
|
132
153
|
type: InputType;
|
|
@@ -136,136 +157,237 @@ export declare class VegaInput {
|
|
|
136
157
|
*/
|
|
137
158
|
watchTypeChange(newType: InputType, oldType: InputType): void;
|
|
138
159
|
/**
|
|
139
|
-
*
|
|
160
|
+
* Sets the `name` attribute on the underlying native `<input>` element.
|
|
140
161
|
*
|
|
162
|
+
* This is used to identify the field when submitting form data and is also
|
|
163
|
+
* used by the browser's autocomplete feature to recall previously entered values.
|
|
141
164
|
*
|
|
165
|
+
* @default ''
|
|
142
166
|
* @vegaVersion 1.0.5
|
|
143
167
|
*/
|
|
144
168
|
name: string;
|
|
145
169
|
/**
|
|
146
|
-
* Controls the autofill behavior
|
|
147
|
-
*
|
|
148
|
-
*
|
|
170
|
+
* Controls the browser's autofill and autocomplete behavior for this input.
|
|
171
|
+
*
|
|
172
|
+
* Set to a semantic token (e.g., `'email'`, `'tel'`, `'street-address'`) to help
|
|
173
|
+
* the browser suggest previously saved values. Set to `'off'` to disable
|
|
174
|
+
* autocomplete suggestions entirely.
|
|
175
|
+
*
|
|
176
|
+
* See the full list of valid tokens:
|
|
177
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/autocomplete
|
|
149
178
|
*
|
|
179
|
+
* @default 'off'
|
|
150
180
|
* @vegaVersion 1.0.5
|
|
151
181
|
*/
|
|
152
182
|
autocomplete: InputAutocompleteTypes;
|
|
153
183
|
/**
|
|
154
|
-
*
|
|
155
|
-
*
|
|
184
|
+
* Provides a hint to the browser about the type of virtual keyboard to display
|
|
185
|
+
* on mobile devices, independent of the `type` attribute.
|
|
186
|
+
*
|
|
187
|
+
* - `'text'` — Standard text keyboard.
|
|
188
|
+
* - `'numeric'` — Numeric keypad (digits only), useful for PIN codes or quantities.
|
|
189
|
+
*
|
|
190
|
+
* See https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/inputmode for more details.
|
|
156
191
|
*
|
|
157
192
|
* @vegaVersion 2.71.0
|
|
158
193
|
*/
|
|
159
194
|
inputmode: 'text' | 'numeric';
|
|
160
195
|
/**
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
*
|
|
196
|
+
* Displays a Vega icon at the leading (left) side of the input field,
|
|
197
|
+
* providing visual context about the expected input.
|
|
198
|
+
*
|
|
199
|
+
* Pass a valid Vega icon name (e.g., `'search'`, `'email'`, `'lock'`).
|
|
200
|
+
* The icon is rendered inside the input container and does not affect
|
|
201
|
+
* the input's value or validation.
|
|
164
202
|
*
|
|
165
203
|
* @vegaVersion 1.0.5
|
|
166
204
|
*/
|
|
167
205
|
prefixIcon: string;
|
|
168
206
|
/**
|
|
169
|
-
*
|
|
207
|
+
* When `true`, enforces email format validation on the input value.
|
|
170
208
|
*
|
|
171
|
-
*
|
|
172
|
-
*
|
|
209
|
+
* The validation checks that the entered text conforms to standard email
|
|
210
|
+
* formatting rules (e.g., `user@domain.com`). An invalid email will cause
|
|
211
|
+
* `isValid` to be set to `false` when validation is triggered.
|
|
173
212
|
*
|
|
174
|
-
* @deprecated Please use `type='email'` instead
|
|
213
|
+
* @deprecated Please use `type='email'` instead, which provides the same
|
|
214
|
+
* validation along with optimized mobile keyboard and browser autofill support.
|
|
215
|
+
* @default false
|
|
175
216
|
* @vegaVersion 1.0.5
|
|
176
217
|
*/
|
|
177
218
|
email: boolean;
|
|
178
219
|
/**
|
|
179
|
-
*
|
|
220
|
+
* Marks the input field as required for form submission.
|
|
180
221
|
*
|
|
222
|
+
* When `true`, a required-field validation rule is automatically applied.
|
|
223
|
+
* If `autoValidation` is enabled, the field will display a validation error
|
|
224
|
+
* when the user leaves it empty. A visual required indicator (asterisk) is
|
|
225
|
+
* shown next to the label.
|
|
226
|
+
*
|
|
227
|
+
* @default false
|
|
181
228
|
* @vegaVersion 1.0.5
|
|
182
229
|
*/
|
|
183
230
|
required: boolean;
|
|
184
231
|
/**
|
|
185
|
-
* Sets the minimum allowable numeric value for the input
|
|
232
|
+
* Sets the minimum allowable numeric value for the input.
|
|
233
|
+
*
|
|
234
|
+
* When set, a `MinNumberRule` validation is applied automatically.
|
|
235
|
+
* If the user enters a number below this threshold, the field will
|
|
236
|
+
* be marked as invalid. Only applies when the input value is numeric.
|
|
186
237
|
*
|
|
238
|
+
* @default null
|
|
187
239
|
* @vegaVersion 1.0.5
|
|
188
240
|
*/
|
|
189
241
|
min: number | null;
|
|
190
242
|
/**
|
|
191
|
-
* Sets the maximum allowable numeric value for the input
|
|
243
|
+
* Sets the maximum allowable numeric value for the input.
|
|
244
|
+
*
|
|
245
|
+
* When set, a `MaxNumberRule` validation is applied automatically.
|
|
246
|
+
* If the user enters a number above this threshold, the field will
|
|
247
|
+
* be marked as invalid. Only applies when the input value is numeric.
|
|
192
248
|
*
|
|
249
|
+
* @default null
|
|
193
250
|
* @vegaVersion 1.0.5
|
|
194
251
|
*/
|
|
195
252
|
max: number | null;
|
|
196
253
|
/**
|
|
197
|
-
* Sets the minimum length
|
|
254
|
+
* Sets the minimum character length required for the input value.
|
|
198
255
|
*
|
|
256
|
+
* When set, a `MinStringLengthRule` validation is applied automatically.
|
|
257
|
+
* If the user enters fewer characters than specified, the field will be
|
|
258
|
+
* marked as invalid when validation is triggered.
|
|
259
|
+
*
|
|
260
|
+
* @default null
|
|
199
261
|
* @vegaVersion 1.0.5
|
|
200
262
|
*/
|
|
201
263
|
minLength: number;
|
|
202
264
|
/**
|
|
203
|
-
* Sets the maximum length
|
|
265
|
+
* Sets the maximum character length allowed for the input value.
|
|
266
|
+
*
|
|
267
|
+
* When set, a `MaxStringLengthRule` validation is applied automatically.
|
|
268
|
+
* If the user enters more characters than specified, the field will be
|
|
269
|
+
* marked as invalid when validation is triggered.
|
|
204
270
|
*
|
|
271
|
+
* @default null
|
|
205
272
|
* @vegaVersion 1.0.5
|
|
206
273
|
*/
|
|
207
274
|
maxLength: number;
|
|
208
275
|
/**
|
|
209
|
-
*
|
|
276
|
+
* Controls whether a clear (✕) icon button is displayed inside the input
|
|
277
|
+
* when the field has a non-empty value.
|
|
278
|
+
*
|
|
279
|
+
* When `true`, clicking the clear icon resets the input value to an empty
|
|
280
|
+
* string and emits a `vegaChange` event. Set to `false` to hide the icon
|
|
281
|
+
* (e.g., for inputs where clearing is not desired, such as read-only displays).
|
|
210
282
|
*
|
|
283
|
+
* @default true
|
|
211
284
|
* @vegaVersion 1.3.0
|
|
212
285
|
*/
|
|
213
286
|
showClearIcon: boolean;
|
|
214
287
|
/**
|
|
215
|
-
*
|
|
216
|
-
* invalid based on the defined validation rules.
|
|
288
|
+
* Reflects the current validation state of the input field.
|
|
217
289
|
*
|
|
290
|
+
* - `true` — The field value passes all validation rules; no error styling is shown.
|
|
291
|
+
* - `false` — The field value is invalid; error styling and messages are displayed.
|
|
292
|
+
* - `null` — Validation has not yet been triggered (initial state).
|
|
293
|
+
*
|
|
294
|
+
* This property is automatically updated when `autoValidation` is `true`.
|
|
295
|
+
* It can also be set programmatically to force a specific validation state
|
|
296
|
+
* (e.g., after server-side validation).
|
|
297
|
+
*
|
|
298
|
+
* @default null
|
|
218
299
|
* @vegaVersion 1.3.0
|
|
219
300
|
*/
|
|
220
301
|
isValid: boolean;
|
|
221
302
|
/**
|
|
222
|
-
*
|
|
223
|
-
*
|
|
303
|
+
* Enables or disables automatic validation as the user interacts with the input.
|
|
304
|
+
*
|
|
305
|
+
* When `true`, the component validates the input value in real-time against
|
|
306
|
+
* all configured validation rules (`required`, `min`, `max`, `minLength`,
|
|
307
|
+
* `maxLength`, `email`, and custom `validationRules`). Validation is triggered
|
|
308
|
+
* on blur and during input, updating the `isValid` property accordingly.
|
|
224
309
|
*
|
|
310
|
+
* Set to `false` when you need to manage validation manually (e.g., only on
|
|
311
|
+
* form submission).
|
|
312
|
+
*
|
|
313
|
+
* @default true
|
|
225
314
|
* @vegaVersion 1.0.10
|
|
226
315
|
*/
|
|
227
316
|
autoValidation: boolean;
|
|
228
317
|
/**
|
|
229
|
-
*
|
|
318
|
+
* An array of custom validation rules applied to the input field in addition
|
|
319
|
+
* to the built-in rules derived from `required`, `min`, `max`, `minLength`,
|
|
320
|
+
* `maxLength`, and `email` props.
|
|
321
|
+
*
|
|
322
|
+
* Each rule is a `FormFieldValidationRule` object that defines a validation
|
|
323
|
+
* function and an associated error message. Rules are evaluated in order;
|
|
324
|
+
* the first failing rule's message is displayed.
|
|
230
325
|
*
|
|
326
|
+
* @default []
|
|
231
327
|
* @vegaVersion 1.0.10
|
|
232
328
|
*/
|
|
233
329
|
validationRules: FormFieldValidationRule<unknown>[];
|
|
234
330
|
watchValidationRules(): void;
|
|
235
331
|
/**
|
|
236
|
-
*
|
|
237
|
-
*
|
|
332
|
+
* Sets the visual size variant of the input field, affecting its height
|
|
333
|
+
* and internal padding.
|
|
334
|
+
*
|
|
335
|
+
* - `'default'` — Standard height (40px), suitable for most form layouts.
|
|
336
|
+
* - `'small'` — Compact height (32px), useful in dense or inline
|
|
337
|
+
* layouts. Such as table cells or toolbars.
|
|
238
338
|
*
|
|
339
|
+
* @default 'default'
|
|
239
340
|
* @vegaVersion 1.3.0
|
|
240
341
|
*/
|
|
241
342
|
size: 'default' | 'small';
|
|
242
343
|
/**
|
|
243
|
-
*
|
|
244
|
-
* or example inside the input field.
|
|
344
|
+
* Sets the placeholder text displayed inside the input when the value is empty.
|
|
245
345
|
*
|
|
246
|
-
*
|
|
346
|
+
* Use this to provide a short hint about the expected input format or content
|
|
347
|
+
* (e.g., `'Enter your email'`, `'MM/DD/YYYY'`). The placeholder text disappears
|
|
348
|
+
* as soon as the user begins typing.
|
|
349
|
+
*
|
|
350
|
+
* **Note:** Placeholder text is not a substitute for a `label` — always provide
|
|
351
|
+
* a descriptive label for accessibility.
|
|
247
352
|
*
|
|
248
353
|
* @vegaVersion 1.3.0
|
|
249
354
|
*/
|
|
250
355
|
placeholder: string;
|
|
251
356
|
/**
|
|
252
|
-
*
|
|
357
|
+
* When `true`, disables the input field, preventing user interaction.
|
|
358
|
+
*
|
|
359
|
+
* A disabled input cannot receive focus, does not respond to click or keyboard
|
|
360
|
+
* events, and is visually styled with reduced opacity to indicate its inactive
|
|
361
|
+
* state. Disabled fields are excluded from form validation.
|
|
253
362
|
*
|
|
363
|
+
* @default false
|
|
254
364
|
* @vegaVersion 1.3.0
|
|
255
365
|
*/
|
|
256
366
|
disabled: boolean;
|
|
257
367
|
/**
|
|
258
|
-
*
|
|
259
|
-
*
|
|
368
|
+
* Displays a helper text message below the input field.
|
|
369
|
+
*
|
|
370
|
+
* Use this to provide additional guidance about the expected input, such as
|
|
371
|
+
* format requirements (e.g., `'Must be at least 8 characters'`) or contextual
|
|
372
|
+
* tips. The hint is rendered via the `<vega-hint>` sub-component and is
|
|
373
|
+
* replaced by an error message when validation fails.
|
|
260
374
|
*
|
|
375
|
+
* @default ''
|
|
261
376
|
* @vegaVersion 1.3.0
|
|
262
377
|
*/
|
|
263
378
|
hint: string;
|
|
264
379
|
/**
|
|
265
|
-
*
|
|
380
|
+
* Configures input masking to automatically format the user's input according
|
|
381
|
+
* to a predefined pattern.
|
|
266
382
|
*
|
|
267
|
-
*
|
|
268
|
-
*
|
|
383
|
+
* Supports built-in mask types (`'phone'`, `'zipcode'`, `'taxId'`,
|
|
384
|
+
* `'thousand-comma'`, `'number'`) as well as custom masks via `'custom'` or
|
|
385
|
+
* `'custom-formatter'` strategies.
|
|
386
|
+
*
|
|
387
|
+
* Pass a single `MaskConfigType` object or an array of configs to apply
|
|
388
|
+
* multiple masks. Each config specifies the mask `type`, optional formatting
|
|
389
|
+
* `options`, and a `trigger` (`'input'` or `'blur'`) to control when
|
|
390
|
+
* formatting is applied.
|
|
269
391
|
*
|
|
270
392
|
* @vegaVersion 1.3.0
|
|
271
393
|
*/
|
|
@@ -278,131 +400,247 @@ export declare class VegaInput {
|
|
|
278
400
|
*/
|
|
279
401
|
watchMaskChange(newValue: MaskConfigType | MaskConfigType[], oldValue: MaskConfigType | MaskConfigType[]): void;
|
|
280
402
|
/**
|
|
281
|
-
*
|
|
403
|
+
* When `true`, disables the ability to copy from or paste into the input field.
|
|
404
|
+
*
|
|
405
|
+
* This is useful for security-sensitive fields (e.g., password confirmation)
|
|
406
|
+
* where you want to prevent users from pasting values. Both keyboard shortcuts
|
|
407
|
+
* and context menu copy/paste actions are blocked.
|
|
282
408
|
*
|
|
409
|
+
* @default false
|
|
283
410
|
* @vegaVersion 2.1.0
|
|
284
411
|
*/
|
|
285
412
|
disableCopyPaste: boolean;
|
|
286
413
|
/**
|
|
287
|
-
*
|
|
288
|
-
*
|
|
414
|
+
* Provides the data source for the input's autocomplete suggestion dropdown.
|
|
415
|
+
*
|
|
416
|
+
* Pass an array of `VegaDropdownSourceItem` objects to enable the suggestions
|
|
417
|
+
* feature. The dropdown appears as the user types, filtering items that match
|
|
418
|
+
* the current input value. When the user selects a suggestion, the
|
|
419
|
+
* `vegaSuggestionItemClick` event is emitted.
|
|
420
|
+
*
|
|
421
|
+
* **Important:** You must set this property to at least an empty array (`[]`)
|
|
422
|
+
* to enable the suggestion dropdown. If left `undefined`, the feature is disabled.
|
|
289
423
|
*
|
|
290
424
|
* @vegaVersion 2.75.0
|
|
291
425
|
*/
|
|
292
426
|
suggestionsDropdownSource: VegaDropdownSourceItem[];
|
|
293
427
|
watchSuggestionsDropdownSource(): void;
|
|
294
428
|
/**
|
|
295
|
-
*
|
|
429
|
+
* Emitted when the input value changes.
|
|
430
|
+
*
|
|
431
|
+
* The timing of this event depends on the `valueUpdateTrigger` prop:
|
|
432
|
+
* - When `valueUpdateTrigger` is `'input'` (default), fires on every keystroke.
|
|
433
|
+
* - When `valueUpdateTrigger` is `'change'`, fires on blur or when the user presses Enter.
|
|
434
|
+
*
|
|
435
|
+
* Also fires when the user clicks the clear icon or when the value is
|
|
436
|
+
* programmatically updated.
|
|
296
437
|
*
|
|
438
|
+
* @eventDetail `string` — The current input value after the change.
|
|
297
439
|
* @vegaVersion 1.0.10
|
|
298
440
|
*/
|
|
299
441
|
vegaChange: EventEmitter<string>;
|
|
300
442
|
/**
|
|
301
|
-
*
|
|
443
|
+
* Native-namespace alias for the `vegaChange` event.
|
|
302
444
|
*
|
|
445
|
+
* Emitted at the same time and under the same conditions as `vegaChange`.
|
|
446
|
+
* Use this event when integrating with frameworks that expect native-style
|
|
447
|
+
* event names (e.g., `@change` in Vue or Angular).
|
|
448
|
+
*
|
|
449
|
+
* @eventDetail `string` — The current input value after the change.
|
|
303
450
|
* @eventSemantics namespace:native
|
|
304
451
|
* @vegaVersion 2.0.0
|
|
305
452
|
*/
|
|
306
453
|
change: EventEmitter<string>;
|
|
307
454
|
/**
|
|
308
|
-
*
|
|
455
|
+
* Emitted on every native `input` event from the underlying `<input>` element,
|
|
456
|
+
* regardless of the `valueUpdateTrigger` setting.
|
|
457
|
+
*
|
|
458
|
+
* This event fires on every keystroke and provides the raw input value.
|
|
459
|
+
* Use this for real-time monitoring (e.g., driving a suggestions dropdown)
|
|
460
|
+
* while keeping `vegaChange` set to `'change'` trigger for the main value binding.
|
|
309
461
|
*
|
|
462
|
+
* @eventDetail `string` — The raw value from the native input element.
|
|
310
463
|
* @vegaVersion 2.75.0
|
|
311
464
|
*/
|
|
312
465
|
vegaNativeInputChange: EventEmitter<string>;
|
|
313
466
|
/**
|
|
314
|
-
*
|
|
467
|
+
* Native-namespace alias for the `vegaNativeInputChange` event.
|
|
468
|
+
*
|
|
469
|
+
* Emitted at the same time and under the same conditions as
|
|
470
|
+
* `vegaNativeInputChange`. Use this event when integrating with frameworks
|
|
471
|
+
* that expect native-style event names.
|
|
315
472
|
*
|
|
473
|
+
* @eventDetail `string` — The raw value from the native input element.
|
|
316
474
|
* @eventSemantics namespace:native
|
|
317
475
|
* @vegaVersion 2.75.0
|
|
318
476
|
*/
|
|
319
477
|
nativeInputChange: EventEmitter<string>;
|
|
320
478
|
/**
|
|
321
|
-
*
|
|
479
|
+
* Emitted when the input field loses focus.
|
|
322
480
|
*
|
|
481
|
+
* This event fires after the underlying native `<input>` element's `blur`
|
|
482
|
+
* event. Useful for triggering validation, saving state, or updating UI
|
|
483
|
+
* when the user navigates away from the field.
|
|
484
|
+
*
|
|
485
|
+
* @eventDetail `undefined` — No payload; listen for the event occurrence only.
|
|
323
486
|
* @vegaVersion 1.3.0
|
|
324
487
|
*/
|
|
325
488
|
vegaBlur: EventEmitter<undefined>;
|
|
326
489
|
/**
|
|
327
|
-
*
|
|
490
|
+
* Native-namespace alias for the `vegaBlur` event.
|
|
491
|
+
*
|
|
492
|
+
* Emitted at the same time and under the same conditions as `vegaBlur`.
|
|
493
|
+
* Use this event when integrating with frameworks that expect native-style
|
|
494
|
+
* event names.
|
|
328
495
|
*
|
|
496
|
+
* @eventDetail `undefined` — No payload; listen for the event occurrence only.
|
|
329
497
|
* @eventSemantics namespace:native
|
|
330
498
|
* @vegaVersion 2.0.0
|
|
331
499
|
*/
|
|
332
500
|
blur: EventEmitter<undefined>;
|
|
333
501
|
/**
|
|
334
|
-
*
|
|
502
|
+
* Emitted when the input field receives focus.
|
|
503
|
+
*
|
|
504
|
+
* This event fires after the underlying native `<input>` element's `focus`
|
|
505
|
+
* event, including when focus is set programmatically via the `doFocus()` method.
|
|
506
|
+
* Useful for highlighting the field, showing contextual help, or opening
|
|
507
|
+
* a suggestions dropdown.
|
|
335
508
|
*
|
|
509
|
+
* @eventDetail `undefined` — No payload; listen for the event occurrence only.
|
|
336
510
|
* @vegaVersion 1.12.0
|
|
337
511
|
*/
|
|
338
512
|
vegaFocus: EventEmitter<undefined>;
|
|
339
513
|
/**
|
|
340
|
-
*
|
|
514
|
+
* Native-namespace alias for the `vegaFocus` event.
|
|
341
515
|
*
|
|
516
|
+
* Emitted at the same time and under the same conditions as `vegaFocus`.
|
|
517
|
+
* Use this event when integrating with frameworks that expect native-style
|
|
518
|
+
* event names.
|
|
519
|
+
*
|
|
520
|
+
* @eventDetail `undefined` — No payload; listen for the event occurrence only.
|
|
342
521
|
* @eventSemantics namespace:native
|
|
343
522
|
* @vegaVersion 2.0.0
|
|
344
523
|
*/
|
|
345
524
|
focus: EventEmitter<undefined>;
|
|
346
525
|
/**
|
|
347
|
-
*
|
|
526
|
+
* Emitted when the user clicks the suffix button in the field label.
|
|
527
|
+
*
|
|
528
|
+
* This event only fires when a `labelSuffixButtonConfig` (or the deprecated
|
|
529
|
+
* `labelSuffixButtonProps`) is provided. Use it to handle contextual actions
|
|
530
|
+
* such as opening a tooltip, navigating to a help page, or triggering a
|
|
531
|
+
* "Forgot password?" flow.
|
|
348
532
|
*
|
|
533
|
+
* @eventDetail `void` — No payload.
|
|
349
534
|
* @vegaVersion 2.25.0
|
|
350
535
|
*/
|
|
351
536
|
vegaLabelButtonClick: EventEmitter;
|
|
352
537
|
/**
|
|
353
|
-
*
|
|
538
|
+
* Native-namespace alias for the `vegaLabelButtonClick` event.
|
|
539
|
+
*
|
|
540
|
+
* Emitted at the same time and under the same conditions as
|
|
541
|
+
* `vegaLabelButtonClick`. Use this event when integrating with frameworks
|
|
542
|
+
* that expect native-style event names.
|
|
354
543
|
*
|
|
544
|
+
* @eventDetail `void` — No payload.
|
|
355
545
|
* @eventSemantics namespace:native
|
|
356
546
|
* @vegaVersion 2.25.0
|
|
357
547
|
*/
|
|
358
548
|
labelButtonClick: EventEmitter;
|
|
359
549
|
/**
|
|
360
|
-
*
|
|
550
|
+
* Emitted when the user pastes content into the input field.
|
|
361
551
|
*
|
|
552
|
+
* This event fires regardless of the `disableCopyPaste` setting — the paste
|
|
553
|
+
* action is blocked visually, but the event still propagates for tracking
|
|
554
|
+
* purposes. Use this to inspect or transform pasted data before it is applied.
|
|
555
|
+
*
|
|
556
|
+
* @eventDetail `DataTransferType` — An object containing the pasted data,
|
|
557
|
+
* including the MIME type and raw text content from the clipboard.
|
|
362
558
|
* @vegaVersion 2.66.0
|
|
363
559
|
*/
|
|
364
560
|
vegaPaste: EventEmitter<DataTransferType>;
|
|
365
561
|
/**
|
|
366
|
-
*
|
|
562
|
+
* Native-namespace alias for the `vegaPaste` event.
|
|
563
|
+
*
|
|
564
|
+
* Emitted at the same time and under the same conditions as `vegaPaste`.
|
|
565
|
+
* Use this event when integrating with frameworks that expect native-style
|
|
566
|
+
* event names.
|
|
367
567
|
*
|
|
568
|
+
* @eventDetail `DataTransferType` — An object containing the pasted data,
|
|
569
|
+
* including the MIME type and raw text content from the clipboard.
|
|
368
570
|
* @eventSemantics namespace:native
|
|
369
571
|
* @vegaVersion 2.66.0
|
|
370
572
|
*/
|
|
371
573
|
paste: EventEmitter<DataTransferType>;
|
|
372
574
|
/**
|
|
373
|
-
*
|
|
575
|
+
* Emitted when the user selects an item from the suggestions dropdown.
|
|
576
|
+
*
|
|
577
|
+
* This event only fires when the `suggestionsDropdownSource` prop is set.
|
|
578
|
+
* Use it to respond to the user's selection — for example, to populate
|
|
579
|
+
* related fields, navigate to a detail page, or trigger a search.
|
|
374
580
|
*
|
|
581
|
+
* @eventDetail `VegaDropdownSourceItem` — The full data object of the selected
|
|
582
|
+
* suggestion item, including its `label`, `value`, and any custom properties.
|
|
375
583
|
* @vegaVersion 2.75.0
|
|
376
584
|
*/
|
|
377
585
|
vegaSuggestionItemClick: EventEmitter<VegaDropdownSourceItem>;
|
|
378
586
|
/**
|
|
379
|
-
*
|
|
587
|
+
* Native-namespace alias for the `vegaSuggestionItemClick` event.
|
|
380
588
|
*
|
|
589
|
+
* Emitted at the same time and under the same conditions as
|
|
590
|
+
* `vegaSuggestionItemClick`. Use this event when integrating with frameworks
|
|
591
|
+
* that expect native-style event names.
|
|
592
|
+
*
|
|
593
|
+
* @eventDetail `VegaDropdownSourceItem` — The full data object of the selected
|
|
594
|
+
* suggestion item, including its `label`, `value`, and any custom properties.
|
|
381
595
|
* @eventSemantics namespace:native
|
|
382
596
|
* @vegaVersion 2.75.0
|
|
383
597
|
*/
|
|
384
598
|
suggestionItemClick: EventEmitter<VegaDropdownSourceItem>;
|
|
385
599
|
/**
|
|
386
|
-
*
|
|
600
|
+
* Programmatically sets focus on the underlying native `<input>` element.
|
|
601
|
+
*
|
|
602
|
+
* Use this method when you need to direct the user's attention to this input
|
|
603
|
+
* (e.g., after form validation fails or on page load). Calling this method
|
|
604
|
+
* triggers the `vegaFocus` event.
|
|
387
605
|
*
|
|
606
|
+
* @returns A promise that resolves once focus has been applied.
|
|
388
607
|
* @vegaVersion 1.12.0
|
|
389
608
|
*/
|
|
390
609
|
doFocus(): Promise<void>;
|
|
391
610
|
/**
|
|
392
|
-
*
|
|
611
|
+
* Programmatically removes focus from the underlying native `<input>` element.
|
|
612
|
+
*
|
|
613
|
+
* Use this method when you need to dismiss the keyboard on mobile or move
|
|
614
|
+
* focus away from the input programmatically. Calling this method triggers
|
|
615
|
+
* the `vegaBlur` event and, if `autoValidation` is enabled, validation
|
|
616
|
+
* will be executed.
|
|
393
617
|
*
|
|
618
|
+
* @returns A promise that resolves once blur has been applied.
|
|
394
619
|
* @vegaVersion 1.12.0
|
|
395
620
|
*/
|
|
396
621
|
doBlur(): Promise<void>;
|
|
397
622
|
/**
|
|
398
|
-
*
|
|
623
|
+
* Programmatically opens the suggestions dropdown.
|
|
399
624
|
*
|
|
625
|
+
* Use this method when you need to display the dropdown independently of
|
|
626
|
+
* user input — for example, to show all available suggestions on focus
|
|
627
|
+
* or in response to an external trigger. Requires `suggestionsDropdownSource`
|
|
628
|
+
* to be set.
|
|
629
|
+
*
|
|
630
|
+
* @param dropdownConfig - Optional configuration to customize the dropdown
|
|
631
|
+
* behavior (e.g., itemDisplayRule, caseSensitive).
|
|
632
|
+
* @returns A promise that resolves once the dropdown is displayed.
|
|
400
633
|
* @vegaVersion 2.75.0
|
|
401
634
|
*/
|
|
402
635
|
showSuggestionsDropdown(dropdownConfig?: VegaInputSuggestionsDropdownConfig): Promise<void>;
|
|
403
636
|
/**
|
|
404
|
-
*
|
|
637
|
+
* Programmatically closes the suggestions dropdown.
|
|
638
|
+
*
|
|
639
|
+
* Use this method when you need to dismiss the dropdown in response to an
|
|
640
|
+
* external event (e.g., pressing Escape, clicking outside, or completing
|
|
641
|
+
* a selection workflow).
|
|
405
642
|
*
|
|
643
|
+
* @returns A promise that resolves once the dropdown is hidden.
|
|
406
644
|
* @vegaVersion 2.75.0
|
|
407
645
|
*/
|
|
408
646
|
hideSuggestionsDropdown(): Promise<void>;
|