@globalpayments/vega 2.77.0 → 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-04e7024b.js → app-globals-55e26945.js} +6 -6
- package/dist/cjs/{aria-attributes-value-mapper-f58c73f8.js → aria-attributes-value-mapper-9a41b9cf.js} +10 -3
- 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-f1480ec3.js → code-block-1a5fafed.js} +2 -2
- package/dist/cjs/{component-value-history-controller-slimmer.abstract-a9264cc8.js → component-value-history-controller-slimmer.abstract-42683f23.js} +4 -4
- package/dist/cjs/{date-required-rule-912469e0.js → date-required-rule-ad536cb5.js} +1 -1
- package/dist/cjs/{design-token-c49717c8.js → design-token-45ebd5e4.js} +3 -3
- package/dist/cjs/{dto-renderer-manager-809c947b.js → dto-renderer-manager-7557d562.js} +3 -3
- package/dist/cjs/{element-appender-slimmer-38583ca9.js → element-appender-slimmer-16ec8591.js} +181 -22
- package/dist/cjs/{event-emit-slimmer-062cdcb8.js → event-emit-slimmer-c84121c8.js} +1 -1
- package/dist/cjs/{form-field-controller-slimmer-102f37c7.js → form-field-controller-slimmer-73f5849e.js} +4 -4
- package/dist/cjs/{image-annotation-action-8d9fa20c.js → image-annotation-action-f275863e.js} +3 -3
- package/dist/cjs/index.cjs.js +18 -18
- package/dist/cjs/{inject-keyboard-manager-0f5bd568.js → inject-keyboard-manager-6667c0f1.js} +1 -1
- package/dist/cjs/{internal-translation-controller-053eb0f1.js → internal-translation-controller-24df468f.js} +16 -0
- package/dist/cjs/{internal-vega-event-manager-f7ecf3d4.js → internal-vega-event-manager-cc0f511c.js} +2 -2
- package/dist/cjs/{keyboard-manager-055e9f67.js → keyboard-manager-7de7ecfd.js} +1 -1
- package/dist/cjs/{keyboard-manager-slimmer-0cc0c1c7.js → keyboard-manager-slimmer-b44f0dc9.js} +1 -1
- package/dist/cjs/loader.cjs.js +14 -14
- package/dist/cjs/{month-view-generator-6a6dd527.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-922849f3.js → public-rules-6c6cb4ac.js} +9 -9
- package/dist/cjs/{range-8aa49b08.js → range-e298d4aa.js} +1 -1
- package/dist/cjs/{responsive-format-facade-acc39a40.js → responsive-format-facade-bddac47c.js} +3 -3
- package/dist/cjs/{rich-text-editor-required-rule-22225840.js → rich-text-editor-required-rule-6346a888.js} +1 -1
- package/dist/cjs/{string-format-strategy.abstract-f2575647.js → string-format-strategy.abstract-814d66c4.js} +1 -1
- package/dist/cjs/{string-input-formatter-slimmer-0a334fc6.js → string-input-formatter-slimmer-749e3cfe.js} +3 -3
- package/dist/cjs/{string-mask-strategy-dda58395.js → string-mask-strategy-d00871c2.js} +2 -2
- package/dist/cjs/{style-formatter-028af284.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-d6fa7aa8.js → time-required-rule-f1f3c8c2.js} +1 -1
- package/dist/cjs/{token-extension-ffcaeae0.js → token-extension-1e98ddf3.js} +7 -7
- package/dist/cjs/{translation-slimmer-4533bd67.js → translation-slimmer-3fa03d81.js} +1 -1
- package/dist/cjs/{type-guard-407ba0b8.js → type-guard-a0d9ff1f.js} +37 -2
- package/dist/cjs/{ui-32e69595.js → ui-024696c0.js} +8 -1
- package/dist/cjs/{valid-credit-card-number-rule-41a8b51b.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 +31 -13
- 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 +12 -12
- package/dist/cjs/vega-button-group_2.cjs.entry.js +7 -7
- package/dist/cjs/vega-button-link.cjs.entry.js +20 -4
- package/dist/cjs/vega-button.cjs.entry.js +11 -11
- package/dist/cjs/vega-calendar_4.cjs.entry.js +15 -15
- 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 +113 -32
- 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 +41 -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 +109 -36
- 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 +414 -187
- 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 +15 -16
- 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 +15 -15
- 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 +17 -11
- package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +589 -396
- 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 +11 -11
- package/dist/cjs/vega.cjs.js +14 -14
- package/dist/cjs/{wait-for-component-did-render-70a01bf9.js → wait-for-component-did-render-cbebfc33.js} +1 -1
- package/dist/collection/components/vega-app-header-button/vega-app-header-button.js +44 -2
- package/dist/collection/components/vega-button-link/vega-button-link.js +16 -1
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-event-preview-popover-renderer.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-date-picker/slimmers/controllers/vega-date-picker-calendar-open-state-controller.js +64 -0
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-selection-controller.js +3 -0
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-header-render.js +3 -3
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-renderer.js +19 -1
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-year-month-switcher-renderer.js +3 -2
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-month-item-renderer.js +3 -2
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.css +12 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.js +25 -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/controllers/vega-input-render-mode-controller.js +1 -3
- package/dist/collection/components/vega-input/slimmers/renderers/vega-input-input-container-renderer.js +1 -5
- package/dist/collection/components/vega-input/slimmers/renderers/vega-input-input-renderer.js +1 -4
- package/dist/collection/components/vega-input/slimmers/renderers/vega-input-input-suggestions-renderer.js +5 -2
- 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 +382 -101
- 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/slimmers/controllers/vega-input-passcode-keyboard-controller.js +2 -0
- package/dist/collection/components/vega-input-passcode/slimmers/renderers/vega-input-passcode-renderer.js +30 -2
- 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-nav/vega-left-nav-link/slimmers/renderers/vega-left-nav-link-renderer.js +2 -3
- package/dist/collection/components/vega-popover/vega-popover-content-box/vega-popover-content-box.css +5 -0
- package/dist/collection/components/vega-radio/vega-radio-group/vega-radio-group.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/nodes/image-node-renderer.js +7 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/insert-image-controller.js +7 -4
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/image-toolbar-button-slimmer.js +113 -12
- 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-rich-text-editor/vega-rich-text-image-editor/slimmers/renderers/vega-rich-text-image-editor-renderer.js +1 -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/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.css +5 -0
- package/dist/collection/constants/ui.js +9 -1
- package/dist/collection/helpers/calendar/test/utils.test.js +54 -1
- package/dist/collection/helpers/calendar/utils.js +35 -0
- 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/slimmers/element-appender/element-appender-slimmer.js +27 -0
- package/dist/collection/helpers/slimmers/element-appender/test/element-appender-slimmer.test.js +50 -0
- package/dist/collection/helpers/slimmers/mutation-observer/aria-attributes-value-mapper.js +10 -3
- package/dist/collection/helpers/slimmers/mutation-observer/data-tab-index-value-mapper.js +80 -0
- package/dist/collection/helpers/slimmers/mutation-observer/test/aria-attributes-value-mapper.test.js +55 -3
- package/dist/collection/helpers/slimmers/mutation-observer/test/data-tab-index-value-mapper.test.js +120 -0
- package/dist/collection/helpers/slimmers/position-calculation/base-position-calculation-strategy.js +123 -9
- package/dist/collection/helpers/slimmers/position-calculation/position-calculation-controller.js +14 -4
- package/dist/collection/helpers/slimmers/position-calculation/screen-position-calculation-strategy.js +13 -4
- package/dist/collection/helpers/slimmers/position-calculation/test/body-position-calculation-strategy.test.js +7 -6
- package/dist/collection/helpers/slimmers/position-calculation/test/screen-position-calculation-strategy.test.js +162 -7
- package/dist/collection/helpers/translation/locales/en.js +16 -0
- package/dist/collection/helpers/translation/tests/internal-translation-controller.test.js +17 -0
- package/dist/collection/helpers/translation/tests/translation.test.js +14 -0
- package/dist/collection/helpers/ui/test/element-appender.test.js +7 -5
- package/dist/collection/utils/e2e-utils.js +6 -0
- package/dist/esm/{app-globals-32055795.js → app-globals-3b97bb20.js} +6 -6
- package/dist/esm/{aria-attributes-value-mapper-d4fef46a.js → aria-attributes-value-mapper-2c632641.js} +10 -3
- 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-b6247a45.js → code-block-d65bab61.js} +2 -2
- package/dist/esm/{component-value-history-controller-slimmer.abstract-2bb8533d.js → component-value-history-controller-slimmer.abstract-556fcf2a.js} +4 -4
- package/dist/esm/{date-required-rule-e771e7d9.js → date-required-rule-4ffd9cae.js} +1 -1
- package/dist/esm/{design-token-5bc034e1.js → design-token-b518a2aa.js} +3 -3
- package/dist/esm/{dto-renderer-manager-6fd22ab7.js → dto-renderer-manager-73df5cbe.js} +3 -3
- package/dist/esm/{element-appender-slimmer-9ea377d0.js → element-appender-slimmer-36b7a572.js} +181 -22
- package/dist/esm/{event-emit-slimmer-ffaecb9a.js → event-emit-slimmer-f879fd58.js} +1 -1
- package/dist/esm/{form-field-controller-slimmer-5817d14d.js → form-field-controller-slimmer-9a880420.js} +4 -4
- package/dist/esm/{image-annotation-action-6701b4c9.js → image-annotation-action-eb3dcad5.js} +3 -3
- package/dist/esm/index.js +18 -18
- package/dist/esm/{inject-keyboard-manager-78730062.js → inject-keyboard-manager-e5481833.js} +1 -1
- package/dist/esm/{internal-translation-controller-911515f9.js → internal-translation-controller-0787a7a7.js} +16 -0
- package/dist/esm/{internal-vega-event-manager-32a3d848.js → internal-vega-event-manager-3aebbe55.js} +2 -2
- package/dist/esm/{keyboard-manager-38934f94.js → keyboard-manager-4dfc625f.js} +1 -1
- package/dist/esm/{keyboard-manager-slimmer-9984d922.js → keyboard-manager-slimmer-87bf68f1.js} +1 -1
- package/dist/esm/loader.js +14 -14
- package/dist/esm/{month-view-generator-eaf9029c.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-25cc3a39.js → public-rules-49912d52.js} +9 -9
- package/dist/esm/{range-663f44dc.js → range-0a22b512.js} +1 -1
- package/dist/esm/{responsive-format-facade-aa705823.js → responsive-format-facade-b3799ff9.js} +3 -3
- package/dist/esm/{rich-text-editor-required-rule-a238b862.js → rich-text-editor-required-rule-d86e3a51.js} +1 -1
- package/dist/esm/{string-format-strategy.abstract-713fba36.js → string-format-strategy.abstract-e40a0df7.js} +1 -1
- package/dist/esm/{string-input-formatter-slimmer-5b413ff9.js → string-input-formatter-slimmer-076764fc.js} +3 -3
- package/dist/esm/{string-mask-strategy-6beaf664.js → string-mask-strategy-df1f5707.js} +2 -2
- package/dist/esm/{style-formatter-28138f5c.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-e4138a76.js → time-required-rule-b4af75ae.js} +1 -1
- package/dist/esm/{token-extension-73e4460a.js → token-extension-ffd98170.js} +7 -7
- package/dist/esm/{translation-slimmer-2394b173.js → translation-slimmer-e788cae4.js} +1 -1
- package/dist/esm/{type-guard-f50e34d6.js → type-guard-f69d2935.js} +37 -3
- package/dist/esm/{ui-28fd4193.js → ui-41f725b7.js} +8 -1
- package/dist/esm/{valid-credit-card-number-rule-22ce81db.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 +31 -13
- 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 +12 -12
- package/dist/esm/vega-button-group_2.entry.js +7 -7
- package/dist/esm/vega-button-link.entry.js +20 -4
- package/dist/esm/vega-button.entry.js +11 -11
- package/dist/esm/vega-calendar_4.entry.js +15 -15
- 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 +114 -33
- 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 +42 -18
- 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 +109 -36
- 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 +414 -187
- 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 +15 -16
- 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 +15 -15
- 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 +17 -11
- package/dist/esm/vega-rich-text-editor_4.entry.js +589 -396
- 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 +11 -11
- package/dist/esm/vega.js +14 -14
- 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 +341 -341
- package/dist/types/components/vega-app-header-button/types.d.ts +18 -0
- package/dist/types/components/vega-app-header-button/vega-app-header-button.d.ts +8 -1
- package/dist/types/components/vega-button-link/vega-button-link.d.ts +2 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-open-state-controller.d.ts +21 -0
- package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-selection-controller.d.ts +1 -0
- package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-renderer.d.ts +7 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.d.ts +11 -0
- package/dist/types/components/vega-input/slimmers/controllers/vega-input-render-mode-controller.d.ts +0 -1
- package/dist/types/components/vega-input/slimmers/renderers/vega-input-input-renderer.d.ts +0 -1
- package/dist/types/components/vega-input/vega-input.d.ts +321 -79
- package/dist/types/components/vega-input-numeric/vega-input-numeric.d.ts +117 -42
- package/dist/types/components/vega-input-passcode/slimmers/renderers/vega-input-passcode-renderer.d.ts +14 -0
- 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/controllers/insert-image-controller.d.ts +7 -1
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/image-toolbar-button-slimmer.d.ts +30 -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 +429 -219
- package/dist/types/constants/ui.d.ts +2 -2
- package/dist/types/helpers/calendar/utils.d.ts +17 -0
- 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/slimmers/element-appender/element-appender-slimmer.d.ts +12 -0
- package/dist/types/helpers/slimmers/mutation-observer/aria-attributes-value-mapper.d.ts +2 -1
- package/dist/types/helpers/slimmers/mutation-observer/data-tab-index-value-mapper.d.ts +35 -0
- package/dist/types/helpers/slimmers/mutation-observer/test/data-tab-index-value-mapper.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/position-calculation/base-position-calculation-strategy.d.ts +60 -3
- package/dist/types/helpers/slimmers/position-calculation/screen-position-calculation-strategy.d.ts +3 -2
- package/dist/types/helpers/slimmers/position-calculation/test/body-position-calculation-strategy.test.d.ts +1 -1
- package/dist/types/helpers/translation/interface.d.ts +17 -1
- package/dist/types/types/components.type.d.ts +1 -0
- package/dist/types/types/type-guard.d.ts +3 -3
- package/dist/types/types/ui.type.d.ts +3 -2
- package/dist/types/utils/e2e-utils.d.ts +2 -0
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/{p-9441f2ba.entry.js → p-0009e0bc.entry.js} +1 -1
- package/dist/vega/{p-2d69632d.js → p-02976501.js} +1 -1
- package/dist/vega/{p-bf6fc19f.entry.js → p-03280f85.entry.js} +1 -1
- package/dist/vega/{p-f3e6483c.js → p-03b1e442.js} +1 -1
- package/dist/vega/{p-33f9ad94.entry.js → p-0681ffee.entry.js} +1 -1
- package/dist/vega/{p-3ce2b05c.entry.js → p-093aa0cb.entry.js} +1 -1
- package/dist/vega/{p-ffd48e37.entry.js → p-1828f9e6.entry.js} +1 -1
- package/dist/vega/{p-f428086c.entry.js → p-19883e27.entry.js} +1 -1
- package/dist/vega/p-1e015382.js +1 -0
- package/dist/vega/{p-7425cedc.entry.js → p-1ff45314.entry.js} +1 -1
- package/dist/vega/{p-9339c6c4.js → p-24b4c64f.js} +1 -1
- package/dist/vega/{p-5833f33b.entry.js → p-2e7ec8e0.entry.js} +1 -1
- package/dist/vega/{p-1a3236e7.entry.js → p-309b5016.entry.js} +1 -1
- package/dist/vega/{p-857069a5.entry.js → p-3592a26d.entry.js} +1 -1
- package/dist/vega/{p-560d2f48.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-daa60a59.entry.js → p-3b7ad04b.entry.js} +1 -1
- package/dist/vega/{p-5485c387.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-c165232c.entry.js → p-3fd3861c.entry.js} +1 -1
- package/dist/vega/{p-d78f6ede.js → p-4079e932.js} +1 -1
- package/dist/vega/{p-5eb7f382.js → p-43df17a1.js} +1 -1
- package/dist/vega/{p-db5fa164.entry.js → p-473ceda5.entry.js} +1 -1
- package/dist/vega/{p-67745549.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-e6cf2ace.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-22056609.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-464559e3.js → p-5ba34330.js} +1 -1
- package/dist/vega/p-5e1d0f21.entry.js +1 -0
- package/dist/vega/{p-a786259a.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-34bcf4ed.entry.js → p-6a8ac66d.entry.js} +1 -1
- package/dist/vega/{p-4bffdb28.js → p-6b3776ec.js} +1 -1
- package/dist/vega/{p-2b142818.entry.js → p-6b4021f0.entry.js} +1 -1
- package/dist/vega/{p-2a10e2e5.js → p-6cf28c27.js} +1 -1
- package/dist/vega/{p-0037068c.entry.js → p-71cd1d9e.entry.js} +1 -1
- package/dist/vega/{p-4aa52ed2.entry.js → p-7440325c.entry.js} +1 -1
- package/dist/vega/p-764425e4.entry.js +1 -0
- package/dist/vega/p-77908e45.entry.js +1 -0
- package/dist/vega/{p-a0b66c25.js → p-7ade785e.js} +1 -1
- package/dist/vega/{p-f2b0b58a.js → p-7db5e003.js} +1 -1
- package/dist/vega/{p-021d4ae4.js → p-7db918f4.js} +1 -1
- package/dist/vega/{p-0572c393.entry.js → p-7f398d23.entry.js} +1 -1
- package/dist/vega/p-7f665911.entry.js +1 -0
- package/dist/vega/p-840f156e.entry.js +1 -0
- package/dist/vega/{p-95528b47.js → p-87379d3c.js} +1 -1
- package/dist/vega/p-87ed06cd.entry.js +1 -0
- package/dist/vega/{p-a8792e3d.js → p-882a220c.js} +1 -1
- package/dist/vega/{p-6b6f0fb4.js → p-898bcb24.js} +1 -1
- 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-81b044b9.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-50d074ed.entry.js → p-99c8f9a4.entry.js} +1 -1
- package/dist/vega/{p-e632475e.js → p-9c713bc0.js} +1 -1
- package/dist/vega/{p-3afc025e.entry.js → p-9dc77b66.entry.js} +1 -1
- package/dist/vega/{p-415ffa35.js → p-9f467a59.js} +1 -1
- package/dist/vega/p-a113fd15.entry.js +1 -0
- package/dist/vega/{p-4742feef.entry.js → p-a253e791.entry.js} +1 -1
- package/dist/vega/{p-0d4cb1c7.entry.js → p-a3272850.entry.js} +1 -1
- package/dist/vega/{p-b1773281.entry.js → p-a432708d.entry.js} +1 -1
- package/dist/vega/p-a57a7ab8.entry.js +1 -0
- package/dist/vega/{p-6d219c44.entry.js → p-a58bd510.entry.js} +1 -1
- package/dist/vega/{p-4ea30592.js → p-a957e15f.js} +1 -1
- package/dist/vega/{p-bff57aa4.js → p-abb81b7b.js} +1 -1
- package/dist/vega/{p-100b44c3.entry.js → p-ae6ed091.entry.js} +1 -1
- package/dist/vega/{p-03004a05.entry.js → p-b5e31243.entry.js} +1 -1
- package/dist/vega/{p-49845a91.js → p-b88ca09b.js} +1 -1
- package/dist/vega/{p-c2d2faa0.js → p-b901d624.js} +1 -1
- package/dist/vega/p-ba475520.entry.js +1 -0
- package/dist/vega/p-bdb5180c.js +1 -0
- package/dist/vega/p-bf04ff19.js +1 -0
- package/dist/vega/{p-1a51bf6f.js → p-c208a3b7.js} +1 -1
- package/dist/vega/{p-3c05abd9.entry.js → p-c25577ae.entry.js} +1 -1
- package/dist/vega/{p-1f3cd061.entry.js → p-c2560608.entry.js} +1 -1
- package/dist/vega/{p-0e679d8c.js → p-c2df94f6.js} +1 -1
- package/dist/vega/{p-cfecc1cb.entry.js → p-c3eec160.entry.js} +1 -1
- package/dist/vega/p-c6031d3f.entry.js +1 -0
- package/dist/vega/{p-70df91fb.entry.js → p-c87cf96a.entry.js} +1 -1
- package/dist/vega/{p-592296d7.entry.js → p-cc243e62.entry.js} +1 -1
- package/dist/vega/{p-cccd7648.entry.js → p-cd3d177b.entry.js} +1 -1
- package/dist/vega/{p-be1a210b.js → p-d0687ec0.js} +1 -1
- package/dist/vega/{p-b201f379.js → p-d25db724.js} +1 -1
- package/dist/vega/{p-aa1174dc.js → p-d42dbe39.js} +1 -1
- package/dist/vega/{p-9fb877c1.entry.js → p-d5570331.entry.js} +1 -1
- package/dist/vega/p-d5797747.js +1 -0
- package/dist/vega/{p-1a011d47.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-1fa0c7da.entry.js → p-f49e8cc5.entry.js} +1 -1
- package/dist/vega/p-f5b6059d.entry.js +1 -0
- package/dist/vega/p-fb40a829.js +1 -0
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +3 -2
- package/dist/vega/p-010ff53d.entry.js +0 -1
- package/dist/vega/p-168bb296.entry.js +0 -1
- package/dist/vega/p-40f39194.js +0 -1
- package/dist/vega/p-43ff48c0.entry.js +0 -1
- package/dist/vega/p-4aa94940.entry.js +0 -1
- package/dist/vega/p-4bee4202.entry.js +0 -1
- package/dist/vega/p-5cfce62d.entry.js +0 -1
- package/dist/vega/p-60f77f5f.entry.js +0 -1
- package/dist/vega/p-641cdb5c.entry.js +0 -1
- package/dist/vega/p-ab834f06.js +0 -1
- package/dist/vega/p-ac82b9f9.entry.js +0 -1
- package/dist/vega/p-b54dc37c.entry.js +0 -1
- package/dist/vega/p-b597393b.entry.js +0 -1
- package/dist/vega/p-b5f18f4b.entry.js +0 -1
- package/dist/vega/p-b7f3221f.js +0 -1
- package/dist/vega/p-c292ade4.entry.js +0 -1
- package/dist/vega/p-c3d2f316.js +0 -1
- package/dist/vega/p-cc5eaa1b.js +0 -1
- package/dist/vega/p-d1cfe972.entry.js +0 -1
- package/dist/vega/p-dad3ba5f.js +0 -1
- package/dist/vega/p-de64f6e6.js +0 -1
- package/dist/vega/p-e7fbef97.js +0 -1
- package/dist/vega/p-fc9ac6e9.entry.js +0 -1
|
@@ -32,12 +32,29 @@ import { VegaInputRenderer } from './slimmers/renderers/vega-input-renderer';
|
|
|
32
32
|
import { VegaInputValueController } from './slimmers/controllers/vega-input-value-controller';
|
|
33
33
|
import { VegaInputInputSuggestionsRenderer } from './slimmers/renderers/vega-input-input-suggestions-renderer';
|
|
34
34
|
import { VegaInputRenderModeController } from './slimmers/controllers/vega-input-render-mode-controller';
|
|
35
|
+
import { AriaAttributesValueMapper } from '../../helpers/slimmers/mutation-observer/aria-attributes-value-mapper';
|
|
36
|
+
import { DataTabIndexValueMapper } from '../../helpers/slimmers/mutation-observer/data-tab-index-value-mapper';
|
|
35
37
|
/**
|
|
36
38
|
* @vegaVersion 1.0.5
|
|
37
39
|
*/
|
|
38
40
|
export class VegaInput {
|
|
39
41
|
constructor() {
|
|
40
42
|
this.globalSlimmers = {};
|
|
43
|
+
this.ariaAttributesValueMapper = new AriaAttributesValueMapper(() => {
|
|
44
|
+
return this.host.shadowRoot.querySelector('input');
|
|
45
|
+
}, {
|
|
46
|
+
'aria-label': {
|
|
47
|
+
dependency: ['data-aria-label', 'label'],
|
|
48
|
+
defaultValue: 'No label defined',
|
|
49
|
+
},
|
|
50
|
+
'aria-hidden': {
|
|
51
|
+
dependency: ['data-aria-hidden'],
|
|
52
|
+
defaultValue: null,
|
|
53
|
+
},
|
|
54
|
+
});
|
|
55
|
+
this.dataTabIndexValueMapper = new DataTabIndexValueMapper(() => {
|
|
56
|
+
return this.host.shadowRoot.querySelector('input');
|
|
57
|
+
});
|
|
41
58
|
this.formFieldController = new FormFieldControllerSlimmer({
|
|
42
59
|
propertyRules: [
|
|
43
60
|
{
|
|
@@ -103,171 +120,279 @@ export class VegaInput {
|
|
|
103
120
|
this.vegaComponentUsageRuntimeMetricsSlimmer = new VegaComponentUsageRuntimeMetricsSlimmer(VegaInputRuntimeMetricsPayloadDefinition);
|
|
104
121
|
this.passwordEyeRenderer = new VegaInputPasswordEyeRenderer();
|
|
105
122
|
/**
|
|
106
|
-
* Specifies the label
|
|
123
|
+
* Specifies the visible label text displayed above the input field.
|
|
107
124
|
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
125
|
+
* The label provides an accessible, descriptive title that helps users identify
|
|
126
|
+
* the purpose or content expected in the input field. It is rendered as a
|
|
127
|
+
* `<vega-field-label>` element and is associated with the native `<input>` for
|
|
128
|
+
* accessibility (screen readers, click-to-focus).
|
|
110
129
|
*
|
|
130
|
+
* When set to an empty string, no label is rendered.
|
|
131
|
+
*
|
|
132
|
+
* @default ''
|
|
111
133
|
* @vegaVersion 1.0.5
|
|
112
134
|
*/
|
|
113
135
|
this.label = '';
|
|
114
136
|
/**
|
|
115
|
-
* @deprecated Please use `
|
|
116
|
-
*
|
|
117
|
-
* Specifies the properties for the suffix button associated with the input.
|
|
137
|
+
* @deprecated Please use `labelSuffixButtonConfig` instead.
|
|
118
138
|
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
139
|
+
* Configures an optional action button displayed at the trailing end of the
|
|
140
|
+
* field label. This can be used to provide contextual actions such as a
|
|
141
|
+
* "Forgot password?" link or an info tooltip trigger.
|
|
121
142
|
*
|
|
143
|
+
* @default null
|
|
122
144
|
* @vegaVersion 2.25.0
|
|
123
145
|
*/
|
|
124
146
|
this.labelSuffixButtonProps = null;
|
|
125
147
|
/**
|
|
126
|
-
*
|
|
148
|
+
* Configures an optional action button displayed at the trailing end of the
|
|
149
|
+
* field label. Use this to provide contextual actions such as a
|
|
150
|
+
* "Forgot password?" link, a help tooltip trigger, or any custom label-level action.
|
|
127
151
|
*
|
|
128
|
-
*
|
|
129
|
-
* related to the suffix button's role and behavior.
|
|
152
|
+
* When clicked, the `vegaLabelButtonClick` event is emitted.
|
|
130
153
|
*
|
|
154
|
+
* @default null
|
|
131
155
|
* @vegaVersion 2.68.0
|
|
132
156
|
*/
|
|
133
157
|
this.labelSuffixButtonConfig = null;
|
|
134
158
|
/**
|
|
135
|
-
*
|
|
159
|
+
* The current value of the input field.
|
|
136
160
|
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
161
|
+
* Use this property to programmatically set or read the input's value.
|
|
162
|
+
* The value is two-way bound — it updates when the user types and can be
|
|
163
|
+
* set externally to pre-fill or reset the field.
|
|
140
164
|
*
|
|
141
|
-
*
|
|
142
|
-
*
|
|
165
|
+
* When a `maskConfig` is applied, the displayed value may differ from the
|
|
166
|
+
* raw value (e.g., formatted phone numbers). The `vegaChange` event emits
|
|
167
|
+
* the current value whenever it changes.
|
|
143
168
|
*
|
|
169
|
+
* @default ''
|
|
144
170
|
* @vegaVersion 1.0.5
|
|
145
171
|
*/
|
|
146
172
|
/* eslint-disable-next-line @stencil/strict-mutable */
|
|
147
173
|
this.value = '';
|
|
148
174
|
/**
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
*
|
|
175
|
+
* Controls when the `vegaChange` event is emitted, allowing you to choose
|
|
176
|
+
* between real-time updates and committed-value updates.
|
|
177
|
+
*
|
|
178
|
+
* - `'input'` — Fires on every keystroke as the user types (real-time).
|
|
179
|
+
* - `'change'` — Fires only when the input loses focus or the user presses Enter,
|
|
180
|
+
* similar to the native HTML `change` event behavior.
|
|
152
181
|
*
|
|
182
|
+
* Use `'change'` for expensive operations (e.g., API calls) where you only need
|
|
183
|
+
* the final committed value. Use `'input'` for live search or filtering scenarios.
|
|
184
|
+
*
|
|
185
|
+
* @default 'input'
|
|
153
186
|
* @vegaVersion 2.24.0
|
|
154
187
|
*/
|
|
155
188
|
this.valueUpdateTrigger = 'input';
|
|
156
189
|
/**
|
|
157
|
-
*
|
|
190
|
+
* Sets the HTML input type, which controls the browser's input behavior,
|
|
191
|
+
* on-screen keyboard layout, and built-in validation.
|
|
158
192
|
*
|
|
159
|
-
*
|
|
160
|
-
*
|
|
193
|
+
* - `'text'` — Standard single-line text input.
|
|
194
|
+
* - `'email'` — Optimized for email entry; triggers email validation automatically.
|
|
195
|
+
* - `'password'` — Masks the entered characters; displays a show/hide toggle icon.
|
|
196
|
+
* - `'number'` — Restricts input to numeric values; may show increment/decrement controls.
|
|
197
|
+
* - `'hidden'` — Renders the input as invisible (useful for programmatic form values).
|
|
161
198
|
*
|
|
199
|
+
* @default 'text'
|
|
162
200
|
* @vegaVersion 1.0.9
|
|
163
201
|
*/
|
|
164
202
|
this.type = 'text';
|
|
165
203
|
/**
|
|
166
|
-
*
|
|
204
|
+
* Sets the `name` attribute on the underlying native `<input>` element.
|
|
167
205
|
*
|
|
206
|
+
* This is used to identify the field when submitting form data and is also
|
|
207
|
+
* used by the browser's autocomplete feature to recall previously entered values.
|
|
168
208
|
*
|
|
209
|
+
* @default ''
|
|
169
210
|
* @vegaVersion 1.0.5
|
|
170
211
|
*/
|
|
171
212
|
this.name = '';
|
|
172
213
|
/**
|
|
173
|
-
* Controls the autofill behavior
|
|
174
|
-
*
|
|
175
|
-
*
|
|
214
|
+
* Controls the browser's autofill and autocomplete behavior for this input.
|
|
215
|
+
*
|
|
216
|
+
* Set to a semantic token (e.g., `'email'`, `'tel'`, `'street-address'`) to help
|
|
217
|
+
* the browser suggest previously saved values. Set to `'off'` to disable
|
|
218
|
+
* autocomplete suggestions entirely.
|
|
176
219
|
*
|
|
220
|
+
* See the full list of valid tokens:
|
|
221
|
+
* https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/autocomplete
|
|
222
|
+
*
|
|
223
|
+
* @default 'off'
|
|
177
224
|
* @vegaVersion 1.0.5
|
|
178
225
|
*/
|
|
179
226
|
this.autocomplete = 'off';
|
|
180
227
|
/**
|
|
181
|
-
*
|
|
228
|
+
* When `true`, enforces email format validation on the input value.
|
|
182
229
|
*
|
|
183
|
-
*
|
|
184
|
-
*
|
|
230
|
+
* The validation checks that the entered text conforms to standard email
|
|
231
|
+
* formatting rules (e.g., `user@domain.com`). An invalid email will cause
|
|
232
|
+
* `isValid` to be set to `false` when validation is triggered.
|
|
185
233
|
*
|
|
186
|
-
* @deprecated Please use `type='email'` instead
|
|
234
|
+
* @deprecated Please use `type='email'` instead, which provides the same
|
|
235
|
+
* validation along with optimized mobile keyboard and browser autofill support.
|
|
236
|
+
* @default false
|
|
187
237
|
* @vegaVersion 1.0.5
|
|
188
238
|
*/
|
|
189
239
|
this.email = false;
|
|
190
240
|
/**
|
|
191
|
-
*
|
|
241
|
+
* Marks the input field as required for form submission.
|
|
242
|
+
*
|
|
243
|
+
* When `true`, a required-field validation rule is automatically applied.
|
|
244
|
+
* If `autoValidation` is enabled, the field will display a validation error
|
|
245
|
+
* when the user leaves it empty. A visual required indicator (asterisk) is
|
|
246
|
+
* shown next to the label.
|
|
192
247
|
*
|
|
248
|
+
* @default false
|
|
193
249
|
* @vegaVersion 1.0.5
|
|
194
250
|
*/
|
|
195
251
|
/* eslint-disable-next-line @stencil/strict-mutable */
|
|
196
252
|
this.required = false;
|
|
197
253
|
/**
|
|
198
|
-
* Sets the minimum allowable numeric value for the input
|
|
254
|
+
* Sets the minimum allowable numeric value for the input.
|
|
255
|
+
*
|
|
256
|
+
* When set, a `MinNumberRule` validation is applied automatically.
|
|
257
|
+
* If the user enters a number below this threshold, the field will
|
|
258
|
+
* be marked as invalid. Only applies when the input value is numeric.
|
|
199
259
|
*
|
|
260
|
+
* @default null
|
|
200
261
|
* @vegaVersion 1.0.5
|
|
201
262
|
*/
|
|
202
263
|
this.min = null;
|
|
203
264
|
/**
|
|
204
|
-
* Sets the maximum allowable numeric value for the input
|
|
265
|
+
* Sets the maximum allowable numeric value for the input.
|
|
205
266
|
*
|
|
267
|
+
* When set, a `MaxNumberRule` validation is applied automatically.
|
|
268
|
+
* If the user enters a number above this threshold, the field will
|
|
269
|
+
* be marked as invalid. Only applies when the input value is numeric.
|
|
270
|
+
*
|
|
271
|
+
* @default null
|
|
206
272
|
* @vegaVersion 1.0.5
|
|
207
273
|
*/
|
|
208
274
|
this.max = null;
|
|
209
275
|
/**
|
|
210
|
-
* Sets the minimum length
|
|
276
|
+
* Sets the minimum character length required for the input value.
|
|
277
|
+
*
|
|
278
|
+
* When set, a `MinStringLengthRule` validation is applied automatically.
|
|
279
|
+
* If the user enters fewer characters than specified, the field will be
|
|
280
|
+
* marked as invalid when validation is triggered.
|
|
211
281
|
*
|
|
282
|
+
* @default null
|
|
212
283
|
* @vegaVersion 1.0.5
|
|
213
284
|
*/
|
|
214
285
|
this.minLength = null;
|
|
215
286
|
/**
|
|
216
|
-
* Sets the maximum length
|
|
287
|
+
* Sets the maximum character length allowed for the input value.
|
|
217
288
|
*
|
|
289
|
+
* When set, a `MaxStringLengthRule` validation is applied automatically.
|
|
290
|
+
* If the user enters more characters than specified, the field will be
|
|
291
|
+
* marked as invalid when validation is triggered.
|
|
292
|
+
*
|
|
293
|
+
* @default null
|
|
218
294
|
* @vegaVersion 1.0.5
|
|
219
295
|
*/
|
|
220
296
|
this.maxLength = null;
|
|
221
297
|
/**
|
|
222
|
-
*
|
|
298
|
+
* Controls whether a clear (✕) icon button is displayed inside the input
|
|
299
|
+
* when the field has a non-empty value.
|
|
300
|
+
*
|
|
301
|
+
* When `true`, clicking the clear icon resets the input value to an empty
|
|
302
|
+
* string and emits a `vegaChange` event. Set to `false` to hide the icon
|
|
303
|
+
* (e.g., for inputs where clearing is not desired, such as read-only displays).
|
|
223
304
|
*
|
|
305
|
+
* @default true
|
|
224
306
|
* @vegaVersion 1.3.0
|
|
225
307
|
*/
|
|
226
308
|
this.showClearIcon = true;
|
|
227
309
|
/**
|
|
228
|
-
*
|
|
229
|
-
*
|
|
310
|
+
* Reflects the current validation state of the input field.
|
|
311
|
+
*
|
|
312
|
+
* - `true` — The field value passes all validation rules; no error styling is shown.
|
|
313
|
+
* - `false` — The field value is invalid; error styling and messages are displayed.
|
|
314
|
+
* - `null` — Validation has not yet been triggered (initial state).
|
|
230
315
|
*
|
|
316
|
+
* This property is automatically updated when `autoValidation` is `true`.
|
|
317
|
+
* It can also be set programmatically to force a specific validation state
|
|
318
|
+
* (e.g., after server-side validation).
|
|
319
|
+
*
|
|
320
|
+
* @default null
|
|
231
321
|
* @vegaVersion 1.3.0
|
|
232
322
|
*/
|
|
233
323
|
/* eslint-disable-next-line @stencil/strict-mutable */
|
|
234
324
|
this.isValid = null;
|
|
235
325
|
/**
|
|
236
|
-
*
|
|
237
|
-
*
|
|
326
|
+
* Enables or disables automatic validation as the user interacts with the input.
|
|
327
|
+
*
|
|
328
|
+
* When `true`, the component validates the input value in real-time against
|
|
329
|
+
* all configured validation rules (`required`, `min`, `max`, `minLength`,
|
|
330
|
+
* `maxLength`, `email`, and custom `validationRules`). Validation is triggered
|
|
331
|
+
* on blur and during input, updating the `isValid` property accordingly.
|
|
238
332
|
*
|
|
333
|
+
* Set to `false` when you need to manage validation manually (e.g., only on
|
|
334
|
+
* form submission).
|
|
335
|
+
*
|
|
336
|
+
* @default true
|
|
239
337
|
* @vegaVersion 1.0.10
|
|
240
338
|
*/
|
|
241
339
|
this.autoValidation = true;
|
|
242
340
|
/**
|
|
243
|
-
*
|
|
341
|
+
* An array of custom validation rules applied to the input field in addition
|
|
342
|
+
* to the built-in rules derived from `required`, `min`, `max`, `minLength`,
|
|
343
|
+
* `maxLength`, and `email` props.
|
|
344
|
+
*
|
|
345
|
+
* Each rule is a `FormFieldValidationRule` object that defines a validation
|
|
346
|
+
* function and an associated error message. Rules are evaluated in order;
|
|
347
|
+
* the first failing rule's message is displayed.
|
|
244
348
|
*
|
|
349
|
+
* @default []
|
|
245
350
|
* @vegaVersion 1.0.10
|
|
246
351
|
*/
|
|
247
352
|
this.validationRules = [];
|
|
248
353
|
/**
|
|
249
|
-
*
|
|
250
|
-
*
|
|
354
|
+
* Sets the visual size variant of the input field, affecting its height
|
|
355
|
+
* and internal padding.
|
|
356
|
+
*
|
|
357
|
+
* - `'default'` — Standard height (40px), suitable for most form layouts.
|
|
358
|
+
* - `'small'` — Compact height (32px), useful in dense or inline
|
|
359
|
+
* layouts. Such as table cells or toolbars.
|
|
251
360
|
*
|
|
361
|
+
* @default 'default'
|
|
252
362
|
* @vegaVersion 1.3.0
|
|
253
363
|
*/
|
|
254
364
|
this.size = 'default';
|
|
255
365
|
/**
|
|
256
|
-
*
|
|
366
|
+
* When `true`, disables the input field, preventing user interaction.
|
|
257
367
|
*
|
|
368
|
+
* A disabled input cannot receive focus, does not respond to click or keyboard
|
|
369
|
+
* events, and is visually styled with reduced opacity to indicate its inactive
|
|
370
|
+
* state. Disabled fields are excluded from form validation.
|
|
371
|
+
*
|
|
372
|
+
* @default false
|
|
258
373
|
* @vegaVersion 1.3.0
|
|
259
374
|
*/
|
|
260
375
|
this.disabled = false;
|
|
261
376
|
/**
|
|
262
|
-
*
|
|
263
|
-
*
|
|
377
|
+
* Displays a helper text message below the input field.
|
|
378
|
+
*
|
|
379
|
+
* Use this to provide additional guidance about the expected input, such as
|
|
380
|
+
* format requirements (e.g., `'Must be at least 8 characters'`) or contextual
|
|
381
|
+
* tips. The hint is rendered via the `<vega-hint>` sub-component and is
|
|
382
|
+
* replaced by an error message when validation fails.
|
|
264
383
|
*
|
|
384
|
+
* @default ''
|
|
265
385
|
* @vegaVersion 1.3.0
|
|
266
386
|
*/
|
|
267
387
|
this.hint = '';
|
|
268
388
|
/**
|
|
269
|
-
*
|
|
389
|
+
* When `true`, disables the ability to copy from or paste into the input field.
|
|
270
390
|
*
|
|
391
|
+
* This is useful for security-sensitive fields (e.g., password confirmation)
|
|
392
|
+
* where you want to prevent users from pasting values. Both keyboard shortcuts
|
|
393
|
+
* and context menu copy/paste actions are blocked.
|
|
394
|
+
*
|
|
395
|
+
* @default false
|
|
271
396
|
* @vegaVersion 2.1.0
|
|
272
397
|
*/
|
|
273
398
|
this.disableCopyPaste = false;
|
|
@@ -314,32 +439,56 @@ export class VegaInput {
|
|
|
314
439
|
methodPlaceholder();
|
|
315
440
|
}
|
|
316
441
|
/**
|
|
317
|
-
*
|
|
442
|
+
* Programmatically sets focus on the underlying native `<input>` element.
|
|
443
|
+
*
|
|
444
|
+
* Use this method when you need to direct the user's attention to this input
|
|
445
|
+
* (e.g., after form validation fails or on page load). Calling this method
|
|
446
|
+
* triggers the `vegaFocus` event.
|
|
318
447
|
*
|
|
448
|
+
* @returns A promise that resolves once focus has been applied.
|
|
319
449
|
* @vegaVersion 1.12.0
|
|
320
450
|
*/
|
|
321
451
|
async doFocus() {
|
|
322
452
|
methodPlaceholder();
|
|
323
453
|
}
|
|
324
454
|
/**
|
|
325
|
-
*
|
|
455
|
+
* Programmatically removes focus from the underlying native `<input>` element.
|
|
456
|
+
*
|
|
457
|
+
* Use this method when you need to dismiss the keyboard on mobile or move
|
|
458
|
+
* focus away from the input programmatically. Calling this method triggers
|
|
459
|
+
* the `vegaBlur` event and, if `autoValidation` is enabled, validation
|
|
460
|
+
* will be executed.
|
|
326
461
|
*
|
|
462
|
+
* @returns A promise that resolves once blur has been applied.
|
|
327
463
|
* @vegaVersion 1.12.0
|
|
328
464
|
*/
|
|
329
465
|
async doBlur() {
|
|
330
466
|
methodPlaceholder();
|
|
331
467
|
}
|
|
332
468
|
/**
|
|
333
|
-
*
|
|
469
|
+
* Programmatically opens the suggestions dropdown.
|
|
334
470
|
*
|
|
471
|
+
* Use this method when you need to display the dropdown independently of
|
|
472
|
+
* user input — for example, to show all available suggestions on focus
|
|
473
|
+
* or in response to an external trigger. Requires `suggestionsDropdownSource`
|
|
474
|
+
* to be set.
|
|
475
|
+
*
|
|
476
|
+
* @param dropdownConfig - Optional configuration to customize the dropdown
|
|
477
|
+
* behavior (e.g., itemDisplayRule, caseSensitive).
|
|
478
|
+
* @returns A promise that resolves once the dropdown is displayed.
|
|
335
479
|
* @vegaVersion 2.75.0
|
|
336
480
|
*/
|
|
337
481
|
async showSuggestionsDropdown(dropdownConfig) {
|
|
338
482
|
methodPlaceholder(dropdownConfig);
|
|
339
483
|
}
|
|
340
484
|
/**
|
|
341
|
-
*
|
|
485
|
+
* Programmatically closes the suggestions dropdown.
|
|
486
|
+
*
|
|
487
|
+
* Use this method when you need to dismiss the dropdown in response to an
|
|
488
|
+
* external event (e.g., pressing Escape, clicking outside, or completing
|
|
489
|
+
* a selection workflow).
|
|
342
490
|
*
|
|
491
|
+
* @returns A promise that resolves once the dropdown is hidden.
|
|
343
492
|
* @vegaVersion 2.75.0
|
|
344
493
|
*/
|
|
345
494
|
async hideSuggestionsDropdown() {
|
|
@@ -370,13 +519,16 @@ export class VegaInput {
|
|
|
370
519
|
"optional": false,
|
|
371
520
|
"docs": {
|
|
372
521
|
"tags": [{
|
|
522
|
+
"name": "default",
|
|
523
|
+
"text": "''"
|
|
524
|
+
}, {
|
|
373
525
|
"name": "vegaVersion",
|
|
374
526
|
"text": "1.0.5"
|
|
375
527
|
}],
|
|
376
|
-
"text": "Specifies the label
|
|
528
|
+
"text": "Specifies the visible label text displayed above the input field.\n\nThe label provides an accessible, descriptive title that helps users identify\nthe purpose or content expected in the input field. It is rendered as a\n`<vega-field-label>` element and is associated with the native `<input>` for\naccessibility (screen readers, click-to-focus).\n\nWhen set to an empty string, no label is rendered."
|
|
377
529
|
},
|
|
378
530
|
"attribute": "label",
|
|
379
|
-
"reflect":
|
|
531
|
+
"reflect": true,
|
|
380
532
|
"defaultValue": "''"
|
|
381
533
|
},
|
|
382
534
|
"labelSuffixButtonProps": {
|
|
@@ -401,7 +553,10 @@ export class VegaInput {
|
|
|
401
553
|
"docs": {
|
|
402
554
|
"tags": [{
|
|
403
555
|
"name": "deprecated",
|
|
404
|
-
"text": "Please use `
|
|
556
|
+
"text": "Please use `labelSuffixButtonConfig` instead.\n\nConfigures an optional action button displayed at the trailing end of the\nfield label. This can be used to provide contextual actions such as a\n\"Forgot password?\" link or an info tooltip trigger."
|
|
557
|
+
}, {
|
|
558
|
+
"name": "default",
|
|
559
|
+
"text": "null"
|
|
405
560
|
}, {
|
|
406
561
|
"name": "vegaVersion",
|
|
407
562
|
"text": "2.25.0"
|
|
@@ -431,10 +586,13 @@ export class VegaInput {
|
|
|
431
586
|
"optional": false,
|
|
432
587
|
"docs": {
|
|
433
588
|
"tags": [{
|
|
589
|
+
"name": "default",
|
|
590
|
+
"text": "null"
|
|
591
|
+
}, {
|
|
434
592
|
"name": "vegaVersion",
|
|
435
593
|
"text": "2.68.0"
|
|
436
594
|
}],
|
|
437
|
-
"text": "
|
|
595
|
+
"text": "Configures an optional action button displayed at the trailing end of the\nfield label. Use this to provide contextual actions such as a\n\"Forgot password?\" link, a help tooltip trigger, or any custom label-level action.\n\nWhen clicked, the `vegaLabelButtonClick` event is emitted."
|
|
438
596
|
},
|
|
439
597
|
"defaultValue": "null"
|
|
440
598
|
},
|
|
@@ -450,10 +608,13 @@ export class VegaInput {
|
|
|
450
608
|
"optional": false,
|
|
451
609
|
"docs": {
|
|
452
610
|
"tags": [{
|
|
611
|
+
"name": "default",
|
|
612
|
+
"text": "''"
|
|
613
|
+
}, {
|
|
453
614
|
"name": "vegaVersion",
|
|
454
615
|
"text": "1.0.5"
|
|
455
616
|
}],
|
|
456
|
-
"text": "
|
|
617
|
+
"text": "The current value of the input field.\n\nUse this property to programmatically set or read the input's value.\nThe value is two-way bound \u2014 it updates when the user types and can be\nset externally to pre-fill or reset the field.\n\nWhen a `maskConfig` is applied, the displayed value may differ from the\nraw value (e.g., formatted phone numbers). The `vegaChange` event emits\nthe current value whenever it changes."
|
|
457
618
|
},
|
|
458
619
|
"attribute": "value",
|
|
459
620
|
"reflect": true,
|
|
@@ -476,10 +637,13 @@ export class VegaInput {
|
|
|
476
637
|
"optional": false,
|
|
477
638
|
"docs": {
|
|
478
639
|
"tags": [{
|
|
640
|
+
"name": "default",
|
|
641
|
+
"text": "'input'"
|
|
642
|
+
}, {
|
|
479
643
|
"name": "vegaVersion",
|
|
480
644
|
"text": "2.24.0"
|
|
481
645
|
}],
|
|
482
|
-
"text": "
|
|
646
|
+
"text": "Controls when the `vegaChange` event is emitted, allowing you to choose\nbetween real-time updates and committed-value updates.\n\n- `'input'` \u2014 Fires on every keystroke as the user types (real-time).\n- `'change'` \u2014 Fires only when the input loses focus or the user presses Enter,\n similar to the native HTML `change` event behavior.\n\nUse `'change'` for expensive operations (e.g., API calls) where you only need\nthe final committed value. Use `'input'` for live search or filtering scenarios."
|
|
483
647
|
},
|
|
484
648
|
"attribute": "value-update-trigger",
|
|
485
649
|
"reflect": false,
|
|
@@ -502,10 +666,13 @@ export class VegaInput {
|
|
|
502
666
|
"optional": false,
|
|
503
667
|
"docs": {
|
|
504
668
|
"tags": [{
|
|
669
|
+
"name": "default",
|
|
670
|
+
"text": "'text'"
|
|
671
|
+
}, {
|
|
505
672
|
"name": "vegaVersion",
|
|
506
673
|
"text": "1.0.9"
|
|
507
674
|
}],
|
|
508
|
-
"text": "
|
|
675
|
+
"text": "Sets the HTML input type, which controls the browser's input behavior,\non-screen keyboard layout, and built-in validation.\n\n- `'text'` \u2014 Standard single-line text input.\n- `'email'` \u2014 Optimized for email entry; triggers email validation automatically.\n- `'password'` \u2014 Masks the entered characters; displays a show/hide toggle icon.\n- `'number'` \u2014 Restricts input to numeric values; may show increment/decrement controls.\n- `'hidden'` \u2014 Renders the input as invisible (useful for programmatic form values)."
|
|
509
676
|
},
|
|
510
677
|
"attribute": "type",
|
|
511
678
|
"reflect": true,
|
|
@@ -523,10 +690,13 @@ export class VegaInput {
|
|
|
523
690
|
"optional": false,
|
|
524
691
|
"docs": {
|
|
525
692
|
"tags": [{
|
|
693
|
+
"name": "default",
|
|
694
|
+
"text": "''"
|
|
695
|
+
}, {
|
|
526
696
|
"name": "vegaVersion",
|
|
527
697
|
"text": "1.0.5"
|
|
528
698
|
}],
|
|
529
|
-
"text": "
|
|
699
|
+
"text": "Sets the `name` attribute on the underlying native `<input>` element.\n\nThis is used to identify the field when submitting form data and is also\nused by the browser's autocomplete feature to recall previously entered values."
|
|
530
700
|
},
|
|
531
701
|
"attribute": "name",
|
|
532
702
|
"reflect": false,
|
|
@@ -549,10 +719,13 @@ export class VegaInput {
|
|
|
549
719
|
"optional": false,
|
|
550
720
|
"docs": {
|
|
551
721
|
"tags": [{
|
|
722
|
+
"name": "default",
|
|
723
|
+
"text": "'off'"
|
|
724
|
+
}, {
|
|
552
725
|
"name": "vegaVersion",
|
|
553
726
|
"text": "1.0.5"
|
|
554
727
|
}],
|
|
555
|
-
"text": "Controls the autofill behavior
|
|
728
|
+
"text": "Controls the browser's autofill and autocomplete behavior for this input.\n\nSet to a semantic token (e.g., `'email'`, `'tel'`, `'street-address'`) to help\nthe browser suggest previously saved values. Set to `'off'` to disable\nautocomplete suggestions entirely.\n\nSee the full list of valid tokens:\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/autocomplete"
|
|
556
729
|
},
|
|
557
730
|
"attribute": "autocomplete",
|
|
558
731
|
"reflect": false,
|
|
@@ -573,7 +746,7 @@ export class VegaInput {
|
|
|
573
746
|
"name": "vegaVersion",
|
|
574
747
|
"text": "2.71.0"
|
|
575
748
|
}],
|
|
576
|
-
"text": "
|
|
749
|
+
"text": "Provides a hint to the browser about the type of virtual keyboard to display\non mobile devices, independent of the `type` attribute.\n\n- `'text'` \u2014 Standard text keyboard.\n- `'numeric'` \u2014 Numeric keypad (digits only), useful for PIN codes or quantities.\n\nSee https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/inputmode for more details."
|
|
577
750
|
},
|
|
578
751
|
"attribute": "inputmode",
|
|
579
752
|
"reflect": false
|
|
@@ -593,7 +766,7 @@ export class VegaInput {
|
|
|
593
766
|
"name": "vegaVersion",
|
|
594
767
|
"text": "1.0.5"
|
|
595
768
|
}],
|
|
596
|
-
"text": "
|
|
769
|
+
"text": "Displays a Vega icon at the leading (left) side of the input field,\nproviding visual context about the expected input.\n\nPass a valid Vega icon name (e.g., `'search'`, `'email'`, `'lock'`).\nThe icon is rendered inside the input container and does not affect\nthe input's value or validation."
|
|
597
770
|
},
|
|
598
771
|
"attribute": "prefix-icon",
|
|
599
772
|
"reflect": true
|
|
@@ -611,12 +784,15 @@ export class VegaInput {
|
|
|
611
784
|
"docs": {
|
|
612
785
|
"tags": [{
|
|
613
786
|
"name": "deprecated",
|
|
614
|
-
"text": "Please use `type='email'` instead."
|
|
787
|
+
"text": "Please use `type='email'` instead, which provides the same\nvalidation along with optimized mobile keyboard and browser autofill support."
|
|
788
|
+
}, {
|
|
789
|
+
"name": "default",
|
|
790
|
+
"text": "false"
|
|
615
791
|
}, {
|
|
616
792
|
"name": "vegaVersion",
|
|
617
793
|
"text": "1.0.5"
|
|
618
794
|
}],
|
|
619
|
-
"text": "
|
|
795
|
+
"text": "When `true`, enforces email format validation on the input value.\n\nThe validation checks that the entered text conforms to standard email\nformatting rules (e.g., `user@domain.com`). An invalid email will cause\n`isValid` to be set to `false` when validation is triggered."
|
|
620
796
|
},
|
|
621
797
|
"attribute": "email",
|
|
622
798
|
"reflect": true,
|
|
@@ -634,10 +810,13 @@ export class VegaInput {
|
|
|
634
810
|
"optional": false,
|
|
635
811
|
"docs": {
|
|
636
812
|
"tags": [{
|
|
813
|
+
"name": "default",
|
|
814
|
+
"text": "false"
|
|
815
|
+
}, {
|
|
637
816
|
"name": "vegaVersion",
|
|
638
817
|
"text": "1.0.5"
|
|
639
818
|
}],
|
|
640
|
-
"text": "
|
|
819
|
+
"text": "Marks the input field as required for form submission.\n\nWhen `true`, a required-field validation rule is automatically applied.\nIf `autoValidation` is enabled, the field will display a validation error\nwhen the user leaves it empty. A visual required indicator (asterisk) is\nshown next to the label."
|
|
641
820
|
},
|
|
642
821
|
"attribute": "required",
|
|
643
822
|
"reflect": true,
|
|
@@ -655,10 +834,13 @@ export class VegaInput {
|
|
|
655
834
|
"optional": false,
|
|
656
835
|
"docs": {
|
|
657
836
|
"tags": [{
|
|
837
|
+
"name": "default",
|
|
838
|
+
"text": "null"
|
|
839
|
+
}, {
|
|
658
840
|
"name": "vegaVersion",
|
|
659
841
|
"text": "1.0.5"
|
|
660
842
|
}],
|
|
661
|
-
"text": "Sets the minimum allowable numeric value for the input value."
|
|
843
|
+
"text": "Sets the minimum allowable numeric value for the input.\n\nWhen set, a `MinNumberRule` validation is applied automatically.\nIf the user enters a number below this threshold, the field will\nbe marked as invalid. Only applies when the input value is numeric."
|
|
662
844
|
},
|
|
663
845
|
"attribute": "min",
|
|
664
846
|
"reflect": true,
|
|
@@ -676,10 +858,13 @@ export class VegaInput {
|
|
|
676
858
|
"optional": false,
|
|
677
859
|
"docs": {
|
|
678
860
|
"tags": [{
|
|
861
|
+
"name": "default",
|
|
862
|
+
"text": "null"
|
|
863
|
+
}, {
|
|
679
864
|
"name": "vegaVersion",
|
|
680
865
|
"text": "1.0.5"
|
|
681
866
|
}],
|
|
682
|
-
"text": "Sets the maximum allowable numeric value for the input value."
|
|
867
|
+
"text": "Sets the maximum allowable numeric value for the input.\n\nWhen set, a `MaxNumberRule` validation is applied automatically.\nIf the user enters a number above this threshold, the field will\nbe marked as invalid. Only applies when the input value is numeric."
|
|
683
868
|
},
|
|
684
869
|
"attribute": "max",
|
|
685
870
|
"reflect": true,
|
|
@@ -697,10 +882,13 @@ export class VegaInput {
|
|
|
697
882
|
"optional": false,
|
|
698
883
|
"docs": {
|
|
699
884
|
"tags": [{
|
|
885
|
+
"name": "default",
|
|
886
|
+
"text": "null"
|
|
887
|
+
}, {
|
|
700
888
|
"name": "vegaVersion",
|
|
701
889
|
"text": "1.0.5"
|
|
702
890
|
}],
|
|
703
|
-
"text": "Sets the minimum length
|
|
891
|
+
"text": "Sets the minimum character length required for the input value.\n\nWhen set, a `MinStringLengthRule` validation is applied automatically.\nIf the user enters fewer characters than specified, the field will be\nmarked as invalid when validation is triggered."
|
|
704
892
|
},
|
|
705
893
|
"attribute": "min-length",
|
|
706
894
|
"reflect": true,
|
|
@@ -718,10 +906,13 @@ export class VegaInput {
|
|
|
718
906
|
"optional": false,
|
|
719
907
|
"docs": {
|
|
720
908
|
"tags": [{
|
|
909
|
+
"name": "default",
|
|
910
|
+
"text": "null"
|
|
911
|
+
}, {
|
|
721
912
|
"name": "vegaVersion",
|
|
722
913
|
"text": "1.0.5"
|
|
723
914
|
}],
|
|
724
|
-
"text": "Sets the maximum length
|
|
915
|
+
"text": "Sets the maximum character length allowed for the input value.\n\nWhen set, a `MaxStringLengthRule` validation is applied automatically.\nIf the user enters more characters than specified, the field will be\nmarked as invalid when validation is triggered."
|
|
725
916
|
},
|
|
726
917
|
"attribute": "max-length",
|
|
727
918
|
"reflect": true,
|
|
@@ -739,10 +930,13 @@ export class VegaInput {
|
|
|
739
930
|
"optional": false,
|
|
740
931
|
"docs": {
|
|
741
932
|
"tags": [{
|
|
933
|
+
"name": "default",
|
|
934
|
+
"text": "true"
|
|
935
|
+
}, {
|
|
742
936
|
"name": "vegaVersion",
|
|
743
937
|
"text": "1.3.0"
|
|
744
938
|
}],
|
|
745
|
-
"text": "
|
|
939
|
+
"text": "Controls whether a clear (\u2715) icon button is displayed inside the input\nwhen the field has a non-empty value.\n\nWhen `true`, clicking the clear icon resets the input value to an empty\nstring and emits a `vegaChange` event. Set to `false` to hide the icon\n(e.g., for inputs where clearing is not desired, such as read-only displays)."
|
|
746
940
|
},
|
|
747
941
|
"attribute": "show-clear-icon",
|
|
748
942
|
"reflect": false,
|
|
@@ -760,10 +954,13 @@ export class VegaInput {
|
|
|
760
954
|
"optional": false,
|
|
761
955
|
"docs": {
|
|
762
956
|
"tags": [{
|
|
957
|
+
"name": "default",
|
|
958
|
+
"text": "null"
|
|
959
|
+
}, {
|
|
763
960
|
"name": "vegaVersion",
|
|
764
961
|
"text": "1.3.0"
|
|
765
962
|
}],
|
|
766
|
-
"text": "
|
|
963
|
+
"text": "Reflects the current validation state of the input field.\n\n- `true` \u2014 The field value passes all validation rules; no error styling is shown.\n- `false` \u2014 The field value is invalid; error styling and messages are displayed.\n- `null` \u2014 Validation has not yet been triggered (initial state).\n\nThis property is automatically updated when `autoValidation` is `true`.\nIt can also be set programmatically to force a specific validation state\n(e.g., after server-side validation)."
|
|
767
964
|
},
|
|
768
965
|
"attribute": "is-valid",
|
|
769
966
|
"reflect": true,
|
|
@@ -781,10 +978,13 @@ export class VegaInput {
|
|
|
781
978
|
"optional": false,
|
|
782
979
|
"docs": {
|
|
783
980
|
"tags": [{
|
|
981
|
+
"name": "default",
|
|
982
|
+
"text": "true"
|
|
983
|
+
}, {
|
|
784
984
|
"name": "vegaVersion",
|
|
785
985
|
"text": "1.0.10"
|
|
786
986
|
}],
|
|
787
|
-
"text": "
|
|
987
|
+
"text": "Enables or disables automatic validation as the user interacts with the input.\n\nWhen `true`, the component validates the input value in real-time against\nall configured validation rules (`required`, `min`, `max`, `minLength`,\n`maxLength`, `email`, and custom `validationRules`). Validation is triggered\non blur and during input, updating the `isValid` property accordingly.\n\nSet to `false` when you need to manage validation manually (e.g., only on\nform submission)."
|
|
788
988
|
},
|
|
789
989
|
"attribute": "auto-validation",
|
|
790
990
|
"reflect": true,
|
|
@@ -807,10 +1007,13 @@ export class VegaInput {
|
|
|
807
1007
|
"optional": false,
|
|
808
1008
|
"docs": {
|
|
809
1009
|
"tags": [{
|
|
1010
|
+
"name": "default",
|
|
1011
|
+
"text": "[]"
|
|
1012
|
+
}, {
|
|
810
1013
|
"name": "vegaVersion",
|
|
811
1014
|
"text": "1.0.10"
|
|
812
1015
|
}],
|
|
813
|
-
"text": "
|
|
1016
|
+
"text": "An array of custom validation rules applied to the input field in addition\nto the built-in rules derived from `required`, `min`, `max`, `minLength`,\n`maxLength`, and `email` props.\n\nEach rule is a `FormFieldValidationRule` object that defines a validation\nfunction and an associated error message. Rules are evaluated in order;\nthe first failing rule's message is displayed."
|
|
814
1017
|
},
|
|
815
1018
|
"defaultValue": "[]"
|
|
816
1019
|
},
|
|
@@ -826,10 +1029,13 @@ export class VegaInput {
|
|
|
826
1029
|
"optional": false,
|
|
827
1030
|
"docs": {
|
|
828
1031
|
"tags": [{
|
|
1032
|
+
"name": "default",
|
|
1033
|
+
"text": "'default'"
|
|
1034
|
+
}, {
|
|
829
1035
|
"name": "vegaVersion",
|
|
830
1036
|
"text": "1.3.0"
|
|
831
1037
|
}],
|
|
832
|
-
"text": "
|
|
1038
|
+
"text": "Sets the visual size variant of the input field, affecting its height\nand internal padding.\n\n- `'default'` \u2014 Standard height (40px), suitable for most form layouts.\n- `'small'` \u2014 Compact height (32px), useful in dense or inline\n layouts. Such as table cells or toolbars."
|
|
833
1039
|
},
|
|
834
1040
|
"attribute": "size",
|
|
835
1041
|
"reflect": false,
|
|
@@ -850,7 +1056,7 @@ export class VegaInput {
|
|
|
850
1056
|
"name": "vegaVersion",
|
|
851
1057
|
"text": "1.3.0"
|
|
852
1058
|
}],
|
|
853
|
-
"text": "
|
|
1059
|
+
"text": "Sets the placeholder text displayed inside the input when the value is empty.\n\nUse this to provide a short hint about the expected input format or content\n(e.g., `'Enter your email'`, `'MM/DD/YYYY'`). The placeholder text disappears\nas soon as the user begins typing.\n\n**Note:** Placeholder text is not a substitute for a `label` \u2014 always provide\na descriptive label for accessibility."
|
|
854
1060
|
},
|
|
855
1061
|
"attribute": "placeholder",
|
|
856
1062
|
"reflect": false
|
|
@@ -867,10 +1073,13 @@ export class VegaInput {
|
|
|
867
1073
|
"optional": false,
|
|
868
1074
|
"docs": {
|
|
869
1075
|
"tags": [{
|
|
1076
|
+
"name": "default",
|
|
1077
|
+
"text": "false"
|
|
1078
|
+
}, {
|
|
870
1079
|
"name": "vegaVersion",
|
|
871
1080
|
"text": "1.3.0"
|
|
872
1081
|
}],
|
|
873
|
-
"text": "
|
|
1082
|
+
"text": "When `true`, disables the input field, preventing user interaction.\n\nA disabled input cannot receive focus, does not respond to click or keyboard\nevents, and is visually styled with reduced opacity to indicate its inactive\nstate. Disabled fields are excluded from form validation."
|
|
874
1083
|
},
|
|
875
1084
|
"attribute": "disabled",
|
|
876
1085
|
"reflect": true,
|
|
@@ -888,10 +1097,13 @@ export class VegaInput {
|
|
|
888
1097
|
"optional": false,
|
|
889
1098
|
"docs": {
|
|
890
1099
|
"tags": [{
|
|
1100
|
+
"name": "default",
|
|
1101
|
+
"text": "''"
|
|
1102
|
+
}, {
|
|
891
1103
|
"name": "vegaVersion",
|
|
892
1104
|
"text": "1.3.0"
|
|
893
1105
|
}],
|
|
894
|
-
"text": "
|
|
1106
|
+
"text": "Displays a helper text message below the input field.\n\nUse this to provide additional guidance about the expected input, such as\nformat requirements (e.g., `'Must be at least 8 characters'`) or contextual\ntips. The hint is rendered via the `<vega-hint>` sub-component and is\nreplaced by an error message when validation fails."
|
|
895
1107
|
},
|
|
896
1108
|
"attribute": "hint",
|
|
897
1109
|
"reflect": false,
|
|
@@ -917,7 +1129,7 @@ export class VegaInput {
|
|
|
917
1129
|
"name": "vegaVersion",
|
|
918
1130
|
"text": "1.3.0"
|
|
919
1131
|
}],
|
|
920
|
-
"text": "
|
|
1132
|
+
"text": "Configures input masking to automatically format the user's input according\nto a predefined pattern.\n\nSupports built-in mask types (`'phone'`, `'zipcode'`, `'taxId'`,\n`'thousand-comma'`, `'number'`) as well as custom masks via `'custom'` or\n`'custom-formatter'` strategies.\n\nPass a single `MaskConfigType` object or an array of configs to apply\nmultiple masks. Each config specifies the mask `type`, optional formatting\n`options`, and a `trigger` (`'input'` or `'blur'`) to control when\nformatting is applied."
|
|
921
1133
|
}
|
|
922
1134
|
},
|
|
923
1135
|
"disableCopyPaste": {
|
|
@@ -932,10 +1144,13 @@ export class VegaInput {
|
|
|
932
1144
|
"optional": false,
|
|
933
1145
|
"docs": {
|
|
934
1146
|
"tags": [{
|
|
1147
|
+
"name": "default",
|
|
1148
|
+
"text": "false"
|
|
1149
|
+
}, {
|
|
935
1150
|
"name": "vegaVersion",
|
|
936
1151
|
"text": "2.1.0"
|
|
937
1152
|
}],
|
|
938
|
-
"text": "
|
|
1153
|
+
"text": "When `true`, disables the ability to copy from or paste into the input field.\n\nThis is useful for security-sensitive fields (e.g., password confirmation)\nwhere you want to prevent users from pasting values. Both keyboard shortcuts\nand context menu copy/paste actions are blocked."
|
|
939
1154
|
},
|
|
940
1155
|
"attribute": "disable-copy-paste",
|
|
941
1156
|
"reflect": false,
|
|
@@ -961,7 +1176,7 @@ export class VegaInput {
|
|
|
961
1176
|
"name": "vegaVersion",
|
|
962
1177
|
"text": "2.75.0"
|
|
963
1178
|
}],
|
|
964
|
-
"text": "
|
|
1179
|
+
"text": "Provides the data source for the input's autocomplete suggestion dropdown.\n\nPass an array of `VegaDropdownSourceItem` objects to enable the suggestions\nfeature. The dropdown appears as the user types, filtering items that match\nthe current input value. When the user selects a suggestion, the\n`vegaSuggestionItemClick` event is emitted.\n\n**Important:** You must set this property to at least an empty array (`[]`)\nto enable the suggestion dropdown. If left `undefined`, the feature is disabled."
|
|
965
1180
|
}
|
|
966
1181
|
}
|
|
967
1182
|
}; }
|
|
@@ -980,10 +1195,13 @@ export class VegaInput {
|
|
|
980
1195
|
"composed": true,
|
|
981
1196
|
"docs": {
|
|
982
1197
|
"tags": [{
|
|
1198
|
+
"name": "eventDetail",
|
|
1199
|
+
"text": "`string` \u2014 The current input value after the change."
|
|
1200
|
+
}, {
|
|
983
1201
|
"name": "vegaVersion",
|
|
984
1202
|
"text": "1.0.10"
|
|
985
1203
|
}],
|
|
986
|
-
"text": "
|
|
1204
|
+
"text": "Emitted when the input value changes.\n\nThe timing of this event depends on the `valueUpdateTrigger` prop:\n- When `valueUpdateTrigger` is `'input'` (default), fires on every keystroke.\n- When `valueUpdateTrigger` is `'change'`, fires on blur or when the user presses Enter.\n\nAlso fires when the user clicks the clear icon or when the value is\nprogrammatically updated."
|
|
987
1205
|
},
|
|
988
1206
|
"complexType": {
|
|
989
1207
|
"original": "string",
|
|
@@ -998,13 +1216,16 @@ export class VegaInput {
|
|
|
998
1216
|
"composed": true,
|
|
999
1217
|
"docs": {
|
|
1000
1218
|
"tags": [{
|
|
1219
|
+
"name": "eventDetail",
|
|
1220
|
+
"text": "`string` \u2014 The current input value after the change."
|
|
1221
|
+
}, {
|
|
1001
1222
|
"name": "eventSemantics",
|
|
1002
1223
|
"text": "namespace:native"
|
|
1003
1224
|
}, {
|
|
1004
1225
|
"name": "vegaVersion",
|
|
1005
1226
|
"text": "2.0.0"
|
|
1006
1227
|
}],
|
|
1007
|
-
"text": "
|
|
1228
|
+
"text": "Native-namespace alias for the `vegaChange` event.\n\nEmitted at the same time and under the same conditions as `vegaChange`.\nUse this event when integrating with frameworks that expect native-style\nevent names (e.g., `@change` in Vue or Angular)."
|
|
1008
1229
|
},
|
|
1009
1230
|
"complexType": {
|
|
1010
1231
|
"original": "string",
|
|
@@ -1019,10 +1240,13 @@ export class VegaInput {
|
|
|
1019
1240
|
"composed": true,
|
|
1020
1241
|
"docs": {
|
|
1021
1242
|
"tags": [{
|
|
1243
|
+
"name": "eventDetail",
|
|
1244
|
+
"text": "`string` \u2014 The raw value from the native input element."
|
|
1245
|
+
}, {
|
|
1022
1246
|
"name": "vegaVersion",
|
|
1023
1247
|
"text": "2.75.0"
|
|
1024
1248
|
}],
|
|
1025
|
-
"text": "
|
|
1249
|
+
"text": "Emitted on every native `input` event from the underlying `<input>` element,\nregardless of the `valueUpdateTrigger` setting.\n\nThis event fires on every keystroke and provides the raw input value.\nUse this for real-time monitoring (e.g., driving a suggestions dropdown)\nwhile keeping `vegaChange` set to `'change'` trigger for the main value binding."
|
|
1026
1250
|
},
|
|
1027
1251
|
"complexType": {
|
|
1028
1252
|
"original": "string",
|
|
@@ -1037,13 +1261,16 @@ export class VegaInput {
|
|
|
1037
1261
|
"composed": true,
|
|
1038
1262
|
"docs": {
|
|
1039
1263
|
"tags": [{
|
|
1264
|
+
"name": "eventDetail",
|
|
1265
|
+
"text": "`string` \u2014 The raw value from the native input element."
|
|
1266
|
+
}, {
|
|
1040
1267
|
"name": "eventSemantics",
|
|
1041
1268
|
"text": "namespace:native"
|
|
1042
1269
|
}, {
|
|
1043
1270
|
"name": "vegaVersion",
|
|
1044
1271
|
"text": "2.75.0"
|
|
1045
1272
|
}],
|
|
1046
|
-
"text": "
|
|
1273
|
+
"text": "Native-namespace alias for the `vegaNativeInputChange` event.\n\nEmitted at the same time and under the same conditions as\n`vegaNativeInputChange`. Use this event when integrating with frameworks\nthat expect native-style event names."
|
|
1047
1274
|
},
|
|
1048
1275
|
"complexType": {
|
|
1049
1276
|
"original": "string",
|
|
@@ -1058,10 +1285,13 @@ export class VegaInput {
|
|
|
1058
1285
|
"composed": true,
|
|
1059
1286
|
"docs": {
|
|
1060
1287
|
"tags": [{
|
|
1288
|
+
"name": "eventDetail",
|
|
1289
|
+
"text": "`undefined` \u2014 No payload; listen for the event occurrence only."
|
|
1290
|
+
}, {
|
|
1061
1291
|
"name": "vegaVersion",
|
|
1062
1292
|
"text": "1.3.0"
|
|
1063
1293
|
}],
|
|
1064
|
-
"text": "
|
|
1294
|
+
"text": "Emitted when the input field loses focus.\n\nThis event fires after the underlying native `<input>` element's `blur`\nevent. Useful for triggering validation, saving state, or updating UI\nwhen the user navigates away from the field."
|
|
1065
1295
|
},
|
|
1066
1296
|
"complexType": {
|
|
1067
1297
|
"original": "undefined",
|
|
@@ -1076,13 +1306,16 @@ export class VegaInput {
|
|
|
1076
1306
|
"composed": true,
|
|
1077
1307
|
"docs": {
|
|
1078
1308
|
"tags": [{
|
|
1309
|
+
"name": "eventDetail",
|
|
1310
|
+
"text": "`undefined` \u2014 No payload; listen for the event occurrence only."
|
|
1311
|
+
}, {
|
|
1079
1312
|
"name": "eventSemantics",
|
|
1080
1313
|
"text": "namespace:native"
|
|
1081
1314
|
}, {
|
|
1082
1315
|
"name": "vegaVersion",
|
|
1083
1316
|
"text": "2.0.0"
|
|
1084
1317
|
}],
|
|
1085
|
-
"text": "
|
|
1318
|
+
"text": "Native-namespace alias for the `vegaBlur` event.\n\nEmitted at the same time and under the same conditions as `vegaBlur`.\nUse this event when integrating with frameworks that expect native-style\nevent names."
|
|
1086
1319
|
},
|
|
1087
1320
|
"complexType": {
|
|
1088
1321
|
"original": "undefined",
|
|
@@ -1097,10 +1330,13 @@ export class VegaInput {
|
|
|
1097
1330
|
"composed": true,
|
|
1098
1331
|
"docs": {
|
|
1099
1332
|
"tags": [{
|
|
1333
|
+
"name": "eventDetail",
|
|
1334
|
+
"text": "`undefined` \u2014 No payload; listen for the event occurrence only."
|
|
1335
|
+
}, {
|
|
1100
1336
|
"name": "vegaVersion",
|
|
1101
1337
|
"text": "1.12.0"
|
|
1102
1338
|
}],
|
|
1103
|
-
"text": "
|
|
1339
|
+
"text": "Emitted when the input field receives focus.\n\nThis event fires after the underlying native `<input>` element's `focus`\nevent, including when focus is set programmatically via the `doFocus()` method.\nUseful for highlighting the field, showing contextual help, or opening\na suggestions dropdown."
|
|
1104
1340
|
},
|
|
1105
1341
|
"complexType": {
|
|
1106
1342
|
"original": "undefined",
|
|
@@ -1115,13 +1351,16 @@ export class VegaInput {
|
|
|
1115
1351
|
"composed": true,
|
|
1116
1352
|
"docs": {
|
|
1117
1353
|
"tags": [{
|
|
1354
|
+
"name": "eventDetail",
|
|
1355
|
+
"text": "`undefined` \u2014 No payload; listen for the event occurrence only."
|
|
1356
|
+
}, {
|
|
1118
1357
|
"name": "eventSemantics",
|
|
1119
1358
|
"text": "namespace:native"
|
|
1120
1359
|
}, {
|
|
1121
1360
|
"name": "vegaVersion",
|
|
1122
1361
|
"text": "2.0.0"
|
|
1123
1362
|
}],
|
|
1124
|
-
"text": "
|
|
1363
|
+
"text": "Native-namespace alias for the `vegaFocus` event.\n\nEmitted at the same time and under the same conditions as `vegaFocus`.\nUse this event when integrating with frameworks that expect native-style\nevent names."
|
|
1125
1364
|
},
|
|
1126
1365
|
"complexType": {
|
|
1127
1366
|
"original": "undefined",
|
|
@@ -1136,10 +1375,13 @@ export class VegaInput {
|
|
|
1136
1375
|
"composed": true,
|
|
1137
1376
|
"docs": {
|
|
1138
1377
|
"tags": [{
|
|
1378
|
+
"name": "eventDetail",
|
|
1379
|
+
"text": "`void` \u2014 No payload."
|
|
1380
|
+
}, {
|
|
1139
1381
|
"name": "vegaVersion",
|
|
1140
1382
|
"text": "2.25.0"
|
|
1141
1383
|
}],
|
|
1142
|
-
"text": "
|
|
1384
|
+
"text": "Emitted when the user clicks the suffix button in the field label.\n\nThis event only fires when a `labelSuffixButtonConfig` (or the deprecated\n`labelSuffixButtonProps`) is provided. Use it to handle contextual actions\nsuch as opening a tooltip, navigating to a help page, or triggering a\n\"Forgot password?\" flow."
|
|
1143
1385
|
},
|
|
1144
1386
|
"complexType": {
|
|
1145
1387
|
"original": "any",
|
|
@@ -1154,13 +1396,16 @@ export class VegaInput {
|
|
|
1154
1396
|
"composed": true,
|
|
1155
1397
|
"docs": {
|
|
1156
1398
|
"tags": [{
|
|
1399
|
+
"name": "eventDetail",
|
|
1400
|
+
"text": "`void` \u2014 No payload."
|
|
1401
|
+
}, {
|
|
1157
1402
|
"name": "eventSemantics",
|
|
1158
1403
|
"text": "namespace:native"
|
|
1159
1404
|
}, {
|
|
1160
1405
|
"name": "vegaVersion",
|
|
1161
1406
|
"text": "2.25.0"
|
|
1162
1407
|
}],
|
|
1163
|
-
"text": "
|
|
1408
|
+
"text": "Native-namespace alias for the `vegaLabelButtonClick` event.\n\nEmitted at the same time and under the same conditions as\n`vegaLabelButtonClick`. Use this event when integrating with frameworks\nthat expect native-style event names."
|
|
1164
1409
|
},
|
|
1165
1410
|
"complexType": {
|
|
1166
1411
|
"original": "any",
|
|
@@ -1175,10 +1420,13 @@ export class VegaInput {
|
|
|
1175
1420
|
"composed": true,
|
|
1176
1421
|
"docs": {
|
|
1177
1422
|
"tags": [{
|
|
1423
|
+
"name": "eventDetail",
|
|
1424
|
+
"text": "`DataTransferType` \u2014 An object containing the pasted data,\nincluding the MIME type and raw text content from the clipboard."
|
|
1425
|
+
}, {
|
|
1178
1426
|
"name": "vegaVersion",
|
|
1179
1427
|
"text": "2.66.0"
|
|
1180
1428
|
}],
|
|
1181
|
-
"text": "
|
|
1429
|
+
"text": "Emitted when the user pastes content into the input field.\n\nThis event fires regardless of the `disableCopyPaste` setting \u2014 the paste\naction is blocked visually, but the event still propagates for tracking\npurposes. Use this to inspect or transform pasted data before it is applied."
|
|
1182
1430
|
},
|
|
1183
1431
|
"complexType": {
|
|
1184
1432
|
"original": "DataTransferType",
|
|
@@ -1198,13 +1446,16 @@ export class VegaInput {
|
|
|
1198
1446
|
"composed": true,
|
|
1199
1447
|
"docs": {
|
|
1200
1448
|
"tags": [{
|
|
1449
|
+
"name": "eventDetail",
|
|
1450
|
+
"text": "`DataTransferType` \u2014 An object containing the pasted data,\nincluding the MIME type and raw text content from the clipboard."
|
|
1451
|
+
}, {
|
|
1201
1452
|
"name": "eventSemantics",
|
|
1202
1453
|
"text": "namespace:native"
|
|
1203
1454
|
}, {
|
|
1204
1455
|
"name": "vegaVersion",
|
|
1205
1456
|
"text": "2.66.0"
|
|
1206
1457
|
}],
|
|
1207
|
-
"text": "
|
|
1458
|
+
"text": "Native-namespace alias for the `vegaPaste` event.\n\nEmitted at the same time and under the same conditions as `vegaPaste`.\nUse this event when integrating with frameworks that expect native-style\nevent names."
|
|
1208
1459
|
},
|
|
1209
1460
|
"complexType": {
|
|
1210
1461
|
"original": "DataTransferType",
|
|
@@ -1224,10 +1475,13 @@ export class VegaInput {
|
|
|
1224
1475
|
"composed": true,
|
|
1225
1476
|
"docs": {
|
|
1226
1477
|
"tags": [{
|
|
1478
|
+
"name": "eventDetail",
|
|
1479
|
+
"text": "`VegaDropdownSourceItem` \u2014 The full data object of the selected\nsuggestion item, including its `label`, `value`, and any custom properties."
|
|
1480
|
+
}, {
|
|
1227
1481
|
"name": "vegaVersion",
|
|
1228
1482
|
"text": "2.75.0"
|
|
1229
1483
|
}],
|
|
1230
|
-
"text": "
|
|
1484
|
+
"text": "Emitted when the user selects an item from the suggestions dropdown.\n\nThis event only fires when the `suggestionsDropdownSource` prop is set.\nUse it to respond to the user's selection \u2014 for example, to populate\nrelated fields, navigate to a detail page, or trigger a search."
|
|
1231
1485
|
},
|
|
1232
1486
|
"complexType": {
|
|
1233
1487
|
"original": "VegaDropdownSourceItem",
|
|
@@ -1247,13 +1501,16 @@ export class VegaInput {
|
|
|
1247
1501
|
"composed": true,
|
|
1248
1502
|
"docs": {
|
|
1249
1503
|
"tags": [{
|
|
1504
|
+
"name": "eventDetail",
|
|
1505
|
+
"text": "`VegaDropdownSourceItem` \u2014 The full data object of the selected\nsuggestion item, including its `label`, `value`, and any custom properties."
|
|
1506
|
+
}, {
|
|
1250
1507
|
"name": "eventSemantics",
|
|
1251
1508
|
"text": "namespace:native"
|
|
1252
1509
|
}, {
|
|
1253
1510
|
"name": "vegaVersion",
|
|
1254
1511
|
"text": "2.75.0"
|
|
1255
1512
|
}],
|
|
1256
|
-
"text": "
|
|
1513
|
+
"text": "Native-namespace alias for the `vegaSuggestionItemClick` event.\n\nEmitted at the same time and under the same conditions as\n`vegaSuggestionItemClick`. Use this event when integrating with frameworks\nthat expect native-style event names."
|
|
1257
1514
|
},
|
|
1258
1515
|
"complexType": {
|
|
1259
1516
|
"original": "VegaDropdownSourceItem",
|
|
@@ -1279,8 +1536,11 @@ export class VegaInput {
|
|
|
1279
1536
|
"return": "Promise<void>"
|
|
1280
1537
|
},
|
|
1281
1538
|
"docs": {
|
|
1282
|
-
"text": "
|
|
1539
|
+
"text": "Programmatically sets focus on the underlying native `<input>` element.\n\nUse this method when you need to direct the user's attention to this input\n(e.g., after form validation fails or on page load). Calling this method\ntriggers the `vegaFocus` event.",
|
|
1283
1540
|
"tags": [{
|
|
1541
|
+
"name": "returns",
|
|
1542
|
+
"text": "A promise that resolves once focus has been applied."
|
|
1543
|
+
}, {
|
|
1284
1544
|
"name": "vegaVersion",
|
|
1285
1545
|
"text": "1.12.0"
|
|
1286
1546
|
}]
|
|
@@ -1298,8 +1558,11 @@ export class VegaInput {
|
|
|
1298
1558
|
"return": "Promise<void>"
|
|
1299
1559
|
},
|
|
1300
1560
|
"docs": {
|
|
1301
|
-
"text": "
|
|
1561
|
+
"text": "Programmatically removes focus from the underlying native `<input>` element.\n\nUse this method when you need to dismiss the keyboard on mobile or move\nfocus away from the input programmatically. Calling this method triggers\nthe `vegaBlur` event and, if `autoValidation` is enabled, validation\nwill be executed.",
|
|
1302
1562
|
"tags": [{
|
|
1563
|
+
"name": "returns",
|
|
1564
|
+
"text": "A promise that resolves once blur has been applied."
|
|
1565
|
+
}, {
|
|
1303
1566
|
"name": "vegaVersion",
|
|
1304
1567
|
"text": "1.12.0"
|
|
1305
1568
|
}]
|
|
@@ -1309,8 +1572,11 @@ export class VegaInput {
|
|
|
1309
1572
|
"complexType": {
|
|
1310
1573
|
"signature": "(dropdownConfig?: VegaInputSuggestionsDropdownConfig) => Promise<void>",
|
|
1311
1574
|
"parameters": [{
|
|
1312
|
-
"tags": [
|
|
1313
|
-
|
|
1575
|
+
"tags": [{
|
|
1576
|
+
"name": "param",
|
|
1577
|
+
"text": "dropdownConfig - Optional configuration to customize the dropdown\nbehavior (e.g., itemDisplayRule, caseSensitive)."
|
|
1578
|
+
}],
|
|
1579
|
+
"text": "- Optional configuration to customize the dropdown\nbehavior (e.g., itemDisplayRule, caseSensitive)."
|
|
1314
1580
|
}],
|
|
1315
1581
|
"references": {
|
|
1316
1582
|
"Promise": {
|
|
@@ -1324,8 +1590,14 @@ export class VegaInput {
|
|
|
1324
1590
|
"return": "Promise<void>"
|
|
1325
1591
|
},
|
|
1326
1592
|
"docs": {
|
|
1327
|
-
"text": "
|
|
1593
|
+
"text": "Programmatically opens the suggestions dropdown.\n\nUse this method when you need to display the dropdown independently of\nuser input \u2014 for example, to show all available suggestions on focus\nor in response to an external trigger. Requires `suggestionsDropdownSource`\nto be set.",
|
|
1328
1594
|
"tags": [{
|
|
1595
|
+
"name": "param",
|
|
1596
|
+
"text": "dropdownConfig - Optional configuration to customize the dropdown\nbehavior (e.g., itemDisplayRule, caseSensitive)."
|
|
1597
|
+
}, {
|
|
1598
|
+
"name": "returns",
|
|
1599
|
+
"text": "A promise that resolves once the dropdown is displayed."
|
|
1600
|
+
}, {
|
|
1329
1601
|
"name": "vegaVersion",
|
|
1330
1602
|
"text": "2.75.0"
|
|
1331
1603
|
}]
|
|
@@ -1343,8 +1615,11 @@ export class VegaInput {
|
|
|
1343
1615
|
"return": "Promise<void>"
|
|
1344
1616
|
},
|
|
1345
1617
|
"docs": {
|
|
1346
|
-
"text": "
|
|
1618
|
+
"text": "Programmatically closes the suggestions dropdown.\n\nUse this method when you need to dismiss the dropdown in response to an\nexternal event (e.g., pressing Escape, clicking outside, or completing\na selection workflow).",
|
|
1347
1619
|
"tags": [{
|
|
1620
|
+
"name": "returns",
|
|
1621
|
+
"text": "A promise that resolves once the dropdown is hidden."
|
|
1622
|
+
}, {
|
|
1348
1623
|
"name": "vegaVersion",
|
|
1349
1624
|
"text": "2.75.0"
|
|
1350
1625
|
}]
|
|
@@ -1375,6 +1650,12 @@ export class VegaInput {
|
|
|
1375
1650
|
__decorate([
|
|
1376
1651
|
InjectVegaGlobalSlimmer()
|
|
1377
1652
|
], VegaInput.prototype, "globalSlimmers", void 0);
|
|
1653
|
+
__decorate([
|
|
1654
|
+
InjectVegaSlimmer()
|
|
1655
|
+
], VegaInput.prototype, "ariaAttributesValueMapper", void 0);
|
|
1656
|
+
__decorate([
|
|
1657
|
+
InjectVegaSlimmer()
|
|
1658
|
+
], VegaInput.prototype, "dataTabIndexValueMapper", void 0);
|
|
1378
1659
|
__decorate([
|
|
1379
1660
|
InjectVegaSlimmer()
|
|
1380
1661
|
], VegaInput.prototype, "formFieldController", void 0);
|