@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,4055 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-09acd3c9.js');
6
+ const component = require('./component-73a88c4e.js');
7
+ const globalSlimmerRegistry = require('./global-slimmer-registry-b3bce7e0.js');
8
+ const componentUsageRuntimeMetrics = require('./component-usage-runtime-metrics-1ee24991.js');
9
+ const domNodeSubjectObserverFactory = require('./dom-node-subject-observer-factory-2e41340d.js');
10
+ const vegaEventId = require('./vega-event-id-e40ac8f0.js');
11
+ const internalIconManager = require('./internal-icon-manager-858baff1.js');
12
+ const date = require('./date-0a6bb035.js');
13
+ const eventEmitSlimmer = require('./event-emit-slimmer-962eda7c.js');
14
+ const childNodesEventPreventSlimmer = require('./child-nodes-event-prevent-slimmer-3b757c7f.js');
15
+ const vegaInternalEventId = require('./vega-internal-event-id-c98e9a7d.js');
16
+ const accessibility = require('./accessibility-bfa227f6.js');
17
+ const array = require('./array-6e559cde.js');
18
+ const createPublicApiRuntimeMetricsSlimmer = require('./create-public-api-runtime-metrics-slimmer-7510221b.js');
19
+ const pageResizeObserverSlimmer = require('./page-resize-observer-slimmer-bb1eaebe.js');
20
+ const timer = require('./timer-5f33058b.js');
21
+ const changeManager = require('./change-manager-a297e4d2.js');
22
+ const subStateObserverSlimmer = require('./sub-state-observer-slimmer-832a4215.js');
23
+ const translationSlimmer = require('./translation-slimmer-83577cfd.js');
24
+ const placeholder = require('./placeholder-cb6d37ad.js');
25
+ const typeGuard = require('./type-guard-0b7742ff.js');
26
+ const stateBackgroundColorFormatter = require('./state-background-color-formatter-4821b86e.js');
27
+ const pixel = require('./pixel-98f2a10c.js');
28
+ require('./observer-f49483e8.js');
29
+ require('./ui-08f33116.js');
30
+ require('./icon-manager-5a2b67cf.js');
31
+ require('./dynamic-slimmer-f31fdfd7.js');
32
+ require('./internal-vega-event-manager-49c87e82.js');
33
+ require('./vega-env-manager-23b8b23c.js');
34
+ require('./feature-flag-controller-078da332.js');
35
+ require('./index-5792390b.js');
36
+ require('./number-459031f7.js');
37
+ require('./breakpoints-17d6c4c7.js');
38
+ require('./ui-32e69595.js');
39
+ require('./breakpoints-ebde4837.js');
40
+ require('./translation-0dd74433.js');
41
+ require('./static-subject-title-3599787e.js');
42
+ require('./regex-c1f70fd4.js');
43
+ require('./typography-4560e7f1.js');
44
+
45
+ var __decorate$o = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
46
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
47
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
48
+ 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;
49
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
50
+ };
51
+ /** The `VegaCalendarRenderer` class in TypeScript React renders switch panel and view components for a calendar using VegaSlimmer. */
52
+ class VegaCalendarRenderer extends globalSlimmerRegistry.VegaSlimmer {
53
+ /**
54
+ * The render function returns a Fragment containing the rendered output of switchPanelRenderer and viewRenderer components.
55
+ *
56
+ * @returns {HTMLElement} An HTMLElement containing the rendered output of the switchPanelRenderer and viewRenderer components.
57
+ */
58
+ render() {
59
+ return (index.h(index.Fragment, null,
60
+ this.switchPanelRenderer.render(),
61
+ this.viewRenderer.render()));
62
+ }
63
+ }
64
+ __decorate$o([
65
+ globalSlimmerRegistry.MapToComponentField()
66
+ ], VegaCalendarRenderer.prototype, "switchPanelRenderer", void 0);
67
+ __decorate$o([
68
+ globalSlimmerRegistry.MapToComponentField()
69
+ ], VegaCalendarRenderer.prototype, "viewRenderer", void 0);
70
+
71
+ const chevronRight = {
72
+ icon: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 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="M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"/></svg>`,
73
+ };
74
+
75
+ const chevronLeft = {
76
+ icon: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 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="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"/></svg>`,
77
+ };
78
+
79
+ /**
80
+ * get month name from the month number
81
+ *
82
+ * @param {Date} date the date object
83
+ * @param {boolean} isShortName short or long name
84
+ * @returns {string} the month English name
85
+ */
86
+ function getMonthName(date, isShortName = false) {
87
+ return date.toLocaleDateString('en-US', { month: isShortName ? 'short' : 'long' });
88
+ }
89
+ /**
90
+ * The function `getTimeIndex` calculates the index of a given time string based on a specified time unit.
91
+ *
92
+ * @param {string} timeString - A string representing a time in the format "HH:MM", where HH is the hour and MM is the minutes.
93
+ * @param {number} [unit=15] - The `unit` parameter in the `getTimeIndex` function is used to specify
94
+ * the interval in minutes for dividing the day. By default, it is set to 15 minutes, meaning that the
95
+ * day will be divided into 15-minute intervals.
96
+ * @returns {number} the index of the given time string based on the specified time unit.
97
+ */
98
+ function getTimeIndex(timeString, unit = 15) {
99
+ const [hour, minutes] = timeString.split(':');
100
+ return Math.round((Number(hour) * 60 + Number(minutes)) / unit);
101
+ }
102
+ /**
103
+ * Returns a string that includes the event key for a calendar event slot.
104
+ *
105
+ * @param {string} eventKey - represents the key or identifier of a calendar event.
106
+ * @returns {string} a string that is a concatenation of 'vega-calendar-event-slot-' and the eventKey parameter.
107
+ */
108
+ function getCalendarEventSlotName(eventKey) {
109
+ return 'vega-calendar-event-slot-' + eventKey;
110
+ }
111
+
112
+ const ellipsisVertical = {
113
+ icon: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 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="M48 464a48 48 0 1 1 0-96 48 48 0 1 1 0 96zm0-160a48 48 0 1 1 0-96 48 48 0 1 1 0 96zM0 96a48 48 0 1 1 96 0A48 48 0 1 1 0 96z"/></svg>`,
114
+ };
115
+
116
+ var __decorate$n = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
117
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
118
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
119
+ 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;
120
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
121
+ };
122
+ /** The `VegaCalendarSwitchPanelRenderer` class in TypeScript React renders a calendar switch panel with date navigation, view selection, and action buttons. */
123
+ class VegaCalendarSwitchPanelRenderer extends globalSlimmerRegistry.VegaSlimmer {
124
+ constructor() {
125
+ super(...arguments);
126
+ /**
127
+ * This function is responsible for updating the `viewMode` property of the `VegaCalendarSwitchPanelRenderer` class with the value extracted from the `input` parameter.
128
+ *
129
+ * @param {NotifyObserverPayload<VegaCalendarViewModeType>} input mark which view should be selected
130
+ */
131
+ this.handleViewChange = (input) => {
132
+ this.currentPeriodController.updateCalendarPeriod(input.detail, this.currentPeriod.current);
133
+ };
134
+ /**
135
+ * reset view content to today
136
+ */
137
+ this.todayButtonClick = () => {
138
+ this.currentPeriodController.setCurrentPeriod(this.currentPeriod.now());
139
+ };
140
+ /**
141
+ * update view content after click next button
142
+ */
143
+ this.nextButtonClick = () => {
144
+ this.currentPeriodController.setCurrentPeriod(this.currentPeriod.next());
145
+ };
146
+ /**
147
+ * update view content after click previous button
148
+ */
149
+ this.prevButtonClick = () => {
150
+ this.currentPeriodController.setCurrentPeriod(this.currentPeriod.previous());
151
+ };
152
+ /**
153
+ * The more action menu ite click
154
+ *
155
+ * @param {NotifyObserverPayload<string>} payload The object contains the menu item key
156
+ */
157
+ this.moreActionMenuClick = (payload) => {
158
+ this.moreActionClickEmitter.emit(payload.detail);
159
+ };
160
+ }
161
+ /**
162
+ * get the switch panel container element
163
+ *
164
+ * @returns {HTMLElement} container element
165
+ */
166
+ getSwitchPanelRef() {
167
+ return this.switchPanelRef;
168
+ }
169
+ /**
170
+ * calendar switch panel with date switch, view switch, add new button, and more action components.
171
+ *
172
+ * @returns {HTMLElement} html element
173
+ */
174
+ render() {
175
+ return (index.h("vega-flex", { direction: "row", gap: "size-16", justifyContent: "space-between", alignItems: "center", class: "calendar-switch-panel", ref: (node) => (this.switchPanelRef = node) },
176
+ this.renderDateSwitch(),
177
+ index.h("div", { class: "calendar-view-switch-container" },
178
+ this.renderViewSwitch(),
179
+ this.renderMoreActionMenu())));
180
+ }
181
+ /**
182
+ * The `renderDateSwitch` function returns a container with buttons for switching dates and displaying the current date.
183
+ *
184
+ * @returns {HTMLDivElement} action button elements container.
185
+ */
186
+ renderDateSwitch() {
187
+ return (index.h("div", { class: "calendar-date-switch-container" },
188
+ index.h("vega-button", { variant: "secondary", size: "small", ref: (button) => {
189
+ domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(button, vegaEventId.VegaClick, this.todayButtonClick);
190
+ }, label: this.translationSlimmer.t('Today') }),
191
+ index.h("vega-button-circle", { variant: "secondary", size: "small", icon: internalIconManager.VegaInternalIconManager.getIconKey('chevron-left'), label: "previous", showTooltip: false, ref: (button) => {
192
+ domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(button, vegaEventId.VegaClick, this.prevButtonClick);
193
+ } }),
194
+ index.h("vega-button-circle", { variant: "secondary", size: "small", icon: internalIconManager.VegaInternalIconManager.getIconKey('chevron-right'), label: "next", showTooltip: false, ref: (button) => {
195
+ domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(button, vegaEventId.VegaClick, this.nextButtonClick);
196
+ } }),
197
+ this.renderCurrentPeriod()));
198
+ }
199
+ /**
200
+ * The function `renderCurrentPeriod` returns an HTML element displaying the view date content summary info.
201
+ *
202
+ * @returns {HTMLVegaFontElement} The text content inside the element is "Current Date Test".
203
+ */
204
+ renderCurrentPeriod() {
205
+ return (index.h("vega-font", { class: "calendar-current-date", variant: "font-field-label", color: "text-primary" }, this.getViewDateSummary()));
206
+ }
207
+ /**
208
+ * The function `renderViewSwitch` returns a JSX element for rendering a segment control component in a TypeScript React application.
209
+ *
210
+ * @returns {HTMLElement} An HTMLElement containing a vega-segment-control element with specific attributes and event handling.
211
+ */
212
+ renderViewSwitch() {
213
+ return (index.h("vega-segment-control", { segments: VegaCalendarSwitchPanelRenderer.views.map((item) => (Object.assign(Object.assign({}, item), { text: this.translationSlimmer.t(item.text) }))), size: "small", variant: "text-only", selected: this.viewMode, ref: (node) => {
214
+ domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(node, vegaEventId.VegaChange, this.handleViewChange);
215
+ } }));
216
+ }
217
+ /**
218
+ * Render an more action button if dropdown source is not empty
219
+ *
220
+ * @returns {Nullable<HTMLElement>} the additional element
221
+ */
222
+ renderMoreActionMenu() {
223
+ var _a, _b;
224
+ if ((_b = (_a = this.moreActionDropdownProps) === null || _a === void 0 ? void 0 : _a.source) === null || _b === void 0 ? void 0 : _b.length) {
225
+ return (index.h("vega-dropdown", Object.assign({ alignment: "end", trigger: "click" }, this.moreActionDropdownProps, { ref: (node) => {
226
+ domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(node, vegaEventId.VegaDropdownClick, this.moreActionMenuClick);
227
+ } }),
228
+ index.h("vega-button-circle", { size: "small", icon: internalIconManager.VegaInternalIconManager.getIconKey('ellipsis-vertical'), variant: "icon-only" })));
229
+ }
230
+ }
231
+ /**
232
+ * Get the view content date summary info, such as `January, 2024` or `10 January, 2024` or `28 December, 2023 - 3 January, 2024`
233
+ *
234
+ * @returns {string} string
235
+ */
236
+ getViewDateSummary() {
237
+ const currentDate = this.currentPeriod.current;
238
+ let result = '';
239
+ switch (this.viewMode) {
240
+ case 'day': {
241
+ const monthName = this.translationSlimmer.t(getMonthName(currentDate.toDate()));
242
+ result = `${currentDate.date} ${monthName}, ${currentDate.year}`;
243
+ break;
244
+ }
245
+ case 'week': {
246
+ const start = this.currentPeriod.startDate;
247
+ const end = this.currentPeriod.endDate;
248
+ const [startMonthName, endMonthName] = [start, end].map((item) => this.translationSlimmer.t(getMonthName(item.toDate())));
249
+ result = `${start.date} ${startMonthName}${start.year === end.year ? '' : ', ' + start.year} - ${end.date} ${endMonthName}, ${end.year}`;
250
+ break;
251
+ }
252
+ case 'month': {
253
+ const monthName = this.translationSlimmer.t(getMonthName(currentDate.toDate()));
254
+ result = `${monthName}, ${currentDate.year}`;
255
+ break;
256
+ }
257
+ }
258
+ return result;
259
+ }
260
+ }
261
+ (() => {
262
+ internalIconManager.VegaInternalIconManager.register({
263
+ 'chevron-right': chevronRight,
264
+ 'chevron-left': chevronLeft,
265
+ 'ellipsis-vertical': ellipsisVertical,
266
+ });
267
+ })();
268
+ VegaCalendarSwitchPanelRenderer.views = [
269
+ { text: 'Day', key: 'day' },
270
+ { text: 'Week', key: 'week' },
271
+ { text: 'Month', key: 'month' },
272
+ ];
273
+ __decorate$n([
274
+ globalSlimmerRegistry.MapToComponentField()
275
+ ], VegaCalendarSwitchPanelRenderer.prototype, "viewMode", void 0);
276
+ __decorate$n([
277
+ globalSlimmerRegistry.MapToComponentField()
278
+ ], VegaCalendarSwitchPanelRenderer.prototype, "calendarView", void 0);
279
+ __decorate$n([
280
+ globalSlimmerRegistry.MapToComponentField()
281
+ ], VegaCalendarSwitchPanelRenderer.prototype, "currentPeriod", void 0);
282
+ __decorate$n([
283
+ globalSlimmerRegistry.MapToComponentField()
284
+ ], VegaCalendarSwitchPanelRenderer.prototype, "moreActionDropdownProps", void 0);
285
+ __decorate$n([
286
+ globalSlimmerRegistry.MapToComponentField()
287
+ ], VegaCalendarSwitchPanelRenderer.prototype, "moreActionClickEmitter", void 0);
288
+ __decorate$n([
289
+ globalSlimmerRegistry.MapToComponentField()
290
+ ], VegaCalendarSwitchPanelRenderer.prototype, "currentPeriodController", void 0);
291
+ __decorate$n([
292
+ globalSlimmerRegistry.MapToComponentField()
293
+ ], VegaCalendarSwitchPanelRenderer.prototype, "calendarViewController", void 0);
294
+ __decorate$n([
295
+ globalSlimmerRegistry.MapToComponentField()
296
+ ], VegaCalendarSwitchPanelRenderer.prototype, "translationSlimmer", void 0);
297
+
298
+ var __decorate$m = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
299
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
300
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
301
+ 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;
302
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
303
+ };
304
+ /** renders different views based on the specified view mode using month, week, and day view render. */
305
+ class VegaCalendarViewRenderer extends globalSlimmerRegistry.VegaSlimmer {
306
+ /**
307
+ * render the calendar month/week/day view
308
+ *
309
+ * @returns {HTMLElement} html element
310
+ */
311
+ render() {
312
+ return (index.h("div", { class: `calendar-view calendar-view-${this.viewMode}` }, this.viewMode === 'month'
313
+ ? this.monthViewRenderer.render()
314
+ : this.viewWithTimeRenderer.render()));
315
+ }
316
+ }
317
+ __decorate$m([
318
+ globalSlimmerRegistry.MapToComponentField()
319
+ ], VegaCalendarViewRenderer.prototype, "viewMode", void 0);
320
+ __decorate$m([
321
+ globalSlimmerRegistry.MapToComponentField()
322
+ ], VegaCalendarViewRenderer.prototype, "monthViewRenderer", void 0);
323
+ __decorate$m([
324
+ globalSlimmerRegistry.MapToComponentField()
325
+ ], VegaCalendarViewRenderer.prototype, "viewWithTimeRenderer", void 0);
326
+
327
+ var __decorate$l = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
328
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
329
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
330
+ 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;
331
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
332
+ };
333
+ /** The code provided is defining a TypeScript class called `VegaCalendarMonthViewRenderer` that extends `VegaSlimmer`. This class is responsible for rendering a month view of a calendar component. */
334
+ class VegaCalendarMonthViewRenderer extends globalSlimmerRegistry.VegaSlimmer {
335
+ /**
336
+ * the HTML elements that represent the month view of a calendar component.
337
+ *
338
+ * @returns {HTMLElement} the month view calendar content
339
+ */
340
+ render() {
341
+ const weekHead = this.calendarView.weekdays;
342
+ return (index.h("div", { class: "calendar-view-month-container" },
343
+ index.h("div", { class: "calendar-view-row calendar-view-title border-divider-bottom" }, weekHead.map((title) => (index.h("div", { key: title }, this.translationSlimmer.t(title))))),
344
+ this.renderMonthViewContent()));
345
+ }
346
+ /**
347
+ * generating the HTML elements that represent the content of the month view in a calendar component
348
+ *
349
+ * @returns {HTMLElement[]} month view content and event content
350
+ */
351
+ renderMonthViewContent() {
352
+ const monthSource = this.calendarView.dateItems;
353
+ const currentDate = this.currentPeriod.current;
354
+ return monthSource.map((dateArray, index$1) => {
355
+ const eventsArray = this.monthEventRenderer.getCurrentRowEvents(dateArray);
356
+ const displayEventsArray = this.monthEventRenderer.filterRowDisplayEvents(eventsArray);
357
+ return (index.h("div", { key: index$1, class: "calendar-view-row border-divider-bottom" }, dateArray.map((item, itemIndex) => {
358
+ return (index.h("div", { class: {
359
+ 'row-cell border-divider-right': true,
360
+ 'current-month-day': item.compare(currentDate).inMonth,
361
+ 'active': item.isToday(),
362
+ 'disabled': false,
363
+ }, key: `${item.month}-${item.date}`,
364
+ // eslint-disable-next-line react/jsx-no-bind
365
+ onDblClick: (e) => this.handleDateBlockClick(e, item) },
366
+ this.renderDateBlock(item),
367
+ this.monthEventRenderer.render(item, eventsArray[itemIndex], displayEventsArray[itemIndex], itemIndex)));
368
+ })));
369
+ });
370
+ }
371
+ /**
372
+ * It takes a `CalendarDate` object as a parameter and returns an HTML element representing a date block in the calendar view.
373
+ *
374
+ * @param {CalendarDate} item the day object
375
+ * @returns {HTMLElement} the date block element
376
+ */
377
+ renderDateBlock(item) {
378
+ const isMonthFirstDay = item.date === 1;
379
+ return (index.h("div", { class: "date" },
380
+ isMonthFirstDay && index.h("div", { class: "month-block" }, getMonthName(item.toDate(), true)),
381
+ index.h("div", { role: "button", tabIndex: 0, class: "grid-col",
382
+ // eslint-disable-next-line react/jsx-no-bind
383
+ onDblClick: (e) => this.goToCurrentDayView(e, item) }, item.date)));
384
+ }
385
+ /**
386
+ * switch to current date day view
387
+ *
388
+ * @param {MouseEvent} e the double click event object
389
+ * @param {CalendarDate} calendarDate the calendar date object
390
+ */
391
+ goToCurrentDayView(e, calendarDate) {
392
+ e.stopPropagation();
393
+ this.currentPeriodController.updateCalendarPeriod('day', calendarDate);
394
+ }
395
+ /**
396
+ * emit vega click event when click the date block
397
+ *
398
+ * @param {MouseEvent} e the mouse event object
399
+ * @param {CalendarDate} calendarDate the calendar date object
400
+ */
401
+ handleDateBlockClick(e, calendarDate) {
402
+ const { target, clientX, clientY } = e;
403
+ if (this.isMonthBlockBlankArea(target)) {
404
+ const { year, month, date } = calendarDate;
405
+ this.dateDblClickEmitter.emit({
406
+ year,
407
+ month,
408
+ date,
409
+ hour: 0,
410
+ mouseEventInfo: { clientX, clientY },
411
+ });
412
+ }
413
+ }
414
+ /**
415
+ * determine if the clicked element is blank area
416
+ *
417
+ * @param {HTMLElement} element the target element
418
+ * @returns {boolean} true or false
419
+ */
420
+ isMonthBlockBlankArea(element) {
421
+ // the more button and the calendar event component should not trigger dateDblClick event
422
+ return !element.classList.contains('more-button') && element.tagName !== 'VEGA-CALENDAR-EVENT';
423
+ }
424
+ }
425
+ __decorate$l([
426
+ globalSlimmerRegistry.MapToComponentField()
427
+ ], VegaCalendarMonthViewRenderer.prototype, "viewMode", void 0);
428
+ __decorate$l([
429
+ globalSlimmerRegistry.MapToComponentField()
430
+ ], VegaCalendarMonthViewRenderer.prototype, "calendarView", void 0);
431
+ __decorate$l([
432
+ globalSlimmerRegistry.MapToComponentField()
433
+ ], VegaCalendarMonthViewRenderer.prototype, "currentPeriod", void 0);
434
+ __decorate$l([
435
+ globalSlimmerRegistry.MapToComponentField()
436
+ ], VegaCalendarMonthViewRenderer.prototype, "calendarViewController", void 0);
437
+ __decorate$l([
438
+ globalSlimmerRegistry.MapToComponentField()
439
+ ], VegaCalendarMonthViewRenderer.prototype, "currentPeriodController", void 0);
440
+ __decorate$l([
441
+ globalSlimmerRegistry.MapToComponentField()
442
+ ], VegaCalendarMonthViewRenderer.prototype, "monthEventRenderer", void 0);
443
+ __decorate$l([
444
+ globalSlimmerRegistry.MapToComponentField()
445
+ ], VegaCalendarMonthViewRenderer.prototype, "dateDblClickEmitter", void 0);
446
+ __decorate$l([
447
+ globalSlimmerRegistry.MapToComponentField()
448
+ ], VegaCalendarMonthViewRenderer.prototype, "translationSlimmer", void 0);
449
+
450
+ var __decorate$k = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
451
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
452
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
453
+ 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;
454
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
455
+ };
456
+ /** The `VegaCalendarViewWithTimeRenderer` class in TypeScript React renders a day view for a calendar component with title, content, and hour blocks. */
457
+ class VegaCalendarViewWithTimeRenderer extends globalSlimmerRegistry.VegaSlimmer {
458
+ /**
459
+ * The render function in TypeScript React returns an array of HTMLElements containing the week calendar view for a specific day.
460
+ *
461
+ * @returns {HTMLElement} An array of HTMLElement elements containing the rendered content of a calendar view for a
462
+ * specific day in the week. The content includes the title and the main content of the calendar view
463
+ * for that day.
464
+ */
465
+ render() {
466
+ return (index.h("div", { class: "calendar-view-container" },
467
+ this.renderViewTitle(),
468
+ this.renderViewContent()));
469
+ }
470
+ /**
471
+ * The function `renderViewTitle` renders a calendar view title and events based on the provided source data.
472
+ *
473
+ * @returns {HTMLElement} The `renderViewTitle` function returns an HTML element (HTMLElement) that contains a calendar view title container with rows for each day's information.
474
+ */
475
+ renderViewTitle() {
476
+ const source = this.calendarView.dateItems[0];
477
+ const weekHead = this.calendarView.weekdays;
478
+ return (index.h("div", { class: "calendar-view-title-container" },
479
+ index.h("div", { class: "calendar-view-row" },
480
+ index.h("div", { class: "time-line-empty" }),
481
+ index.h("div", { class: "calendar-view-title" }, source.map((item, index$1) => (index.h("div", { key: item.date, class: { active: item.isToday() } },
482
+ index.h("div", null, this.translationSlimmer.t(weekHead[index$1])),
483
+ index.h("div", { class: "week-day" }, item.date)))))),
484
+ index.h("div", { class: "calendar-view-row calendar-view-event-all-container border-divider-bottom" },
485
+ index.h("div", { class: "time-line-all" }, this.translationSlimmer.t('All Day')),
486
+ this.dayViewFullDayEventRenderer.render())));
487
+ }
488
+ /**
489
+ * The `renderViewContent` function in TypeScript React renders a calendar view with day blocks and time markers based on the provided data.
490
+ *
491
+ * @returns {HTMLElement} An HTMLElement containing a calendar view row with day containers, a timeline renderer, a content container, a day list, and hour blocks for each item in the source array.
492
+ */
493
+ renderViewContent() {
494
+ const source = this.calendarView.dateItems[0];
495
+ return (index.h("div", { class: "calendar-view-row calendar-view-day-container" },
496
+ this.timeLineRenderer.render(),
497
+ index.h("div", { class: "calendar-view-content-container" },
498
+ index.h("div", { class: "calendar-view-content" }, source.map((item) => {
499
+ return (index.h("div", { class: "grid-col border-divider-left", key: item.date },
500
+ index.h("div", { class: "hour-empty border-divider-top" }),
501
+ this.renderHourBlock(item)));
502
+ })),
503
+ this.dayViewTimedEventRenderer.render(),
504
+ this.timeLineRenderer.renderTimeMarker(source))));
505
+ }
506
+ /**
507
+ * The function `renderHourBlock` returns an array of HTML elements representing hour blocks with time information.
508
+ *
509
+ * @param {CalendarDate} calendarDate then current calendar date object
510
+ * @returns {HTMLElement[]} An array of HTMLElements is being returned. Each HTMLElement represents an hour block with a time value inside a div element.
511
+ */
512
+ renderHourBlock(calendarDate) {
513
+ const timeLineSource = Array(24).fill('');
514
+ return timeLineSource.map((_item, index$1) => {
515
+ return (index.h("div", { class: "grid-cell border-divider-top",
516
+ // eslint-disable-next-line react/jsx-no-bind
517
+ onDblClick: (e) => {
518
+ this.handleDateBlockClick(calendarDate, index$1, e);
519
+ } }));
520
+ });
521
+ }
522
+ /**
523
+ * emit vega click event when click the date block
524
+ *
525
+ * @param {CalendarDate} calendarDate the calendar date object
526
+ */
527
+ handleDateBlockClick(calendarDate, hour, e) {
528
+ const { year, month, date } = calendarDate;
529
+ const { clientX, clientY } = e;
530
+ this.dateDblClickEmitter.emit({ year, month, date, hour, mouseEventInfo: { clientX, clientY } });
531
+ }
532
+ }
533
+ __decorate$k([
534
+ globalSlimmerRegistry.MapToComponentField()
535
+ ], VegaCalendarViewWithTimeRenderer.prototype, "viewMode", void 0);
536
+ __decorate$k([
537
+ globalSlimmerRegistry.MapToComponentField()
538
+ ], VegaCalendarViewWithTimeRenderer.prototype, "timeLineRenderer", void 0);
539
+ __decorate$k([
540
+ globalSlimmerRegistry.MapToComponentField()
541
+ ], VegaCalendarViewWithTimeRenderer.prototype, "dayViewTimedEventRenderer", void 0);
542
+ __decorate$k([
543
+ globalSlimmerRegistry.MapToComponentField()
544
+ ], VegaCalendarViewWithTimeRenderer.prototype, "dayViewFullDayEventRenderer", void 0);
545
+ __decorate$k([
546
+ globalSlimmerRegistry.MapToComponentField()
547
+ ], VegaCalendarViewWithTimeRenderer.prototype, "calendarView", void 0);
548
+ __decorate$k([
549
+ globalSlimmerRegistry.MapToComponentField()
550
+ ], VegaCalendarViewWithTimeRenderer.prototype, "calendarViewController", void 0);
551
+ __decorate$k([
552
+ globalSlimmerRegistry.MapToComponentField()
553
+ ], VegaCalendarViewWithTimeRenderer.prototype, "dateDblClickEmitter", void 0);
554
+ __decorate$k([
555
+ globalSlimmerRegistry.MapToComponentField()
556
+ ], VegaCalendarViewWithTimeRenderer.prototype, "translationSlimmer", void 0);
557
+
558
+ var __decorate$j = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
559
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
560
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
561
+ 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;
562
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
563
+ };
564
+ /** The `VegaCalendarTimeLineRenderer` class in TypeScript React renders a time line with custom time format options and includes methods for rendering time markers and the time line itself. */
565
+ class VegaCalendarTimeLineRenderer extends globalSlimmerRegistry.VegaSlimmer {
566
+ /**
567
+ * takes an array of `CalendarDate` objects as input and returns an HTML element
568
+ *
569
+ * @param {CalendarDate[]} source
570
+ * @returns {HTMLElement} the html element
571
+ */
572
+ renderTimeMarker(source) {
573
+ const isVisible = source.findIndex((calendarDate) => calendarDate.isToday()) >= 0;
574
+ return (index.h("div", { class: {
575
+ 'time-marker-container': true,
576
+ 'hidden': !isVisible,
577
+ } },
578
+ index.h("div", { class: "time-marker", style: { top: this.getTimeMarkerPosition() }, ref: (div) => (this.timeMarkerRef = div) }, source.map((item) => {
579
+ return index.h("div", { key: item.date, class: { active: item.isToday() } });
580
+ }))));
581
+ }
582
+ /**
583
+ * rendering the time line component as an HTML element
584
+ *
585
+ * @returns {HTMLElement} the html element
586
+ */
587
+ render() {
588
+ const timeLineSource = this.getTimeLineTitles();
589
+ return (index.h("div", { class: "time-line", ref: (div) => (this.timeLineRef = div) },
590
+ index.h("div", { class: "hour-empty" }),
591
+ timeLineSource.map((time, index$1) => {
592
+ return (index.h("div", { key: time },
593
+ index.h("div", { class: "time-text", "data-time": index$1 === 0 ? 24 : index$1 }, time)));
594
+ })));
595
+ }
596
+ /**
597
+ * scroll to current time line block if change view mode to week or day
598
+ *
599
+ * @param {VegaCalendarViewModeType} viewMode the view mode
600
+ */
601
+ updateTimeLine(viewMode) {
602
+ this.scrollToTargetTimeBlock(viewMode);
603
+ this.syncTimeMarkerPosition(viewMode);
604
+ }
605
+ /**
606
+ * remove setInterval when component destroy
607
+ */
608
+ clearTimer() {
609
+ clearInterval(this.timeMarkerPositionTimer);
610
+ }
611
+ /**
612
+ * Add the time mark position update logic if the component add back to page
613
+ */
614
+ updateTimeLineIfComponentAddBack() {
615
+ this.syncTimeMarkerPosition(this.viewMode);
616
+ }
617
+ /**
618
+ * Should display the current time block in the view if the default view mode is not month
619
+ */
620
+ displayCurrentTimeBlockByDefault() {
621
+ this.scrollToTargetTimeBlock(this.viewMode);
622
+ }
623
+ /**
624
+ * The function `getTimeMarkerPosition` calculates the position of the current time marker as a percentage of the day.
625
+ *
626
+ * @returns {string} a string representing the current time marker position as a percentage of the day.
627
+ */
628
+ getTimeMarkerPosition() {
629
+ const now = new Date();
630
+ const minutesOneDay = 24 * 60;
631
+ return ((now.getHours() * 60 + now.getMinutes()) / minutesOneDay) * 100 + '%';
632
+ }
633
+ /**
634
+ * The function `getTimeLineTitles` generates a time line array based on the specified time format (24-hour) and stores it in the `timeLineSource` property.
635
+ *
636
+ * @returns {string[]} returns an array of strings representing the time line
637
+ */
638
+ getTimeLineTitles() {
639
+ const timeLine = [];
640
+ if (this.timeFormat === '12-hour') {
641
+ timeLine.push('12 AM');
642
+ for (let i = 1; i < 12; i++) {
643
+ timeLine.push(`${i} AM`);
644
+ }
645
+ timeLine.push('12 PM');
646
+ for (let i = 1; i < 12; i++) {
647
+ timeLine.push(`${i} PM`);
648
+ }
649
+ }
650
+ else {
651
+ for (let i = 0; i < 24; i++) {
652
+ timeLine.push(date.pad(i));
653
+ }
654
+ }
655
+ return timeLine;
656
+ }
657
+ /*
658
+ * The below method is e2e-test covered in
659
+ * @see{module:vega-calendar-scroll-to-current-time}
660
+ */
661
+ /* istanbul ignore next */
662
+ /**
663
+ * Update the time marker position with the time
664
+ *
665
+ * @param {VegaCalendarViewModeType} viewMode view mode value
666
+ */
667
+ syncTimeMarkerPosition(viewMode) {
668
+ clearInterval(this.timeMarkerPositionTimer);
669
+ if (viewMode !== 'month') {
670
+ this.timeMarkerPositionTimer = setInterval(() => {
671
+ if (this.timeMarkerRef) {
672
+ this.timeMarkerRef.style.top = this.getTimeMarkerPosition();
673
+ }
674
+ }, 60 * 1000);
675
+ }
676
+ }
677
+ /*
678
+ * The below method is e2e-test covered in
679
+ * @see{module:vega-calendar-scroll-to-current-time}
680
+ */
681
+ /* istanbul ignore next */
682
+ /**
683
+ * scroll the time line in to current view
684
+ *
685
+ * @param {VegaCalendarViewModeType} viewMode view mode value
686
+ */
687
+ scrollToTargetTimeBlock(viewMode) {
688
+ if (viewMode !== 'month') {
689
+ // add setTimeout here to make sure call the scroll into view after time line rendered.
690
+ const oneFrame = 16;
691
+ setTimeout(() => {
692
+ var _a, _b;
693
+ const hour = new Date().getHours();
694
+ (_b = (_a = this.timeLineRef) === null || _a === void 0 ? void 0 : _a.querySelector(`[data-time='${hour < 23 ? hour + 1 : hour}']`)) === null || _b === void 0 ? void 0 : _b.scrollIntoView({ block: 'end' });
695
+ }, oneFrame);
696
+ }
697
+ }
698
+ }
699
+ __decorate$j([
700
+ globalSlimmerRegistry.MapToComponentField()
701
+ ], VegaCalendarTimeLineRenderer.prototype, "timeFormat", void 0);
702
+ __decorate$j([
703
+ globalSlimmerRegistry.MapToComponentField()
704
+ ], VegaCalendarTimeLineRenderer.prototype, "viewMode", void 0);
705
+ __decorate$j([
706
+ globalSlimmerRegistry.MapToComponentMethod('watchViewModeChange')
707
+ ], VegaCalendarTimeLineRenderer.prototype, "updateTimeLine", null);
708
+ __decorate$j([
709
+ globalSlimmerRegistry.MapToComponentMethod('disconnectedCallback')
710
+ ], VegaCalendarTimeLineRenderer.prototype, "clearTimer", null);
711
+ __decorate$j([
712
+ globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
713
+ ], VegaCalendarTimeLineRenderer.prototype, "updateTimeLineIfComponentAddBack", null);
714
+ __decorate$j([
715
+ globalSlimmerRegistry.MapToComponentMethod('componentDidLoad')
716
+ ], VegaCalendarTimeLineRenderer.prototype, "displayCurrentTimeBlockByDefault", null);
717
+
718
+ /**
719
+ * Get a week days array
720
+ *
721
+ * @param {number} firstWeekDay - The first week day (0: Sunday, 1: Monday, ...)
722
+ * @returns {number[]} - The week days array
723
+ */
724
+ const getWeekdays = (firstWeekDay = 0) => {
725
+ const weekdays = [0, 1, 2, 3, 4, 5, 6];
726
+ return weekdays.concat(weekdays).slice(firstWeekDay, firstWeekDay + 7);
727
+ };
728
+
729
+ /**
730
+ * Calendar view generator abstract class.
731
+ */
732
+ class CalendarViewGenerator {
733
+ constructor() {
734
+ this.WEEKDAYS_SHORT = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];
735
+ this.weekdays = getWeekdays();
736
+ }
737
+ /**
738
+ * Get weekday names.
739
+ *
740
+ * @returns {string[]} - The weekday strings
741
+ */
742
+ getWeekdayNames() {
743
+ return this.WEEKDAYS_SHORT;
744
+ }
745
+ /**
746
+ * Generate calendar dates
747
+ *
748
+ * @param {CalendarPeriod} period - The calendar period
749
+ * @returns {Date[]} - The date result
750
+ */
751
+ generateDates(period) {
752
+ const cursor = period.startDate.toDate();
753
+ const dates = [];
754
+ for (let i = 0; i < period.count; i++) {
755
+ dates.push(new Date(cursor));
756
+ cursor.setDate(cursor.getDate() + 1);
757
+ }
758
+ return dates;
759
+ }
760
+ /**
761
+ * Generate calendar head
762
+ *
763
+ * @returns {string[]} - The data of week head
764
+ */
765
+ generateWeekHead() {
766
+ return this.weekdays.map((day) => this.getWeekdayNames()[day]);
767
+ }
768
+ }
769
+
770
+ /**
771
+ * Calendar view
772
+ */
773
+ class CalendarView {
774
+ constructor(weekdays, dateItems) {
775
+ this._weekdays = weekdays;
776
+ this._dateItems = dateItems;
777
+ }
778
+ /**
779
+ * The week head of the calendar view
780
+ *
781
+ * @type {string[]}
782
+ */
783
+ get weekdays() {
784
+ return this._weekdays;
785
+ }
786
+ /**
787
+ * The date items of the calendar view
788
+ *
789
+ * @type {CalendarDate[][]}
790
+ */
791
+ get dateItems() {
792
+ return this._dateItems;
793
+ }
794
+ }
795
+
796
+ /**
797
+ * Day view calendar generator
798
+ */
799
+ class DayViewGenerator extends CalendarViewGenerator {
800
+ /**
801
+ * @inheritDoc
802
+ */
803
+ generate(period) {
804
+ return new CalendarView([this.generateWeekHead()[period.current.toDate().getDay()]], [[period.current]]);
805
+ }
806
+ }
807
+
808
+ /**
809
+ * Calendar date class
810
+ */
811
+ class CalendarDate {
812
+ constructor(year, month, date) {
813
+ this._date = date;
814
+ this._month = month;
815
+ this._year = year;
816
+ }
817
+ /**
818
+ * Create a calendar date from a Date object
819
+ *
820
+ * @param {Date} date - The Date object
821
+ * @returns {CalendarDate} - Return a CalendarDate object
822
+ */
823
+ static from(date) {
824
+ return new CalendarDate(date.getFullYear(), date.getMonth() + 1, date.getDate());
825
+ }
826
+ /**
827
+ * The year of the calendar date
828
+ *
829
+ * @type {number}
830
+ */
831
+ get year() {
832
+ return this._year;
833
+ }
834
+ set year(value) {
835
+ this._year = value;
836
+ }
837
+ /**
838
+ * The month of the calendar date
839
+ *
840
+ * @type {number}
841
+ */
842
+ get month() {
843
+ return this._month;
844
+ }
845
+ set month(value) {
846
+ this._month = value;
847
+ }
848
+ /**
849
+ * The date of the calendar date
850
+ *
851
+ * @type {number}
852
+ */
853
+ get date() {
854
+ return this._date;
855
+ }
856
+ set date(value) {
857
+ this._date = value;
858
+ }
859
+ /**
860
+ * Verify whether the calendar date is today
861
+ *
862
+ * @returns {boolean} - Return true if the calendar date is today. Otherwise, return false.
863
+ */
864
+ isToday() {
865
+ const today = new Date();
866
+ return (today.getFullYear() === this.year &&
867
+ today.getMonth() + 1 === this.month &&
868
+ today.getDate() === this.date);
869
+ }
870
+ /**
871
+ * Convert the calendar date to a Date object
872
+ *
873
+ * @returns {Date} - Return a Date object
874
+ */
875
+ toDate() {
876
+ return new Date(this.year, this.month - 1, this.date);
877
+ }
878
+ /**
879
+ * Compare with another calendar date
880
+ *
881
+ * @param {CalendarDate} date - The calendar date to compare with
882
+ * @returns {DateCompareResult} - Return a DateCompareResult object
883
+ */
884
+ compare(date) {
885
+ const { year, month } = date;
886
+ const result = {
887
+ isPreviousMonth: false,
888
+ inMonth: false,
889
+ isNextMonth: false,
890
+ };
891
+ if (this.year === year) {
892
+ if (this.month < month) {
893
+ result.isPreviousMonth = true;
894
+ }
895
+ else if (this.month > month) {
896
+ result.isNextMonth = true;
897
+ }
898
+ else {
899
+ result.inMonth = true;
900
+ }
901
+ }
902
+ else if (this.year > year) {
903
+ result.isNextMonth = true;
904
+ }
905
+ else {
906
+ result.isPreviousMonth = true;
907
+ }
908
+ return result;
909
+ }
910
+ /**
911
+ * The function "equal" compares the year, month, and date of two CalendarDate objects and returns true if they are equal.
912
+ *
913
+ * @param {CalendarDate} calendarDate - The `equal` method in the code snippet is a function that compares the year, month, and date of the current `CalendarDate` object with another
914
+ * `CalendarDate` object passed as a parameter. The method returns `true` if all three values (year, month, date) are equal
915
+ * @returns {boolean} The date is same day with current
916
+ */
917
+ equal(calendarDate) {
918
+ const { year, month, date } = calendarDate;
919
+ return this._year === year && this._month === month && this._date === date;
920
+ }
921
+ }
922
+
923
+ /**
924
+ * Calendar week view generator
925
+ */
926
+ class WeekViewGenerator extends CalendarViewGenerator {
927
+ /**
928
+ * @inheritDoc
929
+ */
930
+ generate(period) {
931
+ const dates = this.generateDates(period);
932
+ return new CalendarView(this.generateWeekHead(), [dates.map(CalendarDate.from)]);
933
+ }
934
+ }
935
+
936
+ /**
937
+ * Calendar month view generator
938
+ */
939
+ class MonthViewGenerator extends CalendarViewGenerator {
940
+ /**
941
+ * @inheritDoc
942
+ */
943
+ generate(period) {
944
+ const calendarDates = [];
945
+ let week = [];
946
+ const dates = this.generateDates(period);
947
+ dates.forEach((date, i) => {
948
+ if (!(i % 7)) {
949
+ calendarDates[i / 7] = week = [];
950
+ }
951
+ const item = CalendarDate.from(date);
952
+ week.push(item);
953
+ });
954
+ return new CalendarView(this.generateWeekHead(), calendarDates);
955
+ }
956
+ }
957
+
958
+ /**
959
+ * CalendarPeriod is an abstract class that represents a period of date for calendar.
960
+ */
961
+ class CalendarPeriod {
962
+ constructor(count, current) {
963
+ this._count = count;
964
+ this._current = current ? current : CalendarDate.from(new Date());
965
+ this.calculatePeriod(this._current);
966
+ }
967
+ /**
968
+ * The current date of the period.
969
+ *
970
+ * @type {CalendarDate}
971
+ */
972
+ get current() {
973
+ return this._current;
974
+ }
975
+ /**
976
+ * The start date of the period
977
+ *
978
+ * @type {CalendarDate}
979
+ */
980
+ get startDate() {
981
+ return this._startDate;
982
+ }
983
+ /**
984
+ * The end date of the period
985
+ *
986
+ * @type {CalendarDate}
987
+ */
988
+ get endDate() {
989
+ return this._endDate;
990
+ }
991
+ /**
992
+ * The count of the period
993
+ *
994
+ * @type {number}
995
+ */
996
+ get count() {
997
+ return this._count;
998
+ }
999
+ /**
1000
+ * This function returns the type of the object.
1001
+ *
1002
+ * @type {string}
1003
+ */
1004
+ get type() {
1005
+ return this._type;
1006
+ }
1007
+ /**
1008
+ * Go to a specific date.
1009
+ *
1010
+ * @param {CalendarDate} date - The date to go to.
1011
+ * @returns {this} - The current period.
1012
+ */
1013
+ goTo(date) {
1014
+ return this.createBy(date);
1015
+ }
1016
+ /**
1017
+ * Go to now.
1018
+ *
1019
+ * @returns {this} - The current period.
1020
+ */
1021
+ now() {
1022
+ return this.createBy(CalendarDate.from(new Date()));
1023
+ }
1024
+ /**
1025
+ * Calculate the period start date and end date.
1026
+ *
1027
+ * @param {CalendarDate} date - The date to calculate the period from.
1028
+ */
1029
+ calculatePeriod(date) {
1030
+ const cursor = date.toDate();
1031
+ if (this.count > 1) {
1032
+ cursor.setDate(cursor.getDate() - getWeekdays().indexOf(cursor.getDay()));
1033
+ }
1034
+ this._startDate = CalendarDate.from(cursor);
1035
+ cursor.setDate(cursor.getDate() + this.count - 1);
1036
+ this._endDate = CalendarDate.from(cursor);
1037
+ }
1038
+ }
1039
+
1040
+ /**
1041
+ * Period of day.
1042
+ */
1043
+ class DayPeriod extends CalendarPeriod {
1044
+ constructor(current) {
1045
+ super(DayPeriod.DISPLAY_DATE_COUNT, current);
1046
+ this._type = 'day';
1047
+ }
1048
+ /**
1049
+ * @inheritDoc
1050
+ */
1051
+ next() {
1052
+ const nextDate = this.current.toDate();
1053
+ nextDate.setDate(nextDate.getDate() + 1);
1054
+ return this.createBy(CalendarDate.from(nextDate));
1055
+ }
1056
+ /**
1057
+ * @inheritDoc
1058
+ */
1059
+ previous() {
1060
+ const previousDate = this.current.toDate();
1061
+ previousDate.setDate(previousDate.getDate() - 1);
1062
+ return this.createBy(CalendarDate.from(previousDate));
1063
+ }
1064
+ /**
1065
+ * @inheritDoc
1066
+ */
1067
+ createBy(current) {
1068
+ return new DayPeriod(current);
1069
+ }
1070
+ }
1071
+ DayPeriod.DISPLAY_DATE_COUNT = 1;
1072
+
1073
+ /**
1074
+ * Period of the week
1075
+ */
1076
+ class WeekPeriod extends CalendarPeriod {
1077
+ constructor(current) {
1078
+ super(WeekPeriod.DISPLAY_DATE_COUNT, current);
1079
+ this._type = 'week';
1080
+ }
1081
+ /**
1082
+ * @inheritDoc
1083
+ */
1084
+ next() {
1085
+ const nextWeekStartDate = this.current.toDate();
1086
+ nextWeekStartDate.setDate(nextWeekStartDate.getDate() - getWeekdays().indexOf(nextWeekStartDate.getDay()) + 7);
1087
+ return this.createBy(CalendarDate.from(nextWeekStartDate));
1088
+ }
1089
+ /**
1090
+ * @inheritDoc
1091
+ */
1092
+ previous() {
1093
+ const previousWeekStartDate = this.current.toDate();
1094
+ previousWeekStartDate.setDate(previousWeekStartDate.getDate() - getWeekdays().indexOf(previousWeekStartDate.getDay()) - 7);
1095
+ return this.createBy(CalendarDate.from(previousWeekStartDate));
1096
+ }
1097
+ /**
1098
+ * @inheritDoc
1099
+ */
1100
+ createBy(current) {
1101
+ return new WeekPeriod(current);
1102
+ }
1103
+ }
1104
+ WeekPeriod.DISPLAY_DATE_COUNT = 7;
1105
+
1106
+ /**
1107
+ * Period of month
1108
+ */
1109
+ class MonthPeriod extends CalendarPeriod {
1110
+ constructor(current) {
1111
+ super(MonthPeriod.DISPLAY_DATE_COUNT, MonthPeriod.getMonthFirstDay(current));
1112
+ this._type = 'month';
1113
+ }
1114
+ /**
1115
+ * The function `getMonthFirstDay` returns the first day of a given month in a calendar.
1116
+ *
1117
+ * @param {CalendarDate} [calendarDate] - The `calendarDate` parameter is an optional parameter of
1118
+ * type `CalendarDate`. It represents a specific date in the calendar. If a `calendarDate` is
1119
+ * provided, the function will use that date to determine the first day of the month. If no
1120
+ * `calendarDate` is provided, the function
1121
+ * @returns {CalendarDate} A new `CalendarDate` object representing the first day of the month from the provided
1122
+ * `calendarDate` parameter or the current date if no parameter is provided.
1123
+ */
1124
+ static getMonthFirstDay(calendarDate) {
1125
+ const date = calendarDate || CalendarDate.from(new Date());
1126
+ return new CalendarDate(date.year, date.month, 1);
1127
+ }
1128
+ /**
1129
+ * @inheritDoc
1130
+ */
1131
+ next() {
1132
+ const next = this.current.toDate();
1133
+ next.setMonth(next.getMonth() + 1);
1134
+ return this.createBy(CalendarDate.from(next));
1135
+ }
1136
+ /**
1137
+ * @inheritDoc
1138
+ */
1139
+ previous() {
1140
+ const previous = this.current.toDate();
1141
+ previous.setMonth(previous.getMonth() - 1);
1142
+ return this.createBy(CalendarDate.from(previous));
1143
+ }
1144
+ /**
1145
+ * @inheritDoc
1146
+ */
1147
+ createBy(current) {
1148
+ return new MonthPeriod(current);
1149
+ }
1150
+ }
1151
+ MonthPeriod.DISPLAY_DATE_COUNT = 6 * 7;
1152
+
1153
+ var __decorate$i = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1154
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1155
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1156
+ 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;
1157
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1158
+ };
1159
+ /** The `VegaCalendarViewController` class manages the calendar view based on the current period and view mode in TypeScript. */
1160
+ class VegaCalendarViewController extends globalSlimmerRegistry.VegaSlimmer {
1161
+ constructor() {
1162
+ super(...arguments);
1163
+ this.monthViewGenerator = new MonthViewGenerator();
1164
+ this.weekViewGenerator = new WeekViewGenerator();
1165
+ this.dayViewGenerator = new DayViewGenerator();
1166
+ }
1167
+ /**
1168
+ * set default calendar view
1169
+ */
1170
+ initialCalendarView() {
1171
+ this.setCalendarView(this.getCalendarViewByPeriod(this.currentPeriod));
1172
+ }
1173
+ /**
1174
+ * generator new calendar view if the calendar current period changes
1175
+ *
1176
+ * @param {CalendarPeriod} newValue the new calendar period
1177
+ */
1178
+ generateCalendarView(newValue) {
1179
+ this.setCalendarView(this.getCalendarViewByPeriod(newValue));
1180
+ }
1181
+ /**
1182
+ * The function `getCalendarViewByPeriod` returns a specific calendar view based on the current period.
1183
+ *
1184
+ * @param {CalendarPeriod} newPeriod the new period
1185
+ * @returns {CalendarView} get the match calendar view by the period
1186
+ */
1187
+ getCalendarViewByPeriod(newPeriod) {
1188
+ switch (newPeriod.type) {
1189
+ case 'week':
1190
+ return this.weekViewGenerator.generate(newPeriod);
1191
+ case 'day':
1192
+ return this.dayViewGenerator.generate(newPeriod);
1193
+ default:
1194
+ return this.monthViewGenerator.generate(newPeriod);
1195
+ }
1196
+ }
1197
+ /**
1198
+ * update the calendar view
1199
+ *
1200
+ * @param {CalendarView} newView new calendar view
1201
+ */
1202
+ setCalendarView(newView) {
1203
+ this.calendarView = newView;
1204
+ }
1205
+ }
1206
+ __decorate$i([
1207
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
1208
+ ], VegaCalendarViewController.prototype, "calendarView", void 0);
1209
+ __decorate$i([
1210
+ globalSlimmerRegistry.MapToComponentField()
1211
+ ], VegaCalendarViewController.prototype, "currentPeriod", void 0);
1212
+ __decorate$i([
1213
+ globalSlimmerRegistry.MapToComponentField()
1214
+ ], VegaCalendarViewController.prototype, "currentPeriodController", void 0);
1215
+ __decorate$i([
1216
+ globalSlimmerRegistry.MapToComponentMethod('componentWillLoad')
1217
+ ], VegaCalendarViewController.prototype, "initialCalendarView", null);
1218
+ __decorate$i([
1219
+ globalSlimmerRegistry.MapToComponentMethod('watchCurrentPeriodChange')
1220
+ ], VegaCalendarViewController.prototype, "generateCalendarView", null);
1221
+
1222
+ var __decorate$h = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1223
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1224
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1225
+ 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;
1226
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1227
+ };
1228
+ /** This TypeScript class `VegaCalendarCurrentPeriodController` updates the current period based on the view mode in a calendar component. */
1229
+ class VegaCalendarCurrentPeriodController extends globalSlimmerRegistry.VegaSlimmer {
1230
+ /**
1231
+ * set new current period
1232
+ *
1233
+ * @param {CalendarPeriod} newPeriod new value
1234
+ */
1235
+ setCurrentPeriod(newPeriod) {
1236
+ this.currentPeriod = newPeriod;
1237
+ }
1238
+ /**
1239
+ * set new current period by the view mode and the current date
1240
+ *
1241
+ * @param {VegaCalendarViewModeType} viewMode view mode value
1242
+ * @param {CalendarDate} date current date
1243
+ */
1244
+ updateCalendarPeriod(viewMode, date) {
1245
+ switch (viewMode) {
1246
+ case 'month':
1247
+ this.setCurrentPeriod(new MonthPeriod(date));
1248
+ break;
1249
+ case 'week':
1250
+ this.setCurrentPeriod(new WeekPeriod(date));
1251
+ break;
1252
+ case 'day':
1253
+ this.setCurrentPeriod(new DayPeriod(date));
1254
+ break;
1255
+ }
1256
+ }
1257
+ /**
1258
+ * default current period is month period, re-create period if the default view mode is not month
1259
+ * set default calendar view
1260
+ */
1261
+ initialCurrentPeriod() {
1262
+ this.updateCalendarPeriod(this.viewMode, CalendarDate.from(new Date()));
1263
+ }
1264
+ /**
1265
+ * emit period change event
1266
+ *
1267
+ * @param {CalendarPeriod} newValue the new calendar period
1268
+ * @param {CalendarPeriod} oldValue the prev calendar period
1269
+ */
1270
+ emitChangeEvent(newValue, oldValue) {
1271
+ if (newValue &&
1272
+ oldValue &&
1273
+ newValue.startDate.equal(oldValue.startDate) &&
1274
+ newValue.endDate.equal(oldValue.endDate)) {
1275
+ return;
1276
+ }
1277
+ if (newValue && newValue.type !== this.viewMode) {
1278
+ this.viewMode = newValue.type;
1279
+ }
1280
+ this.changeEventEmitter.emit({
1281
+ viewMode: newValue.type,
1282
+ currentPeriod: this.getCurrentPeriodSummary(),
1283
+ });
1284
+ }
1285
+ /**
1286
+ * update the current period when view mode change
1287
+ *
1288
+ * @param {VegaCalendarViewModeType} viewMode new view mode value
1289
+ */
1290
+ updateCurrentPeriodByViewMode(viewMode) {
1291
+ if (this.currentPeriod && viewMode !== this.currentPeriod.type) {
1292
+ this.updateCalendarPeriod(viewMode, this.currentPeriod.current);
1293
+ }
1294
+ }
1295
+ /**
1296
+ * The function `getStartDateAndEndDate` returns an array of `VegaCalendarDateType` objects based on the `startDate` and `endDate` properties of the `currentPeriod` object.
1297
+ *
1298
+ * @returns {VegaCalendarChangeEventType['currentPeriod']} An array of objects containing the date, month, and year properties of the currentPeriod's
1299
+ * start date and end date.
1300
+ */
1301
+ getCurrentPeriodSummary() {
1302
+ const { current, startDate, endDate } = this.currentPeriod;
1303
+ return {
1304
+ year: current.year,
1305
+ month: current.month,
1306
+ startDate: {
1307
+ date: startDate.date,
1308
+ month: startDate.month,
1309
+ year: startDate.year,
1310
+ },
1311
+ endDate: {
1312
+ date: endDate.date,
1313
+ month: endDate.month,
1314
+ year: endDate.year,
1315
+ },
1316
+ };
1317
+ }
1318
+ }
1319
+ __decorate$h([
1320
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
1321
+ ], VegaCalendarCurrentPeriodController.prototype, "currentPeriod", void 0);
1322
+ __decorate$h([
1323
+ globalSlimmerRegistry.MapToComponentField()
1324
+ ], VegaCalendarCurrentPeriodController.prototype, "changeEventEmitter", void 0);
1325
+ __decorate$h([
1326
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
1327
+ ], VegaCalendarCurrentPeriodController.prototype, "viewMode", void 0);
1328
+ __decorate$h([
1329
+ globalSlimmerRegistry.MapToComponentMethod('componentWillLoad')
1330
+ ], VegaCalendarCurrentPeriodController.prototype, "initialCurrentPeriod", null);
1331
+ __decorate$h([
1332
+ globalSlimmerRegistry.MapToComponentMethod('watchCurrentPeriodChange')
1333
+ ], VegaCalendarCurrentPeriodController.prototype, "emitChangeEvent", null);
1334
+ __decorate$h([
1335
+ globalSlimmerRegistry.MapToComponentMethod('watchViewModeChange')
1336
+ ], VegaCalendarCurrentPeriodController.prototype, "updateCurrentPeriodByViewMode", null);
1337
+
1338
+ var __decorate$g = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1339
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1340
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1341
+ 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;
1342
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1343
+ };
1344
+ /** This code snippet defines a TypeScript class `VegaCalendarMonthEventRenderer` that extends `VegaSlimmer`. Here's a breakdown of what the class and its methods are doing: */
1345
+ class VegaCalendarMonthEventRenderer extends globalSlimmerRegistry.VegaSlimmer {
1346
+ constructor() {
1347
+ super(...arguments);
1348
+ this.maxMonthDisplayEventsCount = 2;
1349
+ }
1350
+ /**
1351
+ * current row dates all events.
1352
+ *
1353
+ * @param {CalendarDate[]} rowDate the current view date object
1354
+ * @returns {(CalendarEvent|null)[][]} the current view events
1355
+ */
1356
+ getCurrentRowEvents(rowDate) {
1357
+ const result = [];
1358
+ rowDate.forEach((item) => {
1359
+ const currentDateEvents = this.calendarEventController.getCurrentDateEvents(item);
1360
+ result.push(currentDateEvents);
1361
+ });
1362
+ return this.fullDayEventLayoutRenderer.sortLongEvents(result);
1363
+ }
1364
+ /**
1365
+ * The function filterRowDisplayEvents processes a 2D array of CalendarEvent objects to limit the number of events displayed per row.
1366
+ *
1367
+ * @param {(CalendarEvent|null)[][]} rowEvents - `rowEvents` is an array of arrays of `CalendarEvent` objects. Each inner array represents events for a specific row in a calendar display.
1368
+ * @returns {(CalendarEvent|null)[][]} the current row should display events array
1369
+ */
1370
+ filterRowDisplayEvents(rowEvents) {
1371
+ const result = [];
1372
+ rowEvents.forEach((events) => {
1373
+ const displayEvents = events.length > this.maxMonthDisplayEventsCount
1374
+ ? events.slice(0, this.maxMonthDisplayEventsCount - 1)
1375
+ : events;
1376
+ result.push(displayEvents);
1377
+ });
1378
+ return this.hideTheCutOffEvents(rowEvents, result);
1379
+ }
1380
+ /**
1381
+ * Get the month event container element ref
1382
+ *
1383
+ * @returns {HTMLDivElement} the container element
1384
+ */
1385
+ getMonthEventContainerRef() {
1386
+ return this.eventContainerRef;
1387
+ }
1388
+ /**
1389
+ * render the current date events
1390
+ *
1391
+ * @param {CalendarDate} calendarDate current day
1392
+ * @param {Nullable<CalendarEvent>[]} allEvents current row events
1393
+ * @param {Nullable<CalendarEvent>[]} displayEvents current row should display events
1394
+ * @param {number} currentViewIndex current day index of week
1395
+ * @returns {HTMLDivElement} the events container
1396
+ */
1397
+ render(calendarDate, allEvents, displayEvents, currentViewIndex) {
1398
+ const hiddenEventsLength = allEvents
1399
+ .slice(displayEvents.length)
1400
+ .filter((item) => item).length;
1401
+ return (index.h("div", { class: "events-container", ref: (node) => (this.eventContainerRef = node) },
1402
+ index.h("div", { class: "event-list" }, this.fullDayEventLayoutRenderer.render(displayEvents, currentViewIndex)),
1403
+ this.renderMoreButton(allEvents, hiddenEventsLength, `${calendarDate.date} ${getMonthName(calendarDate.toDate())} ${calendarDate.year}`)));
1404
+ }
1405
+ /**
1406
+ * Add a month event display count change observer, than update the component
1407
+ */
1408
+ addMaxDisplayCountChange() {
1409
+ domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(this.host, vegaInternalEventId.VegaInternalCalendarMonthEventsChange, (payload) => {
1410
+ this.maxMonthDisplayEventsCount = payload.detail;
1411
+ if (this.viewMode === 'month') {
1412
+ index.forceUpdate(this.host);
1413
+ }
1414
+ });
1415
+ }
1416
+ /**
1417
+ * Render the event more button if there is no enough space to display all event
1418
+ *
1419
+ * @param {Nullable<CalendarEvent>[]} events all event list array
1420
+ * @param {number} moreItemsLength popover events length
1421
+ * @param {string} title the popover title
1422
+ * @returns {HTMLDivElement | null} the more button or null
1423
+ */
1424
+ renderMoreButton(events, moreItemsLength, title) {
1425
+ if (moreItemsLength) {
1426
+ const backgroundColorEvents = events.filter((eventItem) => {
1427
+ return eventItem && (eventItem.isAllDayEvent || eventItem.isGroupEvent());
1428
+ });
1429
+ const otherEvents = events.filter((eventItem) => {
1430
+ return eventItem && !eventItem.isAllDayEvent && !eventItem.isGroupEvent();
1431
+ });
1432
+ return (index.h("div", { class: "month-event-more" },
1433
+ index.h("vega-popover", { trigger: "click", placement: "right" },
1434
+ index.h("div", { tabIndex: 0, slot: "popover-content", role: "button", class: "more-button", onKeyDown: accessibility.createEnterKeyHandlerToTriggerClick() }, `${moreItemsLength} More`),
1435
+ index.h("vega-flex", { slot: "popover", direction: "col", gap: "0" },
1436
+ index.h("vega-font", { textAlign: "center", variant: "font-field-label", color: "text-primary", style: { padding: '4px 0', marginBottom: '8px' } }, title),
1437
+ index.h("vega-flex", { direction: "col", gap: "size-4", style: { paddingBottom: otherEvents.length ? '4px' : '0px' } }, backgroundColorEvents.map((item) => {
1438
+ return this.eventItemRenderer.render(item, {
1439
+ 'month-event': true,
1440
+ 'calendar-event-large-size': true,
1441
+ 'calendar-event-in-popover': true,
1442
+ });
1443
+ })),
1444
+ otherEvents.map((item) => {
1445
+ return this.eventItemRenderer.render(item, {
1446
+ 'month-event': true,
1447
+ 'calendar-event-large-size': true,
1448
+ 'calendar-event-in-popover': true,
1449
+ });
1450
+ })))));
1451
+ }
1452
+ }
1453
+ /*
1454
+ * The below method is e2e-test covered in
1455
+ * @see{module:vega-calendar-render-full-day-event-correct}
1456
+ */
1457
+ /* istanbul ignore next */
1458
+ /**
1459
+ * The `hideTheCutOffEvents` method in the `VegaCalendarMonthEventRenderer` class is responsible for removing any cut-off events from the displayed events in each row
1460
+ *
1461
+ * @param {Nullable<CalendarEvent>[][]} allEvents the all events
1462
+ * @param {Nullable<CalendarEvent>[][]} rowEvents the display events
1463
+ * @returns {Nullable<CalendarEvent>[][]} new event array
1464
+ */
1465
+ hideTheCutOffEvents(allEvents, rowEvents) {
1466
+ const result = [];
1467
+ const removeItems = [];
1468
+ const shouldCheckEvents = rowEvents
1469
+ .map((items) => items[items.length - 1])
1470
+ .filter((item) => item && item.isGroupEvent());
1471
+ if (shouldCheckEvents.length) {
1472
+ shouldCheckEvents.forEach((checkItem) => {
1473
+ if (allEvents.filter((items) => items.includes(checkItem)).length >
1474
+ rowEvents.filter((items) => items.includes(checkItem)).length) {
1475
+ removeItems.push(checkItem);
1476
+ }
1477
+ });
1478
+ }
1479
+ if (removeItems.length) {
1480
+ rowEvents.forEach((items) => {
1481
+ if (items.length && removeItems.includes(items[items.length - 1])) {
1482
+ result.push(items.slice(0, items.length - 1));
1483
+ }
1484
+ else {
1485
+ result.push(items);
1486
+ }
1487
+ });
1488
+ return result;
1489
+ }
1490
+ return rowEvents;
1491
+ }
1492
+ }
1493
+ __decorate$g([
1494
+ globalSlimmerRegistry.MapToComponentField()
1495
+ ], VegaCalendarMonthEventRenderer.prototype, "viewMode", void 0);
1496
+ __decorate$g([
1497
+ globalSlimmerRegistry.MapToComponentField()
1498
+ ], VegaCalendarMonthEventRenderer.prototype, "host", void 0);
1499
+ __decorate$g([
1500
+ globalSlimmerRegistry.MapToComponentField()
1501
+ ], VegaCalendarMonthEventRenderer.prototype, "calendarEventController", void 0);
1502
+ __decorate$g([
1503
+ globalSlimmerRegistry.MapToComponentField()
1504
+ ], VegaCalendarMonthEventRenderer.prototype, "eventItemRenderer", void 0);
1505
+ __decorate$g([
1506
+ globalSlimmerRegistry.MapToComponentField()
1507
+ ], VegaCalendarMonthEventRenderer.prototype, "fullDayEventLayoutRenderer", void 0);
1508
+ __decorate$g([
1509
+ globalSlimmerRegistry.MapToComponentMethod('componentWillLoad')
1510
+ ], VegaCalendarMonthEventRenderer.prototype, "addMaxDisplayCountChange", null);
1511
+
1512
+ /** The above code defines an abstract class `CalendarEventBaseRepeatPattern` in TypeScript that represents a repeat pattern for calendar events. Here is a summary of what the code is doing: */
1513
+ class CalendarEventBaseRepeatPattern {
1514
+ /**
1515
+ * The constructor initializes the current date for a given date range and interval.
1516
+ *
1517
+ * @param {CalendarDate} repeatStartDate - The `repeatStartDate` parameter represents the starting date of a
1518
+ * calendar event or interval. It is of type `CalendarDate`, which likely contains information such as
1519
+ * the year, month, and day of the event.
1520
+ * @param {number} interval - The `interval` parameter represents the frequency at which the event
1521
+ * occurs. For example, if the interval is set to 2, it means the event occurs every 2 units of time
1522
+ * (e.g., every 2 days, weeks, months, etc.).
1523
+ * @param {Nullable<number>} count - The `count` parameter specifies the number of occurrences of the event. If `count`
1524
+ * is provided, the event will repeat `count` times within the specified interval. If `count` is
1525
+ * `null`, the event will repeat indefinitely until the `until` date is reached.
1526
+ * @param {Nullable<CalendarDate>} until - The `until` parameter in the constructor represents a date until which the recurring
1527
+ * event will occur. If this date is reached, the recurring event will stop.
1528
+ */
1529
+ constructor(repeatStartDate, interval, count, until) {
1530
+ this.repeatStartDate = repeatStartDate;
1531
+ this.interval = interval;
1532
+ this.count = count;
1533
+ this.until = until;
1534
+ }
1535
+ /**
1536
+ * The function `getRepeatSeries` retrieves a series of repeated events within a specified calendar period.
1537
+ *
1538
+ * @param {CalendarPeriod} period - The `period` parameter in the `getRepeatSeries` method represents
1539
+ * a specific time period in the form of a `CalendarPeriod` object. This object typically contains a
1540
+ * `startDate` and an `endDate`, which define the range of dates for which you want to generate repeat series.
1541
+ * @param {number} eventSpansDays - the current repeat series cross days, default value is one
1542
+ * @returns {CalendarDate[]} repeat start date array
1543
+ */
1544
+ getRepeatSeries(period, eventSpansDays = 1) {
1545
+ this.generateRepeatDateCacheUntilEndDate(period.endDate);
1546
+ return this.cache.filter((item) => {
1547
+ return this.isSeriesInPeriod(item, eventSpansDays, period);
1548
+ });
1549
+ }
1550
+ /**
1551
+ * The function `isSeriesInPeriod` checks if a series of dates falls within a specified date range.
1552
+ *
1553
+ * @param {CalendarDate} series - The `series` parameter represents a specific date in the form of a
1554
+ * `CalendarDate` object.
1555
+ * @param {number} seriesSpansDays - The `seriesSpansDays` parameter represents the number of days
1556
+ * that the series spans. It is used to calculate the end date of the series based on the start date.
1557
+ * @param {CalendarPeriod} period - Date period
1558
+ * @returns {boolean} a boolean value indicating whether the given series falls within the specified date
1559
+ * range.
1560
+ */
1561
+ isSeriesInPeriod(series, seriesSpansDays, period) {
1562
+ const seriesStart = series.toDate();
1563
+ const seriesEnd = new Date(series.year, series.month - 1, series.date + seriesSpansDays - 1);
1564
+ const { startDate, endDate } = period;
1565
+ const rangeStart = startDate.toDate();
1566
+ const rangeEnd = endDate.toDate();
1567
+ return ((seriesStart >= rangeStart && seriesStart <= rangeEnd) ||
1568
+ (seriesEnd >= rangeStart && seriesEnd <= rangeEnd) ||
1569
+ (seriesStart <= rangeStart && seriesEnd >= rangeEnd));
1570
+ }
1571
+ }
1572
+ CalendarEventBaseRepeatPattern.daySeconds = 24 * 60 * 60 * 1000;
1573
+
1574
+ /** The `CalendarEventDailyRepeatPattern` class in TypeScript represents a daily repeating pattern for calendar events. */
1575
+ class CalendarEventDailyRepeatPattern extends CalendarEventBaseRepeatPattern {
1576
+ /**
1577
+ * The constructor initializes the current date for a given date range and interval.
1578
+ *
1579
+ * @param {CalendarDate} startDate - The `startDate` parameter is of type `CalendarDate` and represents the starting date for a specific interval or range.
1580
+ * @param {number} interval - The `interval` parameter represents the frequency at which the event
1581
+ * occurs. For example, if the interval is set to 1, it means the event occurs every day. If the
1582
+ * interval is set to 2, it means the event occurs every other day.
1583
+ * @param {Nullable<number>} count - The `count` parameter specifies the number of occurrences of the event. If `count`
1584
+ * is provided, the event will repeat `count` times within the specified interval. If `count` is
1585
+ * `null`, the event will repeat indefinitely until the `until` date is reached.
1586
+ * @param {Nullable<CalendarDate>} until - The `until` parameter in the constructor is of type `Nullable<CalendarDate>`, which
1587
+ * means it can either accept a `CalendarDate` object or be `null`. This parameter is used to specify
1588
+ * a date until which the recurring event should repeat. If `until` is provided, the event
1589
+ */
1590
+ constructor(startDate, interval, count, until) {
1591
+ super(startDate, interval, count, until);
1592
+ this.initCache();
1593
+ }
1594
+ /**
1595
+ * The function generates and caches repeated dates before a specified end date.
1596
+ *
1597
+ * @param {CalendarDate} endDate - The `endDate` parameter represents the date until which you want to
1598
+ * generate repeat dates in the cache. The function `generateRepeatDateCacheBeforeEndDate` is
1599
+ * responsible for populating the cache with repeat dates until the specified `endDate`. It checks the
1600
+ * last date in the cache and generates subsequent repeat dates until
1601
+ */
1602
+ generateRepeatDateCacheUntilEndDate(endDate) {
1603
+ const lastMatchDate = this.cache[this.cache.length - 1];
1604
+ if (lastMatchDate.toDate() < endDate.toDate() &&
1605
+ (!this.count || (typeof this.count === 'number' && this.cache.length < this.count))) {
1606
+ let nextMatchDate = this.getNextRepeatStartDate(lastMatchDate);
1607
+ while (nextMatchDate && nextMatchDate.toDate() < endDate.toDate()) {
1608
+ nextMatchDate = this.getNextRepeatStartDate(nextMatchDate);
1609
+ if (typeof this.count === 'number' && this.cache.length >= this.count) {
1610
+ break;
1611
+ }
1612
+ }
1613
+ }
1614
+ }
1615
+ /**
1616
+ * The function `initCache` initializes a cache array with the `startDate` value.
1617
+ */
1618
+ initCache() {
1619
+ this.cache = [this.repeatStartDate];
1620
+ }
1621
+ /**
1622
+ * The function getNextRepeatStartDate calculates the next repeat start date based on a given date and certain conditions.
1623
+ *
1624
+ * @param {CalendarDate} date - The `date` parameter represents the current date for which you want to
1625
+ * calculate the next repeat start date. It is an instance of the `CalendarDate` class.
1626
+ * @returns {Nullable<CalendarDate>} The function `getNextRepeatStartDate` returns either a `CalendarDate` object if certain
1627
+ * conditions are met, or `null` if the conditions are not met.
1628
+ */
1629
+ getNextRepeatStartDate(date) {
1630
+ const nextDate = new Date(date.year, date.month - 1, date.date + this.interval);
1631
+ const nextCalendarDate = CalendarDate.from(nextDate);
1632
+ if ((this.until && nextDate > this.until.toDate()) ||
1633
+ (typeof this.count === 'number' && this.cache.length >= this.count)) {
1634
+ return null;
1635
+ }
1636
+ else {
1637
+ this.cache.push(nextCalendarDate);
1638
+ return nextCalendarDate;
1639
+ }
1640
+ }
1641
+ }
1642
+
1643
+ /** The `CalendarEventMonthlyRepeatPattern` class in TypeScript represents a monthly repeat pattern for calendar events. */
1644
+ class CalendarEventMonthlyRepeatPattern extends CalendarEventBaseRepeatPattern {
1645
+ /**
1646
+ * The constructor initializes the event with specified start and end dates, interval, count, and until date, and sets the byMonthDay property to the start date's day.
1647
+ *
1648
+ * @param {CalendarDate} startDate - The `startDate` parameter represents the starting date of the
1649
+ * event or interval. It is of type `CalendarDate`, which likely includes the year, month, and day
1650
+ * components of the date.
1651
+ * @param {number} interval - The `interval` parameter specifies the frequency of the recurring
1652
+ * events. For example, if the interval is set to 2, the event will occur every 2 units of time (days,
1653
+ * weeks, months, etc.).
1654
+ * @param {Nullable<number>} count - The `count` parameter specifies the number of occurrences of the event. If `count`
1655
+ * is provided, the event will repeat `count` times within the specified interval. If `count` is not
1656
+ * provided (or is `null`), the event will repeat indefinitely based on the other parameters like `
1657
+ * @param {Nullable<CalendarDate>} until - The `until` parameter is a nullable `CalendarDate` that specifies the end date for
1658
+ * the recurring event. If provided, the event will repeat until this date. If not provided, the event
1659
+ * will repeat indefinitely based on the other parameters like `count` or `endDate`.
1660
+ */
1661
+ constructor(startDate, interval, count, until) {
1662
+ super(startDate, interval, count, until);
1663
+ this.byMonthDay = this.repeatStartDate.date;
1664
+ this.initCache();
1665
+ }
1666
+ /**
1667
+ * This function generates and caches repeated dates before a specified end date.
1668
+ *
1669
+ * @param {CalendarDate} endDate - The `endDate` parameter in the
1670
+ * `generateRepeatDateCacheUntilEndDate` function is a CalendarDate object that represents the end
1671
+ * date until which the repeat dates need to be generated and cached. The function checks if the last
1672
+ * cached date is before the `endDate` and generates additional repeat dates until it reaches
1673
+ */
1674
+ generateRepeatDateCacheUntilEndDate(endDate) {
1675
+ const lastMatchDate = this.cache[this.cache.length - 1];
1676
+ if (lastMatchDate.toDate() < endDate.toDate() &&
1677
+ (!this.count || (typeof this.count === 'number' && this.cache.length < this.count))) {
1678
+ let nextMatchDate = this.getNextRepeatStartDate(lastMatchDate);
1679
+ while (nextMatchDate && nextMatchDate.toDate() < endDate.toDate()) {
1680
+ nextMatchDate = this.getNextRepeatStartDate(nextMatchDate);
1681
+ if (typeof this.count === 'number' && this.cache.length >= this.count) {
1682
+ break;
1683
+ }
1684
+ }
1685
+ }
1686
+ }
1687
+ /**
1688
+ * The function `initCache` initializes a cache array with the startDate value.
1689
+ */
1690
+ initCache() {
1691
+ this.cache = [this.repeatStartDate];
1692
+ }
1693
+ /**
1694
+ * The getNextRepeatStartDate function calculates the next start date based on a given date and interval, considering constraints such as end date and count limit.
1695
+ *
1696
+ * @param {CalendarDate} date - The `date` parameter represents the current date for which you want to
1697
+ * calculate the next repeat start date. It is of type `CalendarDate`.
1698
+ * @returns {Nullable<CalendarDate>} The function `getNextRepeatStartDate` returns a nullable `CalendarDate`. It either returns
1699
+ * the next calculated `CalendarDate` based on the input date and interval, or it returns `null` if
1700
+ * certain conditions are met (such as reaching the specified end date or count limit).
1701
+ */
1702
+ getNextRepeatStartDate(date) {
1703
+ const nextDate = this.getNextStartDate(date.year, date.month - 1 + this.interval);
1704
+ const nextCalendarDate = CalendarDate.from(nextDate);
1705
+ if ((this.until && nextDate > this.until.toDate()) ||
1706
+ (typeof this.count === 'number' && this.cache.length >= this.count)) {
1707
+ return null;
1708
+ }
1709
+ else {
1710
+ this.cache.push(nextCalendarDate);
1711
+ return nextCalendarDate;
1712
+ }
1713
+ }
1714
+ /**
1715
+ * get the new date with fixed date, if the date.getDate() not equal the fixed date, find the next month
1716
+ *
1717
+ * @param {number} year year
1718
+ * @param {number} month month
1719
+ * @returns {Date} the new date
1720
+ */
1721
+ getNextStartDate(year, month) {
1722
+ const nextDate = new Date(year, month, this.byMonthDay);
1723
+ if (nextDate.getDate() === this.byMonthDay) {
1724
+ return nextDate;
1725
+ }
1726
+ else {
1727
+ return this.getNextStartDate(year, month + 1);
1728
+ }
1729
+ }
1730
+ }
1731
+
1732
+ /** The `CalendarEventWeeklyRepeatPattern` class in TypeScript represents a weekly repeat pattern for calendar events, allowing for matching dates based on specific weekdays and generating future dates with optional constraints. */
1733
+ class CalendarEventWeeklyRepeatPattern extends CalendarEventBaseRepeatPattern {
1734
+ /**
1735
+ * This TypeScript constructor initializes a calendar date range with specified parameters including start date, end date, interval, count, until date, and an array of week days.
1736
+ *
1737
+ * @param {CalendarDate} startDate - The `startDate` parameter represents the starting date of the
1738
+ * calendar event or schedule. It is of type `CalendarDate`, which likely includes the year, month, and day components of a date.
1739
+ * @param {number} interval - The `interval` parameter represents the frequency of the recurrence. For
1740
+ * example, if `interval` is set to 1, the event will occur every week. If it's set to 2, the event
1741
+ * will occur every two weeks.
1742
+ * @param {Nullable<number>} count - The `count` parameter specifies the number of occurrences of the rule. If `count` is
1743
+ * provided, the recurrence will generate at most that many occurrences. If `count` is not provided,
1744
+ * the recurrence will continue indefinitely based on other parameters like `endDate` or `until`.
1745
+ * @param {Nullable<CalendarDate>} until - The `until` parameter specifies the end date for the recurrence rule. If provided,
1746
+ * the recurrence will continue until this date. If not provided, the recurrence will continue
1747
+ * indefinitely based on other parameters like `count` or `interval`.
1748
+ * @param {Nullable<VegaCalendarWeekDayType[]>} byWeekDay - The `byWeekDay` parameter is an array of
1749
+ * `VegaCalendarWeekDayType` values, which represent the days of the week for which the event should occur.
1750
+ */
1751
+ constructor(startDate, interval, count, until, byWeekDay) {
1752
+ super(startDate, interval, count, until);
1753
+ this.byWeekDay = this.sortWeekDay(byWeekDay);
1754
+ this.initCache();
1755
+ }
1756
+ /**
1757
+ * The function `getRepeatSeries` retrieves a series of repeated events within a specified calendar period.
1758
+ *
1759
+ * @param {CalendarPeriod} period - The `period` parameter in the `getRepeatSeries` method represents
1760
+ * a specific time period in the form of a `CalendarPeriod` object. This object typically contains a
1761
+ * `startDate` and an `endDate`, which define the range of dates for which you want to generate repeat series.
1762
+ * @param {number} eventSpansDays - the current repeat series cross days, default value is one
1763
+ * @returns {CalendarDate[]} repeat start date array
1764
+ */
1765
+ getRepeatSeries(period, eventSpansDays = 1) {
1766
+ this.generateRepeatDateCacheUntilEndDate(period.endDate);
1767
+ return this.getValidCache().filter((item) => {
1768
+ return this.isSeriesInPeriod(item, eventSpansDays, period);
1769
+ });
1770
+ }
1771
+ /**
1772
+ * This function generates repeated dates and caches them until a specified end date.
1773
+ *
1774
+ * @param {CalendarDate} endDate - The `endDate` parameter is a `CalendarDate` object that represents
1775
+ * the date until which the repeat date cache needs to be generated. The function
1776
+ * `generateRepeatDateCacheUntilEndDate` generates repeat dates until this specified end date.
1777
+ */
1778
+ generateRepeatDateCacheUntilEndDate(endDate) {
1779
+ const lastMatchDate = this.cache[this.cache.length - 1];
1780
+ if (lastMatchDate[0].toDate() < endDate.toDate() &&
1781
+ (!this.count || (typeof this.count === 'number' && this.cache.length < this.count))) {
1782
+ let nextMatchDate = this.getNextRepeatStartDate(lastMatchDate);
1783
+ while (nextMatchDate && nextMatchDate[0].toDate() < endDate.toDate()) {
1784
+ nextMatchDate = this.getNextRepeatStartDate(nextMatchDate);
1785
+ if (typeof this.count === 'number' && this.getValidCache().length >= this.count) {
1786
+ break;
1787
+ }
1788
+ }
1789
+ }
1790
+ }
1791
+ /**
1792
+ * The function getNextRepeatStartDate calculates the next start dates based on a given array of CalendarDate objects and returns them if certain conditions are met.
1793
+ *
1794
+ * @param {CalendarDate[]} dates - The `dates` parameter is an array of `CalendarDate` objects.
1795
+ * @returns {Nullable<CalendarDate[]>} The `getNextRepeatStartDate` function returns a nullable array of `CalendarDate` objects.
1796
+ * If there are no next dates available or if the cache count exceeds a specified limit, it returns
1797
+ * `null`. Otherwise, it returns an array of `CalendarDate` objects representing the next start dates.
1798
+ */
1799
+ getNextRepeatStartDate(dates) {
1800
+ const nextDate = this.getNextStartDates(dates);
1801
+ if (nextDate.length === 0 ||
1802
+ (typeof this.count === 'number' && this.getValidCache().length >= this.count)) {
1803
+ return null;
1804
+ }
1805
+ else {
1806
+ const nextCalendarDates = nextDate.map((item) => CalendarDate.from(item));
1807
+ this.cache.push(nextCalendarDates);
1808
+ return nextCalendarDates;
1809
+ }
1810
+ }
1811
+ /**
1812
+ * The function `getNextStartDates` takes an array of `CalendarDate` objects, calculates the next dates based on a specified interval, and filters out dates that are after a specified end date.
1813
+ *
1814
+ * @param {CalendarDate[]} dates - The `dates` parameter is an array of `CalendarDate` objects
1815
+ * representing specific dates in a calendar. Each `CalendarDate` object has properties for the year,
1816
+ * month, and date.
1817
+ * @returns {Date[]} The `getNextStartDates` function returns an array of `Date` objects representing the next
1818
+ * start dates based on the input `CalendarDate` array. The function calculates the next start dates
1819
+ * by adding a specific interval (multiplied by 7 to represent weeks) to each date in the input array.
1820
+ * Finally, it filters out any dates that are after a specified `until` date, if provided.
1821
+ */
1822
+ getNextStartDates(dates) {
1823
+ const nextDates = dates.map((dateItem) => new Date(dateItem.year, dateItem.month - 1, dateItem.date + this.interval * 7));
1824
+ return nextDates.filter((item) => !this.until || item <= this.until.toDate());
1825
+ }
1826
+ /**
1827
+ * The `initCache` function initializes a cache of calendar dates based on the start date and weekly repeat pattern.
1828
+ */
1829
+ initCache() {
1830
+ const result = [];
1831
+ const currentWeekDayIndex = this.getCurrentDayIndex(this.repeatStartDate);
1832
+ this.byWeekDay.forEach((day) => {
1833
+ const index = CalendarEventWeeklyRepeatPattern.weekDay.indexOf(day);
1834
+ const days = index - currentWeekDayIndex;
1835
+ const { year, month, date } = this.repeatStartDate;
1836
+ const dateItem = CalendarDate.from(new Date(year, month - 1, date + days));
1837
+ result.push(dateItem);
1838
+ });
1839
+ this.cache = [result];
1840
+ }
1841
+ /**
1842
+ * The function `sortWeekDay` sorts an array of week days based on their position in a predefined list.
1843
+ *
1844
+ * @param {boolean} weekDay - The `weekDay` parameter is an array of week day values that need to be sorted in a
1845
+ * specific order. The function `sortWeekDay` takes this array and sorts it based on a predefined
1846
+ * order specified in `CalendarEventWeeklyRepeatPattern.weekDay`.
1847
+ * @returns {VegaCalendarWeekDayType[]} The `sortWeekDay` function is returning the `weekDay` array sorted based on the index of
1848
+ * each `VegaCalendarWeekDayType` item in the `CalendarEventWeeklyRepeatPattern.weekDay` array.
1849
+ */
1850
+ sortWeekDay(weekDay) {
1851
+ if (weekDay && weekDay.length) {
1852
+ return weekDay
1853
+ .map((item) => item.toLocaleLowerCase())
1854
+ .sort((itemA, itemB) => {
1855
+ return (CalendarEventWeeklyRepeatPattern.weekDay.indexOf(itemA) -
1856
+ CalendarEventWeeklyRepeatPattern.weekDay.indexOf(itemB));
1857
+ });
1858
+ }
1859
+ else {
1860
+ return [CalendarEventWeeklyRepeatPattern.weekDay[this.getCurrentDayIndex(this.repeatStartDate)]];
1861
+ }
1862
+ }
1863
+ /**
1864
+ * This function returns the index of the current day in a week, with Sunday represented as 0.
1865
+ *
1866
+ * @param {CalendarDate} date - The `date` parameter in the `getCurrentDayIndex` function is of type
1867
+ * `CalendarDate`, which is a custom data type representing a date in a calendar.
1868
+ * @returns {number} The function `getCurrentDayIndex` returns the index of the current day in the week, with
1869
+ * Sunday being represented as 0 and Saturday being represented as 6.
1870
+ */
1871
+ getCurrentDayIndex(date) {
1872
+ return date.toDate().getDay();
1873
+ }
1874
+ /**
1875
+ * The function `getValidCache` returns a filtered and concatenated array of CalendarDate objects from the cache based on a start date.
1876
+ *
1877
+ * @returns {CalendarDate[]} The `getValidCache` method returns an array of `CalendarDate` objects that meet the
1878
+ * condition of having a date greater than or equal to the `startDate` property. The method first
1879
+ * flattens a nested array of `CalendarDate` objects stored in the `cache` property, then filters out
1880
+ * the `CalendarDate` objects that do not meet the condition, and finally concatenates the filtered
1881
+ * array
1882
+ */
1883
+ getValidCache() {
1884
+ const flatArr = array.flatNestedArray(this.cache.slice(1));
1885
+ return this.cache[0]
1886
+ .filter((item) => item.toDate() >= this.repeatStartDate.toDate())
1887
+ .concat(flatArr)
1888
+ .slice(0, typeof this.count === 'number' ? this.count : undefined);
1889
+ }
1890
+ }
1891
+ CalendarEventWeeklyRepeatPattern.weekDay = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'].map((item) => item.toLowerCase());
1892
+
1893
+ /** The `CalendarEventYearlyRepeatPattern` class defines a yearly repeat pattern for calendar events, checking for matches and generating future dates based on specified criteria. */
1894
+ class CalendarEventYearlyRepeatPattern extends CalendarEventBaseRepeatPattern {
1895
+ /**
1896
+ * The constructor initializes a new instance with specified start and end dates, interval, count, and until date.
1897
+ *
1898
+ * @param {CalendarDate} startDate - The `startDate` parameter is of type `CalendarDate` and
1899
+ * represents the starting date of a calendar event or interval.
1900
+ * @param {number} interval - The `interval` parameter represents the frequency at which the event
1901
+ * occurs. For example, if the interval is set to 2, the event will occur every 2 units of time (days,
1902
+ * weeks, months, etc.).
1903
+ * @param {Nullable<number>} count - The `count` parameter specifies the number of occurrences of the event. If `count`
1904
+ * is provided, the event will repeat `count` times within the specified interval. If `count` is not
1905
+ * provided, the event will repeat indefinitely based on the other parameters like `endDate` or
1906
+ * `until`.
1907
+ * @param {Nullable<CalendarDate>} until - The `until` parameter in the constructor is of type `Nullable<CalendarDate>`. This
1908
+ * means that it can either accept a `CalendarDate` object or be `null`. It is used to specify a date
1909
+ * until which the recurring event should repeat. If `until` is provided, the event
1910
+ */
1911
+ constructor(startDate, interval, count, until) {
1912
+ super(startDate, interval, count, until);
1913
+ this.matchDay = this.repeatStartDate.date;
1914
+ this.matchMonth = this.repeatStartDate.month;
1915
+ this.initCache();
1916
+ }
1917
+ /**
1918
+ * The function generates repeat dates and caches them until reaching the specified end date.
1919
+ *
1920
+ * @param {CalendarDate} endDate - The `endDate` parameter in the
1921
+ * `generateRepeatDateCacheUntilEndDate` function is a CalendarDate object that represents the date
1922
+ * until which the repeat date cache should be generated. The function checks if the last date in the
1923
+ * cache is before the `endDate`, and if so, it generates additional repeat dates
1924
+ */
1925
+ generateRepeatDateCacheUntilEndDate(endDate) {
1926
+ const lastMatchDate = this.cache[this.cache.length - 1];
1927
+ if (lastMatchDate.toDate() < endDate.toDate() &&
1928
+ (!this.count || (typeof this.count === 'number' && this.cache.length < this.count))) {
1929
+ let nextMatchDate = this.getNextRepeatStartDate(lastMatchDate);
1930
+ while (nextMatchDate && nextMatchDate.toDate() < endDate.toDate()) {
1931
+ nextMatchDate = this.getNextRepeatStartDate(nextMatchDate);
1932
+ if (typeof this.count === 'number' && this.cache.length >= this.count) {
1933
+ break;
1934
+ }
1935
+ }
1936
+ }
1937
+ }
1938
+ /**
1939
+ * The function getNextRepeatStartDate calculates the next repeat start date based on a given date and certain conditions.
1940
+ *
1941
+ * @param {CalendarDate} date - The `date` parameter represents the current date for which you want to
1942
+ * calculate the next repeat start date. It is of type `CalendarDate`, which seems to be a custom
1943
+ * class or structure that holds year, month, and day information.
1944
+ * @returns {Nullable<CalendarDate>} The function `getNextRepeatStartDate` returns either a `CalendarDate` object or `null`
1945
+ * based on certain conditions. If the next date exceeds the `until` date or the count limit has been
1946
+ * reached, it returns `null`. Otherwise, it adds the next date to the cache and returns it as a
1947
+ * `CalendarDate`.
1948
+ */
1949
+ getNextRepeatStartDate(date) {
1950
+ const nextDate = this.getNextStartDate(date.year + this.interval);
1951
+ const nextCalendarDate = CalendarDate.from(nextDate);
1952
+ if ((this.until && nextDate > this.until.toDate()) ||
1953
+ (typeof this.count === 'number' && this.cache.length >= this.count)) {
1954
+ return null;
1955
+ }
1956
+ else {
1957
+ this.cache.push(nextCalendarDate);
1958
+ return nextCalendarDate;
1959
+ }
1960
+ }
1961
+ /**
1962
+ * get the new date with fixed month and fixed date, if the date.getDate() not equal the fixed date or fixed month, find the next year
1963
+ *
1964
+ * @param {number} year year
1965
+ * @returns {Date} the new date
1966
+ */
1967
+ getNextStartDate(year) {
1968
+ const nextDate = new Date(year, this.matchMonth - 1, this.matchDay);
1969
+ if (nextDate.getDate() === this.matchDay && nextDate.getMonth() + 1 === this.matchMonth) {
1970
+ return nextDate;
1971
+ }
1972
+ else {
1973
+ return this.getNextStartDate(year + 1);
1974
+ }
1975
+ }
1976
+ /**
1977
+ * The function `initCache` initializes a cache array with the `startDate` value.
1978
+ */
1979
+ initCache() {
1980
+ this.cache = [this.repeatStartDate];
1981
+ }
1982
+ }
1983
+
1984
+ /** This code snippet defines a TypeScript class `CalendarEventRepeatPatternFactory` that serves as a factory for creating different types of repeat patterns for calendar events. Here's a breakdown of what the class and its methods are doing: */
1985
+ class CalendarEventRepeatPatternFactory {
1986
+ /**
1987
+ * This `getPattern` method within the `CalendarEventRepeatPatternFactory` class is a public method that is responsible for creating and returning a specific type of repeat pattern for a calendar event based on the input parameters provided. Here's a breakdown of what this method is doing:
1988
+ *
1989
+ * @param {Date} startDate repeat start date
1990
+ * @param {VegaCalendarEventRepeatOptions|undefined} repeatOptions repeat options
1991
+ * @returns {CalendarEventBaseRepeatPattern} the match repeat pattern
1992
+ */
1993
+ getPattern(startDate, repeatOptions) {
1994
+ const repeatStartDate = CalendarDate.from(startDate);
1995
+ const { frequency, interval = 1, byWeekDay, until, count, } = repeatOptions;
1996
+ const repeatEndDate = this.initDate(until);
1997
+ return this.initRepeatPattern(frequency, repeatStartDate, interval < 1 ? 1 : interval, count, repeatEndDate, byWeekDay);
1998
+ }
1999
+ /**
2000
+ * The `initDate` function initializes a `CalendarDate` object based on the input date string or Date object provided.
2001
+ *
2002
+ * @param {Nullable<string | Date>} date - The `date` parameter can be either a string or a Date object.
2003
+ * @returns {Nullable<CalendarDate>} The function `initDate` returns a `Nullable<CalendarDate>`, which means it can return either a `CalendarDate` object or `null`.
2004
+ */
2005
+ initDate(date) {
2006
+ if (date && typeof date === 'object') {
2007
+ return CalendarDate.from(date);
2008
+ }
2009
+ else if (date && typeof date === 'string') {
2010
+ const [month, day, year] = date.split('/');
2011
+ return new CalendarDate(Number(year), Number(month), Number(day));
2012
+ }
2013
+ }
2014
+ /**
2015
+ * The function `initRepeatPattern` initializes a repeat pattern based on the frequency specified for a calendar event.
2016
+ *
2017
+ * @param {VegaCalendarEventRepeatType} frequency event frequency
2018
+ * @param {CalendarDate} repeatStartDate event start date
2019
+ * @param {number} interval event repeat interval
2020
+ * @param {Nullable<number>} count the event repeat count
2021
+ * @param {Nullable<CalendarDate>} repeatEndDate repeat end date
2022
+ * @param {Nullable<VegaCalendarWeekDayType[]>} byWeekDay weekly week days
2023
+ * @returns {CalendarEventBaseRepeatPattern} calendar event repeat pattern instance
2024
+ */
2025
+ initRepeatPattern(frequency, repeatStartDate, interval, count, repeatEndDate, byWeekDay) {
2026
+ switch (frequency) {
2027
+ case 'daily':
2028
+ return new CalendarEventDailyRepeatPattern(repeatStartDate, interval, count, repeatEndDate);
2029
+ case 'weekly':
2030
+ return new CalendarEventWeeklyRepeatPattern(repeatStartDate, interval, count, repeatEndDate, byWeekDay);
2031
+ case 'monthly':
2032
+ return new CalendarEventMonthlyRepeatPattern(repeatStartDate, interval, count, repeatEndDate);
2033
+ default:
2034
+ return new CalendarEventYearlyRepeatPattern(repeatStartDate, interval, count, repeatEndDate);
2035
+ }
2036
+ }
2037
+ }
2038
+ const calendarEventRepeatPatternFactory = new CalendarEventRepeatPatternFactory();
2039
+
2040
+ const CalendarDateFormatReg = /^\d{1,2}\/\d{1,2}\/\d{4}/;
2041
+ const CalendarTimeFormatReg = /^\d{1,2}:\d{1,2}/;
2042
+ /** The `CalendarEvent` class in TypeScript represents a calendar event with methods to validate required fields, initialize dates and times, and determine if it is a group event. */
2043
+ class CalendarEvent {
2044
+ /**
2045
+ * The constructor initializes a VegaCalendarRawEvent object and performs validation checks on required fields.
2046
+ *
2047
+ * @param {VegaCalendarRawEvent} eventOptions - The `eventOptions` parameter in the constructor
2048
+ * represents the raw event data for a Vega calendar event. It contains information such as the event
2049
+ * title, start and end dates, location, description, and any other relevant details about the event.
2050
+ * @param {string} eventKey If a value is not provided for `eventKey`, a UUID (Universally
2051
+ * Unique Identifier) will be generated as a default value. This identifier is used to distinguish
2052
+ * different events and can be helpful for tracking
2053
+ */
2054
+ constructor(eventOptions, eventKey) {
2055
+ // the default value is 1 when the event end date is same as start date
2056
+ this._eventSpansDays = 1;
2057
+ this.repeatPattern = null;
2058
+ this._event = eventOptions;
2059
+ this._eventKey = eventKey || createPublicApiRuntimeMetricsSlimmer.generateUUID();
2060
+ this.checkEventRequireField(eventOptions);
2061
+ this.initDate(eventOptions);
2062
+ this.initEventSpansDays();
2063
+ this.initRepeatPattern();
2064
+ }
2065
+ /**
2066
+ * The function returns the raw event data for a VegaCalendar event.
2067
+ *
2068
+ * @returns {VegaCalendarRawEvent} The `get event()` method is returning a `VegaCalendarRawEvent` object, which is stored in the `_event` property.
2069
+ */
2070
+ get event() {
2071
+ return this._event;
2072
+ }
2073
+ /**
2074
+ * This function returns the key of an event in TypeScript.
2075
+ *
2076
+ * @returns {string} event key
2077
+ */
2078
+ get eventKey() {
2079
+ return this._eventKey;
2080
+ }
2081
+ /**
2082
+ * This function returns the title of an event in TypeScript.
2083
+ *
2084
+ * @returns {string} The title of the event.
2085
+ */
2086
+ get title() {
2087
+ return this._event.title;
2088
+ }
2089
+ /**
2090
+ * This function returns the disabled of an event in TypeScript.
2091
+ *
2092
+ * @returns {boolean} The disabled of the event.
2093
+ */
2094
+ get disabled() {
2095
+ return !!this._event.disabled;
2096
+ }
2097
+ /**
2098
+ * This function returns the variant of an event in TypeScript.
2099
+ *
2100
+ * @returns {VegaCalendarEventVariantType|null} The variant of the event.
2101
+ */
2102
+ get variant() {
2103
+ return this._event.variant;
2104
+ }
2105
+ /**
2106
+ * This function returns the color of an event in TypeScript.
2107
+ *
2108
+ * @returns {string|null} The color of the event.
2109
+ */
2110
+ get color() {
2111
+ return this._event.color;
2112
+ }
2113
+ /**
2114
+ * The function isAllDayEvent returns a boolean value indicating whether the event is an all-day event.
2115
+ *
2116
+ * @returns {boolean} The method `isAllDayEvent()` is returning a boolean value indicating whether the event is an all-day event or not. It returns `true` if the event is an all-day event, and `false` if it is not.
2117
+ */
2118
+ get isAllDayEvent() {
2119
+ return !!this._event.isAllDay;
2120
+ }
2121
+ /**
2122
+ * The function isRepeatEvent returns a boolean value based on whether the event's repeatOptions property is not equal to 'none'.
2123
+ *
2124
+ * @returns {boolean} The method `isRepeatEvent` returns a boolean value indicating whether the `_event` has a repeat value other than 'none'.
2125
+ */
2126
+ get isRepeatEvent() {
2127
+ return this.repeatPattern !== null;
2128
+ }
2129
+ /**
2130
+ * The function returns the start date property of an object.
2131
+ *
2132
+ * @returns {Date} The `startDate` property of type `Date` is being returned.
2133
+ */
2134
+ get startDate() {
2135
+ return this._startDate;
2136
+ }
2137
+ /**
2138
+ * The function returns the end date property of an object.
2139
+ *
2140
+ * @returns {Date} The `endDate` property of type `Date` is being returned.
2141
+ */
2142
+ get endDate() {
2143
+ return this._endDate;
2144
+ }
2145
+ /**
2146
+ * This function returns the start time as a string.
2147
+ *
2148
+ * @returns {string} The `_startTime` property, which is a string, is being returned.
2149
+ */
2150
+ get startTime() {
2151
+ return this._startTime;
2152
+ }
2153
+ /**
2154
+ * This function returns the end time as a string.
2155
+ *
2156
+ * @returns {string} The `_endTime` property, which is a string, is being returned.
2157
+ */
2158
+ get endTime() {
2159
+ return this._endTime;
2160
+ }
2161
+ /**
2162
+ * This function returns the number of days that an event spans.
2163
+ *
2164
+ * @returns {number} The method `get eventSpansDays()` is returning the value of the property
2165
+ * `_eventSpansDays`, which is of type `number`.
2166
+ */
2167
+ get eventSpansDays() {
2168
+ return this._eventSpansDays;
2169
+ }
2170
+ /**
2171
+ * The function `copyTo` copies a calendar event with updated start and end dates.
2172
+ *
2173
+ * @param {string} eventKey - The `eventKey` parameter in the `copyTo` function is a string that represents the key or identifier of the new calendar event that will be created.
2174
+ * @param {CalendarDate} startDate - The `startDate` parameter in the `copyTo` function represents
2175
+ * the starting date of a calendar event. It is of type `CalendarDate`, which may contain information such as the day, month, and year of the event.
2176
+ * @returns {CalendarEvent} A new `CalendarEvent` object is being returned with the properties from the original
2177
+ * `_event` object (excluding `repeatOptions`) and the `startDate` and `endDate` properties set to
2178
+ * the `toDate()` values of the `startDate` and `endDate` parameters.
2179
+ */
2180
+ copyTo(eventKey, startDate) {
2181
+ const endDate = this._eventSpansDays > 1
2182
+ ? new Date(startDate.year, startDate.month - 1, startDate.date + (this._eventSpansDays - 1))
2183
+ : startDate.toDate();
2184
+ const result = new CalendarEvent(Object.assign(Object.assign({}, this._event), { startDate: startDate.toDate(), endDate: endDate, startTime: this.startTime, endTime: this.endTime }), eventKey);
2185
+ return result;
2186
+ }
2187
+ /**
2188
+ * Check the event is a group event or not
2189
+ *
2190
+ * @returns {boolean} true or false
2191
+ */
2192
+ isGroupEvent() {
2193
+ return this._eventSpansDays > 1;
2194
+ }
2195
+ /**
2196
+ * This TypeScript function checks if a given date falls within the range of a calendar event based on its start and end dates, considering different repeat types like daily, weekly, monthly, and yearly.
2197
+ *
2198
+ * @param {CalendarDate} date - The `date` parameter represents the current date for which you want to
2199
+ * check if it falls within the range of the `calendarEvent`. It is of type `CalendarDate`.
2200
+ * @returns {boolean} a boolean value, either `true` or `false`, based on whether the `calendarEvent` falls on the `date` provided.
2201
+ */
2202
+ isCurrentDayEvent(date) {
2203
+ const { startDate, endDate } = this;
2204
+ const startCalendarDate = CalendarDate.from(startDate);
2205
+ const endCalendarDate = CalendarDate.from(new Date(endDate.getFullYear(), endDate.getMonth(), endDate.getDate() + 1));
2206
+ const currentDate = date.toDate();
2207
+ return startCalendarDate.toDate() <= currentDate && endCalendarDate.toDate() > currentDate;
2208
+ }
2209
+ /**
2210
+ * Get the number of minutes the event lasted
2211
+ *
2212
+ * @returns {number} the minutes
2213
+ */
2214
+ getEventDuration() {
2215
+ const [startHour, startMinutes] = this.startTime.split(':');
2216
+ const [endHour, endMinutes] = this.endTime.split(':');
2217
+ const now = CalendarDate.from(new Date());
2218
+ const startDate = new Date(now.year, now.month, now.date, Number(startHour), Number(startMinutes));
2219
+ const endDate = new Date(now.year, now.month, now.date, Number(endHour) === 0 && Number(startHour) !== 0 ? 24 : Number(endHour), Number(endMinutes));
2220
+ return (endDate.valueOf() - startDate.valueOf()) / (60 * 1000);
2221
+ }
2222
+ /**
2223
+ * This function returns an array of repeat series based on a given calendar period.
2224
+ *
2225
+ * @param {CalendarPeriod} period - The `period` parameter in the `getRepeatSeries` method is of type
2226
+ * `CalendarPeriod`. It represents a specific time period within a calendar, typically defined by a
2227
+ * start date and an end date. The method uses this period to generate a series of repeated events
2228
+ * based on a daily repeat pattern specified
2229
+ * @returns {CalendarDate[]} repeat start date array
2230
+ */
2231
+ getRepeatSeries(period) {
2232
+ if (this.repeatPattern) {
2233
+ return this.repeatPattern.getRepeatSeries(period, this._eventSpansDays);
2234
+ }
2235
+ return [];
2236
+ }
2237
+ /**
2238
+ * The function `convertTimeTo24Hour` converts a time string from 12-hour format to 24-hour format in TypeScript.
2239
+ *
2240
+ * @param {string} timeString - The `convertTimeTo24Hour` function you provided is used to convert a
2241
+ * time string from 12-hour format to 24-hour format. The function checks if the input time string is
2242
+ * in 12-hour format and contains either 'am' or 'pm'.
2243
+ * @returns {string} The `convertTimeTo24Hour` function returns a string representing the input time string
2244
+ * converted to 24-hour format. If the input time string is in 12-hour format and contains 'am' or
2245
+ * 'pm', it converts it to 24-hour format. If the input time string is not in 12-hour format or does
2246
+ * not contain 'am' or 'pm', it returns the original input
2247
+ */
2248
+ convertTimeTo24Hour(timeString) {
2249
+ timeString = timeString.toLocaleLowerCase();
2250
+ if (timeString.indexOf('am') > 0 || timeString.indexOf('pm') > 0) {
2251
+ if (timeString.indexOf('am') > 0) {
2252
+ timeString = timeString.replace('am', '').trim();
2253
+ const [hour, minutes] = timeString.split(':');
2254
+ return `${hour === '12' ? '00' : hour}:${minutes}`;
2255
+ }
2256
+ else {
2257
+ timeString = timeString.replace('pm', '').trim();
2258
+ const [hour, minutes] = timeString.split(':');
2259
+ return `${hour === '12' ? '12' : Number(hour) + 12}:${minutes}`;
2260
+ }
2261
+ }
2262
+ return timeString;
2263
+ }
2264
+ /**
2265
+ * The function `checkEventRequireField` validates the required fields of a calendar event item in TypeScript.
2266
+ *
2267
+ * @param {VegaCalendarRawEvent} eventOptions - The `eventOptions` parameter is an object of type
2268
+ * `VegaCalendarRawEvent` that contains information about a calendar event
2269
+ */
2270
+ checkEventRequireField(eventOptions) {
2271
+ const { title, startDate, endDate, startTime, endTime } = eventOptions;
2272
+ if ((startDate && typeof startDate === 'string' && !CalendarDateFormatReg.test(startDate)) ||
2273
+ (endDate && typeof endDate === 'string' && !CalendarDateFormatReg.test(endDate))) {
2274
+ throw new Error('Invalid calendar event item, the date format should be MM/DD/YYYY!');
2275
+ }
2276
+ if ((startTime && typeof startTime === 'string' && !CalendarTimeFormatReg.test(startTime)) ||
2277
+ (endTime && typeof endTime === 'string' && !CalendarTimeFormatReg.test(endTime))) {
2278
+ throw new Error('Invalid calendar event item, the time format should be HH:mm!');
2279
+ }
2280
+ if (!title || !startDate || (!endDate && !endTime)) {
2281
+ throw new Error('Invalid calendar event item, the required field should not empty!');
2282
+ }
2283
+ }
2284
+ /**
2285
+ * The `initDate` function in TypeScript initializes start and end dates and times for a calendar event based on the provided options.
2286
+ *
2287
+ * @param {VegaCalendarRawEvent} eventOptions - The `initDate` method you provided is used to
2288
+ * initialize the start and end dates for a calendar event based on the options provided in the
2289
+ * `eventOptions` object. The `eventOptions` object contains properties such as `startDate`,
2290
+ * `startTime`, `endDate`, and `endTime` which are used
2291
+ */
2292
+ initDate(eventOptions) {
2293
+ const { startDate, startTime, endDate, endTime } = eventOptions;
2294
+ if (startDate && typeof startDate === 'object') {
2295
+ this._startDate = startDate;
2296
+ }
2297
+ else if (startDate && typeof startDate === 'string') {
2298
+ const [month, day, year] = startDate.split('/');
2299
+ this._startDate = new Date(Number(year), Number(month) - 1, Number(day));
2300
+ }
2301
+ if (!startTime) {
2302
+ this._startTime = `${this._startDate.getHours()}:${this._startDate.getMinutes()}`;
2303
+ }
2304
+ else {
2305
+ this._startTime = this.convertTimeTo24Hour(startTime);
2306
+ }
2307
+ if (endDate && typeof endDate === 'object') {
2308
+ this._endDate = endDate;
2309
+ }
2310
+ else if (endDate && typeof endDate === 'string') {
2311
+ const [month, day, year] = endDate.split('/');
2312
+ this._endDate = new Date(Number(year), Number(month) - 1, Number(day), 23, 59, 59);
2313
+ }
2314
+ else {
2315
+ this._endDate = new Date(this._startDate.getFullYear(), this._startDate.getMonth(), this._startDate.getDate(), 23, 59, 59);
2316
+ }
2317
+ if (!endTime) {
2318
+ this._endTime = `${this._endDate.getHours()}:${this._endDate.getMinutes()}`;
2319
+ }
2320
+ else {
2321
+ this._endTime = this.convertTimeTo24Hour(endTime);
2322
+ }
2323
+ }
2324
+ /**
2325
+ * The function initializes a repeat pattern controller for a calendar event with specified start and end dates and repeat options.
2326
+ */
2327
+ initRepeatPattern() {
2328
+ if (this._event.repeatOptions && this._event.repeatOptions.frequency) {
2329
+ this.repeatPattern = calendarEventRepeatPatternFactory.getPattern(this._startDate, this._event.repeatOptions);
2330
+ }
2331
+ }
2332
+ /**
2333
+ * Initializes the event cross days by the event start date and end date.
2334
+ */
2335
+ initEventSpansDays() {
2336
+ const start = CalendarDate.from(this.startDate);
2337
+ const end = CalendarDate.from(this.endDate);
2338
+ this._eventSpansDays =
2339
+ (end.toDate().valueOf() - start.toDate().valueOf()) / (24 * 60 * 60 * 1000) + 1;
2340
+ }
2341
+ }
2342
+
2343
+ var __decorate$f = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
2344
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
2345
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
2346
+ 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;
2347
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
2348
+ };
2349
+ /** The `VegaCalendarEventController` class in TypeScript manages calendar events, initializes event layouts, retrieves events for the current date, and checks if a date falls within the range of a calendar event. */
2350
+ class VegaCalendarEventController extends globalSlimmerRegistry.VegaSlimmer {
2351
+ constructor() {
2352
+ super(...arguments);
2353
+ // This map is cache for newly generated calendar events
2354
+ this.repeatEventMap = new Map();
2355
+ }
2356
+ /**
2357
+ * The function `getCurrentDateEvent` returns an array of calendar events for the current date, including both normal events and group events.
2358
+ *
2359
+ * @param {CalendarDate} date - The `date` parameter in the `getCurrentDateEvent` function is of type `CalendarDate`, which is used to represent a specific date with properties for year, month, and date.
2360
+ * @returns {CalendarEvent[]} The `getCurrentDateEvent` function returns an array of `CalendarEvent` objects. It
2361
+ * first retrieves all group events and normal events for the specified date, then filters out the
2362
+ * events that are specific to the current day. Finally, it concatenates the current day events with
2363
+ * the group events and returns the combined array.
2364
+ */
2365
+ getCurrentDateEvents(date) {
2366
+ const allEvents = this.createRepeatEvents();
2367
+ return allEvents.filter((item) => item.isCurrentDayEvent(date));
2368
+ }
2369
+ /**
2370
+ * initial calendar events when component props events change
2371
+ *
2372
+ * @param {VegaCalendarRawEvent[]} newEvents new event options array
2373
+ */
2374
+ updateAfterEventChange(newEvents) {
2375
+ this.initCalendarEvents(newEvents);
2376
+ this.repeatEventMap.clear();
2377
+ }
2378
+ /**
2379
+ * initial calendar events in first time
2380
+ */
2381
+ updateWhenComponentWillLoad() {
2382
+ this.initCalendarEvents(this.events);
2383
+ }
2384
+ /**
2385
+ * initial calendar events
2386
+ *
2387
+ * @param {VegaCalendarRawEvent[]} newEvents new event options array
2388
+ */
2389
+ initCalendarEvents(newEvents) {
2390
+ const result = [];
2391
+ if (newEvents) {
2392
+ newEvents.forEach((item) => {
2393
+ try {
2394
+ const calendarEvent = new CalendarEvent(item);
2395
+ result.push(calendarEvent);
2396
+ }
2397
+ catch (_a) {
2398
+ globalSlimmerRegistry.LogUtility.warn('Invalid calendar event item:', item);
2399
+ }
2400
+ });
2401
+ }
2402
+ this.calendarEvents = result;
2403
+ }
2404
+ /**
2405
+ * We need generate new calendar event from the full-day repeat calendar event, so we can render those event as normal full-day event
2406
+ *
2407
+ * @returns {CalendarEvent[]} The `handleRepeatEvents` method returns an array of `CalendarEvent` objects.
2408
+ */
2409
+ createRepeatEvents() {
2410
+ const allEvents = this.calendarEvents;
2411
+ const otherEvents = [];
2412
+ const newRepeatEvents = [];
2413
+ allEvents.forEach((item) => {
2414
+ if (item.isRepeatEvent) {
2415
+ const repeatSeries = item.getRepeatSeries(this.currentPeriod);
2416
+ repeatSeries.forEach((series) => {
2417
+ newRepeatEvents.push(this.generateCalendarEventByRepeatSeries(item, series));
2418
+ });
2419
+ }
2420
+ else {
2421
+ otherEvents.push(item);
2422
+ }
2423
+ });
2424
+ return newRepeatEvents.concat(otherEvents);
2425
+ }
2426
+ /**
2427
+ * This function generates a calendar event based on a repeat series and stores it in a map to avoid duplicate creation.
2428
+ *
2429
+ * @param {CalendarEvent} calendarEvent - The `calendarEvent` parameter represents a single event on
2430
+ * a calendar. It contains information such as the event's start date, end date, and other details.
2431
+ * @param {CalendarDate} series - The repeat start date
2432
+ * @returns {CalendarEvent} The function `generateCalendarEventByRepeatSeries` returns a `CalendarEvent` object. If
2433
+ * the event key already exists in the `repeatEventMap`, it returns the corresponding `CalendarEvent`
2434
+ * object from the map. Otherwise, it creates a new `CalendarEvent` object based on the input
2435
+ * `calendarEvent` and `series` parameters, adds it to the `repeatEventMap`, and then
2436
+ */
2437
+ generateCalendarEventByRepeatSeries(calendarEvent, series) {
2438
+ const eventKey = `${calendarEvent.eventKey}-${series.year}${series.month}${series.date}`;
2439
+ if (this.repeatEventMap.has(eventKey)) {
2440
+ return this.repeatEventMap.get(eventKey);
2441
+ }
2442
+ else {
2443
+ const result = calendarEvent.copyTo(eventKey, series);
2444
+ this.repeatEventMap.set(eventKey, result);
2445
+ return result;
2446
+ }
2447
+ }
2448
+ }
2449
+ __decorate$f([
2450
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
2451
+ ], VegaCalendarEventController.prototype, "calendarEvents", void 0);
2452
+ __decorate$f([
2453
+ globalSlimmerRegistry.MapToComponentField()
2454
+ ], VegaCalendarEventController.prototype, "currentPeriod", void 0);
2455
+ __decorate$f([
2456
+ globalSlimmerRegistry.MapToComponentField()
2457
+ ], VegaCalendarEventController.prototype, "events", void 0);
2458
+ __decorate$f([
2459
+ globalSlimmerRegistry.MapToComponentMethod('watchEventsChange')
2460
+ ], VegaCalendarEventController.prototype, "updateAfterEventChange", null);
2461
+ __decorate$f([
2462
+ globalSlimmerRegistry.MapToComponentMethod('componentWillLoad')
2463
+ ], VegaCalendarEventController.prototype, "updateWhenComponentWillLoad", null);
2464
+
2465
+ var __decorate$e = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
2466
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
2467
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
2468
+ 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;
2469
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
2470
+ };
2471
+ /** The `VegaCalendarEventItemRenderer` class in TypeScript React is used for rendering calendar event items with specific layout and styling properties. */
2472
+ class VegaCalendarEventItemRenderer extends globalSlimmerRegistry.VegaSlimmer {
2473
+ /**
2474
+ * render event component
2475
+ *
2476
+ * @param {CalendarEvent} item the calendar event object
2477
+ * @param {Record<string,boolean>} classMap the class name map
2478
+ * @returns {HTMLVegaCalendarEventElement} calendar event element
2479
+ */
2480
+ render(item, classMap) {
2481
+ return (index.h("vega-calendar-event", { "data-calendar-ref": this.host, key: item.eventKey, calendarEvent: item, class: classMap, onKeyDown: accessibility.createEnterKeyHandlerToTriggerClick(),
2482
+ // eslint-disable-next-line react/jsx-no-bind
2483
+ onClick: () => this.handleEventClick(item) }, !item.isRepeatEvent && index.h("slot", { name: getCalendarEventSlotName(item.event.key) })));
2484
+ }
2485
+ /**
2486
+ * emit vega click event
2487
+ *
2488
+ * @param {CalendarEvent} eventItem the event item
2489
+ */
2490
+ handleEventClick(eventItem) {
2491
+ this.eventClickEmitter.emit({ rawEvent: eventItem.event });
2492
+ }
2493
+ }
2494
+ VegaCalendarEventItemRenderer.backgroundColorModeEventHeight = 18;
2495
+ __decorate$e([
2496
+ globalSlimmerRegistry.MapToComponentField()
2497
+ ], VegaCalendarEventItemRenderer.prototype, "host", void 0);
2498
+ __decorate$e([
2499
+ globalSlimmerRegistry.MapToComponentField()
2500
+ ], VegaCalendarEventItemRenderer.prototype, "calendarView", void 0);
2501
+ __decorate$e([
2502
+ globalSlimmerRegistry.MapToComponentField()
2503
+ ], VegaCalendarEventItemRenderer.prototype, "eventClickEmitter", void 0);
2504
+
2505
+ var __decorate$d = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
2506
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
2507
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
2508
+ 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;
2509
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
2510
+ };
2511
+ /** The `VegaCalendarEventResponsiveController` class extends `PageResizeObserverSlimmer` and updates the max display count of month events with debounce in a VegaCalendar component. */
2512
+ class VegaCalendarEventResponsiveController extends pageResizeObserverSlimmer.PageResizeObserverSlimmer {
2513
+ /**
2514
+ * update the event view when the calendar layout update
2515
+ */
2516
+ constructor() {
2517
+ super({
2518
+ // eslint-disable-next-line jsdoc/require-jsdoc
2519
+ target: /* istanbul ignore next */ () => this.host,
2520
+ // eslint-disable-next-line jsdoc/require-jsdoc
2521
+ callback: /* istanbul ignore next */ () => this.updateMaxDisplayCountWithDebounce(),
2522
+ });
2523
+ this.updateMaxDisplayCountWithDebounce = timer.debounce(this.updateMaxDisplayCount, 500, this);
2524
+ }
2525
+ /**
2526
+ * Update the month event display items.
2527
+ */
2528
+ updateMaxDisplayCount() {
2529
+ // The debounce method will case this method called after component disconnect, then the slimmer will get issue to get viewMode from component class, this issue will catch in spec.ts
2530
+ try {
2531
+ const eventContainerRef = this.monthEventRenderer.getMonthEventContainerRef();
2532
+ if (this.viewMode === 'month' && eventContainerRef) {
2533
+ const maxContainerHeight = eventContainerRef.parentElement.getBoundingClientRect().height;
2534
+ const count = Math.floor((maxContainerHeight - VegaCalendarEventResponsiveController.monthDateTitleHeight) /
2535
+ VegaCalendarEventItemRenderer.backgroundColorModeEventHeight);
2536
+ changeManager.ChangeManager.notify(domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubject(this.host, vegaInternalEventId.VegaInternalCalendarMonthEventsChange), {
2537
+ host: this.host,
2538
+ detail: count,
2539
+ });
2540
+ }
2541
+ // eslint-disable-next-line no-empty
2542
+ }
2543
+ catch (_a) { }
2544
+ }
2545
+ /**
2546
+ * update the max display count when switch view mode
2547
+ *
2548
+ * @param {VegaCalendarViewModeType} viewMode new view mode value
2549
+ */
2550
+ updateMaxDisplayCountAfterSwitchToMonthView(viewMode) {
2551
+ if (viewMode === 'month') {
2552
+ this.updateMaxDisplayCountWithDebounce();
2553
+ }
2554
+ }
2555
+ }
2556
+ VegaCalendarEventResponsiveController.monthDateTitleHeight = 26;
2557
+ __decorate$d([
2558
+ globalSlimmerRegistry.MapToComponentField()
2559
+ ], VegaCalendarEventResponsiveController.prototype, "host", void 0);
2560
+ __decorate$d([
2561
+ globalSlimmerRegistry.MapToComponentField()
2562
+ ], VegaCalendarEventResponsiveController.prototype, "monthEventRenderer", void 0);
2563
+ __decorate$d([
2564
+ globalSlimmerRegistry.MapToComponentField()
2565
+ ], VegaCalendarEventResponsiveController.prototype, "viewMode", void 0);
2566
+ __decorate$d([
2567
+ globalSlimmerRegistry.MapToComponentMethod('componentDidLoad')
2568
+ ], VegaCalendarEventResponsiveController.prototype, "updateMaxDisplayCount", null);
2569
+ __decorate$d([
2570
+ globalSlimmerRegistry.MapToComponentMethod('watchViewModeChange')
2571
+ ], VegaCalendarEventResponsiveController.prototype, "updateMaxDisplayCountAfterSwitchToMonthView", null);
2572
+
2573
+ var __decorate$c = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
2574
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
2575
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
2576
+ 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;
2577
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
2578
+ };
2579
+ /** renders all-day events in a calendar view, with options to display a limited number of events and show a "more" button for additional events. */
2580
+ class VegaCalendarFullDayEventRenderer extends globalSlimmerRegistry.VegaSlimmer {
2581
+ /**
2582
+ * render current preiod all day events
2583
+ *
2584
+ * @returns {HTMLElement} event element
2585
+ */
2586
+ render() {
2587
+ const viewSource = this.calendarView.dateItems[0];
2588
+ const events = viewSource.map((calendarDate) => {
2589
+ return this.calendarEventController
2590
+ .getCurrentDateEvents(calendarDate)
2591
+ .filter((eventItem) => eventItem.isAllDayEvent || eventItem.isGroupEvent());
2592
+ });
2593
+ const orderEvents = this.fullDayEventLayoutRenderer.sortLongEvents(events);
2594
+ const displayEvents = this.filterDisplayEvents(orderEvents);
2595
+ return (index.h("div", { class: "calendar-view-event-all" }, viewSource.map((item, index$1) => (index.h("div", { class: "event-all-col border-divider-left", key: item.date }, this.renderCurrentFullDayEvents(displayEvents[index$1], index$1, orderEvents[index$1]))))));
2596
+ }
2597
+ /**
2598
+ * render current date all day events
2599
+ *
2600
+ * @param {Nullable<CalendarEvent>[]} events displayed calendar events
2601
+ * @param {number} currentViewIndex the current date index of the array
2602
+ * @param {Nullable<CalendarEvent>[]} allEvents all calendar events
2603
+ * @returns {HTMLVegaCalendarEventElement[]} event component array
2604
+ */
2605
+ renderCurrentFullDayEvents(events, currentViewIndex, allEvents) {
2606
+ const height = events.length * VegaCalendarEventItemRenderer.backgroundColorModeEventHeight - 2;
2607
+ const hideEventsLength = allEvents.slice(events.length).filter(Boolean).length;
2608
+ return (index.h(index.Fragment, null,
2609
+ index.h("div", { class: "placeholder-block", style: { height: height + 'px' } },
2610
+ index.h("span", null,
2611
+ events.length,
2612
+ " events")),
2613
+ this.fullDayEventLayoutRenderer.render(events, currentViewIndex),
2614
+ hideEventsLength > 0 && this.dayViewFullDayEventMoreButtonRenderer.render(hideEventsLength)));
2615
+ }
2616
+ /**
2617
+ * Get the display events base on the show all events flag
2618
+ *
2619
+ * @param {Nullable<CalendarEvent>[][]} rowEvents row events array
2620
+ * @returns {Nullable<CalendarEvent>[][]} the part of the events or the whole events
2621
+ */
2622
+ filterDisplayEvents(rowEvents) {
2623
+ if (!this.showAllEventsInDayOrWeekView) {
2624
+ const result = [];
2625
+ const maxLength = VegaCalendarFullDayEventRenderer.maxDisplayEventLength;
2626
+ rowEvents.forEach((events) => {
2627
+ const displayEvents = events.length > maxLength ? events.slice(0, maxLength) : events;
2628
+ result.push(displayEvents);
2629
+ });
2630
+ return result;
2631
+ }
2632
+ else {
2633
+ return rowEvents;
2634
+ }
2635
+ }
2636
+ }
2637
+ VegaCalendarFullDayEventRenderer.maxDisplayEventLength = 2;
2638
+ __decorate$c([
2639
+ globalSlimmerRegistry.MapToComponentField()
2640
+ ], VegaCalendarFullDayEventRenderer.prototype, "calendarView", void 0);
2641
+ __decorate$c([
2642
+ globalSlimmerRegistry.MapToComponentField()
2643
+ ], VegaCalendarFullDayEventRenderer.prototype, "calendarEventController", void 0);
2644
+ __decorate$c([
2645
+ globalSlimmerRegistry.MapToComponentField()
2646
+ ], VegaCalendarFullDayEventRenderer.prototype, "eventItemRenderer", void 0);
2647
+ __decorate$c([
2648
+ globalSlimmerRegistry.MapToComponentField()
2649
+ ], VegaCalendarFullDayEventRenderer.prototype, "fullDayEventLayoutRenderer", void 0);
2650
+ __decorate$c([
2651
+ globalSlimmerRegistry.MapToComponentField()
2652
+ ], VegaCalendarFullDayEventRenderer.prototype, "showAllEventsInDayOrWeekView", void 0);
2653
+ __decorate$c([
2654
+ globalSlimmerRegistry.MapToComponentField()
2655
+ ], VegaCalendarFullDayEventRenderer.prototype, "dayViewFullDayEventMoreButtonRenderer", void 0);
2656
+
2657
+ var __decorate$b = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
2658
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
2659
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
2660
+ 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;
2661
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
2662
+ };
2663
+ /** The `VegaCalendarDayViewEventLayoutRenderer` class in TypeScript React renders event layouts for a day view calendar. */
2664
+ class VegaCalendarDayViewEventLayoutRenderer extends globalSlimmerRegistry.VegaSlimmer {
2665
+ /**
2666
+ * The `render` function in TypeScript React renders a layout of calendar events for a day view.
2667
+ *
2668
+ * @param {VegaCalendarDayViewTimedEventLayout} layout - The `layout` parameter in the `render` function is
2669
+ * of type `VegaCalendarDayViewTimedEventLayout`, which contains information about the layout of events for
2670
+ * a day view in a calendar. It has properties like `eventLayoutColumns`, which is an array of `VegaCalendarDayViewEvent
2671
+ * @returns {HTMLElement[]} An array of HTMLElements representing the rendered event nodes based on the provided layout and event data.
2672
+ */
2673
+ render(layout) {
2674
+ const layoutColumns = layout.eventLayoutCells;
2675
+ const eventNodes = [];
2676
+ layoutColumns.forEach((columns, index$1) => {
2677
+ let renderEvent = columns.getEventBySlotIndex(0);
2678
+ let start = 0;
2679
+ for (let i = 0; i < VegaCalendarDayViewEventLayoutRenderer.totalNumberOfCells; i++) {
2680
+ const currentEvent = columns.getEventBySlotIndex(i);
2681
+ if (currentEvent !== renderEvent) {
2682
+ if (renderEvent) {
2683
+ eventNodes.push(index.h("div", { key: index$1, class: "time-event-block", style: this.getTimeEventStyle(start, i, index$1, layout.getEventColumnsSpannedCount(renderEvent)) }, this.eventItemRenderer.render(renderEvent, {
2684
+ 'day-event': true,
2685
+ 'bg-shadow': index$1 > 0,
2686
+ })));
2687
+ }
2688
+ renderEvent = currentEvent;
2689
+ start = i;
2690
+ }
2691
+ }
2692
+ });
2693
+ return eventNodes;
2694
+ }
2695
+ /*
2696
+ * The below method is e2e-test covered in
2697
+ * @see{module:vega-calendar-render-timed-event-correct}
2698
+ */
2699
+ /* istanbul ignore next */
2700
+ /**
2701
+ * This function calculates and returns the style properties for positioning and sizing a calendar event within a grid layout.
2702
+ *
2703
+ * @param {number} startIndex - The `startIndex` parameter represents the index of the starting cell for the time event in the calendar grid.
2704
+ * @param {number} endIndex - The `endIndex` parameter represents the index of the end position of the time event within a column. It indicates where the time event ends vertically within the column layout.
2705
+ * @param {number} columnIndex - The `columnIndex` parameter represents the index of the column in which the event is being displayed. It is used to calculate the `left` position of the event element within the container based on the total number of columns spanned by the event.
2706
+ * @param {number} columnsSpannedCount - The `columnsSpannedCount` parameter represents the number of columns spanned by the event in a calendar layout. It is used to calculate the left position of the event within the calendar grid.
2707
+ * @returns {VegaCalendarEventStyle} The function `getTimeEventStyle` returns an object of type `VegaCalendarEventStyle` with properties for position, left, top, width, height, and zIndex.
2708
+ */
2709
+ getTimeEventStyle(startIndex, endIndex, columnIndex, columnsSpannedCount) {
2710
+ const left = columnIndex * (1 / columnsSpannedCount);
2711
+ return {
2712
+ position: 'absolute',
2713
+ left: `${left * 100}%`,
2714
+ top: `${(100 / VegaCalendarDayViewEventLayoutRenderer.totalNumberOfCells) * startIndex}%`,
2715
+ width: `calc(100% - ${left * 100}%)`,
2716
+ height: `${(100 / VegaCalendarDayViewEventLayoutRenderer.totalNumberOfCells) * (endIndex - startIndex)}%`,
2717
+ zIndex: columnIndex > 0 ? `${columnIndex}` : null,
2718
+ };
2719
+ }
2720
+ }
2721
+ VegaCalendarDayViewEventLayoutRenderer.totalNumberOfCells = 24 * 4;
2722
+ __decorate$b([
2723
+ globalSlimmerRegistry.MapToComponentField()
2724
+ ], VegaCalendarDayViewEventLayoutRenderer.prototype, "eventItemRenderer", void 0);
2725
+
2726
+ /** This code snippet is defining an abstract class named `VegaCalendarBaseEventLayoutGenerator` in TypeScript. The class contains an abstract method `generate` that must be implemented by any class that extends `VegaCalendarBaseEventLayoutGenerator`. */
2727
+ class VegaCalendarBaseEventLayoutGenerator {
2728
+ /**
2729
+ * The function `addCurrentEventToLayout` adds a long event view to a layout row without overlapping with existing events.
2730
+ *
2731
+ * @param {VegaCalendarBaseEventLayoutCell[]} layoutCells - The `layoutCells` parameter is an array of
2732
+ * `VegaCalendarBaseEventLayoutCell` objects. These objects represent rows in a layout where long events are displayed without overlapping each other.
2733
+ * @param {unknown} input - The `currentView` parameter represents the current long event view that you want to add to the layout rows without overlapping with existing events. The function `addCurrentEventToLayoutRow` searches for a layout row that does not have any overlap with the current view. If such a row is found,
2734
+ */
2735
+ addCurrentEventToLayout(layoutCells, input) {
2736
+ let noOverlapCell = layoutCells.find((layoutCell) => {
2737
+ return !layoutCell.hasOverlapEvent(input);
2738
+ });
2739
+ if (!noOverlapCell) {
2740
+ noOverlapCell = this.createNewLayoutCell();
2741
+ noOverlapCell.updateSlots(input);
2742
+ layoutCells.push(noOverlapCell);
2743
+ }
2744
+ else {
2745
+ noOverlapCell.updateSlots(input);
2746
+ }
2747
+ }
2748
+ }
2749
+
2750
+ /** This TypeScript code snippet defines an abstract class `VegaCalendarBaseEventLayout` that serves as a base for event layout functionality in a calendar application. */
2751
+ class VegaCalendarBaseEventLayout {
2752
+ /**
2753
+ * The function returns an array of VegaCalendarBaseEventLayoutCell objects.
2754
+ *
2755
+ * @returns {VegaCalendarBaseEventLayoutCell[]} An array of VegaCalendarLongEventLayoutRow objects is being returned.
2756
+ */
2757
+ get eventLayoutCells() {
2758
+ return this.cells;
2759
+ }
2760
+ }
2761
+
2762
+ /** This TypeScript class, VegaCalendarDayViewTimedEventLayout, manages the layout of events in a day view calendar. */
2763
+ class VegaCalendarDayViewTimedEventLayout extends VegaCalendarBaseEventLayout {
2764
+ /**
2765
+ * The constructor function initializes the columns property with the provided array of VegaCalendarDayViewTimedEventLayoutColumn objects.
2766
+ *
2767
+ * @param {VegaCalendarDayViewTimedEventLayoutColumn[]} columns - An array of VegaCalendarDayViewTimedEventLayoutColumn objects.
2768
+ */
2769
+ constructor(columns) {
2770
+ super();
2771
+ this.cells = columns;
2772
+ }
2773
+ /**
2774
+ * The function `getEventColumnsSpannedCount` calculates the number of columns spanned by a given calendar event in a day view layout.
2775
+ *
2776
+ * @param {CalendarEvent} eventItem - The `getEventColumnsSpannedCount` function takes a `CalendarEvent` object as the `eventItem` parameter. This function calculates the number of columns spanned by the given event within the calendar view.
2777
+ * @returns {number} The function `getEventColumnsSpannedCount` returns the number of columns spanned by the given `eventItem` in the `VegaCalendarDayViewTimedEventLayoutColumn` array `columns`.
2778
+ */
2779
+ getEventColumnsSpannedCount(eventItem) {
2780
+ const eventColumnIndex = this.cells.findIndex((column) => {
2781
+ return column.getEventStartIndex(eventItem) >= 0;
2782
+ });
2783
+ let count = eventColumnIndex + 1;
2784
+ if (eventColumnIndex < this.cells.length - 1) {
2785
+ this.cells
2786
+ .slice(eventColumnIndex + 1)
2787
+ .forEach((column) => {
2788
+ if (column.hasOverlapEvent(eventItem)) {
2789
+ count++;
2790
+ }
2791
+ });
2792
+ }
2793
+ return count;
2794
+ }
2795
+ }
2796
+
2797
+ /** This code snippet is defining an abstract class named `VegaCalendarBaseEventLayoutCell`. Here's a breakdown of what it does: */
2798
+ class VegaCalendarBaseEventLayoutCell {
2799
+ /**
2800
+ * This function retrieves a calendar event based on the slot index provided.
2801
+ *
2802
+ * @param {number} index - The `index` parameter is a number that represents the position of a slot in an array.
2803
+ * @returns {CalendarEvent | null} The `getEventBySlotIndex` method is returning a `CalendarEvent` object from the `slots` array at the specified `index`.
2804
+ */
2805
+ getEventBySlotIndex(index) {
2806
+ return this.slots[index];
2807
+ }
2808
+ /**
2809
+ * The function `getEventStartIndex` returns the index of a given `CalendarEvent` object within an array of `CalendarEvent` objects.
2810
+ *
2811
+ * @param {CalendarEvent} eventItem - CalendarEvent
2812
+ * @returns {number} The function `getEventStartIndex` returns the index of the `eventItem` within the `slots` array.
2813
+ */
2814
+ getEventStartIndex(eventItem) {
2815
+ return this.slots.findIndex((item) => item === eventItem);
2816
+ }
2817
+ /**
2818
+ * This TypeScript function calculates the end index of a calendar event within a specified range of slots.
2819
+ *
2820
+ * @param {CalendarEvent} eventItem - CalendarEvent - the event item for which we want to find the end index in the calendar.
2821
+ * @returns {number} The `getEventEndIndex` function returns the index of the end of the calendar event in the `VegaCalendarLongEventLayoutRow.defaultSlots` array.
2822
+ */
2823
+ getEventEndIndex(eventItem) {
2824
+ const startIndex = this.getEventStartIndex(eventItem);
2825
+ let endIndex = startIndex;
2826
+ if (startIndex >= 0) {
2827
+ for (let i = startIndex + 1; i < this.slots.length; i++) {
2828
+ if (this.slots[i] !== eventItem) {
2829
+ endIndex = i - 1;
2830
+ break;
2831
+ }
2832
+ else if (i === this.slots.length - 1) {
2833
+ endIndex = i;
2834
+ }
2835
+ }
2836
+ }
2837
+ return endIndex;
2838
+ }
2839
+ }
2840
+
2841
+ /** The class `VegaCalendarDayViewEventLayoutColumn` manages the layout of events in a day view calendar by storing event slots and providing methods to interact with them. */
2842
+ class VegaCalendarDayViewTimedEventLayoutColumn extends VegaCalendarBaseEventLayoutCell {
2843
+ constructor() {
2844
+ super(...arguments);
2845
+ this.slots = VegaCalendarDayViewTimedEventLayoutColumn.defaultSlots;
2846
+ }
2847
+ /**
2848
+ * The function `hasOverlapEvent` checks if a given calendar event overlaps with existing events in the calendar.
2849
+ *
2850
+ * @param {CalendarEvent} eventItem - The `eventItem` parameter in the `hasOverlapEvent` function represents a `CalendarEvent` object that contains information about an event such as its start time, end time, and possibly other details related to the event.
2851
+ * @returns {boolean} The function `hasOverlapEvent` returns a boolean value indicating whether there is an overlap in the calendar event slots. If there is an overlap, it returns `true`, otherwise it returns `false`.
2852
+ */
2853
+ hasOverlapEvent(eventItem) {
2854
+ const [start, end] = this.getIndexRangeFromEvent(eventItem);
2855
+ let overlapFlag = false;
2856
+ for (let i = start; i < end; i++) {
2857
+ if (this.slots[i]) {
2858
+ overlapFlag = true;
2859
+ break;
2860
+ }
2861
+ }
2862
+ return overlapFlag;
2863
+ }
2864
+ /**
2865
+ * The function `updateColumnSlots` updates the slots array by replacing a range of elements with a given event item.
2866
+ *
2867
+ * @param {CalendarEvent} eventItem - The `eventItem` parameter is a `CalendarEvent` object that represents an event in a calendar.
2868
+ */
2869
+ updateSlots(eventItem) {
2870
+ const [start, end] = this.getIndexRangeFromEvent(eventItem);
2871
+ if (end > start) {
2872
+ this.slots = this.slots
2873
+ .slice(0, start)
2874
+ .concat(Array(end - start).fill(eventItem), this.slots.slice(end));
2875
+ }
2876
+ }
2877
+ /**
2878
+ * The function `getIndexRangeFromEvent` takes a `CalendarEvent` object and returns an array of time indices based on the start and end times of the event.
2879
+ *
2880
+ * @param {CalendarEvent} eventItem - A CalendarEvent object containing information about a specific event in a calendar, such as its start time and end time.
2881
+ * @returns {number[]} An array of two numbers representing the index range of the start and end times of the given CalendarEvent.
2882
+ */
2883
+ getIndexRangeFromEvent(eventItem) {
2884
+ const { startTime, endTime } = eventItem;
2885
+ return [getTimeIndex(startTime), getTimeIndex(endTime)];
2886
+ }
2887
+ }
2888
+ VegaCalendarDayViewTimedEventLayoutColumn.defaultSlots = Array(96).fill(null);
2889
+
2890
+ /** The `VegaCalendarDayViewEventLayoutGenerator` class in TypeScript generates a layout for calendar events in a day view. */
2891
+ class VegaCalendarDayViewTimedEventLayoutGenerator extends VegaCalendarBaseEventLayoutGenerator {
2892
+ /**
2893
+ * The function generates a layout for displaying calendar events in a day view.
2894
+ *
2895
+ * @param {CalendarEvent[]} calendarEvents - CalendarEvent[] - an array of calendar events containing information such as event title, start time, end time, and other relevant details.
2896
+ * @returns {VegaCalendarDayViewTimedEventLayout} A `VegaCalendarDayViewTimedEventLayout` object is being returned, which is constructed using the `layoutColumns` array containing `VegaCalendarDayViewTimedEventLayoutColumn` objects.
2897
+ */
2898
+ generate(calendarEvents) {
2899
+ const layoutColumns = [
2900
+ new VegaCalendarDayViewTimedEventLayoutColumn(),
2901
+ ];
2902
+ calendarEvents.forEach((eventItem) => {
2903
+ this.addCurrentEventToLayout(layoutColumns, eventItem);
2904
+ });
2905
+ return new VegaCalendarDayViewTimedEventLayout(layoutColumns);
2906
+ }
2907
+ /**
2908
+ * The function creates a new instance of VegaCalendarDayViewTimedEventLayoutColumn.
2909
+ *
2910
+ * @returns {VegaCalendarDayViewTimedEventLayoutColumn} An instance of the class `VegaCalendarDayViewTimedEventLayoutColumn` is being returned.
2911
+ */
2912
+ createNewLayoutCell() {
2913
+ return new VegaCalendarDayViewTimedEventLayoutColumn();
2914
+ }
2915
+ }
2916
+
2917
+ /** The VegaCalendarEventSorter class in TypeScript provides a sort method to sort an array of CalendarEvent objects. */
2918
+ class VegaCalendarEventSorter {
2919
+ /**
2920
+ * The function "sort" takes an array of CalendarEvent objects and returns the same array without performing any sorting.
2921
+ *
2922
+ * @param {CalendarEvent[]} events - CalendarEvent[] - an array of CalendarEvent objects that need to be sorted.
2923
+ * @param {number} currentViewIndex - The current index of the row
2924
+ * @param {VegaCalendarFullDayEventLayout} fullDayEventLayout - The current row all long event layout
2925
+ * @returns {Nullable<CalendarEvent>} The `sort` function is currently returning the input array of `CalendarEvent` objects as is, without performing any sorting operation.
2926
+ */
2927
+ sort(events, currentViewIndex, fullDayEventLayout) {
2928
+ const allDayEvents = [];
2929
+ const groupEvents = [];
2930
+ const otherEvents = [];
2931
+ for (let i = 0; i < events.length; i++) {
2932
+ const currentEvent = events[i];
2933
+ if (currentEvent) {
2934
+ if (currentEvent.isGroupEvent()) {
2935
+ groupEvents.push(currentEvent);
2936
+ }
2937
+ else if (currentEvent.isAllDayEvent) {
2938
+ allDayEvents.push(currentEvent);
2939
+ }
2940
+ else {
2941
+ otherEvents.push(currentEvent);
2942
+ }
2943
+ }
2944
+ }
2945
+ let result = allDayEvents.concat(this.sortCalendarEventByTime(otherEvents));
2946
+ let currentViewOrderGroupEvents = fullDayEventLayout.getEventsByIndex(currentViewIndex);
2947
+ const currentEvents = currentViewOrderGroupEvents.filter((item) => item);
2948
+ result = groupEvents
2949
+ .filter((groupEvent) => {
2950
+ return currentEvents.findIndex((item) => item === groupEvent) < 0;
2951
+ })
2952
+ .concat(result);
2953
+ if (currentViewOrderGroupEvents.length > currentEvents.length) {
2954
+ const insertItems = result.slice(0, currentViewOrderGroupEvents.length - currentEvents.length);
2955
+ result = result.slice(currentViewOrderGroupEvents.length - currentEvents.length);
2956
+ currentViewOrderGroupEvents = this.insertEventsToEmptyPosition(currentViewOrderGroupEvents, insertItems);
2957
+ }
2958
+ result = currentViewOrderGroupEvents.concat(result);
2959
+ return result;
2960
+ }
2961
+ /**
2962
+ * The function `sortCalendarEventByTime` sorts an array of `CalendarEvent` objects based on their start and end times.
2963
+ *
2964
+ * @param {CalendarEvent[]} events - An array of CalendarEvent objects. Each CalendarEvent object contains information about a specific event, such as startTime and endTime.
2965
+ * @returns {CalendarEvent[]} The `sortCalendarEventByTime` function is returning an array of `CalendarEvent` objects sorted by their start time and end time. The events are sorted in ascending order based on their start time, and if two events have the same start time, they are further sorted in descending order based on their end time.
2966
+ */
2967
+ sortCalendarEventByTime(events) {
2968
+ return events.sort((eventA, eventB) => {
2969
+ const eventAStartIndex = getTimeIndex(eventA.startTime);
2970
+ const eventBStartIndex = getTimeIndex(eventB.startTime);
2971
+ if (eventAStartIndex === eventBStartIndex) {
2972
+ return getTimeIndex(eventB.endTime) - getTimeIndex(eventA.endTime);
2973
+ }
2974
+ else {
2975
+ return eventAStartIndex - eventBStartIndex;
2976
+ }
2977
+ });
2978
+ }
2979
+ /**
2980
+ * The function inserts events from a given array into empty positions in another array of events.
2981
+ *
2982
+ * @param {Nullable<CalendarEvent>[]} viewEvents - `viewEvents` is an array of nullable
2983
+ * `CalendarEvent` objects representing the events currently displayed in the calendar view. Each
2984
+ * element in the array can either be a `CalendarEvent` object or `null`.
2985
+ * @param {CalendarEvent[]} events - The `events` parameter in the `insertEventsToEmptyPosition`
2986
+ * function represents an array of `CalendarEvent` objects that need to be inserted into the
2987
+ * `viewEvents` array at empty positions. The function iterates over the `viewEvents` array and
2988
+ * inserts events from the `events` array
2989
+ * @returns {CalendarEvent|null[]} The `insertEventsToEmptyPosition` function returns an array of `Nullable<CalendarEvent>`
2990
+ * where events from the `events` array are inserted into empty positions in the `viewEvents` array.
2991
+ * If there are no empty positions in `viewEvents`, the function returns the original `viewEvents`
2992
+ * array.
2993
+ */
2994
+ insertEventsToEmptyPosition(viewEvents, events) {
2995
+ return viewEvents.map((item) => {
2996
+ if (events.length && !item) {
2997
+ const insertItem = events[0];
2998
+ events = events.slice(1);
2999
+ return insertItem;
3000
+ }
3001
+ else {
3002
+ return item;
3003
+ }
3004
+ });
3005
+ }
3006
+ }
3007
+
3008
+ var __decorate$a = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3009
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3010
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3011
+ 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;
3012
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3013
+ };
3014
+ /** The `VegaCalendarTimedEventRenderer` class in TypeScript React renders timed events for a calendar view based on the current day's events. timed events render for day view and week view */
3015
+ class VegaCalendarTimedEventRenderer extends globalSlimmerRegistry.VegaSlimmer {
3016
+ constructor() {
3017
+ super(...arguments);
3018
+ this.calendarEventSorter = new VegaCalendarEventSorter();
3019
+ this.dayViewTimedEventLayoutGenerator = new VegaCalendarDayViewTimedEventLayoutGenerator();
3020
+ }
3021
+ /**
3022
+ * render current preiod normal events
3023
+ *
3024
+ * @returns {HTMLElement} events element
3025
+ */
3026
+ render() {
3027
+ const viewSource = this.calendarView.dateItems[0];
3028
+ return (index.h("div", { class: "day-event-container" }, viewSource.map((item) => {
3029
+ return (index.h("div", { key: `${item.month}-${item.date}`, class: "day-event-col" }, this.renderTimedEvents(item)));
3030
+ })));
3031
+ }
3032
+ /**
3033
+ * render current day events
3034
+ *
3035
+ * @param {CalendarDate} date calendar Date
3036
+ * @returns {HTMLElement[]} event elements
3037
+ */
3038
+ renderTimedEvents(date) {
3039
+ const events = this.calendarEventController
3040
+ .getCurrentDateEvents(date)
3041
+ .filter((eventItem) => !eventItem.isAllDayEvent && !eventItem.isGroupEvent());
3042
+ const sortEvents = this.calendarEventSorter.sortCalendarEventByTime(events);
3043
+ const layout = this.dayViewTimedEventLayoutGenerator.generate(sortEvents);
3044
+ return this.dayViewEventLayoutRenderer.render(layout);
3045
+ }
3046
+ }
3047
+ __decorate$a([
3048
+ globalSlimmerRegistry.MapToComponentField()
3049
+ ], VegaCalendarTimedEventRenderer.prototype, "calendarView", void 0);
3050
+ __decorate$a([
3051
+ globalSlimmerRegistry.MapToComponentField()
3052
+ ], VegaCalendarTimedEventRenderer.prototype, "calendarEventController", void 0);
3053
+ __decorate$a([
3054
+ globalSlimmerRegistry.MapToComponentField()
3055
+ ], VegaCalendarTimedEventRenderer.prototype, "dayViewEventLayoutRenderer", void 0);
3056
+
3057
+ /** The VegaCalendarLongEventLayout class manages the layout of long events in a calendar by organizing them into rows. */
3058
+ class VegaCalendarFullDayEventLayout extends VegaCalendarBaseEventLayout {
3059
+ /**
3060
+ * The constructor function initializes a VegaCalendarFullDayEventLayoutRow array in TypeScript.
3061
+ *
3062
+ * @param {VegaCalendarFullDayEventLayoutRow[]} rows - An array of VegaCalendarFullDayEventLayoutRow objects.
3063
+ */
3064
+ constructor(rows) {
3065
+ super();
3066
+ this.cells = rows;
3067
+ }
3068
+ /**
3069
+ * This TypeScript function returns the index of a row containing a specific calendar event.
3070
+ *
3071
+ * @param {CalendarEvent} eventItem - The `eventItem` parameter is a `CalendarEvent` object that represents an event in a calendar.
3072
+ * @returns {number} The function `getEventRowsIndex` returns the index of the row in the `rows` array where the `eventItem` is found based on the condition specified in the `findIndex` method.
3073
+ */
3074
+ getEventRowsIndex(eventItem) {
3075
+ return this.cells.findIndex((row) => row.getEventStartIndex(eventItem) >= 0);
3076
+ }
3077
+ /**
3078
+ * This function retrieves CalendarEvents from each row in a calendar layout based on a specified index.
3079
+ *
3080
+ * @param {number} index - The `index` parameter in the `getEventsByIndex` method is a number that
3081
+ * represents the slot index for which you want to retrieve calendar events. The method iterates
3082
+ * through each row in the `rows` array and retrieves the calendar event at the specified slot index from each row. The method
3083
+ * @returns {(Nullable<CalendarEvent>)[]} An array of CalendarEvent objects is being returned.
3084
+ */
3085
+ getEventsByIndex(index) {
3086
+ const result = [];
3087
+ let lastItemIndex = 0;
3088
+ this.cells.forEach((row, rowIndex) => {
3089
+ const currentEvent = row.getEventBySlotIndex(index);
3090
+ result.push(currentEvent);
3091
+ if (currentEvent) {
3092
+ lastItemIndex = rowIndex;
3093
+ }
3094
+ });
3095
+ return result.slice(0, lastItemIndex + 1);
3096
+ }
3097
+ }
3098
+
3099
+ /** The `VegaCalendarLongEventLayoutRow` class in TypeScript manages the layout of long events in a calendar by updating slots and checking for overlaps. */
3100
+ class VegaCalendarFullDayEventLayoutRow extends VegaCalendarBaseEventLayoutCell {
3101
+ constructor() {
3102
+ super(...arguments);
3103
+ this.slots = VegaCalendarFullDayEventLayoutRow.defaultSlots;
3104
+ }
3105
+ /**
3106
+ * The function `updateRowSlots` updates a row of slots in a calendar view with a long event.
3107
+ *
3108
+ * @param {VegaCalendarFullDayEventView} eventView - The `eventView` parameter in the `updateRowSlots` method is of type `VegaCalendarFullDayEventView`. It contains information about a long event in a
3109
+ */
3110
+ updateSlots(eventView) {
3111
+ const { start, end } = eventView;
3112
+ this.slots = this.slots
3113
+ .slice(0, start)
3114
+ .concat(Array(end - start + 1).fill(eventView.event), this.slots.slice(end + 1));
3115
+ }
3116
+ /**
3117
+ * The function checks if a given event overlaps with existing events in a calendar view.
3118
+ *
3119
+ * @param {VegaCalendarFullDayEventView} eventView - The `eventView` parameter in the `hasOverlapEvent`
3120
+ * function represents a view of a long event in a Vega calendar. It contains the `start` and `end`
3121
+ * properties which specify the start and end times of the event. The function checks if there is any
3122
+ * overlap with existing events in
3123
+ * @returns {boolean} The function `hasOverlapEvent` returns a boolean value indicating whether there is an
3124
+ * overlap in the slots between the start and end times of the given `VegaCalendarFullDayEventView` event.
3125
+ */
3126
+ hasOverlapEvent(eventView) {
3127
+ const { start, end } = eventView;
3128
+ let overlapFlag = false;
3129
+ for (let i = start; i < end + 1; i++) {
3130
+ if (this.slots[i]) {
3131
+ overlapFlag = true;
3132
+ break;
3133
+ }
3134
+ }
3135
+ return overlapFlag;
3136
+ }
3137
+ }
3138
+ VegaCalendarFullDayEventLayoutRow.defaultSlots = Array(7).fill(null);
3139
+
3140
+ /** The `VegaCalendarLongEventLayoutGenerator` class in TypeScript generates a layout for long calendar events with overlapping prevention logic. */
3141
+ class VegaCalendarFullDayEventLayoutGenerator extends VegaCalendarBaseEventLayoutGenerator {
3142
+ /**
3143
+ * The function generates a long event layout for a calendar based on the input calendar events.
3144
+ *
3145
+ * @param {CalendarEvent[][]} calendarEvents - CalendarEvent[][] is a two-dimensional array where each
3146
+ * element represents a day in the calendar and contains an array of CalendarEvent objects representing events on that day.
3147
+ * @returns {VegaCalendarFullDayEventLayout} A new instance of `VegaCalendarFullDayEventLayout` is being returned, which is constructed
3148
+ * using the `layoutRows` array containing `VegaCalendarFullDayEventLayoutRow` objects.
3149
+ */
3150
+ generate(calendarEvents) {
3151
+ const allShouldOrderLongEvents = this.collectAllShouldOrderLongEvents(calendarEvents);
3152
+ const layoutRows = [new VegaCalendarFullDayEventLayoutRow()];
3153
+ allShouldOrderLongEvents.forEach((eventView) => {
3154
+ this.addCurrentEventToLayout(layoutRows, eventView);
3155
+ });
3156
+ return new VegaCalendarFullDayEventLayout(layoutRows);
3157
+ }
3158
+ /**
3159
+ * The function creates a new instance of VegaCalendarFullDayEventLayoutRow.
3160
+ *
3161
+ * @returns {VegaCalendarFullDayEventLayoutRow} An instance of the class `VegaCalendarFullDayEventLayoutRow` is being returned.
3162
+ */
3163
+ createNewLayoutCell() {
3164
+ return new VegaCalendarFullDayEventLayoutRow();
3165
+ }
3166
+ /**
3167
+ * Filter the all should order group event from event list
3168
+ *
3169
+ * @param {CalendarEvent[][]} allEvents all event list
3170
+ * @returns {VegaCalendarFullDayEventView[]} the group event view list
3171
+ */
3172
+ collectAllShouldOrderLongEvents(allEvents) {
3173
+ const allLongEventViews = {};
3174
+ allEvents.forEach((items, index) => {
3175
+ const longEvents = items.filter((item) => item && item.isGroupEvent());
3176
+ longEvents.forEach((groupEvent) => {
3177
+ if (!allLongEventViews[groupEvent.eventKey]) {
3178
+ allLongEventViews[groupEvent.eventKey] = {
3179
+ start: index,
3180
+ end: index,
3181
+ event: groupEvent,
3182
+ };
3183
+ }
3184
+ else {
3185
+ allLongEventViews[groupEvent.eventKey] = Object.assign(Object.assign({}, allLongEventViews[groupEvent.eventKey]), { end: index, start: index - allLongEventViews[groupEvent.eventKey].end !== 1
3186
+ ? index
3187
+ : allLongEventViews[groupEvent.eventKey].start });
3188
+ }
3189
+ });
3190
+ });
3191
+ const shouldSortLongEventViews = Object.values(allLongEventViews);
3192
+ return this.sortLongEventViews(shouldSortLongEventViews);
3193
+ }
3194
+ /**
3195
+ * This function sorts an array of VegaCalendarFullDayEventView objects based on their start and end times.
3196
+ *
3197
+ * @param {VegaCalendarFullDayEventView[]} eventViews - The `eventViews` parameter is an array of
3198
+ * `VegaCalendarFullDayEventView` objects that represent long events in a calendar. The function
3199
+ * `sortLongEventViews` takes this array as input and sorts it based on the start and end times of the events.
3200
+ * @returns {VegaCalendarFullDayEventView[]} The function `sortLongEventViews` is returning an array of `VegaCalendarFullDayEventView`
3201
+ * objects that have been sorted based on the comparison logic provided in the sorting function. The sorting is done based on the `start` and `end` properties of the objects in the array.
3202
+ */
3203
+ sortLongEventViews(eventViews) {
3204
+ return eventViews.sort((itemA, itemB) => {
3205
+ const { startDate: startA, endDate: endA } = itemA.event;
3206
+ const { startDate: startB, endDate: endB } = itemB.event;
3207
+ startA.setHours(0, 0, 0);
3208
+ startB.setHours(0, 0, 0);
3209
+ endA.setHours(23, 59, 59);
3210
+ endB.setHours(23, 59, 59);
3211
+ const num = endB.valueOf() - startB.valueOf() - (endA.valueOf() - startA.valueOf());
3212
+ if (startA.valueOf() !== startB.valueOf()) {
3213
+ return startA.valueOf() - startB.valueOf();
3214
+ }
3215
+ else {
3216
+ return num;
3217
+ }
3218
+ });
3219
+ }
3220
+ }
3221
+
3222
+ var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3223
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3224
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3225
+ 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;
3226
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3227
+ };
3228
+ /** This code snippet defines a TypeScript class `VegaCalendarFullDayEventLayoutRenderer` that extends `VegaSlimmer`. Here's a breakdown of what the class and its methods are doing: */
3229
+ class VegaCalendarFullDayEventLayoutRenderer extends globalSlimmerRegistry.VegaSlimmer {
3230
+ constructor() {
3231
+ super(...arguments);
3232
+ this.longEventLayoutGenerator = new VegaCalendarFullDayEventLayoutGenerator();
3233
+ this.calendarEventSorter = new VegaCalendarEventSorter();
3234
+ }
3235
+ /**
3236
+ * The function `sortLongEvents` sorts calendar events based on a fixed layout generated by `longEventLayoutGenerator`.
3237
+ *
3238
+ * @param {CalendarEvent[][]} calendarEvents - calendar current row all events
3239
+ * @returns {Nullable<CalendarEvent>[][]} the events after sorter
3240
+ */
3241
+ sortLongEvents(calendarEvents) {
3242
+ this.fullDayEventLayout = this.longEventLayoutGenerator.generate(calendarEvents);
3243
+ return calendarEvents.map((items, index) => {
3244
+ return this.calendarEventSorter.sort(items, index, this.fullDayEventLayout);
3245
+ });
3246
+ }
3247
+ /**
3248
+ * render the month view or week view long events
3249
+ *
3250
+ * @param {Nullable<CalendarEvent>[]} calendarEvents current events
3251
+ * @param {currentViewIndex} currentViewIndex the current index of the row
3252
+ * @returns {HTMLElement[]} event elements
3253
+ */
3254
+ render(calendarEvents, currentViewIndex) {
3255
+ return calendarEvents.map((item, index$1) => {
3256
+ if (item) {
3257
+ return (index.h("div", { key: item.eventKey, class: this.viewMode === 'month' ? 'month-event-block' : 'day-event-block', style: this.getEventStyle(item, currentViewIndex, index$1, this.viewMode === 'month'
3258
+ ? VegaCalendarFullDayEventLayoutRenderer.monthViewEventOffsetTop
3259
+ : 0) }, this.eventItemRenderer.render(item, {
3260
+ 'month-event': this.viewMode === 'month',
3261
+ 'day-event': this.viewMode !== 'month',
3262
+ })));
3263
+ }
3264
+ });
3265
+ }
3266
+ /*
3267
+ * The below method is e2e-test covered in
3268
+ * @see{module:vega-calendar-render-full-day-event-correct}
3269
+ */
3270
+ /* istanbul ignore next */
3271
+ /**
3272
+ * Get the current event layout style from the params
3273
+ *
3274
+ * @param {CalendarEvent} calendarEvent current event item
3275
+ * @param {number} currentViewIndex the current date index of the row
3276
+ * @param {number} itemIndex the current event index of the event array
3277
+ * @param {number} offsetTop the default offset top for the event
3278
+ * @returns {VegaCalendarEventStyle} layout style object
3279
+ */
3280
+ getEventStyle(calendarEvent, currentViewIndex, itemIndex, offsetTop) {
3281
+ const cellCount = this.calendarView.weekdays.length;
3282
+ const start = currentViewIndex;
3283
+ let end = currentViewIndex + 1;
3284
+ const top = itemIndex;
3285
+ let visible = true;
3286
+ const order = this.fullDayEventLayout.getEventRowsIndex(calendarEvent);
3287
+ if (order >= 0) {
3288
+ const startIndex = this.fullDayEventLayout.eventLayoutCells[order].getEventStartIndex(calendarEvent);
3289
+ const endIndex = this.fullDayEventLayout.eventLayoutCells[order].getEventEndIndex(calendarEvent);
3290
+ if (startIndex === currentViewIndex) {
3291
+ end = endIndex + 1;
3292
+ }
3293
+ else {
3294
+ visible = false;
3295
+ }
3296
+ }
3297
+ return {
3298
+ position: 'absolute',
3299
+ left: `${(100 / cellCount) * start}%`,
3300
+ top: `${top * VegaCalendarEventItemRenderer.backgroundColorModeEventHeight + offsetTop}px`,
3301
+ width: `${(100 / cellCount) * (end - start)}%`,
3302
+ opacity: visible ? '1' : '0',
3303
+ };
3304
+ }
3305
+ }
3306
+ VegaCalendarFullDayEventLayoutRenderer.monthViewEventOffsetTop = 26;
3307
+ __decorate$9([
3308
+ globalSlimmerRegistry.MapToComponentField()
3309
+ ], VegaCalendarFullDayEventLayoutRenderer.prototype, "eventItemRenderer", void 0);
3310
+ __decorate$9([
3311
+ globalSlimmerRegistry.MapToComponentField()
3312
+ ], VegaCalendarFullDayEventLayoutRenderer.prototype, "viewMode", void 0);
3313
+ __decorate$9([
3314
+ globalSlimmerRegistry.MapToComponentField()
3315
+ ], VegaCalendarFullDayEventLayoutRenderer.prototype, "calendarView", void 0);
3316
+
3317
+ var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3318
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3319
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3320
+ 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;
3321
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3322
+ };
3323
+ class VegaCalendarFullDayEventMoreButtonRenderer extends globalSlimmerRegistry.VegaSlimmer {
3324
+ constructor() {
3325
+ super(...arguments);
3326
+ /**
3327
+ * Update the show all flag to true when click the more button
3328
+ *
3329
+ * @param {MouseEvent} e event object
3330
+ */
3331
+ this.updateShowAllFlag = (e) => {
3332
+ e.stopPropagation();
3333
+ this.showAllEventsInDayOrWeekView = true;
3334
+ };
3335
+ }
3336
+ /**
3337
+ * Render the more button element
3338
+ *
3339
+ * @param {number} count the hidden elements count
3340
+ * @returns {HTMLElement} more button
3341
+ */
3342
+ render(count) {
3343
+ if (!this.showAllEventsInDayOrWeekView) {
3344
+ return (index.h("div", { tabIndex: 0, role: "button", class: "more-button", onKeyDown: accessibility.createEnterKeyHandlerToTriggerClick(), onClick: this.updateShowAllFlag }, `${count} More`));
3345
+ }
3346
+ }
3347
+ /**
3348
+ * Reset the show all event flag when view mode change
3349
+ */
3350
+ resetShowAllFlag() {
3351
+ this.showAllEventsInDayOrWeekView = false;
3352
+ }
3353
+ }
3354
+ __decorate$8([
3355
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
3356
+ ], VegaCalendarFullDayEventMoreButtonRenderer.prototype, "showAllEventsInDayOrWeekView", void 0);
3357
+ __decorate$8([
3358
+ globalSlimmerRegistry.MapToComponentMethod('watchViewModeChange')
3359
+ ], VegaCalendarFullDayEventMoreButtonRenderer.prototype, "resetShowAllFlag", null);
3360
+
3361
+ const vegaCalendarCss = ".border-divider-top{border:1px solid rgba(var(--v-border-divider-secondary, 199, 217, 229, 1));border-left-width:0px;border-right-width:0px;border-bottom-width:0px}.border-divider-left{border:1px solid rgba(var(--v-border-divider-secondary, 199, 217, 229, 1));border-top-width:0px;border-right-width:0px;border-bottom-width:0px}.border-divider-right{border:1px solid rgba(var(--v-border-divider-secondary, 199, 217, 229, 1));border-top-width:0px;border-left-width:0px;border-bottom-width:0px}.border-divider-bottom{border:1px solid rgba(var(--v-border-divider-secondary, 199, 217, 229, 1));border-top-width:0px;border-left-width:0px;border-right-width:0px}:host{display:flex;flex-direction:column;border-radius:12px;border:1px solid rgba(var(--v-border-divider, 171, 198, 216, 1));background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));overflow:hidden;width:100%;height:100%;box-sizing:border-box;max-height:1966px}.calendar-switch-panel{padding:24px;border-bottom-width:1px;border-top-width:0px;border-left-width:0px;border-right-width:0px;border-style:solid;border-color:rgba(var(--v-border-color-divider, 171, 198, 216, 1));flex-shrink:0;width:100%;box-sizing:border-box}.calendar-switch-panel .calendar-date-switch-container{display:flex;gap:8px;align-items:center;flex-direction:row}.calendar-switch-panel .calendar-view-switch-container{display:flex;gap:16px;align-items:center;flex-direction:row}.calendar-switch-panel .calendar-current-date{padding-left:8px}.calendar-view{width:100%;position:relative;flex-grow:1;overflow-y:auto;overflow-x:hidden}.calendar-view-month .calendar-view-month-container{width:100%;display:grid;min-height:100%;grid-template-rows:43px repeat(6, minmax(64px, 1fr))}.calendar-view-month .calendar-view-title{background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));top:0;left:0;z-index:62}.calendar-view-month .calendar-view-title div{padding-top:12px;padding-bottom:12px;color:rgba(var(--v-text-secondary, 107, 116, 125, 1));font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px;text-align:center}@media screen and (min-width: 768px) and (max-width: 1023px){.calendar-view-month .calendar-view-title div{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.calendar-view-month .calendar-view-title div{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.calendar-view-month .calendar-view-title div{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px}}.calendar-view-month .calendar-view-row{position:relative;display:grid;grid-template-rows:1fr;grid-template-columns:repeat(7, minmax(64px, 1fr))}.calendar-view-month .calendar-view-row.calendar-view-title{position:sticky}.calendar-view-month .calendar-view-row:last-child{border-bottom-width:0px}.calendar-view-month .calendar-view-row .row-cell{overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}.calendar-view-month .calendar-view-row .row-cell:last-child{border-right-width:0px}.calendar-view-month .calendar-view-row .row-cell .date{padding-top:4px;padding-bottom:4px;padding-right:12px;padding-left:8px}.calendar-view-month .calendar-view-row .row-cell .date>div{display:inline-block;color:rgba(var(--v-text-secondary, 107, 116, 125, 1));font-family:\"Inter\", sans-serif;font-size:14px;font-weight:400;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){.calendar-view-month .calendar-view-row .row-cell .date>div{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.calendar-view-month .calendar-view-row .row-cell .date>div{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.calendar-view-month .calendar-view-row .row-cell .date>div{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:400;line-height:18px}}.calendar-view-month .calendar-view-row .row-cell .date .month-block{margin-right:2px}.calendar-view-month .calendar-view-row .row-cell .date .grid-col{text-align:center;border-top-left-radius:9999px;border-bottom-left-radius:9999px;border-top-right-radius:9999px;border-bottom-right-radius:9999px;cursor:pointer;width:18px;height:18px;line-height:18px}.calendar-view-month .calendar-view-row .row-cell .date .grid-col:hover{background-color:rgba(var(--v-bg-action-secondary-hover, 4, 112, 236, 0.1))}.calendar-view-month .calendar-view-row .row-cell .date .grid-col:active{background-color:rgba(var(--v-bg-action-secondary-active, 29, 65, 195, 0.1))}.calendar-view-month .calendar-view-row .row-cell .date .grid-col:focus-visible{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:2px}.calendar-view-month .calendar-view-row .row-cell.current-month-day .date>div{color:rgba(var(--v-text-primary, 32, 54, 69, 1))}.calendar-view-month .calendar-view-row .row-cell.disabled{background-color:rgba(var(--v-bg-secondary, 245, 247, 247, 1))}.calendar-view-month .calendar-view-row .row-cell.disabled .date>div{color:rgba(var(--v-text-disabled, 176, 180, 181, 1))}.calendar-view-month .calendar-view-row .row-cell.active .date .grid-col{background-color:rgba(var(--v-bg-action, 19, 98, 226, 1));border-top-left-radius:9999px;border-bottom-left-radius:9999px;color:rgba(var(--v-text-on-action, 252, 252, 252, 1))}.calendar-view-month .calendar-view-row .row-cell.active .date .grid-col:hover{background-color:rgba(var(--v-bg-action-hover, 4, 112, 236, 1))}.calendar-view-month .calendar-view-row .row-cell.active .date .grid-col:active{background-color:rgba(var(--v-bg-action-active, 29, 65, 195, 1))}.calendar-view-month .calendar-view-row .row-cell.active .date .grid-col:focus-visible{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:2px}.calendar-view-container{width:100%}.calendar-view-container .calendar-view-title-container{background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));position:sticky;top:0;left:0;z-index:62}.calendar-view-container .calendar-view-row{box-sizing:border-box;width:100%;display:flex;flex-direction:row}.calendar-view-container .calendar-view-row .time-line,.calendar-view-container .calendar-view-row .time-line-empty,.calendar-view-container .calendar-view-row .time-line-all{width:72px;text-align:right;padding-right:8px;box-sizing:border-box;font-family:\"Inter\", sans-serif;font-size:14px;font-weight:400;line-height:18px;color:rgba(var(--v-text-primary, 32, 54, 69, 1));flex-shrink:0}@media screen and (min-width: 768px) and (max-width: 1023px){.calendar-view-container .calendar-view-row .time-line,.calendar-view-container .calendar-view-row .time-line-empty,.calendar-view-container .calendar-view-row .time-line-all{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.calendar-view-container .calendar-view-row .time-line,.calendar-view-container .calendar-view-row .time-line-empty,.calendar-view-container .calendar-view-row .time-line-all{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.calendar-view-container .calendar-view-row .time-line,.calendar-view-container .calendar-view-row .time-line-empty,.calendar-view-container .calendar-view-row .time-line-all{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:400;line-height:18px}}.calendar-view-container .calendar-view-title{width:100%}.calendar-view-container .calendar-view-title>div{padding:12px;padding-bottom:8px;color:rgba(var(--v-text-secondary, 107, 116, 125, 1));font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px;text-align:center;display:flex;flex-direction:column;gap:8px}@media screen and (min-width: 768px) and (max-width: 1023px){.calendar-view-container .calendar-view-title>div{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.calendar-view-container .calendar-view-title>div{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.calendar-view-container .calendar-view-title>div{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:700;line-height:18px}}.calendar-view-container .calendar-view-title .week-day{color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:\"Inter\", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){.calendar-view-container .calendar-view-title .week-day{font-family:\"Inter\", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.calendar-view-container .calendar-view-title .week-day{font-family:\"Inter\", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.calendar-view-container .calendar-view-title .week-day{font-family:\"Inter\", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}.calendar-view-container .calendar-view-title .active div{color:rgba(var(--v-text-link, 19, 98, 226, 1))}.calendar-view-container .calendar-view-event-all-container{align-items:center}.calendar-view-container .calendar-view-event-all{display:grid;grid-template-rows:1fr;flex-grow:1;min-height:18px}.calendar-view-container .calendar-view-day-container .time-line{display:grid;grid-template-rows:16px repeat(24, minmax(74px, 1fr))}.calendar-view-container .calendar-view-day-container .time-line .time-text{margin-top:-9px}.calendar-view-container .calendar-view-day-container .calendar-view-content{width:100%}.calendar-view-container .calendar-view-day-container .calendar-view-content .grid-col{display:grid;grid-template-rows:16px repeat(24, minmax(74px, 1fr));grid-template-columns:minmax(64px, 1fr)}.calendar-view-container .calendar-view-day-container .calendar-view-content .grid-col>.border-divider-top:first-child{border-top-width:0px}.calendar-view-container .calendar-view-content-container{width:100%;position:relative}.calendar-view-week .calendar-view-container{min-height:100%}.calendar-view-week .calendar-view-container .calendar-view-title{display:grid;grid-template-rows:1fr;grid-template-columns:repeat(7, minmax(64px, 1fr))}.calendar-view-week .calendar-view-container .calendar-view-event-all{grid-template-columns:repeat(7, minmax(64px, 1fr))}.calendar-view-week .calendar-view-container .calendar-view-day-container .calendar-view-content{display:grid;grid-template-columns:repeat(7, minmax(64px, 1fr))}.calendar-view-week .time-marker-container .time-marker{display:grid;grid-template-columns:repeat(7, minmax(64px, 1fr))}.calendar-view-week .day-event-container{display:grid;grid-template-columns:repeat(7, minmax(64px, 1fr))}.calendar-view-day .calendar-view-container{min-height:100%}.time-marker-container{position:absolute;min-width:100%;left:0;top:16px;height:calc(100% - 16px);pointer-events:none}.time-marker-container.hidden{display:none}.time-marker-container .time-marker{position:absolute;height:2px;display:grid;min-width:100%;left:0;top:0;z-index:61}.time-marker-container .time-marker div{width:100%;height:2px;background-color:rgba(var(--v-bg-status-error, 255, 110, 139, 1));opacity:0.3}.time-marker-container .time-marker div.active{opacity:1;position:relative}.time-marker-container .time-marker div.active::before{content:\"\";display:block;border-top-left-radius:9999px;border-bottom-left-radius:9999px;border-top-right-radius:9999px;border-bottom-right-radius:9999px;position:absolute;width:8px;height:8px;background-color:rgba(var(--v-bg-status-error, 255, 110, 139, 1));top:-3px;left:-4px}.day-event-container{position:absolute;min-width:100%;left:0;top:16px;height:calc(100% - 16px);pointer-events:none}.day-event-container .day-event-col{height:100%;overflow:hidden}.day-event-container vega-calendar-event{pointer-events:auto;height:100%}.calendar-view-month .month-event-row{position:absolute;width:100%;overflow:hidden;height:calc(100% - 26px);left:0;bottom:0}.calendar-view-month .events-container{width:100%;box-sizing:border-box;overflow:hidden;padding:2px;display:flex;flex-direction:column;gap:2px;justify-content:space-between;flex-grow:1}.calendar-view-month .events-container .event-list{display:flex;flex-direction:column;gap:2px;flex-grow:1}.calendar-view-month .events-container .event-list .month-event-block{box-sizing:border-box;padding-left:2px;padding-right:3px}.calendar-view-month .events-container .month-event-more .more-button{display:inline-block;height:16px;font-family:\"Inter\", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px;color:rgba(var(--v-text-link, 19, 98, 226, 1));cursor:pointer;border-radius:2px}@media screen and (min-width: 768px) and (max-width: 1023px){.calendar-view-month .events-container .month-event-more .more-button{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.calendar-view-month .events-container .month-event-more .more-button{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.calendar-view-month .events-container .month-event-more .more-button{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}.calendar-view-month .events-container .month-event-more .more-button:focus-visible{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:0px}.calendar-view-container .calendar-view-event-all{position:relative}.calendar-view-container .calendar-view-event-all .placeholder-block{padding-top:2px;padding-bottom:2px;box-sizing:content-box}.calendar-view-container .calendar-view-event-all .placeholder-block span{display:none}.calendar-view-container .calendar-view-event-all .day-event-block{padding-top:2px;padding-right:2px;box-sizing:border-box;padding-left:3px}.calendar-view-container .calendar-view-event-all .more-button{display:inline-block;height:16px;font-family:\"Inter\", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px;color:rgba(var(--v-text-link, 19, 98, 226, 1));cursor:pointer;border-radius:2px;margin-left:2px;padding:2px}@media screen and (min-width: 768px) and (max-width: 1023px){.calendar-view-container .calendar-view-event-all .more-button{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.calendar-view-container .calendar-view-event-all .more-button{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.calendar-view-container .calendar-view-event-all .more-button{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}.calendar-view-container .calendar-view-event-all .more-button:focus-visible{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:0px}.calendar-view-container .calendar-view-event-all .event-all-col{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start}.calendar-view-container .day-event-col{position:relative}.calendar-view-container .day-event-col .time-event-block{box-sizing:border-box;padding-right:8px;padding-bottom:2px;padding-top:3px}.calendar-view-container .day-event-col .time-event-block vega-calendar-event.bg-shadow::part(event-container):not(:focus){outline:2px solid rgba(var(--v-bg-primary, 252, 252, 252, 1))}.calendar-view-container .day-event-col .time-event-block:focus-within{z-index:60 !important}.calendar-event-slot-container{display:none}";
3362
+
3363
+ var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3364
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3365
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
3366
+ r = Reflect.decorate(decorators, target, key, desc);
3367
+ else
3368
+ for (var i = decorators.length - 1; i >= 0; i--)
3369
+ if (d = decorators[i])
3370
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
3371
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3372
+ };
3373
+ const VegaCalendar = class {
3374
+ constructor(hostRef) {
3375
+ index.registerInstance(this, hostRef);
3376
+ this.vegaChange = index.createEvent(this, "vegaChange", 7);
3377
+ this.change = index.createEvent(this, "change", 7);
3378
+ this.vegaEventClick = index.createEvent(this, "vegaEventClick", 7);
3379
+ this.eventClick = index.createEvent(this, "eventClick", 7);
3380
+ this.vegaDateDblClick = index.createEvent(this, "vegaDateDblClick", 7);
3381
+ this.dateDblClick = index.createEvent(this, "dateDblClick", 7);
3382
+ this.vegaMoreActionClick = index.createEvent(this, "vegaMoreActionClick", 7);
3383
+ this.moreActionClick = index.createEvent(this, "moreActionClick", 7);
3384
+ this.globalSlimmer = {};
3385
+ this.translationSlimmer = new translationSlimmer.TranslationSlimmer();
3386
+ this.vegaComponentUsageRuntimeMetricsSlimmer = new componentUsageRuntimeMetrics.VegaComponentUsageRuntimeMetricsSlimmer();
3387
+ this.renderer = new VegaCalendarRenderer();
3388
+ this.switchPanelRenderer = new VegaCalendarSwitchPanelRenderer();
3389
+ this.viewRenderer = new VegaCalendarViewRenderer();
3390
+ this.monthViewRenderer = new VegaCalendarMonthViewRenderer();
3391
+ this.viewWithTimeRenderer = new VegaCalendarViewWithTimeRenderer();
3392
+ this.timeLineRenderer = new VegaCalendarTimeLineRenderer();
3393
+ this.monthEventRenderer = new VegaCalendarMonthEventRenderer();
3394
+ //The current period controller should be before the calendar view controller because the initial current period should be before the initial calendar view
3395
+ this.currentPeriodController = new VegaCalendarCurrentPeriodController();
3396
+ this.calendarViewController = new VegaCalendarViewController();
3397
+ this.dayViewFullDayEventRenderer = new VegaCalendarFullDayEventRenderer();
3398
+ this.dayViewFullDayEventMoreButtonRenderer = new VegaCalendarFullDayEventMoreButtonRenderer();
3399
+ this.dayViewTimedEventRenderer = new VegaCalendarTimedEventRenderer();
3400
+ this.eventItemRenderer = new VegaCalendarEventItemRenderer();
3401
+ this.dayViewEventLayoutRenderer = new VegaCalendarDayViewEventLayoutRenderer();
3402
+ this.fullDayEventLayoutRenderer = new VegaCalendarFullDayEventLayoutRenderer();
3403
+ this.calendarEventController = new VegaCalendarEventController();
3404
+ this.eventResponsiveController = new VegaCalendarEventResponsiveController();
3405
+ this.changeEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaCalendar, vegaEventId.VegaChange);
3406
+ this.eventClickEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaCalendar, vegaEventId.VegaEventClick);
3407
+ this.dateDblClickEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaCalendar, vegaEventId.VegaDateDblClick);
3408
+ this.moreActionClickEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaCalendar, vegaEventId.VegaMoreActionClick);
3409
+ this.changeEventPrevent = new childNodesEventPreventSlimmer.ChildNodesEventPreventSlimmer([vegaEventId.VegaChange], () => this.switchPanelRenderer.getSwitchPanelRef());
3410
+ this.timeFormatNotifySlimmer = subStateObserverSlimmer.createSubStateNotifySlimmer(VegaCalendar, 'timeFormat', 'watchTimeFormat');
3411
+ this.showEventColorBarNotifySlimmer = subStateObserverSlimmer.createSubStateNotifySlimmer(VegaCalendar, 'showEventColorBar', 'watchShowEventColorBar');
3412
+ this.showAllEventsInDayOrWeekView = false;
3413
+ this.calendarEvents = [];
3414
+ /**
3415
+ * Specifies the current view mode of the calendar.
3416
+ *
3417
+ * @vegaVersion 2.14.0
3418
+ */
3419
+ /* eslint-disable-next-line @stencil/strict-mutable */
3420
+ this.viewMode = 'month';
3421
+ /**
3422
+ * Specifies the time format of the calendar.
3423
+ *
3424
+ * @vegaVersion 2.14.0
3425
+ */
3426
+ this.timeFormat = '24-hour';
3427
+ /**
3428
+ * Controls the visibility of the calendar's event color bar.
3429
+ *
3430
+ * @vegaVersion 2.21.0
3431
+ */
3432
+ this.showEventColorBar = true;
3433
+ }
3434
+ /**
3435
+ * Tracks changes to the current period state.
3436
+ *
3437
+ * @param {CalendarPeriod} newValue Specifies the new calendar period.
3438
+ * @param {CalendarPeriod} oldValue Specifies the old calendar period.
3439
+ */
3440
+ watchCurrentPeriodChange(newValue, oldValue) {
3441
+ }
3442
+ /**
3443
+ * Watch the view mode change
3444
+ *
3445
+ * @param {VegaCalendarViewModeType} newValue the new value of view mode
3446
+ */
3447
+ watchViewModeChange(newValue) {
3448
+ }
3449
+ /**
3450
+ * Watch the calendar events change
3451
+ *
3452
+ * @param {VegaCalendarRawEvent[]} newValue
3453
+ */
3454
+ watchEventsChange(newValue) {
3455
+ }
3456
+ /**
3457
+ * Watches changes in the calendar's time format.
3458
+ *
3459
+ * @param {TimeFormat} newValue
3460
+ */
3461
+ watchTimeFormat(newValue) {
3462
+ }
3463
+ /**
3464
+ * Monitors changes in the visibility of the calendar's event color bar.
3465
+ *
3466
+ * @param {boolean} newValue
3467
+ */
3468
+ watchShowEventColorBar(newValue) {
3469
+ }
3470
+ render() {
3471
+ return component.sanitizeVegaComponent(index.h(index.Host, null, this.renderer.render()), this.host);
3472
+ }
3473
+ get host() { return index.getElement(this); }
3474
+ static get watchers() { return {
3475
+ "currentPeriod": ["watchCurrentPeriodChange"],
3476
+ "viewMode": ["watchViewModeChange"],
3477
+ "events": ["watchEventsChange"],
3478
+ "timeFormat": ["watchTimeFormat"],
3479
+ "showEventColorBar": ["watchShowEventColorBar"]
3480
+ }; }
3481
+ };
3482
+ __decorate$7([
3483
+ componentUsageRuntimeMetrics.InjectVegaGlobalSlimmer()
3484
+ ], VegaCalendar.prototype, "globalSlimmer", void 0);
3485
+ __decorate$7([
3486
+ globalSlimmerRegistry.InjectVegaSlimmer()
3487
+ ], VegaCalendar.prototype, "translationSlimmer", void 0);
3488
+ __decorate$7([
3489
+ globalSlimmerRegistry.InjectVegaSlimmer()
3490
+ ], VegaCalendar.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
3491
+ __decorate$7([
3492
+ globalSlimmerRegistry.InjectVegaSlimmer()
3493
+ ], VegaCalendar.prototype, "renderer", void 0);
3494
+ __decorate$7([
3495
+ globalSlimmerRegistry.InjectVegaSlimmer()
3496
+ ], VegaCalendar.prototype, "switchPanelRenderer", void 0);
3497
+ __decorate$7([
3498
+ globalSlimmerRegistry.InjectVegaSlimmer()
3499
+ ], VegaCalendar.prototype, "viewRenderer", void 0);
3500
+ __decorate$7([
3501
+ globalSlimmerRegistry.InjectVegaSlimmer()
3502
+ ], VegaCalendar.prototype, "monthViewRenderer", void 0);
3503
+ __decorate$7([
3504
+ globalSlimmerRegistry.InjectVegaSlimmer()
3505
+ ], VegaCalendar.prototype, "viewWithTimeRenderer", void 0);
3506
+ __decorate$7([
3507
+ globalSlimmerRegistry.InjectVegaSlimmer()
3508
+ ], VegaCalendar.prototype, "timeLineRenderer", void 0);
3509
+ __decorate$7([
3510
+ globalSlimmerRegistry.InjectVegaSlimmer()
3511
+ ], VegaCalendar.prototype, "monthEventRenderer", void 0);
3512
+ __decorate$7([
3513
+ globalSlimmerRegistry.InjectVegaSlimmer()
3514
+ ], VegaCalendar.prototype, "currentPeriodController", void 0);
3515
+ __decorate$7([
3516
+ globalSlimmerRegistry.InjectVegaSlimmer()
3517
+ ], VegaCalendar.prototype, "calendarViewController", void 0);
3518
+ __decorate$7([
3519
+ globalSlimmerRegistry.InjectVegaSlimmer()
3520
+ ], VegaCalendar.prototype, "dayViewFullDayEventRenderer", void 0);
3521
+ __decorate$7([
3522
+ globalSlimmerRegistry.InjectVegaSlimmer()
3523
+ ], VegaCalendar.prototype, "dayViewFullDayEventMoreButtonRenderer", void 0);
3524
+ __decorate$7([
3525
+ globalSlimmerRegistry.InjectVegaSlimmer()
3526
+ ], VegaCalendar.prototype, "dayViewTimedEventRenderer", void 0);
3527
+ __decorate$7([
3528
+ globalSlimmerRegistry.InjectVegaSlimmer()
3529
+ ], VegaCalendar.prototype, "eventItemRenderer", void 0);
3530
+ __decorate$7([
3531
+ globalSlimmerRegistry.InjectVegaSlimmer()
3532
+ ], VegaCalendar.prototype, "dayViewEventLayoutRenderer", void 0);
3533
+ __decorate$7([
3534
+ globalSlimmerRegistry.InjectVegaSlimmer()
3535
+ ], VegaCalendar.prototype, "fullDayEventLayoutRenderer", void 0);
3536
+ __decorate$7([
3537
+ globalSlimmerRegistry.InjectVegaSlimmer()
3538
+ ], VegaCalendar.prototype, "calendarEventController", void 0);
3539
+ __decorate$7([
3540
+ globalSlimmerRegistry.InjectVegaSlimmer()
3541
+ ], VegaCalendar.prototype, "eventResponsiveController", void 0);
3542
+ __decorate$7([
3543
+ globalSlimmerRegistry.InjectVegaSlimmer()
3544
+ ], VegaCalendar.prototype, "changeEventEmitter", void 0);
3545
+ __decorate$7([
3546
+ globalSlimmerRegistry.InjectVegaSlimmer()
3547
+ ], VegaCalendar.prototype, "eventClickEmitter", void 0);
3548
+ __decorate$7([
3549
+ globalSlimmerRegistry.InjectVegaSlimmer()
3550
+ ], VegaCalendar.prototype, "dateDblClickEmitter", void 0);
3551
+ __decorate$7([
3552
+ globalSlimmerRegistry.InjectVegaSlimmer()
3553
+ ], VegaCalendar.prototype, "moreActionClickEmitter", void 0);
3554
+ __decorate$7([
3555
+ globalSlimmerRegistry.InjectVegaSlimmer()
3556
+ ], VegaCalendar.prototype, "changeEventPrevent", void 0);
3557
+ __decorate$7([
3558
+ globalSlimmerRegistry.InjectVegaSlimmer()
3559
+ ], VegaCalendar.prototype, "timeFormatNotifySlimmer", void 0);
3560
+ __decorate$7([
3561
+ globalSlimmerRegistry.InjectVegaSlimmer()
3562
+ ], VegaCalendar.prototype, "showEventColorBarNotifySlimmer", void 0);
3563
+ VegaCalendar.style = vegaCalendarCss;
3564
+
3565
+ const clockThree = {
3566
+ 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="M464 256A208 208 0 1 1 48 256a208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM232 120V256c0 13.3 10.7 24 24 24H360c13.3 0 24-10.7 24-24s-10.7-24-24-24H280V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"/></svg>`,
3567
+ };
3568
+
3569
+ var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3570
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3571
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3572
+ 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;
3573
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3574
+ };
3575
+ /** The `VegaCalendarEventRenderer` class is a TypeScript React component used for rendering calendar events with different display modes and custom styling. */
3576
+ class VegaCalendarEventRenderer extends globalSlimmerRegistry.VegaSlimmer {
3577
+ /*
3578
+ * The below method is e2e-test covered in
3579
+ * @see{module:vega-calendar-event-title-max-height-e2e}
3580
+ */
3581
+ /* istanbul ignore next */
3582
+ /**
3583
+ * This function returns the event title container as a nullable HTMLDivElement.
3584
+ *
3585
+ * @returns {Nullable<HTMLDivElement>} The method `getEventTitleContainer` is returning a nullable HTMLDivElement.
3586
+ */
3587
+ getEventTitleContainerRef() {
3588
+ return this.eventTitleContainerRef;
3589
+ }
3590
+ /**
3591
+ * Get the calendar event slot container element
3592
+ *
3593
+ * @returns {Nullable<HTMLDivElement>} a div element
3594
+ */
3595
+ getSlotContainerRef() {
3596
+ return this.slotContainerRef;
3597
+ }
3598
+ /**
3599
+ * The function conditionally renders either a group event or a normal event based on a boolean flag.
3600
+ *
3601
+ * @returns {HTMLElement} the event element
3602
+ */
3603
+ render() {
3604
+ return (index.h(index.Fragment, null,
3605
+ this.injectBackgroundColorStyle(),
3606
+ this.calendarEventRender()));
3607
+ }
3608
+ /**
3609
+ * The vega calendar event default render
3610
+ *
3611
+ * @returns {HTMLElement} calendar event element
3612
+ */
3613
+ calendarEventRender() {
3614
+ return this.calendarEvent.isAllDayEvent || this.calendarEvent.isGroupEvent()
3615
+ ? this.renderBackgroundModeEvent()
3616
+ : this.renderNormalEvent();
3617
+ }
3618
+ /**
3619
+ * render background mode event element
3620
+ *
3621
+ * @returns {HTMLDivElement} div element
3622
+ */
3623
+ renderBackgroundModeEvent() {
3624
+ const disabled = this.calendarEvent.disabled;
3625
+ return (index.h("div", { role: "button", tabIndex: 0, class: {
3626
+ 'slot-container': this.slotMode,
3627
+ 'background-color-mode': true,
3628
+ 'event-bg-color': !disabled,
3629
+ 'bg-disabled': disabled,
3630
+ }, ref: (node) => (this.slotContainerRef = node) }, this.slotMode ? this.getSlotElement() : this.calendarEvent.title));
3631
+ }
3632
+ /**
3633
+ * render event element
3634
+ *
3635
+ * @returns {HTMLAnchorElement} event element
3636
+ */
3637
+ renderNormalEvent() {
3638
+ const { variant = 'primary', disabled } = this.calendarEvent;
3639
+ const isMonthEvent = !this.host.classList.contains('day-event');
3640
+ const classMap = {
3641
+ 'slot-container': this.slotMode,
3642
+ 'event-container': true,
3643
+ 'disabled': disabled,
3644
+ [variant]: true,
3645
+ };
3646
+ if (isMonthEvent) {
3647
+ return (index.h("div", { role: "button", tabIndex: 0, class: classMap, ref: (node) => (this.slotContainerRef = node) },
3648
+ !this.slotMode && this.renderEventStatus(),
3649
+ this.slotMode ? this.getSlotElement() : this.defaultNormalMonthEventContentRender()));
3650
+ }
3651
+ else {
3652
+ const eventDuration = this.calendarEvent.getEventDuration();
3653
+ return (index.h("div", { part: "event-container", class: Object.assign(Object.assign({}, classMap), { 'vertical': eventDuration > 30, 'duration-half-an-hour': eventDuration === 30, 'event-bg-color': !disabled, 'bg-disabled': disabled }), role: "button", tabIndex: 0, ref: (node) => (this.slotContainerRef = node) },
3654
+ !this.slotMode && this.renderEventStatus(),
3655
+ index.h("div", { class: "cover-block" }),
3656
+ this.slotMode
3657
+ ? this.getSlotElement()
3658
+ : this.defaultNormalTimedEventContentRender(eventDuration)));
3659
+ }
3660
+ }
3661
+ /**
3662
+ * render event status element, a color badge or a color bar element
3663
+ *
3664
+ * @returns {Nullable<HTMLDivElement>} div element
3665
+ */
3666
+ renderEventStatus() {
3667
+ if (this.showColorBar) {
3668
+ const disabled = this.calendarEvent.disabled;
3669
+ return (index.h("div", { class: {
3670
+ 'event-status': true,
3671
+ 'event-bg-color': !disabled,
3672
+ 'bg-disabled': disabled,
3673
+ } },
3674
+ index.h("span", { class: {
3675
+ stripe: this.calendarEvent.variant === 'secondary',
3676
+ } })));
3677
+ }
3678
+ }
3679
+ /**
3680
+ * Render the month view timed event.
3681
+ *
3682
+ * @returns {HTMLElement} a div element
3683
+ */
3684
+ defaultNormalMonthEventContentRender() {
3685
+ const { startTime, title } = this.calendarEvent;
3686
+ return index.h("div", { class: "event-title" }, `${this.formatDisplayTime(startTime)} ${title}`);
3687
+ }
3688
+ /**
3689
+ * Render the day view timed event.
3690
+ *
3691
+ * @param {number} eventDuration the event duration
3692
+ * @returns {HTMLElement} a div element
3693
+ */
3694
+ defaultNormalTimedEventContentRender(eventDuration) {
3695
+ const { startTime, endTime, title } = this.calendarEvent;
3696
+ return (index.h("div", { class: "event-content" },
3697
+ index.h("div", { class: {
3698
+ 'event-title': true,
3699
+ 'title-word-wrap': eventDuration > 30,
3700
+ }, ref: (node) => (this.eventTitleContainerRef = node) }, title),
3701
+ index.h("div", { class: "event-time" },
3702
+ index.h("vega-icon", { size: "size-12", icon: internalIconManager.VegaInternalIconManager.getIconKey('clock-three') }),
3703
+ index.h("span", null, `${this.formatDisplayTime(startTime)} - ${this.formatDisplayTime(endTime)}`))));
3704
+ }
3705
+ /**
3706
+ * Return a slot element if the calendar is not a repeat event
3707
+ *
3708
+ * @returns {Nullable<HTMLElement>} slot element or null
3709
+ */
3710
+ getSlotElement() {
3711
+ if (!this.calendarEvent.isRepeatEvent) {
3712
+ return index.h("slot", null);
3713
+ }
3714
+ }
3715
+ /**
3716
+ * render the custom color style tag element
3717
+ *
3718
+ * @returns {HTMLStyleElement} style element
3719
+ */
3720
+ injectBackgroundColorStyle() {
3721
+ return index.h("style", null, this.colorController.getBackgroundColorStyle());
3722
+ }
3723
+ /**
3724
+ * Takes a time string as input and formats it to ensure it always has two digits for hours and minutes.
3725
+ *
3726
+ * @param {string} timeString the event time string
3727
+ * @returns {string} time string after format
3728
+ */
3729
+ formatDisplayTime(timeString) {
3730
+ const [hour, minutes] = timeString.split(':');
3731
+ if (this.timeFormat === '24-hour') {
3732
+ return `${hour.padStart(2, '0')}:${minutes.padStart(2, '0')}`;
3733
+ }
3734
+ else {
3735
+ const hourNum = Number(hour);
3736
+ const amPm = hourNum >= 12 ? 'pm' : 'am';
3737
+ const minutesResult = minutes.padStart(2, '0');
3738
+ if (hourNum > 12) {
3739
+ return `${hourNum - 12}:${minutesResult} pm`;
3740
+ }
3741
+ else if (hourNum === 0) {
3742
+ return `12:${minutesResult} am`;
3743
+ }
3744
+ else {
3745
+ return `${hourNum}:${minutesResult} ${amPm}`;
3746
+ }
3747
+ }
3748
+ }
3749
+ }
3750
+ (() => {
3751
+ internalIconManager.VegaInternalIconManager.register({
3752
+ 'clock-three': clockThree,
3753
+ });
3754
+ })();
3755
+ __decorate$6([
3756
+ globalSlimmerRegistry.MapToComponentField()
3757
+ ], VegaCalendarEventRenderer.prototype, "host", void 0);
3758
+ __decorate$6([
3759
+ globalSlimmerRegistry.MapToComponentField()
3760
+ ], VegaCalendarEventRenderer.prototype, "timeFormat", void 0);
3761
+ __decorate$6([
3762
+ globalSlimmerRegistry.MapToComponentField()
3763
+ ], VegaCalendarEventRenderer.prototype, "calendarEvent", void 0);
3764
+ __decorate$6([
3765
+ globalSlimmerRegistry.MapToComponentField()
3766
+ ], VegaCalendarEventRenderer.prototype, "slotMode", void 0);
3767
+ __decorate$6([
3768
+ globalSlimmerRegistry.MapToComponentField()
3769
+ ], VegaCalendarEventRenderer.prototype, "showColorBar", void 0);
3770
+ __decorate$6([
3771
+ globalSlimmerRegistry.MapToComponentField()
3772
+ ], VegaCalendarEventRenderer.prototype, "colorController", void 0);
3773
+
3774
+ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3775
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3776
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3777
+ 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;
3778
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3779
+ };
3780
+ /** The `VegaCalendarEventBgColorController` class in TypeScript provides methods to handle background color for calendar events based on a color map and custom color variables. */
3781
+ class VegaCalendarEventBgColorController extends globalSlimmerRegistry.VegaSlimmer {
3782
+ /**
3783
+ * Get the background color css string from the background token or background color string
3784
+ *
3785
+ * @returns {string} css string
3786
+ */
3787
+ getBackgroundColorStyle() {
3788
+ const color = this.calendarEvent.color || 'bg-accent6-primary';
3789
+ if (typeGuard.isBackgroundColorTokenType(color)) {
3790
+ return `.event-bg-color{${stateBackgroundColorFormatter.stateBackgroundColorFormatter.formatToken(color)}}`;
3791
+ }
3792
+ else {
3793
+ return `.event-bg-color{background-color:${color}}`;
3794
+ }
3795
+ }
3796
+ }
3797
+ __decorate$5([
3798
+ globalSlimmerRegistry.MapToComponentField()
3799
+ ], VegaCalendarEventBgColorController.prototype, "calendarEvent", void 0);
3800
+
3801
+ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3802
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3803
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3804
+ 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;
3805
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3806
+ };
3807
+ /** The `VegaCalendarEventSubStateController` class in TypeScript initializes a calendar with specified subStates. */
3808
+ class VegaCalendarEventSubStateController extends subStateObserverSlimmer.SubStateObserverSlimmer {
3809
+ /**
3810
+ * The constructor function initializes a calendar with specified subStates in TypeScript.
3811
+ */
3812
+ constructor() {
3813
+ super({
3814
+ /**
3815
+ * Get the calendar event component parent calendar component
3816
+ *
3817
+ * @returns {HTMLElement} the parent calendar component
3818
+ */
3819
+ parent: () => {
3820
+ return this.host['data-calendar-ref'];
3821
+ },
3822
+ subStates: [
3823
+ {
3824
+ subStateName: 'timeFormat',
3825
+ parentStateName: 'timeFormat',
3826
+ },
3827
+ {
3828
+ subStateName: 'showColorBar',
3829
+ parentStateName: 'showEventColorBar',
3830
+ },
3831
+ ],
3832
+ });
3833
+ }
3834
+ }
3835
+ __decorate$4([
3836
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
3837
+ ], VegaCalendarEventSubStateController.prototype, "timeFormat", void 0);
3838
+ __decorate$4([
3839
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
3840
+ ], VegaCalendarEventSubStateController.prototype, "showColorBar", void 0);
3841
+
3842
+ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3843
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3844
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3845
+ 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;
3846
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3847
+ };
3848
+ /**
3849
+ * The `VegaCalendarTitleMaxHeightController` class in TypeScript sets the maximum height for
3850
+ * a vertical title element based on its line height and current height.
3851
+ */
3852
+ class VegaCalendarTitleMaxHeightController extends globalSlimmerRegistry.VegaSlimmer {
3853
+ /*
3854
+ * The below method is e2e-test covered in
3855
+ * @see{module:vega-calendar-event-title-max-height-e2e}
3856
+ */
3857
+ /* istanbul ignore next */
3858
+ /**
3859
+ * The function sets the maximum height of a vertical title element based on its line height and
3860
+ * current height.
3861
+ */
3862
+ setVerticalTitleMaxHeight() {
3863
+ const title = this.renderer.getEventTitleContainerRef();
3864
+ if (title && title.classList.contains('title-word-wrap')) {
3865
+ const styles = window.getComputedStyle(title);
3866
+ const height = pixel.parsePixelStringToNumber(styles.height);
3867
+ const lineHeight = pixel.parsePixelStringToNumber(styles.lineHeight);
3868
+ // We need to ensure that at least one line is displayed
3869
+ const maxLines = Math.max(Math.floor(height / lineHeight), 1);
3870
+ title.style.maxHeight = `${maxLines * lineHeight}px`;
3871
+ }
3872
+ }
3873
+ }
3874
+ __decorate$3([
3875
+ globalSlimmerRegistry.MapToComponentField()
3876
+ ], VegaCalendarTitleMaxHeightController.prototype, "renderer", void 0);
3877
+
3878
+ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3879
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3880
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
3881
+ 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;
3882
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3883
+ };
3884
+ /** The controller will check the calendar render mode when component will mode and copy the slot element to calendar event if the calendar event is a repeat event or the event displayed in popover */
3885
+ class VegaCalendarEventSlotController extends globalSlimmerRegistry.VegaSlimmer {
3886
+ /**
3887
+ * Find the current calendar event slot element, if the slot element is exists, set the calendar even slotMode to true, and store the current slot element.
3888
+ */
3889
+ findTheCalendarEventSlot() {
3890
+ if (this.calendarEvent) {
3891
+ const { event: rawEvent } = this.calendarEvent;
3892
+ const calendar = this.getParentCalendarElement();
3893
+ if (calendar) {
3894
+ const matchSlot = calendar.querySelector(`vega-calendar-event-slot[event-key='${rawEvent.key}']`);
3895
+ if (matchSlot) {
3896
+ this.slotMode = true;
3897
+ this.matchSlotElement = matchSlot;
3898
+ }
3899
+ }
3900
+ }
3901
+ }
3902
+ /**
3903
+ * Append the current slot content to slot container if the calendar event is a repeat event or the calendar event render in a popover.
3904
+ */
3905
+ appendTheRepeatEventSlotToContainer() {
3906
+ const slotContainerRef = this.renderer.getSlotContainerRef();
3907
+ if (this.slotMode && slotContainerRef && this.matchSlotElement) {
3908
+ if (this.calendarEvent.isRepeatEvent || this.isPopoverContent()) {
3909
+ const contentElement = this.matchSlotElement.cloneNode(true);
3910
+ contentElement.removeAttribute('slot');
3911
+ const existSlot = slotContainerRef.querySelector('vega-calendar-event-slot');
3912
+ if (!existSlot) {
3913
+ slotContainerRef.appendChild(contentElement);
3914
+ }
3915
+ }
3916
+ }
3917
+ }
3918
+ /**
3919
+ * This method is responsible for finding and returning the parent `vega-calendar` element of the current component instance
3920
+ *
3921
+ * @returns {HTMLElement} The vega calendar element
3922
+ */
3923
+ getParentCalendarElement() {
3924
+ return this.host['data-calendar-ref'];
3925
+ }
3926
+ /**
3927
+ * Check the calendar is in popover
3928
+ *
3929
+ * @returns {boolean} true or false
3930
+ */
3931
+ isPopoverContent() {
3932
+ return this.host.classList.contains('calendar-event-in-popover');
3933
+ }
3934
+ }
3935
+ __decorate$2([
3936
+ globalSlimmerRegistry.MapToComponentField()
3937
+ ], VegaCalendarEventSlotController.prototype, "host", void 0);
3938
+ __decorate$2([
3939
+ globalSlimmerRegistry.MapToComponentField()
3940
+ ], VegaCalendarEventSlotController.prototype, "calendarEvent", void 0);
3941
+ __decorate$2([
3942
+ globalSlimmerRegistry.MapToComponentField({ writable: true })
3943
+ ], VegaCalendarEventSlotController.prototype, "slotMode", void 0);
3944
+ __decorate$2([
3945
+ globalSlimmerRegistry.MapToComponentField()
3946
+ ], VegaCalendarEventSlotController.prototype, "renderer", void 0);
3947
+ __decorate$2([
3948
+ globalSlimmerRegistry.MapToComponentMethod('componentWillLoad')
3949
+ ], VegaCalendarEventSlotController.prototype, "findTheCalendarEventSlot", null);
3950
+ __decorate$2([
3951
+ globalSlimmerRegistry.MapToComponentMethod('componentDidLoad')
3952
+ ], VegaCalendarEventSlotController.prototype, "appendTheRepeatEventSlotToContainer", null);
3953
+
3954
+ const vegaCalendarEventCss = ".bg-disabled{background-color:rgba(var(--v-bg-disabled, 176, 180, 181, 1))}:host{display:block;box-sizing:border-box;width:100%}:host .background-color-mode{border-radius:2px;color:rgba(var(--v-text-black, 32, 54, 69, 1));font-family:\"Inter\", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px;cursor:pointer;overflow:hidden;white-space:nowrap}@media screen and (min-width: 768px) and (max-width: 1023px){:host .background-color-mode{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .background-color-mode{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .background-color-mode{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}:host .background-color-mode:not(.slot-container){padding-left:8px;padding-right:8px}:host .background-color-mode:focus{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:0px}:host .event-container{display:block;width:100%;border-radius:4px;cursor:pointer;box-sizing:border-box;overflow:hidden}:host .background-color-mode.slot-container{height:16px;line-height:16px}:host ::slotted(vega-calendar-event-slot){position:relative;pointer-events:none}:host(.month-event) .event-container{display:flex;flex-direction:row;gap:4px;align-items:center;min-height:16px}:host(.month-event) .event-container:not(.slot-container){padding-left:2px;padding-right:2px}:host(.month-event) .event-container .event-status{width:8px;height:8px;box-sizing:border-box;border-top-left-radius:9999px;border-bottom-left-radius:9999px;border-top-right-radius:9999px;border-bottom-right-radius:9999px;margin-left:2px;flex-shrink:0}:host(.month-event) .event-container .event-status span{display:none;width:100%;height:100%;border-top-left-radius:9999px;border-bottom-left-radius:9999px;border-top-right-radius:9999px;border-bottom-right-radius:9999px}:host(.month-event) .event-container .event-title{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:400;line-height:16px;color:rgba(var(--v-text-primary, 32, 54, 69, 1));flex-grow:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.month-event) .event-container .event-title{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:400;line-height:16px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.month-event) .event-container .event-title{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:400;line-height:16px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.month-event) .event-container .event-title{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:400;line-height:16px}}:host(.month-event) .event-container.secondary .event-status span{display:block;background-size:4px 4px;opacity:0.8}:host(.month-event) .event-container.tertiary .event-status{padding:1px}:host(.month-event) .event-container.tertiary .event-status span{display:block;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1))}:host(.month-event) .event-container.disabled .event-status{background-color:rgba(var(--v-bg-disabled, 176, 180, 181, 1))}:host(.month-event) .event-container:hover{background-color:rgba(var(--v-bg-action-secondary-hover, 4, 112, 236, 0.1))}:host(.month-event) .event-container:active{background-color:rgba(var(--v-bg-action-secondary-active, 29, 65, 195, 0.1))}:host(.month-event) .event-container:focus{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:0px}:host(.day-event) .event-container{position:relative}:host(.day-event) .event-container:not(.slot-container){padding-left:8px;padding-right:8px}:host(.day-event) .event-container .event-status{position:absolute;width:4px;height:100%;left:0;top:0;z-index:1}:host(.day-event) .event-container .event-status span{display:none}:host(.day-event) .event-container .cover-block{position:absolute;height:100%;width:100%;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));border-radius:4px;left:0;top:0;opacity:0.7}:host(.day-event) .event-container .event-content,:host(.day-event) .event-container .event-time{display:flex;flex-direction:row;align-items:center}:host(.day-event) .event-container .event-content{gap:8px;position:relative;height:100%;box-sizing:border-box}:host(.day-event) .event-container .event-time{gap:4px;color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:\"Inter\", sans-serif;font-size:12px;font-weight:400;line-height:16px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.day-event) .event-container .event-time{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:400;line-height:16px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.day-event) .event-container .event-time{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:400;line-height:16px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.day-event) .event-container .event-time{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:400;line-height:16px}}:host(.day-event) .event-container .event-time vega-icon{flex-shrink:0}:host(.day-event) .event-container .event-time span{white-space:nowrap}:host(.day-event) .event-container .event-title{color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:\"Inter\", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.day-event) .event-container .event-title{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.day-event) .event-container .event-title{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.day-event) .event-container .event-title{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}:host(.day-event) .event-container .event-title.title-word-wrap{overflow:hidden}:host(.day-event) .event-container .event-title:not(.title-word-wrap){white-space:nowrap}:host(.day-event) .event-container.duration-half-an-hour{padding-top:8px;padding-bottom:8px}:host(.day-event) .event-container.vertical{height:100%}:host(.day-event) .event-container.vertical .event-content{flex-direction:column;align-items:flex-start;gap:4px;padding-top:8px;padding-bottom:8px}:host(.day-event) .event-container.secondary .event-status span,:host(.day-event) .event-container.tertiary .event-status span{display:block;position:absolute;border-top-left-radius:4px;border-bottom-left-radius:4px}:host(.day-event) .event-container.secondary .cover-block,:host(.day-event) .event-container.tertiary .cover-block{width:calc(100% - 2px);height:calc(100% - 2px);top:1px;left:1px}:host(.day-event) .event-container.secondary .event-status span{width:100%;height:100%;top:0px;left:0px;background-size:4px 4px;opacity:0.8}:host(.day-event) .event-container.secondary .cover-block{opacity:0.9}:host(.day-event) .event-container.tertiary .event-status span{background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));width:2px;height:calc(100% - 2px);top:1px;left:1px}:host(.day-event) .event-container.tertiary .cover-block{opacity:1}:host(.day-event) .event-container.disabled{background-color:rgba(var(--v-bg-disabled, 176, 180, 181, 1))}:host(.day-event) .event-container.disabled .event-status{background-color:rgba(var(--v-bg-disabled, 176, 180, 181, 1))}:host(.day-event) .event-container:focus{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:0px}:host(.day-event) .slot-container{min-height:16px}:host(.month-event.calendar-event-large-size) .background-color-mode{border-radius:4px}:host(.month-event.calendar-event-large-size) .background-color-mode:not(.slot-container){padding-top:4px;padding-bottom:4px}:host(.month-event.calendar-event-large-size) .event-container:not(.slot-container){padding-top:4px;padding-bottom:4px}:host(.month-event.calendar-event-large-size) .slot-container{height:24px;display:flex;align-items:center;line-height:24px}.stripe{background-image:linear-gradient(-45deg, transparent 25%, rgba(var(--v-bg-primary, 252, 252, 252, 1)) 25% 50%, transparent 50% 75%, rgba(var(--v-bg-primary, 252, 252, 252, 1)) 75% 100%)}";
3955
+
3956
+ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
3957
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3958
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
3959
+ r = Reflect.decorate(decorators, target, key, desc);
3960
+ else
3961
+ for (var i = decorators.length - 1; i >= 0; i--)
3962
+ if (d = decorators[i])
3963
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
3964
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3965
+ };
3966
+ const VegaCalendarEvent = class {
3967
+ constructor(hostRef) {
3968
+ index.registerInstance(this, hostRef);
3969
+ this.globalSlimmer = {};
3970
+ this.pageResizeObserverSlimmer = new pageResizeObserverSlimmer.PageResizeObserverSlimmer({
3971
+ target: () => this.host,
3972
+ callback:
3973
+ /**
3974
+ * The below method is e2e-test covered in
3975
+ * @see{module:vega-calendar-event-title-max-height-e2e}
3976
+ */
3977
+ /* istanbul ignore next */
3978
+ () => this.titleMaxHeightController.setVerticalTitleMaxHeight(),
3979
+ });
3980
+ this.vegaComponentUsageRuntimeMetricsSlimmer = new componentUsageRuntimeMetrics.VegaComponentUsageRuntimeMetricsSlimmer();
3981
+ this.renderer = new VegaCalendarEventRenderer();
3982
+ this.colorController = new VegaCalendarEventBgColorController();
3983
+ this.slotController = new VegaCalendarEventSlotController();
3984
+ this.subStateController = new VegaCalendarEventSubStateController();
3985
+ this.titleMaxHeightController = new VegaCalendarTitleMaxHeightController();
3986
+ this.timeFormat = '24-hour';
3987
+ this.slotMode = false;
3988
+ this.showColorBar = true;
3989
+ }
3990
+ render() {
3991
+ placeholder.slotPlaceholder(index.h("slot", null));
3992
+ return component.sanitizeVegaComponent(index.h(index.Host, null, this.calendarEvent ? this.renderer.render() : null), this.host);
3993
+ }
3994
+ get host() { return index.getElement(this); }
3995
+ };
3996
+ __decorate$1([
3997
+ componentUsageRuntimeMetrics.InjectVegaGlobalSlimmer()
3998
+ ], VegaCalendarEvent.prototype, "globalSlimmer", void 0);
3999
+ __decorate$1([
4000
+ globalSlimmerRegistry.InjectVegaSlimmer()
4001
+ ], VegaCalendarEvent.prototype, "pageResizeObserverSlimmer", void 0);
4002
+ __decorate$1([
4003
+ globalSlimmerRegistry.InjectVegaSlimmer()
4004
+ ], VegaCalendarEvent.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
4005
+ __decorate$1([
4006
+ globalSlimmerRegistry.InjectVegaSlimmer()
4007
+ ], VegaCalendarEvent.prototype, "renderer", void 0);
4008
+ __decorate$1([
4009
+ globalSlimmerRegistry.InjectVegaSlimmer()
4010
+ ], VegaCalendarEvent.prototype, "colorController", void 0);
4011
+ __decorate$1([
4012
+ globalSlimmerRegistry.InjectVegaSlimmer()
4013
+ ], VegaCalendarEvent.prototype, "slotController", void 0);
4014
+ __decorate$1([
4015
+ globalSlimmerRegistry.InjectVegaSlimmer()
4016
+ ], VegaCalendarEvent.prototype, "subStateController", void 0);
4017
+ __decorate$1([
4018
+ globalSlimmerRegistry.InjectVegaSlimmer()
4019
+ ], VegaCalendarEvent.prototype, "titleMaxHeightController", void 0);
4020
+ VegaCalendarEvent.style = vegaCalendarEventCss;
4021
+
4022
+ const vegaCalendarEventSlotCss = ":host{width:100%;height:100%;position:relative}";
4023
+
4024
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
4025
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4026
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
4027
+ r = Reflect.decorate(decorators, target, key, desc);
4028
+ else
4029
+ for (var i = decorators.length - 1; i >= 0; i--)
4030
+ if (d = decorators[i])
4031
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
4032
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
4033
+ };
4034
+ const VegaCalendarEventSlot = class {
4035
+ constructor(hostRef) {
4036
+ index.registerInstance(this, hostRef);
4037
+ this.globalSlimmer = {};
4038
+ this.vegaComponentUsageRuntimeMetricsSlimmer = new componentUsageRuntimeMetrics.VegaComponentUsageRuntimeMetricsSlimmer();
4039
+ }
4040
+ render() {
4041
+ return component.sanitizeVegaComponent(index.h(index.Host, { slot: getCalendarEventSlotName(this.eventKey) }, index.h("slot", null)), this.host);
4042
+ }
4043
+ get host() { return index.getElement(this); }
4044
+ };
4045
+ __decorate([
4046
+ componentUsageRuntimeMetrics.InjectVegaGlobalSlimmer()
4047
+ ], VegaCalendarEventSlot.prototype, "globalSlimmer", void 0);
4048
+ __decorate([
4049
+ globalSlimmerRegistry.InjectVegaSlimmer()
4050
+ ], VegaCalendarEventSlot.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
4051
+ VegaCalendarEventSlot.style = vegaCalendarEventSlotCss;
4052
+
4053
+ exports.vega_calendar = VegaCalendar;
4054
+ exports.vega_calendar_event = VegaCalendarEvent;
4055
+ exports.vega_calendar_event_slot = VegaCalendarEventSlot;