@heartlandone/vega-sandbox-pr-1525-a1131d0b9c266e13a8d224ec5db9f11524d2d02c 2.28.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2811) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/accessibility-bfa227f6.js +17 -0
  3. package/dist/cjs/app-globals-512d84f4.js +304 -0
  4. package/dist/cjs/array-6e559cde.js +178 -0
  5. package/dist/cjs/breakpoints-7e2dff90.js +66 -0
  6. package/dist/cjs/change-manager-a297e4d2.js +78 -0
  7. package/dist/cjs/chevron-down-ca2fa88e.js +12 -0
  8. package/dist/cjs/child-nodes-event-prevent-slimmer-e383a914.js +158 -0
  9. package/dist/cjs/child-nodes-notify-observer-slimmer-79f2f5a7.js +90 -0
  10. package/dist/cjs/component-73a88c4e.js +117 -0
  11. package/dist/cjs/component-global-style-slimmer-6749808c.js +87 -0
  12. package/dist/cjs/component-load-required-16d76afa.js +48 -0
  13. package/dist/cjs/component-usage-runtime-metrics-1ee24991.js +122 -0
  14. package/dist/cjs/create-public-api-runtime-metrics-slimmer-7510221b.js +208 -0
  15. package/dist/cjs/date-0a6bb035.js +95 -0
  16. package/dist/cjs/deprecated-property-slimmer-fc729fd9.js +49 -0
  17. package/dist/cjs/design-token-17b8e4d8.js +403 -0
  18. package/dist/cjs/dom-node-subject-observer-factory-2e41340d.js +141 -0
  19. package/dist/cjs/dynamic-slimmer-f31fdfd7.js +63 -0
  20. package/dist/cjs/effect-37695d3d.js +52 -0
  21. package/dist/cjs/element-appender-slimmer-bf5ecbd8.js +1109 -0
  22. package/dist/cjs/event-emit-slimmer-8f51adaa.js +257 -0
  23. package/dist/cjs/feature-flag-controller-078da332.js +313 -0
  24. package/dist/cjs/form-field-controller-slimmer-223f8ee3.js +1137 -0
  25. package/dist/cjs/global-slimmer-registry-b3bce7e0.js +297 -0
  26. package/dist/cjs/icon-manager-5a2b67cf.js +122 -0
  27. package/dist/cjs/icons-dbc3eb9c.js +520 -0
  28. package/dist/cjs/immutable-map-adf398cc.js +117 -0
  29. package/dist/cjs/index-09acd3c9.js +1755 -0
  30. package/dist/cjs/index-5792390b.js +1024 -0
  31. package/dist/cjs/index.cjs.js +96 -0
  32. package/dist/cjs/inject-keyboard-manager-e79a1ade.js +37 -0
  33. package/dist/cjs/internal-icon-manager-858baff1.js +45 -0
  34. package/dist/cjs/internal-vega-event-manager-627b1328.js +460 -0
  35. package/dist/cjs/internal-vega-z-index-manager-23051df4.js +180 -0
  36. package/dist/cjs/keyboard-manager-34b78600.js +106 -0
  37. package/dist/cjs/keyboard-manager-slimmer-8e2d4b5d.js +39 -0
  38. package/dist/cjs/legend-input-processor-6ab8782a.js +4756 -0
  39. package/dist/cjs/loader.cjs.js +47 -0
  40. package/dist/cjs/min-number-rule-84f21ad9.js +142 -0
  41. package/dist/cjs/min-string-length-rule-75f24a48.js +143 -0
  42. package/dist/cjs/mobilefriendly-aa2e50e9.js +13 -0
  43. package/dist/cjs/mutation-observer-filters-79b60f28.js +58 -0
  44. package/dist/cjs/mutation-observer-slimmer-895b3d3e.js +85 -0
  45. package/dist/cjs/number-459031f7.js +92 -0
  46. package/dist/cjs/object-bbd4ed7f.js +37 -0
  47. package/dist/cjs/observer-f49483e8.js +32 -0
  48. package/dist/cjs/page-resize-observer-slimmer-a8cf1874.js +122 -0
  49. package/dist/cjs/pixel-98f2a10c.js +72 -0
  50. package/dist/cjs/placeholder-cb6d37ad.js +27 -0
  51. package/dist/cjs/regex-c1f70fd4.js +15 -0
  52. package/dist/cjs/remote-invocation-registry-32aaf6c2.js +64 -0
  53. package/dist/cjs/required-field-rule-9a57b1a0.js +83 -0
  54. package/dist/cjs/responsive-format-facade-7bc51a43.js +718 -0
  55. package/dist/cjs/state-background-color-formatter-418b84e6.js +85 -0
  56. package/dist/cjs/static-subject-title-3599787e.js +69 -0
  57. package/dist/cjs/string-21427167.js +13 -0
  58. package/dist/cjs/string-input-formatter-slimmer-79272527.js +359 -0
  59. package/dist/cjs/style-formatter-a0829641.js +34 -0
  60. package/dist/cjs/sub-state-observer-slimmer-36660092.js +204 -0
  61. package/dist/cjs/synchronize-task-queue-8977cf10.js +41 -0
  62. package/dist/cjs/timer-5f33058b.js +24 -0
  63. package/dist/cjs/translation-0dd74433.js +276 -0
  64. package/dist/cjs/translation-slimmer-83577cfd.js +42 -0
  65. package/dist/cjs/type-guard-a07b353b.js +716 -0
  66. package/dist/cjs/typography-4560e7f1.js +1080 -0
  67. package/dist/cjs/ui-08f33116.js +200 -0
  68. package/dist/cjs/ui-32e69595.js +52 -0
  69. package/dist/cjs/valid-credit-card-number-rule-8d8f04f1.js +172 -0
  70. package/dist/cjs/vega-accordion.cjs.entry.js +269 -0
  71. package/dist/cjs/vega-app-footer.cjs.entry.js +149 -0
  72. package/dist/cjs/vega-app-header-button.cjs.entry.js +314 -0
  73. package/dist/cjs/vega-backdrop.cjs.entry.js +156 -0
  74. package/dist/cjs/vega-banner.cjs.entry.js +354 -0
  75. package/dist/cjs/vega-bar-chart.cjs.entry.js +238 -0
  76. package/dist/cjs/vega-box.cjs.entry.js +208 -0
  77. package/dist/cjs/vega-breadcrumb.cjs.entry.js +268 -0
  78. package/dist/cjs/vega-button-circle.cjs.entry.js +222 -0
  79. package/dist/cjs/vega-button-group_2.cjs.entry.js +424 -0
  80. package/dist/cjs/vega-button-link.cjs.entry.js +216 -0
  81. package/dist/cjs/vega-button.cjs.entry.js +234 -0
  82. package/dist/cjs/vega-calendar_3.cjs.entry.js +4179 -0
  83. package/dist/cjs/vega-card.cjs.entry.js +196 -0
  84. package/dist/cjs/vega-carousel.cjs.entry.js +515 -0
  85. package/dist/cjs/vega-checkbox_2.cjs.entry.js +625 -0
  86. package/dist/cjs/vega-chip.cjs.entry.js +301 -0
  87. package/dist/cjs/vega-color-picker.cjs.entry.js +249 -0
  88. package/dist/cjs/vega-combo-box.cjs.entry.js +438 -0
  89. package/dist/cjs/vega-counter-badge.cjs.entry.js +90 -0
  90. package/dist/cjs/vega-date-picker_2.cjs.entry.js +2120 -0
  91. package/dist/cjs/vega-dialog-controller-6a8525b3.js +81 -0
  92. package/dist/cjs/vega-dialog_2.cjs.entry.js +716 -0
  93. package/dist/cjs/vega-divider.cjs.entry.js +149 -0
  94. package/dist/cjs/vega-dropdown_5.cjs.entry.js +2928 -0
  95. package/dist/cjs/vega-env-manager-23b8b23c.js +41 -0
  96. package/dist/cjs/vega-event-id-e40ac8f0.js +144 -0
  97. package/dist/cjs/vega-field-error.cjs.entry.js +102 -0
  98. package/dist/cjs/vega-field-label.cjs.entry.js +166 -0
  99. package/dist/cjs/vega-file-uploader.cjs.entry.js +687 -0
  100. package/dist/cjs/vega-flex.cjs.entry.js +197 -0
  101. package/dist/cjs/vega-font.cjs.entry.js +289 -0
  102. package/dist/cjs/vega-form.cjs.entry.js +485 -0
  103. package/dist/cjs/vega-grid.cjs.entry.js +99 -0
  104. package/dist/cjs/vega-hint.cjs.entry.js +38 -0
  105. package/dist/cjs/vega-icon.cjs.entry.js +228 -0
  106. package/dist/cjs/vega-image-uploader.cjs.entry.js +935 -0
  107. package/dist/cjs/vega-input-credit-card.cjs.entry.js +412 -0
  108. package/dist/cjs/vega-input-phone-number.cjs.entry.js +9223 -0
  109. package/dist/cjs/vega-input-range.cjs.entry.js +746 -0
  110. package/dist/cjs/vega-input-select.cjs.entry.js +879 -0
  111. package/dist/cjs/vega-input.cjs.entry.js +1047 -0
  112. package/dist/cjs/vega-internal-event-id-c98e9a7d.js +50 -0
  113. package/dist/cjs/vega-item-toggle.cjs.entry.js +191 -0
  114. package/dist/cjs/vega-left-nav_5.cjs.entry.js +1184 -0
  115. package/dist/cjs/vega-line-chart.cjs.entry.js +382 -0
  116. package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +211 -0
  117. package/dist/cjs/vega-page-notification_2.cjs.entry.js +183 -0
  118. package/dist/cjs/vega-pagination.cjs.entry.js +386 -0
  119. package/dist/cjs/vega-pie-chart.cjs.entry.js +443 -0
  120. package/dist/cjs/vega-popover_2.cjs.entry.js +321 -0
  121. package/dist/cjs/vega-progress-tracker.cjs.entry.js +252 -0
  122. package/dist/cjs/vega-radio_2.cjs.entry.js +743 -0
  123. package/dist/cjs/vega-section-title.cjs.entry.js +112 -0
  124. package/dist/cjs/vega-segment-control.cjs.entry.js +348 -0
  125. package/dist/cjs/vega-selection-chip_2.cjs.entry.js +836 -0
  126. package/dist/cjs/vega-selection-tile_2.cjs.entry.js +795 -0
  127. package/dist/cjs/vega-signature-capture.cjs.entry.js +572 -0
  128. package/dist/cjs/vega-skeleton-loader-controller-e886dc58.js +3905 -0
  129. package/dist/cjs/vega-skeleton.cjs.entry.js +330 -0
  130. package/dist/cjs/vega-slot-container.cjs.entry.js +40 -0
  131. package/dist/cjs/vega-stepper.cjs.entry.js +292 -0
  132. package/dist/cjs/vega-tab-group_2.cjs.entry.js +1270 -0
  133. package/dist/cjs/vega-table_8.cjs.entry.js +4571 -0
  134. package/dist/cjs/vega-text.cjs.entry.js +232 -0
  135. package/dist/cjs/vega-textarea.cjs.entry.js +302 -0
  136. package/dist/cjs/vega-time-picker_2.cjs.entry.js +2157 -0
  137. package/dist/cjs/vega-toggle-switch.cjs.entry.js +248 -0
  138. package/dist/cjs/vega-tooltip_2.cjs.entry.js +300 -0
  139. package/dist/cjs/vega.cjs.js +45 -0
  140. package/dist/cjs/y-axis-input-processor-cc6e9196.js +2302 -0
  141. package/dist/collection/collection-manifest.json +457 -0
  142. package/dist/collection/components/vega-accordion/slimmers/vega-accordion-expand-controller.js +61 -0
  143. package/dist/collection/components/vega-accordion/slimmers/vega-accordion-renderer.js +98 -0
  144. package/dist/collection/components/vega-accordion/vega-accordion.css +191 -0
  145. package/dist/collection/components/vega-accordion/vega-accordion.js +310 -0
  146. package/dist/collection/components/vega-app-footer/vega-app-footer.css +167 -0
  147. package/dist/collection/components/vega-app-footer/vega-app-footer.js +420 -0
  148. package/dist/collection/components/vega-app-header-button/slimmers/renderers/vega-menu-arrow-icon-renderer.js +26 -0
  149. package/dist/collection/components/vega-app-header-button/vega-app-header-button.css +2093 -0
  150. package/dist/collection/components/vega-app-header-button/vega-app-header-button.js +564 -0
  151. package/dist/collection/components/vega-backdrop/slimmers/controller/vega-backdrop-visible-controller.js +59 -0
  152. package/dist/collection/components/vega-backdrop/slimmers/renerers/vega-backdrop-renderer.js +31 -0
  153. package/dist/collection/components/vega-backdrop/vega-backdrop.css +28 -0
  154. package/dist/collection/components/vega-backdrop/vega-backdrop.js +149 -0
  155. package/dist/collection/components/vega-banner/slimmers/controllers/vega-banner-icon-controller.js +51 -0
  156. package/dist/collection/components/vega-banner/slimmers/renderers/vega-banner-action-button-renderer.js +51 -0
  157. package/dist/collection/components/vega-banner/slimmers/renderers/vega-banner-renderer.js +120 -0
  158. package/dist/collection/components/vega-banner/vega-banner.css +167 -0
  159. package/dist/collection/components/vega-banner/vega-banner.js +355 -0
  160. package/dist/collection/components/vega-box/interface.js +1 -0
  161. package/dist/collection/components/vega-box/slimmers/controllers/vega-box-state-styles-controller.js +117 -0
  162. package/dist/collection/components/vega-box/vega-box.css +7247 -0
  163. package/dist/collection/components/vega-box/vega-box.js +798 -0
  164. package/dist/collection/components/vega-breadcrumb/slimmers/controllers/vega-breadcrumb-click-controller.js +43 -0
  165. package/dist/collection/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-collapsed-item-renderer.js +29 -0
  166. package/dist/collection/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-item-renderer.js +46 -0
  167. package/dist/collection/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-renderer.js +60 -0
  168. package/dist/collection/components/vega-breadcrumb/vega-breadcrumb.css +182 -0
  169. package/dist/collection/components/vega-breadcrumb/vega-breadcrumb.js +190 -0
  170. package/dist/collection/components/vega-button/slimmers/renderers/vega-button-loading-renderer.js +24 -0
  171. package/dist/collection/components/vega-button/vega-button.css +200 -0
  172. package/dist/collection/components/vega-button/vega-button.js +481 -0
  173. package/dist/collection/components/vega-button-circle/vega-button-circle.css +406 -0
  174. package/dist/collection/components/vega-button-circle/vega-button-circle.js +434 -0
  175. package/dist/collection/components/vega-button-group/slimmers/controllers/vega-button-group-click-controller.js +38 -0
  176. package/dist/collection/components/vega-button-group/vega-button-group-item/slimmers/controllers/vega-button-group-item-sub-state-controller.js +42 -0
  177. package/dist/collection/components/vega-button-group/vega-button-group-item/slimmers/renderers/vega-button-group-item-renderer.js +153 -0
  178. package/dist/collection/components/vega-button-group/vega-button-group-item/vega-button-group-item.css +83 -0
  179. package/dist/collection/components/vega-button-group/vega-button-group-item/vega-button-group-item.js +194 -0
  180. package/dist/collection/components/vega-button-group/vega-button-group.css +39 -0
  181. package/dist/collection/components/vega-button-group/vega-button-group.js +229 -0
  182. package/dist/collection/components/vega-button-link/vega-button-link.css +335 -0
  183. package/dist/collection/components/vega-button-link/vega-button-link.js +415 -0
  184. package/dist/collection/components/vega-calendar/icons/clock-three.js +3 -0
  185. package/dist/collection/components/vega-calendar/icons/ellipsis-vertical.js +3 -0
  186. package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-current-period-controller.js +131 -0
  187. package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-controller.js +124 -0
  188. package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-responsive-controller.js +74 -0
  189. package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-view-controller.js +73 -0
  190. package/dist/collection/components/vega-calendar/slimmers/common/helpers/calendar-event-sorter.js +91 -0
  191. package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/base-repeat-pattern.js +61 -0
  192. package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-daily-repeat-pattern.js +76 -0
  193. package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-monthly-repeat-pattern.js +96 -0
  194. package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-repeat-pattern-factory.js +60 -0
  195. package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-weekly-repeat-pattern.js +171 -0
  196. package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-yearly-repeat-pattern.js +98 -0
  197. package/dist/collection/components/vega-calendar/slimmers/common/helpers/test/calendar-event-repeat-pattern-factory.test.js +161 -0
  198. package/dist/collection/components/vega-calendar/slimmers/common/layout/base-event-layout-cell.js +43 -0
  199. package/dist/collection/components/vega-calendar/slimmers/common/layout/base-event-layout-generator.js +23 -0
  200. package/dist/collection/components/vega-calendar/slimmers/common/layout/base-event-layout.js +11 -0
  201. package/dist/collection/components/vega-calendar/slimmers/common/layout/full-day-event-layout-generator.js +84 -0
  202. package/dist/collection/components/vega-calendar/slimmers/common/layout/full-day-event-layout-row.js +41 -0
  203. package/dist/collection/components/vega-calendar/slimmers/common/layout/full-day-event-layout.js +42 -0
  204. package/dist/collection/components/vega-calendar/slimmers/common/layout/test/long-event-layout-generator.test.js +94 -0
  205. package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-event-item-renderer.js +43 -0
  206. package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-full-day-event-layout-renderer.js +99 -0
  207. package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-renderer.js +27 -0
  208. package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-switch-panel.js +191 -0
  209. package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-view-renderer.js +33 -0
  210. package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/full-day-event/vega-calendar-full-day-event-more-button-renderer.js +46 -0
  211. package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/full-day-event/vega-calendar-full-day-event-renderer.js +86 -0
  212. package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout-column.js +50 -0
  213. package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout-generator.js +29 -0
  214. package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout.js +35 -0
  215. package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/test/day-view-event-layout-generator.test.js +72 -0
  216. package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/vega-calendar-day-event-layout-renderer.js +70 -0
  217. package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/vega-calendar-timed-event-renderer.js +52 -0
  218. package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-time-line-renderer.js +162 -0
  219. package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-view-with-time-renderer.js +106 -0
  220. package/dist/collection/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-event-renderer.js +181 -0
  221. package/dist/collection/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-view-renderer.js +122 -0
  222. package/dist/collection/components/vega-calendar/utils/index.js +56 -0
  223. package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-bg-color-controller.js +29 -0
  224. package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-slot-controller.js +76 -0
  225. package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-title-max-height-controller.js +37 -0
  226. package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-sub-state-controller.js +42 -0
  227. package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/renderers/vega-calendar-event-renderer.js +209 -0
  228. package/dist/collection/components/vega-calendar/vega-calendar-event/vega-calendar-event.css +371 -0
  229. package/dist/collection/components/vega-calendar/vega-calendar-event/vega-calendar-event.js +110 -0
  230. package/dist/collection/components/vega-calendar/vega-calendar-event-slot/vega-calendar-event-slot.css +10 -0
  231. package/dist/collection/components/vega-calendar/vega-calendar-event-slot/vega-calendar-event-slot.js +61 -0
  232. package/dist/collection/components/vega-calendar/vega-calendar.css +662 -0
  233. package/dist/collection/components/vega-calendar/vega-calendar.js +588 -0
  234. package/dist/collection/components/vega-card/vega-card.css +6713 -0
  235. package/dist/collection/components/vega-card/vega-card.js +193 -0
  236. package/dist/collection/components/vega-carousel/vega-carousel.css +81 -0
  237. package/dist/collection/components/vega-carousel/vega-carousel.js +586 -0
  238. package/dist/collection/components/vega-chart/vega-bar-chart/vega-bar-chart.css +16 -0
  239. package/dist/collection/components/vega-chart/vega-bar-chart/vega-bar-chart.js +106 -0
  240. package/dist/collection/components/vega-chart/vega-line-chart/vega-line-chart.css +16 -0
  241. package/dist/collection/components/vega-chart/vega-line-chart/vega-line-chart.js +142 -0
  242. package/dist/collection/components/vega-chart/vega-pie-chart/vega-pie-chart.css +16 -0
  243. package/dist/collection/components/vega-chart/vega-pie-chart/vega-pie-chart.js +142 -0
  244. package/dist/collection/components/vega-checkbox/slimmers/controllers/vega-checkbox-show-error-controller.js +59 -0
  245. package/dist/collection/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.css +137 -0
  246. package/dist/collection/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.js +492 -0
  247. package/dist/collection/components/vega-checkbox/vega-checkbox.css +261 -0
  248. package/dist/collection/components/vega-checkbox/vega-checkbox.js +478 -0
  249. package/dist/collection/components/vega-chip/vega-chip.css +2342 -0
  250. package/dist/collection/components/vega-chip/vega-chip.js +617 -0
  251. package/dist/collection/components/vega-color-picker/vega-color-picker.css +152 -0
  252. package/dist/collection/components/vega-color-picker/vega-color-picker.js +442 -0
  253. package/dist/collection/components/vega-combo-box/vega-combo-box.css +229 -0
  254. package/dist/collection/components/vega-combo-box/vega-combo-box.js +838 -0
  255. package/dist/collection/components/vega-counter-badge/vega-counter-badge.css +54 -0
  256. package/dist/collection/components/vega-counter-badge/vega-counter-badge.js +172 -0
  257. package/dist/collection/components/vega-date-picker/assets/icons.js +11 -0
  258. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-controller.js +260 -0
  259. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-element-appender-controller.js +33 -0
  260. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-format-controller.js +136 -0
  261. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-keyboard-controller.js +48 -0
  262. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-mobile-controller.js +53 -0
  263. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-value-controller.js +176 -0
  264. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-zindex-controller.js +49 -0
  265. package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-renderer.js +349 -0
  266. package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-range-input-renderer.js +117 -0
  267. package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-renderer.js +107 -0
  268. package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-single-input-renderer.js +83 -0
  269. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.css +640 -0
  270. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.js +36 -0
  271. package/dist/collection/components/vega-date-picker/vega-date-picker.css +287 -0
  272. package/dist/collection/components/vega-date-picker/vega-date-picker.js +811 -0
  273. package/dist/collection/components/vega-dialog/vega-dialog.css +64 -0
  274. package/dist/collection/components/vega-dialog/vega-dialog.js +331 -0
  275. package/dist/collection/components/vega-divider/interface.js +1 -0
  276. package/dist/collection/components/vega-divider/slimmers/controllers/vega-divider-size-controller.js +62 -0
  277. package/dist/collection/components/vega-divider/vega-divider.css +2545 -0
  278. package/dist/collection/components/vega-divider/vega-divider.js +170 -0
  279. package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.js +124 -0
  280. package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-children-controller.js +174 -0
  281. package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-keyboard-conttroller.js +85 -0
  282. package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-remote-invocation-controller.js +54 -0
  283. package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-render-mode-controller.js +51 -0
  284. package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-scrollable-controller.js +142 -0
  285. package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-search-controller.js +107 -0
  286. package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-selected-controller.js +222 -0
  287. package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-source-controller.js +68 -0
  288. package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-create-renderer.js +50 -0
  289. package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-group-level-renderer.js +19 -0
  290. package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-item-level-renderer.js +37 -0
  291. package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-list-renderer.js +103 -0
  292. package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-renderer.js +137 -0
  293. package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-search-renderer.js +94 -0
  294. package/dist/collection/components/vega-dropdown/test/share.js +13 -0
  295. package/dist/collection/components/vega-dropdown/vega-dropdown-content-box/vega-dropdown-content-box.css +237 -0
  296. package/dist/collection/components/vega-dropdown/vega-dropdown-content-box/vega-dropdown-content-box.js +44 -0
  297. package/dist/collection/components/vega-dropdown/vega-dropdown-group/slimmers/renderers/vega-dropdown-group-renderer.js +32 -0
  298. package/dist/collection/components/vega-dropdown/vega-dropdown-group/vega-dropdown-group.css +62 -0
  299. package/dist/collection/components/vega-dropdown/vega-dropdown-group/vega-dropdown-group.js +93 -0
  300. package/dist/collection/components/vega-dropdown/vega-dropdown-item/slimmers/controllers/vega-dropdown-item-click-controller.js +37 -0
  301. package/dist/collection/components/vega-dropdown/vega-dropdown-item/slimmers/controllers/vega-dropdown-item-state-controller.js +80 -0
  302. package/dist/collection/components/vega-dropdown/vega-dropdown-item/slimmers/renderers/vega-dropdown-item-renderer.js +103 -0
  303. package/dist/collection/components/vega-dropdown/vega-dropdown-item/vega-dropdown-item.css +129 -0
  304. package/dist/collection/components/vega-dropdown/vega-dropdown-item/vega-dropdown-item.js +291 -0
  305. package/dist/collection/components/vega-dropdown/vega-dropdown.css +8 -0
  306. package/dist/collection/components/vega-dropdown/vega-dropdown.js +1281 -0
  307. package/dist/collection/components/vega-field-error/slimmers/controllers/vega-field-error-message-controller.js +45 -0
  308. package/dist/collection/components/vega-field-error/vega-field-error.css +8 -0
  309. package/dist/collection/components/vega-field-error/vega-field-error.js +81 -0
  310. package/dist/collection/components/vega-field-label/slimmers/renderers/vega-field-label-suffix-element-renderer.js +50 -0
  311. package/dist/collection/components/vega-field-label/vega-field-label.css +72 -0
  312. package/dist/collection/components/vega-field-label/vega-field-label.js +260 -0
  313. package/dist/collection/components/vega-file-uploader/slimmers/controllers/vega-file-uploader-drop-file-filter-controller.js +51 -0
  314. package/dist/collection/components/vega-file-uploader/slimmers/controllers/vega-file-uploader-value-controller.js +49 -0
  315. package/dist/collection/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-container-renderer.js +171 -0
  316. package/dist/collection/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-list-renderer.js +114 -0
  317. package/dist/collection/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-status-renderer.js +26 -0
  318. package/dist/collection/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-renderer.js +42 -0
  319. package/dist/collection/components/vega-file-uploader/vega-file-uploader.css +154 -0
  320. package/dist/collection/components/vega-file-uploader/vega-file-uploader.js +665 -0
  321. package/dist/collection/components/vega-flex/vega-flex.css +4024 -0
  322. package/dist/collection/components/vega-flex/vega-flex.js +435 -0
  323. package/dist/collection/components/vega-font/slimmers/controllers/vega-font-as-controller.js +66 -0
  324. package/dist/collection/components/vega-font/slimmers/controllers/vega-font-classes-controller.js +46 -0
  325. package/dist/collection/components/vega-font/slimmers/controllers/vega-font-variant-controller.js +22 -0
  326. package/dist/collection/components/vega-font/slimmers/renderers/vega-font-renderer.js +18 -0
  327. package/dist/collection/components/vega-font/vega-font.css +1837 -0
  328. package/dist/collection/components/vega-font/vega-font.js +251 -0
  329. package/dist/collection/components/vega-form/vega-form.css +8 -0
  330. package/dist/collection/components/vega-form/vega-form.js +812 -0
  331. package/dist/collection/components/vega-grid/vega-grid.css +1811 -0
  332. package/dist/collection/components/vega-grid/vega-grid.js +178 -0
  333. package/dist/collection/components/vega-hint/vega-hint.js +39 -0
  334. package/dist/collection/components/vega-icon/vega-icon.css +391 -0
  335. package/dist/collection/components/vega-icon/vega-icon.js +291 -0
  336. package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-actions-visibility-controller.js +46 -0
  337. package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-input-controller.js +30 -0
  338. package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-preview-controller.js +93 -0
  339. package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-remove-controller.js +59 -0
  340. package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-value-controller.js +46 -0
  341. package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-actions-renderer.js +120 -0
  342. package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-default-content-renderer.js +45 -0
  343. package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-input-renderer.js +47 -0
  344. package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-preview-content-renderer.js +29 -0
  345. package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-renderer.js +96 -0
  346. package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-uploading-content-renderer.js +40 -0
  347. package/dist/collection/components/vega-image-uploader/vega-image-uploader.css +383 -0
  348. package/dist/collection/components/vega-image-uploader/vega-image-uploader.js +794 -0
  349. package/dist/collection/components/vega-input/slimmers/controllers/vega-input-copy-paste-controller.js +43 -0
  350. package/dist/collection/components/vega-input/slimmers/controllers/vega-input-mask-config-controller.js +143 -0
  351. package/dist/collection/components/vega-input/slimmers/renderers/vega-input-prefix-slot-renderer.js +37 -0
  352. package/dist/collection/components/vega-input/vega-input.css +274 -0
  353. package/dist/collection/components/vega-input/vega-input.js +1147 -0
  354. package/dist/collection/components/vega-input-credit-card/assets/icons.js +22 -0
  355. package/dist/collection/components/vega-input-credit-card/test/share.js +21 -0
  356. package/dist/collection/components/vega-input-credit-card/vega-input-credit-card.css +11 -0
  357. package/dist/collection/components/vega-input-credit-card/vega-input-credit-card.js +635 -0
  358. package/dist/collection/components/vega-input-phone-number/assets/countries.js +247 -0
  359. package/dist/collection/components/vega-input-phone-number/assets/country-flags.js +493 -0
  360. package/dist/collection/components/vega-input-phone-number/assets/flags/ac.js +692 -0
  361. package/dist/collection/components/vega-input-phone-number/assets/flags/ad.js +4 -0
  362. package/dist/collection/components/vega-input-phone-number/assets/flags/ae.js +4 -0
  363. package/dist/collection/components/vega-input-phone-number/assets/flags/af.js +4 -0
  364. package/dist/collection/components/vega-input-phone-number/assets/flags/ag.js +4 -0
  365. package/dist/collection/components/vega-input-phone-number/assets/flags/ai.js +4 -0
  366. package/dist/collection/components/vega-input-phone-number/assets/flags/al.js +4 -0
  367. package/dist/collection/components/vega-input-phone-number/assets/flags/am.js +4 -0
  368. package/dist/collection/components/vega-input-phone-number/assets/flags/ao.js +4 -0
  369. package/dist/collection/components/vega-input-phone-number/assets/flags/ar.js +4 -0
  370. package/dist/collection/components/vega-input-phone-number/assets/flags/as.js +4 -0
  371. package/dist/collection/components/vega-input-phone-number/assets/flags/at.js +4 -0
  372. package/dist/collection/components/vega-input-phone-number/assets/flags/au.js +4 -0
  373. package/dist/collection/components/vega-input-phone-number/assets/flags/aw.js +4 -0
  374. package/dist/collection/components/vega-input-phone-number/assets/flags/ax.js +4 -0
  375. package/dist/collection/components/vega-input-phone-number/assets/flags/az.js +4 -0
  376. package/dist/collection/components/vega-input-phone-number/assets/flags/ba.js +4 -0
  377. package/dist/collection/components/vega-input-phone-number/assets/flags/bb.js +4 -0
  378. package/dist/collection/components/vega-input-phone-number/assets/flags/bd.js +4 -0
  379. package/dist/collection/components/vega-input-phone-number/assets/flags/be.js +4 -0
  380. package/dist/collection/components/vega-input-phone-number/assets/flags/bf.js +4 -0
  381. package/dist/collection/components/vega-input-phone-number/assets/flags/bg.js +4 -0
  382. package/dist/collection/components/vega-input-phone-number/assets/flags/bh.js +4 -0
  383. package/dist/collection/components/vega-input-phone-number/assets/flags/bi.js +4 -0
  384. package/dist/collection/components/vega-input-phone-number/assets/flags/bj.js +4 -0
  385. package/dist/collection/components/vega-input-phone-number/assets/flags/bl.js +4 -0
  386. package/dist/collection/components/vega-input-phone-number/assets/flags/bm.js +4 -0
  387. package/dist/collection/components/vega-input-phone-number/assets/flags/bn.js +4 -0
  388. package/dist/collection/components/vega-input-phone-number/assets/flags/bo.js +4 -0
  389. package/dist/collection/components/vega-input-phone-number/assets/flags/bq.js +4 -0
  390. package/dist/collection/components/vega-input-phone-number/assets/flags/br.js +4 -0
  391. package/dist/collection/components/vega-input-phone-number/assets/flags/bs.js +4 -0
  392. package/dist/collection/components/vega-input-phone-number/assets/flags/bt.js +4 -0
  393. package/dist/collection/components/vega-input-phone-number/assets/flags/bw.js +4 -0
  394. package/dist/collection/components/vega-input-phone-number/assets/flags/by.js +4 -0
  395. package/dist/collection/components/vega-input-phone-number/assets/flags/bz.js +4 -0
  396. package/dist/collection/components/vega-input-phone-number/assets/flags/ca.js +4 -0
  397. package/dist/collection/components/vega-input-phone-number/assets/flags/cc.js +4 -0
  398. package/dist/collection/components/vega-input-phone-number/assets/flags/cd.js +4 -0
  399. package/dist/collection/components/vega-input-phone-number/assets/flags/cf.js +4 -0
  400. package/dist/collection/components/vega-input-phone-number/assets/flags/cg.js +4 -0
  401. package/dist/collection/components/vega-input-phone-number/assets/flags/ch.js +4 -0
  402. package/dist/collection/components/vega-input-phone-number/assets/flags/ci.js +4 -0
  403. package/dist/collection/components/vega-input-phone-number/assets/flags/ck.js +4 -0
  404. package/dist/collection/components/vega-input-phone-number/assets/flags/cl.js +4 -0
  405. package/dist/collection/components/vega-input-phone-number/assets/flags/cm.js +4 -0
  406. package/dist/collection/components/vega-input-phone-number/assets/flags/cn.js +4 -0
  407. package/dist/collection/components/vega-input-phone-number/assets/flags/co.js +4 -0
  408. package/dist/collection/components/vega-input-phone-number/assets/flags/cr.js +4 -0
  409. package/dist/collection/components/vega-input-phone-number/assets/flags/cu.js +4 -0
  410. package/dist/collection/components/vega-input-phone-number/assets/flags/cv.js +4 -0
  411. package/dist/collection/components/vega-input-phone-number/assets/flags/cw.js +4 -0
  412. package/dist/collection/components/vega-input-phone-number/assets/flags/cx.js +4 -0
  413. package/dist/collection/components/vega-input-phone-number/assets/flags/cy.js +4 -0
  414. package/dist/collection/components/vega-input-phone-number/assets/flags/cz.js +4 -0
  415. package/dist/collection/components/vega-input-phone-number/assets/flags/de.js +4 -0
  416. package/dist/collection/components/vega-input-phone-number/assets/flags/dj.js +4 -0
  417. package/dist/collection/components/vega-input-phone-number/assets/flags/dk.js +4 -0
  418. package/dist/collection/components/vega-input-phone-number/assets/flags/dm.js +4 -0
  419. package/dist/collection/components/vega-input-phone-number/assets/flags/do.js +4 -0
  420. package/dist/collection/components/vega-input-phone-number/assets/flags/dz.js +4 -0
  421. package/dist/collection/components/vega-input-phone-number/assets/flags/ec.js +4 -0
  422. package/dist/collection/components/vega-input-phone-number/assets/flags/ee.js +4 -0
  423. package/dist/collection/components/vega-input-phone-number/assets/flags/eg.js +4 -0
  424. package/dist/collection/components/vega-input-phone-number/assets/flags/eh.js +4 -0
  425. package/dist/collection/components/vega-input-phone-number/assets/flags/er.js +4 -0
  426. package/dist/collection/components/vega-input-phone-number/assets/flags/es.js +4 -0
  427. package/dist/collection/components/vega-input-phone-number/assets/flags/et.js +4 -0
  428. package/dist/collection/components/vega-input-phone-number/assets/flags/fi.js +4 -0
  429. package/dist/collection/components/vega-input-phone-number/assets/flags/fj.js +4 -0
  430. package/dist/collection/components/vega-input-phone-number/assets/flags/fk.js +4 -0
  431. package/dist/collection/components/vega-input-phone-number/assets/flags/fm.js +4 -0
  432. package/dist/collection/components/vega-input-phone-number/assets/flags/fo.js +4 -0
  433. package/dist/collection/components/vega-input-phone-number/assets/flags/fr.js +4 -0
  434. package/dist/collection/components/vega-input-phone-number/assets/flags/ga.js +4 -0
  435. package/dist/collection/components/vega-input-phone-number/assets/flags/gb.js +4 -0
  436. package/dist/collection/components/vega-input-phone-number/assets/flags/gd.js +4 -0
  437. package/dist/collection/components/vega-input-phone-number/assets/flags/ge.js +4 -0
  438. package/dist/collection/components/vega-input-phone-number/assets/flags/gf.js +4 -0
  439. package/dist/collection/components/vega-input-phone-number/assets/flags/gg.js +4 -0
  440. package/dist/collection/components/vega-input-phone-number/assets/flags/gh.js +4 -0
  441. package/dist/collection/components/vega-input-phone-number/assets/flags/gi.js +4 -0
  442. package/dist/collection/components/vega-input-phone-number/assets/flags/gl.js +4 -0
  443. package/dist/collection/components/vega-input-phone-number/assets/flags/gm.js +4 -0
  444. package/dist/collection/components/vega-input-phone-number/assets/flags/gn.js +4 -0
  445. package/dist/collection/components/vega-input-phone-number/assets/flags/gp.js +4 -0
  446. package/dist/collection/components/vega-input-phone-number/assets/flags/gq.js +4 -0
  447. package/dist/collection/components/vega-input-phone-number/assets/flags/gr.js +4 -0
  448. package/dist/collection/components/vega-input-phone-number/assets/flags/gt.js +4 -0
  449. package/dist/collection/components/vega-input-phone-number/assets/flags/gu.js +4 -0
  450. package/dist/collection/components/vega-input-phone-number/assets/flags/gw.js +4 -0
  451. package/dist/collection/components/vega-input-phone-number/assets/flags/gy.js +4 -0
  452. package/dist/collection/components/vega-input-phone-number/assets/flags/hk.js +4 -0
  453. package/dist/collection/components/vega-input-phone-number/assets/flags/hn.js +4 -0
  454. package/dist/collection/components/vega-input-phone-number/assets/flags/hr.js +4 -0
  455. package/dist/collection/components/vega-input-phone-number/assets/flags/ht.js +4 -0
  456. package/dist/collection/components/vega-input-phone-number/assets/flags/hu.js +4 -0
  457. package/dist/collection/components/vega-input-phone-number/assets/flags/id.js +4 -0
  458. package/dist/collection/components/vega-input-phone-number/assets/flags/ie.js +4 -0
  459. package/dist/collection/components/vega-input-phone-number/assets/flags/il.js +4 -0
  460. package/dist/collection/components/vega-input-phone-number/assets/flags/im.js +4 -0
  461. package/dist/collection/components/vega-input-phone-number/assets/flags/in.js +4 -0
  462. package/dist/collection/components/vega-input-phone-number/assets/flags/io.js +4 -0
  463. package/dist/collection/components/vega-input-phone-number/assets/flags/iq.js +4 -0
  464. package/dist/collection/components/vega-input-phone-number/assets/flags/ir.js +4 -0
  465. package/dist/collection/components/vega-input-phone-number/assets/flags/is.js +4 -0
  466. package/dist/collection/components/vega-input-phone-number/assets/flags/it.js +4 -0
  467. package/dist/collection/components/vega-input-phone-number/assets/flags/je.js +4 -0
  468. package/dist/collection/components/vega-input-phone-number/assets/flags/jm.js +4 -0
  469. package/dist/collection/components/vega-input-phone-number/assets/flags/jo.js +4 -0
  470. package/dist/collection/components/vega-input-phone-number/assets/flags/jp.js +4 -0
  471. package/dist/collection/components/vega-input-phone-number/assets/flags/ke.js +4 -0
  472. package/dist/collection/components/vega-input-phone-number/assets/flags/kg.js +4 -0
  473. package/dist/collection/components/vega-input-phone-number/assets/flags/kh.js +4 -0
  474. package/dist/collection/components/vega-input-phone-number/assets/flags/ki.js +4 -0
  475. package/dist/collection/components/vega-input-phone-number/assets/flags/km.js +4 -0
  476. package/dist/collection/components/vega-input-phone-number/assets/flags/kn.js +4 -0
  477. package/dist/collection/components/vega-input-phone-number/assets/flags/kp.js +4 -0
  478. package/dist/collection/components/vega-input-phone-number/assets/flags/kr.js +4 -0
  479. package/dist/collection/components/vega-input-phone-number/assets/flags/kw.js +4 -0
  480. package/dist/collection/components/vega-input-phone-number/assets/flags/ky.js +4 -0
  481. package/dist/collection/components/vega-input-phone-number/assets/flags/kz.js +4 -0
  482. package/dist/collection/components/vega-input-phone-number/assets/flags/la.js +4 -0
  483. package/dist/collection/components/vega-input-phone-number/assets/flags/lb.js +4 -0
  484. package/dist/collection/components/vega-input-phone-number/assets/flags/lc.js +4 -0
  485. package/dist/collection/components/vega-input-phone-number/assets/flags/li.js +4 -0
  486. package/dist/collection/components/vega-input-phone-number/assets/flags/lk.js +4 -0
  487. package/dist/collection/components/vega-input-phone-number/assets/flags/lr.js +4 -0
  488. package/dist/collection/components/vega-input-phone-number/assets/flags/ls.js +4 -0
  489. package/dist/collection/components/vega-input-phone-number/assets/flags/lt.js +4 -0
  490. package/dist/collection/components/vega-input-phone-number/assets/flags/lu.js +4 -0
  491. package/dist/collection/components/vega-input-phone-number/assets/flags/lv.js +4 -0
  492. package/dist/collection/components/vega-input-phone-number/assets/flags/ly.js +4 -0
  493. package/dist/collection/components/vega-input-phone-number/assets/flags/ma.js +4 -0
  494. package/dist/collection/components/vega-input-phone-number/assets/flags/mc.js +4 -0
  495. package/dist/collection/components/vega-input-phone-number/assets/flags/md.js +4 -0
  496. package/dist/collection/components/vega-input-phone-number/assets/flags/me.js +4 -0
  497. package/dist/collection/components/vega-input-phone-number/assets/flags/mf.js +4 -0
  498. package/dist/collection/components/vega-input-phone-number/assets/flags/mg.js +4 -0
  499. package/dist/collection/components/vega-input-phone-number/assets/flags/mh.js +4 -0
  500. package/dist/collection/components/vega-input-phone-number/assets/flags/mk.js +4 -0
  501. package/dist/collection/components/vega-input-phone-number/assets/flags/ml.js +4 -0
  502. package/dist/collection/components/vega-input-phone-number/assets/flags/mm.js +4 -0
  503. package/dist/collection/components/vega-input-phone-number/assets/flags/mn.js +4 -0
  504. package/dist/collection/components/vega-input-phone-number/assets/flags/mo.js +4 -0
  505. package/dist/collection/components/vega-input-phone-number/assets/flags/mp.js +4 -0
  506. package/dist/collection/components/vega-input-phone-number/assets/flags/mq.js +4 -0
  507. package/dist/collection/components/vega-input-phone-number/assets/flags/mr.js +4 -0
  508. package/dist/collection/components/vega-input-phone-number/assets/flags/ms.js +4 -0
  509. package/dist/collection/components/vega-input-phone-number/assets/flags/mt.js +4 -0
  510. package/dist/collection/components/vega-input-phone-number/assets/flags/mu.js +4 -0
  511. package/dist/collection/components/vega-input-phone-number/assets/flags/mv.js +4 -0
  512. package/dist/collection/components/vega-input-phone-number/assets/flags/mw.js +4 -0
  513. package/dist/collection/components/vega-input-phone-number/assets/flags/mx.js +4 -0
  514. package/dist/collection/components/vega-input-phone-number/assets/flags/my.js +4 -0
  515. package/dist/collection/components/vega-input-phone-number/assets/flags/mz.js +4 -0
  516. package/dist/collection/components/vega-input-phone-number/assets/flags/na.js +4 -0
  517. package/dist/collection/components/vega-input-phone-number/assets/flags/nc.js +4 -0
  518. package/dist/collection/components/vega-input-phone-number/assets/flags/ne.js +4 -0
  519. package/dist/collection/components/vega-input-phone-number/assets/flags/nf.js +4 -0
  520. package/dist/collection/components/vega-input-phone-number/assets/flags/ng.js +4 -0
  521. package/dist/collection/components/vega-input-phone-number/assets/flags/ni.js +4 -0
  522. package/dist/collection/components/vega-input-phone-number/assets/flags/nl.js +4 -0
  523. package/dist/collection/components/vega-input-phone-number/assets/flags/no.js +4 -0
  524. package/dist/collection/components/vega-input-phone-number/assets/flags/np.js +4 -0
  525. package/dist/collection/components/vega-input-phone-number/assets/flags/nr.js +4 -0
  526. package/dist/collection/components/vega-input-phone-number/assets/flags/nu.js +4 -0
  527. package/dist/collection/components/vega-input-phone-number/assets/flags/nz.js +4 -0
  528. package/dist/collection/components/vega-input-phone-number/assets/flags/om.js +4 -0
  529. package/dist/collection/components/vega-input-phone-number/assets/flags/pa.js +4 -0
  530. package/dist/collection/components/vega-input-phone-number/assets/flags/pe.js +4 -0
  531. package/dist/collection/components/vega-input-phone-number/assets/flags/pf.js +4 -0
  532. package/dist/collection/components/vega-input-phone-number/assets/flags/pg.js +4 -0
  533. package/dist/collection/components/vega-input-phone-number/assets/flags/ph.js +4 -0
  534. package/dist/collection/components/vega-input-phone-number/assets/flags/pk.js +4 -0
  535. package/dist/collection/components/vega-input-phone-number/assets/flags/pl.js +4 -0
  536. package/dist/collection/components/vega-input-phone-number/assets/flags/pm.js +4 -0
  537. package/dist/collection/components/vega-input-phone-number/assets/flags/pr.js +4 -0
  538. package/dist/collection/components/vega-input-phone-number/assets/flags/ps.js +4 -0
  539. package/dist/collection/components/vega-input-phone-number/assets/flags/pt.js +4 -0
  540. package/dist/collection/components/vega-input-phone-number/assets/flags/pw.js +4 -0
  541. package/dist/collection/components/vega-input-phone-number/assets/flags/py.js +4 -0
  542. package/dist/collection/components/vega-input-phone-number/assets/flags/qa.js +4 -0
  543. package/dist/collection/components/vega-input-phone-number/assets/flags/re.js +4 -0
  544. package/dist/collection/components/vega-input-phone-number/assets/flags/ro.js +4 -0
  545. package/dist/collection/components/vega-input-phone-number/assets/flags/rs.js +4 -0
  546. package/dist/collection/components/vega-input-phone-number/assets/flags/ru.js +4 -0
  547. package/dist/collection/components/vega-input-phone-number/assets/flags/rw.js +4 -0
  548. package/dist/collection/components/vega-input-phone-number/assets/flags/sa.js +4 -0
  549. package/dist/collection/components/vega-input-phone-number/assets/flags/sb.js +4 -0
  550. package/dist/collection/components/vega-input-phone-number/assets/flags/sc.js +4 -0
  551. package/dist/collection/components/vega-input-phone-number/assets/flags/sd.js +4 -0
  552. package/dist/collection/components/vega-input-phone-number/assets/flags/se.js +4 -0
  553. package/dist/collection/components/vega-input-phone-number/assets/flags/sg.js +4 -0
  554. package/dist/collection/components/vega-input-phone-number/assets/flags/sh.js +167 -0
  555. package/dist/collection/components/vega-input-phone-number/assets/flags/si.js +4 -0
  556. package/dist/collection/components/vega-input-phone-number/assets/flags/sj.js +4 -0
  557. package/dist/collection/components/vega-input-phone-number/assets/flags/sk.js +4 -0
  558. package/dist/collection/components/vega-input-phone-number/assets/flags/sl.js +4 -0
  559. package/dist/collection/components/vega-input-phone-number/assets/flags/sm.js +4 -0
  560. package/dist/collection/components/vega-input-phone-number/assets/flags/sn.js +4 -0
  561. package/dist/collection/components/vega-input-phone-number/assets/flags/so.js +4 -0
  562. package/dist/collection/components/vega-input-phone-number/assets/flags/sr.js +4 -0
  563. package/dist/collection/components/vega-input-phone-number/assets/flags/ss.js +4 -0
  564. package/dist/collection/components/vega-input-phone-number/assets/flags/st.js +4 -0
  565. package/dist/collection/components/vega-input-phone-number/assets/flags/sv.js +4 -0
  566. package/dist/collection/components/vega-input-phone-number/assets/flags/sx.js +4 -0
  567. package/dist/collection/components/vega-input-phone-number/assets/flags/sy.js +4 -0
  568. package/dist/collection/components/vega-input-phone-number/assets/flags/sz.js +4 -0
  569. package/dist/collection/components/vega-input-phone-number/assets/flags/ta.js +79 -0
  570. package/dist/collection/components/vega-input-phone-number/assets/flags/tc.js +4 -0
  571. package/dist/collection/components/vega-input-phone-number/assets/flags/td.js +4 -0
  572. package/dist/collection/components/vega-input-phone-number/assets/flags/tg.js +4 -0
  573. package/dist/collection/components/vega-input-phone-number/assets/flags/th.js +4 -0
  574. package/dist/collection/components/vega-input-phone-number/assets/flags/tj.js +4 -0
  575. package/dist/collection/components/vega-input-phone-number/assets/flags/tk.js +4 -0
  576. package/dist/collection/components/vega-input-phone-number/assets/flags/tl.js +4 -0
  577. package/dist/collection/components/vega-input-phone-number/assets/flags/tm.js +4 -0
  578. package/dist/collection/components/vega-input-phone-number/assets/flags/tn.js +4 -0
  579. package/dist/collection/components/vega-input-phone-number/assets/flags/to.js +4 -0
  580. package/dist/collection/components/vega-input-phone-number/assets/flags/tr.js +4 -0
  581. package/dist/collection/components/vega-input-phone-number/assets/flags/tt.js +4 -0
  582. package/dist/collection/components/vega-input-phone-number/assets/flags/tv.js +4 -0
  583. package/dist/collection/components/vega-input-phone-number/assets/flags/tw.js +4 -0
  584. package/dist/collection/components/vega-input-phone-number/assets/flags/tz.js +4 -0
  585. package/dist/collection/components/vega-input-phone-number/assets/flags/ua.js +4 -0
  586. package/dist/collection/components/vega-input-phone-number/assets/flags/ug.js +4 -0
  587. package/dist/collection/components/vega-input-phone-number/assets/flags/us.js +4 -0
  588. package/dist/collection/components/vega-input-phone-number/assets/flags/uy.js +4 -0
  589. package/dist/collection/components/vega-input-phone-number/assets/flags/uz.js +4 -0
  590. package/dist/collection/components/vega-input-phone-number/assets/flags/va.js +4 -0
  591. package/dist/collection/components/vega-input-phone-number/assets/flags/vc.js +4 -0
  592. package/dist/collection/components/vega-input-phone-number/assets/flags/ve.js +4 -0
  593. package/dist/collection/components/vega-input-phone-number/assets/flags/vg.js +4 -0
  594. package/dist/collection/components/vega-input-phone-number/assets/flags/vi.js +4 -0
  595. package/dist/collection/components/vega-input-phone-number/assets/flags/vn.js +4 -0
  596. package/dist/collection/components/vega-input-phone-number/assets/flags/vu.js +4 -0
  597. package/dist/collection/components/vega-input-phone-number/assets/flags/wf.js +4 -0
  598. package/dist/collection/components/vega-input-phone-number/assets/flags/ws.js +4 -0
  599. package/dist/collection/components/vega-input-phone-number/assets/flags/xk.js +4 -0
  600. package/dist/collection/components/vega-input-phone-number/assets/flags/ye.js +4 -0
  601. package/dist/collection/components/vega-input-phone-number/assets/flags/yt.js +4 -0
  602. package/dist/collection/components/vega-input-phone-number/assets/flags/za.js +4 -0
  603. package/dist/collection/components/vega-input-phone-number/assets/flags/zm.js +4 -0
  604. package/dist/collection/components/vega-input-phone-number/assets/flags/zw.js +4 -0
  605. package/dist/collection/components/vega-input-phone-number/slimmers/controllers/country-select-controller.js +62 -0
  606. package/dist/collection/components/vega-input-phone-number/slimmers/controllers/vega-input-phone-number-value-controller.js +154 -0
  607. package/dist/collection/components/vega-input-phone-number/slimmers/renderers/country-select-renderer.js +174 -0
  608. package/dist/collection/components/vega-input-phone-number/slimmers/renderers/phone-number-input-renderer.js +102 -0
  609. package/dist/collection/components/vega-input-phone-number/slimmers/renderers/vega-input-phone-number-renderer.js +60 -0
  610. package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.css +89 -0
  611. package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.js +565 -0
  612. package/dist/collection/components/vega-input-range/slimmers/controllers/vega-input-range-value-controller.js +84 -0
  613. package/dist/collection/components/vega-input-range/slimmers/renderers/vega-input-range-clear-icon-renderer.js +59 -0
  614. package/dist/collection/components/vega-input-range/slimmers/renderers/vega-input-range-input-renderer.js +143 -0
  615. package/dist/collection/components/vega-input-range/slimmers/renderers/vega-input-range-renderer.js +66 -0
  616. package/dist/collection/components/vega-input-range/vega-input-range.css +161 -0
  617. package/dist/collection/components/vega-input-range/vega-input-range.js +602 -0
  618. package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-dropdown-controller.js +77 -0
  619. package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-items-slot-controler.js +62 -0
  620. package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-lazy-load-controller.js +70 -0
  621. package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-source-controller.js +48 -0
  622. package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-value-controller.js +100 -0
  623. package/dist/collection/components/vega-input-select/slimmers/renderers/vega-input-select-dropdown-renderer.js +145 -0
  624. package/dist/collection/components/vega-input-select/slimmers/renderers/vega-input-select-renderer.js +55 -0
  625. package/dist/collection/components/vega-input-select/vega-input-select.css +310 -0
  626. package/dist/collection/components/vega-input-select/vega-input-select.js +817 -0
  627. package/dist/collection/components/vega-item-toggle/vega-item-toggle.css +102 -0
  628. package/dist/collection/components/vega-item-toggle/vega-item-toggle.js +263 -0
  629. package/dist/collection/components/vega-loader-wrapper/vega-loader-wrapper.css +26 -0
  630. package/dist/collection/components/vega-loader-wrapper/vega-loader-wrapper.js +37 -0
  631. package/dist/collection/components/vega-loading-indicator/vega-loading-indicator.css +238 -0
  632. package/dist/collection/components/vega-loading-indicator/vega-loading-indicator.js +313 -0
  633. package/dist/collection/components/vega-modal/slimmers/controllers/vega-nested-modal-controller.js +33 -0
  634. package/dist/collection/components/vega-modal/vega-modal.css +2668 -0
  635. package/dist/collection/components/vega-modal/vega-modal.js +954 -0
  636. package/dist/collection/components/vega-nav/interface.js +1 -0
  637. package/dist/collection/components/vega-nav/slimmers/renderers/vega-nav-list-renderer.js +44 -0
  638. package/dist/collection/components/vega-nav/slimmers/vega-nav-observer-slimmer.js +52 -0
  639. package/dist/collection/components/vega-nav/vega-left-nav/assets/icons.js +6 -0
  640. package/dist/collection/components/vega-nav/vega-left-nav/internal/vega-left-nav-separator.js +5 -0
  641. package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-auto-collapse-controller.js +50 -0
  642. package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-backdrop-controller.js +96 -0
  643. package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-open-state-controller.js +141 -0
  644. package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-zindex-controller.js +44 -0
  645. package/dist/collection/components/vega-nav/vega-left-nav/slimmers/renderers/vega-left-nav-footer-renderer.js +31 -0
  646. package/dist/collection/components/vega-nav/vega-left-nav/slimmers/renderers/vega-left-nav-header-renderer.js +39 -0
  647. package/dist/collection/components/vega-nav/vega-left-nav/vega-left-nav.css +203 -0
  648. package/dist/collection/components/vega-nav/vega-left-nav/vega-left-nav.js +354 -0
  649. package/dist/collection/components/vega-nav/vega-left-nav-group/slimmers/controllers/vega-left-nav-group-controller.js +30 -0
  650. package/dist/collection/components/vega-nav/vega-left-nav-group/slimmers/renderers/vega-left-nav-group-renderer.js +60 -0
  651. package/dist/collection/components/vega-nav/vega-left-nav-group/vega-left-nav-group.css +110 -0
  652. package/dist/collection/components/vega-nav/vega-left-nav-group/vega-left-nav-group.js +141 -0
  653. package/dist/collection/components/vega-nav/vega-left-nav-link/slimmers/controllers/vega-left-nav-link-controller.js +44 -0
  654. package/dist/collection/components/vega-nav/vega-left-nav-link/slimmers/renderers/vega-left-nav-link-renderer.js +75 -0
  655. package/dist/collection/components/vega-nav/vega-left-nav-link/vega-left-nav-link.css +103 -0
  656. package/dist/collection/components/vega-nav/vega-left-nav-link/vega-left-nav-link.js +193 -0
  657. package/dist/collection/components/vega-nav/vega-left-nav-section/slimmers/renderers/vega-left-nav-section-renderer.js +40 -0
  658. package/dist/collection/components/vega-nav/vega-left-nav-section/vega-left-nav-section.css +75 -0
  659. package/dist/collection/components/vega-nav/vega-left-nav-section/vega-left-nav-section.js +114 -0
  660. package/dist/collection/components/vega-nav/vega-nav-card/slimmers/controllers/vega-nav-card-max-height-controller.js +38 -0
  661. package/dist/collection/components/vega-nav/vega-nav-card/vega-nav-card.css +34 -0
  662. package/dist/collection/components/vega-nav/vega-nav-card/vega-nav-card.js +115 -0
  663. package/dist/collection/components/vega-page-notification/vega-page-notification-list/vega-page-notification-list.css +25 -0
  664. package/dist/collection/components/vega-page-notification/vega-page-notification-list/vega-page-notification-list.js +37 -0
  665. package/dist/collection/components/vega-page-notification/vega-page-notification.css +317 -0
  666. package/dist/collection/components/vega-page-notification/vega-page-notification.js +313 -0
  667. package/dist/collection/components/vega-pagination/internal/vega-pagination-current-page-label.js +6 -0
  668. package/dist/collection/components/vega-pagination/internal/vega-pagination-go-to.js +40 -0
  669. package/dist/collection/components/vega-pagination/internal/vega-pagination-page-selector.js +62 -0
  670. package/dist/collection/components/vega-pagination/internal/vega-pagination-page-size-selector.js +22 -0
  671. package/dist/collection/components/vega-pagination/vega-pagination.css +163 -0
  672. package/dist/collection/components/vega-pagination/vega-pagination.js +404 -0
  673. package/dist/collection/components/vega-popover/slimmers/controllers/vega-popover-appender-controller.js +49 -0
  674. package/dist/collection/components/vega-popover/slimmers/renderers/vega-popover-appender-renderer.js +45 -0
  675. package/dist/collection/components/vega-popover/vega-popover-content-box/vega-popover-content-box.css +140 -0
  676. package/dist/collection/components/vega-popover/vega-popover-content-box/vega-popover-content-box.js +73 -0
  677. package/dist/collection/components/vega-popover/vega-popover.css +8 -0
  678. package/dist/collection/components/vega-popover/vega-popover.js +441 -0
  679. package/dist/collection/components/vega-progress-tracker/vega-progress-tracker.css +430 -0
  680. package/dist/collection/components/vega-progress-tracker/vega-progress-tracker.js +473 -0
  681. package/dist/collection/components/vega-radio/slimmers/controllers/vega-radio-show-error-controller.js +65 -0
  682. package/dist/collection/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-keyboard-controller.js +99 -0
  683. package/dist/collection/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-radio-items-controller.js +95 -0
  684. package/dist/collection/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-value-controller.js +47 -0
  685. package/dist/collection/components/vega-radio/vega-radio-group/vega-radio-group.css +137 -0
  686. package/dist/collection/components/vega-radio/vega-radio-group/vega-radio-group.js +509 -0
  687. package/dist/collection/components/vega-radio/vega-radio.css +203 -0
  688. package/dist/collection/components/vega-radio/vega-radio.js +434 -0
  689. package/dist/collection/components/vega-section-title/slimmers/renderers/vega-section-title-renderer.js +54 -0
  690. package/dist/collection/components/vega-section-title/vega-section-title.css +91 -0
  691. package/dist/collection/components/vega-section-title/vega-section-title.js +145 -0
  692. package/dist/collection/components/vega-segment-control/slimmers/controllers/vega-segment-control-selected-controller.js +49 -0
  693. package/dist/collection/components/vega-segment-control/slimmers/controllers/vega-segment-overflow-controller.js +68 -0
  694. package/dist/collection/components/vega-segment-control/slimmers/renderers/vega-segment-control-renderer.js +22 -0
  695. package/dist/collection/components/vega-segment-control/slimmers/renderers/vega-segment-renderer.js +68 -0
  696. package/dist/collection/components/vega-segment-control/vega-segment-control.css +130 -0
  697. package/dist/collection/components/vega-segment-control/vega-segment-control.js +302 -0
  698. package/dist/collection/components/vega-selection-chip/interface.js +1 -0
  699. package/dist/collection/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-checked-cotroller.js +42 -0
  700. package/dist/collection/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-show-error-controller.js +63 -0
  701. package/dist/collection/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-state-controller.js +77 -0
  702. package/dist/collection/components/vega-selection-chip/slimmers/renderers/vega-selection-chip-renderer.js +102 -0
  703. package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/interface.js +1 -0
  704. package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/slimmers/controllers/vega-selection-chip-group-items-controller.js +170 -0
  705. package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/slimmers/controllers/vega-selection-chip-group-value-controller.js +68 -0
  706. package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/slimmers/renderers/vega-selection-chip-group-renderer.js +45 -0
  707. package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/vega-selection-chip-group.css +91 -0
  708. package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/vega-selection-chip-group.js +369 -0
  709. package/dist/collection/components/vega-selection-chip/vega-selection-chip.css +175 -0
  710. package/dist/collection/components/vega-selection-chip/vega-selection-chip.js +383 -0
  711. package/dist/collection/components/vega-selection-tile/interface.js +1 -0
  712. package/dist/collection/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-checked-cotroller.js +56 -0
  713. package/dist/collection/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-show-error-controller.js +60 -0
  714. package/dist/collection/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-state-controller.js +73 -0
  715. package/dist/collection/components/vega-selection-tile/slimmers/renderers/vega-selection-tile-renderer.js +95 -0
  716. package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/slimmers/controllers/vega-selection-tile-group-items-controller.js +61 -0
  717. package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/slimmers/controllers/vega-selection-tile-group-value-controller.js +112 -0
  718. package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/slimmers/renderers/vega-selection-tile-group-renderer.js +66 -0
  719. package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/vega-selection-tile-group.css +128 -0
  720. package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/vega-selection-tile-group.js +403 -0
  721. package/dist/collection/components/vega-selection-tile/vega-selection-tile.css +149 -0
  722. package/dist/collection/components/vega-selection-tile/vega-selection-tile.js +300 -0
  723. package/dist/collection/components/vega-signature-capture/assets/icons.js +5 -0
  724. package/dist/collection/components/vega-signature-capture/slimmers/renderers/vega-signature-capture-renderer.js +19 -0
  725. package/dist/collection/components/vega-signature-capture/slimmers/written-mode/controllers/written-mode-svg-controller.js +222 -0
  726. package/dist/collection/components/vega-signature-capture/slimmers/written-mode/renderers/written-mode-renderer.js +115 -0
  727. package/dist/collection/components/vega-signature-capture/vega-signature-capture.css +154 -0
  728. package/dist/collection/components/vega-signature-capture/vega-signature-capture.js +547 -0
  729. package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-ellipse-renderer.js +33 -0
  730. package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-full-width-paragraph-renderer.js +29 -0
  731. package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-image-renderer.js +33 -0
  732. package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-paragraph-renderer.js +31 -0
  733. package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-renderer-base.abstract.js +23 -0
  734. package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-renderer-manager.js +49 -0
  735. package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-table-renderer.js +42 -0
  736. package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-text-renderer.js +28 -0
  737. package/dist/collection/components/vega-skeleton/vega-skeleton.css +80 -0
  738. package/dist/collection/components/vega-skeleton/vega-skeleton.js +182 -0
  739. package/dist/collection/components/vega-slot-container/vega-slot-container.css +3 -0
  740. package/dist/collection/components/vega-slot-container/vega-slot-container.js +37 -0
  741. package/dist/collection/components/vega-stepper/vega-stepper.css +110 -0
  742. package/dist/collection/components/vega-stepper/vega-stepper.js +478 -0
  743. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-page-index-controller.js +87 -0
  744. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-pages-controller.js +216 -0
  745. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-panel-controller.js +146 -0
  746. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-selected-target-controller.js +35 -0
  747. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-slider-state-controller.js +95 -0
  748. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-close-button-renderer.js +60 -0
  749. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-content-renderer.js +24 -0
  750. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-direction-button-renderer.js +91 -0
  751. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-renderer.js +48 -0
  752. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.js +116 -0
  753. package/dist/collection/components/vega-tab-group/vega-tab-group-panel/vega-tab-group-panel.css +12 -0
  754. package/dist/collection/components/vega-tab-group/vega-tab-group-panel/vega-tab-group-panel.js +98 -0
  755. package/dist/collection/components/vega-tab-group/vega-tab-group.css +251 -0
  756. package/dist/collection/components/vega-tab-group/vega-tab-group.js +389 -0
  757. package/dist/collection/components/vega-table/interface.js +10 -0
  758. package/dist/collection/components/vega-table/internal/vega-table-scrollable-container.js +23 -0
  759. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-children-controller.js +214 -0
  760. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-data-source-controller.js +175 -0
  761. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-editable-controller.js +284 -0
  762. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-expand-row-controller.js +244 -0
  763. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-pagination-controller.js +80 -0
  764. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-render-mode-controller.js +83 -0
  765. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-row-selection-controller.js +407 -0
  766. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-sort-controller.js +91 -0
  767. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-sorter.js +41 -0
  768. package/dist/collection/components/vega-table/slimmers/renderers/vega-table-body-renderer.js +67 -0
  769. package/dist/collection/components/vega-table/slimmers/renderers/vega-table-cell-renderer.js +103 -0
  770. package/dist/collection/components/vega-table/slimmers/renderers/vega-table-col-group-renderer.js +42 -0
  771. package/dist/collection/components/vega-table/slimmers/renderers/vega-table-header-renderer.js +51 -0
  772. package/dist/collection/components/vega-table/slimmers/renderers/vega-table-pagination-renderer.js +86 -0
  773. package/dist/collection/components/vega-table/slimmers/renderers/vega-table-renderer.js +96 -0
  774. package/dist/collection/components/vega-table/slimmers/renderers/vega-table-row-renderer.js +49 -0
  775. package/dist/collection/components/vega-table/slimmers/renderers/vega-table-scroll-container-renderer.js +34 -0
  776. package/dist/collection/components/vega-table/test/utils.js +22 -0
  777. package/dist/collection/components/vega-table/test/vega-table-sorter.test.js +508 -0
  778. package/dist/collection/components/vega-table/type-guard.js +20 -0
  779. package/dist/collection/components/vega-table/utils.js +44 -0
  780. package/dist/collection/components/vega-table/vega-table-body/vega-table-body.css +8 -0
  781. package/dist/collection/components/vega-table/vega-table-body/vega-table-body.js +45 -0
  782. package/dist/collection/components/vega-table/vega-table-cell/slimmers/controllers/vega-table-cell-state-controller.js +28 -0
  783. package/dist/collection/components/vega-table/vega-table-cell/vega-table-cell.css +116 -0
  784. package/dist/collection/components/vega-table/vega-table-cell/vega-table-cell.js +165 -0
  785. package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-col-span-controller.js +88 -0
  786. package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-expand-controller.js +63 -0
  787. package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-selection-controller.js +48 -0
  788. package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-state-controller.js +44 -0
  789. package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/renderers/vega-table-expand-row-renderer.js +34 -0
  790. package/dist/collection/components/vega-table/vega-table-expand-row/vega-table-expand-row.css +55 -0
  791. package/dist/collection/components/vega-table/vega-table-expand-row/vega-table-expand-row.js +125 -0
  792. package/dist/collection/components/vega-table/vega-table-head/slimmers/controllers/vega-table-head-state-controller.js +36 -0
  793. package/dist/collection/components/vega-table/vega-table-head/vega-table-head.css +20 -0
  794. package/dist/collection/components/vega-table/vega-table-head/vega-table-head.js +72 -0
  795. package/dist/collection/components/vega-table/vega-table-head-cell/slimmers/controllers/vega-table-head-cell-state-controller.js +28 -0
  796. package/dist/collection/components/vega-table/vega-table-head-cell/slimmers/renderers/sort-icon-renderer.js +38 -0
  797. package/dist/collection/components/vega-table/vega-table-head-cell/vega-table-head-cell.css +130 -0
  798. package/dist/collection/components/vega-table/vega-table-head-cell/vega-table-head-cell.js +297 -0
  799. package/dist/collection/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-controller.js +54 -0
  800. package/dist/collection/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-state-controller.js +103 -0
  801. package/dist/collection/components/vega-table/vega-table-head-row/slimmers/renderers/vega-table-head-row-renderer.js +119 -0
  802. package/dist/collection/components/vega-table/vega-table-head-row/vega-table-head-row.css +74 -0
  803. package/dist/collection/components/vega-table/vega-table-head-row/vega-table-head-row.js +127 -0
  804. package/dist/collection/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-click-controller.js +95 -0
  805. package/dist/collection/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-expand-controller.js +81 -0
  806. package/dist/collection/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-selection-controller.js +88 -0
  807. package/dist/collection/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-state-controller.js +119 -0
  808. package/dist/collection/components/vega-table/vega-table-row/slimmers/renderers/vega-table-row-renderer.js +147 -0
  809. package/dist/collection/components/vega-table/vega-table-row/vega-table-row.css +156 -0
  810. package/dist/collection/components/vega-table/vega-table-row/vega-table-row.js +231 -0
  811. package/dist/collection/components/vega-table/vega-table.css +114 -0
  812. package/dist/collection/components/vega-table/vega-table.js +1851 -0
  813. package/dist/collection/components/vega-text/slimmers/renderers/vega-text-tooltip-renderer.js +163 -0
  814. package/dist/collection/components/vega-text/vega-text.css +16 -0
  815. package/dist/collection/components/vega-text/vega-text.js +118 -0
  816. package/dist/collection/components/vega-textarea/vega-textarea.css +287 -0
  817. package/dist/collection/components/vega-textarea/vega-textarea.js +630 -0
  818. package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-dropdown-selected-items-controller.js +199 -0
  819. package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-input-mask-controller.js +45 -0
  820. package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-keyboard-controller.js +117 -0
  821. package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-range-dropdown-controller.js +90 -0
  822. package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-single-dropdown-controller.js +160 -0
  823. package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-value-controller.js +230 -0
  824. package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-label-renderer.js +48 -0
  825. package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-clear-button-renderer.js +51 -0
  826. package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-dropdown-renderer.js +208 -0
  827. package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-input-renderer.js +178 -0
  828. package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-dropdown-renderer.js +153 -0
  829. package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-input-renderer.js +103 -0
  830. package/dist/collection/components/vega-time-picker/vega-time-picker-dropdown/vega-time-picker-dropdown.css +148 -0
  831. package/dist/collection/components/vega-time-picker/vega-time-picker-dropdown/vega-time-picker-dropdown.js +37 -0
  832. package/dist/collection/components/vega-time-picker/vega-time-picker.css +170 -0
  833. package/dist/collection/components/vega-time-picker/vega-time-picker.js +663 -0
  834. package/dist/collection/components/vega-toggle-switch/vega-toggle-switch.css +149 -0
  835. package/dist/collection/components/vega-toggle-switch/vega-toggle-switch.js +411 -0
  836. package/dist/collection/components/vega-tooltip/slimmers/controllers/vega-tooltip-element-appender-controller.js +84 -0
  837. package/dist/collection/components/vega-tooltip/slimmers/renderers/vega-tooltip-content-box-renderer.js +19 -0
  838. package/dist/collection/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.css +146 -0
  839. package/dist/collection/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.js +60 -0
  840. package/dist/collection/components/vega-tooltip/vega-tooltip.css +8 -0
  841. package/dist/collection/components/vega-tooltip/vega-tooltip.js +384 -0
  842. package/dist/collection/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-mode-controller.js +70 -0
  843. package/dist/collection/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-position-controller.js +171 -0
  844. package/dist/collection/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-scrollable-controller.js +199 -0
  845. package/dist/collection/components/vega-virtual-scroll/slimmers/renderers/vega-virtual-scroll-loading-indicator-renderer.js +23 -0
  846. package/dist/collection/components/vega-virtual-scroll/slimmers/renderers/vega-virtual-scroll-renderer.js +66 -0
  847. package/dist/collection/components/vega-virtual-scroll/vega-virtual-scroll.css +11 -0
  848. package/dist/collection/components/vega-virtual-scroll/vega-virtual-scroll.js +322 -0
  849. package/dist/collection/constants/card-config.js +60 -0
  850. package/dist/collection/constants/locale.js +238 -0
  851. package/dist/collection/constants/misc.js +6 -0
  852. package/dist/collection/constants/public-api.js +9 -0
  853. package/dist/collection/constants/regex.js +6 -0
  854. package/dist/collection/constants/runtime-metrics-payload-definition/public-api/IconManager/runtime-metrics-payload-definition.js +62 -0
  855. package/dist/collection/constants/runtime-metrics-payload-definition/public-api/ThemeManager/runtime-metrics-payload-definition.js +82 -0
  856. package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaDialogController/runtime-metrics-payload-definition.js +22 -0
  857. package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaEventManager/runtime-metrics-payload-definition.js +213 -0
  858. package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaLoaderController/runtime-metrics-payload-definition.js +42 -0
  859. package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaNotifyController/runtime-metrics-payload-definition.js +62 -0
  860. package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaSkeletonLoader/runtime-metrics-payload-definition.js +62 -0
  861. package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaTranslation/runtime-metrics-payload-definition.js +42 -0
  862. package/dist/collection/constants/runtime-metrics-payload-definition/public-api/WaitForVegaHandler/runtime-metrics-payload-definition.js +22 -0
  863. package/dist/collection/constants/runtime-metrics-payload-definition/public-api/zindex-manager/runtime-metrics-payload-definition.js +43 -0
  864. package/dist/collection/constants/runtime-metrics-payload-definition/vega-button-circle/runtime-metrics-payload-definition.js +38 -0
  865. package/dist/collection/constants/runtime-metrics-payload-definition/vega-button-group/runtime-metrics-payload-definition.js +38 -0
  866. package/dist/collection/constants/runtime-metrics-payload-definition/vega-button-link/runtime-metrics-payload-definition.js +26 -0
  867. package/dist/collection/constants/runtime-metrics-payload-definition/vega-card/runtime-metrics-payload-definition.js +38 -0
  868. package/dist/collection/constants/runtime-metrics-payload-definition/vega-carousel/runtime-metrics-payload-definition.js +26 -0
  869. package/dist/collection/constants/runtime-metrics-payload-definition/vega-chip/runtime-metrics-payload-definition.js +26 -0
  870. package/dist/collection/constants/runtime-metrics-payload-definition/vega-color-picker/runtime-metrics-payload-definition.js +26 -0
  871. package/dist/collection/constants/runtime-metrics-payload-definition/vega-combo-box/runtime-metrics-payload-definition.js +26 -0
  872. package/dist/collection/constants/runtime-metrics-payload-definition/vega-date-picker/runtime-metrics-payload-definition.js +50 -0
  873. package/dist/collection/constants/runtime-metrics-payload-definition/vega-dropdown/runtime-metrics-payload-definition.js +26 -0
  874. package/dist/collection/constants/runtime-metrics-payload-definition/vega-flex/runtime-metrics-payload-definition.js +98 -0
  875. package/dist/collection/constants/runtime-metrics-payload-definition/vega-font/runtime-metrics-payload-definition.js +26 -0
  876. package/dist/collection/constants/runtime-metrics-payload-definition/vega-image-uploader/runtime-metrics-payload-definition.js +26 -0
  877. package/dist/collection/constants/runtime-metrics-payload-definition/vega-input/runtime-metrics-payload-definition.js +50 -0
  878. package/dist/collection/constants/runtime-metrics-payload-definition/vega-input-credit-card/runtime-metrics-payload-definition.js +26 -0
  879. package/dist/collection/constants/runtime-metrics-payload-definition/vega-input-select/runtime-metrics-payload-definition.js +50 -0
  880. package/dist/collection/constants/runtime-metrics-payload-definition/vega-item-toggle/runtime-metrics-payload-definition.js +36 -0
  881. package/dist/collection/constants/runtime-metrics-payload-definition/vega-left-nav/runtime-metrics-payload-definition.js +26 -0
  882. package/dist/collection/constants/runtime-metrics-payload-definition/vega-loading-indicator/runtime-metrics-payload-definition.js +26 -0
  883. package/dist/collection/constants/runtime-metrics-payload-definition/vega-modal/runtime-metrics-payload-definition.js +26 -0
  884. package/dist/collection/constants/runtime-metrics-payload-definition/vega-nav-card/runtime-metrics-payload-definition.js +26 -0
  885. package/dist/collection/constants/runtime-metrics-payload-definition/vega-progress-tracker/runtime-metrics-payload-definition.js +26 -0
  886. package/dist/collection/constants/runtime-metrics-payload-definition/vega-stepper/runtime-metrics-payload-definition.js +50 -0
  887. package/dist/collection/constants/runtime-metrics-payload-definition/vega-tab-group/runtime-metrics-payload-definition.js +26 -0
  888. package/dist/collection/constants/runtime-metrics-payload-definition/vega-table/runtime-metrics-payload-definition.js +26 -0
  889. package/dist/collection/constants/runtime-metrics-payload-definition/vega-textarea/runtime-metrics-payload-definition.js +26 -0
  890. package/dist/collection/constants/runtime-metrics-payload-definition/vega-time-picker/runtime-metrics-payload-definition.js +50 -0
  891. package/dist/collection/constants/runtime-metrics-payload-definition/vega-tooltip/runtime-metrics-payload-definition.js +26 -0
  892. package/dist/collection/constants/tests/validator.test.js +24 -0
  893. package/dist/collection/constants/tokens/border-radius.js +16 -0
  894. package/dist/collection/constants/tokens/borders.js +37 -0
  895. package/dist/collection/constants/tokens/breakpoints.js +10 -0
  896. package/dist/collection/constants/tokens/colors-mapping.js +229 -0
  897. package/dist/collection/constants/tokens/colors.js +205 -0
  898. package/dist/collection/constants/tokens/icons.js +515 -0
  899. package/dist/collection/constants/tokens/overridable-border-tokens.js +305 -0
  900. package/dist/collection/constants/tokens/overridable-color-tokens.js +835 -0
  901. package/dist/collection/constants/tokens/overridable-ring-tokens.js +49 -0
  902. package/dist/collection/constants/tokens/rings.js +5 -0
  903. package/dist/collection/constants/tokens/shadows.js +17 -0
  904. package/dist/collection/constants/tokens/spacing.js +21 -0
  905. package/dist/collection/constants/tokens/tailwind.extend.js +56 -0
  906. package/dist/collection/constants/tokens/themes/dark-mode-border-tokens.js +32 -0
  907. package/dist/collection/constants/tokens/themes/dark-mode-color-tokens.js +184 -0
  908. package/dist/collection/constants/tokens/themes/dark-mode-ring-tokens.js +7 -0
  909. package/dist/collection/constants/tokens/themes/dark-mode-shadow-tokens.js +12 -0
  910. package/dist/collection/constants/tokens/typography.js +1074 -0
  911. package/dist/collection/constants/ui.js +85 -0
  912. package/dist/collection/constants/validator.js +7 -0
  913. package/dist/collection/decorators/method-decorators/component-load-required.js +44 -0
  914. package/dist/collection/decorators/method-decorators/tests/component-load-required.test.js +114 -0
  915. package/dist/collection/decorators/property-decorators/inject-element-appender.js +203 -0
  916. package/dist/collection/decorators/property-decorators/inject-keyboard-manager.js +32 -0
  917. package/dist/collection/decorators/property-decorators/tests/inject-element-appender-proxy.test.js +237 -0
  918. package/dist/collection/decorators/property-decorators/tests/inject-keyboard-manager.test.js +91 -0
  919. package/dist/collection/global/icons/arrow-rotate-right.js +3 -0
  920. package/dist/collection/global/icons/arrow-up-arrow-down.js +3 -0
  921. package/dist/collection/global/icons/arrow-up-from-line.js +3 -0
  922. package/dist/collection/global/icons/chevron-down.js +3 -0
  923. package/dist/collection/global/icons/chevron-left.js +3 -0
  924. package/dist/collection/global/icons/chevron-right.js +3 -0
  925. package/dist/collection/global/icons/chevron-up.js +3 -0
  926. package/dist/collection/global/icons/circle-arrow-down.js +3 -0
  927. package/dist/collection/global/icons/circle-arrow-up.js +3 -0
  928. package/dist/collection/global/icons/circle-check-regular.js +3 -0
  929. package/dist/collection/global/icons/circle-check.js +3 -0
  930. package/dist/collection/global/icons/circle-info.js +3 -0
  931. package/dist/collection/global/icons/circle-question.js +3 -0
  932. package/dist/collection/global/icons/circle-xmark.js +3 -0
  933. package/dist/collection/global/icons/trash-can.js +3 -0
  934. package/dist/collection/global/icons/triangle-exclamation.js +3 -0
  935. package/dist/collection/global/icons/xmark-large.js +3 -0
  936. package/dist/collection/global/scripts/before-vega-load.js +166 -0
  937. package/dist/collection/global/tests/before-vega-load.test.js +55 -0
  938. package/dist/collection/helpers/calendar/calendar-date.js +114 -0
  939. package/dist/collection/helpers/calendar/calendar-event.js +305 -0
  940. package/dist/collection/helpers/calendar/calendar-period/calendar-period.abstract.js +91 -0
  941. package/dist/collection/helpers/calendar/calendar-period/day-period.js +57 -0
  942. package/dist/collection/helpers/calendar/calendar-period/month-period.js +50 -0
  943. package/dist/collection/helpers/calendar/calendar-period/week-period.js +37 -0
  944. package/dist/collection/helpers/calendar/calendar-view-generator/calendar-view-generator.abstract.js +41 -0
  945. package/dist/collection/helpers/calendar/calendar-view-generator/day-view-generator.js +13 -0
  946. package/dist/collection/helpers/calendar/calendar-view-generator/month-view-generator.js +30 -0
  947. package/dist/collection/helpers/calendar/calendar-view-generator/week-view-generator.js +22 -0
  948. package/dist/collection/helpers/calendar/calendar-view.js +25 -0
  949. package/dist/collection/helpers/calendar/index.js +10 -0
  950. package/dist/collection/helpers/calendar/test/calendar-date.test.js +71 -0
  951. package/dist/collection/helpers/calendar/test/calendar-event.test.js +133 -0
  952. package/dist/collection/helpers/calendar/test/calendar-period/day-period.test.js +81 -0
  953. package/dist/collection/helpers/calendar/test/calendar-period/month-period.test.js +60 -0
  954. package/dist/collection/helpers/calendar/test/calendar-period/week-period.test.js +60 -0
  955. package/dist/collection/helpers/calendar/test/calendar-view-generator/day-view-generator.test.js +19 -0
  956. package/dist/collection/helpers/calendar/test/calendar-view-generator/month-view-generator.test.js +123 -0
  957. package/dist/collection/helpers/calendar/test/calendar-view-generator/week-view-generator.test.js +43 -0
  958. package/dist/collection/helpers/calendar/test/calendar-view.test.js +9 -0
  959. package/dist/collection/helpers/calendar/test/index.test.js +13 -0
  960. package/dist/collection/helpers/calendar/test/utils.test.js +9 -0
  961. package/dist/collection/helpers/calendar/utils.js +10 -0
  962. package/dist/collection/helpers/change-manager/change-manager.js +73 -0
  963. package/dist/collection/helpers/change-manager/observer/observer.js +28 -0
  964. package/dist/collection/helpers/change-manager/subject/dom-node-subject/dom-node-subject-factory.js +72 -0
  965. package/dist/collection/helpers/change-manager/subject/dom-node-subject/dom-node-subject-observer-factory.js +40 -0
  966. package/dist/collection/helpers/change-manager/subject/dom-node-subject/dom-node-subject.js +23 -0
  967. package/dist/collection/helpers/change-manager/subject/static-subject/static-subject-title.js +26 -0
  968. package/dist/collection/helpers/change-manager/subject/static-subject/static-subject.js +21 -0
  969. package/dist/collection/helpers/change-manager/subject/subject-interface.js +1 -0
  970. package/dist/collection/helpers/change-manager/test/change-manager.test.js +30 -0
  971. package/dist/collection/helpers/change-manager/test/dom-node-subject-factory.test.js +38 -0
  972. package/dist/collection/helpers/chart/bar-chart.js +67 -0
  973. package/dist/collection/helpers/chart/base-chart.js +88 -0
  974. package/dist/collection/helpers/chart/controllers/chart-dimension-controller.js +113 -0
  975. package/dist/collection/helpers/chart/drawers/arc-path-drawer.js +32 -0
  976. package/dist/collection/helpers/chart/drawers/base-drawer.js +81 -0
  977. package/dist/collection/helpers/chart/drawers/legend-drawer.js +88 -0
  978. package/dist/collection/helpers/chart/drawers/line-drawer.js +14 -0
  979. package/dist/collection/helpers/chart/drawers/path-drawer.js +24 -0
  980. package/dist/collection/helpers/chart/drawers/rect-drawer.js +31 -0
  981. package/dist/collection/helpers/chart/drawers/text-drawer.js +17 -0
  982. package/dist/collection/helpers/chart/drawers/x-axis-drawer.js +15 -0
  983. package/dist/collection/helpers/chart/drawers/y-axis-drawer.js +13 -0
  984. package/dist/collection/helpers/chart/graph-context-factory.js +36 -0
  985. package/dist/collection/helpers/chart/input-processors/format-time-positions-input-processor.js +44 -0
  986. package/dist/collection/helpers/chart/input-processors/horizontal-x-axis-input-processor.js +31 -0
  987. package/dist/collection/helpers/chart/input-processors/horizontal-y-axis-input-processor.js +31 -0
  988. package/dist/collection/helpers/chart/input-processors/input-processor.js +1 -0
  989. package/dist/collection/helpers/chart/input-processors/layout-input-processor.js +27 -0
  990. package/dist/collection/helpers/chart/input-processors/legend-input-processor.js +30 -0
  991. package/dist/collection/helpers/chart/input-processors/line-path-input-processor.js +54 -0
  992. package/dist/collection/helpers/chart/input-processors/pie-chart-arc-path-input-processor.js +24 -0
  993. package/dist/collection/helpers/chart/input-processors/pie-chart-filter-input-processor.js +17 -0
  994. package/dist/collection/helpers/chart/input-processors/pie-chart-radius-input-processor.js +28 -0
  995. package/dist/collection/helpers/chart/input-processors/pie-chart-text-input-processor.js +22 -0
  996. package/dist/collection/helpers/chart/input-processors/processor-chain.js +28 -0
  997. package/dist/collection/helpers/chart/input-processors/sort-positions-input-processor.js +31 -0
  998. package/dist/collection/helpers/chart/input-processors/x-axis-input-processor.js +60 -0
  999. package/dist/collection/helpers/chart/input-processors/x-axis-label-formatter-input-processor.js +67 -0
  1000. package/dist/collection/helpers/chart/input-processors/y-axis-input-processor.js +59 -0
  1001. package/dist/collection/helpers/chart/interacting-entry-generator/arc-path-hover-generator.js +69 -0
  1002. package/dist/collection/helpers/chart/interacting-entry-generator/interacting-entry-generator.js +16 -0
  1003. package/dist/collection/helpers/chart/interacting-entry-generator/pie-legend-hover-generator.js +76 -0
  1004. package/dist/collection/helpers/chart/interactors/base-interactor.js +92 -0
  1005. package/dist/collection/helpers/chart/interactors/canvas-interactor.js +6 -0
  1006. package/dist/collection/helpers/chart/interactors/interactor-factory.js +26 -0
  1007. package/dist/collection/helpers/chart/interactors/svg-interactor.js +29 -0
  1008. package/dist/collection/helpers/chart/line-chart.js +65 -0
  1009. package/dist/collection/helpers/chart/pie-chart.js +56 -0
  1010. package/dist/collection/helpers/chart/renderers/base-renderer.js +16 -0
  1011. package/dist/collection/helpers/chart/renderers/canvas-renderer.js +198 -0
  1012. package/dist/collection/helpers/chart/renderers/renderer-factory.js +25 -0
  1013. package/dist/collection/helpers/chart/renderers/svg-renderer.js +297 -0
  1014. package/dist/collection/helpers/chart/test/controllers/chart-dimension-controller.test.js +63 -0
  1015. package/dist/collection/helpers/chart/test/drawers/arc-path-drawer.test.js +55 -0
  1016. package/dist/collection/helpers/chart/test/drawers/legend-drawer.test.js +94 -0
  1017. package/dist/collection/helpers/chart/test/drawers/line-drawer.test.js +25 -0
  1018. package/dist/collection/helpers/chart/test/drawers/path-drawer.test.js +21 -0
  1019. package/dist/collection/helpers/chart/test/drawers/rect-drawer.test.js +78 -0
  1020. package/dist/collection/helpers/chart/test/drawers/text-drawer.test.js +25 -0
  1021. package/dist/collection/helpers/chart/test/drawers/x-axis-drawer.test.js +38 -0
  1022. package/dist/collection/helpers/chart/test/drawers/y-axis-drawer.test.js +44 -0
  1023. package/dist/collection/helpers/chart/test/graph-context-factory.test.js +17 -0
  1024. package/dist/collection/helpers/chart/test/input-processors/format-time-positions-input-processor.test.js +62 -0
  1025. package/dist/collection/helpers/chart/test/input-processors/horizontal-x-axis-input-processor.test.js +45 -0
  1026. package/dist/collection/helpers/chart/test/input-processors/horizontal-y-axis-input-processor.test.js +80 -0
  1027. package/dist/collection/helpers/chart/test/input-processors/layout-input-processor.test.js +40 -0
  1028. package/dist/collection/helpers/chart/test/input-processors/line-path-input-processor.test.js +16 -0
  1029. package/dist/collection/helpers/chart/test/input-processors/pie-chart-filter-input-processor.test.js +20 -0
  1030. package/dist/collection/helpers/chart/test/input-processors/pie-chart-radius-input-processor.test.js +48 -0
  1031. package/dist/collection/helpers/chart/test/input-processors/sort-positions-input-processor.test.js +53 -0
  1032. package/dist/collection/helpers/chart/test/input-processors/x-axis-input-processor.test.js +39 -0
  1033. package/dist/collection/helpers/chart/test/input-processors/x-axis-label-formatter-input-processor.test.js +62 -0
  1034. package/dist/collection/helpers/chart/test/input-processors/y-axis-input-processor.test.js +41 -0
  1035. package/dist/collection/helpers/chart/test/interacting-entry-generator/arc-path-hover-generator.test.js +11 -0
  1036. package/dist/collection/helpers/chart/test/interacting-entry-generator/pie-legend-hover-generator.test.js +25 -0
  1037. package/dist/collection/helpers/chart/test/interactors/interactor-factory.test.js +19 -0
  1038. package/dist/collection/helpers/chart/test/interactors/svg-interactor.test.js +48 -0
  1039. package/dist/collection/helpers/chart/test/line-chart.test.js +96 -0
  1040. package/dist/collection/helpers/chart/test/pie-chart.test.js +38 -0
  1041. package/dist/collection/helpers/chart/test/renderers/canvas-renderer.test.js +31 -0
  1042. package/dist/collection/helpers/chart/test/renderers/renderer-factory.test.js +19 -0
  1043. package/dist/collection/helpers/chart/test/renderers/svg-renderer.test.js +99 -0
  1044. package/dist/collection/helpers/common/index.js +10 -0
  1045. package/dist/collection/helpers/common/test/common.test.js +7 -0
  1046. package/dist/collection/helpers/common/test/wait-for-vega-handler.test.js +17 -0
  1047. package/dist/collection/helpers/common/wait-for-vega-handler.js +34 -0
  1048. package/dist/collection/helpers/dialog/test/vega-dialog-controller.test.js +96 -0
  1049. package/dist/collection/helpers/dialog/vega-dialog-controller.js +55 -0
  1050. package/dist/collection/helpers/event-manager/event-delegated/base-strategy.js +77 -0
  1051. package/dist/collection/helpers/event-manager/event-delegated/jquery-delegated-event-strategy.js +1 -0
  1052. package/dist/collection/helpers/event-manager/event-delegated/jquery-delegated-strategy-controller.js +97 -0
  1053. package/dist/collection/helpers/event-manager/event-delegated/vega-button-click-strategy.js +23 -0
  1054. package/dist/collection/helpers/event-manager/event-delegated/vega-checkbox-change-strategy.js +23 -0
  1055. package/dist/collection/helpers/event-manager/event-delegated/vega-input-select-change-strategy.js +24 -0
  1056. package/dist/collection/helpers/event-manager/event-delegated/vega-input-strategy.js +30 -0
  1057. package/dist/collection/helpers/event-manager/event-delegated/vega-radio-change-strategy.js +23 -0
  1058. package/dist/collection/helpers/event-manager/event-delegated/vega-textarea-change-strategy.js +21 -0
  1059. package/dist/collection/helpers/event-manager/event-id/component-event-id-map.js +70 -0
  1060. package/dist/collection/helpers/event-manager/event-id/vega-event-id-interface.js +1 -0
  1061. package/dist/collection/helpers/event-manager/event-id/vega-event-id.js +100 -0
  1062. package/dist/collection/helpers/event-manager/event-id/vega-internal-event-id.js +33 -0
  1063. package/dist/collection/helpers/event-manager/internal-vega-event-manager.js +70 -0
  1064. package/dist/collection/helpers/event-manager/slimmers/child-nodes-event-prevent-slimmer.js +155 -0
  1065. package/dist/collection/helpers/event-manager/slimmers/child-nodes-notify-observer-slimmer.js +85 -0
  1066. package/dist/collection/helpers/event-manager/slimmers/event-emit-handlers/event-emit-handler.js +1 -0
  1067. package/dist/collection/helpers/event-manager/slimmers/event-emit-handlers/jquery-delegated-event-emit-handler.js +54 -0
  1068. package/dist/collection/helpers/event-manager/slimmers/event-emit-handlers/native-event-emit-handler.js +40 -0
  1069. package/dist/collection/helpers/event-manager/slimmers/event-emit-handlers/vega-event-emit-handler.js +39 -0
  1070. package/dist/collection/helpers/event-manager/slimmers/event-emit-slimmer.js +123 -0
  1071. package/dist/collection/helpers/event-manager/test/child-nodes-event-prevent-slimmer.test.js +209 -0
  1072. package/dist/collection/helpers/event-manager/test/child-nodes-notify-observer-slimmer.test.js +81 -0
  1073. package/dist/collection/helpers/event-manager/test/component-event-id-map.test.js +13 -0
  1074. package/dist/collection/helpers/event-manager/test/event-emit-slimmer.test.js +107 -0
  1075. package/dist/collection/helpers/event-manager/test/internal-vega-event-manager.test.js +70 -0
  1076. package/dist/collection/helpers/event-manager/test/jquery-delegated-strategy-controller.test.js +131 -0
  1077. package/dist/collection/helpers/event-manager/test/vega-event-id.test.js +16 -0
  1078. package/dist/collection/helpers/event-manager/test/vega-event-manager.test.js +92 -0
  1079. package/dist/collection/helpers/event-manager/vega-event-manager.js +58 -0
  1080. package/dist/collection/helpers/feature-control/feature-flag-controller.js +124 -0
  1081. package/dist/collection/helpers/feature-control/feature-flags-map.js +184 -0
  1082. package/dist/collection/helpers/feature-control/tests/feature-flag-controller.test.js +69 -0
  1083. package/dist/collection/helpers/formatter/responsive-map-formatter/responsiv-border-radius-formatter.js +56 -0
  1084. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-box-display-formatter.js +32 -0
  1085. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-class-string-formatter.js +27 -0
  1086. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-custom-formatter.js +28 -0
  1087. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-display-formatter.js +31 -0
  1088. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-flex-align-item-formatter.js +29 -0
  1089. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-flex-direction-formatter.js +29 -0
  1090. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-flex-justify-content-formatter.js +57 -0
  1091. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-flex-wrap-formatter.js +29 -0
  1092. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-format-facade.js +85 -0
  1093. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-gap-formatter.js +40 -0
  1094. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-grid-columns-formatter.js +29 -0
  1095. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-grid-rows-formatter.js +29 -0
  1096. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-margin-formatter.js +44 -0
  1097. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-padding-formatter.js +44 -0
  1098. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-size-formatter.js +34 -0
  1099. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-text-align-formatter.js +29 -0
  1100. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-translocation-formatter.js +29 -0
  1101. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-width-and-height-formatter.js +30 -0
  1102. package/dist/collection/helpers/formatter/state-formatter/state-background-color-formatter.js +46 -0
  1103. package/dist/collection/helpers/formatter/state-formatter/state-border-color-formatter.js +45 -0
  1104. package/dist/collection/helpers/formatter/state-formatter/state-border-formatter.js +47 -0
  1105. package/dist/collection/helpers/formatter/state-formatter/state-format-facade.js +42 -0
  1106. package/dist/collection/helpers/formatter/state-formatter/state-shadow-formatter.js +42 -0
  1107. package/dist/collection/helpers/formatter/state-formatter/state-variant-formatter.js +35 -0
  1108. package/dist/collection/helpers/formatter/string-formatter/custom-formatter-strategy.js +60 -0
  1109. package/dist/collection/helpers/formatter/string-formatter/number-mask-strategy.js +109 -0
  1110. package/dist/collection/helpers/formatter/string-formatter/number-thousand-comma-strategy.js +70 -0
  1111. package/dist/collection/helpers/formatter/string-formatter/string-mask-strategy.js +160 -0
  1112. package/dist/collection/helpers/formatter/string-formatter/thousand-comma-strategy.js +37 -0
  1113. package/dist/collection/helpers/formatter/style-formatter.js +29 -0
  1114. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-formatter.test.js +64 -0
  1115. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-box-display-formatter.test.js +31 -0
  1116. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-custom-formatter.test.js +17 -0
  1117. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-display-formatter.test.js +23 -0
  1118. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-flex-direction-formatter.test.js +19 -0
  1119. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-flex-wrap-formatter.test.js +19 -0
  1120. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-format-mediator.test.js +43 -0
  1121. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-gap-formatter.ts.test.js +29 -0
  1122. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-grid-column-formatter.test.js +23 -0
  1123. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-grid-row-formatter.test.js +27 -0
  1124. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-margin-formatter.test.js +43 -0
  1125. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-padding-formatter.test.js +43 -0
  1126. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-size-formatter.test.js +27 -0
  1127. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-text-align-formatter.test.js +19 -0
  1128. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-translocation-formatter.test.js +51 -0
  1129. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-width-and-height-formatter.test.js +20 -0
  1130. package/dist/collection/helpers/formatter/test/state-formatter/state-background-color-formatter.test.js +18 -0
  1131. package/dist/collection/helpers/formatter/test/state-formatter/state-border-color-formatter.test.js +13 -0
  1132. package/dist/collection/helpers/formatter/test/state-formatter/state-border-formatter.test.js +13 -0
  1133. package/dist/collection/helpers/formatter/test/state-formatter/state-format-facade.test.js +27 -0
  1134. package/dist/collection/helpers/formatter/test/state-formatter/state-shadow-formatter.test.js +13 -0
  1135. package/dist/collection/helpers/formatter/test/string-formatter/custom-formatter-strategy.test.js +12 -0
  1136. package/dist/collection/helpers/formatter/test/string-formatter/number-mask-strategy.test.js +92 -0
  1137. package/dist/collection/helpers/formatter/test/string-formatter/number-thousand-comma-mask-strategy.test.js +40 -0
  1138. package/dist/collection/helpers/formatter/test/string-formatter/string-mask-strategy.test.js +89 -0
  1139. package/dist/collection/helpers/formatter/test/string-formatter/thousand-comma-strategy.test.js +21 -0
  1140. package/dist/collection/helpers/formatter/test/style-formatter.test.js +16 -0
  1141. package/dist/collection/helpers/icon/icon-manager.js +55 -0
  1142. package/dist/collection/helpers/icon/internal-icon-manager.js +40 -0
  1143. package/dist/collection/helpers/icon/test/icon-manager-controller.test.js +101 -0
  1144. package/dist/collection/helpers/icon/test/internal-icon-manager.test.js +18 -0
  1145. package/dist/collection/helpers/immutable/immutable-map.js +113 -0
  1146. package/dist/collection/helpers/immutable/immutable-set.js +95 -0
  1147. package/dist/collection/helpers/immutable/test/immutable-map.test.js +83 -0
  1148. package/dist/collection/helpers/immutable/test/immutable-set.test.js +87 -0
  1149. package/dist/collection/helpers/keyboard/keyboard-manager.js +101 -0
  1150. package/dist/collection/helpers/keyboard/test/keyboard-manager.test.js +107 -0
  1151. package/dist/collection/helpers/level-tracker/nested-level-tracker.js +61 -0
  1152. package/dist/collection/helpers/level-tracker/test/nested-level-tracker.test.js +33 -0
  1153. package/dist/collection/helpers/loading-indicator/tests/vega-loader-controller.test.js +165 -0
  1154. package/dist/collection/helpers/loading-indicator/vega-loader-controller.js +124 -0
  1155. package/dist/collection/helpers/notify/tests/vega-notify-controller.test.js +165 -0
  1156. package/dist/collection/helpers/notify/vega-notify-controller.js +122 -0
  1157. package/dist/collection/helpers/paginator/test/value-paginator.test.js +15 -0
  1158. package/dist/collection/helpers/paginator/value-paginator.js +78 -0
  1159. package/dist/collection/helpers/public-api.js +16 -0
  1160. package/dist/collection/helpers/queue/synchronize-task-queue.js +37 -0
  1161. package/dist/collection/helpers/queue/test/synchronize-task-queue.test.js +48 -0
  1162. package/dist/collection/helpers/remote-invocation/remote-invocation-registry.js +59 -0
  1163. package/dist/collection/helpers/remote-invocation/remote-invocation-registry.test.js +17 -0
  1164. package/dist/collection/helpers/skeleton-loader/tests/vega-skeleton-loader-controller.test.js +194 -0
  1165. package/dist/collection/helpers/skeleton-loader/vega-skeleton-loader-controller.js +104 -0
  1166. package/dist/collection/helpers/slimmers/component-global-style-slimmer.js +82 -0
  1167. package/dist/collection/helpers/slimmers/component-usage-runtime-metrics.js +77 -0
  1168. package/dist/collection/helpers/slimmers/deprecated-property-slimmer.js +43 -0
  1169. package/dist/collection/helpers/slimmers/element-appender-container/default-wrapper.js +35 -0
  1170. package/dist/collection/helpers/slimmers/element-appender-container/element-appender-container-controller.js +67 -0
  1171. package/dist/collection/helpers/slimmers/element-appender-container/position-relative-to-wrapper.js +38 -0
  1172. package/dist/collection/helpers/slimmers/element-appender-container/vega-modal-wrapper.js +62 -0
  1173. package/dist/collection/helpers/slimmers/element-appender-container/vega-popover-wrapper.js +36 -0
  1174. package/dist/collection/helpers/slimmers/element-appender-slimmer.js +186 -0
  1175. package/dist/collection/helpers/slimmers/field-error-controller-silmmer.js +74 -0
  1176. package/dist/collection/helpers/slimmers/field-error-ui-controller-slimmer.js +132 -0
  1177. package/dist/collection/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-error-label-container-retrieval-strategy.js +25 -0
  1178. package/dist/collection/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-nested-error-container-retrieval-strategy.js +19 -0
  1179. package/dist/collection/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-self-retrieval-strategy.js +23 -0
  1180. package/dist/collection/helpers/slimmers/form-field-controller-slimmer.js +209 -0
  1181. package/dist/collection/helpers/slimmers/form-field-valid-invoke-slimmer.js +55 -0
  1182. package/dist/collection/helpers/slimmers/global/vega-translate-observer-slimmer.js +44 -0
  1183. package/dist/collection/helpers/slimmers/global/vega-watch-method-cancel-slimmer.js +98 -0
  1184. package/dist/collection/helpers/slimmers/keyboard-manager-slimmer.js +34 -0
  1185. package/dist/collection/helpers/slimmers/mutation-observer/mutation-observer-filters.js +51 -0
  1186. package/dist/collection/helpers/slimmers/mutation-observer/mutation-observer-slimmer.js +80 -0
  1187. package/dist/collection/helpers/slimmers/mutation-observer/test/mutation-observer-slimmer.test.js +168 -0
  1188. package/dist/collection/helpers/slimmers/page-resize-observer-slimmer.js +117 -0
  1189. package/dist/collection/helpers/slimmers/runtime-metrics/create-public-api-runtime-metrics-slimmer.js +23 -0
  1190. package/dist/collection/helpers/slimmers/runtime-metrics/public-api-runtime-metrics-slimmer-base.js +74 -0
  1191. package/dist/collection/helpers/slimmers/runtime-metrics/test/public-api-runtime-metrics-slimmer-base.test.js +96 -0
  1192. package/dist/collection/helpers/slimmers/string-input-formatter-slimmer.js +193 -0
  1193. package/dist/collection/helpers/slimmers/sub-state/sub-state-notify-slimmer-base.js +49 -0
  1194. package/dist/collection/helpers/slimmers/sub-state/sub-state-notify-slimmer.js +24 -0
  1195. package/dist/collection/helpers/slimmers/sub-state/sub-state-observer-slimmer.js +129 -0
  1196. package/dist/collection/helpers/slimmers/sub-state/test/sub-state-observer-slimmer.test.js +204 -0
  1197. package/dist/collection/helpers/slimmers/test/component-global-style-slimmer.test.js +63 -0
  1198. package/dist/collection/helpers/slimmers/test/component-usage-runtime-metrics.test.js +72 -0
  1199. package/dist/collection/helpers/slimmers/test/deprecated-property-slimmer.test.js +36 -0
  1200. package/dist/collection/helpers/slimmers/test/element-appender-slimmer.test.js +310 -0
  1201. package/dist/collection/helpers/slimmers/test/field-error-controller-slimmer.test.js +54 -0
  1202. package/dist/collection/helpers/slimmers/test/form-field-controller-slimmer.test.js +278 -0
  1203. package/dist/collection/helpers/slimmers/test/form-field-valid-invoke-slimmer.test.js +106 -0
  1204. package/dist/collection/helpers/slimmers/test/global/vega-watch-method-cancel-slimmer.test.js +101 -0
  1205. package/dist/collection/helpers/slimmers/test/keyboard-manager-slimmer.test.js +90 -0
  1206. package/dist/collection/helpers/slimmers/test/page-resize-observer-slimmer.test.js +222 -0
  1207. package/dist/collection/helpers/slimmers/test/string-input-formatter-slimmer.test.js +218 -0
  1208. package/dist/collection/helpers/slimmers/test/translation-slimmer.test.js +89 -0
  1209. package/dist/collection/helpers/slimmers/translation/index.js +1 -0
  1210. package/dist/collection/helpers/slimmers/translation/translation-slimmer.js +37 -0
  1211. package/dist/collection/helpers/theme/controllers/color-schema-overriding-controller.js +74 -0
  1212. package/dist/collection/helpers/theme/controllers/dark-mode-style-controller.js +44 -0
  1213. package/dist/collection/helpers/theme/tests/theme-manager-controller.test.js +565 -0
  1214. package/dist/collection/helpers/theme/theme-manager.js +68 -0
  1215. package/dist/collection/helpers/touch-helper/test/touch-listener.test.js +122 -0
  1216. package/dist/collection/helpers/touch-helper/touch-listener.js +133 -0
  1217. package/dist/collection/helpers/translation/index.js +4 -0
  1218. package/dist/collection/helpers/translation/internal-translation-controller.js +104 -0
  1219. package/dist/collection/helpers/translation/locales/en.js +74 -0
  1220. package/dist/collection/helpers/translation/tests/internal-translation-controller.test.js +182 -0
  1221. package/dist/collection/helpers/translation/tests/translation.test.js +32 -0
  1222. package/dist/collection/helpers/translation/translation.js +51 -0
  1223. package/dist/collection/helpers/ui/element-appender.js +319 -0
  1224. package/dist/collection/helpers/ui/test/element-appender.test.js +425 -0
  1225. package/dist/collection/helpers/validator/form-field-controller.js +445 -0
  1226. package/dist/collection/helpers/validator/rules/check-box-required-rule.js +64 -0
  1227. package/dist/collection/helpers/validator/rules/date-range-rule.js +54 -0
  1228. package/dist/collection/helpers/validator/rules/date-required-rule.js +85 -0
  1229. package/dist/collection/helpers/validator/rules/email-field-rule.js +55 -0
  1230. package/dist/collection/helpers/validator/rules/file-uploader-required-rule.js +16 -0
  1231. package/dist/collection/helpers/validator/rules/input-phone-number-required-rule.js +58 -0
  1232. package/dist/collection/helpers/validator/rules/input-range-min-and-max-rule.js +92 -0
  1233. package/dist/collection/helpers/validator/rules/input-range-required-rule.js +57 -0
  1234. package/dist/collection/helpers/validator/rules/max-number-rule.js +68 -0
  1235. package/dist/collection/helpers/validator/rules/max-string-length-rule.js +67 -0
  1236. package/dist/collection/helpers/validator/rules/min-and-max-date-rule.js +138 -0
  1237. package/dist/collection/helpers/validator/rules/min-number-rule.js +68 -0
  1238. package/dist/collection/helpers/validator/rules/min-string-length-rule.js +70 -0
  1239. package/dist/collection/helpers/validator/rules/required-field-rule.js +79 -0
  1240. package/dist/collection/helpers/validator/rules/time-range-required-rule.js +67 -0
  1241. package/dist/collection/helpers/validator/rules/time-range-rule.js +79 -0
  1242. package/dist/collection/helpers/validator/rules/time-required-rule.js +65 -0
  1243. package/dist/collection/helpers/validator/rules/toggle-switch-required-rule.js +60 -0
  1244. package/dist/collection/helpers/validator/rules/valid-credit-card-number-rule.js +167 -0
  1245. package/dist/collection/helpers/validator/rules/valid-phone-number-rule.js +111 -0
  1246. package/dist/collection/helpers/validator/test/rules/check-box-required-rule.test.js +88 -0
  1247. package/dist/collection/helpers/validator/test/rules/custom-validation-rule.test.js +56 -0
  1248. package/dist/collection/helpers/validator/test/rules/date-range-rule.test.js +67 -0
  1249. package/dist/collection/helpers/validator/test/rules/date-required-rule.test.js +120 -0
  1250. package/dist/collection/helpers/validator/test/rules/email-field-rule.test.js +69 -0
  1251. package/dist/collection/helpers/validator/test/rules/file-uploader-required-rule.test.js +7 -0
  1252. package/dist/collection/helpers/validator/test/rules/input-phone-number-required-rule.test.js +105 -0
  1253. package/dist/collection/helpers/validator/test/rules/input-range-min-and-max-rule.test.js +146 -0
  1254. package/dist/collection/helpers/validator/test/rules/input-range-required-rule.test.js +82 -0
  1255. package/dist/collection/helpers/validator/test/rules/max-number-rule.test.js +97 -0
  1256. package/dist/collection/helpers/validator/test/rules/max-string-length-rule.test.js +85 -0
  1257. package/dist/collection/helpers/validator/test/rules/min-and-max-date-rule.test.js +174 -0
  1258. package/dist/collection/helpers/validator/test/rules/min-number-rule.test.js +97 -0
  1259. package/dist/collection/helpers/validator/test/rules/min-string-length-rule.test.js +85 -0
  1260. package/dist/collection/helpers/validator/test/rules/required-field-rule.test.js +115 -0
  1261. package/dist/collection/helpers/validator/test/rules/time-range-required-rule.test.js +82 -0
  1262. package/dist/collection/helpers/validator/test/rules/time-range-rule.test.js +67 -0
  1263. package/dist/collection/helpers/validator/test/rules/time-required-rule.test.js +116 -0
  1264. package/dist/collection/helpers/validator/test/rules/toggle-switch-required-rule.test.js +72 -0
  1265. package/dist/collection/helpers/validator/test/rules/valid-credit-card-number-rule.test.js +79 -0
  1266. package/dist/collection/helpers/validator/test/rules/valid-phone-number-rule.test.js +77 -0
  1267. package/dist/collection/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler-chain.test.js +65 -0
  1268. package/dist/collection/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler.test.js +82 -0
  1269. package/dist/collection/helpers/validator/test/validator/form-field-controller.test.js +193 -0
  1270. package/dist/collection/helpers/validator/validation-rule-handler/form-field-validation-rule-handler-chain.js +101 -0
  1271. package/dist/collection/helpers/validator/validation-rule-handler/form-field-validation-rule-handler.js +66 -0
  1272. package/dist/collection/helpers/vega-telemetry-helper/test/vega-env-manager.test.js +14 -0
  1273. package/dist/collection/helpers/vega-telemetry-helper/vega-env-manager.js +37 -0
  1274. package/dist/collection/helpers/zindex/internal-vega-z-index-manager.js +175 -0
  1275. package/dist/collection/helpers/zindex/test/internal-vega-z-index-manager.test.js +176 -0
  1276. package/dist/collection/helpers/zindex/test/vega-z-index-manager.test.js +46 -0
  1277. package/dist/collection/helpers/zindex/vega-z-index-manager.js +33 -0
  1278. package/dist/collection/index.js +5 -0
  1279. package/dist/collection/polyfill/test-polyfill/e2e/retry.js +42 -0
  1280. package/dist/collection/polyfill/test-polyfill/unit/create-touch-event.js +31 -0
  1281. package/dist/collection/polyfill/test-polyfill/unit/events.js +100 -0
  1282. package/dist/collection/polyfill/test-polyfill/unit/index.js +2 -0
  1283. package/dist/collection/polyfill/test-polyfill/unit/methods.js +29 -0
  1284. package/dist/collection/test-assets/test-icons.js +5 -0
  1285. package/dist/collection/types/class.type.js +1 -0
  1286. package/dist/collection/types/design-token.type.js +1 -0
  1287. package/dist/collection/types/public-api.js +1 -0
  1288. package/dist/collection/types/test/type-guard.test.js +39 -0
  1289. package/dist/collection/types/type-guard.js +372 -0
  1290. package/dist/collection/types/ui.type.js +6 -0
  1291. package/dist/collection/utils/accessibility.js +13 -0
  1292. package/dist/collection/utils/api.js +60 -0
  1293. package/dist/collection/utils/array.js +177 -0
  1294. package/dist/collection/utils/breakpoints.js +49 -0
  1295. package/dist/collection/utils/component.js +131 -0
  1296. package/dist/collection/utils/date.js +84 -0
  1297. package/dist/collection/utils/design-token.js +241 -0
  1298. package/dist/collection/utils/e2e-utils.js +319 -0
  1299. package/dist/collection/utils/effect.js +74 -0
  1300. package/dist/collection/utils/local-storage.js +24 -0
  1301. package/dist/collection/utils/log.js +67 -0
  1302. package/dist/collection/utils/misc.js +35 -0
  1303. package/dist/collection/utils/number.js +83 -0
  1304. package/dist/collection/utils/object.js +32 -0
  1305. package/dist/collection/utils/pagination.js +40 -0
  1306. package/dist/collection/utils/pixel.js +48 -0
  1307. package/dist/collection/utils/position.js +373 -0
  1308. package/dist/collection/utils/public-api.js +4 -0
  1309. package/dist/collection/utils/spec-utils.js +196 -0
  1310. package/dist/collection/utils/string.js +9 -0
  1311. package/dist/collection/utils/test/accessibility.test.js +40 -0
  1312. package/dist/collection/utils/test/api.test.js +34 -0
  1313. package/dist/collection/utils/test/array.test.js +198 -0
  1314. package/dist/collection/utils/test/breakpoint.test.js +37 -0
  1315. package/dist/collection/utils/test/component.test.js +59 -0
  1316. package/dist/collection/utils/test/date.test.js +102 -0
  1317. package/dist/collection/utils/test/design-token.test.js +91 -0
  1318. package/dist/collection/utils/test/effect.test.js +64 -0
  1319. package/dist/collection/utils/test/local-storage.test.js +38 -0
  1320. package/dist/collection/utils/test/log.test.js +49 -0
  1321. package/dist/collection/utils/test/misc.test.js +40 -0
  1322. package/dist/collection/utils/test/number.test.js +14 -0
  1323. package/dist/collection/utils/test/object.test.js +51 -0
  1324. package/dist/collection/utils/test/pagination.test.js +40 -0
  1325. package/dist/collection/utils/test/pixel.test.js +29 -0
  1326. package/dist/collection/utils/test/position.test.js +262 -0
  1327. package/dist/collection/utils/test/spec-utils.test.js +73 -0
  1328. package/dist/collection/utils/test/string.test.js +8 -0
  1329. package/dist/collection/utils/test/test-utils.test.js +70 -0
  1330. package/dist/collection/utils/test/timer.test.js +16 -0
  1331. package/dist/collection/utils/test/ui.test.js +241 -0
  1332. package/dist/collection/utils/test-utils.js +155 -0
  1333. package/dist/collection/utils/timer.js +20 -0
  1334. package/dist/collection/utils/ui.js +200 -0
  1335. package/dist/collection/value-model-adapters/angular-ng-model-accessor-adapter.js +35 -0
  1336. package/dist/collection/value-model-adapters/vue-component-v-model-adaptor.js +30 -0
  1337. package/dist/esm/accessibility-e5fd0fab.js +15 -0
  1338. package/dist/esm/app-globals-41797af8.js +302 -0
  1339. package/dist/esm/array-506b88b9.js +169 -0
  1340. package/dist/esm/breakpoints-36a3ed69.js +62 -0
  1341. package/dist/esm/change-manager-6a7eb88c.js +76 -0
  1342. package/dist/esm/chevron-down-4303bddb.js +9 -0
  1343. package/dist/esm/child-nodes-event-prevent-slimmer-345c46c5.js +156 -0
  1344. package/dist/esm/child-nodes-notify-observer-slimmer-3d52b843.js +88 -0
  1345. package/dist/esm/component-cae24190.js +114 -0
  1346. package/dist/esm/component-global-style-slimmer-000e0c11.js +85 -0
  1347. package/dist/esm/component-load-required-ce710ef5.js +46 -0
  1348. package/dist/esm/component-usage-runtime-metrics-b3f6ac79.js +119 -0
  1349. package/dist/esm/create-public-api-runtime-metrics-slimmer-928ad7f0.js +203 -0
  1350. package/dist/esm/date-732bc749.js +87 -0
  1351. package/dist/esm/deprecated-property-slimmer-43d184b3.js +47 -0
  1352. package/dist/esm/design-token-3671ce60.js +389 -0
  1353. package/dist/esm/dom-node-subject-observer-factory-9461cd67.js +138 -0
  1354. package/dist/esm/dynamic-slimmer-90b8af32.js +61 -0
  1355. package/dist/esm/effect-8efd2c3c.js +49 -0
  1356. package/dist/esm/element-appender-slimmer-1172e2ea.js +1107 -0
  1357. package/dist/esm/event-emit-slimmer-eee9fd41.js +255 -0
  1358. package/dist/esm/feature-flag-controller-10780eeb.js +311 -0
  1359. package/dist/esm/form-field-controller-slimmer-edbaaf7c.js +1135 -0
  1360. package/dist/esm/global-slimmer-registry-17c4efd4.js +283 -0
  1361. package/dist/esm/icon-manager-0f030f8a.js +120 -0
  1362. package/dist/esm/icons-8627925e.js +517 -0
  1363. package/dist/esm/immutable-map-f545ed1a.js +115 -0
  1364. package/dist/esm/index-0863eec6.js +1019 -0
  1365. package/dist/esm/index-187f71d1.js +1725 -0
  1366. package/dist/esm/index.js +38 -0
  1367. package/dist/esm/inject-keyboard-manager-8a82e8c9.js +35 -0
  1368. package/dist/esm/internal-icon-manager-9671142a.js +43 -0
  1369. package/dist/esm/internal-vega-event-manager-722461c1.js +456 -0
  1370. package/dist/esm/internal-vega-z-index-manager-0553458e.js +178 -0
  1371. package/dist/esm/keyboard-manager-d1f9ddc1.js +104 -0
  1372. package/dist/esm/keyboard-manager-slimmer-8723f20f.js +37 -0
  1373. package/dist/esm/legend-input-processor-abb0b4f4.js +4739 -0
  1374. package/dist/esm/loader.js +43 -0
  1375. package/dist/esm/min-number-rule-8f643dbd.js +139 -0
  1376. package/dist/esm/min-string-length-rule-c6a69eeb.js +140 -0
  1377. package/dist/esm/mobilefriendly-c5d0573d.js +11 -0
  1378. package/dist/esm/mutation-observer-filters-9086b5cc.js +54 -0
  1379. package/dist/esm/mutation-observer-slimmer-6cef9549.js +83 -0
  1380. package/dist/esm/number-e2519d1c.js +85 -0
  1381. package/dist/esm/object-261e7344.js +34 -0
  1382. package/dist/esm/observer-3959f9dd.js +30 -0
  1383. package/dist/esm/page-resize-observer-slimmer-994c1e1b.js +120 -0
  1384. package/dist/esm/pixel-f32c07ce.js +68 -0
  1385. package/dist/esm/placeholder-bf562081.js +24 -0
  1386. package/dist/esm/polyfills/core-js.js +11 -0
  1387. package/dist/esm/polyfills/css-shim.js +1 -0
  1388. package/dist/esm/polyfills/dom.js +79 -0
  1389. package/dist/esm/polyfills/es5-html-element.js +1 -0
  1390. package/dist/esm/polyfills/index.js +34 -0
  1391. package/dist/esm/polyfills/system.js +6 -0
  1392. package/dist/esm/regex-dfe11abf.js +8 -0
  1393. package/dist/esm/remote-invocation-registry-1682b34e.js +62 -0
  1394. package/dist/esm/required-field-rule-5da360cc.js +81 -0
  1395. package/dist/esm/responsive-format-facade-5a1329a7.js +716 -0
  1396. package/dist/esm/state-background-color-formatter-0540d006.js +82 -0
  1397. package/dist/esm/static-subject-title-6987a80b.js +46 -0
  1398. package/dist/esm/string-be824360.js +11 -0
  1399. package/dist/esm/string-input-formatter-slimmer-fc23bc9f.js +356 -0
  1400. package/dist/esm/style-formatter-2fa5ce09.js +32 -0
  1401. package/dist/esm/sub-state-observer-slimmer-8eff5559.js +201 -0
  1402. package/dist/esm/synchronize-task-queue-8f5fbbd9.js +39 -0
  1403. package/dist/esm/timer-9321173b.js +22 -0
  1404. package/dist/esm/translation-0fa7cf77.js +272 -0
  1405. package/dist/esm/translation-slimmer-79f9a9c9.js +40 -0
  1406. package/dist/esm/type-guard-63caf78b.js +671 -0
  1407. package/dist/esm/typography-a8fc4764.js +1076 -0
  1408. package/dist/esm/ui-0132dbb5.js +187 -0
  1409. package/dist/esm/ui-8424715a.js +38 -0
  1410. package/dist/esm/valid-credit-card-number-rule-232f2986.js +170 -0
  1411. package/dist/esm/vega-accordion.entry.js +265 -0
  1412. package/dist/esm/vega-app-footer.entry.js +145 -0
  1413. package/dist/esm/vega-app-header-button.entry.js +310 -0
  1414. package/dist/esm/vega-backdrop.entry.js +152 -0
  1415. package/dist/esm/vega-banner.entry.js +350 -0
  1416. package/dist/esm/vega-bar-chart.entry.js +234 -0
  1417. package/dist/esm/vega-box.entry.js +204 -0
  1418. package/dist/esm/vega-breadcrumb.entry.js +264 -0
  1419. package/dist/esm/vega-button-circle.entry.js +218 -0
  1420. package/dist/esm/vega-button-group_2.entry.js +419 -0
  1421. package/dist/esm/vega-button-link.entry.js +212 -0
  1422. package/dist/esm/vega-button.entry.js +230 -0
  1423. package/dist/esm/vega-calendar_3.entry.js +4173 -0
  1424. package/dist/esm/vega-card.entry.js +192 -0
  1425. package/dist/esm/vega-carousel.entry.js +511 -0
  1426. package/dist/esm/vega-checkbox_2.entry.js +620 -0
  1427. package/dist/esm/vega-chip.entry.js +297 -0
  1428. package/dist/esm/vega-color-picker.entry.js +245 -0
  1429. package/dist/esm/vega-combo-box.entry.js +434 -0
  1430. package/dist/esm/vega-counter-badge.entry.js +86 -0
  1431. package/dist/esm/vega-date-picker_2.entry.js +2115 -0
  1432. package/dist/esm/vega-dialog-controller-3b905672.js +79 -0
  1433. package/dist/esm/vega-dialog_2.entry.js +711 -0
  1434. package/dist/esm/vega-divider.entry.js +145 -0
  1435. package/dist/esm/vega-dropdown_5.entry.js +2920 -0
  1436. package/dist/esm/vega-env-manager-8f8dc473.js +39 -0
  1437. package/dist/esm/vega-event-id-7465a011.js +100 -0
  1438. package/dist/esm/vega-field-error.entry.js +98 -0
  1439. package/dist/esm/vega-field-label.entry.js +162 -0
  1440. package/dist/esm/vega-file-uploader.entry.js +683 -0
  1441. package/dist/esm/vega-flex.entry.js +193 -0
  1442. package/dist/esm/vega-font.entry.js +285 -0
  1443. package/dist/esm/vega-form.entry.js +481 -0
  1444. package/dist/esm/vega-grid.entry.js +95 -0
  1445. package/dist/esm/vega-hint.entry.js +34 -0
  1446. package/dist/esm/vega-icon.entry.js +224 -0
  1447. package/dist/esm/vega-image-uploader.entry.js +931 -0
  1448. package/dist/esm/vega-input-credit-card.entry.js +408 -0
  1449. package/dist/esm/vega-input-phone-number.entry.js +9219 -0
  1450. package/dist/esm/vega-input-range.entry.js +742 -0
  1451. package/dist/esm/vega-input-select.entry.js +875 -0
  1452. package/dist/esm/vega-input.entry.js +1043 -0
  1453. package/dist/esm/vega-internal-event-id-7e05cf4a.js +35 -0
  1454. package/dist/esm/vega-item-toggle.entry.js +187 -0
  1455. package/dist/esm/vega-left-nav_5.entry.js +1176 -0
  1456. package/dist/esm/vega-line-chart.entry.js +378 -0
  1457. package/dist/esm/vega-loader-wrapper_2.entry.js +206 -0
  1458. package/dist/esm/vega-page-notification_2.entry.js +178 -0
  1459. package/dist/esm/vega-pagination.entry.js +382 -0
  1460. package/dist/esm/vega-pie-chart.entry.js +439 -0
  1461. package/dist/esm/vega-popover_2.entry.js +316 -0
  1462. package/dist/esm/vega-progress-tracker.entry.js +248 -0
  1463. package/dist/esm/vega-radio_2.entry.js +738 -0
  1464. package/dist/esm/vega-section-title.entry.js +108 -0
  1465. package/dist/esm/vega-segment-control.entry.js +344 -0
  1466. package/dist/esm/vega-selection-chip_2.entry.js +831 -0
  1467. package/dist/esm/vega-selection-tile_2.entry.js +790 -0
  1468. package/dist/esm/vega-signature-capture.entry.js +568 -0
  1469. package/dist/esm/vega-skeleton-loader-controller-6fb25f3b.js +3897 -0
  1470. package/dist/esm/vega-skeleton.entry.js +326 -0
  1471. package/dist/esm/vega-slot-container.entry.js +36 -0
  1472. package/dist/esm/vega-stepper.entry.js +288 -0
  1473. package/dist/esm/vega-tab-group_2.entry.js +1265 -0
  1474. package/dist/esm/vega-table_8.entry.js +4560 -0
  1475. package/dist/esm/vega-text.entry.js +228 -0
  1476. package/dist/esm/vega-textarea.entry.js +298 -0
  1477. package/dist/esm/vega-time-picker_2.entry.js +2152 -0
  1478. package/dist/esm/vega-toggle-switch.entry.js +244 -0
  1479. package/dist/esm/vega-tooltip_2.entry.js +295 -0
  1480. package/dist/esm/vega.js +43 -0
  1481. package/dist/esm/y-axis-input-processor-08c89594.js +2290 -0
  1482. package/dist/index.cjs.js +1 -0
  1483. package/dist/index.js +1 -0
  1484. package/dist/types/components/vega-accordion/slimmers/vega-accordion-expand-controller.d.ts +14 -0
  1485. package/dist/types/components/vega-accordion/slimmers/vega-accordion-renderer.d.ts +19 -0
  1486. package/dist/types/components/vega-accordion/vega-accordion.d.ts +95 -0
  1487. package/dist/types/components/vega-app-footer/types.d.ts +7 -0
  1488. package/dist/types/components/vega-app-footer/vega-app-footer.d.ts +102 -0
  1489. package/dist/types/components/vega-app-header-button/slimmers/renderers/vega-menu-arrow-icon-renderer.d.ts +6 -0
  1490. package/dist/types/components/vega-app-header-button/types.d.ts +27 -0
  1491. package/dist/types/components/vega-app-header-button/vega-app-header-button.d.ts +155 -0
  1492. package/dist/types/components/vega-backdrop/slimmers/controller/vega-backdrop-visible-controller.d.ts +23 -0
  1493. package/dist/types/components/vega-backdrop/slimmers/renerers/vega-backdrop-renderer.d.ts +9 -0
  1494. package/dist/types/components/vega-backdrop/vega-backdrop.d.ts +41 -0
  1495. package/dist/types/components/vega-banner/slimmers/controllers/vega-banner-icon-controller.d.ts +24 -0
  1496. package/dist/types/components/vega-banner/slimmers/renderers/vega-banner-action-button-renderer.d.ts +22 -0
  1497. package/dist/types/components/vega-banner/slimmers/renderers/vega-banner-renderer.d.ts +50 -0
  1498. package/dist/types/components/vega-banner/types.d.ts +11 -0
  1499. package/dist/types/components/vega-banner/vega-banner.d.ts +92 -0
  1500. package/dist/types/components/vega-box/interface.d.ts +22 -0
  1501. package/dist/types/components/vega-box/slimmers/controllers/vega-box-state-styles-controller.d.ts +53 -0
  1502. package/dist/types/components/vega-box/vega-box.d.ts +231 -0
  1503. package/dist/types/components/vega-breadcrumb/slimmers/controllers/vega-breadcrumb-click-controller.d.ts +26 -0
  1504. package/dist/types/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-collapsed-item-renderer.d.ts +7 -0
  1505. package/dist/types/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-item-renderer.d.ts +11 -0
  1506. package/dist/types/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-renderer.d.ts +19 -0
  1507. package/dist/types/components/vega-breadcrumb/types.d.ts +11 -0
  1508. package/dist/types/components/vega-breadcrumb/vega-breadcrumb.d.ts +57 -0
  1509. package/dist/types/components/vega-button/slimmers/renderers/vega-button-loading-renderer.d.ts +13 -0
  1510. package/dist/types/components/vega-button/types.d.ts +4 -0
  1511. package/dist/types/components/vega-button/vega-button.d.ts +129 -0
  1512. package/dist/types/components/vega-button-circle/types.d.ts +9 -0
  1513. package/dist/types/components/vega-button-circle/vega-button-circle.d.ts +120 -0
  1514. package/dist/types/components/vega-button-group/slimmers/controllers/vega-button-group-click-controller.d.ts +15 -0
  1515. package/dist/types/components/vega-button-group/types.d.ts +21 -0
  1516. package/dist/types/components/vega-button-group/vega-button-group-item/slimmers/controllers/vega-button-group-item-sub-state-controller.d.ts +12 -0
  1517. package/dist/types/components/vega-button-group/vega-button-group-item/slimmers/renderers/vega-button-group-item-renderer.d.ts +67 -0
  1518. package/dist/types/components/vega-button-group/vega-button-group-item/vega-button-group-item.d.ts +58 -0
  1519. package/dist/types/components/vega-button-group/vega-button-group.d.ts +60 -0
  1520. package/dist/types/components/vega-button-link/vega-button-link.d.ts +113 -0
  1521. package/dist/types/components/vega-calendar/icons/clock-three.d.ts +3 -0
  1522. package/dist/types/components/vega-calendar/icons/ellipsis-vertical.d.ts +3 -0
  1523. package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-current-period-controller.d.ts +53 -0
  1524. package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-controller.d.ts +56 -0
  1525. package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-responsive-controller.d.ts +25 -0
  1526. package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-view-controller.d.ts +36 -0
  1527. package/dist/types/components/vega-calendar/slimmers/common/helpers/calendar-event-sorter.d.ts +38 -0
  1528. package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/base-repeat-pattern.d.ts +50 -0
  1529. package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-daily-repeat-pattern.d.ts +43 -0
  1530. package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-monthly-repeat-pattern.d.ts +55 -0
  1531. package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-repeat-pattern-factory.d.ts +34 -0
  1532. package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-weekly-repeat-pattern.d.ts +99 -0
  1533. package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-yearly-repeat-pattern.d.ts +57 -0
  1534. package/dist/types/components/vega-calendar/slimmers/common/helpers/test/calendar-event-repeat-pattern-factory.test.d.ts +1 -0
  1535. package/dist/types/components/vega-calendar/slimmers/common/layout/base-event-layout-cell.d.ts +40 -0
  1536. package/dist/types/components/vega-calendar/slimmers/common/layout/base-event-layout-generator.d.ts +16 -0
  1537. package/dist/types/components/vega-calendar/slimmers/common/layout/base-event-layout.d.ts +11 -0
  1538. package/dist/types/components/vega-calendar/slimmers/common/layout/full-day-event-layout-generator.d.ts +39 -0
  1539. package/dist/types/components/vega-calendar/slimmers/common/layout/full-day-event-layout-row.d.ts +26 -0
  1540. package/dist/types/components/vega-calendar/slimmers/common/layout/full-day-event-layout.d.ts +30 -0
  1541. package/dist/types/components/vega-calendar/slimmers/common/layout/test/long-event-layout-generator.test.d.ts +1 -0
  1542. package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-event-item-renderer.d.ts +24 -0
  1543. package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-full-day-event-layout-renderer.d.ts +39 -0
  1544. package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-renderer.d.ts +13 -0
  1545. package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-switch-panel.d.ts +82 -0
  1546. package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-view-renderer.d.ts +15 -0
  1547. package/dist/types/components/vega-calendar/slimmers/day-view/renderers/full-day-event/vega-calendar-full-day-event-more-button-renderer.d.ts +23 -0
  1548. package/dist/types/components/vega-calendar/slimmers/day-view/renderers/full-day-event/vega-calendar-full-day-event-renderer.d.ts +34 -0
  1549. package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout-column.d.ts +28 -0
  1550. package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout-generator.d.ts +20 -0
  1551. package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout.d.ts +20 -0
  1552. package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/test/day-view-event-layout-generator.test.d.ts +1 -0
  1553. package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/vega-calendar-day-event-layout-renderer.d.ts +27 -0
  1554. package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/vega-calendar-timed-event-renderer.d.ts +23 -0
  1555. package/dist/types/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-time-line-renderer.d.ts +67 -0
  1556. package/dist/types/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-view-with-time-renderer.d.ts +45 -0
  1557. package/dist/types/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-event-renderer.d.ts +66 -0
  1558. package/dist/types/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-view-renderer.d.ts +52 -0
  1559. package/dist/types/components/vega-calendar/types.d.ts +88 -0
  1560. package/dist/types/components/vega-calendar/utils/index.d.ts +38 -0
  1561. package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-bg-color-controller.d.ts +12 -0
  1562. package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-slot-controller.d.ts +30 -0
  1563. package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-title-max-height-controller.d.ts +13 -0
  1564. package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-sub-state-controller.d.ts +11 -0
  1565. package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/renderers/vega-calendar-event-renderer.d.ts +88 -0
  1566. package/dist/types/components/vega-calendar/vega-calendar-event/vega-calendar-event.d.ts +34 -0
  1567. package/dist/types/components/vega-calendar/vega-calendar-event-slot/vega-calendar-event-slot.d.ts +17 -0
  1568. package/dist/types/components/vega-calendar/vega-calendar.d.ts +189 -0
  1569. package/dist/types/components/vega-card/vega-card.d.ts +54 -0
  1570. package/dist/types/components/vega-carousel/vega-carousel.d.ts +157 -0
  1571. package/dist/types/components/vega-chart/vega-bar-chart/types.d.ts +4 -0
  1572. package/dist/types/components/vega-chart/vega-bar-chart/vega-bar-chart.d.ts +27 -0
  1573. package/dist/types/components/vega-chart/vega-line-chart/vega-line-chart.d.ts +38 -0
  1574. package/dist/types/components/vega-chart/vega-pie-chart/vega-pie-chart.d.ts +38 -0
  1575. package/dist/types/components/vega-checkbox/slimmers/controllers/vega-checkbox-show-error-controller.d.ts +29 -0
  1576. package/dist/types/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.d.ts +136 -0
  1577. package/dist/types/components/vega-checkbox/vega-checkbox.d.ts +152 -0
  1578. package/dist/types/components/vega-chip/types.d.ts +4 -0
  1579. package/dist/types/components/vega-chip/vega-chip.d.ts +164 -0
  1580. package/dist/types/components/vega-color-picker/vega-color-picker.d.ts +106 -0
  1581. package/dist/types/components/vega-combo-box/types.d.ts +9 -0
  1582. package/dist/types/components/vega-combo-box/vega-combo-box.d.ts +233 -0
  1583. package/dist/types/components/vega-counter-badge/vega-counter-badge.d.ts +44 -0
  1584. package/dist/types/components/vega-date-picker/assets/icons.d.ts +4 -0
  1585. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-controller.d.ts +110 -0
  1586. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-element-appender-controller.d.ts +12 -0
  1587. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-format-controller.d.ts +75 -0
  1588. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-keyboard-controller.d.ts +10 -0
  1589. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-mobile-controller.d.ts +18 -0
  1590. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-value-controller.d.ts +52 -0
  1591. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-zindex-controller.d.ts +15 -0
  1592. package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-renderer.d.ts +95 -0
  1593. package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-range-input-renderer.d.ts +31 -0
  1594. package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-renderer.d.ts +31 -0
  1595. package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-single-input-renderer.d.ts +23 -0
  1596. package/dist/types/components/vega-date-picker/types.d.ts +10 -0
  1597. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.d.ts +11 -0
  1598. package/dist/types/components/vega-date-picker/vega-date-picker.d.ts +213 -0
  1599. package/dist/types/components/vega-dialog/types.d.ts +14 -0
  1600. package/dist/types/components/vega-dialog/vega-dialog.d.ts +89 -0
  1601. package/dist/types/components/vega-divider/interface.d.ts +6 -0
  1602. package/dist/types/components/vega-divider/slimmers/controllers/vega-divider-size-controller.d.ts +26 -0
  1603. package/dist/types/components/vega-divider/vega-divider.d.ts +43 -0
  1604. package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.d.ts +43 -0
  1605. package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-children-controller.d.ts +74 -0
  1606. package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-keyboard-conttroller.d.ts +28 -0
  1607. package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-remote-invocation-controller.d.ts +28 -0
  1608. package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-render-mode-controller.d.ts +29 -0
  1609. package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-scrollable-controller.d.ts +57 -0
  1610. package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-search-controller.d.ts +65 -0
  1611. package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-selected-controller.d.ts +99 -0
  1612. package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-source-controller.d.ts +33 -0
  1613. package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-create-renderer.d.ts +13 -0
  1614. package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-group-level-renderer.d.ts +8 -0
  1615. package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-item-level-renderer.d.ts +13 -0
  1616. package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-list-renderer.d.ts +29 -0
  1617. package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-renderer.d.ts +32 -0
  1618. package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-search-renderer.d.ts +20 -0
  1619. package/dist/types/components/vega-dropdown/test/share.d.ts +12 -0
  1620. package/dist/types/components/vega-dropdown/types.d.ts +23 -0
  1621. package/dist/types/components/vega-dropdown/vega-dropdown-content-box/vega-dropdown-content-box.d.ts +13 -0
  1622. package/dist/types/components/vega-dropdown/vega-dropdown-group/slimmers/renderers/vega-dropdown-group-renderer.d.ts +10 -0
  1623. package/dist/types/components/vega-dropdown/vega-dropdown-group/vega-dropdown-group.d.ts +26 -0
  1624. package/dist/types/components/vega-dropdown/vega-dropdown-item/slimmers/controllers/vega-dropdown-item-click-controller.d.ts +19 -0
  1625. package/dist/types/components/vega-dropdown/vega-dropdown-item/slimmers/controllers/vega-dropdown-item-state-controller.d.ts +14 -0
  1626. package/dist/types/components/vega-dropdown/vega-dropdown-item/slimmers/renderers/vega-dropdown-item-renderer.d.ts +25 -0
  1627. package/dist/types/components/vega-dropdown/vega-dropdown-item/types.d.ts +1 -0
  1628. package/dist/types/components/vega-dropdown/vega-dropdown-item/vega-dropdown-item.d.ts +97 -0
  1629. package/dist/types/components/vega-dropdown/vega-dropdown.d.ts +385 -0
  1630. package/dist/types/components/vega-field-error/slimmers/controllers/vega-field-error-message-controller.d.ts +19 -0
  1631. package/dist/types/components/vega-field-error/types.d.ts +4 -0
  1632. package/dist/types/components/vega-field-error/vega-field-error.d.ts +21 -0
  1633. package/dist/types/components/vega-field-label/slimmers/renderers/vega-field-label-suffix-element-renderer.d.ts +27 -0
  1634. package/dist/types/components/vega-field-label/types.d.ts +5 -0
  1635. package/dist/types/components/vega-field-label/vega-field-label.d.ts +71 -0
  1636. package/dist/types/components/vega-file-uploader/slimmers/controllers/vega-file-uploader-drop-file-filter-controller.d.ts +22 -0
  1637. package/dist/types/components/vega-file-uploader/slimmers/controllers/vega-file-uploader-value-controller.d.ts +21 -0
  1638. package/dist/types/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-container-renderer.d.ts +78 -0
  1639. package/dist/types/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-list-renderer.d.ts +38 -0
  1640. package/dist/types/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-status-renderer.d.ts +7 -0
  1641. package/dist/types/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-renderer.d.ts +18 -0
  1642. package/dist/types/components/vega-file-uploader/types.d.ts +15 -0
  1643. package/dist/types/components/vega-file-uploader/vega-file-uploader.d.ts +181 -0
  1644. package/dist/types/components/vega-flex/vega-flex.d.ts +107 -0
  1645. package/dist/types/components/vega-font/slimmers/controllers/vega-font-as-controller.d.ts +23 -0
  1646. package/dist/types/components/vega-font/slimmers/controllers/vega-font-classes-controller.d.ts +15 -0
  1647. package/dist/types/components/vega-font/slimmers/controllers/vega-font-variant-controller.d.ts +13 -0
  1648. package/dist/types/components/vega-font/slimmers/renderers/vega-font-renderer.d.ts +6 -0
  1649. package/dist/types/components/vega-font/types.d.ts +18 -0
  1650. package/dist/types/components/vega-font/vega-font.d.ts +64 -0
  1651. package/dist/types/components/vega-form/types.d.ts +9 -0
  1652. package/dist/types/components/vega-form/vega-form.d.ts +235 -0
  1653. package/dist/types/components/vega-grid/vega-grid.d.ts +66 -0
  1654. package/dist/types/components/vega-hint/vega-hint.d.ts +12 -0
  1655. package/dist/types/components/vega-icon/vega-icon.d.ts +76 -0
  1656. package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-actions-visibility-controller.d.ts +14 -0
  1657. package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-input-controller.d.ts +15 -0
  1658. package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-preview-controller.d.ts +36 -0
  1659. package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-remove-controller.d.ts +18 -0
  1660. package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-value-controller.d.ts +18 -0
  1661. package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-actions-renderer.d.ts +40 -0
  1662. package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-default-content-renderer.d.ts +17 -0
  1663. package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-input-renderer.d.ts +23 -0
  1664. package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-preview-content-renderer.d.ts +13 -0
  1665. package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-renderer.d.ts +30 -0
  1666. package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-uploading-content-renderer.d.ts +15 -0
  1667. package/dist/types/components/vega-image-uploader/types.d.ts +21 -0
  1668. package/dist/types/components/vega-image-uploader/vega-image-uploader.d.ts +210 -0
  1669. package/dist/types/components/vega-input/slimmers/controllers/vega-input-copy-paste-controller.d.ts +23 -0
  1670. package/dist/types/components/vega-input/slimmers/controllers/vega-input-mask-config-controller.d.ts +59 -0
  1671. package/dist/types/components/vega-input/slimmers/renderers/vega-input-prefix-slot-renderer.d.ts +16 -0
  1672. package/dist/types/components/vega-input/types.d.ts +12 -0
  1673. package/dist/types/components/vega-input/vega-input.d.ts +319 -0
  1674. package/dist/types/components/vega-input-credit-card/assets/icons.d.ts +4 -0
  1675. package/dist/types/components/vega-input-credit-card/test/share.d.ts +18 -0
  1676. package/dist/types/components/vega-input-credit-card/vega-input-credit-card.d.ts +163 -0
  1677. package/dist/types/components/vega-input-phone-number/assets/countries.d.ts +2 -0
  1678. package/dist/types/components/vega-input-phone-number/assets/country-flags.d.ts +5 -0
  1679. package/dist/types/components/vega-input-phone-number/assets/flags/ac.d.ts +3 -0
  1680. package/dist/types/components/vega-input-phone-number/assets/flags/ad.d.ts +3 -0
  1681. package/dist/types/components/vega-input-phone-number/assets/flags/ae.d.ts +3 -0
  1682. package/dist/types/components/vega-input-phone-number/assets/flags/af.d.ts +3 -0
  1683. package/dist/types/components/vega-input-phone-number/assets/flags/ag.d.ts +3 -0
  1684. package/dist/types/components/vega-input-phone-number/assets/flags/ai.d.ts +3 -0
  1685. package/dist/types/components/vega-input-phone-number/assets/flags/al.d.ts +3 -0
  1686. package/dist/types/components/vega-input-phone-number/assets/flags/am.d.ts +3 -0
  1687. package/dist/types/components/vega-input-phone-number/assets/flags/ao.d.ts +3 -0
  1688. package/dist/types/components/vega-input-phone-number/assets/flags/ar.d.ts +3 -0
  1689. package/dist/types/components/vega-input-phone-number/assets/flags/as.d.ts +3 -0
  1690. package/dist/types/components/vega-input-phone-number/assets/flags/at.d.ts +3 -0
  1691. package/dist/types/components/vega-input-phone-number/assets/flags/au.d.ts +3 -0
  1692. package/dist/types/components/vega-input-phone-number/assets/flags/aw.d.ts +3 -0
  1693. package/dist/types/components/vega-input-phone-number/assets/flags/ax.d.ts +3 -0
  1694. package/dist/types/components/vega-input-phone-number/assets/flags/az.d.ts +3 -0
  1695. package/dist/types/components/vega-input-phone-number/assets/flags/ba.d.ts +3 -0
  1696. package/dist/types/components/vega-input-phone-number/assets/flags/bb.d.ts +3 -0
  1697. package/dist/types/components/vega-input-phone-number/assets/flags/bd.d.ts +3 -0
  1698. package/dist/types/components/vega-input-phone-number/assets/flags/be.d.ts +3 -0
  1699. package/dist/types/components/vega-input-phone-number/assets/flags/bf.d.ts +3 -0
  1700. package/dist/types/components/vega-input-phone-number/assets/flags/bg.d.ts +3 -0
  1701. package/dist/types/components/vega-input-phone-number/assets/flags/bh.d.ts +3 -0
  1702. package/dist/types/components/vega-input-phone-number/assets/flags/bi.d.ts +3 -0
  1703. package/dist/types/components/vega-input-phone-number/assets/flags/bj.d.ts +3 -0
  1704. package/dist/types/components/vega-input-phone-number/assets/flags/bl.d.ts +3 -0
  1705. package/dist/types/components/vega-input-phone-number/assets/flags/bm.d.ts +3 -0
  1706. package/dist/types/components/vega-input-phone-number/assets/flags/bn.d.ts +3 -0
  1707. package/dist/types/components/vega-input-phone-number/assets/flags/bo.d.ts +3 -0
  1708. package/dist/types/components/vega-input-phone-number/assets/flags/bq.d.ts +3 -0
  1709. package/dist/types/components/vega-input-phone-number/assets/flags/br.d.ts +3 -0
  1710. package/dist/types/components/vega-input-phone-number/assets/flags/bs.d.ts +3 -0
  1711. package/dist/types/components/vega-input-phone-number/assets/flags/bt.d.ts +3 -0
  1712. package/dist/types/components/vega-input-phone-number/assets/flags/bw.d.ts +3 -0
  1713. package/dist/types/components/vega-input-phone-number/assets/flags/by.d.ts +3 -0
  1714. package/dist/types/components/vega-input-phone-number/assets/flags/bz.d.ts +3 -0
  1715. package/dist/types/components/vega-input-phone-number/assets/flags/ca.d.ts +3 -0
  1716. package/dist/types/components/vega-input-phone-number/assets/flags/cc.d.ts +3 -0
  1717. package/dist/types/components/vega-input-phone-number/assets/flags/cd.d.ts +3 -0
  1718. package/dist/types/components/vega-input-phone-number/assets/flags/cf.d.ts +3 -0
  1719. package/dist/types/components/vega-input-phone-number/assets/flags/cg.d.ts +3 -0
  1720. package/dist/types/components/vega-input-phone-number/assets/flags/ch.d.ts +3 -0
  1721. package/dist/types/components/vega-input-phone-number/assets/flags/ci.d.ts +3 -0
  1722. package/dist/types/components/vega-input-phone-number/assets/flags/ck.d.ts +3 -0
  1723. package/dist/types/components/vega-input-phone-number/assets/flags/cl.d.ts +3 -0
  1724. package/dist/types/components/vega-input-phone-number/assets/flags/cm.d.ts +3 -0
  1725. package/dist/types/components/vega-input-phone-number/assets/flags/cn.d.ts +3 -0
  1726. package/dist/types/components/vega-input-phone-number/assets/flags/co.d.ts +3 -0
  1727. package/dist/types/components/vega-input-phone-number/assets/flags/cr.d.ts +3 -0
  1728. package/dist/types/components/vega-input-phone-number/assets/flags/cu.d.ts +3 -0
  1729. package/dist/types/components/vega-input-phone-number/assets/flags/cv.d.ts +3 -0
  1730. package/dist/types/components/vega-input-phone-number/assets/flags/cw.d.ts +3 -0
  1731. package/dist/types/components/vega-input-phone-number/assets/flags/cx.d.ts +3 -0
  1732. package/dist/types/components/vega-input-phone-number/assets/flags/cy.d.ts +3 -0
  1733. package/dist/types/components/vega-input-phone-number/assets/flags/cz.d.ts +3 -0
  1734. package/dist/types/components/vega-input-phone-number/assets/flags/de.d.ts +3 -0
  1735. package/dist/types/components/vega-input-phone-number/assets/flags/dj.d.ts +3 -0
  1736. package/dist/types/components/vega-input-phone-number/assets/flags/dk.d.ts +3 -0
  1737. package/dist/types/components/vega-input-phone-number/assets/flags/dm.d.ts +3 -0
  1738. package/dist/types/components/vega-input-phone-number/assets/flags/do.d.ts +3 -0
  1739. package/dist/types/components/vega-input-phone-number/assets/flags/dz.d.ts +3 -0
  1740. package/dist/types/components/vega-input-phone-number/assets/flags/ec.d.ts +3 -0
  1741. package/dist/types/components/vega-input-phone-number/assets/flags/ee.d.ts +3 -0
  1742. package/dist/types/components/vega-input-phone-number/assets/flags/eg.d.ts +3 -0
  1743. package/dist/types/components/vega-input-phone-number/assets/flags/eh.d.ts +3 -0
  1744. package/dist/types/components/vega-input-phone-number/assets/flags/er.d.ts +3 -0
  1745. package/dist/types/components/vega-input-phone-number/assets/flags/es.d.ts +3 -0
  1746. package/dist/types/components/vega-input-phone-number/assets/flags/et.d.ts +3 -0
  1747. package/dist/types/components/vega-input-phone-number/assets/flags/fi.d.ts +3 -0
  1748. package/dist/types/components/vega-input-phone-number/assets/flags/fj.d.ts +3 -0
  1749. package/dist/types/components/vega-input-phone-number/assets/flags/fk.d.ts +3 -0
  1750. package/dist/types/components/vega-input-phone-number/assets/flags/fm.d.ts +3 -0
  1751. package/dist/types/components/vega-input-phone-number/assets/flags/fo.d.ts +3 -0
  1752. package/dist/types/components/vega-input-phone-number/assets/flags/fr.d.ts +3 -0
  1753. package/dist/types/components/vega-input-phone-number/assets/flags/ga.d.ts +3 -0
  1754. package/dist/types/components/vega-input-phone-number/assets/flags/gb.d.ts +3 -0
  1755. package/dist/types/components/vega-input-phone-number/assets/flags/gd.d.ts +3 -0
  1756. package/dist/types/components/vega-input-phone-number/assets/flags/ge.d.ts +3 -0
  1757. package/dist/types/components/vega-input-phone-number/assets/flags/gf.d.ts +3 -0
  1758. package/dist/types/components/vega-input-phone-number/assets/flags/gg.d.ts +3 -0
  1759. package/dist/types/components/vega-input-phone-number/assets/flags/gh.d.ts +3 -0
  1760. package/dist/types/components/vega-input-phone-number/assets/flags/gi.d.ts +3 -0
  1761. package/dist/types/components/vega-input-phone-number/assets/flags/gl.d.ts +3 -0
  1762. package/dist/types/components/vega-input-phone-number/assets/flags/gm.d.ts +3 -0
  1763. package/dist/types/components/vega-input-phone-number/assets/flags/gn.d.ts +3 -0
  1764. package/dist/types/components/vega-input-phone-number/assets/flags/gp.d.ts +3 -0
  1765. package/dist/types/components/vega-input-phone-number/assets/flags/gq.d.ts +3 -0
  1766. package/dist/types/components/vega-input-phone-number/assets/flags/gr.d.ts +3 -0
  1767. package/dist/types/components/vega-input-phone-number/assets/flags/gt.d.ts +3 -0
  1768. package/dist/types/components/vega-input-phone-number/assets/flags/gu.d.ts +3 -0
  1769. package/dist/types/components/vega-input-phone-number/assets/flags/gw.d.ts +3 -0
  1770. package/dist/types/components/vega-input-phone-number/assets/flags/gy.d.ts +3 -0
  1771. package/dist/types/components/vega-input-phone-number/assets/flags/hk.d.ts +3 -0
  1772. package/dist/types/components/vega-input-phone-number/assets/flags/hn.d.ts +3 -0
  1773. package/dist/types/components/vega-input-phone-number/assets/flags/hr.d.ts +3 -0
  1774. package/dist/types/components/vega-input-phone-number/assets/flags/ht.d.ts +3 -0
  1775. package/dist/types/components/vega-input-phone-number/assets/flags/hu.d.ts +3 -0
  1776. package/dist/types/components/vega-input-phone-number/assets/flags/id.d.ts +3 -0
  1777. package/dist/types/components/vega-input-phone-number/assets/flags/ie.d.ts +3 -0
  1778. package/dist/types/components/vega-input-phone-number/assets/flags/il.d.ts +3 -0
  1779. package/dist/types/components/vega-input-phone-number/assets/flags/im.d.ts +3 -0
  1780. package/dist/types/components/vega-input-phone-number/assets/flags/in.d.ts +3 -0
  1781. package/dist/types/components/vega-input-phone-number/assets/flags/io.d.ts +3 -0
  1782. package/dist/types/components/vega-input-phone-number/assets/flags/iq.d.ts +3 -0
  1783. package/dist/types/components/vega-input-phone-number/assets/flags/ir.d.ts +3 -0
  1784. package/dist/types/components/vega-input-phone-number/assets/flags/is.d.ts +3 -0
  1785. package/dist/types/components/vega-input-phone-number/assets/flags/it.d.ts +3 -0
  1786. package/dist/types/components/vega-input-phone-number/assets/flags/je.d.ts +3 -0
  1787. package/dist/types/components/vega-input-phone-number/assets/flags/jm.d.ts +3 -0
  1788. package/dist/types/components/vega-input-phone-number/assets/flags/jo.d.ts +3 -0
  1789. package/dist/types/components/vega-input-phone-number/assets/flags/jp.d.ts +3 -0
  1790. package/dist/types/components/vega-input-phone-number/assets/flags/ke.d.ts +3 -0
  1791. package/dist/types/components/vega-input-phone-number/assets/flags/kg.d.ts +3 -0
  1792. package/dist/types/components/vega-input-phone-number/assets/flags/kh.d.ts +3 -0
  1793. package/dist/types/components/vega-input-phone-number/assets/flags/ki.d.ts +3 -0
  1794. package/dist/types/components/vega-input-phone-number/assets/flags/km.d.ts +3 -0
  1795. package/dist/types/components/vega-input-phone-number/assets/flags/kn.d.ts +3 -0
  1796. package/dist/types/components/vega-input-phone-number/assets/flags/kp.d.ts +3 -0
  1797. package/dist/types/components/vega-input-phone-number/assets/flags/kr.d.ts +3 -0
  1798. package/dist/types/components/vega-input-phone-number/assets/flags/kw.d.ts +3 -0
  1799. package/dist/types/components/vega-input-phone-number/assets/flags/ky.d.ts +3 -0
  1800. package/dist/types/components/vega-input-phone-number/assets/flags/kz.d.ts +3 -0
  1801. package/dist/types/components/vega-input-phone-number/assets/flags/la.d.ts +3 -0
  1802. package/dist/types/components/vega-input-phone-number/assets/flags/lb.d.ts +3 -0
  1803. package/dist/types/components/vega-input-phone-number/assets/flags/lc.d.ts +3 -0
  1804. package/dist/types/components/vega-input-phone-number/assets/flags/li.d.ts +3 -0
  1805. package/dist/types/components/vega-input-phone-number/assets/flags/lk.d.ts +3 -0
  1806. package/dist/types/components/vega-input-phone-number/assets/flags/lr.d.ts +3 -0
  1807. package/dist/types/components/vega-input-phone-number/assets/flags/ls.d.ts +3 -0
  1808. package/dist/types/components/vega-input-phone-number/assets/flags/lt.d.ts +3 -0
  1809. package/dist/types/components/vega-input-phone-number/assets/flags/lu.d.ts +3 -0
  1810. package/dist/types/components/vega-input-phone-number/assets/flags/lv.d.ts +3 -0
  1811. package/dist/types/components/vega-input-phone-number/assets/flags/ly.d.ts +3 -0
  1812. package/dist/types/components/vega-input-phone-number/assets/flags/ma.d.ts +3 -0
  1813. package/dist/types/components/vega-input-phone-number/assets/flags/mc.d.ts +3 -0
  1814. package/dist/types/components/vega-input-phone-number/assets/flags/md.d.ts +3 -0
  1815. package/dist/types/components/vega-input-phone-number/assets/flags/me.d.ts +3 -0
  1816. package/dist/types/components/vega-input-phone-number/assets/flags/mf.d.ts +3 -0
  1817. package/dist/types/components/vega-input-phone-number/assets/flags/mg.d.ts +3 -0
  1818. package/dist/types/components/vega-input-phone-number/assets/flags/mh.d.ts +3 -0
  1819. package/dist/types/components/vega-input-phone-number/assets/flags/mk.d.ts +3 -0
  1820. package/dist/types/components/vega-input-phone-number/assets/flags/ml.d.ts +3 -0
  1821. package/dist/types/components/vega-input-phone-number/assets/flags/mm.d.ts +3 -0
  1822. package/dist/types/components/vega-input-phone-number/assets/flags/mn.d.ts +3 -0
  1823. package/dist/types/components/vega-input-phone-number/assets/flags/mo.d.ts +3 -0
  1824. package/dist/types/components/vega-input-phone-number/assets/flags/mp.d.ts +3 -0
  1825. package/dist/types/components/vega-input-phone-number/assets/flags/mq.d.ts +3 -0
  1826. package/dist/types/components/vega-input-phone-number/assets/flags/mr.d.ts +3 -0
  1827. package/dist/types/components/vega-input-phone-number/assets/flags/ms.d.ts +3 -0
  1828. package/dist/types/components/vega-input-phone-number/assets/flags/mt.d.ts +3 -0
  1829. package/dist/types/components/vega-input-phone-number/assets/flags/mu.d.ts +3 -0
  1830. package/dist/types/components/vega-input-phone-number/assets/flags/mv.d.ts +3 -0
  1831. package/dist/types/components/vega-input-phone-number/assets/flags/mw.d.ts +3 -0
  1832. package/dist/types/components/vega-input-phone-number/assets/flags/mx.d.ts +3 -0
  1833. package/dist/types/components/vega-input-phone-number/assets/flags/my.d.ts +3 -0
  1834. package/dist/types/components/vega-input-phone-number/assets/flags/mz.d.ts +3 -0
  1835. package/dist/types/components/vega-input-phone-number/assets/flags/na.d.ts +3 -0
  1836. package/dist/types/components/vega-input-phone-number/assets/flags/nc.d.ts +3 -0
  1837. package/dist/types/components/vega-input-phone-number/assets/flags/ne.d.ts +3 -0
  1838. package/dist/types/components/vega-input-phone-number/assets/flags/nf.d.ts +3 -0
  1839. package/dist/types/components/vega-input-phone-number/assets/flags/ng.d.ts +3 -0
  1840. package/dist/types/components/vega-input-phone-number/assets/flags/ni.d.ts +3 -0
  1841. package/dist/types/components/vega-input-phone-number/assets/flags/nl.d.ts +3 -0
  1842. package/dist/types/components/vega-input-phone-number/assets/flags/no.d.ts +3 -0
  1843. package/dist/types/components/vega-input-phone-number/assets/flags/np.d.ts +3 -0
  1844. package/dist/types/components/vega-input-phone-number/assets/flags/nr.d.ts +3 -0
  1845. package/dist/types/components/vega-input-phone-number/assets/flags/nu.d.ts +3 -0
  1846. package/dist/types/components/vega-input-phone-number/assets/flags/nz.d.ts +3 -0
  1847. package/dist/types/components/vega-input-phone-number/assets/flags/om.d.ts +3 -0
  1848. package/dist/types/components/vega-input-phone-number/assets/flags/pa.d.ts +3 -0
  1849. package/dist/types/components/vega-input-phone-number/assets/flags/pe.d.ts +3 -0
  1850. package/dist/types/components/vega-input-phone-number/assets/flags/pf.d.ts +3 -0
  1851. package/dist/types/components/vega-input-phone-number/assets/flags/pg.d.ts +3 -0
  1852. package/dist/types/components/vega-input-phone-number/assets/flags/ph.d.ts +3 -0
  1853. package/dist/types/components/vega-input-phone-number/assets/flags/pk.d.ts +3 -0
  1854. package/dist/types/components/vega-input-phone-number/assets/flags/pl.d.ts +3 -0
  1855. package/dist/types/components/vega-input-phone-number/assets/flags/pm.d.ts +3 -0
  1856. package/dist/types/components/vega-input-phone-number/assets/flags/pr.d.ts +3 -0
  1857. package/dist/types/components/vega-input-phone-number/assets/flags/ps.d.ts +3 -0
  1858. package/dist/types/components/vega-input-phone-number/assets/flags/pt.d.ts +3 -0
  1859. package/dist/types/components/vega-input-phone-number/assets/flags/pw.d.ts +3 -0
  1860. package/dist/types/components/vega-input-phone-number/assets/flags/py.d.ts +3 -0
  1861. package/dist/types/components/vega-input-phone-number/assets/flags/qa.d.ts +3 -0
  1862. package/dist/types/components/vega-input-phone-number/assets/flags/re.d.ts +3 -0
  1863. package/dist/types/components/vega-input-phone-number/assets/flags/ro.d.ts +3 -0
  1864. package/dist/types/components/vega-input-phone-number/assets/flags/rs.d.ts +3 -0
  1865. package/dist/types/components/vega-input-phone-number/assets/flags/ru.d.ts +3 -0
  1866. package/dist/types/components/vega-input-phone-number/assets/flags/rw.d.ts +3 -0
  1867. package/dist/types/components/vega-input-phone-number/assets/flags/sa.d.ts +3 -0
  1868. package/dist/types/components/vega-input-phone-number/assets/flags/sb.d.ts +3 -0
  1869. package/dist/types/components/vega-input-phone-number/assets/flags/sc.d.ts +3 -0
  1870. package/dist/types/components/vega-input-phone-number/assets/flags/sd.d.ts +3 -0
  1871. package/dist/types/components/vega-input-phone-number/assets/flags/se.d.ts +3 -0
  1872. package/dist/types/components/vega-input-phone-number/assets/flags/sg.d.ts +3 -0
  1873. package/dist/types/components/vega-input-phone-number/assets/flags/sh.d.ts +3 -0
  1874. package/dist/types/components/vega-input-phone-number/assets/flags/si.d.ts +3 -0
  1875. package/dist/types/components/vega-input-phone-number/assets/flags/sj.d.ts +3 -0
  1876. package/dist/types/components/vega-input-phone-number/assets/flags/sk.d.ts +3 -0
  1877. package/dist/types/components/vega-input-phone-number/assets/flags/sl.d.ts +3 -0
  1878. package/dist/types/components/vega-input-phone-number/assets/flags/sm.d.ts +3 -0
  1879. package/dist/types/components/vega-input-phone-number/assets/flags/sn.d.ts +3 -0
  1880. package/dist/types/components/vega-input-phone-number/assets/flags/so.d.ts +3 -0
  1881. package/dist/types/components/vega-input-phone-number/assets/flags/sr.d.ts +3 -0
  1882. package/dist/types/components/vega-input-phone-number/assets/flags/ss.d.ts +3 -0
  1883. package/dist/types/components/vega-input-phone-number/assets/flags/st.d.ts +3 -0
  1884. package/dist/types/components/vega-input-phone-number/assets/flags/sv.d.ts +3 -0
  1885. package/dist/types/components/vega-input-phone-number/assets/flags/sx.d.ts +3 -0
  1886. package/dist/types/components/vega-input-phone-number/assets/flags/sy.d.ts +3 -0
  1887. package/dist/types/components/vega-input-phone-number/assets/flags/sz.d.ts +3 -0
  1888. package/dist/types/components/vega-input-phone-number/assets/flags/ta.d.ts +3 -0
  1889. package/dist/types/components/vega-input-phone-number/assets/flags/tc.d.ts +3 -0
  1890. package/dist/types/components/vega-input-phone-number/assets/flags/td.d.ts +3 -0
  1891. package/dist/types/components/vega-input-phone-number/assets/flags/tg.d.ts +3 -0
  1892. package/dist/types/components/vega-input-phone-number/assets/flags/th.d.ts +3 -0
  1893. package/dist/types/components/vega-input-phone-number/assets/flags/tj.d.ts +3 -0
  1894. package/dist/types/components/vega-input-phone-number/assets/flags/tk.d.ts +3 -0
  1895. package/dist/types/components/vega-input-phone-number/assets/flags/tl.d.ts +3 -0
  1896. package/dist/types/components/vega-input-phone-number/assets/flags/tm.d.ts +3 -0
  1897. package/dist/types/components/vega-input-phone-number/assets/flags/tn.d.ts +3 -0
  1898. package/dist/types/components/vega-input-phone-number/assets/flags/to.d.ts +3 -0
  1899. package/dist/types/components/vega-input-phone-number/assets/flags/tr.d.ts +3 -0
  1900. package/dist/types/components/vega-input-phone-number/assets/flags/tt.d.ts +3 -0
  1901. package/dist/types/components/vega-input-phone-number/assets/flags/tv.d.ts +3 -0
  1902. package/dist/types/components/vega-input-phone-number/assets/flags/tw.d.ts +3 -0
  1903. package/dist/types/components/vega-input-phone-number/assets/flags/tz.d.ts +3 -0
  1904. package/dist/types/components/vega-input-phone-number/assets/flags/ua.d.ts +3 -0
  1905. package/dist/types/components/vega-input-phone-number/assets/flags/ug.d.ts +3 -0
  1906. package/dist/types/components/vega-input-phone-number/assets/flags/us.d.ts +3 -0
  1907. package/dist/types/components/vega-input-phone-number/assets/flags/uy.d.ts +3 -0
  1908. package/dist/types/components/vega-input-phone-number/assets/flags/uz.d.ts +3 -0
  1909. package/dist/types/components/vega-input-phone-number/assets/flags/va.d.ts +3 -0
  1910. package/dist/types/components/vega-input-phone-number/assets/flags/vc.d.ts +3 -0
  1911. package/dist/types/components/vega-input-phone-number/assets/flags/ve.d.ts +3 -0
  1912. package/dist/types/components/vega-input-phone-number/assets/flags/vg.d.ts +3 -0
  1913. package/dist/types/components/vega-input-phone-number/assets/flags/vi.d.ts +3 -0
  1914. package/dist/types/components/vega-input-phone-number/assets/flags/vn.d.ts +3 -0
  1915. package/dist/types/components/vega-input-phone-number/assets/flags/vu.d.ts +3 -0
  1916. package/dist/types/components/vega-input-phone-number/assets/flags/wf.d.ts +3 -0
  1917. package/dist/types/components/vega-input-phone-number/assets/flags/ws.d.ts +3 -0
  1918. package/dist/types/components/vega-input-phone-number/assets/flags/xk.d.ts +3 -0
  1919. package/dist/types/components/vega-input-phone-number/assets/flags/ye.d.ts +3 -0
  1920. package/dist/types/components/vega-input-phone-number/assets/flags/yt.d.ts +3 -0
  1921. package/dist/types/components/vega-input-phone-number/assets/flags/za.d.ts +3 -0
  1922. package/dist/types/components/vega-input-phone-number/assets/flags/zm.d.ts +3 -0
  1923. package/dist/types/components/vega-input-phone-number/assets/flags/zw.d.ts +3 -0
  1924. package/dist/types/components/vega-input-phone-number/slimmers/controllers/country-select-controller.d.ts +36 -0
  1925. package/dist/types/components/vega-input-phone-number/slimmers/controllers/vega-input-phone-number-value-controller.d.ts +80 -0
  1926. package/dist/types/components/vega-input-phone-number/slimmers/renderers/country-select-renderer.d.ts +77 -0
  1927. package/dist/types/components/vega-input-phone-number/slimmers/renderers/phone-number-input-renderer.d.ts +37 -0
  1928. package/dist/types/components/vega-input-phone-number/slimmers/renderers/vega-input-phone-number-renderer.d.ts +27 -0
  1929. package/dist/types/components/vega-input-phone-number/types.d.ts +13 -0
  1930. package/dist/types/components/vega-input-phone-number/vega-input-phone-number.d.ts +143 -0
  1931. package/dist/types/components/vega-input-range/slimmers/controllers/vega-input-range-value-controller.d.ts +40 -0
  1932. package/dist/types/components/vega-input-range/slimmers/renderers/vega-input-range-clear-icon-renderer.d.ts +25 -0
  1933. package/dist/types/components/vega-input-range/slimmers/renderers/vega-input-range-input-renderer.d.ts +64 -0
  1934. package/dist/types/components/vega-input-range/slimmers/renderers/vega-input-range-renderer.d.ts +36 -0
  1935. package/dist/types/components/vega-input-range/types.d.ts +5 -0
  1936. package/dist/types/components/vega-input-range/vega-input-range.d.ts +169 -0
  1937. package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-dropdown-controller.d.ts +21 -0
  1938. package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-items-slot-controler.d.ts +19 -0
  1939. package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-lazy-load-controller.d.ts +28 -0
  1940. package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-source-controller.d.ts +29 -0
  1941. package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-value-controller.d.ts +31 -0
  1942. package/dist/types/components/vega-input-select/slimmers/renderers/vega-input-select-dropdown-renderer.d.ts +37 -0
  1943. package/dist/types/components/vega-input-select/slimmers/renderers/vega-input-select-renderer.d.ts +15 -0
  1944. package/dist/types/components/vega-input-select/types.d.ts +36 -0
  1945. package/dist/types/components/vega-input-select/vega-input-select.d.ts +217 -0
  1946. package/dist/types/components/vega-item-toggle/types.d.ts +8 -0
  1947. package/dist/types/components/vega-item-toggle/vega-item-toggle.d.ts +57 -0
  1948. package/dist/types/components/vega-loader-wrapper/vega-loader-wrapper.d.ts +11 -0
  1949. package/dist/types/components/vega-loading-indicator/types.d.ts +1 -0
  1950. package/dist/types/components/vega-loading-indicator/vega-loading-indicator.d.ts +78 -0
  1951. package/dist/types/components/vega-modal/slimmers/controllers/vega-nested-modal-controller.d.ts +17 -0
  1952. package/dist/types/components/vega-modal/types.d.ts +2 -0
  1953. package/dist/types/components/vega-modal/vega-modal.d.ts +294 -0
  1954. package/dist/types/components/vega-nav/interface.d.ts +36 -0
  1955. package/dist/types/components/vega-nav/slimmers/renderers/vega-nav-list-renderer.d.ts +12 -0
  1956. package/dist/types/components/vega-nav/slimmers/vega-nav-observer-slimmer.d.ts +24 -0
  1957. package/dist/types/components/vega-nav/vega-left-nav/assets/icons.d.ts +4 -0
  1958. package/dist/types/components/vega-nav/vega-left-nav/internal/vega-left-nav-separator.d.ts +2 -0
  1959. package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-auto-collapse-controller.d.ts +13 -0
  1960. package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-backdrop-controller.d.ts +27 -0
  1961. package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-open-state-controller.d.ts +35 -0
  1962. package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-zindex-controller.d.ts +13 -0
  1963. package/dist/types/components/vega-nav/vega-left-nav/slimmers/renderers/vega-left-nav-footer-renderer.d.ts +10 -0
  1964. package/dist/types/components/vega-nav/vega-left-nav/slimmers/renderers/vega-left-nav-header-renderer.d.ts +10 -0
  1965. package/dist/types/components/vega-nav/vega-left-nav/vega-left-nav.d.ts +100 -0
  1966. package/dist/types/components/vega-nav/vega-left-nav-group/slimmers/controllers/vega-left-nav-group-controller.d.ts +11 -0
  1967. package/dist/types/components/vega-nav/vega-left-nav-group/slimmers/renderers/vega-left-nav-group-renderer.d.ts +16 -0
  1968. package/dist/types/components/vega-nav/vega-left-nav-group/vega-left-nav-group.d.ts +37 -0
  1969. package/dist/types/components/vega-nav/vega-left-nav-link/slimmers/controllers/vega-left-nav-link-controller.d.ts +17 -0
  1970. package/dist/types/components/vega-nav/vega-left-nav-link/slimmers/renderers/vega-left-nav-link-renderer.d.ts +19 -0
  1971. package/dist/types/components/vega-nav/vega-left-nav-link/vega-left-nav-link.d.ts +51 -0
  1972. package/dist/types/components/vega-nav/vega-left-nav-section/slimmers/renderers/vega-left-nav-section-renderer.d.ts +9 -0
  1973. package/dist/types/components/vega-nav/vega-left-nav-section/vega-left-nav-section.d.ts +34 -0
  1974. package/dist/types/components/vega-nav/vega-nav-card/slimmers/controllers/vega-nav-card-max-height-controller.d.ts +13 -0
  1975. package/dist/types/components/vega-nav/vega-nav-card/vega-nav-card.d.ts +40 -0
  1976. package/dist/types/components/vega-page-notification/types.d.ts +10 -0
  1977. package/dist/types/components/vega-page-notification/vega-page-notification-list/vega-page-notification-list.d.ts +11 -0
  1978. package/dist/types/components/vega-page-notification/vega-page-notification.d.ts +80 -0
  1979. package/dist/types/components/vega-pagination/internal/vega-pagination-current-page-label.d.ts +10 -0
  1980. package/dist/types/components/vega-pagination/internal/vega-pagination-go-to.d.ts +9 -0
  1981. package/dist/types/components/vega-pagination/internal/vega-pagination-page-selector.d.ts +9 -0
  1982. package/dist/types/components/vega-pagination/internal/vega-pagination-page-size-selector.d.ts +10 -0
  1983. package/dist/types/components/vega-pagination/types.d.ts +1 -0
  1984. package/dist/types/components/vega-pagination/vega-pagination.d.ts +104 -0
  1985. package/dist/types/components/vega-popover/slimmers/controllers/vega-popover-appender-controller.d.ts +17 -0
  1986. package/dist/types/components/vega-popover/slimmers/renderers/vega-popover-appender-renderer.d.ts +24 -0
  1987. package/dist/types/components/vega-popover/vega-popover-content-box/vega-popover-content-box.d.ts +17 -0
  1988. package/dist/types/components/vega-popover/vega-popover.d.ts +120 -0
  1989. package/dist/types/components/vega-progress-tracker/vega-progress-tracker.d.ts +124 -0
  1990. package/dist/types/components/vega-radio/slimmers/controllers/vega-radio-show-error-controller.d.ts +30 -0
  1991. package/dist/types/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-keyboard-controller.d.ts +26 -0
  1992. package/dist/types/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-radio-items-controller.d.ts +40 -0
  1993. package/dist/types/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-value-controller.d.ts +21 -0
  1994. package/dist/types/components/vega-radio/vega-radio-group/vega-radio-group.d.ts +131 -0
  1995. package/dist/types/components/vega-radio/vega-radio.d.ts +152 -0
  1996. package/dist/types/components/vega-section-title/slimmers/renderers/vega-section-title-renderer.d.ts +16 -0
  1997. package/dist/types/components/vega-section-title/vega-section-title.d.ts +41 -0
  1998. package/dist/types/components/vega-segment-control/slimmers/controllers/vega-segment-control-selected-controller.d.ts +16 -0
  1999. package/dist/types/components/vega-segment-control/slimmers/controllers/vega-segment-overflow-controller.d.ts +23 -0
  2000. package/dist/types/components/vega-segment-control/slimmers/renderers/vega-segment-control-renderer.d.ts +7 -0
  2001. package/dist/types/components/vega-segment-control/slimmers/renderers/vega-segment-renderer.d.ts +20 -0
  2002. package/dist/types/components/vega-segment-control/types.d.ts +8 -0
  2003. package/dist/types/components/vega-segment-control/vega-segment-control.d.ts +91 -0
  2004. package/dist/types/components/vega-selection-chip/interface.d.ts +4 -0
  2005. package/dist/types/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-checked-cotroller.d.ts +23 -0
  2006. package/dist/types/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-show-error-controller.d.ts +31 -0
  2007. package/dist/types/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-state-controller.d.ts +13 -0
  2008. package/dist/types/components/vega-selection-chip/slimmers/renderers/vega-selection-chip-renderer.d.ts +26 -0
  2009. package/dist/types/components/vega-selection-chip/vega-selection-chip-group/interface.d.ts +1 -0
  2010. package/dist/types/components/vega-selection-chip/vega-selection-chip-group/slimmers/controllers/vega-selection-chip-group-items-controller.d.ts +72 -0
  2011. package/dist/types/components/vega-selection-chip/vega-selection-chip-group/slimmers/controllers/vega-selection-chip-group-value-controller.d.ts +29 -0
  2012. package/dist/types/components/vega-selection-chip/vega-selection-chip-group/slimmers/renderers/vega-selection-chip-group-renderer.d.ts +15 -0
  2013. package/dist/types/components/vega-selection-chip/vega-selection-chip-group/vega-selection-chip-group.d.ts +104 -0
  2014. package/dist/types/components/vega-selection-chip/vega-selection-chip.d.ts +115 -0
  2015. package/dist/types/components/vega-selection-tile/interface.d.ts +4 -0
  2016. package/dist/types/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-checked-cotroller.d.ts +28 -0
  2017. package/dist/types/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-show-error-controller.d.ts +32 -0
  2018. package/dist/types/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-state-controller.d.ts +15 -0
  2019. package/dist/types/components/vega-selection-tile/slimmers/renderers/vega-selection-tile-renderer.d.ts +24 -0
  2020. package/dist/types/components/vega-selection-tile/vega-selection-tile-group/slimmers/controllers/vega-selection-tile-group-items-controller.d.ts +34 -0
  2021. package/dist/types/components/vega-selection-tile/vega-selection-tile-group/slimmers/controllers/vega-selection-tile-group-value-controller.d.ts +56 -0
  2022. package/dist/types/components/vega-selection-tile/vega-selection-tile-group/slimmers/renderers/vega-selection-tile-group-renderer.d.ts +18 -0
  2023. package/dist/types/components/vega-selection-tile/vega-selection-tile-group/vega-selection-tile-group.d.ts +117 -0
  2024. package/dist/types/components/vega-selection-tile/vega-selection-tile.d.ts +96 -0
  2025. package/dist/types/components/vega-signature-capture/assets/icons.d.ts +4 -0
  2026. package/dist/types/components/vega-signature-capture/slimmers/renderers/vega-signature-capture-renderer.d.ts +7 -0
  2027. package/dist/types/components/vega-signature-capture/slimmers/written-mode/controllers/written-mode-svg-controller.d.ts +89 -0
  2028. package/dist/types/components/vega-signature-capture/slimmers/written-mode/renderers/written-mode-renderer.d.ts +29 -0
  2029. package/dist/types/components/vega-signature-capture/types.d.ts +5 -0
  2030. package/dist/types/components/vega-signature-capture/vega-signature-capture.d.ts +138 -0
  2031. package/dist/types/components/vega-skeleton/interface.d.ts +5 -0
  2032. package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-ellipse-renderer.d.ts +12 -0
  2033. package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-full-width-paragraph-renderer.d.ts +11 -0
  2034. package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-image-renderer.d.ts +12 -0
  2035. package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-paragraph-renderer.d.ts +12 -0
  2036. package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-renderer-base.abstract.d.ts +13 -0
  2037. package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-renderer-manager.d.ts +21 -0
  2038. package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-table-renderer.d.ts +14 -0
  2039. package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-text-renderer.d.ts +11 -0
  2040. package/dist/types/components/vega-skeleton/vega-skeleton.d.ts +52 -0
  2041. package/dist/types/components/vega-slot-container/vega-slot-container.d.ts +11 -0
  2042. package/dist/types/components/vega-stepper/vega-stepper.d.ts +128 -0
  2043. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-page-index-controller.d.ts +31 -0
  2044. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-pages-controller.d.ts +83 -0
  2045. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-panel-controller.d.ts +57 -0
  2046. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-selected-target-controller.d.ts +19 -0
  2047. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-slider-state-controller.d.ts +50 -0
  2048. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-close-button-renderer.d.ts +10 -0
  2049. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-content-renderer.d.ts +6 -0
  2050. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-direction-button-renderer.d.ts +18 -0
  2051. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-renderer.d.ts +16 -0
  2052. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.d.ts +26 -0
  2053. package/dist/types/components/vega-tab-group/types.d.ts +19 -0
  2054. package/dist/types/components/vega-tab-group/vega-tab-group-panel/vega-tab-group-panel.d.ts +34 -0
  2055. package/dist/types/components/vega-tab-group/vega-tab-group.d.ts +131 -0
  2056. package/dist/types/components/vega-table/interface.d.ts +221 -0
  2057. package/dist/types/components/vega-table/internal/vega-table-scrollable-container.d.ts +8 -0
  2058. package/dist/types/components/vega-table/slimmers/controllers/vega-table-children-controller.d.ts +62 -0
  2059. package/dist/types/components/vega-table/slimmers/controllers/vega-table-data-source-controller.d.ts +90 -0
  2060. package/dist/types/components/vega-table/slimmers/controllers/vega-table-editable-controller.d.ts +114 -0
  2061. package/dist/types/components/vega-table/slimmers/controllers/vega-table-expand-row-controller.d.ts +93 -0
  2062. package/dist/types/components/vega-table/slimmers/controllers/vega-table-pagination-controller.d.ts +37 -0
  2063. package/dist/types/components/vega-table/slimmers/controllers/vega-table-render-mode-controller.d.ts +34 -0
  2064. package/dist/types/components/vega-table/slimmers/controllers/vega-table-row-selection-controller.d.ts +160 -0
  2065. package/dist/types/components/vega-table/slimmers/controllers/vega-table-sort-controller.d.ts +37 -0
  2066. package/dist/types/components/vega-table/slimmers/controllers/vega-table-sorter.d.ts +33 -0
  2067. package/dist/types/components/vega-table/slimmers/renderers/vega-table-body-renderer.d.ts +18 -0
  2068. package/dist/types/components/vega-table/slimmers/renderers/vega-table-cell-renderer.d.ts +25 -0
  2069. package/dist/types/components/vega-table/slimmers/renderers/vega-table-col-group-renderer.d.ts +10 -0
  2070. package/dist/types/components/vega-table/slimmers/renderers/vega-table-header-renderer.d.ts +12 -0
  2071. package/dist/types/components/vega-table/slimmers/renderers/vega-table-pagination-renderer.d.ts +24 -0
  2072. package/dist/types/components/vega-table/slimmers/renderers/vega-table-renderer.d.ts +24 -0
  2073. package/dist/types/components/vega-table/slimmers/renderers/vega-table-row-renderer.d.ts +12 -0
  2074. package/dist/types/components/vega-table/slimmers/renderers/vega-table-scroll-container-renderer.d.ts +10 -0
  2075. package/dist/types/components/vega-table/test/utils.d.ts +9 -0
  2076. package/dist/types/components/vega-table/test/vega-table-sorter.test.d.ts +1 -0
  2077. package/dist/types/components/vega-table/type-guard.d.ts +14 -0
  2078. package/dist/types/components/vega-table/utils.d.ts +25 -0
  2079. package/dist/types/components/vega-table/vega-table-body/vega-table-body.d.ts +13 -0
  2080. package/dist/types/components/vega-table/vega-table-cell/slimmers/controllers/vega-table-cell-state-controller.d.ts +9 -0
  2081. package/dist/types/components/vega-table/vega-table-cell/vega-table-cell.d.ts +52 -0
  2082. package/dist/types/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-col-span-controller.d.ts +32 -0
  2083. package/dist/types/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-expand-controller.d.ts +26 -0
  2084. package/dist/types/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-selection-controller.d.ts +19 -0
  2085. package/dist/types/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-state-controller.d.ts +12 -0
  2086. package/dist/types/components/vega-table/vega-table-expand-row/slimmers/renderers/vega-table-expand-row-renderer.d.ts +9 -0
  2087. package/dist/types/components/vega-table/vega-table-expand-row/types.d.ts +3 -0
  2088. package/dist/types/components/vega-table/vega-table-expand-row/vega-table-expand-row.d.ts +49 -0
  2089. package/dist/types/components/vega-table/vega-table-head/slimmers/controllers/vega-table-head-state-controller.d.ts +10 -0
  2090. package/dist/types/components/vega-table/vega-table-head/types.d.ts +4 -0
  2091. package/dist/types/components/vega-table/vega-table-head/vega-table-head.d.ts +22 -0
  2092. package/dist/types/components/vega-table/vega-table-head-cell/slimmers/controllers/vega-table-head-cell-state-controller.d.ts +9 -0
  2093. package/dist/types/components/vega-table/vega-table-head-cell/slimmers/renderers/sort-icon-renderer.d.ts +8 -0
  2094. package/dist/types/components/vega-table/vega-table-head-cell/vega-table-head-cell.d.ts +80 -0
  2095. package/dist/types/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-controller.d.ts +22 -0
  2096. package/dist/types/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-state-controller.d.ts +22 -0
  2097. package/dist/types/components/vega-table/vega-table-head-row/slimmers/renderers/vega-table-head-row-renderer.d.ts +30 -0
  2098. package/dist/types/components/vega-table/vega-table-head-row/types.d.ts +5 -0
  2099. package/dist/types/components/vega-table/vega-table-head-row/vega-table-head-row.d.ts +70 -0
  2100. package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-click-controller.d.ts +33 -0
  2101. package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-expand-controller.d.ts +29 -0
  2102. package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-selection-controller.d.ts +37 -0
  2103. package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-state-controller.d.ts +30 -0
  2104. package/dist/types/components/vega-table/vega-table-row/slimmers/renderers/vega-table-row-renderer.d.ts +31 -0
  2105. package/dist/types/components/vega-table/vega-table-row/types.d.ts +7 -0
  2106. package/dist/types/components/vega-table/vega-table-row/vega-table-row.d.ts +104 -0
  2107. package/dist/types/components/vega-table/vega-table.d.ts +500 -0
  2108. package/dist/types/components/vega-text/slimmers/renderers/vega-text-tooltip-renderer.d.ts +63 -0
  2109. package/dist/types/components/vega-text/types.d.ts +3 -0
  2110. package/dist/types/components/vega-text/vega-text.d.ts +34 -0
  2111. package/dist/types/components/vega-textarea/vega-textarea.d.ts +167 -0
  2112. package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-dropdown-selected-items-controller.d.ts +78 -0
  2113. package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-input-mask-controller.d.ts +13 -0
  2114. package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-keyboard-controller.d.ts +28 -0
  2115. package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-range-dropdown-controller.d.ts +29 -0
  2116. package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-single-dropdown-controller.d.ts +56 -0
  2117. package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-value-controller.d.ts +82 -0
  2118. package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-label-renderer.d.ts +16 -0
  2119. package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-clear-button-renderer.d.ts +18 -0
  2120. package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-dropdown-renderer.d.ts +70 -0
  2121. package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-input-renderer.d.ts +57 -0
  2122. package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-dropdown-renderer.d.ts +46 -0
  2123. package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-input-renderer.d.ts +43 -0
  2124. package/dist/types/components/vega-time-picker/types.d.ts +21 -0
  2125. package/dist/types/components/vega-time-picker/vega-time-picker-dropdown/vega-time-picker-dropdown.d.ts +11 -0
  2126. package/dist/types/components/vega-time-picker/vega-time-picker.d.ts +179 -0
  2127. package/dist/types/components/vega-toggle-switch/vega-toggle-switch.d.ts +103 -0
  2128. package/dist/types/components/vega-tooltip/slimmers/controllers/vega-tooltip-element-appender-controller.d.ts +30 -0
  2129. package/dist/types/components/vega-tooltip/slimmers/renderers/vega-tooltip-content-box-renderer.d.ts +7 -0
  2130. package/dist/types/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.d.ts +17 -0
  2131. package/dist/types/components/vega-tooltip/vega-tooltip.d.ts +105 -0
  2132. package/dist/types/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-mode-controller.d.ts +34 -0
  2133. package/dist/types/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-position-controller.d.ts +88 -0
  2134. package/dist/types/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-scrollable-controller.d.ts +97 -0
  2135. package/dist/types/components/vega-virtual-scroll/slimmers/renderers/vega-virtual-scroll-loading-indicator-renderer.d.ts +10 -0
  2136. package/dist/types/components/vega-virtual-scroll/slimmers/renderers/vega-virtual-scroll-renderer.d.ts +16 -0
  2137. package/dist/types/components/vega-virtual-scroll/types.d.ts +14 -0
  2138. package/dist/types/components/vega-virtual-scroll/vega-virtual-scroll.d.ts +76 -0
  2139. package/dist/types/components.d.ts +8916 -0
  2140. package/dist/types/constants/card-config.d.ts +8 -0
  2141. package/dist/types/constants/locale.d.ts +5 -0
  2142. package/dist/types/constants/misc.d.ts +6 -0
  2143. package/dist/types/constants/public-api.d.ts +9 -0
  2144. package/dist/types/constants/regex.d.ts +6 -0
  2145. package/dist/types/constants/runtime-metrics-payload-definition/public-api/IconManager/runtime-metrics-payload-definition.d.ts +2 -0
  2146. package/dist/types/constants/runtime-metrics-payload-definition/public-api/ThemeManager/runtime-metrics-payload-definition.d.ts +2 -0
  2147. package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaDialogController/runtime-metrics-payload-definition.d.ts +2 -0
  2148. package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaEventManager/runtime-metrics-payload-definition.d.ts +2 -0
  2149. package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaLoaderController/runtime-metrics-payload-definition.d.ts +2 -0
  2150. package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaNotifyController/runtime-metrics-payload-definition.d.ts +2 -0
  2151. package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaSkeletonLoader/runtime-metrics-payload-definition.d.ts +2 -0
  2152. package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaTranslation/runtime-metrics-payload-definition.d.ts +2 -0
  2153. package/dist/types/constants/runtime-metrics-payload-definition/public-api/WaitForVegaHandler/runtime-metrics-payload-definition.d.ts +2 -0
  2154. package/dist/types/constants/runtime-metrics-payload-definition/public-api/zindex-manager/runtime-metrics-payload-definition.d.ts +2 -0
  2155. package/dist/types/constants/runtime-metrics-payload-definition/vega-button-circle/runtime-metrics-payload-definition.d.ts +2 -0
  2156. package/dist/types/constants/runtime-metrics-payload-definition/vega-button-group/runtime-metrics-payload-definition.d.ts +2 -0
  2157. package/dist/types/constants/runtime-metrics-payload-definition/vega-button-link/runtime-metrics-payload-definition.d.ts +2 -0
  2158. package/dist/types/constants/runtime-metrics-payload-definition/vega-card/runtime-metrics-payload-definition.d.ts +2 -0
  2159. package/dist/types/constants/runtime-metrics-payload-definition/vega-carousel/runtime-metrics-payload-definition.d.ts +2 -0
  2160. package/dist/types/constants/runtime-metrics-payload-definition/vega-chip/runtime-metrics-payload-definition.d.ts +2 -0
  2161. package/dist/types/constants/runtime-metrics-payload-definition/vega-color-picker/runtime-metrics-payload-definition.d.ts +2 -0
  2162. package/dist/types/constants/runtime-metrics-payload-definition/vega-combo-box/runtime-metrics-payload-definition.d.ts +2 -0
  2163. package/dist/types/constants/runtime-metrics-payload-definition/vega-date-picker/runtime-metrics-payload-definition.d.ts +2 -0
  2164. package/dist/types/constants/runtime-metrics-payload-definition/vega-dropdown/runtime-metrics-payload-definition.d.ts +2 -0
  2165. package/dist/types/constants/runtime-metrics-payload-definition/vega-flex/runtime-metrics-payload-definition.d.ts +2 -0
  2166. package/dist/types/constants/runtime-metrics-payload-definition/vega-font/runtime-metrics-payload-definition.d.ts +2 -0
  2167. package/dist/types/constants/runtime-metrics-payload-definition/vega-image-uploader/runtime-metrics-payload-definition.d.ts +2 -0
  2168. package/dist/types/constants/runtime-metrics-payload-definition/vega-input/runtime-metrics-payload-definition.d.ts +2 -0
  2169. package/dist/types/constants/runtime-metrics-payload-definition/vega-input-credit-card/runtime-metrics-payload-definition.d.ts +2 -0
  2170. package/dist/types/constants/runtime-metrics-payload-definition/vega-input-select/runtime-metrics-payload-definition.d.ts +2 -0
  2171. package/dist/types/constants/runtime-metrics-payload-definition/vega-item-toggle/runtime-metrics-payload-definition.d.ts +2 -0
  2172. package/dist/types/constants/runtime-metrics-payload-definition/vega-left-nav/runtime-metrics-payload-definition.d.ts +2 -0
  2173. package/dist/types/constants/runtime-metrics-payload-definition/vega-loading-indicator/runtime-metrics-payload-definition.d.ts +2 -0
  2174. package/dist/types/constants/runtime-metrics-payload-definition/vega-modal/runtime-metrics-payload-definition.d.ts +2 -0
  2175. package/dist/types/constants/runtime-metrics-payload-definition/vega-nav-card/runtime-metrics-payload-definition.d.ts +2 -0
  2176. package/dist/types/constants/runtime-metrics-payload-definition/vega-progress-tracker/runtime-metrics-payload-definition.d.ts +2 -0
  2177. package/dist/types/constants/runtime-metrics-payload-definition/vega-stepper/runtime-metrics-payload-definition.d.ts +2 -0
  2178. package/dist/types/constants/runtime-metrics-payload-definition/vega-tab-group/runtime-metrics-payload-definition.d.ts +2 -0
  2179. package/dist/types/constants/runtime-metrics-payload-definition/vega-table/runtime-metrics-payload-definition.d.ts +2 -0
  2180. package/dist/types/constants/runtime-metrics-payload-definition/vega-textarea/runtime-metrics-payload-definition.d.ts +2 -0
  2181. package/dist/types/constants/runtime-metrics-payload-definition/vega-time-picker/runtime-metrics-payload-definition.d.ts +2 -0
  2182. package/dist/types/constants/runtime-metrics-payload-definition/vega-tooltip/runtime-metrics-payload-definition.d.ts +2 -0
  2183. package/dist/types/constants/tests/validator.test.d.ts +1 -0
  2184. package/dist/types/constants/tokens/border-radius.d.ts +3 -0
  2185. package/dist/types/constants/tokens/borders.d.ts +4 -0
  2186. package/dist/types/constants/tokens/breakpoints.d.ts +3 -0
  2187. package/dist/types/constants/tokens/colors-mapping.d.ts +6 -0
  2188. package/dist/types/constants/tokens/colors.d.ts +193 -0
  2189. package/dist/types/constants/tokens/icons.d.ts +2 -0
  2190. package/dist/types/constants/tokens/overridable-border-tokens.d.ts +31 -0
  2191. package/dist/types/constants/tokens/overridable-color-tokens.d.ts +31 -0
  2192. package/dist/types/constants/tokens/overridable-ring-tokens.d.ts +31 -0
  2193. package/dist/types/constants/tokens/rings.d.ts +1 -0
  2194. package/dist/types/constants/tokens/shadows.d.ts +4 -0
  2195. package/dist/types/constants/tokens/spacing.d.ts +3 -0
  2196. package/dist/types/constants/tokens/tailwind.extend.d.ts +27 -0
  2197. package/dist/types/constants/tokens/themes/dark-mode-border-tokens.d.ts +1 -0
  2198. package/dist/types/constants/tokens/themes/dark-mode-color-tokens.d.ts +1 -0
  2199. package/dist/types/constants/tokens/themes/dark-mode-ring-tokens.d.ts +1 -0
  2200. package/dist/types/constants/tokens/themes/dark-mode-shadow-tokens.d.ts +1 -0
  2201. package/dist/types/constants/tokens/typography.d.ts +10 -0
  2202. package/dist/types/constants/ui.d.ts +16 -0
  2203. package/dist/types/constants/validator.d.ts +5 -0
  2204. package/dist/types/decorators/method-decorators/component-load-required.d.ts +9 -0
  2205. package/dist/types/decorators/method-decorators/tests/component-load-required.test.d.ts +1 -0
  2206. package/dist/types/decorators/property-decorators/inject-element-appender.d.ts +24 -0
  2207. package/dist/types/decorators/property-decorators/inject-keyboard-manager.d.ts +12 -0
  2208. package/dist/types/decorators/property-decorators/tests/inject-element-appender-proxy.test.d.ts +1 -0
  2209. package/dist/types/decorators/property-decorators/tests/inject-keyboard-manager.test.d.ts +1 -0
  2210. package/dist/types/global/icons/arrow-rotate-right.d.ts +3 -0
  2211. package/dist/types/global/icons/arrow-up-arrow-down.d.ts +3 -0
  2212. package/dist/types/global/icons/arrow-up-from-line.d.ts +3 -0
  2213. package/dist/types/global/icons/chevron-down.d.ts +3 -0
  2214. package/dist/types/global/icons/chevron-left.d.ts +3 -0
  2215. package/dist/types/global/icons/chevron-right.d.ts +3 -0
  2216. package/dist/types/global/icons/chevron-up.d.ts +3 -0
  2217. package/dist/types/global/icons/circle-arrow-down.d.ts +3 -0
  2218. package/dist/types/global/icons/circle-arrow-up.d.ts +3 -0
  2219. package/dist/types/global/icons/circle-check-regular.d.ts +3 -0
  2220. package/dist/types/global/icons/circle-check.d.ts +3 -0
  2221. package/dist/types/global/icons/circle-info.d.ts +3 -0
  2222. package/dist/types/global/icons/circle-question.d.ts +3 -0
  2223. package/dist/types/global/icons/circle-xmark.d.ts +3 -0
  2224. package/dist/types/global/icons/trash-can.d.ts +3 -0
  2225. package/dist/types/global/icons/triangle-exclamation.d.ts +3 -0
  2226. package/dist/types/global/icons/xmark-large.d.ts +3 -0
  2227. package/dist/types/global/scripts/before-vega-load.d.ts +5 -0
  2228. package/dist/types/global/tests/before-vega-load.test.d.ts +1 -0
  2229. package/dist/types/helpers/calendar/calendar-date.d.ts +69 -0
  2230. package/dist/types/helpers/calendar/calendar-event.d.ts +182 -0
  2231. package/dist/types/helpers/calendar/calendar-period/calendar-period.abstract.d.ts +88 -0
  2232. package/dist/types/helpers/calendar/calendar-period/day-period.d.ts +29 -0
  2233. package/dist/types/helpers/calendar/calendar-period/month-period.d.ts +34 -0
  2234. package/dist/types/helpers/calendar/calendar-period/week-period.d.ts +23 -0
  2235. package/dist/types/helpers/calendar/calendar-view-generator/calendar-view-generator.abstract.d.ts +35 -0
  2236. package/dist/types/helpers/calendar/calendar-view-generator/day-view-generator.d.ts +12 -0
  2237. package/dist/types/helpers/calendar/calendar-view-generator/month-view-generator.d.ts +12 -0
  2238. package/dist/types/helpers/calendar/calendar-view-generator/week-view-generator.d.ts +12 -0
  2239. package/dist/types/helpers/calendar/calendar-view.d.ts +21 -0
  2240. package/dist/types/helpers/calendar/index.d.ts +10 -0
  2241. package/dist/types/helpers/calendar/test/calendar-date.test.d.ts +1 -0
  2242. package/dist/types/helpers/calendar/test/calendar-event.test.d.ts +1 -0
  2243. package/dist/types/helpers/calendar/test/calendar-period/day-period.test.d.ts +1 -0
  2244. package/dist/types/helpers/calendar/test/calendar-period/month-period.test.d.ts +1 -0
  2245. package/dist/types/helpers/calendar/test/calendar-period/week-period.test.d.ts +1 -0
  2246. package/dist/types/helpers/calendar/test/calendar-view-generator/day-view-generator.test.d.ts +1 -0
  2247. package/dist/types/helpers/calendar/test/calendar-view-generator/month-view-generator.test.d.ts +1 -0
  2248. package/dist/types/helpers/calendar/test/calendar-view-generator/week-view-generator.test.d.ts +1 -0
  2249. package/dist/types/helpers/calendar/test/calendar-view.test.d.ts +1 -0
  2250. package/dist/types/helpers/calendar/test/index.test.d.ts +1 -0
  2251. package/dist/types/helpers/calendar/test/utils.test.d.ts +1 -0
  2252. package/dist/types/helpers/calendar/utils.d.ts +7 -0
  2253. package/dist/types/helpers/change-manager/change-manager.d.ts +43 -0
  2254. package/dist/types/helpers/change-manager/observer/observer.d.ts +23 -0
  2255. package/dist/types/helpers/change-manager/subject/dom-node-subject/dom-node-subject-factory.d.ts +41 -0
  2256. package/dist/types/helpers/change-manager/subject/dom-node-subject/dom-node-subject-observer-factory.d.ts +20 -0
  2257. package/dist/types/helpers/change-manager/subject/dom-node-subject/dom-node-subject.d.ts +22 -0
  2258. package/dist/types/helpers/change-manager/subject/static-subject/static-subject-title.d.ts +27 -0
  2259. package/dist/types/helpers/change-manager/subject/static-subject/static-subject.d.ts +20 -0
  2260. package/dist/types/helpers/change-manager/subject/subject-interface.d.ts +3 -0
  2261. package/dist/types/helpers/change-manager/test/change-manager.test.d.ts +1 -0
  2262. package/dist/types/helpers/change-manager/test/dom-node-subject-factory.test.d.ts +1 -0
  2263. package/dist/types/helpers/chart/bar-chart.d.ts +30 -0
  2264. package/dist/types/helpers/chart/base-chart.d.ts +61 -0
  2265. package/dist/types/helpers/chart/controllers/chart-dimension-controller.d.ts +80 -0
  2266. package/dist/types/helpers/chart/drawers/arc-path-drawer.d.ts +21 -0
  2267. package/dist/types/helpers/chart/drawers/base-drawer.d.ts +54 -0
  2268. package/dist/types/helpers/chart/drawers/legend-drawer.d.ts +49 -0
  2269. package/dist/types/helpers/chart/drawers/line-drawer.d.ts +11 -0
  2270. package/dist/types/helpers/chart/drawers/path-drawer.d.ts +11 -0
  2271. package/dist/types/helpers/chart/drawers/rect-drawer.d.ts +11 -0
  2272. package/dist/types/helpers/chart/drawers/text-drawer.d.ts +18 -0
  2273. package/dist/types/helpers/chart/drawers/x-axis-drawer.d.ts +13 -0
  2274. package/dist/types/helpers/chart/drawers/y-axis-drawer.d.ts +11 -0
  2275. package/dist/types/helpers/chart/graph-context-factory.d.ts +12 -0
  2276. package/dist/types/helpers/chart/input-processors/format-time-positions-input-processor.d.ts +20 -0
  2277. package/dist/types/helpers/chart/input-processors/horizontal-x-axis-input-processor.d.ts +20 -0
  2278. package/dist/types/helpers/chart/input-processors/horizontal-y-axis-input-processor.d.ts +19 -0
  2279. package/dist/types/helpers/chart/input-processors/input-processor.d.ts +3 -0
  2280. package/dist/types/helpers/chart/input-processors/layout-input-processor.d.ts +23 -0
  2281. package/dist/types/helpers/chart/input-processors/legend-input-processor.d.ts +24 -0
  2282. package/dist/types/helpers/chart/input-processors/line-path-input-processor.d.ts +32 -0
  2283. package/dist/types/helpers/chart/input-processors/pie-chart-arc-path-input-processor.d.ts +15 -0
  2284. package/dist/types/helpers/chart/input-processors/pie-chart-filter-input-processor.d.ts +15 -0
  2285. package/dist/types/helpers/chart/input-processors/pie-chart-radius-input-processor.d.ts +25 -0
  2286. package/dist/types/helpers/chart/input-processors/pie-chart-text-input-processor.d.ts +14 -0
  2287. package/dist/types/helpers/chart/input-processors/processor-chain.d.ts +22 -0
  2288. package/dist/types/helpers/chart/input-processors/sort-positions-input-processor.d.ts +16 -0
  2289. package/dist/types/helpers/chart/input-processors/x-axis-input-processor.d.ts +29 -0
  2290. package/dist/types/helpers/chart/input-processors/x-axis-label-formatter-input-processor.d.ts +37 -0
  2291. package/dist/types/helpers/chart/input-processors/y-axis-input-processor.d.ts +31 -0
  2292. package/dist/types/helpers/chart/interacting-entry-generator/arc-path-hover-generator.d.ts +38 -0
  2293. package/dist/types/helpers/chart/interacting-entry-generator/interacting-entry-generator.d.ts +17 -0
  2294. package/dist/types/helpers/chart/interacting-entry-generator/pie-legend-hover-generator.d.ts +42 -0
  2295. package/dist/types/helpers/chart/interactors/base-interactor.d.ts +54 -0
  2296. package/dist/types/helpers/chart/interactors/canvas-interactor.d.ts +6 -0
  2297. package/dist/types/helpers/chart/interactors/interactor-factory.d.ts +15 -0
  2298. package/dist/types/helpers/chart/interactors/svg-interactor.d.ts +19 -0
  2299. package/dist/types/helpers/chart/line-chart.d.ts +27 -0
  2300. package/dist/types/helpers/chart/pie-chart.d.ts +26 -0
  2301. package/dist/types/helpers/chart/renderers/base-renderer.d.ts +27 -0
  2302. package/dist/types/helpers/chart/renderers/canvas-renderer.d.ts +137 -0
  2303. package/dist/types/helpers/chart/renderers/renderer-factory.d.ts +14 -0
  2304. package/dist/types/helpers/chart/renderers/svg-renderer.d.ts +144 -0
  2305. package/dist/types/helpers/chart/test/controllers/chart-dimension-controller.test.d.ts +1 -0
  2306. package/dist/types/helpers/chart/test/drawers/arc-path-drawer.test.d.ts +1 -0
  2307. package/dist/types/helpers/chart/test/drawers/legend-drawer.test.d.ts +1 -0
  2308. package/dist/types/helpers/chart/test/drawers/line-drawer.test.d.ts +1 -0
  2309. package/dist/types/helpers/chart/test/drawers/path-drawer.test.d.ts +1 -0
  2310. package/dist/types/helpers/chart/test/drawers/rect-drawer.test.d.ts +1 -0
  2311. package/dist/types/helpers/chart/test/drawers/text-drawer.test.d.ts +1 -0
  2312. package/dist/types/helpers/chart/test/drawers/x-axis-drawer.test.d.ts +1 -0
  2313. package/dist/types/helpers/chart/test/drawers/y-axis-drawer.test.d.ts +1 -0
  2314. package/dist/types/helpers/chart/test/graph-context-factory.test.d.ts +1 -0
  2315. package/dist/types/helpers/chart/test/input-processors/format-time-positions-input-processor.test.d.ts +1 -0
  2316. package/dist/types/helpers/chart/test/input-processors/horizontal-x-axis-input-processor.test.d.ts +1 -0
  2317. package/dist/types/helpers/chart/test/input-processors/horizontal-y-axis-input-processor.test.d.ts +1 -0
  2318. package/dist/types/helpers/chart/test/input-processors/layout-input-processor.test.d.ts +1 -0
  2319. package/dist/types/helpers/chart/test/input-processors/line-path-input-processor.test.d.ts +1 -0
  2320. package/dist/types/helpers/chart/test/input-processors/pie-chart-filter-input-processor.test.d.ts +1 -0
  2321. package/dist/types/helpers/chart/test/input-processors/pie-chart-radius-input-processor.test.d.ts +1 -0
  2322. package/dist/types/helpers/chart/test/input-processors/sort-positions-input-processor.test.d.ts +1 -0
  2323. package/dist/types/helpers/chart/test/input-processors/x-axis-input-processor.test.d.ts +1 -0
  2324. package/dist/types/helpers/chart/test/input-processors/x-axis-label-formatter-input-processor.test.d.ts +1 -0
  2325. package/dist/types/helpers/chart/test/input-processors/y-axis-input-processor.test.d.ts +1 -0
  2326. package/dist/types/helpers/chart/test/interacting-entry-generator/arc-path-hover-generator.test.d.ts +1 -0
  2327. package/dist/types/helpers/chart/test/interacting-entry-generator/pie-legend-hover-generator.test.d.ts +1 -0
  2328. package/dist/types/helpers/chart/test/interactors/interactor-factory.test.d.ts +1 -0
  2329. package/dist/types/helpers/chart/test/interactors/svg-interactor.test.d.ts +1 -0
  2330. package/dist/types/helpers/chart/test/line-chart.test.d.ts +1 -0
  2331. package/dist/types/helpers/chart/test/pie-chart.test.d.ts +1 -0
  2332. package/dist/types/helpers/chart/test/renderers/canvas-renderer.test.d.ts +1 -0
  2333. package/dist/types/helpers/chart/test/renderers/renderer-factory.test.d.ts +1 -0
  2334. package/dist/types/helpers/chart/test/renderers/svg-renderer.test.d.ts +1 -0
  2335. package/dist/types/helpers/common/index.d.ts +7 -0
  2336. package/dist/types/helpers/common/test/common.test.d.ts +1 -0
  2337. package/dist/types/helpers/common/test/wait-for-vega-handler.test.d.ts +1 -0
  2338. package/dist/types/helpers/common/wait-for-vega-handler.d.ts +19 -0
  2339. package/dist/types/helpers/dialog/test/vega-dialog-controller.test.d.ts +1 -0
  2340. package/dist/types/helpers/dialog/vega-dialog-controller.d.ts +30 -0
  2341. package/dist/types/helpers/event-manager/event-delegated/base-strategy.d.ts +60 -0
  2342. package/dist/types/helpers/event-manager/event-delegated/jquery-delegated-event-strategy.d.ts +7 -0
  2343. package/dist/types/helpers/event-manager/event-delegated/jquery-delegated-strategy-controller.d.ts +44 -0
  2344. package/dist/types/helpers/event-manager/event-delegated/vega-button-click-strategy.d.ts +16 -0
  2345. package/dist/types/helpers/event-manager/event-delegated/vega-checkbox-change-strategy.d.ts +15 -0
  2346. package/dist/types/helpers/event-manager/event-delegated/vega-input-select-change-strategy.d.ts +15 -0
  2347. package/dist/types/helpers/event-manager/event-delegated/vega-input-strategy.d.ts +23 -0
  2348. package/dist/types/helpers/event-manager/event-delegated/vega-radio-change-strategy.d.ts +15 -0
  2349. package/dist/types/helpers/event-manager/event-delegated/vega-textarea-change-strategy.d.ts +14 -0
  2350. package/dist/types/helpers/event-manager/event-id/component-event-id-map.d.ts +3 -0
  2351. package/dist/types/helpers/event-manager/event-id/vega-event-id-interface.d.ts +3 -0
  2352. package/dist/types/helpers/event-manager/event-id/vega-event-id.d.ts +92 -0
  2353. package/dist/types/helpers/event-manager/event-id/vega-internal-event-id.d.ts +31 -0
  2354. package/dist/types/helpers/event-manager/internal-vega-event-manager.d.ts +63 -0
  2355. package/dist/types/helpers/event-manager/slimmers/child-nodes-event-prevent-slimmer.d.ts +86 -0
  2356. package/dist/types/helpers/event-manager/slimmers/child-nodes-notify-observer-slimmer.d.ts +47 -0
  2357. package/dist/types/helpers/event-manager/slimmers/event-emit-handlers/event-emit-handler.d.ts +7 -0
  2358. package/dist/types/helpers/event-manager/slimmers/event-emit-handlers/jquery-delegated-event-emit-handler.d.ts +33 -0
  2359. package/dist/types/helpers/event-manager/slimmers/event-emit-handlers/native-event-emit-handler.d.ts +25 -0
  2360. package/dist/types/helpers/event-manager/slimmers/event-emit-handlers/vega-event-emit-handler.d.ts +25 -0
  2361. package/dist/types/helpers/event-manager/slimmers/event-emit-slimmer.d.ts +63 -0
  2362. package/dist/types/helpers/event-manager/test/child-nodes-event-prevent-slimmer.test.d.ts +1 -0
  2363. package/dist/types/helpers/event-manager/test/child-nodes-notify-observer-slimmer.test.d.ts +1 -0
  2364. package/dist/types/helpers/event-manager/test/component-event-id-map.test.d.ts +1 -0
  2365. package/dist/types/helpers/event-manager/test/event-emit-slimmer.test.d.ts +1 -0
  2366. package/dist/types/helpers/event-manager/test/internal-vega-event-manager.test.d.ts +1 -0
  2367. package/dist/types/helpers/event-manager/test/jquery-delegated-strategy-controller.test.d.ts +1 -0
  2368. package/dist/types/helpers/event-manager/test/vega-event-id.test.d.ts +1 -0
  2369. package/dist/types/helpers/event-manager/test/vega-event-manager.test.d.ts +1 -0
  2370. package/dist/types/helpers/event-manager/vega-event-manager.d.ts +43 -0
  2371. package/dist/types/helpers/feature-control/feature-flag-controller.d.ts +82 -0
  2372. package/dist/types/helpers/feature-control/feature-flag.d.ts +53 -0
  2373. package/dist/types/helpers/feature-control/feature-flags-map.d.ts +3 -0
  2374. package/dist/types/helpers/feature-control/tests/feature-flag-controller.test.d.ts +1 -0
  2375. package/dist/types/helpers/formatter/responsive-map-formatter/responsiv-border-radius-formatter.d.ts +27 -0
  2376. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-box-display-formatter.d.ts +19 -0
  2377. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-class-string-formatter.d.ts +17 -0
  2378. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-custom-formatter.d.ts +20 -0
  2379. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-display-formatter.d.ts +19 -0
  2380. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-flex-align-item-formatter.d.ts +19 -0
  2381. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-flex-direction-formatter.d.ts +19 -0
  2382. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-flex-justify-content-formatter.d.ts +31 -0
  2383. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-flex-wrap-formatter.d.ts +19 -0
  2384. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-format-facade.d.ts +31 -0
  2385. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-formatter.d.ts +5 -0
  2386. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-gap-formatter.d.ts +19 -0
  2387. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-grid-columns-formatter.d.ts +19 -0
  2388. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-grid-rows-formatter.d.ts +19 -0
  2389. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-margin-formatter.d.ts +19 -0
  2390. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-padding-formatter.d.ts +19 -0
  2391. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-size-formatter.d.ts +18 -0
  2392. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-text-align-formatter.d.ts +19 -0
  2393. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-translocation-formatter.d.ts +19 -0
  2394. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-width-and-height-formatter.d.ts +21 -0
  2395. package/dist/types/helpers/formatter/state-formatter/state-background-color-formatter.d.ts +32 -0
  2396. package/dist/types/helpers/formatter/state-formatter/state-border-color-formatter.d.ts +31 -0
  2397. package/dist/types/helpers/formatter/state-formatter/state-border-formatter.d.ts +33 -0
  2398. package/dist/types/helpers/formatter/state-formatter/state-format-facade.d.ts +27 -0
  2399. package/dist/types/helpers/formatter/state-formatter/state-formatter.d.ts +3 -0
  2400. package/dist/types/helpers/formatter/state-formatter/state-shadow-formatter.d.ts +28 -0
  2401. package/dist/types/helpers/formatter/state-formatter/state-variant-formatter.d.ts +23 -0
  2402. package/dist/types/helpers/formatter/string-formatter/custom-formatter-strategy.d.ts +47 -0
  2403. package/dist/types/helpers/formatter/string-formatter/number-mask-strategy.d.ts +76 -0
  2404. package/dist/types/helpers/formatter/string-formatter/number-thousand-comma-strategy.d.ts +34 -0
  2405. package/dist/types/helpers/formatter/string-formatter/string-format-strategy.d.ts +12 -0
  2406. package/dist/types/helpers/formatter/string-formatter/string-mask-strategy.d.ts +94 -0
  2407. package/dist/types/helpers/formatter/string-formatter/thousand-comma-strategy.d.ts +23 -0
  2408. package/dist/types/helpers/formatter/style-formatter.d.ts +14 -0
  2409. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-formatter.test.d.ts +1 -0
  2410. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-box-display-formatter.test.d.ts +1 -0
  2411. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-custom-formatter.test.d.ts +1 -0
  2412. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-display-formatter.test.d.ts +1 -0
  2413. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-flex-direction-formatter.test.d.ts +1 -0
  2414. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-flex-wrap-formatter.test.d.ts +1 -0
  2415. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-format-mediator.test.d.ts +1 -0
  2416. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-gap-formatter.ts.test.d.ts +1 -0
  2417. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-grid-column-formatter.test.d.ts +1 -0
  2418. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-grid-row-formatter.test.d.ts +1 -0
  2419. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-margin-formatter.test.d.ts +1 -0
  2420. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-padding-formatter.test.d.ts +1 -0
  2421. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-size-formatter.test.d.ts +1 -0
  2422. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-text-align-formatter.test.d.ts +1 -0
  2423. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-translocation-formatter.test.d.ts +1 -0
  2424. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-width-and-height-formatter.test.d.ts +1 -0
  2425. package/dist/types/helpers/formatter/test/state-formatter/state-background-color-formatter.test.d.ts +1 -0
  2426. package/dist/types/helpers/formatter/test/state-formatter/state-border-color-formatter.test.d.ts +1 -0
  2427. package/dist/types/helpers/formatter/test/state-formatter/state-border-formatter.test.d.ts +1 -0
  2428. package/dist/types/helpers/formatter/test/state-formatter/state-format-facade.test.d.ts +1 -0
  2429. package/dist/types/helpers/formatter/test/state-formatter/state-shadow-formatter.test.d.ts +1 -0
  2430. package/dist/types/helpers/formatter/test/string-formatter/custom-formatter-strategy.test.d.ts +1 -0
  2431. package/dist/types/helpers/formatter/test/string-formatter/number-mask-strategy.test.d.ts +1 -0
  2432. package/dist/types/helpers/formatter/test/string-formatter/number-thousand-comma-mask-strategy.test.d.ts +1 -0
  2433. package/dist/types/helpers/formatter/test/string-formatter/string-mask-strategy.test.d.ts +1 -0
  2434. package/dist/types/helpers/formatter/test/string-formatter/thousand-comma-strategy.test.d.ts +1 -0
  2435. package/dist/types/helpers/formatter/test/style-formatter.test.d.ts +1 -0
  2436. package/dist/types/helpers/icon/icon-manager.d.ts +35 -0
  2437. package/dist/types/helpers/icon/interface.d.ts +10 -0
  2438. package/dist/types/helpers/icon/internal-icon-manager.d.ts +30 -0
  2439. package/dist/types/helpers/icon/test/icon-manager-controller.test.d.ts +1 -0
  2440. package/dist/types/helpers/icon/test/internal-icon-manager.test.d.ts +1 -0
  2441. package/dist/types/helpers/immutable/immutable-map.d.ts +78 -0
  2442. package/dist/types/helpers/immutable/immutable-set.d.ts +65 -0
  2443. package/dist/types/helpers/immutable/immutable.d.ts +3 -0
  2444. package/dist/types/helpers/immutable/test/immutable-map.test.d.ts +1 -0
  2445. package/dist/types/helpers/immutable/test/immutable-set.test.d.ts +1 -0
  2446. package/dist/types/helpers/keyboard/keyboard-manager.d.ts +60 -0
  2447. package/dist/types/helpers/keyboard/test/keyboard-manager.test.d.ts +1 -0
  2448. package/dist/types/helpers/level-tracker/nested-level-tracker.d.ts +36 -0
  2449. package/dist/types/helpers/level-tracker/test/nested-level-tracker.test.d.ts +1 -0
  2450. package/dist/types/helpers/loading-indicator/tests/vega-loader-controller.test.d.ts +1 -0
  2451. package/dist/types/helpers/loading-indicator/vega-loader-controller.d.ts +55 -0
  2452. package/dist/types/helpers/loading-indicator/vega-loader.d.ts +17 -0
  2453. package/dist/types/helpers/notify/tests/vega-notify-controller.test.d.ts +1 -0
  2454. package/dist/types/helpers/notify/vega-notify-controller.d.ts +54 -0
  2455. package/dist/types/helpers/notify/vega-notify.d.ts +13 -0
  2456. package/dist/types/helpers/paginator/test/value-paginator.test.d.ts +1 -0
  2457. package/dist/types/helpers/paginator/value-paginator.d.ts +45 -0
  2458. package/dist/types/helpers/public-api.d.ts +17 -0
  2459. package/dist/types/helpers/queue/queue.d.ts +4 -0
  2460. package/dist/types/helpers/queue/synchronize-task-queue.d.ts +24 -0
  2461. package/dist/types/helpers/queue/test/synchronize-task-queue.test.d.ts +1 -0
  2462. package/dist/types/helpers/remote-invocation/remote-invocation-registry.d.ts +39 -0
  2463. package/dist/types/helpers/remote-invocation/remote-invocation-registry.test.d.ts +1 -0
  2464. package/dist/types/helpers/skeleton-loader/interface.d.ts +16 -0
  2465. package/dist/types/helpers/skeleton-loader/tests/vega-skeleton-loader-controller.test.d.ts +1 -0
  2466. package/dist/types/helpers/skeleton-loader/vega-skeleton-loader-controller.d.ts +54 -0
  2467. package/dist/types/helpers/slimmers/component-global-style-slimmer.d.ts +33 -0
  2468. package/dist/types/helpers/slimmers/component-usage-runtime-metrics.d.ts +43 -0
  2469. package/dist/types/helpers/slimmers/deprecated-property-slimmer.d.ts +34 -0
  2470. package/dist/types/helpers/slimmers/element-appender-container/default-wrapper.d.ts +20 -0
  2471. package/dist/types/helpers/slimmers/element-appender-container/element-appender-container-controller.d.ts +33 -0
  2472. package/dist/types/helpers/slimmers/element-appender-container/position-relative-to-wrapper.d.ts +22 -0
  2473. package/dist/types/helpers/slimmers/element-appender-container/vega-modal-wrapper.d.ts +35 -0
  2474. package/dist/types/helpers/slimmers/element-appender-container/vega-popover-wrapper.d.ts +22 -0
  2475. package/dist/types/helpers/slimmers/element-appender-slimmer.d.ts +56 -0
  2476. package/dist/types/helpers/slimmers/field-error-controller-silmmer.d.ts +31 -0
  2477. package/dist/types/helpers/slimmers/field-error-ui-controller-slimmer.d.ts +54 -0
  2478. package/dist/types/helpers/slimmers/field-error-ui-controller-strategies/field-error-ui-controller-strategy.d.ts +6 -0
  2479. package/dist/types/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-error-label-container-retrieval-strategy.d.ts +16 -0
  2480. package/dist/types/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-nested-error-container-retrieval-strategy.d.ts +15 -0
  2481. package/dist/types/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-self-retrieval-strategy.d.ts +14 -0
  2482. package/dist/types/helpers/slimmers/form-field-controller-slimmer.d.ts +106 -0
  2483. package/dist/types/helpers/slimmers/form-field-valid-invoke-slimmer.d.ts +22 -0
  2484. package/dist/types/helpers/slimmers/global/vega-translate-observer-slimmer.d.ts +19 -0
  2485. package/dist/types/helpers/slimmers/global/vega-watch-method-cancel-slimmer.d.ts +39 -0
  2486. package/dist/types/helpers/slimmers/keyboard-manager-slimmer.d.ts +13 -0
  2487. package/dist/types/helpers/slimmers/mutation-observer/mutation-observer-filters.d.ts +30 -0
  2488. package/dist/types/helpers/slimmers/mutation-observer/mutation-observer-slimmer.d.ts +48 -0
  2489. package/dist/types/helpers/slimmers/mutation-observer/test/mutation-observer-slimmer.test.d.ts +1 -0
  2490. package/dist/types/helpers/slimmers/page-resize-observer-slimmer.d.ts +63 -0
  2491. package/dist/types/helpers/slimmers/runtime-metrics/create-public-api-runtime-metrics-slimmer.d.ts +16 -0
  2492. package/dist/types/helpers/slimmers/runtime-metrics/public-api-runtime-metrics-slimmer-base.d.ts +48 -0
  2493. package/dist/types/helpers/slimmers/runtime-metrics/test/public-api-runtime-metrics-slimmer-base.test.d.ts +1 -0
  2494. package/dist/types/helpers/slimmers/string-input-formatter-slimmer.d.ts +84 -0
  2495. package/dist/types/helpers/slimmers/sub-state/sub-state-notify-slimmer-base.d.ts +32 -0
  2496. package/dist/types/helpers/slimmers/sub-state/sub-state-notify-slimmer.d.ts +12 -0
  2497. package/dist/types/helpers/slimmers/sub-state/sub-state-observer-slimmer.d.ts +76 -0
  2498. package/dist/types/helpers/slimmers/sub-state/test/sub-state-observer-slimmer.test.d.ts +1 -0
  2499. package/dist/types/helpers/slimmers/test/component-global-style-slimmer.test.d.ts +1 -0
  2500. package/dist/types/helpers/slimmers/test/component-usage-runtime-metrics.test.d.ts +1 -0
  2501. package/dist/types/helpers/slimmers/test/deprecated-property-slimmer.test.d.ts +1 -0
  2502. package/dist/types/helpers/slimmers/test/element-appender-slimmer.test.d.ts +1 -0
  2503. package/dist/types/helpers/slimmers/test/field-error-controller-slimmer.test.d.ts +1 -0
  2504. package/dist/types/helpers/slimmers/test/form-field-controller-slimmer.test.d.ts +1 -0
  2505. package/dist/types/helpers/slimmers/test/form-field-valid-invoke-slimmer.test.d.ts +1 -0
  2506. package/dist/types/helpers/slimmers/test/global/vega-watch-method-cancel-slimmer.test.d.ts +1 -0
  2507. package/dist/types/helpers/slimmers/test/keyboard-manager-slimmer.test.d.ts +1 -0
  2508. package/dist/types/helpers/slimmers/test/page-resize-observer-slimmer.test.d.ts +1 -0
  2509. package/dist/types/helpers/slimmers/test/string-input-formatter-slimmer.test.d.ts +1 -0
  2510. package/dist/types/helpers/slimmers/test/translation-slimmer.test.d.ts +1 -0
  2511. package/dist/types/helpers/slimmers/translation/index.d.ts +1 -0
  2512. package/dist/types/helpers/slimmers/translation/translation-slimmer.d.ts +22 -0
  2513. package/dist/types/helpers/slimmers/types.d.ts +5 -0
  2514. package/dist/types/helpers/theme/controllers/color-schema-overriding-controller.d.ts +41 -0
  2515. package/dist/types/helpers/theme/controllers/dark-mode-style-controller.d.ts +17 -0
  2516. package/dist/types/helpers/theme/tests/theme-manager-controller.test.d.ts +1 -0
  2517. package/dist/types/helpers/theme/theme-manager.d.ts +40 -0
  2518. package/dist/types/helpers/theme/theme.d.ts +18 -0
  2519. package/dist/types/helpers/touch-helper/test/touch-listener.test.d.ts +1 -0
  2520. package/dist/types/helpers/touch-helper/touch-listener.d.ts +90 -0
  2521. package/dist/types/helpers/translation/index.d.ts +4 -0
  2522. package/dist/types/helpers/translation/interface.d.ts +90 -0
  2523. package/dist/types/helpers/translation/internal-translation-controller.d.ts +58 -0
  2524. package/dist/types/helpers/translation/locales/en.d.ts +5 -0
  2525. package/dist/types/helpers/translation/tests/internal-translation-controller.test.d.ts +1 -0
  2526. package/dist/types/helpers/translation/tests/translation.test.d.ts +1 -0
  2527. package/dist/types/helpers/translation/translation.d.ts +33 -0
  2528. package/dist/types/helpers/ui/element-appender.d.ts +154 -0
  2529. package/dist/types/helpers/ui/test/element-appender.test.d.ts +1 -0
  2530. package/dist/types/helpers/validator/form-field-controller.d.ts +244 -0
  2531. package/dist/types/helpers/validator/form-validator.d.ts +8 -0
  2532. package/dist/types/helpers/validator/rules/check-box-required-rule.d.ts +40 -0
  2533. package/dist/types/helpers/validator/rules/date-range-rule.d.ts +37 -0
  2534. package/dist/types/helpers/validator/rules/date-required-rule.d.ts +51 -0
  2535. package/dist/types/helpers/validator/rules/email-field-rule.d.ts +39 -0
  2536. package/dist/types/helpers/validator/rules/file-uploader-required-rule.d.ts +13 -0
  2537. package/dist/types/helpers/validator/rules/form-field-validation-rule.d.ts +25 -0
  2538. package/dist/types/helpers/validator/rules/input-phone-number-required-rule.d.ts +40 -0
  2539. package/dist/types/helpers/validator/rules/input-range-min-and-max-rule.d.ts +63 -0
  2540. package/dist/types/helpers/validator/rules/input-range-required-rule.d.ts +38 -0
  2541. package/dist/types/helpers/validator/rules/max-number-rule.d.ts +50 -0
  2542. package/dist/types/helpers/validator/rules/max-string-length-rule.d.ts +50 -0
  2543. package/dist/types/helpers/validator/rules/min-and-max-date-rule.d.ts +79 -0
  2544. package/dist/types/helpers/validator/rules/min-number-rule.d.ts +50 -0
  2545. package/dist/types/helpers/validator/rules/min-string-length-rule.d.ts +50 -0
  2546. package/dist/types/helpers/validator/rules/required-field-rule.d.ts +45 -0
  2547. package/dist/types/helpers/validator/rules/time-range-required-rule.d.ts +49 -0
  2548. package/dist/types/helpers/validator/rules/time-range-rule.d.ts +56 -0
  2549. package/dist/types/helpers/validator/rules/time-required-rule.d.ts +49 -0
  2550. package/dist/types/helpers/validator/rules/toggle-switch-required-rule.d.ts +38 -0
  2551. package/dist/types/helpers/validator/rules/valid-credit-card-number-rule.d.ts +109 -0
  2552. package/dist/types/helpers/validator/rules/valid-phone-number-rule.d.ts +74 -0
  2553. package/dist/types/helpers/validator/rules/validation-rule.d.ts +22 -0
  2554. package/dist/types/helpers/validator/test/rules/check-box-required-rule.test.d.ts +1 -0
  2555. package/dist/types/helpers/validator/test/rules/custom-validation-rule.test.d.ts +1 -0
  2556. package/dist/types/helpers/validator/test/rules/date-range-rule.test.d.ts +1 -0
  2557. package/dist/types/helpers/validator/test/rules/date-required-rule.test.d.ts +1 -0
  2558. package/dist/types/helpers/validator/test/rules/email-field-rule.test.d.ts +1 -0
  2559. package/dist/types/helpers/validator/test/rules/file-uploader-required-rule.test.d.ts +1 -0
  2560. package/dist/types/helpers/validator/test/rules/input-phone-number-required-rule.test.d.ts +1 -0
  2561. package/dist/types/helpers/validator/test/rules/input-range-min-and-max-rule.test.d.ts +1 -0
  2562. package/dist/types/helpers/validator/test/rules/input-range-required-rule.test.d.ts +1 -0
  2563. package/dist/types/helpers/validator/test/rules/max-number-rule.test.d.ts +1 -0
  2564. package/dist/types/helpers/validator/test/rules/max-string-length-rule.test.d.ts +1 -0
  2565. package/dist/types/helpers/validator/test/rules/min-and-max-date-rule.test.d.ts +1 -0
  2566. package/dist/types/helpers/validator/test/rules/min-number-rule.test.d.ts +1 -0
  2567. package/dist/types/helpers/validator/test/rules/min-string-length-rule.test.d.ts +1 -0
  2568. package/dist/types/helpers/validator/test/rules/required-field-rule.test.d.ts +1 -0
  2569. package/dist/types/helpers/validator/test/rules/time-range-required-rule.test.d.ts +1 -0
  2570. package/dist/types/helpers/validator/test/rules/time-range-rule.test.d.ts +1 -0
  2571. package/dist/types/helpers/validator/test/rules/time-required-rule.test.d.ts +1 -0
  2572. package/dist/types/helpers/validator/test/rules/toggle-switch-required-rule.test.d.ts +1 -0
  2573. package/dist/types/helpers/validator/test/rules/valid-credit-card-number-rule.test.d.ts +1 -0
  2574. package/dist/types/helpers/validator/test/rules/valid-phone-number-rule.test.d.ts +1 -0
  2575. package/dist/types/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler-chain.test.d.ts +1 -0
  2576. package/dist/types/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler.test.d.ts +1 -0
  2577. package/dist/types/helpers/validator/test/validator/form-field-controller.test.d.ts +1 -0
  2578. package/dist/types/helpers/validator/validation-rule-handler/form-field-validation-rule-handler-chain.d.ts +57 -0
  2579. package/dist/types/helpers/validator/validation-rule-handler/form-field-validation-rule-handler.d.ts +47 -0
  2580. package/dist/types/helpers/validator/validator.d.ts +8 -0
  2581. package/dist/types/helpers/vega-telemetry-helper/test/vega-env-manager.test.d.ts +1 -0
  2582. package/dist/types/helpers/vega-telemetry-helper/vega-env-manager.d.ts +30 -0
  2583. package/dist/types/helpers/zindex/internal-vega-z-index-manager.d.ts +87 -0
  2584. package/dist/types/helpers/zindex/test/internal-vega-z-index-manager.test.d.ts +1 -0
  2585. package/dist/types/helpers/zindex/test/vega-z-index-manager.test.d.ts +1 -0
  2586. package/dist/types/helpers/zindex/vega-z-index-manager.d.ts +22 -0
  2587. package/dist/types/index.d.ts +5 -0
  2588. package/dist/types/polyfill/test-polyfill/e2e/retry.d.ts +8 -0
  2589. package/dist/types/polyfill/test-polyfill/unit/create-touch-event.d.ts +11 -0
  2590. package/dist/types/polyfill/test-polyfill/unit/events.d.ts +1 -0
  2591. package/dist/types/polyfill/test-polyfill/unit/index.d.ts +2 -0
  2592. package/dist/types/polyfill/test-polyfill/unit/methods.d.ts +1 -0
  2593. package/dist/types/stencil-public-runtime.d.ts +1565 -0
  2594. package/dist/types/test-assets/test-icons.d.ts +4 -0
  2595. package/dist/types/types/class.type.d.ts +8 -0
  2596. package/dist/types/types/components.type.d.ts +192 -0
  2597. package/dist/types/types/design-token.type.d.ts +21 -0
  2598. package/dist/types/types/general.d.ts +7 -0
  2599. package/dist/types/types/public-api.d.ts +17 -0
  2600. package/dist/types/types/test/type-guard.test.d.ts +1 -0
  2601. package/dist/types/types/test-polyfill.d.ts +8 -0
  2602. package/dist/types/types/type-guard.d.ts +284 -0
  2603. package/dist/types/types/ui.type.d.ts +152 -0
  2604. package/dist/types/types/vega-chart.d.ts +149 -0
  2605. package/dist/types/utils/accessibility.d.ts +6 -0
  2606. package/dist/types/utils/api.d.ts +35 -0
  2607. package/dist/types/utils/array.d.ts +100 -0
  2608. package/dist/types/utils/breakpoints.d.ts +27 -0
  2609. package/dist/types/utils/component.d.ts +34 -0
  2610. package/dist/types/utils/date.d.ts +54 -0
  2611. package/dist/types/utils/design-token.d.ts +115 -0
  2612. package/dist/types/utils/e2e-utils.d.ts +139 -0
  2613. package/dist/types/utils/effect.d.ts +30 -0
  2614. package/dist/types/utils/local-storage.d.ts +14 -0
  2615. package/dist/types/utils/log.d.ts +48 -0
  2616. package/dist/types/utils/misc.d.ts +20 -0
  2617. package/dist/types/utils/number.d.ts +58 -0
  2618. package/dist/types/utils/object.d.ts +20 -0
  2619. package/dist/types/utils/pagination.d.ts +13 -0
  2620. package/dist/types/utils/pixel.d.ts +30 -0
  2621. package/dist/types/utils/position.d.ts +17 -0
  2622. package/dist/types/utils/public-api.d.ts +4 -0
  2623. package/dist/types/utils/spec-utils.d.ts +101 -0
  2624. package/dist/types/utils/string.d.ts +7 -0
  2625. package/dist/types/utils/test/accessibility.test.d.ts +1 -0
  2626. package/dist/types/utils/test/api.test.d.ts +1 -0
  2627. package/dist/types/utils/test/array.test.d.ts +1 -0
  2628. package/dist/types/utils/test/breakpoint.test.d.ts +1 -0
  2629. package/dist/types/utils/test/component.test.d.ts +1 -0
  2630. package/dist/types/utils/test/date.test.d.ts +1 -0
  2631. package/dist/types/utils/test/design-token.test.d.ts +1 -0
  2632. package/dist/types/utils/test/effect.test.d.ts +1 -0
  2633. package/dist/types/utils/test/local-storage.test.d.ts +1 -0
  2634. package/dist/types/utils/test/log.test.d.ts +1 -0
  2635. package/dist/types/utils/test/misc.test.d.ts +1 -0
  2636. package/dist/types/utils/test/number.test.d.ts +1 -0
  2637. package/dist/types/utils/test/object.test.d.ts +1 -0
  2638. package/dist/types/utils/test/pagination.test.d.ts +1 -0
  2639. package/dist/types/utils/test/pixel.test.d.ts +1 -0
  2640. package/dist/types/utils/test/position.test.d.ts +1 -0
  2641. package/dist/types/utils/test/spec-utils.test.d.ts +1 -0
  2642. package/dist/types/utils/test/string.test.d.ts +1 -0
  2643. package/dist/types/utils/test/test-utils.test.d.ts +1 -0
  2644. package/dist/types/utils/test/timer.test.d.ts +1 -0
  2645. package/dist/types/utils/test/ui.test.d.ts +1 -0
  2646. package/dist/types/utils/test-utils.d.ts +65 -0
  2647. package/dist/types/utils/timer.d.ts +11 -0
  2648. package/dist/types/utils/ui.d.ts +108 -0
  2649. package/dist/types/value-model-adapters/angular-ng-model-accessor-adapter.d.ts +2 -0
  2650. package/dist/types/value-model-adapters/vue-component-v-model-adaptor.d.ts +2 -0
  2651. package/dist/types/vega-slimmer/src/common/helpers/dynamic-slimmer.d.ts +37 -0
  2652. package/dist/types/vega-slimmer/src/common/helpers/global-slimmer-registry.d.ts +12 -0
  2653. package/dist/types/vega-slimmer/src/common/symbols/decorator.d.ts +4 -0
  2654. package/dist/types/vega-slimmer/src/common/types/decorator.type.d.ts +11 -0
  2655. package/dist/types/vega-slimmer/src/common/utils/log.d.ts +25 -0
  2656. package/dist/types/vega-slimmer/src/common/utils/placeholder.d.ts +14 -0
  2657. package/dist/types/vega-slimmer/src/decorators/inject-vega-global-slimmer.d.ts +7 -0
  2658. package/dist/types/vega-slimmer/src/decorators/inject-vega-slimmer.d.ts +22 -0
  2659. package/dist/types/vega-slimmer/src/decorators/inject-vega-telemetry-slimmer.d.ts +15 -0
  2660. package/dist/types/vega-slimmer/src/decorators/map-to-component-field.d.ts +13 -0
  2661. package/dist/types/vega-slimmer/src/decorators/map-to-component-method.d.ts +9 -0
  2662. package/dist/types/vega-slimmer/src/decorators/vega-slimmer.d.ts +5 -0
  2663. package/dist/types/vega-slimmer/vega-slimmer-core.d.ts +10 -0
  2664. package/dist/vega/index.esm.js +1 -0
  2665. package/dist/vega/p-0120ce7a.js +1 -0
  2666. package/dist/vega/p-0395e791.entry.js +1 -0
  2667. package/dist/vega/p-048a97d1.entry.js +1 -0
  2668. package/dist/vega/p-056f448c.entry.js +1 -0
  2669. package/dist/vega/p-063c3ba6.entry.js +1 -0
  2670. package/dist/vega/p-0bb29d98.js +1 -0
  2671. package/dist/vega/p-0c667d6a.js +1 -0
  2672. package/dist/vega/p-0dd750b0.entry.js +1 -0
  2673. package/dist/vega/p-115e5967.js +1 -0
  2674. package/dist/vega/p-128fbe13.entry.js +13 -0
  2675. package/dist/vega/p-152393dd.js +1 -0
  2676. package/dist/vega/p-16493e5b.js +1 -0
  2677. package/dist/vega/p-1bbc62ef.entry.js +1 -0
  2678. package/dist/vega/p-1bc5b3bc.js +1 -0
  2679. package/dist/vega/p-1c298d5a.js +2 -0
  2680. package/dist/vega/p-1e33c6e3.entry.js +1 -0
  2681. package/dist/vega/p-1ea57951.js +1 -0
  2682. package/dist/vega/p-1f38eef6.entry.js +1 -0
  2683. package/dist/vega/p-1fc5373a.entry.js +1 -0
  2684. package/dist/vega/p-22a85055.entry.js +1 -0
  2685. package/dist/vega/p-26d0d411.entry.js +1 -0
  2686. package/dist/vega/p-2d0d575f.js +1 -0
  2687. package/dist/vega/p-319efe6c.js +1 -0
  2688. package/dist/vega/p-331a62d5.js +1 -0
  2689. package/dist/vega/p-33366630.entry.js +1 -0
  2690. package/dist/vega/p-33596687.js +1 -0
  2691. package/dist/vega/p-344ee7cb.js +1 -0
  2692. package/dist/vega/p-34545d2d.entry.js +1 -0
  2693. package/dist/vega/p-365c340d.entry.js +1 -0
  2694. package/dist/vega/p-38d81bde.js +1 -0
  2695. package/dist/vega/p-3a0a4d15.js +1 -0
  2696. package/dist/vega/p-3f5e44c1.js +1 -0
  2697. package/dist/vega/p-3fc59fd3.entry.js +1 -0
  2698. package/dist/vega/p-40f6add9.entry.js +1 -0
  2699. package/dist/vega/p-4163c2c2.js +1 -0
  2700. package/dist/vega/p-41784db1.js +1 -0
  2701. package/dist/vega/p-456416ea.js +1 -0
  2702. package/dist/vega/p-47a4c625.js +1 -0
  2703. package/dist/vega/p-47c87634.js +1 -0
  2704. package/dist/vega/p-4bc042ec.entry.js +1 -0
  2705. package/dist/vega/p-51622ace.entry.js +1 -0
  2706. package/dist/vega/p-51cd2a39.entry.js +1 -0
  2707. package/dist/vega/p-5453f591.js +1 -0
  2708. package/dist/vega/p-573948c2.js +1 -0
  2709. package/dist/vega/p-5915634b.js +1 -0
  2710. package/dist/vega/p-5d231a82.entry.js +1 -0
  2711. package/dist/vega/p-5dc98104.js +1 -0
  2712. package/dist/vega/p-5f377954.js +1 -0
  2713. package/dist/vega/p-6168c1e7.js +1 -0
  2714. package/dist/vega/p-61f6167c.js +1 -0
  2715. package/dist/vega/p-64e8bb64.js +1 -0
  2716. package/dist/vega/p-657df167.entry.js +1 -0
  2717. package/dist/vega/p-68055c2d.entry.js +1 -0
  2718. package/dist/vega/p-6874d6a1.entry.js +1 -0
  2719. package/dist/vega/p-6a334573.js +1 -0
  2720. package/dist/vega/p-6bd5c49b.js +1 -0
  2721. package/dist/vega/p-6c6d86da.js +1 -0
  2722. package/dist/vega/p-6d015656.entry.js +1 -0
  2723. package/dist/vega/p-6e1ab235.js +1 -0
  2724. package/dist/vega/p-6e3cc7f0.entry.js +1 -0
  2725. package/dist/vega/p-74168615.js +1 -0
  2726. package/dist/vega/p-7a1df282.entry.js +1 -0
  2727. package/dist/vega/p-7b40ac07.js +1 -0
  2728. package/dist/vega/p-80c0f98c.entry.js +1 -0
  2729. package/dist/vega/p-810ba5c3.entry.js +1 -0
  2730. package/dist/vega/p-83af8ed7.js +1 -0
  2731. package/dist/vega/p-84118b6d.entry.js +1 -0
  2732. package/dist/vega/p-84fa8466.js +1 -0
  2733. package/dist/vega/p-86194314.js +1 -0
  2734. package/dist/vega/p-880f91fb.js +1 -0
  2735. package/dist/vega/p-8843226a.entry.js +1 -0
  2736. package/dist/vega/p-8b0533c4.entry.js +1 -0
  2737. package/dist/vega/p-8b084bf9.entry.js +1 -0
  2738. package/dist/vega/p-8c72aa56.entry.js +1 -0
  2739. package/dist/vega/p-8f60c3ee.entry.js +1 -0
  2740. package/dist/vega/p-8fd6775a.entry.js +1 -0
  2741. package/dist/vega/p-987fbbd0.js +1 -0
  2742. package/dist/vega/p-9a4ffc2c.entry.js +1 -0
  2743. package/dist/vega/p-9b797118.js +1 -0
  2744. package/dist/vega/p-9ba085c1.entry.js +1 -0
  2745. package/dist/vega/p-9e6934fb.js +1 -0
  2746. package/dist/vega/p-9fbdeada.js +1 -0
  2747. package/dist/vega/p-a10074a8.entry.js +1 -0
  2748. package/dist/vega/p-a10b9f2e.js +12 -0
  2749. package/dist/vega/p-a190c86a.js +1 -0
  2750. package/dist/vega/p-a2169994.entry.js +1 -0
  2751. package/dist/vega/p-a454acc4.entry.js +1 -0
  2752. package/dist/vega/p-a46329bb.js +1 -0
  2753. package/dist/vega/p-a57eed48.entry.js +1 -0
  2754. package/dist/vega/p-a59c221b.entry.js +1 -0
  2755. package/dist/vega/p-a5f80d35.js +1 -0
  2756. package/dist/vega/p-a7fdb16a.js +1 -0
  2757. package/dist/vega/p-a8b1f19c.entry.js +1 -0
  2758. package/dist/vega/p-a901494d.entry.js +1 -0
  2759. package/dist/vega/p-ac0ab38b.js +1 -0
  2760. package/dist/vega/p-acc14aa2.js +1 -0
  2761. package/dist/vega/p-acf8b473.js +1 -0
  2762. package/dist/vega/p-af7a3154.js +1 -0
  2763. package/dist/vega/p-b2053fa8.entry.js +1 -0
  2764. package/dist/vega/p-b4e92130.entry.js +1 -0
  2765. package/dist/vega/p-b5990090.js +1 -0
  2766. package/dist/vega/p-b86e8c8b.entry.js +1 -0
  2767. package/dist/vega/p-b8e42c11.entry.js +1 -0
  2768. package/dist/vega/p-bccacf42.js +1 -0
  2769. package/dist/vega/p-be26b334.entry.js +1 -0
  2770. package/dist/vega/p-be784f53.js +1 -0
  2771. package/dist/vega/p-bf8c1fe3.js +1 -0
  2772. package/dist/vega/p-c1dfdc13.js +1 -0
  2773. package/dist/vega/p-c59042c0.js +1 -0
  2774. package/dist/vega/p-cbeda6ca.entry.js +1 -0
  2775. package/dist/vega/p-d0a83562.entry.js +1 -0
  2776. package/dist/vega/p-d4c85e4e.entry.js +1 -0
  2777. package/dist/vega/p-d4fb2264.entry.js +1 -0
  2778. package/dist/vega/p-d550fc66.entry.js +1 -0
  2779. package/dist/vega/p-d686dd96.entry.js +1 -0
  2780. package/dist/vega/p-da86ba01.js +1 -0
  2781. package/dist/vega/p-ddc70a7b.js +1 -0
  2782. package/dist/vega/p-e2acbc60.js +1 -0
  2783. package/dist/vega/p-ead1a647.js +1 -0
  2784. package/dist/vega/p-ead9a2b9.entry.js +1 -0
  2785. package/dist/vega/p-ec157238.js +1 -0
  2786. package/dist/vega/p-ecfa7534.js +1 -0
  2787. package/dist/vega/p-ed4a57a8.js +1 -0
  2788. package/dist/vega/p-eddcb385.entry.js +1 -0
  2789. package/dist/vega/p-ee68920f.js +1 -0
  2790. package/dist/vega/p-f0ad06bd.entry.js +1 -0
  2791. package/dist/vega/p-f2019f70.entry.js +1 -0
  2792. package/dist/vega/p-f404aa83.js +1 -0
  2793. package/dist/vega/p-f41102cd.js +1 -0
  2794. package/dist/vega/p-f46c930f.js +1 -0
  2795. package/dist/vega/p-f7728ead.entry.js +1 -0
  2796. package/dist/vega/p-f948debe.entry.js +1 -0
  2797. package/dist/vega/p-faea1620.js +1 -0
  2798. package/dist/vega/p-fb6c90d6.js +1 -0
  2799. package/dist/vega/p-fc746bae.entry.js +1 -0
  2800. package/dist/vega/p-fd929ab5.entry.js +1 -0
  2801. package/dist/vega/vega.css +1 -0
  2802. package/dist/vega/vega.esm.js +1 -0
  2803. package/loader/cdn.js +3 -0
  2804. package/loader/index.cjs.js +3 -0
  2805. package/loader/index.d.ts +12 -0
  2806. package/loader/index.es2017.js +3 -0
  2807. package/loader/index.js +4 -0
  2808. package/loader/package.json +10 -0
  2809. package/package.json +130 -0
  2810. package/readme.md +182 -0
  2811. package/style/vega.css +1 -0
@@ -0,0 +1,4756 @@
1
+ 'use strict';
2
+
3
+ const array$2 = require('./array-6e559cde.js');
4
+ const typography = require('./typography-4560e7f1.js');
5
+ const pixel = require('./pixel-98f2a10c.js');
6
+
7
+ /** The GraphContextFactory class provides a method to create and return either a HTMLCanvasElement or SVGElement based on the specified mode and container element. */
8
+ class GraphContextFactory {
9
+ /**
10
+ * This function returns either a HTMLCanvasElement or an SVGElement based on the specified mode and container.
11
+ *
12
+ * @param {ChartGraphMode} mode - A string that specifies the mode of the chart graph. It can be either 'canvas' or 'svg'.
13
+ * @param {HTMLElement} container - HTMLElement - the HTML element that will contain the chart/graph.
14
+ * @returns {SVGElement | HTMLCanvasElement} either a HTMLCanvasElement or an SVGElement depending on the value of the `mode` parameter.
15
+ */
16
+ static get(mode, container) {
17
+ if (mode === 'canvas') {
18
+ const canvas = container.querySelector('canvas');
19
+ let context;
20
+ if (canvas) {
21
+ context = canvas;
22
+ }
23
+ else {
24
+ context = document.createElement('canvas');
25
+ context = container.appendChild(context);
26
+ }
27
+ return context;
28
+ }
29
+ else {
30
+ const svg = container.querySelector('svg');
31
+ let context;
32
+ if (svg) {
33
+ context = svg;
34
+ }
35
+ else {
36
+ context = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
37
+ context = container.appendChild(context);
38
+ }
39
+ return context;
40
+ }
41
+ }
42
+ }
43
+
44
+ /**
45
+ * defining an abstract class called `BaseRenderer` that takes a generic type `T` which
46
+ * can be either an `SVGElement` or a `HTMLCanvasElement`
47
+ */
48
+ class BaseRenderer {
49
+ /**
50
+ * This is a constructor function that takes a parameter of type T and sets it as a protected property called "context".
51
+ *
52
+ * @param {unknown} context - The "context" parameter is a protected property of a class constructor that is
53
+ * of type "T". It is used to store a reference to an object or data that is required by the class
54
+ * methods to perform their tasks
55
+ */
56
+ constructor(context) {
57
+ this.context = context;
58
+ }
59
+ }
60
+
61
+ function identity$1(x) {
62
+ return x;
63
+ }
64
+
65
+ var top = 1,
66
+ right = 2,
67
+ bottom = 3,
68
+ left = 4,
69
+ epsilon$2 = 1e-6;
70
+
71
+ function translateX(x) {
72
+ return "translate(" + x + ",0)";
73
+ }
74
+
75
+ function translateY(y) {
76
+ return "translate(0," + y + ")";
77
+ }
78
+
79
+ function number(scale) {
80
+ return d => +scale(d);
81
+ }
82
+
83
+ function center(scale, offset) {
84
+ offset = Math.max(0, scale.bandwidth() - offset * 2) / 2;
85
+ if (scale.round()) offset = Math.round(offset);
86
+ return d => +scale(d) + offset;
87
+ }
88
+
89
+ function entering() {
90
+ return !this.__axis;
91
+ }
92
+
93
+ function axis(orient, scale) {
94
+ var tickArguments = [],
95
+ tickValues = null,
96
+ tickFormat = null,
97
+ tickSizeInner = 6,
98
+ tickSizeOuter = 6,
99
+ tickPadding = 3,
100
+ offset = typeof window !== "undefined" && window.devicePixelRatio > 1 ? 0 : 0.5,
101
+ k = orient === top || orient === left ? -1 : 1,
102
+ x = orient === left || orient === right ? "x" : "y",
103
+ transform = orient === top || orient === bottom ? translateX : translateY;
104
+
105
+ function axis(context) {
106
+ var values = tickValues == null ? (scale.ticks ? scale.ticks.apply(scale, tickArguments) : scale.domain()) : tickValues,
107
+ format = tickFormat == null ? (scale.tickFormat ? scale.tickFormat.apply(scale, tickArguments) : identity$1) : tickFormat,
108
+ spacing = Math.max(tickSizeInner, 0) + tickPadding,
109
+ range = scale.range(),
110
+ range0 = +range[0] + offset,
111
+ range1 = +range[range.length - 1] + offset,
112
+ position = (scale.bandwidth ? center : number)(scale.copy(), offset),
113
+ selection = context.selection ? context.selection() : context,
114
+ path = selection.selectAll(".domain").data([null]),
115
+ tick = selection.selectAll(".tick").data(values, scale).order(),
116
+ tickExit = tick.exit(),
117
+ tickEnter = tick.enter().append("g").attr("class", "tick"),
118
+ line = tick.select("line"),
119
+ text = tick.select("text");
120
+
121
+ path = path.merge(path.enter().insert("path", ".tick")
122
+ .attr("class", "domain")
123
+ .attr("stroke", "currentColor"));
124
+
125
+ tick = tick.merge(tickEnter);
126
+
127
+ line = line.merge(tickEnter.append("line")
128
+ .attr("stroke", "currentColor")
129
+ .attr(x + "2", k * tickSizeInner));
130
+
131
+ text = text.merge(tickEnter.append("text")
132
+ .attr("fill", "currentColor")
133
+ .attr(x, k * spacing)
134
+ .attr("dy", orient === top ? "0em" : orient === bottom ? "0.71em" : "0.32em"));
135
+
136
+ if (context !== selection) {
137
+ path = path.transition(context);
138
+ tick = tick.transition(context);
139
+ line = line.transition(context);
140
+ text = text.transition(context);
141
+
142
+ tickExit = tickExit.transition(context)
143
+ .attr("opacity", epsilon$2)
144
+ .attr("transform", function(d) { return isFinite(d = position(d)) ? transform(d + offset) : this.getAttribute("transform"); });
145
+
146
+ tickEnter
147
+ .attr("opacity", epsilon$2)
148
+ .attr("transform", function(d) { var p = this.parentNode.__axis; return transform((p && isFinite(p = p(d)) ? p : position(d)) + offset); });
149
+ }
150
+
151
+ tickExit.remove();
152
+
153
+ path
154
+ .attr("d", orient === left || orient === right
155
+ ? (tickSizeOuter ? "M" + k * tickSizeOuter + "," + range0 + "H" + offset + "V" + range1 + "H" + k * tickSizeOuter : "M" + offset + "," + range0 + "V" + range1)
156
+ : (tickSizeOuter ? "M" + range0 + "," + k * tickSizeOuter + "V" + offset + "H" + range1 + "V" + k * tickSizeOuter : "M" + range0 + "," + offset + "H" + range1));
157
+
158
+ tick
159
+ .attr("opacity", 1)
160
+ .attr("transform", function(d) { return transform(position(d) + offset); });
161
+
162
+ line
163
+ .attr(x + "2", k * tickSizeInner);
164
+
165
+ text
166
+ .attr(x, k * spacing)
167
+ .text(format);
168
+
169
+ selection.filter(entering)
170
+ .attr("fill", "none")
171
+ .attr("font-size", 10)
172
+ .attr("font-family", "sans-serif")
173
+ .attr("text-anchor", orient === right ? "start" : orient === left ? "end" : "middle");
174
+
175
+ selection
176
+ .each(function() { this.__axis = position; });
177
+ }
178
+
179
+ axis.scale = function(_) {
180
+ return arguments.length ? (scale = _, axis) : scale;
181
+ };
182
+
183
+ axis.ticks = function() {
184
+ return tickArguments = Array.from(arguments), axis;
185
+ };
186
+
187
+ axis.tickArguments = function(_) {
188
+ return arguments.length ? (tickArguments = _ == null ? [] : Array.from(_), axis) : tickArguments.slice();
189
+ };
190
+
191
+ axis.tickValues = function(_) {
192
+ return arguments.length ? (tickValues = _ == null ? null : Array.from(_), axis) : tickValues && tickValues.slice();
193
+ };
194
+
195
+ axis.tickFormat = function(_) {
196
+ return arguments.length ? (tickFormat = _, axis) : tickFormat;
197
+ };
198
+
199
+ axis.tickSize = function(_) {
200
+ return arguments.length ? (tickSizeInner = tickSizeOuter = +_, axis) : tickSizeInner;
201
+ };
202
+
203
+ axis.tickSizeInner = function(_) {
204
+ return arguments.length ? (tickSizeInner = +_, axis) : tickSizeInner;
205
+ };
206
+
207
+ axis.tickSizeOuter = function(_) {
208
+ return arguments.length ? (tickSizeOuter = +_, axis) : tickSizeOuter;
209
+ };
210
+
211
+ axis.tickPadding = function(_) {
212
+ return arguments.length ? (tickPadding = +_, axis) : tickPadding;
213
+ };
214
+
215
+ axis.offset = function(_) {
216
+ return arguments.length ? (offset = +_, axis) : offset;
217
+ };
218
+
219
+ return axis;
220
+ }
221
+
222
+ function axisBottom(scale) {
223
+ return axis(bottom, scale);
224
+ }
225
+
226
+ function axisLeft(scale) {
227
+ return axis(left, scale);
228
+ }
229
+
230
+ var noop = {value: () => {}};
231
+
232
+ function dispatch() {
233
+ for (var i = 0, n = arguments.length, _ = {}, t; i < n; ++i) {
234
+ if (!(t = arguments[i] + "") || (t in _) || /[\s.]/.test(t)) throw new Error("illegal type: " + t);
235
+ _[t] = [];
236
+ }
237
+ return new Dispatch(_);
238
+ }
239
+
240
+ function Dispatch(_) {
241
+ this._ = _;
242
+ }
243
+
244
+ function parseTypenames$1(typenames, types) {
245
+ return typenames.trim().split(/^|\s+/).map(function(t) {
246
+ var name = "", i = t.indexOf(".");
247
+ if (i >= 0) name = t.slice(i + 1), t = t.slice(0, i);
248
+ if (t && !types.hasOwnProperty(t)) throw new Error("unknown type: " + t);
249
+ return {type: t, name: name};
250
+ });
251
+ }
252
+
253
+ Dispatch.prototype = dispatch.prototype = {
254
+ constructor: Dispatch,
255
+ on: function(typename, callback) {
256
+ var _ = this._,
257
+ T = parseTypenames$1(typename + "", _),
258
+ t,
259
+ i = -1,
260
+ n = T.length;
261
+
262
+ // If no callback was specified, return the callback of the given type and name.
263
+ if (arguments.length < 2) {
264
+ while (++i < n) if ((t = (typename = T[i]).type) && (t = get$1(_[t], typename.name))) return t;
265
+ return;
266
+ }
267
+
268
+ // If a type was specified, set the callback for the given type and name.
269
+ // Otherwise, if a null callback was specified, remove callbacks of the given name.
270
+ if (callback != null && typeof callback !== "function") throw new Error("invalid callback: " + callback);
271
+ while (++i < n) {
272
+ if (t = (typename = T[i]).type) _[t] = set$1(_[t], typename.name, callback);
273
+ else if (callback == null) for (t in _) _[t] = set$1(_[t], typename.name, null);
274
+ }
275
+
276
+ return this;
277
+ },
278
+ copy: function() {
279
+ var copy = {}, _ = this._;
280
+ for (var t in _) copy[t] = _[t].slice();
281
+ return new Dispatch(copy);
282
+ },
283
+ call: function(type, that) {
284
+ if ((n = arguments.length - 2) > 0) for (var args = new Array(n), i = 0, n, t; i < n; ++i) args[i] = arguments[i + 2];
285
+ if (!this._.hasOwnProperty(type)) throw new Error("unknown type: " + type);
286
+ for (t = this._[type], i = 0, n = t.length; i < n; ++i) t[i].value.apply(that, args);
287
+ },
288
+ apply: function(type, that, args) {
289
+ if (!this._.hasOwnProperty(type)) throw new Error("unknown type: " + type);
290
+ for (var t = this._[type], i = 0, n = t.length; i < n; ++i) t[i].value.apply(that, args);
291
+ }
292
+ };
293
+
294
+ function get$1(type, name) {
295
+ for (var i = 0, n = type.length, c; i < n; ++i) {
296
+ if ((c = type[i]).name === name) {
297
+ return c.value;
298
+ }
299
+ }
300
+ }
301
+
302
+ function set$1(type, name, callback) {
303
+ for (var i = 0, n = type.length; i < n; ++i) {
304
+ if (type[i].name === name) {
305
+ type[i] = noop, type = type.slice(0, i).concat(type.slice(i + 1));
306
+ break;
307
+ }
308
+ }
309
+ if (callback != null) type.push({name: name, value: callback});
310
+ return type;
311
+ }
312
+
313
+ var xhtml = "http://www.w3.org/1999/xhtml";
314
+
315
+ const namespaces = {
316
+ svg: "http://www.w3.org/2000/svg",
317
+ xhtml: xhtml,
318
+ xlink: "http://www.w3.org/1999/xlink",
319
+ xml: "http://www.w3.org/XML/1998/namespace",
320
+ xmlns: "http://www.w3.org/2000/xmlns/"
321
+ };
322
+
323
+ function namespace(name) {
324
+ var prefix = name += "", i = prefix.indexOf(":");
325
+ if (i >= 0 && (prefix = name.slice(0, i)) !== "xmlns") name = name.slice(i + 1);
326
+ return namespaces.hasOwnProperty(prefix) ? {space: namespaces[prefix], local: name} : name; // eslint-disable-line no-prototype-builtins
327
+ }
328
+
329
+ function creatorInherit(name) {
330
+ return function() {
331
+ var document = this.ownerDocument,
332
+ uri = this.namespaceURI;
333
+ return uri === xhtml && document.documentElement.namespaceURI === xhtml
334
+ ? document.createElement(name)
335
+ : document.createElementNS(uri, name);
336
+ };
337
+ }
338
+
339
+ function creatorFixed(fullname) {
340
+ return function() {
341
+ return this.ownerDocument.createElementNS(fullname.space, fullname.local);
342
+ };
343
+ }
344
+
345
+ function creator(name) {
346
+ var fullname = namespace(name);
347
+ return (fullname.local
348
+ ? creatorFixed
349
+ : creatorInherit)(fullname);
350
+ }
351
+
352
+ function none() {}
353
+
354
+ function selector(selector) {
355
+ return selector == null ? none : function() {
356
+ return this.querySelector(selector);
357
+ };
358
+ }
359
+
360
+ function selection_select(select) {
361
+ if (typeof select !== "function") select = selector(select);
362
+
363
+ for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {
364
+ for (var group = groups[j], n = group.length, subgroup = subgroups[j] = new Array(n), node, subnode, i = 0; i < n; ++i) {
365
+ if ((node = group[i]) && (subnode = select.call(node, node.__data__, i, group))) {
366
+ if ("__data__" in node) subnode.__data__ = node.__data__;
367
+ subgroup[i] = subnode;
368
+ }
369
+ }
370
+ }
371
+
372
+ return new Selection$1(subgroups, this._parents);
373
+ }
374
+
375
+ // Given something array like (or null), returns something that is strictly an
376
+ // array. This is used to ensure that array-like objects passed to d3.selectAll
377
+ // or selection.selectAll are converted into proper arrays when creating a
378
+ // selection; we don’t ever want to create a selection backed by a live
379
+ // HTMLCollection or NodeList. However, note that selection.selectAll will use a
380
+ // static NodeList as a group, since it safely derived from querySelectorAll.
381
+ function array$1(x) {
382
+ return x == null ? [] : Array.isArray(x) ? x : Array.from(x);
383
+ }
384
+
385
+ function empty() {
386
+ return [];
387
+ }
388
+
389
+ function selectorAll(selector) {
390
+ return selector == null ? empty : function() {
391
+ return this.querySelectorAll(selector);
392
+ };
393
+ }
394
+
395
+ function arrayAll(select) {
396
+ return function() {
397
+ return array$1(select.apply(this, arguments));
398
+ };
399
+ }
400
+
401
+ function selection_selectAll(select) {
402
+ if (typeof select === "function") select = arrayAll(select);
403
+ else select = selectorAll(select);
404
+
405
+ for (var groups = this._groups, m = groups.length, subgroups = [], parents = [], j = 0; j < m; ++j) {
406
+ for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {
407
+ if (node = group[i]) {
408
+ subgroups.push(select.call(node, node.__data__, i, group));
409
+ parents.push(node);
410
+ }
411
+ }
412
+ }
413
+
414
+ return new Selection$1(subgroups, parents);
415
+ }
416
+
417
+ function matcher(selector) {
418
+ return function() {
419
+ return this.matches(selector);
420
+ };
421
+ }
422
+
423
+ function childMatcher(selector) {
424
+ return function(node) {
425
+ return node.matches(selector);
426
+ };
427
+ }
428
+
429
+ var find = Array.prototype.find;
430
+
431
+ function childFind(match) {
432
+ return function() {
433
+ return find.call(this.children, match);
434
+ };
435
+ }
436
+
437
+ function childFirst() {
438
+ return this.firstElementChild;
439
+ }
440
+
441
+ function selection_selectChild(match) {
442
+ return this.select(match == null ? childFirst
443
+ : childFind(typeof match === "function" ? match : childMatcher(match)));
444
+ }
445
+
446
+ var filter = Array.prototype.filter;
447
+
448
+ function children() {
449
+ return Array.from(this.children);
450
+ }
451
+
452
+ function childrenFilter(match) {
453
+ return function() {
454
+ return filter.call(this.children, match);
455
+ };
456
+ }
457
+
458
+ function selection_selectChildren(match) {
459
+ return this.selectAll(match == null ? children
460
+ : childrenFilter(typeof match === "function" ? match : childMatcher(match)));
461
+ }
462
+
463
+ function selection_filter(match) {
464
+ if (typeof match !== "function") match = matcher(match);
465
+
466
+ for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {
467
+ for (var group = groups[j], n = group.length, subgroup = subgroups[j] = [], node, i = 0; i < n; ++i) {
468
+ if ((node = group[i]) && match.call(node, node.__data__, i, group)) {
469
+ subgroup.push(node);
470
+ }
471
+ }
472
+ }
473
+
474
+ return new Selection$1(subgroups, this._parents);
475
+ }
476
+
477
+ function sparse(update) {
478
+ return new Array(update.length);
479
+ }
480
+
481
+ function selection_enter() {
482
+ return new Selection$1(this._enter || this._groups.map(sparse), this._parents);
483
+ }
484
+
485
+ function EnterNode(parent, datum) {
486
+ this.ownerDocument = parent.ownerDocument;
487
+ this.namespaceURI = parent.namespaceURI;
488
+ this._next = null;
489
+ this._parent = parent;
490
+ this.__data__ = datum;
491
+ }
492
+
493
+ EnterNode.prototype = {
494
+ constructor: EnterNode,
495
+ appendChild: function(child) { return this._parent.insertBefore(child, this._next); },
496
+ insertBefore: function(child, next) { return this._parent.insertBefore(child, next); },
497
+ querySelector: function(selector) { return this._parent.querySelector(selector); },
498
+ querySelectorAll: function(selector) { return this._parent.querySelectorAll(selector); }
499
+ };
500
+
501
+ function constant$2(x) {
502
+ return function() {
503
+ return x;
504
+ };
505
+ }
506
+
507
+ function bindIndex(parent, group, enter, update, exit, data) {
508
+ var i = 0,
509
+ node,
510
+ groupLength = group.length,
511
+ dataLength = data.length;
512
+
513
+ // Put any non-null nodes that fit into update.
514
+ // Put any null nodes into enter.
515
+ // Put any remaining data into enter.
516
+ for (; i < dataLength; ++i) {
517
+ if (node = group[i]) {
518
+ node.__data__ = data[i];
519
+ update[i] = node;
520
+ } else {
521
+ enter[i] = new EnterNode(parent, data[i]);
522
+ }
523
+ }
524
+
525
+ // Put any non-null nodes that don’t fit into exit.
526
+ for (; i < groupLength; ++i) {
527
+ if (node = group[i]) {
528
+ exit[i] = node;
529
+ }
530
+ }
531
+ }
532
+
533
+ function bindKey(parent, group, enter, update, exit, data, key) {
534
+ var i,
535
+ node,
536
+ nodeByKeyValue = new Map,
537
+ groupLength = group.length,
538
+ dataLength = data.length,
539
+ keyValues = new Array(groupLength),
540
+ keyValue;
541
+
542
+ // Compute the key for each node.
543
+ // If multiple nodes have the same key, the duplicates are added to exit.
544
+ for (i = 0; i < groupLength; ++i) {
545
+ if (node = group[i]) {
546
+ keyValues[i] = keyValue = key.call(node, node.__data__, i, group) + "";
547
+ if (nodeByKeyValue.has(keyValue)) {
548
+ exit[i] = node;
549
+ } else {
550
+ nodeByKeyValue.set(keyValue, node);
551
+ }
552
+ }
553
+ }
554
+
555
+ // Compute the key for each datum.
556
+ // If there a node associated with this key, join and add it to update.
557
+ // If there is not (or the key is a duplicate), add it to enter.
558
+ for (i = 0; i < dataLength; ++i) {
559
+ keyValue = key.call(parent, data[i], i, data) + "";
560
+ if (node = nodeByKeyValue.get(keyValue)) {
561
+ update[i] = node;
562
+ node.__data__ = data[i];
563
+ nodeByKeyValue.delete(keyValue);
564
+ } else {
565
+ enter[i] = new EnterNode(parent, data[i]);
566
+ }
567
+ }
568
+
569
+ // Add any remaining nodes that were not bound to data to exit.
570
+ for (i = 0; i < groupLength; ++i) {
571
+ if ((node = group[i]) && (nodeByKeyValue.get(keyValues[i]) === node)) {
572
+ exit[i] = node;
573
+ }
574
+ }
575
+ }
576
+
577
+ function datum(node) {
578
+ return node.__data__;
579
+ }
580
+
581
+ function selection_data(value, key) {
582
+ if (!arguments.length) return Array.from(this, datum);
583
+
584
+ var bind = key ? bindKey : bindIndex,
585
+ parents = this._parents,
586
+ groups = this._groups;
587
+
588
+ if (typeof value !== "function") value = constant$2(value);
589
+
590
+ for (var m = groups.length, update = new Array(m), enter = new Array(m), exit = new Array(m), j = 0; j < m; ++j) {
591
+ var parent = parents[j],
592
+ group = groups[j],
593
+ groupLength = group.length,
594
+ data = arraylike(value.call(parent, parent && parent.__data__, j, parents)),
595
+ dataLength = data.length,
596
+ enterGroup = enter[j] = new Array(dataLength),
597
+ updateGroup = update[j] = new Array(dataLength),
598
+ exitGroup = exit[j] = new Array(groupLength);
599
+
600
+ bind(parent, group, enterGroup, updateGroup, exitGroup, data, key);
601
+
602
+ // Now connect the enter nodes to their following update node, such that
603
+ // appendChild can insert the materialized enter node before this node,
604
+ // rather than at the end of the parent node.
605
+ for (var i0 = 0, i1 = 0, previous, next; i0 < dataLength; ++i0) {
606
+ if (previous = enterGroup[i0]) {
607
+ if (i0 >= i1) i1 = i0 + 1;
608
+ while (!(next = updateGroup[i1]) && ++i1 < dataLength);
609
+ previous._next = next || null;
610
+ }
611
+ }
612
+ }
613
+
614
+ update = new Selection$1(update, parents);
615
+ update._enter = enter;
616
+ update._exit = exit;
617
+ return update;
618
+ }
619
+
620
+ // Given some data, this returns an array-like view of it: an object that
621
+ // exposes a length property and allows numeric indexing. Note that unlike
622
+ // selectAll, this isn’t worried about “live” collections because the resulting
623
+ // array will only be used briefly while data is being bound. (It is possible to
624
+ // cause the data to change while iterating by using a key function, but please
625
+ // don’t; we’d rather avoid a gratuitous copy.)
626
+ function arraylike(data) {
627
+ return typeof data === "object" && "length" in data
628
+ ? data // Array, TypedArray, NodeList, array-like
629
+ : Array.from(data); // Map, Set, iterable, string, or anything else
630
+ }
631
+
632
+ function selection_exit() {
633
+ return new Selection$1(this._exit || this._groups.map(sparse), this._parents);
634
+ }
635
+
636
+ function selection_join(onenter, onupdate, onexit) {
637
+ var enter = this.enter(), update = this, exit = this.exit();
638
+ if (typeof onenter === "function") {
639
+ enter = onenter(enter);
640
+ if (enter) enter = enter.selection();
641
+ } else {
642
+ enter = enter.append(onenter + "");
643
+ }
644
+ if (onupdate != null) {
645
+ update = onupdate(update);
646
+ if (update) update = update.selection();
647
+ }
648
+ if (onexit == null) exit.remove(); else onexit(exit);
649
+ return enter && update ? enter.merge(update).order() : update;
650
+ }
651
+
652
+ function selection_merge(context) {
653
+ var selection = context.selection ? context.selection() : context;
654
+
655
+ for (var groups0 = this._groups, groups1 = selection._groups, m0 = groups0.length, m1 = groups1.length, m = Math.min(m0, m1), merges = new Array(m0), j = 0; j < m; ++j) {
656
+ for (var group0 = groups0[j], group1 = groups1[j], n = group0.length, merge = merges[j] = new Array(n), node, i = 0; i < n; ++i) {
657
+ if (node = group0[i] || group1[i]) {
658
+ merge[i] = node;
659
+ }
660
+ }
661
+ }
662
+
663
+ for (; j < m0; ++j) {
664
+ merges[j] = groups0[j];
665
+ }
666
+
667
+ return new Selection$1(merges, this._parents);
668
+ }
669
+
670
+ function selection_order() {
671
+
672
+ for (var groups = this._groups, j = -1, m = groups.length; ++j < m;) {
673
+ for (var group = groups[j], i = group.length - 1, next = group[i], node; --i >= 0;) {
674
+ if (node = group[i]) {
675
+ if (next && node.compareDocumentPosition(next) ^ 4) next.parentNode.insertBefore(node, next);
676
+ next = node;
677
+ }
678
+ }
679
+ }
680
+
681
+ return this;
682
+ }
683
+
684
+ function selection_sort(compare) {
685
+ if (!compare) compare = ascending;
686
+
687
+ function compareNode(a, b) {
688
+ return a && b ? compare(a.__data__, b.__data__) : !a - !b;
689
+ }
690
+
691
+ for (var groups = this._groups, m = groups.length, sortgroups = new Array(m), j = 0; j < m; ++j) {
692
+ for (var group = groups[j], n = group.length, sortgroup = sortgroups[j] = new Array(n), node, i = 0; i < n; ++i) {
693
+ if (node = group[i]) {
694
+ sortgroup[i] = node;
695
+ }
696
+ }
697
+ sortgroup.sort(compareNode);
698
+ }
699
+
700
+ return new Selection$1(sortgroups, this._parents).order();
701
+ }
702
+
703
+ function ascending(a, b) {
704
+ return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
705
+ }
706
+
707
+ function selection_call() {
708
+ var callback = arguments[0];
709
+ arguments[0] = this;
710
+ callback.apply(null, arguments);
711
+ return this;
712
+ }
713
+
714
+ function selection_nodes() {
715
+ return Array.from(this);
716
+ }
717
+
718
+ function selection_node() {
719
+
720
+ for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {
721
+ for (var group = groups[j], i = 0, n = group.length; i < n; ++i) {
722
+ var node = group[i];
723
+ if (node) return node;
724
+ }
725
+ }
726
+
727
+ return null;
728
+ }
729
+
730
+ function selection_size() {
731
+ let size = 0;
732
+ for (const node of this) ++size; // eslint-disable-line no-unused-vars
733
+ return size;
734
+ }
735
+
736
+ function selection_empty() {
737
+ return !this.node();
738
+ }
739
+
740
+ function selection_each(callback) {
741
+
742
+ for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {
743
+ for (var group = groups[j], i = 0, n = group.length, node; i < n; ++i) {
744
+ if (node = group[i]) callback.call(node, node.__data__, i, group);
745
+ }
746
+ }
747
+
748
+ return this;
749
+ }
750
+
751
+ function attrRemove$1(name) {
752
+ return function() {
753
+ this.removeAttribute(name);
754
+ };
755
+ }
756
+
757
+ function attrRemoveNS$1(fullname) {
758
+ return function() {
759
+ this.removeAttributeNS(fullname.space, fullname.local);
760
+ };
761
+ }
762
+
763
+ function attrConstant$1(name, value) {
764
+ return function() {
765
+ this.setAttribute(name, value);
766
+ };
767
+ }
768
+
769
+ function attrConstantNS$1(fullname, value) {
770
+ return function() {
771
+ this.setAttributeNS(fullname.space, fullname.local, value);
772
+ };
773
+ }
774
+
775
+ function attrFunction$1(name, value) {
776
+ return function() {
777
+ var v = value.apply(this, arguments);
778
+ if (v == null) this.removeAttribute(name);
779
+ else this.setAttribute(name, v);
780
+ };
781
+ }
782
+
783
+ function attrFunctionNS$1(fullname, value) {
784
+ return function() {
785
+ var v = value.apply(this, arguments);
786
+ if (v == null) this.removeAttributeNS(fullname.space, fullname.local);
787
+ else this.setAttributeNS(fullname.space, fullname.local, v);
788
+ };
789
+ }
790
+
791
+ function selection_attr(name, value) {
792
+ var fullname = namespace(name);
793
+
794
+ if (arguments.length < 2) {
795
+ var node = this.node();
796
+ return fullname.local
797
+ ? node.getAttributeNS(fullname.space, fullname.local)
798
+ : node.getAttribute(fullname);
799
+ }
800
+
801
+ return this.each((value == null
802
+ ? (fullname.local ? attrRemoveNS$1 : attrRemove$1) : (typeof value === "function"
803
+ ? (fullname.local ? attrFunctionNS$1 : attrFunction$1)
804
+ : (fullname.local ? attrConstantNS$1 : attrConstant$1)))(fullname, value));
805
+ }
806
+
807
+ function defaultView(node) {
808
+ return (node.ownerDocument && node.ownerDocument.defaultView) // node is a Node
809
+ || (node.document && node) // node is a Window
810
+ || node.defaultView; // node is a Document
811
+ }
812
+
813
+ function styleRemove$1(name) {
814
+ return function() {
815
+ this.style.removeProperty(name);
816
+ };
817
+ }
818
+
819
+ function styleConstant$1(name, value, priority) {
820
+ return function() {
821
+ this.style.setProperty(name, value, priority);
822
+ };
823
+ }
824
+
825
+ function styleFunction$1(name, value, priority) {
826
+ return function() {
827
+ var v = value.apply(this, arguments);
828
+ if (v == null) this.style.removeProperty(name);
829
+ else this.style.setProperty(name, v, priority);
830
+ };
831
+ }
832
+
833
+ function selection_style(name, value, priority) {
834
+ return arguments.length > 1
835
+ ? this.each((value == null
836
+ ? styleRemove$1 : typeof value === "function"
837
+ ? styleFunction$1
838
+ : styleConstant$1)(name, value, priority == null ? "" : priority))
839
+ : styleValue(this.node(), name);
840
+ }
841
+
842
+ function styleValue(node, name) {
843
+ return node.style.getPropertyValue(name)
844
+ || defaultView(node).getComputedStyle(node, null).getPropertyValue(name);
845
+ }
846
+
847
+ function propertyRemove(name) {
848
+ return function() {
849
+ delete this[name];
850
+ };
851
+ }
852
+
853
+ function propertyConstant(name, value) {
854
+ return function() {
855
+ this[name] = value;
856
+ };
857
+ }
858
+
859
+ function propertyFunction(name, value) {
860
+ return function() {
861
+ var v = value.apply(this, arguments);
862
+ if (v == null) delete this[name];
863
+ else this[name] = v;
864
+ };
865
+ }
866
+
867
+ function selection_property(name, value) {
868
+ return arguments.length > 1
869
+ ? this.each((value == null
870
+ ? propertyRemove : typeof value === "function"
871
+ ? propertyFunction
872
+ : propertyConstant)(name, value))
873
+ : this.node()[name];
874
+ }
875
+
876
+ function classArray(string) {
877
+ return string.trim().split(/^|\s+/);
878
+ }
879
+
880
+ function classList(node) {
881
+ return node.classList || new ClassList(node);
882
+ }
883
+
884
+ function ClassList(node) {
885
+ this._node = node;
886
+ this._names = classArray(node.getAttribute("class") || "");
887
+ }
888
+
889
+ ClassList.prototype = {
890
+ add: function(name) {
891
+ var i = this._names.indexOf(name);
892
+ if (i < 0) {
893
+ this._names.push(name);
894
+ this._node.setAttribute("class", this._names.join(" "));
895
+ }
896
+ },
897
+ remove: function(name) {
898
+ var i = this._names.indexOf(name);
899
+ if (i >= 0) {
900
+ this._names.splice(i, 1);
901
+ this._node.setAttribute("class", this._names.join(" "));
902
+ }
903
+ },
904
+ contains: function(name) {
905
+ return this._names.indexOf(name) >= 0;
906
+ }
907
+ };
908
+
909
+ function classedAdd(node, names) {
910
+ var list = classList(node), i = -1, n = names.length;
911
+ while (++i < n) list.add(names[i]);
912
+ }
913
+
914
+ function classedRemove(node, names) {
915
+ var list = classList(node), i = -1, n = names.length;
916
+ while (++i < n) list.remove(names[i]);
917
+ }
918
+
919
+ function classedTrue(names) {
920
+ return function() {
921
+ classedAdd(this, names);
922
+ };
923
+ }
924
+
925
+ function classedFalse(names) {
926
+ return function() {
927
+ classedRemove(this, names);
928
+ };
929
+ }
930
+
931
+ function classedFunction(names, value) {
932
+ return function() {
933
+ (value.apply(this, arguments) ? classedAdd : classedRemove)(this, names);
934
+ };
935
+ }
936
+
937
+ function selection_classed(name, value) {
938
+ var names = classArray(name + "");
939
+
940
+ if (arguments.length < 2) {
941
+ var list = classList(this.node()), i = -1, n = names.length;
942
+ while (++i < n) if (!list.contains(names[i])) return false;
943
+ return true;
944
+ }
945
+
946
+ return this.each((typeof value === "function"
947
+ ? classedFunction : value
948
+ ? classedTrue
949
+ : classedFalse)(names, value));
950
+ }
951
+
952
+ function textRemove() {
953
+ this.textContent = "";
954
+ }
955
+
956
+ function textConstant$1(value) {
957
+ return function() {
958
+ this.textContent = value;
959
+ };
960
+ }
961
+
962
+ function textFunction$1(value) {
963
+ return function() {
964
+ var v = value.apply(this, arguments);
965
+ this.textContent = v == null ? "" : v;
966
+ };
967
+ }
968
+
969
+ function selection_text(value) {
970
+ return arguments.length
971
+ ? this.each(value == null
972
+ ? textRemove : (typeof value === "function"
973
+ ? textFunction$1
974
+ : textConstant$1)(value))
975
+ : this.node().textContent;
976
+ }
977
+
978
+ function htmlRemove() {
979
+ this.innerHTML = "";
980
+ }
981
+
982
+ function htmlConstant(value) {
983
+ return function() {
984
+ this.innerHTML = value;
985
+ };
986
+ }
987
+
988
+ function htmlFunction(value) {
989
+ return function() {
990
+ var v = value.apply(this, arguments);
991
+ this.innerHTML = v == null ? "" : v;
992
+ };
993
+ }
994
+
995
+ function selection_html(value) {
996
+ return arguments.length
997
+ ? this.each(value == null
998
+ ? htmlRemove : (typeof value === "function"
999
+ ? htmlFunction
1000
+ : htmlConstant)(value))
1001
+ : this.node().innerHTML;
1002
+ }
1003
+
1004
+ function raise() {
1005
+ if (this.nextSibling) this.parentNode.appendChild(this);
1006
+ }
1007
+
1008
+ function selection_raise() {
1009
+ return this.each(raise);
1010
+ }
1011
+
1012
+ function lower() {
1013
+ if (this.previousSibling) this.parentNode.insertBefore(this, this.parentNode.firstChild);
1014
+ }
1015
+
1016
+ function selection_lower() {
1017
+ return this.each(lower);
1018
+ }
1019
+
1020
+ function selection_append(name) {
1021
+ var create = typeof name === "function" ? name : creator(name);
1022
+ return this.select(function() {
1023
+ return this.appendChild(create.apply(this, arguments));
1024
+ });
1025
+ }
1026
+
1027
+ function constantNull() {
1028
+ return null;
1029
+ }
1030
+
1031
+ function selection_insert(name, before) {
1032
+ var create = typeof name === "function" ? name : creator(name),
1033
+ select = before == null ? constantNull : typeof before === "function" ? before : selector(before);
1034
+ return this.select(function() {
1035
+ return this.insertBefore(create.apply(this, arguments), select.apply(this, arguments) || null);
1036
+ });
1037
+ }
1038
+
1039
+ function remove() {
1040
+ var parent = this.parentNode;
1041
+ if (parent) parent.removeChild(this);
1042
+ }
1043
+
1044
+ function selection_remove() {
1045
+ return this.each(remove);
1046
+ }
1047
+
1048
+ function selection_cloneShallow() {
1049
+ var clone = this.cloneNode(false), parent = this.parentNode;
1050
+ return parent ? parent.insertBefore(clone, this.nextSibling) : clone;
1051
+ }
1052
+
1053
+ function selection_cloneDeep() {
1054
+ var clone = this.cloneNode(true), parent = this.parentNode;
1055
+ return parent ? parent.insertBefore(clone, this.nextSibling) : clone;
1056
+ }
1057
+
1058
+ function selection_clone(deep) {
1059
+ return this.select(deep ? selection_cloneDeep : selection_cloneShallow);
1060
+ }
1061
+
1062
+ function selection_datum(value) {
1063
+ return arguments.length
1064
+ ? this.property("__data__", value)
1065
+ : this.node().__data__;
1066
+ }
1067
+
1068
+ function contextListener(listener) {
1069
+ return function(event) {
1070
+ listener.call(this, event, this.__data__);
1071
+ };
1072
+ }
1073
+
1074
+ function parseTypenames(typenames) {
1075
+ return typenames.trim().split(/^|\s+/).map(function(t) {
1076
+ var name = "", i = t.indexOf(".");
1077
+ if (i >= 0) name = t.slice(i + 1), t = t.slice(0, i);
1078
+ return {type: t, name: name};
1079
+ });
1080
+ }
1081
+
1082
+ function onRemove(typename) {
1083
+ return function() {
1084
+ var on = this.__on;
1085
+ if (!on) return;
1086
+ for (var j = 0, i = -1, m = on.length, o; j < m; ++j) {
1087
+ if (o = on[j], (!typename.type || o.type === typename.type) && o.name === typename.name) {
1088
+ this.removeEventListener(o.type, o.listener, o.options);
1089
+ } else {
1090
+ on[++i] = o;
1091
+ }
1092
+ }
1093
+ if (++i) on.length = i;
1094
+ else delete this.__on;
1095
+ };
1096
+ }
1097
+
1098
+ function onAdd(typename, value, options) {
1099
+ return function() {
1100
+ var on = this.__on, o, listener = contextListener(value);
1101
+ if (on) for (var j = 0, m = on.length; j < m; ++j) {
1102
+ if ((o = on[j]).type === typename.type && o.name === typename.name) {
1103
+ this.removeEventListener(o.type, o.listener, o.options);
1104
+ this.addEventListener(o.type, o.listener = listener, o.options = options);
1105
+ o.value = value;
1106
+ return;
1107
+ }
1108
+ }
1109
+ this.addEventListener(typename.type, listener, options);
1110
+ o = {type: typename.type, name: typename.name, value: value, listener: listener, options: options};
1111
+ if (!on) this.__on = [o];
1112
+ else on.push(o);
1113
+ };
1114
+ }
1115
+
1116
+ function selection_on(typename, value, options) {
1117
+ var typenames = parseTypenames(typename + ""), i, n = typenames.length, t;
1118
+
1119
+ if (arguments.length < 2) {
1120
+ var on = this.node().__on;
1121
+ if (on) for (var j = 0, m = on.length, o; j < m; ++j) {
1122
+ for (i = 0, o = on[j]; i < n; ++i) {
1123
+ if ((t = typenames[i]).type === o.type && t.name === o.name) {
1124
+ return o.value;
1125
+ }
1126
+ }
1127
+ }
1128
+ return;
1129
+ }
1130
+
1131
+ on = value ? onAdd : onRemove;
1132
+ for (i = 0; i < n; ++i) this.each(on(typenames[i], value, options));
1133
+ return this;
1134
+ }
1135
+
1136
+ function dispatchEvent(node, type, params) {
1137
+ var window = defaultView(node),
1138
+ event = window.CustomEvent;
1139
+
1140
+ if (typeof event === "function") {
1141
+ event = new event(type, params);
1142
+ } else {
1143
+ event = window.document.createEvent("Event");
1144
+ if (params) event.initEvent(type, params.bubbles, params.cancelable), event.detail = params.detail;
1145
+ else event.initEvent(type, false, false);
1146
+ }
1147
+
1148
+ node.dispatchEvent(event);
1149
+ }
1150
+
1151
+ function dispatchConstant(type, params) {
1152
+ return function() {
1153
+ return dispatchEvent(this, type, params);
1154
+ };
1155
+ }
1156
+
1157
+ function dispatchFunction(type, params) {
1158
+ return function() {
1159
+ return dispatchEvent(this, type, params.apply(this, arguments));
1160
+ };
1161
+ }
1162
+
1163
+ function selection_dispatch(type, params) {
1164
+ return this.each((typeof params === "function"
1165
+ ? dispatchFunction
1166
+ : dispatchConstant)(type, params));
1167
+ }
1168
+
1169
+ function* selection_iterator() {
1170
+ for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {
1171
+ for (var group = groups[j], i = 0, n = group.length, node; i < n; ++i) {
1172
+ if (node = group[i]) yield node;
1173
+ }
1174
+ }
1175
+ }
1176
+
1177
+ var root = [null];
1178
+
1179
+ function Selection$1(groups, parents) {
1180
+ this._groups = groups;
1181
+ this._parents = parents;
1182
+ }
1183
+
1184
+ function selection() {
1185
+ return new Selection$1([[document.documentElement]], root);
1186
+ }
1187
+
1188
+ function selection_selection() {
1189
+ return this;
1190
+ }
1191
+
1192
+ Selection$1.prototype = selection.prototype = {
1193
+ constructor: Selection$1,
1194
+ select: selection_select,
1195
+ selectAll: selection_selectAll,
1196
+ selectChild: selection_selectChild,
1197
+ selectChildren: selection_selectChildren,
1198
+ filter: selection_filter,
1199
+ data: selection_data,
1200
+ enter: selection_enter,
1201
+ exit: selection_exit,
1202
+ join: selection_join,
1203
+ merge: selection_merge,
1204
+ selection: selection_selection,
1205
+ order: selection_order,
1206
+ sort: selection_sort,
1207
+ call: selection_call,
1208
+ nodes: selection_nodes,
1209
+ node: selection_node,
1210
+ size: selection_size,
1211
+ empty: selection_empty,
1212
+ each: selection_each,
1213
+ attr: selection_attr,
1214
+ style: selection_style,
1215
+ property: selection_property,
1216
+ classed: selection_classed,
1217
+ text: selection_text,
1218
+ html: selection_html,
1219
+ raise: selection_raise,
1220
+ lower: selection_lower,
1221
+ append: selection_append,
1222
+ insert: selection_insert,
1223
+ remove: selection_remove,
1224
+ clone: selection_clone,
1225
+ datum: selection_datum,
1226
+ on: selection_on,
1227
+ dispatch: selection_dispatch,
1228
+ [Symbol.iterator]: selection_iterator
1229
+ };
1230
+
1231
+ function d3Select(selector) {
1232
+ return typeof selector === "string"
1233
+ ? new Selection$1([[document.querySelector(selector)]], [document.documentElement])
1234
+ : new Selection$1([[selector]], root);
1235
+ }
1236
+
1237
+ function d3Create(name) {
1238
+ return d3Select(creator(name).call(document.documentElement));
1239
+ }
1240
+
1241
+ function define(constructor, factory, prototype) {
1242
+ constructor.prototype = factory.prototype = prototype;
1243
+ prototype.constructor = constructor;
1244
+ }
1245
+
1246
+ function extend(parent, definition) {
1247
+ var prototype = Object.create(parent.prototype);
1248
+ for (var key in definition) prototype[key] = definition[key];
1249
+ return prototype;
1250
+ }
1251
+
1252
+ function Color() {}
1253
+
1254
+ var darker = 0.7;
1255
+ var brighter = 1 / darker;
1256
+
1257
+ var reI = "\\s*([+-]?\\d+)\\s*",
1258
+ reN = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",
1259
+ reP = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",
1260
+ reHex = /^#([0-9a-f]{3,8})$/,
1261
+ reRgbInteger = new RegExp(`^rgb\\(${reI},${reI},${reI}\\)$`),
1262
+ reRgbPercent = new RegExp(`^rgb\\(${reP},${reP},${reP}\\)$`),
1263
+ reRgbaInteger = new RegExp(`^rgba\\(${reI},${reI},${reI},${reN}\\)$`),
1264
+ reRgbaPercent = new RegExp(`^rgba\\(${reP},${reP},${reP},${reN}\\)$`),
1265
+ reHslPercent = new RegExp(`^hsl\\(${reN},${reP},${reP}\\)$`),
1266
+ reHslaPercent = new RegExp(`^hsla\\(${reN},${reP},${reP},${reN}\\)$`);
1267
+
1268
+ var named = {
1269
+ aliceblue: 0xf0f8ff,
1270
+ antiquewhite: 0xfaebd7,
1271
+ aqua: 0x00ffff,
1272
+ aquamarine: 0x7fffd4,
1273
+ azure: 0xf0ffff,
1274
+ beige: 0xf5f5dc,
1275
+ bisque: 0xffe4c4,
1276
+ black: 0x000000,
1277
+ blanchedalmond: 0xffebcd,
1278
+ blue: 0x0000ff,
1279
+ blueviolet: 0x8a2be2,
1280
+ brown: 0xa52a2a,
1281
+ burlywood: 0xdeb887,
1282
+ cadetblue: 0x5f9ea0,
1283
+ chartreuse: 0x7fff00,
1284
+ chocolate: 0xd2691e,
1285
+ coral: 0xff7f50,
1286
+ cornflowerblue: 0x6495ed,
1287
+ cornsilk: 0xfff8dc,
1288
+ crimson: 0xdc143c,
1289
+ cyan: 0x00ffff,
1290
+ darkblue: 0x00008b,
1291
+ darkcyan: 0x008b8b,
1292
+ darkgoldenrod: 0xb8860b,
1293
+ darkgray: 0xa9a9a9,
1294
+ darkgreen: 0x006400,
1295
+ darkgrey: 0xa9a9a9,
1296
+ darkkhaki: 0xbdb76b,
1297
+ darkmagenta: 0x8b008b,
1298
+ darkolivegreen: 0x556b2f,
1299
+ darkorange: 0xff8c00,
1300
+ darkorchid: 0x9932cc,
1301
+ darkred: 0x8b0000,
1302
+ darksalmon: 0xe9967a,
1303
+ darkseagreen: 0x8fbc8f,
1304
+ darkslateblue: 0x483d8b,
1305
+ darkslategray: 0x2f4f4f,
1306
+ darkslategrey: 0x2f4f4f,
1307
+ darkturquoise: 0x00ced1,
1308
+ darkviolet: 0x9400d3,
1309
+ deeppink: 0xff1493,
1310
+ deepskyblue: 0x00bfff,
1311
+ dimgray: 0x696969,
1312
+ dimgrey: 0x696969,
1313
+ dodgerblue: 0x1e90ff,
1314
+ firebrick: 0xb22222,
1315
+ floralwhite: 0xfffaf0,
1316
+ forestgreen: 0x228b22,
1317
+ fuchsia: 0xff00ff,
1318
+ gainsboro: 0xdcdcdc,
1319
+ ghostwhite: 0xf8f8ff,
1320
+ gold: 0xffd700,
1321
+ goldenrod: 0xdaa520,
1322
+ gray: 0x808080,
1323
+ green: 0x008000,
1324
+ greenyellow: 0xadff2f,
1325
+ grey: 0x808080,
1326
+ honeydew: 0xf0fff0,
1327
+ hotpink: 0xff69b4,
1328
+ indianred: 0xcd5c5c,
1329
+ indigo: 0x4b0082,
1330
+ ivory: 0xfffff0,
1331
+ khaki: 0xf0e68c,
1332
+ lavender: 0xe6e6fa,
1333
+ lavenderblush: 0xfff0f5,
1334
+ lawngreen: 0x7cfc00,
1335
+ lemonchiffon: 0xfffacd,
1336
+ lightblue: 0xadd8e6,
1337
+ lightcoral: 0xf08080,
1338
+ lightcyan: 0xe0ffff,
1339
+ lightgoldenrodyellow: 0xfafad2,
1340
+ lightgray: 0xd3d3d3,
1341
+ lightgreen: 0x90ee90,
1342
+ lightgrey: 0xd3d3d3,
1343
+ lightpink: 0xffb6c1,
1344
+ lightsalmon: 0xffa07a,
1345
+ lightseagreen: 0x20b2aa,
1346
+ lightskyblue: 0x87cefa,
1347
+ lightslategray: 0x778899,
1348
+ lightslategrey: 0x778899,
1349
+ lightsteelblue: 0xb0c4de,
1350
+ lightyellow: 0xffffe0,
1351
+ lime: 0x00ff00,
1352
+ limegreen: 0x32cd32,
1353
+ linen: 0xfaf0e6,
1354
+ magenta: 0xff00ff,
1355
+ maroon: 0x800000,
1356
+ mediumaquamarine: 0x66cdaa,
1357
+ mediumblue: 0x0000cd,
1358
+ mediumorchid: 0xba55d3,
1359
+ mediumpurple: 0x9370db,
1360
+ mediumseagreen: 0x3cb371,
1361
+ mediumslateblue: 0x7b68ee,
1362
+ mediumspringgreen: 0x00fa9a,
1363
+ mediumturquoise: 0x48d1cc,
1364
+ mediumvioletred: 0xc71585,
1365
+ midnightblue: 0x191970,
1366
+ mintcream: 0xf5fffa,
1367
+ mistyrose: 0xffe4e1,
1368
+ moccasin: 0xffe4b5,
1369
+ navajowhite: 0xffdead,
1370
+ navy: 0x000080,
1371
+ oldlace: 0xfdf5e6,
1372
+ olive: 0x808000,
1373
+ olivedrab: 0x6b8e23,
1374
+ orange: 0xffa500,
1375
+ orangered: 0xff4500,
1376
+ orchid: 0xda70d6,
1377
+ palegoldenrod: 0xeee8aa,
1378
+ palegreen: 0x98fb98,
1379
+ paleturquoise: 0xafeeee,
1380
+ palevioletred: 0xdb7093,
1381
+ papayawhip: 0xffefd5,
1382
+ peachpuff: 0xffdab9,
1383
+ peru: 0xcd853f,
1384
+ pink: 0xffc0cb,
1385
+ plum: 0xdda0dd,
1386
+ powderblue: 0xb0e0e6,
1387
+ purple: 0x800080,
1388
+ rebeccapurple: 0x663399,
1389
+ red: 0xff0000,
1390
+ rosybrown: 0xbc8f8f,
1391
+ royalblue: 0x4169e1,
1392
+ saddlebrown: 0x8b4513,
1393
+ salmon: 0xfa8072,
1394
+ sandybrown: 0xf4a460,
1395
+ seagreen: 0x2e8b57,
1396
+ seashell: 0xfff5ee,
1397
+ sienna: 0xa0522d,
1398
+ silver: 0xc0c0c0,
1399
+ skyblue: 0x87ceeb,
1400
+ slateblue: 0x6a5acd,
1401
+ slategray: 0x708090,
1402
+ slategrey: 0x708090,
1403
+ snow: 0xfffafa,
1404
+ springgreen: 0x00ff7f,
1405
+ steelblue: 0x4682b4,
1406
+ tan: 0xd2b48c,
1407
+ teal: 0x008080,
1408
+ thistle: 0xd8bfd8,
1409
+ tomato: 0xff6347,
1410
+ turquoise: 0x40e0d0,
1411
+ violet: 0xee82ee,
1412
+ wheat: 0xf5deb3,
1413
+ white: 0xffffff,
1414
+ whitesmoke: 0xf5f5f5,
1415
+ yellow: 0xffff00,
1416
+ yellowgreen: 0x9acd32
1417
+ };
1418
+
1419
+ define(Color, color, {
1420
+ copy(channels) {
1421
+ return Object.assign(new this.constructor, this, channels);
1422
+ },
1423
+ displayable() {
1424
+ return this.rgb().displayable();
1425
+ },
1426
+ hex: color_formatHex, // Deprecated! Use color.formatHex.
1427
+ formatHex: color_formatHex,
1428
+ formatHex8: color_formatHex8,
1429
+ formatHsl: color_formatHsl,
1430
+ formatRgb: color_formatRgb,
1431
+ toString: color_formatRgb
1432
+ });
1433
+
1434
+ function color_formatHex() {
1435
+ return this.rgb().formatHex();
1436
+ }
1437
+
1438
+ function color_formatHex8() {
1439
+ return this.rgb().formatHex8();
1440
+ }
1441
+
1442
+ function color_formatHsl() {
1443
+ return hslConvert(this).formatHsl();
1444
+ }
1445
+
1446
+ function color_formatRgb() {
1447
+ return this.rgb().formatRgb();
1448
+ }
1449
+
1450
+ function color(format) {
1451
+ var m, l;
1452
+ format = (format + "").trim().toLowerCase();
1453
+ return (m = reHex.exec(format)) ? (l = m[1].length, m = parseInt(m[1], 16), l === 6 ? rgbn(m) // #ff0000
1454
+ : l === 3 ? new Rgb((m >> 8 & 0xf) | (m >> 4 & 0xf0), (m >> 4 & 0xf) | (m & 0xf0), ((m & 0xf) << 4) | (m & 0xf), 1) // #f00
1455
+ : l === 8 ? rgba(m >> 24 & 0xff, m >> 16 & 0xff, m >> 8 & 0xff, (m & 0xff) / 0xff) // #ff000000
1456
+ : l === 4 ? rgba((m >> 12 & 0xf) | (m >> 8 & 0xf0), (m >> 8 & 0xf) | (m >> 4 & 0xf0), (m >> 4 & 0xf) | (m & 0xf0), (((m & 0xf) << 4) | (m & 0xf)) / 0xff) // #f000
1457
+ : null) // invalid hex
1458
+ : (m = reRgbInteger.exec(format)) ? new Rgb(m[1], m[2], m[3], 1) // rgb(255, 0, 0)
1459
+ : (m = reRgbPercent.exec(format)) ? new Rgb(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, 1) // rgb(100%, 0%, 0%)
1460
+ : (m = reRgbaInteger.exec(format)) ? rgba(m[1], m[2], m[3], m[4]) // rgba(255, 0, 0, 1)
1461
+ : (m = reRgbaPercent.exec(format)) ? rgba(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, m[4]) // rgb(100%, 0%, 0%, 1)
1462
+ : (m = reHslPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, 1) // hsl(120, 50%, 50%)
1463
+ : (m = reHslaPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, m[4]) // hsla(120, 50%, 50%, 1)
1464
+ : named.hasOwnProperty(format) ? rgbn(named[format]) // eslint-disable-line no-prototype-builtins
1465
+ : format === "transparent" ? new Rgb(NaN, NaN, NaN, 0)
1466
+ : null;
1467
+ }
1468
+
1469
+ function rgbn(n) {
1470
+ return new Rgb(n >> 16 & 0xff, n >> 8 & 0xff, n & 0xff, 1);
1471
+ }
1472
+
1473
+ function rgba(r, g, b, a) {
1474
+ if (a <= 0) r = g = b = NaN;
1475
+ return new Rgb(r, g, b, a);
1476
+ }
1477
+
1478
+ function rgbConvert(o) {
1479
+ if (!(o instanceof Color)) o = color(o);
1480
+ if (!o) return new Rgb;
1481
+ o = o.rgb();
1482
+ return new Rgb(o.r, o.g, o.b, o.opacity);
1483
+ }
1484
+
1485
+ function rgb(r, g, b, opacity) {
1486
+ return arguments.length === 1 ? rgbConvert(r) : new Rgb(r, g, b, opacity == null ? 1 : opacity);
1487
+ }
1488
+
1489
+ function Rgb(r, g, b, opacity) {
1490
+ this.r = +r;
1491
+ this.g = +g;
1492
+ this.b = +b;
1493
+ this.opacity = +opacity;
1494
+ }
1495
+
1496
+ define(Rgb, rgb, extend(Color, {
1497
+ brighter(k) {
1498
+ k = k == null ? brighter : Math.pow(brighter, k);
1499
+ return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);
1500
+ },
1501
+ darker(k) {
1502
+ k = k == null ? darker : Math.pow(darker, k);
1503
+ return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);
1504
+ },
1505
+ rgb() {
1506
+ return this;
1507
+ },
1508
+ clamp() {
1509
+ return new Rgb(clampi(this.r), clampi(this.g), clampi(this.b), clampa(this.opacity));
1510
+ },
1511
+ displayable() {
1512
+ return (-0.5 <= this.r && this.r < 255.5)
1513
+ && (-0.5 <= this.g && this.g < 255.5)
1514
+ && (-0.5 <= this.b && this.b < 255.5)
1515
+ && (0 <= this.opacity && this.opacity <= 1);
1516
+ },
1517
+ hex: rgb_formatHex, // Deprecated! Use color.formatHex.
1518
+ formatHex: rgb_formatHex,
1519
+ formatHex8: rgb_formatHex8,
1520
+ formatRgb: rgb_formatRgb,
1521
+ toString: rgb_formatRgb
1522
+ }));
1523
+
1524
+ function rgb_formatHex() {
1525
+ return `#${hex(this.r)}${hex(this.g)}${hex(this.b)}`;
1526
+ }
1527
+
1528
+ function rgb_formatHex8() {
1529
+ return `#${hex(this.r)}${hex(this.g)}${hex(this.b)}${hex((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
1530
+ }
1531
+
1532
+ function rgb_formatRgb() {
1533
+ const a = clampa(this.opacity);
1534
+ return `${a === 1 ? "rgb(" : "rgba("}${clampi(this.r)}, ${clampi(this.g)}, ${clampi(this.b)}${a === 1 ? ")" : `, ${a})`}`;
1535
+ }
1536
+
1537
+ function clampa(opacity) {
1538
+ return isNaN(opacity) ? 1 : Math.max(0, Math.min(1, opacity));
1539
+ }
1540
+
1541
+ function clampi(value) {
1542
+ return Math.max(0, Math.min(255, Math.round(value) || 0));
1543
+ }
1544
+
1545
+ function hex(value) {
1546
+ value = clampi(value);
1547
+ return (value < 16 ? "0" : "") + value.toString(16);
1548
+ }
1549
+
1550
+ function hsla(h, s, l, a) {
1551
+ if (a <= 0) h = s = l = NaN;
1552
+ else if (l <= 0 || l >= 1) h = s = NaN;
1553
+ else if (s <= 0) h = NaN;
1554
+ return new Hsl(h, s, l, a);
1555
+ }
1556
+
1557
+ function hslConvert(o) {
1558
+ if (o instanceof Hsl) return new Hsl(o.h, o.s, o.l, o.opacity);
1559
+ if (!(o instanceof Color)) o = color(o);
1560
+ if (!o) return new Hsl;
1561
+ if (o instanceof Hsl) return o;
1562
+ o = o.rgb();
1563
+ var r = o.r / 255,
1564
+ g = o.g / 255,
1565
+ b = o.b / 255,
1566
+ min = Math.min(r, g, b),
1567
+ max = Math.max(r, g, b),
1568
+ h = NaN,
1569
+ s = max - min,
1570
+ l = (max + min) / 2;
1571
+ if (s) {
1572
+ if (r === max) h = (g - b) / s + (g < b) * 6;
1573
+ else if (g === max) h = (b - r) / s + 2;
1574
+ else h = (r - g) / s + 4;
1575
+ s /= l < 0.5 ? max + min : 2 - max - min;
1576
+ h *= 60;
1577
+ } else {
1578
+ s = l > 0 && l < 1 ? 0 : h;
1579
+ }
1580
+ return new Hsl(h, s, l, o.opacity);
1581
+ }
1582
+
1583
+ function hsl(h, s, l, opacity) {
1584
+ return arguments.length === 1 ? hslConvert(h) : new Hsl(h, s, l, opacity == null ? 1 : opacity);
1585
+ }
1586
+
1587
+ function Hsl(h, s, l, opacity) {
1588
+ this.h = +h;
1589
+ this.s = +s;
1590
+ this.l = +l;
1591
+ this.opacity = +opacity;
1592
+ }
1593
+
1594
+ define(Hsl, hsl, extend(Color, {
1595
+ brighter(k) {
1596
+ k = k == null ? brighter : Math.pow(brighter, k);
1597
+ return new Hsl(this.h, this.s, this.l * k, this.opacity);
1598
+ },
1599
+ darker(k) {
1600
+ k = k == null ? darker : Math.pow(darker, k);
1601
+ return new Hsl(this.h, this.s, this.l * k, this.opacity);
1602
+ },
1603
+ rgb() {
1604
+ var h = this.h % 360 + (this.h < 0) * 360,
1605
+ s = isNaN(h) || isNaN(this.s) ? 0 : this.s,
1606
+ l = this.l,
1607
+ m2 = l + (l < 0.5 ? l : 1 - l) * s,
1608
+ m1 = 2 * l - m2;
1609
+ return new Rgb(
1610
+ hsl2rgb(h >= 240 ? h - 240 : h + 120, m1, m2),
1611
+ hsl2rgb(h, m1, m2),
1612
+ hsl2rgb(h < 120 ? h + 240 : h - 120, m1, m2),
1613
+ this.opacity
1614
+ );
1615
+ },
1616
+ clamp() {
1617
+ return new Hsl(clamph(this.h), clampt(this.s), clampt(this.l), clampa(this.opacity));
1618
+ },
1619
+ displayable() {
1620
+ return (0 <= this.s && this.s <= 1 || isNaN(this.s))
1621
+ && (0 <= this.l && this.l <= 1)
1622
+ && (0 <= this.opacity && this.opacity <= 1);
1623
+ },
1624
+ formatHsl() {
1625
+ const a = clampa(this.opacity);
1626
+ return `${a === 1 ? "hsl(" : "hsla("}${clamph(this.h)}, ${clampt(this.s) * 100}%, ${clampt(this.l) * 100}%${a === 1 ? ")" : `, ${a})`}`;
1627
+ }
1628
+ }));
1629
+
1630
+ function clamph(value) {
1631
+ value = (value || 0) % 360;
1632
+ return value < 0 ? value + 360 : value;
1633
+ }
1634
+
1635
+ function clampt(value) {
1636
+ return Math.max(0, Math.min(1, value || 0));
1637
+ }
1638
+
1639
+ /* From FvD 13.37, CSS Color Module Level 3 */
1640
+ function hsl2rgb(h, m1, m2) {
1641
+ return (h < 60 ? m1 + (m2 - m1) * h / 60
1642
+ : h < 180 ? m2
1643
+ : h < 240 ? m1 + (m2 - m1) * (240 - h) / 60
1644
+ : m1) * 255;
1645
+ }
1646
+
1647
+ const constant$1 = x => () => x;
1648
+
1649
+ function linear(a, d) {
1650
+ return function(t) {
1651
+ return a + t * d;
1652
+ };
1653
+ }
1654
+
1655
+ function exponential(a, b, y) {
1656
+ return a = Math.pow(a, y), b = Math.pow(b, y) - a, y = 1 / y, function(t) {
1657
+ return Math.pow(a + t * b, y);
1658
+ };
1659
+ }
1660
+
1661
+ function gamma(y) {
1662
+ return (y = +y) === 1 ? nogamma : function(a, b) {
1663
+ return b - a ? exponential(a, b, y) : constant$1(isNaN(a) ? b : a);
1664
+ };
1665
+ }
1666
+
1667
+ function nogamma(a, b) {
1668
+ var d = b - a;
1669
+ return d ? linear(a, d) : constant$1(isNaN(a) ? b : a);
1670
+ }
1671
+
1672
+ const interpolateRgb = (function rgbGamma(y) {
1673
+ var color = gamma(y);
1674
+
1675
+ function rgb$1(start, end) {
1676
+ var r = color((start = rgb(start)).r, (end = rgb(end)).r),
1677
+ g = color(start.g, end.g),
1678
+ b = color(start.b, end.b),
1679
+ opacity = nogamma(start.opacity, end.opacity);
1680
+ return function(t) {
1681
+ start.r = r(t);
1682
+ start.g = g(t);
1683
+ start.b = b(t);
1684
+ start.opacity = opacity(t);
1685
+ return start + "";
1686
+ };
1687
+ }
1688
+
1689
+ rgb$1.gamma = rgbGamma;
1690
+
1691
+ return rgb$1;
1692
+ })(1);
1693
+
1694
+ function interpolateNumber(a, b) {
1695
+ return a = +a, b = +b, function(t) {
1696
+ return a * (1 - t) + b * t;
1697
+ };
1698
+ }
1699
+
1700
+ var reA = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,
1701
+ reB = new RegExp(reA.source, "g");
1702
+
1703
+ function zero(b) {
1704
+ return function() {
1705
+ return b;
1706
+ };
1707
+ }
1708
+
1709
+ function one(b) {
1710
+ return function(t) {
1711
+ return b(t) + "";
1712
+ };
1713
+ }
1714
+
1715
+ function interpolateString(a, b) {
1716
+ var bi = reA.lastIndex = reB.lastIndex = 0, // scan index for next number in b
1717
+ am, // current match in a
1718
+ bm, // current match in b
1719
+ bs, // string preceding current number in b, if any
1720
+ i = -1, // index in s
1721
+ s = [], // string constants and placeholders
1722
+ q = []; // number interpolators
1723
+
1724
+ // Coerce inputs to strings.
1725
+ a = a + "", b = b + "";
1726
+
1727
+ // Interpolate pairs of numbers in a & b.
1728
+ while ((am = reA.exec(a))
1729
+ && (bm = reB.exec(b))) {
1730
+ if ((bs = bm.index) > bi) { // a string precedes the next number in b
1731
+ bs = b.slice(bi, bs);
1732
+ if (s[i]) s[i] += bs; // coalesce with previous string
1733
+ else s[++i] = bs;
1734
+ }
1735
+ if ((am = am[0]) === (bm = bm[0])) { // numbers in a & b match
1736
+ if (s[i]) s[i] += bm; // coalesce with previous string
1737
+ else s[++i] = bm;
1738
+ } else { // interpolate non-matching numbers
1739
+ s[++i] = null;
1740
+ q.push({i: i, x: interpolateNumber(am, bm)});
1741
+ }
1742
+ bi = reB.lastIndex;
1743
+ }
1744
+
1745
+ // Add remains of b.
1746
+ if (bi < b.length) {
1747
+ bs = b.slice(bi);
1748
+ if (s[i]) s[i] += bs; // coalesce with previous string
1749
+ else s[++i] = bs;
1750
+ }
1751
+
1752
+ // Special optimization for only a single match.
1753
+ // Otherwise, interpolate each of the numbers and rejoin the string.
1754
+ return s.length < 2 ? (q[0]
1755
+ ? one(q[0].x)
1756
+ : zero(b))
1757
+ : (b = q.length, function(t) {
1758
+ for (var i = 0, o; i < b; ++i) s[(o = q[i]).i] = o.x(t);
1759
+ return s.join("");
1760
+ });
1761
+ }
1762
+
1763
+ var degrees = 180 / Math.PI;
1764
+
1765
+ var identity = {
1766
+ translateX: 0,
1767
+ translateY: 0,
1768
+ rotate: 0,
1769
+ skewX: 0,
1770
+ scaleX: 1,
1771
+ scaleY: 1
1772
+ };
1773
+
1774
+ function decompose(a, b, c, d, e, f) {
1775
+ var scaleX, scaleY, skewX;
1776
+ if (scaleX = Math.sqrt(a * a + b * b)) a /= scaleX, b /= scaleX;
1777
+ if (skewX = a * c + b * d) c -= a * skewX, d -= b * skewX;
1778
+ if (scaleY = Math.sqrt(c * c + d * d)) c /= scaleY, d /= scaleY, skewX /= scaleY;
1779
+ if (a * d < b * c) a = -a, b = -b, skewX = -skewX, scaleX = -scaleX;
1780
+ return {
1781
+ translateX: e,
1782
+ translateY: f,
1783
+ rotate: Math.atan2(b, a) * degrees,
1784
+ skewX: Math.atan(skewX) * degrees,
1785
+ scaleX: scaleX,
1786
+ scaleY: scaleY
1787
+ };
1788
+ }
1789
+
1790
+ var svgNode;
1791
+
1792
+ /* eslint-disable no-undef */
1793
+ function parseCss(value) {
1794
+ const m = new (typeof DOMMatrix === "function" ? DOMMatrix : WebKitCSSMatrix)(value + "");
1795
+ return m.isIdentity ? identity : decompose(m.a, m.b, m.c, m.d, m.e, m.f);
1796
+ }
1797
+
1798
+ function parseSvg(value) {
1799
+ if (value == null) return identity;
1800
+ if (!svgNode) svgNode = document.createElementNS("http://www.w3.org/2000/svg", "g");
1801
+ svgNode.setAttribute("transform", value);
1802
+ if (!(value = svgNode.transform.baseVal.consolidate())) return identity;
1803
+ value = value.matrix;
1804
+ return decompose(value.a, value.b, value.c, value.d, value.e, value.f);
1805
+ }
1806
+
1807
+ function interpolateTransform(parse, pxComma, pxParen, degParen) {
1808
+
1809
+ function pop(s) {
1810
+ return s.length ? s.pop() + " " : "";
1811
+ }
1812
+
1813
+ function translate(xa, ya, xb, yb, s, q) {
1814
+ if (xa !== xb || ya !== yb) {
1815
+ var i = s.push("translate(", null, pxComma, null, pxParen);
1816
+ q.push({i: i - 4, x: interpolateNumber(xa, xb)}, {i: i - 2, x: interpolateNumber(ya, yb)});
1817
+ } else if (xb || yb) {
1818
+ s.push("translate(" + xb + pxComma + yb + pxParen);
1819
+ }
1820
+ }
1821
+
1822
+ function rotate(a, b, s, q) {
1823
+ if (a !== b) {
1824
+ if (a - b > 180) b += 360; else if (b - a > 180) a += 360; // shortest path
1825
+ q.push({i: s.push(pop(s) + "rotate(", null, degParen) - 2, x: interpolateNumber(a, b)});
1826
+ } else if (b) {
1827
+ s.push(pop(s) + "rotate(" + b + degParen);
1828
+ }
1829
+ }
1830
+
1831
+ function skewX(a, b, s, q) {
1832
+ if (a !== b) {
1833
+ q.push({i: s.push(pop(s) + "skewX(", null, degParen) - 2, x: interpolateNumber(a, b)});
1834
+ } else if (b) {
1835
+ s.push(pop(s) + "skewX(" + b + degParen);
1836
+ }
1837
+ }
1838
+
1839
+ function scale(xa, ya, xb, yb, s, q) {
1840
+ if (xa !== xb || ya !== yb) {
1841
+ var i = s.push(pop(s) + "scale(", null, ",", null, ")");
1842
+ q.push({i: i - 4, x: interpolateNumber(xa, xb)}, {i: i - 2, x: interpolateNumber(ya, yb)});
1843
+ } else if (xb !== 1 || yb !== 1) {
1844
+ s.push(pop(s) + "scale(" + xb + "," + yb + ")");
1845
+ }
1846
+ }
1847
+
1848
+ return function(a, b) {
1849
+ var s = [], // string constants and placeholders
1850
+ q = []; // number interpolators
1851
+ a = parse(a), b = parse(b);
1852
+ translate(a.translateX, a.translateY, b.translateX, b.translateY, s, q);
1853
+ rotate(a.rotate, b.rotate, s, q);
1854
+ skewX(a.skewX, b.skewX, s, q);
1855
+ scale(a.scaleX, a.scaleY, b.scaleX, b.scaleY, s, q);
1856
+ a = b = null; // gc
1857
+ return function(t) {
1858
+ var i = -1, n = q.length, o;
1859
+ while (++i < n) s[(o = q[i]).i] = o.x(t);
1860
+ return s.join("");
1861
+ };
1862
+ };
1863
+ }
1864
+
1865
+ var interpolateTransformCss = interpolateTransform(parseCss, "px, ", "px)", "deg)");
1866
+ var interpolateTransformSvg = interpolateTransform(parseSvg, ", ", ")", ")");
1867
+
1868
+ var frame = 0, // is an animation frame pending?
1869
+ timeout$1 = 0, // is a timeout pending?
1870
+ interval = 0, // are any timers active?
1871
+ pokeDelay = 1000, // how frequently we check for clock skew
1872
+ taskHead,
1873
+ taskTail,
1874
+ clockLast = 0,
1875
+ clockNow = 0,
1876
+ clockSkew = 0,
1877
+ clock = typeof performance === "object" && performance.now ? performance : Date,
1878
+ setFrame = typeof window === "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(f) { setTimeout(f, 17); };
1879
+
1880
+ function now() {
1881
+ return clockNow || (setFrame(clearNow), clockNow = clock.now() + clockSkew);
1882
+ }
1883
+
1884
+ function clearNow() {
1885
+ clockNow = 0;
1886
+ }
1887
+
1888
+ function Timer() {
1889
+ this._call =
1890
+ this._time =
1891
+ this._next = null;
1892
+ }
1893
+
1894
+ Timer.prototype = timer.prototype = {
1895
+ constructor: Timer,
1896
+ restart: function(callback, delay, time) {
1897
+ if (typeof callback !== "function") throw new TypeError("callback is not a function");
1898
+ time = (time == null ? now() : +time) + (delay == null ? 0 : +delay);
1899
+ if (!this._next && taskTail !== this) {
1900
+ if (taskTail) taskTail._next = this;
1901
+ else taskHead = this;
1902
+ taskTail = this;
1903
+ }
1904
+ this._call = callback;
1905
+ this._time = time;
1906
+ sleep();
1907
+ },
1908
+ stop: function() {
1909
+ if (this._call) {
1910
+ this._call = null;
1911
+ this._time = Infinity;
1912
+ sleep();
1913
+ }
1914
+ }
1915
+ };
1916
+
1917
+ function timer(callback, delay, time) {
1918
+ var t = new Timer;
1919
+ t.restart(callback, delay, time);
1920
+ return t;
1921
+ }
1922
+
1923
+ function timerFlush() {
1924
+ now(); // Get the current time, if not already set.
1925
+ ++frame; // Pretend we’ve set an alarm, if we haven’t already.
1926
+ var t = taskHead, e;
1927
+ while (t) {
1928
+ if ((e = clockNow - t._time) >= 0) t._call.call(undefined, e);
1929
+ t = t._next;
1930
+ }
1931
+ --frame;
1932
+ }
1933
+
1934
+ function wake() {
1935
+ clockNow = (clockLast = clock.now()) + clockSkew;
1936
+ frame = timeout$1 = 0;
1937
+ try {
1938
+ timerFlush();
1939
+ } finally {
1940
+ frame = 0;
1941
+ nap();
1942
+ clockNow = 0;
1943
+ }
1944
+ }
1945
+
1946
+ function poke() {
1947
+ var now = clock.now(), delay = now - clockLast;
1948
+ if (delay > pokeDelay) clockSkew -= delay, clockLast = now;
1949
+ }
1950
+
1951
+ function nap() {
1952
+ var t0, t1 = taskHead, t2, time = Infinity;
1953
+ while (t1) {
1954
+ if (t1._call) {
1955
+ if (time > t1._time) time = t1._time;
1956
+ t0 = t1, t1 = t1._next;
1957
+ } else {
1958
+ t2 = t1._next, t1._next = null;
1959
+ t1 = t0 ? t0._next = t2 : taskHead = t2;
1960
+ }
1961
+ }
1962
+ taskTail = t0;
1963
+ sleep(time);
1964
+ }
1965
+
1966
+ function sleep(time) {
1967
+ if (frame) return; // Soonest alarm already set, or will be.
1968
+ if (timeout$1) timeout$1 = clearTimeout(timeout$1);
1969
+ var delay = time - clockNow; // Strictly less than if we recomputed clockNow.
1970
+ if (delay > 24) {
1971
+ if (time < Infinity) timeout$1 = setTimeout(wake, time - clock.now() - clockSkew);
1972
+ if (interval) interval = clearInterval(interval);
1973
+ } else {
1974
+ if (!interval) clockLast = clock.now(), interval = setInterval(poke, pokeDelay);
1975
+ frame = 1, setFrame(wake);
1976
+ }
1977
+ }
1978
+
1979
+ function timeout(callback, delay, time) {
1980
+ var t = new Timer;
1981
+ delay = delay == null ? 0 : +delay;
1982
+ t.restart(elapsed => {
1983
+ t.stop();
1984
+ callback(elapsed + delay);
1985
+ }, delay, time);
1986
+ return t;
1987
+ }
1988
+
1989
+ var emptyOn = dispatch("start", "end", "cancel", "interrupt");
1990
+ var emptyTween = [];
1991
+
1992
+ var CREATED = 0;
1993
+ var SCHEDULED = 1;
1994
+ var STARTING = 2;
1995
+ var STARTED = 3;
1996
+ var RUNNING = 4;
1997
+ var ENDING = 5;
1998
+ var ENDED = 6;
1999
+
2000
+ function schedule(node, name, id, index, group, timing) {
2001
+ var schedules = node.__transition;
2002
+ if (!schedules) node.__transition = {};
2003
+ else if (id in schedules) return;
2004
+ create(node, id, {
2005
+ name: name,
2006
+ index: index, // For context during callback.
2007
+ group: group, // For context during callback.
2008
+ on: emptyOn,
2009
+ tween: emptyTween,
2010
+ time: timing.time,
2011
+ delay: timing.delay,
2012
+ duration: timing.duration,
2013
+ ease: timing.ease,
2014
+ timer: null,
2015
+ state: CREATED
2016
+ });
2017
+ }
2018
+
2019
+ function init(node, id) {
2020
+ var schedule = get(node, id);
2021
+ if (schedule.state > CREATED) throw new Error("too late; already scheduled");
2022
+ return schedule;
2023
+ }
2024
+
2025
+ function set(node, id) {
2026
+ var schedule = get(node, id);
2027
+ if (schedule.state > STARTED) throw new Error("too late; already running");
2028
+ return schedule;
2029
+ }
2030
+
2031
+ function get(node, id) {
2032
+ var schedule = node.__transition;
2033
+ if (!schedule || !(schedule = schedule[id])) throw new Error("transition not found");
2034
+ return schedule;
2035
+ }
2036
+
2037
+ function create(node, id, self) {
2038
+ var schedules = node.__transition,
2039
+ tween;
2040
+
2041
+ // Initialize the self timer when the transition is created.
2042
+ // Note the actual delay is not known until the first callback!
2043
+ schedules[id] = self;
2044
+ self.timer = timer(schedule, 0, self.time);
2045
+
2046
+ function schedule(elapsed) {
2047
+ self.state = SCHEDULED;
2048
+ self.timer.restart(start, self.delay, self.time);
2049
+
2050
+ // If the elapsed delay is less than our first sleep, start immediately.
2051
+ if (self.delay <= elapsed) start(elapsed - self.delay);
2052
+ }
2053
+
2054
+ function start(elapsed) {
2055
+ var i, j, n, o;
2056
+
2057
+ // If the state is not SCHEDULED, then we previously errored on start.
2058
+ if (self.state !== SCHEDULED) return stop();
2059
+
2060
+ for (i in schedules) {
2061
+ o = schedules[i];
2062
+ if (o.name !== self.name) continue;
2063
+
2064
+ // While this element already has a starting transition during this frame,
2065
+ // defer starting an interrupting transition until that transition has a
2066
+ // chance to tick (and possibly end); see d3/d3-transition#54!
2067
+ if (o.state === STARTED) return timeout(start);
2068
+
2069
+ // Interrupt the active transition, if any.
2070
+ if (o.state === RUNNING) {
2071
+ o.state = ENDED;
2072
+ o.timer.stop();
2073
+ o.on.call("interrupt", node, node.__data__, o.index, o.group);
2074
+ delete schedules[i];
2075
+ }
2076
+
2077
+ // Cancel any pre-empted transitions.
2078
+ else if (+i < id) {
2079
+ o.state = ENDED;
2080
+ o.timer.stop();
2081
+ o.on.call("cancel", node, node.__data__, o.index, o.group);
2082
+ delete schedules[i];
2083
+ }
2084
+ }
2085
+
2086
+ // Defer the first tick to end of the current frame; see d3/d3#1576.
2087
+ // Note the transition may be canceled after start and before the first tick!
2088
+ // Note this must be scheduled before the start event; see d3/d3-transition#16!
2089
+ // Assuming this is successful, subsequent callbacks go straight to tick.
2090
+ timeout(function() {
2091
+ if (self.state === STARTED) {
2092
+ self.state = RUNNING;
2093
+ self.timer.restart(tick, self.delay, self.time);
2094
+ tick(elapsed);
2095
+ }
2096
+ });
2097
+
2098
+ // Dispatch the start event.
2099
+ // Note this must be done before the tween are initialized.
2100
+ self.state = STARTING;
2101
+ self.on.call("start", node, node.__data__, self.index, self.group);
2102
+ if (self.state !== STARTING) return; // interrupted
2103
+ self.state = STARTED;
2104
+
2105
+ // Initialize the tween, deleting null tween.
2106
+ tween = new Array(n = self.tween.length);
2107
+ for (i = 0, j = -1; i < n; ++i) {
2108
+ if (o = self.tween[i].value.call(node, node.__data__, self.index, self.group)) {
2109
+ tween[++j] = o;
2110
+ }
2111
+ }
2112
+ tween.length = j + 1;
2113
+ }
2114
+
2115
+ function tick(elapsed) {
2116
+ var t = elapsed < self.duration ? self.ease.call(null, elapsed / self.duration) : (self.timer.restart(stop), self.state = ENDING, 1),
2117
+ i = -1,
2118
+ n = tween.length;
2119
+
2120
+ while (++i < n) {
2121
+ tween[i].call(node, t);
2122
+ }
2123
+
2124
+ // Dispatch the end event.
2125
+ if (self.state === ENDING) {
2126
+ self.on.call("end", node, node.__data__, self.index, self.group);
2127
+ stop();
2128
+ }
2129
+ }
2130
+
2131
+ function stop() {
2132
+ self.state = ENDED;
2133
+ self.timer.stop();
2134
+ delete schedules[id];
2135
+ for (var i in schedules) return; // eslint-disable-line no-unused-vars
2136
+ delete node.__transition;
2137
+ }
2138
+ }
2139
+
2140
+ function interrupt(node, name) {
2141
+ var schedules = node.__transition,
2142
+ schedule,
2143
+ active,
2144
+ empty = true,
2145
+ i;
2146
+
2147
+ if (!schedules) return;
2148
+
2149
+ name = name == null ? null : name + "";
2150
+
2151
+ for (i in schedules) {
2152
+ if ((schedule = schedules[i]).name !== name) { empty = false; continue; }
2153
+ active = schedule.state > STARTING && schedule.state < ENDING;
2154
+ schedule.state = ENDED;
2155
+ schedule.timer.stop();
2156
+ schedule.on.call(active ? "interrupt" : "cancel", node, node.__data__, schedule.index, schedule.group);
2157
+ delete schedules[i];
2158
+ }
2159
+
2160
+ if (empty) delete node.__transition;
2161
+ }
2162
+
2163
+ function selection_interrupt(name) {
2164
+ return this.each(function() {
2165
+ interrupt(this, name);
2166
+ });
2167
+ }
2168
+
2169
+ function tweenRemove(id, name) {
2170
+ var tween0, tween1;
2171
+ return function() {
2172
+ var schedule = set(this, id),
2173
+ tween = schedule.tween;
2174
+
2175
+ // If this node shared tween with the previous node,
2176
+ // just assign the updated shared tween and we’re done!
2177
+ // Otherwise, copy-on-write.
2178
+ if (tween !== tween0) {
2179
+ tween1 = tween0 = tween;
2180
+ for (var i = 0, n = tween1.length; i < n; ++i) {
2181
+ if (tween1[i].name === name) {
2182
+ tween1 = tween1.slice();
2183
+ tween1.splice(i, 1);
2184
+ break;
2185
+ }
2186
+ }
2187
+ }
2188
+
2189
+ schedule.tween = tween1;
2190
+ };
2191
+ }
2192
+
2193
+ function tweenFunction(id, name, value) {
2194
+ var tween0, tween1;
2195
+ if (typeof value !== "function") throw new Error;
2196
+ return function() {
2197
+ var schedule = set(this, id),
2198
+ tween = schedule.tween;
2199
+
2200
+ // If this node shared tween with the previous node,
2201
+ // just assign the updated shared tween and we’re done!
2202
+ // Otherwise, copy-on-write.
2203
+ if (tween !== tween0) {
2204
+ tween1 = (tween0 = tween).slice();
2205
+ for (var t = {name: name, value: value}, i = 0, n = tween1.length; i < n; ++i) {
2206
+ if (tween1[i].name === name) {
2207
+ tween1[i] = t;
2208
+ break;
2209
+ }
2210
+ }
2211
+ if (i === n) tween1.push(t);
2212
+ }
2213
+
2214
+ schedule.tween = tween1;
2215
+ };
2216
+ }
2217
+
2218
+ function transition_tween(name, value) {
2219
+ var id = this._id;
2220
+
2221
+ name += "";
2222
+
2223
+ if (arguments.length < 2) {
2224
+ var tween = get(this.node(), id).tween;
2225
+ for (var i = 0, n = tween.length, t; i < n; ++i) {
2226
+ if ((t = tween[i]).name === name) {
2227
+ return t.value;
2228
+ }
2229
+ }
2230
+ return null;
2231
+ }
2232
+
2233
+ return this.each((value == null ? tweenRemove : tweenFunction)(id, name, value));
2234
+ }
2235
+
2236
+ function tweenValue(transition, name, value) {
2237
+ var id = transition._id;
2238
+
2239
+ transition.each(function() {
2240
+ var schedule = set(this, id);
2241
+ (schedule.value || (schedule.value = {}))[name] = value.apply(this, arguments);
2242
+ });
2243
+
2244
+ return function(node) {
2245
+ return get(node, id).value[name];
2246
+ };
2247
+ }
2248
+
2249
+ function interpolate(a, b) {
2250
+ var c;
2251
+ return (typeof b === "number" ? interpolateNumber
2252
+ : b instanceof color ? interpolateRgb
2253
+ : (c = color(b)) ? (b = c, interpolateRgb)
2254
+ : interpolateString)(a, b);
2255
+ }
2256
+
2257
+ function attrRemove(name) {
2258
+ return function() {
2259
+ this.removeAttribute(name);
2260
+ };
2261
+ }
2262
+
2263
+ function attrRemoveNS(fullname) {
2264
+ return function() {
2265
+ this.removeAttributeNS(fullname.space, fullname.local);
2266
+ };
2267
+ }
2268
+
2269
+ function attrConstant(name, interpolate, value1) {
2270
+ var string00,
2271
+ string1 = value1 + "",
2272
+ interpolate0;
2273
+ return function() {
2274
+ var string0 = this.getAttribute(name);
2275
+ return string0 === string1 ? null
2276
+ : string0 === string00 ? interpolate0
2277
+ : interpolate0 = interpolate(string00 = string0, value1);
2278
+ };
2279
+ }
2280
+
2281
+ function attrConstantNS(fullname, interpolate, value1) {
2282
+ var string00,
2283
+ string1 = value1 + "",
2284
+ interpolate0;
2285
+ return function() {
2286
+ var string0 = this.getAttributeNS(fullname.space, fullname.local);
2287
+ return string0 === string1 ? null
2288
+ : string0 === string00 ? interpolate0
2289
+ : interpolate0 = interpolate(string00 = string0, value1);
2290
+ };
2291
+ }
2292
+
2293
+ function attrFunction(name, interpolate, value) {
2294
+ var string00,
2295
+ string10,
2296
+ interpolate0;
2297
+ return function() {
2298
+ var string0, value1 = value(this), string1;
2299
+ if (value1 == null) return void this.removeAttribute(name);
2300
+ string0 = this.getAttribute(name);
2301
+ string1 = value1 + "";
2302
+ return string0 === string1 ? null
2303
+ : string0 === string00 && string1 === string10 ? interpolate0
2304
+ : (string10 = string1, interpolate0 = interpolate(string00 = string0, value1));
2305
+ };
2306
+ }
2307
+
2308
+ function attrFunctionNS(fullname, interpolate, value) {
2309
+ var string00,
2310
+ string10,
2311
+ interpolate0;
2312
+ return function() {
2313
+ var string0, value1 = value(this), string1;
2314
+ if (value1 == null) return void this.removeAttributeNS(fullname.space, fullname.local);
2315
+ string0 = this.getAttributeNS(fullname.space, fullname.local);
2316
+ string1 = value1 + "";
2317
+ return string0 === string1 ? null
2318
+ : string0 === string00 && string1 === string10 ? interpolate0
2319
+ : (string10 = string1, interpolate0 = interpolate(string00 = string0, value1));
2320
+ };
2321
+ }
2322
+
2323
+ function transition_attr(name, value) {
2324
+ var fullname = namespace(name), i = fullname === "transform" ? interpolateTransformSvg : interpolate;
2325
+ return this.attrTween(name, typeof value === "function"
2326
+ ? (fullname.local ? attrFunctionNS : attrFunction)(fullname, i, tweenValue(this, "attr." + name, value))
2327
+ : value == null ? (fullname.local ? attrRemoveNS : attrRemove)(fullname)
2328
+ : (fullname.local ? attrConstantNS : attrConstant)(fullname, i, value));
2329
+ }
2330
+
2331
+ function attrInterpolate(name, i) {
2332
+ return function(t) {
2333
+ this.setAttribute(name, i.call(this, t));
2334
+ };
2335
+ }
2336
+
2337
+ function attrInterpolateNS(fullname, i) {
2338
+ return function(t) {
2339
+ this.setAttributeNS(fullname.space, fullname.local, i.call(this, t));
2340
+ };
2341
+ }
2342
+
2343
+ function attrTweenNS(fullname, value) {
2344
+ var t0, i0;
2345
+ function tween() {
2346
+ var i = value.apply(this, arguments);
2347
+ if (i !== i0) t0 = (i0 = i) && attrInterpolateNS(fullname, i);
2348
+ return t0;
2349
+ }
2350
+ tween._value = value;
2351
+ return tween;
2352
+ }
2353
+
2354
+ function attrTween(name, value) {
2355
+ var t0, i0;
2356
+ function tween() {
2357
+ var i = value.apply(this, arguments);
2358
+ if (i !== i0) t0 = (i0 = i) && attrInterpolate(name, i);
2359
+ return t0;
2360
+ }
2361
+ tween._value = value;
2362
+ return tween;
2363
+ }
2364
+
2365
+ function transition_attrTween(name, value) {
2366
+ var key = "attr." + name;
2367
+ if (arguments.length < 2) return (key = this.tween(key)) && key._value;
2368
+ if (value == null) return this.tween(key, null);
2369
+ if (typeof value !== "function") throw new Error;
2370
+ var fullname = namespace(name);
2371
+ return this.tween(key, (fullname.local ? attrTweenNS : attrTween)(fullname, value));
2372
+ }
2373
+
2374
+ function delayFunction(id, value) {
2375
+ return function() {
2376
+ init(this, id).delay = +value.apply(this, arguments);
2377
+ };
2378
+ }
2379
+
2380
+ function delayConstant(id, value) {
2381
+ return value = +value, function() {
2382
+ init(this, id).delay = value;
2383
+ };
2384
+ }
2385
+
2386
+ function transition_delay(value) {
2387
+ var id = this._id;
2388
+
2389
+ return arguments.length
2390
+ ? this.each((typeof value === "function"
2391
+ ? delayFunction
2392
+ : delayConstant)(id, value))
2393
+ : get(this.node(), id).delay;
2394
+ }
2395
+
2396
+ function durationFunction(id, value) {
2397
+ return function() {
2398
+ set(this, id).duration = +value.apply(this, arguments);
2399
+ };
2400
+ }
2401
+
2402
+ function durationConstant(id, value) {
2403
+ return value = +value, function() {
2404
+ set(this, id).duration = value;
2405
+ };
2406
+ }
2407
+
2408
+ function transition_duration(value) {
2409
+ var id = this._id;
2410
+
2411
+ return arguments.length
2412
+ ? this.each((typeof value === "function"
2413
+ ? durationFunction
2414
+ : durationConstant)(id, value))
2415
+ : get(this.node(), id).duration;
2416
+ }
2417
+
2418
+ function easeConstant(id, value) {
2419
+ if (typeof value !== "function") throw new Error;
2420
+ return function() {
2421
+ set(this, id).ease = value;
2422
+ };
2423
+ }
2424
+
2425
+ function transition_ease(value) {
2426
+ var id = this._id;
2427
+
2428
+ return arguments.length
2429
+ ? this.each(easeConstant(id, value))
2430
+ : get(this.node(), id).ease;
2431
+ }
2432
+
2433
+ function easeVarying(id, value) {
2434
+ return function() {
2435
+ var v = value.apply(this, arguments);
2436
+ if (typeof v !== "function") throw new Error;
2437
+ set(this, id).ease = v;
2438
+ };
2439
+ }
2440
+
2441
+ function transition_easeVarying(value) {
2442
+ if (typeof value !== "function") throw new Error;
2443
+ return this.each(easeVarying(this._id, value));
2444
+ }
2445
+
2446
+ function transition_filter(match) {
2447
+ if (typeof match !== "function") match = matcher(match);
2448
+
2449
+ for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {
2450
+ for (var group = groups[j], n = group.length, subgroup = subgroups[j] = [], node, i = 0; i < n; ++i) {
2451
+ if ((node = group[i]) && match.call(node, node.__data__, i, group)) {
2452
+ subgroup.push(node);
2453
+ }
2454
+ }
2455
+ }
2456
+
2457
+ return new Transition(subgroups, this._parents, this._name, this._id);
2458
+ }
2459
+
2460
+ function transition_merge(transition) {
2461
+ if (transition._id !== this._id) throw new Error;
2462
+
2463
+ for (var groups0 = this._groups, groups1 = transition._groups, m0 = groups0.length, m1 = groups1.length, m = Math.min(m0, m1), merges = new Array(m0), j = 0; j < m; ++j) {
2464
+ for (var group0 = groups0[j], group1 = groups1[j], n = group0.length, merge = merges[j] = new Array(n), node, i = 0; i < n; ++i) {
2465
+ if (node = group0[i] || group1[i]) {
2466
+ merge[i] = node;
2467
+ }
2468
+ }
2469
+ }
2470
+
2471
+ for (; j < m0; ++j) {
2472
+ merges[j] = groups0[j];
2473
+ }
2474
+
2475
+ return new Transition(merges, this._parents, this._name, this._id);
2476
+ }
2477
+
2478
+ function start(name) {
2479
+ return (name + "").trim().split(/^|\s+/).every(function(t) {
2480
+ var i = t.indexOf(".");
2481
+ if (i >= 0) t = t.slice(0, i);
2482
+ return !t || t === "start";
2483
+ });
2484
+ }
2485
+
2486
+ function onFunction(id, name, listener) {
2487
+ var on0, on1, sit = start(name) ? init : set;
2488
+ return function() {
2489
+ var schedule = sit(this, id),
2490
+ on = schedule.on;
2491
+
2492
+ // If this node shared a dispatch with the previous node,
2493
+ // just assign the updated shared dispatch and we’re done!
2494
+ // Otherwise, copy-on-write.
2495
+ if (on !== on0) (on1 = (on0 = on).copy()).on(name, listener);
2496
+
2497
+ schedule.on = on1;
2498
+ };
2499
+ }
2500
+
2501
+ function transition_on(name, listener) {
2502
+ var id = this._id;
2503
+
2504
+ return arguments.length < 2
2505
+ ? get(this.node(), id).on.on(name)
2506
+ : this.each(onFunction(id, name, listener));
2507
+ }
2508
+
2509
+ function removeFunction(id) {
2510
+ return function() {
2511
+ var parent = this.parentNode;
2512
+ for (var i in this.__transition) if (+i !== id) return;
2513
+ if (parent) parent.removeChild(this);
2514
+ };
2515
+ }
2516
+
2517
+ function transition_remove() {
2518
+ return this.on("end.remove", removeFunction(this._id));
2519
+ }
2520
+
2521
+ function transition_select(select) {
2522
+ var name = this._name,
2523
+ id = this._id;
2524
+
2525
+ if (typeof select !== "function") select = selector(select);
2526
+
2527
+ for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {
2528
+ for (var group = groups[j], n = group.length, subgroup = subgroups[j] = new Array(n), node, subnode, i = 0; i < n; ++i) {
2529
+ if ((node = group[i]) && (subnode = select.call(node, node.__data__, i, group))) {
2530
+ if ("__data__" in node) subnode.__data__ = node.__data__;
2531
+ subgroup[i] = subnode;
2532
+ schedule(subgroup[i], name, id, i, subgroup, get(node, id));
2533
+ }
2534
+ }
2535
+ }
2536
+
2537
+ return new Transition(subgroups, this._parents, name, id);
2538
+ }
2539
+
2540
+ function transition_selectAll(select) {
2541
+ var name = this._name,
2542
+ id = this._id;
2543
+
2544
+ if (typeof select !== "function") select = selectorAll(select);
2545
+
2546
+ for (var groups = this._groups, m = groups.length, subgroups = [], parents = [], j = 0; j < m; ++j) {
2547
+ for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {
2548
+ if (node = group[i]) {
2549
+ for (var children = select.call(node, node.__data__, i, group), child, inherit = get(node, id), k = 0, l = children.length; k < l; ++k) {
2550
+ if (child = children[k]) {
2551
+ schedule(child, name, id, k, children, inherit);
2552
+ }
2553
+ }
2554
+ subgroups.push(children);
2555
+ parents.push(node);
2556
+ }
2557
+ }
2558
+ }
2559
+
2560
+ return new Transition(subgroups, parents, name, id);
2561
+ }
2562
+
2563
+ var Selection = selection.prototype.constructor;
2564
+
2565
+ function transition_selection() {
2566
+ return new Selection(this._groups, this._parents);
2567
+ }
2568
+
2569
+ function styleNull(name, interpolate) {
2570
+ var string00,
2571
+ string10,
2572
+ interpolate0;
2573
+ return function() {
2574
+ var string0 = styleValue(this, name),
2575
+ string1 = (this.style.removeProperty(name), styleValue(this, name));
2576
+ return string0 === string1 ? null
2577
+ : string0 === string00 && string1 === string10 ? interpolate0
2578
+ : interpolate0 = interpolate(string00 = string0, string10 = string1);
2579
+ };
2580
+ }
2581
+
2582
+ function styleRemove(name) {
2583
+ return function() {
2584
+ this.style.removeProperty(name);
2585
+ };
2586
+ }
2587
+
2588
+ function styleConstant(name, interpolate, value1) {
2589
+ var string00,
2590
+ string1 = value1 + "",
2591
+ interpolate0;
2592
+ return function() {
2593
+ var string0 = styleValue(this, name);
2594
+ return string0 === string1 ? null
2595
+ : string0 === string00 ? interpolate0
2596
+ : interpolate0 = interpolate(string00 = string0, value1);
2597
+ };
2598
+ }
2599
+
2600
+ function styleFunction(name, interpolate, value) {
2601
+ var string00,
2602
+ string10,
2603
+ interpolate0;
2604
+ return function() {
2605
+ var string0 = styleValue(this, name),
2606
+ value1 = value(this),
2607
+ string1 = value1 + "";
2608
+ if (value1 == null) string1 = value1 = (this.style.removeProperty(name), styleValue(this, name));
2609
+ return string0 === string1 ? null
2610
+ : string0 === string00 && string1 === string10 ? interpolate0
2611
+ : (string10 = string1, interpolate0 = interpolate(string00 = string0, value1));
2612
+ };
2613
+ }
2614
+
2615
+ function styleMaybeRemove(id, name) {
2616
+ var on0, on1, listener0, key = "style." + name, event = "end." + key, remove;
2617
+ return function() {
2618
+ var schedule = set(this, id),
2619
+ on = schedule.on,
2620
+ listener = schedule.value[key] == null ? remove || (remove = styleRemove(name)) : undefined;
2621
+
2622
+ // If this node shared a dispatch with the previous node,
2623
+ // just assign the updated shared dispatch and we’re done!
2624
+ // Otherwise, copy-on-write.
2625
+ if (on !== on0 || listener0 !== listener) (on1 = (on0 = on).copy()).on(event, listener0 = listener);
2626
+
2627
+ schedule.on = on1;
2628
+ };
2629
+ }
2630
+
2631
+ function transition_style(name, value, priority) {
2632
+ var i = (name += "") === "transform" ? interpolateTransformCss : interpolate;
2633
+ return value == null ? this
2634
+ .styleTween(name, styleNull(name, i))
2635
+ .on("end.style." + name, styleRemove(name))
2636
+ : typeof value === "function" ? this
2637
+ .styleTween(name, styleFunction(name, i, tweenValue(this, "style." + name, value)))
2638
+ .each(styleMaybeRemove(this._id, name))
2639
+ : this
2640
+ .styleTween(name, styleConstant(name, i, value), priority)
2641
+ .on("end.style." + name, null);
2642
+ }
2643
+
2644
+ function styleInterpolate(name, i, priority) {
2645
+ return function(t) {
2646
+ this.style.setProperty(name, i.call(this, t), priority);
2647
+ };
2648
+ }
2649
+
2650
+ function styleTween(name, value, priority) {
2651
+ var t, i0;
2652
+ function tween() {
2653
+ var i = value.apply(this, arguments);
2654
+ if (i !== i0) t = (i0 = i) && styleInterpolate(name, i, priority);
2655
+ return t;
2656
+ }
2657
+ tween._value = value;
2658
+ return tween;
2659
+ }
2660
+
2661
+ function transition_styleTween(name, value, priority) {
2662
+ var key = "style." + (name += "");
2663
+ if (arguments.length < 2) return (key = this.tween(key)) && key._value;
2664
+ if (value == null) return this.tween(key, null);
2665
+ if (typeof value !== "function") throw new Error;
2666
+ return this.tween(key, styleTween(name, value, priority == null ? "" : priority));
2667
+ }
2668
+
2669
+ function textConstant(value) {
2670
+ return function() {
2671
+ this.textContent = value;
2672
+ };
2673
+ }
2674
+
2675
+ function textFunction(value) {
2676
+ return function() {
2677
+ var value1 = value(this);
2678
+ this.textContent = value1 == null ? "" : value1;
2679
+ };
2680
+ }
2681
+
2682
+ function transition_text(value) {
2683
+ return this.tween("text", typeof value === "function"
2684
+ ? textFunction(tweenValue(this, "text", value))
2685
+ : textConstant(value == null ? "" : value + ""));
2686
+ }
2687
+
2688
+ function textInterpolate(i) {
2689
+ return function(t) {
2690
+ this.textContent = i.call(this, t);
2691
+ };
2692
+ }
2693
+
2694
+ function textTween(value) {
2695
+ var t0, i0;
2696
+ function tween() {
2697
+ var i = value.apply(this, arguments);
2698
+ if (i !== i0) t0 = (i0 = i) && textInterpolate(i);
2699
+ return t0;
2700
+ }
2701
+ tween._value = value;
2702
+ return tween;
2703
+ }
2704
+
2705
+ function transition_textTween(value) {
2706
+ var key = "text";
2707
+ if (arguments.length < 1) return (key = this.tween(key)) && key._value;
2708
+ if (value == null) return this.tween(key, null);
2709
+ if (typeof value !== "function") throw new Error;
2710
+ return this.tween(key, textTween(value));
2711
+ }
2712
+
2713
+ function transition_transition() {
2714
+ var name = this._name,
2715
+ id0 = this._id,
2716
+ id1 = newId();
2717
+
2718
+ for (var groups = this._groups, m = groups.length, j = 0; j < m; ++j) {
2719
+ for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {
2720
+ if (node = group[i]) {
2721
+ var inherit = get(node, id0);
2722
+ schedule(node, name, id1, i, group, {
2723
+ time: inherit.time + inherit.delay + inherit.duration,
2724
+ delay: 0,
2725
+ duration: inherit.duration,
2726
+ ease: inherit.ease
2727
+ });
2728
+ }
2729
+ }
2730
+ }
2731
+
2732
+ return new Transition(groups, this._parents, name, id1);
2733
+ }
2734
+
2735
+ function transition_end() {
2736
+ var on0, on1, that = this, id = that._id, size = that.size();
2737
+ return new Promise(function(resolve, reject) {
2738
+ var cancel = {value: reject},
2739
+ end = {value: function() { if (--size === 0) resolve(); }};
2740
+
2741
+ that.each(function() {
2742
+ var schedule = set(this, id),
2743
+ on = schedule.on;
2744
+
2745
+ // If this node shared a dispatch with the previous node,
2746
+ // just assign the updated shared dispatch and we’re done!
2747
+ // Otherwise, copy-on-write.
2748
+ if (on !== on0) {
2749
+ on1 = (on0 = on).copy();
2750
+ on1._.cancel.push(cancel);
2751
+ on1._.interrupt.push(cancel);
2752
+ on1._.end.push(end);
2753
+ }
2754
+
2755
+ schedule.on = on1;
2756
+ });
2757
+
2758
+ // The selection was empty, resolve end immediately
2759
+ if (size === 0) resolve();
2760
+ });
2761
+ }
2762
+
2763
+ var id = 0;
2764
+
2765
+ function Transition(groups, parents, name, id) {
2766
+ this._groups = groups;
2767
+ this._parents = parents;
2768
+ this._name = name;
2769
+ this._id = id;
2770
+ }
2771
+
2772
+ function newId() {
2773
+ return ++id;
2774
+ }
2775
+
2776
+ var selection_prototype = selection.prototype;
2777
+
2778
+ Transition.prototype = {
2779
+ constructor: Transition,
2780
+ select: transition_select,
2781
+ selectAll: transition_selectAll,
2782
+ selectChild: selection_prototype.selectChild,
2783
+ selectChildren: selection_prototype.selectChildren,
2784
+ filter: transition_filter,
2785
+ merge: transition_merge,
2786
+ selection: transition_selection,
2787
+ transition: transition_transition,
2788
+ call: selection_prototype.call,
2789
+ nodes: selection_prototype.nodes,
2790
+ node: selection_prototype.node,
2791
+ size: selection_prototype.size,
2792
+ empty: selection_prototype.empty,
2793
+ each: selection_prototype.each,
2794
+ on: transition_on,
2795
+ attr: transition_attr,
2796
+ attrTween: transition_attrTween,
2797
+ style: transition_style,
2798
+ styleTween: transition_styleTween,
2799
+ text: transition_text,
2800
+ textTween: transition_textTween,
2801
+ remove: transition_remove,
2802
+ tween: transition_tween,
2803
+ delay: transition_delay,
2804
+ duration: transition_duration,
2805
+ ease: transition_ease,
2806
+ easeVarying: transition_easeVarying,
2807
+ end: transition_end,
2808
+ [Symbol.iterator]: selection_prototype[Symbol.iterator]
2809
+ };
2810
+
2811
+ function cubicInOut(t) {
2812
+ return ((t *= 2) <= 1 ? t * t * t : (t -= 2) * t * t + 2) / 2;
2813
+ }
2814
+
2815
+ var defaultTiming = {
2816
+ time: null, // Set on use.
2817
+ delay: 0,
2818
+ duration: 250,
2819
+ ease: cubicInOut
2820
+ };
2821
+
2822
+ function inherit(node, id) {
2823
+ var timing;
2824
+ while (!(timing = node.__transition) || !(timing = timing[id])) {
2825
+ if (!(node = node.parentNode)) {
2826
+ throw new Error(`transition ${id} not found`);
2827
+ }
2828
+ }
2829
+ return timing;
2830
+ }
2831
+
2832
+ function selection_transition(name) {
2833
+ var id,
2834
+ timing;
2835
+
2836
+ if (name instanceof Transition) {
2837
+ id = name._id, name = name._name;
2838
+ } else {
2839
+ id = newId(), (timing = defaultTiming).time = now(), name = name == null ? null : name + "";
2840
+ }
2841
+
2842
+ for (var groups = this._groups, m = groups.length, j = 0; j < m; ++j) {
2843
+ for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {
2844
+ if (node = group[i]) {
2845
+ schedule(node, name, id, i, group, timing || inherit(node, id));
2846
+ }
2847
+ }
2848
+ }
2849
+
2850
+ return new Transition(groups, this._parents, name, id);
2851
+ }
2852
+
2853
+ selection.prototype.interrupt = selection_interrupt;
2854
+ selection.prototype.transition = selection_transition;
2855
+
2856
+ const pi$1 = Math.PI,
2857
+ tau$1 = 2 * pi$1,
2858
+ epsilon$1 = 1e-6,
2859
+ tauEpsilon = tau$1 - epsilon$1;
2860
+
2861
+ function append(strings) {
2862
+ this._ += strings[0];
2863
+ for (let i = 1, n = strings.length; i < n; ++i) {
2864
+ this._ += arguments[i] + strings[i];
2865
+ }
2866
+ }
2867
+
2868
+ function appendRound(digits) {
2869
+ let d = Math.floor(digits);
2870
+ if (!(d >= 0)) throw new Error(`invalid digits: ${digits}`);
2871
+ if (d > 15) return append;
2872
+ const k = 10 ** d;
2873
+ return function(strings) {
2874
+ this._ += strings[0];
2875
+ for (let i = 1, n = strings.length; i < n; ++i) {
2876
+ this._ += Math.round(arguments[i] * k) / k + strings[i];
2877
+ }
2878
+ };
2879
+ }
2880
+
2881
+ class Path {
2882
+ constructor(digits) {
2883
+ this._x0 = this._y0 = // start of current subpath
2884
+ this._x1 = this._y1 = null; // end of current subpath
2885
+ this._ = "";
2886
+ this._append = digits == null ? append : appendRound(digits);
2887
+ }
2888
+ moveTo(x, y) {
2889
+ this._append`M${this._x0 = this._x1 = +x},${this._y0 = this._y1 = +y}`;
2890
+ }
2891
+ closePath() {
2892
+ if (this._x1 !== null) {
2893
+ this._x1 = this._x0, this._y1 = this._y0;
2894
+ this._append`Z`;
2895
+ }
2896
+ }
2897
+ lineTo(x, y) {
2898
+ this._append`L${this._x1 = +x},${this._y1 = +y}`;
2899
+ }
2900
+ quadraticCurveTo(x1, y1, x, y) {
2901
+ this._append`Q${+x1},${+y1},${this._x1 = +x},${this._y1 = +y}`;
2902
+ }
2903
+ bezierCurveTo(x1, y1, x2, y2, x, y) {
2904
+ this._append`C${+x1},${+y1},${+x2},${+y2},${this._x1 = +x},${this._y1 = +y}`;
2905
+ }
2906
+ arcTo(x1, y1, x2, y2, r) {
2907
+ x1 = +x1, y1 = +y1, x2 = +x2, y2 = +y2, r = +r;
2908
+
2909
+ // Is the radius negative? Error.
2910
+ if (r < 0) throw new Error(`negative radius: ${r}`);
2911
+
2912
+ let x0 = this._x1,
2913
+ y0 = this._y1,
2914
+ x21 = x2 - x1,
2915
+ y21 = y2 - y1,
2916
+ x01 = x0 - x1,
2917
+ y01 = y0 - y1,
2918
+ l01_2 = x01 * x01 + y01 * y01;
2919
+
2920
+ // Is this path empty? Move to (x1,y1).
2921
+ if (this._x1 === null) {
2922
+ this._append`M${this._x1 = x1},${this._y1 = y1}`;
2923
+ }
2924
+
2925
+ // Or, is (x1,y1) coincident with (x0,y0)? Do nothing.
2926
+ else if (!(l01_2 > epsilon$1));
2927
+
2928
+ // Or, are (x0,y0), (x1,y1) and (x2,y2) collinear?
2929
+ // Equivalently, is (x1,y1) coincident with (x2,y2)?
2930
+ // Or, is the radius zero? Line to (x1,y1).
2931
+ else if (!(Math.abs(y01 * x21 - y21 * x01) > epsilon$1) || !r) {
2932
+ this._append`L${this._x1 = x1},${this._y1 = y1}`;
2933
+ }
2934
+
2935
+ // Otherwise, draw an arc!
2936
+ else {
2937
+ let x20 = x2 - x0,
2938
+ y20 = y2 - y0,
2939
+ l21_2 = x21 * x21 + y21 * y21,
2940
+ l20_2 = x20 * x20 + y20 * y20,
2941
+ l21 = Math.sqrt(l21_2),
2942
+ l01 = Math.sqrt(l01_2),
2943
+ l = r * Math.tan((pi$1 - Math.acos((l21_2 + l01_2 - l20_2) / (2 * l21 * l01))) / 2),
2944
+ t01 = l / l01,
2945
+ t21 = l / l21;
2946
+
2947
+ // If the start tangent is not coincident with (x0,y0), line to.
2948
+ if (Math.abs(t01 - 1) > epsilon$1) {
2949
+ this._append`L${x1 + t01 * x01},${y1 + t01 * y01}`;
2950
+ }
2951
+
2952
+ this._append`A${r},${r},0,0,${+(y01 * x20 > x01 * y20)},${this._x1 = x1 + t21 * x21},${this._y1 = y1 + t21 * y21}`;
2953
+ }
2954
+ }
2955
+ arc(x, y, r, a0, a1, ccw) {
2956
+ x = +x, y = +y, r = +r, ccw = !!ccw;
2957
+
2958
+ // Is the radius negative? Error.
2959
+ if (r < 0) throw new Error(`negative radius: ${r}`);
2960
+
2961
+ let dx = r * Math.cos(a0),
2962
+ dy = r * Math.sin(a0),
2963
+ x0 = x + dx,
2964
+ y0 = y + dy,
2965
+ cw = 1 ^ ccw,
2966
+ da = ccw ? a0 - a1 : a1 - a0;
2967
+
2968
+ // Is this path empty? Move to (x0,y0).
2969
+ if (this._x1 === null) {
2970
+ this._append`M${x0},${y0}`;
2971
+ }
2972
+
2973
+ // Or, is (x0,y0) not coincident with the previous point? Line to (x0,y0).
2974
+ else if (Math.abs(this._x1 - x0) > epsilon$1 || Math.abs(this._y1 - y0) > epsilon$1) {
2975
+ this._append`L${x0},${y0}`;
2976
+ }
2977
+
2978
+ // Is this arc empty? We’re done.
2979
+ if (!r) return;
2980
+
2981
+ // Does the angle go the wrong way? Flip the direction.
2982
+ if (da < 0) da = da % tau$1 + tau$1;
2983
+
2984
+ // Is this a complete circle? Draw two arcs to complete the circle.
2985
+ if (da > tauEpsilon) {
2986
+ this._append`A${r},${r},0,1,${cw},${x - dx},${y - dy}A${r},${r},0,1,${cw},${this._x1 = x0},${this._y1 = y0}`;
2987
+ }
2988
+
2989
+ // Is this arc non-empty? Draw an arc!
2990
+ else if (da > epsilon$1) {
2991
+ this._append`A${r},${r},0,${+(da >= pi$1)},${cw},${this._x1 = x + r * Math.cos(a1)},${this._y1 = y + r * Math.sin(a1)}`;
2992
+ }
2993
+ }
2994
+ rect(x, y, w, h) {
2995
+ this._append`M${this._x0 = this._x1 = +x},${this._y0 = this._y1 = +y}h${w = +w}v${+h}h${-w}Z`;
2996
+ }
2997
+ toString() {
2998
+ return this._;
2999
+ }
3000
+ }
3001
+
3002
+ function constant(x) {
3003
+ return function constant() {
3004
+ return x;
3005
+ };
3006
+ }
3007
+
3008
+ const abs = Math.abs;
3009
+ const atan2 = Math.atan2;
3010
+ const cos = Math.cos;
3011
+ const max = Math.max;
3012
+ const min = Math.min;
3013
+ const sin = Math.sin;
3014
+ const sqrt = Math.sqrt;
3015
+
3016
+ const epsilon = 1e-12;
3017
+ const pi = Math.PI;
3018
+ const halfPi = pi / 2;
3019
+ const tau = 2 * pi;
3020
+
3021
+ function acos(x) {
3022
+ return x > 1 ? 0 : x < -1 ? pi : Math.acos(x);
3023
+ }
3024
+
3025
+ function asin(x) {
3026
+ return x >= 1 ? halfPi : x <= -1 ? -halfPi : Math.asin(x);
3027
+ }
3028
+
3029
+ function withPath(shape) {
3030
+ let digits = 3;
3031
+
3032
+ shape.digits = function(_) {
3033
+ if (!arguments.length) return digits;
3034
+ if (_ == null) {
3035
+ digits = null;
3036
+ } else {
3037
+ const d = Math.floor(_);
3038
+ if (!(d >= 0)) throw new RangeError(`invalid digits: ${_}`);
3039
+ digits = d;
3040
+ }
3041
+ return shape;
3042
+ };
3043
+
3044
+ return () => new Path(digits);
3045
+ }
3046
+
3047
+ function arcInnerRadius(d) {
3048
+ return d.innerRadius;
3049
+ }
3050
+
3051
+ function arcOuterRadius(d) {
3052
+ return d.outerRadius;
3053
+ }
3054
+
3055
+ function arcStartAngle(d) {
3056
+ return d.startAngle;
3057
+ }
3058
+
3059
+ function arcEndAngle(d) {
3060
+ return d.endAngle;
3061
+ }
3062
+
3063
+ function arcPadAngle(d) {
3064
+ return d && d.padAngle; // Note: optional!
3065
+ }
3066
+
3067
+ function intersect(x0, y0, x1, y1, x2, y2, x3, y3) {
3068
+ var x10 = x1 - x0, y10 = y1 - y0,
3069
+ x32 = x3 - x2, y32 = y3 - y2,
3070
+ t = y32 * x10 - x32 * y10;
3071
+ if (t * t < epsilon) return;
3072
+ t = (x32 * (y0 - y2) - y32 * (x0 - x2)) / t;
3073
+ return [x0 + t * x10, y0 + t * y10];
3074
+ }
3075
+
3076
+ // Compute perpendicular offset line of length rc.
3077
+ // http://mathworld.wolfram.com/Circle-LineIntersection.html
3078
+ function cornerTangents(x0, y0, x1, y1, r1, rc, cw) {
3079
+ var x01 = x0 - x1,
3080
+ y01 = y0 - y1,
3081
+ lo = (cw ? rc : -rc) / sqrt(x01 * x01 + y01 * y01),
3082
+ ox = lo * y01,
3083
+ oy = -lo * x01,
3084
+ x11 = x0 + ox,
3085
+ y11 = y0 + oy,
3086
+ x10 = x1 + ox,
3087
+ y10 = y1 + oy,
3088
+ x00 = (x11 + x10) / 2,
3089
+ y00 = (y11 + y10) / 2,
3090
+ dx = x10 - x11,
3091
+ dy = y10 - y11,
3092
+ d2 = dx * dx + dy * dy,
3093
+ r = r1 - rc,
3094
+ D = x11 * y10 - x10 * y11,
3095
+ d = (dy < 0 ? -1 : 1) * sqrt(max(0, r * r * d2 - D * D)),
3096
+ cx0 = (D * dy - dx * d) / d2,
3097
+ cy0 = (-D * dx - dy * d) / d2,
3098
+ cx1 = (D * dy + dx * d) / d2,
3099
+ cy1 = (-D * dx + dy * d) / d2,
3100
+ dx0 = cx0 - x00,
3101
+ dy0 = cy0 - y00,
3102
+ dx1 = cx1 - x00,
3103
+ dy1 = cy1 - y00;
3104
+
3105
+ // Pick the closer of the two intersection points.
3106
+ // TODO Is there a faster way to determine which intersection to use?
3107
+ if (dx0 * dx0 + dy0 * dy0 > dx1 * dx1 + dy1 * dy1) cx0 = cx1, cy0 = cy1;
3108
+
3109
+ return {
3110
+ cx: cx0,
3111
+ cy: cy0,
3112
+ x01: -ox,
3113
+ y01: -oy,
3114
+ x11: cx0 * (r1 / r - 1),
3115
+ y11: cy0 * (r1 / r - 1)
3116
+ };
3117
+ }
3118
+
3119
+ function d3Arc() {
3120
+ var innerRadius = arcInnerRadius,
3121
+ outerRadius = arcOuterRadius,
3122
+ cornerRadius = constant(0),
3123
+ padRadius = null,
3124
+ startAngle = arcStartAngle,
3125
+ endAngle = arcEndAngle,
3126
+ padAngle = arcPadAngle,
3127
+ context = null,
3128
+ path = withPath(arc);
3129
+
3130
+ function arc() {
3131
+ var buffer,
3132
+ r,
3133
+ r0 = +innerRadius.apply(this, arguments),
3134
+ r1 = +outerRadius.apply(this, arguments),
3135
+ a0 = startAngle.apply(this, arguments) - halfPi,
3136
+ a1 = endAngle.apply(this, arguments) - halfPi,
3137
+ da = abs(a1 - a0),
3138
+ cw = a1 > a0;
3139
+
3140
+ if (!context) context = buffer = path();
3141
+
3142
+ // Ensure that the outer radius is always larger than the inner radius.
3143
+ if (r1 < r0) r = r1, r1 = r0, r0 = r;
3144
+
3145
+ // Is it a point?
3146
+ if (!(r1 > epsilon)) context.moveTo(0, 0);
3147
+
3148
+ // Or is it a circle or annulus?
3149
+ else if (da > tau - epsilon) {
3150
+ context.moveTo(r1 * cos(a0), r1 * sin(a0));
3151
+ context.arc(0, 0, r1, a0, a1, !cw);
3152
+ if (r0 > epsilon) {
3153
+ context.moveTo(r0 * cos(a1), r0 * sin(a1));
3154
+ context.arc(0, 0, r0, a1, a0, cw);
3155
+ }
3156
+ }
3157
+
3158
+ // Or is it a circular or annular sector?
3159
+ else {
3160
+ var a01 = a0,
3161
+ a11 = a1,
3162
+ a00 = a0,
3163
+ a10 = a1,
3164
+ da0 = da,
3165
+ da1 = da,
3166
+ ap = padAngle.apply(this, arguments) / 2,
3167
+ rp = (ap > epsilon) && (padRadius ? +padRadius.apply(this, arguments) : sqrt(r0 * r0 + r1 * r1)),
3168
+ rc = min(abs(r1 - r0) / 2, +cornerRadius.apply(this, arguments)),
3169
+ rc0 = rc,
3170
+ rc1 = rc,
3171
+ t0,
3172
+ t1;
3173
+
3174
+ // Apply padding? Note that since r1 ≥ r0, da1 ≥ da0.
3175
+ if (rp > epsilon) {
3176
+ var p0 = asin(rp / r0 * sin(ap)),
3177
+ p1 = asin(rp / r1 * sin(ap));
3178
+ if ((da0 -= p0 * 2) > epsilon) p0 *= (cw ? 1 : -1), a00 += p0, a10 -= p0;
3179
+ else da0 = 0, a00 = a10 = (a0 + a1) / 2;
3180
+ if ((da1 -= p1 * 2) > epsilon) p1 *= (cw ? 1 : -1), a01 += p1, a11 -= p1;
3181
+ else da1 = 0, a01 = a11 = (a0 + a1) / 2;
3182
+ }
3183
+
3184
+ var x01 = r1 * cos(a01),
3185
+ y01 = r1 * sin(a01),
3186
+ x10 = r0 * cos(a10),
3187
+ y10 = r0 * sin(a10);
3188
+
3189
+ // Apply rounded corners?
3190
+ if (rc > epsilon) {
3191
+ var x11 = r1 * cos(a11),
3192
+ y11 = r1 * sin(a11),
3193
+ x00 = r0 * cos(a00),
3194
+ y00 = r0 * sin(a00),
3195
+ oc;
3196
+
3197
+ // Restrict the corner radius according to the sector angle. If this
3198
+ // intersection fails, it’s probably because the arc is too small, so
3199
+ // disable the corner radius entirely.
3200
+ if (da < pi) {
3201
+ if (oc = intersect(x01, y01, x00, y00, x11, y11, x10, y10)) {
3202
+ var ax = x01 - oc[0],
3203
+ ay = y01 - oc[1],
3204
+ bx = x11 - oc[0],
3205
+ by = y11 - oc[1],
3206
+ kc = 1 / sin(acos((ax * bx + ay * by) / (sqrt(ax * ax + ay * ay) * sqrt(bx * bx + by * by))) / 2),
3207
+ lc = sqrt(oc[0] * oc[0] + oc[1] * oc[1]);
3208
+ rc0 = min(rc, (r0 - lc) / (kc - 1));
3209
+ rc1 = min(rc, (r1 - lc) / (kc + 1));
3210
+ } else {
3211
+ rc0 = rc1 = 0;
3212
+ }
3213
+ }
3214
+ }
3215
+
3216
+ // Is the sector collapsed to a line?
3217
+ if (!(da1 > epsilon)) context.moveTo(x01, y01);
3218
+
3219
+ // Does the sector’s outer ring have rounded corners?
3220
+ else if (rc1 > epsilon) {
3221
+ t0 = cornerTangents(x00, y00, x01, y01, r1, rc1, cw);
3222
+ t1 = cornerTangents(x11, y11, x10, y10, r1, rc1, cw);
3223
+
3224
+ context.moveTo(t0.cx + t0.x01, t0.cy + t0.y01);
3225
+
3226
+ // Have the corners merged?
3227
+ if (rc1 < rc) context.arc(t0.cx, t0.cy, rc1, atan2(t0.y01, t0.x01), atan2(t1.y01, t1.x01), !cw);
3228
+
3229
+ // Otherwise, draw the two corners and the ring.
3230
+ else {
3231
+ context.arc(t0.cx, t0.cy, rc1, atan2(t0.y01, t0.x01), atan2(t0.y11, t0.x11), !cw);
3232
+ context.arc(0, 0, r1, atan2(t0.cy + t0.y11, t0.cx + t0.x11), atan2(t1.cy + t1.y11, t1.cx + t1.x11), !cw);
3233
+ context.arc(t1.cx, t1.cy, rc1, atan2(t1.y11, t1.x11), atan2(t1.y01, t1.x01), !cw);
3234
+ }
3235
+ }
3236
+
3237
+ // Or is the outer ring just a circular arc?
3238
+ else context.moveTo(x01, y01), context.arc(0, 0, r1, a01, a11, !cw);
3239
+
3240
+ // Is there no inner ring, and it’s a circular sector?
3241
+ // Or perhaps it’s an annular sector collapsed due to padding?
3242
+ if (!(r0 > epsilon) || !(da0 > epsilon)) context.lineTo(x10, y10);
3243
+
3244
+ // Does the sector’s inner ring (or point) have rounded corners?
3245
+ else if (rc0 > epsilon) {
3246
+ t0 = cornerTangents(x10, y10, x11, y11, r0, -rc0, cw);
3247
+ t1 = cornerTangents(x01, y01, x00, y00, r0, -rc0, cw);
3248
+
3249
+ context.lineTo(t0.cx + t0.x01, t0.cy + t0.y01);
3250
+
3251
+ // Have the corners merged?
3252
+ if (rc0 < rc) context.arc(t0.cx, t0.cy, rc0, atan2(t0.y01, t0.x01), atan2(t1.y01, t1.x01), !cw);
3253
+
3254
+ // Otherwise, draw the two corners and the ring.
3255
+ else {
3256
+ context.arc(t0.cx, t0.cy, rc0, atan2(t0.y01, t0.x01), atan2(t0.y11, t0.x11), !cw);
3257
+ context.arc(0, 0, r0, atan2(t0.cy + t0.y11, t0.cx + t0.x11), atan2(t1.cy + t1.y11, t1.cx + t1.x11), cw);
3258
+ context.arc(t1.cx, t1.cy, rc0, atan2(t1.y11, t1.x11), atan2(t1.y01, t1.x01), !cw);
3259
+ }
3260
+ }
3261
+
3262
+ // Or is the inner ring just a circular arc?
3263
+ else context.arc(0, 0, r0, a10, a00, cw);
3264
+ }
3265
+
3266
+ context.closePath();
3267
+
3268
+ if (buffer) return context = null, buffer + "" || null;
3269
+ }
3270
+
3271
+ arc.centroid = function() {
3272
+ var r = (+innerRadius.apply(this, arguments) + +outerRadius.apply(this, arguments)) / 2,
3273
+ a = (+startAngle.apply(this, arguments) + +endAngle.apply(this, arguments)) / 2 - pi / 2;
3274
+ return [cos(a) * r, sin(a) * r];
3275
+ };
3276
+
3277
+ arc.innerRadius = function(_) {
3278
+ return arguments.length ? (innerRadius = typeof _ === "function" ? _ : constant(+_), arc) : innerRadius;
3279
+ };
3280
+
3281
+ arc.outerRadius = function(_) {
3282
+ return arguments.length ? (outerRadius = typeof _ === "function" ? _ : constant(+_), arc) : outerRadius;
3283
+ };
3284
+
3285
+ arc.cornerRadius = function(_) {
3286
+ return arguments.length ? (cornerRadius = typeof _ === "function" ? _ : constant(+_), arc) : cornerRadius;
3287
+ };
3288
+
3289
+ arc.padRadius = function(_) {
3290
+ return arguments.length ? (padRadius = _ == null ? null : typeof _ === "function" ? _ : constant(+_), arc) : padRadius;
3291
+ };
3292
+
3293
+ arc.startAngle = function(_) {
3294
+ return arguments.length ? (startAngle = typeof _ === "function" ? _ : constant(+_), arc) : startAngle;
3295
+ };
3296
+
3297
+ arc.endAngle = function(_) {
3298
+ return arguments.length ? (endAngle = typeof _ === "function" ? _ : constant(+_), arc) : endAngle;
3299
+ };
3300
+
3301
+ arc.padAngle = function(_) {
3302
+ return arguments.length ? (padAngle = typeof _ === "function" ? _ : constant(+_), arc) : padAngle;
3303
+ };
3304
+
3305
+ arc.context = function(_) {
3306
+ return arguments.length ? ((context = _ == null ? null : _), arc) : context;
3307
+ };
3308
+
3309
+ return arc;
3310
+ }
3311
+
3312
+ function array(x) {
3313
+ return typeof x === "object" && "length" in x
3314
+ ? x // Array, TypedArray, NodeList, array-like
3315
+ : Array.from(x); // Map, Set, iterable, string, or anything else
3316
+ }
3317
+
3318
+ function Linear(context) {
3319
+ this._context = context;
3320
+ }
3321
+
3322
+ Linear.prototype = {
3323
+ areaStart: function() {
3324
+ this._line = 0;
3325
+ },
3326
+ areaEnd: function() {
3327
+ this._line = NaN;
3328
+ },
3329
+ lineStart: function() {
3330
+ this._point = 0;
3331
+ },
3332
+ lineEnd: function() {
3333
+ if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();
3334
+ this._line = 1 - this._line;
3335
+ },
3336
+ point: function(x, y) {
3337
+ x = +x, y = +y;
3338
+ switch (this._point) {
3339
+ case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;
3340
+ case 1: this._point = 2; // falls through
3341
+ default: this._context.lineTo(x, y); break;
3342
+ }
3343
+ }
3344
+ };
3345
+
3346
+ function curveLinear(context) {
3347
+ return new Linear(context);
3348
+ }
3349
+
3350
+ function x(p) {
3351
+ return p[0];
3352
+ }
3353
+
3354
+ function y(p) {
3355
+ return p[1];
3356
+ }
3357
+
3358
+ function d3Line(x$1, y$1) {
3359
+ var defined = constant(true),
3360
+ context = null,
3361
+ curve = curveLinear,
3362
+ output = null,
3363
+ path = withPath(line);
3364
+
3365
+ x$1 = typeof x$1 === "function" ? x$1 : (x$1 === undefined) ? x : constant(x$1);
3366
+ y$1 = typeof y$1 === "function" ? y$1 : (y$1 === undefined) ? y : constant(y$1);
3367
+
3368
+ function line(data) {
3369
+ var i,
3370
+ n = (data = array(data)).length,
3371
+ d,
3372
+ defined0 = false,
3373
+ buffer;
3374
+
3375
+ if (context == null) output = curve(buffer = path());
3376
+
3377
+ for (i = 0; i <= n; ++i) {
3378
+ if (!(i < n && defined(d = data[i], i, data)) === defined0) {
3379
+ if (defined0 = !defined0) output.lineStart();
3380
+ else output.lineEnd();
3381
+ }
3382
+ if (defined0) output.point(+x$1(d, i, data), +y$1(d, i, data));
3383
+ }
3384
+
3385
+ if (buffer) return output = null, buffer + "" || null;
3386
+ }
3387
+
3388
+ line.x = function(_) {
3389
+ return arguments.length ? (x$1 = typeof _ === "function" ? _ : constant(+_), line) : x$1;
3390
+ };
3391
+
3392
+ line.y = function(_) {
3393
+ return arguments.length ? (y$1 = typeof _ === "function" ? _ : constant(+_), line) : y$1;
3394
+ };
3395
+
3396
+ line.defined = function(_) {
3397
+ return arguments.length ? (defined = typeof _ === "function" ? _ : constant(!!_), line) : defined;
3398
+ };
3399
+
3400
+ line.curve = function(_) {
3401
+ return arguments.length ? (curve = _, context != null && (output = curve(context)), line) : curve;
3402
+ };
3403
+
3404
+ line.context = function(_) {
3405
+ return arguments.length ? (_ == null ? context = output = null : output = curve(context = _), line) : context;
3406
+ };
3407
+
3408
+ return line;
3409
+ }
3410
+
3411
+ /** This class is used to render charts using SVG elements. */
3412
+ class SVGRenderer extends BaseRenderer {
3413
+ /**
3414
+ * The function sets the layout of a chart using D3 and SVG.
3415
+ *
3416
+ * @param {number} width - chart width
3417
+ * @param {number} height - chart height
3418
+ * @param {number} top - chart margin top
3419
+ * @param {number} left - chart margin left
3420
+ */
3421
+ setLayout(width, height, top, left) {
3422
+ d3Select(this.context)
3423
+ .attr('width', width)
3424
+ .attr('height', height)
3425
+ .attr('viewBox', [0, 0, width, height])
3426
+ .attr('style', 'display:block;max-width:100%;height:auto;')
3427
+ .call((g) => {
3428
+ g.append('g')
3429
+ .attr('class', 'vega-chart-draw-g')
3430
+ .attr('transform', `translate(${left},${top})`);
3431
+ })
3432
+ .call((g) => {
3433
+ g.append('g')
3434
+ .attr('class', 'vega-chart-legend-g')
3435
+ .attr('transform', `translate(${left / 3},${top / 4})`);
3436
+ });
3437
+ }
3438
+ /**
3439
+ * This function draws a line on a chart using D3.js library.
3440
+ *
3441
+ * @param {ChartPosition} from - The starting position of the line to be drawn on the chart. It is an
3442
+ * object with two properties: x and y, representing the x and y coordinates of the starting point respectively.
3443
+ * @param {ChartPosition} to - The "to" parameter is a ChartPosition object that represents the ending
3444
+ * point of the line to be drawn. It contains the x and y coordinates of the point on the chart where the line should end.
3445
+ * @param {string} color - The color of the line
3446
+ */
3447
+ drawLine(from, to, color) {
3448
+ d3Select(this.context)
3449
+ .select('.vega-chart-draw-g')
3450
+ .append('line')
3451
+ .attr('x1', from.x)
3452
+ .attr('y1', from.y)
3453
+ .attr('x2', to.x)
3454
+ .attr('y2', to.y)
3455
+ .attr('stroke', color);
3456
+ }
3457
+ /**
3458
+ * This function draws an x-axis on a chart using D3 and a given scale and end point.
3459
+ *
3460
+ * @param {ChartExtend<unknown>} extend - which is an object that contains information about the chart's scale and end position on the y-axis. The `scale` property
3461
+ * is a D3 scale object that maps data values to pixel positions on the x-axis
3462
+ * @param {string} color - The stroke color of axis
3463
+ * @param {string} textStyle - The text style of the axis
3464
+ */
3465
+ drawXAxis(extend, color, textStyle) {
3466
+ const { scale, end, labelFormatter, direction, height } = extend;
3467
+ let axis = axisBottom(scale);
3468
+ if (labelFormatter) {
3469
+ axis = axis.tickFormat(labelFormatter);
3470
+ }
3471
+ d3Select(this.context)
3472
+ .select('.vega-chart-draw-g')
3473
+ .append('g')
3474
+ .attr('class', 'vega-chart-x-axis')
3475
+ .attr('transform', `translate(0, ${end.y})`)
3476
+ .call(axis)
3477
+ .call((g) => {
3478
+ g.select('.domain').attr('stroke-width', 2).attr('stroke', color);
3479
+ })
3480
+ .call((g) => {
3481
+ g.selectAll('line').attr('stroke', color);
3482
+ g.selectAll('text').attr('style', textStyle);
3483
+ })
3484
+ .call((g) => {
3485
+ if (direction === 'horizontal') {
3486
+ g.selectAll('line').clone().attr('y2', `${-height}`);
3487
+ g.select('.domain').attr('stroke-width', 0);
3488
+ }
3489
+ });
3490
+ }
3491
+ /**
3492
+ * This function draws the Y-axis of a chart using D3 and a given scale.
3493
+ *
3494
+ * @param {ChartExtend<unknown>} extend - It likely contains additional information or settings related to the chart being drawn, but without more context it's
3495
+ * difficult to say exactly what it contains.
3496
+ * @param {string} color - The stroke color of the axis
3497
+ * @param {string} textStyle - The text style of the axis
3498
+ */
3499
+ drawYAxis(extend, color, textStyle) {
3500
+ const { scale, labelFormatter, width, tickSize, direction } = extend;
3501
+ let axis = axisLeft(scale).ticks(tickSize);
3502
+ if (labelFormatter) {
3503
+ axis = axis.tickFormat(labelFormatter);
3504
+ }
3505
+ d3Select(this.context)
3506
+ .select('.vega-chart-draw-g')
3507
+ .append('g')
3508
+ .attr('class', 'vega-chart-y-axis')
3509
+ .call(axis)
3510
+ .call((g) => {
3511
+ g.select('.domain').attr('stroke-width', 0).attr('stroke', color);
3512
+ })
3513
+ .call((g) => {
3514
+ g.selectAll('line').attr('stroke-width', 2).attr('stroke', color);
3515
+ g.selectAll('text').attr('style', textStyle);
3516
+ })
3517
+ .call((g) => {
3518
+ if (direction !== 'horizontal') {
3519
+ g.selectAll('line').clone().attr('x2', `${width}`);
3520
+ }
3521
+ else {
3522
+ g.select('.domain').attr('stroke-width', 2).attr('stroke', color);
3523
+ }
3524
+ });
3525
+ }
3526
+ /**
3527
+ * This function draws a circle with a given center, radius, and color using D3.js.
3528
+ *
3529
+ * @param {ChartPosition} center - ChartPosition, which is an object containing the x and y coordinates of the center of the circle.
3530
+ * @param {number} radius - The radius parameter is a number that specifies the radius of the circle to be drawn.
3531
+ * @param {string} fillColor - The color parameter is a string that represents the color of the circle to be drawn
3532
+ * @param {number} strokeWidth - the border width
3533
+ * @param {string} strokeColor - the border color
3534
+ */
3535
+ drawCircle(center, radius, fillColor, strokeWidth, strokeColor) {
3536
+ d3Select(this.context)
3537
+ .select('.vega-chart-draw-g')
3538
+ .append(() => this.getCircleNode(center, radius, fillColor, strokeWidth, strokeColor));
3539
+ }
3540
+ /**
3541
+ * This function draws text on a chart at a specified position using D3.js.
3542
+ *
3543
+ * @param {ChartPosition} position - ChartPosition is an object that contains the x and y coordinates where the text will be positioned on the chart.
3544
+ * @param {string} text - The text parameter is a string that represents the text that will be
3545
+ * displayed on the chart. It is the content that will be added to the text element created by this function.
3546
+ * @param {string} textStyle - The text style of the axis
3547
+ * @param {TextAnchorType} textAnchor - text anchor
3548
+ * @param {number} rotate - rotate of the text
3549
+ */
3550
+ drawText(position, text, textStyle, textAnchor, rotate) {
3551
+ d3Select(this.context)
3552
+ .select('.vega-chart-draw-g')
3553
+ .append(() => this.getTextNode(position, text, textStyle, textAnchor, rotate));
3554
+ }
3555
+ /**
3556
+ * This function draws a legend item with a colored circle and text at a specified position on a chart.
3557
+ *
3558
+ * @param {ChartPosition} position - The position parameter is an object that contains the x and y
3559
+ * coordinates where the legend should be placed on the chart.
3560
+ * @param {string} text - The text to be displayed in the legend.
3561
+ * @param {string} color - Background color token type, which is a type of color
3562
+ * used in the chart's background.
3563
+ * @param {string} textStyle - The text style of the axis
3564
+ * @returns {SVGGElement} svg g element
3565
+ */
3566
+ drawLegend(position, text, color, textStyle) {
3567
+ return d3Select(this.context)
3568
+ .select('.vega-chart-legend-g')
3569
+ .append('g')
3570
+ .attr('class', 'vega-chart-legend-item')
3571
+ .attr('data-legend', text)
3572
+ .attr('transform', `translate(${position.x},${position.y})`)
3573
+ .call((g) => {
3574
+ g.append(() => this.getCircleNode({
3575
+ x: -4,
3576
+ y: -4,
3577
+ }, 4, color));
3578
+ g.append(() => this.getTextNode({ x: 8, y: 0 }, text, textStyle));
3579
+ })
3580
+ .node();
3581
+ }
3582
+ /**
3583
+ * This function draws a rectangle with a specified position, width, height, and optional color using D3.js.
3584
+ *
3585
+ * @param {ChartPosition} position - The position parameter is an object that contains the x and y coordinates of the top-left corner of the rectangle.
3586
+ * @param {number} width - The width of the rectangle to be drawn.
3587
+ * @param {number} height - The height parameter is a number that represents the height of the rectangle to be drawn.
3588
+ * @param {string} [color] - The color parameter is an optional string that represents the color of the rectangle to be drawn. If it is not provided, the rectangle will have no fill color.
3589
+ */
3590
+ drawRect(position, width, height, color) {
3591
+ d3Select(this.context)
3592
+ .select('.vega-chart-draw-g')
3593
+ .append('rect')
3594
+ .attr('fill', color)
3595
+ .attr('x', position.x)
3596
+ .attr('y', position.y)
3597
+ .attr('width', width)
3598
+ .attr('height', height);
3599
+ }
3600
+ /**
3601
+ * This function draws a path on a chart using D3 and SVG based on the provided positions and color.
3602
+ *
3603
+ * @param {ChartPosition[]} positions - An array of ChartPosition objects that represent the
3604
+ * coordinates of the points on the path to be drawn. Each ChartPosition object contains an x and y
3605
+ * value that represent the position of the point on the chart.
3606
+ * @param {string} color - line color
3607
+ * represents a color value. It is likely used to specify the color of the path that will be drawn on the chart.
3608
+ */
3609
+ drawLinePath(positions, color) {
3610
+ d3Select(this.context)
3611
+ .select('.vega-chart-draw-g')
3612
+ .append('path')
3613
+ .attr('class', 'vega-chart-line-path')
3614
+ .datum(positions)
3615
+ .attr('fill', 'none')
3616
+ .attr('stroke', color)
3617
+ .attr('stroke-width', 3)
3618
+ .attr('stroke-linecap', 'round')
3619
+ .attr('stroke-linejoin', 'round')
3620
+ .attr('d', d3Line()
3621
+ .x((position) => position.x)
3622
+ .y((position) => position.y));
3623
+ }
3624
+ /**
3625
+ * This function draws an arc path using D3 library and applies color and radius based on input parameters.
3626
+ *
3627
+ * @param {ChartPosition} center - the arc center position
3628
+ * @param {ArcPathItem} record - an object containing data for the arc path to be drawn
3629
+ * @param {string} color - The color parameter
3630
+ * and is used to set the fill color of the arc path.
3631
+ * @param {number} outerRadius - The outer radius parameter is a number that determines the outer
3632
+ * radius of the arc path being drawn.
3633
+ * @param {number} innerRadius - The inner radius of the arc path, specified as a number.
3634
+ * @returns {SVGPathElement} svg arc path element.
3635
+ */
3636
+ drawArcPath(center, record, color, outerRadius, innerRadius) {
3637
+ return d3Select(this.context)
3638
+ .select('.vega-chart-draw-g')
3639
+ .append('path')
3640
+ .datum(record)
3641
+ .attr('class', 'vega-chart-arc-path')
3642
+ .attr('data-name', (item) => item.data.name)
3643
+ .attr('transform', `translate(${center.x},${center.y})`)
3644
+ .attr('fill', color)
3645
+ .attr('stroke-width', 0)
3646
+ .attr('d', d3Arc().innerRadius(innerRadius).outerRadius(outerRadius))
3647
+ .attr('data-d', d3Arc()
3648
+ .innerRadius(innerRadius)
3649
+ .outerRadius(outerRadius + 10))
3650
+ .node();
3651
+ }
3652
+ /**
3653
+ * This function clears all elements within two specific classes in a D3 selection.
3654
+ */
3655
+ clear() {
3656
+ d3Select(this.context).selectAll('.vega-chart-draw-g').remove();
3657
+ d3Select(this.context).selectAll('.vega-chart-legend-g').remove();
3658
+ }
3659
+ /**
3660
+ * This TypeScript function creates and returns an SVG text element with the given position and text.
3661
+ *
3662
+ * @param {ChartPosition} position - The position parameter is an object that contains the x and y
3663
+ * coordinates where the text element will be placed on the SVG canvas.
3664
+ * @param {string} text - The text parameter is a string that represents the text content that will be
3665
+ * displayed in the SVGTextElement.
3666
+ * @param {string} textStyle - The text style of the axis
3667
+ * @param {TextAnchorType} textAnchor - text anchor
3668
+ * @param {number} rotate - rotate of the text
3669
+ * @returns {SVGTextElement} an SVGTextElement node.
3670
+ */
3671
+ getTextNode(position, text, textStyle, textAnchor = 'start', rotate = 0) {
3672
+ const TextSelectionType = d3Create('svg:text')
3673
+ .attr('style', textStyle)
3674
+ .attr('x', position.x)
3675
+ .attr('y', position.y)
3676
+ .attr('text-anchor', textAnchor)
3677
+ .attr('rotate', rotate)
3678
+ .text(text);
3679
+ return TextSelectionType.node();
3680
+ }
3681
+ /**
3682
+ * This TypeScript function creates an SVG circle element with a specified center, radius, and color.
3683
+ *
3684
+ * @param {ChartPosition} center - The center position of the circle on the chart, specified as an
3685
+ * object with `x` and `y` properties.
3686
+ * @param {number} radius - The radius parameter is a number that represents the radius of the circle
3687
+ * to be created.
3688
+ * @param {string} fillColor - The color parameter
3689
+ * and is used to determine the fill color of the circle. It is likely an enum or string type that maps
3690
+ * to a specific color value.
3691
+ * @param {number} strokeWidth - the border width
3692
+ * @param {string} strokeColor - the border color
3693
+ * @returns {SVGCircleElement} an SVG circle element.
3694
+ */
3695
+ getCircleNode(center, radius, fillColor, strokeWidth, strokeColor) {
3696
+ const circleSelection = d3Create('svg:circle')
3697
+ .attr('r', radius)
3698
+ .attr('cx', center.x)
3699
+ .attr('cy', center.y)
3700
+ .attr('fill', fillColor)
3701
+ .attr('stroke-width', strokeWidth || 0)
3702
+ .attr('stroke', strokeColor);
3703
+ return circleSelection.node();
3704
+ }
3705
+ }
3706
+
3707
+ /**
3708
+ * The CanvasRenderer class is a TypeScript class that extends the BaseRenderer class and provides
3709
+ * methods for drawing various shapes and elements on a canvas.
3710
+ */
3711
+ class CanvasRenderer extends BaseRenderer {
3712
+ /**
3713
+ * The function sets the layout of a chart.
3714
+ *
3715
+ * @param {number} width - chart width
3716
+ * @param {number} height - chart height
3717
+ */
3718
+ setLayout(width, height) {
3719
+ this.context.width = width;
3720
+ this.context.height = height;
3721
+ this.context.style.display = 'block';
3722
+ this.initCanvasContext2d();
3723
+ }
3724
+ /**
3725
+ * The function `drawLine` takes two `ChartPosition` parameters and draws a line between them.
3726
+ *
3727
+ * @param {ChartPosition} from - The starting position of the line on the chart. It is of type ChartPosition.
3728
+ * @param {ChartPosition} to - The "to" parameter in the "drawLine" function is a ChartPosition object
3729
+ * that represents the end point of the line to be drawn. It contains information about the x and y
3730
+ * coordinates of the point on the chart where the line should end.
3731
+ */
3732
+ drawLine(from, to) {
3733
+ const context2d = this.getContext2d();
3734
+ context2d.beginPath();
3735
+ context2d.moveTo(from.x, from.y);
3736
+ context2d.lineTo(to.x, to.y);
3737
+ context2d.closePath();
3738
+ }
3739
+ /**
3740
+ * This function draws the X-axis on a chart and takes in a parameter of type ChartExtend.
3741
+ *
3742
+ * @param {ChartExtend<unknown>} extend - The parameter "extend" is of type "ChartExtend" which is a generic type that can
3743
+ * take any data type as an argument. It is likely used to extend or modify the properties of the chart's X-axis
3744
+ */
3745
+ drawXAxis(extend) {
3746
+ this.drawLine(extend.start, extend.end);
3747
+ }
3748
+ /**
3749
+ * This function draws the Y-axis on a chart.
3750
+ *
3751
+ * @param {ChartExtend<unknown>} extend - The parameter "extend" is of type ChartExtend, which is a generic type that
3752
+ * represents the range of values for a chart axis. It contains information such as the minimum and
3753
+ * maximum values for the axis
3754
+ */
3755
+ drawYAxis(extend) {
3756
+ this.drawLine(extend.start, extend.end);
3757
+ }
3758
+ /**
3759
+ * The function `drawCircle` takes in a center position, radius, and color and draws a circle.
3760
+ *
3761
+ * @param {ChartPosition} center - The center of the circle, represented by a ChartPosition object
3762
+ * that contains the x and y coordinates of the center point.
3763
+ * @param {number} radius - The _radius parameter is a number that represents the radius of the
3764
+ * circle to be drawn. The radius is the distance from the center of the circle to any point on its circumference.
3765
+ * @param {string} fillColor - The _color,
3766
+ * which is a type that represents a color value that can be used as a background color for a chart element
3767
+ * @param {number} strokeWidth - the border width
3768
+ * @param {string} strokeColor - the border color
3769
+ */
3770
+ drawCircle(center, radius, fillColor, strokeWidth, strokeColor) {
3771
+ const context2d = this.getContext2d();
3772
+ if (strokeWidth && strokeColor) {
3773
+ context2d.fillStyle = strokeColor;
3774
+ context2d.beginPath();
3775
+ context2d.arc(center.x, center.y, radius, 0, Math.PI * 2);
3776
+ context2d.fill();
3777
+ }
3778
+ context2d.fillStyle = fillColor;
3779
+ context2d.beginPath();
3780
+ context2d.arc(center.x, center.y, radius - (strokeWidth || 0), 0, Math.PI * 2);
3781
+ context2d.fill();
3782
+ }
3783
+ /**
3784
+ * The function draws a legend on a chart with a circle and text at a specified position and color.
3785
+ *
3786
+ * @param {ChartPosition} position - ChartPosition is a type that represents the position of an
3787
+ * element on a chart. It could be an object with properties like x and y coordinates or a string that
3788
+ * represents a predefined position.
3789
+ * @param {string} text - The text parameter is a string that represents the label or name of the
3790
+ * legend that will be displayed on the chart.
3791
+ * @param {string} color - color string
3792
+ * represents a color for the legend. It could be a string or a number that corresponds to a specific
3793
+ * color value.
3794
+ * @returns {HTMLCanvasElement} chart canvas element
3795
+ */
3796
+ drawLegend(position, text, color) {
3797
+ this.drawCircle(position, 4, color);
3798
+ this.drawText(position, text);
3799
+ return this.context;
3800
+ }
3801
+ /**
3802
+ * The function `drawText` takes a position and a string of text as parameters and does not return anything.
3803
+ *
3804
+ * @param {ChartPosition} position - ChartPosition is a data type that represents the position of the
3805
+ * text on a chart. It could be an object with properties such as x and y coordinates, or it could be
3806
+ * a string that represents a pre-defined position on the chart (e.g. "top-left", "bottom-right",
3807
+ * etc.).
3808
+ * @param {string} text - The text parameter is a string that represents the text that needs to be drawn on the chart.
3809
+ */
3810
+ drawText(position, text) {
3811
+ this.getContext2d().fillText(text, position.x, position.y);
3812
+ }
3813
+ /**
3814
+ * The function `drawRect` takes in a position, width, height, and optional color parameter to draw a rectangle.
3815
+ *
3816
+ * @param {ChartPosition} position - The position parameter is of type ChartPosition and represents
3817
+ * the position of the rectangle on the chart. It could be an object with x and y properties
3818
+ * representing the coordinates of the top-left corner of the rectangle.
3819
+ * @param {number} width - The width parameter is a number that represents the width of the rectangle
3820
+ * to be drawn. It determines how wide the rectangle will be on the chart.
3821
+ * @param {number} height - The `height` parameter in the `drawRect` function specifies the height of
3822
+ * the rectangle to be drawn. It is a required parameter and must be a number value.
3823
+ * @param {string} [color] - The color parameter is an optional parameter that
3824
+ * specifies the background color of the rectangle. It is of type string, which is
3825
+ * a custom type that represents a color token
3826
+ */
3827
+ drawRect(position, width, height, color) {
3828
+ const context2d = this.getContext2d();
3829
+ context2d.fillStyle = color;
3830
+ context2d.fillRect(position.x, position.y, width, height);
3831
+ }
3832
+ /**
3833
+ * The function `drawLinePath` takes in an array of `ChartPosition` objects and a `string` color and draws a path.
3834
+ *
3835
+ * @param {ChartPosition[]} positions - An array of ChartPosition objects that represent the
3836
+ * coordinates of points on a chart. Each ChartPosition object has an x and y property that represent
3837
+ * the horizontal and vertical position of the point on the chart.
3838
+ * @param {string} color - The `color` parameter is of type
3839
+ * `string` and represents the color of the path to be drawn. This parameter is
3840
+ * used to set the background color of the chart.
3841
+ */
3842
+ drawLinePath(positions, color) {
3843
+ const pathNode = d3Create('svg:path')
3844
+ .datum(positions)
3845
+ .attr('d', d3Line()
3846
+ .x((position) => position.x)
3847
+ .y((position) => position.y))
3848
+ .node();
3849
+ const path = new Path2D(pathNode.getAttribute('d'));
3850
+ const context2d = this.getContext2d();
3851
+ context2d.lineWidth = 3;
3852
+ context2d.strokeStyle = color;
3853
+ context2d.stroke(path);
3854
+ }
3855
+ /**
3856
+ * This function draws an arc path using D3 library and applies color and radius based on input parameters.
3857
+ *
3858
+ * @param {ChartPosition} center - arc center position
3859
+ * @param {ArcPathItem} record - an object containing data for the arc path to be drawn
3860
+ * @param {string} color - The color parameter
3861
+ * and is used to set the fill color of the arc path.
3862
+ * @param {number} outerRadius - The outer radius parameter is a number that determines the outer
3863
+ * radius of the arc path being drawn.
3864
+ * @param {number} innerRadius - The inner radius of the arc path, specified as a number.
3865
+ * @returns {HTMLCanvasElement} chart canvas element.
3866
+ */
3867
+ drawArcPath(center, record, color, outerRadius, innerRadius) {
3868
+ const context2d = this.getContext2d();
3869
+ context2d.beginPath();
3870
+ context2d.moveTo(center.x, center.y);
3871
+ context2d.arc(center.x, center.y, outerRadius, record.startAngle, record.endAngle);
3872
+ context2d.fillStyle = color;
3873
+ context2d.fill();
3874
+ if (innerRadius) {
3875
+ this.drawCircle(center, innerRadius, '#F0F3F7');
3876
+ }
3877
+ return this.context;
3878
+ }
3879
+ /**
3880
+ * The function "clear"
3881
+ */
3882
+ clear() {
3883
+ this.getContext2d().clearRect(0, 0, this.context.width, this.context.height);
3884
+ }
3885
+ /**
3886
+ * This function initializes a 2D canvas context.
3887
+ */
3888
+ initCanvasContext2d() {
3889
+ this.canvasContext2d = this.context.getContext('2d');
3890
+ }
3891
+ /**
3892
+ * This function returns the canvas 2D rendering context and initializes it if it doesn't exist.
3893
+ *
3894
+ * @returns {CanvasRenderingContext2D} The function `getContext2d()` returns the `CanvasRenderingContext2D` object.
3895
+ */
3896
+ getContext2d() {
3897
+ if (!this.canvasContext2d) {
3898
+ this.initCanvasContext2d();
3899
+ }
3900
+ return this.canvasContext2d;
3901
+ }
3902
+ }
3903
+
3904
+ /** The RendererFactory class provides a static method to create a renderer based on the type of context provided. */
3905
+ class RendererFactory {
3906
+ /**
3907
+ * This function returns a renderer based on the type of context provided (SVG or Canvas).
3908
+ *
3909
+ * @param {SVGElement | HTMLCanvasElement} context - The `context` parameter is either an
3910
+ * SVGElement or a HTMLCanvasElement. It is used to determine which renderer to instantiate and
3911
+ * return
3912
+ * @returns {BaseRenderer<SVGElement | HTMLCanvasElement> } based on the type of the `context` parameter. If
3913
+ * the `context` is an instance of `SVGElement`, an `SVGRenderer` object is returned
3914
+ */
3915
+ static get(context) {
3916
+ if (context instanceof SVGElement) {
3917
+ return new SVGRenderer(context);
3918
+ }
3919
+ else if (context instanceof HTMLCanvasElement) {
3920
+ return new CanvasRenderer(context);
3921
+ }
3922
+ else {
3923
+ throw new Error('Invalid context');
3924
+ }
3925
+ }
3926
+ }
3927
+
3928
+ const DEFAULT_LAYOUT = {
3929
+ width: undefined,
3930
+ height: undefined,
3931
+ margin: {
3932
+ top: 30,
3933
+ right: 30,
3934
+ bottom: 30,
3935
+ left: 30,
3936
+ },
3937
+ };
3938
+ const DEFAULT_MARGIN_TOP_WITH_LEGENDS = 60;
3939
+ const DEFAULT_MARGIN_LEFT_WITH_AXIS = 60;
3940
+ /** The ChartDimensionController class contains methods for setting and retrieving the width and height of a chart container element. */
3941
+ class ChartDimensionController {
3942
+ /**
3943
+ * This is a constructor function that takes an HTMLElement as a parameter and assigns it to a private property called "container".
3944
+ *
3945
+ * @param {HTMLElement} container - The "container" parameter is a reference to an HTML element that
3946
+ * will be used as a container for the component or module being constructed. This parameter is
3947
+ * typically passed in during the instantiation of the component or module and is used to specify
3948
+ * where the component or module should be rendered in the DOM.
3949
+ */
3950
+ constructor(container) {
3951
+ this.container = container;
3952
+ }
3953
+ /**
3954
+ * This function sets the width and height of a container element based on a given layout object. if the layout is null, then will not update,
3955
+ * prevent the original style is changed
3956
+ *
3957
+ * @param {ChartLayout} layout - ChartLayout object that contains the width and height values for the chart container.
3958
+ */
3959
+ setContainerWidthAndHeight(layout) {
3960
+ const { width, height } = layout;
3961
+ if (width !== undefined) {
3962
+ this.container.style.width = pixel.parseNumberToPixelString(width);
3963
+ }
3964
+ if (height !== undefined) {
3965
+ this.container.style.height = pixel.parseNumberToPixelString(height);
3966
+ }
3967
+ }
3968
+ /**
3969
+ * This function returns the client width of a container or parses the width from a layout object.
3970
+ *
3971
+ * @param {ChartLayout} layout - In this function, the layout parameter is used to determine the width of the chart container. If the container's
3972
+ * clientWidth property is not available,
3973
+ * @returns {number} returning a number. The number is either the client width of the container element or the parsed width value from the `ChartLayout` object.
3974
+ */
3975
+ getContainerClientWidth(layout) {
3976
+ return (this.container.clientWidth ||
3977
+ pixel.parsePixelStringToNumber((layout === null || layout === void 0 ? void 0 : layout.width) || this.container.style.width));
3978
+ }
3979
+ /**
3980
+ * This function returns the height of a container element in pixels, either by accessing its clientHeight property or by parsing a string value from the layout object.
3981
+ *
3982
+ * @param {ChartLayout} layout - the layout parameter is used to determine the height of the chart container if it is not already set.
3983
+ * @returns {number} The function `getContainerClientHeight` returns a number which represents the height of
3984
+ * the container client or the parsed height value from the `ChartLayout` object.
3985
+ */
3986
+ getContainerClientHeight(layout) {
3987
+ return (this.container.clientHeight ||
3988
+ pixel.parsePixelStringToNumber((layout === null || layout === void 0 ? void 0 : layout.height) || this.container.style.height));
3989
+ }
3990
+ /**
3991
+ * This function calculates the inner width of a chart container by subtracting the left and right margins from the client width.
3992
+ *
3993
+ * @param {ChartLayout} layout - ChartLayout object that contains information about the chart layout,
3994
+ * including the container width and margin.
3995
+ * @returns {number} the inner width of a container element, which is calculated by subtracting the left and
3996
+ * right margins from the client width of the container.
3997
+ */
3998
+ getContainerInnerWidth(layout) {
3999
+ const width = this.getContainerClientWidth(layout);
4000
+ const { left, right } = ((layout === null || layout === void 0 ? void 0 : layout.margin) || DEFAULT_LAYOUT.margin);
4001
+ return width ? width - right - left : 0;
4002
+ }
4003
+ /**
4004
+ * This function calculates the inner height of a chart container by subtracting the top and bottom margins from the client height.
4005
+ *
4006
+ * @param {ChartLayout} layout - The `layout` parameter is an object of type `ChartLayout` which
4007
+ * contains information about the layout of a chart, including its dimensions and margins.
4008
+ * @returns {number} the inner height of a container element, which is calculated by subtracting the top and
4009
+ * bottom margins from the client height of the container. The returned value is a number.
4010
+ */
4011
+ getContainerInnerHeight(layout) {
4012
+ const height = this.getContainerClientHeight(layout);
4013
+ const { top, bottom } = ((layout === null || layout === void 0 ? void 0 : layout.margin) || DEFAULT_LAYOUT.margin);
4014
+ return height ? height - top - bottom : 0;
4015
+ }
4016
+ /**
4017
+ * This function merges a given chart layout with default values and returns the updated layout.
4018
+ *
4019
+ * @param {string} chartName - A string representing the name of the chart.
4020
+ * @param {ChartLayout} layout - The `layout` parameter is an optional object that contains properties
4021
+ * for the width, height, and margin of a chart. If provided, it will be merged with the default
4022
+ * layout settings to create a new layout object. If not provided, the default layout settings will be
4023
+ * used.
4024
+ * @param {boolean} hasLegends - A boolean value indicating whether the chart has legends or not.
4025
+ * @returns {ChartLayout} a ChartLayout object.
4026
+ */
4027
+ mergeLayout(chartName, layout, hasLegends) {
4028
+ const defaultTop = hasLegends ? DEFAULT_MARGIN_TOP_WITH_LEGENDS : DEFAULT_LAYOUT.margin.top;
4029
+ const defaultLeft = chartName === 'VEGA-LINE-CHART' || chartName === 'VEGA-BAR-CHART'
4030
+ ? DEFAULT_MARGIN_LEFT_WITH_AXIS
4031
+ : DEFAULT_LAYOUT.margin.left;
4032
+ const newLayout = {
4033
+ width: layout && layout.width ? layout.width : DEFAULT_LAYOUT.width,
4034
+ height: layout && layout.height ? layout.height : DEFAULT_LAYOUT.height,
4035
+ margin: Object.assign({}, DEFAULT_LAYOUT.margin, { top: defaultTop, left: defaultLeft }, layout && layout.margin ? layout.margin : {}),
4036
+ };
4037
+ return newLayout;
4038
+ }
4039
+ }
4040
+
4041
+ /**
4042
+ * This is a TypeScript code that defines an abstract class `BaseInteractor` with a generic type `T` that extends either `SVGElement` or `HTMLCanvasElement`.
4043
+ */
4044
+ class BaseInteractor {
4045
+ /**
4046
+ * This is a constructor function that takes a parameter of type T and sets it as a protected property called "context".
4047
+ *
4048
+ * @param {SVGElement | HTMLCanvasElement} context - The "context" parameter is a protected property of a class constructor that is
4049
+ * of type "T". It is used to store a reference to an object or data that is required by the class
4050
+ * methods to perform their tasks. The "protected" keyword means that the property can only be
4051
+ * accessed within the class
4052
+ */
4053
+ constructor(context) {
4054
+ this.context = context;
4055
+ this.interactingEntryForEventRegistry = new Map();
4056
+ this.interactingEntryForDrawerRegistry = new WeakMap();
4057
+ }
4058
+ /**
4059
+ * This function registers an interacting entry with a drawer, draw piece, and event type in an interactor registry.
4060
+ *
4061
+ * @param {BaseDrawer<unknown>} drawer - The drawer parameter is an instance of a class that extends the BaseDrawer class,
4062
+ * which is used for drawing on a canvas or other graphical surface.
4063
+ * @param {DrawPiece} drawPiece - DrawPiece is a type that represents a specific piece that can be
4064
+ * drawn on a canvas or other graphical surface. It could include information such as the shape,
4065
+ * color, size, and position of the piece.
4066
+ * @param {InteractingEntry} interactingEntry - InteractingEntry is a data structure that represents
4067
+ * an interaction between a user and a graphical element on the screen. It contains information such
4068
+ * as the type of event that triggered the interaction (e.g. mouse click, touch)
4069
+ */
4070
+ register(drawer, drawPiece, interactingEntry) {
4071
+ /* eslint-disable @typescript-eslint/no-non-null-assertion */
4072
+ const eventType = interactingEntry.eventType;
4073
+ if (!this.interactingEntryForEventRegistry.get(eventType)) {
4074
+ this.interactingEntryForEventRegistry.set(eventType, []);
4075
+ }
4076
+ this.interactingEntryForEventRegistry.get(eventType).push(interactingEntry);
4077
+ if (!this.interactingEntryForDrawerRegistry.get(drawer)) {
4078
+ this.interactingEntryForDrawerRegistry.set(drawer, new WeakMap());
4079
+ }
4080
+ if (!this.interactingEntryForDrawerRegistry.get(drawer).get(drawPiece)) {
4081
+ this.interactingEntryForDrawerRegistry.get(drawer).set(drawPiece, []);
4082
+ }
4083
+ this.interactingEntryForDrawerRegistry.get(drawer).get(drawPiece).push(interactingEntry);
4084
+ /* eslint-enable @typescript-eslint/no-non-null-assertion */
4085
+ }
4086
+ /**
4087
+ * This function unregisters a drawer from the interactor registry.
4088
+ *
4089
+ * @param {BaseDrawer<unknown>} drawer - The parameter `drawer` is of type `BaseDrawer<unknown>`. It is an object that
4090
+ * represents a drawer and is used to unregister the drawer from the `interactorRegistry`. The
4091
+ * `interactorRegistry` is a `WeakMap` that stores a mapping between an `Interactor` and
4092
+ */
4093
+ unregisterByDrawer(drawer) {
4094
+ /* eslint-disable @typescript-eslint/no-non-null-assertion */
4095
+ const drawPiece = drawer.drawPiece;
4096
+ if (drawPiece &&
4097
+ this.interactingEntryForDrawerRegistry.has(drawer) &&
4098
+ this.interactingEntryForDrawerRegistry.get(drawer) &&
4099
+ this.interactingEntryForDrawerRegistry.get(drawer).has(drawPiece) &&
4100
+ this.interactingEntryForDrawerRegistry.get(drawer).get(drawPiece)) {
4101
+ this.interactingEntryForEventRegistry.forEach((value, key) => {
4102
+ this.interactingEntryForEventRegistry.set(key, value.filter((interactingEntry) => {
4103
+ return (this.interactingEntryForDrawerRegistry
4104
+ .get(drawer)
4105
+ .get(drawPiece)
4106
+ .indexOf(interactingEntry) < 0);
4107
+ }));
4108
+ });
4109
+ /* eslint-enable @typescript-eslint/no-non-null-assertion */
4110
+ }
4111
+ this.interactingEntryForDrawerRegistry.delete(drawer);
4112
+ }
4113
+ /**
4114
+ * This function handles mouse events for registered interactor and drawers.
4115
+ *
4116
+ * @param {EventType} eventType - The type of event being registered in the registry, such as "click" or "mousemove".
4117
+ * @param {MouseEvent} event - The `event` parameter is of type `MouseEvent`, which represents a
4118
+ * mouse-related event (such as a click, double-click, or mouse movement) that occurred on the web
4119
+ * page. It contains information about the event, such as the type of event, the target element that
4120
+ * triggered the event
4121
+ */
4122
+ callRegistry(eventType, event) {
4123
+ const interactingEntryArray = this.interactingEntryForEventRegistry.get(eventType);
4124
+ if (interactingEntryArray) {
4125
+ interactingEntryArray.forEach((interactingEntry) => {
4126
+ if (interactingEntry.shouldHandle(event)) {
4127
+ interactingEntry.handle(event);
4128
+ }
4129
+ });
4130
+ }
4131
+ }
4132
+ }
4133
+
4134
+ /**
4135
+ * The CanvasInteractor class extends the BaseInteractor class and provides empty methods for handling mouse move, click, and hover events on a HTML canvas element.
4136
+ */
4137
+ class CanvasInteractor extends BaseInteractor {
4138
+ }
4139
+
4140
+ /**
4141
+ * The SVGInteractor class extends the BaseInteractor class and provides methods for handling mouse events on SVG elements.
4142
+ */
4143
+ class SVGInteractor extends BaseInteractor {
4144
+ /**
4145
+ * This is a constructor function that adds event listeners for click and mouseover events to an SVG element.
4146
+ *
4147
+ * @param {SVGElement} context - The context parameter is an SVGElement, which is the element that the
4148
+ * constructor is being called on. It is used to add event listeners to the element for mouseover and
4149
+ * click events.
4150
+ */
4151
+ constructor(context) {
4152
+ super(context);
4153
+ this.addContextListener();
4154
+ }
4155
+ /**
4156
+ * This function adds event listeners for click and mouseover events to the context element and calls
4157
+ * a registry function with the corresponding event type and event object.
4158
+ */
4159
+ addContextListener() {
4160
+ this.context.addEventListener('click', (event) => {
4161
+ this.callRegistry('click', event);
4162
+ });
4163
+ this.context.addEventListener('mouseover', (event) => {
4164
+ this.callRegistry('mouseover', event);
4165
+ });
4166
+ }
4167
+ }
4168
+
4169
+ /** The InteractorFactory class provides a static method to create and return an appropriate interactor based on the type of context provided. */
4170
+ class InteractorFactory {
4171
+ /**
4172
+ * This function returns a BaseInteractor object based on the type of context passed in (SVGElement or HTMLCanvasElement).
4173
+ *
4174
+ * @param {SVGElement | HTMLCanvasElement} context - The `context` parameter is either an SVGElement
4175
+ * or an HTMLCanvasElement. It is used to determine which type of interactor to create and return. If
4176
+ * the context is an SVGElement, an instance of SVGInteractor is returned. If the context is an
4177
+ * HTMLCanvasElement, an instance of
4178
+ * @returns {BaseInteractor<SVGElement | HTMLCanvasElement>} A `BaseInteractor` object that is either an instance of `SVGInteractor` or
4179
+ * `CanvasInteractor`, depending on the type of the `context` parameter passed to the `get` method.
4180
+ */
4181
+ static get(context) {
4182
+ if (context instanceof SVGElement) {
4183
+ return new SVGInteractor(context);
4184
+ }
4185
+ else if (context instanceof HTMLCanvasElement) {
4186
+ return new CanvasInteractor(context);
4187
+ }
4188
+ else {
4189
+ throw new Error('Invalid context');
4190
+ }
4191
+ }
4192
+ }
4193
+
4194
+ /** This is a TypeScript class called `BaseChart` that serves as a base class for creating charts */
4195
+ class BaseChart {
4196
+ /**
4197
+ * This is a constructor function that initializes a chart with options and creates a chain of drawers for rendering.
4198
+ *
4199
+ * @param {ChartOptions<unknown>} options - generic type that represents the configuration options for the chart
4200
+ */
4201
+ constructor(options) {
4202
+ this.options = options;
4203
+ this.isLayoutSet = false;
4204
+ this.drawers = [];
4205
+ const context = GraphContextFactory.get(options.mode, options.container.shadowRoot ? options.container.shadowRoot : options.container);
4206
+ this.dimensionController = new ChartDimensionController(options.container);
4207
+ this.renderer = RendererFactory.get(context);
4208
+ this.interactor = InteractorFactory.get(context);
4209
+ this.initLayoutOptions(options);
4210
+ }
4211
+ /**
4212
+ * The function clears the renderer.
4213
+ */
4214
+ clear() {
4215
+ this.renderer.clear();
4216
+ }
4217
+ /**
4218
+ * This function updates the chart options, creates a new drawer chain, resets the layout, and renders the chart.
4219
+ *
4220
+ * @param {ChartOptions<unknown>} options - ChartOptions<T> is a generic type that represents the configuration options for a
4221
+ * chart. It can include properties such as the chart type, data, labels, colors, and other stylingoptions
4222
+ */
4223
+ updateOptions(options) {
4224
+ this.initLayoutOptions(options);
4225
+ this.isLayoutSet = false;
4226
+ this.render();
4227
+ }
4228
+ /**
4229
+ * re render the chart using existing options
4230
+ */
4231
+ reRender() {
4232
+ this.updateOptions(this.options);
4233
+ }
4234
+ /**
4235
+ * sets the layout if it hasn't been set yet, and executes all the drawers. unregister the interactor by drawer
4236
+ */
4237
+ render() {
4238
+ this.unregisterByDrawer();
4239
+ this.drawers = this.createDrawerChain(this.renderer, this.interactor);
4240
+ this.clear();
4241
+ if (!this.isLayoutSet) {
4242
+ this.setLayout();
4243
+ this.isLayoutSet = true;
4244
+ }
4245
+ this.drawers.forEach((drawer) => drawer.execute());
4246
+ }
4247
+ /**
4248
+ * sets the layout of a renderer using the options provided.
4249
+ */
4250
+ setLayout() {
4251
+ const layout = this.options.layout;
4252
+ const width = this.dimensionController.getContainerClientWidth(layout), height = this.dimensionController.getContainerClientHeight(layout), margin = (layout === null || layout === void 0 ? void 0 : layout.margin) || DEFAULT_LAYOUT.margin;
4253
+ this.renderer.setLayout(width, height, margin.top, margin.left);
4254
+ }
4255
+ /**
4256
+ * This function initializes layout options for a chart.
4257
+ *
4258
+ * @param {ChartOptions} options - ChartOptions<T> is a generic type that represents the configuration options for a
4259
+ * chart. It includes properties such as data, layout, and style.
4260
+ */
4261
+ initLayoutOptions(options) {
4262
+ const newLayout = this.dimensionController.mergeLayout(options.container.tagName, options.layout, options.legends && options.legends.length ? true : false);
4263
+ this.options = Object.assign(options, { layout: newLayout });
4264
+ this.dimensionController.setContainerWidthAndHeight(newLayout);
4265
+ this.options.container.style.display = 'block';
4266
+ }
4267
+ /**
4268
+ * This function un-registers drawers from the interactor.
4269
+ */
4270
+ unregisterByDrawer() {
4271
+ if (this.drawers) {
4272
+ this.drawers.forEach((drawer) => {
4273
+ this.interactor.unregisterByDrawer(drawer);
4274
+ });
4275
+ }
4276
+ }
4277
+ }
4278
+
4279
+ /* This file is generated by vega-design 2.0.77 */
4280
+ /* eslint-disable */
4281
+ /* tslint:disable */
4282
+ // prettier-ignore
4283
+ const BackgroundColorsMappingLight = {
4284
+ "bg-brand": "#33393D",
4285
+ "bg-page": "#F0F3F7",
4286
+ "bg-primary": "#FCFCFC",
4287
+ "bg-secondary": "#F5F7F7",
4288
+ "bg-tertiary": "#F0F3F7",
4289
+ "bg-quaternary": "#F1F8FB",
4290
+ "bg-inverted-primary": "#04041C",
4291
+ "bg-inverted-secondary": "#121227",
4292
+ "bg-inverted-tertiary": "#181830",
4293
+ "bg-inverted-quaternary": "#464765",
4294
+ "bg-action": "#1362E2",
4295
+ "bg-action-hover": "#0470EC",
4296
+ "bg-action-focus": "#1362E2",
4297
+ "bg-action-active": "#1D41C3",
4298
+ "bg-action-quaternary": "#DEE1E3",
4299
+ "bg-action-quaternary-hover": "#EFEFEF",
4300
+ "bg-action-quaternary-active": "#CDD1D3",
4301
+ "bg-action-secondary": "#FCFCFC",
4302
+ "bg-action-secondary-hover": "#0470EC",
4303
+ "bg-action-secondary-active": "#1D41C3",
4304
+ "bg-action-tertiary": "#000000",
4305
+ "bg-action-tertiary-hover": "#04041C",
4306
+ "bg-action-tertiary-active": "#04041C",
4307
+ "bg-app-header": "#F0F3F7",
4308
+ "bg-backdrop-modal": "#121227",
4309
+ "bg-backdrop-popover": "#203645",
4310
+ "bg-backdrop-sidebar": "#121227",
4311
+ "bg-chip": "#203645",
4312
+ "bg-chip-hover": "#203645",
4313
+ "bg-chip-active": "#203645",
4314
+ "bg-danger": "#BD2947",
4315
+ "bg-danger-hover": "#E94768",
4316
+ "bg-danger-focus": "#BD2947",
4317
+ "bg-danger-active": "#E63257",
4318
+ "bg-danger-tertiary": "#000000",
4319
+ "bg-danger-tertiary-hover": "#FF5772",
4320
+ "bg-danger-tertiary-active": "#BD2947",
4321
+ "bg-disabled": "#B0B4B5",
4322
+ "bg-divider": "#ABC6D8",
4323
+ "bg-divider-secondary": "#C7D9E5",
4324
+ "bg-keypad-btn-active": "#E5EFFF",
4325
+ "bg-loading-progress": "#99C0FF",
4326
+ "bg-loading-track": "#E5EFFF",
4327
+ "bg-segment-hover": "#CDD1D3",
4328
+ "bg-segment-control": "#596063",
4329
+ "bg-selected": "#0097FF",
4330
+ "bg-sidebar": "#121227",
4331
+ "bg-sidebar-icon": "#BCBAD5",
4332
+ "bg-sidebar-icon-hover": "#121227",
4333
+ "bg-sidebar-icon-selected": "#FCFCFC",
4334
+ "bg-sidebar-item-hover": "#FCFCFC",
4335
+ "bg-sidebar-item-selected": "#1362E2",
4336
+ "bg-site-footer": "#33393D",
4337
+ "bg-site-footer-action": "#ABC6D8",
4338
+ "bg-site-footer-action-hover": "#C7D9E5",
4339
+ "bg-site-footer-action-active": "#8FB3CB",
4340
+ "bg-site-footer-field": "#596063",
4341
+ "bg-slider-handle": "#FCFCFC",
4342
+ "bg-status-error": "#FF6E8B",
4343
+ "bg-status-info": "#CDD1D3",
4344
+ "bg-status-success": "#A0E9A7",
4345
+ "bg-status-warning": "#FFDC83",
4346
+ "bg-tab": "#F0F3F7",
4347
+ "bg-tab-hover": "#F5F7F7",
4348
+ "bg-tab-selected": "#203645",
4349
+ "bg-table-alt-row": "#F5F7F7",
4350
+ "bg-table-header": "#F0F3F7",
4351
+ "bg-table-row-hover": "#F1F8FB",
4352
+ "bg-table-row-selected-expanded": "#E5EFFF",
4353
+ "bg-table-selected-row": "#CCDFFF",
4354
+ "bg-textarea-count": "#04041C",
4355
+ "bg-tile": "#FCFCFC",
4356
+ "bg-tile-hover": "#F5F7F7",
4357
+ "bg-tile-selected": "#F2F7FF",
4358
+ "bg-tile-selected-hover": "#E5EFFF",
4359
+ "bg-toggle-switch": "#6B747D",
4360
+ "bg-toggle-switch-hover": "#6B747D",
4361
+ "bg-toggle-switch-selected-disabled": "#99C0FF",
4362
+ "bg-transparent": "#000000",
4363
+ "bg-accent1-primary": "#73E6DC",
4364
+ "bg-accent1-secondary": "#C1F4EF",
4365
+ "bg-accent1-tertiary": "#E0F9F7",
4366
+ "bg-accent2-primary": "#806BFF",
4367
+ "bg-accent2-secondary": "#C7BDFF",
4368
+ "bg-accent2-tertiary": "#E3DEFF",
4369
+ "bg-accent3-primary": "#FFDC83",
4370
+ "bg-accent3-secondary": "#FFEFC8",
4371
+ "bg-accent3-tertiary": "#FFF7E3",
4372
+ "bg-accent4-primary": "#FF9571",
4373
+ "bg-accent4-secondary": "#FFD0C0",
4374
+ "bg-accent4-tertiary": "#FFE7DF",
4375
+ "bg-accent5-primary": "#00BBFF",
4376
+ "bg-accent5-secondary": "#8EDFF9",
4377
+ "bg-accent5-tertiary": "#E3F7FD",
4378
+ "bg-accent6-primary": "#FF82C9",
4379
+ "bg-accent6-secondary": "#FFC7E7",
4380
+ "bg-accent6-tertiary": "#FFE3F3",
4381
+ "bg-accent7-primary": "#259F9F",
4382
+ "bg-accent7-secondary": "#9BD4D6",
4383
+ "bg-accent7-tertiary": "#D0EFEF",
4384
+ "bg-accent8-primary": "#563D82",
4385
+ "bg-accent8-secondary": "#C7A2CC",
4386
+ "bg-accent8-tertiary": "#E6D6EA",
4387
+ "bg-accent9-primary": "#FFBF3F",
4388
+ "bg-accent9-secondary": "#FED78E",
4389
+ "bg-accent9-tertiary": "#FBE2B9",
4390
+ "bg-accent10-primary": "#ED7A23",
4391
+ "bg-accent10-secondary": "#F19255",
4392
+ "bg-accent10-tertiary": "#F5BB94",
4393
+ "bg-date-picker-range": "#E5EFFF"
4394
+ };
4395
+
4396
+ const CHART_DEFAULT_COLORS = [
4397
+ 'bg-accent1-primary',
4398
+ 'bg-accent2-primary',
4399
+ 'bg-accent3-primary',
4400
+ 'bg-accent4-primary',
4401
+ 'bg-accent5-primary',
4402
+ 'bg-accent6-primary',
4403
+ 'bg-accent7-primary',
4404
+ 'bg-accent8-primary',
4405
+ 'bg-accent9-primary',
4406
+ 'bg-accent10-primary',
4407
+ ];
4408
+ const DEFAULT_FONT_FAMILY = 'font-family:"Inter", sans-serif;';
4409
+ const FONTSTYLEMAPPING = Object.keys(typography.Typography).reduce((result, key) => {
4410
+ result[key] =
4411
+ DEFAULT_FONT_FAMILY +
4412
+ typography.Typography[key].filter((str) => str.indexOf('@apply') < 0).join(';');
4413
+ return result;
4414
+ }, { 'v-text-secondary': `color:rgba(107, 116, 125, 1);` });
4415
+ /**
4416
+ * base drawer that provides a common structure for drawing charts using a renderer and options.
4417
+ */
4418
+ class BaseDrawer {
4419
+ /**
4420
+ * This is a constructor function that takes in a renderer and options for a chart drawer.
4421
+ *
4422
+ * @param {BaseRenderer<SVGElement | HTMLCanvasElement>} renderer - `renderer` parameter is an instance of a `BaseRenderer` class that can render either SVG elements or a 2D canvas context
4423
+ * @param {BaseInteractor<SVGElement | HTMLCanvasElement>} interactor - `renderer` parameter is an instance of a `BaseInteractor` class
4424
+ * @param {ChartDrawerOptions<unknown>} options - where `T` is a generic type parameter. This parameter contains various options that can be used to customize the chart being drawn
4425
+ */
4426
+ constructor(renderer, interactor, options) {
4427
+ this.renderer = renderer;
4428
+ this.interactor = interactor;
4429
+ this.options = options;
4430
+ }
4431
+ /**
4432
+ * The function executes a draw method.
4433
+ */
4434
+ execute() {
4435
+ const drawPiece = this.draw();
4436
+ this.drawPiece = drawPiece;
4437
+ this.addInteractionSupport(drawPiece);
4438
+ }
4439
+ /**
4440
+ * returns a color token based on an index and an optional array of colors.
4441
+ *
4442
+ * @param {number} index - The index parameter is a number that represents the index of the color to be returned from the colors array.
4443
+ * @param {BackgroundColorsTokenType[]} [colors] - `colors` is an optional parameter of type `BackgroundColorsTokenType[]`
4444
+ * @returns {BackgroundColorsTokenType} color token
4445
+ */
4446
+ getColorByIndex(index, colors) {
4447
+ colors = colors && colors.length ? colors : CHART_DEFAULT_COLORS;
4448
+ index = index % colors.length;
4449
+ return colors[index];
4450
+ }
4451
+ /**
4452
+ * This function takes a token representing a background color and returns the corresponding color value from a predefined mapping.
4453
+ *
4454
+ * @param {BackgroundColorsTokenType} token - a string representing the token for a background color
4455
+ * @returns {string} The string value returned is the color code
4456
+ */
4457
+ getColorFromToken(token) {
4458
+ return BackgroundColorsMappingLight[token];
4459
+ }
4460
+ /**
4461
+ * The function takes a token as input and returns the corresponding CSS style text from a predefined mapping.
4462
+ *
4463
+ * @param {string} token - The `token` parameter is a string that represents a specific style mapping
4464
+ * in the `FONTSTYLEMAPPING` object. The function returns the CSS style text associated with the given `token`.
4465
+ * @returns {string} a string that represents the CSS style associated with the input token. If the input token
4466
+ * matches a key in the `FONTSTYLEMAPPING` object, the corresponding CSS style string is returned.
4467
+ */
4468
+ getStyleTextFromToken(token) {
4469
+ return token
4470
+ .split(' ')
4471
+ .map((item) => FONTSTYLEMAPPING[item])
4472
+ .join(';');
4473
+ }
4474
+ }
4475
+
4476
+ /** The code is defining an abstract class called `InteractingEntryGenerator` with a generic type `T`. This class is responsible for generating an `InteractingEntry` object based on the provided options. */
4477
+ class InteractingEntryGenerator {
4478
+ /**
4479
+ * The function generates an InteractingEntry object based on the provided options.
4480
+ *
4481
+ * @param {unknown} options - The `options` parameter is a generic type `T` that represents the options or configuration for the `generate` function. It can be any type that you define when calling the `generate` function.
4482
+ * @returns {InteractingEntry} An object of type InteractingEntry is being returned.
4483
+ */
4484
+ generate(options) {
4485
+ return {
4486
+ eventType: this.eventType,
4487
+ shouldHandle: this.createShouldHandle(options),
4488
+ handle: this.createHandle(options),
4489
+ };
4490
+ }
4491
+ }
4492
+
4493
+ /** The PieLegendHoverGenerator class generates an InteractingEntry object that handles mouseover events on a legend of a D3 pie chart and triggers a mouseover event on the corresponding path element. */
4494
+ class PieLegendHoverGenerator extends InteractingEntryGenerator {
4495
+ constructor() {
4496
+ super(...arguments);
4497
+ this.eventType = 'mouseover';
4498
+ }
4499
+ /**
4500
+ * The function "createShouldHandle" returns a function that takes an event as a parameter and returns a boolean value.
4501
+ *
4502
+ * @returns {InteractingEntry['shouldHandle']} A function that takes an event as an argument and returns a boolean value.
4503
+ */
4504
+ createShouldHandle() {
4505
+ return this.shouldHandle;
4506
+ }
4507
+ /**
4508
+ * The function "createHandle" returns the handle property of an InteractingEntry object.
4509
+ *
4510
+ * @param {LegendInputType} options the legend render options
4511
+ * @returns {InteractingEntry['handle']} The `handle` property of the `InteractingEntry` object is being returned.
4512
+ */
4513
+ createHandle(options) {
4514
+ // eslint-disable-next-line jsdoc/require-jsdoc
4515
+ return (event) => {
4516
+ this.handle(event, options);
4517
+ };
4518
+ }
4519
+ /**
4520
+ * This function checks if a mouse event should be handled based on whether the target or its parent element has a specific class.
4521
+ *
4522
+ * @param {MouseEvent} event - MouseEvent is a type of event that is triggered by a mouse action, such
4523
+ * as clicking, hovering, or scrolling. It contains information about the event, such as the target
4524
+ * element and the position of the mouse.
4525
+ * @returns {boolean} A boolean value is being returned. The method `shouldHandle` checks if the target element
4526
+ * or its parent element has a class of `vega-chart-legend-item` and returns `true` if it does, and
4527
+ * `false` otherwise.
4528
+ */
4529
+ shouldHandle(event) {
4530
+ var _a;
4531
+ const target = event.target;
4532
+ const currentTarget = event.currentTarget;
4533
+ const container = currentTarget.parentElement && currentTarget.parentElement.nodeType !== 11
4534
+ ? currentTarget.parentElement
4535
+ : currentTarget.parentNode['host'];
4536
+ return (container.tagName === 'VEGA-PIE-CHART' &&
4537
+ (target.classList.contains('vega-chart-legend-item') ||
4538
+ !!((_a = target.parentElement) === null || _a === void 0 ? void 0 : _a.classList.contains('vega-chart-legend-item'))));
4539
+ }
4540
+ /**
4541
+ * The function handles a mouse event on a legend and triggers a mouseover event on the corresponding path element in a D3 chart.
4542
+ *
4543
+ * @param {MouseEvent} event - The event parameter is a MouseEvent, which represents a user action
4544
+ * (such as a click or hover) on a specific element in the DOM.
4545
+ * @param {LegendInputType} options - LegendInputType is a custom type that likely contains
4546
+ * information about the data being displayed in the chart, such as the names of the categories or
4547
+ * series being plotted. It may also include information about the chart's appearance or behavior,
4548
+ * such as the colors or labels used in the legend. Without more information about
4549
+ */
4550
+ handle(event, options) {
4551
+ var _a;
4552
+ const svgSelection = d3Select(event.currentTarget);
4553
+ const target = event.target;
4554
+ const targetTextNode = target.tagName === 'text'
4555
+ ? target
4556
+ : target.tagName === 'circle'
4557
+ ? target.nextElementSibling
4558
+ : target.querySelector('text');
4559
+ const name = targetTextNode ? targetTextNode.textContent : '';
4560
+ const index = name ? options.data.indexOf(name) : 0;
4561
+ const paths = svgSelection
4562
+ .selectAll(`path.vega-chart-arc-path`)
4563
+ .nodes();
4564
+ (_a = paths[index]) === null || _a === void 0 ? void 0 : _a.dispatchEvent(new MouseEvent('mouseover', { bubbles: true }));
4565
+ }
4566
+ }
4567
+
4568
+ /** The LegendDrawer class draws circles and text for each legend in a chart. */
4569
+ class LegendDrawer extends BaseDrawer {
4570
+ constructor() {
4571
+ super(...arguments);
4572
+ this.pieLegendHoverGenerator = new PieLegendHoverGenerator();
4573
+ }
4574
+ /**
4575
+ * This function adds interaction support to a chart by registering it with an interactor and providing a hover generator.
4576
+ *
4577
+ * @param {(SVGGElement | HTMLCanvasElement)[]} drawPiece - `drawPiece` is a parameter of type array
4578
+ * that contains either `SVGGElement` or `HTMLCanvasElement` elements. It is used as a callback
4579
+ * function to draw the legend items on the chart.
4580
+ */
4581
+ addInteractionSupport(drawPiece) {
4582
+ var _a;
4583
+ if ((_a = this.options.renderOptions.data) === null || _a === void 0 ? void 0 : _a.length) {
4584
+ this.interactor.register(this, drawPiece, this.pieLegendHoverGenerator.generate(this.options.renderOptions));
4585
+ }
4586
+ }
4587
+ /**
4588
+ * This function draws a legend on a chart using input options.
4589
+ *
4590
+ * @returns {(SVGGElement | HTMLCanvasElement)[]} draw piece
4591
+ */
4592
+ draw() {
4593
+ const { data = [], colors, position, width } = this.options.renderOptions;
4594
+ const options = this.getChartLegendOptions(data, colors, position);
4595
+ if (options) {
4596
+ const longestLegendLength = array$2.getLongestTextLengthFromArray(data);
4597
+ return options.legends.map((legend, index) => {
4598
+ const position = this.getLegendPosition(options.position, index, longestLegendLength, width);
4599
+ return this.renderer.drawLegend(position, legend.field, legend.color, this.getStyleTextFromToken('v-font-footnote2-short'));
4600
+ });
4601
+ }
4602
+ }
4603
+ /**
4604
+ * This function takes in an array of strings and an optional position parameter, and returns an object containing legend options for a chart.
4605
+ *
4606
+ * @param {string[]} data - an array of strings representing the legend labels
4607
+ * @param {BackgroundColorsTokenType[]} [colors] - bg color token array
4608
+ * @param {ChartPosition} [position] - The `position` parameter is an optional parameter of type
4609
+ * `ChartPosition` which specifies the x and y coordinates of the chart legend on the chart. If it is
4610
+ * not provided, the default position is `{x: 10, y: 0}`.
4611
+ * @returns {ChartLegendOptions | undefined} an object of type `ChartLegendOptions`.
4612
+ */
4613
+ getChartLegendOptions(data, colors, position) {
4614
+ if (data && data.length) {
4615
+ position = position ? Object.assign({ x: 10, y: 0 }, position) : { x: 10, y: 0 };
4616
+ const legendsMap = {
4617
+ position,
4618
+ legends: data.map((text, index) => {
4619
+ return {
4620
+ field: text,
4621
+ color: this.getColorFromToken(this.getColorByIndex(index, colors)),
4622
+ icon: '',
4623
+ };
4624
+ }),
4625
+ };
4626
+ return legendsMap;
4627
+ }
4628
+ }
4629
+ /**
4630
+ * This function calculates the position of a legend on a chart based on its index and the chart layout.
4631
+ *
4632
+ * @param {ChartPosition} position - The initial position of the legend on the chart, with x and y coordinates.
4633
+ * @param {number} index - The index parameter is a number that represents the index of the legend item in the array of legends. It is used to calculate the position of the legend item on the chart.
4634
+ * @param {number} longestTextLength - text length
4635
+ * @param {number} width - chart width
4636
+ * @returns {ChartPosition} an object of type `ChartPosition` with `x` and `y` properties.
4637
+ */
4638
+ getLegendPosition(position, index, longestTextLength, width) {
4639
+ const maxWidth = width;
4640
+ if (maxWidth) {
4641
+ const restWidth = maxWidth - position.x;
4642
+ const singleWidth = longestTextLength * 7 + 24;
4643
+ const singleHeight = 18;
4644
+ const column = Math.max(Number((restWidth / singleWidth).toFixed(0)), 1);
4645
+ const row = parseInt((index / column).toString());
4646
+ const x = position.x + singleWidth * (index % column);
4647
+ const y = position.y + row * singleHeight;
4648
+ return { x, y };
4649
+ }
4650
+ return { x: 0, y: 0 };
4651
+ }
4652
+ }
4653
+
4654
+ /** The LayoutInputProcessor class processes input chart options to calculate layout dimensions and margins. */
4655
+ class LayoutInputProcessor {
4656
+ /**
4657
+ * This function processes chart options and returns layout dimensions and margins.
4658
+ *
4659
+ * @param {ChartOptions<unknown>} input - A ChartOptions object containing the container and layout properties.
4660
+ * @returns {LayoutProcessResultType} An object with properties `width`, `height`, `innerWidth`, `innerHeight`, `top`, `right`,
4661
+ * `bottom`, and `left`.
4662
+ */
4663
+ process(input) {
4664
+ const { container, layout } = input;
4665
+ const { top, right, bottom, left } = ((layout === null || layout === void 0 ? void 0 : layout.margin) ||
4666
+ DEFAULT_LAYOUT.margin);
4667
+ const dimensionController = new ChartDimensionController(container);
4668
+ return {
4669
+ width: dimensionController.getContainerClientWidth(layout),
4670
+ height: dimensionController.getContainerClientHeight(layout),
4671
+ innerWidth: dimensionController.getContainerInnerWidth(layout),
4672
+ innerHeight: dimensionController.getContainerInnerHeight(layout),
4673
+ top,
4674
+ right,
4675
+ bottom,
4676
+ left,
4677
+ };
4678
+ }
4679
+ }
4680
+
4681
+ /** The `ProcessorChain` class takes an array of input processors, processes input through them, and returns the final output. */
4682
+ class ProcessorChain {
4683
+ /**
4684
+ * This is a constructor function that takes an array of input processors as a parameter.
4685
+ *
4686
+ * @param {InputProcessor<unknown, unknown, unknown>[]} processors - The `processors` parameter is a
4687
+ * private property of the class that is of type `InputProcessor` which is an interface that takes
4688
+ * three type parameters - `Input`, `Output`, and `Context`. It is an array of instances of classes
4689
+ * that implement the `InputProcessor` interface. These processors are
4690
+ */
4691
+ constructor(processors) {
4692
+ this.processors = processors;
4693
+ }
4694
+ /**
4695
+ * This function processes input through a series of processors and returns the final output.
4696
+ *
4697
+ * @param {unknown} input - The input parameter is of type unknown, which means it can be any type of
4698
+ * value. It is the data that will be processed by the processors.
4699
+ * @returns {unknown} the output of the last processor in the `this.processors` array.
4700
+ */
4701
+ process(input) {
4702
+ let previousOutput;
4703
+ for (const processor of this.processors) {
4704
+ previousOutput = processor.process(input, previousOutput);
4705
+ }
4706
+ return previousOutput;
4707
+ }
4708
+ }
4709
+
4710
+ /** The `LegendInputProcessor` class processes chart options and previous layout results to generate a legend input object for a line chart. */
4711
+ class LegendInputProcessor {
4712
+ /**
4713
+ * This function takes in chart options and previous layout results, and returns a legend input object with data, colors, position, width, and height properties.
4714
+ *
4715
+ * @param {ChartOptions<LineChartDataType>} input - The input parameter is an object of type ChartOptions that contains the data and
4716
+ * configuration options for a line chart.
4717
+ * @param {LayoutProcessResultType} previousOutput - `previousOutput` is an optional parameter of
4718
+ * type `LayoutProcessResultType` that represents the output of the previous layout process. It is
4719
+ * used to retrieve the width and height of the chart, which are needed to properly position the
4720
+ * legend. If no previous output is provided, the width and height will
4721
+ * @returns {LegendInputType} an object of type `LegendInputType`. The object contains the following properties:
4722
+ * - `data`: an array of legend items
4723
+ * - `colors`: an array of colors used in the chart
4724
+ * - `position`: an object with `x` and `y` properties representing the position of the legend
4725
+ * - `width`: the width of the chart
4726
+ * - `height`: the
4727
+ */
4728
+ process(input, previousOutput) {
4729
+ const { colors, legends = [] } = input;
4730
+ const { width, height } = previousOutput;
4731
+ return {
4732
+ data: legends,
4733
+ colors,
4734
+ position: { x: 10, y: 10 },
4735
+ width,
4736
+ height,
4737
+ };
4738
+ }
4739
+ }
4740
+
4741
+ exports.BaseChart = BaseChart;
4742
+ exports.BaseDrawer = BaseDrawer;
4743
+ exports.InteractingEntryGenerator = InteractingEntryGenerator;
4744
+ exports.LayoutInputProcessor = LayoutInputProcessor;
4745
+ exports.LegendDrawer = LegendDrawer;
4746
+ exports.LegendInputProcessor = LegendInputProcessor;
4747
+ exports.ProcessorChain = ProcessorChain;
4748
+ exports.array = array;
4749
+ exports.color = color;
4750
+ exports.constant = constant$1;
4751
+ exports.constant$1 = constant;
4752
+ exports.d3Select = d3Select;
4753
+ exports.interpolateNumber = interpolateNumber;
4754
+ exports.interpolateRgb = interpolateRgb;
4755
+ exports.interpolateString = interpolateString;
4756
+ exports.tau = tau;