@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.
Files changed (445) hide show
  1. package/dist/cjs/{app-globals-04e7024b.js → app-globals-55e26945.js} +6 -6
  2. package/dist/cjs/{aria-attributes-value-mapper-f58c73f8.js → aria-attributes-value-mapper-9a41b9cf.js} +10 -3
  3. package/dist/cjs/{breakpoints-751d433a.js → breakpoints-a8ff22f0.js} +1 -1
  4. package/dist/cjs/{child-nodes-event-prevent-slimmer-cc6d2919.js → child-nodes-event-prevent-slimmer-dd0bb8b6.js} +1 -1
  5. package/dist/cjs/{code-block-f1480ec3.js → code-block-1a5fafed.js} +2 -2
  6. package/dist/cjs/{component-value-history-controller-slimmer.abstract-a9264cc8.js → component-value-history-controller-slimmer.abstract-42683f23.js} +4 -4
  7. package/dist/cjs/{date-required-rule-912469e0.js → date-required-rule-ad536cb5.js} +1 -1
  8. package/dist/cjs/{design-token-c49717c8.js → design-token-45ebd5e4.js} +3 -3
  9. package/dist/cjs/{dto-renderer-manager-809c947b.js → dto-renderer-manager-7557d562.js} +3 -3
  10. package/dist/cjs/{element-appender-slimmer-38583ca9.js → element-appender-slimmer-16ec8591.js} +181 -22
  11. package/dist/cjs/{event-emit-slimmer-062cdcb8.js → event-emit-slimmer-c84121c8.js} +1 -1
  12. package/dist/cjs/{form-field-controller-slimmer-102f37c7.js → form-field-controller-slimmer-73f5849e.js} +4 -4
  13. package/dist/cjs/{image-annotation-action-8d9fa20c.js → image-annotation-action-f275863e.js} +3 -3
  14. package/dist/cjs/index.cjs.js +18 -18
  15. package/dist/cjs/{inject-keyboard-manager-0f5bd568.js → inject-keyboard-manager-6667c0f1.js} +1 -1
  16. package/dist/cjs/{internal-translation-controller-053eb0f1.js → internal-translation-controller-24df468f.js} +16 -0
  17. package/dist/cjs/{internal-vega-event-manager-f7ecf3d4.js → internal-vega-event-manager-cc0f511c.js} +2 -2
  18. package/dist/cjs/{keyboard-manager-055e9f67.js → keyboard-manager-7de7ecfd.js} +1 -1
  19. package/dist/cjs/{keyboard-manager-slimmer-0cc0c1c7.js → keyboard-manager-slimmer-b44f0dc9.js} +1 -1
  20. package/dist/cjs/loader.cjs.js +14 -14
  21. package/dist/cjs/{month-view-generator-6a6dd527.js → month-view-generator-36c42772.js} +1 -1
  22. package/dist/cjs/{page-resize-observer-slimmer-7f065ee1.js → page-resize-observer-slimmer-e050cd26.js} +1 -1
  23. package/dist/cjs/{public-rules-922849f3.js → public-rules-6c6cb4ac.js} +9 -9
  24. package/dist/cjs/{range-8aa49b08.js → range-e298d4aa.js} +1 -1
  25. package/dist/cjs/{responsive-format-facade-acc39a40.js → responsive-format-facade-bddac47c.js} +3 -3
  26. package/dist/cjs/{rich-text-editor-required-rule-22225840.js → rich-text-editor-required-rule-6346a888.js} +1 -1
  27. package/dist/cjs/{string-format-strategy.abstract-f2575647.js → string-format-strategy.abstract-814d66c4.js} +1 -1
  28. package/dist/cjs/{string-input-formatter-slimmer-0a334fc6.js → string-input-formatter-slimmer-749e3cfe.js} +3 -3
  29. package/dist/cjs/{string-mask-strategy-dda58395.js → string-mask-strategy-d00871c2.js} +2 -2
  30. package/dist/cjs/{style-formatter-028af284.js → style-formatter-94c1a1ff.js} +2 -2
  31. package/dist/cjs/{sub-state-notify-slimmer-58121111.js → sub-state-notify-slimmer-ac1dae32.js} +1 -1
  32. package/dist/cjs/{sub-state-observer-slimmer-1dfbc4c3.js → sub-state-observer-slimmer-e692d849.js} +1 -1
  33. package/dist/cjs/{time-required-rule-d6fa7aa8.js → time-required-rule-f1f3c8c2.js} +1 -1
  34. package/dist/cjs/{token-extension-ffcaeae0.js → token-extension-1e98ddf3.js} +7 -7
  35. package/dist/cjs/{translation-slimmer-4533bd67.js → translation-slimmer-3fa03d81.js} +1 -1
  36. package/dist/cjs/{type-guard-407ba0b8.js → type-guard-a0d9ff1f.js} +37 -2
  37. package/dist/cjs/{ui-32e69595.js → ui-024696c0.js} +8 -1
  38. package/dist/cjs/{valid-credit-card-number-rule-41a8b51b.js → valid-credit-card-number-rule-cba7d66a.js} +1 -1
  39. package/dist/cjs/vega-accordion.cjs.entry.js +9 -9
  40. package/dist/cjs/vega-app-header-button.cjs.entry.js +31 -13
  41. package/dist/cjs/vega-banner.cjs.entry.js +3 -3
  42. package/dist/cjs/vega-box.cjs.entry.js +8 -8
  43. package/dist/cjs/vega-breadcrumb.cjs.entry.js +4 -4
  44. package/dist/cjs/vega-button-circle.cjs.entry.js +12 -12
  45. package/dist/cjs/vega-button-group_2.cjs.entry.js +7 -7
  46. package/dist/cjs/vega-button-link.cjs.entry.js +20 -4
  47. package/dist/cjs/vega-button.cjs.entry.js +11 -11
  48. package/dist/cjs/vega-calendar_4.cjs.entry.js +15 -15
  49. package/dist/cjs/vega-card.cjs.entry.js +6 -6
  50. package/dist/cjs/vega-carousel.cjs.entry.js +9 -9
  51. package/dist/cjs/vega-checkbox_2.cjs.entry.js +11 -11
  52. package/dist/cjs/vega-chip.cjs.entry.js +11 -11
  53. package/dist/cjs/vega-code-block.cjs.entry.js +16 -15
  54. package/dist/cjs/vega-color-picker.cjs.entry.js +10 -10
  55. package/dist/cjs/vega-combo-box.cjs.entry.js +14 -14
  56. package/dist/cjs/vega-date-picker_2.cjs.entry.js +113 -32
  57. package/dist/cjs/vega-dialog_2.cjs.entry.js +11 -11
  58. package/dist/cjs/vega-divider.cjs.entry.js +7 -7
  59. package/dist/cjs/vega-dropdown_5.cjs.entry.js +41 -17
  60. package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
  61. package/dist/cjs/{vega-event-id-ee01d8dd.js → vega-event-id-c08ce3d3.js} +2 -0
  62. package/dist/cjs/vega-field-label.cjs.entry.js +3 -3
  63. package/dist/cjs/vega-file-uploader.cjs.entry.js +11 -11
  64. package/dist/cjs/vega-flag-icon.cjs.entry.js +6 -6
  65. package/dist/cjs/vega-flex.cjs.entry.js +9 -9
  66. package/dist/cjs/vega-font.cjs.entry.js +7 -7
  67. package/dist/cjs/vega-form.cjs.entry.js +13 -13
  68. package/dist/cjs/vega-grid.cjs.entry.js +6 -6
  69. package/dist/cjs/vega-icon.cjs.entry.js +6 -6
  70. package/dist/cjs/vega-image-uploader.cjs.entry.js +14 -14
  71. package/dist/cjs/vega-input-credit-card.cjs.entry.js +16 -16
  72. package/dist/cjs/vega-input-numeric.cjs.entry.js +102 -42
  73. package/dist/cjs/vega-input-passcode.cjs.entry.js +109 -36
  74. package/dist/cjs/vega-input-phone-number.cjs.entry.js +91 -41
  75. package/dist/cjs/vega-input-range.cjs.entry.js +27 -12
  76. package/dist/cjs/vega-input-select.cjs.entry.js +17 -17
  77. package/dist/cjs/vega-input.cjs.entry.js +414 -187
  78. package/dist/cjs/{vega-internal-event-id-f2465f1b.js → vega-internal-event-id-e0aeac45.js} +2 -0
  79. package/dist/cjs/vega-item-toggle.cjs.entry.js +4 -4
  80. package/dist/cjs/vega-left-nav_5.cjs.entry.js +15 -16
  81. package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +6 -6
  82. package/dist/cjs/vega-page-notification_2.cjs.entry.js +1 -1
  83. package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +4 -4
  84. package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +4 -4
  85. package/dist/cjs/vega-pagination.cjs.entry.js +12 -12
  86. package/dist/cjs/vega-popover_2.cjs.entry.js +15 -15
  87. package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +12 -12
  88. package/dist/cjs/vega-radio_2.cjs.entry.js +14 -14
  89. package/dist/cjs/vega-rich-text-content.cjs.entry.js +17 -11
  90. package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +589 -396
  91. package/dist/cjs/vega-segment-control.cjs.entry.js +6 -6
  92. package/dist/cjs/vega-selection-chip_2.cjs.entry.js +14 -14
  93. package/dist/cjs/vega-selection-tile_2.cjs.entry.js +12 -12
  94. package/dist/cjs/vega-sidenav_3.cjs.entry.js +12 -12
  95. package/dist/cjs/vega-signature-capture.cjs.entry.js +14 -14
  96. package/dist/cjs/vega-stepper.cjs.entry.js +12 -12
  97. package/dist/cjs/vega-tab-group_2.cjs.entry.js +7 -7
  98. package/dist/cjs/vega-table_11.cjs.entry.js +14 -14
  99. package/dist/cjs/vega-text.cjs.entry.js +3 -3
  100. package/dist/cjs/vega-textarea.cjs.entry.js +110 -42
  101. package/dist/cjs/vega-time-picker_2.cjs.entry.js +18 -18
  102. package/dist/cjs/vega-toggle-switch.cjs.entry.js +10 -10
  103. package/dist/cjs/vega-tooltip_2.cjs.entry.js +11 -11
  104. package/dist/cjs/vega.cjs.js +14 -14
  105. package/dist/cjs/{wait-for-component-did-render-70a01bf9.js → wait-for-component-did-render-cbebfc33.js} +1 -1
  106. package/dist/collection/components/vega-app-header-button/vega-app-header-button.js +44 -2
  107. package/dist/collection/components/vega-button-link/vega-button-link.js +16 -1
  108. package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-event-preview-popover-renderer.js +1 -1
  109. package/dist/collection/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.js +1 -1
  110. package/dist/collection/components/vega-code-block/slimmers/renderers/vega-code-block-content-renderer.js +4 -0
  111. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-open-state-controller.js +64 -0
  112. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-selection-controller.js +3 -0
  113. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-header-render.js +3 -3
  114. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-renderer.js +19 -1
  115. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-year-month-switcher-renderer.js +3 -2
  116. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-month-item-renderer.js +3 -2
  117. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.css +12 -0
  118. package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.js +25 -0
  119. package/dist/collection/components/vega-flex/vega-flex.css +32 -0
  120. package/dist/collection/components/vega-flex/vega-flex.js +1 -1
  121. package/dist/collection/components/vega-grid/vega-grid.js +2 -2
  122. package/dist/collection/components/vega-input/slimmers/controllers/vega-input-render-mode-controller.js +1 -3
  123. package/dist/collection/components/vega-input/slimmers/renderers/vega-input-input-container-renderer.js +1 -5
  124. package/dist/collection/components/vega-input/slimmers/renderers/vega-input-input-renderer.js +1 -4
  125. package/dist/collection/components/vega-input/slimmers/renderers/vega-input-input-suggestions-renderer.js +5 -2
  126. package/dist/collection/components/vega-input/slimmers/renderers/vega-input-prefix-slot-renderer.js +1 -1
  127. package/dist/collection/components/vega-input/vega-input.js +382 -101
  128. package/dist/collection/components/vega-input-credit-card/vega-input-credit-card.js +1 -1
  129. package/dist/collection/components/vega-input-numeric/vega-input-numeric.js +175 -49
  130. package/dist/collection/components/vega-input-passcode/slimmers/controllers/vega-input-passcode-keyboard-controller.js +2 -0
  131. package/dist/collection/components/vega-input-passcode/slimmers/renderers/vega-input-passcode-renderer.js +30 -2
  132. package/dist/collection/components/vega-input-passcode/vega-input-passcode.js +123 -35
  133. package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.js +145 -56
  134. package/dist/collection/components/vega-input-range/slimmers/renderers/vega-input-range-input-renderer.js +15 -0
  135. package/dist/collection/components/vega-input-select/vega-input-select.js +6 -5
  136. package/dist/collection/components/vega-nav/vega-left-nav-link/slimmers/renderers/vega-left-nav-link-renderer.js +2 -3
  137. package/dist/collection/components/vega-popover/vega-popover-content-box/vega-popover-content-box.css +5 -0
  138. package/dist/collection/components/vega-radio/vega-radio-group/vega-radio-group.js +1 -1
  139. package/dist/collection/components/vega-rich-text-editor/dto/renderers/nodes/image-node-renderer.js +7 -1
  140. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/insert-image-controller.js +7 -4
  141. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/image-toolbar-button-slimmer.js +113 -12
  142. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/source-edit-toolbar-button-slimmer.js +2 -2
  143. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-renderer.js +4 -17
  144. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-source-view-renderer.js +102 -0
  145. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.js +49 -1
  146. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-image-editor/slimmers/renderers/vega-rich-text-image-editor-renderer.js +1 -1
  147. package/dist/collection/components/vega-stepper/vega-stepper.js +1 -1
  148. package/dist/collection/components/vega-textarea/vega-textarea.js +183 -52
  149. package/dist/collection/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.css +5 -0
  150. package/dist/collection/constants/ui.js +9 -1
  151. package/dist/collection/helpers/calendar/test/utils.test.js +54 -1
  152. package/dist/collection/helpers/calendar/utils.js +35 -0
  153. package/dist/collection/helpers/event-manager/event-id/component-event-id-map.js +2 -2
  154. package/dist/collection/helpers/event-manager/event-id/vega-event-id.js +1 -0
  155. package/dist/collection/helpers/event-manager/event-id/vega-internal-event-id.js +1 -0
  156. package/dist/collection/helpers/slimmers/element-appender/element-appender-slimmer.js +27 -0
  157. package/dist/collection/helpers/slimmers/element-appender/test/element-appender-slimmer.test.js +50 -0
  158. package/dist/collection/helpers/slimmers/mutation-observer/aria-attributes-value-mapper.js +10 -3
  159. package/dist/collection/helpers/slimmers/mutation-observer/data-tab-index-value-mapper.js +80 -0
  160. package/dist/collection/helpers/slimmers/mutation-observer/test/aria-attributes-value-mapper.test.js +55 -3
  161. package/dist/collection/helpers/slimmers/mutation-observer/test/data-tab-index-value-mapper.test.js +120 -0
  162. package/dist/collection/helpers/slimmers/position-calculation/base-position-calculation-strategy.js +123 -9
  163. package/dist/collection/helpers/slimmers/position-calculation/position-calculation-controller.js +14 -4
  164. package/dist/collection/helpers/slimmers/position-calculation/screen-position-calculation-strategy.js +13 -4
  165. package/dist/collection/helpers/slimmers/position-calculation/test/body-position-calculation-strategy.test.js +7 -6
  166. package/dist/collection/helpers/slimmers/position-calculation/test/screen-position-calculation-strategy.test.js +162 -7
  167. package/dist/collection/helpers/translation/locales/en.js +16 -0
  168. package/dist/collection/helpers/translation/tests/internal-translation-controller.test.js +17 -0
  169. package/dist/collection/helpers/translation/tests/translation.test.js +14 -0
  170. package/dist/collection/helpers/ui/test/element-appender.test.js +7 -5
  171. package/dist/collection/utils/e2e-utils.js +6 -0
  172. package/dist/esm/{app-globals-32055795.js → app-globals-3b97bb20.js} +6 -6
  173. package/dist/esm/{aria-attributes-value-mapper-d4fef46a.js → aria-attributes-value-mapper-2c632641.js} +10 -3
  174. package/dist/esm/{breakpoints-56e5407b.js → breakpoints-13353e09.js} +1 -1
  175. package/dist/esm/{child-nodes-event-prevent-slimmer-331312b8.js → child-nodes-event-prevent-slimmer-4feabae0.js} +1 -1
  176. package/dist/esm/{code-block-b6247a45.js → code-block-d65bab61.js} +2 -2
  177. package/dist/esm/{component-value-history-controller-slimmer.abstract-2bb8533d.js → component-value-history-controller-slimmer.abstract-556fcf2a.js} +4 -4
  178. package/dist/esm/{date-required-rule-e771e7d9.js → date-required-rule-4ffd9cae.js} +1 -1
  179. package/dist/esm/{design-token-5bc034e1.js → design-token-b518a2aa.js} +3 -3
  180. package/dist/esm/{dto-renderer-manager-6fd22ab7.js → dto-renderer-manager-73df5cbe.js} +3 -3
  181. package/dist/esm/{element-appender-slimmer-9ea377d0.js → element-appender-slimmer-36b7a572.js} +181 -22
  182. package/dist/esm/{event-emit-slimmer-ffaecb9a.js → event-emit-slimmer-f879fd58.js} +1 -1
  183. package/dist/esm/{form-field-controller-slimmer-5817d14d.js → form-field-controller-slimmer-9a880420.js} +4 -4
  184. package/dist/esm/{image-annotation-action-6701b4c9.js → image-annotation-action-eb3dcad5.js} +3 -3
  185. package/dist/esm/index.js +18 -18
  186. package/dist/esm/{inject-keyboard-manager-78730062.js → inject-keyboard-manager-e5481833.js} +1 -1
  187. package/dist/esm/{internal-translation-controller-911515f9.js → internal-translation-controller-0787a7a7.js} +16 -0
  188. package/dist/esm/{internal-vega-event-manager-32a3d848.js → internal-vega-event-manager-3aebbe55.js} +2 -2
  189. package/dist/esm/{keyboard-manager-38934f94.js → keyboard-manager-4dfc625f.js} +1 -1
  190. package/dist/esm/{keyboard-manager-slimmer-9984d922.js → keyboard-manager-slimmer-87bf68f1.js} +1 -1
  191. package/dist/esm/loader.js +14 -14
  192. package/dist/esm/{month-view-generator-eaf9029c.js → month-view-generator-94134ec5.js} +1 -1
  193. package/dist/esm/{page-resize-observer-slimmer-d6af0d86.js → page-resize-observer-slimmer-e0505250.js} +1 -1
  194. package/dist/esm/{public-rules-25cc3a39.js → public-rules-49912d52.js} +9 -9
  195. package/dist/esm/{range-663f44dc.js → range-0a22b512.js} +1 -1
  196. package/dist/esm/{responsive-format-facade-aa705823.js → responsive-format-facade-b3799ff9.js} +3 -3
  197. package/dist/esm/{rich-text-editor-required-rule-a238b862.js → rich-text-editor-required-rule-d86e3a51.js} +1 -1
  198. package/dist/esm/{string-format-strategy.abstract-713fba36.js → string-format-strategy.abstract-e40a0df7.js} +1 -1
  199. package/dist/esm/{string-input-formatter-slimmer-5b413ff9.js → string-input-formatter-slimmer-076764fc.js} +3 -3
  200. package/dist/esm/{string-mask-strategy-6beaf664.js → string-mask-strategy-df1f5707.js} +2 -2
  201. package/dist/esm/{style-formatter-28138f5c.js → style-formatter-95255392.js} +2 -2
  202. package/dist/esm/{sub-state-notify-slimmer-5133f1a8.js → sub-state-notify-slimmer-f4b3b0b9.js} +1 -1
  203. package/dist/esm/{sub-state-observer-slimmer-478c9f41.js → sub-state-observer-slimmer-058feaf0.js} +1 -1
  204. package/dist/esm/{time-required-rule-e4138a76.js → time-required-rule-b4af75ae.js} +1 -1
  205. package/dist/esm/{token-extension-73e4460a.js → token-extension-ffd98170.js} +7 -7
  206. package/dist/esm/{translation-slimmer-2394b173.js → translation-slimmer-e788cae4.js} +1 -1
  207. package/dist/esm/{type-guard-f50e34d6.js → type-guard-f69d2935.js} +37 -3
  208. package/dist/esm/{ui-28fd4193.js → ui-41f725b7.js} +8 -1
  209. package/dist/esm/{valid-credit-card-number-rule-22ce81db.js → valid-credit-card-number-rule-c023326d.js} +1 -1
  210. package/dist/esm/vega-accordion.entry.js +9 -9
  211. package/dist/esm/vega-app-header-button.entry.js +31 -13
  212. package/dist/esm/vega-banner.entry.js +3 -3
  213. package/dist/esm/vega-box.entry.js +8 -8
  214. package/dist/esm/vega-breadcrumb.entry.js +4 -4
  215. package/dist/esm/vega-button-circle.entry.js +12 -12
  216. package/dist/esm/vega-button-group_2.entry.js +7 -7
  217. package/dist/esm/vega-button-link.entry.js +20 -4
  218. package/dist/esm/vega-button.entry.js +11 -11
  219. package/dist/esm/vega-calendar_4.entry.js +15 -15
  220. package/dist/esm/vega-card.entry.js +6 -6
  221. package/dist/esm/vega-carousel.entry.js +9 -9
  222. package/dist/esm/vega-checkbox_2.entry.js +11 -11
  223. package/dist/esm/vega-chip.entry.js +11 -11
  224. package/dist/esm/vega-code-block.entry.js +16 -15
  225. package/dist/esm/vega-color-picker.entry.js +10 -10
  226. package/dist/esm/vega-combo-box.entry.js +14 -14
  227. package/dist/esm/vega-date-picker_2.entry.js +114 -33
  228. package/dist/esm/vega-dialog_2.entry.js +11 -11
  229. package/dist/esm/vega-divider.entry.js +7 -7
  230. package/dist/esm/vega-dropdown_5.entry.js +42 -18
  231. package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
  232. package/dist/esm/{vega-event-id-38aa77a0.js → vega-event-id-fdc58a67.js} +2 -1
  233. package/dist/esm/vega-field-label.entry.js +3 -3
  234. package/dist/esm/vega-file-uploader.entry.js +11 -11
  235. package/dist/esm/vega-flag-icon.entry.js +6 -6
  236. package/dist/esm/vega-flex.entry.js +9 -9
  237. package/dist/esm/vega-font.entry.js +7 -7
  238. package/dist/esm/vega-form.entry.js +13 -13
  239. package/dist/esm/vega-grid.entry.js +6 -6
  240. package/dist/esm/vega-icon.entry.js +6 -6
  241. package/dist/esm/vega-image-uploader.entry.js +14 -14
  242. package/dist/esm/vega-input-credit-card.entry.js +16 -16
  243. package/dist/esm/vega-input-numeric.entry.js +102 -42
  244. package/dist/esm/vega-input-passcode.entry.js +109 -36
  245. package/dist/esm/vega-input-phone-number.entry.js +91 -41
  246. package/dist/esm/vega-input-range.entry.js +27 -12
  247. package/dist/esm/vega-input-select.entry.js +17 -17
  248. package/dist/esm/vega-input.entry.js +414 -187
  249. package/dist/esm/{vega-internal-event-id-799d012e.js → vega-internal-event-id-12783594.js} +2 -1
  250. package/dist/esm/vega-item-toggle.entry.js +4 -4
  251. package/dist/esm/vega-left-nav_5.entry.js +15 -16
  252. package/dist/esm/vega-loader-wrapper_2.entry.js +6 -6
  253. package/dist/esm/vega-page-notification_2.entry.js +1 -1
  254. package/dist/esm/vega-pagination-page-selector-mobile.entry.js +4 -4
  255. package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +4 -4
  256. package/dist/esm/vega-pagination.entry.js +12 -12
  257. package/dist/esm/vega-popover_2.entry.js +15 -15
  258. package/dist/esm/vega-progress-tracker_2.entry.js +12 -12
  259. package/dist/esm/vega-radio_2.entry.js +14 -14
  260. package/dist/esm/vega-rich-text-content.entry.js +17 -11
  261. package/dist/esm/vega-rich-text-editor_4.entry.js +589 -396
  262. package/dist/esm/vega-segment-control.entry.js +6 -6
  263. package/dist/esm/vega-selection-chip_2.entry.js +14 -14
  264. package/dist/esm/vega-selection-tile_2.entry.js +12 -12
  265. package/dist/esm/vega-sidenav_3.entry.js +12 -12
  266. package/dist/esm/vega-signature-capture.entry.js +14 -14
  267. package/dist/esm/vega-stepper.entry.js +12 -12
  268. package/dist/esm/vega-tab-group_2.entry.js +7 -7
  269. package/dist/esm/vega-table_11.entry.js +14 -14
  270. package/dist/esm/vega-text.entry.js +3 -3
  271. package/dist/esm/vega-textarea.entry.js +110 -42
  272. package/dist/esm/vega-time-picker_2.entry.js +18 -18
  273. package/dist/esm/vega-toggle-switch.entry.js +10 -10
  274. package/dist/esm/vega-tooltip_2.entry.js +11 -11
  275. package/dist/esm/vega.js +14 -14
  276. package/dist/esm/{wait-for-component-did-render-b08ef07b.js → wait-for-component-did-render-4d0a3428.js} +1 -1
  277. package/dist/sri/vega-sri-manifest.json +341 -341
  278. package/dist/types/components/vega-app-header-button/types.d.ts +18 -0
  279. package/dist/types/components/vega-app-header-button/vega-app-header-button.d.ts +8 -1
  280. package/dist/types/components/vega-button-link/vega-button-link.d.ts +2 -0
  281. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-open-state-controller.d.ts +21 -0
  282. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-selection-controller.d.ts +1 -0
  283. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-renderer.d.ts +7 -0
  284. package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.d.ts +11 -0
  285. package/dist/types/components/vega-input/slimmers/controllers/vega-input-render-mode-controller.d.ts +0 -1
  286. package/dist/types/components/vega-input/slimmers/renderers/vega-input-input-renderer.d.ts +0 -1
  287. package/dist/types/components/vega-input/vega-input.d.ts +321 -79
  288. package/dist/types/components/vega-input-numeric/vega-input-numeric.d.ts +117 -42
  289. package/dist/types/components/vega-input-passcode/slimmers/renderers/vega-input-passcode-renderer.d.ts +14 -0
  290. package/dist/types/components/vega-input-passcode/vega-input-passcode.d.ts +82 -28
  291. package/dist/types/components/vega-input-phone-number/vega-input-phone-number.d.ts +99 -34
  292. package/dist/types/components/vega-input-range/slimmers/renderers/vega-input-range-input-renderer.d.ts +8 -0
  293. package/dist/types/components/vega-input-select/vega-input-select.d.ts +2 -2
  294. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/insert-image-controller.d.ts +7 -1
  295. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/image-toolbar-button-slimmer.d.ts +30 -2
  296. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/source-edit-toolbar-button-slimmer.d.ts +1 -1
  297. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-renderer.d.ts +1 -3
  298. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-source-view-renderer.d.ts +37 -0
  299. package/dist/types/components/vega-rich-text-editor/vega-rich-text-editor.d.ts +16 -0
  300. package/dist/types/components/vega-textarea/vega-textarea.d.ts +123 -41
  301. package/dist/types/components.d.ts +429 -219
  302. package/dist/types/constants/ui.d.ts +2 -2
  303. package/dist/types/helpers/calendar/utils.d.ts +17 -0
  304. package/dist/types/helpers/event-manager/event-id/vega-event-id.d.ts +1 -0
  305. package/dist/types/helpers/event-manager/event-id/vega-internal-event-id.d.ts +1 -0
  306. package/dist/types/helpers/slimmers/element-appender/element-appender-slimmer.d.ts +12 -0
  307. package/dist/types/helpers/slimmers/mutation-observer/aria-attributes-value-mapper.d.ts +2 -1
  308. package/dist/types/helpers/slimmers/mutation-observer/data-tab-index-value-mapper.d.ts +35 -0
  309. package/dist/types/helpers/slimmers/mutation-observer/test/data-tab-index-value-mapper.test.d.ts +1 -0
  310. package/dist/types/helpers/slimmers/position-calculation/base-position-calculation-strategy.d.ts +60 -3
  311. package/dist/types/helpers/slimmers/position-calculation/screen-position-calculation-strategy.d.ts +3 -2
  312. package/dist/types/helpers/slimmers/position-calculation/test/body-position-calculation-strategy.test.d.ts +1 -1
  313. package/dist/types/helpers/translation/interface.d.ts +17 -1
  314. package/dist/types/types/components.type.d.ts +1 -0
  315. package/dist/types/types/type-guard.d.ts +3 -3
  316. package/dist/types/types/ui.type.d.ts +3 -2
  317. package/dist/types/utils/e2e-utils.d.ts +2 -0
  318. package/dist/vega/index.esm.js +1 -1
  319. package/dist/vega/{p-9441f2ba.entry.js → p-0009e0bc.entry.js} +1 -1
  320. package/dist/vega/{p-2d69632d.js → p-02976501.js} +1 -1
  321. package/dist/vega/{p-bf6fc19f.entry.js → p-03280f85.entry.js} +1 -1
  322. package/dist/vega/{p-f3e6483c.js → p-03b1e442.js} +1 -1
  323. package/dist/vega/{p-33f9ad94.entry.js → p-0681ffee.entry.js} +1 -1
  324. package/dist/vega/{p-3ce2b05c.entry.js → p-093aa0cb.entry.js} +1 -1
  325. package/dist/vega/{p-ffd48e37.entry.js → p-1828f9e6.entry.js} +1 -1
  326. package/dist/vega/{p-f428086c.entry.js → p-19883e27.entry.js} +1 -1
  327. package/dist/vega/p-1e015382.js +1 -0
  328. package/dist/vega/{p-7425cedc.entry.js → p-1ff45314.entry.js} +1 -1
  329. package/dist/vega/{p-9339c6c4.js → p-24b4c64f.js} +1 -1
  330. package/dist/vega/{p-5833f33b.entry.js → p-2e7ec8e0.entry.js} +1 -1
  331. package/dist/vega/{p-1a3236e7.entry.js → p-309b5016.entry.js} +1 -1
  332. package/dist/vega/{p-857069a5.entry.js → p-3592a26d.entry.js} +1 -1
  333. package/dist/vega/{p-560d2f48.entry.js → p-383e235a.entry.js} +1 -1
  334. package/dist/vega/p-3992038a.js +1 -0
  335. package/dist/vega/{p-02c9796a.js → p-3a537cd0.js} +1 -1
  336. package/dist/vega/{p-daa60a59.entry.js → p-3b7ad04b.entry.js} +1 -1
  337. package/dist/vega/{p-5485c387.entry.js → p-3d4b8066.entry.js} +1 -1
  338. package/dist/vega/{p-7d7aaff9.entry.js → p-3e484d99.entry.js} +1 -1
  339. package/dist/vega/{p-c165232c.entry.js → p-3fd3861c.entry.js} +1 -1
  340. package/dist/vega/{p-d78f6ede.js → p-4079e932.js} +1 -1
  341. package/dist/vega/{p-5eb7f382.js → p-43df17a1.js} +1 -1
  342. package/dist/vega/{p-db5fa164.entry.js → p-473ceda5.entry.js} +1 -1
  343. package/dist/vega/{p-67745549.entry.js → p-474b97cf.entry.js} +1 -1
  344. package/dist/vega/{p-242fbcad.entry.js → p-47c202eb.entry.js} +1 -1
  345. package/dist/vega/p-4e0344bc.entry.js +1 -0
  346. package/dist/vega/{p-e6cf2ace.entry.js → p-4efe9cd8.entry.js} +1 -1
  347. package/dist/vega/{p-36a09524.entry.js → p-536ad3d7.entry.js} +1 -1
  348. package/dist/vega/{p-22056609.entry.js → p-53e0b2bd.entry.js} +1 -1
  349. package/dist/vega/p-57180993.entry.js +1 -0
  350. package/dist/vega/{p-e827d56d.js → p-5b238c6d.js} +1 -1
  351. package/dist/vega/{p-464559e3.js → p-5ba34330.js} +1 -1
  352. package/dist/vega/p-5e1d0f21.entry.js +1 -0
  353. package/dist/vega/{p-a786259a.js → p-5ed5aa26.js} +1 -1
  354. package/dist/vega/p-5f377954.js +1 -1
  355. package/dist/vega/{p-d64fab3d.js → p-5f81beae.js} +1 -1
  356. package/dist/vega/{p-34bcf4ed.entry.js → p-6a8ac66d.entry.js} +1 -1
  357. package/dist/vega/{p-4bffdb28.js → p-6b3776ec.js} +1 -1
  358. package/dist/vega/{p-2b142818.entry.js → p-6b4021f0.entry.js} +1 -1
  359. package/dist/vega/{p-2a10e2e5.js → p-6cf28c27.js} +1 -1
  360. package/dist/vega/{p-0037068c.entry.js → p-71cd1d9e.entry.js} +1 -1
  361. package/dist/vega/{p-4aa52ed2.entry.js → p-7440325c.entry.js} +1 -1
  362. package/dist/vega/p-764425e4.entry.js +1 -0
  363. package/dist/vega/p-77908e45.entry.js +1 -0
  364. package/dist/vega/{p-a0b66c25.js → p-7ade785e.js} +1 -1
  365. package/dist/vega/{p-f2b0b58a.js → p-7db5e003.js} +1 -1
  366. package/dist/vega/{p-021d4ae4.js → p-7db918f4.js} +1 -1
  367. package/dist/vega/{p-0572c393.entry.js → p-7f398d23.entry.js} +1 -1
  368. package/dist/vega/p-7f665911.entry.js +1 -0
  369. package/dist/vega/p-840f156e.entry.js +1 -0
  370. package/dist/vega/{p-95528b47.js → p-87379d3c.js} +1 -1
  371. package/dist/vega/p-87ed06cd.entry.js +1 -0
  372. package/dist/vega/{p-a8792e3d.js → p-882a220c.js} +1 -1
  373. package/dist/vega/{p-6b6f0fb4.js → p-898bcb24.js} +1 -1
  374. package/dist/vega/{p-d07f5d5a.entry.js → p-8fbb677e.entry.js} +1 -1
  375. package/dist/vega/p-9493d87a.js +1 -0
  376. package/dist/vega/{p-81b044b9.js → p-951c0172.js} +1 -1
  377. package/dist/vega/p-95919581.entry.js +1 -0
  378. package/dist/vega/{p-7c39ce96.js → p-95d1b547.js} +1 -1
  379. package/dist/vega/{p-50d074ed.entry.js → p-99c8f9a4.entry.js} +1 -1
  380. package/dist/vega/{p-e632475e.js → p-9c713bc0.js} +1 -1
  381. package/dist/vega/{p-3afc025e.entry.js → p-9dc77b66.entry.js} +1 -1
  382. package/dist/vega/{p-415ffa35.js → p-9f467a59.js} +1 -1
  383. package/dist/vega/p-a113fd15.entry.js +1 -0
  384. package/dist/vega/{p-4742feef.entry.js → p-a253e791.entry.js} +1 -1
  385. package/dist/vega/{p-0d4cb1c7.entry.js → p-a3272850.entry.js} +1 -1
  386. package/dist/vega/{p-b1773281.entry.js → p-a432708d.entry.js} +1 -1
  387. package/dist/vega/p-a57a7ab8.entry.js +1 -0
  388. package/dist/vega/{p-6d219c44.entry.js → p-a58bd510.entry.js} +1 -1
  389. package/dist/vega/{p-4ea30592.js → p-a957e15f.js} +1 -1
  390. package/dist/vega/{p-bff57aa4.js → p-abb81b7b.js} +1 -1
  391. package/dist/vega/{p-100b44c3.entry.js → p-ae6ed091.entry.js} +1 -1
  392. package/dist/vega/{p-03004a05.entry.js → p-b5e31243.entry.js} +1 -1
  393. package/dist/vega/{p-49845a91.js → p-b88ca09b.js} +1 -1
  394. package/dist/vega/{p-c2d2faa0.js → p-b901d624.js} +1 -1
  395. package/dist/vega/p-ba475520.entry.js +1 -0
  396. package/dist/vega/p-bdb5180c.js +1 -0
  397. package/dist/vega/p-bf04ff19.js +1 -0
  398. package/dist/vega/{p-1a51bf6f.js → p-c208a3b7.js} +1 -1
  399. package/dist/vega/{p-3c05abd9.entry.js → p-c25577ae.entry.js} +1 -1
  400. package/dist/vega/{p-1f3cd061.entry.js → p-c2560608.entry.js} +1 -1
  401. package/dist/vega/{p-0e679d8c.js → p-c2df94f6.js} +1 -1
  402. package/dist/vega/{p-cfecc1cb.entry.js → p-c3eec160.entry.js} +1 -1
  403. package/dist/vega/p-c6031d3f.entry.js +1 -0
  404. package/dist/vega/{p-70df91fb.entry.js → p-c87cf96a.entry.js} +1 -1
  405. package/dist/vega/{p-592296d7.entry.js → p-cc243e62.entry.js} +1 -1
  406. package/dist/vega/{p-cccd7648.entry.js → p-cd3d177b.entry.js} +1 -1
  407. package/dist/vega/{p-be1a210b.js → p-d0687ec0.js} +1 -1
  408. package/dist/vega/{p-b201f379.js → p-d25db724.js} +1 -1
  409. package/dist/vega/{p-aa1174dc.js → p-d42dbe39.js} +1 -1
  410. package/dist/vega/{p-9fb877c1.entry.js → p-d5570331.entry.js} +1 -1
  411. package/dist/vega/p-d5797747.js +1 -0
  412. package/dist/vega/{p-1a011d47.entry.js → p-d7434f44.entry.js} +1 -1
  413. package/dist/vega/p-db92453f.entry.js +1 -0
  414. package/dist/vega/{p-0a3a285b.entry.js → p-e5be807b.entry.js} +1 -1
  415. package/dist/vega/p-e6f0097f.js +1 -0
  416. package/dist/vega/{p-e8775a56.entry.js → p-e7a8b61e.entry.js} +1 -1
  417. package/dist/vega/{p-d2ee5711.entry.js → p-f46f6679.entry.js} +1 -1
  418. package/dist/vega/{p-1fa0c7da.entry.js → p-f49e8cc5.entry.js} +1 -1
  419. package/dist/vega/p-f5b6059d.entry.js +1 -0
  420. package/dist/vega/p-fb40a829.js +1 -0
  421. package/dist/vega/vega.esm.js +1 -1
  422. package/package.json +3 -2
  423. package/dist/vega/p-010ff53d.entry.js +0 -1
  424. package/dist/vega/p-168bb296.entry.js +0 -1
  425. package/dist/vega/p-40f39194.js +0 -1
  426. package/dist/vega/p-43ff48c0.entry.js +0 -1
  427. package/dist/vega/p-4aa94940.entry.js +0 -1
  428. package/dist/vega/p-4bee4202.entry.js +0 -1
  429. package/dist/vega/p-5cfce62d.entry.js +0 -1
  430. package/dist/vega/p-60f77f5f.entry.js +0 -1
  431. package/dist/vega/p-641cdb5c.entry.js +0 -1
  432. package/dist/vega/p-ab834f06.js +0 -1
  433. package/dist/vega/p-ac82b9f9.entry.js +0 -1
  434. package/dist/vega/p-b54dc37c.entry.js +0 -1
  435. package/dist/vega/p-b597393b.entry.js +0 -1
  436. package/dist/vega/p-b5f18f4b.entry.js +0 -1
  437. package/dist/vega/p-b7f3221f.js +0 -1
  438. package/dist/vega/p-c292ade4.entry.js +0 -1
  439. package/dist/vega/p-c3d2f316.js +0 -1
  440. package/dist/vega/p-cc5eaa1b.js +0 -1
  441. package/dist/vega/p-d1cfe972.entry.js +0 -1
  442. package/dist/vega/p-dad3ba5f.js +0 -1
  443. package/dist/vega/p-de64f6e6.js +0 -1
  444. package/dist/vega/p-e7fbef97.js +0 -1
  445. package/dist/vega/p-fc9ac6e9.entry.js +0 -1
@@ -21,11 +21,15 @@ import { VegaInputValueController } from './slimmers/controllers/vega-input-valu
21
21
  import { VegaInputInputSuggestionsRenderer } from './slimmers/renderers/vega-input-input-suggestions-renderer';
22
22
  import { VegaDropdownSourceItem } from '../vega-dropdown/types';
23
23
  import { VegaInputRenderModeController } from './slimmers/controllers/vega-input-render-mode-controller';
24
+ import { AriaAttributesValueMapper } from '../../helpers/slimmers/mutation-observer/aria-attributes-value-mapper';
25
+ import { DataTabIndexValueMapper } from '../../helpers/slimmers/mutation-observer/data-tab-index-value-mapper';
24
26
  /**
25
27
  * @vegaVersion 1.0.5
26
28
  */
27
29
  export declare class VegaInput {
28
30
  protected readonly globalSlimmers: GlobalSlimmers;
31
+ protected ariaAttributesValueMapper: AriaAttributesValueMapper;
32
+ protected dataTabIndexValueMapper: DataTabIndexValueMapper;
29
33
  protected readonly formFieldController: FormFieldControllerSlimmer<string>;
30
34
  protected readonly pageResizeObserverSlimmer: PageResizeObserverSlimmer;
31
35
  protected renderModeController: VegaInputRenderModeController;
@@ -56,44 +60,53 @@ export declare class VegaInput {
56
60
  isPasswordDisplay: boolean;
57
61
  suggestionsDropdownConfig: VegaInputSuggestionsDropdownConfig;
58
62
  /**
59
- * Specifies the label or title for the input field.
63
+ * Specifies the visible label text displayed above the input field.
60
64
  *
61
- * It provides descriptive text that helps identify the
62
- * purpose or content expected in the input field.
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).
63
69
  *
70
+ * When set to an empty string, no label is rendered.
71
+ *
72
+ * @default ''
64
73
  * @vegaVersion 1.0.5
65
74
  */
66
75
  label: string;
67
76
  /**
68
- * @deprecated Please use `LabelSuffixButtonConfig` instead
69
- *
70
- * Specifies the properties for the suffix button associated with the input.
77
+ * @deprecated Please use `labelSuffixButtonConfig` instead.
71
78
  *
72
- * It provides essential information and functionality
73
- * related to the suffix button's role and behavior.
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.
74
82
  *
83
+ * @default null
75
84
  * @vegaVersion 2.25.0
76
85
  */
77
86
  labelSuffixButtonProps: Nullable<LabelSuffixButtonProps>;
78
87
  /**
79
- * Specifies the properties for the suffix button associated with the input.
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.
80
91
  *
81
- * It provides essential information and functionality
82
- * related to the suffix button's role and behavior.
92
+ * When clicked, the `vegaLabelButtonClick` event is emitted.
83
93
  *
94
+ * @default null
84
95
  * @vegaVersion 2.68.0
85
96
  */
86
97
  labelSuffixButtonConfig: Nullable<LabelSuffixButtonConfig>;
87
98
  /**
88
- * Represents a pre-set or default value for the input field.
99
+ * The current value of the input field.
89
100
  *
90
- * It allows you to initialize the field with a specific value,
91
- * which is displayed to the user when the input is
92
- * initially rendered.
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.
93
104
  *
94
- * If the value is too long, it may be truncated with
95
- * an ellipsis for visual presentation.
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.
96
108
  *
109
+ * @default ''
97
110
  * @vegaVersion 1.0.5
98
111
  */
99
112
  value: string;
@@ -110,19 +123,31 @@ export declare class VegaInput {
110
123
  */
111
124
  watchValue(value: string): void;
112
125
  /**
113
- * Specifies when the vegaChange event is triggered.
114
- * It controls whether the event is dispatched
115
- * after typing in the input or after a change event.
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.
116
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'
117
137
  * @vegaVersion 2.24.0
118
138
  */
119
139
  valueUpdateTrigger: InputValueUpdateTriggeredBy;
120
140
  /**
121
- * Defines the specific type or category of the input field.
141
+ * Sets the HTML input type, which controls the browser's input behavior,
142
+ * on-screen keyboard layout, and built-in validation.
122
143
  *
123
- * It specifies the intended format or purpose of the
124
- * data to be entered by the user.
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).
125
149
  *
150
+ * @default 'text'
126
151
  * @vegaVersion 1.0.9
127
152
  */
128
153
  type: InputType;
@@ -132,136 +157,237 @@ export declare class VegaInput {
132
157
  */
133
158
  watchTypeChange(newType: InputType, oldType: InputType): void;
134
159
  /**
135
- * Defines the specific name of the input field.
160
+ * Sets the `name` attribute on the underlying native `<input>` element.
136
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.
137
164
  *
165
+ * @default ''
138
166
  * @vegaVersion 1.0.5
139
167
  */
140
168
  name: string;
141
169
  /**
142
- * Controls the autofill behavior and specifies whether the
143
- * input should receive automated suggestions or
144
- * previously entered values.
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
145
178
  *
179
+ * @default 'off'
146
180
  * @vegaVersion 1.0.5
147
181
  */
148
182
  autocomplete: InputAutocompleteTypes;
149
183
  /**
150
- * A hint to the browser for which keyboard to display.
151
- * Please refer to https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/inputmode for more details.
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.
152
191
  *
153
192
  * @vegaVersion 2.71.0
154
193
  */
155
194
  inputmode: 'text' | 'numeric';
156
195
  /**
157
- * Specifies an icon or symbol that appears before the input field,
158
- * providing visual context or enhancing the aesthetic appearance
159
- * of the input.
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.
160
202
  *
161
203
  * @vegaVersion 1.0.5
162
204
  */
163
205
  prefixIcon: string;
164
206
  /**
165
- * Enforces proper email format validation for the input field.
207
+ * When `true`, enforces email format validation on the input value.
166
208
  *
167
- * It ensures that the user enters a valid email address according to
168
- * standard email formatting rules.
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.
169
212
  *
170
- * @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
171
216
  * @vegaVersion 1.0.5
172
217
  */
173
218
  email: boolean;
174
219
  /**
175
- * Determines whether the input field is required.
220
+ * Marks the input field as required for form submission.
176
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
177
228
  * @vegaVersion 1.0.5
178
229
  */
179
230
  required: boolean;
180
231
  /**
181
- * Sets the minimum allowable numeric value for the input value.
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.
182
237
  *
238
+ * @default null
183
239
  * @vegaVersion 1.0.5
184
240
  */
185
241
  min: number | null;
186
242
  /**
187
- * Sets the maximum allowable numeric value for the input value.
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.
188
248
  *
249
+ * @default null
189
250
  * @vegaVersion 1.0.5
190
251
  */
191
252
  max: number | null;
192
253
  /**
193
- * Sets the minimum length requirement for the input value.
254
+ * Sets the minimum character length required for the input value.
194
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
195
261
  * @vegaVersion 1.0.5
196
262
  */
197
263
  minLength: number;
198
264
  /**
199
- * Sets the maximum length requirement for the input value.
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.
200
270
  *
271
+ * @default null
201
272
  * @vegaVersion 1.0.5
202
273
  */
203
274
  maxLength: number;
204
275
  /**
205
- * Determines whether the clear icon should be displayed or hidden.
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).
206
282
  *
283
+ * @default true
207
284
  * @vegaVersion 1.3.0
208
285
  */
209
286
  showClearIcon: boolean;
210
287
  /**
211
- * Indicates whether the current value in the field is considered valid or
212
- * invalid based on the defined validation rules.
288
+ * Reflects the current validation state of the input field.
213
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
214
299
  * @vegaVersion 1.3.0
215
300
  */
216
301
  isValid: boolean;
217
302
  /**
218
- * Determines whether the input field should undergo automatic validation
219
- * during the user's input.
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.
220
309
  *
310
+ * Set to `false` when you need to manage validation manually (e.g., only on
311
+ * form submission).
312
+ *
313
+ * @default true
221
314
  * @vegaVersion 1.0.10
222
315
  */
223
316
  autoValidation: boolean;
224
317
  /**
225
- * Defines custom validation rules for the input field.
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.
226
325
  *
326
+ * @default []
227
327
  * @vegaVersion 1.0.10
228
328
  */
229
329
  validationRules: FormFieldValidationRule<unknown>[];
230
330
  watchValidationRules(): void;
231
331
  /**
232
- * Defines the size of the input field,
233
- * specifying its width or length.
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.
234
338
  *
339
+ * @default 'default'
235
340
  * @vegaVersion 1.3.0
236
341
  */
237
342
  size: 'default' | 'small';
238
343
  /**
239
- * Specifies a placeholder string that displays as a temporary hint
240
- * or example inside the input field.
344
+ * Sets the placeholder text displayed inside the input when the value is empty.
241
345
  *
242
- * It indicates the expected format or pattern of the input.
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.
243
352
  *
244
353
  * @vegaVersion 1.3.0
245
354
  */
246
355
  placeholder: string;
247
356
  /**
248
- * Determines whether the input field is disabled.
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.
249
362
  *
363
+ * @default false
250
364
  * @vegaVersion 1.3.0
251
365
  */
252
366
  disabled: boolean;
253
367
  /**
254
- * Provides a supplementary prompt message that assists users in
255
- * understanding the expected value for the input field.
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.
256
374
  *
375
+ * @default ''
257
376
  * @vegaVersion 1.3.0
258
377
  */
259
378
  hint: string;
260
379
  /**
261
- * Specifies the configuration for applying a mask to the input field.
380
+ * Configures input masking to automatically format the user's input according
381
+ * to a predefined pattern.
262
382
  *
263
- * It provides a way to define a specific format or pattern for the input value,
264
- * restricting and guiding the user's input accordingly.
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.
265
391
  *
266
392
  * @vegaVersion 1.3.0
267
393
  */
@@ -274,131 +400,247 @@ export declare class VegaInput {
274
400
  */
275
401
  watchMaskChange(newValue: MaskConfigType | MaskConfigType[], oldValue: MaskConfigType | MaskConfigType[]): void;
276
402
  /**
277
- * Controls whether copying or pasting is enabled for the input.
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.
278
408
  *
409
+ * @default false
279
410
  * @vegaVersion 2.1.0
280
411
  */
281
412
  disableCopyPaste: boolean;
282
413
  /**
283
- * Sets the source array of items for the suggestion dropdown.
284
- * You should set this property at least a empty array if you want enable the source mode suggestion dropdown feature.
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.
285
423
  *
286
424
  * @vegaVersion 2.75.0
287
425
  */
288
426
  suggestionsDropdownSource: VegaDropdownSourceItem[];
289
427
  watchSuggestionsDropdownSource(): void;
290
428
  /**
291
- * An event emitter notifying a value change.
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.
292
437
  *
438
+ * @eventDetail `string` — The current input value after the change.
293
439
  * @vegaVersion 1.0.10
294
440
  */
295
441
  vegaChange: EventEmitter<string>;
296
442
  /**
297
- * An event emitter notifying a value change.
443
+ * Native-namespace alias for the `vegaChange` event.
298
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.
299
450
  * @eventSemantics namespace:native
300
451
  * @vegaVersion 2.0.0
301
452
  */
302
453
  change: EventEmitter<string>;
303
454
  /**
304
- * An event emitter notifying a value change by input action of native input dom.
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.
305
461
  *
462
+ * @eventDetail `string` — The raw value from the native input element.
306
463
  * @vegaVersion 2.75.0
307
464
  */
308
465
  vegaNativeInputChange: EventEmitter<string>;
309
466
  /**
310
- * An event emitter notifying a value change by input action of native input dom.
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.
311
472
  *
473
+ * @eventDetail `string` — The raw value from the native input element.
312
474
  * @eventSemantics namespace:native
313
475
  * @vegaVersion 2.75.0
314
476
  */
315
477
  nativeInputChange: EventEmitter<string>;
316
478
  /**
317
- * An event emitter notifying the blur of the inner input element.
479
+ * Emitted when the input field loses focus.
318
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.
319
486
  * @vegaVersion 1.3.0
320
487
  */
321
488
  vegaBlur: EventEmitter<undefined>;
322
489
  /**
323
- * An event emitter notifying the blur of the inner input element.
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.
324
495
  *
496
+ * @eventDetail `undefined` — No payload; listen for the event occurrence only.
325
497
  * @eventSemantics namespace:native
326
498
  * @vegaVersion 2.0.0
327
499
  */
328
500
  blur: EventEmitter<undefined>;
329
501
  /**
330
- * An event emitter notifying the focus of the inner input element.
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.
331
508
  *
509
+ * @eventDetail `undefined` — No payload; listen for the event occurrence only.
332
510
  * @vegaVersion 1.12.0
333
511
  */
334
512
  vegaFocus: EventEmitter<undefined>;
335
513
  /**
336
- * An event emitter notifying the focus of the inner input element.
514
+ * Native-namespace alias for the `vegaFocus` event.
337
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.
338
521
  * @eventSemantics namespace:native
339
522
  * @vegaVersion 2.0.0
340
523
  */
341
524
  focus: EventEmitter<undefined>;
342
525
  /**
343
- * An event emitter notifying that the suffix button associated with the field label has been clicked.
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.
344
532
  *
533
+ * @eventDetail `void` — No payload.
345
534
  * @vegaVersion 2.25.0
346
535
  */
347
536
  vegaLabelButtonClick: EventEmitter;
348
537
  /**
349
- * An event emitter notifying that the suffix button associated with the field label has been clicked.
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.
350
543
  *
544
+ * @eventDetail `void` — No payload.
351
545
  * @eventSemantics namespace:native
352
546
  * @vegaVersion 2.25.0
353
547
  */
354
548
  labelButtonClick: EventEmitter;
355
549
  /**
356
- * An event emitter notifying the paste of the inner input element.
550
+ * Emitted when the user pastes content into the input field.
357
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.
358
558
  * @vegaVersion 2.66.0
359
559
  */
360
560
  vegaPaste: EventEmitter<DataTransferType>;
361
561
  /**
362
- * An event emitter notifying the paste of the inner input element.
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.
363
567
  *
568
+ * @eventDetail `DataTransferType` — An object containing the pasted data,
569
+ * including the MIME type and raw text content from the clipboard.
364
570
  * @eventSemantics namespace:native
365
571
  * @vegaVersion 2.66.0
366
572
  */
367
573
  paste: EventEmitter<DataTransferType>;
368
574
  /**
369
- * An event emitter notifying the click of a suggestion item.
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.
370
580
  *
581
+ * @eventDetail `VegaDropdownSourceItem` — The full data object of the selected
582
+ * suggestion item, including its `label`, `value`, and any custom properties.
371
583
  * @vegaVersion 2.75.0
372
584
  */
373
585
  vegaSuggestionItemClick: EventEmitter<VegaDropdownSourceItem>;
374
586
  /**
375
- * An event emitter notifying the click of a suggestion item.
587
+ * Native-namespace alias for the `vegaSuggestionItemClick` event.
376
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.
377
595
  * @eventSemantics namespace:native
378
596
  * @vegaVersion 2.75.0
379
597
  */
380
598
  suggestionItemClick: EventEmitter<VegaDropdownSourceItem>;
381
599
  /**
382
- * Invoke this method to focus the current input.
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.
383
605
  *
606
+ * @returns A promise that resolves once focus has been applied.
384
607
  * @vegaVersion 1.12.0
385
608
  */
386
609
  doFocus(): Promise<void>;
387
610
  /**
388
- * Invoke this method to blur the current input.
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.
389
617
  *
618
+ * @returns A promise that resolves once blur has been applied.
390
619
  * @vegaVersion 1.12.0
391
620
  */
392
621
  doBlur(): Promise<void>;
393
622
  /**
394
- * Invoke this method to show the suggestions dropdown.
623
+ * Programmatically opens the suggestions dropdown.
395
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.
396
633
  * @vegaVersion 2.75.0
397
634
  */
398
635
  showSuggestionsDropdown(dropdownConfig?: VegaInputSuggestionsDropdownConfig): Promise<void>;
399
636
  /**
400
- * Invoke this method to hide the suggestions dropdown.
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).
401
642
  *
643
+ * @returns A promise that resolves once the dropdown is hidden.
402
644
  * @vegaVersion 2.75.0
403
645
  */
404
646
  hideSuggestionsDropdown(): Promise<void>;