@heartlandone/vega 2.77.1 → 2.78.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (374) hide show
  1. package/dist/cjs/{app-globals-1021e33e.js → app-globals-55e26945.js} +6 -6
  2. package/dist/cjs/{breakpoints-751d433a.js → breakpoints-a8ff22f0.js} +1 -1
  3. package/dist/cjs/{child-nodes-event-prevent-slimmer-cc6d2919.js → child-nodes-event-prevent-slimmer-dd0bb8b6.js} +1 -1
  4. package/dist/cjs/{code-block-f9b86a25.js → code-block-1a5fafed.js} +2 -2
  5. package/dist/cjs/{component-value-history-controller-slimmer.abstract-6bcff70b.js → component-value-history-controller-slimmer.abstract-42683f23.js} +4 -4
  6. package/dist/cjs/{date-required-rule-d3c2d088.js → date-required-rule-ad536cb5.js} +1 -1
  7. package/dist/cjs/{design-token-b21879b6.js → design-token-45ebd5e4.js} +3 -3
  8. package/dist/cjs/{dto-renderer-manager-e2823eb8.js → dto-renderer-manager-7557d562.js} +3 -3
  9. package/dist/cjs/{element-appender-slimmer-40d39bba.js → element-appender-slimmer-16ec8591.js} +5 -5
  10. package/dist/cjs/{event-emit-slimmer-062cdcb8.js → event-emit-slimmer-c84121c8.js} +1 -1
  11. package/dist/cjs/{form-field-controller-slimmer-1b3a1388.js → form-field-controller-slimmer-73f5849e.js} +4 -4
  12. package/dist/cjs/{image-annotation-action-b83283d4.js → image-annotation-action-f275863e.js} +3 -3
  13. package/dist/cjs/index.cjs.js +18 -18
  14. package/dist/cjs/{inject-keyboard-manager-ea5c598e.js → inject-keyboard-manager-6667c0f1.js} +1 -1
  15. package/dist/cjs/{internal-translation-controller-1f84ab0a.js → internal-translation-controller-24df468f.js} +1 -0
  16. package/dist/cjs/{internal-vega-event-manager-f7ecf3d4.js → internal-vega-event-manager-cc0f511c.js} +2 -2
  17. package/dist/cjs/{keyboard-manager-16494c34.js → keyboard-manager-7de7ecfd.js} +1 -1
  18. package/dist/cjs/{keyboard-manager-slimmer-5b8fa209.js → keyboard-manager-slimmer-b44f0dc9.js} +1 -1
  19. package/dist/cjs/loader.cjs.js +13 -13
  20. package/dist/cjs/{month-view-generator-1a57578d.js → month-view-generator-36c42772.js} +1 -1
  21. package/dist/cjs/{page-resize-observer-slimmer-7f065ee1.js → page-resize-observer-slimmer-e050cd26.js} +1 -1
  22. package/dist/cjs/{public-rules-5bd1624d.js → public-rules-6c6cb4ac.js} +9 -9
  23. package/dist/cjs/{range-7a038973.js → range-e298d4aa.js} +1 -1
  24. package/dist/cjs/{responsive-format-facade-0b65ce4a.js → responsive-format-facade-bddac47c.js} +3 -3
  25. package/dist/cjs/{rich-text-editor-required-rule-d984c0b6.js → rich-text-editor-required-rule-6346a888.js} +1 -1
  26. package/dist/cjs/{string-format-strategy.abstract-714bfad2.js → string-format-strategy.abstract-814d66c4.js} +1 -1
  27. package/dist/cjs/{string-input-formatter-slimmer-9ef2ec7a.js → string-input-formatter-slimmer-749e3cfe.js} +3 -3
  28. package/dist/cjs/{string-mask-strategy-bd2c18df.js → string-mask-strategy-d00871c2.js} +2 -2
  29. package/dist/cjs/{style-formatter-7a4e9811.js → style-formatter-94c1a1ff.js} +2 -2
  30. package/dist/cjs/{sub-state-notify-slimmer-58121111.js → sub-state-notify-slimmer-ac1dae32.js} +1 -1
  31. package/dist/cjs/{sub-state-observer-slimmer-1dfbc4c3.js → sub-state-observer-slimmer-e692d849.js} +1 -1
  32. package/dist/cjs/{time-required-rule-50784b9f.js → time-required-rule-f1f3c8c2.js} +1 -1
  33. package/dist/cjs/{token-extension-5a1c473e.js → token-extension-1e98ddf3.js} +7 -7
  34. package/dist/cjs/{translation-slimmer-2c207e34.js → translation-slimmer-3fa03d81.js} +1 -1
  35. package/dist/cjs/{type-guard-cd0376d4.js → type-guard-a0d9ff1f.js} +2 -2
  36. package/dist/cjs/{ui-32e69595.js → ui-024696c0.js} +8 -1
  37. package/dist/cjs/{valid-credit-card-number-rule-3f8dc897.js → valid-credit-card-number-rule-cba7d66a.js} +1 -1
  38. package/dist/cjs/vega-accordion.cjs.entry.js +9 -9
  39. package/dist/cjs/vega-app-header-button.cjs.entry.js +11 -11
  40. package/dist/cjs/vega-banner.cjs.entry.js +3 -3
  41. package/dist/cjs/vega-box.cjs.entry.js +8 -8
  42. package/dist/cjs/vega-breadcrumb.cjs.entry.js +4 -4
  43. package/dist/cjs/vega-button-circle.cjs.entry.js +11 -11
  44. package/dist/cjs/vega-button-group_2.cjs.entry.js +7 -7
  45. package/dist/cjs/vega-button-link.cjs.entry.js +4 -4
  46. package/dist/cjs/vega-button.cjs.entry.js +11 -11
  47. package/dist/cjs/vega-calendar_4.cjs.entry.js +14 -14
  48. package/dist/cjs/vega-card.cjs.entry.js +6 -6
  49. package/dist/cjs/vega-carousel.cjs.entry.js +9 -9
  50. package/dist/cjs/vega-checkbox_2.cjs.entry.js +11 -11
  51. package/dist/cjs/vega-chip.cjs.entry.js +11 -11
  52. package/dist/cjs/vega-code-block.cjs.entry.js +16 -15
  53. package/dist/cjs/vega-color-picker.cjs.entry.js +10 -10
  54. package/dist/cjs/vega-combo-box.cjs.entry.js +14 -14
  55. package/dist/cjs/vega-date-picker_2.cjs.entry.js +23 -23
  56. package/dist/cjs/vega-dialog_2.cjs.entry.js +11 -11
  57. package/dist/cjs/vega-divider.cjs.entry.js +7 -7
  58. package/dist/cjs/vega-dropdown_5.cjs.entry.js +17 -17
  59. package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
  60. package/dist/cjs/{vega-event-id-ee01d8dd.js → vega-event-id-c08ce3d3.js} +2 -0
  61. package/dist/cjs/vega-field-label.cjs.entry.js +3 -3
  62. package/dist/cjs/vega-file-uploader.cjs.entry.js +11 -11
  63. package/dist/cjs/vega-flag-icon.cjs.entry.js +6 -6
  64. package/dist/cjs/vega-flex.cjs.entry.js +9 -9
  65. package/dist/cjs/vega-font.cjs.entry.js +7 -7
  66. package/dist/cjs/vega-form.cjs.entry.js +13 -13
  67. package/dist/cjs/vega-grid.cjs.entry.js +6 -6
  68. package/dist/cjs/vega-icon.cjs.entry.js +6 -6
  69. package/dist/cjs/vega-image-uploader.cjs.entry.js +14 -14
  70. package/dist/cjs/vega-input-credit-card.cjs.entry.js +16 -16
  71. package/dist/cjs/vega-input-numeric.cjs.entry.js +102 -42
  72. package/dist/cjs/vega-input-passcode.cjs.entry.js +77 -34
  73. package/dist/cjs/vega-input-phone-number.cjs.entry.js +91 -41
  74. package/dist/cjs/vega-input-range.cjs.entry.js +27 -12
  75. package/dist/cjs/vega-input-select.cjs.entry.js +17 -17
  76. package/dist/cjs/vega-input.cjs.entry.js +201 -69
  77. package/dist/cjs/{vega-internal-event-id-f2465f1b.js → vega-internal-event-id-e0aeac45.js} +2 -0
  78. package/dist/cjs/vega-item-toggle.cjs.entry.js +4 -4
  79. package/dist/cjs/vega-left-nav_5.cjs.entry.js +13 -13
  80. package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +6 -6
  81. package/dist/cjs/vega-page-notification_2.cjs.entry.js +1 -1
  82. package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +4 -4
  83. package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +4 -4
  84. package/dist/cjs/vega-pagination.cjs.entry.js +12 -12
  85. package/dist/cjs/vega-popover_2.cjs.entry.js +14 -14
  86. package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +12 -12
  87. package/dist/cjs/vega-radio_2.cjs.entry.js +14 -14
  88. package/dist/cjs/vega-rich-text-content.cjs.entry.js +10 -10
  89. package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +474 -379
  90. package/dist/cjs/vega-segment-control.cjs.entry.js +6 -6
  91. package/dist/cjs/vega-selection-chip_2.cjs.entry.js +14 -14
  92. package/dist/cjs/vega-selection-tile_2.cjs.entry.js +12 -12
  93. package/dist/cjs/vega-sidenav_3.cjs.entry.js +12 -12
  94. package/dist/cjs/vega-signature-capture.cjs.entry.js +14 -14
  95. package/dist/cjs/vega-stepper.cjs.entry.js +12 -12
  96. package/dist/cjs/vega-tab-group_2.cjs.entry.js +7 -7
  97. package/dist/cjs/vega-table_11.cjs.entry.js +14 -14
  98. package/dist/cjs/vega-text.cjs.entry.js +3 -3
  99. package/dist/cjs/vega-textarea.cjs.entry.js +110 -42
  100. package/dist/cjs/vega-time-picker_2.cjs.entry.js +18 -18
  101. package/dist/cjs/vega-toggle-switch.cjs.entry.js +10 -10
  102. package/dist/cjs/vega-tooltip_2.cjs.entry.js +10 -10
  103. package/dist/cjs/vega.cjs.js +13 -13
  104. package/dist/cjs/{wait-for-component-did-render-70a01bf9.js → wait-for-component-did-render-cbebfc33.js} +1 -1
  105. package/dist/collection/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.js +1 -1
  106. package/dist/collection/components/vega-code-block/slimmers/renderers/vega-code-block-content-renderer.js +4 -0
  107. package/dist/collection/components/vega-flex/vega-flex.css +32 -0
  108. package/dist/collection/components/vega-flex/vega-flex.js +1 -1
  109. package/dist/collection/components/vega-grid/vega-grid.js +2 -2
  110. package/dist/collection/components/vega-input/slimmers/renderers/vega-input-input-container-renderer.js +1 -1
  111. package/dist/collection/components/vega-input/slimmers/renderers/vega-input-prefix-slot-renderer.js +1 -1
  112. package/dist/collection/components/vega-input/vega-input.js +358 -100
  113. package/dist/collection/components/vega-input-credit-card/vega-input-credit-card.js +1 -1
  114. package/dist/collection/components/vega-input-numeric/vega-input-numeric.js +175 -49
  115. package/dist/collection/components/vega-input-passcode/vega-input-passcode.js +123 -35
  116. package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.js +145 -56
  117. package/dist/collection/components/vega-input-range/slimmers/renderers/vega-input-range-input-renderer.js +15 -0
  118. package/dist/collection/components/vega-input-select/vega-input-select.js +6 -5
  119. package/dist/collection/components/vega-radio/vega-radio-group/vega-radio-group.js +1 -1
  120. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/source-edit-toolbar-button-slimmer.js +2 -2
  121. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-renderer.js +4 -17
  122. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-source-view-renderer.js +102 -0
  123. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.js +49 -1
  124. package/dist/collection/components/vega-stepper/vega-stepper.js +1 -1
  125. package/dist/collection/components/vega-textarea/vega-textarea.js +183 -52
  126. package/dist/collection/constants/ui.js +9 -1
  127. package/dist/collection/helpers/event-manager/event-id/component-event-id-map.js +2 -2
  128. package/dist/collection/helpers/event-manager/event-id/vega-event-id.js +1 -0
  129. package/dist/collection/helpers/event-manager/event-id/vega-internal-event-id.js +1 -0
  130. package/dist/collection/helpers/translation/locales/en.js +1 -0
  131. package/dist/collection/helpers/translation/tests/internal-translation-controller.test.js +2 -0
  132. package/dist/collection/helpers/translation/tests/translation.test.js +14 -0
  133. package/dist/esm/{app-globals-0b3b7111.js → app-globals-3b97bb20.js} +6 -6
  134. package/dist/esm/{breakpoints-56e5407b.js → breakpoints-13353e09.js} +1 -1
  135. package/dist/esm/{child-nodes-event-prevent-slimmer-331312b8.js → child-nodes-event-prevent-slimmer-4feabae0.js} +1 -1
  136. package/dist/esm/{code-block-2408a812.js → code-block-d65bab61.js} +2 -2
  137. package/dist/esm/{component-value-history-controller-slimmer.abstract-ac40820f.js → component-value-history-controller-slimmer.abstract-556fcf2a.js} +4 -4
  138. package/dist/esm/{date-required-rule-09d5aa16.js → date-required-rule-4ffd9cae.js} +1 -1
  139. package/dist/esm/{design-token-7dec1eab.js → design-token-b518a2aa.js} +3 -3
  140. package/dist/esm/{dto-renderer-manager-d413de1e.js → dto-renderer-manager-73df5cbe.js} +3 -3
  141. package/dist/esm/{element-appender-slimmer-5d573612.js → element-appender-slimmer-36b7a572.js} +5 -5
  142. package/dist/esm/{event-emit-slimmer-ffaecb9a.js → event-emit-slimmer-f879fd58.js} +1 -1
  143. package/dist/esm/{form-field-controller-slimmer-e1a5a884.js → form-field-controller-slimmer-9a880420.js} +4 -4
  144. package/dist/esm/{image-annotation-action-54936eaa.js → image-annotation-action-eb3dcad5.js} +3 -3
  145. package/dist/esm/index.js +18 -18
  146. package/dist/esm/{inject-keyboard-manager-9339bba8.js → inject-keyboard-manager-e5481833.js} +1 -1
  147. package/dist/esm/{internal-translation-controller-113a6288.js → internal-translation-controller-0787a7a7.js} +1 -0
  148. package/dist/esm/{internal-vega-event-manager-32a3d848.js → internal-vega-event-manager-3aebbe55.js} +2 -2
  149. package/dist/esm/{keyboard-manager-f9bfa678.js → keyboard-manager-4dfc625f.js} +1 -1
  150. package/dist/esm/{keyboard-manager-slimmer-c8898843.js → keyboard-manager-slimmer-87bf68f1.js} +1 -1
  151. package/dist/esm/loader.js +13 -13
  152. package/dist/esm/{month-view-generator-160a9feb.js → month-view-generator-94134ec5.js} +1 -1
  153. package/dist/esm/{page-resize-observer-slimmer-d6af0d86.js → page-resize-observer-slimmer-e0505250.js} +1 -1
  154. package/dist/esm/{public-rules-41561e6e.js → public-rules-49912d52.js} +9 -9
  155. package/dist/esm/{range-a5d78e69.js → range-0a22b512.js} +1 -1
  156. package/dist/esm/{responsive-format-facade-2a36c54a.js → responsive-format-facade-b3799ff9.js} +3 -3
  157. package/dist/esm/{rich-text-editor-required-rule-b09039da.js → rich-text-editor-required-rule-d86e3a51.js} +1 -1
  158. package/dist/esm/{string-format-strategy.abstract-944f759b.js → string-format-strategy.abstract-e40a0df7.js} +1 -1
  159. package/dist/esm/{string-input-formatter-slimmer-2508d88b.js → string-input-formatter-slimmer-076764fc.js} +3 -3
  160. package/dist/esm/{string-mask-strategy-f9e252a2.js → string-mask-strategy-df1f5707.js} +2 -2
  161. package/dist/esm/{style-formatter-6db1e890.js → style-formatter-95255392.js} +2 -2
  162. package/dist/esm/{sub-state-notify-slimmer-5133f1a8.js → sub-state-notify-slimmer-f4b3b0b9.js} +1 -1
  163. package/dist/esm/{sub-state-observer-slimmer-478c9f41.js → sub-state-observer-slimmer-058feaf0.js} +1 -1
  164. package/dist/esm/{time-required-rule-c7cfb257.js → time-required-rule-b4af75ae.js} +1 -1
  165. package/dist/esm/{token-extension-25df8dbb.js → token-extension-ffd98170.js} +7 -7
  166. package/dist/esm/{translation-slimmer-9f0339aa.js → translation-slimmer-e788cae4.js} +1 -1
  167. package/dist/esm/{type-guard-af324dcd.js → type-guard-f69d2935.js} +2 -2
  168. package/dist/esm/{ui-28fd4193.js → ui-41f725b7.js} +8 -1
  169. package/dist/esm/{valid-credit-card-number-rule-099dba7d.js → valid-credit-card-number-rule-c023326d.js} +1 -1
  170. package/dist/esm/vega-accordion.entry.js +9 -9
  171. package/dist/esm/vega-app-header-button.entry.js +11 -11
  172. package/dist/esm/vega-banner.entry.js +3 -3
  173. package/dist/esm/vega-box.entry.js +8 -8
  174. package/dist/esm/vega-breadcrumb.entry.js +4 -4
  175. package/dist/esm/vega-button-circle.entry.js +11 -11
  176. package/dist/esm/vega-button-group_2.entry.js +7 -7
  177. package/dist/esm/vega-button-link.entry.js +4 -4
  178. package/dist/esm/vega-button.entry.js +11 -11
  179. package/dist/esm/vega-calendar_4.entry.js +14 -14
  180. package/dist/esm/vega-card.entry.js +6 -6
  181. package/dist/esm/vega-carousel.entry.js +9 -9
  182. package/dist/esm/vega-checkbox_2.entry.js +11 -11
  183. package/dist/esm/vega-chip.entry.js +11 -11
  184. package/dist/esm/vega-code-block.entry.js +16 -15
  185. package/dist/esm/vega-color-picker.entry.js +10 -10
  186. package/dist/esm/vega-combo-box.entry.js +14 -14
  187. package/dist/esm/vega-date-picker_2.entry.js +23 -23
  188. package/dist/esm/vega-dialog_2.entry.js +11 -11
  189. package/dist/esm/vega-divider.entry.js +7 -7
  190. package/dist/esm/vega-dropdown_5.entry.js +17 -17
  191. package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
  192. package/dist/esm/{vega-event-id-38aa77a0.js → vega-event-id-fdc58a67.js} +2 -1
  193. package/dist/esm/vega-field-label.entry.js +3 -3
  194. package/dist/esm/vega-file-uploader.entry.js +11 -11
  195. package/dist/esm/vega-flag-icon.entry.js +6 -6
  196. package/dist/esm/vega-flex.entry.js +9 -9
  197. package/dist/esm/vega-font.entry.js +7 -7
  198. package/dist/esm/vega-form.entry.js +13 -13
  199. package/dist/esm/vega-grid.entry.js +6 -6
  200. package/dist/esm/vega-icon.entry.js +6 -6
  201. package/dist/esm/vega-image-uploader.entry.js +14 -14
  202. package/dist/esm/vega-input-credit-card.entry.js +16 -16
  203. package/dist/esm/vega-input-numeric.entry.js +102 -42
  204. package/dist/esm/vega-input-passcode.entry.js +77 -34
  205. package/dist/esm/vega-input-phone-number.entry.js +91 -41
  206. package/dist/esm/vega-input-range.entry.js +27 -12
  207. package/dist/esm/vega-input-select.entry.js +17 -17
  208. package/dist/esm/vega-input.entry.js +201 -69
  209. package/dist/esm/{vega-internal-event-id-799d012e.js → vega-internal-event-id-12783594.js} +2 -1
  210. package/dist/esm/vega-item-toggle.entry.js +4 -4
  211. package/dist/esm/vega-left-nav_5.entry.js +13 -13
  212. package/dist/esm/vega-loader-wrapper_2.entry.js +6 -6
  213. package/dist/esm/vega-page-notification_2.entry.js +1 -1
  214. package/dist/esm/vega-pagination-page-selector-mobile.entry.js +4 -4
  215. package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +4 -4
  216. package/dist/esm/vega-pagination.entry.js +12 -12
  217. package/dist/esm/vega-popover_2.entry.js +14 -14
  218. package/dist/esm/vega-progress-tracker_2.entry.js +12 -12
  219. package/dist/esm/vega-radio_2.entry.js +14 -14
  220. package/dist/esm/vega-rich-text-content.entry.js +10 -10
  221. package/dist/esm/vega-rich-text-editor_4.entry.js +474 -379
  222. package/dist/esm/vega-segment-control.entry.js +6 -6
  223. package/dist/esm/vega-selection-chip_2.entry.js +14 -14
  224. package/dist/esm/vega-selection-tile_2.entry.js +12 -12
  225. package/dist/esm/vega-sidenav_3.entry.js +12 -12
  226. package/dist/esm/vega-signature-capture.entry.js +14 -14
  227. package/dist/esm/vega-stepper.entry.js +12 -12
  228. package/dist/esm/vega-tab-group_2.entry.js +7 -7
  229. package/dist/esm/vega-table_11.entry.js +14 -14
  230. package/dist/esm/vega-text.entry.js +3 -3
  231. package/dist/esm/vega-textarea.entry.js +110 -42
  232. package/dist/esm/vega-time-picker_2.entry.js +18 -18
  233. package/dist/esm/vega-toggle-switch.entry.js +10 -10
  234. package/dist/esm/vega-tooltip_2.entry.js +10 -10
  235. package/dist/esm/vega.js +13 -13
  236. package/dist/esm/{wait-for-component-did-render-b08ef07b.js → wait-for-component-did-render-4d0a3428.js} +1 -1
  237. package/dist/sri/vega-sri-manifest.json +345 -345
  238. package/dist/types/components/vega-input/vega-input.d.ts +317 -79
  239. package/dist/types/components/vega-input-numeric/vega-input-numeric.d.ts +117 -42
  240. package/dist/types/components/vega-input-passcode/vega-input-passcode.d.ts +82 -28
  241. package/dist/types/components/vega-input-phone-number/vega-input-phone-number.d.ts +99 -34
  242. package/dist/types/components/vega-input-range/slimmers/renderers/vega-input-range-input-renderer.d.ts +8 -0
  243. package/dist/types/components/vega-input-select/vega-input-select.d.ts +2 -2
  244. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/source-edit-toolbar-button-slimmer.d.ts +1 -1
  245. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-renderer.d.ts +1 -3
  246. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-source-view-renderer.d.ts +37 -0
  247. package/dist/types/components/vega-rich-text-editor/vega-rich-text-editor.d.ts +16 -0
  248. package/dist/types/components/vega-textarea/vega-textarea.d.ts +123 -41
  249. package/dist/types/components.d.ts +418 -218
  250. package/dist/types/constants/ui.d.ts +2 -2
  251. package/dist/types/helpers/event-manager/event-id/vega-event-id.d.ts +1 -0
  252. package/dist/types/helpers/event-manager/event-id/vega-internal-event-id.d.ts +1 -0
  253. package/dist/types/helpers/translation/interface.d.ts +2 -1
  254. package/dist/types/types/type-guard.d.ts +3 -3
  255. package/dist/vega/index.esm.js +1 -1
  256. package/dist/vega/p-0009e0bc.entry.js +1 -0
  257. package/dist/vega/{p-1a9b361b.js → p-02976501.js} +1 -1
  258. package/dist/vega/{p-bf6fc19f.entry.js → p-03280f85.entry.js} +1 -1
  259. package/dist/vega/{p-a79fdf2f.js → p-03b1e442.js} +1 -1
  260. package/dist/vega/{p-33f9ad94.entry.js → p-0681ffee.entry.js} +1 -1
  261. package/dist/vega/{p-e4c99b72.entry.js → p-093aa0cb.entry.js} +1 -1
  262. package/dist/vega/{p-3b9fc697.entry.js → p-1828f9e6.entry.js} +1 -1
  263. package/dist/vega/{p-d70e1b75.entry.js → p-19883e27.entry.js} +1 -1
  264. package/dist/vega/p-1e015382.js +1 -0
  265. package/dist/vega/{p-eab9d999.entry.js → p-1ff45314.entry.js} +1 -1
  266. package/dist/vega/{p-9a3a5b9e.js → p-24b4c64f.js} +1 -1
  267. package/dist/vega/{p-c7a9960f.entry.js → p-2e7ec8e0.entry.js} +1 -1
  268. package/dist/vega/{p-0ac9a732.entry.js → p-309b5016.entry.js} +1 -1
  269. package/dist/vega/{p-c871619c.entry.js → p-3592a26d.entry.js} +1 -1
  270. package/dist/vega/{p-b35bb4a2.entry.js → p-383e235a.entry.js} +1 -1
  271. package/dist/vega/p-3992038a.js +1 -0
  272. package/dist/vega/{p-02c9796a.js → p-3a537cd0.js} +1 -1
  273. package/dist/vega/{p-e0fb1f60.entry.js → p-3b7ad04b.entry.js} +1 -1
  274. package/dist/vega/{p-d0975995.entry.js → p-3d4b8066.entry.js} +1 -1
  275. package/dist/vega/{p-7d7aaff9.entry.js → p-3e484d99.entry.js} +1 -1
  276. package/dist/vega/{p-70444f6f.entry.js → p-3fd3861c.entry.js} +1 -1
  277. package/dist/vega/{p-600f7d6c.js → p-4079e932.js} +1 -1
  278. package/dist/vega/{p-5eb7f382.js → p-43df17a1.js} +1 -1
  279. package/dist/vega/{p-e1c017d1.entry.js → p-473ceda5.entry.js} +1 -1
  280. package/dist/vega/{p-ffb3e479.entry.js → p-474b97cf.entry.js} +1 -1
  281. package/dist/vega/{p-242fbcad.entry.js → p-47c202eb.entry.js} +1 -1
  282. package/dist/vega/p-4e0344bc.entry.js +1 -0
  283. package/dist/vega/{p-ed9ad4fd.entry.js → p-4efe9cd8.entry.js} +1 -1
  284. package/dist/vega/{p-36a09524.entry.js → p-536ad3d7.entry.js} +1 -1
  285. package/dist/vega/{p-3237be8b.entry.js → p-53e0b2bd.entry.js} +1 -1
  286. package/dist/vega/p-57180993.entry.js +1 -0
  287. package/dist/vega/{p-e827d56d.js → p-5b238c6d.js} +1 -1
  288. package/dist/vega/p-5ba34330.js +1 -0
  289. package/dist/vega/{p-acbb96b3.entry.js → p-5e1d0f21.entry.js} +1 -1
  290. package/dist/vega/{p-cf6bfac7.js → p-5ed5aa26.js} +1 -1
  291. package/dist/vega/p-5f377954.js +1 -1
  292. package/dist/vega/{p-d64fab3d.js → p-5f81beae.js} +1 -1
  293. package/dist/vega/{p-ef603656.entry.js → p-6a8ac66d.entry.js} +1 -1
  294. package/dist/vega/{p-051bbce6.js → p-6b3776ec.js} +1 -1
  295. package/dist/vega/{p-aaf9b39f.entry.js → p-6b4021f0.entry.js} +1 -1
  296. package/dist/vega/{p-4f146dae.js → p-6cf28c27.js} +1 -1
  297. package/dist/vega/{p-0037068c.entry.js → p-71cd1d9e.entry.js} +1 -1
  298. package/dist/vega/{p-ddce3e0e.entry.js → p-7440325c.entry.js} +1 -1
  299. package/dist/vega/p-764425e4.entry.js +1 -0
  300. package/dist/vega/{p-ff287001.entry.js → p-77908e45.entry.js} +1 -1
  301. package/dist/vega/{p-4c060ba9.js → p-7ade785e.js} +1 -1
  302. package/dist/vega/{p-c857e6e2.js → p-7db5e003.js} +1 -1
  303. package/dist/vega/{p-021d4ae4.js → p-7db918f4.js} +1 -1
  304. package/dist/vega/{p-ea96b0f9.entry.js → p-7f398d23.entry.js} +1 -1
  305. package/dist/vega/{p-1ccba615.entry.js → p-7f665911.entry.js} +1 -1
  306. package/dist/vega/{p-9466619f.entry.js → p-840f156e.entry.js} +1 -1
  307. package/dist/vega/{p-a17312a6.js → p-87379d3c.js} +1 -1
  308. package/dist/vega/{p-638d30a5.entry.js → p-87ed06cd.entry.js} +1 -1
  309. package/dist/vega/{p-fc049028.js → p-882a220c.js} +1 -1
  310. package/dist/vega/p-898bcb24.js +1 -0
  311. package/dist/vega/{p-d07f5d5a.entry.js → p-8fbb677e.entry.js} +1 -1
  312. package/dist/vega/p-9493d87a.js +1 -0
  313. package/dist/vega/{p-c7b9b7c2.js → p-951c0172.js} +1 -1
  314. package/dist/vega/p-95919581.entry.js +1 -0
  315. package/dist/vega/{p-7c39ce96.js → p-95d1b547.js} +1 -1
  316. package/dist/vega/{p-c086529c.entry.js → p-99c8f9a4.entry.js} +1 -1
  317. package/dist/vega/{p-7127f966.js → p-9c713bc0.js} +1 -1
  318. package/dist/vega/{p-da0fd3dc.entry.js → p-9dc77b66.entry.js} +1 -1
  319. package/dist/vega/{p-4d7d5583.js → p-9f467a59.js} +1 -1
  320. package/dist/vega/p-a113fd15.entry.js +1 -0
  321. package/dist/vega/{p-a0e69236.entry.js → p-a253e791.entry.js} +1 -1
  322. package/dist/vega/{p-4d4bf82a.entry.js → p-a3272850.entry.js} +1 -1
  323. package/dist/vega/{p-27b0af38.entry.js → p-a432708d.entry.js} +1 -1
  324. package/dist/vega/p-a57a7ab8.entry.js +1 -0
  325. package/dist/vega/{p-f65cb0b6.entry.js → p-a58bd510.entry.js} +1 -1
  326. package/dist/vega/{p-6188e783.js → p-a957e15f.js} +1 -1
  327. package/dist/vega/{p-38e850c3.js → p-abb81b7b.js} +1 -1
  328. package/dist/vega/{p-67b0ccdc.entry.js → p-ae6ed091.entry.js} +1 -1
  329. package/dist/vega/{p-2c2193f2.entry.js → p-b5e31243.entry.js} +1 -1
  330. package/dist/vega/{p-718c74ba.js → p-b88ca09b.js} +1 -1
  331. package/dist/vega/{p-a800bf6d.js → p-b901d624.js} +1 -1
  332. package/dist/vega/p-ba475520.entry.js +1 -0
  333. package/dist/vega/{p-ffd080db.js → p-bf04ff19.js} +1 -1
  334. package/dist/vega/{p-1a51bf6f.js → p-c208a3b7.js} +1 -1
  335. package/dist/vega/{p-c61bcd92.entry.js → p-c25577ae.entry.js} +1 -1
  336. package/dist/vega/{p-cbeb47be.entry.js → p-c2560608.entry.js} +1 -1
  337. package/dist/vega/{p-10e51081.js → p-c2df94f6.js} +1 -1
  338. package/dist/vega/{p-9feaac4b.entry.js → p-c3eec160.entry.js} +1 -1
  339. package/dist/vega/{p-f5fcd13e.entry.js → p-c6031d3f.entry.js} +1 -1
  340. package/dist/vega/{p-da552ddf.entry.js → p-c87cf96a.entry.js} +1 -1
  341. package/dist/vega/{p-19270396.entry.js → p-cc243e62.entry.js} +1 -1
  342. package/dist/vega/{p-af2110fc.entry.js → p-cd3d177b.entry.js} +1 -1
  343. package/dist/vega/{p-be1a210b.js → p-d0687ec0.js} +1 -1
  344. package/dist/vega/{p-7cde8489.js → p-d25db724.js} +1 -1
  345. package/dist/vega/{p-dfb12762.js → p-d42dbe39.js} +1 -1
  346. package/dist/vega/{p-1033e4c4.entry.js → p-d5570331.entry.js} +1 -1
  347. package/dist/vega/p-d5797747.js +1 -0
  348. package/dist/vega/{p-9adfcd47.entry.js → p-d7434f44.entry.js} +1 -1
  349. package/dist/vega/p-db92453f.entry.js +1 -0
  350. package/dist/vega/{p-0a3a285b.entry.js → p-e5be807b.entry.js} +1 -1
  351. package/dist/vega/p-e6f0097f.js +1 -0
  352. package/dist/vega/{p-e8775a56.entry.js → p-e7a8b61e.entry.js} +1 -1
  353. package/dist/vega/{p-d2ee5711.entry.js → p-f46f6679.entry.js} +1 -1
  354. package/dist/vega/{p-41d14339.entry.js → p-f49e8cc5.entry.js} +1 -1
  355. package/dist/vega/{p-9863e7a1.entry.js → p-f5b6059d.entry.js} +1 -1
  356. package/dist/vega/{p-68846f0d.js → p-fb40a829.js} +1 -1
  357. package/dist/vega/vega.esm.js +1 -1
  358. package/package.json +3 -2
  359. package/dist/vega/p-15335b69.entry.js +0 -1
  360. package/dist/vega/p-22f3d35c.entry.js +0 -1
  361. package/dist/vega/p-23427f6a.entry.js +0 -1
  362. package/dist/vega/p-2466316a.js +0 -1
  363. package/dist/vega/p-40f39194.js +0 -1
  364. package/dist/vega/p-77167587.entry.js +0 -1
  365. package/dist/vega/p-78ecfea0.entry.js +0 -1
  366. package/dist/vega/p-999950d1.js +0 -1
  367. package/dist/vega/p-9e36f7ff.entry.js +0 -1
  368. package/dist/vega/p-9f9d9a53.entry.js +0 -1
  369. package/dist/vega/p-ab834f06.js +0 -1
  370. package/dist/vega/p-b7f3221f.js +0 -1
  371. package/dist/vega/p-b8c10187.js +0 -1
  372. package/dist/vega/p-d2fc470e.entry.js +0 -1
  373. package/dist/vega/p-e841c1fe.entry.js +0 -1
  374. package/dist/vega/p-faa9a3bd.js +0 -1
@@ -30,127 +30,192 @@ export declare class VegaInputPhoneNumber {
30
30
  host: HTMLVegaInputPhoneNumberElement;
31
31
  phoneNumberInputValue: string;
32
32
  /**
33
- * Specifies the label or title for the phone number input field.
34
- *
35
- * It provides descriptive text that helps identify the
36
- * purpose or content expected in the input field.
33
+ * Specifies the visible label text rendered above the phone number input.
34
+ * The label identifies the purpose of the field and serves as the
35
+ * accessible name for screen readers.
37
36
  *
37
+ * @default ''
38
38
  * @vegaVersion 2.18.0
39
39
  */
40
40
  label: string;
41
41
  /**
42
- * Specifies the size of the phone number input field.
42
+ * Controls the visual size of the phone number input field.
43
+ *
44
+ * - `'default'` — Standard height, suitable for most form layouts.
45
+ * - `'small'` — Compact height, useful for dense UIs.
43
46
  *
47
+ * @default 'default'
44
48
  * @vegaVersion 2.18.0
45
49
  */
46
50
  size: 'default' | 'small';
47
51
  /**
48
- * Determines whether the phone number input field is required.
52
+ * Determines whether the phone number input field must have a value before
53
+ * the form can be submitted. When `true`, the built-in
54
+ * `InputPhoneNumberRequiredRule` is applied during validation and a
55
+ * required indicator is shown on the label.
49
56
  *
57
+ * @default false
50
58
  * @vegaVersion 2.18.0
51
59
  */
52
60
  required: boolean;
53
61
  /**
54
- * Determines whether the phone number input field is disabled.
62
+ * Specifies whether the phone number input field is disabled. When `true`,
63
+ * both the country selector and the phone number text field become
64
+ * non-interactive — the user cannot type, select a country, or focus
65
+ * any part of the component.
55
66
  *
67
+ * @default false
56
68
  * @vegaVersion 2.18.0
57
69
  */
58
70
  disabled: boolean;
59
71
  /**
60
- * Specifies the default country calling code using the two-letter uppercase country code.
72
+ * Specifies the currently selected country using a two-letter uppercase
73
+ * ISO 3166-1 alpha-2 code (e.g., `'US'`, `'GB'`, `'CN'`). The country
74
+ * code determines the flag icon and calling code prefix displayed in the
75
+ * country selector. Changing this value updates the phone number prefix
76
+ * accordingly.
61
77
  *
78
+ * @default 'US'
62
79
  * @vegaVersion 2.18.0
63
- * @defaultValue US
64
80
  */
65
81
  countryCode: VegaCountryCode;
66
82
  watchCountryCode(newCountryCode: VegaCountryCode, oldCountryCode: VegaCountryCode): void;
67
83
  /**
68
- * Specifies the countries available for selection.
84
+ * An array of country codes available for selection in the country
85
+ * dropdown. Each entry must be a two-letter uppercase ISO 3166-1 alpha-2
86
+ * code.
69
87
  *
70
- * Note: By default, 245 codes are provided, but loading all of them may take time. To improve performance, it is recommended to include only the necessary codes.
88
+ * By default all 245 supported codes are loaded, but providing a smaller
89
+ * subset improves initial render performance.
71
90
  *
91
+ * @default VegaCountryCode[] (all 245 codes)
72
92
  * @vegaVersion 2.18.0
73
- * @defaultValue ['US', 'CN', ...]{@link VegaCountryCode}
74
93
  */
75
94
  allowedCountryCodes: VegaCountryCode[];
76
95
  /**
77
- * Specifies whether the phone number input field can be set to an empty value.
78
- * - `true`:
79
- * The value property is cleared when the input field is empty.
80
- * - `false`:
81
- * The value property is `+1` when no phone number is entered.
96
+ * Controls whether the `value` property can be an empty string.
82
97
  *
98
+ * - `true` — The `value` property is cleared to `''` when the user
99
+ * deletes all digits from the input field.
100
+ * - `false` — The `value` property always retains at least the country
101
+ * calling code prefix (e.g., `'+1'` for US) even when no phone number
102
+ * digits have been entered.
103
+ *
104
+ * @default false
83
105
  * @vegaVersion 2.35.0
84
106
  */
85
107
  emptyValueEnabled: boolean;
86
108
  watchEmptyValueEnabled(): void;
87
109
  /**
88
- * Specifies the value of the phone number input in [E.164]{@link https://en.wikipedia.org/wiki/E.164} format.
110
+ * The current value of the phone number input in
111
+ * [E.164](https://en.wikipedia.org/wiki/E.164) format (e.g., `'+14155552671'`).
112
+ *
113
+ * This property is mutable and reflected to the host element attribute.
114
+ * It updates as the user types and can be set externally to pre-populate
115
+ * or reset the field. When `emptyValueEnabled` is `false` and no digits
116
+ * have been entered, the value defaults to the country calling code
117
+ * prefix (e.g., `'+1'` for US).
89
118
  *
90
- * @VegaWarning - Note: The input phone number field will always have a value. If no phone number is entered, the default format is `+{default_country_code}`.
91
- * - For example, if the default country code is US, the default value will be `+1`.
119
+ * @default '+1'
92
120
  * @vegaVersion 2.18.0
93
- * @defaultValue +1
94
121
  */
95
122
  value: string;
96
123
  watchValue(newValue: string, oldValue: string): void;
97
124
  /**
98
- * Specifies custom validation rules for the phone number input field.
125
+ * An array of custom validation rules applied to the phone number input in
126
+ * addition to the built-in rules (`InputPhoneNumberRequiredRule`,
127
+ * `ValidPhoneNumberRule`). Each rule must implement the
128
+ * `FormFieldValidationRule` interface.
99
129
  *
130
+ * Rules are evaluated in order when `autoValidation` is enabled or when
131
+ * validation is triggered programmatically.
132
+ *
133
+ * @default []
100
134
  * @vegaVersion 2.18.0
101
135
  */
102
136
  validationRules: FormFieldValidationRule<unknown>[];
103
137
  watchValidationRules(): void;
104
138
  /**
105
- * Indicates whether the current value in the field is considered valid
106
- * based on the defined validation rules.
139
+ * Reflects the current validation status of the phone number input.
140
+ *
141
+ * - `true` — the field value passes all validation rules.
142
+ * - `false` — one or more validation rules have failed.
143
+ * - `null` — the field has not been validated yet (initial state).
107
144
  *
145
+ * This property is mutable: it is updated automatically when
146
+ * `autoValidation` is enabled, but can also be set manually to override
147
+ * the validation state.
148
+ *
149
+ * @default null
108
150
  * @vegaVersion 2.18.0
109
151
  */
110
152
  isValid: boolean;
111
153
  /**
112
- * Determines whether the phone number input field should undergo automatic validation
113
- * during the user's input.
154
+ * Determines whether the phone number input should be validated
155
+ * automatically as the user interacts with it. When `true`, validation
156
+ * rules (including `required`, `ValidPhoneNumberRule`, and custom
157
+ * `validationRules`) are evaluated and the `isValid` property is updated
158
+ * accordingly.
159
+ *
160
+ * Set to `false` to handle validation manually.
114
161
  *
162
+ * @default true
115
163
  * @vegaVersion 2.18.0
116
164
  */
117
165
  autoValidation: boolean;
118
166
  /**
119
- * Specifies a placeholder string that displays as a temporary hint
120
- * or example inside the input field.
167
+ * Specifies placeholder text displayed inside the phone number text field
168
+ * when it is empty. The placeholder disappears once the user begins typing
169
+ * and is typically used to indicate the expected format
170
+ * (e.g., `'(555) 555-5555'`).
121
171
  *
172
+ * @default undefined
122
173
  * @vegaVersion 2.18.0
123
174
  */
124
175
  placeholder: string;
125
176
  /**
126
- * Provides a supplementary prompt message that assists users in
127
- * understanding the expected value for the input field.
177
+ * Supplementary helper message displayed below the phone number input that
178
+ * assists users in understanding the expected value or provides additional
179
+ * context (e.g., `'We will send a verification code to this number'`).
128
180
  *
181
+ * @default ''
129
182
  * @vegaVersion 2.18.0
130
183
  */
131
184
  hint: string;
132
185
  /**
133
- * An event emitter notifying a value change.
186
+ * Fires whenever the phone number value changes — including typing,
187
+ * pasting, or programmatic updates. The event detail contains the full
188
+ * phone number in E.164 format (e.g., `'+14155552671'`).
134
189
  *
190
+ * @eventDetail string
135
191
  * @vegaVersion 2.18.0
136
192
  */
137
193
  vegaChange: EventEmitter<string>;
138
194
  /**
139
- * An event emitter notifying a value change.
195
+ * Native-equivalent mirror of `vegaChange`. Fires with the same payload
196
+ * and at the same time, allowing consumers to listen using the standard
197
+ * `change` event name.
140
198
  *
199
+ * @eventDetail string
141
200
  * @eventSemantics namespace:native
142
201
  * @vegaVersion 2.18.0
143
202
  */
144
203
  change: EventEmitter<string>;
145
204
  /**
146
- * An event emitter notifying a country change.
205
+ * Fires whenever the selected country changes via the country dropdown.
206
+ * The event detail contains a `VegaCountryType` object with the country
207
+ * code, calling code, and display name of the newly selected country.
147
208
  *
209
+ * @eventDetail VegaCountryType
148
210
  * @vegaVersion 2.18.0
149
211
  */
150
212
  vegaCountryChange: EventEmitter<VegaCountryType>;
151
213
  /**
152
- * An event emitter notifying a country change.
214
+ * Native-equivalent mirror of `vegaCountryChange`. Fires with the same
215
+ * payload and at the same time, allowing consumers to listen using the
216
+ * standard `countryChange` event name.
153
217
  *
218
+ * @eventDetail VegaCountryType
154
219
  * @eventSemantics namespace:native
155
220
  * @vegaVersion 2.18.0
156
221
  */
@@ -10,6 +10,7 @@ export declare class VegaInputRangeInputRenderer extends VegaSlimmer {
10
10
  protected max: VegaInputRange['max'];
11
11
  protected size: VegaInputRange['size'];
12
12
  protected placeholder: VegaInputRange['placeholder'];
13
+ protected label: VegaInputRange['label'];
13
14
  protected showClearIcon: VegaInputRange['showClearIcon'];
14
15
  protected valueController: VegaInputRange['valueController'];
15
16
  protected clearIconRenderer: VegaInputRange['clearIconRenderer'];
@@ -54,6 +55,13 @@ export declare class VegaInputRangeInputRenderer extends VegaSlimmer {
54
55
  * @returns {string} the input placeholder text
55
56
  */
56
57
  private getPlaceholderByIndex;
58
+ /**
59
+ * Get the data aria label for the input range input by the input range index
60
+ *
61
+ * @param {number} index the range index 0|1
62
+ * @returns {string} the data aria label for the input range input
63
+ */
64
+ private getDataAriaLabel;
57
65
  /**
58
66
  * get the input value by the input range index
59
67
  *
@@ -80,11 +80,11 @@ export declare class VegaInputSelect {
80
80
  * Allows customization of the text displayed within the
81
81
  * select field when single or multiple items are selected.
82
82
  * The default format for the selected label is
83
- * `${number of selected items} Selected` for multiple mode only.
83
+ * `{0} Selected` for multiple mode only.
84
84
  *
85
85
  * To enable all modes, use the `SelectedLabelTypeForAllModes` type.
86
86
  * For single mode, the default format is the `displayName` of the selected item if not set
87
- * For multiple mode, the default format is `${number of selected items} Selected` if not set
87
+ * For multiple mode, the default format is `{0} Selected` if not set
88
88
  *
89
89
  * @vegaVersion 1.35.0
90
90
  */
@@ -4,7 +4,7 @@ export declare class SourceEditToolbarButtonSlimmer extends ToolbarButtonSlimmer
4
4
  sourceView: VegaRichTextEditor['sourceView'];
5
5
  selectionController: VegaRichTextEditor['selectionController'];
6
6
  valueController: VegaRichTextEditor['valueController'];
7
- vegaRichTextEditorRenderer: VegaRichTextEditor['vegaRichTextEditorRenderer'];
7
+ richTextEditorSourceViewRenderer: VegaRichTextEditor['richTextEditorSourceViewRenderer'];
8
8
  sourceEditConfig: VegaRichTextEditor['sourceEditConfig'];
9
9
  value: VegaRichTextEditor['value'];
10
10
  constructor();
@@ -16,10 +16,10 @@ export declare class VegaRichTextEditorRenderer extends VegaSlimmer {
16
16
  sourceEditConfig: VegaRichTextEditor['sourceEditConfig'];
17
17
  allowSourceEdit: VegaRichTextEditor['allowSourceEdit'];
18
18
  extensions: VegaRichTextEditor['extensions'];
19
+ richTextEditorSourceViewRenderer: VegaRichTextEditor['richTextEditorSourceViewRenderer'];
19
20
  private richTextContainerRef;
20
21
  private richTextContentRef;
21
22
  private richTextWrapperRef;
22
- private sourceCodeBlockRef;
23
23
  /**
24
24
  * Component lifecycle - [componentDidRender]{@link VegaRichTextEditor.componentDidRender}
25
25
  */
@@ -48,7 +48,6 @@ export declare class VegaRichTextEditorRenderer extends VegaSlimmer {
48
48
  * @returns {Nullable<HTMLDivElement>} The div element which has property contenteditable
49
49
  */
50
50
  getRTEEditableElementRef(): Nullable<HTMLDivElement>;
51
- getSourceCode(): Nullable<string>;
52
51
  render(): VegaRichTextEditor;
53
52
  private renderRichTextEditor;
54
53
  private renderLabel;
@@ -57,6 +56,5 @@ export declare class VegaRichTextEditorRenderer extends VegaSlimmer {
57
56
  private renderCharacterCounter;
58
57
  private renderErrorMessage;
59
58
  private richTextContentFocus;
60
- private renderSourceViewContent;
61
59
  private renderContent;
62
60
  }
@@ -0,0 +1,37 @@
1
+ import { VegaSlimmer } from '../../../../vega-slimmer/vega-slimmer-core';
2
+ import { VegaRichTextEditor } from '../../vega-rich-text-editor';
3
+ import { Nullable } from '../../../../types/general';
4
+ /**
5
+ * The renderer for the source view of the rich text editor. It renders a code block for editing the source code of the rich text editor content.
6
+ */
7
+ export declare class VegaRichTextEditorSourceViewRenderer extends VegaSlimmer {
8
+ host: VegaRichTextEditor['host'];
9
+ allowSourceEdit: VegaRichTextEditor['allowSourceEdit'];
10
+ sourceView: VegaRichTextEditor['sourceView'];
11
+ value: VegaRichTextEditor['value'];
12
+ disabled: VegaRichTextEditor['disabled'];
13
+ sourceEditConfig: VegaRichTextEditor['sourceEditConfig'];
14
+ sourceCodeChangeEventEmitter: VegaRichTextEditor['sourceCodeChangeEventEmitter'];
15
+ private sourceCodeBlockRef;
16
+ private prevRecord;
17
+ /**
18
+ * Clean up the code block blur observer when the component is disconnected to prevent memory leaks.
19
+ */
20
+ clearCodeBlockBlurObserver(): void;
21
+ /**
22
+ * Get the source code from the source view's code block.
23
+ *
24
+ * @returns {Nullable<string>} The source code, or null if the code block reference is not set.
25
+ */
26
+ getSourceCode(): Nullable<string>;
27
+ /**
28
+ * Render the source view, which is a code block for editing the source code of the rich text editor content.
29
+ *
30
+ * @returns {Nullable<HTMLElement>} The rendered source view element, or null if source editing is not allowed.
31
+ */
32
+ render(): Nullable<HTMLElement>;
33
+ /**
34
+ * Handle the blur event of the code block. When the code block loses focus, emit the source code change event with the current source code.
35
+ */
36
+ private handleCodeBlockBlur;
37
+ }
@@ -44,6 +44,7 @@ import { InternalCodeBlockSelectionController } from './slimmers/controllers/int
44
44
  import { SourceEditToolbarButtonSlimmer } from './slimmers/renderers/tools/source-edit-toolbar-button-slimmer';
45
45
  import { VegaRTEExtension } from './extensions/extension.abstract';
46
46
  import { RTEExtensionController } from './slimmers/controllers/extension-controller';
47
+ import { VegaRichTextEditorSourceViewRenderer } from './slimmers/renderers/vega-rich-text-editor-source-view-renderer';
47
48
  /**
48
49
  * @vegaVersion 2.34.0
49
50
  */
@@ -88,6 +89,8 @@ export declare class VegaRichTextEditor {
88
89
  protected readonly historyController: HistoryController;
89
90
  protected readonly internalCodeBlockSelectionController: InternalCodeBlockSelectionController;
90
91
  protected readonly rteExtensionController: RTEExtensionController;
92
+ protected readonly sourceCodeChangeEventEmitter: EventEmitSlimmerBase;
93
+ protected readonly richTextEditorSourceViewRenderer: VegaRichTextEditorSourceViewRenderer;
91
94
  host: HTMLVegaRichTextEditorElement;
92
95
  richTextContentEditable: boolean;
93
96
  watchRichTextContentEditable(): void;
@@ -222,6 +225,19 @@ export declare class VegaRichTextEditor {
222
225
  * @vegaVersion 2.34.0
223
226
  */
224
227
  imageInserted: EventEmitter<VegaRichTextEditorImage>;
228
+ /**
229
+ * An event emitter notifying a source code change event. It triggers when the editor loses focus in source edit mode.
230
+ *
231
+ * @vegaVersion 2.78.0
232
+ */
233
+ vegaSourceCodeChange: EventEmitter<string>;
234
+ /**
235
+ * An event emitter notifying a source code change event. It triggers when the editor loses focus in source edit mode.
236
+ *
237
+ * @eventSemantics namespace:native
238
+ * @vegaVersion 2.78.0
239
+ */
240
+ sourceCodeChange: EventEmitter<string>;
225
241
  componentWillLoad(): void;
226
242
  render(): VegaRichTextEditor;
227
243
  }
@@ -23,154 +23,236 @@ export declare class VegaTextarea {
23
23
  host: HTMLVegaTextareaElement;
24
24
  currentCharCount: number;
25
25
  /**
26
- * Specifies a placeholder string that displays as a
27
- * temporary hint or example within the text area.
26
+ * Specifies a placeholder string that displays as a temporary hint or
27
+ * example within the text area. The placeholder text is shown when the
28
+ * field is empty and disappears once the user begins typing.
28
29
  *
29
- * It indicates the expected format or pattern of
30
- * the input within the text area.
30
+ * Use this to indicate the expected format or content of the input,
31
+ * for example `'Enter your comments here...'`.
31
32
  *
33
+ * @default ''
32
34
  * @vegaVersion 1.11.0
33
35
  */
34
36
  placeholder: string;
35
37
  /**
36
- * Provides a supplementary prompt message that assists users in
37
- * understanding the expected value within the text area.
38
+ * Provides a supplementary helper message displayed below the text area
39
+ * that assists users in understanding the expected value or format.
38
40
  *
41
+ * The hint is visible at all times (not just on focus) and is typically
42
+ * used for guidance such as character requirements or formatting rules.
43
+ *
44
+ * @default ''
39
45
  * @vegaVersion 1.11.0
40
46
  */
41
47
  hint: string;
42
48
  /**
43
- * Specifies whether the text area is disabled.
49
+ * Specifies whether the text area is disabled. When `true`, the text area
50
+ * is non-interactive — the user cannot type, focus, or select the field.
51
+ * The disabled state is reflected as an HTML attribute for CSS styling.
44
52
  *
53
+ * @default false
45
54
  * @vegaVersion 1.11.0
46
55
  */
47
56
  disabled: boolean;
48
57
  /**
49
- * Specifies the label or title for the text area.
58
+ * Specifies the visible label text rendered above the text area. The label
59
+ * helps identify the purpose or content expected within the field and also
60
+ * serves as the accessible `aria-label` for screen readers when present.
50
61
  *
51
- * It provides descriptive text that helps identify the
52
- * purpose or content expected within the text area.
62
+ * Clicking the label will focus the text area.
53
63
  *
64
+ * @default ''
54
65
  * @vegaVersion 1.11.0
55
66
  */
56
67
  label: string;
57
68
  /**
58
- * Specifies the properties for the suffix button associated with the input.
69
+ * Configuration object for an optional suffix button rendered beside the
70
+ * field label. Use this to provide an inline action (e.g., a help or info
71
+ * button) next to the label text.
59
72
  *
60
- * It provides essential information and functionality
61
- * related to the suffix button's role and behavior.
73
+ * When the button is clicked, the `vegaLabelButtonClick` event is emitted.
74
+ * Set to `null` to hide the suffix button.
62
75
  *
76
+ * @default null
63
77
  * @vegaVersion 2.68.0
64
78
  */
65
79
  labelSuffixButtonConfig: Nullable<LabelSuffixButtonConfig>;
66
80
  /**
67
- * Determines whether to display a character counter
68
- * for the textarea.
81
+ * Determines whether to display a live character counter below the text area.
82
+ *
83
+ * When `true`, the counter shows the current character count. If `maxLength`
84
+ * is also set, the counter displays in the format `current/max` and visually
85
+ * highlights when the limit is exceeded.
69
86
  *
87
+ * @default false
70
88
  * @vegaVersion 1.11.0
71
89
  */
72
90
  showCounter: boolean;
73
91
  /**
74
- * Specifies the initial value or content of the
75
- * textarea field.
92
+ * The current value (content) of the text area field.
93
+ *
94
+ * This property is mutable and will be updated programmatically when the
95
+ * user types into the text area. It can also be set externally to
96
+ * pre-populate or reset the field. Changes to this property trigger the
97
+ * `vegaChange` event and update the character counter if `showCounter`
98
+ * is enabled. Supports two-way binding in framework wrappers.
76
99
  *
100
+ * @default ''
77
101
  * @vegaVersion 1.11.0
78
102
  */
79
103
  value: string;
80
104
  watchValue(value: string): void;
81
105
  /**
82
- * Specifies the validation status of the
83
- * text area component.
106
+ * Reflects the current validation status of the text area.
84
107
  *
108
+ * - `true` — the field value passes all validation rules.
109
+ * - `false` — one or more validation rules have failed.
110
+ * - `null` — the field has not been validated yet (initial state).
111
+ *
112
+ * This property is mutable: it is updated automatically when
113
+ * `autoValidation` is enabled, but can also be set manually to override
114
+ * the validation state. The value is reflected as an HTML attribute.
115
+ *
116
+ * @default null
85
117
  * @vegaVersion 1.11.0
86
118
  */
87
119
  isValid: boolean;
88
120
  /**
89
- * Determines whether automatic validation should be
90
- * implemented for the text area.
121
+ * Determines whether the text area should be validated automatically as the
122
+ * user types. When `true`, validation rules (including `required`, `minLength`,
123
+ * `maxLength`, and custom `validationRules`) are evaluated on blur and the
124
+ * `isValid` property is updated accordingly.
125
+ *
126
+ * Set to `false` to handle validation manually.
91
127
  *
128
+ * @default true
92
129
  * @vegaVersion 1.11.0
93
130
  */
94
131
  autoValidation: boolean;
95
132
  /**
96
- * Determines whether the content of the textarea must be
97
- * provided by the user before submitting the form or
98
- * completing the input process.
133
+ * Determines whether the text area must have a non-empty value before the
134
+ * form can be submitted. When `true`, a required-field indicator is shown
135
+ * on the label and the built-in `RequiredFieldRule` is applied during
136
+ * validation.
99
137
  *
138
+ * @default false
100
139
  * @vegaVersion 1.11.0
101
140
  */
102
141
  required: boolean;
103
142
  /**
104
- * Specifies the maximum number of characters (UTF-16 code units)
105
- * that the user can enter in the text area.
143
+ * Specifies the maximum number of characters (UTF-16 code units) that the
144
+ * user can enter in the text area. The native `maxlength` attribute is
145
+ * applied to the inner `<textarea>` element.
106
146
  *
147
+ * When `showCounter` is `true`, the maximum value is displayed alongside
148
+ * the current character count (e.g., `42/200`). Exceeding this limit
149
+ * triggers a visual warning on the counter and fails the
150
+ * `MaxStringLengthRule` during validation.
151
+ *
152
+ * Set to `null` to allow unlimited input.
153
+ *
154
+ * @default null
107
155
  * @vegaVersion 1.11.0
108
156
  */
109
157
  maxLength: number;
110
- /** Specifies the minimum number of characters (UTF-16 code units)
111
- * that the user must enter in the text area.
158
+ /**
159
+ * Specifies the minimum number of characters (UTF-16 code units) that the
160
+ * user must enter in the text area for the value to be considered valid.
161
+ * The native `minlength` attribute is applied to the inner `<textarea>`
162
+ * element.
112
163
  *
164
+ * When set, the `MinStringLengthRule` is applied during validation. Set to
165
+ * `null` to impose no minimum length.
166
+ *
167
+ * @default null
113
168
  * @vegaVersion 1.11.0
114
169
  */
115
170
  minLength: number;
116
171
  /**
117
- * Determines whether the text area is vertically resizable.
172
+ * Determines whether the user can vertically resize the text area by
173
+ * dragging its bottom-right corner. When `false`, the resize handle is
174
+ * hidden via CSS and the text area height is fixed.
118
175
  *
176
+ * @default true
119
177
  * @vegaVersion 2.19.0
120
178
  */
121
179
  resizable: boolean;
122
180
  /**
123
- * Specifies the number of visible lines in the textarea. The value must be an integer greater than or equal to 2.
181
+ * Specifies the number of visible text lines in the text area, controlling
182
+ * its initial height. Accepts integers ≥ 2. For optimal display, values
183
+ * below 2 are internally adjusted to 4 rows.
124
184
  *
185
+ * @default 5
125
186
  * @vegaVersion 2.63.0
126
187
  */
127
188
  rows: number;
128
189
  /**
129
- * Specifies custom validation rules for the text area.
190
+ * An array of custom validation rules applied to the text area in addition
191
+ * to the built-in rules (`RequiredFieldRule`, `MinStringLengthRule`,
192
+ * `MaxStringLengthRule`). Each rule must implement the
193
+ * `FormFieldValidationRule` interface.
194
+ *
195
+ * Rules are evaluated in order when `autoValidation` is enabled or when
196
+ * validation is triggered programmatically.
130
197
  *
198
+ * @default []
131
199
  * @vegaVersion 1.11.0
132
200
  */
133
201
  validationRules: FormFieldValidationRule<unknown>[];
134
202
  watchValidationRules(): void;
135
203
  /**
136
- * An event emitter notifying about changes in the value
137
- * of the text area.
204
+ * Fired whenever the text area value changes, whether by user input or
205
+ * programmatic update of the `value` property. This is the primary event
206
+ * for reacting to content changes and implementing two-way binding.
138
207
  *
208
+ * @eventDetail string — The updated text area value.
139
209
  * @vegaVersion 1.11.0
140
210
  */
141
211
  vegaChange: EventEmitter<string>;
142
212
  /**
143
- * An event emitter notifying about changes in the value
144
- * of the text area.
213
+ * Native-namespace mirror of `vegaChange`. Fired whenever the text area
214
+ * value changes. Provided for compatibility with standard DOM event
215
+ * listeners.
145
216
  *
217
+ * @eventDetail string — The updated text area value.
146
218
  * @eventSemantics namespace:native
147
219
  * @vegaVersion 2.0.0
148
220
  */
149
221
  change: EventEmitter<string>;
150
222
  /**
151
- * An event emitter notifying the blur event of the inner
152
- * textarea element within the text area.
223
+ * Fired when the inner `<textarea>` element loses focus (blur). Use this
224
+ * event to trigger validation or save actions when the user leaves the
225
+ * text area.
153
226
  *
227
+ * @eventDetail undefined — No payload; signals the blur occurrence only.
154
228
  * @vegaVersion 1.11.0
155
229
  */
156
230
  vegaBlur: EventEmitter<undefined>;
157
231
  /**
158
- * An event emitter notifying the blur event of the inner
159
- * textarea element within the text area.
232
+ * Native-namespace mirror of `vegaBlur`. Fired when the inner `<textarea>`
233
+ * element loses focus. Provided for compatibility with standard DOM event
234
+ * listeners.
160
235
  *
236
+ * @eventDetail undefined — No payload; signals the blur occurrence only.
161
237
  * @eventSemantics namespace:native
162
238
  * @vegaVersion 2.0.0
163
239
  */
164
240
  blur: EventEmitter<undefined>;
165
241
  /**
166
- * An event emitter notifying that the suffix button associated with the field label has been clicked.
242
+ * Fired when the suffix button configured via `labelSuffixButtonConfig` is
243
+ * clicked. Listen for this event to handle inline label actions such as
244
+ * opening a help dialog or toggling additional information.
167
245
  *
246
+ * @eventDetail void
168
247
  * @vegaVersion 2.68.0
169
248
  */
170
249
  vegaLabelButtonClick: EventEmitter;
171
250
  /**
172
- * An event emitter notifying that the suffix button associated with the field label has been clicked.
251
+ * Native-namespace mirror of `vegaLabelButtonClick`. Fired when the label
252
+ * suffix button is clicked. Provided for compatibility with standard DOM
253
+ * event listeners.
173
254
  *
255
+ * @eventDetail void
174
256
  * @eventSemantics namespace:native
175
257
  * @vegaVersion 2.68.0
176
258
  */