@heartlandone/vega-sandbox-pr-1507-b052ce5e9dcd599f1cf217963f17573ffcae0396 2.27.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2826) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/accessibility-bfa227f6.js +17 -0
  3. package/dist/cjs/app-globals-25c6e1ab.js +304 -0
  4. package/dist/cjs/array-6e559cde.js +178 -0
  5. package/dist/cjs/breakpoints-17d6c4c7.js +55 -0
  6. package/dist/cjs/breakpoints-ebde4837.js +14 -0
  7. package/dist/cjs/change-manager-a297e4d2.js +78 -0
  8. package/dist/cjs/chevron-down-ca2fa88e.js +12 -0
  9. package/dist/cjs/child-nodes-event-prevent-slimmer-3b757c7f.js +158 -0
  10. package/dist/cjs/child-nodes-notify-observer-slimmer-79f2f5a7.js +90 -0
  11. package/dist/cjs/component-73a88c4e.js +117 -0
  12. package/dist/cjs/component-global-style-slimmer-6749808c.js +87 -0
  13. package/dist/cjs/component-load-required-16d76afa.js +48 -0
  14. package/dist/cjs/component-usage-runtime-metrics-1ee24991.js +122 -0
  15. package/dist/cjs/create-public-api-runtime-metrics-slimmer-7510221b.js +208 -0
  16. package/dist/cjs/date-0a6bb035.js +95 -0
  17. package/dist/cjs/deprecated-property-slimmer-fc729fd9.js +49 -0
  18. package/dist/cjs/design-token-6694bd5a.js +403 -0
  19. package/dist/cjs/dom-node-subject-observer-factory-2e41340d.js +141 -0
  20. package/dist/cjs/dynamic-slimmer-f31fdfd7.js +63 -0
  21. package/dist/cjs/effect-37695d3d.js +52 -0
  22. package/dist/cjs/element-appender-slimmer-5e5863cf.js +1109 -0
  23. package/dist/cjs/event-emit-slimmer-962eda7c.js +257 -0
  24. package/dist/cjs/feature-flag-controller-078da332.js +313 -0
  25. package/dist/cjs/form-field-controller-slimmer-0d0603bc.js +1137 -0
  26. package/dist/cjs/global-slimmer-registry-b3bce7e0.js +297 -0
  27. package/dist/cjs/icon-manager-5a2b67cf.js +122 -0
  28. package/dist/cjs/icons-dbc3eb9c.js +520 -0
  29. package/dist/cjs/immutable-map-adf398cc.js +117 -0
  30. package/dist/cjs/index-09acd3c9.js +1759 -0
  31. package/dist/cjs/index-5792390b.js +1024 -0
  32. package/dist/cjs/index.cjs.js +97 -0
  33. package/dist/cjs/inject-keyboard-manager-e79a1ade.js +37 -0
  34. package/dist/cjs/internal-icon-manager-858baff1.js +45 -0
  35. package/dist/cjs/internal-vega-event-manager-49c87e82.js +461 -0
  36. package/dist/cjs/internal-vega-z-index-manager-23051df4.js +180 -0
  37. package/dist/cjs/keyboard-manager-34b78600.js +106 -0
  38. package/dist/cjs/keyboard-manager-slimmer-8e2d4b5d.js +39 -0
  39. package/dist/cjs/legend-input-processor-6ab8782a.js +4756 -0
  40. package/dist/cjs/loader.cjs.js +48 -0
  41. package/dist/cjs/min-number-rule-84f21ad9.js +142 -0
  42. package/dist/cjs/min-string-length-rule-75f24a48.js +143 -0
  43. package/dist/cjs/mobilefriendly-aa2e50e9.js +13 -0
  44. package/dist/cjs/mutation-observer-filters-79b60f28.js +58 -0
  45. package/dist/cjs/mutation-observer-slimmer-895b3d3e.js +85 -0
  46. package/dist/cjs/number-459031f7.js +92 -0
  47. package/dist/cjs/object-bbd4ed7f.js +37 -0
  48. package/dist/cjs/observer-f49483e8.js +32 -0
  49. package/dist/cjs/page-resize-observer-slimmer-bb1eaebe.js +122 -0
  50. package/dist/cjs/pixel-98f2a10c.js +72 -0
  51. package/dist/cjs/placeholder-cb6d37ad.js +27 -0
  52. package/dist/cjs/regex-c1f70fd4.js +15 -0
  53. package/dist/cjs/remote-invocation-registry-32aaf6c2.js +64 -0
  54. package/dist/cjs/required-field-rule-9a57b1a0.js +83 -0
  55. package/dist/cjs/responsive-format-facade-7969c733.js +718 -0
  56. package/dist/cjs/state-background-color-formatter-4821b86e.js +85 -0
  57. package/dist/cjs/static-subject-title-3599787e.js +69 -0
  58. package/dist/cjs/string-21427167.js +13 -0
  59. package/dist/cjs/string-input-formatter-slimmer-98497e93.js +364 -0
  60. package/dist/cjs/style-formatter-f6d8702c.js +34 -0
  61. package/dist/cjs/sub-state-observer-slimmer-832a4215.js +204 -0
  62. package/dist/cjs/synchronize-task-queue-8977cf10.js +41 -0
  63. package/dist/cjs/timer-5f33058b.js +24 -0
  64. package/dist/cjs/translation-0dd74433.js +276 -0
  65. package/dist/cjs/translation-slimmer-83577cfd.js +42 -0
  66. package/dist/cjs/type-guard-0b7742ff.js +716 -0
  67. package/dist/cjs/typography-4560e7f1.js +1080 -0
  68. package/dist/cjs/ui-08f33116.js +200 -0
  69. package/dist/cjs/ui-32e69595.js +52 -0
  70. package/dist/cjs/valid-credit-card-number-rule-8d8f04f1.js +172 -0
  71. package/dist/cjs/vega-accordion.cjs.entry.js +270 -0
  72. package/dist/cjs/vega-app-footer.cjs.entry.js +149 -0
  73. package/dist/cjs/vega-app-header-button.cjs.entry.js +315 -0
  74. package/dist/cjs/vega-backdrop.cjs.entry.js +156 -0
  75. package/dist/cjs/vega-banner.cjs.entry.js +354 -0
  76. package/dist/cjs/vega-bar-chart.cjs.entry.js +238 -0
  77. package/dist/cjs/vega-box.cjs.entry.js +209 -0
  78. package/dist/cjs/vega-breadcrumb.cjs.entry.js +268 -0
  79. package/dist/cjs/vega-button-circle.cjs.entry.js +223 -0
  80. package/dist/cjs/vega-button-group_2.cjs.entry.js +424 -0
  81. package/dist/cjs/vega-button-link.cjs.entry.js +216 -0
  82. package/dist/cjs/vega-button.cjs.entry.js +235 -0
  83. package/dist/cjs/vega-calendar_3.cjs.entry.js +4055 -0
  84. package/dist/cjs/vega-card.cjs.entry.js +197 -0
  85. package/dist/cjs/vega-carousel.cjs.entry.js +516 -0
  86. package/dist/cjs/vega-checkbox_2.cjs.entry.js +626 -0
  87. package/dist/cjs/vega-chip.cjs.entry.js +302 -0
  88. package/dist/cjs/vega-color-picker.cjs.entry.js +250 -0
  89. package/dist/cjs/vega-combo-box.cjs.entry.js +439 -0
  90. package/dist/cjs/vega-counter-badge.cjs.entry.js +90 -0
  91. package/dist/cjs/vega-date-picker_2.cjs.entry.js +2121 -0
  92. package/dist/cjs/vega-dialog-controller-6a8525b3.js +81 -0
  93. package/dist/cjs/vega-dialog_2.cjs.entry.js +717 -0
  94. package/dist/cjs/vega-divider.cjs.entry.js +150 -0
  95. package/dist/cjs/vega-dropdown_5.cjs.entry.js +2929 -0
  96. package/dist/cjs/vega-env-manager-23b8b23c.js +41 -0
  97. package/dist/cjs/vega-event-id-e40ac8f0.js +144 -0
  98. package/dist/cjs/vega-field-error.cjs.entry.js +102 -0
  99. package/dist/cjs/vega-field-label.cjs.entry.js +166 -0
  100. package/dist/cjs/vega-file-uploader.cjs.entry.js +688 -0
  101. package/dist/cjs/vega-flex.cjs.entry.js +198 -0
  102. package/dist/cjs/vega-font.cjs.entry.js +290 -0
  103. package/dist/cjs/vega-form.cjs.entry.js +486 -0
  104. package/dist/cjs/vega-grid.cjs.entry.js +100 -0
  105. package/dist/cjs/vega-hint.cjs.entry.js +38 -0
  106. package/dist/cjs/vega-icon.cjs.entry.js +229 -0
  107. package/dist/cjs/vega-image-uploader.cjs.entry.js +936 -0
  108. package/dist/cjs/vega-input-credit-card.cjs.entry.js +413 -0
  109. package/dist/cjs/vega-input-numeric.cjs.entry.js +305 -0
  110. package/dist/cjs/vega-input-phone-number.cjs.entry.js +9224 -0
  111. package/dist/cjs/vega-input-range.cjs.entry.js +747 -0
  112. package/dist/cjs/vega-input-select.cjs.entry.js +880 -0
  113. package/dist/cjs/vega-input.cjs.entry.js +1019 -0
  114. package/dist/cjs/vega-internal-event-id-c98e9a7d.js +50 -0
  115. package/dist/cjs/vega-item-toggle.cjs.entry.js +191 -0
  116. package/dist/cjs/vega-left-nav_5.cjs.entry.js +1185 -0
  117. package/dist/cjs/vega-line-chart.cjs.entry.js +382 -0
  118. package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +212 -0
  119. package/dist/cjs/vega-page-notification_2.cjs.entry.js +183 -0
  120. package/dist/cjs/vega-pagination.cjs.entry.js +386 -0
  121. package/dist/cjs/vega-pie-chart.cjs.entry.js +443 -0
  122. package/dist/cjs/vega-popover_2.cjs.entry.js +322 -0
  123. package/dist/cjs/vega-progress-tracker.cjs.entry.js +252 -0
  124. package/dist/cjs/vega-radio_2.cjs.entry.js +744 -0
  125. package/dist/cjs/vega-section-title.cjs.entry.js +112 -0
  126. package/dist/cjs/vega-segment-control.cjs.entry.js +349 -0
  127. package/dist/cjs/vega-selection-chip_2.cjs.entry.js +837 -0
  128. package/dist/cjs/vega-selection-tile_2.cjs.entry.js +796 -0
  129. package/dist/cjs/vega-signature-capture.cjs.entry.js +573 -0
  130. package/dist/cjs/vega-skeleton-loader-controller-b2f1365b.js +3905 -0
  131. package/dist/cjs/vega-skeleton.cjs.entry.js +330 -0
  132. package/dist/cjs/vega-slot-container.cjs.entry.js +40 -0
  133. package/dist/cjs/vega-stepper.cjs.entry.js +293 -0
  134. package/dist/cjs/vega-tab-group_2.cjs.entry.js +1271 -0
  135. package/dist/cjs/vega-table_8.cjs.entry.js +4572 -0
  136. package/dist/cjs/vega-text.cjs.entry.js +233 -0
  137. package/dist/cjs/vega-textarea.cjs.entry.js +303 -0
  138. package/dist/cjs/vega-time-picker_2.cjs.entry.js +2158 -0
  139. package/dist/cjs/vega-toggle-switch.cjs.entry.js +249 -0
  140. package/dist/cjs/vega-tooltip_2.cjs.entry.js +301 -0
  141. package/dist/cjs/vega.cjs.js +46 -0
  142. package/dist/cjs/y-axis-input-processor-cc6e9196.js +2302 -0
  143. package/dist/collection/collection-manifest.json +463 -0
  144. package/dist/collection/components/vega-accordion/slimmers/vega-accordion-expand-controller.js +61 -0
  145. package/dist/collection/components/vega-accordion/slimmers/vega-accordion-renderer.js +98 -0
  146. package/dist/collection/components/vega-accordion/vega-accordion.css +191 -0
  147. package/dist/collection/components/vega-accordion/vega-accordion.js +310 -0
  148. package/dist/collection/components/vega-app-footer/vega-app-footer.css +167 -0
  149. package/dist/collection/components/vega-app-footer/vega-app-footer.js +420 -0
  150. package/dist/collection/components/vega-app-header-button/slimmers/renderers/vega-menu-arrow-icon-renderer.js +26 -0
  151. package/dist/collection/components/vega-app-header-button/vega-app-header-button.css +2087 -0
  152. package/dist/collection/components/vega-app-header-button/vega-app-header-button.js +564 -0
  153. package/dist/collection/components/vega-backdrop/slimmers/controller/vega-backdrop-visible-controller.js +59 -0
  154. package/dist/collection/components/vega-backdrop/slimmers/renerers/vega-backdrop-renderer.js +31 -0
  155. package/dist/collection/components/vega-backdrop/vega-backdrop.css +28 -0
  156. package/dist/collection/components/vega-backdrop/vega-backdrop.js +149 -0
  157. package/dist/collection/components/vega-banner/slimmers/controllers/vega-banner-icon-controller.js +51 -0
  158. package/dist/collection/components/vega-banner/slimmers/renderers/vega-banner-action-button-renderer.js +51 -0
  159. package/dist/collection/components/vega-banner/slimmers/renderers/vega-banner-renderer.js +120 -0
  160. package/dist/collection/components/vega-banner/vega-banner.css +167 -0
  161. package/dist/collection/components/vega-banner/vega-banner.js +355 -0
  162. package/dist/collection/components/vega-box/interface.js +1 -0
  163. package/dist/collection/components/vega-box/slimmers/controllers/vega-box-state-styles-controller.js +117 -0
  164. package/dist/collection/components/vega-box/vega-box.css +7247 -0
  165. package/dist/collection/components/vega-box/vega-box.js +798 -0
  166. package/dist/collection/components/vega-breadcrumb/slimmers/controllers/vega-breadcrumb-click-controller.js +43 -0
  167. package/dist/collection/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-collapsed-item-renderer.js +29 -0
  168. package/dist/collection/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-item-renderer.js +46 -0
  169. package/dist/collection/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-renderer.js +60 -0
  170. package/dist/collection/components/vega-breadcrumb/vega-breadcrumb.css +182 -0
  171. package/dist/collection/components/vega-breadcrumb/vega-breadcrumb.js +190 -0
  172. package/dist/collection/components/vega-button/slimmers/renderers/vega-button-loading-renderer.js +24 -0
  173. package/dist/collection/components/vega-button/vega-button.css +200 -0
  174. package/dist/collection/components/vega-button/vega-button.js +481 -0
  175. package/dist/collection/components/vega-button-circle/vega-button-circle.css +406 -0
  176. package/dist/collection/components/vega-button-circle/vega-button-circle.js +434 -0
  177. package/dist/collection/components/vega-button-group/slimmers/controllers/vega-button-group-click-controller.js +38 -0
  178. package/dist/collection/components/vega-button-group/vega-button-group-item/slimmers/controllers/vega-button-group-item-sub-state-controller.js +42 -0
  179. package/dist/collection/components/vega-button-group/vega-button-group-item/slimmers/renderers/vega-button-group-item-renderer.js +153 -0
  180. package/dist/collection/components/vega-button-group/vega-button-group-item/vega-button-group-item.css +73 -0
  181. package/dist/collection/components/vega-button-group/vega-button-group-item/vega-button-group-item.js +194 -0
  182. package/dist/collection/components/vega-button-group/vega-button-group.css +26 -0
  183. package/dist/collection/components/vega-button-group/vega-button-group.js +229 -0
  184. package/dist/collection/components/vega-button-link/vega-button-link.css +335 -0
  185. package/dist/collection/components/vega-button-link/vega-button-link.js +415 -0
  186. package/dist/collection/components/vega-calendar/icons/clock-three.js +3 -0
  187. package/dist/collection/components/vega-calendar/icons/ellipsis-vertical.js +3 -0
  188. package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-current-period-controller.js +117 -0
  189. package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-controller.js +124 -0
  190. package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-responsive-controller.js +74 -0
  191. package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-view-controller.js +70 -0
  192. package/dist/collection/components/vega-calendar/slimmers/common/helpers/calendar-event-sorter.js +91 -0
  193. package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/base-repeat-pattern.js +61 -0
  194. package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-daily-repeat-pattern.js +70 -0
  195. package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-monthly-repeat-pattern.js +90 -0
  196. package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-repeat-pattern-factory.js +60 -0
  197. package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-weekly-repeat-pattern.js +163 -0
  198. package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-yearly-repeat-pattern.js +92 -0
  199. package/dist/collection/components/vega-calendar/slimmers/common/helpers/test/calendar-event-repeat-pattern-factory.test.js +105 -0
  200. package/dist/collection/components/vega-calendar/slimmers/common/layout/base-event-layout-cell.js +43 -0
  201. package/dist/collection/components/vega-calendar/slimmers/common/layout/base-event-layout-generator.js +23 -0
  202. package/dist/collection/components/vega-calendar/slimmers/common/layout/base-event-layout.js +11 -0
  203. package/dist/collection/components/vega-calendar/slimmers/common/layout/full-day-event-layout-generator.js +84 -0
  204. package/dist/collection/components/vega-calendar/slimmers/common/layout/full-day-event-layout-row.js +41 -0
  205. package/dist/collection/components/vega-calendar/slimmers/common/layout/full-day-event-layout.js +42 -0
  206. package/dist/collection/components/vega-calendar/slimmers/common/layout/test/long-event-layout-generator.test.js +94 -0
  207. package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-event-item-renderer.js +43 -0
  208. package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-full-day-event-layout-renderer.js +99 -0
  209. package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-renderer.js +27 -0
  210. package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-switch-panel.js +190 -0
  211. package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-view-renderer.js +30 -0
  212. package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/full-day-event/vega-calendar-full-day-event-more-button-renderer.js +46 -0
  213. package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/full-day-event/vega-calendar-full-day-event-renderer.js +86 -0
  214. package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout-column.js +50 -0
  215. package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout-generator.js +29 -0
  216. package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout.js +35 -0
  217. package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/test/day-view-event-layout-generator.test.js +72 -0
  218. package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/vega-calendar-day-event-layout-renderer.js +70 -0
  219. package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/vega-calendar-timed-event-renderer.js +52 -0
  220. package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-time-line-renderer.js +162 -0
  221. package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-view-with-time-renderer.js +109 -0
  222. package/dist/collection/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-event-renderer.js +179 -0
  223. package/dist/collection/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-view-renderer.js +125 -0
  224. package/dist/collection/components/vega-calendar/utils/index.js +32 -0
  225. package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-bg-color-controller.js +29 -0
  226. package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-slot-controller.js +76 -0
  227. package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-title-max-height-controller.js +37 -0
  228. package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-sub-state-controller.js +42 -0
  229. package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/renderers/vega-calendar-event-renderer.js +208 -0
  230. package/dist/collection/components/vega-calendar/vega-calendar-event/vega-calendar-event.css +371 -0
  231. package/dist/collection/components/vega-calendar/vega-calendar-event/vega-calendar-event.js +110 -0
  232. package/dist/collection/components/vega-calendar/vega-calendar-event-slot/vega-calendar-event-slot.css +10 -0
  233. package/dist/collection/components/vega-calendar/vega-calendar-event-slot/vega-calendar-event-slot.js +61 -0
  234. package/dist/collection/components/vega-calendar/vega-calendar.css +658 -0
  235. package/dist/collection/components/vega-calendar/vega-calendar.js +552 -0
  236. package/dist/collection/components/vega-card/vega-card.css +6713 -0
  237. package/dist/collection/components/vega-card/vega-card.js +193 -0
  238. package/dist/collection/components/vega-carousel/vega-carousel.css +81 -0
  239. package/dist/collection/components/vega-carousel/vega-carousel.js +586 -0
  240. package/dist/collection/components/vega-chart/vega-bar-chart/vega-bar-chart.css +16 -0
  241. package/dist/collection/components/vega-chart/vega-bar-chart/vega-bar-chart.js +106 -0
  242. package/dist/collection/components/vega-chart/vega-line-chart/vega-line-chart.css +16 -0
  243. package/dist/collection/components/vega-chart/vega-line-chart/vega-line-chart.js +142 -0
  244. package/dist/collection/components/vega-chart/vega-pie-chart/vega-pie-chart.css +16 -0
  245. package/dist/collection/components/vega-chart/vega-pie-chart/vega-pie-chart.js +142 -0
  246. package/dist/collection/components/vega-checkbox/slimmers/controllers/vega-checkbox-show-error-controller.js +59 -0
  247. package/dist/collection/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.css +137 -0
  248. package/dist/collection/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.js +492 -0
  249. package/dist/collection/components/vega-checkbox/vega-checkbox.css +261 -0
  250. package/dist/collection/components/vega-checkbox/vega-checkbox.js +478 -0
  251. package/dist/collection/components/vega-chip/vega-chip.css +2338 -0
  252. package/dist/collection/components/vega-chip/vega-chip.js +617 -0
  253. package/dist/collection/components/vega-color-picker/vega-color-picker.css +152 -0
  254. package/dist/collection/components/vega-color-picker/vega-color-picker.js +442 -0
  255. package/dist/collection/components/vega-combo-box/vega-combo-box.css +229 -0
  256. package/dist/collection/components/vega-combo-box/vega-combo-box.js +838 -0
  257. package/dist/collection/components/vega-counter-badge/vega-counter-badge.css +54 -0
  258. package/dist/collection/components/vega-counter-badge/vega-counter-badge.js +172 -0
  259. package/dist/collection/components/vega-date-picker/assets/icons.js +11 -0
  260. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-controller.js +260 -0
  261. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-element-appender-controller.js +33 -0
  262. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-format-controller.js +136 -0
  263. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-keyboard-controller.js +48 -0
  264. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-mobile-controller.js +53 -0
  265. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-value-controller.js +176 -0
  266. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-zindex-controller.js +49 -0
  267. package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-renderer.js +349 -0
  268. package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-range-input-renderer.js +117 -0
  269. package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-renderer.js +107 -0
  270. package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-single-input-renderer.js +83 -0
  271. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.css +640 -0
  272. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.js +36 -0
  273. package/dist/collection/components/vega-date-picker/vega-date-picker.css +287 -0
  274. package/dist/collection/components/vega-date-picker/vega-date-picker.js +811 -0
  275. package/dist/collection/components/vega-dialog/vega-dialog.css +64 -0
  276. package/dist/collection/components/vega-dialog/vega-dialog.js +331 -0
  277. package/dist/collection/components/vega-divider/interface.js +1 -0
  278. package/dist/collection/components/vega-divider/slimmers/controllers/vega-divider-size-controller.js +62 -0
  279. package/dist/collection/components/vega-divider/vega-divider.css +2545 -0
  280. package/dist/collection/components/vega-divider/vega-divider.js +170 -0
  281. package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.js +124 -0
  282. package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-children-controller.js +174 -0
  283. package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-keyboard-conttroller.js +85 -0
  284. package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-remote-invocation-controller.js +54 -0
  285. package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-render-mode-controller.js +51 -0
  286. package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-scrollable-controller.js +142 -0
  287. package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-search-controller.js +107 -0
  288. package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-selected-controller.js +222 -0
  289. package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-source-controller.js +68 -0
  290. package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-create-renderer.js +50 -0
  291. package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-group-level-renderer.js +19 -0
  292. package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-item-level-renderer.js +37 -0
  293. package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-list-renderer.js +103 -0
  294. package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-renderer.js +137 -0
  295. package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-search-renderer.js +94 -0
  296. package/dist/collection/components/vega-dropdown/test/share.js +13 -0
  297. package/dist/collection/components/vega-dropdown/vega-dropdown-content-box/vega-dropdown-content-box.css +237 -0
  298. package/dist/collection/components/vega-dropdown/vega-dropdown-content-box/vega-dropdown-content-box.js +44 -0
  299. package/dist/collection/components/vega-dropdown/vega-dropdown-group/slimmers/renderers/vega-dropdown-group-renderer.js +32 -0
  300. package/dist/collection/components/vega-dropdown/vega-dropdown-group/vega-dropdown-group.css +62 -0
  301. package/dist/collection/components/vega-dropdown/vega-dropdown-group/vega-dropdown-group.js +93 -0
  302. package/dist/collection/components/vega-dropdown/vega-dropdown-item/slimmers/controllers/vega-dropdown-item-click-controller.js +37 -0
  303. package/dist/collection/components/vega-dropdown/vega-dropdown-item/slimmers/controllers/vega-dropdown-item-state-controller.js +80 -0
  304. package/dist/collection/components/vega-dropdown/vega-dropdown-item/slimmers/renderers/vega-dropdown-item-renderer.js +103 -0
  305. package/dist/collection/components/vega-dropdown/vega-dropdown-item/vega-dropdown-item.css +129 -0
  306. package/dist/collection/components/vega-dropdown/vega-dropdown-item/vega-dropdown-item.js +291 -0
  307. package/dist/collection/components/vega-dropdown/vega-dropdown.css +8 -0
  308. package/dist/collection/components/vega-dropdown/vega-dropdown.js +1281 -0
  309. package/dist/collection/components/vega-field-error/slimmers/controllers/vega-field-error-message-controller.js +45 -0
  310. package/dist/collection/components/vega-field-error/vega-field-error.css +8 -0
  311. package/dist/collection/components/vega-field-error/vega-field-error.js +81 -0
  312. package/dist/collection/components/vega-field-label/slimmers/renderers/vega-field-label-suffix-element-renderer.js +50 -0
  313. package/dist/collection/components/vega-field-label/vega-field-label.css +72 -0
  314. package/dist/collection/components/vega-field-label/vega-field-label.js +260 -0
  315. package/dist/collection/components/vega-file-uploader/slimmers/controllers/vega-file-uploader-drop-file-filter-controller.js +51 -0
  316. package/dist/collection/components/vega-file-uploader/slimmers/controllers/vega-file-uploader-value-controller.js +49 -0
  317. package/dist/collection/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-container-renderer.js +171 -0
  318. package/dist/collection/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-list-renderer.js +114 -0
  319. package/dist/collection/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-status-renderer.js +26 -0
  320. package/dist/collection/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-renderer.js +42 -0
  321. package/dist/collection/components/vega-file-uploader/vega-file-uploader.css +154 -0
  322. package/dist/collection/components/vega-file-uploader/vega-file-uploader.js +665 -0
  323. package/dist/collection/components/vega-flex/vega-flex.css +4024 -0
  324. package/dist/collection/components/vega-flex/vega-flex.js +435 -0
  325. package/dist/collection/components/vega-font/slimmers/controllers/vega-font-as-controller.js +66 -0
  326. package/dist/collection/components/vega-font/slimmers/controllers/vega-font-classes-controller.js +46 -0
  327. package/dist/collection/components/vega-font/slimmers/controllers/vega-font-variant-controller.js +22 -0
  328. package/dist/collection/components/vega-font/slimmers/renderers/vega-font-renderer.js +18 -0
  329. package/dist/collection/components/vega-font/vega-font.css +1837 -0
  330. package/dist/collection/components/vega-font/vega-font.js +251 -0
  331. package/dist/collection/components/vega-form/vega-form.css +8 -0
  332. package/dist/collection/components/vega-form/vega-form.js +812 -0
  333. package/dist/collection/components/vega-grid/vega-grid.css +1811 -0
  334. package/dist/collection/components/vega-grid/vega-grid.js +178 -0
  335. package/dist/collection/components/vega-hint/vega-hint.js +39 -0
  336. package/dist/collection/components/vega-icon/vega-icon.css +391 -0
  337. package/dist/collection/components/vega-icon/vega-icon.js +291 -0
  338. package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-actions-visibility-controller.js +46 -0
  339. package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-input-controller.js +30 -0
  340. package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-preview-controller.js +93 -0
  341. package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-remove-controller.js +59 -0
  342. package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-value-controller.js +46 -0
  343. package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-actions-renderer.js +120 -0
  344. package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-default-content-renderer.js +45 -0
  345. package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-input-renderer.js +47 -0
  346. package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-preview-content-renderer.js +29 -0
  347. package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-renderer.js +96 -0
  348. package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-uploading-content-renderer.js +40 -0
  349. package/dist/collection/components/vega-image-uploader/vega-image-uploader.css +383 -0
  350. package/dist/collection/components/vega-image-uploader/vega-image-uploader.js +794 -0
  351. package/dist/collection/components/vega-input/slimmers/controllers/vega-input-copy-paste-controller.js +43 -0
  352. package/dist/collection/components/vega-input/slimmers/controllers/vega-input-mask-config-controller.js +143 -0
  353. package/dist/collection/components/vega-input/slimmers/renderers/vega-input-prefix-slot-renderer.js +37 -0
  354. package/dist/collection/components/vega-input/vega-input.css +274 -0
  355. package/dist/collection/components/vega-input/vega-input.js +1151 -0
  356. package/dist/collection/components/vega-input-credit-card/assets/icons.js +22 -0
  357. package/dist/collection/components/vega-input-credit-card/test/share.js +21 -0
  358. package/dist/collection/components/vega-input-credit-card/vega-input-credit-card.css +11 -0
  359. package/dist/collection/components/vega-input-credit-card/vega-input-credit-card.js +635 -0
  360. package/dist/collection/components/vega-input-numeric/slimmers/controllers/vega-input-numeric-keyboard-controller.js +78 -0
  361. package/dist/collection/components/vega-input-numeric/slimmers/controllers/vega-input-numeric-value-controller.js +45 -0
  362. package/dist/collection/components/vega-input-numeric/slimmers/renderers/vega-input-numeric-renderer.js +68 -0
  363. package/dist/collection/components/vega-input-numeric/vega-input-numeric.css +78 -0
  364. package/dist/collection/components/vega-input-numeric/vega-input-numeric.js +328 -0
  365. package/dist/collection/components/vega-input-phone-number/assets/countries.js +247 -0
  366. package/dist/collection/components/vega-input-phone-number/assets/country-flags.js +493 -0
  367. package/dist/collection/components/vega-input-phone-number/assets/flags/ac.js +692 -0
  368. package/dist/collection/components/vega-input-phone-number/assets/flags/ad.js +4 -0
  369. package/dist/collection/components/vega-input-phone-number/assets/flags/ae.js +4 -0
  370. package/dist/collection/components/vega-input-phone-number/assets/flags/af.js +4 -0
  371. package/dist/collection/components/vega-input-phone-number/assets/flags/ag.js +4 -0
  372. package/dist/collection/components/vega-input-phone-number/assets/flags/ai.js +4 -0
  373. package/dist/collection/components/vega-input-phone-number/assets/flags/al.js +4 -0
  374. package/dist/collection/components/vega-input-phone-number/assets/flags/am.js +4 -0
  375. package/dist/collection/components/vega-input-phone-number/assets/flags/ao.js +4 -0
  376. package/dist/collection/components/vega-input-phone-number/assets/flags/ar.js +4 -0
  377. package/dist/collection/components/vega-input-phone-number/assets/flags/as.js +4 -0
  378. package/dist/collection/components/vega-input-phone-number/assets/flags/at.js +4 -0
  379. package/dist/collection/components/vega-input-phone-number/assets/flags/au.js +4 -0
  380. package/dist/collection/components/vega-input-phone-number/assets/flags/aw.js +4 -0
  381. package/dist/collection/components/vega-input-phone-number/assets/flags/ax.js +4 -0
  382. package/dist/collection/components/vega-input-phone-number/assets/flags/az.js +4 -0
  383. package/dist/collection/components/vega-input-phone-number/assets/flags/ba.js +4 -0
  384. package/dist/collection/components/vega-input-phone-number/assets/flags/bb.js +4 -0
  385. package/dist/collection/components/vega-input-phone-number/assets/flags/bd.js +4 -0
  386. package/dist/collection/components/vega-input-phone-number/assets/flags/be.js +4 -0
  387. package/dist/collection/components/vega-input-phone-number/assets/flags/bf.js +4 -0
  388. package/dist/collection/components/vega-input-phone-number/assets/flags/bg.js +4 -0
  389. package/dist/collection/components/vega-input-phone-number/assets/flags/bh.js +4 -0
  390. package/dist/collection/components/vega-input-phone-number/assets/flags/bi.js +4 -0
  391. package/dist/collection/components/vega-input-phone-number/assets/flags/bj.js +4 -0
  392. package/dist/collection/components/vega-input-phone-number/assets/flags/bl.js +4 -0
  393. package/dist/collection/components/vega-input-phone-number/assets/flags/bm.js +4 -0
  394. package/dist/collection/components/vega-input-phone-number/assets/flags/bn.js +4 -0
  395. package/dist/collection/components/vega-input-phone-number/assets/flags/bo.js +4 -0
  396. package/dist/collection/components/vega-input-phone-number/assets/flags/bq.js +4 -0
  397. package/dist/collection/components/vega-input-phone-number/assets/flags/br.js +4 -0
  398. package/dist/collection/components/vega-input-phone-number/assets/flags/bs.js +4 -0
  399. package/dist/collection/components/vega-input-phone-number/assets/flags/bt.js +4 -0
  400. package/dist/collection/components/vega-input-phone-number/assets/flags/bw.js +4 -0
  401. package/dist/collection/components/vega-input-phone-number/assets/flags/by.js +4 -0
  402. package/dist/collection/components/vega-input-phone-number/assets/flags/bz.js +4 -0
  403. package/dist/collection/components/vega-input-phone-number/assets/flags/ca.js +4 -0
  404. package/dist/collection/components/vega-input-phone-number/assets/flags/cc.js +4 -0
  405. package/dist/collection/components/vega-input-phone-number/assets/flags/cd.js +4 -0
  406. package/dist/collection/components/vega-input-phone-number/assets/flags/cf.js +4 -0
  407. package/dist/collection/components/vega-input-phone-number/assets/flags/cg.js +4 -0
  408. package/dist/collection/components/vega-input-phone-number/assets/flags/ch.js +4 -0
  409. package/dist/collection/components/vega-input-phone-number/assets/flags/ci.js +4 -0
  410. package/dist/collection/components/vega-input-phone-number/assets/flags/ck.js +4 -0
  411. package/dist/collection/components/vega-input-phone-number/assets/flags/cl.js +4 -0
  412. package/dist/collection/components/vega-input-phone-number/assets/flags/cm.js +4 -0
  413. package/dist/collection/components/vega-input-phone-number/assets/flags/cn.js +4 -0
  414. package/dist/collection/components/vega-input-phone-number/assets/flags/co.js +4 -0
  415. package/dist/collection/components/vega-input-phone-number/assets/flags/cr.js +4 -0
  416. package/dist/collection/components/vega-input-phone-number/assets/flags/cu.js +4 -0
  417. package/dist/collection/components/vega-input-phone-number/assets/flags/cv.js +4 -0
  418. package/dist/collection/components/vega-input-phone-number/assets/flags/cw.js +4 -0
  419. package/dist/collection/components/vega-input-phone-number/assets/flags/cx.js +4 -0
  420. package/dist/collection/components/vega-input-phone-number/assets/flags/cy.js +4 -0
  421. package/dist/collection/components/vega-input-phone-number/assets/flags/cz.js +4 -0
  422. package/dist/collection/components/vega-input-phone-number/assets/flags/de.js +4 -0
  423. package/dist/collection/components/vega-input-phone-number/assets/flags/dj.js +4 -0
  424. package/dist/collection/components/vega-input-phone-number/assets/flags/dk.js +4 -0
  425. package/dist/collection/components/vega-input-phone-number/assets/flags/dm.js +4 -0
  426. package/dist/collection/components/vega-input-phone-number/assets/flags/do.js +4 -0
  427. package/dist/collection/components/vega-input-phone-number/assets/flags/dz.js +4 -0
  428. package/dist/collection/components/vega-input-phone-number/assets/flags/ec.js +4 -0
  429. package/dist/collection/components/vega-input-phone-number/assets/flags/ee.js +4 -0
  430. package/dist/collection/components/vega-input-phone-number/assets/flags/eg.js +4 -0
  431. package/dist/collection/components/vega-input-phone-number/assets/flags/eh.js +4 -0
  432. package/dist/collection/components/vega-input-phone-number/assets/flags/er.js +4 -0
  433. package/dist/collection/components/vega-input-phone-number/assets/flags/es.js +4 -0
  434. package/dist/collection/components/vega-input-phone-number/assets/flags/et.js +4 -0
  435. package/dist/collection/components/vega-input-phone-number/assets/flags/fi.js +4 -0
  436. package/dist/collection/components/vega-input-phone-number/assets/flags/fj.js +4 -0
  437. package/dist/collection/components/vega-input-phone-number/assets/flags/fk.js +4 -0
  438. package/dist/collection/components/vega-input-phone-number/assets/flags/fm.js +4 -0
  439. package/dist/collection/components/vega-input-phone-number/assets/flags/fo.js +4 -0
  440. package/dist/collection/components/vega-input-phone-number/assets/flags/fr.js +4 -0
  441. package/dist/collection/components/vega-input-phone-number/assets/flags/ga.js +4 -0
  442. package/dist/collection/components/vega-input-phone-number/assets/flags/gb.js +4 -0
  443. package/dist/collection/components/vega-input-phone-number/assets/flags/gd.js +4 -0
  444. package/dist/collection/components/vega-input-phone-number/assets/flags/ge.js +4 -0
  445. package/dist/collection/components/vega-input-phone-number/assets/flags/gf.js +4 -0
  446. package/dist/collection/components/vega-input-phone-number/assets/flags/gg.js +4 -0
  447. package/dist/collection/components/vega-input-phone-number/assets/flags/gh.js +4 -0
  448. package/dist/collection/components/vega-input-phone-number/assets/flags/gi.js +4 -0
  449. package/dist/collection/components/vega-input-phone-number/assets/flags/gl.js +4 -0
  450. package/dist/collection/components/vega-input-phone-number/assets/flags/gm.js +4 -0
  451. package/dist/collection/components/vega-input-phone-number/assets/flags/gn.js +4 -0
  452. package/dist/collection/components/vega-input-phone-number/assets/flags/gp.js +4 -0
  453. package/dist/collection/components/vega-input-phone-number/assets/flags/gq.js +4 -0
  454. package/dist/collection/components/vega-input-phone-number/assets/flags/gr.js +4 -0
  455. package/dist/collection/components/vega-input-phone-number/assets/flags/gt.js +4 -0
  456. package/dist/collection/components/vega-input-phone-number/assets/flags/gu.js +4 -0
  457. package/dist/collection/components/vega-input-phone-number/assets/flags/gw.js +4 -0
  458. package/dist/collection/components/vega-input-phone-number/assets/flags/gy.js +4 -0
  459. package/dist/collection/components/vega-input-phone-number/assets/flags/hk.js +4 -0
  460. package/dist/collection/components/vega-input-phone-number/assets/flags/hn.js +4 -0
  461. package/dist/collection/components/vega-input-phone-number/assets/flags/hr.js +4 -0
  462. package/dist/collection/components/vega-input-phone-number/assets/flags/ht.js +4 -0
  463. package/dist/collection/components/vega-input-phone-number/assets/flags/hu.js +4 -0
  464. package/dist/collection/components/vega-input-phone-number/assets/flags/id.js +4 -0
  465. package/dist/collection/components/vega-input-phone-number/assets/flags/ie.js +4 -0
  466. package/dist/collection/components/vega-input-phone-number/assets/flags/il.js +4 -0
  467. package/dist/collection/components/vega-input-phone-number/assets/flags/im.js +4 -0
  468. package/dist/collection/components/vega-input-phone-number/assets/flags/in.js +4 -0
  469. package/dist/collection/components/vega-input-phone-number/assets/flags/io.js +4 -0
  470. package/dist/collection/components/vega-input-phone-number/assets/flags/iq.js +4 -0
  471. package/dist/collection/components/vega-input-phone-number/assets/flags/ir.js +4 -0
  472. package/dist/collection/components/vega-input-phone-number/assets/flags/is.js +4 -0
  473. package/dist/collection/components/vega-input-phone-number/assets/flags/it.js +4 -0
  474. package/dist/collection/components/vega-input-phone-number/assets/flags/je.js +4 -0
  475. package/dist/collection/components/vega-input-phone-number/assets/flags/jm.js +4 -0
  476. package/dist/collection/components/vega-input-phone-number/assets/flags/jo.js +4 -0
  477. package/dist/collection/components/vega-input-phone-number/assets/flags/jp.js +4 -0
  478. package/dist/collection/components/vega-input-phone-number/assets/flags/ke.js +4 -0
  479. package/dist/collection/components/vega-input-phone-number/assets/flags/kg.js +4 -0
  480. package/dist/collection/components/vega-input-phone-number/assets/flags/kh.js +4 -0
  481. package/dist/collection/components/vega-input-phone-number/assets/flags/ki.js +4 -0
  482. package/dist/collection/components/vega-input-phone-number/assets/flags/km.js +4 -0
  483. package/dist/collection/components/vega-input-phone-number/assets/flags/kn.js +4 -0
  484. package/dist/collection/components/vega-input-phone-number/assets/flags/kp.js +4 -0
  485. package/dist/collection/components/vega-input-phone-number/assets/flags/kr.js +4 -0
  486. package/dist/collection/components/vega-input-phone-number/assets/flags/kw.js +4 -0
  487. package/dist/collection/components/vega-input-phone-number/assets/flags/ky.js +4 -0
  488. package/dist/collection/components/vega-input-phone-number/assets/flags/kz.js +4 -0
  489. package/dist/collection/components/vega-input-phone-number/assets/flags/la.js +4 -0
  490. package/dist/collection/components/vega-input-phone-number/assets/flags/lb.js +4 -0
  491. package/dist/collection/components/vega-input-phone-number/assets/flags/lc.js +4 -0
  492. package/dist/collection/components/vega-input-phone-number/assets/flags/li.js +4 -0
  493. package/dist/collection/components/vega-input-phone-number/assets/flags/lk.js +4 -0
  494. package/dist/collection/components/vega-input-phone-number/assets/flags/lr.js +4 -0
  495. package/dist/collection/components/vega-input-phone-number/assets/flags/ls.js +4 -0
  496. package/dist/collection/components/vega-input-phone-number/assets/flags/lt.js +4 -0
  497. package/dist/collection/components/vega-input-phone-number/assets/flags/lu.js +4 -0
  498. package/dist/collection/components/vega-input-phone-number/assets/flags/lv.js +4 -0
  499. package/dist/collection/components/vega-input-phone-number/assets/flags/ly.js +4 -0
  500. package/dist/collection/components/vega-input-phone-number/assets/flags/ma.js +4 -0
  501. package/dist/collection/components/vega-input-phone-number/assets/flags/mc.js +4 -0
  502. package/dist/collection/components/vega-input-phone-number/assets/flags/md.js +4 -0
  503. package/dist/collection/components/vega-input-phone-number/assets/flags/me.js +4 -0
  504. package/dist/collection/components/vega-input-phone-number/assets/flags/mf.js +4 -0
  505. package/dist/collection/components/vega-input-phone-number/assets/flags/mg.js +4 -0
  506. package/dist/collection/components/vega-input-phone-number/assets/flags/mh.js +4 -0
  507. package/dist/collection/components/vega-input-phone-number/assets/flags/mk.js +4 -0
  508. package/dist/collection/components/vega-input-phone-number/assets/flags/ml.js +4 -0
  509. package/dist/collection/components/vega-input-phone-number/assets/flags/mm.js +4 -0
  510. package/dist/collection/components/vega-input-phone-number/assets/flags/mn.js +4 -0
  511. package/dist/collection/components/vega-input-phone-number/assets/flags/mo.js +4 -0
  512. package/dist/collection/components/vega-input-phone-number/assets/flags/mp.js +4 -0
  513. package/dist/collection/components/vega-input-phone-number/assets/flags/mq.js +4 -0
  514. package/dist/collection/components/vega-input-phone-number/assets/flags/mr.js +4 -0
  515. package/dist/collection/components/vega-input-phone-number/assets/flags/ms.js +4 -0
  516. package/dist/collection/components/vega-input-phone-number/assets/flags/mt.js +4 -0
  517. package/dist/collection/components/vega-input-phone-number/assets/flags/mu.js +4 -0
  518. package/dist/collection/components/vega-input-phone-number/assets/flags/mv.js +4 -0
  519. package/dist/collection/components/vega-input-phone-number/assets/flags/mw.js +4 -0
  520. package/dist/collection/components/vega-input-phone-number/assets/flags/mx.js +4 -0
  521. package/dist/collection/components/vega-input-phone-number/assets/flags/my.js +4 -0
  522. package/dist/collection/components/vega-input-phone-number/assets/flags/mz.js +4 -0
  523. package/dist/collection/components/vega-input-phone-number/assets/flags/na.js +4 -0
  524. package/dist/collection/components/vega-input-phone-number/assets/flags/nc.js +4 -0
  525. package/dist/collection/components/vega-input-phone-number/assets/flags/ne.js +4 -0
  526. package/dist/collection/components/vega-input-phone-number/assets/flags/nf.js +4 -0
  527. package/dist/collection/components/vega-input-phone-number/assets/flags/ng.js +4 -0
  528. package/dist/collection/components/vega-input-phone-number/assets/flags/ni.js +4 -0
  529. package/dist/collection/components/vega-input-phone-number/assets/flags/nl.js +4 -0
  530. package/dist/collection/components/vega-input-phone-number/assets/flags/no.js +4 -0
  531. package/dist/collection/components/vega-input-phone-number/assets/flags/np.js +4 -0
  532. package/dist/collection/components/vega-input-phone-number/assets/flags/nr.js +4 -0
  533. package/dist/collection/components/vega-input-phone-number/assets/flags/nu.js +4 -0
  534. package/dist/collection/components/vega-input-phone-number/assets/flags/nz.js +4 -0
  535. package/dist/collection/components/vega-input-phone-number/assets/flags/om.js +4 -0
  536. package/dist/collection/components/vega-input-phone-number/assets/flags/pa.js +4 -0
  537. package/dist/collection/components/vega-input-phone-number/assets/flags/pe.js +4 -0
  538. package/dist/collection/components/vega-input-phone-number/assets/flags/pf.js +4 -0
  539. package/dist/collection/components/vega-input-phone-number/assets/flags/pg.js +4 -0
  540. package/dist/collection/components/vega-input-phone-number/assets/flags/ph.js +4 -0
  541. package/dist/collection/components/vega-input-phone-number/assets/flags/pk.js +4 -0
  542. package/dist/collection/components/vega-input-phone-number/assets/flags/pl.js +4 -0
  543. package/dist/collection/components/vega-input-phone-number/assets/flags/pm.js +4 -0
  544. package/dist/collection/components/vega-input-phone-number/assets/flags/pr.js +4 -0
  545. package/dist/collection/components/vega-input-phone-number/assets/flags/ps.js +4 -0
  546. package/dist/collection/components/vega-input-phone-number/assets/flags/pt.js +4 -0
  547. package/dist/collection/components/vega-input-phone-number/assets/flags/pw.js +4 -0
  548. package/dist/collection/components/vega-input-phone-number/assets/flags/py.js +4 -0
  549. package/dist/collection/components/vega-input-phone-number/assets/flags/qa.js +4 -0
  550. package/dist/collection/components/vega-input-phone-number/assets/flags/re.js +4 -0
  551. package/dist/collection/components/vega-input-phone-number/assets/flags/ro.js +4 -0
  552. package/dist/collection/components/vega-input-phone-number/assets/flags/rs.js +4 -0
  553. package/dist/collection/components/vega-input-phone-number/assets/flags/ru.js +4 -0
  554. package/dist/collection/components/vega-input-phone-number/assets/flags/rw.js +4 -0
  555. package/dist/collection/components/vega-input-phone-number/assets/flags/sa.js +4 -0
  556. package/dist/collection/components/vega-input-phone-number/assets/flags/sb.js +4 -0
  557. package/dist/collection/components/vega-input-phone-number/assets/flags/sc.js +4 -0
  558. package/dist/collection/components/vega-input-phone-number/assets/flags/sd.js +4 -0
  559. package/dist/collection/components/vega-input-phone-number/assets/flags/se.js +4 -0
  560. package/dist/collection/components/vega-input-phone-number/assets/flags/sg.js +4 -0
  561. package/dist/collection/components/vega-input-phone-number/assets/flags/sh.js +167 -0
  562. package/dist/collection/components/vega-input-phone-number/assets/flags/si.js +4 -0
  563. package/dist/collection/components/vega-input-phone-number/assets/flags/sj.js +4 -0
  564. package/dist/collection/components/vega-input-phone-number/assets/flags/sk.js +4 -0
  565. package/dist/collection/components/vega-input-phone-number/assets/flags/sl.js +4 -0
  566. package/dist/collection/components/vega-input-phone-number/assets/flags/sm.js +4 -0
  567. package/dist/collection/components/vega-input-phone-number/assets/flags/sn.js +4 -0
  568. package/dist/collection/components/vega-input-phone-number/assets/flags/so.js +4 -0
  569. package/dist/collection/components/vega-input-phone-number/assets/flags/sr.js +4 -0
  570. package/dist/collection/components/vega-input-phone-number/assets/flags/ss.js +4 -0
  571. package/dist/collection/components/vega-input-phone-number/assets/flags/st.js +4 -0
  572. package/dist/collection/components/vega-input-phone-number/assets/flags/sv.js +4 -0
  573. package/dist/collection/components/vega-input-phone-number/assets/flags/sx.js +4 -0
  574. package/dist/collection/components/vega-input-phone-number/assets/flags/sy.js +4 -0
  575. package/dist/collection/components/vega-input-phone-number/assets/flags/sz.js +4 -0
  576. package/dist/collection/components/vega-input-phone-number/assets/flags/ta.js +79 -0
  577. package/dist/collection/components/vega-input-phone-number/assets/flags/tc.js +4 -0
  578. package/dist/collection/components/vega-input-phone-number/assets/flags/td.js +4 -0
  579. package/dist/collection/components/vega-input-phone-number/assets/flags/tg.js +4 -0
  580. package/dist/collection/components/vega-input-phone-number/assets/flags/th.js +4 -0
  581. package/dist/collection/components/vega-input-phone-number/assets/flags/tj.js +4 -0
  582. package/dist/collection/components/vega-input-phone-number/assets/flags/tk.js +4 -0
  583. package/dist/collection/components/vega-input-phone-number/assets/flags/tl.js +4 -0
  584. package/dist/collection/components/vega-input-phone-number/assets/flags/tm.js +4 -0
  585. package/dist/collection/components/vega-input-phone-number/assets/flags/tn.js +4 -0
  586. package/dist/collection/components/vega-input-phone-number/assets/flags/to.js +4 -0
  587. package/dist/collection/components/vega-input-phone-number/assets/flags/tr.js +4 -0
  588. package/dist/collection/components/vega-input-phone-number/assets/flags/tt.js +4 -0
  589. package/dist/collection/components/vega-input-phone-number/assets/flags/tv.js +4 -0
  590. package/dist/collection/components/vega-input-phone-number/assets/flags/tw.js +4 -0
  591. package/dist/collection/components/vega-input-phone-number/assets/flags/tz.js +4 -0
  592. package/dist/collection/components/vega-input-phone-number/assets/flags/ua.js +4 -0
  593. package/dist/collection/components/vega-input-phone-number/assets/flags/ug.js +4 -0
  594. package/dist/collection/components/vega-input-phone-number/assets/flags/us.js +4 -0
  595. package/dist/collection/components/vega-input-phone-number/assets/flags/uy.js +4 -0
  596. package/dist/collection/components/vega-input-phone-number/assets/flags/uz.js +4 -0
  597. package/dist/collection/components/vega-input-phone-number/assets/flags/va.js +4 -0
  598. package/dist/collection/components/vega-input-phone-number/assets/flags/vc.js +4 -0
  599. package/dist/collection/components/vega-input-phone-number/assets/flags/ve.js +4 -0
  600. package/dist/collection/components/vega-input-phone-number/assets/flags/vg.js +4 -0
  601. package/dist/collection/components/vega-input-phone-number/assets/flags/vi.js +4 -0
  602. package/dist/collection/components/vega-input-phone-number/assets/flags/vn.js +4 -0
  603. package/dist/collection/components/vega-input-phone-number/assets/flags/vu.js +4 -0
  604. package/dist/collection/components/vega-input-phone-number/assets/flags/wf.js +4 -0
  605. package/dist/collection/components/vega-input-phone-number/assets/flags/ws.js +4 -0
  606. package/dist/collection/components/vega-input-phone-number/assets/flags/xk.js +4 -0
  607. package/dist/collection/components/vega-input-phone-number/assets/flags/ye.js +4 -0
  608. package/dist/collection/components/vega-input-phone-number/assets/flags/yt.js +4 -0
  609. package/dist/collection/components/vega-input-phone-number/assets/flags/za.js +4 -0
  610. package/dist/collection/components/vega-input-phone-number/assets/flags/zm.js +4 -0
  611. package/dist/collection/components/vega-input-phone-number/assets/flags/zw.js +4 -0
  612. package/dist/collection/components/vega-input-phone-number/slimmers/controllers/country-select-controller.js +62 -0
  613. package/dist/collection/components/vega-input-phone-number/slimmers/controllers/vega-input-phone-number-value-controller.js +154 -0
  614. package/dist/collection/components/vega-input-phone-number/slimmers/renderers/country-select-renderer.js +174 -0
  615. package/dist/collection/components/vega-input-phone-number/slimmers/renderers/phone-number-input-renderer.js +102 -0
  616. package/dist/collection/components/vega-input-phone-number/slimmers/renderers/vega-input-phone-number-renderer.js +60 -0
  617. package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.css +89 -0
  618. package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.js +565 -0
  619. package/dist/collection/components/vega-input-range/slimmers/controllers/vega-input-range-value-controller.js +84 -0
  620. package/dist/collection/components/vega-input-range/slimmers/renderers/vega-input-range-clear-icon-renderer.js +59 -0
  621. package/dist/collection/components/vega-input-range/slimmers/renderers/vega-input-range-input-renderer.js +143 -0
  622. package/dist/collection/components/vega-input-range/slimmers/renderers/vega-input-range-renderer.js +66 -0
  623. package/dist/collection/components/vega-input-range/vega-input-range.css +161 -0
  624. package/dist/collection/components/vega-input-range/vega-input-range.js +602 -0
  625. package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-dropdown-controller.js +77 -0
  626. package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-items-slot-controler.js +62 -0
  627. package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-lazy-load-controller.js +70 -0
  628. package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-source-controller.js +48 -0
  629. package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-value-controller.js +100 -0
  630. package/dist/collection/components/vega-input-select/slimmers/renderers/vega-input-select-dropdown-renderer.js +145 -0
  631. package/dist/collection/components/vega-input-select/slimmers/renderers/vega-input-select-renderer.js +55 -0
  632. package/dist/collection/components/vega-input-select/vega-input-select.css +310 -0
  633. package/dist/collection/components/vega-input-select/vega-input-select.js +817 -0
  634. package/dist/collection/components/vega-item-toggle/vega-item-toggle.css +102 -0
  635. package/dist/collection/components/vega-item-toggle/vega-item-toggle.js +263 -0
  636. package/dist/collection/components/vega-loader-wrapper/vega-loader-wrapper.css +26 -0
  637. package/dist/collection/components/vega-loader-wrapper/vega-loader-wrapper.js +37 -0
  638. package/dist/collection/components/vega-loading-indicator/vega-loading-indicator.css +238 -0
  639. package/dist/collection/components/vega-loading-indicator/vega-loading-indicator.js +313 -0
  640. package/dist/collection/components/vega-modal/slimmers/controllers/vega-nested-modal-controller.js +33 -0
  641. package/dist/collection/components/vega-modal/vega-modal.css +2668 -0
  642. package/dist/collection/components/vega-modal/vega-modal.js +954 -0
  643. package/dist/collection/components/vega-nav/interface.js +1 -0
  644. package/dist/collection/components/vega-nav/slimmers/renderers/vega-nav-list-renderer.js +44 -0
  645. package/dist/collection/components/vega-nav/slimmers/vega-nav-observer-slimmer.js +52 -0
  646. package/dist/collection/components/vega-nav/vega-left-nav/assets/icons.js +6 -0
  647. package/dist/collection/components/vega-nav/vega-left-nav/internal/vega-left-nav-separator.js +5 -0
  648. package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-auto-collapse-controller.js +50 -0
  649. package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-backdrop-controller.js +96 -0
  650. package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-open-state-controller.js +141 -0
  651. package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-zindex-controller.js +44 -0
  652. package/dist/collection/components/vega-nav/vega-left-nav/slimmers/renderers/vega-left-nav-footer-renderer.js +31 -0
  653. package/dist/collection/components/vega-nav/vega-left-nav/slimmers/renderers/vega-left-nav-header-renderer.js +39 -0
  654. package/dist/collection/components/vega-nav/vega-left-nav/vega-left-nav.css +203 -0
  655. package/dist/collection/components/vega-nav/vega-left-nav/vega-left-nav.js +354 -0
  656. package/dist/collection/components/vega-nav/vega-left-nav-group/slimmers/controllers/vega-left-nav-group-controller.js +30 -0
  657. package/dist/collection/components/vega-nav/vega-left-nav-group/slimmers/renderers/vega-left-nav-group-renderer.js +60 -0
  658. package/dist/collection/components/vega-nav/vega-left-nav-group/vega-left-nav-group.css +110 -0
  659. package/dist/collection/components/vega-nav/vega-left-nav-group/vega-left-nav-group.js +141 -0
  660. package/dist/collection/components/vega-nav/vega-left-nav-link/slimmers/controllers/vega-left-nav-link-controller.js +44 -0
  661. package/dist/collection/components/vega-nav/vega-left-nav-link/slimmers/renderers/vega-left-nav-link-renderer.js +75 -0
  662. package/dist/collection/components/vega-nav/vega-left-nav-link/vega-left-nav-link.css +103 -0
  663. package/dist/collection/components/vega-nav/vega-left-nav-link/vega-left-nav-link.js +193 -0
  664. package/dist/collection/components/vega-nav/vega-left-nav-section/slimmers/renderers/vega-left-nav-section-renderer.js +40 -0
  665. package/dist/collection/components/vega-nav/vega-left-nav-section/vega-left-nav-section.css +75 -0
  666. package/dist/collection/components/vega-nav/vega-left-nav-section/vega-left-nav-section.js +114 -0
  667. package/dist/collection/components/vega-nav/vega-nav-card/slimmers/controllers/vega-nav-card-max-height-controller.js +38 -0
  668. package/dist/collection/components/vega-nav/vega-nav-card/vega-nav-card.css +34 -0
  669. package/dist/collection/components/vega-nav/vega-nav-card/vega-nav-card.js +115 -0
  670. package/dist/collection/components/vega-page-notification/vega-page-notification-list/vega-page-notification-list.css +25 -0
  671. package/dist/collection/components/vega-page-notification/vega-page-notification-list/vega-page-notification-list.js +37 -0
  672. package/dist/collection/components/vega-page-notification/vega-page-notification.css +317 -0
  673. package/dist/collection/components/vega-page-notification/vega-page-notification.js +313 -0
  674. package/dist/collection/components/vega-pagination/internal/vega-pagination-current-page-label.js +6 -0
  675. package/dist/collection/components/vega-pagination/internal/vega-pagination-go-to.js +40 -0
  676. package/dist/collection/components/vega-pagination/internal/vega-pagination-page-selector.js +62 -0
  677. package/dist/collection/components/vega-pagination/internal/vega-pagination-page-size-selector.js +22 -0
  678. package/dist/collection/components/vega-pagination/vega-pagination.css +163 -0
  679. package/dist/collection/components/vega-pagination/vega-pagination.js +404 -0
  680. package/dist/collection/components/vega-popover/slimmers/controllers/vega-popover-appender-controller.js +49 -0
  681. package/dist/collection/components/vega-popover/slimmers/renderers/vega-popover-appender-renderer.js +45 -0
  682. package/dist/collection/components/vega-popover/vega-popover-content-box/vega-popover-content-box.css +140 -0
  683. package/dist/collection/components/vega-popover/vega-popover-content-box/vega-popover-content-box.js +73 -0
  684. package/dist/collection/components/vega-popover/vega-popover.css +8 -0
  685. package/dist/collection/components/vega-popover/vega-popover.js +441 -0
  686. package/dist/collection/components/vega-progress-tracker/vega-progress-tracker.css +430 -0
  687. package/dist/collection/components/vega-progress-tracker/vega-progress-tracker.js +473 -0
  688. package/dist/collection/components/vega-radio/slimmers/controllers/vega-radio-show-error-controller.js +65 -0
  689. package/dist/collection/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-keyboard-controller.js +99 -0
  690. package/dist/collection/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-radio-items-controller.js +95 -0
  691. package/dist/collection/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-value-controller.js +47 -0
  692. package/dist/collection/components/vega-radio/vega-radio-group/vega-radio-group.css +137 -0
  693. package/dist/collection/components/vega-radio/vega-radio-group/vega-radio-group.js +509 -0
  694. package/dist/collection/components/vega-radio/vega-radio.css +203 -0
  695. package/dist/collection/components/vega-radio/vega-radio.js +434 -0
  696. package/dist/collection/components/vega-section-title/slimmers/renderers/vega-section-title-renderer.js +54 -0
  697. package/dist/collection/components/vega-section-title/vega-section-title.css +91 -0
  698. package/dist/collection/components/vega-section-title/vega-section-title.js +145 -0
  699. package/dist/collection/components/vega-segment-control/slimmers/controllers/vega-segment-control-selected-controller.js +49 -0
  700. package/dist/collection/components/vega-segment-control/slimmers/controllers/vega-segment-overflow-controller.js +68 -0
  701. package/dist/collection/components/vega-segment-control/slimmers/renderers/vega-segment-control-renderer.js +22 -0
  702. package/dist/collection/components/vega-segment-control/slimmers/renderers/vega-segment-renderer.js +68 -0
  703. package/dist/collection/components/vega-segment-control/vega-segment-control.css +130 -0
  704. package/dist/collection/components/vega-segment-control/vega-segment-control.js +302 -0
  705. package/dist/collection/components/vega-selection-chip/interface.js +1 -0
  706. package/dist/collection/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-checked-cotroller.js +42 -0
  707. package/dist/collection/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-show-error-controller.js +63 -0
  708. package/dist/collection/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-state-controller.js +77 -0
  709. package/dist/collection/components/vega-selection-chip/slimmers/renderers/vega-selection-chip-renderer.js +102 -0
  710. package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/interface.js +1 -0
  711. package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/slimmers/controllers/vega-selection-chip-group-items-controller.js +170 -0
  712. package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/slimmers/controllers/vega-selection-chip-group-value-controller.js +68 -0
  713. package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/slimmers/renderers/vega-selection-chip-group-renderer.js +45 -0
  714. package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/vega-selection-chip-group.css +91 -0
  715. package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/vega-selection-chip-group.js +369 -0
  716. package/dist/collection/components/vega-selection-chip/vega-selection-chip.css +175 -0
  717. package/dist/collection/components/vega-selection-chip/vega-selection-chip.js +383 -0
  718. package/dist/collection/components/vega-selection-tile/interface.js +1 -0
  719. package/dist/collection/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-checked-cotroller.js +56 -0
  720. package/dist/collection/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-show-error-controller.js +60 -0
  721. package/dist/collection/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-state-controller.js +73 -0
  722. package/dist/collection/components/vega-selection-tile/slimmers/renderers/vega-selection-tile-renderer.js +95 -0
  723. package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/slimmers/controllers/vega-selection-tile-group-items-controller.js +61 -0
  724. package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/slimmers/controllers/vega-selection-tile-group-value-controller.js +112 -0
  725. package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/slimmers/renderers/vega-selection-tile-group-renderer.js +66 -0
  726. package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/vega-selection-tile-group.css +128 -0
  727. package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/vega-selection-tile-group.js +403 -0
  728. package/dist/collection/components/vega-selection-tile/vega-selection-tile.css +149 -0
  729. package/dist/collection/components/vega-selection-tile/vega-selection-tile.js +300 -0
  730. package/dist/collection/components/vega-signature-capture/assets/icons.js +5 -0
  731. package/dist/collection/components/vega-signature-capture/slimmers/renderers/vega-signature-capture-renderer.js +19 -0
  732. package/dist/collection/components/vega-signature-capture/slimmers/written-mode/controllers/written-mode-svg-controller.js +222 -0
  733. package/dist/collection/components/vega-signature-capture/slimmers/written-mode/renderers/written-mode-renderer.js +115 -0
  734. package/dist/collection/components/vega-signature-capture/vega-signature-capture.css +154 -0
  735. package/dist/collection/components/vega-signature-capture/vega-signature-capture.js +547 -0
  736. package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-ellipse-renderer.js +33 -0
  737. package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-full-width-paragraph-renderer.js +29 -0
  738. package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-image-renderer.js +33 -0
  739. package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-paragraph-renderer.js +31 -0
  740. package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-renderer-base.abstract.js +23 -0
  741. package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-renderer-manager.js +49 -0
  742. package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-table-renderer.js +42 -0
  743. package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-text-renderer.js +28 -0
  744. package/dist/collection/components/vega-skeleton/vega-skeleton.css +80 -0
  745. package/dist/collection/components/vega-skeleton/vega-skeleton.js +182 -0
  746. package/dist/collection/components/vega-slot-container/vega-slot-container.css +3 -0
  747. package/dist/collection/components/vega-slot-container/vega-slot-container.js +37 -0
  748. package/dist/collection/components/vega-stepper/vega-stepper.css +110 -0
  749. package/dist/collection/components/vega-stepper/vega-stepper.js +478 -0
  750. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-page-index-controller.js +87 -0
  751. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-pages-controller.js +216 -0
  752. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-panel-controller.js +146 -0
  753. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-selected-target-controller.js +35 -0
  754. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-slider-state-controller.js +95 -0
  755. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-close-button-renderer.js +60 -0
  756. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-content-renderer.js +24 -0
  757. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-direction-button-renderer.js +91 -0
  758. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-renderer.js +48 -0
  759. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.js +116 -0
  760. package/dist/collection/components/vega-tab-group/vega-tab-group-panel/vega-tab-group-panel.css +12 -0
  761. package/dist/collection/components/vega-tab-group/vega-tab-group-panel/vega-tab-group-panel.js +98 -0
  762. package/dist/collection/components/vega-tab-group/vega-tab-group.css +251 -0
  763. package/dist/collection/components/vega-tab-group/vega-tab-group.js +389 -0
  764. package/dist/collection/components/vega-table/interface.js +10 -0
  765. package/dist/collection/components/vega-table/internal/vega-table-scrollable-container.js +23 -0
  766. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-children-controller.js +214 -0
  767. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-data-source-controller.js +175 -0
  768. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-editable-controller.js +284 -0
  769. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-expand-row-controller.js +244 -0
  770. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-pagination-controller.js +80 -0
  771. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-render-mode-controller.js +83 -0
  772. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-row-selection-controller.js +407 -0
  773. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-sort-controller.js +91 -0
  774. package/dist/collection/components/vega-table/slimmers/controllers/vega-table-sorter.js +41 -0
  775. package/dist/collection/components/vega-table/slimmers/renderers/vega-table-body-renderer.js +67 -0
  776. package/dist/collection/components/vega-table/slimmers/renderers/vega-table-cell-renderer.js +103 -0
  777. package/dist/collection/components/vega-table/slimmers/renderers/vega-table-col-group-renderer.js +42 -0
  778. package/dist/collection/components/vega-table/slimmers/renderers/vega-table-header-renderer.js +51 -0
  779. package/dist/collection/components/vega-table/slimmers/renderers/vega-table-pagination-renderer.js +86 -0
  780. package/dist/collection/components/vega-table/slimmers/renderers/vega-table-renderer.js +96 -0
  781. package/dist/collection/components/vega-table/slimmers/renderers/vega-table-row-renderer.js +49 -0
  782. package/dist/collection/components/vega-table/slimmers/renderers/vega-table-scroll-container-renderer.js +34 -0
  783. package/dist/collection/components/vega-table/test/utils.js +22 -0
  784. package/dist/collection/components/vega-table/test/vega-table-sorter.test.js +508 -0
  785. package/dist/collection/components/vega-table/type-guard.js +20 -0
  786. package/dist/collection/components/vega-table/utils.js +44 -0
  787. package/dist/collection/components/vega-table/vega-table-body/vega-table-body.css +8 -0
  788. package/dist/collection/components/vega-table/vega-table-body/vega-table-body.js +45 -0
  789. package/dist/collection/components/vega-table/vega-table-cell/slimmers/controllers/vega-table-cell-state-controller.js +28 -0
  790. package/dist/collection/components/vega-table/vega-table-cell/vega-table-cell.css +116 -0
  791. package/dist/collection/components/vega-table/vega-table-cell/vega-table-cell.js +165 -0
  792. package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-col-span-controller.js +88 -0
  793. package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-expand-controller.js +63 -0
  794. package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-selection-controller.js +48 -0
  795. package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-state-controller.js +44 -0
  796. package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/renderers/vega-table-expand-row-renderer.js +34 -0
  797. package/dist/collection/components/vega-table/vega-table-expand-row/vega-table-expand-row.css +55 -0
  798. package/dist/collection/components/vega-table/vega-table-expand-row/vega-table-expand-row.js +125 -0
  799. package/dist/collection/components/vega-table/vega-table-head/slimmers/controllers/vega-table-head-state-controller.js +36 -0
  800. package/dist/collection/components/vega-table/vega-table-head/vega-table-head.css +20 -0
  801. package/dist/collection/components/vega-table/vega-table-head/vega-table-head.js +72 -0
  802. package/dist/collection/components/vega-table/vega-table-head-cell/slimmers/controllers/vega-table-head-cell-state-controller.js +28 -0
  803. package/dist/collection/components/vega-table/vega-table-head-cell/slimmers/renderers/sort-icon-renderer.js +38 -0
  804. package/dist/collection/components/vega-table/vega-table-head-cell/vega-table-head-cell.css +130 -0
  805. package/dist/collection/components/vega-table/vega-table-head-cell/vega-table-head-cell.js +297 -0
  806. package/dist/collection/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-controller.js +54 -0
  807. package/dist/collection/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-state-controller.js +103 -0
  808. package/dist/collection/components/vega-table/vega-table-head-row/slimmers/renderers/vega-table-head-row-renderer.js +119 -0
  809. package/dist/collection/components/vega-table/vega-table-head-row/vega-table-head-row.css +74 -0
  810. package/dist/collection/components/vega-table/vega-table-head-row/vega-table-head-row.js +127 -0
  811. package/dist/collection/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-click-controller.js +95 -0
  812. package/dist/collection/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-expand-controller.js +81 -0
  813. package/dist/collection/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-selection-controller.js +88 -0
  814. package/dist/collection/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-state-controller.js +119 -0
  815. package/dist/collection/components/vega-table/vega-table-row/slimmers/renderers/vega-table-row-renderer.js +147 -0
  816. package/dist/collection/components/vega-table/vega-table-row/vega-table-row.css +156 -0
  817. package/dist/collection/components/vega-table/vega-table-row/vega-table-row.js +231 -0
  818. package/dist/collection/components/vega-table/vega-table.css +114 -0
  819. package/dist/collection/components/vega-table/vega-table.js +1851 -0
  820. package/dist/collection/components/vega-text/slimmers/renderers/vega-text-tooltip-renderer.js +163 -0
  821. package/dist/collection/components/vega-text/vega-text.css +16 -0
  822. package/dist/collection/components/vega-text/vega-text.js +118 -0
  823. package/dist/collection/components/vega-textarea/vega-textarea.css +287 -0
  824. package/dist/collection/components/vega-textarea/vega-textarea.js +630 -0
  825. package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-dropdown-selected-items-controller.js +199 -0
  826. package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-input-mask-controller.js +45 -0
  827. package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-keyboard-controller.js +117 -0
  828. package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-range-dropdown-controller.js +90 -0
  829. package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-single-dropdown-controller.js +160 -0
  830. package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-value-controller.js +230 -0
  831. package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-label-renderer.js +48 -0
  832. package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-clear-button-renderer.js +51 -0
  833. package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-dropdown-renderer.js +208 -0
  834. package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-input-renderer.js +178 -0
  835. package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-dropdown-renderer.js +153 -0
  836. package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-input-renderer.js +103 -0
  837. package/dist/collection/components/vega-time-picker/vega-time-picker-dropdown/vega-time-picker-dropdown.css +148 -0
  838. package/dist/collection/components/vega-time-picker/vega-time-picker-dropdown/vega-time-picker-dropdown.js +37 -0
  839. package/dist/collection/components/vega-time-picker/vega-time-picker.css +170 -0
  840. package/dist/collection/components/vega-time-picker/vega-time-picker.js +663 -0
  841. package/dist/collection/components/vega-toggle-switch/vega-toggle-switch.css +149 -0
  842. package/dist/collection/components/vega-toggle-switch/vega-toggle-switch.js +411 -0
  843. package/dist/collection/components/vega-tooltip/slimmers/controllers/vega-tooltip-element-appender-controller.js +84 -0
  844. package/dist/collection/components/vega-tooltip/slimmers/renderers/vega-tooltip-content-box-renderer.js +19 -0
  845. package/dist/collection/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.css +146 -0
  846. package/dist/collection/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.js +60 -0
  847. package/dist/collection/components/vega-tooltip/vega-tooltip.css +8 -0
  848. package/dist/collection/components/vega-tooltip/vega-tooltip.js +384 -0
  849. package/dist/collection/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-mode-controller.js +70 -0
  850. package/dist/collection/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-position-controller.js +171 -0
  851. package/dist/collection/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-scrollable-controller.js +199 -0
  852. package/dist/collection/components/vega-virtual-scroll/slimmers/renderers/vega-virtual-scroll-loading-indicator-renderer.js +23 -0
  853. package/dist/collection/components/vega-virtual-scroll/slimmers/renderers/vega-virtual-scroll-renderer.js +66 -0
  854. package/dist/collection/components/vega-virtual-scroll/vega-virtual-scroll.css +11 -0
  855. package/dist/collection/components/vega-virtual-scroll/vega-virtual-scroll.js +322 -0
  856. package/dist/collection/constants/card-config.js +60 -0
  857. package/dist/collection/constants/locale.js +238 -0
  858. package/dist/collection/constants/misc.js +6 -0
  859. package/dist/collection/constants/public-api.js +9 -0
  860. package/dist/collection/constants/regex.js +6 -0
  861. package/dist/collection/constants/runtime-metrics-payload-definition/public-api/IconManager/runtime-metrics-payload-definition.js +62 -0
  862. package/dist/collection/constants/runtime-metrics-payload-definition/public-api/ThemeManager/runtime-metrics-payload-definition.js +82 -0
  863. package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaDialogController/runtime-metrics-payload-definition.js +22 -0
  864. package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaEventManager/runtime-metrics-payload-definition.js +213 -0
  865. package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaLoaderController/runtime-metrics-payload-definition.js +42 -0
  866. package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaNotifyController/runtime-metrics-payload-definition.js +62 -0
  867. package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaSkeletonLoader/runtime-metrics-payload-definition.js +62 -0
  868. package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaTranslation/runtime-metrics-payload-definition.js +42 -0
  869. package/dist/collection/constants/runtime-metrics-payload-definition/public-api/WaitForVegaHandler/runtime-metrics-payload-definition.js +22 -0
  870. package/dist/collection/constants/runtime-metrics-payload-definition/public-api/zindex-manager/runtime-metrics-payload-definition.js +43 -0
  871. package/dist/collection/constants/runtime-metrics-payload-definition/vega-button-circle/runtime-metrics-payload-definition.js +38 -0
  872. package/dist/collection/constants/runtime-metrics-payload-definition/vega-button-group/runtime-metrics-payload-definition.js +38 -0
  873. package/dist/collection/constants/runtime-metrics-payload-definition/vega-button-link/runtime-metrics-payload-definition.js +26 -0
  874. package/dist/collection/constants/runtime-metrics-payload-definition/vega-card/runtime-metrics-payload-definition.js +38 -0
  875. package/dist/collection/constants/runtime-metrics-payload-definition/vega-carousel/runtime-metrics-payload-definition.js +26 -0
  876. package/dist/collection/constants/runtime-metrics-payload-definition/vega-chip/runtime-metrics-payload-definition.js +26 -0
  877. package/dist/collection/constants/runtime-metrics-payload-definition/vega-color-picker/runtime-metrics-payload-definition.js +26 -0
  878. package/dist/collection/constants/runtime-metrics-payload-definition/vega-combo-box/runtime-metrics-payload-definition.js +26 -0
  879. package/dist/collection/constants/runtime-metrics-payload-definition/vega-date-picker/runtime-metrics-payload-definition.js +50 -0
  880. package/dist/collection/constants/runtime-metrics-payload-definition/vega-dropdown/runtime-metrics-payload-definition.js +26 -0
  881. package/dist/collection/constants/runtime-metrics-payload-definition/vega-flex/runtime-metrics-payload-definition.js +98 -0
  882. package/dist/collection/constants/runtime-metrics-payload-definition/vega-font/runtime-metrics-payload-definition.js +26 -0
  883. package/dist/collection/constants/runtime-metrics-payload-definition/vega-image-uploader/runtime-metrics-payload-definition.js +26 -0
  884. package/dist/collection/constants/runtime-metrics-payload-definition/vega-input/runtime-metrics-payload-definition.js +50 -0
  885. package/dist/collection/constants/runtime-metrics-payload-definition/vega-input-credit-card/runtime-metrics-payload-definition.js +26 -0
  886. package/dist/collection/constants/runtime-metrics-payload-definition/vega-input-select/runtime-metrics-payload-definition.js +50 -0
  887. package/dist/collection/constants/runtime-metrics-payload-definition/vega-item-toggle/runtime-metrics-payload-definition.js +36 -0
  888. package/dist/collection/constants/runtime-metrics-payload-definition/vega-left-nav/runtime-metrics-payload-definition.js +26 -0
  889. package/dist/collection/constants/runtime-metrics-payload-definition/vega-loading-indicator/runtime-metrics-payload-definition.js +26 -0
  890. package/dist/collection/constants/runtime-metrics-payload-definition/vega-modal/runtime-metrics-payload-definition.js +26 -0
  891. package/dist/collection/constants/runtime-metrics-payload-definition/vega-nav-card/runtime-metrics-payload-definition.js +26 -0
  892. package/dist/collection/constants/runtime-metrics-payload-definition/vega-progress-tracker/runtime-metrics-payload-definition.js +26 -0
  893. package/dist/collection/constants/runtime-metrics-payload-definition/vega-stepper/runtime-metrics-payload-definition.js +50 -0
  894. package/dist/collection/constants/runtime-metrics-payload-definition/vega-tab-group/runtime-metrics-payload-definition.js +26 -0
  895. package/dist/collection/constants/runtime-metrics-payload-definition/vega-table/runtime-metrics-payload-definition.js +26 -0
  896. package/dist/collection/constants/runtime-metrics-payload-definition/vega-textarea/runtime-metrics-payload-definition.js +26 -0
  897. package/dist/collection/constants/runtime-metrics-payload-definition/vega-time-picker/runtime-metrics-payload-definition.js +50 -0
  898. package/dist/collection/constants/runtime-metrics-payload-definition/vega-tooltip/runtime-metrics-payload-definition.js +26 -0
  899. package/dist/collection/constants/tests/validator.test.js +24 -0
  900. package/dist/collection/constants/tokens/border-radius.js +16 -0
  901. package/dist/collection/constants/tokens/borders.js +37 -0
  902. package/dist/collection/constants/tokens/breakpoints.js +10 -0
  903. package/dist/collection/constants/tokens/colors-mapping.js +229 -0
  904. package/dist/collection/constants/tokens/colors.js +205 -0
  905. package/dist/collection/constants/tokens/icons.js +515 -0
  906. package/dist/collection/constants/tokens/overridable-border-tokens.js +305 -0
  907. package/dist/collection/constants/tokens/overridable-color-tokens.js +835 -0
  908. package/dist/collection/constants/tokens/overridable-ring-tokens.js +49 -0
  909. package/dist/collection/constants/tokens/rings.js +5 -0
  910. package/dist/collection/constants/tokens/shadows.js +17 -0
  911. package/dist/collection/constants/tokens/spacing.js +21 -0
  912. package/dist/collection/constants/tokens/tailwind.extend.js +56 -0
  913. package/dist/collection/constants/tokens/themes/dark-mode-border-tokens.js +32 -0
  914. package/dist/collection/constants/tokens/themes/dark-mode-color-tokens.js +184 -0
  915. package/dist/collection/constants/tokens/themes/dark-mode-ring-tokens.js +7 -0
  916. package/dist/collection/constants/tokens/themes/dark-mode-shadow-tokens.js +12 -0
  917. package/dist/collection/constants/tokens/typography.js +1074 -0
  918. package/dist/collection/constants/ui.js +85 -0
  919. package/dist/collection/constants/validator.js +7 -0
  920. package/dist/collection/decorators/method-decorators/component-load-required.js +44 -0
  921. package/dist/collection/decorators/method-decorators/tests/component-load-required.test.js +114 -0
  922. package/dist/collection/decorators/property-decorators/inject-element-appender.js +203 -0
  923. package/dist/collection/decorators/property-decorators/inject-keyboard-manager.js +32 -0
  924. package/dist/collection/decorators/property-decorators/tests/inject-element-appender-proxy.test.js +237 -0
  925. package/dist/collection/decorators/property-decorators/tests/inject-keyboard-manager.test.js +91 -0
  926. package/dist/collection/global/icons/arrow-rotate-right.js +3 -0
  927. package/dist/collection/global/icons/arrow-up-arrow-down.js +3 -0
  928. package/dist/collection/global/icons/arrow-up-from-line.js +3 -0
  929. package/dist/collection/global/icons/chevron-down.js +3 -0
  930. package/dist/collection/global/icons/chevron-left.js +3 -0
  931. package/dist/collection/global/icons/chevron-right.js +3 -0
  932. package/dist/collection/global/icons/chevron-up.js +3 -0
  933. package/dist/collection/global/icons/circle-arrow-down.js +3 -0
  934. package/dist/collection/global/icons/circle-arrow-up.js +3 -0
  935. package/dist/collection/global/icons/circle-check-regular.js +3 -0
  936. package/dist/collection/global/icons/circle-check.js +3 -0
  937. package/dist/collection/global/icons/circle-info.js +3 -0
  938. package/dist/collection/global/icons/circle-question.js +3 -0
  939. package/dist/collection/global/icons/circle-xmark.js +3 -0
  940. package/dist/collection/global/icons/trash-can.js +3 -0
  941. package/dist/collection/global/icons/triangle-exclamation.js +3 -0
  942. package/dist/collection/global/icons/xmark-large.js +3 -0
  943. package/dist/collection/global/scripts/before-vega-load.js +166 -0
  944. package/dist/collection/global/tests/before-vega-load.test.js +55 -0
  945. package/dist/collection/helpers/calendar/calendar-date.js +114 -0
  946. package/dist/collection/helpers/calendar/calendar-event.js +305 -0
  947. package/dist/collection/helpers/calendar/calendar-period/calendar-period.abstract.js +83 -0
  948. package/dist/collection/helpers/calendar/calendar-period/day-period.js +34 -0
  949. package/dist/collection/helpers/calendar/calendar-period/month-period.js +48 -0
  950. package/dist/collection/helpers/calendar/calendar-period/week-period.js +35 -0
  951. package/dist/collection/helpers/calendar/calendar-view-generator/calendar-view-generator.abstract.js +41 -0
  952. package/dist/collection/helpers/calendar/calendar-view-generator/day-view-generator.js +13 -0
  953. package/dist/collection/helpers/calendar/calendar-view-generator/month-view-generator.js +24 -0
  954. package/dist/collection/helpers/calendar/calendar-view-generator/week-view-generator.js +15 -0
  955. package/dist/collection/helpers/calendar/calendar-view.js +25 -0
  956. package/dist/collection/helpers/calendar/index.js +10 -0
  957. package/dist/collection/helpers/calendar/test/calendar-date.test.js +71 -0
  958. package/dist/collection/helpers/calendar/test/calendar-event.test.js +133 -0
  959. package/dist/collection/helpers/calendar/test/calendar-period/day-period.test.js +65 -0
  960. package/dist/collection/helpers/calendar/test/calendar-period/month-period.test.js +60 -0
  961. package/dist/collection/helpers/calendar/test/calendar-period/week-period.test.js +60 -0
  962. package/dist/collection/helpers/calendar/test/calendar-view-generator/day-view-generator.test.js +19 -0
  963. package/dist/collection/helpers/calendar/test/calendar-view-generator/month-view-generator.test.js +73 -0
  964. package/dist/collection/helpers/calendar/test/calendar-view-generator/week-view-generator.test.js +28 -0
  965. package/dist/collection/helpers/calendar/test/calendar-view.test.js +9 -0
  966. package/dist/collection/helpers/calendar/test/index.test.js +13 -0
  967. package/dist/collection/helpers/calendar/test/utils.test.js +9 -0
  968. package/dist/collection/helpers/calendar/utils.js +10 -0
  969. package/dist/collection/helpers/change-manager/change-manager.js +73 -0
  970. package/dist/collection/helpers/change-manager/observer/observer.js +28 -0
  971. package/dist/collection/helpers/change-manager/subject/dom-node-subject/dom-node-subject-factory.js +72 -0
  972. package/dist/collection/helpers/change-manager/subject/dom-node-subject/dom-node-subject-observer-factory.js +40 -0
  973. package/dist/collection/helpers/change-manager/subject/dom-node-subject/dom-node-subject.js +23 -0
  974. package/dist/collection/helpers/change-manager/subject/static-subject/static-subject-title.js +26 -0
  975. package/dist/collection/helpers/change-manager/subject/static-subject/static-subject.js +21 -0
  976. package/dist/collection/helpers/change-manager/subject/subject-interface.js +1 -0
  977. package/dist/collection/helpers/change-manager/test/change-manager.test.js +30 -0
  978. package/dist/collection/helpers/change-manager/test/dom-node-subject-factory.test.js +38 -0
  979. package/dist/collection/helpers/chart/bar-chart.js +67 -0
  980. package/dist/collection/helpers/chart/base-chart.js +88 -0
  981. package/dist/collection/helpers/chart/controllers/chart-dimension-controller.js +113 -0
  982. package/dist/collection/helpers/chart/drawers/arc-path-drawer.js +32 -0
  983. package/dist/collection/helpers/chart/drawers/base-drawer.js +81 -0
  984. package/dist/collection/helpers/chart/drawers/legend-drawer.js +88 -0
  985. package/dist/collection/helpers/chart/drawers/line-drawer.js +14 -0
  986. package/dist/collection/helpers/chart/drawers/path-drawer.js +24 -0
  987. package/dist/collection/helpers/chart/drawers/rect-drawer.js +31 -0
  988. package/dist/collection/helpers/chart/drawers/text-drawer.js +17 -0
  989. package/dist/collection/helpers/chart/drawers/x-axis-drawer.js +15 -0
  990. package/dist/collection/helpers/chart/drawers/y-axis-drawer.js +13 -0
  991. package/dist/collection/helpers/chart/graph-context-factory.js +36 -0
  992. package/dist/collection/helpers/chart/input-processors/format-time-positions-input-processor.js +44 -0
  993. package/dist/collection/helpers/chart/input-processors/horizontal-x-axis-input-processor.js +31 -0
  994. package/dist/collection/helpers/chart/input-processors/horizontal-y-axis-input-processor.js +31 -0
  995. package/dist/collection/helpers/chart/input-processors/input-processor.js +1 -0
  996. package/dist/collection/helpers/chart/input-processors/layout-input-processor.js +27 -0
  997. package/dist/collection/helpers/chart/input-processors/legend-input-processor.js +30 -0
  998. package/dist/collection/helpers/chart/input-processors/line-path-input-processor.js +54 -0
  999. package/dist/collection/helpers/chart/input-processors/pie-chart-arc-path-input-processor.js +24 -0
  1000. package/dist/collection/helpers/chart/input-processors/pie-chart-filter-input-processor.js +17 -0
  1001. package/dist/collection/helpers/chart/input-processors/pie-chart-radius-input-processor.js +28 -0
  1002. package/dist/collection/helpers/chart/input-processors/pie-chart-text-input-processor.js +22 -0
  1003. package/dist/collection/helpers/chart/input-processors/processor-chain.js +28 -0
  1004. package/dist/collection/helpers/chart/input-processors/sort-positions-input-processor.js +31 -0
  1005. package/dist/collection/helpers/chart/input-processors/x-axis-input-processor.js +60 -0
  1006. package/dist/collection/helpers/chart/input-processors/x-axis-label-formatter-input-processor.js +67 -0
  1007. package/dist/collection/helpers/chart/input-processors/y-axis-input-processor.js +59 -0
  1008. package/dist/collection/helpers/chart/interacting-entry-generator/arc-path-hover-generator.js +69 -0
  1009. package/dist/collection/helpers/chart/interacting-entry-generator/interacting-entry-generator.js +16 -0
  1010. package/dist/collection/helpers/chart/interacting-entry-generator/pie-legend-hover-generator.js +76 -0
  1011. package/dist/collection/helpers/chart/interactors/base-interactor.js +92 -0
  1012. package/dist/collection/helpers/chart/interactors/canvas-interactor.js +6 -0
  1013. package/dist/collection/helpers/chart/interactors/interactor-factory.js +26 -0
  1014. package/dist/collection/helpers/chart/interactors/svg-interactor.js +29 -0
  1015. package/dist/collection/helpers/chart/line-chart.js +65 -0
  1016. package/dist/collection/helpers/chart/pie-chart.js +56 -0
  1017. package/dist/collection/helpers/chart/renderers/base-renderer.js +16 -0
  1018. package/dist/collection/helpers/chart/renderers/canvas-renderer.js +198 -0
  1019. package/dist/collection/helpers/chart/renderers/renderer-factory.js +25 -0
  1020. package/dist/collection/helpers/chart/renderers/svg-renderer.js +297 -0
  1021. package/dist/collection/helpers/chart/test/controllers/chart-dimension-controller.test.js +63 -0
  1022. package/dist/collection/helpers/chart/test/drawers/arc-path-drawer.test.js +55 -0
  1023. package/dist/collection/helpers/chart/test/drawers/legend-drawer.test.js +94 -0
  1024. package/dist/collection/helpers/chart/test/drawers/line-drawer.test.js +25 -0
  1025. package/dist/collection/helpers/chart/test/drawers/path-drawer.test.js +21 -0
  1026. package/dist/collection/helpers/chart/test/drawers/rect-drawer.test.js +78 -0
  1027. package/dist/collection/helpers/chart/test/drawers/text-drawer.test.js +25 -0
  1028. package/dist/collection/helpers/chart/test/drawers/x-axis-drawer.test.js +38 -0
  1029. package/dist/collection/helpers/chart/test/drawers/y-axis-drawer.test.js +44 -0
  1030. package/dist/collection/helpers/chart/test/graph-context-factory.test.js +17 -0
  1031. package/dist/collection/helpers/chart/test/input-processors/format-time-positions-input-processor.test.js +62 -0
  1032. package/dist/collection/helpers/chart/test/input-processors/horizontal-x-axis-input-processor.test.js +45 -0
  1033. package/dist/collection/helpers/chart/test/input-processors/horizontal-y-axis-input-processor.test.js +80 -0
  1034. package/dist/collection/helpers/chart/test/input-processors/layout-input-processor.test.js +40 -0
  1035. package/dist/collection/helpers/chart/test/input-processors/line-path-input-processor.test.js +16 -0
  1036. package/dist/collection/helpers/chart/test/input-processors/pie-chart-filter-input-processor.test.js +20 -0
  1037. package/dist/collection/helpers/chart/test/input-processors/pie-chart-radius-input-processor.test.js +48 -0
  1038. package/dist/collection/helpers/chart/test/input-processors/sort-positions-input-processor.test.js +53 -0
  1039. package/dist/collection/helpers/chart/test/input-processors/x-axis-input-processor.test.js +39 -0
  1040. package/dist/collection/helpers/chart/test/input-processors/x-axis-label-formatter-input-processor.test.js +62 -0
  1041. package/dist/collection/helpers/chart/test/input-processors/y-axis-input-processor.test.js +41 -0
  1042. package/dist/collection/helpers/chart/test/interacting-entry-generator/arc-path-hover-generator.test.js +11 -0
  1043. package/dist/collection/helpers/chart/test/interacting-entry-generator/pie-legend-hover-generator.test.js +25 -0
  1044. package/dist/collection/helpers/chart/test/interactors/interactor-factory.test.js +19 -0
  1045. package/dist/collection/helpers/chart/test/interactors/svg-interactor.test.js +48 -0
  1046. package/dist/collection/helpers/chart/test/line-chart.test.js +96 -0
  1047. package/dist/collection/helpers/chart/test/pie-chart.test.js +38 -0
  1048. package/dist/collection/helpers/chart/test/renderers/canvas-renderer.test.js +31 -0
  1049. package/dist/collection/helpers/chart/test/renderers/renderer-factory.test.js +19 -0
  1050. package/dist/collection/helpers/chart/test/renderers/svg-renderer.test.js +99 -0
  1051. package/dist/collection/helpers/common/index.js +10 -0
  1052. package/dist/collection/helpers/common/test/common.test.js +7 -0
  1053. package/dist/collection/helpers/common/test/wait-for-vega-handler.test.js +17 -0
  1054. package/dist/collection/helpers/common/wait-for-vega-handler.js +34 -0
  1055. package/dist/collection/helpers/dialog/test/vega-dialog-controller.test.js +96 -0
  1056. package/dist/collection/helpers/dialog/vega-dialog-controller.js +55 -0
  1057. package/dist/collection/helpers/event-manager/event-delegated/base-strategy.js +77 -0
  1058. package/dist/collection/helpers/event-manager/event-delegated/jquery-delegated-event-strategy.js +1 -0
  1059. package/dist/collection/helpers/event-manager/event-delegated/jquery-delegated-strategy-controller.js +97 -0
  1060. package/dist/collection/helpers/event-manager/event-delegated/vega-button-click-strategy.js +23 -0
  1061. package/dist/collection/helpers/event-manager/event-delegated/vega-checkbox-change-strategy.js +23 -0
  1062. package/dist/collection/helpers/event-manager/event-delegated/vega-input-select-change-strategy.js +24 -0
  1063. package/dist/collection/helpers/event-manager/event-delegated/vega-input-strategy.js +30 -0
  1064. package/dist/collection/helpers/event-manager/event-delegated/vega-radio-change-strategy.js +23 -0
  1065. package/dist/collection/helpers/event-manager/event-delegated/vega-textarea-change-strategy.js +21 -0
  1066. package/dist/collection/helpers/event-manager/event-id/component-event-id-map.js +71 -0
  1067. package/dist/collection/helpers/event-manager/event-id/vega-event-id-interface.js +1 -0
  1068. package/dist/collection/helpers/event-manager/event-id/vega-event-id.js +100 -0
  1069. package/dist/collection/helpers/event-manager/event-id/vega-internal-event-id.js +33 -0
  1070. package/dist/collection/helpers/event-manager/internal-vega-event-manager.js +70 -0
  1071. package/dist/collection/helpers/event-manager/slimmers/child-nodes-event-prevent-slimmer.js +155 -0
  1072. package/dist/collection/helpers/event-manager/slimmers/child-nodes-notify-observer-slimmer.js +85 -0
  1073. package/dist/collection/helpers/event-manager/slimmers/event-emit-handlers/event-emit-handler.js +1 -0
  1074. package/dist/collection/helpers/event-manager/slimmers/event-emit-handlers/jquery-delegated-event-emit-handler.js +54 -0
  1075. package/dist/collection/helpers/event-manager/slimmers/event-emit-handlers/native-event-emit-handler.js +40 -0
  1076. package/dist/collection/helpers/event-manager/slimmers/event-emit-handlers/vega-event-emit-handler.js +39 -0
  1077. package/dist/collection/helpers/event-manager/slimmers/event-emit-slimmer.js +123 -0
  1078. package/dist/collection/helpers/event-manager/test/child-nodes-event-prevent-slimmer.test.js +209 -0
  1079. package/dist/collection/helpers/event-manager/test/child-nodes-notify-observer-slimmer.test.js +81 -0
  1080. package/dist/collection/helpers/event-manager/test/component-event-id-map.test.js +13 -0
  1081. package/dist/collection/helpers/event-manager/test/event-emit-slimmer.test.js +107 -0
  1082. package/dist/collection/helpers/event-manager/test/internal-vega-event-manager.test.js +70 -0
  1083. package/dist/collection/helpers/event-manager/test/jquery-delegated-strategy-controller.test.js +131 -0
  1084. package/dist/collection/helpers/event-manager/test/vega-event-id.test.js +16 -0
  1085. package/dist/collection/helpers/event-manager/test/vega-event-manager.test.js +92 -0
  1086. package/dist/collection/helpers/event-manager/vega-event-manager.js +58 -0
  1087. package/dist/collection/helpers/feature-control/feature-flag-controller.js +124 -0
  1088. package/dist/collection/helpers/feature-control/feature-flags-map.js +184 -0
  1089. package/dist/collection/helpers/feature-control/tests/feature-flag-controller.test.js +69 -0
  1090. package/dist/collection/helpers/formatter/responsive-map-formatter/responsiv-border-radius-formatter.js +56 -0
  1091. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-box-display-formatter.js +32 -0
  1092. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-class-string-formatter.js +27 -0
  1093. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-custom-formatter.js +28 -0
  1094. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-display-formatter.js +31 -0
  1095. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-flex-align-item-formatter.js +29 -0
  1096. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-flex-direction-formatter.js +29 -0
  1097. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-flex-justify-content-formatter.js +57 -0
  1098. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-flex-wrap-formatter.js +29 -0
  1099. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-format-facade.js +85 -0
  1100. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-gap-formatter.js +40 -0
  1101. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-grid-columns-formatter.js +29 -0
  1102. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-grid-rows-formatter.js +29 -0
  1103. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-margin-formatter.js +44 -0
  1104. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-padding-formatter.js +44 -0
  1105. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-size-formatter.js +34 -0
  1106. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-text-align-formatter.js +29 -0
  1107. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-translocation-formatter.js +29 -0
  1108. package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-width-and-height-formatter.js +30 -0
  1109. package/dist/collection/helpers/formatter/state-formatter/state-background-color-formatter.js +46 -0
  1110. package/dist/collection/helpers/formatter/state-formatter/state-border-color-formatter.js +45 -0
  1111. package/dist/collection/helpers/formatter/state-formatter/state-border-formatter.js +47 -0
  1112. package/dist/collection/helpers/formatter/state-formatter/state-format-facade.js +42 -0
  1113. package/dist/collection/helpers/formatter/state-formatter/state-shadow-formatter.js +42 -0
  1114. package/dist/collection/helpers/formatter/state-formatter/state-variant-formatter.js +35 -0
  1115. package/dist/collection/helpers/formatter/string-formatter/custom-formatter-strategy.js +60 -0
  1116. package/dist/collection/helpers/formatter/string-formatter/number-mask-strategy.js +77 -0
  1117. package/dist/collection/helpers/formatter/string-formatter/number-thousand-comma-strategy.js +69 -0
  1118. package/dist/collection/helpers/formatter/string-formatter/string-mask-strategy.js +160 -0
  1119. package/dist/collection/helpers/formatter/string-formatter/thousand-comma-strategy.js +37 -0
  1120. package/dist/collection/helpers/formatter/style-formatter.js +29 -0
  1121. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-formatter.test.js +64 -0
  1122. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-box-display-formatter.test.js +31 -0
  1123. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-custom-formatter.test.js +17 -0
  1124. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-display-formatter.test.js +23 -0
  1125. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-flex-direction-formatter.test.js +19 -0
  1126. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-flex-wrap-formatter.test.js +19 -0
  1127. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-format-mediator.test.js +43 -0
  1128. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-gap-formatter.ts.test.js +29 -0
  1129. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-grid-column-formatter.test.js +23 -0
  1130. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-grid-row-formatter.test.js +27 -0
  1131. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-margin-formatter.test.js +43 -0
  1132. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-padding-formatter.test.js +43 -0
  1133. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-size-formatter.test.js +27 -0
  1134. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-text-align-formatter.test.js +19 -0
  1135. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-translocation-formatter.test.js +51 -0
  1136. package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-width-and-height-formatter.test.js +20 -0
  1137. package/dist/collection/helpers/formatter/test/state-formatter/state-background-color-formatter.test.js +18 -0
  1138. package/dist/collection/helpers/formatter/test/state-formatter/state-border-color-formatter.test.js +13 -0
  1139. package/dist/collection/helpers/formatter/test/state-formatter/state-border-formatter.test.js +13 -0
  1140. package/dist/collection/helpers/formatter/test/state-formatter/state-format-facade.test.js +27 -0
  1141. package/dist/collection/helpers/formatter/test/state-formatter/state-shadow-formatter.test.js +13 -0
  1142. package/dist/collection/helpers/formatter/test/string-formatter/custom-formatter-strategy.test.js +12 -0
  1143. package/dist/collection/helpers/formatter/test/string-formatter/number-mask-strategy.test.js +83 -0
  1144. package/dist/collection/helpers/formatter/test/string-formatter/number-thousand-comma-mask-strategy.test.js +30 -0
  1145. package/dist/collection/helpers/formatter/test/string-formatter/string-mask-strategy.test.js +89 -0
  1146. package/dist/collection/helpers/formatter/test/string-formatter/thousand-comma-strategy.test.js +21 -0
  1147. package/dist/collection/helpers/formatter/test/style-formatter.test.js +16 -0
  1148. package/dist/collection/helpers/icon/icon-manager.js +55 -0
  1149. package/dist/collection/helpers/icon/internal-icon-manager.js +40 -0
  1150. package/dist/collection/helpers/icon/test/icon-manager-controller.test.js +101 -0
  1151. package/dist/collection/helpers/icon/test/internal-icon-manager.test.js +18 -0
  1152. package/dist/collection/helpers/immutable/immutable-map.js +113 -0
  1153. package/dist/collection/helpers/immutable/immutable-set.js +95 -0
  1154. package/dist/collection/helpers/immutable/test/immutable-map.test.js +83 -0
  1155. package/dist/collection/helpers/immutable/test/immutable-set.test.js +87 -0
  1156. package/dist/collection/helpers/keyboard/keyboard-manager.js +101 -0
  1157. package/dist/collection/helpers/keyboard/test/keyboard-manager.test.js +107 -0
  1158. package/dist/collection/helpers/level-tracker/nested-level-tracker.js +61 -0
  1159. package/dist/collection/helpers/level-tracker/test/nested-level-tracker.test.js +33 -0
  1160. package/dist/collection/helpers/loading-indicator/tests/vega-loader-controller.test.js +165 -0
  1161. package/dist/collection/helpers/loading-indicator/vega-loader-controller.js +124 -0
  1162. package/dist/collection/helpers/notify/tests/vega-notify-controller.test.js +165 -0
  1163. package/dist/collection/helpers/notify/vega-notify-controller.js +122 -0
  1164. package/dist/collection/helpers/paginator/test/value-paginator.test.js +15 -0
  1165. package/dist/collection/helpers/paginator/value-paginator.js +78 -0
  1166. package/dist/collection/helpers/public-api.js +16 -0
  1167. package/dist/collection/helpers/queue/synchronize-task-queue.js +37 -0
  1168. package/dist/collection/helpers/queue/test/synchronize-task-queue.test.js +48 -0
  1169. package/dist/collection/helpers/remote-invocation/remote-invocation-registry.js +59 -0
  1170. package/dist/collection/helpers/remote-invocation/remote-invocation-registry.test.js +17 -0
  1171. package/dist/collection/helpers/skeleton-loader/tests/vega-skeleton-loader-controller.test.js +194 -0
  1172. package/dist/collection/helpers/skeleton-loader/vega-skeleton-loader-controller.js +104 -0
  1173. package/dist/collection/helpers/slimmers/component-global-style-slimmer.js +82 -0
  1174. package/dist/collection/helpers/slimmers/component-usage-runtime-metrics.js +77 -0
  1175. package/dist/collection/helpers/slimmers/deprecated-property-slimmer.js +43 -0
  1176. package/dist/collection/helpers/slimmers/element-appender-container/default-wrapper.js +35 -0
  1177. package/dist/collection/helpers/slimmers/element-appender-container/element-appender-container-controller.js +67 -0
  1178. package/dist/collection/helpers/slimmers/element-appender-container/position-relative-to-wrapper.js +38 -0
  1179. package/dist/collection/helpers/slimmers/element-appender-container/vega-modal-wrapper.js +62 -0
  1180. package/dist/collection/helpers/slimmers/element-appender-container/vega-popover-wrapper.js +36 -0
  1181. package/dist/collection/helpers/slimmers/element-appender-slimmer.js +186 -0
  1182. package/dist/collection/helpers/slimmers/field-error-controller-silmmer.js +74 -0
  1183. package/dist/collection/helpers/slimmers/field-error-ui-controller-slimmer.js +132 -0
  1184. package/dist/collection/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-error-label-container-retrieval-strategy.js +25 -0
  1185. package/dist/collection/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-nested-error-container-retrieval-strategy.js +19 -0
  1186. package/dist/collection/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-self-retrieval-strategy.js +23 -0
  1187. package/dist/collection/helpers/slimmers/form-field-controller-slimmer.js +209 -0
  1188. package/dist/collection/helpers/slimmers/form-field-valid-invoke-slimmer.js +55 -0
  1189. package/dist/collection/helpers/slimmers/global/vega-translate-observer-slimmer.js +44 -0
  1190. package/dist/collection/helpers/slimmers/global/vega-watch-method-cancel-slimmer.js +98 -0
  1191. package/dist/collection/helpers/slimmers/keyboard-manager-slimmer.js +34 -0
  1192. package/dist/collection/helpers/slimmers/mutation-observer/mutation-observer-filters.js +51 -0
  1193. package/dist/collection/helpers/slimmers/mutation-observer/mutation-observer-slimmer.js +80 -0
  1194. package/dist/collection/helpers/slimmers/mutation-observer/test/mutation-observer-slimmer.test.js +168 -0
  1195. package/dist/collection/helpers/slimmers/page-resize-observer-slimmer.js +117 -0
  1196. package/dist/collection/helpers/slimmers/runtime-metrics/create-public-api-runtime-metrics-slimmer.js +23 -0
  1197. package/dist/collection/helpers/slimmers/runtime-metrics/public-api-runtime-metrics-slimmer-base.js +74 -0
  1198. package/dist/collection/helpers/slimmers/runtime-metrics/test/public-api-runtime-metrics-slimmer-base.test.js +96 -0
  1199. package/dist/collection/helpers/slimmers/string-input-formatter-slimmer.js +198 -0
  1200. package/dist/collection/helpers/slimmers/sub-state/sub-state-notify-slimmer-base.js +49 -0
  1201. package/dist/collection/helpers/slimmers/sub-state/sub-state-notify-slimmer.js +24 -0
  1202. package/dist/collection/helpers/slimmers/sub-state/sub-state-observer-slimmer.js +129 -0
  1203. package/dist/collection/helpers/slimmers/sub-state/test/sub-state-observer-slimmer.test.js +204 -0
  1204. package/dist/collection/helpers/slimmers/test/component-global-style-slimmer.test.js +63 -0
  1205. package/dist/collection/helpers/slimmers/test/component-usage-runtime-metrics.test.js +72 -0
  1206. package/dist/collection/helpers/slimmers/test/deprecated-property-slimmer.test.js +36 -0
  1207. package/dist/collection/helpers/slimmers/test/element-appender-slimmer.test.js +310 -0
  1208. package/dist/collection/helpers/slimmers/test/field-error-controller-slimmer.test.js +54 -0
  1209. package/dist/collection/helpers/slimmers/test/form-field-controller-slimmer.test.js +278 -0
  1210. package/dist/collection/helpers/slimmers/test/form-field-valid-invoke-slimmer.test.js +106 -0
  1211. package/dist/collection/helpers/slimmers/test/global/vega-watch-method-cancel-slimmer.test.js +101 -0
  1212. package/dist/collection/helpers/slimmers/test/keyboard-manager-slimmer.test.js +90 -0
  1213. package/dist/collection/helpers/slimmers/test/page-resize-observer-slimmer.test.js +222 -0
  1214. package/dist/collection/helpers/slimmers/test/string-input-formatter-slimmer.test.js +186 -0
  1215. package/dist/collection/helpers/slimmers/test/translation-slimmer.test.js +89 -0
  1216. package/dist/collection/helpers/slimmers/translation/index.js +1 -0
  1217. package/dist/collection/helpers/slimmers/translation/translation-slimmer.js +37 -0
  1218. package/dist/collection/helpers/theme/controllers/color-schema-overriding-controller.js +74 -0
  1219. package/dist/collection/helpers/theme/controllers/dark-mode-style-controller.js +44 -0
  1220. package/dist/collection/helpers/theme/tests/theme-manager-controller.test.js +565 -0
  1221. package/dist/collection/helpers/theme/theme-manager.js +68 -0
  1222. package/dist/collection/helpers/touch-helper/test/touch-listener.test.js +122 -0
  1223. package/dist/collection/helpers/touch-helper/touch-listener.js +133 -0
  1224. package/dist/collection/helpers/translation/index.js +4 -0
  1225. package/dist/collection/helpers/translation/internal-translation-controller.js +104 -0
  1226. package/dist/collection/helpers/translation/locales/en.js +74 -0
  1227. package/dist/collection/helpers/translation/tests/internal-translation-controller.test.js +182 -0
  1228. package/dist/collection/helpers/translation/tests/translation.test.js +32 -0
  1229. package/dist/collection/helpers/translation/translation.js +51 -0
  1230. package/dist/collection/helpers/ui/element-appender.js +319 -0
  1231. package/dist/collection/helpers/ui/test/element-appender.test.js +425 -0
  1232. package/dist/collection/helpers/validator/form-field-controller.js +445 -0
  1233. package/dist/collection/helpers/validator/rules/check-box-required-rule.js +64 -0
  1234. package/dist/collection/helpers/validator/rules/date-range-rule.js +54 -0
  1235. package/dist/collection/helpers/validator/rules/date-required-rule.js +85 -0
  1236. package/dist/collection/helpers/validator/rules/email-field-rule.js +55 -0
  1237. package/dist/collection/helpers/validator/rules/file-uploader-required-rule.js +16 -0
  1238. package/dist/collection/helpers/validator/rules/input-phone-number-required-rule.js +58 -0
  1239. package/dist/collection/helpers/validator/rules/input-range-min-and-max-rule.js +92 -0
  1240. package/dist/collection/helpers/validator/rules/input-range-required-rule.js +57 -0
  1241. package/dist/collection/helpers/validator/rules/max-number-rule.js +68 -0
  1242. package/dist/collection/helpers/validator/rules/max-string-length-rule.js +67 -0
  1243. package/dist/collection/helpers/validator/rules/min-and-max-date-rule.js +138 -0
  1244. package/dist/collection/helpers/validator/rules/min-number-rule.js +68 -0
  1245. package/dist/collection/helpers/validator/rules/min-string-length-rule.js +70 -0
  1246. package/dist/collection/helpers/validator/rules/required-field-rule.js +79 -0
  1247. package/dist/collection/helpers/validator/rules/time-range-required-rule.js +67 -0
  1248. package/dist/collection/helpers/validator/rules/time-range-rule.js +79 -0
  1249. package/dist/collection/helpers/validator/rules/time-required-rule.js +65 -0
  1250. package/dist/collection/helpers/validator/rules/toggle-switch-required-rule.js +60 -0
  1251. package/dist/collection/helpers/validator/rules/valid-credit-card-number-rule.js +167 -0
  1252. package/dist/collection/helpers/validator/rules/valid-phone-number-rule.js +111 -0
  1253. package/dist/collection/helpers/validator/test/rules/check-box-required-rule.test.js +88 -0
  1254. package/dist/collection/helpers/validator/test/rules/custom-validation-rule.test.js +56 -0
  1255. package/dist/collection/helpers/validator/test/rules/date-range-rule.test.js +67 -0
  1256. package/dist/collection/helpers/validator/test/rules/date-required-rule.test.js +120 -0
  1257. package/dist/collection/helpers/validator/test/rules/email-field-rule.test.js +69 -0
  1258. package/dist/collection/helpers/validator/test/rules/file-uploader-required-rule.test.js +7 -0
  1259. package/dist/collection/helpers/validator/test/rules/input-phone-number-required-rule.test.js +105 -0
  1260. package/dist/collection/helpers/validator/test/rules/input-range-min-and-max-rule.test.js +146 -0
  1261. package/dist/collection/helpers/validator/test/rules/input-range-required-rule.test.js +82 -0
  1262. package/dist/collection/helpers/validator/test/rules/max-number-rule.test.js +97 -0
  1263. package/dist/collection/helpers/validator/test/rules/max-string-length-rule.test.js +85 -0
  1264. package/dist/collection/helpers/validator/test/rules/min-and-max-date-rule.test.js +174 -0
  1265. package/dist/collection/helpers/validator/test/rules/min-number-rule.test.js +97 -0
  1266. package/dist/collection/helpers/validator/test/rules/min-string-length-rule.test.js +85 -0
  1267. package/dist/collection/helpers/validator/test/rules/required-field-rule.test.js +115 -0
  1268. package/dist/collection/helpers/validator/test/rules/time-range-required-rule.test.js +82 -0
  1269. package/dist/collection/helpers/validator/test/rules/time-range-rule.test.js +67 -0
  1270. package/dist/collection/helpers/validator/test/rules/time-required-rule.test.js +116 -0
  1271. package/dist/collection/helpers/validator/test/rules/toggle-switch-required-rule.test.js +72 -0
  1272. package/dist/collection/helpers/validator/test/rules/valid-credit-card-number-rule.test.js +79 -0
  1273. package/dist/collection/helpers/validator/test/rules/valid-phone-number-rule.test.js +77 -0
  1274. package/dist/collection/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler-chain.test.js +65 -0
  1275. package/dist/collection/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler.test.js +82 -0
  1276. package/dist/collection/helpers/validator/test/validator/form-field-controller.test.js +193 -0
  1277. package/dist/collection/helpers/validator/validation-rule-handler/form-field-validation-rule-handler-chain.js +101 -0
  1278. package/dist/collection/helpers/validator/validation-rule-handler/form-field-validation-rule-handler.js +66 -0
  1279. package/dist/collection/helpers/vega-telemetry-helper/test/vega-env-manager.test.js +14 -0
  1280. package/dist/collection/helpers/vega-telemetry-helper/vega-env-manager.js +37 -0
  1281. package/dist/collection/helpers/zindex/internal-vega-z-index-manager.js +175 -0
  1282. package/dist/collection/helpers/zindex/test/internal-vega-z-index-manager.test.js +176 -0
  1283. package/dist/collection/helpers/zindex/test/vega-z-index-manager.test.js +46 -0
  1284. package/dist/collection/helpers/zindex/vega-z-index-manager.js +33 -0
  1285. package/dist/collection/index.js +5 -0
  1286. package/dist/collection/polyfill/test-polyfill/e2e/retry.js +42 -0
  1287. package/dist/collection/polyfill/test-polyfill/unit/create-touch-event.js +31 -0
  1288. package/dist/collection/polyfill/test-polyfill/unit/events.js +100 -0
  1289. package/dist/collection/polyfill/test-polyfill/unit/index.js +2 -0
  1290. package/dist/collection/polyfill/test-polyfill/unit/methods.js +29 -0
  1291. package/dist/collection/test-assets/test-icons.js +5 -0
  1292. package/dist/collection/types/class.type.js +1 -0
  1293. package/dist/collection/types/design-token.type.js +1 -0
  1294. package/dist/collection/types/public-api.js +1 -0
  1295. package/dist/collection/types/test/type-guard.test.js +39 -0
  1296. package/dist/collection/types/type-guard.js +372 -0
  1297. package/dist/collection/types/ui.type.js +6 -0
  1298. package/dist/collection/utils/accessibility.js +13 -0
  1299. package/dist/collection/utils/api.js +60 -0
  1300. package/dist/collection/utils/array.js +177 -0
  1301. package/dist/collection/utils/breakpoints.js +49 -0
  1302. package/dist/collection/utils/component.js +131 -0
  1303. package/dist/collection/utils/date.js +84 -0
  1304. package/dist/collection/utils/design-token.js +241 -0
  1305. package/dist/collection/utils/e2e-utils.js +319 -0
  1306. package/dist/collection/utils/effect.js +74 -0
  1307. package/dist/collection/utils/local-storage.js +24 -0
  1308. package/dist/collection/utils/log.js +67 -0
  1309. package/dist/collection/utils/misc.js +35 -0
  1310. package/dist/collection/utils/number.js +83 -0
  1311. package/dist/collection/utils/object.js +32 -0
  1312. package/dist/collection/utils/pagination.js +40 -0
  1313. package/dist/collection/utils/pixel.js +48 -0
  1314. package/dist/collection/utils/position.js +373 -0
  1315. package/dist/collection/utils/public-api.js +4 -0
  1316. package/dist/collection/utils/spec-utils.js +168 -0
  1317. package/dist/collection/utils/string.js +9 -0
  1318. package/dist/collection/utils/test/accessibility.test.js +40 -0
  1319. package/dist/collection/utils/test/api.test.js +34 -0
  1320. package/dist/collection/utils/test/array.test.js +198 -0
  1321. package/dist/collection/utils/test/breakpoint.test.js +37 -0
  1322. package/dist/collection/utils/test/component.test.js +59 -0
  1323. package/dist/collection/utils/test/date.test.js +102 -0
  1324. package/dist/collection/utils/test/design-token.test.js +91 -0
  1325. package/dist/collection/utils/test/effect.test.js +64 -0
  1326. package/dist/collection/utils/test/local-storage.test.js +38 -0
  1327. package/dist/collection/utils/test/log.test.js +49 -0
  1328. package/dist/collection/utils/test/misc.test.js +40 -0
  1329. package/dist/collection/utils/test/number.test.js +14 -0
  1330. package/dist/collection/utils/test/object.test.js +51 -0
  1331. package/dist/collection/utils/test/pagination.test.js +40 -0
  1332. package/dist/collection/utils/test/pixel.test.js +29 -0
  1333. package/dist/collection/utils/test/position.test.js +262 -0
  1334. package/dist/collection/utils/test/spec-utils.test.js +73 -0
  1335. package/dist/collection/utils/test/string.test.js +8 -0
  1336. package/dist/collection/utils/test/test-utils.test.js +70 -0
  1337. package/dist/collection/utils/test/timer.test.js +16 -0
  1338. package/dist/collection/utils/test/ui.test.js +241 -0
  1339. package/dist/collection/utils/test-utils.js +134 -0
  1340. package/dist/collection/utils/timer.js +20 -0
  1341. package/dist/collection/utils/ui.js +200 -0
  1342. package/dist/collection/value-model-adapters/angular-ng-model-accessor-adapter.js +35 -0
  1343. package/dist/collection/value-model-adapters/vue-component-v-model-adaptor.js +30 -0
  1344. package/dist/esm/accessibility-e5fd0fab.js +15 -0
  1345. package/dist/esm/app-globals-2c4322b8.js +302 -0
  1346. package/dist/esm/array-506b88b9.js +169 -0
  1347. package/dist/esm/breakpoints-91116111.js +52 -0
  1348. package/dist/esm/breakpoints-d9faf11c.js +12 -0
  1349. package/dist/esm/change-manager-6a7eb88c.js +76 -0
  1350. package/dist/esm/chevron-down-4303bddb.js +9 -0
  1351. package/dist/esm/child-nodes-event-prevent-slimmer-71098ddf.js +156 -0
  1352. package/dist/esm/child-nodes-notify-observer-slimmer-3d52b843.js +88 -0
  1353. package/dist/esm/component-cae24190.js +114 -0
  1354. package/dist/esm/component-global-style-slimmer-000e0c11.js +85 -0
  1355. package/dist/esm/component-load-required-ce710ef5.js +46 -0
  1356. package/dist/esm/component-usage-runtime-metrics-b3f6ac79.js +119 -0
  1357. package/dist/esm/create-public-api-runtime-metrics-slimmer-928ad7f0.js +203 -0
  1358. package/dist/esm/date-732bc749.js +87 -0
  1359. package/dist/esm/deprecated-property-slimmer-43d184b3.js +47 -0
  1360. package/dist/esm/design-token-a114a50e.js +389 -0
  1361. package/dist/esm/dom-node-subject-observer-factory-9461cd67.js +138 -0
  1362. package/dist/esm/dynamic-slimmer-90b8af32.js +61 -0
  1363. package/dist/esm/effect-8efd2c3c.js +49 -0
  1364. package/dist/esm/element-appender-slimmer-07e54415.js +1107 -0
  1365. package/dist/esm/event-emit-slimmer-ed648d33.js +255 -0
  1366. package/dist/esm/feature-flag-controller-10780eeb.js +311 -0
  1367. package/dist/esm/form-field-controller-slimmer-e3f13abe.js +1135 -0
  1368. package/dist/esm/global-slimmer-registry-17c4efd4.js +283 -0
  1369. package/dist/esm/icon-manager-0f030f8a.js +120 -0
  1370. package/dist/esm/icons-8627925e.js +517 -0
  1371. package/dist/esm/immutable-map-f545ed1a.js +115 -0
  1372. package/dist/esm/index-0863eec6.js +1019 -0
  1373. package/dist/esm/index-187f71d1.js +1729 -0
  1374. package/dist/esm/index.js +39 -0
  1375. package/dist/esm/inject-keyboard-manager-8a82e8c9.js +35 -0
  1376. package/dist/esm/internal-icon-manager-9671142a.js +43 -0
  1377. package/dist/esm/internal-vega-event-manager-5aedd784.js +457 -0
  1378. package/dist/esm/internal-vega-z-index-manager-0553458e.js +178 -0
  1379. package/dist/esm/keyboard-manager-d1f9ddc1.js +104 -0
  1380. package/dist/esm/keyboard-manager-slimmer-8723f20f.js +37 -0
  1381. package/dist/esm/legend-input-processor-abb0b4f4.js +4739 -0
  1382. package/dist/esm/loader.js +44 -0
  1383. package/dist/esm/min-number-rule-8f643dbd.js +139 -0
  1384. package/dist/esm/min-string-length-rule-c6a69eeb.js +140 -0
  1385. package/dist/esm/mobilefriendly-c5d0573d.js +11 -0
  1386. package/dist/esm/mutation-observer-filters-9086b5cc.js +54 -0
  1387. package/dist/esm/mutation-observer-slimmer-6cef9549.js +83 -0
  1388. package/dist/esm/number-e2519d1c.js +85 -0
  1389. package/dist/esm/object-261e7344.js +34 -0
  1390. package/dist/esm/observer-3959f9dd.js +30 -0
  1391. package/dist/esm/page-resize-observer-slimmer-beb7b0bd.js +120 -0
  1392. package/dist/esm/pixel-f32c07ce.js +68 -0
  1393. package/dist/esm/placeholder-bf562081.js +24 -0
  1394. package/dist/esm/polyfills/core-js.js +11 -0
  1395. package/dist/esm/polyfills/css-shim.js +1 -0
  1396. package/dist/esm/polyfills/dom.js +79 -0
  1397. package/dist/esm/polyfills/es5-html-element.js +1 -0
  1398. package/dist/esm/polyfills/index.js +34 -0
  1399. package/dist/esm/polyfills/system.js +6 -0
  1400. package/dist/esm/regex-dfe11abf.js +8 -0
  1401. package/dist/esm/remote-invocation-registry-1682b34e.js +62 -0
  1402. package/dist/esm/required-field-rule-5da360cc.js +81 -0
  1403. package/dist/esm/responsive-format-facade-77be5490.js +716 -0
  1404. package/dist/esm/state-background-color-formatter-282992e3.js +82 -0
  1405. package/dist/esm/static-subject-title-6987a80b.js +46 -0
  1406. package/dist/esm/string-be824360.js +11 -0
  1407. package/dist/esm/string-input-formatter-slimmer-bcd14f0c.js +361 -0
  1408. package/dist/esm/style-formatter-65f0ff5d.js +32 -0
  1409. package/dist/esm/sub-state-observer-slimmer-af28076b.js +201 -0
  1410. package/dist/esm/synchronize-task-queue-8f5fbbd9.js +39 -0
  1411. package/dist/esm/timer-9321173b.js +22 -0
  1412. package/dist/esm/translation-0fa7cf77.js +272 -0
  1413. package/dist/esm/translation-slimmer-79f9a9c9.js +40 -0
  1414. package/dist/esm/type-guard-3cbf45c5.js +671 -0
  1415. package/dist/esm/typography-a8fc4764.js +1076 -0
  1416. package/dist/esm/ui-0132dbb5.js +187 -0
  1417. package/dist/esm/ui-8424715a.js +38 -0
  1418. package/dist/esm/valid-credit-card-number-rule-232f2986.js +170 -0
  1419. package/dist/esm/vega-accordion.entry.js +266 -0
  1420. package/dist/esm/vega-app-footer.entry.js +145 -0
  1421. package/dist/esm/vega-app-header-button.entry.js +311 -0
  1422. package/dist/esm/vega-backdrop.entry.js +152 -0
  1423. package/dist/esm/vega-banner.entry.js +350 -0
  1424. package/dist/esm/vega-bar-chart.entry.js +234 -0
  1425. package/dist/esm/vega-box.entry.js +205 -0
  1426. package/dist/esm/vega-breadcrumb.entry.js +264 -0
  1427. package/dist/esm/vega-button-circle.entry.js +219 -0
  1428. package/dist/esm/vega-button-group_2.entry.js +419 -0
  1429. package/dist/esm/vega-button-link.entry.js +212 -0
  1430. package/dist/esm/vega-button.entry.js +231 -0
  1431. package/dist/esm/vega-calendar_3.entry.js +4049 -0
  1432. package/dist/esm/vega-card.entry.js +193 -0
  1433. package/dist/esm/vega-carousel.entry.js +512 -0
  1434. package/dist/esm/vega-checkbox_2.entry.js +621 -0
  1435. package/dist/esm/vega-chip.entry.js +298 -0
  1436. package/dist/esm/vega-color-picker.entry.js +246 -0
  1437. package/dist/esm/vega-combo-box.entry.js +435 -0
  1438. package/dist/esm/vega-counter-badge.entry.js +86 -0
  1439. package/dist/esm/vega-date-picker_2.entry.js +2116 -0
  1440. package/dist/esm/vega-dialog-controller-3b905672.js +79 -0
  1441. package/dist/esm/vega-dialog_2.entry.js +712 -0
  1442. package/dist/esm/vega-divider.entry.js +146 -0
  1443. package/dist/esm/vega-dropdown_5.entry.js +2921 -0
  1444. package/dist/esm/vega-env-manager-8f8dc473.js +39 -0
  1445. package/dist/esm/vega-event-id-7465a011.js +100 -0
  1446. package/dist/esm/vega-field-error.entry.js +98 -0
  1447. package/dist/esm/vega-field-label.entry.js +162 -0
  1448. package/dist/esm/vega-file-uploader.entry.js +684 -0
  1449. package/dist/esm/vega-flex.entry.js +194 -0
  1450. package/dist/esm/vega-font.entry.js +286 -0
  1451. package/dist/esm/vega-form.entry.js +482 -0
  1452. package/dist/esm/vega-grid.entry.js +96 -0
  1453. package/dist/esm/vega-hint.entry.js +34 -0
  1454. package/dist/esm/vega-icon.entry.js +225 -0
  1455. package/dist/esm/vega-image-uploader.entry.js +932 -0
  1456. package/dist/esm/vega-input-credit-card.entry.js +409 -0
  1457. package/dist/esm/vega-input-numeric.entry.js +301 -0
  1458. package/dist/esm/vega-input-phone-number.entry.js +9220 -0
  1459. package/dist/esm/vega-input-range.entry.js +743 -0
  1460. package/dist/esm/vega-input-select.entry.js +876 -0
  1461. package/dist/esm/vega-input.entry.js +1015 -0
  1462. package/dist/esm/vega-internal-event-id-7e05cf4a.js +35 -0
  1463. package/dist/esm/vega-item-toggle.entry.js +187 -0
  1464. package/dist/esm/vega-left-nav_5.entry.js +1177 -0
  1465. package/dist/esm/vega-line-chart.entry.js +378 -0
  1466. package/dist/esm/vega-loader-wrapper_2.entry.js +207 -0
  1467. package/dist/esm/vega-page-notification_2.entry.js +178 -0
  1468. package/dist/esm/vega-pagination.entry.js +382 -0
  1469. package/dist/esm/vega-pie-chart.entry.js +439 -0
  1470. package/dist/esm/vega-popover_2.entry.js +317 -0
  1471. package/dist/esm/vega-progress-tracker.entry.js +248 -0
  1472. package/dist/esm/vega-radio_2.entry.js +739 -0
  1473. package/dist/esm/vega-section-title.entry.js +108 -0
  1474. package/dist/esm/vega-segment-control.entry.js +345 -0
  1475. package/dist/esm/vega-selection-chip_2.entry.js +832 -0
  1476. package/dist/esm/vega-selection-tile_2.entry.js +791 -0
  1477. package/dist/esm/vega-signature-capture.entry.js +569 -0
  1478. package/dist/esm/vega-skeleton-loader-controller-45b1cb11.js +3897 -0
  1479. package/dist/esm/vega-skeleton.entry.js +326 -0
  1480. package/dist/esm/vega-slot-container.entry.js +36 -0
  1481. package/dist/esm/vega-stepper.entry.js +289 -0
  1482. package/dist/esm/vega-tab-group_2.entry.js +1266 -0
  1483. package/dist/esm/vega-table_8.entry.js +4561 -0
  1484. package/dist/esm/vega-text.entry.js +229 -0
  1485. package/dist/esm/vega-textarea.entry.js +299 -0
  1486. package/dist/esm/vega-time-picker_2.entry.js +2153 -0
  1487. package/dist/esm/vega-toggle-switch.entry.js +245 -0
  1488. package/dist/esm/vega-tooltip_2.entry.js +296 -0
  1489. package/dist/esm/vega.js +44 -0
  1490. package/dist/esm/y-axis-input-processor-08c89594.js +2290 -0
  1491. package/dist/index.cjs.js +1 -0
  1492. package/dist/index.js +1 -0
  1493. package/dist/types/components/vega-accordion/slimmers/vega-accordion-expand-controller.d.ts +14 -0
  1494. package/dist/types/components/vega-accordion/slimmers/vega-accordion-renderer.d.ts +19 -0
  1495. package/dist/types/components/vega-accordion/vega-accordion.d.ts +95 -0
  1496. package/dist/types/components/vega-app-footer/types.d.ts +7 -0
  1497. package/dist/types/components/vega-app-footer/vega-app-footer.d.ts +102 -0
  1498. package/dist/types/components/vega-app-header-button/slimmers/renderers/vega-menu-arrow-icon-renderer.d.ts +6 -0
  1499. package/dist/types/components/vega-app-header-button/types.d.ts +27 -0
  1500. package/dist/types/components/vega-app-header-button/vega-app-header-button.d.ts +155 -0
  1501. package/dist/types/components/vega-backdrop/slimmers/controller/vega-backdrop-visible-controller.d.ts +23 -0
  1502. package/dist/types/components/vega-backdrop/slimmers/renerers/vega-backdrop-renderer.d.ts +9 -0
  1503. package/dist/types/components/vega-backdrop/vega-backdrop.d.ts +41 -0
  1504. package/dist/types/components/vega-banner/slimmers/controllers/vega-banner-icon-controller.d.ts +24 -0
  1505. package/dist/types/components/vega-banner/slimmers/renderers/vega-banner-action-button-renderer.d.ts +22 -0
  1506. package/dist/types/components/vega-banner/slimmers/renderers/vega-banner-renderer.d.ts +50 -0
  1507. package/dist/types/components/vega-banner/types.d.ts +11 -0
  1508. package/dist/types/components/vega-banner/vega-banner.d.ts +92 -0
  1509. package/dist/types/components/vega-box/interface.d.ts +22 -0
  1510. package/dist/types/components/vega-box/slimmers/controllers/vega-box-state-styles-controller.d.ts +53 -0
  1511. package/dist/types/components/vega-box/vega-box.d.ts +231 -0
  1512. package/dist/types/components/vega-breadcrumb/slimmers/controllers/vega-breadcrumb-click-controller.d.ts +26 -0
  1513. package/dist/types/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-collapsed-item-renderer.d.ts +7 -0
  1514. package/dist/types/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-item-renderer.d.ts +11 -0
  1515. package/dist/types/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-renderer.d.ts +19 -0
  1516. package/dist/types/components/vega-breadcrumb/types.d.ts +11 -0
  1517. package/dist/types/components/vega-breadcrumb/vega-breadcrumb.d.ts +57 -0
  1518. package/dist/types/components/vega-button/slimmers/renderers/vega-button-loading-renderer.d.ts +13 -0
  1519. package/dist/types/components/vega-button/types.d.ts +4 -0
  1520. package/dist/types/components/vega-button/vega-button.d.ts +129 -0
  1521. package/dist/types/components/vega-button-circle/types.d.ts +9 -0
  1522. package/dist/types/components/vega-button-circle/vega-button-circle.d.ts +120 -0
  1523. package/dist/types/components/vega-button-group/slimmers/controllers/vega-button-group-click-controller.d.ts +15 -0
  1524. package/dist/types/components/vega-button-group/types.d.ts +21 -0
  1525. package/dist/types/components/vega-button-group/vega-button-group-item/slimmers/controllers/vega-button-group-item-sub-state-controller.d.ts +12 -0
  1526. package/dist/types/components/vega-button-group/vega-button-group-item/slimmers/renderers/vega-button-group-item-renderer.d.ts +67 -0
  1527. package/dist/types/components/vega-button-group/vega-button-group-item/vega-button-group-item.d.ts +58 -0
  1528. package/dist/types/components/vega-button-group/vega-button-group.d.ts +60 -0
  1529. package/dist/types/components/vega-button-link/vega-button-link.d.ts +113 -0
  1530. package/dist/types/components/vega-calendar/icons/clock-three.d.ts +3 -0
  1531. package/dist/types/components/vega-calendar/icons/ellipsis-vertical.d.ts +3 -0
  1532. package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-current-period-controller.d.ts +48 -0
  1533. package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-controller.d.ts +56 -0
  1534. package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-responsive-controller.d.ts +25 -0
  1535. package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-view-controller.d.ts +35 -0
  1536. package/dist/types/components/vega-calendar/slimmers/common/helpers/calendar-event-sorter.d.ts +38 -0
  1537. package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/base-repeat-pattern.d.ts +50 -0
  1538. package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-daily-repeat-pattern.d.ts +43 -0
  1539. package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-monthly-repeat-pattern.d.ts +55 -0
  1540. package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-repeat-pattern-factory.d.ts +34 -0
  1541. package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-weekly-repeat-pattern.d.ts +99 -0
  1542. package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-yearly-repeat-pattern.d.ts +57 -0
  1543. package/dist/types/components/vega-calendar/slimmers/common/helpers/test/calendar-event-repeat-pattern-factory.test.d.ts +1 -0
  1544. package/dist/types/components/vega-calendar/slimmers/common/layout/base-event-layout-cell.d.ts +40 -0
  1545. package/dist/types/components/vega-calendar/slimmers/common/layout/base-event-layout-generator.d.ts +16 -0
  1546. package/dist/types/components/vega-calendar/slimmers/common/layout/base-event-layout.d.ts +11 -0
  1547. package/dist/types/components/vega-calendar/slimmers/common/layout/full-day-event-layout-generator.d.ts +39 -0
  1548. package/dist/types/components/vega-calendar/slimmers/common/layout/full-day-event-layout-row.d.ts +26 -0
  1549. package/dist/types/components/vega-calendar/slimmers/common/layout/full-day-event-layout.d.ts +30 -0
  1550. package/dist/types/components/vega-calendar/slimmers/common/layout/test/long-event-layout-generator.test.d.ts +1 -0
  1551. package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-event-item-renderer.d.ts +24 -0
  1552. package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-full-day-event-layout-renderer.d.ts +39 -0
  1553. package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-renderer.d.ts +13 -0
  1554. package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-switch-panel.d.ts +82 -0
  1555. package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-view-renderer.d.ts +14 -0
  1556. 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
  1557. package/dist/types/components/vega-calendar/slimmers/day-view/renderers/full-day-event/vega-calendar-full-day-event-renderer.d.ts +34 -0
  1558. package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout-column.d.ts +28 -0
  1559. package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout-generator.d.ts +20 -0
  1560. package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout.d.ts +20 -0
  1561. package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/test/day-view-event-layout-generator.test.d.ts +1 -0
  1562. package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/vega-calendar-day-event-layout-renderer.d.ts +27 -0
  1563. package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/vega-calendar-timed-event-renderer.d.ts +23 -0
  1564. package/dist/types/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-time-line-renderer.d.ts +67 -0
  1565. package/dist/types/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-view-with-time-renderer.d.ts +46 -0
  1566. package/dist/types/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-event-renderer.d.ts +66 -0
  1567. package/dist/types/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-view-renderer.d.ts +53 -0
  1568. package/dist/types/components/vega-calendar/types.d.ts +88 -0
  1569. package/dist/types/components/vega-calendar/utils/index.d.ts +25 -0
  1570. package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-bg-color-controller.d.ts +12 -0
  1571. package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-slot-controller.d.ts +30 -0
  1572. package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-title-max-height-controller.d.ts +13 -0
  1573. package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-sub-state-controller.d.ts +11 -0
  1574. package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/renderers/vega-calendar-event-renderer.d.ts +88 -0
  1575. package/dist/types/components/vega-calendar/vega-calendar-event/vega-calendar-event.d.ts +34 -0
  1576. package/dist/types/components/vega-calendar/vega-calendar-event-slot/vega-calendar-event-slot.d.ts +17 -0
  1577. package/dist/types/components/vega-calendar/vega-calendar.d.ts +179 -0
  1578. package/dist/types/components/vega-card/vega-card.d.ts +54 -0
  1579. package/dist/types/components/vega-carousel/vega-carousel.d.ts +157 -0
  1580. package/dist/types/components/vega-chart/vega-bar-chart/types.d.ts +4 -0
  1581. package/dist/types/components/vega-chart/vega-bar-chart/vega-bar-chart.d.ts +27 -0
  1582. package/dist/types/components/vega-chart/vega-line-chart/vega-line-chart.d.ts +38 -0
  1583. package/dist/types/components/vega-chart/vega-pie-chart/vega-pie-chart.d.ts +38 -0
  1584. package/dist/types/components/vega-checkbox/slimmers/controllers/vega-checkbox-show-error-controller.d.ts +29 -0
  1585. package/dist/types/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.d.ts +136 -0
  1586. package/dist/types/components/vega-checkbox/vega-checkbox.d.ts +152 -0
  1587. package/dist/types/components/vega-chip/types.d.ts +4 -0
  1588. package/dist/types/components/vega-chip/vega-chip.d.ts +164 -0
  1589. package/dist/types/components/vega-color-picker/vega-color-picker.d.ts +106 -0
  1590. package/dist/types/components/vega-combo-box/types.d.ts +9 -0
  1591. package/dist/types/components/vega-combo-box/vega-combo-box.d.ts +233 -0
  1592. package/dist/types/components/vega-counter-badge/vega-counter-badge.d.ts +44 -0
  1593. package/dist/types/components/vega-date-picker/assets/icons.d.ts +4 -0
  1594. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-controller.d.ts +110 -0
  1595. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-element-appender-controller.d.ts +12 -0
  1596. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-format-controller.d.ts +75 -0
  1597. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-keyboard-controller.d.ts +10 -0
  1598. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-mobile-controller.d.ts +18 -0
  1599. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-value-controller.d.ts +52 -0
  1600. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-zindex-controller.d.ts +15 -0
  1601. package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-renderer.d.ts +95 -0
  1602. package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-range-input-renderer.d.ts +31 -0
  1603. package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-renderer.d.ts +31 -0
  1604. package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-single-input-renderer.d.ts +23 -0
  1605. package/dist/types/components/vega-date-picker/types.d.ts +10 -0
  1606. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.d.ts +11 -0
  1607. package/dist/types/components/vega-date-picker/vega-date-picker.d.ts +213 -0
  1608. package/dist/types/components/vega-dialog/types.d.ts +14 -0
  1609. package/dist/types/components/vega-dialog/vega-dialog.d.ts +89 -0
  1610. package/dist/types/components/vega-divider/interface.d.ts +6 -0
  1611. package/dist/types/components/vega-divider/slimmers/controllers/vega-divider-size-controller.d.ts +26 -0
  1612. package/dist/types/components/vega-divider/vega-divider.d.ts +43 -0
  1613. package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.d.ts +43 -0
  1614. package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-children-controller.d.ts +74 -0
  1615. package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-keyboard-conttroller.d.ts +28 -0
  1616. package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-remote-invocation-controller.d.ts +28 -0
  1617. package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-render-mode-controller.d.ts +29 -0
  1618. package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-scrollable-controller.d.ts +57 -0
  1619. package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-search-controller.d.ts +65 -0
  1620. package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-selected-controller.d.ts +99 -0
  1621. package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-source-controller.d.ts +33 -0
  1622. package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-create-renderer.d.ts +13 -0
  1623. package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-group-level-renderer.d.ts +8 -0
  1624. package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-item-level-renderer.d.ts +13 -0
  1625. package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-list-renderer.d.ts +29 -0
  1626. package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-renderer.d.ts +32 -0
  1627. package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-search-renderer.d.ts +20 -0
  1628. package/dist/types/components/vega-dropdown/test/share.d.ts +12 -0
  1629. package/dist/types/components/vega-dropdown/types.d.ts +23 -0
  1630. package/dist/types/components/vega-dropdown/vega-dropdown-content-box/vega-dropdown-content-box.d.ts +13 -0
  1631. package/dist/types/components/vega-dropdown/vega-dropdown-group/slimmers/renderers/vega-dropdown-group-renderer.d.ts +10 -0
  1632. package/dist/types/components/vega-dropdown/vega-dropdown-group/vega-dropdown-group.d.ts +26 -0
  1633. package/dist/types/components/vega-dropdown/vega-dropdown-item/slimmers/controllers/vega-dropdown-item-click-controller.d.ts +19 -0
  1634. package/dist/types/components/vega-dropdown/vega-dropdown-item/slimmers/controllers/vega-dropdown-item-state-controller.d.ts +14 -0
  1635. package/dist/types/components/vega-dropdown/vega-dropdown-item/slimmers/renderers/vega-dropdown-item-renderer.d.ts +25 -0
  1636. package/dist/types/components/vega-dropdown/vega-dropdown-item/types.d.ts +1 -0
  1637. package/dist/types/components/vega-dropdown/vega-dropdown-item/vega-dropdown-item.d.ts +97 -0
  1638. package/dist/types/components/vega-dropdown/vega-dropdown.d.ts +385 -0
  1639. package/dist/types/components/vega-field-error/slimmers/controllers/vega-field-error-message-controller.d.ts +19 -0
  1640. package/dist/types/components/vega-field-error/types.d.ts +4 -0
  1641. package/dist/types/components/vega-field-error/vega-field-error.d.ts +21 -0
  1642. package/dist/types/components/vega-field-label/slimmers/renderers/vega-field-label-suffix-element-renderer.d.ts +27 -0
  1643. package/dist/types/components/vega-field-label/types.d.ts +5 -0
  1644. package/dist/types/components/vega-field-label/vega-field-label.d.ts +71 -0
  1645. package/dist/types/components/vega-file-uploader/slimmers/controllers/vega-file-uploader-drop-file-filter-controller.d.ts +22 -0
  1646. package/dist/types/components/vega-file-uploader/slimmers/controllers/vega-file-uploader-value-controller.d.ts +21 -0
  1647. package/dist/types/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-container-renderer.d.ts +78 -0
  1648. package/dist/types/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-list-renderer.d.ts +38 -0
  1649. package/dist/types/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-status-renderer.d.ts +7 -0
  1650. package/dist/types/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-renderer.d.ts +18 -0
  1651. package/dist/types/components/vega-file-uploader/types.d.ts +15 -0
  1652. package/dist/types/components/vega-file-uploader/vega-file-uploader.d.ts +181 -0
  1653. package/dist/types/components/vega-flex/vega-flex.d.ts +107 -0
  1654. package/dist/types/components/vega-font/slimmers/controllers/vega-font-as-controller.d.ts +23 -0
  1655. package/dist/types/components/vega-font/slimmers/controllers/vega-font-classes-controller.d.ts +15 -0
  1656. package/dist/types/components/vega-font/slimmers/controllers/vega-font-variant-controller.d.ts +13 -0
  1657. package/dist/types/components/vega-font/slimmers/renderers/vega-font-renderer.d.ts +6 -0
  1658. package/dist/types/components/vega-font/types.d.ts +18 -0
  1659. package/dist/types/components/vega-font/vega-font.d.ts +64 -0
  1660. package/dist/types/components/vega-form/types.d.ts +9 -0
  1661. package/dist/types/components/vega-form/vega-form.d.ts +235 -0
  1662. package/dist/types/components/vega-grid/vega-grid.d.ts +66 -0
  1663. package/dist/types/components/vega-hint/vega-hint.d.ts +12 -0
  1664. package/dist/types/components/vega-icon/vega-icon.d.ts +76 -0
  1665. package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-actions-visibility-controller.d.ts +14 -0
  1666. package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-input-controller.d.ts +15 -0
  1667. package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-preview-controller.d.ts +36 -0
  1668. package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-remove-controller.d.ts +18 -0
  1669. package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-value-controller.d.ts +18 -0
  1670. package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-actions-renderer.d.ts +40 -0
  1671. package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-default-content-renderer.d.ts +17 -0
  1672. package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-input-renderer.d.ts +23 -0
  1673. package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-preview-content-renderer.d.ts +13 -0
  1674. package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-renderer.d.ts +30 -0
  1675. package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-uploading-content-renderer.d.ts +15 -0
  1676. package/dist/types/components/vega-image-uploader/types.d.ts +21 -0
  1677. package/dist/types/components/vega-image-uploader/vega-image-uploader.d.ts +210 -0
  1678. package/dist/types/components/vega-input/slimmers/controllers/vega-input-copy-paste-controller.d.ts +23 -0
  1679. package/dist/types/components/vega-input/slimmers/controllers/vega-input-mask-config-controller.d.ts +59 -0
  1680. package/dist/types/components/vega-input/slimmers/renderers/vega-input-prefix-slot-renderer.d.ts +16 -0
  1681. package/dist/types/components/vega-input/types.d.ts +12 -0
  1682. package/dist/types/components/vega-input/vega-input.d.ts +320 -0
  1683. package/dist/types/components/vega-input-credit-card/assets/icons.d.ts +4 -0
  1684. package/dist/types/components/vega-input-credit-card/test/share.d.ts +18 -0
  1685. package/dist/types/components/vega-input-credit-card/vega-input-credit-card.d.ts +163 -0
  1686. package/dist/types/components/vega-input-numeric/slimmers/controllers/vega-input-numeric-keyboard-controller.d.ts +18 -0
  1687. package/dist/types/components/vega-input-numeric/slimmers/controllers/vega-input-numeric-value-controller.d.ts +23 -0
  1688. package/dist/types/components/vega-input-numeric/slimmers/renderers/vega-input-numeric-renderer.d.ts +19 -0
  1689. package/dist/types/components/vega-input-numeric/vega-input-numeric.d.ts +103 -0
  1690. package/dist/types/components/vega-input-phone-number/assets/countries.d.ts +2 -0
  1691. package/dist/types/components/vega-input-phone-number/assets/country-flags.d.ts +5 -0
  1692. package/dist/types/components/vega-input-phone-number/assets/flags/ac.d.ts +3 -0
  1693. package/dist/types/components/vega-input-phone-number/assets/flags/ad.d.ts +3 -0
  1694. package/dist/types/components/vega-input-phone-number/assets/flags/ae.d.ts +3 -0
  1695. package/dist/types/components/vega-input-phone-number/assets/flags/af.d.ts +3 -0
  1696. package/dist/types/components/vega-input-phone-number/assets/flags/ag.d.ts +3 -0
  1697. package/dist/types/components/vega-input-phone-number/assets/flags/ai.d.ts +3 -0
  1698. package/dist/types/components/vega-input-phone-number/assets/flags/al.d.ts +3 -0
  1699. package/dist/types/components/vega-input-phone-number/assets/flags/am.d.ts +3 -0
  1700. package/dist/types/components/vega-input-phone-number/assets/flags/ao.d.ts +3 -0
  1701. package/dist/types/components/vega-input-phone-number/assets/flags/ar.d.ts +3 -0
  1702. package/dist/types/components/vega-input-phone-number/assets/flags/as.d.ts +3 -0
  1703. package/dist/types/components/vega-input-phone-number/assets/flags/at.d.ts +3 -0
  1704. package/dist/types/components/vega-input-phone-number/assets/flags/au.d.ts +3 -0
  1705. package/dist/types/components/vega-input-phone-number/assets/flags/aw.d.ts +3 -0
  1706. package/dist/types/components/vega-input-phone-number/assets/flags/ax.d.ts +3 -0
  1707. package/dist/types/components/vega-input-phone-number/assets/flags/az.d.ts +3 -0
  1708. package/dist/types/components/vega-input-phone-number/assets/flags/ba.d.ts +3 -0
  1709. package/dist/types/components/vega-input-phone-number/assets/flags/bb.d.ts +3 -0
  1710. package/dist/types/components/vega-input-phone-number/assets/flags/bd.d.ts +3 -0
  1711. package/dist/types/components/vega-input-phone-number/assets/flags/be.d.ts +3 -0
  1712. package/dist/types/components/vega-input-phone-number/assets/flags/bf.d.ts +3 -0
  1713. package/dist/types/components/vega-input-phone-number/assets/flags/bg.d.ts +3 -0
  1714. package/dist/types/components/vega-input-phone-number/assets/flags/bh.d.ts +3 -0
  1715. package/dist/types/components/vega-input-phone-number/assets/flags/bi.d.ts +3 -0
  1716. package/dist/types/components/vega-input-phone-number/assets/flags/bj.d.ts +3 -0
  1717. package/dist/types/components/vega-input-phone-number/assets/flags/bl.d.ts +3 -0
  1718. package/dist/types/components/vega-input-phone-number/assets/flags/bm.d.ts +3 -0
  1719. package/dist/types/components/vega-input-phone-number/assets/flags/bn.d.ts +3 -0
  1720. package/dist/types/components/vega-input-phone-number/assets/flags/bo.d.ts +3 -0
  1721. package/dist/types/components/vega-input-phone-number/assets/flags/bq.d.ts +3 -0
  1722. package/dist/types/components/vega-input-phone-number/assets/flags/br.d.ts +3 -0
  1723. package/dist/types/components/vega-input-phone-number/assets/flags/bs.d.ts +3 -0
  1724. package/dist/types/components/vega-input-phone-number/assets/flags/bt.d.ts +3 -0
  1725. package/dist/types/components/vega-input-phone-number/assets/flags/bw.d.ts +3 -0
  1726. package/dist/types/components/vega-input-phone-number/assets/flags/by.d.ts +3 -0
  1727. package/dist/types/components/vega-input-phone-number/assets/flags/bz.d.ts +3 -0
  1728. package/dist/types/components/vega-input-phone-number/assets/flags/ca.d.ts +3 -0
  1729. package/dist/types/components/vega-input-phone-number/assets/flags/cc.d.ts +3 -0
  1730. package/dist/types/components/vega-input-phone-number/assets/flags/cd.d.ts +3 -0
  1731. package/dist/types/components/vega-input-phone-number/assets/flags/cf.d.ts +3 -0
  1732. package/dist/types/components/vega-input-phone-number/assets/flags/cg.d.ts +3 -0
  1733. package/dist/types/components/vega-input-phone-number/assets/flags/ch.d.ts +3 -0
  1734. package/dist/types/components/vega-input-phone-number/assets/flags/ci.d.ts +3 -0
  1735. package/dist/types/components/vega-input-phone-number/assets/flags/ck.d.ts +3 -0
  1736. package/dist/types/components/vega-input-phone-number/assets/flags/cl.d.ts +3 -0
  1737. package/dist/types/components/vega-input-phone-number/assets/flags/cm.d.ts +3 -0
  1738. package/dist/types/components/vega-input-phone-number/assets/flags/cn.d.ts +3 -0
  1739. package/dist/types/components/vega-input-phone-number/assets/flags/co.d.ts +3 -0
  1740. package/dist/types/components/vega-input-phone-number/assets/flags/cr.d.ts +3 -0
  1741. package/dist/types/components/vega-input-phone-number/assets/flags/cu.d.ts +3 -0
  1742. package/dist/types/components/vega-input-phone-number/assets/flags/cv.d.ts +3 -0
  1743. package/dist/types/components/vega-input-phone-number/assets/flags/cw.d.ts +3 -0
  1744. package/dist/types/components/vega-input-phone-number/assets/flags/cx.d.ts +3 -0
  1745. package/dist/types/components/vega-input-phone-number/assets/flags/cy.d.ts +3 -0
  1746. package/dist/types/components/vega-input-phone-number/assets/flags/cz.d.ts +3 -0
  1747. package/dist/types/components/vega-input-phone-number/assets/flags/de.d.ts +3 -0
  1748. package/dist/types/components/vega-input-phone-number/assets/flags/dj.d.ts +3 -0
  1749. package/dist/types/components/vega-input-phone-number/assets/flags/dk.d.ts +3 -0
  1750. package/dist/types/components/vega-input-phone-number/assets/flags/dm.d.ts +3 -0
  1751. package/dist/types/components/vega-input-phone-number/assets/flags/do.d.ts +3 -0
  1752. package/dist/types/components/vega-input-phone-number/assets/flags/dz.d.ts +3 -0
  1753. package/dist/types/components/vega-input-phone-number/assets/flags/ec.d.ts +3 -0
  1754. package/dist/types/components/vega-input-phone-number/assets/flags/ee.d.ts +3 -0
  1755. package/dist/types/components/vega-input-phone-number/assets/flags/eg.d.ts +3 -0
  1756. package/dist/types/components/vega-input-phone-number/assets/flags/eh.d.ts +3 -0
  1757. package/dist/types/components/vega-input-phone-number/assets/flags/er.d.ts +3 -0
  1758. package/dist/types/components/vega-input-phone-number/assets/flags/es.d.ts +3 -0
  1759. package/dist/types/components/vega-input-phone-number/assets/flags/et.d.ts +3 -0
  1760. package/dist/types/components/vega-input-phone-number/assets/flags/fi.d.ts +3 -0
  1761. package/dist/types/components/vega-input-phone-number/assets/flags/fj.d.ts +3 -0
  1762. package/dist/types/components/vega-input-phone-number/assets/flags/fk.d.ts +3 -0
  1763. package/dist/types/components/vega-input-phone-number/assets/flags/fm.d.ts +3 -0
  1764. package/dist/types/components/vega-input-phone-number/assets/flags/fo.d.ts +3 -0
  1765. package/dist/types/components/vega-input-phone-number/assets/flags/fr.d.ts +3 -0
  1766. package/dist/types/components/vega-input-phone-number/assets/flags/ga.d.ts +3 -0
  1767. package/dist/types/components/vega-input-phone-number/assets/flags/gb.d.ts +3 -0
  1768. package/dist/types/components/vega-input-phone-number/assets/flags/gd.d.ts +3 -0
  1769. package/dist/types/components/vega-input-phone-number/assets/flags/ge.d.ts +3 -0
  1770. package/dist/types/components/vega-input-phone-number/assets/flags/gf.d.ts +3 -0
  1771. package/dist/types/components/vega-input-phone-number/assets/flags/gg.d.ts +3 -0
  1772. package/dist/types/components/vega-input-phone-number/assets/flags/gh.d.ts +3 -0
  1773. package/dist/types/components/vega-input-phone-number/assets/flags/gi.d.ts +3 -0
  1774. package/dist/types/components/vega-input-phone-number/assets/flags/gl.d.ts +3 -0
  1775. package/dist/types/components/vega-input-phone-number/assets/flags/gm.d.ts +3 -0
  1776. package/dist/types/components/vega-input-phone-number/assets/flags/gn.d.ts +3 -0
  1777. package/dist/types/components/vega-input-phone-number/assets/flags/gp.d.ts +3 -0
  1778. package/dist/types/components/vega-input-phone-number/assets/flags/gq.d.ts +3 -0
  1779. package/dist/types/components/vega-input-phone-number/assets/flags/gr.d.ts +3 -0
  1780. package/dist/types/components/vega-input-phone-number/assets/flags/gt.d.ts +3 -0
  1781. package/dist/types/components/vega-input-phone-number/assets/flags/gu.d.ts +3 -0
  1782. package/dist/types/components/vega-input-phone-number/assets/flags/gw.d.ts +3 -0
  1783. package/dist/types/components/vega-input-phone-number/assets/flags/gy.d.ts +3 -0
  1784. package/dist/types/components/vega-input-phone-number/assets/flags/hk.d.ts +3 -0
  1785. package/dist/types/components/vega-input-phone-number/assets/flags/hn.d.ts +3 -0
  1786. package/dist/types/components/vega-input-phone-number/assets/flags/hr.d.ts +3 -0
  1787. package/dist/types/components/vega-input-phone-number/assets/flags/ht.d.ts +3 -0
  1788. package/dist/types/components/vega-input-phone-number/assets/flags/hu.d.ts +3 -0
  1789. package/dist/types/components/vega-input-phone-number/assets/flags/id.d.ts +3 -0
  1790. package/dist/types/components/vega-input-phone-number/assets/flags/ie.d.ts +3 -0
  1791. package/dist/types/components/vega-input-phone-number/assets/flags/il.d.ts +3 -0
  1792. package/dist/types/components/vega-input-phone-number/assets/flags/im.d.ts +3 -0
  1793. package/dist/types/components/vega-input-phone-number/assets/flags/in.d.ts +3 -0
  1794. package/dist/types/components/vega-input-phone-number/assets/flags/io.d.ts +3 -0
  1795. package/dist/types/components/vega-input-phone-number/assets/flags/iq.d.ts +3 -0
  1796. package/dist/types/components/vega-input-phone-number/assets/flags/ir.d.ts +3 -0
  1797. package/dist/types/components/vega-input-phone-number/assets/flags/is.d.ts +3 -0
  1798. package/dist/types/components/vega-input-phone-number/assets/flags/it.d.ts +3 -0
  1799. package/dist/types/components/vega-input-phone-number/assets/flags/je.d.ts +3 -0
  1800. package/dist/types/components/vega-input-phone-number/assets/flags/jm.d.ts +3 -0
  1801. package/dist/types/components/vega-input-phone-number/assets/flags/jo.d.ts +3 -0
  1802. package/dist/types/components/vega-input-phone-number/assets/flags/jp.d.ts +3 -0
  1803. package/dist/types/components/vega-input-phone-number/assets/flags/ke.d.ts +3 -0
  1804. package/dist/types/components/vega-input-phone-number/assets/flags/kg.d.ts +3 -0
  1805. package/dist/types/components/vega-input-phone-number/assets/flags/kh.d.ts +3 -0
  1806. package/dist/types/components/vega-input-phone-number/assets/flags/ki.d.ts +3 -0
  1807. package/dist/types/components/vega-input-phone-number/assets/flags/km.d.ts +3 -0
  1808. package/dist/types/components/vega-input-phone-number/assets/flags/kn.d.ts +3 -0
  1809. package/dist/types/components/vega-input-phone-number/assets/flags/kp.d.ts +3 -0
  1810. package/dist/types/components/vega-input-phone-number/assets/flags/kr.d.ts +3 -0
  1811. package/dist/types/components/vega-input-phone-number/assets/flags/kw.d.ts +3 -0
  1812. package/dist/types/components/vega-input-phone-number/assets/flags/ky.d.ts +3 -0
  1813. package/dist/types/components/vega-input-phone-number/assets/flags/kz.d.ts +3 -0
  1814. package/dist/types/components/vega-input-phone-number/assets/flags/la.d.ts +3 -0
  1815. package/dist/types/components/vega-input-phone-number/assets/flags/lb.d.ts +3 -0
  1816. package/dist/types/components/vega-input-phone-number/assets/flags/lc.d.ts +3 -0
  1817. package/dist/types/components/vega-input-phone-number/assets/flags/li.d.ts +3 -0
  1818. package/dist/types/components/vega-input-phone-number/assets/flags/lk.d.ts +3 -0
  1819. package/dist/types/components/vega-input-phone-number/assets/flags/lr.d.ts +3 -0
  1820. package/dist/types/components/vega-input-phone-number/assets/flags/ls.d.ts +3 -0
  1821. package/dist/types/components/vega-input-phone-number/assets/flags/lt.d.ts +3 -0
  1822. package/dist/types/components/vega-input-phone-number/assets/flags/lu.d.ts +3 -0
  1823. package/dist/types/components/vega-input-phone-number/assets/flags/lv.d.ts +3 -0
  1824. package/dist/types/components/vega-input-phone-number/assets/flags/ly.d.ts +3 -0
  1825. package/dist/types/components/vega-input-phone-number/assets/flags/ma.d.ts +3 -0
  1826. package/dist/types/components/vega-input-phone-number/assets/flags/mc.d.ts +3 -0
  1827. package/dist/types/components/vega-input-phone-number/assets/flags/md.d.ts +3 -0
  1828. package/dist/types/components/vega-input-phone-number/assets/flags/me.d.ts +3 -0
  1829. package/dist/types/components/vega-input-phone-number/assets/flags/mf.d.ts +3 -0
  1830. package/dist/types/components/vega-input-phone-number/assets/flags/mg.d.ts +3 -0
  1831. package/dist/types/components/vega-input-phone-number/assets/flags/mh.d.ts +3 -0
  1832. package/dist/types/components/vega-input-phone-number/assets/flags/mk.d.ts +3 -0
  1833. package/dist/types/components/vega-input-phone-number/assets/flags/ml.d.ts +3 -0
  1834. package/dist/types/components/vega-input-phone-number/assets/flags/mm.d.ts +3 -0
  1835. package/dist/types/components/vega-input-phone-number/assets/flags/mn.d.ts +3 -0
  1836. package/dist/types/components/vega-input-phone-number/assets/flags/mo.d.ts +3 -0
  1837. package/dist/types/components/vega-input-phone-number/assets/flags/mp.d.ts +3 -0
  1838. package/dist/types/components/vega-input-phone-number/assets/flags/mq.d.ts +3 -0
  1839. package/dist/types/components/vega-input-phone-number/assets/flags/mr.d.ts +3 -0
  1840. package/dist/types/components/vega-input-phone-number/assets/flags/ms.d.ts +3 -0
  1841. package/dist/types/components/vega-input-phone-number/assets/flags/mt.d.ts +3 -0
  1842. package/dist/types/components/vega-input-phone-number/assets/flags/mu.d.ts +3 -0
  1843. package/dist/types/components/vega-input-phone-number/assets/flags/mv.d.ts +3 -0
  1844. package/dist/types/components/vega-input-phone-number/assets/flags/mw.d.ts +3 -0
  1845. package/dist/types/components/vega-input-phone-number/assets/flags/mx.d.ts +3 -0
  1846. package/dist/types/components/vega-input-phone-number/assets/flags/my.d.ts +3 -0
  1847. package/dist/types/components/vega-input-phone-number/assets/flags/mz.d.ts +3 -0
  1848. package/dist/types/components/vega-input-phone-number/assets/flags/na.d.ts +3 -0
  1849. package/dist/types/components/vega-input-phone-number/assets/flags/nc.d.ts +3 -0
  1850. package/dist/types/components/vega-input-phone-number/assets/flags/ne.d.ts +3 -0
  1851. package/dist/types/components/vega-input-phone-number/assets/flags/nf.d.ts +3 -0
  1852. package/dist/types/components/vega-input-phone-number/assets/flags/ng.d.ts +3 -0
  1853. package/dist/types/components/vega-input-phone-number/assets/flags/ni.d.ts +3 -0
  1854. package/dist/types/components/vega-input-phone-number/assets/flags/nl.d.ts +3 -0
  1855. package/dist/types/components/vega-input-phone-number/assets/flags/no.d.ts +3 -0
  1856. package/dist/types/components/vega-input-phone-number/assets/flags/np.d.ts +3 -0
  1857. package/dist/types/components/vega-input-phone-number/assets/flags/nr.d.ts +3 -0
  1858. package/dist/types/components/vega-input-phone-number/assets/flags/nu.d.ts +3 -0
  1859. package/dist/types/components/vega-input-phone-number/assets/flags/nz.d.ts +3 -0
  1860. package/dist/types/components/vega-input-phone-number/assets/flags/om.d.ts +3 -0
  1861. package/dist/types/components/vega-input-phone-number/assets/flags/pa.d.ts +3 -0
  1862. package/dist/types/components/vega-input-phone-number/assets/flags/pe.d.ts +3 -0
  1863. package/dist/types/components/vega-input-phone-number/assets/flags/pf.d.ts +3 -0
  1864. package/dist/types/components/vega-input-phone-number/assets/flags/pg.d.ts +3 -0
  1865. package/dist/types/components/vega-input-phone-number/assets/flags/ph.d.ts +3 -0
  1866. package/dist/types/components/vega-input-phone-number/assets/flags/pk.d.ts +3 -0
  1867. package/dist/types/components/vega-input-phone-number/assets/flags/pl.d.ts +3 -0
  1868. package/dist/types/components/vega-input-phone-number/assets/flags/pm.d.ts +3 -0
  1869. package/dist/types/components/vega-input-phone-number/assets/flags/pr.d.ts +3 -0
  1870. package/dist/types/components/vega-input-phone-number/assets/flags/ps.d.ts +3 -0
  1871. package/dist/types/components/vega-input-phone-number/assets/flags/pt.d.ts +3 -0
  1872. package/dist/types/components/vega-input-phone-number/assets/flags/pw.d.ts +3 -0
  1873. package/dist/types/components/vega-input-phone-number/assets/flags/py.d.ts +3 -0
  1874. package/dist/types/components/vega-input-phone-number/assets/flags/qa.d.ts +3 -0
  1875. package/dist/types/components/vega-input-phone-number/assets/flags/re.d.ts +3 -0
  1876. package/dist/types/components/vega-input-phone-number/assets/flags/ro.d.ts +3 -0
  1877. package/dist/types/components/vega-input-phone-number/assets/flags/rs.d.ts +3 -0
  1878. package/dist/types/components/vega-input-phone-number/assets/flags/ru.d.ts +3 -0
  1879. package/dist/types/components/vega-input-phone-number/assets/flags/rw.d.ts +3 -0
  1880. package/dist/types/components/vega-input-phone-number/assets/flags/sa.d.ts +3 -0
  1881. package/dist/types/components/vega-input-phone-number/assets/flags/sb.d.ts +3 -0
  1882. package/dist/types/components/vega-input-phone-number/assets/flags/sc.d.ts +3 -0
  1883. package/dist/types/components/vega-input-phone-number/assets/flags/sd.d.ts +3 -0
  1884. package/dist/types/components/vega-input-phone-number/assets/flags/se.d.ts +3 -0
  1885. package/dist/types/components/vega-input-phone-number/assets/flags/sg.d.ts +3 -0
  1886. package/dist/types/components/vega-input-phone-number/assets/flags/sh.d.ts +3 -0
  1887. package/dist/types/components/vega-input-phone-number/assets/flags/si.d.ts +3 -0
  1888. package/dist/types/components/vega-input-phone-number/assets/flags/sj.d.ts +3 -0
  1889. package/dist/types/components/vega-input-phone-number/assets/flags/sk.d.ts +3 -0
  1890. package/dist/types/components/vega-input-phone-number/assets/flags/sl.d.ts +3 -0
  1891. package/dist/types/components/vega-input-phone-number/assets/flags/sm.d.ts +3 -0
  1892. package/dist/types/components/vega-input-phone-number/assets/flags/sn.d.ts +3 -0
  1893. package/dist/types/components/vega-input-phone-number/assets/flags/so.d.ts +3 -0
  1894. package/dist/types/components/vega-input-phone-number/assets/flags/sr.d.ts +3 -0
  1895. package/dist/types/components/vega-input-phone-number/assets/flags/ss.d.ts +3 -0
  1896. package/dist/types/components/vega-input-phone-number/assets/flags/st.d.ts +3 -0
  1897. package/dist/types/components/vega-input-phone-number/assets/flags/sv.d.ts +3 -0
  1898. package/dist/types/components/vega-input-phone-number/assets/flags/sx.d.ts +3 -0
  1899. package/dist/types/components/vega-input-phone-number/assets/flags/sy.d.ts +3 -0
  1900. package/dist/types/components/vega-input-phone-number/assets/flags/sz.d.ts +3 -0
  1901. package/dist/types/components/vega-input-phone-number/assets/flags/ta.d.ts +3 -0
  1902. package/dist/types/components/vega-input-phone-number/assets/flags/tc.d.ts +3 -0
  1903. package/dist/types/components/vega-input-phone-number/assets/flags/td.d.ts +3 -0
  1904. package/dist/types/components/vega-input-phone-number/assets/flags/tg.d.ts +3 -0
  1905. package/dist/types/components/vega-input-phone-number/assets/flags/th.d.ts +3 -0
  1906. package/dist/types/components/vega-input-phone-number/assets/flags/tj.d.ts +3 -0
  1907. package/dist/types/components/vega-input-phone-number/assets/flags/tk.d.ts +3 -0
  1908. package/dist/types/components/vega-input-phone-number/assets/flags/tl.d.ts +3 -0
  1909. package/dist/types/components/vega-input-phone-number/assets/flags/tm.d.ts +3 -0
  1910. package/dist/types/components/vega-input-phone-number/assets/flags/tn.d.ts +3 -0
  1911. package/dist/types/components/vega-input-phone-number/assets/flags/to.d.ts +3 -0
  1912. package/dist/types/components/vega-input-phone-number/assets/flags/tr.d.ts +3 -0
  1913. package/dist/types/components/vega-input-phone-number/assets/flags/tt.d.ts +3 -0
  1914. package/dist/types/components/vega-input-phone-number/assets/flags/tv.d.ts +3 -0
  1915. package/dist/types/components/vega-input-phone-number/assets/flags/tw.d.ts +3 -0
  1916. package/dist/types/components/vega-input-phone-number/assets/flags/tz.d.ts +3 -0
  1917. package/dist/types/components/vega-input-phone-number/assets/flags/ua.d.ts +3 -0
  1918. package/dist/types/components/vega-input-phone-number/assets/flags/ug.d.ts +3 -0
  1919. package/dist/types/components/vega-input-phone-number/assets/flags/us.d.ts +3 -0
  1920. package/dist/types/components/vega-input-phone-number/assets/flags/uy.d.ts +3 -0
  1921. package/dist/types/components/vega-input-phone-number/assets/flags/uz.d.ts +3 -0
  1922. package/dist/types/components/vega-input-phone-number/assets/flags/va.d.ts +3 -0
  1923. package/dist/types/components/vega-input-phone-number/assets/flags/vc.d.ts +3 -0
  1924. package/dist/types/components/vega-input-phone-number/assets/flags/ve.d.ts +3 -0
  1925. package/dist/types/components/vega-input-phone-number/assets/flags/vg.d.ts +3 -0
  1926. package/dist/types/components/vega-input-phone-number/assets/flags/vi.d.ts +3 -0
  1927. package/dist/types/components/vega-input-phone-number/assets/flags/vn.d.ts +3 -0
  1928. package/dist/types/components/vega-input-phone-number/assets/flags/vu.d.ts +3 -0
  1929. package/dist/types/components/vega-input-phone-number/assets/flags/wf.d.ts +3 -0
  1930. package/dist/types/components/vega-input-phone-number/assets/flags/ws.d.ts +3 -0
  1931. package/dist/types/components/vega-input-phone-number/assets/flags/xk.d.ts +3 -0
  1932. package/dist/types/components/vega-input-phone-number/assets/flags/ye.d.ts +3 -0
  1933. package/dist/types/components/vega-input-phone-number/assets/flags/yt.d.ts +3 -0
  1934. package/dist/types/components/vega-input-phone-number/assets/flags/za.d.ts +3 -0
  1935. package/dist/types/components/vega-input-phone-number/assets/flags/zm.d.ts +3 -0
  1936. package/dist/types/components/vega-input-phone-number/assets/flags/zw.d.ts +3 -0
  1937. package/dist/types/components/vega-input-phone-number/slimmers/controllers/country-select-controller.d.ts +36 -0
  1938. package/dist/types/components/vega-input-phone-number/slimmers/controllers/vega-input-phone-number-value-controller.d.ts +80 -0
  1939. package/dist/types/components/vega-input-phone-number/slimmers/renderers/country-select-renderer.d.ts +77 -0
  1940. package/dist/types/components/vega-input-phone-number/slimmers/renderers/phone-number-input-renderer.d.ts +37 -0
  1941. package/dist/types/components/vega-input-phone-number/slimmers/renderers/vega-input-phone-number-renderer.d.ts +27 -0
  1942. package/dist/types/components/vega-input-phone-number/types.d.ts +13 -0
  1943. package/dist/types/components/vega-input-phone-number/vega-input-phone-number.d.ts +143 -0
  1944. package/dist/types/components/vega-input-range/slimmers/controllers/vega-input-range-value-controller.d.ts +40 -0
  1945. package/dist/types/components/vega-input-range/slimmers/renderers/vega-input-range-clear-icon-renderer.d.ts +25 -0
  1946. package/dist/types/components/vega-input-range/slimmers/renderers/vega-input-range-input-renderer.d.ts +64 -0
  1947. package/dist/types/components/vega-input-range/slimmers/renderers/vega-input-range-renderer.d.ts +36 -0
  1948. package/dist/types/components/vega-input-range/types.d.ts +5 -0
  1949. package/dist/types/components/vega-input-range/vega-input-range.d.ts +169 -0
  1950. package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-dropdown-controller.d.ts +21 -0
  1951. package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-items-slot-controler.d.ts +19 -0
  1952. package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-lazy-load-controller.d.ts +28 -0
  1953. package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-source-controller.d.ts +29 -0
  1954. package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-value-controller.d.ts +31 -0
  1955. package/dist/types/components/vega-input-select/slimmers/renderers/vega-input-select-dropdown-renderer.d.ts +37 -0
  1956. package/dist/types/components/vega-input-select/slimmers/renderers/vega-input-select-renderer.d.ts +15 -0
  1957. package/dist/types/components/vega-input-select/types.d.ts +36 -0
  1958. package/dist/types/components/vega-input-select/vega-input-select.d.ts +217 -0
  1959. package/dist/types/components/vega-item-toggle/types.d.ts +8 -0
  1960. package/dist/types/components/vega-item-toggle/vega-item-toggle.d.ts +57 -0
  1961. package/dist/types/components/vega-loader-wrapper/vega-loader-wrapper.d.ts +11 -0
  1962. package/dist/types/components/vega-loading-indicator/types.d.ts +1 -0
  1963. package/dist/types/components/vega-loading-indicator/vega-loading-indicator.d.ts +78 -0
  1964. package/dist/types/components/vega-modal/slimmers/controllers/vega-nested-modal-controller.d.ts +17 -0
  1965. package/dist/types/components/vega-modal/types.d.ts +2 -0
  1966. package/dist/types/components/vega-modal/vega-modal.d.ts +294 -0
  1967. package/dist/types/components/vega-nav/interface.d.ts +36 -0
  1968. package/dist/types/components/vega-nav/slimmers/renderers/vega-nav-list-renderer.d.ts +12 -0
  1969. package/dist/types/components/vega-nav/slimmers/vega-nav-observer-slimmer.d.ts +24 -0
  1970. package/dist/types/components/vega-nav/vega-left-nav/assets/icons.d.ts +4 -0
  1971. package/dist/types/components/vega-nav/vega-left-nav/internal/vega-left-nav-separator.d.ts +2 -0
  1972. package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-auto-collapse-controller.d.ts +13 -0
  1973. package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-backdrop-controller.d.ts +27 -0
  1974. package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-open-state-controller.d.ts +35 -0
  1975. package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-zindex-controller.d.ts +13 -0
  1976. package/dist/types/components/vega-nav/vega-left-nav/slimmers/renderers/vega-left-nav-footer-renderer.d.ts +10 -0
  1977. package/dist/types/components/vega-nav/vega-left-nav/slimmers/renderers/vega-left-nav-header-renderer.d.ts +10 -0
  1978. package/dist/types/components/vega-nav/vega-left-nav/vega-left-nav.d.ts +100 -0
  1979. package/dist/types/components/vega-nav/vega-left-nav-group/slimmers/controllers/vega-left-nav-group-controller.d.ts +11 -0
  1980. package/dist/types/components/vega-nav/vega-left-nav-group/slimmers/renderers/vega-left-nav-group-renderer.d.ts +16 -0
  1981. package/dist/types/components/vega-nav/vega-left-nav-group/vega-left-nav-group.d.ts +37 -0
  1982. package/dist/types/components/vega-nav/vega-left-nav-link/slimmers/controllers/vega-left-nav-link-controller.d.ts +17 -0
  1983. package/dist/types/components/vega-nav/vega-left-nav-link/slimmers/renderers/vega-left-nav-link-renderer.d.ts +19 -0
  1984. package/dist/types/components/vega-nav/vega-left-nav-link/vega-left-nav-link.d.ts +51 -0
  1985. package/dist/types/components/vega-nav/vega-left-nav-section/slimmers/renderers/vega-left-nav-section-renderer.d.ts +9 -0
  1986. package/dist/types/components/vega-nav/vega-left-nav-section/vega-left-nav-section.d.ts +34 -0
  1987. package/dist/types/components/vega-nav/vega-nav-card/slimmers/controllers/vega-nav-card-max-height-controller.d.ts +13 -0
  1988. package/dist/types/components/vega-nav/vega-nav-card/vega-nav-card.d.ts +40 -0
  1989. package/dist/types/components/vega-page-notification/types.d.ts +10 -0
  1990. package/dist/types/components/vega-page-notification/vega-page-notification-list/vega-page-notification-list.d.ts +11 -0
  1991. package/dist/types/components/vega-page-notification/vega-page-notification.d.ts +80 -0
  1992. package/dist/types/components/vega-pagination/internal/vega-pagination-current-page-label.d.ts +10 -0
  1993. package/dist/types/components/vega-pagination/internal/vega-pagination-go-to.d.ts +9 -0
  1994. package/dist/types/components/vega-pagination/internal/vega-pagination-page-selector.d.ts +9 -0
  1995. package/dist/types/components/vega-pagination/internal/vega-pagination-page-size-selector.d.ts +10 -0
  1996. package/dist/types/components/vega-pagination/types.d.ts +1 -0
  1997. package/dist/types/components/vega-pagination/vega-pagination.d.ts +104 -0
  1998. package/dist/types/components/vega-popover/slimmers/controllers/vega-popover-appender-controller.d.ts +17 -0
  1999. package/dist/types/components/vega-popover/slimmers/renderers/vega-popover-appender-renderer.d.ts +24 -0
  2000. package/dist/types/components/vega-popover/vega-popover-content-box/vega-popover-content-box.d.ts +17 -0
  2001. package/dist/types/components/vega-popover/vega-popover.d.ts +120 -0
  2002. package/dist/types/components/vega-progress-tracker/vega-progress-tracker.d.ts +124 -0
  2003. package/dist/types/components/vega-radio/slimmers/controllers/vega-radio-show-error-controller.d.ts +30 -0
  2004. package/dist/types/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-keyboard-controller.d.ts +26 -0
  2005. package/dist/types/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-radio-items-controller.d.ts +40 -0
  2006. package/dist/types/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-value-controller.d.ts +21 -0
  2007. package/dist/types/components/vega-radio/vega-radio-group/vega-radio-group.d.ts +131 -0
  2008. package/dist/types/components/vega-radio/vega-radio.d.ts +152 -0
  2009. package/dist/types/components/vega-section-title/slimmers/renderers/vega-section-title-renderer.d.ts +16 -0
  2010. package/dist/types/components/vega-section-title/vega-section-title.d.ts +41 -0
  2011. package/dist/types/components/vega-segment-control/slimmers/controllers/vega-segment-control-selected-controller.d.ts +16 -0
  2012. package/dist/types/components/vega-segment-control/slimmers/controllers/vega-segment-overflow-controller.d.ts +23 -0
  2013. package/dist/types/components/vega-segment-control/slimmers/renderers/vega-segment-control-renderer.d.ts +7 -0
  2014. package/dist/types/components/vega-segment-control/slimmers/renderers/vega-segment-renderer.d.ts +20 -0
  2015. package/dist/types/components/vega-segment-control/types.d.ts +8 -0
  2016. package/dist/types/components/vega-segment-control/vega-segment-control.d.ts +91 -0
  2017. package/dist/types/components/vega-selection-chip/interface.d.ts +4 -0
  2018. package/dist/types/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-checked-cotroller.d.ts +23 -0
  2019. package/dist/types/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-show-error-controller.d.ts +31 -0
  2020. package/dist/types/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-state-controller.d.ts +13 -0
  2021. package/dist/types/components/vega-selection-chip/slimmers/renderers/vega-selection-chip-renderer.d.ts +26 -0
  2022. package/dist/types/components/vega-selection-chip/vega-selection-chip-group/interface.d.ts +1 -0
  2023. package/dist/types/components/vega-selection-chip/vega-selection-chip-group/slimmers/controllers/vega-selection-chip-group-items-controller.d.ts +72 -0
  2024. package/dist/types/components/vega-selection-chip/vega-selection-chip-group/slimmers/controllers/vega-selection-chip-group-value-controller.d.ts +29 -0
  2025. package/dist/types/components/vega-selection-chip/vega-selection-chip-group/slimmers/renderers/vega-selection-chip-group-renderer.d.ts +15 -0
  2026. package/dist/types/components/vega-selection-chip/vega-selection-chip-group/vega-selection-chip-group.d.ts +104 -0
  2027. package/dist/types/components/vega-selection-chip/vega-selection-chip.d.ts +115 -0
  2028. package/dist/types/components/vega-selection-tile/interface.d.ts +4 -0
  2029. package/dist/types/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-checked-cotroller.d.ts +28 -0
  2030. package/dist/types/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-show-error-controller.d.ts +32 -0
  2031. package/dist/types/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-state-controller.d.ts +15 -0
  2032. package/dist/types/components/vega-selection-tile/slimmers/renderers/vega-selection-tile-renderer.d.ts +24 -0
  2033. package/dist/types/components/vega-selection-tile/vega-selection-tile-group/slimmers/controllers/vega-selection-tile-group-items-controller.d.ts +34 -0
  2034. package/dist/types/components/vega-selection-tile/vega-selection-tile-group/slimmers/controllers/vega-selection-tile-group-value-controller.d.ts +56 -0
  2035. package/dist/types/components/vega-selection-tile/vega-selection-tile-group/slimmers/renderers/vega-selection-tile-group-renderer.d.ts +18 -0
  2036. package/dist/types/components/vega-selection-tile/vega-selection-tile-group/vega-selection-tile-group.d.ts +117 -0
  2037. package/dist/types/components/vega-selection-tile/vega-selection-tile.d.ts +96 -0
  2038. package/dist/types/components/vega-signature-capture/assets/icons.d.ts +4 -0
  2039. package/dist/types/components/vega-signature-capture/slimmers/renderers/vega-signature-capture-renderer.d.ts +7 -0
  2040. package/dist/types/components/vega-signature-capture/slimmers/written-mode/controllers/written-mode-svg-controller.d.ts +89 -0
  2041. package/dist/types/components/vega-signature-capture/slimmers/written-mode/renderers/written-mode-renderer.d.ts +29 -0
  2042. package/dist/types/components/vega-signature-capture/types.d.ts +5 -0
  2043. package/dist/types/components/vega-signature-capture/vega-signature-capture.d.ts +138 -0
  2044. package/dist/types/components/vega-skeleton/interface.d.ts +5 -0
  2045. package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-ellipse-renderer.d.ts +12 -0
  2046. package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-full-width-paragraph-renderer.d.ts +11 -0
  2047. package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-image-renderer.d.ts +12 -0
  2048. package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-paragraph-renderer.d.ts +12 -0
  2049. package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-renderer-base.abstract.d.ts +13 -0
  2050. package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-renderer-manager.d.ts +21 -0
  2051. package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-table-renderer.d.ts +14 -0
  2052. package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-text-renderer.d.ts +11 -0
  2053. package/dist/types/components/vega-skeleton/vega-skeleton.d.ts +52 -0
  2054. package/dist/types/components/vega-slot-container/vega-slot-container.d.ts +11 -0
  2055. package/dist/types/components/vega-stepper/vega-stepper.d.ts +128 -0
  2056. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-page-index-controller.d.ts +31 -0
  2057. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-pages-controller.d.ts +83 -0
  2058. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-panel-controller.d.ts +57 -0
  2059. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-selected-target-controller.d.ts +19 -0
  2060. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-slider-state-controller.d.ts +50 -0
  2061. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-close-button-renderer.d.ts +10 -0
  2062. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-content-renderer.d.ts +6 -0
  2063. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-direction-button-renderer.d.ts +18 -0
  2064. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-renderer.d.ts +16 -0
  2065. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.d.ts +26 -0
  2066. package/dist/types/components/vega-tab-group/types.d.ts +19 -0
  2067. package/dist/types/components/vega-tab-group/vega-tab-group-panel/vega-tab-group-panel.d.ts +34 -0
  2068. package/dist/types/components/vega-tab-group/vega-tab-group.d.ts +131 -0
  2069. package/dist/types/components/vega-table/interface.d.ts +221 -0
  2070. package/dist/types/components/vega-table/internal/vega-table-scrollable-container.d.ts +8 -0
  2071. package/dist/types/components/vega-table/slimmers/controllers/vega-table-children-controller.d.ts +62 -0
  2072. package/dist/types/components/vega-table/slimmers/controllers/vega-table-data-source-controller.d.ts +90 -0
  2073. package/dist/types/components/vega-table/slimmers/controllers/vega-table-editable-controller.d.ts +114 -0
  2074. package/dist/types/components/vega-table/slimmers/controllers/vega-table-expand-row-controller.d.ts +93 -0
  2075. package/dist/types/components/vega-table/slimmers/controllers/vega-table-pagination-controller.d.ts +37 -0
  2076. package/dist/types/components/vega-table/slimmers/controllers/vega-table-render-mode-controller.d.ts +34 -0
  2077. package/dist/types/components/vega-table/slimmers/controllers/vega-table-row-selection-controller.d.ts +160 -0
  2078. package/dist/types/components/vega-table/slimmers/controllers/vega-table-sort-controller.d.ts +37 -0
  2079. package/dist/types/components/vega-table/slimmers/controllers/vega-table-sorter.d.ts +33 -0
  2080. package/dist/types/components/vega-table/slimmers/renderers/vega-table-body-renderer.d.ts +18 -0
  2081. package/dist/types/components/vega-table/slimmers/renderers/vega-table-cell-renderer.d.ts +25 -0
  2082. package/dist/types/components/vega-table/slimmers/renderers/vega-table-col-group-renderer.d.ts +10 -0
  2083. package/dist/types/components/vega-table/slimmers/renderers/vega-table-header-renderer.d.ts +12 -0
  2084. package/dist/types/components/vega-table/slimmers/renderers/vega-table-pagination-renderer.d.ts +24 -0
  2085. package/dist/types/components/vega-table/slimmers/renderers/vega-table-renderer.d.ts +24 -0
  2086. package/dist/types/components/vega-table/slimmers/renderers/vega-table-row-renderer.d.ts +12 -0
  2087. package/dist/types/components/vega-table/slimmers/renderers/vega-table-scroll-container-renderer.d.ts +10 -0
  2088. package/dist/types/components/vega-table/test/utils.d.ts +9 -0
  2089. package/dist/types/components/vega-table/test/vega-table-sorter.test.d.ts +1 -0
  2090. package/dist/types/components/vega-table/type-guard.d.ts +14 -0
  2091. package/dist/types/components/vega-table/utils.d.ts +25 -0
  2092. package/dist/types/components/vega-table/vega-table-body/vega-table-body.d.ts +13 -0
  2093. package/dist/types/components/vega-table/vega-table-cell/slimmers/controllers/vega-table-cell-state-controller.d.ts +9 -0
  2094. package/dist/types/components/vega-table/vega-table-cell/vega-table-cell.d.ts +52 -0
  2095. package/dist/types/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-col-span-controller.d.ts +32 -0
  2096. package/dist/types/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-expand-controller.d.ts +26 -0
  2097. package/dist/types/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-selection-controller.d.ts +19 -0
  2098. package/dist/types/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-state-controller.d.ts +12 -0
  2099. package/dist/types/components/vega-table/vega-table-expand-row/slimmers/renderers/vega-table-expand-row-renderer.d.ts +9 -0
  2100. package/dist/types/components/vega-table/vega-table-expand-row/types.d.ts +3 -0
  2101. package/dist/types/components/vega-table/vega-table-expand-row/vega-table-expand-row.d.ts +49 -0
  2102. package/dist/types/components/vega-table/vega-table-head/slimmers/controllers/vega-table-head-state-controller.d.ts +10 -0
  2103. package/dist/types/components/vega-table/vega-table-head/types.d.ts +4 -0
  2104. package/dist/types/components/vega-table/vega-table-head/vega-table-head.d.ts +22 -0
  2105. package/dist/types/components/vega-table/vega-table-head-cell/slimmers/controllers/vega-table-head-cell-state-controller.d.ts +9 -0
  2106. package/dist/types/components/vega-table/vega-table-head-cell/slimmers/renderers/sort-icon-renderer.d.ts +8 -0
  2107. package/dist/types/components/vega-table/vega-table-head-cell/vega-table-head-cell.d.ts +80 -0
  2108. package/dist/types/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-controller.d.ts +22 -0
  2109. package/dist/types/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-state-controller.d.ts +22 -0
  2110. package/dist/types/components/vega-table/vega-table-head-row/slimmers/renderers/vega-table-head-row-renderer.d.ts +30 -0
  2111. package/dist/types/components/vega-table/vega-table-head-row/types.d.ts +5 -0
  2112. package/dist/types/components/vega-table/vega-table-head-row/vega-table-head-row.d.ts +70 -0
  2113. package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-click-controller.d.ts +33 -0
  2114. package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-expand-controller.d.ts +29 -0
  2115. package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-selection-controller.d.ts +37 -0
  2116. package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-state-controller.d.ts +30 -0
  2117. package/dist/types/components/vega-table/vega-table-row/slimmers/renderers/vega-table-row-renderer.d.ts +31 -0
  2118. package/dist/types/components/vega-table/vega-table-row/types.d.ts +7 -0
  2119. package/dist/types/components/vega-table/vega-table-row/vega-table-row.d.ts +104 -0
  2120. package/dist/types/components/vega-table/vega-table.d.ts +500 -0
  2121. package/dist/types/components/vega-text/slimmers/renderers/vega-text-tooltip-renderer.d.ts +63 -0
  2122. package/dist/types/components/vega-text/types.d.ts +3 -0
  2123. package/dist/types/components/vega-text/vega-text.d.ts +34 -0
  2124. package/dist/types/components/vega-textarea/vega-textarea.d.ts +167 -0
  2125. package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-dropdown-selected-items-controller.d.ts +78 -0
  2126. package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-input-mask-controller.d.ts +13 -0
  2127. package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-keyboard-controller.d.ts +28 -0
  2128. package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-range-dropdown-controller.d.ts +29 -0
  2129. package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-single-dropdown-controller.d.ts +56 -0
  2130. package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-value-controller.d.ts +82 -0
  2131. package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-label-renderer.d.ts +16 -0
  2132. package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-clear-button-renderer.d.ts +18 -0
  2133. package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-dropdown-renderer.d.ts +70 -0
  2134. package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-input-renderer.d.ts +57 -0
  2135. package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-dropdown-renderer.d.ts +46 -0
  2136. package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-input-renderer.d.ts +43 -0
  2137. package/dist/types/components/vega-time-picker/types.d.ts +21 -0
  2138. package/dist/types/components/vega-time-picker/vega-time-picker-dropdown/vega-time-picker-dropdown.d.ts +11 -0
  2139. package/dist/types/components/vega-time-picker/vega-time-picker.d.ts +179 -0
  2140. package/dist/types/components/vega-toggle-switch/vega-toggle-switch.d.ts +103 -0
  2141. package/dist/types/components/vega-tooltip/slimmers/controllers/vega-tooltip-element-appender-controller.d.ts +30 -0
  2142. package/dist/types/components/vega-tooltip/slimmers/renderers/vega-tooltip-content-box-renderer.d.ts +7 -0
  2143. package/dist/types/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.d.ts +17 -0
  2144. package/dist/types/components/vega-tooltip/vega-tooltip.d.ts +105 -0
  2145. package/dist/types/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-mode-controller.d.ts +34 -0
  2146. package/dist/types/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-position-controller.d.ts +88 -0
  2147. package/dist/types/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-scrollable-controller.d.ts +97 -0
  2148. package/dist/types/components/vega-virtual-scroll/slimmers/renderers/vega-virtual-scroll-loading-indicator-renderer.d.ts +10 -0
  2149. package/dist/types/components/vega-virtual-scroll/slimmers/renderers/vega-virtual-scroll-renderer.d.ts +16 -0
  2150. package/dist/types/components/vega-virtual-scroll/types.d.ts +14 -0
  2151. package/dist/types/components/vega-virtual-scroll/vega-virtual-scroll.d.ts +76 -0
  2152. package/dist/types/components.d.ts +9024 -0
  2153. package/dist/types/constants/card-config.d.ts +8 -0
  2154. package/dist/types/constants/locale.d.ts +5 -0
  2155. package/dist/types/constants/misc.d.ts +6 -0
  2156. package/dist/types/constants/public-api.d.ts +9 -0
  2157. package/dist/types/constants/regex.d.ts +6 -0
  2158. package/dist/types/constants/runtime-metrics-payload-definition/public-api/IconManager/runtime-metrics-payload-definition.d.ts +2 -0
  2159. package/dist/types/constants/runtime-metrics-payload-definition/public-api/ThemeManager/runtime-metrics-payload-definition.d.ts +2 -0
  2160. package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaDialogController/runtime-metrics-payload-definition.d.ts +2 -0
  2161. package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaEventManager/runtime-metrics-payload-definition.d.ts +2 -0
  2162. package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaLoaderController/runtime-metrics-payload-definition.d.ts +2 -0
  2163. package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaNotifyController/runtime-metrics-payload-definition.d.ts +2 -0
  2164. package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaSkeletonLoader/runtime-metrics-payload-definition.d.ts +2 -0
  2165. package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaTranslation/runtime-metrics-payload-definition.d.ts +2 -0
  2166. package/dist/types/constants/runtime-metrics-payload-definition/public-api/WaitForVegaHandler/runtime-metrics-payload-definition.d.ts +2 -0
  2167. package/dist/types/constants/runtime-metrics-payload-definition/public-api/zindex-manager/runtime-metrics-payload-definition.d.ts +2 -0
  2168. package/dist/types/constants/runtime-metrics-payload-definition/vega-button-circle/runtime-metrics-payload-definition.d.ts +2 -0
  2169. package/dist/types/constants/runtime-metrics-payload-definition/vega-button-group/runtime-metrics-payload-definition.d.ts +2 -0
  2170. package/dist/types/constants/runtime-metrics-payload-definition/vega-button-link/runtime-metrics-payload-definition.d.ts +2 -0
  2171. package/dist/types/constants/runtime-metrics-payload-definition/vega-card/runtime-metrics-payload-definition.d.ts +2 -0
  2172. package/dist/types/constants/runtime-metrics-payload-definition/vega-carousel/runtime-metrics-payload-definition.d.ts +2 -0
  2173. package/dist/types/constants/runtime-metrics-payload-definition/vega-chip/runtime-metrics-payload-definition.d.ts +2 -0
  2174. package/dist/types/constants/runtime-metrics-payload-definition/vega-color-picker/runtime-metrics-payload-definition.d.ts +2 -0
  2175. package/dist/types/constants/runtime-metrics-payload-definition/vega-combo-box/runtime-metrics-payload-definition.d.ts +2 -0
  2176. package/dist/types/constants/runtime-metrics-payload-definition/vega-date-picker/runtime-metrics-payload-definition.d.ts +2 -0
  2177. package/dist/types/constants/runtime-metrics-payload-definition/vega-dropdown/runtime-metrics-payload-definition.d.ts +2 -0
  2178. package/dist/types/constants/runtime-metrics-payload-definition/vega-flex/runtime-metrics-payload-definition.d.ts +2 -0
  2179. package/dist/types/constants/runtime-metrics-payload-definition/vega-font/runtime-metrics-payload-definition.d.ts +2 -0
  2180. package/dist/types/constants/runtime-metrics-payload-definition/vega-image-uploader/runtime-metrics-payload-definition.d.ts +2 -0
  2181. package/dist/types/constants/runtime-metrics-payload-definition/vega-input/runtime-metrics-payload-definition.d.ts +2 -0
  2182. package/dist/types/constants/runtime-metrics-payload-definition/vega-input-credit-card/runtime-metrics-payload-definition.d.ts +2 -0
  2183. package/dist/types/constants/runtime-metrics-payload-definition/vega-input-select/runtime-metrics-payload-definition.d.ts +2 -0
  2184. package/dist/types/constants/runtime-metrics-payload-definition/vega-item-toggle/runtime-metrics-payload-definition.d.ts +2 -0
  2185. package/dist/types/constants/runtime-metrics-payload-definition/vega-left-nav/runtime-metrics-payload-definition.d.ts +2 -0
  2186. package/dist/types/constants/runtime-metrics-payload-definition/vega-loading-indicator/runtime-metrics-payload-definition.d.ts +2 -0
  2187. package/dist/types/constants/runtime-metrics-payload-definition/vega-modal/runtime-metrics-payload-definition.d.ts +2 -0
  2188. package/dist/types/constants/runtime-metrics-payload-definition/vega-nav-card/runtime-metrics-payload-definition.d.ts +2 -0
  2189. package/dist/types/constants/runtime-metrics-payload-definition/vega-progress-tracker/runtime-metrics-payload-definition.d.ts +2 -0
  2190. package/dist/types/constants/runtime-metrics-payload-definition/vega-stepper/runtime-metrics-payload-definition.d.ts +2 -0
  2191. package/dist/types/constants/runtime-metrics-payload-definition/vega-tab-group/runtime-metrics-payload-definition.d.ts +2 -0
  2192. package/dist/types/constants/runtime-metrics-payload-definition/vega-table/runtime-metrics-payload-definition.d.ts +2 -0
  2193. package/dist/types/constants/runtime-metrics-payload-definition/vega-textarea/runtime-metrics-payload-definition.d.ts +2 -0
  2194. package/dist/types/constants/runtime-metrics-payload-definition/vega-time-picker/runtime-metrics-payload-definition.d.ts +2 -0
  2195. package/dist/types/constants/runtime-metrics-payload-definition/vega-tooltip/runtime-metrics-payload-definition.d.ts +2 -0
  2196. package/dist/types/constants/tests/validator.test.d.ts +1 -0
  2197. package/dist/types/constants/tokens/border-radius.d.ts +3 -0
  2198. package/dist/types/constants/tokens/borders.d.ts +4 -0
  2199. package/dist/types/constants/tokens/breakpoints.d.ts +3 -0
  2200. package/dist/types/constants/tokens/colors-mapping.d.ts +6 -0
  2201. package/dist/types/constants/tokens/colors.d.ts +193 -0
  2202. package/dist/types/constants/tokens/icons.d.ts +2 -0
  2203. package/dist/types/constants/tokens/overridable-border-tokens.d.ts +31 -0
  2204. package/dist/types/constants/tokens/overridable-color-tokens.d.ts +31 -0
  2205. package/dist/types/constants/tokens/overridable-ring-tokens.d.ts +31 -0
  2206. package/dist/types/constants/tokens/rings.d.ts +1 -0
  2207. package/dist/types/constants/tokens/shadows.d.ts +4 -0
  2208. package/dist/types/constants/tokens/spacing.d.ts +3 -0
  2209. package/dist/types/constants/tokens/tailwind.extend.d.ts +27 -0
  2210. package/dist/types/constants/tokens/themes/dark-mode-border-tokens.d.ts +1 -0
  2211. package/dist/types/constants/tokens/themes/dark-mode-color-tokens.d.ts +1 -0
  2212. package/dist/types/constants/tokens/themes/dark-mode-ring-tokens.d.ts +1 -0
  2213. package/dist/types/constants/tokens/themes/dark-mode-shadow-tokens.d.ts +1 -0
  2214. package/dist/types/constants/tokens/typography.d.ts +10 -0
  2215. package/dist/types/constants/ui.d.ts +16 -0
  2216. package/dist/types/constants/validator.d.ts +5 -0
  2217. package/dist/types/decorators/method-decorators/component-load-required.d.ts +9 -0
  2218. package/dist/types/decorators/method-decorators/tests/component-load-required.test.d.ts +1 -0
  2219. package/dist/types/decorators/property-decorators/inject-element-appender.d.ts +24 -0
  2220. package/dist/types/decorators/property-decorators/inject-keyboard-manager.d.ts +12 -0
  2221. package/dist/types/decorators/property-decorators/tests/inject-element-appender-proxy.test.d.ts +1 -0
  2222. package/dist/types/decorators/property-decorators/tests/inject-keyboard-manager.test.d.ts +1 -0
  2223. package/dist/types/global/icons/arrow-rotate-right.d.ts +3 -0
  2224. package/dist/types/global/icons/arrow-up-arrow-down.d.ts +3 -0
  2225. package/dist/types/global/icons/arrow-up-from-line.d.ts +3 -0
  2226. package/dist/types/global/icons/chevron-down.d.ts +3 -0
  2227. package/dist/types/global/icons/chevron-left.d.ts +3 -0
  2228. package/dist/types/global/icons/chevron-right.d.ts +3 -0
  2229. package/dist/types/global/icons/chevron-up.d.ts +3 -0
  2230. package/dist/types/global/icons/circle-arrow-down.d.ts +3 -0
  2231. package/dist/types/global/icons/circle-arrow-up.d.ts +3 -0
  2232. package/dist/types/global/icons/circle-check-regular.d.ts +3 -0
  2233. package/dist/types/global/icons/circle-check.d.ts +3 -0
  2234. package/dist/types/global/icons/circle-info.d.ts +3 -0
  2235. package/dist/types/global/icons/circle-question.d.ts +3 -0
  2236. package/dist/types/global/icons/circle-xmark.d.ts +3 -0
  2237. package/dist/types/global/icons/trash-can.d.ts +3 -0
  2238. package/dist/types/global/icons/triangle-exclamation.d.ts +3 -0
  2239. package/dist/types/global/icons/xmark-large.d.ts +3 -0
  2240. package/dist/types/global/scripts/before-vega-load.d.ts +5 -0
  2241. package/dist/types/global/tests/before-vega-load.test.d.ts +1 -0
  2242. package/dist/types/helpers/calendar/calendar-date.d.ts +69 -0
  2243. package/dist/types/helpers/calendar/calendar-event.d.ts +182 -0
  2244. package/dist/types/helpers/calendar/calendar-period/calendar-period.abstract.d.ts +81 -0
  2245. package/dist/types/helpers/calendar/calendar-period/day-period.d.ts +22 -0
  2246. package/dist/types/helpers/calendar/calendar-period/month-period.d.ts +33 -0
  2247. package/dist/types/helpers/calendar/calendar-period/week-period.d.ts +22 -0
  2248. package/dist/types/helpers/calendar/calendar-view-generator/calendar-view-generator.abstract.d.ts +35 -0
  2249. package/dist/types/helpers/calendar/calendar-view-generator/day-view-generator.d.ts +12 -0
  2250. package/dist/types/helpers/calendar/calendar-view-generator/month-view-generator.d.ts +12 -0
  2251. package/dist/types/helpers/calendar/calendar-view-generator/week-view-generator.d.ts +12 -0
  2252. package/dist/types/helpers/calendar/calendar-view.d.ts +21 -0
  2253. package/dist/types/helpers/calendar/index.d.ts +10 -0
  2254. package/dist/types/helpers/calendar/test/calendar-date.test.d.ts +1 -0
  2255. package/dist/types/helpers/calendar/test/calendar-event.test.d.ts +1 -0
  2256. package/dist/types/helpers/calendar/test/calendar-period/day-period.test.d.ts +1 -0
  2257. package/dist/types/helpers/calendar/test/calendar-period/month-period.test.d.ts +1 -0
  2258. package/dist/types/helpers/calendar/test/calendar-period/week-period.test.d.ts +1 -0
  2259. package/dist/types/helpers/calendar/test/calendar-view-generator/day-view-generator.test.d.ts +1 -0
  2260. package/dist/types/helpers/calendar/test/calendar-view-generator/month-view-generator.test.d.ts +1 -0
  2261. package/dist/types/helpers/calendar/test/calendar-view-generator/week-view-generator.test.d.ts +1 -0
  2262. package/dist/types/helpers/calendar/test/calendar-view.test.d.ts +1 -0
  2263. package/dist/types/helpers/calendar/test/index.test.d.ts +1 -0
  2264. package/dist/types/helpers/calendar/test/utils.test.d.ts +1 -0
  2265. package/dist/types/helpers/calendar/utils.d.ts +7 -0
  2266. package/dist/types/helpers/change-manager/change-manager.d.ts +43 -0
  2267. package/dist/types/helpers/change-manager/observer/observer.d.ts +23 -0
  2268. package/dist/types/helpers/change-manager/subject/dom-node-subject/dom-node-subject-factory.d.ts +41 -0
  2269. package/dist/types/helpers/change-manager/subject/dom-node-subject/dom-node-subject-observer-factory.d.ts +20 -0
  2270. package/dist/types/helpers/change-manager/subject/dom-node-subject/dom-node-subject.d.ts +22 -0
  2271. package/dist/types/helpers/change-manager/subject/static-subject/static-subject-title.d.ts +27 -0
  2272. package/dist/types/helpers/change-manager/subject/static-subject/static-subject.d.ts +20 -0
  2273. package/dist/types/helpers/change-manager/subject/subject-interface.d.ts +3 -0
  2274. package/dist/types/helpers/change-manager/test/change-manager.test.d.ts +1 -0
  2275. package/dist/types/helpers/change-manager/test/dom-node-subject-factory.test.d.ts +1 -0
  2276. package/dist/types/helpers/chart/bar-chart.d.ts +30 -0
  2277. package/dist/types/helpers/chart/base-chart.d.ts +61 -0
  2278. package/dist/types/helpers/chart/controllers/chart-dimension-controller.d.ts +80 -0
  2279. package/dist/types/helpers/chart/drawers/arc-path-drawer.d.ts +21 -0
  2280. package/dist/types/helpers/chart/drawers/base-drawer.d.ts +54 -0
  2281. package/dist/types/helpers/chart/drawers/legend-drawer.d.ts +49 -0
  2282. package/dist/types/helpers/chart/drawers/line-drawer.d.ts +11 -0
  2283. package/dist/types/helpers/chart/drawers/path-drawer.d.ts +11 -0
  2284. package/dist/types/helpers/chart/drawers/rect-drawer.d.ts +11 -0
  2285. package/dist/types/helpers/chart/drawers/text-drawer.d.ts +18 -0
  2286. package/dist/types/helpers/chart/drawers/x-axis-drawer.d.ts +13 -0
  2287. package/dist/types/helpers/chart/drawers/y-axis-drawer.d.ts +11 -0
  2288. package/dist/types/helpers/chart/graph-context-factory.d.ts +12 -0
  2289. package/dist/types/helpers/chart/input-processors/format-time-positions-input-processor.d.ts +20 -0
  2290. package/dist/types/helpers/chart/input-processors/horizontal-x-axis-input-processor.d.ts +20 -0
  2291. package/dist/types/helpers/chart/input-processors/horizontal-y-axis-input-processor.d.ts +19 -0
  2292. package/dist/types/helpers/chart/input-processors/input-processor.d.ts +3 -0
  2293. package/dist/types/helpers/chart/input-processors/layout-input-processor.d.ts +23 -0
  2294. package/dist/types/helpers/chart/input-processors/legend-input-processor.d.ts +24 -0
  2295. package/dist/types/helpers/chart/input-processors/line-path-input-processor.d.ts +32 -0
  2296. package/dist/types/helpers/chart/input-processors/pie-chart-arc-path-input-processor.d.ts +15 -0
  2297. package/dist/types/helpers/chart/input-processors/pie-chart-filter-input-processor.d.ts +15 -0
  2298. package/dist/types/helpers/chart/input-processors/pie-chart-radius-input-processor.d.ts +25 -0
  2299. package/dist/types/helpers/chart/input-processors/pie-chart-text-input-processor.d.ts +14 -0
  2300. package/dist/types/helpers/chart/input-processors/processor-chain.d.ts +22 -0
  2301. package/dist/types/helpers/chart/input-processors/sort-positions-input-processor.d.ts +16 -0
  2302. package/dist/types/helpers/chart/input-processors/x-axis-input-processor.d.ts +29 -0
  2303. package/dist/types/helpers/chart/input-processors/x-axis-label-formatter-input-processor.d.ts +37 -0
  2304. package/dist/types/helpers/chart/input-processors/y-axis-input-processor.d.ts +31 -0
  2305. package/dist/types/helpers/chart/interacting-entry-generator/arc-path-hover-generator.d.ts +38 -0
  2306. package/dist/types/helpers/chart/interacting-entry-generator/interacting-entry-generator.d.ts +17 -0
  2307. package/dist/types/helpers/chart/interacting-entry-generator/pie-legend-hover-generator.d.ts +42 -0
  2308. package/dist/types/helpers/chart/interactors/base-interactor.d.ts +54 -0
  2309. package/dist/types/helpers/chart/interactors/canvas-interactor.d.ts +6 -0
  2310. package/dist/types/helpers/chart/interactors/interactor-factory.d.ts +15 -0
  2311. package/dist/types/helpers/chart/interactors/svg-interactor.d.ts +19 -0
  2312. package/dist/types/helpers/chart/line-chart.d.ts +27 -0
  2313. package/dist/types/helpers/chart/pie-chart.d.ts +26 -0
  2314. package/dist/types/helpers/chart/renderers/base-renderer.d.ts +27 -0
  2315. package/dist/types/helpers/chart/renderers/canvas-renderer.d.ts +137 -0
  2316. package/dist/types/helpers/chart/renderers/renderer-factory.d.ts +14 -0
  2317. package/dist/types/helpers/chart/renderers/svg-renderer.d.ts +144 -0
  2318. package/dist/types/helpers/chart/test/controllers/chart-dimension-controller.test.d.ts +1 -0
  2319. package/dist/types/helpers/chart/test/drawers/arc-path-drawer.test.d.ts +1 -0
  2320. package/dist/types/helpers/chart/test/drawers/legend-drawer.test.d.ts +1 -0
  2321. package/dist/types/helpers/chart/test/drawers/line-drawer.test.d.ts +1 -0
  2322. package/dist/types/helpers/chart/test/drawers/path-drawer.test.d.ts +1 -0
  2323. package/dist/types/helpers/chart/test/drawers/rect-drawer.test.d.ts +1 -0
  2324. package/dist/types/helpers/chart/test/drawers/text-drawer.test.d.ts +1 -0
  2325. package/dist/types/helpers/chart/test/drawers/x-axis-drawer.test.d.ts +1 -0
  2326. package/dist/types/helpers/chart/test/drawers/y-axis-drawer.test.d.ts +1 -0
  2327. package/dist/types/helpers/chart/test/graph-context-factory.test.d.ts +1 -0
  2328. package/dist/types/helpers/chart/test/input-processors/format-time-positions-input-processor.test.d.ts +1 -0
  2329. package/dist/types/helpers/chart/test/input-processors/horizontal-x-axis-input-processor.test.d.ts +1 -0
  2330. package/dist/types/helpers/chart/test/input-processors/horizontal-y-axis-input-processor.test.d.ts +1 -0
  2331. package/dist/types/helpers/chart/test/input-processors/layout-input-processor.test.d.ts +1 -0
  2332. package/dist/types/helpers/chart/test/input-processors/line-path-input-processor.test.d.ts +1 -0
  2333. package/dist/types/helpers/chart/test/input-processors/pie-chart-filter-input-processor.test.d.ts +1 -0
  2334. package/dist/types/helpers/chart/test/input-processors/pie-chart-radius-input-processor.test.d.ts +1 -0
  2335. package/dist/types/helpers/chart/test/input-processors/sort-positions-input-processor.test.d.ts +1 -0
  2336. package/dist/types/helpers/chart/test/input-processors/x-axis-input-processor.test.d.ts +1 -0
  2337. package/dist/types/helpers/chart/test/input-processors/x-axis-label-formatter-input-processor.test.d.ts +1 -0
  2338. package/dist/types/helpers/chart/test/input-processors/y-axis-input-processor.test.d.ts +1 -0
  2339. package/dist/types/helpers/chart/test/interacting-entry-generator/arc-path-hover-generator.test.d.ts +1 -0
  2340. package/dist/types/helpers/chart/test/interacting-entry-generator/pie-legend-hover-generator.test.d.ts +1 -0
  2341. package/dist/types/helpers/chart/test/interactors/interactor-factory.test.d.ts +1 -0
  2342. package/dist/types/helpers/chart/test/interactors/svg-interactor.test.d.ts +1 -0
  2343. package/dist/types/helpers/chart/test/line-chart.test.d.ts +1 -0
  2344. package/dist/types/helpers/chart/test/pie-chart.test.d.ts +1 -0
  2345. package/dist/types/helpers/chart/test/renderers/canvas-renderer.test.d.ts +1 -0
  2346. package/dist/types/helpers/chart/test/renderers/renderer-factory.test.d.ts +1 -0
  2347. package/dist/types/helpers/chart/test/renderers/svg-renderer.test.d.ts +1 -0
  2348. package/dist/types/helpers/common/index.d.ts +7 -0
  2349. package/dist/types/helpers/common/test/common.test.d.ts +1 -0
  2350. package/dist/types/helpers/common/test/wait-for-vega-handler.test.d.ts +1 -0
  2351. package/dist/types/helpers/common/wait-for-vega-handler.d.ts +19 -0
  2352. package/dist/types/helpers/dialog/test/vega-dialog-controller.test.d.ts +1 -0
  2353. package/dist/types/helpers/dialog/vega-dialog-controller.d.ts +30 -0
  2354. package/dist/types/helpers/event-manager/event-delegated/base-strategy.d.ts +60 -0
  2355. package/dist/types/helpers/event-manager/event-delegated/jquery-delegated-event-strategy.d.ts +7 -0
  2356. package/dist/types/helpers/event-manager/event-delegated/jquery-delegated-strategy-controller.d.ts +44 -0
  2357. package/dist/types/helpers/event-manager/event-delegated/vega-button-click-strategy.d.ts +16 -0
  2358. package/dist/types/helpers/event-manager/event-delegated/vega-checkbox-change-strategy.d.ts +15 -0
  2359. package/dist/types/helpers/event-manager/event-delegated/vega-input-select-change-strategy.d.ts +15 -0
  2360. package/dist/types/helpers/event-manager/event-delegated/vega-input-strategy.d.ts +23 -0
  2361. package/dist/types/helpers/event-manager/event-delegated/vega-radio-change-strategy.d.ts +15 -0
  2362. package/dist/types/helpers/event-manager/event-delegated/vega-textarea-change-strategy.d.ts +14 -0
  2363. package/dist/types/helpers/event-manager/event-id/component-event-id-map.d.ts +3 -0
  2364. package/dist/types/helpers/event-manager/event-id/vega-event-id-interface.d.ts +3 -0
  2365. package/dist/types/helpers/event-manager/event-id/vega-event-id.d.ts +92 -0
  2366. package/dist/types/helpers/event-manager/event-id/vega-internal-event-id.d.ts +31 -0
  2367. package/dist/types/helpers/event-manager/internal-vega-event-manager.d.ts +63 -0
  2368. package/dist/types/helpers/event-manager/slimmers/child-nodes-event-prevent-slimmer.d.ts +86 -0
  2369. package/dist/types/helpers/event-manager/slimmers/child-nodes-notify-observer-slimmer.d.ts +47 -0
  2370. package/dist/types/helpers/event-manager/slimmers/event-emit-handlers/event-emit-handler.d.ts +7 -0
  2371. package/dist/types/helpers/event-manager/slimmers/event-emit-handlers/jquery-delegated-event-emit-handler.d.ts +33 -0
  2372. package/dist/types/helpers/event-manager/slimmers/event-emit-handlers/native-event-emit-handler.d.ts +25 -0
  2373. package/dist/types/helpers/event-manager/slimmers/event-emit-handlers/vega-event-emit-handler.d.ts +25 -0
  2374. package/dist/types/helpers/event-manager/slimmers/event-emit-slimmer.d.ts +63 -0
  2375. package/dist/types/helpers/event-manager/test/child-nodes-event-prevent-slimmer.test.d.ts +1 -0
  2376. package/dist/types/helpers/event-manager/test/child-nodes-notify-observer-slimmer.test.d.ts +1 -0
  2377. package/dist/types/helpers/event-manager/test/component-event-id-map.test.d.ts +1 -0
  2378. package/dist/types/helpers/event-manager/test/event-emit-slimmer.test.d.ts +1 -0
  2379. package/dist/types/helpers/event-manager/test/internal-vega-event-manager.test.d.ts +1 -0
  2380. package/dist/types/helpers/event-manager/test/jquery-delegated-strategy-controller.test.d.ts +1 -0
  2381. package/dist/types/helpers/event-manager/test/vega-event-id.test.d.ts +1 -0
  2382. package/dist/types/helpers/event-manager/test/vega-event-manager.test.d.ts +1 -0
  2383. package/dist/types/helpers/event-manager/vega-event-manager.d.ts +43 -0
  2384. package/dist/types/helpers/feature-control/feature-flag-controller.d.ts +82 -0
  2385. package/dist/types/helpers/feature-control/feature-flag.d.ts +53 -0
  2386. package/dist/types/helpers/feature-control/feature-flags-map.d.ts +3 -0
  2387. package/dist/types/helpers/feature-control/tests/feature-flag-controller.test.d.ts +1 -0
  2388. package/dist/types/helpers/formatter/responsive-map-formatter/responsiv-border-radius-formatter.d.ts +27 -0
  2389. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-box-display-formatter.d.ts +19 -0
  2390. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-class-string-formatter.d.ts +17 -0
  2391. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-custom-formatter.d.ts +20 -0
  2392. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-display-formatter.d.ts +19 -0
  2393. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-flex-align-item-formatter.d.ts +19 -0
  2394. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-flex-direction-formatter.d.ts +19 -0
  2395. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-flex-justify-content-formatter.d.ts +31 -0
  2396. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-flex-wrap-formatter.d.ts +19 -0
  2397. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-format-facade.d.ts +31 -0
  2398. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-formatter.d.ts +5 -0
  2399. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-gap-formatter.d.ts +19 -0
  2400. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-grid-columns-formatter.d.ts +19 -0
  2401. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-grid-rows-formatter.d.ts +19 -0
  2402. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-margin-formatter.d.ts +19 -0
  2403. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-padding-formatter.d.ts +19 -0
  2404. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-size-formatter.d.ts +18 -0
  2405. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-text-align-formatter.d.ts +19 -0
  2406. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-translocation-formatter.d.ts +19 -0
  2407. package/dist/types/helpers/formatter/responsive-map-formatter/responsive-width-and-height-formatter.d.ts +21 -0
  2408. package/dist/types/helpers/formatter/state-formatter/state-background-color-formatter.d.ts +32 -0
  2409. package/dist/types/helpers/formatter/state-formatter/state-border-color-formatter.d.ts +31 -0
  2410. package/dist/types/helpers/formatter/state-formatter/state-border-formatter.d.ts +33 -0
  2411. package/dist/types/helpers/formatter/state-formatter/state-format-facade.d.ts +27 -0
  2412. package/dist/types/helpers/formatter/state-formatter/state-formatter.d.ts +3 -0
  2413. package/dist/types/helpers/formatter/state-formatter/state-shadow-formatter.d.ts +28 -0
  2414. package/dist/types/helpers/formatter/state-formatter/state-variant-formatter.d.ts +23 -0
  2415. package/dist/types/helpers/formatter/string-formatter/custom-formatter-strategy.d.ts +47 -0
  2416. package/dist/types/helpers/formatter/string-formatter/number-mask-strategy.d.ts +56 -0
  2417. package/dist/types/helpers/formatter/string-formatter/number-thousand-comma-strategy.d.ts +34 -0
  2418. package/dist/types/helpers/formatter/string-formatter/string-format-strategy.d.ts +12 -0
  2419. package/dist/types/helpers/formatter/string-formatter/string-mask-strategy.d.ts +94 -0
  2420. package/dist/types/helpers/formatter/string-formatter/thousand-comma-strategy.d.ts +23 -0
  2421. package/dist/types/helpers/formatter/style-formatter.d.ts +14 -0
  2422. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-formatter.test.d.ts +1 -0
  2423. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-box-display-formatter.test.d.ts +1 -0
  2424. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-custom-formatter.test.d.ts +1 -0
  2425. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-display-formatter.test.d.ts +1 -0
  2426. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-flex-direction-formatter.test.d.ts +1 -0
  2427. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-flex-wrap-formatter.test.d.ts +1 -0
  2428. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-format-mediator.test.d.ts +1 -0
  2429. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-gap-formatter.ts.test.d.ts +1 -0
  2430. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-grid-column-formatter.test.d.ts +1 -0
  2431. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-grid-row-formatter.test.d.ts +1 -0
  2432. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-margin-formatter.test.d.ts +1 -0
  2433. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-padding-formatter.test.d.ts +1 -0
  2434. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-size-formatter.test.d.ts +1 -0
  2435. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-text-align-formatter.test.d.ts +1 -0
  2436. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-translocation-formatter.test.d.ts +1 -0
  2437. package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-width-and-height-formatter.test.d.ts +1 -0
  2438. package/dist/types/helpers/formatter/test/state-formatter/state-background-color-formatter.test.d.ts +1 -0
  2439. package/dist/types/helpers/formatter/test/state-formatter/state-border-color-formatter.test.d.ts +1 -0
  2440. package/dist/types/helpers/formatter/test/state-formatter/state-border-formatter.test.d.ts +1 -0
  2441. package/dist/types/helpers/formatter/test/state-formatter/state-format-facade.test.d.ts +1 -0
  2442. package/dist/types/helpers/formatter/test/state-formatter/state-shadow-formatter.test.d.ts +1 -0
  2443. package/dist/types/helpers/formatter/test/string-formatter/custom-formatter-strategy.test.d.ts +1 -0
  2444. package/dist/types/helpers/formatter/test/string-formatter/number-mask-strategy.test.d.ts +1 -0
  2445. package/dist/types/helpers/formatter/test/string-formatter/number-thousand-comma-mask-strategy.test.d.ts +1 -0
  2446. package/dist/types/helpers/formatter/test/string-formatter/string-mask-strategy.test.d.ts +1 -0
  2447. package/dist/types/helpers/formatter/test/string-formatter/thousand-comma-strategy.test.d.ts +1 -0
  2448. package/dist/types/helpers/formatter/test/style-formatter.test.d.ts +1 -0
  2449. package/dist/types/helpers/icon/icon-manager.d.ts +35 -0
  2450. package/dist/types/helpers/icon/interface.d.ts +10 -0
  2451. package/dist/types/helpers/icon/internal-icon-manager.d.ts +30 -0
  2452. package/dist/types/helpers/icon/test/icon-manager-controller.test.d.ts +1 -0
  2453. package/dist/types/helpers/icon/test/internal-icon-manager.test.d.ts +1 -0
  2454. package/dist/types/helpers/immutable/immutable-map.d.ts +78 -0
  2455. package/dist/types/helpers/immutable/immutable-set.d.ts +65 -0
  2456. package/dist/types/helpers/immutable/immutable.d.ts +3 -0
  2457. package/dist/types/helpers/immutable/test/immutable-map.test.d.ts +1 -0
  2458. package/dist/types/helpers/immutable/test/immutable-set.test.d.ts +1 -0
  2459. package/dist/types/helpers/keyboard/keyboard-manager.d.ts +60 -0
  2460. package/dist/types/helpers/keyboard/test/keyboard-manager.test.d.ts +1 -0
  2461. package/dist/types/helpers/level-tracker/nested-level-tracker.d.ts +36 -0
  2462. package/dist/types/helpers/level-tracker/test/nested-level-tracker.test.d.ts +1 -0
  2463. package/dist/types/helpers/loading-indicator/tests/vega-loader-controller.test.d.ts +1 -0
  2464. package/dist/types/helpers/loading-indicator/vega-loader-controller.d.ts +55 -0
  2465. package/dist/types/helpers/loading-indicator/vega-loader.d.ts +17 -0
  2466. package/dist/types/helpers/notify/tests/vega-notify-controller.test.d.ts +1 -0
  2467. package/dist/types/helpers/notify/vega-notify-controller.d.ts +54 -0
  2468. package/dist/types/helpers/notify/vega-notify.d.ts +13 -0
  2469. package/dist/types/helpers/paginator/test/value-paginator.test.d.ts +1 -0
  2470. package/dist/types/helpers/paginator/value-paginator.d.ts +45 -0
  2471. package/dist/types/helpers/public-api.d.ts +17 -0
  2472. package/dist/types/helpers/queue/queue.d.ts +4 -0
  2473. package/dist/types/helpers/queue/synchronize-task-queue.d.ts +24 -0
  2474. package/dist/types/helpers/queue/test/synchronize-task-queue.test.d.ts +1 -0
  2475. package/dist/types/helpers/remote-invocation/remote-invocation-registry.d.ts +39 -0
  2476. package/dist/types/helpers/remote-invocation/remote-invocation-registry.test.d.ts +1 -0
  2477. package/dist/types/helpers/skeleton-loader/interface.d.ts +16 -0
  2478. package/dist/types/helpers/skeleton-loader/tests/vega-skeleton-loader-controller.test.d.ts +1 -0
  2479. package/dist/types/helpers/skeleton-loader/vega-skeleton-loader-controller.d.ts +54 -0
  2480. package/dist/types/helpers/slimmers/component-global-style-slimmer.d.ts +33 -0
  2481. package/dist/types/helpers/slimmers/component-usage-runtime-metrics.d.ts +43 -0
  2482. package/dist/types/helpers/slimmers/deprecated-property-slimmer.d.ts +34 -0
  2483. package/dist/types/helpers/slimmers/element-appender-container/default-wrapper.d.ts +20 -0
  2484. package/dist/types/helpers/slimmers/element-appender-container/element-appender-container-controller.d.ts +33 -0
  2485. package/dist/types/helpers/slimmers/element-appender-container/position-relative-to-wrapper.d.ts +22 -0
  2486. package/dist/types/helpers/slimmers/element-appender-container/vega-modal-wrapper.d.ts +35 -0
  2487. package/dist/types/helpers/slimmers/element-appender-container/vega-popover-wrapper.d.ts +22 -0
  2488. package/dist/types/helpers/slimmers/element-appender-slimmer.d.ts +56 -0
  2489. package/dist/types/helpers/slimmers/field-error-controller-silmmer.d.ts +31 -0
  2490. package/dist/types/helpers/slimmers/field-error-ui-controller-slimmer.d.ts +54 -0
  2491. package/dist/types/helpers/slimmers/field-error-ui-controller-strategies/field-error-ui-controller-strategy.d.ts +6 -0
  2492. package/dist/types/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-error-label-container-retrieval-strategy.d.ts +16 -0
  2493. package/dist/types/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-nested-error-container-retrieval-strategy.d.ts +15 -0
  2494. package/dist/types/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-self-retrieval-strategy.d.ts +14 -0
  2495. package/dist/types/helpers/slimmers/form-field-controller-slimmer.d.ts +106 -0
  2496. package/dist/types/helpers/slimmers/form-field-valid-invoke-slimmer.d.ts +22 -0
  2497. package/dist/types/helpers/slimmers/global/vega-translate-observer-slimmer.d.ts +19 -0
  2498. package/dist/types/helpers/slimmers/global/vega-watch-method-cancel-slimmer.d.ts +39 -0
  2499. package/dist/types/helpers/slimmers/keyboard-manager-slimmer.d.ts +13 -0
  2500. package/dist/types/helpers/slimmers/mutation-observer/mutation-observer-filters.d.ts +30 -0
  2501. package/dist/types/helpers/slimmers/mutation-observer/mutation-observer-slimmer.d.ts +48 -0
  2502. package/dist/types/helpers/slimmers/mutation-observer/test/mutation-observer-slimmer.test.d.ts +1 -0
  2503. package/dist/types/helpers/slimmers/page-resize-observer-slimmer.d.ts +63 -0
  2504. package/dist/types/helpers/slimmers/runtime-metrics/create-public-api-runtime-metrics-slimmer.d.ts +16 -0
  2505. package/dist/types/helpers/slimmers/runtime-metrics/public-api-runtime-metrics-slimmer-base.d.ts +48 -0
  2506. package/dist/types/helpers/slimmers/runtime-metrics/test/public-api-runtime-metrics-slimmer-base.test.d.ts +1 -0
  2507. package/dist/types/helpers/slimmers/string-input-formatter-slimmer.d.ts +84 -0
  2508. package/dist/types/helpers/slimmers/sub-state/sub-state-notify-slimmer-base.d.ts +32 -0
  2509. package/dist/types/helpers/slimmers/sub-state/sub-state-notify-slimmer.d.ts +12 -0
  2510. package/dist/types/helpers/slimmers/sub-state/sub-state-observer-slimmer.d.ts +76 -0
  2511. package/dist/types/helpers/slimmers/sub-state/test/sub-state-observer-slimmer.test.d.ts +1 -0
  2512. package/dist/types/helpers/slimmers/test/component-global-style-slimmer.test.d.ts +1 -0
  2513. package/dist/types/helpers/slimmers/test/component-usage-runtime-metrics.test.d.ts +1 -0
  2514. package/dist/types/helpers/slimmers/test/deprecated-property-slimmer.test.d.ts +1 -0
  2515. package/dist/types/helpers/slimmers/test/element-appender-slimmer.test.d.ts +1 -0
  2516. package/dist/types/helpers/slimmers/test/field-error-controller-slimmer.test.d.ts +1 -0
  2517. package/dist/types/helpers/slimmers/test/form-field-controller-slimmer.test.d.ts +1 -0
  2518. package/dist/types/helpers/slimmers/test/form-field-valid-invoke-slimmer.test.d.ts +1 -0
  2519. package/dist/types/helpers/slimmers/test/global/vega-watch-method-cancel-slimmer.test.d.ts +1 -0
  2520. package/dist/types/helpers/slimmers/test/keyboard-manager-slimmer.test.d.ts +1 -0
  2521. package/dist/types/helpers/slimmers/test/page-resize-observer-slimmer.test.d.ts +1 -0
  2522. package/dist/types/helpers/slimmers/test/string-input-formatter-slimmer.test.d.ts +1 -0
  2523. package/dist/types/helpers/slimmers/test/translation-slimmer.test.d.ts +1 -0
  2524. package/dist/types/helpers/slimmers/translation/index.d.ts +1 -0
  2525. package/dist/types/helpers/slimmers/translation/translation-slimmer.d.ts +22 -0
  2526. package/dist/types/helpers/slimmers/types.d.ts +5 -0
  2527. package/dist/types/helpers/theme/controllers/color-schema-overriding-controller.d.ts +41 -0
  2528. package/dist/types/helpers/theme/controllers/dark-mode-style-controller.d.ts +17 -0
  2529. package/dist/types/helpers/theme/tests/theme-manager-controller.test.d.ts +1 -0
  2530. package/dist/types/helpers/theme/theme-manager.d.ts +40 -0
  2531. package/dist/types/helpers/theme/theme.d.ts +18 -0
  2532. package/dist/types/helpers/touch-helper/test/touch-listener.test.d.ts +1 -0
  2533. package/dist/types/helpers/touch-helper/touch-listener.d.ts +90 -0
  2534. package/dist/types/helpers/translation/index.d.ts +4 -0
  2535. package/dist/types/helpers/translation/interface.d.ts +90 -0
  2536. package/dist/types/helpers/translation/internal-translation-controller.d.ts +58 -0
  2537. package/dist/types/helpers/translation/locales/en.d.ts +5 -0
  2538. package/dist/types/helpers/translation/tests/internal-translation-controller.test.d.ts +1 -0
  2539. package/dist/types/helpers/translation/tests/translation.test.d.ts +1 -0
  2540. package/dist/types/helpers/translation/translation.d.ts +33 -0
  2541. package/dist/types/helpers/ui/element-appender.d.ts +154 -0
  2542. package/dist/types/helpers/ui/test/element-appender.test.d.ts +1 -0
  2543. package/dist/types/helpers/validator/form-field-controller.d.ts +244 -0
  2544. package/dist/types/helpers/validator/form-validator.d.ts +8 -0
  2545. package/dist/types/helpers/validator/rules/check-box-required-rule.d.ts +40 -0
  2546. package/dist/types/helpers/validator/rules/date-range-rule.d.ts +37 -0
  2547. package/dist/types/helpers/validator/rules/date-required-rule.d.ts +51 -0
  2548. package/dist/types/helpers/validator/rules/email-field-rule.d.ts +39 -0
  2549. package/dist/types/helpers/validator/rules/file-uploader-required-rule.d.ts +13 -0
  2550. package/dist/types/helpers/validator/rules/form-field-validation-rule.d.ts +25 -0
  2551. package/dist/types/helpers/validator/rules/input-phone-number-required-rule.d.ts +40 -0
  2552. package/dist/types/helpers/validator/rules/input-range-min-and-max-rule.d.ts +63 -0
  2553. package/dist/types/helpers/validator/rules/input-range-required-rule.d.ts +38 -0
  2554. package/dist/types/helpers/validator/rules/max-number-rule.d.ts +50 -0
  2555. package/dist/types/helpers/validator/rules/max-string-length-rule.d.ts +50 -0
  2556. package/dist/types/helpers/validator/rules/min-and-max-date-rule.d.ts +79 -0
  2557. package/dist/types/helpers/validator/rules/min-number-rule.d.ts +50 -0
  2558. package/dist/types/helpers/validator/rules/min-string-length-rule.d.ts +50 -0
  2559. package/dist/types/helpers/validator/rules/required-field-rule.d.ts +45 -0
  2560. package/dist/types/helpers/validator/rules/time-range-required-rule.d.ts +49 -0
  2561. package/dist/types/helpers/validator/rules/time-range-rule.d.ts +56 -0
  2562. package/dist/types/helpers/validator/rules/time-required-rule.d.ts +49 -0
  2563. package/dist/types/helpers/validator/rules/toggle-switch-required-rule.d.ts +38 -0
  2564. package/dist/types/helpers/validator/rules/valid-credit-card-number-rule.d.ts +109 -0
  2565. package/dist/types/helpers/validator/rules/valid-phone-number-rule.d.ts +74 -0
  2566. package/dist/types/helpers/validator/rules/validation-rule.d.ts +22 -0
  2567. package/dist/types/helpers/validator/test/rules/check-box-required-rule.test.d.ts +1 -0
  2568. package/dist/types/helpers/validator/test/rules/custom-validation-rule.test.d.ts +1 -0
  2569. package/dist/types/helpers/validator/test/rules/date-range-rule.test.d.ts +1 -0
  2570. package/dist/types/helpers/validator/test/rules/date-required-rule.test.d.ts +1 -0
  2571. package/dist/types/helpers/validator/test/rules/email-field-rule.test.d.ts +1 -0
  2572. package/dist/types/helpers/validator/test/rules/file-uploader-required-rule.test.d.ts +1 -0
  2573. package/dist/types/helpers/validator/test/rules/input-phone-number-required-rule.test.d.ts +1 -0
  2574. package/dist/types/helpers/validator/test/rules/input-range-min-and-max-rule.test.d.ts +1 -0
  2575. package/dist/types/helpers/validator/test/rules/input-range-required-rule.test.d.ts +1 -0
  2576. package/dist/types/helpers/validator/test/rules/max-number-rule.test.d.ts +1 -0
  2577. package/dist/types/helpers/validator/test/rules/max-string-length-rule.test.d.ts +1 -0
  2578. package/dist/types/helpers/validator/test/rules/min-and-max-date-rule.test.d.ts +1 -0
  2579. package/dist/types/helpers/validator/test/rules/min-number-rule.test.d.ts +1 -0
  2580. package/dist/types/helpers/validator/test/rules/min-string-length-rule.test.d.ts +1 -0
  2581. package/dist/types/helpers/validator/test/rules/required-field-rule.test.d.ts +1 -0
  2582. package/dist/types/helpers/validator/test/rules/time-range-required-rule.test.d.ts +1 -0
  2583. package/dist/types/helpers/validator/test/rules/time-range-rule.test.d.ts +1 -0
  2584. package/dist/types/helpers/validator/test/rules/time-required-rule.test.d.ts +1 -0
  2585. package/dist/types/helpers/validator/test/rules/toggle-switch-required-rule.test.d.ts +1 -0
  2586. package/dist/types/helpers/validator/test/rules/valid-credit-card-number-rule.test.d.ts +1 -0
  2587. package/dist/types/helpers/validator/test/rules/valid-phone-number-rule.test.d.ts +1 -0
  2588. package/dist/types/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler-chain.test.d.ts +1 -0
  2589. package/dist/types/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler.test.d.ts +1 -0
  2590. package/dist/types/helpers/validator/test/validator/form-field-controller.test.d.ts +1 -0
  2591. package/dist/types/helpers/validator/validation-rule-handler/form-field-validation-rule-handler-chain.d.ts +57 -0
  2592. package/dist/types/helpers/validator/validation-rule-handler/form-field-validation-rule-handler.d.ts +47 -0
  2593. package/dist/types/helpers/validator/validator.d.ts +8 -0
  2594. package/dist/types/helpers/vega-telemetry-helper/test/vega-env-manager.test.d.ts +1 -0
  2595. package/dist/types/helpers/vega-telemetry-helper/vega-env-manager.d.ts +30 -0
  2596. package/dist/types/helpers/zindex/internal-vega-z-index-manager.d.ts +87 -0
  2597. package/dist/types/helpers/zindex/test/internal-vega-z-index-manager.test.d.ts +1 -0
  2598. package/dist/types/helpers/zindex/test/vega-z-index-manager.test.d.ts +1 -0
  2599. package/dist/types/helpers/zindex/vega-z-index-manager.d.ts +22 -0
  2600. package/dist/types/index.d.ts +5 -0
  2601. package/dist/types/polyfill/test-polyfill/e2e/retry.d.ts +8 -0
  2602. package/dist/types/polyfill/test-polyfill/unit/create-touch-event.d.ts +11 -0
  2603. package/dist/types/polyfill/test-polyfill/unit/events.d.ts +1 -0
  2604. package/dist/types/polyfill/test-polyfill/unit/index.d.ts +2 -0
  2605. package/dist/types/polyfill/test-polyfill/unit/methods.d.ts +1 -0
  2606. package/dist/types/stencil-public-runtime.d.ts +1565 -0
  2607. package/dist/types/test-assets/test-icons.d.ts +4 -0
  2608. package/dist/types/types/class.type.d.ts +8 -0
  2609. package/dist/types/types/components.type.d.ts +192 -0
  2610. package/dist/types/types/design-token.type.d.ts +21 -0
  2611. package/dist/types/types/general.d.ts +7 -0
  2612. package/dist/types/types/public-api.d.ts +17 -0
  2613. package/dist/types/types/test/type-guard.test.d.ts +1 -0
  2614. package/dist/types/types/test-polyfill.d.ts +8 -0
  2615. package/dist/types/types/type-guard.d.ts +284 -0
  2616. package/dist/types/types/ui.type.d.ts +152 -0
  2617. package/dist/types/types/vega-chart.d.ts +149 -0
  2618. package/dist/types/utils/accessibility.d.ts +6 -0
  2619. package/dist/types/utils/api.d.ts +35 -0
  2620. package/dist/types/utils/array.d.ts +100 -0
  2621. package/dist/types/utils/breakpoints.d.ts +27 -0
  2622. package/dist/types/utils/component.d.ts +34 -0
  2623. package/dist/types/utils/date.d.ts +54 -0
  2624. package/dist/types/utils/design-token.d.ts +115 -0
  2625. package/dist/types/utils/e2e-utils.d.ts +139 -0
  2626. package/dist/types/utils/effect.d.ts +30 -0
  2627. package/dist/types/utils/local-storage.d.ts +14 -0
  2628. package/dist/types/utils/log.d.ts +48 -0
  2629. package/dist/types/utils/misc.d.ts +20 -0
  2630. package/dist/types/utils/number.d.ts +58 -0
  2631. package/dist/types/utils/object.d.ts +20 -0
  2632. package/dist/types/utils/pagination.d.ts +13 -0
  2633. package/dist/types/utils/pixel.d.ts +30 -0
  2634. package/dist/types/utils/position.d.ts +17 -0
  2635. package/dist/types/utils/public-api.d.ts +4 -0
  2636. package/dist/types/utils/spec-utils.d.ts +93 -0
  2637. package/dist/types/utils/string.d.ts +7 -0
  2638. package/dist/types/utils/test/accessibility.test.d.ts +1 -0
  2639. package/dist/types/utils/test/api.test.d.ts +1 -0
  2640. package/dist/types/utils/test/array.test.d.ts +1 -0
  2641. package/dist/types/utils/test/breakpoint.test.d.ts +1 -0
  2642. package/dist/types/utils/test/component.test.d.ts +1 -0
  2643. package/dist/types/utils/test/date.test.d.ts +1 -0
  2644. package/dist/types/utils/test/design-token.test.d.ts +1 -0
  2645. package/dist/types/utils/test/effect.test.d.ts +1 -0
  2646. package/dist/types/utils/test/local-storage.test.d.ts +1 -0
  2647. package/dist/types/utils/test/log.test.d.ts +1 -0
  2648. package/dist/types/utils/test/misc.test.d.ts +1 -0
  2649. package/dist/types/utils/test/number.test.d.ts +1 -0
  2650. package/dist/types/utils/test/object.test.d.ts +1 -0
  2651. package/dist/types/utils/test/pagination.test.d.ts +1 -0
  2652. package/dist/types/utils/test/pixel.test.d.ts +1 -0
  2653. package/dist/types/utils/test/position.test.d.ts +1 -0
  2654. package/dist/types/utils/test/spec-utils.test.d.ts +1 -0
  2655. package/dist/types/utils/test/string.test.d.ts +1 -0
  2656. package/dist/types/utils/test/test-utils.test.d.ts +1 -0
  2657. package/dist/types/utils/test/timer.test.d.ts +1 -0
  2658. package/dist/types/utils/test/ui.test.d.ts +1 -0
  2659. package/dist/types/utils/test-utils.d.ts +55 -0
  2660. package/dist/types/utils/timer.d.ts +11 -0
  2661. package/dist/types/utils/ui.d.ts +108 -0
  2662. package/dist/types/value-model-adapters/angular-ng-model-accessor-adapter.d.ts +2 -0
  2663. package/dist/types/value-model-adapters/vue-component-v-model-adaptor.d.ts +2 -0
  2664. package/dist/types/vega-slimmer/src/common/helpers/dynamic-slimmer.d.ts +37 -0
  2665. package/dist/types/vega-slimmer/src/common/helpers/global-slimmer-registry.d.ts +12 -0
  2666. package/dist/types/vega-slimmer/src/common/symbols/decorator.d.ts +4 -0
  2667. package/dist/types/vega-slimmer/src/common/types/decorator.type.d.ts +11 -0
  2668. package/dist/types/vega-slimmer/src/common/utils/log.d.ts +25 -0
  2669. package/dist/types/vega-slimmer/src/common/utils/placeholder.d.ts +14 -0
  2670. package/dist/types/vega-slimmer/src/decorators/inject-vega-global-slimmer.d.ts +7 -0
  2671. package/dist/types/vega-slimmer/src/decorators/inject-vega-slimmer.d.ts +22 -0
  2672. package/dist/types/vega-slimmer/src/decorators/inject-vega-telemetry-slimmer.d.ts +15 -0
  2673. package/dist/types/vega-slimmer/src/decorators/map-to-component-field.d.ts +13 -0
  2674. package/dist/types/vega-slimmer/src/decorators/map-to-component-method.d.ts +9 -0
  2675. package/dist/types/vega-slimmer/src/decorators/vega-slimmer.d.ts +5 -0
  2676. package/dist/types/vega-slimmer/vega-slimmer-core.d.ts +10 -0
  2677. package/dist/vega/index.esm.js +1 -0
  2678. package/dist/vega/p-009d8bf6.entry.js +1 -0
  2679. package/dist/vega/p-037b8522.entry.js +1 -0
  2680. package/dist/vega/p-04715327.entry.js +1 -0
  2681. package/dist/vega/p-0681b17b.js +1 -0
  2682. package/dist/vega/p-070bc326.entry.js +1 -0
  2683. package/dist/vega/p-095e1f16.entry.js +1 -0
  2684. package/dist/vega/p-0bb29d98.js +1 -0
  2685. package/dist/vega/p-0c667d6a.js +1 -0
  2686. package/dist/vega/p-0d153783.entry.js +1 -0
  2687. package/dist/vega/p-0ea01d14.entry.js +1 -0
  2688. package/dist/vega/p-0fa1c359.js +1 -0
  2689. package/dist/vega/p-152393dd.js +1 -0
  2690. package/dist/vega/p-15d7cbd4.entry.js +1 -0
  2691. package/dist/vega/p-16493e5b.js +1 -0
  2692. package/dist/vega/p-1bc5b3bc.js +1 -0
  2693. package/dist/vega/p-1c298d5a.js +2 -0
  2694. package/dist/vega/p-1e33c6e3.entry.js +1 -0
  2695. package/dist/vega/p-1ea57951.js +1 -0
  2696. package/dist/vega/p-1f5931f9.js +1 -0
  2697. package/dist/vega/p-210c0720.entry.js +1 -0
  2698. package/dist/vega/p-257a31a4.js +1 -0
  2699. package/dist/vega/p-27139202.entry.js +1 -0
  2700. package/dist/vega/p-2d0d575f.js +1 -0
  2701. package/dist/vega/p-2e155733.entry.js +1 -0
  2702. package/dist/vega/p-319efe6c.js +1 -0
  2703. package/dist/vega/p-331a62d5.js +1 -0
  2704. package/dist/vega/p-33596687.js +1 -0
  2705. package/dist/vega/p-344ee7cb.js +1 -0
  2706. package/dist/vega/p-34d2d33f.entry.js +1 -0
  2707. package/dist/vega/p-35ac416e.entry.js +1 -0
  2708. package/dist/vega/p-367f1d02.entry.js +1 -0
  2709. package/dist/vega/p-36de03ac.entry.js +13 -0
  2710. package/dist/vega/p-38d81bde.js +1 -0
  2711. package/dist/vega/p-391d86c0.entry.js +1 -0
  2712. package/dist/vega/p-3a0a4d15.js +1 -0
  2713. package/dist/vega/p-3f5e44c1.js +1 -0
  2714. package/dist/vega/p-4163c2c2.js +1 -0
  2715. package/dist/vega/p-456416ea.js +1 -0
  2716. package/dist/vega/p-47a4c625.js +1 -0
  2717. package/dist/vega/p-49edc948.entry.js +1 -0
  2718. package/dist/vega/p-4bcd6612.js +1 -0
  2719. package/dist/vega/p-4d381b9c.entry.js +1 -0
  2720. package/dist/vega/p-5453f591.js +1 -0
  2721. package/dist/vega/p-5915634b.js +1 -0
  2722. package/dist/vega/p-5b25da96.js +1 -0
  2723. package/dist/vega/p-5b72ea6a.entry.js +1 -0
  2724. package/dist/vega/p-5c6ec12d.entry.js +1 -0
  2725. package/dist/vega/p-5dc143ab.entry.js +1 -0
  2726. package/dist/vega/p-5f377954.js +1 -0
  2727. package/dist/vega/p-5f589974.js +1 -0
  2728. package/dist/vega/p-601ebd9c.entry.js +1 -0
  2729. package/dist/vega/p-6168c1e7.js +1 -0
  2730. package/dist/vega/p-61f6167c.js +1 -0
  2731. package/dist/vega/p-64e8bb64.js +1 -0
  2732. package/dist/vega/p-6522fd4b.entry.js +1 -0
  2733. package/dist/vega/p-67d8a51b.js +1 -0
  2734. package/dist/vega/p-68055c2d.entry.js +1 -0
  2735. package/dist/vega/p-6a334573.js +1 -0
  2736. package/dist/vega/p-6bd5c49b.js +1 -0
  2737. package/dist/vega/p-6c6d86da.js +1 -0
  2738. package/dist/vega/p-6d72a6ab.entry.js +1 -0
  2739. package/dist/vega/p-6e1ab235.js +1 -0
  2740. package/dist/vega/p-72a54323.entry.js +1 -0
  2741. package/dist/vega/p-74168615.js +1 -0
  2742. package/dist/vega/p-75f9ae6c.entry.js +1 -0
  2743. package/dist/vega/p-7902ad28.entry.js +1 -0
  2744. package/dist/vega/p-7b40ac07.js +1 -0
  2745. package/dist/vega/p-7cb528ca.entry.js +1 -0
  2746. package/dist/vega/p-7f0dd0f8.entry.js +1 -0
  2747. package/dist/vega/p-810ba5c3.entry.js +1 -0
  2748. package/dist/vega/p-813efe50.entry.js +1 -0
  2749. package/dist/vega/p-84fa8466.js +1 -0
  2750. package/dist/vega/p-85f501ca.entry.js +1 -0
  2751. package/dist/vega/p-86194314.js +1 -0
  2752. package/dist/vega/p-87102681.entry.js +1 -0
  2753. package/dist/vega/p-88a81469.entry.js +1 -0
  2754. package/dist/vega/p-8933ac57.entry.js +1 -0
  2755. package/dist/vega/p-8b0533c4.entry.js +1 -0
  2756. package/dist/vega/p-8b084bf9.entry.js +1 -0
  2757. package/dist/vega/p-8b3089d2.entry.js +1 -0
  2758. package/dist/vega/p-8c9a559d.entry.js +1 -0
  2759. package/dist/vega/p-903c331c.entry.js +1 -0
  2760. package/dist/vega/p-9284ebb7.entry.js +1 -0
  2761. package/dist/vega/p-95371244.entry.js +1 -0
  2762. package/dist/vega/p-987fbbd0.js +1 -0
  2763. package/dist/vega/p-9b797118.js +1 -0
  2764. package/dist/vega/p-9ba085c1.entry.js +1 -0
  2765. package/dist/vega/p-9e1d0edb.js +1 -0
  2766. package/dist/vega/p-9e6934fb.js +1 -0
  2767. package/dist/vega/p-a10b9f2e.js +12 -0
  2768. package/dist/vega/p-a190c86a.js +1 -0
  2769. package/dist/vega/p-a2169994.entry.js +1 -0
  2770. package/dist/vega/p-a2c49daf.entry.js +1 -0
  2771. package/dist/vega/p-a7fdb16a.js +1 -0
  2772. package/dist/vega/p-ac0ab38b.js +1 -0
  2773. package/dist/vega/p-af7a3154.js +1 -0
  2774. package/dist/vega/p-b4e92130.entry.js +1 -0
  2775. package/dist/vega/p-b5990090.js +1 -0
  2776. package/dist/vega/p-b86e8c8b.entry.js +1 -0
  2777. package/dist/vega/p-b8b3b0c8.js +1 -0
  2778. package/dist/vega/p-b8e42c11.entry.js +1 -0
  2779. package/dist/vega/p-bdc6149d.entry.js +1 -0
  2780. package/dist/vega/p-be784f53.js +1 -0
  2781. package/dist/vega/p-bee782d8.entry.js +1 -0
  2782. package/dist/vega/p-bf8c1fe3.js +1 -0
  2783. package/dist/vega/p-c002b488.entry.js +1 -0
  2784. package/dist/vega/p-c1dfdc13.js +1 -0
  2785. package/dist/vega/p-c59042c0.js +1 -0
  2786. package/dist/vega/p-cfd55b09.js +1 -0
  2787. package/dist/vega/p-d03c92ff.entry.js +1 -0
  2788. package/dist/vega/p-d1b7fc17.js +1 -0
  2789. package/dist/vega/p-d29e2a8f.js +1 -0
  2790. package/dist/vega/p-d37742b4.js +1 -0
  2791. package/dist/vega/p-d73cfdf4.entry.js +1 -0
  2792. package/dist/vega/p-d78404ed.entry.js +1 -0
  2793. package/dist/vega/p-d793f7a0.entry.js +1 -0
  2794. package/dist/vega/p-da041599.entry.js +1 -0
  2795. package/dist/vega/p-da86ba01.js +1 -0
  2796. package/dist/vega/p-db415b87.entry.js +1 -0
  2797. package/dist/vega/p-ddc70a7b.js +1 -0
  2798. package/dist/vega/p-de9f5dca.entry.js +1 -0
  2799. package/dist/vega/p-dee487f9.js +1 -0
  2800. package/dist/vega/p-e2acbc60.js +1 -0
  2801. package/dist/vega/p-e764a83f.entry.js +1 -0
  2802. package/dist/vega/p-ec157238.js +1 -0
  2803. package/dist/vega/p-ecfa7534.js +1 -0
  2804. package/dist/vega/p-ed45b3b6.js +1 -0
  2805. package/dist/vega/p-ed4a57a8.js +1 -0
  2806. package/dist/vega/p-eddcb385.entry.js +1 -0
  2807. package/dist/vega/p-ee68920f.js +1 -0
  2808. package/dist/vega/p-efa0f9c3.entry.js +1 -0
  2809. package/dist/vega/p-f404aa83.js +1 -0
  2810. package/dist/vega/p-f41102cd.js +1 -0
  2811. package/dist/vega/p-f505af4a.entry.js +1 -0
  2812. package/dist/vega/p-f7728ead.entry.js +1 -0
  2813. package/dist/vega/p-faea1620.js +1 -0
  2814. package/dist/vega/p-fb07b85e.js +1 -0
  2815. package/dist/vega/p-fb6c90d6.js +1 -0
  2816. package/dist/vega/vega.css +1 -0
  2817. package/dist/vega/vega.esm.js +1 -0
  2818. package/loader/cdn.js +3 -0
  2819. package/loader/index.cjs.js +3 -0
  2820. package/loader/index.d.ts +12 -0
  2821. package/loader/index.es2017.js +3 -0
  2822. package/loader/index.js +4 -0
  2823. package/loader/package.json +10 -0
  2824. package/package.json +130 -0
  2825. package/readme.md +182 -0
  2826. package/style/vega.css +1 -0
@@ -0,0 +1,4572 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-09acd3c9.js');
6
+ const globalSlimmerRegistry = require('./global-slimmer-registry-b3bce7e0.js');
7
+ const placeholder = require('./placeholder-cb6d37ad.js');
8
+ const componentUsageRuntimeMetrics = require('./component-usage-runtime-metrics-1ee24991.js');
9
+ const object = require('./object-bbd4ed7f.js');
10
+ const changeManager = require('./change-manager-a297e4d2.js');
11
+ const staticSubjectTitle = require('./static-subject-title-3599787e.js');
12
+ const observer = require('./observer-f49483e8.js');
13
+ const ui = require('./ui-08f33116.js');
14
+ const domNodeSubjectObserverFactory = require('./dom-node-subject-observer-factory-2e41340d.js');
15
+ const remoteInvocationRegistry = require('./remote-invocation-registry-32aaf6c2.js');
16
+ const vegaInternalEventId = require('./vega-internal-event-id-c98e9a7d.js');
17
+ const vegaEventId = require('./vega-event-id-e40ac8f0.js');
18
+ const typeGuard = require('./type-guard-0b7742ff.js');
19
+ const responsiveFormatFacade = require('./responsive-format-facade-7969c733.js');
20
+ const component = require('./component-73a88c4e.js');
21
+ const createPublicApiRuntimeMetricsSlimmer = require('./create-public-api-runtime-metrics-slimmer-7510221b.js');
22
+ const breakpoints = require('./breakpoints-17d6c4c7.js');
23
+ const mutationObserverSlimmer = require('./mutation-observer-slimmer-895b3d3e.js');
24
+ const mutationObserverFilters = require('./mutation-observer-filters-79b60f28.js');
25
+ const pageResizeObserverSlimmer = require('./page-resize-observer-slimmer-bb1eaebe.js');
26
+ const subStateObserverSlimmer = require('./sub-state-observer-slimmer-832a4215.js');
27
+ const childNodesEventPreventSlimmer = require('./child-nodes-event-prevent-slimmer-3b757c7f.js');
28
+ const eventEmitSlimmer = require('./event-emit-slimmer-962eda7c.js');
29
+ const immutableMap = require('./immutable-map-adf398cc.js');
30
+ const translationSlimmer = require('./translation-slimmer-83577cfd.js');
31
+ const featureFlagController = require('./feature-flag-controller-078da332.js');
32
+ const breakpoints$1 = require('./breakpoints-ebde4837.js');
33
+ const internalVegaZIndexManager = require('./internal-vega-z-index-manager-23051df4.js');
34
+ const accessibility = require('./accessibility-bfa227f6.js');
35
+ const internalIconManager = require('./internal-icon-manager-858baff1.js');
36
+ const chevronDown = require('./chevron-down-ca2fa88e.js');
37
+ require('./ui-32e69595.js');
38
+ require('./regex-c1f70fd4.js');
39
+ require('./typography-4560e7f1.js');
40
+ require('./number-459031f7.js');
41
+ require('./pixel-98f2a10c.js');
42
+ require('./dynamic-slimmer-f31fdfd7.js');
43
+ require('./array-6e559cde.js');
44
+ require('./internal-vega-event-manager-49c87e82.js');
45
+ require('./vega-env-manager-23b8b23c.js');
46
+ require('./translation-0dd74433.js');
47
+ require('./index-5792390b.js');
48
+ require('./icon-manager-5a2b67cf.js');
49
+
50
+ /**
51
+ * Immutable Set cannot be changed once created
52
+ */
53
+ class ImmutableSet {
54
+ /**
55
+ * The constructor of ImmutableSet
56
+ *
57
+ * @typedef T generic type parameter
58
+ * @param {Set<T>} initialSet - The initial set to use. If not provided, the set will be empty.
59
+ * @param {() => void} onMutate - A callback function that will be called whenever the set is mutated.
60
+ */
61
+ constructor(initialSet, onMutate) {
62
+ this.size = 0;
63
+ this.set = new Set();
64
+ if (initialSet) {
65
+ this.set = initialSet;
66
+ this.size = initialSet.size;
67
+ }
68
+ if (onMutate) {
69
+ this.onMutate = onMutate;
70
+ }
71
+ }
72
+ /**
73
+ * The function is called when the set is mutated
74
+ *
75
+ * @param {Immutable<Set<T>>} _newSet - The new set that was created.
76
+ */
77
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
78
+ onMutate(_newSet) {
79
+ return;
80
+ }
81
+ /**
82
+ * Add new items to the set, and then call the onMutate with the new ImmutableSet
83
+ *
84
+ * @typedef T generic type parameter
85
+ * @param {T[]} value - The items to add to the set.
86
+ * @returns {ImmutableSet<T>} A new ImmutableSet with the new items added.
87
+ */
88
+ add(...value) {
89
+ return this.withMutation((set) => {
90
+ value.forEach((value) => set.add(value));
91
+ });
92
+ }
93
+ /**
94
+ * clear the set values
95
+ *
96
+ * @typedef T generic type parameter
97
+ */
98
+ clear() {
99
+ this.withMutation((set) => set.clear());
100
+ }
101
+ /**
102
+ * delete item from set
103
+ *
104
+ * @typedef T generic type parameter
105
+ * @param {T} value - The key to delete from the set.
106
+ * @returns {ImmutableSet<T>} A new ImmutableSet
107
+ */
108
+ delete(value) {
109
+ return this.withMutation((set) => {
110
+ set.delete(value);
111
+ });
112
+ }
113
+ /**
114
+ * It takes a function that mutates a set, and returns a new immutable set that is the result of that mutation
115
+ *
116
+ * @param {(set: Set<T>) => void} fn - (set: Set<T>) => void
117
+ * @returns {ImmutableSet<T>} A new ImmutableSet
118
+ */
119
+ withMutation(fn) {
120
+ const newSet = new Set(this.set);
121
+ fn(newSet);
122
+ const newImmutableSet = new ImmutableSet(newSet, this.onMutate);
123
+ this.onMutate(newImmutableSet);
124
+ return newImmutableSet;
125
+ }
126
+ /**
127
+ * It returns true if the value is in the set, and false otherwise
128
+ *
129
+ * @typedef T generic type parameter
130
+ * @param {T} value - The value to check for.
131
+ * @returns {boolean} A boolean value.
132
+ */
133
+ has(value) {
134
+ return this.set.has(value);
135
+ }
136
+ /**
137
+ * It returns an array of the values in the set
138
+ *
139
+ * @returns {T[]} An array of the values in the set.
140
+ */
141
+ toArray() {
142
+ return [...this.set];
143
+ }
144
+ }
145
+
146
+ const VegaTableEditableFieldTypes = [
147
+ 'input',
148
+ 'input-select',
149
+ 'stepper',
150
+ 'checkbox',
151
+ 'textarea',
152
+ 'combo-box',
153
+ 'date-picker',
154
+ 'time-picker',
155
+ ];
156
+
157
+ var __decorate$E = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
158
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
159
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
160
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
161
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
162
+ };
163
+ var __rest$1 = (undefined && undefined.__rest) || function (s, e) {
164
+ var t = {};
165
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
166
+ t[p] = s[p];
167
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
168
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
169
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
170
+ t[p[i]] = s[p[i]];
171
+ }
172
+ return t;
173
+ };
174
+ class VegaTableCellRenderer extends globalSlimmerRegistry.VegaSlimmer {
175
+ constructor() {
176
+ super(...arguments);
177
+ this.renderTableCellContent = (column, record, index$1) => {
178
+ var _a, _b;
179
+ const value = object.getValueByPath(record, column.prop);
180
+ const rowKey = this.vegaTableDataSourceController.getRecordKey(record);
181
+ const isNewRow = !this.vegaTableDataSourceController
182
+ .getDataSource()
183
+ .find((item) => this.vegaTableDataSourceController.getRecordKey(item) === rowKey);
184
+ const editing = this.vegaTableEditableController.isEditing(rowKey);
185
+ const rowForm = this.vegaTableEditableController.getRowFormRefMap().get(rowKey);
186
+ if (editing && rowForm && column.renderFormItem) {
187
+ return column.renderFormItem(index.h, column.prop ? value : rowKey, record, index$1, {
188
+ rowForm,
189
+ isNewRow,
190
+ });
191
+ }
192
+ if (editing && rowForm && column.editable) {
193
+ const formItemProps = (_a = column.formItemProps) === null || _a === void 0 ? void 0 : _a.call(column, rowForm, {
194
+ record,
195
+ index: index$1,
196
+ });
197
+ const mergedProps = Object.assign({ dataVegaForm: (formItemProps === null || formItemProps === void 0 ? void 0 : formItemProps.dataVegaForm) || column.prop, size: 'small', value: value }, (_b = column.formItemProps) === null || _b === void 0 ? void 0 : _b.call(column, rowForm, { record, index: index$1 }));
198
+ return this.generateEditComponentByType(column.formItemType, mergedProps);
199
+ }
200
+ if (column.render) {
201
+ return column.render(index.h, column.prop ? value : rowKey, record, index$1);
202
+ }
203
+ if (typeof value === 'string' || typeof value === 'number') {
204
+ return String(value);
205
+ }
206
+ else if (typeof value === 'undefined' || value === null) {
207
+ return '';
208
+ }
209
+ else {
210
+ globalSlimmerRegistry.LogUtility.error(`Column ${column.prop}'s value has a wrong type(${typeof record[column.prop]}) in table cell. Only 'VegaTableNode | string | number' can be rendered in table cell`);
211
+ }
212
+ };
213
+ /**
214
+ * Generate edit component by
215
+ *
216
+ * @param {VegaTableFormItemType} type - The type of the vega components
217
+ * @param {VegaTableEditComponentProps} props - The component props
218
+ * @returns {VegaTableNode} The node of VegaTable
219
+ */
220
+ this.generateEditComponentByType = (type = 'input', props) => {
221
+ const tagName = `vega-${type}`;
222
+ const { dataVegaForm } = props, componentProps = __rest$1(props, ["dataVegaForm"]);
223
+ if (!this.isVegaTableEditableFieldType(tagName)) {
224
+ globalSlimmerRegistry.LogUtility.error(`Type must be one of the form field types. [${VegaTableEditableFieldTypes.join(',')}]`);
225
+ return;
226
+ }
227
+ return index.h(tagName, Object.assign(Object.assign({}, componentProps), { 'data-vega-form': dataVegaForm }));
228
+ };
229
+ /**
230
+ * Verify the tagName is editable field type
231
+ *
232
+ * @param {string} tagName The component tag name
233
+ * @returns {boolean} return true if the tagName is editable field in VegaTable
234
+ */
235
+ this.isVegaTableEditableFieldType = (tagName) => {
236
+ return (tagName.toUpperCase().startsWith('VEGA') &&
237
+ new RegExp(VegaTableEditableFieldTypes.join('|'), 'i').test(tagName));
238
+ };
239
+ }
240
+ render(column, record, index$1) {
241
+ const rowKey = this.vegaTableDataSourceController.getRecordKey(record);
242
+ const columnKey = `${rowKey}_${column.key || column.prop}`;
243
+ return (index.h("vega-table-cell", { key: columnKey, textAlign: column.align, breakpoint: column.breakpoint, overflow: column.overflow }, this.renderTableCellContent(column, record, index$1)));
244
+ }
245
+ }
246
+ __decorate$E([
247
+ globalSlimmerRegistry.MapToComponentField()
248
+ ], VegaTableCellRenderer.prototype, "rowKey", void 0);
249
+ __decorate$E([
250
+ globalSlimmerRegistry.MapToComponentField()
251
+ ], VegaTableCellRenderer.prototype, "vegaTableDataSourceController", void 0);
252
+ __decorate$E([
253
+ globalSlimmerRegistry.MapToComponentField()
254
+ ], VegaTableCellRenderer.prototype, "vegaTableEditableController", void 0);
255
+
256
+ var __decorate$D = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
257
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
258
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
259
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
260
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
261
+ };
262
+ /**
263
+ * The expand row controller of VegaTable
264
+ */
265
+ class VegaTableExpandRowController extends globalSlimmerRegistry.VegaSlimmer {
266
+ constructor() {
267
+ super(...arguments);
268
+ /**
269
+ * Toggle expandable row by rowKey
270
+ *
271
+ * @param {string} rowKey - The row key of the row
272
+ */
273
+ this.toggleExpandRow = (rowKey) => {
274
+ this.rowExpandable && this.handleToggleExpandRow(rowKey, !this.isExpanded(rowKey));
275
+ };
276
+ /**
277
+ * Open expandable row by rowKey
278
+ *
279
+ * @param {string} rowKey - The row key of the row
280
+ */
281
+ this.openExpandRow = (rowKey) => {
282
+ this.rowExpandable && this.handleToggleExpandRow(rowKey, true);
283
+ };
284
+ /**
285
+ * Close expanded row by rowKey
286
+ *
287
+ * @param {string} rowKey - The row key of the row
288
+ */
289
+ this.closeExpandRow = (rowKey) => {
290
+ this.rowExpandable && this.handleToggleExpandRow(rowKey, false);
291
+ };
292
+ /**
293
+ * Close all expanded row
294
+ */
295
+ this.closeAllExpandRow = () => {
296
+ this.rowExpandable && this.handleCloseAllExpandRow();
297
+ };
298
+ /**
299
+ * Whether the row is expandable
300
+ *
301
+ * @param {string} rowKey - The row key of the row
302
+ * @returns {boolean} Return true if the row is expandable
303
+ */
304
+ this.isExpanded = (rowKey) => {
305
+ return this.expandedRowKeySet.has(rowKey);
306
+ };
307
+ /**
308
+ * Close all expand row
309
+ */
310
+ this.handleCloseAllExpandRow = () => {
311
+ this.expandedRowKeySet.toArray().forEach((rowKey) => {
312
+ changeManager.ChangeManager.notify(staticSubjectTitle.TABLE_EXPAND_ROW, {
313
+ host: this.host,
314
+ rowKey: rowKey,
315
+ expanded: false,
316
+ });
317
+ });
318
+ this.expandedRowKeySet.clear();
319
+ };
320
+ /**
321
+ * Toggle expand row
322
+ *
323
+ * @param {string} rowKey - The row key of the row
324
+ * @param {boolean} open - set open true if you want to open the expand row, otherwise false
325
+ */
326
+ this.handleToggleExpandRow = (rowKey, open) => {
327
+ if (open) {
328
+ this.expandedRowKeySet.add(rowKey);
329
+ }
330
+ else {
331
+ this.expandedRowKeySet.delete(rowKey);
332
+ }
333
+ changeManager.ChangeManager.notify(staticSubjectTitle.TABLE_EXPAND_ROW, {
334
+ host: this.host,
335
+ rowKey: rowKey,
336
+ expanded: open,
337
+ });
338
+ };
339
+ /*
340
+ * The below method is e2e-test covered in
341
+ *
342
+ * @see{module:vega-table-new-slot-content-change}
343
+ * @see{module:vega-table-wrong-slot-content-change}
344
+ */
345
+ /* istanbul ignore next */
346
+ /**
347
+ * Init the mutation observer of expand row slot
348
+ */
349
+ this.initMutationObserver = () => {
350
+ this.mutationObserver = new MutationObserver(async (mutations) => {
351
+ const needForceUpdate = this.expandRowSlotGuard(mutations);
352
+ if (needForceUpdate) {
353
+ index.forceUpdate(this.host);
354
+ }
355
+ });
356
+ this.mutationObserver.observe(this.host, { childList: true, subtree: true });
357
+ };
358
+ /*
359
+ * The below method is e2e-test covered in
360
+ * @see{module:vega-table-new-slot-content-change}
361
+ * @see{module:vega-table-wrong-slot-content-change}
362
+ */
363
+ /* istanbul ignore next */
364
+ /**
365
+ * Monitoring the slot children used for expanded row
366
+ *
367
+ * @param {MutationRecord[]} mutations - The mutations of the observer
368
+ * @returns {boolean} return true if it needs force update
369
+ */
370
+ this.expandRowSlotGuard = (mutations) => {
371
+ const expectSlotNames = this.vegaTableDataSourceController
372
+ .getCurrentData()
373
+ .map((item) => `${VegaTableExpandRowController.expandRowSlotNamePrefix}${this.vegaTableDataSourceController.getRecordKey(item)}`);
374
+ const expandRowSlotList = [];
375
+ for (let i = 0; i < mutations.length; i++) {
376
+ const slotNodes = Array.from(mutations[i].addedNodes).filter((item) => item instanceof HTMLElement && item.getAttribute('slot'));
377
+ slotNodes.forEach((item) => {
378
+ item.removeAttribute('hidden'); // node doesn't have a slot home to go to, so will be hidden https://github.com/ionic-team/stencil/blob/main/src/runtime/vdom/vdom-render.ts#L964
379
+ const slotName = item.getAttribute('slot');
380
+ if (expectSlotNames.includes(slotName)) {
381
+ expandRowSlotList.push(item);
382
+ }
383
+ else {
384
+ globalSlimmerRegistry.LogUtility.warn(`The vega-table expand row slot name '${slotName}' is not as expected, it must be like: vega-table-expand-row-[rowKey]`);
385
+ }
386
+ });
387
+ }
388
+ return expandRowSlotList.length > 0;
389
+ };
390
+ }
391
+ /**
392
+ * Component lifecycle - connectedCallback
393
+ */
394
+ connectedCallback() {
395
+ this.initRowExpandObserver();
396
+ }
397
+ /**
398
+ * Component lifecycle - disconnectedCallback
399
+ */
400
+ disconnectedCallback() {
401
+ if (this.mutationObserver) {
402
+ this.mutationObserver.disconnect();
403
+ }
404
+ changeManager.ChangeManager.unregister(staticSubjectTitle.TABLE_EXPAND_ROW, this.expandObserver);
405
+ remoteInvocationRegistry.remoteInvocationRegistry.unRegister(domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubject(this.host, vegaInternalEventId.VegaInternalTableRowExpand));
406
+ }
407
+ /**
408
+ * Component lifecycle - componentDidLoad
409
+ */
410
+ componentDidLoad() {
411
+ this.initMutationObserver();
412
+ }
413
+ /**
414
+ * The callback to handle [watchRowExpandable]{@link VegaTable.watchRowExpandable}
415
+ */
416
+ watchRowExpandable() {
417
+ this.handleCloseAllExpandRow();
418
+ }
419
+ /**
420
+ * Initializes row expand observer
421
+ */
422
+ initRowExpandObserver() {
423
+ this.expandObserver = new observer.Observer(this.isAcceptableTableRowObserver.bind({ host: this.host }), (payload) => {
424
+ if (payload.expanded) {
425
+ this.expandedRowKeySet.add(payload.rowKey);
426
+ }
427
+ else {
428
+ this.expandedRowKeySet.delete(payload.rowKey);
429
+ }
430
+ });
431
+ changeManager.ChangeManager.register(staticSubjectTitle.TABLE_EXPAND_ROW, this.expandObserver);
432
+ remoteInvocationRegistry.remoteInvocationRegistry.register(domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubject(this.host, vegaInternalEventId.VegaInternalTableRowExpand), ({ rowKey, expanded }) => {
433
+ return this.rowExpandEventEmitter.emit({
434
+ record: this.vegaTableDataSourceController.getRecordByKey(rowKey),
435
+ expanded: expanded,
436
+ });
437
+ });
438
+ }
439
+ /**
440
+ * The function checks if the input is an acceptable row observer.
441
+ *
442
+ * @param {unknown} input - The input parameter is of type unknown, which means it can be any type.
443
+ * @returns {boolean} a boolean value indicating whether the input is acceptable observer.
444
+ */
445
+ isAcceptableTableRowObserver(input) {
446
+ return (input['host']['tagName'] === 'VEGA-TABLE-ROW' &&
447
+ this.host === ui.findParent(input['host'], 'vega-table'));
448
+ }
449
+ }
450
+ VegaTableExpandRowController.expandRowSlotNamePrefix = 'vega-table-expand-row-';
451
+ __decorate$D([
452
+ globalSlimmerRegistry.MapToComponentField()
453
+ ], VegaTableExpandRowController.prototype, "host", void 0);
454
+ __decorate$D([
455
+ globalSlimmerRegistry.MapToComponentField()
456
+ ], VegaTableExpandRowController.prototype, "expandedRowKeySet", void 0);
457
+ __decorate$D([
458
+ globalSlimmerRegistry.MapToComponentField()
459
+ ], VegaTableExpandRowController.prototype, "rowExpandable", void 0);
460
+ __decorate$D([
461
+ globalSlimmerRegistry.MapToComponentField()
462
+ ], VegaTableExpandRowController.prototype, "rowExpandEventEmitter", void 0);
463
+ __decorate$D([
464
+ globalSlimmerRegistry.MapToComponentField()
465
+ ], VegaTableExpandRowController.prototype, "vegaTableDataSourceController", void 0);
466
+ __decorate$D([
467
+ globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
468
+ ], VegaTableExpandRowController.prototype, "connectedCallback", null);
469
+ __decorate$D([
470
+ globalSlimmerRegistry.MapToComponentMethod('disconnectedCallback')
471
+ ], VegaTableExpandRowController.prototype, "disconnectedCallback", null);
472
+ __decorate$D([
473
+ globalSlimmerRegistry.MapToComponentMethod('componentDidLoad')
474
+ ], VegaTableExpandRowController.prototype, "componentDidLoad", null);
475
+ __decorate$D([
476
+ globalSlimmerRegistry.MapToComponentMethod('toggleExpandRow')
477
+ ], VegaTableExpandRowController.prototype, "toggleExpandRow", void 0);
478
+ __decorate$D([
479
+ globalSlimmerRegistry.MapToComponentMethod('openExpandRow')
480
+ ], VegaTableExpandRowController.prototype, "openExpandRow", void 0);
481
+ __decorate$D([
482
+ globalSlimmerRegistry.MapToComponentMethod('closeExpandRow')
483
+ ], VegaTableExpandRowController.prototype, "closeExpandRow", void 0);
484
+ __decorate$D([
485
+ globalSlimmerRegistry.MapToComponentMethod('closeAllExpandRow')
486
+ ], VegaTableExpandRowController.prototype, "closeAllExpandRow", void 0);
487
+ __decorate$D([
488
+ globalSlimmerRegistry.MapToComponentMethod('watchRowExpandable')
489
+ ], VegaTableExpandRowController.prototype, "watchRowExpandable", null);
490
+
491
+ var __decorate$C = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
492
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
493
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
494
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
495
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
496
+ };
497
+ /**
498
+ *
499
+ */
500
+ class VegaTableRowSelectionController$1 extends globalSlimmerRegistry.VegaSlimmer {
501
+ constructor() {
502
+ super(...arguments);
503
+ /**
504
+ * The method for handling row selection change
505
+ *
506
+ * @param {boolean} checked - true: the row is selected, otherwise not selected
507
+ * @param {VegaTableDataSourceItem} record - The record of the changed row
508
+ */
509
+ this.handleRowSelect = (checked, record) => {
510
+ const rowKey = this.vegaTableDataSourceController.getRecordKey(record);
511
+ let isChanged = false;
512
+ if (checked) {
513
+ if (!this.selectedRowKeySet.has(rowKey)) {
514
+ this.selectedRowKeySet.add(rowKey);
515
+ isChanged = true;
516
+ }
517
+ }
518
+ else {
519
+ if (this.selectedRowKeySet.has(rowKey)) {
520
+ this.selectedRowKeySet.delete(rowKey);
521
+ isChanged = true;
522
+ }
523
+ }
524
+ if (isChanged) {
525
+ this.selectChangeEventEmitter.emit({
526
+ selected: checked,
527
+ record: record,
528
+ selectedRows: this.getSelectedRecords(),
529
+ });
530
+ }
531
+ };
532
+ /**
533
+ * Get the row selection type
534
+ *
535
+ * @returns {'multiple' | 'single'} Return the type of the row selection
536
+ */
537
+ this.getRowSelectionType = () => {
538
+ if (!this.rowSelection)
539
+ return;
540
+ return this.rowSelection.type || 'multiple';
541
+ };
542
+ /**
543
+ * The method for handing the single row selection
544
+ *
545
+ * @param {VegaTableDataSourceItem} record - The record of the single selected row
546
+ */
547
+ this.handleSingleRowSelect = (record) => {
548
+ const rowKey = this.vegaTableDataSourceController.getRecordKey(record);
549
+ if (this.isChecked(rowKey)) {
550
+ this.handleRowSelect(false, record);
551
+ }
552
+ else {
553
+ this.selectedRowKeySet.clear();
554
+ this.handleRowSelect(true, record);
555
+ }
556
+ };
557
+ /**
558
+ * Verify the row is checked or not for row selection
559
+ *
560
+ * @param {string} key - The row key of the row
561
+ * @returns {boolean} Return true if the row is selected, otherwise false
562
+ */
563
+ this.isChecked = (key) => {
564
+ return this.selectedRowKeySet.has(key);
565
+ };
566
+ /**
567
+ * The method to handling select all rows
568
+ *
569
+ * @param {boolean} checkedAll - true: all rows are selected; false: not selected all rows
570
+ */
571
+ this.handleSelectAll = (checkedAll) => {
572
+ if (checkedAll) {
573
+ const recordKeys = this.vegaTableDataSourceController.getAllRecordKeys();
574
+ this.selectedRowKeySet.add(...recordKeys.filter((key) => !this.selectedRowKeySet.has(key)));
575
+ }
576
+ else {
577
+ if (this.isCheckedAll()) {
578
+ this.selectedRowKeySet.clear();
579
+ }
580
+ }
581
+ };
582
+ /**
583
+ * Verify if all rows are selected
584
+ *
585
+ * @returns {boolean} return true if all rows are selected, otherwise false
586
+ */
587
+ this.isCheckedAll = () => {
588
+ return (this.selectedRowKeySet.size > 0 &&
589
+ this.vegaTableDataSourceController
590
+ .getCurrentData()
591
+ .every((record) => this.selectedRowKeySet.has(this.vegaTableDataSourceController.getRecordKey(record))));
592
+ };
593
+ /**
594
+ * Set up the row selection config
595
+ *
596
+ * @param {VegaTableRowSelectionConfig} config - The config of the row selection
597
+ */
598
+ this.setupRowSelection = (config) => {
599
+ this.rowSelection = Object.assign({ hideSelectAll: false, type: 'multiple' }, config);
600
+ };
601
+ /**
602
+ * Get the selected rows records array
603
+ *
604
+ * @returns {VegaTableDataSourceItem[]} The array of the all selected row's records
605
+ */
606
+ this.getSelectedRecords = () => {
607
+ return this.selectedRowKeySet
608
+ .toArray()
609
+ .map(this.vegaTableDataSourceController.getRecordByKey)
610
+ .filter(Boolean);
611
+ };
612
+ /**
613
+ * Sync up the selected row's key when current data changed
614
+ *
615
+ * @param {VegaTableDataSourceItem[]} currentData - The current data of the source
616
+ */
617
+ this.syncUpSelectedKeySetWithCurrentData = (currentData) => {
618
+ this.selectedRowKeySet.withMutation((set) => {
619
+ set.clear();
620
+ currentData.forEach((item) => {
621
+ const rowKey = this.vegaTableDataSourceController.getRecordKey(item);
622
+ if (this.selectedRowKeySet.has(rowKey)) {
623
+ set.add(rowKey);
624
+ }
625
+ });
626
+ });
627
+ };
628
+ }
629
+ /**
630
+ * Component lifecycle - connectedCallback
631
+ */
632
+ connectedCallback() {
633
+ this.initRowSelection();
634
+ this.initRowClickObserver();
635
+ this.initRowSelectionAllObserver();
636
+ }
637
+ /**
638
+ *
639
+ */
640
+ disconnectedCallback() {
641
+ changeManager.ChangeManager.unregister(staticSubjectTitle.TABLE_ROW_SELECTION, this.rowSelectionObserver);
642
+ changeManager.ChangeManager.unregister(staticSubjectTitle.TABLE_ROW_SELECTION_ALL, this.rowSelectionAllObserver);
643
+ changeManager.ChangeManager.unregister(staticSubjectTitle.TABLE_ROW_CLICK, this.rowClickObserver);
644
+ remoteInvocationRegistry.remoteInvocationRegistry.unRegister(domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubject(this.host, vegaInternalEventId.VegaInternalTableRowSelect));
645
+ remoteInvocationRegistry.remoteInvocationRegistry.unRegister(domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubject(this.host, vegaInternalEventId.VegaInternalTableRowSelectAll));
646
+ }
647
+ /**
648
+ * Component lifecycle - componentWillLoad
649
+ */
650
+ componentWillLoad() {
651
+ if (this.rowSelection) {
652
+ this.setupRowSelection(this.rowSelection);
653
+ }
654
+ }
655
+ /**
656
+ * The callback to handle [watchRowSelection]{@link VegaTable.watchRowSelection}
657
+ *
658
+ * @param {VegaTableRowSelectionConfig} newValue - The changed value of rowSelection
659
+ * @param {VegaTableRowSelectionConfig} oldValue - The value of rowSelection before changing
660
+ */
661
+ watchRowSelection(newValue, oldValue) {
662
+ if ((oldValue === null || oldValue === void 0 ? void 0 : oldValue.type) !== (newValue === null || newValue === void 0 ? void 0 : newValue.type)) {
663
+ void this.clearSelection();
664
+ }
665
+ }
666
+ /**
667
+ * The callback to handle [setSelection]{@link VegaTable.setSelection}
668
+ *
669
+ * @param {string[]} keys - The keys array of which you want to select
670
+ */
671
+ setSelection(keys) {
672
+ if (this.getRowSelectionType() === 'single') {
673
+ keys.splice(1);
674
+ }
675
+ this.selectedRowKeySet.toArray().forEach((key) => {
676
+ changeManager.ChangeManager.notify(staticSubjectTitle.TABLE_ROW_SELECTION, {
677
+ host: this.host,
678
+ rowKey: key,
679
+ checked: false,
680
+ });
681
+ });
682
+ this.selectedRowKeySet.clear();
683
+ keys.forEach((key) => {
684
+ if (this.vegaTableDataSourceController.getRecordByKey(key)) {
685
+ this.selectedRowKeySet.add(key);
686
+ changeManager.ChangeManager.notify(staticSubjectTitle.TABLE_ROW_SELECTION, {
687
+ host: this.host,
688
+ rowKey: key,
689
+ checked: true,
690
+ });
691
+ }
692
+ });
693
+ }
694
+ /**
695
+ * The callback to handle [watchCurrentData]{@link VegaTable.watchCurrentData}
696
+ *
697
+ * @param {VegaTableDataSourceItem} currentData - The changed value of currentData
698
+ */
699
+ watchCurrentData(currentData) {
700
+ this.syncUpSelectedKeySetWithCurrentData(currentData);
701
+ }
702
+ /**
703
+ * The callback to handle [clearSelection]{@link VegaTable.clearSelection}
704
+ */
705
+ clearSelection() {
706
+ this.selectedRowKeySet.clear();
707
+ changeManager.ChangeManager.notify(staticSubjectTitle.TABLE_ROW_SELECTION_ALL, {
708
+ host: this.host,
709
+ checked: false,
710
+ noneChecked: this.selectedRowKeySet.size === 0,
711
+ });
712
+ }
713
+ /**
714
+ * The callback to handle [getSelection]{@link VegaTable.getSelection}
715
+ *
716
+ * @returns {string[]} The selected row keys array
717
+ */
718
+ getSelection() {
719
+ return this.selectedRowKeySet.toArray();
720
+ }
721
+ /**
722
+ *
723
+ */
724
+ watchSelectedRowKeySet() {
725
+ this.isSelectedAll = this.isCheckedAll();
726
+ }
727
+ /**
728
+ *
729
+ */
730
+ watchSelectedAll() {
731
+ changeManager.ChangeManager.notify(staticSubjectTitle.TABLE_ROW_SELECTION_ALL, {
732
+ host: this.host,
733
+ checked: this.isCheckedAll(),
734
+ noneChecked: this.selectedRowKeySet.size === 0,
735
+ });
736
+ this.selectAllChangeEventEmitter.emit({
737
+ selected: this.isCheckedAll(),
738
+ selectedRows: this.getSelectedRecords(),
739
+ });
740
+ }
741
+ /**
742
+ * The function checks if the input is an acceptable table row observer by verifying its host tag name and ensuring it is a child of a vega-table element.
743
+ *
744
+ * @param {unknown} input - The `input` parameter is of type `unknown`, which means it can be any type.
745
+ * @returns {boolean} boolean value indicating whether the input is of type T and satisfies certain conditions.
746
+ */
747
+ isAcceptableRowSelectionObserver(input) {
748
+ if (input['host']['tagName'] === 'VEGA-TABLE') {
749
+ return this.host === input['host'];
750
+ }
751
+ if (input['host']['tagName'] === 'VEGA-TABLE-ROW') {
752
+ return this.host === ui.findParent(input['host'], 'vega-table');
753
+ }
754
+ }
755
+ /**
756
+ * The function checks if the input is an acceptable observer for a table head row in a Vega table.
757
+ *
758
+ * @param {unknown} input - The `input` parameter is of type `unknown`, which means it can be any type.
759
+ * @returns {boolean} boolean value.
760
+ */
761
+ isAcceptableRowSelectionAllObserver(input) {
762
+ if (input['host']['tagName'] === 'VEGA-TABLE') {
763
+ return this.host === input['host'];
764
+ }
765
+ if (input['host']['tagName'] === 'VEGA-TABLE-HEAD-ROW') {
766
+ return this.host === ui.findParent(input['host'], 'vega-table');
767
+ }
768
+ }
769
+ /**
770
+ * The function initializes a row selection.
771
+ */
772
+ initRowSelection() {
773
+ this.rowSelectionObserver = new observer.Observer(this.isAcceptableRowSelectionObserver.bind(this), (payload) => {
774
+ const { rowKey, checked } = payload;
775
+ const record = this.vegaTableDataSourceController.getRecordByKey(rowKey);
776
+ this.handleRowSelect(checked, record);
777
+ });
778
+ changeManager.ChangeManager.register(staticSubjectTitle.TABLE_ROW_SELECTION, this.rowSelectionObserver);
779
+ remoteInvocationRegistry.remoteInvocationRegistry.register(domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubject(this.host, vegaInternalEventId.VegaInternalTableRowSelect), ({ rowKey, checked }) => {
780
+ return this.rowSelectEventEmitter.emit({
781
+ selected: checked,
782
+ record: this.vegaTableDataSourceController.getRecordByKey(rowKey),
783
+ selectedRows: this.getSelectedRecords(),
784
+ });
785
+ });
786
+ remoteInvocationRegistry.remoteInvocationRegistry.register(domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubject(this.host, vegaInternalEventId.VegaInternalTableRowSelectAll), ({ checked }) => {
787
+ return this.rowSelectAllEventEmitter.emit({
788
+ selected: checked,
789
+ selectedRows: this.getSelectedRecords(),
790
+ changedRows: checked
791
+ ? this.vegaTableDataSourceController
792
+ .getCurrentData()
793
+ .filter((record) => !this.selectedRowKeySet.has(record.key))
794
+ : this.getSelectedRecords(),
795
+ });
796
+ });
797
+ }
798
+ /**
799
+ * The function initializes an observer for row selection all in a table
800
+ */
801
+ initRowSelectionAllObserver() {
802
+ this.rowSelectionAllObserver = new observer.Observer(this.isAcceptableRowSelectionAllObserver.bind(this), (payload) => {
803
+ this.handleSelectAll(payload.checked);
804
+ });
805
+ changeManager.ChangeManager.register(staticSubjectTitle.TABLE_ROW_SELECTION_ALL, this.rowSelectionAllObserver);
806
+ }
807
+ /**
808
+ * The function initializes a row click observer that handles row selection in a table.
809
+ */
810
+ initRowClickObserver() {
811
+ this.rowClickObserver = new observer.Observer(this.isAcceptableRowClickObserver.bind(this), (payload) => {
812
+ if (this.getRowSelectionType() === 'single') {
813
+ const record = this.vegaTableDataSourceController.getRecordByKey(payload.rowKey);
814
+ this.handleSingleRowSelect(record);
815
+ }
816
+ });
817
+ changeManager.ChangeManager.register(staticSubjectTitle.TABLE_ROW_CLICK, this.rowClickObserver);
818
+ }
819
+ /**
820
+ * The function checks if the input is an acceptable row click observer.
821
+ *
822
+ * @param {unknown} input - The input parameter is of type unknown, which means it can be any type.
823
+ * @returns {boolean} a boolean value indicating whether the input is acceptable observer.
824
+ */
825
+ isAcceptableRowClickObserver(input) {
826
+ return (input['host']['tagName'] === 'VEGA-TABLE-ROW' &&
827
+ this.host === ui.findParent(input['host'], 'vega-table'));
828
+ }
829
+ }
830
+ __decorate$C([
831
+ globalSlimmerRegistry.MapToComponentField()
832
+ ], VegaTableRowSelectionController$1.prototype, "host", void 0);
833
+ __decorate$C([
834
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
835
+ ], VegaTableRowSelectionController$1.prototype, "isSelectedAll", void 0);
836
+ __decorate$C([
837
+ globalSlimmerRegistry.MapToComponentField()
838
+ ], VegaTableRowSelectionController$1.prototype, "selectedRowKeySet", void 0);
839
+ __decorate$C([
840
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
841
+ ], VegaTableRowSelectionController$1.prototype, "rowSelection", void 0);
842
+ __decorate$C([
843
+ globalSlimmerRegistry.MapToComponentField()
844
+ ], VegaTableRowSelectionController$1.prototype, "rowKey", void 0);
845
+ __decorate$C([
846
+ globalSlimmerRegistry.MapToComponentField()
847
+ ], VegaTableRowSelectionController$1.prototype, "selectChangeEventEmitter", void 0);
848
+ __decorate$C([
849
+ globalSlimmerRegistry.MapToComponentField()
850
+ ], VegaTableRowSelectionController$1.prototype, "selectAllChangeEventEmitter", void 0);
851
+ __decorate$C([
852
+ globalSlimmerRegistry.MapToComponentField()
853
+ ], VegaTableRowSelectionController$1.prototype, "vegaTableDataSourceController", void 0);
854
+ __decorate$C([
855
+ globalSlimmerRegistry.MapToComponentField()
856
+ ], VegaTableRowSelectionController$1.prototype, "rowSelectEventEmitter", void 0);
857
+ __decorate$C([
858
+ globalSlimmerRegistry.MapToComponentField()
859
+ ], VegaTableRowSelectionController$1.prototype, "rowSelectAllEventEmitter", void 0);
860
+ __decorate$C([
861
+ globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
862
+ ], VegaTableRowSelectionController$1.prototype, "connectedCallback", null);
863
+ __decorate$C([
864
+ globalSlimmerRegistry.MapToComponentMethod('disconnectedCallback')
865
+ ], VegaTableRowSelectionController$1.prototype, "disconnectedCallback", null);
866
+ __decorate$C([
867
+ globalSlimmerRegistry.MapToComponentMethod('componentWillLoad')
868
+ ], VegaTableRowSelectionController$1.prototype, "componentWillLoad", null);
869
+ __decorate$C([
870
+ globalSlimmerRegistry.MapToComponentMethod('watchRowSelection')
871
+ ], VegaTableRowSelectionController$1.prototype, "watchRowSelection", null);
872
+ __decorate$C([
873
+ globalSlimmerRegistry.MapToComponentMethod('setSelection')
874
+ ], VegaTableRowSelectionController$1.prototype, "setSelection", null);
875
+ __decorate$C([
876
+ globalSlimmerRegistry.MapToComponentMethod('watchCurrentData')
877
+ ], VegaTableRowSelectionController$1.prototype, "watchCurrentData", null);
878
+ __decorate$C([
879
+ globalSlimmerRegistry.MapToComponentMethod('clearSelection')
880
+ ], VegaTableRowSelectionController$1.prototype, "clearSelection", null);
881
+ __decorate$C([
882
+ globalSlimmerRegistry.MapToComponentMethod('getSelection')
883
+ ], VegaTableRowSelectionController$1.prototype, "getSelection", null);
884
+ __decorate$C([
885
+ globalSlimmerRegistry.MapToComponentMethod('watchSelectedRowKeySet')
886
+ ], VegaTableRowSelectionController$1.prototype, "watchSelectedRowKeySet", null);
887
+ __decorate$C([
888
+ globalSlimmerRegistry.MapToComponentMethod('watchSelectedAll')
889
+ ], VegaTableRowSelectionController$1.prototype, "watchSelectedAll", null);
890
+
891
+ var __decorate$B = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
892
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
893
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
894
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
895
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
896
+ };
897
+ /**
898
+ * The dataSource controller for the vega-table
899
+ */
900
+ class VegaTableDataSourceController extends globalSlimmerRegistry.VegaSlimmer {
901
+ constructor() {
902
+ super(...arguments);
903
+ /**
904
+ * Get the key of the record
905
+ *
906
+ * @param {VegaTableDataSourceItem} record - The record of the dataSource
907
+ * @returns {string} The key of the record
908
+ */
909
+ this.getRecordKey = (record) => {
910
+ if (record[this.rowKey] !== undefined && record[this.rowKey] !== null) {
911
+ return String(record[this.rowKey]);
912
+ }
913
+ else {
914
+ return '';
915
+ }
916
+ };
917
+ /**
918
+ * Get the record from [currentData]{@link currentData} by key
919
+ *
920
+ * @param {string} key - The key of the record
921
+ * @returns {VegaTableDataSourceItem} The record of the [currentData]{@link currentData}
922
+ */
923
+ this.getRecordByKey = (key) => {
924
+ return this.currentData.find((record) => this.getRecordKey(record) === key);
925
+ };
926
+ /**
927
+ * Update the [currentData]{@link currentData} by new data source
928
+ *
929
+ * @param {VegaTableDataSourceItem[]} data - New data source
930
+ */
931
+ this.setCurrentData = (data) => {
932
+ if (this.tableDataValidation(data)) {
933
+ this.currentData = data;
934
+ }
935
+ else {
936
+ this.currentData = [];
937
+ }
938
+ };
939
+ }
940
+ /**
941
+ * Component lifecycle - componentWillLoad
942
+ */
943
+ componentWillLoad() {
944
+ this.vegaTableSortController.syncSortOrder();
945
+ this.syncCurrentData();
946
+ }
947
+ /**
948
+ * The callback of [watchSortersMap]{@link VegaTable.watchSortersMap}
949
+ */
950
+ watchSortersMap() {
951
+ this.syncCurrentData();
952
+ }
953
+ /**
954
+ * The callback of watchDataSource
955
+ */
956
+ watchDataSource() {
957
+ this.syncCurrentData();
958
+ }
959
+ /**
960
+ * Get currentData item keys
961
+ *
962
+ * @returns {string[]} The key array of currentData
963
+ */
964
+ getAllRecordKeys() {
965
+ return this.currentData.map(this.getRecordKey);
966
+ }
967
+ /**
968
+ * The getter of dataSource
969
+ *
970
+ * @returns {VegaTableDataSourceItem[]} The value of dataSource
971
+ */
972
+ getDataSource() {
973
+ return this.dataSource;
974
+ }
975
+ /**
976
+ * The setter of [dataSource]{@link dataSource}
977
+ *
978
+ * @param {VegaTableDataSourceItem[]} data - The new data source
979
+ */
980
+ setDataSource(data) {
981
+ this.dataSource = data;
982
+ }
983
+ /**
984
+ * The getter of [currentData]{@link currentData}
985
+ *
986
+ * @returns {VegaTableDataSourceItem[]} the value of currentData
987
+ */
988
+ getCurrentData() {
989
+ return this.currentData;
990
+ }
991
+ /**
992
+ * Check whether the currentData is empty
993
+ *
994
+ * @returns {boolean} return true if the currentData is empty
995
+ */
996
+ isCurrentDataEmpty() {
997
+ return this.currentData.length === 0;
998
+ }
999
+ /**
1000
+ * Verify whether the data is valid
1001
+ *
1002
+ * @param {VegaTableDataSourceItem[]} data - The data source
1003
+ * @returns {boolean} Return true if the data is valid, otherwise false
1004
+ */
1005
+ tableDataValidation(data) {
1006
+ if (data.some((item) => !this.getRecordKey(item))) {
1007
+ globalSlimmerRegistry.LogUtility.error('Each item in dataSource should have a unique "key" prop.', ' Otherwise, you should specify the primary key of dataSource item via rowKey.', ' For more details, please refer to: https://heartlandpayments.github.io/Vega/?path=/docs/components-table-v2--basic-table#rowkey');
1008
+ return false;
1009
+ }
1010
+ return true;
1011
+ }
1012
+ /**
1013
+ * Update the currentData with sorted data if there is sorted status.
1014
+ * Otherwise, update with the dataSource directly
1015
+ */
1016
+ syncCurrentData() {
1017
+ if (this.isTemplateRenderMode) {
1018
+ return;
1019
+ }
1020
+ const sortedColumns = this.sortersMap.size > 0
1021
+ ? this.columns.filter((column) => column.sorter && column.sorter !== 'event' && this.sortersMap.has(column.prop))
1022
+ : [];
1023
+ if (sortedColumns.length > 0) {
1024
+ this.setCurrentData(this.vegaTableSortController.sortData(this.dataSource, Array.from(this.sortersMap.values())));
1025
+ }
1026
+ else {
1027
+ this.setCurrentData(this.dataSource);
1028
+ }
1029
+ }
1030
+ }
1031
+ __decorate$B([
1032
+ globalSlimmerRegistry.MapToComponentField()
1033
+ ], VegaTableDataSourceController.prototype, "rowKey", void 0);
1034
+ __decorate$B([
1035
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
1036
+ ], VegaTableDataSourceController.prototype, "currentData", void 0);
1037
+ __decorate$B([
1038
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
1039
+ ], VegaTableDataSourceController.prototype, "dataSource", void 0);
1040
+ __decorate$B([
1041
+ globalSlimmerRegistry.MapToComponentField()
1042
+ ], VegaTableDataSourceController.prototype, "columns", void 0);
1043
+ __decorate$B([
1044
+ globalSlimmerRegistry.MapToComponentField()
1045
+ ], VegaTableDataSourceController.prototype, "sortersMap", void 0);
1046
+ __decorate$B([
1047
+ globalSlimmerRegistry.MapToComponentField()
1048
+ ], VegaTableDataSourceController.prototype, "vegaTableSortController", void 0);
1049
+ __decorate$B([
1050
+ globalSlimmerRegistry.MapToComponentField()
1051
+ ], VegaTableDataSourceController.prototype, "vegaTableRenderer", void 0);
1052
+ __decorate$B([
1053
+ globalSlimmerRegistry.MapToComponentField()
1054
+ ], VegaTableDataSourceController.prototype, "isTemplateRenderMode", void 0);
1055
+ __decorate$B([
1056
+ globalSlimmerRegistry.MapToComponentMethod('componentWillLoad')
1057
+ ], VegaTableDataSourceController.prototype, "componentWillLoad", null);
1058
+ __decorate$B([
1059
+ globalSlimmerRegistry.MapToComponentMethod('watchSortersMap')
1060
+ ], VegaTableDataSourceController.prototype, "watchSortersMap", null);
1061
+ __decorate$B([
1062
+ globalSlimmerRegistry.MapToComponentMethod('watchDataSource')
1063
+ ], VegaTableDataSourceController.prototype, "watchDataSource", null);
1064
+
1065
+ var __decorate$A = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1066
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1067
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1068
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1069
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1070
+ };
1071
+ class VegaTableBodyRenderer extends globalSlimmerRegistry.VegaSlimmer {
1072
+ constructor() {
1073
+ super(...arguments);
1074
+ this.renderTableBody = (editable) => {
1075
+ return (index.h("vega-table-body", null, this.vegaTableDataSourceController
1076
+ .getCurrentData()
1077
+ .map((record, index$1) => {
1078
+ const rowKey = this.vegaTableDataSourceController.getRecordKey(record);
1079
+ const isVisibleInCurrentPage = this.vegaTablePaginationController.isRowVisible(index$1);
1080
+ return (index.h(index.Fragment, null,
1081
+ this.vegaTableRowRenderer.render({
1082
+ rowKey,
1083
+ index: index$1,
1084
+ record,
1085
+ isVisibleInCurrentPage,
1086
+ }, editable),
1087
+ this.rowExpandable && (index.h("vega-table-expand-row", { class: {
1088
+ 'v-hidden': !isVisibleInCurrentPage,
1089
+ }, key: `vega-table-expanded-row-${rowKey}`, rowKey: rowKey, "data-striped": this.striped && index$1 % 2 === 1 ? 'striped' : undefined },
1090
+ index.h("slot", { name: `${VegaTableExpandRowController.expandRowSlotNamePrefix}${rowKey}` })))));
1091
+ })));
1092
+ };
1093
+ }
1094
+ getTableFormRef() {
1095
+ return this.tableFormRef;
1096
+ }
1097
+ render() {
1098
+ const editable = this.columns.some((item) => item.editable);
1099
+ return editable ? (index.h("vega-form", { ref: (ref) => (this.tableFormRef = ref) }, this.renderTableBody(editable))) : (this.renderTableBody(false));
1100
+ }
1101
+ }
1102
+ __decorate$A([
1103
+ globalSlimmerRegistry.MapToComponentField()
1104
+ ], VegaTableBodyRenderer.prototype, "striped", void 0);
1105
+ __decorate$A([
1106
+ globalSlimmerRegistry.MapToComponentField()
1107
+ ], VegaTableBodyRenderer.prototype, "columns", void 0);
1108
+ __decorate$A([
1109
+ globalSlimmerRegistry.MapToComponentField()
1110
+ ], VegaTableBodyRenderer.prototype, "currentBreakpoint", void 0);
1111
+ __decorate$A([
1112
+ globalSlimmerRegistry.MapToComponentField()
1113
+ ], VegaTableBodyRenderer.prototype, "rowExpandable", void 0);
1114
+ __decorate$A([
1115
+ globalSlimmerRegistry.MapToComponentField()
1116
+ ], VegaTableBodyRenderer.prototype, "rowClickable", void 0);
1117
+ __decorate$A([
1118
+ globalSlimmerRegistry.MapToComponentField()
1119
+ ], VegaTableBodyRenderer.prototype, "vegaTableDataSourceController", void 0);
1120
+ __decorate$A([
1121
+ globalSlimmerRegistry.MapToComponentField()
1122
+ ], VegaTableBodyRenderer.prototype, "vegaTablePaginationController", void 0);
1123
+ __decorate$A([
1124
+ globalSlimmerRegistry.MapToComponentField()
1125
+ ], VegaTableBodyRenderer.prototype, "vegaTableRowSelectionController", void 0);
1126
+ __decorate$A([
1127
+ globalSlimmerRegistry.MapToComponentField()
1128
+ ], VegaTableBodyRenderer.prototype, "vegaTableRowRenderer", void 0);
1129
+
1130
+ var __decorate$z = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1131
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1132
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1133
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1134
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1135
+ };
1136
+ class VegaTableHeaderRenderer extends globalSlimmerRegistry.VegaSlimmer {
1137
+ constructor() {
1138
+ super(...arguments);
1139
+ this.renderHeaderColumnCells = () => {
1140
+ return this.columns.map((column) => {
1141
+ var _a;
1142
+ return (index.h("vega-table-head-cell", { key: column.key || column.prop, textAlign: column.align, sorter: column.sorter, sortOrder: (_a = this.sortersMap.get(column.prop)) === null || _a === void 0 ? void 0 : _a.getSortOrder(), breakpoint: column.breakpoint,
1143
+ /* eslint-disable-next-line react/jsx-no-bind */
1144
+ ref: (ref) => {
1145
+ domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, vegaEventId.VegaClick, (input) => {
1146
+ const sortOrder = input.detail.sortOrder;
1147
+ this.vegaTableSortController.handleHeadSortClick(column, sortOrder);
1148
+ });
1149
+ } }, column.label));
1150
+ });
1151
+ };
1152
+ }
1153
+ render() {
1154
+ var _a;
1155
+ return (this.showHeader && (index.h("vega-table-head", null,
1156
+ index.h("vega-table-head-row", { hideSelectAll: (_a = this.rowSelection) === null || _a === void 0 ? void 0 : _a.hideSelectAll }, this.renderHeaderColumnCells()))));
1157
+ }
1158
+ }
1159
+ __decorate$z([
1160
+ globalSlimmerRegistry.MapToComponentField()
1161
+ ], VegaTableHeaderRenderer.prototype, "showHeader", void 0);
1162
+ __decorate$z([
1163
+ globalSlimmerRegistry.MapToComponentField()
1164
+ ], VegaTableHeaderRenderer.prototype, "sortersMap", void 0);
1165
+ __decorate$z([
1166
+ globalSlimmerRegistry.MapToComponentField()
1167
+ ], VegaTableHeaderRenderer.prototype, "columns", void 0);
1168
+ __decorate$z([
1169
+ globalSlimmerRegistry.MapToComponentField()
1170
+ ], VegaTableHeaderRenderer.prototype, "rowSelection", void 0);
1171
+ __decorate$z([
1172
+ globalSlimmerRegistry.MapToComponentField()
1173
+ ], VegaTableHeaderRenderer.prototype, "vegaTableSortController", void 0);
1174
+ __decorate$z([
1175
+ globalSlimmerRegistry.MapToComponentField()
1176
+ ], VegaTableHeaderRenderer.prototype, "vegaTableDataSourceController", void 0);
1177
+
1178
+ var __decorate$y = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1179
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1180
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1181
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1182
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1183
+ };
1184
+ var __rest = (undefined && undefined.__rest) || function (s, e) {
1185
+ var t = {};
1186
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1187
+ t[p] = s[p];
1188
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
1189
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
1190
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
1191
+ t[p[i]] = s[p[i]];
1192
+ }
1193
+ return t;
1194
+ };
1195
+ class VegaTablePaginationRenderer extends globalSlimmerRegistry.VegaSlimmer {
1196
+ constructor() {
1197
+ super(...arguments);
1198
+ this.paginationRefCallback = (ref) => {
1199
+ domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, vegaEventId.VegaChange, this.handlePaginationChange);
1200
+ domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, vegaEventId.VegaPageSizeChange, this.handlePaginationPageSizeChange);
1201
+ };
1202
+ /**
1203
+ * handle the pagination page change after observer the notify
1204
+ *
1205
+ * @param {NotifyObserverPayload<number>} input payload message, detail is the current page index
1206
+ */
1207
+ this.handlePaginationChange = (input) => {
1208
+ var _a, _b;
1209
+ this.vegaTablePaginationController.setCurrentPage(input.detail);
1210
+ const event = new CustomEvent('vegaChange', { detail: input.detail });
1211
+ (_b = (_a = this.pagination).vegaChange) === null || _b === void 0 ? void 0 : _b.call(_a, event);
1212
+ };
1213
+ /**
1214
+ * handle the pagination page size change after observer the notify
1215
+ *
1216
+ * @param {NotifyObserverPayload<number>} input payload message, detail is the current page size
1217
+ */
1218
+ this.handlePaginationPageSizeChange = (input) => {
1219
+ var _a, _b;
1220
+ this.vegaTablePaginationController.setPageSize(input.detail);
1221
+ const event = new CustomEvent('vegaPageSizeChange', {
1222
+ detail: input.detail,
1223
+ });
1224
+ (_b = (_a = this.pagination).vegaPageSizeChange) === null || _b === void 0 ? void 0 : _b.call(_a, event);
1225
+ };
1226
+ this.getPaginationConfig = () => {
1227
+ var _a;
1228
+ const _b = this.pagination, { position } = _b, otherProps = __rest(_b, ["position"]);
1229
+ return Object.assign(Object.assign({}, otherProps), { position: ((_a = this.pagination.extensions) === null || _a === void 0 ? void 0 : _a.length) > 1 ? undefined : position || 'bottom-center', pageSize: this.pageSize });
1230
+ };
1231
+ }
1232
+ render() {
1233
+ if (!this.pagination)
1234
+ return;
1235
+ const { pageSize, position, extensions, pageSizeSelectorOptions } = this.getPaginationConfig();
1236
+ const paginationWrapperClasses = ['vega-table-pagination-container', position];
1237
+ const total = this.vegaTableDataSourceController.getCurrentData().length;
1238
+ return (total > 0 && (index.h("div", { class: ui.arrayToClassString(paginationWrapperClasses) },
1239
+ index.h("vega-pagination", { total: total, pageSize: pageSize, current: this.currentPage, extensions: extensions, pageSizeSelectorOptions: pageSizeSelectorOptions,
1240
+ /* eslint-disable-next-line react/jsx-no-bind */
1241
+ ref: this.paginationRefCallback }))));
1242
+ }
1243
+ }
1244
+ __decorate$y([
1245
+ globalSlimmerRegistry.MapToComponentField()
1246
+ ], VegaTablePaginationRenderer.prototype, "pagination", void 0);
1247
+ __decorate$y([
1248
+ globalSlimmerRegistry.MapToComponentField()
1249
+ ], VegaTablePaginationRenderer.prototype, "pageSize", void 0);
1250
+ __decorate$y([
1251
+ globalSlimmerRegistry.MapToComponentField()
1252
+ ], VegaTablePaginationRenderer.prototype, "currentPage", void 0);
1253
+ __decorate$y([
1254
+ globalSlimmerRegistry.MapToComponentField()
1255
+ ], VegaTablePaginationRenderer.prototype, "vegaTablePaginationController", void 0);
1256
+ __decorate$y([
1257
+ globalSlimmerRegistry.MapToComponentField()
1258
+ ], VegaTablePaginationRenderer.prototype, "vegaTableDataSourceController", void 0);
1259
+
1260
+ const VegaTableScrollableContainer = ({ scrollConfig = {}, ref }, children) => {
1261
+ const { maxHeight } = scrollConfig;
1262
+ const isVerticalScrollable = typeGuard.isNonNullable(maxHeight);
1263
+ const handleVerticalScroll = (e) => {
1264
+ if (!isVerticalScrollable)
1265
+ return;
1266
+ const target = e.target;
1267
+ if (target.scrollTop === 0) {
1268
+ target.classList.remove('scrolled');
1269
+ return;
1270
+ }
1271
+ if (target.scrollTop > 0 && !target.classList.contains('scrolled')) {
1272
+ target.classList.add('scrolled');
1273
+ }
1274
+ };
1275
+ return (index.h("div", { class: "vega-table-scrollable-container", style: {
1276
+ maxHeight: typeof maxHeight === 'number' ? `${maxHeight}px` : maxHeight,
1277
+ }, ref: ref,
1278
+ /* eslint-disable-next-line react/jsx-no-bind */
1279
+ onScroll: handleVerticalScroll }, children));
1280
+ };
1281
+
1282
+ var __decorate$x = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1283
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1284
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1285
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1286
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1287
+ };
1288
+ class VegaTableScrollContainerRenderer extends globalSlimmerRegistry.VegaSlimmer {
1289
+ constructor() {
1290
+ super(...arguments);
1291
+ this.scrollContainerToTop = () => {
1292
+ if (this.tableScrollContainerRef) {
1293
+ this.tableScrollContainerRef.scrollTop = 0;
1294
+ }
1295
+ };
1296
+ }
1297
+ watchCurrentPage() {
1298
+ this.scrollContainerToTop();
1299
+ }
1300
+ render(children) {
1301
+ return (index.h(VegaTableScrollableContainer, { scrollConfig: this.scrollConfig, ref: (ref) => this.setTableScrollContainerRef(ref) }, children));
1302
+ }
1303
+ setTableScrollContainerRef(ref) {
1304
+ this.tableScrollContainerRef = ref;
1305
+ }
1306
+ }
1307
+ __decorate$x([
1308
+ globalSlimmerRegistry.MapToComponentField()
1309
+ ], VegaTableScrollContainerRenderer.prototype, "scrollConfig", void 0);
1310
+ __decorate$x([
1311
+ globalSlimmerRegistry.MapToComponentMethod('watchCurrentPage')
1312
+ ], VegaTableScrollContainerRenderer.prototype, "watchCurrentPage", null);
1313
+
1314
+ var __decorate$w = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1315
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1316
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1317
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1318
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1319
+ };
1320
+ class VegaTableRenderer extends globalSlimmerRegistry.VegaSlimmer {
1321
+ constructor() {
1322
+ super(...arguments);
1323
+ this.renderInternalTable = () => {
1324
+ const tableLayoutFixed = this.columns.some((column) => column.overflow) ||
1325
+ Array.from(this.host.querySelectorAll('vega-table-cell')).some((cell) => cell.overflow);
1326
+ return (index.h("table", { class: {
1327
+ 'v-table-fixed': tableLayoutFixed,
1328
+ } },
1329
+ this.columns.length > 0 && [
1330
+ this.vegaTableColGroupRenderer.render(),
1331
+ this.vegaTableHeaderRenderer.render(),
1332
+ ],
1333
+ this.dataSource.length > 0 && this.vegaTableBodyRenderer.render(),
1334
+ this.isTemplateRenderMode && index.h("slot", null)));
1335
+ };
1336
+ this.renderEmpty = () => {
1337
+ return (this.vegaTableDataSourceController.isCurrentDataEmpty() &&
1338
+ this.emptyDescription && (index.h("div", { class: "vega-table-empty-description" }, this.translationSlimmer.t(this.emptyDescription))));
1339
+ };
1340
+ }
1341
+ render() {
1342
+ const hostClasses = ui.arrayToClassString([
1343
+ this.rowDivider && 'row-divider',
1344
+ this.columnDivider && 'column-divider',
1345
+ `density-${responsiveFormatFacade.ResponsiveFormatFacade.formatCustom(this.density)}`,
1346
+ this.striped && 'striped',
1347
+ ]);
1348
+ return component.sanitizeVegaComponent(index.h(index.Host, { class: hostClasses },
1349
+ this.vegaTableScrollContainerRenderer.render(this.renderInternalTable()),
1350
+ this.vegaTablePaginationRenderer.render(),
1351
+ this.renderEmpty()), this.host);
1352
+ }
1353
+ }
1354
+ __decorate$w([
1355
+ globalSlimmerRegistry.MapToComponentField()
1356
+ ], VegaTableRenderer.prototype, "host", void 0);
1357
+ __decorate$w([
1358
+ globalSlimmerRegistry.MapToComponentField()
1359
+ ], VegaTableRenderer.prototype, "columns", void 0);
1360
+ __decorate$w([
1361
+ globalSlimmerRegistry.MapToComponentField()
1362
+ ], VegaTableRenderer.prototype, "emptyDescription", void 0);
1363
+ __decorate$w([
1364
+ globalSlimmerRegistry.MapToComponentField()
1365
+ ], VegaTableRenderer.prototype, "rowDivider", void 0);
1366
+ __decorate$w([
1367
+ globalSlimmerRegistry.MapToComponentField()
1368
+ ], VegaTableRenderer.prototype, "columnDivider", void 0);
1369
+ __decorate$w([
1370
+ globalSlimmerRegistry.MapToComponentField()
1371
+ ], VegaTableRenderer.prototype, "density", void 0);
1372
+ __decorate$w([
1373
+ globalSlimmerRegistry.MapToComponentField()
1374
+ ], VegaTableRenderer.prototype, "dataSource", void 0);
1375
+ __decorate$w([
1376
+ globalSlimmerRegistry.MapToComponentField()
1377
+ ], VegaTableRenderer.prototype, "striped", void 0);
1378
+ __decorate$w([
1379
+ globalSlimmerRegistry.MapToComponentField()
1380
+ ], VegaTableRenderer.prototype, "vegaTableHeaderRenderer", void 0);
1381
+ __decorate$w([
1382
+ globalSlimmerRegistry.MapToComponentField()
1383
+ ], VegaTableRenderer.prototype, "vegaTableBodyRenderer", void 0);
1384
+ __decorate$w([
1385
+ globalSlimmerRegistry.MapToComponentField()
1386
+ ], VegaTableRenderer.prototype, "vegaTableColGroupRenderer", void 0);
1387
+ __decorate$w([
1388
+ globalSlimmerRegistry.MapToComponentField()
1389
+ ], VegaTableRenderer.prototype, "vegaTableScrollContainerRenderer", void 0);
1390
+ __decorate$w([
1391
+ globalSlimmerRegistry.MapToComponentField()
1392
+ ], VegaTableRenderer.prototype, "vegaTablePaginationRenderer", void 0);
1393
+ __decorate$w([
1394
+ globalSlimmerRegistry.MapToComponentField()
1395
+ ], VegaTableRenderer.prototype, "vegaTableDataSourceController", void 0);
1396
+ __decorate$w([
1397
+ globalSlimmerRegistry.MapToComponentField()
1398
+ ], VegaTableRenderer.prototype, "translationSlimmer", void 0);
1399
+ __decorate$w([
1400
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
1401
+ ], VegaTableRenderer.prototype, "vegaTableChildrenController", void 0);
1402
+ __decorate$w([
1403
+ globalSlimmerRegistry.MapToComponentField()
1404
+ ], VegaTableRenderer.prototype, "isTemplateRenderMode", void 0);
1405
+
1406
+ var __decorate$v = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1407
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1408
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1409
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1410
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1411
+ };
1412
+ /**
1413
+ * The table pagination of VegaTable
1414
+ */
1415
+ class VegaTablePaginationController extends globalSlimmerRegistry.VegaSlimmer {
1416
+ /**
1417
+ * Component lifecycle - componentWillLoad
1418
+ */
1419
+ componentWillLoad() {
1420
+ var _a, _b;
1421
+ this.currentPage = ((_a = this.pagination) === null || _a === void 0 ? void 0 : _a.current) || 1;
1422
+ this.pageSize = ((_b = this.pagination) === null || _b === void 0 ? void 0 : _b.pageSize) || 10;
1423
+ }
1424
+ /**
1425
+ *
1426
+ */
1427
+ watchPagination() {
1428
+ if (this.pagination) {
1429
+ const { pageSize, current } = this.pagination;
1430
+ if (pageSize > 0) {
1431
+ this.pageSize = pageSize;
1432
+ }
1433
+ if (current > 0) {
1434
+ this.currentPage = current;
1435
+ }
1436
+ }
1437
+ }
1438
+ /**
1439
+ * Set pageSize value
1440
+ *
1441
+ * @param {number} pageSize - New value for pageSize
1442
+ */
1443
+ setPageSize(pageSize) {
1444
+ this.pageSize = pageSize;
1445
+ }
1446
+ /**
1447
+ * Set currentPage value
1448
+ *
1449
+ * @param {number} currentPage - New value for currentPage
1450
+ */
1451
+ setCurrentPage(currentPage) {
1452
+ this.currentPage = currentPage;
1453
+ }
1454
+ /**
1455
+ * Whether the row is visible in current page
1456
+ *
1457
+ * @param {number} index - The record index of the currentData
1458
+ * @returns {boolean} Return true if the row is visible
1459
+ */
1460
+ isRowVisible(index) {
1461
+ if (!this.pagination)
1462
+ return true;
1463
+ const pageSize = this.pageSize;
1464
+ const current = this.currentPage;
1465
+ const start = (current - 1) * pageSize;
1466
+ const end = current * pageSize;
1467
+ return index >= start && index < end;
1468
+ }
1469
+ }
1470
+ __decorate$v([
1471
+ globalSlimmerRegistry.MapToComponentField()
1472
+ ], VegaTablePaginationController.prototype, "pagination", void 0);
1473
+ __decorate$v([
1474
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
1475
+ ], VegaTablePaginationController.prototype, "pageSize", void 0);
1476
+ __decorate$v([
1477
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
1478
+ ], VegaTablePaginationController.prototype, "currentPage", void 0);
1479
+ __decorate$v([
1480
+ globalSlimmerRegistry.MapToComponentMethod('componentWillLoad')
1481
+ ], VegaTablePaginationController.prototype, "componentWillLoad", null);
1482
+ __decorate$v([
1483
+ globalSlimmerRegistry.MapToComponentMethod('watchPagination')
1484
+ ], VegaTablePaginationController.prototype, "watchPagination", null);
1485
+
1486
+ var __decorate$u = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1487
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1488
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1489
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1490
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1491
+ };
1492
+ /**
1493
+ * Edit table controller
1494
+ */
1495
+ class VegaTableEditableController extends globalSlimmerRegistry.VegaSlimmer {
1496
+ constructor() {
1497
+ super(...arguments);
1498
+ this.rowFormRefMap = new Map();
1499
+ }
1500
+ /**
1501
+ * Get the map of the row form refs
1502
+ *
1503
+ * @returns {Map} The map of row form refs
1504
+ */
1505
+ getRowFormRefMap() {
1506
+ return this.rowFormRefMap;
1507
+ }
1508
+ /**
1509
+ * The callback to handle [saveAllEditRows]{@link VegaTable.saveAllEditRows}
1510
+ */
1511
+ async saveAllEditRows() {
1512
+ if (!this.canMethodBeInvokedInCurrentState('saveAllEditRows')) {
1513
+ return;
1514
+ }
1515
+ const currentData = this.vegaTableDataSourceController
1516
+ .getCurrentData()
1517
+ .slice();
1518
+ for (const rowKey of this.editingRows.toArray()) {
1519
+ const rowData = await this.getRowData(rowKey);
1520
+ const index = currentData.findIndex((item) => this.vegaTableDataSourceController.getRecordKey(item) === rowKey);
1521
+ if (index > -1) {
1522
+ currentData.splice(index, 1, rowData);
1523
+ }
1524
+ }
1525
+ this.vegaTableDataSourceController.setDataSource([...currentData]);
1526
+ void this.stopAllRowEditMode();
1527
+ }
1528
+ /**
1529
+ * The callback to handle [stopAllRowEditMode]{@link VegaTable.stopAllRowEditMode}
1530
+ */
1531
+ stopAllRowEditMode() {
1532
+ if (!this.canMethodBeInvokedInCurrentState('stopAllRowEditMode')) {
1533
+ return;
1534
+ }
1535
+ this.editingRows.clear();
1536
+ }
1537
+ /**
1538
+ * Stop the removed editing row when the data source changed
1539
+ *
1540
+ * @param {VegaTableDataSourceItem[]} newValue - The new data source
1541
+ */
1542
+ watchDataSource(newValue) {
1543
+ if (this.isEditableTable()) {
1544
+ this.getEditingRowsKey().forEach((rowKey) => {
1545
+ if (!newValue.find((item) => item.key === rowKey)) {
1546
+ this.stopRowEditMode(rowKey);
1547
+ }
1548
+ });
1549
+ }
1550
+ }
1551
+ /**
1552
+ * The callback to handle [saveEditRow]{@link VegaTable.saveEditRow}
1553
+ *
1554
+ * @param {string} rowKey - The key of the row's record
1555
+ */
1556
+ async saveEditRow(rowKey) {
1557
+ if (!this.canMethodBeInvokedInCurrentState('saveEditRow')) {
1558
+ return;
1559
+ }
1560
+ const rowData = await this.getRowData(rowKey);
1561
+ const currentData = this.vegaTableDataSourceController
1562
+ .getCurrentData()
1563
+ .slice();
1564
+ const index = currentData.findIndex((item) => this.vegaTableDataSourceController.getRecordKey(item) === rowKey);
1565
+ if (index > -1) {
1566
+ currentData.splice(index, 1, rowData);
1567
+ this.vegaTableDataSourceController.setDataSource([...currentData]);
1568
+ }
1569
+ void this.stopRowEditMode(rowKey);
1570
+ }
1571
+ /**
1572
+ * The callback to handle [stopRowEditMode]{@link VegaTable.stopRowEditMode}
1573
+ *
1574
+ * @param {string} rowKey - The key of the row's record
1575
+ */
1576
+ stopRowEditMode(rowKey) {
1577
+ if (!this.canMethodBeInvokedInCurrentState('stopRowEditMode')) {
1578
+ return;
1579
+ }
1580
+ this.editingRows.delete(rowKey);
1581
+ }
1582
+ /**
1583
+ * The callback to handle [removeRow]{@link VegaTable.removeRow}
1584
+ *
1585
+ * @param {string} rowKey - The key of the row's record
1586
+ */
1587
+ removeRow(rowKey) {
1588
+ if (!this.canMethodBeInvokedInCurrentState('removeRow')) {
1589
+ return;
1590
+ }
1591
+ this.vegaTableDataSourceController.setDataSource(this.vegaTableDataSourceController
1592
+ .getCurrentData()
1593
+ .filter((item) => this.vegaTableDataSourceController.getRecordKey(item) !== rowKey));
1594
+ }
1595
+ /**
1596
+ * The callback to handle [startRowEditMode]{@link VegaTable.startRowEditMode}
1597
+ *
1598
+ * @param {string} rowKey - The key of the row's record
1599
+ */
1600
+ startRowEditMode(rowKey) {
1601
+ if (!this.canMethodBeInvokedInCurrentState('startRowEditMode')) {
1602
+ return;
1603
+ }
1604
+ this.editingRows.add(rowKey);
1605
+ }
1606
+ /**
1607
+ * The callback to handle [addNewRow]{@link VegaTable.addNewRow}
1608
+ *
1609
+ * @param {VegaTableDataSourceItem} record - The record for adding
1610
+ * @returns {string} The rowKey of the new added row record
1611
+ */
1612
+ addNewRow(record = {}) {
1613
+ var _a;
1614
+ if (!this.canMethodBeInvokedInCurrentState('addNewRow')) {
1615
+ return;
1616
+ }
1617
+ const rowKey = ((_a = record[this.rowKey]) === null || _a === void 0 ? void 0 : _a.toString()) || createPublicApiRuntimeMetricsSlimmer.generateUUID();
1618
+ const newRowItem = Object.assign({}, record);
1619
+ newRowItem[this.rowKey] = rowKey;
1620
+ this.vegaTableDataSourceController.setCurrentData([
1621
+ ...this.vegaTableDataSourceController.getCurrentData(),
1622
+ newRowItem,
1623
+ ]);
1624
+ this.editingRows.add(rowKey);
1625
+ return rowKey;
1626
+ }
1627
+ /**
1628
+ * The callback to handle [getRowsData]{@link VegaTable.getRowsData}
1629
+ */
1630
+ async getRowsData() {
1631
+ if (!this.canMethodBeInvokedInCurrentState('getRowsData')) {
1632
+ return;
1633
+ }
1634
+ const formValues = await this.vegaTableBodyRenderer
1635
+ .getTableFormRef()
1636
+ .getValue();
1637
+ return [
1638
+ ...this.vegaTableDataSourceController.getCurrentData().map((record) => {
1639
+ const value = formValues[`${VegaTableEditableController.rowFormKeyPrefix}${this.vegaTableDataSourceController.getRecordKey(record)}`];
1640
+ return Object.assign(Object.assign({}, record), value);
1641
+ }),
1642
+ ];
1643
+ }
1644
+ /**
1645
+ * The callback to handle [getEditingRowsKey]{@link VegaTable.getEditingRowsKey}
1646
+ *
1647
+ * @returns {string[]} The key of the rows which is editing
1648
+ */
1649
+ getEditingRowsKey() {
1650
+ if (!this.canMethodBeInvokedInCurrentState('getEditingRowsKey')) {
1651
+ return;
1652
+ }
1653
+ return this.editingRows.toArray();
1654
+ }
1655
+ /**
1656
+ * The callback to handle [getFormRef]{@link VegaTable.getFormRef}
1657
+ *
1658
+ * @param {string} rowKey - The key of the row's record
1659
+ * @returns {HTMLElement} The form ref of the row
1660
+ */
1661
+ getFormRef(rowKey) {
1662
+ if (!this.canMethodBeInvokedInCurrentState('getFormRef')) {
1663
+ return;
1664
+ }
1665
+ return rowKey ? this.rowFormRefMap.get(rowKey) : this.vegaTableBodyRenderer.getTableFormRef();
1666
+ }
1667
+ /**
1668
+ * The callback to handle [getRowData]{@link VegaTable.getRowData}
1669
+ *
1670
+ * @param {string} rowKey - The key of the row's record
1671
+ * @returns {Promise<VegaTableDataSourceItem>} The promise of the row data
1672
+ */
1673
+ async getRowData(rowKey) {
1674
+ if (!this.canMethodBeInvokedInCurrentState('getRowData')) {
1675
+ return;
1676
+ }
1677
+ const formValue = await this.rowFormRefMap.get(rowKey).getValue();
1678
+ return Object.assign(Object.assign({}, this.vegaTableDataSourceController.getRecordByKey(rowKey)), formValue);
1679
+ }
1680
+ /**
1681
+ * Whether the row is in editing status
1682
+ *
1683
+ * @param {string} rowKey - The key of the row's record
1684
+ * @returns {boolean} return true if the row is in editing status, otherwise false
1685
+ */
1686
+ isEditing(rowKey) {
1687
+ return this.editingRows.has(rowKey);
1688
+ }
1689
+ /**
1690
+ * The function `isEditableTable` checks if any column in a table is editable.
1691
+ *
1692
+ * @returns {boolean} The `isEditableTable` method is returning a boolean value. It checks if any of the columns
1693
+ * in the `columns` array have the `editable` property set to true. If at least one column is editable,
1694
+ * the method returns `true`, otherwise it returns `false`.
1695
+ */
1696
+ isEditableTable() {
1697
+ return this.columns.some((item) => item.editable);
1698
+ }
1699
+ /**
1700
+ * The function `canMethodBeInvokedInCurrentState` checks if the table is editable and logs a warning message if not.
1701
+ *
1702
+ * @param {string} methodName - The `methodName` parameter is a string that represents the name of the
1703
+ * method being processed in the `canMethodBeInvokedInCurrentState` function.
1704
+ * @returns {boolean} The method `canMethodBeInvokedInCurrentState` is returning a boolean value. If the table is not editable,
1705
+ * it will log a warning message and return `false`. Otherwise, it will return `true`.
1706
+ */
1707
+ canMethodBeInvokedInCurrentState(methodName) {
1708
+ if (!this.isEditableTable()) {
1709
+ globalSlimmerRegistry.LogUtility.warn(`Method ${methodName} only works with editable tables`);
1710
+ return false;
1711
+ }
1712
+ return true;
1713
+ }
1714
+ }
1715
+ VegaTableEditableController.rowFormKeyPrefix = 'vega-table-row-form-';
1716
+ __decorate$u([
1717
+ globalSlimmerRegistry.MapToComponentField()
1718
+ ], VegaTableEditableController.prototype, "editingRows", void 0);
1719
+ __decorate$u([
1720
+ globalSlimmerRegistry.MapToComponentField()
1721
+ ], VegaTableEditableController.prototype, "rowKey", void 0);
1722
+ __decorate$u([
1723
+ globalSlimmerRegistry.MapToComponentField()
1724
+ ], VegaTableEditableController.prototype, "columns", void 0);
1725
+ __decorate$u([
1726
+ globalSlimmerRegistry.MapToComponentField()
1727
+ ], VegaTableEditableController.prototype, "vegaTableDataSourceController", void 0);
1728
+ __decorate$u([
1729
+ globalSlimmerRegistry.MapToComponentField()
1730
+ ], VegaTableEditableController.prototype, "vegaTableBodyRenderer", void 0);
1731
+ __decorate$u([
1732
+ globalSlimmerRegistry.MapToComponentMethod('saveAllEditRows')
1733
+ ], VegaTableEditableController.prototype, "saveAllEditRows", null);
1734
+ __decorate$u([
1735
+ globalSlimmerRegistry.MapToComponentMethod('stopAllRowEditMode')
1736
+ ], VegaTableEditableController.prototype, "stopAllRowEditMode", null);
1737
+ __decorate$u([
1738
+ globalSlimmerRegistry.MapToComponentMethod('watchDataSource')
1739
+ ], VegaTableEditableController.prototype, "watchDataSource", null);
1740
+ __decorate$u([
1741
+ globalSlimmerRegistry.MapToComponentMethod('saveEditRow')
1742
+ ], VegaTableEditableController.prototype, "saveEditRow", null);
1743
+ __decorate$u([
1744
+ globalSlimmerRegistry.MapToComponentMethod('stopRowEditMode')
1745
+ ], VegaTableEditableController.prototype, "stopRowEditMode", null);
1746
+ __decorate$u([
1747
+ globalSlimmerRegistry.MapToComponentMethod('removeRow')
1748
+ ], VegaTableEditableController.prototype, "removeRow", null);
1749
+ __decorate$u([
1750
+ globalSlimmerRegistry.MapToComponentMethod('startRowEditMode')
1751
+ ], VegaTableEditableController.prototype, "startRowEditMode", null);
1752
+ __decorate$u([
1753
+ globalSlimmerRegistry.MapToComponentMethod('addNewRow')
1754
+ ], VegaTableEditableController.prototype, "addNewRow", null);
1755
+ __decorate$u([
1756
+ globalSlimmerRegistry.MapToComponentMethod('getRowsData')
1757
+ ], VegaTableEditableController.prototype, "getRowsData", null);
1758
+ __decorate$u([
1759
+ globalSlimmerRegistry.MapToComponentMethod('getEditingRowsKey')
1760
+ ], VegaTableEditableController.prototype, "getEditingRowsKey", null);
1761
+ __decorate$u([
1762
+ globalSlimmerRegistry.MapToComponentMethod('getFormRef')
1763
+ ], VegaTableEditableController.prototype, "getFormRef", null);
1764
+ __decorate$u([
1765
+ globalSlimmerRegistry.MapToComponentMethod('getRowData')
1766
+ ], VegaTableEditableController.prototype, "getRowData", null);
1767
+
1768
+ /**
1769
+ * Vega Table Sorter
1770
+ * This is a helper class for sorting table data based on defined columns to be sorted
1771
+ * Supports multi-column sorting
1772
+ */
1773
+ class VegaTableSorter {
1774
+ constructor(prop, order, sorter) {
1775
+ this.prop = prop;
1776
+ this.order = order;
1777
+ this.sorter = sorter;
1778
+ }
1779
+ /**
1780
+ * Sort utility
1781
+ *
1782
+ * @param {VegaTableDataSourceItem} a column value
1783
+ * @param {VegaTableDataSourceItem} b column value
1784
+ * @returns {Nullable<number>} compare result
1785
+ */
1786
+ sort(a, b) {
1787
+ const compareResult = this.sorter(a, b);
1788
+ if (compareResult !== 0) {
1789
+ return this.order === 'asc' ? compareResult : -compareResult;
1790
+ }
1791
+ }
1792
+ /**
1793
+ * Get params from sorter object for external use
1794
+ *
1795
+ * @returns {{VegaTableSorterType}} sorter prop and order
1796
+ */
1797
+ toExternalFormat() {
1798
+ return { prop: this.prop, order: this.order };
1799
+ }
1800
+ /**
1801
+ * Get sorter order value
1802
+ *
1803
+ * @returns {{VegaTableSortOrderType}} sorter order
1804
+ */
1805
+ getSortOrder() {
1806
+ return this.order;
1807
+ }
1808
+ }
1809
+
1810
+ var __decorate$t = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1811
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1812
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1813
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1814
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1815
+ };
1816
+ /**
1817
+ * The sort controller for the vega-table
1818
+ */
1819
+ class VegaTableSortController extends globalSlimmerRegistry.VegaSlimmer {
1820
+ /**
1821
+ * The callback of [watchColumns]{@link VegaTable.watchColumns}
1822
+ */
1823
+ watchColumns() {
1824
+ this.syncSortOrder();
1825
+ }
1826
+ /**
1827
+ * The method for header cell sort click
1828
+ *
1829
+ * @param {VegaTableColumnConfig} column - The column for sorting
1830
+ * @param {VegaTableSortOrderType} nextSortOrder - The next sorter order
1831
+ */
1832
+ handleHeadSortClick(column, nextSortOrder) {
1833
+ if (this.sortConfig.type === 'single') {
1834
+ this.sortersMap.clear();
1835
+ }
1836
+ if (!nextSortOrder) {
1837
+ if (this.sortersMap.has(column.prop)) {
1838
+ this.sortersMap.delete(column.prop);
1839
+ }
1840
+ }
1841
+ else {
1842
+ this.sortersMap.set(column.prop, new VegaTableSorter(column.prop, nextSortOrder, column.sorter));
1843
+ }
1844
+ if (column.sorter !== 'event') {
1845
+ this.vegaTableDataSourceController.setCurrentData(this.sortData(this.vegaTableDataSourceController.getDataSource(), Array.from(this.sortersMap.values())));
1846
+ }
1847
+ this.changeEventEmitter.emit({
1848
+ sorters: Array.from(this.sortersMap.values()).map((s) => s.toExternalFormat()),
1849
+ });
1850
+ }
1851
+ /**
1852
+ * Sync the default sort order from the columns
1853
+ */
1854
+ syncSortOrder() {
1855
+ this.columns
1856
+ .filter((column) => typeGuard.isNonNullable(column.sorter) && typeGuard.isNonNullable(column.sortOrder))
1857
+ .forEach((item) => {
1858
+ this.sortersMap.set(item.prop, new VegaTableSorter(item.prop, item.sortOrder, item.sorter));
1859
+ });
1860
+ }
1861
+ /**
1862
+ * The method to sort the data by sorter which include prop name and order
1863
+ *
1864
+ * @param {VegaTableDataSourceItem[]} data - The source that will be sorted
1865
+ * @param {VegaTableSorter[]} sorters - array of sorters ordered by sequence of columns to be sorted
1866
+ * @returns {VegaTableDataSourceItem[]} The sorted data source
1867
+ */
1868
+ sortData(data, sorters) {
1869
+ return [...data].sort((a, b) => {
1870
+ for (const sorter of sorters) {
1871
+ const result = sorter.sort(a, b);
1872
+ if (typeGuard.isNonNullable(result)) {
1873
+ return result;
1874
+ }
1875
+ }
1876
+ return 0;
1877
+ });
1878
+ }
1879
+ }
1880
+ __decorate$t([
1881
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
1882
+ ], VegaTableSortController.prototype, "sortersMap", void 0);
1883
+ __decorate$t([
1884
+ globalSlimmerRegistry.MapToComponentField()
1885
+ ], VegaTableSortController.prototype, "columns", void 0);
1886
+ __decorate$t([
1887
+ globalSlimmerRegistry.MapToComponentField()
1888
+ ], VegaTableSortController.prototype, "changeEventEmitter", void 0);
1889
+ __decorate$t([
1890
+ globalSlimmerRegistry.MapToComponentField()
1891
+ ], VegaTableSortController.prototype, "vegaTableDataSourceController", void 0);
1892
+ __decorate$t([
1893
+ globalSlimmerRegistry.MapToComponentField()
1894
+ ], VegaTableSortController.prototype, "sortConfig", void 0);
1895
+ __decorate$t([
1896
+ globalSlimmerRegistry.MapToComponentMethod('watchColumns')
1897
+ ], VegaTableSortController.prototype, "watchColumns", null);
1898
+
1899
+ var __decorate$s = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1900
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1901
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1902
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1903
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1904
+ };
1905
+ class VegaTableColGroupRenderer extends globalSlimmerRegistry.VegaSlimmer {
1906
+ constructor() {
1907
+ super(...arguments);
1908
+ this.getColResponsiveClass = (column) => {
1909
+ return column.breakpoint && typeGuard.isBreakpointsTokenType(column.breakpoint)
1910
+ ? `v-hidden ${column.breakpoint}:v-table-column`
1911
+ : '';
1912
+ };
1913
+ }
1914
+ render() {
1915
+ return (index.h("colgroup", null,
1916
+ index.h("col", { style: { minWidth: this.paddingX[0], width: this.paddingX[0] } }),
1917
+ this.vegaTableRowSelectionController.getRowSelectionType() === 'multiple' && (index.h("col", { style: { minWidth: '40px', width: '40px' } })),
1918
+ this.columns.map((column) => {
1919
+ const responsiveClass = this.getColResponsiveClass(column);
1920
+ return (index.h("col", { class: responsiveClass, style: { width: column.width ? column.width : null } }));
1921
+ }),
1922
+ this.rowExpandable && index.h("col", { style: { minWidth: '40px', width: '40px' } }),
1923
+ index.h("col", { style: { minWidth: this.paddingX[1], width: this.paddingX[1] } })));
1924
+ }
1925
+ }
1926
+ __decorate$s([
1927
+ globalSlimmerRegistry.MapToComponentField()
1928
+ ], VegaTableColGroupRenderer.prototype, "paddingX", void 0);
1929
+ __decorate$s([
1930
+ globalSlimmerRegistry.MapToComponentField()
1931
+ ], VegaTableColGroupRenderer.prototype, "columns", void 0);
1932
+ __decorate$s([
1933
+ globalSlimmerRegistry.MapToComponentField()
1934
+ ], VegaTableColGroupRenderer.prototype, "rowExpandable", void 0);
1935
+ __decorate$s([
1936
+ globalSlimmerRegistry.MapToComponentField()
1937
+ ], VegaTableColGroupRenderer.prototype, "vegaTableRowSelectionController", void 0);
1938
+
1939
+ var __decorate$r = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1940
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1941
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1942
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1943
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1944
+ };
1945
+ /**
1946
+ * The controller for the table children components.
1947
+ */
1948
+ class VegaTableChildrenController extends globalSlimmerRegistry.VegaSlimmer {
1949
+ constructor() {
1950
+ super(...arguments);
1951
+ this.currentDataObserver = new mutationObserverSlimmer.MutationObserverSlimmer({
1952
+ // eslint-disable-next-line jsdoc/require-jsdoc
1953
+ target: () => this.host,
1954
+ options: { childList: true, subtree: true },
1955
+ /*
1956
+ * The below method is e2e-test covered in
1957
+ * @see{module:should-render-striped-rows-and-not-show-empty-message-when-lazy-render-table-body-with-table-rows}
1958
+ */
1959
+ mutationFilter: mutationObserverFilters.TagNameMutationFilter('VEGA-TABLE-BODY', 'VEGA-TABLE-ROW'),
1960
+ callback:
1961
+ /*
1962
+ * The below method is e2e-test covered in
1963
+ * @see{module:should-not-render-empty-message-when-async-render-table-rows}
1964
+ */
1965
+ /* istanbul ignore next */
1966
+ // eslint-disable-next-line jsdoc/require-jsdoc
1967
+ () => {
1968
+ this.syncUpTableCurrentData();
1969
+ this.syncUpTableHeadRowProps();
1970
+ },
1971
+ });
1972
+ this.rowStripedObserver = new mutationObserverSlimmer.MutationObserverSlimmer({
1973
+ // eslint-disable-next-line jsdoc/require-jsdoc
1974
+ target: () => this.host,
1975
+ options: { childList: true, subtree: true },
1976
+ /*
1977
+ * The below method is e2e-test covered in
1978
+ * @see{module:should-render-striped-rows-and-not-show-empty-message-when-lazy-render-table-body-with-table-rows}
1979
+ */
1980
+ mutationFilter: mutationObserverFilters.TagNameMutationFilter('VEGA-TABLE-BODY', 'VEGA-TABLE-ROW', 'VEGA-TABLE-EXPAND-ROW'),
1981
+ callback:
1982
+ /*
1983
+ * The below method is e2e-test covered in
1984
+ * @see{module:should-render-striped-row-when-async-render-table-rows}
1985
+ * @see{module:should-render-striped-row-and-expanded-row-when-async-render-table-rows}
1986
+ */
1987
+ /* istanbul ignore next */
1988
+ // eslint-disable-next-line jsdoc/require-jsdoc
1989
+ () => {
1990
+ this.syncRowStriped();
1991
+ },
1992
+ });
1993
+ /**
1994
+ * Syncs up the properties of vega-table-row
1995
+ */
1996
+ this.syncUpTableCurrentData = () => {
1997
+ if (!this.isTemplateRenderMode)
1998
+ return;
1999
+ const currentData = Array.from(this.host.querySelectorAll('vega-table-row')).map((row) => {
2000
+ return { key: row.rowKey };
2001
+ });
2002
+ this.vegaTableDataSourceController.setCurrentData(currentData);
2003
+ };
2004
+ /**
2005
+ * Sync up the properties of vega-table-expand-row
2006
+ */
2007
+ this.syncRowStriped = () => {
2008
+ this.host
2009
+ .querySelectorAll('vega-table-row')
2010
+ .forEach((row, index) => {
2011
+ this.updateRowStriped(row, index);
2012
+ });
2013
+ this.host
2014
+ .querySelectorAll('vega-table-expand-row')
2015
+ .forEach((row, index) => {
2016
+ this.updateRowStriped(row, index);
2017
+ });
2018
+ };
2019
+ /**
2020
+ * Syncs up the properties of vega-table-head-row
2021
+ */
2022
+ this.syncUpTableHeadRowProps = () => {
2023
+ var _a;
2024
+ if (!this.isTemplateRenderMode)
2025
+ return;
2026
+ const headRow = this.host.querySelector('vega-table-head-row');
2027
+ if (headRow) {
2028
+ headRow.hideSelectAll = headRow.hideSelectAll || ((_a = this.rowSelection) === null || _a === void 0 ? void 0 : _a.hideSelectAll);
2029
+ }
2030
+ };
2031
+ }
2032
+ /*
2033
+ * The below method is e2e-test covered in
2034
+ * @see module:should-render-striped-row-as-expected-when-component-re-attached
2035
+ */
2036
+ /**
2037
+ * Used by rowStripedObserver{@link rowStripedObserver} and currentDataObserver{@link currentDataObserver}
2038
+ */
2039
+ connectedCallback() {
2040
+ }
2041
+ /*
2042
+ * The below method is e2e-test covered in
2043
+ * @see module:should-render-striped-row-as-expected-when-component-re-attached
2044
+ */
2045
+ /**
2046
+ * Used by rowStripedObserver{@link rowStripedObserver} and currentDataObserver{@link currentDataObserver}
2047
+ */
2048
+ disconnectedCallback() {
2049
+ }
2050
+ /**
2051
+ * Component lifecycle - [componentWillLoad]{@link VegaTable.componentWillLoad}
2052
+ */
2053
+ componentWillLoad() {
2054
+ this.syncUpTableCurrentData();
2055
+ this.syncUpTableHeadRowProps();
2056
+ this.syncRowStriped();
2057
+ }
2058
+ /**
2059
+ * Used by rowStripedObserver{@link rowStripedObserver} and currentDataObserver{@link currentDataObserver}
2060
+ */
2061
+ componentDidLoad() {
2062
+ }
2063
+ /**
2064
+ * The callback to handle [clearSelection]{@link VegaTable.clearSelection}
2065
+ */
2066
+ clearSelection() {
2067
+ changeManager.ChangeManager.notify(staticSubjectTitle.TABLE_ROW_SELECTION_ALL, {
2068
+ host: this.host,
2069
+ checked: false,
2070
+ noneChecked: true,
2071
+ });
2072
+ }
2073
+ /**
2074
+ * {@link VegaTable.watchStriped}
2075
+ */
2076
+ watchStriped() {
2077
+ this.syncRowStriped();
2078
+ }
2079
+ /**
2080
+ * Update the row striped attr
2081
+ *
2082
+ * @param {HTMLElement} row - row or expand row element
2083
+ * @param {number} index - index of the row
2084
+ */
2085
+ updateRowStriped(row, index) {
2086
+ if (this.striped && index % 2 === 1) {
2087
+ row.dataset['striped'] = 'striped';
2088
+ }
2089
+ else {
2090
+ delete row.dataset['striped'];
2091
+ }
2092
+ }
2093
+ }
2094
+ __decorate$r([
2095
+ globalSlimmerRegistry.MapToComponentField()
2096
+ ], VegaTableChildrenController.prototype, "host", void 0);
2097
+ __decorate$r([
2098
+ globalSlimmerRegistry.MapToComponentField()
2099
+ ], VegaTableChildrenController.prototype, "columns", void 0);
2100
+ __decorate$r([
2101
+ globalSlimmerRegistry.MapToComponentField()
2102
+ ], VegaTableChildrenController.prototype, "dataSource", void 0);
2103
+ __decorate$r([
2104
+ globalSlimmerRegistry.MapToComponentField()
2105
+ ], VegaTableChildrenController.prototype, "currentData", void 0);
2106
+ __decorate$r([
2107
+ globalSlimmerRegistry.MapToComponentField()
2108
+ ], VegaTableChildrenController.prototype, "rowSelection", void 0);
2109
+ __decorate$r([
2110
+ globalSlimmerRegistry.MapToComponentField()
2111
+ ], VegaTableChildrenController.prototype, "striped", void 0);
2112
+ __decorate$r([
2113
+ globalSlimmerRegistry.MapToComponentField()
2114
+ ], VegaTableChildrenController.prototype, "vegaTableDataSourceController", void 0);
2115
+ __decorate$r([
2116
+ globalSlimmerRegistry.MapToComponentField()
2117
+ ], VegaTableChildrenController.prototype, "vegaTableRenderer", void 0);
2118
+ __decorate$r([
2119
+ globalSlimmerRegistry.MapToComponentField()
2120
+ ], VegaTableChildrenController.prototype, "isTemplateRenderMode", void 0);
2121
+ __decorate$r([
2122
+ globalSlimmerRegistry.InjectVegaSlimmer()
2123
+ ], VegaTableChildrenController.prototype, "currentDataObserver", void 0);
2124
+ __decorate$r([
2125
+ globalSlimmerRegistry.InjectVegaSlimmer()
2126
+ ], VegaTableChildrenController.prototype, "rowStripedObserver", void 0);
2127
+ __decorate$r([
2128
+ globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
2129
+ ], VegaTableChildrenController.prototype, "connectedCallback", null);
2130
+ __decorate$r([
2131
+ globalSlimmerRegistry.MapToComponentMethod('disconnectedCallback')
2132
+ ], VegaTableChildrenController.prototype, "disconnectedCallback", null);
2133
+ __decorate$r([
2134
+ globalSlimmerRegistry.MapToComponentMethod('componentWillLoad')
2135
+ ], VegaTableChildrenController.prototype, "componentWillLoad", null);
2136
+ __decorate$r([
2137
+ globalSlimmerRegistry.MapToComponentMethod('componentDidLoad')
2138
+ ], VegaTableChildrenController.prototype, "componentDidLoad", null);
2139
+ __decorate$r([
2140
+ globalSlimmerRegistry.MapToComponentMethod('clearSelection')
2141
+ ], VegaTableChildrenController.prototype, "clearSelection", null);
2142
+ __decorate$r([
2143
+ globalSlimmerRegistry.MapToComponentMethod('watchStriped')
2144
+ ], VegaTableChildrenController.prototype, "watchStriped", null);
2145
+
2146
+ var __decorate$q = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
2147
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
2148
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
2149
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
2150
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
2151
+ };
2152
+ class VegaTableRowRenderer$1 extends globalSlimmerRegistry.VegaSlimmer {
2153
+ constructor() {
2154
+ super(...arguments);
2155
+ this.renderTableRowComponent = (rowProps) => {
2156
+ const { rowKey, index: index$1, record, isVisibleInCurrentPage } = rowProps;
2157
+ return (index.h("vega-table-row", { class: {
2158
+ 'v-hidden': !isVisibleInCurrentPage,
2159
+ }, key: `vega-table-row-${rowKey}`, rowKey: rowKey,
2160
+ /* eslint-disable-next-line react/jsx-no-bind */
2161
+ ref: (ref) => {
2162
+ domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, vegaEventId.VegaClick, () => {
2163
+ this.rowClickEventEmitter.emit({ record: record, index: index$1 });
2164
+ });
2165
+ }, "data-striped": this.striped && index$1 % 2 === 1 ? 'striped' : undefined }, this.columns.map((column) => {
2166
+ return this.vegaTableCellRenderer.render(column, record, index$1);
2167
+ })));
2168
+ };
2169
+ }
2170
+ render(rowProps, editable) {
2171
+ const { rowKey } = rowProps;
2172
+ return editable ? (index.h("vega-form", { key: `vega-table-row-form-${rowKey}`, "data-vega-form": `${VegaTableEditableController.rowFormKeyPrefix}${rowKey}`, ref: (ref) => this.vegaTableEditableController.getRowFormRefMap().set(rowKey, ref) }, this.renderTableRowComponent(rowProps))) : (this.renderTableRowComponent(rowProps));
2173
+ }
2174
+ }
2175
+ __decorate$q([
2176
+ globalSlimmerRegistry.MapToComponentField()
2177
+ ], VegaTableRowRenderer$1.prototype, "columns", void 0);
2178
+ __decorate$q([
2179
+ globalSlimmerRegistry.MapToComponentField()
2180
+ ], VegaTableRowRenderer$1.prototype, "rowClickEventEmitter", void 0);
2181
+ __decorate$q([
2182
+ globalSlimmerRegistry.MapToComponentField()
2183
+ ], VegaTableRowRenderer$1.prototype, "vegaTableEditableController", void 0);
2184
+ __decorate$q([
2185
+ globalSlimmerRegistry.MapToComponentField()
2186
+ ], VegaTableRowRenderer$1.prototype, "vegaTableCellRenderer", void 0);
2187
+ __decorate$q([
2188
+ globalSlimmerRegistry.MapToComponentField()
2189
+ ], VegaTableRowRenderer$1.prototype, "striped", void 0);
2190
+
2191
+ var __decorate$p = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
2192
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
2193
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
2194
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
2195
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
2196
+ };
2197
+ /**
2198
+ * The render mode controller of the table
2199
+ */
2200
+ class VegaTableRenderModeController extends globalSlimmerRegistry.VegaSlimmer {
2201
+ constructor() {
2202
+ super(...arguments);
2203
+ this.currentDataObserver = new mutationObserverSlimmer.MutationObserverSlimmer({
2204
+ // eslint-disable-next-line jsdoc/require-jsdoc
2205
+ target: () => this.host,
2206
+ options: { childList: true, subtree: true },
2207
+ mutationFilter: mutationObserverFilters.TagNameMutationFilter('VEGA-TABLE-ROW'),
2208
+ callback:
2209
+ /* istanbul ignore next */
2210
+ // eslint-disable-next-line jsdoc/require-jsdoc
2211
+ () => {
2212
+ this.isTemplateRenderMode = this.checkIsTemplateRenderMode(this.host);
2213
+ },
2214
+ });
2215
+ /**
2216
+ * Check whether render mode is template render
2217
+ *
2218
+ * @param {HTMLElement} tableRef - VegaTable ref
2219
+ * @returns {boolean} return true if the mode is template, otherwise false
2220
+ */
2221
+ this.checkIsTemplateRenderMode = (tableRef) => {
2222
+ return Array.from(tableRef.children).some((el) => el.tagName.startsWith('VEGA-TABLE-'));
2223
+ };
2224
+ }
2225
+ /**
2226
+ * Used by {@link currentDataObserver}
2227
+ */
2228
+ connectedCallback() {
2229
+ }
2230
+ /**
2231
+ * Used by {@link currentDataObserver}
2232
+ */
2233
+ disconnectedCallback() {
2234
+ }
2235
+ /**
2236
+ * init the isTemplateRenderMode value
2237
+ */
2238
+ componentWillLoad() {
2239
+ this.isTemplateRenderMode = this.checkIsTemplateRenderMode(this.host);
2240
+ }
2241
+ /**
2242
+ * Used by {@link currentDataObserver}
2243
+ */
2244
+ componentDidLoad() {
2245
+ }
2246
+ }
2247
+ __decorate$p([
2248
+ globalSlimmerRegistry.MapToComponentField()
2249
+ ], VegaTableRenderModeController.prototype, "host", void 0);
2250
+ __decorate$p([
2251
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
2252
+ ], VegaTableRenderModeController.prototype, "isTemplateRenderMode", void 0);
2253
+ __decorate$p([
2254
+ globalSlimmerRegistry.InjectVegaSlimmer()
2255
+ ], VegaTableRenderModeController.prototype, "currentDataObserver", void 0);
2256
+ __decorate$p([
2257
+ globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
2258
+ ], VegaTableRenderModeController.prototype, "connectedCallback", null);
2259
+ __decorate$p([
2260
+ globalSlimmerRegistry.MapToComponentMethod('disconnectedCallback')
2261
+ ], VegaTableRenderModeController.prototype, "disconnectedCallback", null);
2262
+ __decorate$p([
2263
+ globalSlimmerRegistry.MapToComponentMethod('componentWillLoad')
2264
+ ], VegaTableRenderModeController.prototype, "componentWillLoad", null);
2265
+ __decorate$p([
2266
+ globalSlimmerRegistry.MapToComponentMethod('componentDidLoad')
2267
+ ], VegaTableRenderModeController.prototype, "componentDidLoad", null);
2268
+
2269
+ const VegaTableRuntimeMetricsPayloadDefinition = [
2270
+ {
2271
+ payloadKey: 'IS_USING_TEMPLATE',
2272
+ payloadDescription: 'Contains the data records to be rendered and displayed within the table',
2273
+ /**
2274
+ * The function checks if the length `dataSource` property of the `host` element is equal to '0'.
2275
+ * If it is, the function will return `true`.
2276
+ *
2277
+ * @param {HTMLElement} host - The element to check
2278
+ * @returns {boolean} A boolean value
2279
+ */
2280
+ payloadValue: (host) => host.dataSource.length === 0,
2281
+ },
2282
+ {
2283
+ payloadKey: 'IS_USING_DATA_SOURCE',
2284
+ payloadDescription: 'Contains the data records to be rendered and displayed within the table',
2285
+ /**
2286
+ * The function checks if the length `dataSource` property of the `host` element is not equal to '0'.
2287
+ * If it is, the function will return `true`.
2288
+ *
2289
+ * @param {HTMLElement} host - The element to check
2290
+ * @returns {boolean} A boolean value
2291
+ */
2292
+ payloadValue: (host) => host.dataSource.length > 0,
2293
+ },
2294
+ ];
2295
+
2296
+ const vegaTableCss = ":host{display:block}table{width:100%;border-spacing:0}.vega-table-empty-description{text-align:center;padding:24px;font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px;color:rgba(var(--v-text-secondary, 107, 116, 125, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-table-empty-description{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-table-empty-description{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-table-empty-description{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px}}table.v-table-fixed{table-layout:fixed}.vega-table-scrollable-container{overflow:auto}.vega-table-scrollable-container vega-table-head{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.vega-table-scrollable-container.scrolled vega-table-head.fixed-header{box-shadow:0px 4px 0px rgba(0, 0, 0, 0.1);}vega-form{display:contents}*::part(field-error-message){display:none !important}.vega-table-pagination-container{margin-top:24px}.vega-table-pagination-container.bottom-center{display:flex;justify-content:center}.vega-table-pagination-container.bottom-right{display:flex;justify-content:flex-end}.vega-table-pagination-container.bottom-left{display:flex;justify-content:flex-start}col.v-hidden{display:none}@media (min-width: 320px){col.S\\:v-table-column{display:table-column}}@media (min-width: 768px){col.M\\:v-table-column{display:table-column}}@media (min-width: 1024px){col.L\\:v-table-column{display:table-column}}@media (min-width: 1440px){col.XL\\:v-table-column{display:table-column}}";
2297
+
2298
+ var __decorate$o = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
2299
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
2300
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
2301
+ r = Reflect.decorate(decorators, target, key, desc);
2302
+ else
2303
+ for (var i = decorators.length - 1; i >= 0; i--)
2304
+ if (d = decorators[i])
2305
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
2306
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
2307
+ };
2308
+ const VegaTable = class {
2309
+ constructor(hostRef) {
2310
+ index.registerInstance(this, hostRef);
2311
+ this.vegaChange = index.createEvent(this, "vegaChange", 7);
2312
+ this.change = index.createEvent(this, "change", 7);
2313
+ this.vegaRowClick = index.createEvent(this, "vegaRowClick", 7);
2314
+ this.rowClick = index.createEvent(this, "rowClick", 7);
2315
+ this.vegaRowExpand = index.createEvent(this, "vegaRowExpand", 7);
2316
+ this.rowExpand = index.createEvent(this, "rowExpand", 7);
2317
+ this.vegaSelectChange = index.createEvent(this, "vegaSelectChange", 7);
2318
+ this.selectChange = index.createEvent(this, "selectChange", 7);
2319
+ this.vegaSelectAllChange = index.createEvent(this, "vegaSelectAllChange", 7);
2320
+ this.selectAllChange = index.createEvent(this, "selectAllChange", 7);
2321
+ this.vegaRowSelect = index.createEvent(this, "vegaRowSelect", 7);
2322
+ this.rowSelect = index.createEvent(this, "rowSelect", 7);
2323
+ this.vegaRowSelectAll = index.createEvent(this, "vegaRowSelectAll", 7);
2324
+ this.rowSelectAll = index.createEvent(this, "rowSelectAll", 7);
2325
+ this.globalSlimmers = {};
2326
+ this.translationSlimmer = new translationSlimmer.TranslationSlimmer();
2327
+ this.vegaTableRenderModeController = new VegaTableRenderModeController();
2328
+ this.vegaTableRenderer = new VegaTableRenderer();
2329
+ this.vegaTableHeaderRenderer = new VegaTableHeaderRenderer();
2330
+ this.vegaTableBodyRenderer = new VegaTableBodyRenderer();
2331
+ this.vegaTableRowRenderer = new VegaTableRowRenderer$1();
2332
+ this.vegaTableCellRenderer = new VegaTableCellRenderer();
2333
+ this.vegaTablePaginationRenderer = new VegaTablePaginationRenderer();
2334
+ this.vegaTableScrollContainerRenderer = new VegaTableScrollContainerRenderer();
2335
+ this.vegaTableExpandRowController = new VegaTableExpandRowController();
2336
+ this.vegaTableRowSelectionController = new VegaTableRowSelectionController$1();
2337
+ this.vegaTableDataSourceController = new VegaTableDataSourceController();
2338
+ this.vegaTablePaginationController = new VegaTablePaginationController();
2339
+ this.vegaTableEditableController = new VegaTableEditableController();
2340
+ this.vegaTableSortController = new VegaTableSortController();
2341
+ this.vegaTableColGroupRenderer = new VegaTableColGroupRenderer();
2342
+ this.vegaTableChildrenController = new VegaTableChildrenController();
2343
+ /**
2344
+ * The below method is e2e-test covered in
2345
+ * @see{module:should-render-responsive-columns-with-expandable-row-and-current-breakpoint-is-smaller-than-S}
2346
+ */
2347
+ this.pageResizeObserverSlimmer = new pageResizeObserverSlimmer.PageResizeObserverSlimmer();
2348
+ this.rowSelectionNotifySlimmer = subStateObserverSlimmer.createSubStateNotifySlimmer(VegaTable, 'rowSelection', 'watchRowSelection');
2349
+ this.rowExpandableNotifySlimmer = subStateObserverSlimmer.createSubStateNotifySlimmer(VegaTable, 'rowExpandable', 'watchRowExpandable');
2350
+ this.paddingXNotifySlimmer = subStateObserverSlimmer.createSubStateNotifySlimmer(VegaTable, 'paddingX', 'watchPaddingX');
2351
+ this.rowClickableNotifySlimmer = subStateObserverSlimmer.createSubStateNotifySlimmer(VegaTable, 'rowClickable', 'watchRowClickable');
2352
+ this.scrollConfigNotifySlimmer = subStateObserverSlimmer.createSubStateNotifySlimmer(VegaTable, 'scrollConfig', 'watchScrollConfig');
2353
+ this.eventsPrevent = new childNodesEventPreventSlimmer.ChildNodesEventPreventSlimmer([vegaEventId.VegaChange, vegaEventId.VegaPageSizeChange, vegaEventId.VegaExpand], () => this.host);
2354
+ this.changeEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaTable, vegaEventId.VegaChange);
2355
+ this.selectChangeEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaTable, vegaEventId.VegaSelectChange);
2356
+ this.selectAllChangeEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaTable, vegaEventId.VegaSelectAllChange);
2357
+ this.rowClickEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaTable, vegaEventId.VegaRowClick);
2358
+ this.rowExpandEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaTable, vegaEventId.VegaRowExpand);
2359
+ this.rowDividerNotifySlimmer = subStateObserverSlimmer.createSubStateNotifySlimmer(VegaTable, 'rowDivider', 'watchRowDivider');
2360
+ this.columnDividerNotifySlimmer = subStateObserverSlimmer.createSubStateNotifySlimmer(VegaTable, 'columnDivider', 'watchColumnDivider');
2361
+ this.densityNotifySlimmer = subStateObserverSlimmer.createSubStateNotifySlimmer(VegaTable, 'density', 'watchDensity');
2362
+ this.isTemplateRenderModeNotifySlimmer = subStateObserverSlimmer.createSubStateNotifySlimmer(VegaTable, 'isTemplateRenderMode', 'watchTemplateRenderMode');
2363
+ this.currentDataNotifySlimmer = subStateObserverSlimmer.createSubStateNotifySlimmer(VegaTable, 'currentData', 'watchCurrentData');
2364
+ this.vegaComponentUsageRuntimeMetricsSlimmer = new componentUsageRuntimeMetrics.VegaComponentUsageRuntimeMetricsSlimmer(VegaTableRuntimeMetricsPayloadDefinition);
2365
+ this.rowSelectEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaTable, vegaEventId.VegaRowSelect);
2366
+ this.rowSelectAllEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaTable, vegaEventId.VegaRowSelectAll);
2367
+ this.selectedRowKeySet = new ImmutableSet(new Set(), (newSet) => {
2368
+ this.selectedRowKeySet = newSet;
2369
+ });
2370
+ this.expandedRowKeySet = new ImmutableSet(new Set(), (newSet) => {
2371
+ this.expandedRowKeySet = newSet;
2372
+ });
2373
+ this.currentBreakpoint = breakpoints.getCurrentBreakpoint();
2374
+ /** Current running sorters */
2375
+ this.sortersMap = new immutableMap.ImmutableMap(new Map(), (newMap) => {
2376
+ this.sortersMap = newMap;
2377
+ });
2378
+ /** The data for vega-table to render */
2379
+ this.currentData = [];
2380
+ /** Current page number of the table pagination */
2381
+ this.currentPage = 1;
2382
+ /**
2383
+ * The page size of the table pagination
2384
+ */
2385
+ this.pageSize = 10;
2386
+ this.editingRows = new ImmutableSet(new Set(), (newSet) => {
2387
+ this.editingRows = newSet;
2388
+ });
2389
+ this.isSelectedAll = false;
2390
+ /**
2391
+ * Defines the columns of the table.
2392
+ *
2393
+ * @vegaVersion 1.3.0
2394
+ */
2395
+ this.columns = [];
2396
+ /**
2397
+ * Contains the data records to be rendered and
2398
+ * displayed within the table.
2399
+ *
2400
+ * @vegaVersion 1.3.0
2401
+ */
2402
+ /* eslint-disable-next-line @stencil/strict-mutable */
2403
+ this.dataSource = [];
2404
+ /**
2405
+ * Defines the behavior and options related to
2406
+ * row selection in the table.
2407
+ *
2408
+ * It allows users to select one or more rows in
2409
+ * the table for further actions or processing.
2410
+ *
2411
+ * @vegaVersion 1.3.0
2412
+ */
2413
+ /* eslint-disable-next-line @stencil/strict-mutable */
2414
+ this.rowSelection = null;
2415
+ /**
2416
+ * Specifies whether rows in the table can be expanded
2417
+ * to show additional content or details.
2418
+ */
2419
+ /**
2420
+ * Indicates whether the row is expandable.
2421
+ *
2422
+ * @vegaVersion 1.3.0
2423
+ */
2424
+ this.rowExpandable = false;
2425
+ /**
2426
+ * Specifies whether rows in the table can be clicked.
2427
+ * If enabled, a `vegaRowClick` event will be
2428
+ * dispatched when a row is clicked.
2429
+ *
2430
+ * @vegaVersion 1.3.0
2431
+ */
2432
+ this.rowClickable = false;
2433
+ /**
2434
+ * Specifies whether dividers should be displayed
2435
+ * between rows in the table.
2436
+ *
2437
+ * @vegaVersion 1.3.0
2438
+ */
2439
+ this.rowDivider = false;
2440
+ /**
2441
+ * Specifies whether dividers should be displayed
2442
+ * between columns in the table.
2443
+ *
2444
+ * @vegaVersion 1.3.0
2445
+ */
2446
+ this.columnDivider = false;
2447
+ /**
2448
+ * Specifies whether alternate colors should be applied
2449
+ * to the rows of the table.
2450
+ *
2451
+ * @vegaVersion 1.3.0
2452
+ */
2453
+ this.striped = true;
2454
+ /**
2455
+ * Specifies the negative space within the table's cells.
2456
+ *
2457
+ * @vegaVersion 1.3.0
2458
+ */
2459
+ this.density = 'default';
2460
+ /**
2461
+ * Controls the amount of horizontal padding applied to the table.
2462
+ *
2463
+ * @vegaVersion 1.3.0
2464
+ */
2465
+ this.paddingX = ['8px', '8px'];
2466
+ /**
2467
+ * Specifies whether the table header should be displayed.
2468
+ *
2469
+ * @vegaVersion 1.3.0
2470
+ */
2471
+ this.showHeader = true;
2472
+ /**
2473
+ * Specifies the pagination configuration.
2474
+ *
2475
+ * @vegaVersion 1.5.0
2476
+ */
2477
+ this.pagination = null;
2478
+ /**
2479
+ * Provides a customized message or description that is
2480
+ * shown when the table's data source is empty.
2481
+ *
2482
+ * @vegaVersion 1.7.0
2483
+ */
2484
+ this.emptyDescription = 'There is no data to display';
2485
+ /**
2486
+ * Defines a unique key for each row in the table.
2487
+ *
2488
+ * @vegaVersion 1.9.2
2489
+ */
2490
+ this.rowKey = 'key';
2491
+ /**
2492
+ * Defines the column sorting options
2493
+ * Has optional property type: single | multiple
2494
+ * If not specified, it defaults to multiple column sorting
2495
+ *
2496
+ * @vegaVersion 2.22.0
2497
+ */
2498
+ this.sortConfig = { type: 'multiple' };
2499
+ }
2500
+ watchSelectedRowKeySet() {
2501
+ }
2502
+ watchSortersMap() {
2503
+ }
2504
+ watchCurrentData(newValue, oldValue) {
2505
+ }
2506
+ watchCurrentPage() {
2507
+ }
2508
+ watchSelectedAll() {
2509
+ }
2510
+ watchTemplateRenderMode() {
2511
+ }
2512
+ watchColumns() {
2513
+ }
2514
+ watchDataSource() {
2515
+ }
2516
+ watchRowSelection() {
2517
+ }
2518
+ watchRowExpandable() {
2519
+ }
2520
+ watchRowClickable() {
2521
+ }
2522
+ watchRowDivider() {
2523
+ }
2524
+ watchColumnDivider() {
2525
+ }
2526
+ watchStriped() {
2527
+ }
2528
+ watchDensity() {
2529
+ }
2530
+ watchPaddingX() {
2531
+ }
2532
+ watchPagination() {
2533
+ }
2534
+ watchScrollConfig() {
2535
+ }
2536
+ /**
2537
+ * Invoke this method to expand the row with the specified `rowKey`,
2538
+ * revealing additional content.
2539
+ *
2540
+ * @param rowKey
2541
+ * @vegaVersion 1.3.0
2542
+ */
2543
+ async openExpandRow(rowKey) {
2544
+ }
2545
+ /**
2546
+ * Invoke this method to close the expanded row with the specified `rowKey`.
2547
+ *
2548
+ * @param rowKey
2549
+ * @vegaVersion 1.3.0
2550
+ */
2551
+ async closeExpandRow(rowKey) {
2552
+ }
2553
+ /**
2554
+ * Invoke this method to close all expanded rows.
2555
+ *
2556
+ * @vegaVersion 1.3.0
2557
+ */
2558
+ async closeAllExpandRow() {
2559
+ }
2560
+ /**
2561
+ * Invoke this method to toggle the expandable row with the
2562
+ * specified `rowKey`, expanding it if it is currently
2563
+ * collapsed and collapsing it if it is currently expanded.
2564
+ *
2565
+ * @param rowKey
2566
+ * @vegaVersion 1.3.0
2567
+ */
2568
+ async toggleExpandRow(rowKey) {
2569
+ }
2570
+ /**
2571
+ * Invoke this method to clear the selected row keys,
2572
+ * removing any current selection.
2573
+ *
2574
+ * @vegaVersion 1.3.0
2575
+ */
2576
+ async clearSelection() {
2577
+ }
2578
+ /**
2579
+ * Invoke this method to retrieve the selected row keys,
2580
+ * provided an array or list of the keys representing
2581
+ * the currently selected rows.
2582
+ *
2583
+ * @vegaVersion 1.3.0
2584
+ */
2585
+ async getSelection() {
2586
+ return placeholder.methodPlaceholder();
2587
+ }
2588
+ /**
2589
+ * Invoke this method to set the selected row keys,
2590
+ * specifying an array or list of keys to represent
2591
+ * the desired selected rows.
2592
+ *
2593
+ * @param {string[]} keys - Row keys to be set as selected.
2594
+ * @vegaVersion 1.3.0
2595
+ */
2596
+ async setSelection(keys) {
2597
+ }
2598
+ /**
2599
+ * Invoke this method to start the edit mode for the row
2600
+ * with the specified `rowKey`.
2601
+ *
2602
+ * @VegaWarning Note: This method only works with editable tables.
2603
+ *
2604
+ * @vegaVersion 1.19.0
2605
+ */
2606
+ async startRowEditMode(rowKey) {
2607
+ }
2608
+ /**
2609
+ * Invoke this method to stop the edit mode for the row
2610
+ * with the specified `rowKey`.
2611
+ *
2612
+ * @VegaWarning Note: This method only works with editable tables.
2613
+ *
2614
+ * @vegaVersion 1.19.0
2615
+ */
2616
+ async stopRowEditMode(rowKey) {
2617
+ }
2618
+ /**
2619
+ * Invoke this method to stop the edit mode for all rows,
2620
+ * exiting the edit mode for each row currently
2621
+ * in the editing state.
2622
+ *
2623
+ * @VegaWarning Note: This method only works with editable tables.
2624
+ *
2625
+ * @vegaVersion 1.19.0
2626
+ */
2627
+ async stopAllRowEditMode() {
2628
+ }
2629
+ /**
2630
+ * Invoke this method to retrieve the data of the row with
2631
+ * the specified `rowKey`, obtaining the complete set of
2632
+ * information associated with that row.
2633
+ *
2634
+ * @param rowKey The row's unique key.
2635
+ *
2636
+ * @VegaWarning Note: This method only works with editable tables.
2637
+ *
2638
+ * @vegaVersion 1.19.0
2639
+ */
2640
+ async getRowData(rowKey) {
2641
+ return placeholder.methodPlaceholder(rowKey);
2642
+ }
2643
+ /**
2644
+ * Invoke this method to retrieve all rows of data,
2645
+ * obtaining the complete set of information
2646
+ * associated with each row.
2647
+ *
2648
+ * @VegaWarning Note: This method only works with editable tables.
2649
+ *
2650
+ * @vegaVersion 1.19.0
2651
+ */
2652
+ async getRowsData() {
2653
+ return placeholder.methodPlaceholder();
2654
+ }
2655
+ /**
2656
+ * Invoke this method to retrieve the table row reference
2657
+ * based on the provided `rowKey`.
2658
+ *
2659
+ * If the `rowKey` is empty, this method will return the
2660
+ * reference to the table form.
2661
+ *
2662
+ * @param optional rowKey
2663
+ *
2664
+ * @VegaWarning Note: This method only works with editable tables.
2665
+ *
2666
+ * @vegaVersion 1.19.0
2667
+ */
2668
+ async getFormRef(rowKey) {
2669
+ return placeholder.methodPlaceholder(rowKey);
2670
+ }
2671
+ /**
2672
+ * Invoke this method to add a new row to the editable table.
2673
+ *
2674
+ * @param record the default record of the new row
2675
+ * @returns {Promise<string>} the rowKey of the new row
2676
+ *
2677
+ * @VegaWarning Note: This method only works with editable tables.
2678
+ *
2679
+ * @vegaVersion 1.19.0
2680
+ */
2681
+ async addNewRow(record = {}) {
2682
+ return placeholder.methodPlaceholder(record);
2683
+ }
2684
+ /**
2685
+ * Invoke this method to save the edited row data to
2686
+ * the `currentData` and stop the edit mode
2687
+ * for that row.
2688
+ *
2689
+ * This action will not affect the editing mode of other rows.
2690
+ *
2691
+ * @VegaWarning Note: This method only works with editable tables.
2692
+ *
2693
+ * @vegaVersion 1.19.0
2694
+ */
2695
+ async saveEditRow(rowKey) {
2696
+ return placeholder.methodPlaceholder(rowKey);
2697
+ }
2698
+ /**
2699
+ * Invoke this method to save the data of all edited rows to
2700
+ * the `currentData` and stop the edit mode for
2701
+ * all rows in the table.
2702
+ *
2703
+ * @VegaWarning Note: This method only works with editable tables.
2704
+ *
2705
+ * @vegaVersion 1.19.0
2706
+ */
2707
+ async saveAllEditRows() {
2708
+ }
2709
+ /**
2710
+ * Invoke this method to obtain the keys of the rows currently
2711
+ * in the editing mode in the table.
2712
+ *
2713
+ * @VegaWarning Note: This method only works with editable tables.
2714
+ *
2715
+ * @vegaVersion 1.19.0
2716
+ */
2717
+ async getEditingRowsKey() {
2718
+ return placeholder.methodPlaceholder();
2719
+ }
2720
+ /**
2721
+ * Invoke this method to remove a row from the `currentData`
2722
+ * based on the specified `rowKey` in the table.
2723
+ *
2724
+ * @param rowKey The rowKey of the row to remove.
2725
+ *
2726
+ * @VegaWarning Note: This method only works with editable tables.
2727
+ *
2728
+ * @vegaVersion 1.19.0
2729
+ */
2730
+ async removeRow(rowKey) {
2731
+ }
2732
+ render() {
2733
+ placeholder.slotPlaceholder(index.h("slot", null));
2734
+ return this.vegaTableRenderer.render();
2735
+ }
2736
+ get host() { return index.getElement(this); }
2737
+ static get watchers() { return {
2738
+ "selectedRowKeySet": ["watchSelectedRowKeySet"],
2739
+ "sortersMap": ["watchSortersMap"],
2740
+ "currentData": ["watchCurrentData"],
2741
+ "currentPage": ["watchCurrentPage"],
2742
+ "isSelectedAll": ["watchSelectedAll"],
2743
+ "isTemplateRenderMode": ["watchTemplateRenderMode"],
2744
+ "columns": ["watchColumns"],
2745
+ "dataSource": ["watchDataSource"],
2746
+ "rowSelection": ["watchRowSelection"],
2747
+ "rowExpandable": ["watchRowExpandable"],
2748
+ "rowClickable": ["watchRowClickable"],
2749
+ "rowDivider": ["watchRowDivider"],
2750
+ "columnDivider": ["watchColumnDivider"],
2751
+ "striped": ["watchStriped"],
2752
+ "density": ["watchDensity"],
2753
+ "paddingX": ["watchPaddingX"],
2754
+ "pagination": ["watchPagination"],
2755
+ "scrollConfig": ["watchScrollConfig"]
2756
+ }; }
2757
+ };
2758
+ __decorate$o([
2759
+ componentUsageRuntimeMetrics.InjectVegaGlobalSlimmer()
2760
+ ], VegaTable.prototype, "globalSlimmers", void 0);
2761
+ __decorate$o([
2762
+ globalSlimmerRegistry.InjectVegaSlimmer()
2763
+ ], VegaTable.prototype, "translationSlimmer", void 0);
2764
+ __decorate$o([
2765
+ globalSlimmerRegistry.InjectVegaSlimmer()
2766
+ ], VegaTable.prototype, "vegaTableRenderModeController", void 0);
2767
+ __decorate$o([
2768
+ globalSlimmerRegistry.InjectVegaSlimmer()
2769
+ ], VegaTable.prototype, "vegaTableRenderer", void 0);
2770
+ __decorate$o([
2771
+ globalSlimmerRegistry.InjectVegaSlimmer()
2772
+ ], VegaTable.prototype, "vegaTableHeaderRenderer", void 0);
2773
+ __decorate$o([
2774
+ globalSlimmerRegistry.InjectVegaSlimmer()
2775
+ ], VegaTable.prototype, "vegaTableBodyRenderer", void 0);
2776
+ __decorate$o([
2777
+ globalSlimmerRegistry.InjectVegaSlimmer()
2778
+ ], VegaTable.prototype, "vegaTableRowRenderer", void 0);
2779
+ __decorate$o([
2780
+ globalSlimmerRegistry.InjectVegaSlimmer()
2781
+ ], VegaTable.prototype, "vegaTableCellRenderer", void 0);
2782
+ __decorate$o([
2783
+ globalSlimmerRegistry.InjectVegaSlimmer()
2784
+ ], VegaTable.prototype, "vegaTablePaginationRenderer", void 0);
2785
+ __decorate$o([
2786
+ globalSlimmerRegistry.InjectVegaSlimmer()
2787
+ ], VegaTable.prototype, "vegaTableScrollContainerRenderer", void 0);
2788
+ __decorate$o([
2789
+ globalSlimmerRegistry.InjectVegaSlimmer()
2790
+ ], VegaTable.prototype, "vegaTableExpandRowController", void 0);
2791
+ __decorate$o([
2792
+ globalSlimmerRegistry.InjectVegaSlimmer()
2793
+ ], VegaTable.prototype, "vegaTableRowSelectionController", void 0);
2794
+ __decorate$o([
2795
+ globalSlimmerRegistry.InjectVegaSlimmer()
2796
+ ], VegaTable.prototype, "vegaTableDataSourceController", void 0);
2797
+ __decorate$o([
2798
+ globalSlimmerRegistry.InjectVegaSlimmer()
2799
+ ], VegaTable.prototype, "vegaTablePaginationController", void 0);
2800
+ __decorate$o([
2801
+ globalSlimmerRegistry.InjectVegaSlimmer()
2802
+ ], VegaTable.prototype, "vegaTableEditableController", void 0);
2803
+ __decorate$o([
2804
+ globalSlimmerRegistry.InjectVegaSlimmer()
2805
+ ], VegaTable.prototype, "vegaTableSortController", void 0);
2806
+ __decorate$o([
2807
+ globalSlimmerRegistry.InjectVegaSlimmer()
2808
+ ], VegaTable.prototype, "vegaTableColGroupRenderer", void 0);
2809
+ __decorate$o([
2810
+ globalSlimmerRegistry.InjectVegaSlimmer()
2811
+ ], VegaTable.prototype, "vegaTableChildrenController", void 0);
2812
+ __decorate$o([
2813
+ globalSlimmerRegistry.InjectVegaSlimmer()
2814
+ ], VegaTable.prototype, "pageResizeObserverSlimmer", void 0);
2815
+ __decorate$o([
2816
+ globalSlimmerRegistry.InjectVegaSlimmer()
2817
+ ], VegaTable.prototype, "rowSelectionNotifySlimmer", void 0);
2818
+ __decorate$o([
2819
+ globalSlimmerRegistry.InjectVegaSlimmer()
2820
+ ], VegaTable.prototype, "rowExpandableNotifySlimmer", void 0);
2821
+ __decorate$o([
2822
+ globalSlimmerRegistry.InjectVegaSlimmer()
2823
+ ], VegaTable.prototype, "paddingXNotifySlimmer", void 0);
2824
+ __decorate$o([
2825
+ globalSlimmerRegistry.InjectVegaSlimmer()
2826
+ ], VegaTable.prototype, "rowClickableNotifySlimmer", void 0);
2827
+ __decorate$o([
2828
+ globalSlimmerRegistry.InjectVegaSlimmer()
2829
+ ], VegaTable.prototype, "scrollConfigNotifySlimmer", void 0);
2830
+ __decorate$o([
2831
+ globalSlimmerRegistry.InjectVegaSlimmer()
2832
+ ], VegaTable.prototype, "eventsPrevent", void 0);
2833
+ __decorate$o([
2834
+ globalSlimmerRegistry.InjectVegaSlimmer()
2835
+ ], VegaTable.prototype, "changeEventEmitter", void 0);
2836
+ __decorate$o([
2837
+ globalSlimmerRegistry.InjectVegaSlimmer()
2838
+ ], VegaTable.prototype, "selectChangeEventEmitter", void 0);
2839
+ __decorate$o([
2840
+ globalSlimmerRegistry.InjectVegaSlimmer()
2841
+ ], VegaTable.prototype, "selectAllChangeEventEmitter", void 0);
2842
+ __decorate$o([
2843
+ globalSlimmerRegistry.InjectVegaSlimmer()
2844
+ ], VegaTable.prototype, "rowClickEventEmitter", void 0);
2845
+ __decorate$o([
2846
+ globalSlimmerRegistry.InjectVegaSlimmer()
2847
+ ], VegaTable.prototype, "rowExpandEventEmitter", void 0);
2848
+ __decorate$o([
2849
+ globalSlimmerRegistry.InjectVegaSlimmer()
2850
+ ], VegaTable.prototype, "rowDividerNotifySlimmer", void 0);
2851
+ __decorate$o([
2852
+ globalSlimmerRegistry.InjectVegaSlimmer()
2853
+ ], VegaTable.prototype, "columnDividerNotifySlimmer", void 0);
2854
+ __decorate$o([
2855
+ globalSlimmerRegistry.InjectVegaSlimmer()
2856
+ ], VegaTable.prototype, "densityNotifySlimmer", void 0);
2857
+ __decorate$o([
2858
+ globalSlimmerRegistry.InjectVegaSlimmer()
2859
+ ], VegaTable.prototype, "isTemplateRenderModeNotifySlimmer", void 0);
2860
+ __decorate$o([
2861
+ globalSlimmerRegistry.InjectVegaSlimmer()
2862
+ ], VegaTable.prototype, "currentDataNotifySlimmer", void 0);
2863
+ __decorate$o([
2864
+ globalSlimmerRegistry.InjectVegaSlimmer()
2865
+ ], VegaTable.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
2866
+ __decorate$o([
2867
+ globalSlimmerRegistry.InjectVegaSlimmer()
2868
+ ], VegaTable.prototype, "rowSelectEventEmitter", void 0);
2869
+ __decorate$o([
2870
+ globalSlimmerRegistry.InjectVegaSlimmer()
2871
+ ], VegaTable.prototype, "rowSelectAllEventEmitter", void 0);
2872
+ VegaTable.style = vegaTableCss;
2873
+
2874
+ const vegaTableBodyCss = ":host{display:contents}";
2875
+
2876
+ var __decorate$n = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
2877
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
2878
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
2879
+ r = Reflect.decorate(decorators, target, key, desc);
2880
+ else
2881
+ for (var i = decorators.length - 1; i >= 0; i--)
2882
+ if (d = decorators[i])
2883
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
2884
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
2885
+ };
2886
+ const VegaTableBody = class {
2887
+ constructor(hostRef) {
2888
+ index.registerInstance(this, hostRef);
2889
+ this.globalSlimmers = {};
2890
+ this.childChangeEventPrevent = new childNodesEventPreventSlimmer.ChildNodesEventPreventSlimmer([vegaEventId.VegaChange], () => this.host);
2891
+ this.vegaComponentUsageRuntimeMetricsSlimmer = new componentUsageRuntimeMetrics.VegaComponentUsageRuntimeMetricsSlimmer();
2892
+ }
2893
+ render() {
2894
+ return component.sanitizeVegaComponent(index.h(index.Host, null, index.h("tbody", null, index.h("slot", null))), this.host);
2895
+ }
2896
+ get host() { return index.getElement(this); }
2897
+ };
2898
+ __decorate$n([
2899
+ componentUsageRuntimeMetrics.InjectVegaGlobalSlimmer()
2900
+ ], VegaTableBody.prototype, "globalSlimmers", void 0);
2901
+ __decorate$n([
2902
+ globalSlimmerRegistry.InjectVegaSlimmer()
2903
+ ], VegaTableBody.prototype, "childChangeEventPrevent", void 0);
2904
+ __decorate$n([
2905
+ globalSlimmerRegistry.InjectVegaSlimmer()
2906
+ ], VegaTableBody.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
2907
+ VegaTableBody.style = vegaTableBodyCss;
2908
+
2909
+ /**
2910
+ * Input a breakpoint, return the responsive style classes of the breakpoint
2911
+ *
2912
+ * @param {BreakpointsTokenType} breakpoint - The breakpoint as an input
2913
+ * @param {string} className - The input class that will be formatted to responsive classes
2914
+ * @returns {string} The style classes for the breakpoint
2915
+ */
2916
+ const generateResponsiveClass = (breakpoint, className) => {
2917
+ return breakpoint && typeGuard.isBreakpointsTokenType(breakpoint) ? `v-hidden ${breakpoint}:${className}` : '';
2918
+ };
2919
+ /**
2920
+ * Input an align, return the style class of the alignment
2921
+ *
2922
+ * @param {ColumnAlignType} align - The align type
2923
+ * @returns {string} The alignment style classes
2924
+ */
2925
+ const generateTextAlignClass = (align) => {
2926
+ let alignClass;
2927
+ switch (align) {
2928
+ case 'center':
2929
+ alignClass = 'v-text-center';
2930
+ break;
2931
+ case 'left':
2932
+ alignClass = 'v-text-left';
2933
+ break;
2934
+ case 'right':
2935
+ alignClass = 'v-text-right';
2936
+ break;
2937
+ default:
2938
+ alignClass = '';
2939
+ }
2940
+ return alignClass;
2941
+ };
2942
+ /**
2943
+ * The function `generateColSpan` calculates the column span based on the length of columns and whether multiple selection is enabled.
2944
+ *
2945
+ * @param {number} columnLength - The number of columns in a table or grid.
2946
+ * @param {boolean} withMultipleSelection - A boolean value indicating whether the table has a column for multiple selection.
2947
+ * @returns {number} the value of `columnLength` plus 2 if `withMultipleSelection` is true, or plus 1 if `withMultipleSelection` is false.
2948
+ */
2949
+ const generateColSpan = (columnLength, withMultipleSelection) => {
2950
+ return columnLength + (withMultipleSelection ? 2 : 1);
2951
+ };
2952
+
2953
+ var __decorate$m = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
2954
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
2955
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
2956
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
2957
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
2958
+ };
2959
+ /**
2960
+ * Controller for the table row states
2961
+ */
2962
+ class VegaTableCellStateController extends subStateObserverSlimmer.SubStateObserverSlimmer {
2963
+ // eslint-disable-next-line jsdoc/require-jsdoc
2964
+ constructor() {
2965
+ super({
2966
+ parent: 'vega-table',
2967
+ subStates: [
2968
+ {
2969
+ subStateName: 'density',
2970
+ parentStateName: 'density',
2971
+ },
2972
+ ],
2973
+ });
2974
+ }
2975
+ }
2976
+ __decorate$m([
2977
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
2978
+ ], VegaTableCellStateController.prototype, "density", void 0);
2979
+
2980
+ const vegaTableCellCss = ":host(.v-hidden){display:none}@media (min-width: 320px){:host(.S\\:v-table-cell){display:table-cell}}@media (min-width: 768px){:host(.M\\:v-table-cell){display:table-cell}}@media (min-width: 1024px){:host(.L\\:v-table-cell){display:table-cell}}@media (min-width: 1440px){:host(.XL\\:v-table-cell){display:table-cell}}:host{display:table-cell;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));color:rgba(var(--v-text-primary, 32, 54, 69, 1));text-align:left;vertical-align:middle}.vega-table-cell{padding:12px;box-sizing:border-box;font-family:\"Inter\", sans-serif;font-size:14px;font-weight:400;line-height:18px;overflow-wrap:break-word}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-table-cell{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-table-cell{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-table-cell{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:400;line-height:18px}}.vega-table-cell.break-word{word-break:break-word}td{display:block;padding:0px}td.v-text-center{text-align:center}td.v-text-left{text-align:left}td.v-text-right{text-align:right}:host(.density-default) .vega-table-cell{padding:12px}:host(.density-compact) .vega-table-cell{padding:4px}:host(.density-relaxed) .vega-table-cell{padding:16px}.vega-table-cell-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.vega-table-cell-scroll{overflow:auto}";
2981
+
2982
+ var __decorate$l = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
2983
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
2984
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
2985
+ r = Reflect.decorate(decorators, target, key, desc);
2986
+ else
2987
+ for (var i = decorators.length - 1; i >= 0; i--)
2988
+ if (d = decorators[i])
2989
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
2990
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
2991
+ };
2992
+ const VegaTableCell = class {
2993
+ constructor(hostRef) {
2994
+ index.registerInstance(this, hostRef);
2995
+ this.globalSlimmers = {};
2996
+ this.vegaTableCellStateController = new VegaTableCellStateController();
2997
+ this.pageResizeObserverSlimmer = new pageResizeObserverSlimmer.PageResizeObserverSlimmer();
2998
+ this.vegaComponentUsageRuntimeMetricsSlimmer = new componentUsageRuntimeMetrics.VegaComponentUsageRuntimeMetricsSlimmer();
2999
+ this.currentBreakpoint = breakpoints.getCurrentBreakpoint();
3000
+ this.getCellOverflowClass = () => {
3001
+ switch (this.overflow) {
3002
+ case 'ellipsis':
3003
+ return 'vega-table-cell-ellipsis';
3004
+ case 'scroll':
3005
+ return 'vega-table-cell-scroll';
3006
+ }
3007
+ };
3008
+ }
3009
+ render() {
3010
+ const responsiveClass = generateResponsiveClass(this.breakpoint, 'v-table-cell');
3011
+ const columnAlignClass = generateTextAlignClass(this.textAlign);
3012
+ const overflowClass = this.getCellOverflowClass();
3013
+ const columnClasses = [columnAlignClass, 'vega-table-cell'];
3014
+ if (!featureFlagController.FeatureFlag.isEnabled('VEGA_TABLE.ENABLE_NEW_CELL_BREAK_WORDS_STYLE')) {
3015
+ columnClasses.push('break-word');
3016
+ }
3017
+ return component.sanitizeVegaComponent(index.h(index.Host, { class: ui.arrayToClassString([
3018
+ `density-${responsiveFormatFacade.ResponsiveFormatFacade.formatCustom(this.density)}`,
3019
+ responsiveClass,
3020
+ ]), style: { width: this.width } }, index.h("td", { class: ui.arrayToClassString(columnClasses), part: "cell" }, index.h("div", { class: overflowClass }, index.h("slot", null)))), this.host);
3021
+ }
3022
+ get host() { return index.getElement(this); }
3023
+ };
3024
+ __decorate$l([
3025
+ componentUsageRuntimeMetrics.InjectVegaGlobalSlimmer()
3026
+ ], VegaTableCell.prototype, "globalSlimmers", void 0);
3027
+ __decorate$l([
3028
+ globalSlimmerRegistry.InjectVegaSlimmer()
3029
+ ], VegaTableCell.prototype, "vegaTableCellStateController", void 0);
3030
+ __decorate$l([
3031
+ globalSlimmerRegistry.InjectVegaSlimmer()
3032
+ ], VegaTableCell.prototype, "pageResizeObserverSlimmer", void 0);
3033
+ __decorate$l([
3034
+ globalSlimmerRegistry.InjectVegaSlimmer()
3035
+ ], VegaTableCell.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
3036
+ VegaTableCell.style = vegaTableCellCss;
3037
+
3038
+ var __decorate$k = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3039
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3040
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3041
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
3042
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3043
+ };
3044
+ class VegaTableExpandRowRenderer extends globalSlimmerRegistry.VegaSlimmer {
3045
+ render() {
3046
+ return (index.h("tr", { class: {
3047
+ 'vega-table-expanded-row': true,
3048
+ 'expanded': this.expanded,
3049
+ 'checked': this.checked,
3050
+ }, key: `vega-table-expanded-row-${this.rowKey}`, "data-expanded-row-key": this.rowKey },
3051
+ index.h("td", null),
3052
+ index.h("td", { colSpan: this.colSpan, key: `${VegaTableExpandRowController.expandRowSlotNamePrefix}${this.rowKey}`, class: "vega-table-expanded-row-slot-container" },
3053
+ index.h("slot", null)),
3054
+ index.h("td", null)));
3055
+ }
3056
+ }
3057
+ __decorate$k([
3058
+ globalSlimmerRegistry.MapToComponentField()
3059
+ ], VegaTableExpandRowRenderer.prototype, "rowKey", void 0);
3060
+ __decorate$k([
3061
+ globalSlimmerRegistry.MapToComponentField()
3062
+ ], VegaTableExpandRowRenderer.prototype, "expanded", void 0);
3063
+ __decorate$k([
3064
+ globalSlimmerRegistry.MapToComponentField()
3065
+ ], VegaTableExpandRowRenderer.prototype, "checked", void 0);
3066
+ __decorate$k([
3067
+ globalSlimmerRegistry.MapToComponentField()
3068
+ ], VegaTableExpandRowRenderer.prototype, "colSpan", void 0);
3069
+
3070
+ var __decorate$j = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3071
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3072
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3073
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
3074
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3075
+ };
3076
+ /**
3077
+ * The controller for expand row.
3078
+ */
3079
+ class VegaTableExpandRowExpandController extends globalSlimmerRegistry.VegaSlimmer {
3080
+ /**
3081
+ * Component lifecycle - [connectedCallback]{@link VegaTableExpandRow.connectedCallback}
3082
+ */
3083
+ connectedCallback() {
3084
+ this.expandObserver = new observer.Observer(this.isAcceptableTableExpandRowObserver.bind(this), (payload) => {
3085
+ if (payload.rowKey === this.rowKey) {
3086
+ this.expanded = payload.expanded;
3087
+ }
3088
+ });
3089
+ changeManager.ChangeManager.register(staticSubjectTitle.TABLE_EXPAND_ROW, this.expandObserver);
3090
+ }
3091
+ /**
3092
+ * Component lifecycle - [disconnectedCallback]{@link VegaTableExpandRow.disconnectedCallback}
3093
+ */
3094
+ disconnectedCallback() {
3095
+ changeManager.ChangeManager.unregister(staticSubjectTitle.TABLE_EXPAND_ROW, this.expandObserver);
3096
+ }
3097
+ /**
3098
+ * The function checks if the input is an acceptable payload for a VegaTableExpandRowObserver.
3099
+ *
3100
+ * @param {unknown} input - The `input` parameter is of type `unknown`, which means it can be any type.
3101
+ * @returns {boolean} a boolean value indicating whether the input is of type VegaTableExpandRowObserverPayload.
3102
+ */
3103
+ isAcceptableTableExpandRowObserver(input) {
3104
+ if (input['host']['tagName'] === 'VEGA-TABLE') {
3105
+ return (input['host']['tagName'] === 'VEGA-TABLE' &&
3106
+ input['host'] === ui.findParent(this.host, 'vega-table'));
3107
+ }
3108
+ if (input['host']['tagName'] === 'VEGA-TABLE-ROW') {
3109
+ return ui.findParent(this.host, 'vega-table') === ui.findParent(input['host'], 'vega-table');
3110
+ }
3111
+ }
3112
+ }
3113
+ __decorate$j([
3114
+ globalSlimmerRegistry.MapToComponentField()
3115
+ ], VegaTableExpandRowExpandController.prototype, "host", void 0);
3116
+ __decorate$j([
3117
+ globalSlimmerRegistry.MapToComponentField()
3118
+ ], VegaTableExpandRowExpandController.prototype, "rowKey", void 0);
3119
+ __decorate$j([
3120
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
3121
+ ], VegaTableExpandRowExpandController.prototype, "expanded", void 0);
3122
+ __decorate$j([
3123
+ globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
3124
+ ], VegaTableExpandRowExpandController.prototype, "connectedCallback", null);
3125
+ __decorate$j([
3126
+ globalSlimmerRegistry.MapToComponentMethod('disconnectedCallback')
3127
+ ], VegaTableExpandRowExpandController.prototype, "disconnectedCallback", null);
3128
+
3129
+ /**
3130
+ * The function checks if the input is an acceptable table row observer by comparing the host tag name and finding the parent vega-table element.
3131
+ *
3132
+ * @param {unknown} input - The `input` parameter is of type `unknown`, which means it can be any type.
3133
+ * @returns {boolean} a boolean value.
3134
+ */
3135
+ function isAcceptableTableRowObserver(input) {
3136
+ return (input['host']['tagName'] === 'VEGA-TABLE-ROW' &&
3137
+ ui.findParent(this.host, 'vega-table') === ui.findParent(input['host'], 'vega-table'));
3138
+ }
3139
+ /**
3140
+ * The function checks if the input is an acceptable table observer by verifying if it has a host with a tagName of 'VEGA-TABLE' and if the host is the parent of the current host.
3141
+ *
3142
+ * @param {unknown} input - The `input` parameter is of type `unknown`, which means it can be any type.
3143
+ * @returns {boolean} a boolean value indicating whether the input is an acceptable table observer.
3144
+ */
3145
+ function isAcceptableTableObserver(input) {
3146
+ return input['host']['tagName'] === 'VEGA-TABLE' && input['host'] === ui.findParent(this.host, 'vega-table');
3147
+ }
3148
+
3149
+ var __decorate$i = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3150
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3151
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3152
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
3153
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3154
+ };
3155
+ /**
3156
+ * The row selection controller for the expand row.
3157
+ */
3158
+ class VegaTableExpandRowSelectionController extends globalSlimmerRegistry.VegaSlimmer {
3159
+ /**
3160
+ * Component lifecycle - [connectedCallback]{@link VegaTableExpandRow.connectedCallback}
3161
+ */
3162
+ connectedCallback() {
3163
+ this.rowSelectionObserver = new observer.Observer(isAcceptableTableRowObserver.bind(this), (payload) => {
3164
+ if (payload.rowKey === this.rowKey) {
3165
+ this.checked = payload.checked;
3166
+ }
3167
+ });
3168
+ changeManager.ChangeManager.register(staticSubjectTitle.TABLE_ROW_SELECTION, this.rowSelectionObserver);
3169
+ }
3170
+ /**
3171
+ * Component lifecycle - [disconnectedCallback]{@link VegaTableExpandRow.disconnectedCallback}
3172
+ */
3173
+ disconnectedCallback() {
3174
+ changeManager.ChangeManager.unregister(staticSubjectTitle.TABLE_ROW_SELECTION, this.rowSelectionObserver);
3175
+ }
3176
+ }
3177
+ __decorate$i([
3178
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
3179
+ ], VegaTableExpandRowSelectionController.prototype, "checked", void 0);
3180
+ __decorate$i([
3181
+ globalSlimmerRegistry.MapToComponentField()
3182
+ ], VegaTableExpandRowSelectionController.prototype, "host", void 0);
3183
+ __decorate$i([
3184
+ globalSlimmerRegistry.MapToComponentField()
3185
+ ], VegaTableExpandRowSelectionController.prototype, "rowKey", void 0);
3186
+ __decorate$i([
3187
+ globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
3188
+ ], VegaTableExpandRowSelectionController.prototype, "connectedCallback", null);
3189
+ __decorate$i([
3190
+ globalSlimmerRegistry.MapToComponentMethod('disconnectedCallback')
3191
+ ], VegaTableExpandRowSelectionController.prototype, "disconnectedCallback", null);
3192
+
3193
+ var __decorate$h = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3194
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3195
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3196
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
3197
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3198
+ };
3199
+ /**
3200
+ * Controller for expand row state
3201
+ */
3202
+ class VegaTableExpandRowStateController extends subStateObserverSlimmer.SubStateObserverSlimmer {
3203
+ // eslint-disable-next-line jsdoc/require-jsdoc
3204
+ constructor() {
3205
+ super({
3206
+ parent: 'vega-table',
3207
+ subStates: [
3208
+ {
3209
+ subStateName: 'withMultipleSelection',
3210
+ parentStateName: 'rowSelection',
3211
+ // eslint-disable-next-line jsdoc/require-jsdoc
3212
+ callback: (rowSelection) => {
3213
+ if (rowSelection) {
3214
+ const { type = 'multiple' } = rowSelection;
3215
+ this.withMultipleSelection = type === 'multiple';
3216
+ }
3217
+ else {
3218
+ this.withMultipleSelection = false;
3219
+ }
3220
+ },
3221
+ },
3222
+ ],
3223
+ });
3224
+ }
3225
+ }
3226
+ __decorate$h([
3227
+ globalSlimmerRegistry.MapToComponentField()
3228
+ ], VegaTableExpandRowStateController.prototype, "host", void 0);
3229
+ __decorate$h([
3230
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
3231
+ ], VegaTableExpandRowStateController.prototype, "withMultipleSelection", void 0);
3232
+ __decorate$h([
3233
+ globalSlimmerRegistry.MapToComponentField()
3234
+ ], VegaTableExpandRowStateController.prototype, "vegaTableExpandRowColSpanController", void 0);
3235
+
3236
+ var __decorate$g = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3237
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3238
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3239
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
3240
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3241
+ };
3242
+ /*
3243
+ * The next line is covered in e2e-test
3244
+ * @see{should-render-responsive-columns-with-expandable-row-and-current-breakpoint-is-smaller-than-S}
3245
+ * @see{should-render-responsive-columns-with-expandable-row-and-current-breakpoint-changed}
3246
+ */
3247
+ /* istanbul ignore next */
3248
+ /**
3249
+ * The controller for expand row col span.
3250
+ */
3251
+ class VegaTableExpandRowColSpanController extends globalSlimmerRegistry.VegaSlimmer {
3252
+ constructor() {
3253
+ super(...arguments);
3254
+ /**
3255
+ * Update state colSpan
3256
+ */
3257
+ this.updateColSpan = () => {
3258
+ this.colSpan = generateColSpan(this.getVisibleColumnsNumber(), this.withMultipleSelection);
3259
+ };
3260
+ }
3261
+ /**
3262
+ * Update the expand row content col span when component will load
3263
+ */
3264
+ componentWillLoad() {
3265
+ this.updateColSpan();
3266
+ }
3267
+ /**
3268
+ * Update the expand row content col span when current breakpoint changed
3269
+ */
3270
+ watchCurrentBreakpoint() {
3271
+ this.updateColSpan();
3272
+ }
3273
+ /**
3274
+ * Update the expand row content col span when selection type changed
3275
+ */
3276
+ watchWithMultipleSelection() {
3277
+ this.updateColSpan();
3278
+ }
3279
+ /**
3280
+ * Get visual columns number, it will be changed by the breakpoints
3281
+ *
3282
+ * @returns {number} The visible columns number
3283
+ */
3284
+ getVisibleColumnsNumber() {
3285
+ const table = ui.findParent(this.host, 'vega-table');
3286
+ const currentBreakpoint = breakpoints.getCurrentBreakpoint();
3287
+ const isTemplateRenderMode = table.children &&
3288
+ Array.from(table.children).filter((item) => { var _a; return !((_a = item.getAttribute('slot')) === null || _a === void 0 ? void 0 : _a.startsWith('vega-table-expand-row-')); }).length > 0;
3289
+ const cells = isTemplateRenderMode
3290
+ ? table.querySelectorAll('vega-table-row:nth-of-type(1) vega-table-cell')
3291
+ : table.shadowRoot.querySelectorAll('vega-table-row:nth-of-type(1) vega-table-cell');
3292
+ return Array.from(cells).filter((cell) => {
3293
+ if (!cell.breakpoint)
3294
+ return true;
3295
+ if (currentBreakpoint === 'default')
3296
+ return false;
3297
+ return breakpoints$1.Breakpoints[currentBreakpoint] >= breakpoints$1.Breakpoints[cell.breakpoint];
3298
+ }).length;
3299
+ }
3300
+ }
3301
+ __decorate$g([
3302
+ globalSlimmerRegistry.MapToComponentField()
3303
+ ], VegaTableExpandRowColSpanController.prototype, "host", void 0);
3304
+ __decorate$g([
3305
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
3306
+ ], VegaTableExpandRowColSpanController.prototype, "colSpan", void 0);
3307
+ __decorate$g([
3308
+ globalSlimmerRegistry.MapToComponentField()
3309
+ ], VegaTableExpandRowColSpanController.prototype, "withMultipleSelection", void 0);
3310
+ __decorate$g([
3311
+ globalSlimmerRegistry.MapToComponentMethod('componentWillLoad')
3312
+ ], VegaTableExpandRowColSpanController.prototype, "componentWillLoad", null);
3313
+ __decorate$g([
3314
+ globalSlimmerRegistry.MapToComponentMethod('watchCurrentBreakpoint')
3315
+ ], VegaTableExpandRowColSpanController.prototype, "watchCurrentBreakpoint", null);
3316
+ __decorate$g([
3317
+ globalSlimmerRegistry.MapToComponentMethod('watchWithMultipleSelection')
3318
+ ], VegaTableExpandRowColSpanController.prototype, "watchWithMultipleSelection", null);
3319
+
3320
+ const vegaTableExpandRowCss = ":host{display:contents}:host([data-striped=striped]) .vega-table-expanded-row:not(.checked) td{background-color:rgba(var(--v-bg-secondary, 245, 247, 247, 1))}:host(.v-hidden){display:none}.vega-table-expanded-row{background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1))}.vega-table-expanded-row:not(.expanded){display:none}.vega-table-expanded-row.expanded td{border-bottom-width:1px;border-top-width:0px;border-right-width:0px;border-left-width:0px;border-style:solid;border-color:rgba(var(--v-border-color-input-field, 171, 198, 216, 1));padding:0px;vertical-align:middle}.vega-table-expanded-row.expanded td:first-of-type{border-left-width:1px;border-bottom-width:1px;border-top-left-radius:12px;border-bottom-left-radius:12px;border-top-left-radius:0px}.vega-table-expanded-row.expanded td:last-of-type{border-right-width:1px;border-bottom-width:1px;border-top-right-radius:12px;border-bottom-right-radius:12px;border-top-right-radius:0px}.vega-table-expanded-row.expanded td.vega-table-expanded-row-slot-container{border-top-width:1px;border-style:solid;border-color:rgba(var(--v-border-color-input-field, 171, 198, 216, 1))}.vega-table-expanded-row.expanded.checked{background-color:rgba(var(--v-bg-table-row-selected-expanded, 229, 239, 255, 1))}";
3321
+
3322
+ var __decorate$f = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3323
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3324
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
3325
+ r = Reflect.decorate(decorators, target, key, desc);
3326
+ else
3327
+ for (var i = decorators.length - 1; i >= 0; i--)
3328
+ if (d = decorators[i])
3329
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
3330
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3331
+ };
3332
+ const VegaTableExpandRow = class {
3333
+ constructor(hostRef) {
3334
+ index.registerInstance(this, hostRef);
3335
+ this.globalSlimmers = {};
3336
+ this.vegaTableExpandRowRenderer = new VegaTableExpandRowRenderer();
3337
+ this.vegaTableExpandRowExpandController = new VegaTableExpandRowExpandController();
3338
+ this.vegaTableExpandRowSelectionController = new VegaTableExpandRowSelectionController();
3339
+ this.vegaTableExpandRowStateController = new VegaTableExpandRowStateController();
3340
+ this.vegaTableExpandRowColSpanController = new VegaTableExpandRowColSpanController();
3341
+ this.pageResizeObserverSlimmer = new pageResizeObserverSlimmer.PageResizeObserverSlimmer();
3342
+ this.vegaComponentUsageRuntimeMetricsSlimmer = new componentUsageRuntimeMetrics.VegaComponentUsageRuntimeMetricsSlimmer();
3343
+ this.currentBreakpoint = breakpoints.getCurrentBreakpoint();
3344
+ /**
3345
+ * Indicates whether the row is expanded.
3346
+ */
3347
+ this.expanded = false;
3348
+ /**
3349
+ * Indicates whether the row's checkbox is checked.
3350
+ */
3351
+ this.checked = false;
3352
+ }
3353
+ /*
3354
+ * The next line is covered in e2e-test
3355
+ * @see{should-render-responsive-columns-with-expandable-row-and-current-breakpoint-changed}
3356
+ */
3357
+ /* istanbul ignore next */
3358
+ watchCurrentBreakpoint() {
3359
+ }
3360
+ watchWithMultipleSelection() {
3361
+ }
3362
+ render() {
3363
+ placeholder.slotPlaceholder(index.h("slot", null));
3364
+ return component.sanitizeVegaComponent(index.h(index.Host, null, this.vegaTableExpandRowRenderer.render()), this.host);
3365
+ }
3366
+ get host() { return index.getElement(this); }
3367
+ static get watchers() { return {
3368
+ "currentBreakpoint": ["watchCurrentBreakpoint"],
3369
+ "withMultipleSelection": ["watchWithMultipleSelection"]
3370
+ }; }
3371
+ };
3372
+ __decorate$f([
3373
+ componentUsageRuntimeMetrics.InjectVegaGlobalSlimmer()
3374
+ ], VegaTableExpandRow.prototype, "globalSlimmers", void 0);
3375
+ __decorate$f([
3376
+ globalSlimmerRegistry.InjectVegaSlimmer()
3377
+ ], VegaTableExpandRow.prototype, "vegaTableExpandRowRenderer", void 0);
3378
+ __decorate$f([
3379
+ globalSlimmerRegistry.InjectVegaSlimmer()
3380
+ ], VegaTableExpandRow.prototype, "vegaTableExpandRowExpandController", void 0);
3381
+ __decorate$f([
3382
+ globalSlimmerRegistry.InjectVegaSlimmer()
3383
+ ], VegaTableExpandRow.prototype, "vegaTableExpandRowSelectionController", void 0);
3384
+ __decorate$f([
3385
+ globalSlimmerRegistry.InjectVegaSlimmer()
3386
+ ], VegaTableExpandRow.prototype, "vegaTableExpandRowStateController", void 0);
3387
+ __decorate$f([
3388
+ globalSlimmerRegistry.InjectVegaSlimmer()
3389
+ ], VegaTableExpandRow.prototype, "vegaTableExpandRowColSpanController", void 0);
3390
+ __decorate$f([
3391
+ globalSlimmerRegistry.InjectVegaSlimmer()
3392
+ ], VegaTableExpandRow.prototype, "pageResizeObserverSlimmer", void 0);
3393
+ __decorate$f([
3394
+ globalSlimmerRegistry.InjectVegaSlimmer()
3395
+ ], VegaTableExpandRow.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
3396
+ VegaTableExpandRow.style = vegaTableExpandRowCss;
3397
+
3398
+ var __decorate$e = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3399
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3400
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3401
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
3402
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3403
+ };
3404
+ /**
3405
+ * Controller for the table head states.
3406
+ */
3407
+ class VegaTableHeadStateController extends subStateObserverSlimmer.SubStateObserverSlimmer {
3408
+ // eslint-disable-next-line jsdoc/require-jsdoc
3409
+ constructor() {
3410
+ super({
3411
+ parent: 'vega-table',
3412
+ subStates: [
3413
+ {
3414
+ subStateName: 'fixed',
3415
+ parentStateName: 'scrollConfig',
3416
+ // eslint-disable-next-line jsdoc/require-jsdoc
3417
+ callback: (scrollConfig) => {
3418
+ this.fixed =
3419
+ scrollConfig && scrollConfig.maxHeight && scrollConfig.fixedHeader !== false;
3420
+ },
3421
+ },
3422
+ ],
3423
+ });
3424
+ }
3425
+ }
3426
+ __decorate$e([
3427
+ globalSlimmerRegistry.MapToComponentField()
3428
+ ], VegaTableHeadStateController.prototype, "host", void 0);
3429
+ __decorate$e([
3430
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
3431
+ ], VegaTableHeadStateController.prototype, "fixed", void 0);
3432
+
3433
+ const vegaTableHeadCss = ":host{display:table-header-group;border-top-right-radius:12px;border-bottom-right-radius:12px;border-top-left-radius:12px;border-bottom-left-radius:12px}:host thead{display:contents}:host(.fixed-header){position:sticky;top:0px}";
3434
+
3435
+ var __decorate$d = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3436
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3437
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
3438
+ r = Reflect.decorate(decorators, target, key, desc);
3439
+ else
3440
+ for (var i = decorators.length - 1; i >= 0; i--)
3441
+ if (d = decorators[i])
3442
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
3443
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3444
+ };
3445
+ const VegaTableHead = class {
3446
+ constructor(hostRef) {
3447
+ index.registerInstance(this, hostRef);
3448
+ this.globalSlimmers = {};
3449
+ this.vegaTableHeadStateController = new VegaTableHeadStateController();
3450
+ this.vegaComponentUsageRuntimeMetricsSlimmer = new componentUsageRuntimeMetrics.VegaComponentUsageRuntimeMetricsSlimmer();
3451
+ this.headCellEventPrevent = new childNodesEventPreventSlimmer.ChildNodesEventPreventSlimmer([vegaEventId.VegaChange], () => this.host);
3452
+ /**
3453
+ * Indicates whether the table header is fixed.
3454
+ */
3455
+ this.fixed = false;
3456
+ this.handleTableHeadRefChange = (ref) => {
3457
+ if (this.tableHeadRef) {
3458
+ internalVegaZIndexManager.InternalVegaZIndexManager.removeZIndex(this.tableHeadRef, 'base');
3459
+ }
3460
+ if (this.fixed) {
3461
+ internalVegaZIndexManager.InternalVegaZIndexManager.setZIndex(ref, 'base');
3462
+ }
3463
+ this.tableHeadRef = ref;
3464
+ };
3465
+ }
3466
+ disconnectedCallback() {
3467
+ internalVegaZIndexManager.InternalVegaZIndexManager.removeZIndex(this.tableHeadRef, 'base');
3468
+ }
3469
+ render() {
3470
+ return component.sanitizeVegaComponent(index.h(index.Host, { class: {
3471
+ 'fixed-header': this.fixed,
3472
+ }, ref: (ref) => this.handleTableHeadRefChange(ref) }, index.h("thead", null, index.h("slot", null))), this.host);
3473
+ }
3474
+ get host() { return index.getElement(this); }
3475
+ };
3476
+ __decorate$d([
3477
+ componentUsageRuntimeMetrics.InjectVegaGlobalSlimmer()
3478
+ ], VegaTableHead.prototype, "globalSlimmers", void 0);
3479
+ __decorate$d([
3480
+ globalSlimmerRegistry.InjectVegaSlimmer()
3481
+ ], VegaTableHead.prototype, "vegaTableHeadStateController", void 0);
3482
+ __decorate$d([
3483
+ globalSlimmerRegistry.InjectVegaSlimmer()
3484
+ ], VegaTableHead.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
3485
+ __decorate$d([
3486
+ globalSlimmerRegistry.InjectVegaSlimmer()
3487
+ ], VegaTableHead.prototype, "headCellEventPrevent", void 0);
3488
+ VegaTableHead.style = vegaTableHeadCss;
3489
+
3490
+ var __decorate$c = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3491
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3492
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3493
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
3494
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3495
+ };
3496
+ /**
3497
+ * Controller for the table row states
3498
+ */
3499
+ class VegaTableHeadCellStateController extends subStateObserverSlimmer.SubStateObserverSlimmer {
3500
+ // eslint-disable-next-line jsdoc/require-jsdoc
3501
+ constructor() {
3502
+ super({
3503
+ parent: 'vega-table',
3504
+ subStates: [
3505
+ {
3506
+ subStateName: 'density',
3507
+ parentStateName: 'density',
3508
+ },
3509
+ ],
3510
+ });
3511
+ }
3512
+ }
3513
+ __decorate$c([
3514
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
3515
+ ], VegaTableHeadCellStateController.prototype, "density", void 0);
3516
+
3517
+ const arrowUpArrowDown = {
3518
+ icon: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path fill="currentColor" d="M489 377c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-55 55V56c0-13.3-10.7-24-24-24s-24 10.7-24 24V398.1l-55-55c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l96 96c9.4 9.4 24.6 9.4 33.9 0l96-96zM137 39c-9.4-9.4-24.6-9.4-33.9 0L7 135c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l55-55V456c0 13.3 10.7 24 24 24s24-10.7 24-24V113.9l55 55c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L137 39z"/></svg>`,
3519
+ };
3520
+
3521
+ const circleArrowDown = {
3522
+ icon: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path fill="currentColor" d="M256 0a256 256 0 1 0 0 512A256 256 0 1 0 256 0zM127 281c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l71 71L232 136c0-13.3 10.7-24 24-24s24 10.7 24 24l0 182.1 71-71c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L273 393c-9.4 9.4-24.6 9.4-33.9 0L127 281z"/></svg>`,
3523
+ };
3524
+
3525
+ const circleArrowUp = {
3526
+ icon: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path fill="currentColor" d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM385 231c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-71-71V376c0 13.3-10.7 24-24 24s-24-10.7-24-24V193.9l-71 71c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9L239 119c9.4-9.4 24.6-9.4 33.9 0L385 231z"/></svg>`,
3527
+ };
3528
+
3529
+ var __decorate$b = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3530
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3531
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3532
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
3533
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3534
+ };
3535
+ class SortIconRenderer extends globalSlimmerRegistry.VegaSlimmer {
3536
+ render() {
3537
+ if (!this.sorter)
3538
+ return;
3539
+ const { icon, color } = SortIconRenderer.SORT_ICON_MAP[this.sortOrder || 'default'];
3540
+ return (index.h("span", { class: "vega-table-column-sorter" },
3541
+ index.h("vega-icon", { color: color, icon: internalIconManager.VegaInternalIconManager.getIconKey(icon), size: "size-12" })));
3542
+ }
3543
+ }
3544
+ SortIconRenderer.SORT_ICON_MAP = {
3545
+ asc: {
3546
+ icon: 'circle-arrow-up',
3547
+ color: 'text-link',
3548
+ },
3549
+ desc: {
3550
+ icon: 'circle-arrow-down',
3551
+ color: 'text-link',
3552
+ },
3553
+ default: {
3554
+ icon: 'arrow-up-arrow-down',
3555
+ color: 'text-secondary',
3556
+ },
3557
+ };
3558
+ __decorate$b([
3559
+ globalSlimmerRegistry.MapToComponentField()
3560
+ ], SortIconRenderer.prototype, "sorter", void 0);
3561
+ __decorate$b([
3562
+ globalSlimmerRegistry.MapToComponentField()
3563
+ ], SortIconRenderer.prototype, "sortOrder", void 0);
3564
+
3565
+ const vegaTableHeadCellCss = ":host(.v-hidden){display:none}@media (min-width: 320px){:host(.S\\:v-table-cell){display:table-cell}}@media (min-width: 768px){:host(.M\\:v-table-cell){display:table-cell}}@media (min-width: 1024px){:host(.L\\:v-table-cell){display:table-cell}}@media (min-width: 1440px){:host(.XL\\:v-table-cell){display:table-cell}}:host{display:table-cell;background-color:rgba(var(--v-bg-table-header, 240, 243, 247, 1));color:rgba(var(--v-text-primary, 32, 54, 69, 1));text-align:left;vertical-align:middle}:host(.sortable){cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.sortable:hover){background-color:rgba(var(--v-bg-table-row-hover, 241, 248, 251, 1))}th{display:block;padding:0px;padding:12px;font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px;overflow-wrap:break-word}@media screen and (min-width: 768px) and (max-width: 1023px){th{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){th{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){th{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px}}th.break-word{word-break:break-word}.vega-table-column{display:flex;align-items:center}.vega-table-column.center{justify-content:center}.vega-table-column.right{justify-content:flex-end}.vega-table-column.left{justify-content:flex-start}.vega-table-column .vega-table-column-label{min-width:0px}.vega-table-column .vega-table-column-sorter{display:flex;align-items:center;justify-content:center;padding:2px;margin-left:8px;cursor:pointer;outline:none}:host(.density-default) .vega-table-cell{padding:12px}:host(.density-compact) .vega-table-cell{padding:4px}:host(.density-relaxed) .vega-table-cell{padding:16px}";
3566
+
3567
+ var __decorate$a = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3568
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3569
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
3570
+ r = Reflect.decorate(decorators, target, key, desc);
3571
+ else
3572
+ for (var i = decorators.length - 1; i >= 0; i--)
3573
+ if (d = decorators[i])
3574
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
3575
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3576
+ };
3577
+ const VegaTableHeadCell = class {
3578
+ constructor(hostRef) {
3579
+ index.registerInstance(this, hostRef);
3580
+ this.vegaClick = index.createEvent(this, "vegaClick", 7);
3581
+ this.click = index.createEvent(this, "click", 7);
3582
+ this.globalSlimmers = {};
3583
+ this.clickEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaTableHeadCell, vegaEventId.VegaClick);
3584
+ this.vegaTableHeadCellStateController = new VegaTableHeadCellStateController();
3585
+ this.pageResizeObserverSlimmer = new pageResizeObserverSlimmer.PageResizeObserverSlimmer();
3586
+ this.vegaComponentUsageRuntimeMetricsSlimmer = new componentUsageRuntimeMetrics.VegaComponentUsageRuntimeMetricsSlimmer();
3587
+ this.sortIconRenderer = new SortIconRenderer();
3588
+ this.currentBreakpoint = breakpoints.getCurrentBreakpoint();
3589
+ this.handleSort = (e) => {
3590
+ this.sortOrder = this.getNextSortOrder(this.sortOrder);
3591
+ this.clickEventEmitter.emit({ sortOrder: this.sortOrder }, e);
3592
+ };
3593
+ /**
3594
+ * Get the next sorter order
3595
+ *
3596
+ * @param {string} sortOrder - The prop name of which sorter is sorted by
3597
+ * @returns {Nullable<'desc' | 'asc'>} Return the next sorter order
3598
+ */
3599
+ this.getNextSortOrder = (sortOrder) => {
3600
+ let nextSortOrder;
3601
+ switch (sortOrder) {
3602
+ case 'desc':
3603
+ nextSortOrder = 'asc';
3604
+ break;
3605
+ case 'asc':
3606
+ nextSortOrder = null;
3607
+ break;
3608
+ default:
3609
+ nextSortOrder = 'desc';
3610
+ break;
3611
+ }
3612
+ return nextSortOrder;
3613
+ };
3614
+ }
3615
+ render() {
3616
+ const sortableConfig = this.sorter
3617
+ ? {
3618
+ role: 'button',
3619
+ onKeyDown: accessibility.createEnterKeyHandlerToTriggerClick(),
3620
+ tabIndex: 0,
3621
+ onClick: (e) => this.handleSort(e),
3622
+ }
3623
+ : null;
3624
+ const cellClassNames = ['vega-table-cell'];
3625
+ if (!featureFlagController.FeatureFlag.isEnabled('VEGA_TABLE.ENABLE_NEW_CELL_BREAK_WORDS_STYLE')) {
3626
+ cellClassNames.push('break-word');
3627
+ }
3628
+ return component.sanitizeVegaComponent(index.h(index.Host, { class: {
3629
+ [`density-${responsiveFormatFacade.ResponsiveFormatFacade.formatCustom(this.density)}`]: true,
3630
+ sortable: !!this.sorter,
3631
+ [generateResponsiveClass(this.breakpoint, 'v-table-cell')]: true,
3632
+ }, style: { width: this.width } }, index.h("th", Object.assign({ class: ui.arrayToClassString(cellClassNames) }, sortableConfig), index.h("div", { class: ui.arrayToClassString(['vega-table-column', this.textAlign]) }, index.h("span", { class: "vega-table-column-label" }, index.h("slot", null)), this.sortIconRenderer.render()))), this.host);
3633
+ }
3634
+ get host() { return index.getElement(this); }
3635
+ };
3636
+ (() => {
3637
+ internalIconManager.VegaInternalIconManager.register({
3638
+ 'chevron-up': chevronDown.chevronUp,
3639
+ 'chevron-down': chevronDown.chevronDown,
3640
+ 'arrow-up-arrow-down': arrowUpArrowDown,
3641
+ 'circle-arrow-down': circleArrowDown,
3642
+ 'circle-arrow-up': circleArrowUp,
3643
+ });
3644
+ })();
3645
+ __decorate$a([
3646
+ componentUsageRuntimeMetrics.InjectVegaGlobalSlimmer()
3647
+ ], VegaTableHeadCell.prototype, "globalSlimmers", void 0);
3648
+ __decorate$a([
3649
+ globalSlimmerRegistry.InjectVegaSlimmer()
3650
+ ], VegaTableHeadCell.prototype, "clickEventEmitter", void 0);
3651
+ __decorate$a([
3652
+ globalSlimmerRegistry.InjectVegaSlimmer()
3653
+ ], VegaTableHeadCell.prototype, "vegaTableHeadCellStateController", void 0);
3654
+ __decorate$a([
3655
+ globalSlimmerRegistry.InjectVegaSlimmer()
3656
+ ], VegaTableHeadCell.prototype, "pageResizeObserverSlimmer", void 0);
3657
+ __decorate$a([
3658
+ globalSlimmerRegistry.InjectVegaSlimmer()
3659
+ ], VegaTableHeadCell.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
3660
+ __decorate$a([
3661
+ globalSlimmerRegistry.InjectVegaSlimmer()
3662
+ ], VegaTableHeadCell.prototype, "sortIconRenderer", void 0);
3663
+ VegaTableHeadCell.style = vegaTableHeadCellCss;
3664
+
3665
+ var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3666
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3667
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3668
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
3669
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3670
+ };
3671
+ class VegaTableHeadRowRenderer extends globalSlimmerRegistry.VegaSlimmer {
3672
+ constructor() {
3673
+ super(...arguments);
3674
+ this.renderHeaderSelectionCell = () => {
3675
+ if (this.selectionType !== 'multiple')
3676
+ return;
3677
+ return (index.h("th", { class: "vega-table-selection-column" }, !this.hideSelectAll && (index.h("div", { class: "vega-table-checkbox-wrapper" },
3678
+ index.h("vega-checkbox", { size: "small", disabled: this.isEmptyTable || this.selectAllDisabled, checked: this.checkedAll, onClick: this.handleClick,
3679
+ /* eslint-disable-next-line react/jsx-no-bind */
3680
+ ref: (ref) => {
3681
+ domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, vegaEventId.VegaChange, this.handleSelectAll);
3682
+ } })))));
3683
+ };
3684
+ this.handleSelectAll = (input) => {
3685
+ if (input.eventName === 'vegaChange') {
3686
+ const checked = input.detail;
3687
+ if (typeGuard.isNonNullable(checked) && checked !== this.checkedAll) {
3688
+ changeManager.ChangeManager.notify(staticSubjectTitle.TABLE_ROW_SELECTION_ALL, {
3689
+ host: this.host,
3690
+ checked: checked,
3691
+ });
3692
+ }
3693
+ }
3694
+ };
3695
+ this.renderHeaderExpandableCell = () => {
3696
+ return this.expandable && index.h("th", { class: "vega-table-expand-action-column" });
3697
+ };
3698
+ this.handleClick = (e) => {
3699
+ e.stopPropagation();
3700
+ const event = remoteInvocationRegistry.remoteInvocationRegistry.call(domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubject(ui.findParent(this.host, 'vega-table'), vegaInternalEventId.VegaInternalTableRowSelectAll), {
3701
+ host: this.host,
3702
+ checked: !this.checkedAll,
3703
+ });
3704
+ if (event.defaultPrevented) {
3705
+ e.preventDefault();
3706
+ }
3707
+ };
3708
+ }
3709
+ /**
3710
+ * Used by {@link currentDataObserver}
3711
+ */
3712
+ connectedCallback() {
3713
+ }
3714
+ /**
3715
+ * Used by {@link currentDataObserver}
3716
+ */
3717
+ disconnectedCallback() {
3718
+ }
3719
+ /**
3720
+ * Used by {@link currentDataObserver}
3721
+ */
3722
+ componentDidLoad() {
3723
+ }
3724
+ render() {
3725
+ var _a, _b;
3726
+ return (index.h("tr", null,
3727
+ index.h("th", { style: { width: (_a = this.paddingX) === null || _a === void 0 ? void 0 : _a[0] } }),
3728
+ this.renderHeaderSelectionCell(),
3729
+ index.h("slot", null),
3730
+ this.renderHeaderExpandableCell(),
3731
+ index.h("th", { style: { width: (_b = this.paddingX) === null || _b === void 0 ? void 0 : _b[1] } })));
3732
+ }
3733
+ }
3734
+ __decorate$9([
3735
+ globalSlimmerRegistry.MapToComponentField()
3736
+ ], VegaTableHeadRowRenderer.prototype, "host", void 0);
3737
+ __decorate$9([
3738
+ globalSlimmerRegistry.MapToComponentField()
3739
+ ], VegaTableHeadRowRenderer.prototype, "paddingX", void 0);
3740
+ __decorate$9([
3741
+ globalSlimmerRegistry.MapToComponentField()
3742
+ ], VegaTableHeadRowRenderer.prototype, "selectionType", void 0);
3743
+ __decorate$9([
3744
+ globalSlimmerRegistry.MapToComponentField()
3745
+ ], VegaTableHeadRowRenderer.prototype, "hideSelectAll", void 0);
3746
+ __decorate$9([
3747
+ globalSlimmerRegistry.MapToComponentField()
3748
+ ], VegaTableHeadRowRenderer.prototype, "selectAllDisabled", void 0);
3749
+ __decorate$9([
3750
+ globalSlimmerRegistry.MapToComponentField()
3751
+ ], VegaTableHeadRowRenderer.prototype, "checkedAll", void 0);
3752
+ __decorate$9([
3753
+ globalSlimmerRegistry.MapToComponentField()
3754
+ ], VegaTableHeadRowRenderer.prototype, "expandable", void 0);
3755
+ __decorate$9([
3756
+ globalSlimmerRegistry.MapToComponentField()
3757
+ ], VegaTableHeadRowRenderer.prototype, "isEmptyTable", void 0);
3758
+ __decorate$9([
3759
+ globalSlimmerRegistry.MapToComponentField()
3760
+ ], VegaTableHeadRowRenderer.prototype, "isTemplateRenderMode", void 0);
3761
+ __decorate$9([
3762
+ globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
3763
+ ], VegaTableHeadRowRenderer.prototype, "connectedCallback", null);
3764
+ __decorate$9([
3765
+ globalSlimmerRegistry.MapToComponentMethod('disconnectedCallback')
3766
+ ], VegaTableHeadRowRenderer.prototype, "disconnectedCallback", null);
3767
+ __decorate$9([
3768
+ globalSlimmerRegistry.MapToComponentMethod('componentDidLoad')
3769
+ ], VegaTableHeadRowRenderer.prototype, "componentDidLoad", null);
3770
+
3771
+ var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3772
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3773
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3774
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
3775
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3776
+ };
3777
+ /**
3778
+ *
3779
+ */
3780
+ class VegaTableHeadRowController extends globalSlimmerRegistry.VegaSlimmer {
3781
+ /**
3782
+ * Component lifecycle - [connectedCallback]{@link VegaTableHeadRow.connectedCallback}
3783
+ */
3784
+ connectedCallback() {
3785
+ this.initRowSelectionAllObserver();
3786
+ }
3787
+ /**
3788
+ * Component lifecycle - [disconnectedCallback]{@link VegaTableHeadRow.disconnectedCallback}
3789
+ */
3790
+ disconnectedCallback() {
3791
+ changeManager.ChangeManager.unregister(staticSubjectTitle.TABLE_ROW_SELECTION_ALL, this.rowSelectionAllObserver);
3792
+ }
3793
+ /**
3794
+ * Initialize the row selection all observer.
3795
+ */
3796
+ initRowSelectionAllObserver() {
3797
+ this.rowSelectionAllObserver = new observer.Observer(isAcceptableTableObserver.bind({ host: this.host }), (payload) => {
3798
+ if (!payload.noneChecked && payload.checked === false) {
3799
+ this.checkedAll = null; // indeterminate status
3800
+ }
3801
+ else {
3802
+ this.checkedAll = payload.checked;
3803
+ }
3804
+ });
3805
+ changeManager.ChangeManager.register(staticSubjectTitle.TABLE_ROW_SELECTION_ALL, this.rowSelectionAllObserver);
3806
+ }
3807
+ }
3808
+ __decorate$8([
3809
+ globalSlimmerRegistry.MapToComponentField()
3810
+ ], VegaTableHeadRowController.prototype, "host", void 0);
3811
+ __decorate$8([
3812
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
3813
+ ], VegaTableHeadRowController.prototype, "checkedAll", void 0);
3814
+ __decorate$8([
3815
+ globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
3816
+ ], VegaTableHeadRowController.prototype, "connectedCallback", null);
3817
+ __decorate$8([
3818
+ globalSlimmerRegistry.MapToComponentMethod('disconnectedCallback')
3819
+ ], VegaTableHeadRowController.prototype, "disconnectedCallback", null);
3820
+
3821
+ var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3822
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3823
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3824
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
3825
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3826
+ };
3827
+ /**
3828
+ * Controller for the table head row
3829
+ */
3830
+ class VegaTableHeadRowStateController extends subStateObserverSlimmer.SubStateObserverSlimmer {
3831
+ // eslint-disable-next-line jsdoc/require-jsdoc
3832
+ constructor() {
3833
+ super({
3834
+ parent: 'vega-table',
3835
+ subStates: [
3836
+ {
3837
+ subStateName: 'expandable',
3838
+ parentStateName: 'rowExpandable',
3839
+ },
3840
+ {
3841
+ subStateName: 'paddingX',
3842
+ parentStateName: 'paddingX',
3843
+ // eslint-disable-next-line jsdoc/require-jsdoc
3844
+ callback: (value) => {
3845
+ const table = ui.findParent(this.host, 'vega-table');
3846
+ if (table.dataSource.length === 0 || table.columns.length === 0) {
3847
+ this.paddingX = value;
3848
+ }
3849
+ },
3850
+ },
3851
+ {
3852
+ subStateName: 'selectionType',
3853
+ parentStateName: 'rowSelection',
3854
+ // eslint-disable-next-line jsdoc/require-jsdoc
3855
+ callback: (rowSelection) => {
3856
+ this.updateSelectionType(rowSelection);
3857
+ },
3858
+ },
3859
+ {
3860
+ subStateName: 'columnDivider',
3861
+ parentStateName: 'columnDivider',
3862
+ },
3863
+ {
3864
+ subStateName: 'density',
3865
+ parentStateName: 'density',
3866
+ },
3867
+ {
3868
+ subStateName: 'isTemplateRenderMode',
3869
+ parentStateName: 'isTemplateRenderMode',
3870
+ },
3871
+ {
3872
+ subStateName: 'isEmptyTable',
3873
+ parentStateName: 'currentData',
3874
+ // eslint-disable-next-line jsdoc/require-jsdoc
3875
+ callback: (currentData) => {
3876
+ this.isEmptyTable = currentData.length === 0;
3877
+ },
3878
+ },
3879
+ ],
3880
+ });
3881
+ /**
3882
+ * Update the selection config with the new config
3883
+ *
3884
+ * @param {VegaTableRowSelectionConfig} rowSelection - The updated row selection config.
3885
+ */
3886
+ this.updateSelectionType = (rowSelection) => {
3887
+ if (rowSelection) {
3888
+ const { type = 'multiple' } = rowSelection;
3889
+ this.selectionType = type;
3890
+ }
3891
+ else {
3892
+ this.selectionType = null;
3893
+ }
3894
+ };
3895
+ }
3896
+ }
3897
+ __decorate$7([
3898
+ globalSlimmerRegistry.MapToComponentField()
3899
+ ], VegaTableHeadRowStateController.prototype, "host", void 0);
3900
+ __decorate$7([
3901
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
3902
+ ], VegaTableHeadRowStateController.prototype, "expandable", void 0);
3903
+ __decorate$7([
3904
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
3905
+ ], VegaTableHeadRowStateController.prototype, "selectionType", void 0);
3906
+ __decorate$7([
3907
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
3908
+ ], VegaTableHeadRowStateController.prototype, "paddingX", void 0);
3909
+ __decorate$7([
3910
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
3911
+ ], VegaTableHeadRowStateController.prototype, "columnDivider", void 0);
3912
+ __decorate$7([
3913
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
3914
+ ], VegaTableHeadRowStateController.prototype, "density", void 0);
3915
+ __decorate$7([
3916
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
3917
+ ], VegaTableHeadRowStateController.prototype, "isTemplateRenderMode", void 0);
3918
+ __decorate$7([
3919
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
3920
+ ], VegaTableHeadRowStateController.prototype, "isEmptyTable", void 0);
3921
+
3922
+ const vegaTableHeadRowCss = ":host{display:table-row}:host tr{display:contents}th{background-color:rgba(var(--v-bg-table-header, 240, 243, 247, 1));padding:0px;vertical-align:middle}th:first-of-type{border-top-left-radius:12px;border-bottom-left-radius:12px}th:last-of-type{border-top-right-radius:12px;border-bottom-right-radius:12px}:host(.column-divider) ::slotted(vega-table-head-cell:not(:last-of-type)){border-color:rgba(var(--v-border-color-divider, 171, 198, 216, 1));border-right-width:1px;border-right-style:solid}.vega-table-checkbox-wrapper{display:flex;align-items:center;justify-content:center}:host(.density-default) th:first-of-type{border-top-left-radius:12px;border-bottom-left-radius:12px}:host(.density-default) th:last-of-type{border-top-right-radius:12px;border-bottom-right-radius:12px}:host(.density-compact) th:first-of-type{border-top-left-radius:4px;border-bottom-left-radius:4px}:host(.density-compact) th:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px}:host(.density-relaxed) th:first-of-type{border-top-left-radius:12px;border-bottom-left-radius:12px}:host(.density-relaxed) th:last-of-type{border-top-right-radius:12px;border-bottom-right-radius:12px}.vega-table-expand-action-column{width:40px;min-width:40px}.vega-table-selection-column{width:40px;min-width:40px}";
3923
+
3924
+ var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3925
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3926
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
3927
+ r = Reflect.decorate(decorators, target, key, desc);
3928
+ else
3929
+ for (var i = decorators.length - 1; i >= 0; i--)
3930
+ if (d = decorators[i])
3931
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
3932
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3933
+ };
3934
+ const VegaTableHeadRow = class {
3935
+ constructor(hostRef) {
3936
+ index.registerInstance(this, hostRef);
3937
+ this.globalSlimmers = {};
3938
+ this.vegaTableHeadRowStateController = new VegaTableHeadRowStateController();
3939
+ this.vegaTableHeadRowRenderer = new VegaTableHeadRowRenderer();
3940
+ this.vegaTableHeadRowController = new VegaTableHeadRowController();
3941
+ this.headCellEventPrevent = new childNodesEventPreventSlimmer.ChildNodesEventPreventSlimmer([vegaEventId.VegaClick], () => this.host, undefined, true);
3942
+ this.pageResizeObserverSlimmer = new pageResizeObserverSlimmer.PageResizeObserverSlimmer();
3943
+ this.vegaComponentUsageRuntimeMetricsSlimmer = new componentUsageRuntimeMetrics.VegaComponentUsageRuntimeMetricsSlimmer();
3944
+ this.currentBreakpoint = breakpoints.getCurrentBreakpoint();
3945
+ /**
3946
+ * Indicates whether the row is expandable.
3947
+ */
3948
+ this.expandable = false;
3949
+ }
3950
+ render() {
3951
+ placeholder.slotPlaceholder(index.h("slot", null));
3952
+ return component.sanitizeVegaComponent(index.h(index.Host, { class: {
3953
+ 'column-divider': this.columnDivider,
3954
+ [`density-${responsiveFormatFacade.ResponsiveFormatFacade.formatCustom(this.density)}`]: true,
3955
+ } }, this.vegaTableHeadRowRenderer.render()), this.host);
3956
+ }
3957
+ get host() { return index.getElement(this); }
3958
+ };
3959
+ __decorate$6([
3960
+ componentUsageRuntimeMetrics.InjectVegaGlobalSlimmer()
3961
+ ], VegaTableHeadRow.prototype, "globalSlimmers", void 0);
3962
+ __decorate$6([
3963
+ globalSlimmerRegistry.InjectVegaSlimmer()
3964
+ ], VegaTableHeadRow.prototype, "vegaTableHeadRowStateController", void 0);
3965
+ __decorate$6([
3966
+ globalSlimmerRegistry.InjectVegaSlimmer()
3967
+ ], VegaTableHeadRow.prototype, "vegaTableHeadRowRenderer", void 0);
3968
+ __decorate$6([
3969
+ globalSlimmerRegistry.InjectVegaSlimmer()
3970
+ ], VegaTableHeadRow.prototype, "vegaTableHeadRowController", void 0);
3971
+ __decorate$6([
3972
+ globalSlimmerRegistry.InjectVegaSlimmer()
3973
+ ], VegaTableHeadRow.prototype, "headCellEventPrevent", void 0);
3974
+ __decorate$6([
3975
+ globalSlimmerRegistry.InjectVegaSlimmer()
3976
+ ], VegaTableHeadRow.prototype, "pageResizeObserverSlimmer", void 0);
3977
+ __decorate$6([
3978
+ globalSlimmerRegistry.InjectVegaSlimmer()
3979
+ ], VegaTableHeadRow.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
3980
+ VegaTableHeadRow.style = vegaTableHeadRowCss;
3981
+
3982
+ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3983
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3984
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3985
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
3986
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3987
+ };
3988
+ class VegaTableRowRenderer extends globalSlimmerRegistry.VegaSlimmer {
3989
+ constructor() {
3990
+ super(...arguments);
3991
+ this.renderRowSelection = () => {
3992
+ if (this.selectionType !== 'multiple')
3993
+ return;
3994
+ return (index.h("td", { class: "vega-table-selection-column" },
3995
+ index.h("div", { class: "vega-table-checkbox-wrapper" },
3996
+ index.h("vega-checkbox", { size: "small", checked: this.checked,
3997
+ /* eslint-disable-next-line react/jsx-no-bind */
3998
+ onClick: this.handleClick,
3999
+ /* eslint-disable-next-line react/jsx-no-bind */
4000
+ ref: (ref) => {
4001
+ domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, vegaEventId.VegaChange, this.onRowSelectionChange);
4002
+ } }))));
4003
+ };
4004
+ this.renderExpandIcon = () => {
4005
+ return (this.expandable && (index.h("td", { class: "vega-table-expand-action-column" },
4006
+ index.h("div", { class: "vega-table-expand-icon-wrapper" },
4007
+ index.h("vega-icon", { icon: internalIconManager.VegaInternalIconManager.getIconKey('chevron-down'), color: "text-link", onClick: this.onExpandIconClick })))));
4008
+ };
4009
+ this.onRowClick = () => {
4010
+ this.vegaTableRowClickController.handleRowClick();
4011
+ };
4012
+ this.onRowSelectionChange = (input) => {
4013
+ if (input.eventName === 'vegaChange') {
4014
+ this.vegaTableRowSelectionController.handleRowSelect(input.detail);
4015
+ }
4016
+ };
4017
+ this.handleClick = (e) => {
4018
+ e.stopPropagation();
4019
+ const rowSelectEvent = remoteInvocationRegistry.remoteInvocationRegistry.call(domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubject(this.parentTableRef, vegaInternalEventId.VegaInternalTableRowSelect), {
4020
+ host: this.host,
4021
+ rowKey: this.rowKey,
4022
+ checked: !this.checked,
4023
+ });
4024
+ if (rowSelectEvent.defaultPrevented) {
4025
+ e.preventDefault();
4026
+ }
4027
+ };
4028
+ this.onExpandIconClick = async (e) => {
4029
+ e.stopPropagation();
4030
+ const expandEvent = this.expandEventEmitter.emit({
4031
+ expanded: !this.expanded,
4032
+ rowKey: this.rowKey,
4033
+ });
4034
+ if (expandEvent && !expandEvent.defaultPrevented) {
4035
+ this.vegaTableRowExpandController.handleExpandIconClick();
4036
+ }
4037
+ };
4038
+ }
4039
+ connectedCallback() {
4040
+ this.setParentTableRef();
4041
+ }
4042
+ getParentTableRef() {
4043
+ return this.parentTableRef;
4044
+ }
4045
+ render() {
4046
+ var _a, _b;
4047
+ return (index.h(index.Fragment, null,
4048
+ this.renderExpandRowSpace(this.rowKey),
4049
+ index.h("tr", { class: {
4050
+ 'vega-table-row': true,
4051
+ 'checked': this.checked,
4052
+ 'clickable': this.clickable,
4053
+ 'current-clicked-row': this.clicked,
4054
+ 'expand-row': this.expanded,
4055
+ },
4056
+ /* eslint-disable-next-line react/jsx-no-bind */
4057
+ onClick: this.clickable ? this.onRowClick : null },
4058
+ index.h("td", { style: { width: (_a = this.paddingX) === null || _a === void 0 ? void 0 : _a[0] } }),
4059
+ this.renderRowSelection(),
4060
+ index.h("slot", null),
4061
+ this.renderExpandIcon(),
4062
+ index.h("td", { style: { width: (_b = this.paddingX) === null || _b === void 0 ? void 0 : _b[1] } }))));
4063
+ }
4064
+ renderExpandRowSpace(rowKey) {
4065
+ return (this.expandable && (index.h("tr", { key: `vega-table-expand-row-space-${rowKey}`, class: "expand-row-space" })));
4066
+ }
4067
+ setParentTableRef() {
4068
+ this.parentTableRef = ui.findParent(this.host, 'vega-table');
4069
+ }
4070
+ }
4071
+ (() => {
4072
+ internalIconManager.VegaInternalIconManager.register({ 'chevron-down': chevronDown.chevronDown });
4073
+ })();
4074
+ __decorate$5([
4075
+ globalSlimmerRegistry.MapToComponentField()
4076
+ ], VegaTableRowRenderer.prototype, "host", void 0);
4077
+ __decorate$5([
4078
+ globalSlimmerRegistry.MapToComponentField()
4079
+ ], VegaTableRowRenderer.prototype, "rowKey", void 0);
4080
+ __decorate$5([
4081
+ globalSlimmerRegistry.MapToComponentField()
4082
+ ], VegaTableRowRenderer.prototype, "checked", void 0);
4083
+ __decorate$5([
4084
+ globalSlimmerRegistry.MapToComponentField()
4085
+ ], VegaTableRowRenderer.prototype, "clickable", void 0);
4086
+ __decorate$5([
4087
+ globalSlimmerRegistry.MapToComponentField()
4088
+ ], VegaTableRowRenderer.prototype, "clicked", void 0);
4089
+ __decorate$5([
4090
+ globalSlimmerRegistry.MapToComponentField()
4091
+ ], VegaTableRowRenderer.prototype, "expanded", void 0);
4092
+ __decorate$5([
4093
+ globalSlimmerRegistry.MapToComponentField()
4094
+ ], VegaTableRowRenderer.prototype, "paddingX", void 0);
4095
+ __decorate$5([
4096
+ globalSlimmerRegistry.MapToComponentField()
4097
+ ], VegaTableRowRenderer.prototype, "expandable", void 0);
4098
+ __decorate$5([
4099
+ globalSlimmerRegistry.MapToComponentField()
4100
+ ], VegaTableRowRenderer.prototype, "vegaClick", void 0);
4101
+ __decorate$5([
4102
+ globalSlimmerRegistry.MapToComponentField()
4103
+ ], VegaTableRowRenderer.prototype, "selectionType", void 0);
4104
+ __decorate$5([
4105
+ globalSlimmerRegistry.MapToComponentField()
4106
+ ], VegaTableRowRenderer.prototype, "vegaTableRowSelectionController", void 0);
4107
+ __decorate$5([
4108
+ globalSlimmerRegistry.MapToComponentField()
4109
+ ], VegaTableRowRenderer.prototype, "vegaTableRowExpandController", void 0);
4110
+ __decorate$5([
4111
+ globalSlimmerRegistry.MapToComponentField()
4112
+ ], VegaTableRowRenderer.prototype, "vegaTableRowClickController", void 0);
4113
+ __decorate$5([
4114
+ globalSlimmerRegistry.MapToComponentField()
4115
+ ], VegaTableRowRenderer.prototype, "expandEventEmitter", void 0);
4116
+ __decorate$5([
4117
+ globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
4118
+ ], VegaTableRowRenderer.prototype, "connectedCallback", null);
4119
+
4120
+ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
4121
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4122
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4123
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
4124
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
4125
+ };
4126
+ /**
4127
+ * The row selection controller for the table row
4128
+ */
4129
+ class VegaTableRowSelectionController extends globalSlimmerRegistry.VegaSlimmer {
4130
+ constructor() {
4131
+ super(...arguments);
4132
+ /**
4133
+ * Handles the row selection event.
4134
+ *
4135
+ * @param {boolean} checked - The "checked" parameter is a boolean value that indicates whether an item is checked or not.
4136
+ */
4137
+ this.handleRowSelect = (checked) => {
4138
+ this.checked = checked;
4139
+ changeManager.ChangeManager.notify(staticSubjectTitle.TABLE_ROW_SELECTION, {
4140
+ host: this.host,
4141
+ checked: checked,
4142
+ rowKey: this.rowKey,
4143
+ });
4144
+ };
4145
+ }
4146
+ /**
4147
+ * Component lifecycle - [connectedCallback]{@link VegaTableRow.connectedCallback}
4148
+ */
4149
+ connectedCallback() {
4150
+ this.initRowSelectionObserver();
4151
+ }
4152
+ /**
4153
+ * Component lifecycle - [disconnectedCallback]{@link VegaTableRow.disconnectedCallback}
4154
+ */
4155
+ disconnectedCallback() {
4156
+ changeManager.ChangeManager.unregister(staticSubjectTitle.TABLE_ROW_SELECTION_ALL, this.rowSelectionAllObserver);
4157
+ changeManager.ChangeManager.unregister(staticSubjectTitle.TABLE_ROW_SELECTION, this.rowSelectionObserver);
4158
+ }
4159
+ /**
4160
+ * The function sets the value of the "checked" property to the provided boolean value.
4161
+ *
4162
+ * @param {boolean} checked - The "checked" parameter is a boolean value that indicates whether an item is checked or not.
4163
+ */
4164
+ setChecked(checked) {
4165
+ this.checked = checked;
4166
+ }
4167
+ /**
4168
+ * Initialize the row selection observer.
4169
+ */
4170
+ initRowSelectionObserver() {
4171
+ this.rowSelectionAllObserver = new observer.Observer(isAcceptableTableObserver.bind(this), (payload) => {
4172
+ if (payload.checked || (payload.checked === false && payload.noneChecked)) {
4173
+ this.checked = payload.checked;
4174
+ }
4175
+ });
4176
+ changeManager.ChangeManager.register(staticSubjectTitle.TABLE_ROW_SELECTION_ALL, this.rowSelectionAllObserver);
4177
+ this.rowSelectionObserver = new observer.Observer(isAcceptableTableObserver.bind(this), (payload) => {
4178
+ if (payload.rowKey === this.rowKey) {
4179
+ this.checked = payload.checked;
4180
+ }
4181
+ });
4182
+ changeManager.ChangeManager.register(staticSubjectTitle.TABLE_ROW_SELECTION, this.rowSelectionObserver);
4183
+ }
4184
+ }
4185
+ __decorate$4([
4186
+ globalSlimmerRegistry.MapToComponentField()
4187
+ ], VegaTableRowSelectionController.prototype, "host", void 0);
4188
+ __decorate$4([
4189
+ globalSlimmerRegistry.MapToComponentField()
4190
+ ], VegaTableRowSelectionController.prototype, "selectionType", void 0);
4191
+ __decorate$4([
4192
+ globalSlimmerRegistry.MapToComponentField()
4193
+ ], VegaTableRowSelectionController.prototype, "rowKey", void 0);
4194
+ __decorate$4([
4195
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
4196
+ ], VegaTableRowSelectionController.prototype, "checked", void 0);
4197
+ __decorate$4([
4198
+ globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
4199
+ ], VegaTableRowSelectionController.prototype, "connectedCallback", null);
4200
+ __decorate$4([
4201
+ globalSlimmerRegistry.MapToComponentMethod('disconnectedCallback')
4202
+ ], VegaTableRowSelectionController.prototype, "disconnectedCallback", null);
4203
+
4204
+ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
4205
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4206
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4207
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
4208
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
4209
+ };
4210
+ /**
4211
+ * The row expand controller for expandable table row.
4212
+ */
4213
+ class VegaTableRowExpandController extends globalSlimmerRegistry.VegaSlimmer {
4214
+ /**
4215
+ * Component lifecycle - [connectedCallback]{@link VegaTableRow.connectedCallback}
4216
+ */
4217
+ connectedCallback() {
4218
+ this.initRowExpandObserver();
4219
+ }
4220
+ /**
4221
+ * Component lifecycle - [disconnectedCallback]{@link VegaTableRow.disconnectedCallback}
4222
+ */
4223
+ disconnectedCallback() {
4224
+ changeManager.ChangeManager.unregister(staticSubjectTitle.TABLE_EXPAND_ROW, this.rowExpandObserver);
4225
+ }
4226
+ /**
4227
+ * The handler for expand icon click event.
4228
+ */
4229
+ handleExpandIconClick() {
4230
+ const rowExpandEvent = remoteInvocationRegistry.remoteInvocationRegistry.call(domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubject(this.vegaTableRowRenderer.getParentTableRef(), vegaInternalEventId.VegaInternalTableRowExpand), {
4231
+ host: this.host,
4232
+ rowKey: this.rowKey,
4233
+ expanded: !this.expanded,
4234
+ });
4235
+ if (!rowExpandEvent.defaultPrevented) {
4236
+ this.expanded = !this.expanded;
4237
+ changeManager.ChangeManager.notify(staticSubjectTitle.TABLE_EXPAND_ROW, {
4238
+ host: this.host,
4239
+ rowKey: this.rowKey,
4240
+ expanded: this.expanded,
4241
+ });
4242
+ }
4243
+ }
4244
+ /**
4245
+ * Initialize the row expand observer.
4246
+ */
4247
+ initRowExpandObserver() {
4248
+ this.rowExpandObserver = new observer.Observer(isAcceptableTableObserver.bind({ host: this.host }), (payload) => {
4249
+ if (payload.rowKey === this.rowKey) {
4250
+ this.expanded = payload.expanded;
4251
+ }
4252
+ });
4253
+ changeManager.ChangeManager.register(staticSubjectTitle.TABLE_EXPAND_ROW, this.rowExpandObserver);
4254
+ }
4255
+ }
4256
+ __decorate$3([
4257
+ globalSlimmerRegistry.MapToComponentField()
4258
+ ], VegaTableRowExpandController.prototype, "host", void 0);
4259
+ __decorate$3([
4260
+ globalSlimmerRegistry.MapToComponentField()
4261
+ ], VegaTableRowExpandController.prototype, "rowKey", void 0);
4262
+ __decorate$3([
4263
+ globalSlimmerRegistry.MapToComponentField()
4264
+ ], VegaTableRowExpandController.prototype, "expandable", void 0);
4265
+ __decorate$3([
4266
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
4267
+ ], VegaTableRowExpandController.prototype, "expanded", void 0);
4268
+ __decorate$3([
4269
+ globalSlimmerRegistry.MapToComponentField()
4270
+ ], VegaTableRowExpandController.prototype, "vegaTableRowRenderer", void 0);
4271
+ __decorate$3([
4272
+ globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
4273
+ ], VegaTableRowExpandController.prototype, "connectedCallback", null);
4274
+ __decorate$3([
4275
+ globalSlimmerRegistry.MapToComponentMethod('disconnectedCallback')
4276
+ ], VegaTableRowExpandController.prototype, "disconnectedCallback", null);
4277
+
4278
+ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
4279
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4280
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4281
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
4282
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
4283
+ };
4284
+ /**
4285
+ * The row click controller for table row
4286
+ */
4287
+ class VegaTableRowClickController extends globalSlimmerRegistry.VegaSlimmer {
4288
+ /**
4289
+ * Component lifecycle - [connectedCallback]{@link VegaTableRow.connectedCallback}
4290
+ */
4291
+ connectedCallback() {
4292
+ this.initRowClickObserver();
4293
+ }
4294
+ /**
4295
+ * Component lifecycle - [disconnectedCallback]{@link VegaTableRow.disconnectedCallback}
4296
+ */
4297
+ disconnectedCallback() {
4298
+ changeManager.ChangeManager.unregister(staticSubjectTitle.TABLE_ROW_CLICK, this.rowClickObserver);
4299
+ }
4300
+ /**
4301
+ * Row click handler
4302
+ */
4303
+ handleRowClick() {
4304
+ const rowSelectEvent = remoteInvocationRegistry.remoteInvocationRegistry.call(domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubject(this.vegaTableRowRenderer.getParentTableRef(), vegaInternalEventId.VegaInternalTableRowSelect), {
4305
+ host: this.host,
4306
+ rowKey: this.rowKey,
4307
+ checked: !this.checked,
4308
+ });
4309
+ if (!rowSelectEvent.defaultPrevented) {
4310
+ changeManager.ChangeManager.notify(staticSubjectTitle.TABLE_ROW_CLICK, { host: this.host, rowKey: this.rowKey });
4311
+ this.clickEventEmitter.emit({ rowKey: this.rowKey });
4312
+ }
4313
+ }
4314
+ /**
4315
+ * Initialize row click observer
4316
+ */
4317
+ initRowClickObserver() {
4318
+ this.rowClickObserver = new observer.Observer(isAcceptableTableRowObserver.bind(this), (payload) => {
4319
+ this.clicked = payload.host === this.host;
4320
+ if (this.selectionType === 'single') {
4321
+ if (payload.host === this.host) {
4322
+ this.vegaTableRowSelectionController.setChecked(!this.checked);
4323
+ }
4324
+ else {
4325
+ this.vegaTableRowSelectionController.setChecked(false);
4326
+ }
4327
+ }
4328
+ });
4329
+ changeManager.ChangeManager.register(staticSubjectTitle.TABLE_ROW_CLICK, this.rowClickObserver);
4330
+ }
4331
+ }
4332
+ __decorate$2([
4333
+ globalSlimmerRegistry.MapToComponentField()
4334
+ ], VegaTableRowClickController.prototype, "host", void 0);
4335
+ __decorate$2([
4336
+ globalSlimmerRegistry.MapToComponentField()
4337
+ ], VegaTableRowClickController.prototype, "rowKey", void 0);
4338
+ __decorate$2([
4339
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
4340
+ ], VegaTableRowClickController.prototype, "clicked", void 0);
4341
+ __decorate$2([
4342
+ globalSlimmerRegistry.MapToComponentField()
4343
+ ], VegaTableRowClickController.prototype, "checked", void 0);
4344
+ __decorate$2([
4345
+ globalSlimmerRegistry.MapToComponentField()
4346
+ ], VegaTableRowClickController.prototype, "selectionType", void 0);
4347
+ __decorate$2([
4348
+ globalSlimmerRegistry.MapToComponentField()
4349
+ ], VegaTableRowClickController.prototype, "vegaClick", void 0);
4350
+ __decorate$2([
4351
+ globalSlimmerRegistry.MapToComponentField()
4352
+ ], VegaTableRowClickController.prototype, "vegaTableRowSelectionController", void 0);
4353
+ __decorate$2([
4354
+ globalSlimmerRegistry.MapToComponentField()
4355
+ ], VegaTableRowClickController.prototype, "clickEventEmitter", void 0);
4356
+ __decorate$2([
4357
+ globalSlimmerRegistry.MapToComponentField()
4358
+ ], VegaTableRowClickController.prototype, "vegaTableRowRenderer", void 0);
4359
+ __decorate$2([
4360
+ globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
4361
+ ], VegaTableRowClickController.prototype, "connectedCallback", null);
4362
+ __decorate$2([
4363
+ globalSlimmerRegistry.MapToComponentMethod('disconnectedCallback')
4364
+ ], VegaTableRowClickController.prototype, "disconnectedCallback", null);
4365
+
4366
+ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
4367
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4368
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4369
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
4370
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
4371
+ };
4372
+ /**
4373
+ * Controller for the table row states
4374
+ */
4375
+ class VegaTableRowStateController extends subStateObserverSlimmer.SubStateObserverSlimmer {
4376
+ // eslint-disable-next-line jsdoc/require-jsdoc
4377
+ constructor() {
4378
+ super({
4379
+ parent: 'vega-table',
4380
+ subStates: [
4381
+ {
4382
+ subStateName: 'expandable',
4383
+ parentStateName: 'rowExpandable',
4384
+ },
4385
+ {
4386
+ subStateName: 'clickable',
4387
+ parentStateName: 'rowClickable',
4388
+ },
4389
+ {
4390
+ subStateName: 'paddingX',
4391
+ parentStateName: 'paddingX',
4392
+ // eslint-disable-next-line jsdoc/require-jsdoc
4393
+ callback: (value) => {
4394
+ const table = ui.findParent(this.host, 'vega-table');
4395
+ if (table.dataSource.length === 0 || table.columns.length === 0) {
4396
+ this.paddingX = value;
4397
+ }
4398
+ },
4399
+ },
4400
+ {
4401
+ subStateName: 'selectionType',
4402
+ parentStateName: 'rowSelection',
4403
+ // eslint-disable-next-line jsdoc/require-jsdoc
4404
+ callback: (value) => {
4405
+ if (value) {
4406
+ const { type = 'multiple' } = value;
4407
+ this.selectionType = type;
4408
+ }
4409
+ else {
4410
+ this.selectionType = null;
4411
+ }
4412
+ },
4413
+ },
4414
+ {
4415
+ subStateName: 'rowDivider',
4416
+ parentStateName: 'rowDivider',
4417
+ },
4418
+ {
4419
+ subStateName: 'columnDivider',
4420
+ parentStateName: 'columnDivider',
4421
+ },
4422
+ {
4423
+ subStateName: 'density',
4424
+ parentStateName: 'density',
4425
+ },
4426
+ ],
4427
+ });
4428
+ }
4429
+ /**
4430
+ * Component watch method - [watchRowSelection]{@link VegaTableRow.watchSelectionType}
4431
+ */
4432
+ watchSelectionType() {
4433
+ this.updateClickable();
4434
+ }
4435
+ /**
4436
+ * The `@MapToComponentMethod('componentWillLoad')` decorator is used to map the `handleComponentWillLoad` method
4437
+ * to the `componentWillLoad` lifecycle hook of the component.
4438
+ */
4439
+ handleComponentWillLoad() {
4440
+ this.updateClickable();
4441
+ }
4442
+ /**
4443
+ * The function updates the value of the "clickable" property based on the value of the
4444
+ * "selectionType" property.
4445
+ */
4446
+ updateClickable() {
4447
+ if (this.selectionType) {
4448
+ this.clickable = this.selectionType === 'single' || this.clickable;
4449
+ }
4450
+ }
4451
+ }
4452
+ __decorate$1([
4453
+ globalSlimmerRegistry.MapToComponentField()
4454
+ ], VegaTableRowStateController.prototype, "host", void 0);
4455
+ __decorate$1([
4456
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
4457
+ ], VegaTableRowStateController.prototype, "expandable", void 0);
4458
+ __decorate$1([
4459
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
4460
+ ], VegaTableRowStateController.prototype, "clickable", void 0);
4461
+ __decorate$1([
4462
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
4463
+ ], VegaTableRowStateController.prototype, "paddingX", void 0);
4464
+ __decorate$1([
4465
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
4466
+ ], VegaTableRowStateController.prototype, "selectionType", void 0);
4467
+ __decorate$1([
4468
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
4469
+ ], VegaTableRowStateController.prototype, "rowDivider", void 0);
4470
+ __decorate$1([
4471
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
4472
+ ], VegaTableRowStateController.prototype, "columnDivider", void 0);
4473
+ __decorate$1([
4474
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
4475
+ ], VegaTableRowStateController.prototype, "density", void 0);
4476
+ __decorate$1([
4477
+ globalSlimmerRegistry.MapToComponentMethod('watchSelectionType')
4478
+ ], VegaTableRowStateController.prototype, "watchSelectionType", null);
4479
+ __decorate$1([
4480
+ globalSlimmerRegistry.MapToComponentMethod('componentWillLoad')
4481
+ ], VegaTableRowStateController.prototype, "handleComponentWillLoad", null);
4482
+
4483
+ const vegaTableRowCss = ":host{display:contents}:host(.v-hidden){display:none}td{padding:0px;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));vertical-align:middle}td:first-of-type{border-top-left-radius:12px;border-bottom-left-radius:12px}td:last-of-type{border-top-right-radius:12px;border-bottom-right-radius:12px}:host([data-striped=striped]) .vega-table-row:not(.checked):not(.clickable:hover) td,:host([data-striped=striped]) .vega-table-row:not(.checked):not(.clickable:hover) ::slotted(vega-table-cell){background-color:rgba(var(--v-bg-secondary, 245, 247, 247, 1))}.checked td,.checked ::slotted(vega-table-cell){background-color:rgba(var(--v-bg-table-selected-row, 204, 223, 255, 1))}:not(.checked).clickable:hover{cursor:pointer}:not(.checked).clickable:hover td,:not(.checked).clickable:hover ::slotted(vega-table-cell){background-color:rgba(var(--v-bg-quaternary, 241, 248, 251, 1))}.vega-table-checkbox-wrapper{display:flex;align-items:center;justify-content:center}.vega-table-row .vega-table-expand-icon-wrapper{display:flex;align-items:center;justify-content:center}.vega-table-row .vega-table-expand-icon-wrapper vega-icon{transition-property:transform;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;cursor:pointer}.vega-table-row.expand-row .vega-table-expand-icon-wrapper vega-icon{transform:rotate(180deg)}:host tr.expand-row td,:host tr.expand-row ::slotted(vega-table-cell){border-top-width:1px;border-left-width:0px;border-right-width:0px;border-bottom-width:0px;border-style:solid;border-color:rgba(var(--v-border-color-input-field, 171, 198, 216, 1))}:host tr.expand-row td:first-of-type{border-left-width:1px;border-top-width:1px;border-bottom-left-radius:0px}:host tr.expand-row td:last-of-type{border-right-width:1px;border-top-width:1px;border-bottom-right-radius:0px}tr.expand-row-space{display:block;padding-top:8px}:host(.row-divider:not(:last-of-type)) td,:host(.row-divider:not(:last-of-type)) ::slotted(vega-table-cell){border-color:rgba(var(--v-border-color-divider, 171, 198, 216, 1));border-bottom-width:1px;border-bottom-style:solid}:host(.row-divider:not(:last-of-type)) td:first-of-type,:host(.row-divider:not(:last-of-type)) td:last-of-type{border-radius:0px}:host(.column-divider) ::slotted(vega-table-cell:not(:last-of-type)){border-color:rgba(var(--v-border-color-divider, 171, 198, 216, 1));border-right-width:1px;border-right-style:solid}:host(.density-default) td:first-of-type{border-top-left-radius:12px;border-bottom-left-radius:12px}:host(.density-default) td:last-of-type{border-top-right-radius:12px;border-bottom-right-radius:12px}:host(.density-default) tr.expand-row-space{display:block;padding-top:8px}:host(.density-compact) td:first-of-type{border-top-left-radius:4px;border-bottom-left-radius:4px}:host(.density-compact) td:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px}:host(.density-compact) tr.expand-row-space{display:block;padding-top:4px}:host(.density-relaxed) td:first-of-type{border-top-left-radius:12px;border-bottom-left-radius:12px}:host(.density-relaxed) td:last-of-type{border-top-right-radius:12px;border-bottom-right-radius:12px}:host(.density-relaxed) tr.expand-row-space{display:block;padding-top:12px}.vega-table-expand-action-column{width:40px;min-width:40px}.vega-table-selection-column{width:40px;min-width:40px}";
4484
+
4485
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
4486
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4487
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
4488
+ r = Reflect.decorate(decorators, target, key, desc);
4489
+ else
4490
+ for (var i = decorators.length - 1; i >= 0; i--)
4491
+ if (d = decorators[i])
4492
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
4493
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
4494
+ };
4495
+ const VegaTableRow = class {
4496
+ constructor(hostRef) {
4497
+ index.registerInstance(this, hostRef);
4498
+ this.vegaClick = index.createEvent(this, "vegaClick", 7);
4499
+ this.click = index.createEvent(this, "click", 7);
4500
+ this.vegaExpand = index.createEvent(this, "vegaExpand", 7);
4501
+ this.expand = index.createEvent(this, "expand", 7);
4502
+ this.globalSlimmers = {};
4503
+ this.vegaTableRowRenderer = new VegaTableRowRenderer();
4504
+ this.vegaTableRowSelectionController = new VegaTableRowSelectionController();
4505
+ this.vegaTableRowExpandController = new VegaTableRowExpandController();
4506
+ this.vegaTableRowClickController = new VegaTableRowClickController();
4507
+ this.vegaTableRowStateController = new VegaTableRowStateController();
4508
+ this.clickEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaTableRow, vegaEventId.VegaClick);
4509
+ this.expandEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaTableRow, vegaEventId.VegaExpand);
4510
+ this.checkboxValueChangeEventPrevent = new childNodesEventPreventSlimmer.ChildNodesEventPreventSlimmer([vegaEventId.VegaClick], () => this.host, undefined, true);
4511
+ this.pageResizeObserverSlimmer = new pageResizeObserverSlimmer.PageResizeObserverSlimmer();
4512
+ this.vegaComponentUsageRuntimeMetricsSlimmer = new componentUsageRuntimeMetrics.VegaComponentUsageRuntimeMetricsSlimmer();
4513
+ this.currentBreakpoint = breakpoints.getCurrentBreakpoint();
4514
+ }
4515
+ watchSelectionType() {
4516
+ }
4517
+ render() {
4518
+ placeholder.slotPlaceholder(index.h("slot", null));
4519
+ return component.sanitizeVegaComponent(index.h(index.Host, { class: {
4520
+ 'row-divider': this.rowDivider,
4521
+ 'column-divider': this.columnDivider,
4522
+ [`density-${responsiveFormatFacade.ResponsiveFormatFacade.formatCustom(this.density)}`]: true,
4523
+ } }, this.vegaTableRowRenderer.render()), this.host);
4524
+ }
4525
+ get host() { return index.getElement(this); }
4526
+ static get watchers() { return {
4527
+ "selectionType": ["watchSelectionType"]
4528
+ }; }
4529
+ };
4530
+ __decorate([
4531
+ componentUsageRuntimeMetrics.InjectVegaGlobalSlimmer()
4532
+ ], VegaTableRow.prototype, "globalSlimmers", void 0);
4533
+ __decorate([
4534
+ globalSlimmerRegistry.InjectVegaSlimmer()
4535
+ ], VegaTableRow.prototype, "vegaTableRowRenderer", void 0);
4536
+ __decorate([
4537
+ globalSlimmerRegistry.InjectVegaSlimmer()
4538
+ ], VegaTableRow.prototype, "vegaTableRowSelectionController", void 0);
4539
+ __decorate([
4540
+ globalSlimmerRegistry.InjectVegaSlimmer()
4541
+ ], VegaTableRow.prototype, "vegaTableRowExpandController", void 0);
4542
+ __decorate([
4543
+ globalSlimmerRegistry.InjectVegaSlimmer()
4544
+ ], VegaTableRow.prototype, "vegaTableRowClickController", void 0);
4545
+ __decorate([
4546
+ globalSlimmerRegistry.InjectVegaSlimmer()
4547
+ ], VegaTableRow.prototype, "vegaTableRowStateController", void 0);
4548
+ __decorate([
4549
+ globalSlimmerRegistry.InjectVegaSlimmer()
4550
+ ], VegaTableRow.prototype, "clickEventEmitter", void 0);
4551
+ __decorate([
4552
+ globalSlimmerRegistry.InjectVegaSlimmer()
4553
+ ], VegaTableRow.prototype, "expandEventEmitter", void 0);
4554
+ __decorate([
4555
+ globalSlimmerRegistry.InjectVegaSlimmer()
4556
+ ], VegaTableRow.prototype, "checkboxValueChangeEventPrevent", void 0);
4557
+ __decorate([
4558
+ globalSlimmerRegistry.InjectVegaSlimmer()
4559
+ ], VegaTableRow.prototype, "pageResizeObserverSlimmer", void 0);
4560
+ __decorate([
4561
+ globalSlimmerRegistry.InjectVegaSlimmer()
4562
+ ], VegaTableRow.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
4563
+ VegaTableRow.style = vegaTableRowCss;
4564
+
4565
+ exports.vega_table = VegaTable;
4566
+ exports.vega_table_body = VegaTableBody;
4567
+ exports.vega_table_cell = VegaTableCell;
4568
+ exports.vega_table_expand_row = VegaTableExpandRow;
4569
+ exports.vega_table_head = VegaTableHead;
4570
+ exports.vega_table_head_cell = VegaTableHeadCell;
4571
+ exports.vega_table_head_row = VegaTableHeadRow;
4572
+ exports.vega_table_row = VegaTableRow;