@heartlandone/vega 2.76.0 → 2.77.1

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 (508) hide show
  1. package/dist/cjs/{app-globals-12b7d808.js → app-globals-1021e33e.js} +7 -7
  2. package/dist/cjs/aria-attributes-value-mapper-9a41b9cf.js +143 -0
  3. package/dist/cjs/{child-nodes-event-prevent-slimmer-84435957.js → child-nodes-event-prevent-slimmer-cc6d2919.js} +1 -1
  4. package/dist/cjs/{code-block-f1480ec3.js → code-block-f9b86a25.js} +1 -1
  5. package/dist/cjs/{component-value-history-controller-slimmer.abstract-a9264cc8.js → component-value-history-controller-slimmer.abstract-6bcff70b.js} +3 -3
  6. package/dist/cjs/{date-required-rule-912469e0.js → date-required-rule-d3c2d088.js} +1 -1
  7. package/dist/cjs/{design-token-41baf118.js → design-token-b21879b6.js} +2 -2
  8. package/dist/cjs/{dto-renderer-manager-809c947b.js → dto-renderer-manager-e2823eb8.js} +2 -2
  9. package/dist/cjs/{element-appender-slimmer-34e4eb56.js → element-appender-slimmer-40d39bba.js} +179 -20
  10. package/dist/cjs/{form-field-controller-slimmer-102f37c7.js → form-field-controller-slimmer-1b3a1388.js} +1 -1
  11. package/dist/cjs/{image-annotation-action-8d9fa20c.js → image-annotation-action-b83283d4.js} +2 -2
  12. package/dist/cjs/index.cjs.js +13 -13
  13. package/dist/cjs/{inject-keyboard-manager-0f5bd568.js → inject-keyboard-manager-ea5c598e.js} +1 -1
  14. package/dist/cjs/{internal-translation-controller-053eb0f1.js → internal-translation-controller-1f84ab0a.js} +15 -0
  15. package/dist/cjs/{keyboard-manager-055e9f67.js → keyboard-manager-16494c34.js} +1 -1
  16. package/dist/cjs/{keyboard-manager-slimmer-0cc0c1c7.js → keyboard-manager-slimmer-5b8fa209.js} +1 -1
  17. package/dist/cjs/legend-input-processor-1e53e5bc.js +2126 -0
  18. package/dist/cjs/loader.cjs.js +9 -9
  19. package/dist/cjs/{month-view-generator-6a6dd527.js → month-view-generator-1a57578d.js} +1 -1
  20. package/dist/cjs/{public-rules-922849f3.js → public-rules-5bd1624d.js} +7 -7
  21. package/dist/cjs/{range-8aa49b08.js → range-7a038973.js} +1 -1
  22. package/dist/cjs/{responsive-format-facade-ea59bdcd.js → responsive-format-facade-0b65ce4a.js} +2 -2
  23. package/dist/cjs/{rich-text-editor-required-rule-22225840.js → rich-text-editor-required-rule-d984c0b6.js} +1 -1
  24. package/dist/cjs/{string-format-strategy.abstract-f2575647.js → string-format-strategy.abstract-714bfad2.js} +1 -1
  25. package/dist/cjs/{string-input-formatter-slimmer-0a334fc6.js → string-input-formatter-slimmer-9ef2ec7a.js} +1 -1
  26. package/dist/cjs/{string-mask-strategy-dda58395.js → string-mask-strategy-bd2c18df.js} +2 -2
  27. package/dist/cjs/{style-formatter-0c3ced39.js → style-formatter-7a4e9811.js} +2 -2
  28. package/dist/cjs/{time-required-rule-d6fa7aa8.js → time-required-rule-50784b9f.js} +1 -1
  29. package/dist/cjs/{token-extension-07cac85d.js → token-extension-5a1c473e.js} +102 -81
  30. package/dist/cjs/{translation-slimmer-4533bd67.js → translation-slimmer-2c207e34.js} +1 -1
  31. package/dist/cjs/{type-guard-407ba0b8.js → type-guard-cd0376d4.js} +36 -1
  32. package/dist/cjs/{valid-credit-card-number-rule-41a8b51b.js → valid-credit-card-number-rule-3f8dc897.js} +1 -1
  33. package/dist/cjs/vega-accordion.cjs.entry.js +7 -7
  34. package/dist/cjs/vega-app-header-button.cjs.entry.js +39 -146
  35. package/dist/cjs/vega-banner.cjs.entry.js +1 -1
  36. package/dist/cjs/vega-bar-chart.cjs.entry.js +2 -2
  37. package/dist/cjs/vega-box.cjs.entry.js +6 -6
  38. package/dist/cjs/vega-breadcrumb.cjs.entry.js +2 -2
  39. package/dist/cjs/vega-button-circle.cjs.entry.js +23 -8
  40. package/dist/cjs/vega-button-group_2.cjs.entry.js +2 -2
  41. package/dist/cjs/vega-button-link.cjs.entry.js +18 -2
  42. package/dist/cjs/vega-button.cjs.entry.js +5 -5
  43. package/dist/cjs/vega-calendar_4.cjs.entry.js +7 -7
  44. package/dist/cjs/vega-card.cjs.entry.js +5 -5
  45. package/dist/cjs/vega-carousel.cjs.entry.js +4 -4
  46. package/dist/cjs/vega-checkbox_2.cjs.entry.js +4 -4
  47. package/dist/cjs/vega-chip.cjs.entry.js +6 -6
  48. package/dist/cjs/vega-code-block.cjs.entry.js +10 -10
  49. package/dist/cjs/vega-color-picker.cjs.entry.js +2 -2
  50. package/dist/cjs/vega-combo-box.cjs.entry.js +7 -7
  51. package/dist/cjs/vega-date-picker_2.cjs.entry.js +128 -25
  52. package/dist/cjs/vega-dialog_2.cjs.entry.js +6 -6
  53. package/dist/cjs/vega-divider.cjs.entry.js +5 -5
  54. package/dist/cjs/vega-dropdown_5.cjs.entry.js +33 -9
  55. package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
  56. package/dist/cjs/vega-file-uploader.cjs.entry.js +3 -3
  57. package/dist/cjs/vega-flag-icon.cjs.entry.js +5 -5
  58. package/dist/cjs/vega-flex.cjs.entry.js +6 -6
  59. package/dist/cjs/vega-font.cjs.entry.js +5 -5
  60. package/dist/cjs/vega-form.cjs.entry.js +5 -5
  61. package/dist/cjs/vega-grid.cjs.entry.js +5 -5
  62. package/dist/cjs/vega-icon.cjs.entry.js +5 -5
  63. package/dist/cjs/vega-image-uploader.cjs.entry.js +7 -7
  64. package/dist/cjs/vega-input-credit-card.cjs.entry.js +8 -8
  65. package/dist/cjs/vega-input-numeric.cjs.entry.js +7 -7
  66. package/dist/cjs/vega-input-passcode.cjs.entry.js +39 -9
  67. package/dist/cjs/vega-input-phone-number.cjs.entry.js +4757 -5589
  68. package/dist/cjs/vega-input-range.cjs.entry.js +5 -5
  69. package/dist/cjs/vega-input-select.cjs.entry.js +7 -7
  70. package/dist/cjs/vega-input.cjs.entry.js +220 -125
  71. package/dist/cjs/vega-left-nav_5.cjs.entry.js +7 -8
  72. package/dist/cjs/vega-line-chart.cjs.entry.js +325 -23
  73. package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +4 -4
  74. package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +2 -2
  75. package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +2 -2
  76. package/dist/cjs/vega-pagination.cjs.entry.js +6 -6
  77. package/dist/cjs/vega-pie-chart.cjs.entry.js +5 -88
  78. package/dist/cjs/vega-popover_2.cjs.entry.js +9 -9
  79. package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +4 -4
  80. package/dist/cjs/vega-radio_2.cjs.entry.js +7 -7
  81. package/dist/cjs/vega-rich-text-content.cjs.entry.js +26 -6
  82. package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +129 -31
  83. package/dist/cjs/vega-selection-chip_2.cjs.entry.js +6 -6
  84. package/dist/cjs/vega-selection-tile_2.cjs.entry.js +4 -4
  85. package/dist/cjs/vega-sidenav_3.cjs.entry.js +4 -4
  86. package/dist/cjs/vega-signature-capture.cjs.entry.js +7 -7
  87. package/dist/cjs/vega-stepper.cjs.entry.js +4 -4
  88. package/dist/cjs/vega-tab-group_2.cjs.entry.js +2 -2
  89. package/dist/cjs/vega-table_11.cjs.entry.js +6 -6
  90. package/dist/cjs/vega-textarea.cjs.entry.js +4 -4
  91. package/dist/cjs/vega-time-picker_2.cjs.entry.js +11 -11
  92. package/dist/cjs/vega-toggle-switch.cjs.entry.js +2 -2
  93. package/dist/cjs/vega-tooltip_2.cjs.entry.js +8 -8
  94. package/dist/cjs/vega.cjs.js +9 -9
  95. package/dist/cjs/y-axis-input-processor-54a26515.js +832 -0
  96. package/dist/collection/components/vega-accordion/slimmers/vega-accordion-renderer.js +1 -1
  97. package/dist/collection/components/vega-accordion/vega-accordion.css +5 -0
  98. package/dist/collection/components/vega-app-header-button/vega-app-header-button.js +44 -2
  99. package/dist/collection/components/vega-button-circle/vega-button-circle.js +17 -3
  100. package/dist/collection/components/vega-button-link/vega-button-link.js +16 -1
  101. package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-event-preview-popover-renderer.js +1 -1
  102. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-open-state-controller.js +64 -0
  103. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-selection-controller.js +3 -0
  104. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-header-render.js +3 -3
  105. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-renderer.js +19 -1
  106. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-year-month-switcher-renderer.js +3 -2
  107. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-month-item-renderer.js +18 -3
  108. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.css +196 -207
  109. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.js +32 -0
  110. package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.js +25 -0
  111. package/dist/collection/components/vega-input/slimmers/controllers/vega-input-render-mode-controller.js +1 -3
  112. package/dist/collection/components/vega-input/slimmers/renderers/vega-input-input-container-renderer.js +1 -5
  113. package/dist/collection/components/vega-input/slimmers/renderers/vega-input-input-renderer.js +1 -4
  114. package/dist/collection/components/vega-input/slimmers/renderers/vega-input-input-suggestions-renderer.js +5 -2
  115. package/dist/collection/components/vega-input/vega-input.js +24 -1
  116. package/dist/collection/components/vega-input-passcode/slimmers/controllers/vega-input-passcode-keyboard-controller.js +2 -0
  117. package/dist/collection/components/vega-input-passcode/slimmers/renderers/vega-input-passcode-renderer.js +30 -2
  118. package/dist/collection/components/vega-input-phone-number/slimmers/controllers/country-select-controller.js +1 -1
  119. package/dist/collection/components/vega-input-phone-number/slimmers/controllers/vega-input-phone-number-value-controller.js +1 -1
  120. package/dist/collection/components/vega-input-phone-number/slimmers/renderers/country-select-renderer.js +1 -1
  121. package/dist/collection/components/vega-input-phone-number/slimmers/renderers/phone-number-input-renderer.js +1 -1
  122. package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.js +4 -4
  123. package/dist/collection/components/vega-nav/vega-left-nav-link/slimmers/renderers/vega-left-nav-link-renderer.js +2 -3
  124. package/dist/collection/components/vega-popover/vega-popover-content-box/vega-popover-content-box.css +5 -0
  125. package/dist/collection/components/vega-rich-text-content/slimmers/renderers/vega-rich-text-content-renderer.js +15 -0
  126. package/dist/collection/components/vega-rich-text-editor/dto/renderers/nodes/image-node-renderer.js +7 -1
  127. package/dist/collection/components/vega-rich-text-editor/extensions/base-extension-renderer.js +11 -0
  128. package/dist/collection/components/vega-rich-text-editor/extensions/base-toolbar-button-renderer.js +15 -1
  129. package/dist/collection/components/vega-rich-text-editor/extensions/extension.abstract.js +2 -0
  130. package/dist/collection/components/vega-rich-text-editor/extensions/functions/function-extension.js +0 -11
  131. package/dist/collection/components/vega-rich-text-editor/extensions/functions/renderers/function-toolbar-button-renderer.js +23 -23
  132. package/dist/collection/components/vega-rich-text-editor/extensions/tokens/token-extension.js +0 -10
  133. package/dist/collection/components/vega-rich-text-editor/extensions/tokens/token-node-renderer.js +7 -17
  134. package/dist/collection/components/vega-rich-text-editor/extensions/tokens/token-toolbar-button-renderer.js +12 -16
  135. package/dist/collection/components/vega-rich-text-editor/helpers/extension-context-manager.js +31 -0
  136. package/dist/collection/components/vega-rich-text-editor/helpers/extension-context-manager.test.js +19 -0
  137. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/insert-image-controller.js +7 -4
  138. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/image-toolbar-button-slimmer.js +113 -12
  139. package/dist/collection/components/vega-rich-text-editor/test/extensions/extension-test-utils.js +41 -0
  140. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-image-editor/slimmers/renderers/vega-rich-text-image-editor-renderer.js +1 -1
  141. package/dist/collection/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.css +5 -0
  142. package/dist/collection/helpers/calendar/test/utils.test.js +54 -1
  143. package/dist/collection/helpers/calendar/utils.js +35 -0
  144. package/dist/collection/helpers/chart/input-processors/format-time-positions-input-processor.js +2 -2
  145. package/dist/collection/helpers/chart/input-processors/pie-chart-arc-path-input-processor.js +1 -1
  146. package/dist/collection/helpers/chart/input-processors/x-axis-input-processor.js +5 -3
  147. package/dist/collection/helpers/chart/input-processors/x-axis-label-formatter-input-processor.js +2 -1
  148. package/dist/collection/helpers/chart/input-processors/y-axis-input-processor.js +7 -5
  149. package/dist/collection/helpers/chart/interacting-entry-generator/arc-path-hover-generator.js +1 -1
  150. package/dist/collection/helpers/chart/interacting-entry-generator/pie-legend-hover-generator.js +1 -1
  151. package/dist/collection/helpers/chart/renderers/canvas-renderer.js +1 -1
  152. package/dist/collection/helpers/chart/renderers/svg-renderer.js +1 -1
  153. package/dist/collection/helpers/chart/test/drawers/arc-path-drawer.test.js +1 -1
  154. package/dist/collection/helpers/chart/test/input-processors/format-time-positions-input-processor.test.js +1 -1
  155. package/dist/collection/helpers/chart/test/input-processors/sort-positions-input-processor.test.js +1 -1
  156. package/dist/collection/helpers/chart/test/input-processors/x-axis-input-processor.test.js +39 -0
  157. package/dist/collection/helpers/chart/test/input-processors/x-axis-label-formatter-input-processor.test.js +61 -14
  158. package/dist/collection/helpers/chart/test/input-processors/y-axis-input-processor.coverage.test.js +39 -0
  159. package/dist/collection/helpers/chart/test/input-processors/y-axis-input-processor.test.js +14 -0
  160. package/dist/collection/helpers/chart/test/renderers/svg-renderer.test.js +1 -1
  161. package/dist/collection/helpers/common/test/wait-for-component-did-render.test.js +67 -0
  162. package/dist/collection/helpers/slimmers/element-appender/element-appender-slimmer.js +27 -0
  163. package/dist/collection/helpers/slimmers/element-appender/test/element-appender-slimmer.test.js +50 -0
  164. package/dist/collection/helpers/slimmers/mutation-observer/aria-attributes-value-mapper.js +14 -3
  165. package/dist/collection/helpers/slimmers/mutation-observer/data-tab-index-value-mapper.js +80 -0
  166. package/dist/collection/helpers/slimmers/mutation-observer/test/aria-attributes-value-mapper.test.js +55 -3
  167. package/dist/collection/helpers/slimmers/mutation-observer/test/data-tab-index-value-mapper.test.js +120 -0
  168. package/dist/collection/helpers/slimmers/position-calculation/base-position-calculation-strategy.js +123 -9
  169. package/dist/collection/helpers/slimmers/position-calculation/position-calculation-controller.js +14 -4
  170. package/dist/collection/helpers/slimmers/position-calculation/screen-position-calculation-strategy.js +13 -4
  171. package/dist/collection/helpers/slimmers/position-calculation/test/body-position-calculation-strategy.test.js +7 -6
  172. package/dist/collection/helpers/slimmers/position-calculation/test/screen-position-calculation-strategy.test.js +162 -7
  173. package/dist/collection/helpers/translation/locales/en.js +15 -0
  174. package/dist/collection/helpers/translation/tests/internal-translation-controller.test.js +15 -0
  175. package/dist/collection/helpers/ui/test/element-appender.test.js +7 -5
  176. package/dist/collection/helpers/validator/rules/valid-phone-number-rule.js +1 -1
  177. package/dist/collection/helpers/validator/test/rules/valid-phone-number-rule.test.js +10 -0
  178. package/dist/collection/polyfill/d3/d3-array-polyfill.js +89 -0
  179. package/dist/collection/polyfill/d3/d3-axis-polyfill.js +195 -0
  180. package/dist/collection/polyfill/d3/d3-scale-polyfill.js +582 -0
  181. package/dist/collection/polyfill/d3/d3-selection-polyfill.js +274 -0
  182. package/dist/collection/polyfill/d3/d3-shape-polyfill.js +252 -0
  183. package/dist/collection/polyfill/d3/d3-time-format-polyfill.js +207 -0
  184. package/dist/collection/polyfill/d3/d3-time-polyfill.js +99 -0
  185. package/dist/collection/polyfill/d3/index.js +31 -0
  186. package/dist/collection/polyfill/d3/test/d3-array-polyfill.test.js +72 -0
  187. package/dist/collection/polyfill/d3/test/d3-axis-polyfill.test.js +171 -0
  188. package/dist/collection/polyfill/d3/test/d3-integration.test.js +137 -0
  189. package/dist/collection/polyfill/d3/test/d3-scale-polyfill.test.js +382 -0
  190. package/dist/collection/polyfill/d3/test/d3-selection-polyfill.test.js +239 -0
  191. package/dist/collection/polyfill/d3/test/d3-shape-polyfill.test.js +225 -0
  192. package/dist/collection/polyfill/d3/test/d3-time-format-polyfill.test.js +162 -0
  193. package/dist/collection/polyfill/d3/test/d3-time-polyfill.test.js +76 -0
  194. package/dist/collection/polyfill/d3/test/index.test.js +78 -0
  195. package/dist/collection/polyfill/libphonenumber/as-you-type.js +405 -0
  196. package/dist/collection/polyfill/libphonenumber/format-helpers.js +186 -0
  197. package/dist/collection/polyfill/libphonenumber/index.js +22 -0
  198. package/dist/collection/polyfill/libphonenumber/metadata.js +150 -0
  199. package/dist/collection/polyfill/libphonenumber/metadata.json.js +3900 -0
  200. package/dist/collection/polyfill/libphonenumber/parse-phone-number.js +127 -0
  201. package/dist/collection/polyfill/libphonenumber/phone-number.js +38 -0
  202. package/dist/collection/polyfill/libphonenumber/test/as-you-type.test.js +309 -0
  203. package/dist/collection/polyfill/libphonenumber/test/format-helpers.test.js +192 -0
  204. package/dist/collection/polyfill/libphonenumber/test/index.test.js +16 -0
  205. package/dist/collection/polyfill/libphonenumber/test/metadata.test.js +196 -0
  206. package/dist/collection/polyfill/libphonenumber/test/parse-phone-number.test.js +218 -0
  207. package/dist/collection/polyfill/libphonenumber/test/phone-number.test.js +56 -0
  208. package/dist/collection/polyfill/libphonenumber/types.js +23 -0
  209. package/dist/collection/utils/e2e-utils.js +6 -0
  210. package/dist/esm/{app-globals-c0676920.js → app-globals-0b3b7111.js} +7 -7
  211. package/dist/esm/aria-attributes-value-mapper-2c632641.js +141 -0
  212. package/dist/esm/{child-nodes-event-prevent-slimmer-649b9d30.js → child-nodes-event-prevent-slimmer-331312b8.js} +1 -1
  213. package/dist/esm/{code-block-b6247a45.js → code-block-2408a812.js} +1 -1
  214. package/dist/esm/{component-value-history-controller-slimmer.abstract-2bb8533d.js → component-value-history-controller-slimmer.abstract-ac40820f.js} +3 -3
  215. package/dist/esm/{date-required-rule-e771e7d9.js → date-required-rule-09d5aa16.js} +1 -1
  216. package/dist/esm/{design-token-4aee1c56.js → design-token-7dec1eab.js} +2 -2
  217. package/dist/esm/{dto-renderer-manager-6fd22ab7.js → dto-renderer-manager-d413de1e.js} +2 -2
  218. package/dist/esm/{element-appender-slimmer-e4713a72.js → element-appender-slimmer-5d573612.js} +179 -20
  219. package/dist/esm/{form-field-controller-slimmer-5817d14d.js → form-field-controller-slimmer-e1a5a884.js} +1 -1
  220. package/dist/esm/{image-annotation-action-6701b4c9.js → image-annotation-action-54936eaa.js} +2 -2
  221. package/dist/esm/index.js +13 -13
  222. package/dist/esm/{inject-keyboard-manager-78730062.js → inject-keyboard-manager-9339bba8.js} +1 -1
  223. package/dist/esm/{internal-translation-controller-911515f9.js → internal-translation-controller-113a6288.js} +15 -0
  224. package/dist/esm/{keyboard-manager-38934f94.js → keyboard-manager-f9bfa678.js} +1 -1
  225. package/dist/esm/{keyboard-manager-slimmer-9984d922.js → keyboard-manager-slimmer-c8898843.js} +1 -1
  226. package/dist/esm/legend-input-processor-122008c5.js +2116 -0
  227. package/dist/esm/loader.js +9 -9
  228. package/dist/esm/{month-view-generator-eaf9029c.js → month-view-generator-160a9feb.js} +1 -1
  229. package/dist/esm/{public-rules-25cc3a39.js → public-rules-41561e6e.js} +7 -7
  230. package/dist/esm/{range-663f44dc.js → range-a5d78e69.js} +1 -1
  231. package/dist/esm/{responsive-format-facade-7a071174.js → responsive-format-facade-2a36c54a.js} +2 -2
  232. package/dist/esm/{rich-text-editor-required-rule-a238b862.js → rich-text-editor-required-rule-b09039da.js} +1 -1
  233. package/dist/esm/{string-format-strategy.abstract-713fba36.js → string-format-strategy.abstract-944f759b.js} +1 -1
  234. package/dist/esm/{string-input-formatter-slimmer-5b413ff9.js → string-input-formatter-slimmer-2508d88b.js} +1 -1
  235. package/dist/esm/{string-mask-strategy-6beaf664.js → string-mask-strategy-f9e252a2.js} +2 -2
  236. package/dist/esm/{style-formatter-3d06b72d.js → style-formatter-6db1e890.js} +2 -2
  237. package/dist/esm/{time-required-rule-e4138a76.js → time-required-rule-c7cfb257.js} +1 -1
  238. package/dist/esm/{token-extension-e33fd151.js → token-extension-25df8dbb.js} +102 -81
  239. package/dist/esm/{translation-slimmer-2394b173.js → translation-slimmer-9f0339aa.js} +1 -1
  240. package/dist/esm/{type-guard-f50e34d6.js → type-guard-af324dcd.js} +36 -2
  241. package/dist/esm/{valid-credit-card-number-rule-22ce81db.js → valid-credit-card-number-rule-099dba7d.js} +1 -1
  242. package/dist/esm/vega-accordion.entry.js +7 -7
  243. package/dist/esm/vega-app-header-button.entry.js +38 -145
  244. package/dist/esm/vega-banner.entry.js +1 -1
  245. package/dist/esm/vega-bar-chart.entry.js +2 -2
  246. package/dist/esm/vega-box.entry.js +6 -6
  247. package/dist/esm/vega-breadcrumb.entry.js +2 -2
  248. package/dist/esm/vega-button-circle.entry.js +23 -8
  249. package/dist/esm/vega-button-group_2.entry.js +2 -2
  250. package/dist/esm/vega-button-link.entry.js +18 -2
  251. package/dist/esm/vega-button.entry.js +5 -5
  252. package/dist/esm/vega-calendar_4.entry.js +7 -7
  253. package/dist/esm/vega-card.entry.js +5 -5
  254. package/dist/esm/vega-carousel.entry.js +4 -4
  255. package/dist/esm/vega-checkbox_2.entry.js +4 -4
  256. package/dist/esm/vega-chip.entry.js +6 -6
  257. package/dist/esm/vega-code-block.entry.js +10 -10
  258. package/dist/esm/vega-color-picker.entry.js +2 -2
  259. package/dist/esm/vega-combo-box.entry.js +7 -7
  260. package/dist/esm/vega-date-picker_2.entry.js +129 -26
  261. package/dist/esm/vega-dialog_2.entry.js +6 -6
  262. package/dist/esm/vega-divider.entry.js +5 -5
  263. package/dist/esm/vega-dropdown_5.entry.js +34 -10
  264. package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
  265. package/dist/esm/vega-file-uploader.entry.js +3 -3
  266. package/dist/esm/vega-flag-icon.entry.js +5 -5
  267. package/dist/esm/vega-flex.entry.js +6 -6
  268. package/dist/esm/vega-font.entry.js +5 -5
  269. package/dist/esm/vega-form.entry.js +5 -5
  270. package/dist/esm/vega-grid.entry.js +5 -5
  271. package/dist/esm/vega-icon.entry.js +5 -5
  272. package/dist/esm/vega-image-uploader.entry.js +7 -7
  273. package/dist/esm/vega-input-credit-card.entry.js +8 -8
  274. package/dist/esm/vega-input-numeric.entry.js +7 -7
  275. package/dist/esm/vega-input-passcode.entry.js +39 -9
  276. package/dist/esm/vega-input-phone-number.entry.js +4757 -5589
  277. package/dist/esm/vega-input-range.entry.js +5 -5
  278. package/dist/esm/vega-input-select.entry.js +7 -7
  279. package/dist/esm/vega-input.entry.js +220 -125
  280. package/dist/esm/vega-left-nav_5.entry.js +7 -8
  281. package/dist/esm/vega-line-chart.entry.js +311 -9
  282. package/dist/esm/vega-loader-wrapper_2.entry.js +4 -4
  283. package/dist/esm/vega-pagination-page-selector-mobile.entry.js +2 -2
  284. package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +2 -2
  285. package/dist/esm/vega-pagination.entry.js +6 -6
  286. package/dist/esm/vega-pie-chart.entry.js +5 -88
  287. package/dist/esm/vega-popover_2.entry.js +9 -9
  288. package/dist/esm/vega-progress-tracker_2.entry.js +4 -4
  289. package/dist/esm/vega-radio_2.entry.js +7 -7
  290. package/dist/esm/vega-rich-text-content.entry.js +26 -6
  291. package/dist/esm/vega-rich-text-editor_4.entry.js +130 -32
  292. package/dist/esm/vega-selection-chip_2.entry.js +6 -6
  293. package/dist/esm/vega-selection-tile_2.entry.js +4 -4
  294. package/dist/esm/vega-sidenav_3.entry.js +4 -4
  295. package/dist/esm/vega-signature-capture.entry.js +7 -7
  296. package/dist/esm/vega-stepper.entry.js +4 -4
  297. package/dist/esm/vega-tab-group_2.entry.js +2 -2
  298. package/dist/esm/vega-table_11.entry.js +6 -6
  299. package/dist/esm/vega-textarea.entry.js +4 -4
  300. package/dist/esm/vega-time-picker_2.entry.js +11 -11
  301. package/dist/esm/vega-toggle-switch.entry.js +2 -2
  302. package/dist/esm/vega-tooltip_2.entry.js +8 -8
  303. package/dist/esm/vega.js +9 -9
  304. package/dist/esm/y-axis-input-processor-c7e05353.js +826 -0
  305. package/dist/sri/vega-sri-manifest.json +317 -313
  306. package/dist/types/components/vega-app-header-button/types.d.ts +18 -0
  307. package/dist/types/components/vega-app-header-button/vega-app-header-button.d.ts +8 -1
  308. package/dist/types/components/vega-button-circle/vega-button-circle.d.ts +2 -0
  309. package/dist/types/components/vega-button-link/vega-button-link.d.ts +2 -0
  310. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-open-state-controller.d.ts +21 -0
  311. package/dist/types/components/vega-date-picker/types.d.ts +14 -0
  312. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-selection-controller.d.ts +1 -0
  313. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-renderer.d.ts +7 -0
  314. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-month-item-renderer.d.ts +3 -0
  315. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.d.ts +9 -1
  316. package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.d.ts +11 -0
  317. package/dist/types/components/vega-input/slimmers/controllers/vega-input-render-mode-controller.d.ts +0 -1
  318. package/dist/types/components/vega-input/slimmers/renderers/vega-input-input-renderer.d.ts +0 -1
  319. package/dist/types/components/vega-input/vega-input.d.ts +4 -0
  320. package/dist/types/components/vega-input-passcode/slimmers/renderers/vega-input-passcode-renderer.d.ts +14 -0
  321. package/dist/types/components/vega-rich-text-content/slimmers/renderers/vega-rich-text-content-renderer.d.ts +6 -0
  322. package/dist/types/components/vega-rich-text-editor/extensions/base-extension-renderer.d.ts +9 -1
  323. package/dist/types/components/vega-rich-text-editor/extensions/base-toolbar-button-renderer.d.ts +9 -1
  324. package/dist/types/components/vega-rich-text-editor/extensions/functions/function-extension.d.ts +0 -7
  325. package/dist/types/components/vega-rich-text-editor/extensions/functions/renderers/function-toolbar-button-renderer.d.ts +5 -10
  326. package/dist/types/components/vega-rich-text-editor/extensions/tokens/token-extension.d.ts +1 -5
  327. package/dist/types/components/vega-rich-text-editor/extensions/tokens/token-node-renderer.d.ts +3 -8
  328. package/dist/types/components/vega-rich-text-editor/extensions/tokens/token-toolbar-button-renderer.d.ts +5 -9
  329. package/dist/types/components/vega-rich-text-editor/helpers/extension-context-manager.d.ts +26 -0
  330. package/dist/types/components/vega-rich-text-editor/helpers/extension-context-manager.test.d.ts +1 -0
  331. package/dist/types/components/vega-rich-text-editor/interface.d.ts +4 -0
  332. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/insert-image-controller.d.ts +7 -1
  333. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/image-toolbar-button-slimmer.d.ts +30 -2
  334. package/dist/types/components/vega-rich-text-editor/test/extensions/extension-test-utils.d.ts +21 -0
  335. package/dist/types/components.d.ts +22 -2
  336. package/dist/types/helpers/calendar/utils.d.ts +17 -0
  337. package/dist/types/helpers/chart/test/input-processors/y-axis-input-processor.coverage.test.d.ts +1 -0
  338. package/dist/types/helpers/common/test/wait-for-component-did-render.test.d.ts +1 -0
  339. package/dist/types/helpers/slimmers/element-appender/element-appender-slimmer.d.ts +12 -0
  340. package/dist/types/helpers/slimmers/mutation-observer/aria-attributes-value-mapper.d.ts +2 -1
  341. package/dist/types/helpers/slimmers/mutation-observer/data-tab-index-value-mapper.d.ts +35 -0
  342. package/dist/types/helpers/slimmers/mutation-observer/test/data-tab-index-value-mapper.test.d.ts +1 -0
  343. package/dist/types/helpers/slimmers/position-calculation/base-position-calculation-strategy.d.ts +60 -3
  344. package/dist/types/helpers/slimmers/position-calculation/screen-position-calculation-strategy.d.ts +3 -2
  345. package/dist/types/helpers/slimmers/position-calculation/test/body-position-calculation-strategy.test.d.ts +1 -1
  346. package/dist/types/helpers/translation/interface.d.ts +15 -0
  347. package/dist/types/polyfill/d3/d3-array-polyfill.d.ts +48 -0
  348. package/dist/types/polyfill/d3/d3-axis-polyfill.d.ts +53 -0
  349. package/dist/types/polyfill/d3/d3-scale-polyfill.d.ts +42 -0
  350. package/dist/types/polyfill/d3/d3-selection-polyfill.d.ts +173 -0
  351. package/dist/types/polyfill/d3/d3-shape-polyfill.d.ts +129 -0
  352. package/dist/types/polyfill/d3/d3-time-format-polyfill.d.ts +28 -0
  353. package/dist/types/polyfill/d3/d3-time-polyfill.d.ts +68 -0
  354. package/dist/types/polyfill/d3/index.d.ts +27 -0
  355. package/dist/types/polyfill/d3/test/d3-array-polyfill.test.d.ts +1 -0
  356. package/dist/types/polyfill/d3/test/d3-axis-polyfill.test.d.ts +1 -0
  357. package/dist/types/polyfill/d3/test/d3-integration.test.d.ts +1 -0
  358. package/dist/types/polyfill/d3/test/d3-scale-polyfill.test.d.ts +1 -0
  359. package/dist/types/polyfill/d3/test/d3-selection-polyfill.test.d.ts +1 -0
  360. package/dist/types/polyfill/d3/test/d3-shape-polyfill.test.d.ts +1 -0
  361. package/dist/types/polyfill/d3/test/d3-time-format-polyfill.test.d.ts +1 -0
  362. package/dist/types/polyfill/d3/test/d3-time-polyfill.test.d.ts +1 -0
  363. package/dist/types/polyfill/d3/test/index.test.d.ts +1 -0
  364. package/dist/types/polyfill/libphonenumber/as-you-type.d.ts +154 -0
  365. package/dist/types/polyfill/libphonenumber/format-helpers.d.ts +64 -0
  366. package/dist/types/polyfill/libphonenumber/index.d.ts +22 -0
  367. package/dist/types/polyfill/libphonenumber/metadata.d.ts +45 -0
  368. package/dist/types/polyfill/libphonenumber/metadata.json.d.ts +470 -0
  369. package/dist/types/polyfill/libphonenumber/parse-phone-number.d.ts +26 -0
  370. package/dist/types/polyfill/libphonenumber/phone-number.d.ts +24 -0
  371. package/dist/types/polyfill/libphonenumber/test/as-you-type.test.d.ts +1 -0
  372. package/dist/types/polyfill/libphonenumber/test/format-helpers.test.d.ts +1 -0
  373. package/dist/types/polyfill/libphonenumber/test/index.test.d.ts +1 -0
  374. package/dist/types/polyfill/libphonenumber/test/metadata.test.d.ts +1 -0
  375. package/dist/types/polyfill/libphonenumber/test/parse-phone-number.test.d.ts +1 -0
  376. package/dist/types/polyfill/libphonenumber/test/phone-number.test.d.ts +1 -0
  377. package/dist/types/polyfill/libphonenumber/types.d.ts +77 -0
  378. package/dist/types/types/components.type.d.ts +2 -0
  379. package/dist/types/types/flag.type.d.ts +255 -4
  380. package/dist/types/types/ui.type.d.ts +3 -2
  381. package/dist/types/types/vega-chart.d.ts +10 -11
  382. package/dist/types/utils/e2e-utils.d.ts +2 -0
  383. package/dist/vega/index.esm.js +1 -1
  384. package/dist/vega/{p-d8fadcdc.entry.js → p-0037068c.entry.js} +1 -1
  385. package/dist/vega/{p-4bffdb28.js → p-051bbce6.js} +1 -1
  386. package/dist/vega/{p-02a7d60c.entry.js → p-0a3a285b.entry.js} +1 -1
  387. package/dist/vega/{p-1a3236e7.entry.js → p-0ac9a732.entry.js} +1 -1
  388. package/dist/vega/{p-2b49686d.entry.js → p-1033e4c4.entry.js} +1 -1
  389. package/dist/vega/{p-0e679d8c.js → p-10e51081.js} +1 -1
  390. package/dist/vega/p-15335b69.entry.js +1 -0
  391. package/dist/vega/{p-b366deff.entry.js → p-19270396.entry.js} +1 -1
  392. package/dist/vega/{p-10734a00.js → p-1a51bf6f.js} +1 -1
  393. package/dist/vega/{p-2d69632d.js → p-1a9b361b.js} +1 -1
  394. package/dist/vega/p-1ccba615.entry.js +1 -0
  395. package/dist/vega/{p-6dcdb580.entry.js → p-1deedff2.entry.js} +1 -1
  396. package/dist/vega/{p-6d60b66a.entry.js → p-22f3d35c.entry.js} +1 -1
  397. package/dist/vega/{p-3d8122ab.entry.js → p-23427f6a.entry.js} +1 -1
  398. package/dist/vega/p-2466316a.js +1 -0
  399. package/dist/vega/p-27b0af38.entry.js +1 -0
  400. package/dist/vega/{p-bb5e0192.entry.js → p-2c2193f2.entry.js} +1 -1
  401. package/dist/vega/{p-dd3a94f4.entry.js → p-3237be8b.entry.js} +1 -1
  402. package/dist/vega/{p-94a77fbe.entry.js → p-36a09524.entry.js} +1 -1
  403. package/dist/vega/{p-7181861a.js → p-38e850c3.js} +1 -1
  404. package/dist/vega/{p-e2af0e24.entry.js → p-3b9fc697.entry.js} +1 -1
  405. package/dist/vega/{p-3244c605.entry.js → p-41d14339.entry.js} +1 -1
  406. package/dist/vega/{p-a0b66c25.js → p-4c060ba9.js} +1 -1
  407. package/dist/vega/p-4d4bf82a.entry.js +1 -0
  408. package/dist/vega/{p-415ffa35.js → p-4d7d5583.js} +1 -1
  409. package/dist/vega/{p-2a10e2e5.js → p-4f146dae.js} +1 -1
  410. package/dist/vega/p-5f377954.js +1 -1
  411. package/dist/vega/{p-b256b7a4.js → p-600f7d6c.js} +1 -1
  412. package/dist/vega/{p-4ea30592.js → p-6188e783.js} +1 -1
  413. package/dist/vega/p-638d30a5.entry.js +1 -0
  414. package/dist/vega/{p-a7a8a4eb.entry.js → p-67b0ccdc.entry.js} +1 -1
  415. package/dist/vega/p-68846f0d.js +1 -0
  416. package/dist/vega/{p-d7a78c5e.entry.js → p-70444f6f.entry.js} +1 -1
  417. package/dist/vega/{p-e632475e.js → p-7127f966.js} +1 -1
  418. package/dist/vega/{p-49845a91.js → p-718c74ba.js} +1 -1
  419. package/dist/vega/p-77167587.entry.js +1 -0
  420. package/dist/vega/p-78ecfea0.entry.js +1 -0
  421. package/dist/vega/{p-b201f379.js → p-7cde8489.js} +1 -1
  422. package/dist/vega/p-8e34b266.js +1 -0
  423. package/dist/vega/p-9466619f.entry.js +1 -0
  424. package/dist/vega/p-9863e7a1.entry.js +1 -0
  425. package/dist/vega/p-999950d1.js +1 -0
  426. package/dist/vega/{p-9339c6c4.js → p-9a3a5b9e.js} +1 -1
  427. package/dist/vega/{p-b136ebba.entry.js → p-9adfcd47.entry.js} +1 -1
  428. package/dist/vega/{p-d555f677.entry.js → p-9e36f7ff.entry.js} +1 -1
  429. package/dist/vega/{p-8dbdd609.entry.js → p-9f9d9a53.entry.js} +1 -1
  430. package/dist/vega/{p-7958614a.entry.js → p-9feaac4b.entry.js} +1 -1
  431. package/dist/vega/{p-ca5898dc.entry.js → p-a0e69236.entry.js} +1 -1
  432. package/dist/vega/{p-95528b47.js → p-a17312a6.js} +1 -1
  433. package/dist/vega/p-a46e977b.entry.js +1 -0
  434. package/dist/vega/p-a79fdf2f.js +1 -0
  435. package/dist/vega/p-a800bf6d.js +1 -0
  436. package/dist/vega/{p-c29068fb.entry.js → p-aaf9b39f.entry.js} +1 -1
  437. package/dist/vega/{p-2e91295d.entry.js → p-acbb96b3.entry.js} +1 -1
  438. package/dist/vega/p-af2110fc.entry.js +1 -0
  439. package/dist/vega/{p-f14a5eae.entry.js → p-b35bb4a2.entry.js} +1 -1
  440. package/dist/vega/p-b8c10187.js +1 -0
  441. package/dist/vega/p-bdb5180c.js +1 -0
  442. package/dist/vega/{p-01d58eb8.entry.js → p-c086529c.entry.js} +1 -1
  443. package/dist/vega/{p-154f9cf7.entry.js → p-c61bcd92.entry.js} +1 -1
  444. package/dist/vega/{p-bebfbe95.entry.js → p-c7a9960f.entry.js} +1 -1
  445. package/dist/vega/{p-81b044b9.js → p-c7b9b7c2.js} +1 -1
  446. package/dist/vega/{p-f2b0b58a.js → p-c857e6e2.js} +1 -1
  447. package/dist/vega/{p-89f2e16d.entry.js → p-c871619c.entry.js} +1 -1
  448. package/dist/vega/{p-1f3cd061.entry.js → p-cbeb47be.entry.js} +1 -1
  449. package/dist/vega/{p-a786259a.js → p-cf6bfac7.js} +1 -1
  450. package/dist/vega/{p-57927b10.entry.js → p-d07f5d5a.entry.js} +1 -1
  451. package/dist/vega/{p-033c31d8.entry.js → p-d0975995.entry.js} +1 -1
  452. package/dist/vega/{p-d6dbbe61.entry.js → p-d2ee5711.entry.js} +1 -1
  453. package/dist/vega/{p-8950987b.entry.js → p-d2fc470e.entry.js} +1 -1
  454. package/dist/vega/{p-a560d8c5.entry.js → p-d70e1b75.entry.js} +1 -1
  455. package/dist/vega/p-d8180e42.entry.js +1 -0
  456. package/dist/vega/{p-3afc025e.entry.js → p-da0fd3dc.entry.js} +1 -1
  457. package/dist/vega/{p-087ea379.entry.js → p-da552ddf.entry.js} +1 -1
  458. package/dist/vega/{p-eda988d5.entry.js → p-ddce3e0e.entry.js} +1 -1
  459. package/dist/vega/{p-aa1174dc.js → p-dfb12762.js} +1 -1
  460. package/dist/vega/{p-8b153acd.entry.js → p-e0fb1f60.entry.js} +1 -1
  461. package/dist/vega/{p-249df6d2.entry.js → p-e1c017d1.entry.js} +1 -1
  462. package/dist/vega/p-e4917e76.js +1 -0
  463. package/dist/vega/{p-fd7ddd64.entry.js → p-e4c99b72.entry.js} +1 -1
  464. package/dist/vega/{p-9a137bab.entry.js → p-e841c1fe.entry.js} +1 -1
  465. package/dist/vega/{p-f05b8f76.entry.js → p-ea96b0f9.entry.js} +1 -1
  466. package/dist/vega/{p-76181a70.entry.js → p-eab9d999.entry.js} +1 -1
  467. package/dist/vega/{p-2cc9d126.entry.js → p-ed9ad4fd.entry.js} +1 -1
  468. package/dist/vega/{p-2ba78982.entry.js → p-ef603656.entry.js} +1 -1
  469. package/dist/vega/p-f5fcd13e.entry.js +1 -0
  470. package/dist/vega/{p-6d219c44.entry.js → p-f65cb0b6.entry.js} +1 -1
  471. package/dist/vega/p-faa9a3bd.js +1 -0
  472. package/dist/vega/{p-a8792e3d.js → p-fc049028.js} +1 -1
  473. package/dist/vega/p-ff287001.entry.js +1 -0
  474. package/dist/vega/{p-32183637.entry.js → p-ffb3e479.entry.js} +1 -1
  475. package/dist/vega/p-ffd080db.js +1 -0
  476. package/dist/vega/vega.esm.js +1 -1
  477. package/package.json +2 -6
  478. package/dist/cjs/legend-input-processor-27c65353.js +0 -4759
  479. package/dist/cjs/y-axis-input-processor-9fbfd5e7.js +0 -2302
  480. package/dist/esm/legend-input-processor-5ecae3a7.js +0 -4742
  481. package/dist/esm/y-axis-input-processor-bc54314a.js +0 -2290
  482. package/dist/vega/p-179aad4f.entry.js +0 -1
  483. package/dist/vega/p-1f5e35dc.entry.js +0 -1
  484. package/dist/vega/p-28ad1864.entry.js +0 -1
  485. package/dist/vega/p-32033e7a.js +0 -1
  486. package/dist/vega/p-32faa460.entry.js +0 -1
  487. package/dist/vega/p-464559e3.js +0 -1
  488. package/dist/vega/p-46b077d9.js +0 -1
  489. package/dist/vega/p-4e017458.entry.js +0 -1
  490. package/dist/vega/p-4e4a0228.entry.js +0 -1
  491. package/dist/vega/p-5831d6d3.entry.js +0 -1
  492. package/dist/vega/p-644f701a.js +0 -1
  493. package/dist/vega/p-6a62e476.entry.js +0 -1
  494. package/dist/vega/p-6b6f0fb4.js +0 -1
  495. package/dist/vega/p-a13a73fa.entry.js +0 -1
  496. package/dist/vega/p-b597393b.entry.js +0 -1
  497. package/dist/vega/p-be23bef2.js +0 -1
  498. package/dist/vega/p-c1d13eec.entry.js +0 -1
  499. package/dist/vega/p-c3d2f316.js +0 -1
  500. package/dist/vega/p-dad3ba5f.js +0 -1
  501. package/dist/vega/p-e1431c14.entry.js +0 -1
  502. package/dist/vega/p-e89e3ede.entry.js +0 -1
  503. package/dist/vega/p-f3d0f2dc.js +0 -1
  504. package/dist/vega/p-f5bafc45.entry.js +0 -1
  505. package/dist/vega/p-fc1fa345.js +0 -1
  506. /package/dist/cjs/{feature-flag-controller-04cb1e69.js → feature-flag-controller-9129ef52.js} +0 -0
  507. /package/dist/esm/{feature-flag-controller-09ea7e87.js → feature-flag-controller-30f7b625.js} +0 -0
  508. /package/dist/vega/{p-07cb0243.js → p-18e8d9b7.js} +0 -0
@@ -0,0 +1,129 @@
1
+ /**
2
+ * D3 Shape Polyfill - Lightweight SVG shape generators.
3
+ *
4
+ * This is a drop-in replacement for d3-shape, implementing only the methods
5
+ * used in the Vega chart rendering system: line, arc, and pie.
6
+ *
7
+ * @see VD-5022 - [Zero Dependencies] remove d3 dependency
8
+ */
9
+ declare type LineAccessor<T> = (d: T, i?: number) => number;
10
+ /**
11
+ * A line generator that creates SVG path data strings from data arrays.
12
+ * Mimics d3.line() with .x() and .y() value extractors.
13
+ */
14
+ declare class LineGenerator<T> {
15
+ /**
16
+ * Sets the x accessor function.
17
+ *
18
+ * @param accessor - Function that returns the x value for a datum.
19
+ * @returns This generator for chaining.
20
+ */
21
+ x(accessor: LineAccessor<T>): this;
22
+ /**
23
+ * Sets the y accessor function.
24
+ *
25
+ * @param accessor - Function that returns the y value for a datum.
26
+ * @returns This generator for chaining.
27
+ */
28
+ y(accessor: LineAccessor<T>): this;
29
+ /**
30
+ * Generates an SVG path data string for the given data.
31
+ * Called as a function (used by d3's attr('d', lineGenerator)).
32
+ *
33
+ * @param data - Array of data points.
34
+ * @returns SVG path data string (M...L...L...).
35
+ */
36
+ generate(data: T[]): string;
37
+ /** Default x value extractor: reads `.x` property or first array index. */
38
+ private xAccessor;
39
+ /** Default y value extractor: reads `.y` property or second array index. */
40
+ private yAccessor;
41
+ }
42
+ /**
43
+ * Creates a line generator. Mimics d3.line<T>().
44
+ * The returned object is also callable as a function for d3 compatibility.
45
+ *
46
+ * @returns A new LineGenerator with callable function interface.
47
+ */
48
+ export declare function line<T = [number, number]>(): LineGenerator<T> & ((data: T[]) => string);
49
+ /**
50
+ * An arc generator that creates SVG path data strings for arc/pie slices.
51
+ * Mimics d3.arc<T>() with .innerRadius() and .outerRadius() value setters.
52
+ */
53
+ declare class ArcGenerator<T> {
54
+ /** Inner radius value for the arc. */
55
+ private innerRadiusValue;
56
+ /** Outer radius value for the arc. */
57
+ private outerRadiusValue;
58
+ /**
59
+ * Sets the inner radius for the arc.
60
+ *
61
+ * @param radius - Inner radius value.
62
+ * @returns This generator for chaining.
63
+ */
64
+ innerRadius(radius: number): this;
65
+ /**
66
+ * Sets the outer radius for the arc.
67
+ *
68
+ * @param radius - Outer radius value.
69
+ * @returns This generator for chaining.
70
+ */
71
+ outerRadius(radius: number): this;
72
+ /**
73
+ * Generates an SVG path data string for an arc datum.
74
+ * The datum must have startAngle and endAngle properties (in angle units).
75
+ *
76
+ * @param d - Arc datum with startAngle and endAngle.
77
+ * @returns SVG path data string for the arc.
78
+ */
79
+ generate(d: T): string;
80
+ }
81
+ /**
82
+ * Creates an arc generator. Mimics d3.arc<T>().
83
+ * The returned object is also callable as a function for d3 compatibility.
84
+ *
85
+ * @returns A new ArcGenerator with callable function interface.
86
+ */
87
+ export declare function arc<T>(): ArcGenerator<T> & ((d: T) => string);
88
+ /**
89
+ * A pie arc datum produced by the pie generator.
90
+ */
91
+ export declare type PieArcDatum<T> = {
92
+ data: T;
93
+ index: number;
94
+ value: number;
95
+ startAngle: number;
96
+ endAngle: number;
97
+ padAngle: number;
98
+ };
99
+ declare type PieValueAccessor<T> = (d: T) => number;
100
+ /**
101
+ * A pie layout generator that computes start/end angles for data items.
102
+ * Mimics d3.pie<T>() with .value() setter.
103
+ */
104
+ declare class PieGenerator<T> {
105
+ /**
106
+ * Sets the value accessor function.
107
+ *
108
+ * @param accessor - Function that returns the numeric value for each datum.
109
+ * @returns This generator for chaining.
110
+ */
111
+ value(accessor: PieValueAccessor<T>): this & ((data: T[]) => PieArcDatum<T>[]);
112
+ /**
113
+ * Computes pie arc data from the input data array.
114
+ *
115
+ * @param data - Array of data items.
116
+ * @returns Array of PieArcDatum with computed angles.
117
+ */
118
+ generate(data: T[]): PieArcDatum<T>[];
119
+ /** Default value extractor: reads `.value` property or falls back to 0. */
120
+ private valueAccessor;
121
+ }
122
+ /**
123
+ * Creates a pie layout generator. Mimics d3.pie<T>().
124
+ * The returned object is also callable as a function for d3 compatibility.
125
+ *
126
+ * @returns A new PieGenerator with callable function interface.
127
+ */
128
+ export declare function pie<T>(): PieGenerator<T> & ((data: T[]) => PieArcDatum<T>[]);
129
+ export {};
@@ -0,0 +1,28 @@
1
+ /**
2
+ * D3 Time Format Polyfill - Lightweight date formatting and parsing.
3
+ *
4
+ * This is a drop-in replacement for d3-time-format, implementing only the methods
5
+ * used in the Vega chart rendering system: timeFormat and timeParse.
6
+ *
7
+ * @see VD-5022 - [Zero Dependencies] remove d3 dependency
8
+ */
9
+ /**
10
+ * Creates a date formatter function for the given specifier.
11
+ * Mimics d3.timeFormat().
12
+ *
13
+ * Supported directives: %Y, %m, %d, %H, %I, %M, %S, %L, %b, %B, %a, %p, %%
14
+ *
15
+ * @param {string} specifier - Format specifier string (e.g., '%Y-%m-%d', '.%L', ':%S').
16
+ * @returns {Function} A function that formats a Date into a string.
17
+ */
18
+ export declare function timeFormat(specifier: string): (date: Date) => string;
19
+ /**
20
+ * Creates a date parser function for the given specifier.
21
+ * Mimics d3.timeParse().
22
+ *
23
+ * Supported directives: %Y, %m, %d, %H, %I, %M, %S, %L
24
+ *
25
+ * @param {string} specifier - Parse specifier string (e.g., '%Y-%m-%d').
26
+ * @returns {Function} A function that parses a string into a Date, or null on failure.
27
+ */
28
+ export declare function timeParse(specifier: string): (dateString: string) => Date | null;
@@ -0,0 +1,68 @@
1
+ /**
2
+ * D3 Time Polyfill - Lightweight time interval functions.
3
+ *
4
+ * This is a drop-in replacement for d3-time, implementing only the time interval
5
+ * floor functions used in the Vega chart time axis label formatter:
6
+ * timeSecond, timeMinute, timeHour, timeDay, timeWeek, timeMonth, timeYear.
7
+ *
8
+ * Each function floors a Date to the nearest interval boundary, which is used
9
+ * to determine the appropriate label granularity for time-series chart axes.
10
+ *
11
+ * @see VD-5022 - [Zero Dependencies] remove d3 dependency
12
+ */
13
+ /**
14
+ * Floors a date to the nearest second boundary.
15
+ * Used to detect sub-second (millisecond) granularity.
16
+ *
17
+ * @param {Date} date - Input date.
18
+ * @returns {Date} A new Date floored to the nearest second.
19
+ */
20
+ export declare function timeSecond(date: Date): Date;
21
+ /**
22
+ * Floors a date to the nearest minute boundary.
23
+ * Used to detect sub-minute (second) granularity.
24
+ *
25
+ * @param {Date} date - Input date.
26
+ * @returns {Date} A new Date floored to the nearest minute.
27
+ */
28
+ export declare function timeMinute(date: Date): Date;
29
+ /**
30
+ * Floors a date to the nearest hour boundary.
31
+ * Used to detect sub-hour (minute) granularity.
32
+ *
33
+ * @param {Date} date - Input date.
34
+ * @returns {Date} A new Date floored to the nearest hour.
35
+ */
36
+ export declare function timeHour(date: Date): Date;
37
+ /**
38
+ * Floors a date to the start of the day (midnight).
39
+ * Used to detect sub-day (hour) granularity.
40
+ *
41
+ * @param {Date} date - Input date.
42
+ * @returns {Date} A new Date floored to midnight.
43
+ */
44
+ export declare function timeDay(date: Date): Date;
45
+ /**
46
+ * Floors a date to the start of the week (Sunday).
47
+ * Used to distinguish day vs week label granularity.
48
+ *
49
+ * @param {Date} date - Input date.
50
+ * @returns {Date} A new Date floored to the start of the week (Sunday at midnight).
51
+ */
52
+ export declare function timeWeek(date: Date): Date;
53
+ /**
54
+ * Floors a date to the first of the month.
55
+ * Used to detect sub-month granularity.
56
+ *
57
+ * @param {Date} date - Input date.
58
+ * @returns {Date} A new Date floored to the 1st of the month at midnight.
59
+ */
60
+ export declare function timeMonth(date: Date): Date;
61
+ /**
62
+ * Floors a date to January 1st of the year.
63
+ * Used to detect sub-year (month) granularity.
64
+ *
65
+ * @param {Date} date - Input date.
66
+ * @returns {Date} A new Date floored to January 1st at midnight.
67
+ */
68
+ export declare function timeYear(date: Date): Date;
@@ -0,0 +1,27 @@
1
+ /**
2
+ * D3 Polyfill - A lightweight drop-in replacement for the d3 library.
3
+ *
4
+ * This module re-exports only the d3 functions and types used by the Vega
5
+ * chart rendering system, implemented without any external dependencies.
6
+ *
7
+ * Replaces the following d3 sub-packages:
8
+ * - d3-selection: select, create
9
+ * - d3-shape: line, arc, pie
10
+ * - d3-scale: scaleLinear, scaleTime, scaleBand
11
+ * - d3-axis: axisBottom, axisLeft, AxisDomain, AxisScale, Axis
12
+ * - d3-array: min, max, extent, map
13
+ * - d3-time-format: timeFormat, timeParse
14
+ * - d3-time: timeSecond, timeMinute, timeHour, timeDay, timeWeek, timeMonth, timeYear
15
+ *
16
+ * @see VD-5022 - [Zero Dependencies] remove d3 dependency
17
+ */
18
+ export { select, create, D3SelectionPolyfill } from './d3-selection-polyfill';
19
+ export { line, arc, pie } from './d3-shape-polyfill';
20
+ export type { PieArcDatum } from './d3-shape-polyfill';
21
+ export { scaleLinear, scaleTime, scaleBand } from './d3-scale-polyfill';
22
+ export { axisBottom, axisLeft } from './d3-axis-polyfill';
23
+ export type { AxisDomain, AxisScale, Axis } from './d3-axis-polyfill';
24
+ export { min, max, extent, map } from './d3-array-polyfill';
25
+ export { timeFormat, timeParse } from './d3-time-format-polyfill';
26
+ export { timeSecond, timeMinute, timeHour, timeDay, timeWeek, timeMonth, timeYear } from './d3-time-polyfill';
27
+ export declare type Selection<GElement extends Element, Datum, PElement extends Element, PDatum> = import('./d3-selection-polyfill').D3SelectionPolyfill<GElement, Datum, PElement, PDatum>;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,154 @@
1
+ /**
2
+ * Progressive as-you-type phone number formatter for the libphonenumber polyfill.
3
+ */
4
+ import type { VegaCountryCode } from '../../types/flag.type';
5
+ /**
6
+ * Format a possibly-incomplete phone number for display.
7
+ *
8
+ * Internally uses AsYouType to produce correct progressive formatting.
9
+ *
10
+ * @param {string} number - the raw phone number string to format
11
+ * @param {VegaCountryCode} [country] - optional default country code
12
+ * @returns {string} the formatted incomplete phone number
13
+ * @example formatIncompletePhoneNumber('3023334444', 'US') // '(302) 333-4444'
14
+ * @example formatIncompletePhoneNumber('+13023334444') // '+1 302 333 4444'
15
+ */
16
+ export declare function formatIncompletePhoneNumber(number: string, country?: VegaCountryCode): string;
17
+ /**
18
+ * Progressive phone number formatter.
19
+ *
20
+ * Internally uses template-based formatting matching libphonenumber-js.
21
+ */
22
+ export declare class AsYouType {
23
+ private _country;
24
+ private _allDigits;
25
+ private _hasPlus;
26
+ private _callingCode;
27
+ private _nationalNumber;
28
+ private _matchingFormats;
29
+ private _chosenFormat;
30
+ private _populatedTemplate;
31
+ private _populatedPosition;
32
+ /**
33
+ * Stores a complex prefix (e.g. national prefix captured groups) that was
34
+ * stripped from the national number. This prefix is re-prepended when
35
+ * producing output. Mirrors `complexPrefixBeforeNationalSignificantNumber`
36
+ * in the original library.
37
+ */
38
+ private _complexPrefix;
39
+ constructor(defaultCountry?: VegaCountryCode);
40
+ /**
41
+ * The currently detected country.
42
+ *
43
+ * @returns {VegaCountryCode | undefined} the detected country code or undefined
44
+ */
45
+ get country(): VegaCountryCode | undefined;
46
+ /**
47
+ * Feed characters into the formatter. Returns the formatted number so far.
48
+ *
49
+ * The original library processes one digit at a time, running narrow-down
50
+ * and format logic after each digit. This is critical because formats may
51
+ * be eliminated at intermediate digit counts, triggering national-prefix
52
+ * re-extraction that changes the output structure. We replicate that
53
+ * behavior here by looping over each digit individually.
54
+ *
55
+ * @param {string} text - the raw input characters to process
56
+ * @returns {string} the formatted phone number so far
57
+ */
58
+ input(text: string): string;
59
+ /**
60
+ * Update internal state after a new digit is added.
61
+ * Detects calling code and country for international numbers,
62
+ * or keeps the full digit string as the national number in national mode.
63
+ *
64
+ * @returns {void}
65
+ */
66
+ private updateState;
67
+ /**
68
+ * Initialize the list of candidate format rules for a given country.
69
+ * Filters out formats that alter the number or do not suit the current mode.
70
+ *
71
+ * @param {VegaCountryCode} country - the country whose formats to load
72
+ * @returns {void}
73
+ */
74
+ private initFormats;
75
+ /**
76
+ * Narrow down matching formats based on the leading digits of the national number.
77
+ * Removes formats that no longer match and resets the chosen format if it was eliminated.
78
+ *
79
+ * @returns {void}
80
+ */
81
+ private narrowDownFormats;
82
+ /**
83
+ * Attempt to format the national number after a new digit is added.
84
+ * Tries complete formatting first, then template-based, then chooses a new format.
85
+ *
86
+ * @param {string} newDigits - the newly added digit characters
87
+ * @returns {string | undefined} the formatted national number or undefined if no format applies
88
+ */
89
+ private formatDigit;
90
+ /**
91
+ * Try to format the national number as a complete number using the matching format rules.
92
+ * Only attempts formatting when the number length is a possible length for the country.
93
+ *
94
+ * @returns {string | undefined} the formatted number if a complete match is found, or undefined
95
+ */
96
+ private tryFormatComplete;
97
+ /**
98
+ * Choose a new format from the remaining candidates and apply it to the national number.
99
+ * Builds a template for each candidate and returns the formatted result on first match.
100
+ *
101
+ * @returns {string | undefined} the formatted national number or undefined if no format matches
102
+ */
103
+ private chooseFormatAndApply;
104
+ /**
105
+ * Insert digits into the current populated template one at a time.
106
+ * Replaces placeholder characters with the actual digits.
107
+ *
108
+ * @param {string} digits - the digit characters to insert into the template
109
+ * @returns {string | undefined} the partially formatted string or undefined if the template is exhausted
110
+ */
111
+ private formatNextDigits;
112
+ /**
113
+ * Fill an entire template string with the given digits.
114
+ * Used to synchronize the template state after a complete format match.
115
+ *
116
+ * @param {string} template - the format template containing digit placeholders
117
+ * @param {string} digits - the digit characters to populate the template with
118
+ * @returns {PopulatedTemplateResult | undefined} the filled template and last position, or undefined if the template ran out of placeholders
119
+ */
120
+ private populateTemplateFull;
121
+ /**
122
+ * Reset the chosen format, populated template, and position to their initial values.
123
+ *
124
+ * @returns {void}
125
+ */
126
+ private resetFormat;
127
+ /**
128
+ * Try to extract a national prefix from the current national number.
129
+ * Uses the country's `nationalPrefixForParsing` pattern (metadata index [7]).
130
+ *
131
+ * Called proactively on every digit input, mirroring the original library's
132
+ * `reExtractNationalSignificantNumber`. When extraction first succeeds
133
+ * (or the extracted prefix changes), formats are re-initialized so that
134
+ * only formats appropriate for the shorter national number remain.
135
+ *
136
+ * @returns {void}
137
+ */
138
+ private tryReExtractNationalPrefix;
139
+ /**
140
+ * Build the full output string by prepending the calling code or complex prefix
141
+ * to the formatted national number.
142
+ *
143
+ * @param {string} formattedNational - the formatted national number portion
144
+ * @returns {string} the complete formatted phone number with prefix
145
+ */
146
+ private getFullOutput;
147
+ /**
148
+ * Produce a fallback output when no format template matches.
149
+ * Returns the raw digits with the plus sign or complex prefix if applicable.
150
+ *
151
+ * @returns {string} the non-formatted output string
152
+ */
153
+ private getNonFormattedOutput;
154
+ }
@@ -0,0 +1,64 @@
1
+ /**
2
+ * Template-based formatting utilities for the libphonenumber polyfill.
3
+ *
4
+ * These helpers replicate the progressive formatting logic used by
5
+ * libphonenumber-js to produce as-you-type output.
6
+ */
7
+ import type { FormatRule } from './types';
8
+ /**
9
+ * Check whether a format's replacement template only uses captured groups
10
+ * (doesn't insert extra digits). This mirrors NON_ALTERING_FORMAT_REG_EXP
11
+ * in the original library.
12
+ *
13
+ * @param {string} replacement - the replacement string to test
14
+ * @returns {boolean} true if the format is non-altering
15
+ */
16
+ export declare function isNonAlteringFormat(replacement: string): boolean;
17
+ /**
18
+ * Check if a format is suitable given the current formatting context.
19
+ * Mirrors formatSuits() from the original library's AsYouTypeFormatter.
20
+ *
21
+ * @param {FormatRule} formatRule - the format rule to check
22
+ * @param {boolean} international - whether the number is international
23
+ * @param {boolean} nationalPrefix - whether a national prefix is present
24
+ * @returns {boolean} true if the format is suitable
25
+ */
26
+ export declare function formatSuits(formatRule: FormatRule, international: boolean, nationalPrefix: boolean): boolean;
27
+ /**
28
+ * Check whether a format's leading digits match the given national number.
29
+ *
30
+ * @param {FormatRule} formatRule - the format rule to check
31
+ * @param {string} nationalNumber - the national number digits
32
+ * @param {number} leadingDigitsPatternIndex - index into the leading digits patterns
33
+ * @returns {boolean} true if the leading digits match
34
+ */
35
+ export declare function formatMatchesLeadingDigits(formatRule: FormatRule, nationalNumber: string, leadingDigitsPatternIndex: number): boolean;
36
+ /**
37
+ * Build a formatting template for a given format rule and national number.
38
+ *
39
+ * This replicates the template-generation logic from the original library:
40
+ * 1. Generate a dummy number of 9s matching the format pattern.
41
+ * 2. Format it with the replacement template.
42
+ * 3. Replace each 9 with the DIGIT_PLACEHOLDER.
43
+ *
44
+ * @param {FormatRule} formatRule - the format rule to build a template from
45
+ * @param {number} nationalSignificantNumberLength - length of the national significant number
46
+ * @returns {string | undefined} the built template, or undefined if no match
47
+ */
48
+ export declare function buildTemplate(formatRule: FormatRule, nationalSignificantNumberLength: number): string | undefined;
49
+ /**
50
+ * Cut a template at a given position, handling closing parentheses.
51
+ * Matches the cut-and-strip logic from the original library.
52
+ *
53
+ * @param {string} str - the template string to cut
54
+ * @param {number} cutBefore - the position to cut before
55
+ * @returns {string} the cut and stripped template
56
+ */
57
+ export declare function cutAndStripNonPairedParens(str: string, cutBefore: number): string;
58
+ /**
59
+ * Apply international separator style: replace parentheses and dashes with spaces.
60
+ *
61
+ * @param {string} template - the template string to transform
62
+ * @returns {string} the template with international separator style applied
63
+ */
64
+ export declare function applyInternationalSeparatorStyle(template: string): string;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Minimal libphonenumber-js polyfill
3
+ *
4
+ * This module provides a zero-dependency replacement for the subset of
5
+ * `libphonenumber-js` used by `vega-input-phone-number`.
6
+ *
7
+ * Exported API surface:
8
+ * - getCountryCallingCode(country)
9
+ * - getCountries()
10
+ * - parseIncompletePhoneNumber(text)
11
+ * - formatIncompletePhoneNumber(number, country?)
12
+ * - parsePhoneNumber(text, optionsOrCountry?)
13
+ * - PhoneNumber (class)
14
+ * - AsYouType (class)
15
+ * - PARSE_ERROR_NOT_A_NUMBER (constant)
16
+ * - PARSE_ERROR_INVALID_COUNTRY (constant)
17
+ */
18
+ export { getCountryCallingCode, getCountries } from './metadata';
19
+ export { parseIncompletePhoneNumber, parsePhoneNumber } from './parse-phone-number';
20
+ export { formatIncompletePhoneNumber, AsYouType } from './as-you-type';
21
+ export { PhoneNumber } from './phone-number';
22
+ export { PARSE_ERROR_NOT_A_NUMBER, PARSE_ERROR_INVALID_COUNTRY } from './types';
@@ -0,0 +1,45 @@
1
+ import type { VegaCountryCode } from '../../types/flag.type';
2
+ import type { FormatRule, MetadataJson } from './types';
3
+ export declare const META: MetadataJson;
4
+ /**
5
+ * Return the calling code string for a given country code.
6
+ *
7
+ * @param {VegaCountryCode} country - the country code to look up
8
+ * @returns {string} the calling code for the given country
9
+ * @example getCountryCallingCode('US') // '1'
10
+ */
11
+ export declare function getCountryCallingCode(country: VegaCountryCode): string;
12
+ /**
13
+ * Return an array of all supported country codes.
14
+ *
15
+ * @returns {VegaCountryCode[]} an array of supported country codes
16
+ */
17
+ export declare function getCountries(): VegaCountryCode[];
18
+ /**
19
+ * Get the list of format rules for a country. Returns undefined if none.
20
+ *
21
+ * @param {VegaCountryCode} country - the country code to retrieve formats for
22
+ * @returns {FormatRule[] | undefined} the format rules or undefined
23
+ */
24
+ export declare function getFormats(country: VegaCountryCode): FormatRule[] | undefined;
25
+ /**
26
+ * Given digits (without leading +), detect which calling code prefix matches.
27
+ *
28
+ * @param {string} digits - the digit string to detect a calling code from
29
+ * @returns {{ countries: string[] | undefined; callingCode: string | undefined }} the matched countries and calling code
30
+ */
31
+ export declare function detectCallingCode(digits: string): {
32
+ countries: string[] | undefined;
33
+ callingCode: string | undefined;
34
+ };
35
+ /**
36
+ * Determine the specific country from a set of countries sharing the same
37
+ * calling code, by checking leading digits patterns and validation patterns.
38
+ *
39
+ * Mirrors getCountryByNationalNumber from the original library.
40
+ *
41
+ * @param {string[]} possibleCountries - the candidate country codes
42
+ * @param {string} nationalNumber - the national number to match against
43
+ * @returns {VegaCountryCode | undefined} the matched country or undefined
44
+ */
45
+ export declare function getCountryByNationalNumber(possibleCountries: string[], nationalNumber: string): VegaCountryCode | undefined;