@heartlandone/vega 2.71.0 → 2.72.0-RTE-table-preview

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (694) hide show
  1. package/dist/cjs/{app-globals-837be7a6.js → app-globals-4d077e56.js} +19 -17
  2. package/dist/cjs/{child-nodes-event-prevent-slimmer-f8840f1b.js → child-nodes-event-prevent-slimmer-871855df.js} +1 -1
  3. package/dist/cjs/{code-block-bb4cbafa.js → code-block-bf3642ef.js} +29 -67
  4. package/dist/cjs/column-operation-1cac8386.js +1325 -0
  5. package/dist/cjs/{component-value-history-controller-slimmer.abstract-cf7b4bda.js → component-value-history-controller-slimmer.abstract-ebecb74a.js} +28 -7
  6. package/dist/cjs/{date-required-rule-4e1f84fd.js → date-required-rule-99cca681.js} +3 -3
  7. package/dist/cjs/{design-token-00fe8d2f.js → design-token-ac429fe9.js} +6 -7
  8. package/dist/cjs/{dom-node-subject-observer-factory-f040608b.js → dom-node-subject-observer-factory-1c8f7880.js} +5 -1
  9. package/dist/cjs/{dto-renderer-manager-c917dade.js → dto-renderer-manager-04428a77.js} +6 -4
  10. package/dist/cjs/{element-appender-slimmer-f8e89f37.js → element-appender-slimmer-1b062054.js} +52 -14
  11. package/dist/cjs/{event-emit-slimmer-7afe8d78.js → event-emit-slimmer-f7255138.js} +2 -2
  12. package/dist/cjs/{form-field-controller-slimmer-f865d397.js → form-field-controller-slimmer-57525f26.js} +3 -3
  13. package/dist/cjs/{image-annotation-action-8843adbf.js → image-annotation-action-7fa5d30d.js} +3 -3
  14. package/dist/cjs/index-58ea899e.js +12 -8
  15. package/dist/cjs/{index-4b896e76.js → index-c7fbf32b.js} +2 -2
  16. package/dist/cjs/index.cjs.js +37 -36
  17. package/dist/cjs/{inject-keyboard-manager-13c66257.js → inject-keyboard-manager-a6101379.js} +1 -1
  18. package/dist/cjs/{internal-vega-event-manager-45d451de.js → internal-vega-event-manager-0e1ba774.js} +3 -2
  19. package/dist/cjs/{keyboard-manager-af0d08a6.js → keyboard-manager-d8adb0ed.js} +1 -1
  20. package/dist/cjs/{keyboard-manager-slimmer-62f072cd.js → keyboard-manager-slimmer-15e65357.js} +1 -1
  21. package/dist/cjs/{language-extension-99c6fb40.js → language-extension-6ad0b5a0.js} +4 -4
  22. package/dist/cjs/loader.cjs.js +15 -13
  23. package/dist/cjs/month-view-generator-706c5477.js +102 -0
  24. package/dist/cjs/{public-rules-759c745b.js → public-rules-76bcf49c.js} +15 -15
  25. package/dist/cjs/{range-0b597850.js → range-449bcdd0.js} +1 -1
  26. package/dist/cjs/{responsive-format-facade-1d9c13a9.js → responsive-format-facade-e61c7f7e.js} +4 -4
  27. package/dist/cjs/{rich-text-editor-required-rule-92d0640e.js → rich-text-editor-required-rule-40216fee.js} +1 -1
  28. package/dist/cjs/{string-format-strategy.abstract-07a95352.js → string-format-strategy.abstract-a8264fca.js} +1 -1
  29. package/dist/cjs/{string-input-formatter-slimmer-8236b5e1.js → string-input-formatter-slimmer-4332d1c7.js} +4 -4
  30. package/dist/cjs/{string-mask-strategy-6bdad95e.js → string-mask-strategy-4e7d3780.js} +2 -2
  31. package/dist/cjs/{style-formatter-1daa8371.js → style-formatter-e2a0ad27.js} +2 -2
  32. package/dist/cjs/{sub-state-notify-slimmer-78682046.js → sub-state-notify-slimmer-9fe1ab65.js} +2 -2
  33. package/dist/cjs/{sub-state-observer-slimmer-73aecfff.js → sub-state-observer-slimmer-2f6f4d28.js} +2 -2
  34. package/dist/cjs/{function-extension-28a4d781.js → table-extension-1f162c4c.js} +1950 -20
  35. package/dist/cjs/{time-required-rule-ccf178e7.js → time-required-rule-9d39a620.js} +3 -3
  36. package/dist/cjs/{type-guard-f12b5bae.js → type-guard-69d2cf01.js} +1224 -1
  37. package/dist/cjs/{valid-credit-card-number-rule-ce5c9147.js → valid-credit-card-number-rule-9f40d1d9.js} +1 -1
  38. package/dist/cjs/vega-accordion.cjs.entry.js +13 -12
  39. package/dist/cjs/vega-app-header-button.cjs.entry.js +18 -17
  40. package/dist/cjs/vega-banner.cjs.entry.js +3 -3
  41. package/dist/cjs/vega-box.cjs.entry.js +17 -16
  42. package/dist/cjs/vega-breadcrumb.cjs.entry.js +4 -4
  43. package/dist/cjs/vega-button-circle.cjs.entry.js +17 -16
  44. package/dist/cjs/vega-button-group_2.cjs.entry.js +60 -10
  45. package/dist/cjs/vega-button-link.cjs.entry.js +5 -5
  46. package/dist/cjs/vega-button.cjs.entry.js +17 -15
  47. package/dist/cjs/vega-calendar_4.cjs.entry.js +87 -909
  48. package/dist/cjs/vega-card.cjs.entry.js +16 -15
  49. package/dist/cjs/vega-carousel.cjs.entry.js +16 -14
  50. package/dist/cjs/vega-checkbox_2.cjs.entry.js +7 -7
  51. package/dist/cjs/vega-chip.cjs.entry.js +18 -17
  52. package/dist/cjs/vega-code-block.cjs.entry.js +13 -13
  53. package/dist/cjs/vega-color-picker.cjs.entry.js +6 -6
  54. package/dist/cjs/vega-combo-box.cjs.entry.js +13 -13
  55. package/dist/cjs/vega-date-picker_2.cjs.entry.js +1759 -1568
  56. package/dist/cjs/vega-dialog_2.cjs.entry.js +22 -21
  57. package/dist/cjs/vega-divider.cjs.entry.js +12 -11
  58. package/dist/cjs/vega-dropdown_5.cjs.entry.js +21 -31
  59. package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
  60. package/dist/cjs/vega-field-label.cjs.entry.js +3 -3
  61. package/dist/cjs/vega-file-uploader.cjs.entry.js +6 -6
  62. package/dist/cjs/vega-flag-icon.cjs.entry.js +12 -11
  63. package/dist/cjs/vega-flex.cjs.entry.js +17 -16
  64. package/dist/cjs/vega-font.cjs.entry.js +16 -15
  65. package/dist/cjs/vega-form.cjs.entry.js +9 -9
  66. package/dist/cjs/vega-grid.cjs.entry.js +16 -15
  67. package/dist/cjs/vega-icon.cjs.entry.js +16 -15
  68. package/dist/cjs/vega-image-uploader.cjs.entry.js +18 -16
  69. package/dist/cjs/vega-input-credit-card.cjs.entry.js +14 -14
  70. package/dist/cjs/vega-input-numeric.cjs.entry.js +13 -13
  71. package/dist/cjs/vega-input-passcode.cjs.entry.js +12 -12
  72. package/dist/cjs/vega-input-phone-number.cjs.entry.js +19 -18
  73. package/dist/cjs/vega-input-range.cjs.entry.js +7 -7
  74. package/dist/cjs/vega-input-select.cjs.entry.js +16 -15
  75. package/dist/cjs/vega-input.cjs.entry.js +11 -11
  76. package/dist/cjs/{vega-internal-event-id-6d4a2c53.js → vega-internal-event-id-a5ef414b.js} +6 -4
  77. package/dist/cjs/vega-item-toggle.cjs.entry.js +3 -3
  78. package/dist/cjs/vega-left-nav_5.cjs.entry.js +20 -19
  79. package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +13 -11
  80. package/dist/cjs/vega-page-notification_2.cjs.entry.js +1 -1
  81. package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +4 -4
  82. package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +2 -2
  83. package/dist/cjs/vega-pagination.cjs.entry.js +15 -13
  84. package/dist/cjs/vega-popover_2.cjs.entry.js +24 -23
  85. package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +905 -0
  86. package/dist/cjs/vega-radio_2.cjs.entry.js +10 -10
  87. package/dist/cjs/vega-rich-text-content.cjs.entry.js +9 -8
  88. package/dist/cjs/{vega-rich-text-editor_4.cjs.entry.js → vega-rich-text-editor_5.cjs.entry.js} +766 -279
  89. package/dist/cjs/vega-rich-text-table-selection-widget.cjs.entry.js +184 -0
  90. package/dist/cjs/vega-segment-control.cjs.entry.js +3 -3
  91. package/dist/cjs/vega-selection-chip_2.cjs.entry.js +18 -16
  92. package/dist/cjs/vega-selection-tile_2.cjs.entry.js +8 -8
  93. package/dist/cjs/vega-sidenav_3.cjs.entry.js +18 -16
  94. package/dist/cjs/vega-signature-capture.cjs.entry.js +15 -14
  95. package/dist/cjs/vega-stepper.cjs.entry.js +7 -7
  96. package/dist/cjs/vega-tab-group_2.cjs.entry.js +4 -4
  97. package/dist/cjs/vega-table_11.cjs.entry.js +39 -38
  98. package/dist/cjs/vega-textarea.cjs.entry.js +7 -7
  99. package/dist/cjs/vega-time-picker_2.cjs.entry.js +40 -39
  100. package/dist/cjs/vega-toggle-switch.cjs.entry.js +6 -6
  101. package/dist/cjs/vega-tooltip_2.cjs.entry.js +16 -14
  102. package/dist/cjs/vega.cjs.js +15 -13
  103. package/dist/collection/collection-manifest.json +23 -13
  104. package/dist/collection/components/vega-button/vega-button.css +4 -0
  105. package/dist/collection/components/vega-button-group/vega-button-group-item/slimmers/controllers/vega-button-group-item-sub-state-controller.js +7 -0
  106. package/dist/collection/components/vega-button-group/vega-button-group-item/slimmers/renderers/vega-button-group-item-renderer.js +25 -2
  107. package/dist/collection/components/vega-button-group/vega-button-group-item/vega-button-group-item.js +31 -2
  108. package/dist/collection/components/vega-button-group/vega-button-group.js +37 -0
  109. package/dist/collection/components/vega-button-link/vega-button-link.css +4 -0
  110. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-open-state-controller.js +149 -0
  111. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-format-controller.js +3 -1
  112. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-keyboard-controller.js +1 -1
  113. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-value-controller.js +10 -26
  114. package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-renderer.js +107 -445
  115. package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-input-renderer-base.abstract.js +5 -1
  116. package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-range-input-renderer.js +24 -17
  117. package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-renderer.js +15 -20
  118. package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-single-input-renderer.js +6 -17
  119. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/constants.js +14 -0
  120. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/dto/calendar-selection.js +126 -0
  121. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-allow-repick-controller.js +70 -0
  122. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-current-period-controller.js +204 -0
  123. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-min-max-date-controller.js +56 -0
  124. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-selection-controller.js +191 -0
  125. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-state-base.abstract.js +54 -0
  126. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-today-controller.js +37 -0
  127. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-renderer.js +76 -0
  128. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-year-month-switcher-renderer.js +192 -0
  129. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-month-item-renderer.js +168 -0
  130. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.css +669 -278
  131. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.js +667 -3
  132. package/dist/collection/components/vega-date-picker/vega-date-picker.css +0 -11
  133. package/dist/collection/components/vega-date-picker/vega-date-picker.js +23 -40
  134. package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.js +3 -15
  135. package/dist/collection/components/vega-input-phone-number/slimmers/renderers/phone-number-input-renderer.js +1 -1
  136. package/dist/collection/components/vega-input-select/vega-input-select.js +1 -1
  137. package/dist/collection/components/vega-popover/vega-popover.js +14 -4
  138. package/dist/collection/components/vega-progress-tracker/slimmers/controllers/dto/internal-progress-tracker-step.js +75 -0
  139. package/dist/collection/components/vega-progress-tracker/slimmers/controllers/vega-progress-tracker-current-direction-controller.js +88 -0
  140. package/dist/collection/components/vega-progress-tracker/slimmers/controllers/vega-progress-tracker-current-step-controller.js +153 -0
  141. package/dist/collection/components/vega-progress-tracker/slimmers/controllers/vega-progress-tracker-current-steps-controller.js +125 -0
  142. package/dist/collection/components/vega-progress-tracker/slimmers/controllers/vega-progress-tracker-render-mode-controller.js +40 -0
  143. package/dist/collection/components/vega-progress-tracker/slimmers/renderers/vega-progress-tracker-renderer.js +94 -0
  144. package/dist/collection/components/vega-progress-tracker/vega-progress-tracker-step/slimmers/controllers/vega-progress-tracker-step-state-controller.js +43 -0
  145. package/dist/collection/components/vega-progress-tracker/vega-progress-tracker-step/vega-progress-tracker-step.css +79 -0
  146. package/dist/collection/components/vega-progress-tracker/vega-progress-tracker-step/vega-progress-tracker-step.js +84 -0
  147. package/dist/collection/components/vega-progress-tracker/vega-progress-tracker.css +69 -153
  148. package/dist/collection/components/vega-progress-tracker/vega-progress-tracker.js +88 -85
  149. package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-style-annotation.js +11 -63
  150. package/dist/collection/components/vega-rich-text-editor/dto/blocks/block.abstract.js +15 -1
  151. package/dist/collection/components/vega-rich-text-editor/extensions/base-extension-renderer.js +2 -1
  152. package/dist/collection/components/vega-rich-text-editor/extensions/extension.abstract.js +8 -0
  153. package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-interceptors/prevent-cell-children-remove-interceptor.js +42 -0
  154. package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-interceptors/prevent-cell-content-delete-interceptor.js +25 -0
  155. package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-interceptors/prevent-row-insert-interceptor.js +23 -0
  156. package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/delete-table-block-strategy.js +25 -0
  157. package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/delete-table-column-strategy.js +57 -0
  158. package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/delete-table-row-strategy.js +57 -0
  159. package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/insert-table-block-strategy.js +54 -0
  160. package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/insert-table-column-strategy.js +42 -0
  161. package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/insert-table-row-strategy.js +117 -0
  162. package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/select-table-column-strategy.js +22 -0
  163. package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/table-column-strategy.abstract.js +19 -0
  164. package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/toggle-header-row-strategy.js +133 -0
  165. package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/toggle-header-table-column-strategy.js +99 -0
  166. package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/delete-table-block-action.js +13 -0
  167. package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/delete-table-column-action.js +13 -0
  168. package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/delete-table-row-action.js +18 -0
  169. package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/insert-table-block-action.js +13 -0
  170. package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/insert-table-column-action.js +19 -0
  171. package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/insert-table-row-action.js +26 -0
  172. package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/select-table-column-action.js +13 -0
  173. package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/table-annotations-action.js +18 -0
  174. package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/table-caption-action.js +13 -0
  175. package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/table-cell-annotations-action.js +18 -0
  176. package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/toggle-header-row-action.js +13 -0
  177. package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/toggle-header-table-column-action.js +15 -0
  178. package/dist/collection/components/vega-rich-text-editor/extensions/table/annotations/table-annotation.js +91 -0
  179. package/dist/collection/components/vega-rich-text-editor/extensions/table/annotations/table-caption-annotation.js +57 -0
  180. package/dist/collection/components/vega-rich-text-editor/extensions/table/annotations/table-cell-annotation.js +120 -0
  181. package/dist/collection/components/vega-rich-text-editor/extensions/table/annotations/table-head-cell-annotation.js +40 -0
  182. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-block.js +117 -0
  183. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-body-block.js +55 -0
  184. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-caption-block.js +65 -0
  185. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-cell-block.js +63 -0
  186. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-head-block.js +59 -0
  187. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-head-cell-block.js +46 -0
  188. package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-row-block.js +59 -0
  189. package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-body-renderer.js +15 -0
  190. package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-caption-renderer.js +22 -0
  191. package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-cell-renderer.js +74 -0
  192. package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-dynamic-popover-renderer.js +99 -0
  193. package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-head-cell-renderer.js +12 -0
  194. package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-head-renderer.js +15 -0
  195. package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-renderer.js +103 -0
  196. package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-row-renderer.js +15 -0
  197. package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-setting-popover-renderer.js +145 -0
  198. package/dist/collection/components/vega-rich-text-editor/extensions/table/setting-event-handlers/caption-operation.js +78 -0
  199. package/dist/collection/components/vega-rich-text-editor/extensions/table/setting-event-handlers/column-operation.js +109 -0
  200. package/dist/collection/components/vega-rich-text-editor/extensions/table/setting-event-handlers/row-operation.js +132 -0
  201. package/dist/collection/components/vega-rich-text-editor/extensions/table/setting-event-handlers/setting-event-handler.abstract.js +44 -0
  202. package/dist/collection/components/vega-rich-text-editor/extensions/table/table-extension.js +118 -0
  203. package/dist/collection/components/vega-rich-text-editor/extensions/table/table-icon.js +3 -0
  204. package/dist/collection/components/vega-rich-text-editor/extensions/table/table-selection.js +348 -0
  205. package/dist/collection/components/vega-rich-text-editor/extensions/table/table-toolbar-button-renderer.js +229 -0
  206. package/dist/collection/components/vega-rich-text-editor/extensions/table/utils/utils.js +102 -0
  207. package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-selection-widget/slimmers/controllers/selection-widget-keyboard-controller.js +36 -0
  208. package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-selection-widget/slimmers/renderers/selection-widget-renderer.js +83 -0
  209. package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-selection-widget/vega-rich-text-table-selection-widget.css +41 -0
  210. package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-selection-widget/vega-rich-text-table-selection-widget.js +80 -0
  211. package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/assets/icon.js +20 -0
  212. package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/caption-button-slimmer.js +27 -0
  213. package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/cell-properties-button-slimmer.js +26 -0
  214. package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/column-button-slimmer.js +86 -0
  215. package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/row-button-slimmer.js +101 -0
  216. package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/table-properties-button-slimmer.js +26 -0
  217. package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/table-setting-button-slimmer.abstract.js +75 -0
  218. package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/vega-rich-text-table-setting-renderer.js +50 -0
  219. package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/vega-rich-text-table-setting.css +20 -0
  220. package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/vega-rich-text-table-setting.js +166 -0
  221. package/dist/collection/components/vega-rich-text-editor/extensions/tokens/insert-token-node-strategy.js +5 -1
  222. package/dist/collection/components/vega-rich-text-editor/extensions/tokens/span-to-token-node-strategy.js +12 -1
  223. package/dist/collection/components/vega-rich-text-editor/extensions/tokens/token-node-renderer.js +16 -10
  224. package/dist/collection/components/vega-rich-text-editor/extensions/tokens/token-node.js +1 -1
  225. package/dist/collection/components/vega-rich-text-editor/public-api.js +1 -0
  226. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/extension-controller.js +20 -0
  227. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/selection-controller.js +23 -2
  228. package/dist/collection/components/vega-rich-text-editor/test/dto/annotation-style.test.js +2 -1
  229. package/dist/collection/components/vega-rich-text-editor/test/dto/annotations.test.js +9 -0
  230. package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/text-block.test.js +1 -1
  231. package/dist/collection/components/vega-rich-text-editor/test/dto/content-state.test.js +15 -15
  232. package/dist/collection/components/vega-rich-text-editor/test/extensions/table/caption-operation.test.js +99 -0
  233. package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-annotation.test.js +89 -0
  234. package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-caption-annotations.test.js +79 -0
  235. package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-cell-annotation.test.js +128 -0
  236. package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-dto.test.js +517 -0
  237. package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-test-utils.js +172 -0
  238. package/dist/collection/components/vega-rich-text-editor/test/spec-utils.js +5 -2
  239. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.css +4 -0
  240. package/dist/collection/constants/regex.js +1 -0
  241. package/dist/collection/constants/ui.js +3 -0
  242. package/dist/collection/global/scripts/before-vega-load.js +2 -0
  243. package/dist/collection/helpers/calendar/calendar-date.js +273 -1
  244. package/dist/collection/helpers/calendar/calendar-period/calendar-period.abstract.js +9 -0
  245. package/dist/collection/helpers/calendar/calendar-period/month-period.js +16 -4
  246. package/dist/collection/helpers/calendar/test/calendar-date.test.js +73 -0
  247. package/dist/collection/helpers/calendar/test/calendar-period/day-period.test.js +9 -0
  248. package/dist/collection/helpers/calendar/test/calendar-period/month-period.test.js +41 -0
  249. package/dist/collection/helpers/calendar/test/calendar-period/week-period.test.js +11 -0
  250. package/dist/collection/helpers/event-manager/event-id/component-event-id-map.js +3 -2
  251. package/dist/collection/helpers/event-manager/event-id/vega-event-id.js +3 -1
  252. package/dist/collection/helpers/event-manager/event-id/vega-internal-event-id.js +5 -2
  253. package/dist/collection/helpers/slimmers/element-appender/element-appender-slimmer.js +2 -1
  254. package/dist/collection/helpers/slimmers/position-calculation/position-calculation-controller.js +7 -0
  255. package/dist/collection/helpers/ui/element-appender.js +35 -5
  256. package/dist/collection/types/type-guard.js +10 -0
  257. package/dist/collection/utils/date.js +14 -3
  258. package/dist/collection/utils/e2e-utils.js +8 -2
  259. package/dist/collection/utils/spec-utils.js +4 -3
  260. package/dist/collection/utils/test/date.test.js +2 -0
  261. package/dist/esm/{app-globals-fd4b7d97.js → app-globals-e7a8d0cc.js} +9 -7
  262. package/dist/esm/{child-nodes-event-prevent-slimmer-76331524.js → child-nodes-event-prevent-slimmer-9ae34332.js} +1 -1
  263. package/dist/esm/{code-block-ecb4491b.js → code-block-3d3a9030.js} +30 -68
  264. package/dist/esm/column-operation-4a93bf52.js +1300 -0
  265. package/dist/esm/{component-value-history-controller-slimmer.abstract-5d618b88.js → component-value-history-controller-slimmer.abstract-d84e7bab.js} +28 -7
  266. package/dist/esm/{date-required-rule-8944f3bf.js → date-required-rule-a9980386.js} +1 -1
  267. package/dist/esm/{design-token-2d77e8f5.js → design-token-1575f6d9.js} +4 -5
  268. package/dist/esm/{dom-node-subject-observer-factory-dca87b70.js → dom-node-subject-observer-factory-f81f215f.js} +4 -2
  269. package/dist/esm/{dto-renderer-manager-d862ae78.js → dto-renderer-manager-23784148.js} +5 -5
  270. package/dist/esm/{element-appender-slimmer-6791c332.js → element-appender-slimmer-1a50e184.js} +51 -13
  271. package/dist/esm/{event-emit-slimmer-4e28e9f8.js → event-emit-slimmer-966716fa.js} +2 -2
  272. package/dist/esm/{form-field-controller-slimmer-bf071b75.js → form-field-controller-slimmer-0020997d.js} +4 -4
  273. package/dist/esm/{image-annotation-action-d0af138c.js → image-annotation-action-dba16587.js} +3 -3
  274. package/dist/esm/index-090d31ca.js +12 -8
  275. package/dist/esm/{index-c943d263.js → index-d72e7fb3.js} +2 -2
  276. package/dist/esm/index.js +21 -21
  277. package/dist/esm/{inject-keyboard-manager-ffd351b9.js → inject-keyboard-manager-9241968c.js} +1 -1
  278. package/dist/esm/{internal-vega-event-manager-516aa721.js → internal-vega-event-manager-4f51b17c.js} +3 -2
  279. package/dist/esm/{keyboard-manager-5d8f3582.js → keyboard-manager-89acac79.js} +1 -1
  280. package/dist/esm/{keyboard-manager-slimmer-f39214e4.js → keyboard-manager-slimmer-e303cb7d.js} +1 -1
  281. package/dist/esm/{language-extension-8f51f5ff.js → language-extension-710fe56d.js} +2 -2
  282. package/dist/esm/loader.js +17 -15
  283. package/dist/esm/month-view-generator-4bec99fd.js +98 -0
  284. package/dist/esm/{page-resize-observer-slimmer-0bf7fbf3.js → page-resize-observer-slimmer-8744cb44.js} +1 -1
  285. package/dist/esm/polyfills/core-js.js +0 -0
  286. package/dist/esm/polyfills/dom.js +0 -0
  287. package/dist/esm/polyfills/es5-html-element.js +0 -0
  288. package/dist/esm/polyfills/index.js +0 -0
  289. package/dist/esm/polyfills/system.js +0 -0
  290. package/dist/esm/{public-rules-d10e76f4.js → public-rules-522ba4b1.js} +15 -15
  291. package/dist/esm/{range-f7b9e2fb.js → range-cdd85d30.js} +1 -1
  292. package/dist/esm/{responsive-format-facade-267935ae.js → responsive-format-facade-405f90d2.js} +6 -6
  293. package/dist/esm/{rich-text-editor-required-rule-774b822b.js → rich-text-editor-required-rule-7d2d9615.js} +1 -1
  294. package/dist/esm/{string-format-strategy.abstract-452f4398.js → string-format-strategy.abstract-75540c16.js} +1 -1
  295. package/dist/esm/{string-input-formatter-slimmer-3acd240c.js → string-input-formatter-slimmer-96ccc8cf.js} +4 -4
  296. package/dist/esm/{string-mask-strategy-6232a1c1.js → string-mask-strategy-4a18ed1a.js} +2 -2
  297. package/dist/esm/{style-formatter-3f88c491.js → style-formatter-52cd20f7.js} +2 -2
  298. package/dist/esm/{sub-state-notify-slimmer-56380f02.js → sub-state-notify-slimmer-97953a87.js} +2 -2
  299. package/dist/esm/{sub-state-observer-slimmer-3504e2f2.js → sub-state-observer-slimmer-3f2b954f.js} +2 -2
  300. package/dist/esm/{function-extension-8d39db56.js → table-extension-164b0d6c.js} +1952 -23
  301. package/dist/esm/{time-required-rule-a01163b5.js → time-required-rule-8ec1faf5.js} +1 -1
  302. package/dist/esm/{type-guard-12f7654b.js → type-guard-b48aec98.js} +1204 -2
  303. package/dist/esm/{ui-8424715a.js → ui-28fd4193.js} +1 -1
  304. package/dist/esm/{valid-credit-card-number-rule-81443274.js → valid-credit-card-number-rule-96eaf9b1.js} +1 -1
  305. package/dist/esm/vega-accordion.entry.js +15 -14
  306. package/dist/esm/vega-app-header-button.entry.js +20 -19
  307. package/dist/esm/vega-banner.entry.js +3 -3
  308. package/dist/esm/vega-box.entry.js +19 -18
  309. package/dist/esm/vega-breadcrumb.entry.js +4 -4
  310. package/dist/esm/vega-button-circle.entry.js +19 -18
  311. package/dist/esm/vega-button-group_2.entry.js +60 -10
  312. package/dist/esm/vega-button-link.entry.js +5 -5
  313. package/dist/esm/vega-button.entry.js +19 -17
  314. package/dist/esm/vega-calendar_4.entry.js +46 -868
  315. package/dist/esm/vega-card.entry.js +18 -17
  316. package/dist/esm/vega-carousel.entry.js +18 -16
  317. package/dist/esm/vega-checkbox_2.entry.js +9 -9
  318. package/dist/esm/vega-chip.entry.js +20 -19
  319. package/dist/esm/vega-code-block.entry.js +14 -14
  320. package/dist/esm/vega-color-picker.entry.js +8 -8
  321. package/dist/esm/vega-combo-box.entry.js +15 -15
  322. package/dist/esm/vega-date-picker_2.entry.js +1746 -1555
  323. package/dist/esm/vega-dialog_2.entry.js +18 -17
  324. package/dist/esm/vega-divider.entry.js +14 -13
  325. package/dist/esm/vega-dropdown_5.entry.js +21 -31
  326. package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
  327. package/dist/esm/vega-field-label.entry.js +3 -3
  328. package/dist/esm/vega-file-uploader.entry.js +8 -8
  329. package/dist/esm/vega-flag-icon.entry.js +14 -13
  330. package/dist/esm/vega-flex.entry.js +19 -18
  331. package/dist/esm/vega-font.entry.js +18 -17
  332. package/dist/esm/vega-form.entry.js +11 -11
  333. package/dist/esm/vega-grid.entry.js +18 -17
  334. package/dist/esm/vega-icon.entry.js +18 -17
  335. package/dist/esm/vega-image-uploader.entry.js +19 -17
  336. package/dist/esm/vega-input-credit-card.entry.js +16 -16
  337. package/dist/esm/vega-input-numeric.entry.js +15 -15
  338. package/dist/esm/vega-input-passcode.entry.js +14 -14
  339. package/dist/esm/vega-input-phone-number.entry.js +18 -17
  340. package/dist/esm/vega-input-range.entry.js +9 -9
  341. package/dist/esm/vega-input-select.entry.js +17 -16
  342. package/dist/esm/vega-input.entry.js +13 -13
  343. package/dist/esm/{vega-internal-event-id-5c3e5f7f.js → vega-internal-event-id-54ce7562.js} +4 -3
  344. package/dist/esm/vega-item-toggle.entry.js +4 -4
  345. package/dist/esm/vega-left-nav_5.entry.js +18 -17
  346. package/dist/esm/vega-loader-wrapper_2.entry.js +13 -11
  347. package/dist/esm/vega-page-notification_2.entry.js +1 -1
  348. package/dist/esm/vega-pagination-page-selector-mobile.entry.js +4 -4
  349. package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +2 -2
  350. package/dist/esm/vega-pagination.entry.js +17 -15
  351. package/dist/esm/vega-popover_2.entry.js +24 -23
  352. package/dist/esm/vega-progress-tracker_2.entry.js +900 -0
  353. package/dist/esm/vega-radio_2.entry.js +12 -12
  354. package/dist/esm/vega-rich-text-content.entry.js +10 -9
  355. package/dist/esm/{vega-rich-text-editor_4.entry.js → vega-rich-text-editor_5.entry.js} +767 -281
  356. package/dist/esm/vega-rich-text-table-selection-widget.entry.js +180 -0
  357. package/dist/esm/vega-segment-control.entry.js +5 -5
  358. package/dist/esm/vega-selection-chip_2.entry.js +20 -18
  359. package/dist/esm/vega-selection-tile_2.entry.js +10 -10
  360. package/dist/esm/vega-sidenav_3.entry.js +16 -14
  361. package/dist/esm/vega-signature-capture.entry.js +17 -16
  362. package/dist/esm/vega-stepper.entry.js +9 -9
  363. package/dist/esm/vega-tab-group_2.entry.js +6 -6
  364. package/dist/esm/vega-table_11.entry.js +16 -15
  365. package/dist/esm/vega-text.entry.js +2 -2
  366. package/dist/esm/vega-textarea.entry.js +9 -9
  367. package/dist/esm/vega-time-picker_2.entry.js +21 -20
  368. package/dist/esm/vega-toggle-switch.entry.js +8 -8
  369. package/dist/esm/vega-tooltip_2.entry.js +18 -16
  370. package/dist/esm/vega.js +17 -15
  371. package/dist/sri/vega-sri-manifest.json +342 -346
  372. package/dist/types/components/vega-button-group/types.d.ts +2 -1
  373. package/dist/types/components/vega-button-group/vega-button-group-item/slimmers/controllers/vega-button-group-item-sub-state-controller.d.ts +1 -0
  374. package/dist/types/components/vega-button-group/vega-button-group-item/slimmers/renderers/vega-button-group-item-renderer.d.ts +11 -0
  375. package/dist/types/components/vega-button-group/vega-button-group-item/vega-button-group-item.d.ts +7 -0
  376. package/dist/types/components/vega-button-group/vega-button-group.d.ts +8 -0
  377. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-open-state-controller.d.ts +60 -0
  378. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-value-controller.d.ts +3 -4
  379. package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-renderer.d.ts +29 -124
  380. package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-input-renderer-base.abstract.d.ts +1 -0
  381. package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-range-input-renderer.d.ts +5 -5
  382. package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-renderer.d.ts +2 -3
  383. package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-single-input-renderer.d.ts +1 -4
  384. package/dist/types/components/vega-date-picker/types.d.ts +9 -0
  385. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/constants.d.ts +1 -0
  386. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/dto/calendar-selection.d.ts +62 -0
  387. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-allow-repick-controller.d.ts +31 -0
  388. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-current-period-controller.d.ts +78 -0
  389. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-min-max-date-controller.d.ts +20 -0
  390. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-selection-controller.d.ts +75 -0
  391. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-state-base.abstract.d.ts +29 -0
  392. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-today-controller.d.ts +15 -0
  393. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-renderer.d.ts +18 -0
  394. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-year-month-switcher-renderer.d.ts +40 -0
  395. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-month-item-renderer.d.ts +32 -0
  396. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.d.ts +182 -0
  397. package/dist/types/components/vega-date-picker/vega-date-picker.d.ts +6 -14
  398. package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.d.ts +0 -4
  399. package/dist/types/components/vega-popover/vega-popover.d.ts +2 -1
  400. package/dist/types/components/vega-progress-tracker/slimmers/controllers/dto/internal-progress-tracker-step.d.ts +55 -0
  401. package/dist/types/components/vega-progress-tracker/slimmers/controllers/vega-progress-tracker-current-direction-controller.d.ts +27 -0
  402. package/dist/types/components/vega-progress-tracker/slimmers/controllers/vega-progress-tracker-current-step-controller.d.ts +63 -0
  403. package/dist/types/components/vega-progress-tracker/slimmers/controllers/vega-progress-tracker-current-steps-controller.d.ts +39 -0
  404. package/dist/types/components/vega-progress-tracker/slimmers/controllers/vega-progress-tracker-render-mode-controller.d.ts +21 -0
  405. package/dist/types/components/vega-progress-tracker/slimmers/renderers/vega-progress-tracker-renderer.d.ts +21 -0
  406. package/dist/types/components/vega-progress-tracker/type.d.ts +1 -0
  407. package/dist/types/components/vega-progress-tracker/vega-progress-tracker-step/slimmers/controllers/vega-progress-tracker-step-state-controller.d.ts +12 -0
  408. package/dist/types/components/vega-progress-tracker/vega-progress-tracker-step/vega-progress-tracker-step.d.ts +22 -0
  409. package/dist/types/components/vega-progress-tracker/vega-progress-tracker.d.ts +24 -10
  410. package/dist/types/components/vega-rich-text-editor/dto/annotations/annotation.abstract.d.ts +2 -5
  411. package/dist/types/components/vega-rich-text-editor/dto/annotations/block-annotation.abstract.d.ts +3 -3
  412. package/dist/types/components/vega-rich-text-editor/dto/annotations/text-style-annotation.d.ts +7 -0
  413. package/dist/types/components/vega-rich-text-editor/dto/blocks/block.abstract.d.ts +10 -6
  414. package/dist/types/components/vega-rich-text-editor/extensions/extension.abstract.d.ts +5 -0
  415. package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-interceptors/prevent-cell-children-remove-interceptor.d.ts +25 -0
  416. package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-interceptors/prevent-cell-content-delete-interceptor.d.ts +20 -0
  417. package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-interceptors/prevent-row-insert-interceptor.d.ts +19 -0
  418. package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/delete-table-block-strategy.d.ts +14 -0
  419. package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/delete-table-column-strategy.d.ts +31 -0
  420. package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/delete-table-row-strategy.d.ts +28 -0
  421. package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/insert-table-block-strategy.d.ts +27 -0
  422. package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/insert-table-column-strategy.d.ts +19 -0
  423. package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/insert-table-row-strategy.d.ts +27 -0
  424. package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/select-table-column-strategy.d.ts +12 -0
  425. package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/table-column-strategy.abstract.d.ts +20 -0
  426. package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/toggle-header-row-strategy.d.ts +41 -0
  427. package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/toggle-header-table-column-strategy.d.ts +45 -0
  428. package/dist/types/components/vega-rich-text-editor/extensions/table/actions/delete-table-block-action.d.ts +12 -0
  429. package/dist/types/components/vega-rich-text-editor/extensions/table/actions/delete-table-column-action.d.ts +15 -0
  430. package/dist/types/components/vega-rich-text-editor/extensions/table/actions/delete-table-row-action.d.ts +17 -0
  431. package/dist/types/components/vega-rich-text-editor/extensions/table/actions/insert-table-block-action.d.ts +20 -0
  432. package/dist/types/components/vega-rich-text-editor/extensions/table/actions/insert-table-column-action.d.ts +23 -0
  433. package/dist/types/components/vega-rich-text-editor/extensions/table/actions/insert-table-row-action.d.ts +23 -0
  434. package/dist/types/components/vega-rich-text-editor/extensions/table/actions/select-table-column-action.d.ts +18 -0
  435. package/dist/types/components/vega-rich-text-editor/extensions/table/actions/table-annotations-action.d.ts +16 -0
  436. package/dist/types/components/vega-rich-text-editor/extensions/table/actions/table-caption-action.d.ts +14 -0
  437. package/dist/types/components/vega-rich-text-editor/extensions/table/actions/table-cell-annotations-action.d.ts +16 -0
  438. package/dist/types/components/vega-rich-text-editor/extensions/table/actions/toggle-header-row-action.d.ts +12 -0
  439. package/dist/types/components/vega-rich-text-editor/extensions/table/actions/toggle-header-table-column-action.d.ts +16 -0
  440. package/dist/types/components/vega-rich-text-editor/extensions/table/annotations/table-annotation.d.ts +64 -0
  441. package/dist/types/components/vega-rich-text-editor/extensions/table/annotations/table-caption-annotation.d.ts +26 -0
  442. package/dist/types/components/vega-rich-text-editor/extensions/table/annotations/table-cell-annotation.d.ts +66 -0
  443. package/dist/types/components/vega-rich-text-editor/extensions/table/annotations/table-head-cell-annotation.d.ts +22 -0
  444. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-block.d.ts +78 -0
  445. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-body-block.d.ts +42 -0
  446. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-caption-block.d.ts +41 -0
  447. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-cell-block.d.ts +45 -0
  448. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-head-block.d.ts +42 -0
  449. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-head-cell-block.d.ts +30 -0
  450. package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-row-block.d.ts +44 -0
  451. package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-body-renderer.d.ts +12 -0
  452. package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-caption-renderer.d.ts +13 -0
  453. package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-cell-renderer.d.ts +37 -0
  454. package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-dynamic-popover-renderer.d.ts +51 -0
  455. package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-head-cell-renderer.d.ts +12 -0
  456. package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-head-renderer.d.ts +12 -0
  457. package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-renderer.d.ts +39 -0
  458. package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-row-renderer.d.ts +12 -0
  459. package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-setting-popover-renderer.d.ts +65 -0
  460. package/dist/types/components/vega-rich-text-editor/extensions/table/setting-event-handlers/caption-operation.d.ts +36 -0
  461. package/dist/types/components/vega-rich-text-editor/extensions/table/setting-event-handlers/column-operation.d.ts +55 -0
  462. package/dist/types/components/vega-rich-text-editor/extensions/table/setting-event-handlers/row-operation.d.ts +61 -0
  463. package/dist/types/components/vega-rich-text-editor/extensions/table/setting-event-handlers/setting-event-handler.abstract.d.ts +46 -0
  464. package/dist/types/components/vega-rich-text-editor/extensions/table/table-extension.d.ts +31 -0
  465. package/dist/types/components/vega-rich-text-editor/extensions/table/table-icon.d.ts +3 -0
  466. package/dist/types/components/vega-rich-text-editor/extensions/table/table-selection.d.ts +142 -0
  467. package/dist/types/components/vega-rich-text-editor/extensions/table/table-toolbar-button-renderer.d.ts +85 -0
  468. package/dist/types/components/vega-rich-text-editor/extensions/table/utils/utils.d.ts +53 -0
  469. package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-selection-widget/slimmers/controllers/selection-widget-keyboard-controller.d.ts +15 -0
  470. package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-selection-widget/slimmers/renderers/selection-widget-renderer.d.ts +31 -0
  471. package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-selection-widget/vega-rich-text-table-selection-widget.d.ts +27 -0
  472. package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/assets/icon.d.ts +2 -0
  473. package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/caption-button-slimmer.d.ts +11 -0
  474. package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/cell-properties-button-slimmer.d.ts +11 -0
  475. package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/column-button-slimmer.d.ts +28 -0
  476. package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/row-button-slimmer.d.ts +36 -0
  477. package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/table-properties-button-slimmer.d.ts +11 -0
  478. package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/table-setting-button-slimmer.abstract.d.ts +36 -0
  479. package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/vega-rich-text-table-setting-renderer.d.ts +11 -0
  480. package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/vega-rich-text-table-setting.d.ts +46 -0
  481. package/dist/types/components/vega-rich-text-editor/extensions/tokens/span-to-token-node-strategy.d.ts +7 -0
  482. package/dist/types/components/vega-rich-text-editor/extensions/tokens/token-extension.d.ts +1 -1
  483. package/dist/types/components/vega-rich-text-editor/extensions/tokens/token-node-renderer.d.ts +7 -0
  484. package/dist/types/components/vega-rich-text-editor/extensions/tokens/token-toolbar-button-renderer.d.ts +2 -2
  485. package/dist/types/components/vega-rich-text-editor/interface.d.ts +26 -3
  486. package/dist/types/components/vega-rich-text-editor/public-api.d.ts +1 -0
  487. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/extension-controller.d.ts +4 -0
  488. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/selection-controller.d.ts +19 -6
  489. package/dist/types/components/vega-rich-text-editor/test/extensions/table/caption-operation.test.d.ts +1 -0
  490. package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-annotation.test.d.ts +1 -0
  491. package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-caption-annotations.test.d.ts +1 -0
  492. package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-cell-annotation.test.d.ts +1 -0
  493. package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-dto.test.d.ts +1 -0
  494. package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-test-utils.d.ts +11 -0
  495. package/dist/types/components/vega-rich-text-editor/test/spec-utils.d.ts +4 -0
  496. package/dist/types/components.d.ts +286 -6
  497. package/dist/types/constants/regex.d.ts +1 -0
  498. package/dist/types/constants/ui.d.ts +1 -1
  499. package/dist/types/helpers/calendar/calendar-date.d.ts +86 -2
  500. package/dist/types/helpers/calendar/calendar-period/calendar-period.abstract.d.ts +7 -0
  501. package/dist/types/helpers/event-manager/event-id/vega-event-id.d.ts +3 -1
  502. package/dist/types/helpers/event-manager/event-id/vega-internal-event-id.d.ts +5 -2
  503. package/dist/types/helpers/ui/element-appender.d.ts +14 -0
  504. package/dist/types/types/components.type.d.ts +5 -0
  505. package/dist/types/types/type-guard.d.ts +8 -0
  506. package/dist/types/utils/date.d.ts +11 -2
  507. package/dist/types/utils/e2e-utils.d.ts +7 -0
  508. package/dist/types/utils/spec-utils.d.ts +2 -1
  509. package/dist/vega/index.esm.js +1 -1
  510. package/dist/vega/p-09561e90.entry.js +1 -0
  511. package/dist/vega/p-095c778c.entry.js +1 -0
  512. package/dist/vega/{p-e6351dab.entry.js → p-0bca50ab.entry.js} +1 -1
  513. package/dist/vega/{p-7d9cd9c8.js → p-10ac8b57.js} +1 -1
  514. package/dist/vega/{p-dde03224.entry.js → p-11a7daad.entry.js} +1 -1
  515. package/dist/vega/{p-447c7590.js → p-1282b67e.js} +1 -1
  516. package/dist/vega/{p-7b42da4f.entry.js → p-137e5c70.entry.js} +1 -1
  517. package/dist/vega/p-161b9c5b.js +1 -0
  518. package/dist/vega/p-174db33b.js +1 -0
  519. package/dist/vega/p-1815e753.entry.js +1 -0
  520. package/dist/vega/{p-1bb0c934.js → p-18bcfd7a.js} +1 -1
  521. package/dist/vega/p-194722fe.entry.js +1 -0
  522. package/dist/vega/{p-de97c6d9.js → p-1be7c6c4.js} +1 -1
  523. package/dist/vega/p-1c33d25e.entry.js +1 -0
  524. package/dist/vega/p-1dd07d64.entry.js +1 -0
  525. package/dist/vega/{p-a6010b93.entry.js → p-1e0d8228.entry.js} +1 -1
  526. package/dist/vega/p-207cfa6a.js +1 -0
  527. package/dist/vega/p-218e29c2.js +1 -0
  528. package/dist/vega/{p-75b5894f.entry.js → p-2249b040.entry.js} +1 -1
  529. package/dist/vega/p-23183d4d.js +1 -0
  530. package/dist/vega/p-238ec2b9.entry.js +1 -0
  531. package/dist/vega/p-2428457e.entry.js +1 -0
  532. package/dist/vega/p-263ad7b6.js +1 -0
  533. package/dist/vega/{p-ea96635b.entry.js → p-2688bc6f.entry.js} +1 -1
  534. package/dist/vega/{p-8350506e.js → p-26a43b4c.js} +1 -1
  535. package/dist/vega/p-285815b5.entry.js +1 -0
  536. package/dist/vega/{p-cac6239b.entry.js → p-2c07b213.entry.js} +1 -1
  537. package/dist/vega/{p-c0223a17.entry.js → p-31a65402.entry.js} +1 -1
  538. package/dist/vega/p-34a1a0c5.entry.js +1 -0
  539. package/dist/vega/{p-19522949.js → p-3d85411d.js} +1 -1
  540. package/dist/vega/p-3f561dd5.entry.js +1 -0
  541. package/dist/vega/{p-74168615.js → p-40f39194.js} +1 -1
  542. package/dist/vega/p-475f7bda.js +1 -0
  543. package/dist/vega/p-4785203e.entry.js +1 -0
  544. package/dist/vega/p-5051f0c1.entry.js +1 -0
  545. package/dist/vega/p-529daab4.entry.js +1 -0
  546. package/dist/vega/p-53c6ce54.entry.js +1 -0
  547. package/dist/vega/{p-db57dddc.js → p-5504ebdf.js} +1 -1
  548. package/dist/vega/p-5585d2b5.js +1 -0
  549. package/dist/vega/{p-98fb9eaa.entry.js → p-56ce0c4b.entry.js} +1 -1
  550. package/dist/vega/p-58f5da43.js +1 -0
  551. package/dist/vega/{p-2f09c6aa.js → p-596895ec.js} +1 -1
  552. package/dist/vega/{p-fde50319.js → p-5b472921.js} +1 -1
  553. package/dist/vega/p-5d7e908a.entry.js +1 -0
  554. package/dist/vega/p-5f377954.js +1 -1
  555. package/dist/vega/{p-a0467b83.js → p-5fb6a3b5.js} +1 -1
  556. package/dist/vega/p-63c84ff6.entry.js +1 -0
  557. package/dist/vega/p-6961fac0.entry.js +1 -0
  558. package/dist/vega/{p-35cd469a.entry.js → p-699e46d1.entry.js} +1 -1
  559. package/dist/vega/p-6aa7ace9.js +1 -0
  560. package/dist/vega/p-6b631ff1.entry.js +1 -0
  561. package/dist/vega/{p-71f9c4d4.js → p-6c1ef2ed.js} +1 -1
  562. package/dist/vega/p-6ee3b103.js +1 -0
  563. package/dist/vega/{p-4a467973.js → p-71f2235e.js} +1 -1
  564. package/dist/vega/p-776b2f3d.entry.js +1 -0
  565. package/dist/vega/p-7ac32e71.js +1 -0
  566. package/dist/vega/p-7e6c5eb8.entry.js +1 -0
  567. package/dist/vega/{p-61d9cdf9.entry.js → p-7eaa8ac0.entry.js} +1 -1
  568. package/dist/vega/p-8014cb45.entry.js +1 -0
  569. package/dist/vega/p-877b36ae.entry.js +1 -0
  570. package/dist/vega/{p-18e8c54a.entry.js → p-883c5174.entry.js} +1 -1
  571. package/dist/vega/{p-58769a72.entry.js → p-8b969a71.entry.js} +1 -1
  572. package/dist/vega/p-8f6d42b0.entry.js +1 -0
  573. package/dist/vega/{p-7c1d08db.entry.js → p-8feb1298.entry.js} +1 -1
  574. package/dist/vega/p-95188267.entry.js +1 -0
  575. package/dist/vega/p-96aa0f3b.js +1 -0
  576. package/dist/vega/p-9a83a6b0.js +1 -0
  577. package/dist/vega/{p-52efaadb.entry.js → p-9e2cf904.entry.js} +1 -1
  578. package/dist/vega/p-9e545fde.entry.js +1 -0
  579. package/dist/vega/p-9f4364ec.entry.js +1 -0
  580. package/dist/vega/p-a33dc7eb.entry.js +1 -0
  581. package/dist/vega/p-a3a80712.js +1 -0
  582. package/dist/vega/{p-924b4e24.js → p-a4ec6575.js} +1 -1
  583. package/dist/vega/{p-3925c16b.js → p-a8dad05d.js} +1 -1
  584. package/dist/vega/{p-b9798158.js → p-b47df664.js} +1 -1
  585. package/dist/vega/{p-652626b6.entry.js → p-b737b93a.entry.js} +1 -1
  586. package/dist/vega/p-baa44cf5.entry.js +1 -0
  587. package/dist/vega/p-badc14cc.entry.js +1 -0
  588. package/dist/vega/{p-3c865f86.entry.js → p-bc2451f7.entry.js} +1 -1
  589. package/dist/vega/p-bdb5362c.entry.js +1 -0
  590. package/dist/vega/p-be33db7b.js +1 -0
  591. package/dist/vega/p-bfe01850.js +1 -0
  592. package/dist/vega/p-c141b10e.entry.js +1 -0
  593. package/dist/vega/p-c465b6dd.entry.js +1 -0
  594. package/dist/vega/{p-8fae8f9e.js → p-d1d0f08a.js} +1 -1
  595. package/dist/vega/{p-ad65f65f.entry.js → p-d6032515.entry.js} +1 -1
  596. package/dist/vega/{p-91d71ae9.entry.js → p-d69a6454.entry.js} +1 -1
  597. package/dist/vega/p-d6cc786a.entry.js +1 -0
  598. package/dist/vega/p-d85d7862.entry.js +1 -0
  599. package/dist/vega/p-d991fb11.js +1 -0
  600. package/dist/vega/{p-c2f21426.entry.js → p-da77d71f.entry.js} +1 -1
  601. package/dist/vega/{p-9ce249a9.js → p-de70aac1.js} +1 -1
  602. package/dist/vega/p-e47ae7bc.entry.js +1 -0
  603. package/dist/vega/p-e8495b6c.entry.js +1 -0
  604. package/dist/vega/{p-0f7dec29.entry.js → p-e8654ab5.entry.js} +1 -1
  605. package/dist/vega/p-e94701e2.entry.js +1 -0
  606. package/dist/vega/{p-3e040167.entry.js → p-e9e1293a.entry.js} +1 -1
  607. package/dist/vega/p-ef48178e.entry.js +1 -0
  608. package/dist/vega/{p-8c6b6ad7.entry.js → p-f729743c.entry.js} +1 -1
  609. package/dist/vega/{p-1f26de89.js → p-fb6b3b98.js} +1 -1
  610. package/dist/vega/p-fca7c998.entry.js +1 -0
  611. package/dist/vega/vega.esm.js +1 -1
  612. package/package.json +2 -3
  613. package/style/vega-icons.css +17266 -0
  614. package/dist/cjs/date-0a6bb035.js +0 -95
  615. package/dist/cjs/mobilefriendly-aa2e50e9.js +0 -13
  616. package/dist/cjs/remote-invocation-registry-fc22fdd0.js +0 -65
  617. package/dist/cjs/state-background-color-formatter-aa5570f6.js +0 -85
  618. package/dist/cjs/vega-progress-tracker.cjs.entry.js +0 -252
  619. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-controller.js +0 -282
  620. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-element-appender-controller.js +0 -35
  621. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-mobile-controller.js +0 -53
  622. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-month-year-change-event-controller.js +0 -139
  623. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-zindex-controller.js +0 -49
  624. package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-month-year-dropdown-renderer.js +0 -341
  625. package/dist/esm/date-c55b97f0.js +0 -87
  626. package/dist/esm/mobilefriendly-c5d0573d.js +0 -11
  627. package/dist/esm/remote-invocation-registry-d69245c2.js +0 -63
  628. package/dist/esm/state-background-color-formatter-0f01d27a.js +0 -82
  629. package/dist/esm/vega-progress-tracker.entry.js +0 -248
  630. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-controller.d.ts +0 -96
  631. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-element-appender-controller.d.ts +0 -12
  632. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-mobile-controller.d.ts +0 -18
  633. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-month-year-change-event-controller.d.ts +0 -46
  634. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-zindex-controller.d.ts +0 -15
  635. package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-month-year-dropdown-renderer.d.ts +0 -97
  636. package/dist/vega/p-08835909.js +0 -1
  637. package/dist/vega/p-0cdb38d3.js +0 -1
  638. package/dist/vega/p-0e5297b9.entry.js +0 -1
  639. package/dist/vega/p-0feceaac.entry.js +0 -1
  640. package/dist/vega/p-115b42e6.entry.js +0 -1
  641. package/dist/vega/p-1372b984.js +0 -1
  642. package/dist/vega/p-1739a877.entry.js +0 -1
  643. package/dist/vega/p-1a59703b.entry.js +0 -1
  644. package/dist/vega/p-1e92737c.entry.js +0 -1
  645. package/dist/vega/p-235bf01b.entry.js +0 -1
  646. package/dist/vega/p-257ff60b.entry.js +0 -1
  647. package/dist/vega/p-25a3fad7.entry.js +0 -1
  648. package/dist/vega/p-2622f0a8.entry.js +0 -1
  649. package/dist/vega/p-26c4f07c.entry.js +0 -1
  650. package/dist/vega/p-2ec7e020.entry.js +0 -1
  651. package/dist/vega/p-308aa2e3.js +0 -1
  652. package/dist/vega/p-330c224f.entry.js +0 -1
  653. package/dist/vega/p-33f3f306.js +0 -1
  654. package/dist/vega/p-35252108.js +0 -1
  655. package/dist/vega/p-37020002.entry.js +0 -1
  656. package/dist/vega/p-379f1b40.entry.js +0 -1
  657. package/dist/vega/p-38cb2b40.js +0 -1
  658. package/dist/vega/p-4e13a26f.js +0 -1
  659. package/dist/vega/p-54e56f0d.entry.js +0 -1
  660. package/dist/vega/p-5972c101.entry.js +0 -1
  661. package/dist/vega/p-5d827fe5.js +0 -1
  662. package/dist/vega/p-5e708ad5.entry.js +0 -1
  663. package/dist/vega/p-65a9af84.entry.js +0 -1
  664. package/dist/vega/p-67eb405d.entry.js +0 -1
  665. package/dist/vega/p-67f159c3.js +0 -1
  666. package/dist/vega/p-69aec6af.entry.js +0 -1
  667. package/dist/vega/p-71ddccf2.entry.js +0 -1
  668. package/dist/vega/p-77e64f26.js +0 -1
  669. package/dist/vega/p-785d9ac3.entry.js +0 -1
  670. package/dist/vega/p-796d840c.entry.js +0 -1
  671. package/dist/vega/p-7a590741.entry.js +0 -1
  672. package/dist/vega/p-824a06ba.js +0 -1
  673. package/dist/vega/p-85f9a980.js +0 -1
  674. package/dist/vega/p-867a4970.js +0 -1
  675. package/dist/vega/p-880569ec.entry.js +0 -1
  676. package/dist/vega/p-8ac2f43f.entry.js +0 -1
  677. package/dist/vega/p-8ff96b8c.entry.js +0 -13
  678. package/dist/vega/p-9794fd88.entry.js +0 -1
  679. package/dist/vega/p-9e59345f.entry.js +0 -1
  680. package/dist/vega/p-a10b9f2e.js +0 -12
  681. package/dist/vega/p-a630ce73.entry.js +0 -1
  682. package/dist/vega/p-b1faebe0.js +0 -1
  683. package/dist/vega/p-b27fcac4.entry.js +0 -1
  684. package/dist/vega/p-b5ba0c11.js +0 -1
  685. package/dist/vega/p-b8b9ed2c.js +0 -1
  686. package/dist/vega/p-b9b81702.entry.js +0 -1
  687. package/dist/vega/p-bcc396c2.entry.js +0 -1
  688. package/dist/vega/p-bccee21e.js +0 -1
  689. package/dist/vega/p-bfb86c3e.entry.js +0 -1
  690. package/dist/vega/p-c224b44c.js +0 -1
  691. package/dist/vega/p-c6ae78f2.entry.js +0 -1
  692. package/dist/vega/p-cbabb07a.entry.js +0 -1
  693. package/dist/vega/p-fb320b50.entry.js +0 -1
  694. package/dist/vega/p-ff470366.entry.js +0 -1
@@ -1,6 +1,8 @@
1
1
  import { B as Breakpoints } from './breakpoints-d9faf11c.js';
2
- import { a as BorderStyle, F as FlexDirections, b as FlexAlignItem, c as FlexJustifyContent, d as FlexWrap, e as BoxDisplay, T as TextAlign, C as CssStates } from './ui-8424715a.js';
2
+ import { B as BorderStyle, C as CssStates, F as FlexDirections, a as FlexAlignItem, b as FlexJustifyContent, c as FlexWrap, d as BoxDisplay, T as TextAlign } from './ui-28fd4193.js';
3
3
  import { a as TypographyKeys } from './typography-396de03f.js';
4
+ import { V as VegaInternalTranslation } from './translation-96e5debd.js';
5
+ import { L as LogUtility } from './global-slimmer-registry-17c4efd4.js';
4
6
 
5
7
  const GridRowsRegex = new RegExp(/^([1-9]|1[0-2])(-auto)?$/);
6
8
  const GridColumnsRegex = new RegExp(/^([1-9]|1[0-2])(-auto)?$/);
@@ -8,6 +10,7 @@ const VisaRegex = /^4/;
8
10
  const MasterCardRegex = /^(5[1-5]|677189)|^(222[1-9]|2[3-6]\d{2}|27[0-1]\d|2720)/;
9
11
  const AmexRegex = /^3[47]/;
10
12
  const DiscoverRegex = /^(6011|65|64[4-9]|622)/;
13
+ const DateFormatParserRegex = /(\\)?(Y{2,4}|M{1,4}|D{1,2}|d{1,4})/g;
11
14
 
12
15
  /* This file is generated by vega-design 2.0.77 */
13
16
  /* eslint-disable */
@@ -310,6 +313,1196 @@ const BorderMap = {
310
313
  'border-notification-btn-black': '2px solid rgba(var(--v-border-notification-btn-black, 32, 54, 69, 1))'
311
314
  };
312
315
 
316
+ /**
317
+ * Get a week days array
318
+ *
319
+ * @param {number} firstWeekDay - The first week day (0: Sunday, 1: Monday, ...)
320
+ * @returns {number[]} - The week days array
321
+ */
322
+ const getWeekdays = (firstWeekDay = 0) => {
323
+ const weekdays = [0, 1, 2, 3, 4, 5, 6];
324
+ return weekdays.concat(weekdays).slice(firstWeekDay, firstWeekDay + 7);
325
+ };
326
+ var WeekdayLongNames;
327
+ (function (WeekdayLongNames) {
328
+ WeekdayLongNames["sun"] = "Sunday";
329
+ WeekdayLongNames["mon"] = "Monday";
330
+ WeekdayLongNames["tue"] = "Tuesday";
331
+ WeekdayLongNames["wed"] = "Wednesday";
332
+ WeekdayLongNames["thu"] = "Thursday";
333
+ WeekdayLongNames["fri"] = "Friday";
334
+ WeekdayLongNames["sat"] = "Saturday";
335
+ })(WeekdayLongNames || (WeekdayLongNames = {}));
336
+ /**
337
+ * Get the system timezone identifier
338
+ *
339
+ * @returns {string} - The system timezone identifier (e.g., "America/New_York")
340
+ */
341
+ const getSystemTimezone = () => {
342
+ return Intl.DateTimeFormat().resolvedOptions().timeZone;
343
+ };
344
+
345
+ /**
346
+ * CalendarTime represents hours/minutes in 24-hour format and centralizes parsing/formatting logic.
347
+ */
348
+ class CalendarTime {
349
+ constructor(hours, minutes) {
350
+ this._hours = hours;
351
+ this._minutes = minutes;
352
+ }
353
+ /**
354
+ * Parse a raw time string into a CalendarTime instance.
355
+ *
356
+ * @param {string} rawTime - Source time value such as "9:00" or "9am".
357
+ * @returns {CalendarTime} Parsed time.
358
+ */
359
+ static fromString(rawTime) {
360
+ const normalized = this.convertTimeTo24Hour(rawTime);
361
+ const [hourPart, minutePart] = normalized.split(':');
362
+ return new CalendarTime(Number(hourPart), Number(minutePart));
363
+ }
364
+ /**
365
+ * Build a CalendarTime from a Date instance while preserving hours/minutes.
366
+ *
367
+ * @param {Date} date - The source date.
368
+ * @returns {CalendarTime} Time representation extracted from the date.
369
+ */
370
+ static fromDate(date) {
371
+ return new CalendarTime(date.getHours(), date.getMinutes());
372
+ }
373
+ /**
374
+ * Calculate the duration in the requested precision between two CalendarTime values, accounting for overnight spans.
375
+ *
376
+ * @param {CalendarTime} start - Start time of the interval.
377
+ * @param {CalendarTime} end - End time of the interval.
378
+ * @param {'minutes' | 'hours'} precision - Desired unit of measure for the result (defaults to minutes).
379
+ * @returns {number} Duration expressed in the requested precision.
380
+ */
381
+ static calculateDuration(start, end, precision = 'minutes') {
382
+ const startMinutes = start.totalMinutes;
383
+ let endMinutes = end.totalMinutes;
384
+ if (end.hours === 0 && start.hours !== 0) {
385
+ endMinutes += 24 * 60;
386
+ }
387
+ const durationMinutes = endMinutes - startMinutes;
388
+ return precision === 'hours' ? durationMinutes / 60 : durationMinutes;
389
+ }
390
+ /**
391
+ * Normalize various time inputs (e.g. 9am, 9:30 PM) to a 24-hour HH:mm string.
392
+ *
393
+ * @param {string} timeString - User supplied time value.
394
+ * @returns {string} 24-hour formatted string.
395
+ */
396
+ static convertTimeTo24Hour(timeString) {
397
+ const normalized = timeString.toLocaleLowerCase();
398
+ if (normalized.includes('am') || normalized.includes('pm')) {
399
+ const isAm = normalized.includes('am');
400
+ const cleaned = normalized.replace('am', '').replace('pm', '').trim();
401
+ const [rawHour, rawMinutes] = cleaned.split(':');
402
+ const minutes = rawMinutes.padStart(2, '0');
403
+ if (isAm) {
404
+ return `${rawHour === '12' ? '00' : rawHour}:${minutes}`;
405
+ }
406
+ else {
407
+ const convertedHour = rawHour === '12' ? '12' : `${Number(rawHour) + 12}`;
408
+ return `${convertedHour}:${minutes}`;
409
+ }
410
+ }
411
+ return timeString;
412
+ }
413
+ /**
414
+ * Hour component in 24-hour clock.
415
+ *
416
+ * @returns {number} Hours between 0-23.
417
+ */
418
+ get hours() {
419
+ return this._hours;
420
+ }
421
+ /**
422
+ * Minute component.
423
+ *
424
+ * @returns {number} Minutes between 0-59.
425
+ */
426
+ get minutes() {
427
+ return this._minutes;
428
+ }
429
+ /**
430
+ * Total minutes elapsed since midnight for this time value.
431
+ *
432
+ * @returns {number} Minutes from 00:00.
433
+ */
434
+ get totalMinutes() {
435
+ return this._hours * 60 + this._minutes;
436
+ }
437
+ /**
438
+ * Format the time into a string using a simple formatter.
439
+ *
440
+ * @param {TimeStringFormat} format - time string Format. Defaults to 'hh:mm'.
441
+ * @returns {string} Formatted time string.
442
+ */
443
+ toString(format = 'hh:mm') {
444
+ const defaultHours = this._hours.toString().padStart(2, '0');
445
+ const defaultMinutes = this._minutes.toString().padStart(2, '0');
446
+ const normalizedFormat = format.toLowerCase();
447
+ switch (normalizedFormat) {
448
+ case 'hh:m':
449
+ return `${defaultHours}:${this._minutes}`;
450
+ case 'h:mm':
451
+ return `${this._hours}:${defaultMinutes}`;
452
+ case 'h:m':
453
+ return `${this._hours}:${this._minutes}`;
454
+ case '12-hour': {
455
+ const amPm = this._hours >= 12 ? 'pm' : 'am';
456
+ const hour12 = this._hours % 12 || 12;
457
+ return `${hour12}:${defaultMinutes} ${VegaInternalTranslation.t(amPm)}`;
458
+ }
459
+ default:
460
+ return `${defaultHours}:${defaultMinutes}`;
461
+ }
462
+ }
463
+ }
464
+
465
+ /**
466
+ * CalendarDateTime centralizes timezone-aware conversions between native Date instances and calendar helpers.
467
+ */
468
+ class CalendarDateTime {
469
+ constructor(date, timezone) {
470
+ this.originalDate = date;
471
+ this.timezone = timezone;
472
+ this.syncDateTime();
473
+ }
474
+ /**
475
+ * Build a CalendarDateTime from a native Date while the specific timezone.
476
+ *
477
+ * @param {Date} date - The native Date object to convert.
478
+ * @param {string} timezone - The timezone to apply.
479
+ * @returns {CalendarDateTime} A timezone-aware CalendarDateTime instance.
480
+ */
481
+ static fromDate(date, timezone) {
482
+ return new CalendarDateTime(date, timezone);
483
+ }
484
+ /**
485
+ * Build a CalendarDateTime from a date input (Date or string) and optional time metadata.
486
+ *
487
+ * @param {string | Date} date - The input date value (string or Date).
488
+ * @param {CalendarDateTimeOptions} options - Additional options for time, timezone, seconds, etc.
489
+ * @returns {CalendarDateTime} A timezone-aware CalendarDateTime instance.
490
+ */
491
+ static fromInitDataSource(date, options) {
492
+ const baseDate = new Date(date);
493
+ if (options.time) {
494
+ const calendarTime = CalendarTime.fromString(options.time);
495
+ baseDate.setHours(calendarTime.hours, calendarTime.minutes, 0, 0);
496
+ }
497
+ else if (options.endTimeMissing) {
498
+ baseDate.setHours(23, 59, 59, 0);
499
+ }
500
+ return CalendarDateTime.fromDate(baseDate, options.timezone);
501
+ }
502
+ /**
503
+ * Get the CalendarDate instance representing the date portion.
504
+ *
505
+ * @returns {CalendarDate} The CalendarDate object.
506
+ */
507
+ get calendarDate() {
508
+ return this.date;
509
+ }
510
+ /**
511
+ * Get the CalendarTime instance representing the time portion.
512
+ *
513
+ * @returns {CalendarTime} The CalendarTime object.
514
+ */
515
+ get calendarTime() {
516
+ return this.time;
517
+ }
518
+ /**
519
+ * Get a native Date object representing this CalendarDateTime.
520
+ *
521
+ * @returns {Date} The native Date object.
522
+ */
523
+ toDate() {
524
+ return this.date.toDate();
525
+ }
526
+ /**
527
+ * Set a new timezone and update CalendarDate/CalendarTime accordingly.
528
+ *
529
+ * @param {string} newTimezone - The new timezone to set.
530
+ */
531
+ setTimezone(newTimezone) {
532
+ this.timezone = newTimezone;
533
+ this.syncDateTime();
534
+ }
535
+ /**
536
+ * Sync CalendarDate and CalendarTime with the current originalDate and timezone.
537
+ */
538
+ syncDateTime() {
539
+ const normalized = this.convertDateToTimezone(this.originalDate);
540
+ this.date = new CalendarDate(normalized.getFullYear(), normalized.getMonth() + 1, normalized.getDate());
541
+ this.time = CalendarTime.fromDate(normalized);
542
+ }
543
+ /**
544
+ * Convert a Date to the specific timezone.
545
+ *
546
+ * @param {Date} date - The date to convert.
547
+ * @returns {Date} The date adjusted to the specific timezone.
548
+ */
549
+ convertDateToTimezone(date) {
550
+ if (this.timezone === getSystemTimezone()) {
551
+ return date;
552
+ }
553
+ try {
554
+ const formatter = new Intl.DateTimeFormat([], {
555
+ timeZone: this.timezone,
556
+ year: 'numeric',
557
+ month: '2-digit',
558
+ day: '2-digit',
559
+ hour: '2-digit',
560
+ minute: '2-digit',
561
+ second: '2-digit',
562
+ hour12: false,
563
+ });
564
+ const parts = formatter.formatToParts(date);
565
+ const yearPart = this.findDateTimeFormatPart(parts, 'year');
566
+ const monthPart = this.findDateTimeFormatPart(parts, 'month');
567
+ const dayPart = this.findDateTimeFormatPart(parts, 'day');
568
+ const hourPart = this.findDateTimeFormatPart(parts, 'hour');
569
+ const minutePart = this.findDateTimeFormatPart(parts, 'minute');
570
+ const secondPart = this.findDateTimeFormatPart(parts, 'second');
571
+ if (yearPart && monthPart && dayPart && hourPart && minutePart && secondPart) {
572
+ const year = parseInt(yearPart.value, 10);
573
+ const month = parseInt(monthPart.value, 10);
574
+ const day = parseInt(dayPart.value, 10);
575
+ const hour = parseInt(hourPart.value, 10);
576
+ const minute = parseInt(minutePart.value, 10);
577
+ const second = parseInt(secondPart.value, 10);
578
+ return new Date(year, month - 1, day, hour, minute, second);
579
+ }
580
+ }
581
+ catch (_a) {
582
+ LogUtility.warn('Invalid timezone:', this.timezone);
583
+ }
584
+ return date;
585
+ }
586
+ /**
587
+ * Find a specific part in the Intl.DateTimeFormatPart array.
588
+ *
589
+ * @param {Intl.DateTimeFormatPart[]} parts - The array of date/time format parts.
590
+ * @param {DateTimeFormatPartType} type - The type of part to find (e.g., 'year', 'month').
591
+ * @returns {Intl.DateTimeFormatPart | undefined} The matching part, if found.
592
+ */
593
+ findDateTimeFormatPart(parts, type) {
594
+ return parts.find((part) => part.type === type);
595
+ }
596
+ }
597
+
598
+ // TODO: Need rename calendar-date as vega-date to manage all date operation in vega project
599
+ // https://gethired.atlassian.net/browse/VD-5918
600
+ /**
601
+ * It returns true if the input is a valid date string, and false otherwise.
602
+ * Note:
603
+ * This is not a strict date validation, it just use Date.parse to check the input string can be parsed to a valid date or not.
604
+ * For strict date validation, please use CalendarDate.fromString method in calendar-date.ts
605
+ * Example:
606
+ * For Chrome: Date.parse('Jan/08/2026') => 1767801600000
607
+ * For Safari: Date.parse('Jan/08/2026') => NaN
608
+ * Format is DD/MM/YYYY: Date.parse('20/11/2024') => NaN
609
+ *
610
+ * @param {string} input - The string to check.
611
+ * @returns {boolean} is a valid date string or not
612
+ */
613
+ const isDateStr = (input) => !isNaN(Date.parse(input));
614
+ /**
615
+ * Compare if the firstDate is after the secondDate
616
+ *
617
+ * @param {Date} firstDate - The first date to compare.
618
+ * @param {Date} secondDate - The date to compare to.
619
+ * @returns {boolean} Return true if the firstDate is after the secondDate, otherwise it returns false.
620
+ */
621
+ const compareIsAfter = (firstDate, secondDate) => {
622
+ return firstDate.getTime() > secondDate.getTime();
623
+ };
624
+ /**
625
+ * Compare if the firstDate is before the secondDate
626
+ *
627
+ * @param {Date} firstDate - The first date to compare.
628
+ * @param {Date} secondDate - The date to compare to.
629
+ * @returns {boolean} Return true if the firstDate is before the secondDate, otherwise it returns false.
630
+ */
631
+ const compareIsBefore = (firstDate, secondDate) => {
632
+ return firstDate.getTime() < secondDate.getTime();
633
+ };
634
+ /**
635
+ * Compare if the first date is before or the same as the second date.
636
+ *
637
+ * @param {Date} firstDate - The first date to compare.
638
+ * @param {Date} secondDate - The date to compare against.
639
+ * @returns {boolean} Return true if the firstDate is before or the same as the secondDate, otherwise it returns false.
640
+ */
641
+ const compareIsSameOrBefore = (firstDate, secondDate) => {
642
+ return firstDate.getTime() <= secondDate.getTime();
643
+ };
644
+ /**
645
+ * It returns true if the input string is a valid time string in the format specified by the timeFormat parameter
646
+ *
647
+ * @param {string} input - The string to be tested.
648
+ * @param {TimeFormat} timeFormat - '12-hour' | '24-hour'
649
+ * @returns {boolean} A boolean value.
650
+ */
651
+ const isTimeStr = (input, timeFormat) => {
652
+ return timeFormat === '12-hour'
653
+ ? new RegExp(/^(1[012]|0[1-9]):[0-5][0-9] ([AP][M])$/).test(input)
654
+ : new RegExp(/^([0-1][0-9]|2[0-3]):[0-5][0-9]$/).test(input);
655
+ };
656
+ /**
657
+ * It takes a number and returns a string
658
+ *
659
+ * @param {number} number - number - The number to pad
660
+ * @param {number} [length=2] - The length of the resulting string.
661
+ * @param {string} [padChar='0'] - The character to pad the number with.
662
+ * @returns {Nullable<string>} A function that takes a number as an argument and returns a nullable string.
663
+ */
664
+ const pad = (number, length = 2, padChar = '0') => {
665
+ if (number || number === 0) {
666
+ return number.toString().padStart(length, padChar);
667
+ }
668
+ else {
669
+ LogUtility.error(`The input should be a number`);
670
+ }
671
+ };
672
+ /**
673
+ * The `convert12HourTo24HourFormat` function takes a time string in 12-hour format and converts it to 24-hour format.
674
+ *
675
+ * @param {string} time the time string need to convert, the time string should be 12-hour or 24-hour format
676
+ * @returns {string} 24 hour format time string
677
+ */
678
+ const convert12HourTo24HourFormat = (time) => {
679
+ if (isTimeStr(time, '12-hour')) {
680
+ const [hour, minute, amPm] = time.replace(' ', ':').split(':');
681
+ let convertedHour = parseInt(hour, 10);
682
+ if (amPm === 'PM' && convertedHour !== 12) {
683
+ convertedHour += 12;
684
+ }
685
+ else if (amPm === 'AM' && convertedHour === 12) {
686
+ convertedHour = 0;
687
+ }
688
+ return `${pad(convertedHour)}:${minute}`;
689
+ }
690
+ return time;
691
+ };
692
+
693
+ // TODO: Need rename calendar-date as vega-date to manage all date operation in vega project
694
+ // https://gethired.atlassian.net/browse/VD-5918
695
+ /**
696
+ * Calendar date class
697
+ */
698
+ class CalendarDate {
699
+ constructor(year, month, date) {
700
+ this._date = date;
701
+ this._month = month;
702
+ this._year = year;
703
+ }
704
+ /**
705
+ * Create a calendar date from a Date object
706
+ *
707
+ * @param {Date} currentDate - The Date object to create CalendarDate from
708
+ * @param {string} timezone - Timezone identifier for timezone-aware date creation. If not provided, uses system timezone.
709
+ * @returns {CalendarDate} - Return a CalendarDate object
710
+ */
711
+ static from(currentDate, timezone = getSystemTimezone()) {
712
+ return CalendarDateTime.fromDate(currentDate, timezone).calendarDate;
713
+ }
714
+ /**
715
+ * Converts a date string to CalendarDate with optional format and timezone parameters.
716
+ *
717
+ * @param {string} dateString - The string date.
718
+ * @param {string} [format] - The format of string date
719
+ * @param {string} [lang] - lang
720
+ * @returns {Nullable<CalendarDate>} - CalendarDate.
721
+ */
722
+ static fromString(dateString, format = 'MM/DD/YYYY', lang = 'en-us') {
723
+ if (!dateString)
724
+ return null;
725
+ const formatMatchers = [];
726
+ let formatMatcher = null;
727
+ // Analyze the format and find the corresponding positions for year, month, and day.
728
+ // Data: formatMatchers = [['DD', index: 0, ...], ['MM', index: 3, ...], ['YYYY', index: 7, ...]]
729
+ while ((formatMatcher = DateFormatParserRegex.exec(format)) != null) {
730
+ if (formatMatcher[1] === '\\')
731
+ continue;
732
+ formatMatchers.push(formatMatcher);
733
+ }
734
+ if (formatMatchers.length) {
735
+ const datePattern = {
736
+ year: undefined,
737
+ month: undefined,
738
+ shortMonth: undefined,
739
+ longMonth: undefined,
740
+ day: undefined,
741
+ value: '',
742
+ };
743
+ const firstMatcher = formatMatchers[0];
744
+ if (firstMatcher && firstMatcher.index > 0) {
745
+ datePattern.value += '.*?';
746
+ }
747
+ // According `matchers` to generate a new regex which can parse the date by corresponding year, month and day
748
+ // Data: dateRegex = "(\d{2}).*?(\d{2}).*?(\d{4}).*?"
749
+ // datePattern = {day: 1, longMonth: null, month: 2, shortMonth: null, year: 3, value: "(\d{2}).*?(\d{2}).*?(\d{4}).*?"}
750
+ for (const [k, match] of Object.entries(formatMatchers)) {
751
+ const key = Number(k);
752
+ if (match) {
753
+ const { group, pattern } = this.getPatternByFormatToken(match[0], lang);
754
+ datePattern[group] = key + 1;
755
+ datePattern.value += pattern;
756
+ datePattern.value += '.*?';
757
+ }
758
+ }
759
+ const dateRegex = new RegExp(`^${datePattern.value}$`);
760
+ if (dateRegex.test(dateString)) {
761
+ // Parse the date
762
+ // Example: parsedDate = ['08-02-2020', '08', '02', '2020']
763
+ const parsedDate = dateRegex.exec(dateString);
764
+ if (parsedDate &&
765
+ datePattern.year &&
766
+ (datePattern.month || datePattern.shortMonth || datePattern.longMonth) &&
767
+ datePattern.day) {
768
+ const year = Number(parsedDate[datePattern.year]);
769
+ let month = 1;
770
+ if (datePattern.month) {
771
+ month = Number(parsedDate[datePattern.month]) - 1;
772
+ }
773
+ else if (datePattern.shortMonth) {
774
+ month = this.shortMonths(lang).indexOf(parsedDate[datePattern.shortMonth]);
775
+ }
776
+ else if (datePattern.longMonth) {
777
+ month = this.longMonths(lang).indexOf(parsedDate[datePattern.longMonth]);
778
+ }
779
+ const day = Number(parsedDate[datePattern.day]);
780
+ const fullYear = Number(pad(year, 4, `${new Date().getFullYear()}`.slice(0, 2)));
781
+ if (isNaN(Date.parse(`${fullYear}-${pad(month + 1)}-${pad(day)}`)))
782
+ return null;
783
+ return this.from(new Date(fullYear, month, day, 0, 0, 0, 0));
784
+ }
785
+ }
786
+ }
787
+ return this.from(new Date(dateString));
788
+ }
789
+ /**
790
+ * Get regex pattern by format token.
791
+ *
792
+ * @param {string} token - The format token.
793
+ * @param {string} lang - Language.
794
+ * @returns {FormatPatternType} - regex pattern.
795
+ */
796
+ static getPatternByFormatToken(token, lang) {
797
+ switch (token) {
798
+ case 'YY':
799
+ case 'YYYY':
800
+ return {
801
+ group: 'year',
802
+ pattern: `(\\d{${token.length}})`,
803
+ };
804
+ case 'M':
805
+ return {
806
+ group: 'month',
807
+ pattern: '(\\d{1,2})',
808
+ };
809
+ case 'MM':
810
+ return {
811
+ group: 'month',
812
+ pattern: '(\\d{2})',
813
+ };
814
+ case 'MMM':
815
+ return {
816
+ group: 'shortMonth',
817
+ pattern: `(${this.shortMonths(lang).join('|')})`,
818
+ };
819
+ case 'MMMM':
820
+ return {
821
+ group: 'longMonth',
822
+ pattern: `(${this.longMonths(lang).join('|')})`,
823
+ };
824
+ case 'D':
825
+ return {
826
+ group: 'day',
827
+ pattern: '(\\d{1,2})',
828
+ };
829
+ case 'DD':
830
+ return {
831
+ group: 'day',
832
+ pattern: '(\\d{2})',
833
+ };
834
+ /* istanbul ignore next */
835
+ default: {
836
+ return {
837
+ group: 'unknown',
838
+ pattern: '(.*)',
839
+ };
840
+ }
841
+ }
842
+ }
843
+ /**
844
+ * Shorts months.
845
+ *
846
+ * @param {string} lang - Language
847
+ * @returns {string[]} - Shorts months.
848
+ */
849
+ static shortMonths(lang) {
850
+ return this.MONTHS.map((month) => new Date(2019, month).toLocaleString(lang, { month: 'short' }));
851
+ }
852
+ /**
853
+ * Long months.
854
+ *
855
+ * @param {string} lang - Language
856
+ * @returns {string[]} - Long months.
857
+ */
858
+ static longMonths(lang) {
859
+ return this.MONTHS.map((month) => new Date(2019, month).toLocaleString(lang, { month: 'long' }));
860
+ }
861
+ /**
862
+ * The year of the calendar date
863
+ *
864
+ * @type {number}
865
+ */
866
+ get year() {
867
+ return this._year;
868
+ }
869
+ set year(value) {
870
+ this._year = value;
871
+ }
872
+ /**
873
+ * The month of the calendar date
874
+ *
875
+ * @type {number}
876
+ */
877
+ get month() {
878
+ return this._month;
879
+ }
880
+ set month(value) {
881
+ this._month = value;
882
+ }
883
+ /**
884
+ * The date of the calendar date
885
+ *
886
+ * @type {number}
887
+ */
888
+ get date() {
889
+ return this._date;
890
+ }
891
+ set date(value) {
892
+ this._date = value;
893
+ }
894
+ /**
895
+ * Converts CalendarDate to a string with an optional format specifier.
896
+ *
897
+ * @param {string} [format] - The format of string date
898
+ * @param {string} [lang] - Language
899
+ * @returns {string} The string date.
900
+ */
901
+ toString(format = 'MM/DD/YYYY', lang = 'en-us') {
902
+ let result = '';
903
+ const formatMatchers = [];
904
+ let formatMatcher = null;
905
+ while ((formatMatcher = DateFormatParserRegex.exec(format)) != null) {
906
+ if (formatMatcher[1] === '\\')
907
+ continue;
908
+ formatMatchers.push(formatMatcher);
909
+ }
910
+ if (formatMatchers.length) {
911
+ // add start line of tokens are not at the beginning
912
+ const firstMatcher = formatMatchers[0];
913
+ if (firstMatcher && firstMatcher.index > 0) {
914
+ result += format.substring(0, firstMatcher.index);
915
+ }
916
+ for (const [k, match] of Object.entries(formatMatchers)) {
917
+ const key = Number(k);
918
+ if (match) {
919
+ result += this.getDateItemByFormatToken(match[0], lang);
920
+ const nextMatch = formatMatchers[key + 1];
921
+ if (nextMatch) {
922
+ result += format.substring(match.index + match[0].length, nextMatch.index);
923
+ }
924
+ if (key === formatMatchers.length - 1) {
925
+ result += format.substring(match.index + match[0].length);
926
+ }
927
+ }
928
+ }
929
+ }
930
+ return result.replace(/\\/g, '');
931
+ }
932
+ /**
933
+ * Verify whether the calendar date is today
934
+ *
935
+ * @param {string} timezone - Timezone to consider when checking today's date. If not provided, uses system timezone.
936
+ * @returns {boolean} - Return true if the calendar date is today. Otherwise, return false.
937
+ */
938
+ isToday(timezone = getSystemTimezone()) {
939
+ if (timezone === getSystemTimezone()) {
940
+ const today = new Date();
941
+ return (today.getFullYear() === this.year &&
942
+ today.getMonth() + 1 === this.month &&
943
+ today.getDate() === this.date);
944
+ }
945
+ const { year, month, date } = CalendarDateTime.fromDate(new Date(), timezone).calendarDate;
946
+ return year === this.year && month === this.month && date === this.date;
947
+ }
948
+ /**
949
+ * Convert the calendar date to a Date object
950
+ *
951
+ * @returns {Date} - Return a Date object
952
+ */
953
+ toDate() {
954
+ return new Date(this.year, this.month - 1, this.date);
955
+ }
956
+ /**
957
+ * Compare with another calendar date
958
+ *
959
+ * @param {CalendarDate} date - The calendar date to compare with
960
+ * @returns {DateCompareResult} - Return a DateCompareResult object
961
+ */
962
+ compare(date) {
963
+ const { year, month } = date;
964
+ const result = {
965
+ isPreviousMonth: false,
966
+ inMonth: false,
967
+ isNextMonth: false,
968
+ };
969
+ if (this.year === year) {
970
+ if (this.month < month) {
971
+ result.isPreviousMonth = true;
972
+ }
973
+ else if (this.month > month) {
974
+ result.isNextMonth = true;
975
+ }
976
+ else {
977
+ result.inMonth = true;
978
+ }
979
+ }
980
+ else if (this.year > year) {
981
+ result.isNextMonth = true;
982
+ }
983
+ else {
984
+ result.isPreviousMonth = true;
985
+ }
986
+ return result;
987
+ }
988
+ /**
989
+ * The function "equal" compares the year, month, and date of two CalendarDate objects and returns true if they are equal.
990
+ *
991
+ * @param {Nullable<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
992
+ * `CalendarDate` object passed as a parameter. The method returns `true` if all three values (year, month, date) are equal
993
+ * @returns {boolean} The date is same day with current
994
+ */
995
+ equal(calendarDate) {
996
+ if (!calendarDate)
997
+ return false;
998
+ const { year, month, date } = calendarDate;
999
+ return this._year === year && this._month === month && this._date === date;
1000
+ }
1001
+ /**
1002
+ * Get month name.
1003
+ *
1004
+ * @param {boolean} isShortName - Whether to get the short name or long name of the month
1005
+ * @returns {string} The name of the month
1006
+ */
1007
+ getMonthName(isShortName = false) {
1008
+ return VegaInternalTranslation.t(this.toDate().toLocaleDateString('en-US', {
1009
+ month: isShortName ? 'short' : 'long',
1010
+ }));
1011
+ }
1012
+ /**
1013
+ * To determine if it is larger than a given `CalendarDate`.
1014
+ *
1015
+ * @param {Nullable<CalendarDate>} calendarDate - A `CalendarDate`
1016
+ * @returns {boolean} - Compared result
1017
+ */
1018
+ isAfter(calendarDate) {
1019
+ if (!calendarDate)
1020
+ return false;
1021
+ return compareIsAfter(this.toDate(), calendarDate.toDate());
1022
+ }
1023
+ /**
1024
+ * To determine if it is less than a given `CalendarDate`.
1025
+ *
1026
+ * @param {Nullable<CalendarDate>} calendarDate - A `CalendarDate`
1027
+ * @returns {boolean} - Compared result
1028
+ */
1029
+ isBefore(calendarDate) {
1030
+ if (!calendarDate)
1031
+ return false;
1032
+ return compareIsBefore(this.toDate(), calendarDate.toDate());
1033
+ }
1034
+ /**
1035
+ * Get first day of month.
1036
+ *
1037
+ * @returns {CalendarDate} - First day of month.
1038
+ */
1039
+ firstDateOfMonth() {
1040
+ return CalendarDate.from(new Date(this.year, this.month - 1, 1));
1041
+ }
1042
+ /**
1043
+ * Get last day of month.
1044
+ *
1045
+ * @returns {CalendarDate} - Last day of month.
1046
+ */
1047
+ lastDateOfMonth() {
1048
+ return CalendarDate.from(new Date(this.year, this.month, 0));
1049
+ }
1050
+ /**
1051
+ * Adjusts the calendar date by adding the specified number of years, months, and days.
1052
+ *
1053
+ * @param {number} [years=0] - The number of years to add.
1054
+ * @param {number} [months=0] - The number of months to add.
1055
+ * @param {number} [days=0] - The number of days to add.
1056
+ * @returns {CalendarDate} - A new CalendarDate object with the adjusted date.
1057
+ */
1058
+ add(years = 0, months = 0, days = 0) {
1059
+ const currentDate = this.toDate();
1060
+ const adjustedDate = new Date(currentDate.getFullYear() + years, currentDate.getMonth() + months, currentDate.getDate() + days);
1061
+ return CalendarDate.from(adjustedDate);
1062
+ }
1063
+ /**
1064
+ * Get year, month and day value by format token.
1065
+ *
1066
+ * @param {string} token - The format token.
1067
+ * @param {string} lang - Language.
1068
+ * @returns {string} - year, month and day value.
1069
+ */
1070
+ getDateItemByFormatToken(token, lang) {
1071
+ switch (token) {
1072
+ case 'YY':
1073
+ return String(this.year).slice(-2);
1074
+ case 'YYYY':
1075
+ return String(this.year);
1076
+ case 'M':
1077
+ return String(this.month);
1078
+ case 'MM':
1079
+ return `0${this.month}`.slice(-2);
1080
+ case 'MMM':
1081
+ return CalendarDate.shortMonths(lang)[this.month - 1];
1082
+ case 'MMMM':
1083
+ return CalendarDate.longMonths(lang)[this.month - 1];
1084
+ case 'D':
1085
+ return String(this.date);
1086
+ case 'DD':
1087
+ return `0${this.date}`.slice(-2);
1088
+ default:
1089
+ return '';
1090
+ }
1091
+ }
1092
+ }
1093
+ CalendarDate.MONTHS = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
1094
+
1095
+ /**
1096
+ * CalendarPeriod is an abstract class that represents a period of date for calendar.
1097
+ */
1098
+ class CalendarPeriod {
1099
+ constructor(count, current, timezone) {
1100
+ this._count = count;
1101
+ this._timezone = timezone || getSystemTimezone();
1102
+ this._current = current ? current : CalendarDate.from(new Date(), this._timezone);
1103
+ this.calculatePeriod(this._current);
1104
+ }
1105
+ /**
1106
+ * The current date of the period.
1107
+ *
1108
+ * @type {CalendarDate}
1109
+ */
1110
+ get current() {
1111
+ return this._current;
1112
+ }
1113
+ /**
1114
+ * The start date of the period
1115
+ *
1116
+ * @type {CalendarDate}
1117
+ */
1118
+ get startDate() {
1119
+ return this._startDate;
1120
+ }
1121
+ /**
1122
+ * The end date of the period
1123
+ *
1124
+ * @type {CalendarDate}
1125
+ */
1126
+ get endDate() {
1127
+ return this._endDate;
1128
+ }
1129
+ /**
1130
+ * The count of the period
1131
+ *
1132
+ * @type {number}
1133
+ */
1134
+ get count() {
1135
+ return this._count;
1136
+ }
1137
+ /**
1138
+ * This function returns the type of the object.
1139
+ *
1140
+ * @type {string}
1141
+ */
1142
+ get type() {
1143
+ return this._type;
1144
+ }
1145
+ /**
1146
+ * This function returns the showWeekends of the object.
1147
+ *
1148
+ * @type {boolean}
1149
+ */
1150
+ get showWeekends() {
1151
+ return this._showWeekends;
1152
+ }
1153
+ /**
1154
+ * The timezone of the period.
1155
+ *
1156
+ * @type {string | undefined}
1157
+ */
1158
+ get timezone() {
1159
+ return this._timezone;
1160
+ }
1161
+ /**
1162
+ * Go to a specific date.
1163
+ *
1164
+ * @param {CalendarDate} date - The date to go to.
1165
+ * @returns {this} - The current period.
1166
+ */
1167
+ goTo(date) {
1168
+ return this.createBy(date);
1169
+ }
1170
+ /**
1171
+ * Go to now.
1172
+ *
1173
+ * @returns {this} - The current period.
1174
+ */
1175
+ now() {
1176
+ return this.createBy(CalendarDate.from(new Date(), this._timezone));
1177
+ }
1178
+ /**
1179
+ * Check the give period is equal to current period
1180
+ *
1181
+ * @param {CalendarPeriod} [period] - Give period to compare
1182
+ * @returns {boolean} compare result
1183
+ */
1184
+ equal(period) {
1185
+ return this.startDate.equal(period.startDate) && this.endDate.equal(period.endDate);
1186
+ }
1187
+ /**
1188
+ * Calculate the period start date and end date.
1189
+ *
1190
+ * @param {CalendarDate} date - The date to calculate the period from.
1191
+ */
1192
+ calculatePeriod(date) {
1193
+ const cursor = date.toDate();
1194
+ if (this.count > 1) {
1195
+ cursor.setDate(cursor.getDate() - getWeekdays().indexOf(cursor.getDay()));
1196
+ }
1197
+ this._startDate = CalendarDate.from(cursor);
1198
+ cursor.setDate(cursor.getDate() + this.count - 1);
1199
+ this._endDate = CalendarDate.from(cursor);
1200
+ }
1201
+ }
1202
+
1203
+ /**
1204
+ * StateVariantFormatter: Format state token to CSS styles
1205
+ */
1206
+ class StateVariantFormatter {
1207
+ /**
1208
+ * The function `format` takes an input state variant type and returns formatted CSS styles based on
1209
+ * the input.
1210
+ *
1211
+ * @param {StateVariantType} input - The `format` function takes an `input` parameter of type
1212
+ * `StateVariantType<ManagedStateScopeInput[Flag], State>`. This means that the `input` parameter
1213
+ * should be an object that contains styles for different states, where the keys are state names and
1214
+ * the values are the corresponding styles
1215
+ * @returns {string} The `format` function returns a string that contains CSS styles based on the input
1216
+ * provided. If the input is determined to be a state variant token type, the function generates CSS
1217
+ * styles for each state in the input and returns them joined by newlines. If the input is not a state
1218
+ * variant token type, the function generates CSS styles for the default state and returns them.
1219
+ */
1220
+ format(input) {
1221
+ if (isStateVariantTokenType(input)) {
1222
+ const stateStyles = [];
1223
+ this.getStates().forEach((state) => {
1224
+ const style = this.formatToken(input[state]);
1225
+ if (style) {
1226
+ stateStyles.push(`:host${state === 'default' ? '' : `(:${state})`}{\n\t${style}\n}`);
1227
+ }
1228
+ });
1229
+ return stateStyles.join('\n');
1230
+ }
1231
+ else {
1232
+ const style = this.formatToken(input);
1233
+ return `:host{\n\t${style}\n}`;
1234
+ }
1235
+ }
1236
+ }
1237
+
1238
+ /**
1239
+ * The `StateBackgroundColorFormatter` class in TypeScript formats background color tokens
1240
+ * and handles different CSS states.
1241
+ */
1242
+ class StateBackgroundColorFormatter extends StateVariantFormatter {
1243
+ constructor() {
1244
+ super(...arguments);
1245
+ this.states = ['default', 'hover', 'active', 'focus-visible'];
1246
+ }
1247
+ /**
1248
+ * The function `formatToken` takes a `BackgroundColorsTokenType` input, checks if it is a valid
1249
+ * background color token type, and returns the corresponding CSS background color value or logs a
1250
+ * warning if the input is invalid.
1251
+ *
1252
+ * @param {BackgroundColorsTokenType} input - The `input` parameter is of type
1253
+ * `BackgroundColorsTokenType`, which is used to represent different background color tokens.
1254
+ * @returns {string} The `formatToken` function takes a `BackgroundColorsTokenType` input and checks if it is a
1255
+ * valid background color token type. If it is valid, it retrieves the corresponding color value from
1256
+ * the `BackgroundColorMap` and returns a CSS style string with the background color. If the input is
1257
+ * not valid, it logs a warning message using `LogUtility.warn` and returns an empty string.
1258
+ */
1259
+ formatToken(input) {
1260
+ if (isBackgroundColorTokenType(input)) {
1261
+ const tokenValue = BackgroundColorMap[input];
1262
+ return `background-color: ${tokenValue};`;
1263
+ }
1264
+ else {
1265
+ LogUtility.warn(`The backgroundColor value ${input} is invalid, it must be a value of: `, BackgroundColors);
1266
+ return '';
1267
+ }
1268
+ }
1269
+ /**
1270
+ * The function `getStates` returns an array of `CssStatesType` objects.
1271
+ *
1272
+ * @returns {CssStatesType[]} An array of objects of type CssStatesType, which represents the states stored in the
1273
+ * variable this.states.
1274
+ */
1275
+ getStates() {
1276
+ return this.states;
1277
+ }
1278
+ }
1279
+ const StateBackgroundColorFormatter$1 = new StateBackgroundColorFormatter();
1280
+
1281
+ var DateDirection;
1282
+ (function (DateDirection) {
1283
+ DateDirection["PREVIOUS"] = "-1";
1284
+ DateDirection["NEXT"] = "1";
1285
+ })(DateDirection || (DateDirection = {}));
1286
+ /**
1287
+ * The function `getTimeIndex` calculates the index of a given time string based on a specified time unit.
1288
+ *
1289
+ * @param {string} timeString - A string representing a time in the format "HH:MM", where HH is the hour and MM is the minutes.
1290
+ * @param {number} [unit=15] - The `unit` parameter in the `getTimeIndex` function is used to specify
1291
+ * the interval in minutes for dividing the day. By default, it is set to 15 minutes, meaning that the
1292
+ * day will be divided into 15-minute intervals.
1293
+ * @returns {number} the index of the given time string based on the specified time unit.
1294
+ */
1295
+ function getTimeIndex(timeString, unit = 15) {
1296
+ const [hour, minutes] = timeString.split(':');
1297
+ return Math.round((Number(hour) * 60 + Number(minutes)) / unit);
1298
+ }
1299
+ /**
1300
+ * Returns a string that includes the event key for a calendar event slot.
1301
+ *
1302
+ * @param {string} eventKey - represents the key or identifier of a calendar event.
1303
+ * @returns {string} a string that is a concatenation of 'vega-calendar-event-slot-' and the eventKey parameter.
1304
+ */
1305
+ function getCalendarEventSlotName(eventKey) {
1306
+ return 'vega-calendar-event-slot-' + eventKey;
1307
+ }
1308
+ /**
1309
+ * Returns the closest workday to a given calendar date based on a specified direction.
1310
+ *
1311
+ * @param {Date} date - The starting date from which you want to find the closest workday.
1312
+ * @param {'-1' | '1'} [direction=1] - Determines whether to find the closest workday in the past or future. It can have two possible values:
1313
+ * @returns {CalendarDate} The closest workday to the input date
1314
+ */
1315
+ function getClosestWorkday(date, direction = DateDirection.NEXT) {
1316
+ const day = date.toDate().getDay();
1317
+ if (day === 0 || day === 6) {
1318
+ let nextWorkdayGap = day === 0 ? 1 : 2;
1319
+ if (direction === DateDirection.PREVIOUS) {
1320
+ nextWorkdayGap = day === 0 ? -2 : -1;
1321
+ }
1322
+ return CalendarDate.from(new Date(date.year, date.month - 1, date.date + nextWorkdayGap));
1323
+ }
1324
+ return date;
1325
+ }
1326
+ /**
1327
+ * Get event status background color.
1328
+ *
1329
+ * @param {Nullable<string | BackgroundColorsTokenType>} color the background color
1330
+ * @returns {string} background color style string
1331
+ */
1332
+ function getEventStatusBgColorStyle(color = 'bg-accent6-primary') {
1333
+ if (isBackgroundColorTokenType(color)) {
1334
+ return `.event-bg-color{${StateBackgroundColorFormatter$1.formatToken(color)}}`;
1335
+ }
1336
+ else {
1337
+ return `.event-bg-color{background-color:${color}}`;
1338
+ }
1339
+ }
1340
+
1341
+ /**
1342
+ * Period of day.
1343
+ */
1344
+ class DayPeriod extends CalendarPeriod {
1345
+ constructor(current, showWeekends, timezone) {
1346
+ super(DayPeriod.DISPLAY_DATE_COUNT, current, timezone);
1347
+ this._type = 'day';
1348
+ this._showWeekends = true;
1349
+ this._showWeekends = showWeekends === false ? false : true;
1350
+ }
1351
+ /**
1352
+ * @inheritDoc
1353
+ */
1354
+ next() {
1355
+ const nextDate = this.current.toDate();
1356
+ nextDate.setDate(nextDate.getDate() + 1);
1357
+ let calendarDate = CalendarDate.from(nextDate);
1358
+ if (this._showWeekends === false) {
1359
+ calendarDate = getClosestWorkday(calendarDate);
1360
+ }
1361
+ return this.createBy(calendarDate);
1362
+ }
1363
+ /**
1364
+ * @inheritDoc
1365
+ */
1366
+ previous() {
1367
+ const previousDate = this.current.toDate();
1368
+ previousDate.setDate(previousDate.getDate() - 1);
1369
+ let calendarDate = CalendarDate.from(previousDate);
1370
+ if (this._showWeekends === false) {
1371
+ calendarDate = getClosestWorkday(calendarDate, DateDirection.PREVIOUS);
1372
+ }
1373
+ return this.createBy(calendarDate);
1374
+ }
1375
+ /**
1376
+ * Go to now.
1377
+ *
1378
+ * @returns {this} - The current period.
1379
+ */
1380
+ now() {
1381
+ let calendarDate = CalendarDate.from(new Date(), this.timezone);
1382
+ if (this._showWeekends === false) {
1383
+ calendarDate = getClosestWorkday(calendarDate);
1384
+ }
1385
+ return this.createBy(calendarDate);
1386
+ }
1387
+ /**
1388
+ * @inheritDoc
1389
+ */
1390
+ createBy(current) {
1391
+ return new DayPeriod(current, this._showWeekends, this.timezone);
1392
+ }
1393
+ }
1394
+ DayPeriod.DISPLAY_DATE_COUNT = 1;
1395
+
1396
+ /**
1397
+ * Period of the week
1398
+ */
1399
+ class WeekPeriod extends CalendarPeriod {
1400
+ constructor(current, showWeekends, timezone) {
1401
+ super(WeekPeriod.DISPLAY_DATE_COUNT, current, timezone);
1402
+ this._type = 'week';
1403
+ this._showWeekends = true;
1404
+ this._showWeekends = showWeekends === false ? false : true;
1405
+ }
1406
+ /**
1407
+ * @inheritDoc
1408
+ */
1409
+ next() {
1410
+ const currentDate = this.current.toDate();
1411
+ currentDate.setDate(currentDate.getDate() + 7);
1412
+ return this.createBy(CalendarDate.from(currentDate));
1413
+ }
1414
+ /**
1415
+ * @inheritDoc
1416
+ */
1417
+ previous() {
1418
+ const currentDate = this.current.toDate();
1419
+ currentDate.setDate(currentDate.getDate() - 7);
1420
+ return this.createBy(CalendarDate.from(currentDate));
1421
+ }
1422
+ /**
1423
+ * @inheritDoc
1424
+ */
1425
+ createBy(current) {
1426
+ return new WeekPeriod(current, this._showWeekends, this.timezone);
1427
+ }
1428
+ }
1429
+ WeekPeriod.DISPLAY_DATE_COUNT = 7;
1430
+
1431
+ /**
1432
+ * Period of month
1433
+ */
1434
+ class MonthPeriod extends CalendarPeriod {
1435
+ constructor(current, showWeekends, timezone) {
1436
+ super(MonthPeriod.DISPLAY_DATE_COUNT, current, timezone);
1437
+ this._type = 'month';
1438
+ this._showWeekends = true;
1439
+ this._showWeekends = showWeekends === false ? false : true;
1440
+ }
1441
+ /**
1442
+ * The function `getMonthFirstDay` returns the first day of a given month in a calendar.
1443
+ *
1444
+ * @param {CalendarDate} [calendarDate] - The `calendarDate` parameter is an optional parameter of
1445
+ * type `CalendarDate`. It represents a specific date in the calendar. If a `calendarDate` is
1446
+ * provided, the function will use that date to determine the first day of the month. If no
1447
+ * `calendarDate` is provided, the function will use the current date considering timezone.
1448
+ * @param {string} [timezone] - The timezone to use when no calendarDate is provided
1449
+ * @returns {CalendarDate} A new `CalendarDate` object representing the first day of the month from the provided
1450
+ * `calendarDate` parameter or the current date if no parameter is provided.
1451
+ */
1452
+ static getMonthFirstDay(calendarDate, timezone) {
1453
+ const date = calendarDate || CalendarDate.from(new Date(), timezone);
1454
+ return new CalendarDate(date.year, date.month, 1);
1455
+ }
1456
+ /**
1457
+ * Calculate the period start date and end date.
1458
+ *
1459
+ * @param {CalendarDate} date - The date to calculate the period from.
1460
+ */
1461
+ calculatePeriod(date) {
1462
+ const firstDay = MonthPeriod.getMonthFirstDay(date);
1463
+ const cursor = firstDay.toDate();
1464
+ cursor.setDate(cursor.getDate() - getWeekdays().indexOf(cursor.getDay()));
1465
+ this._startDate = CalendarDate.from(cursor);
1466
+ cursor.setDate(cursor.getDate() + this.count - 1);
1467
+ this._endDate = CalendarDate.from(cursor);
1468
+ }
1469
+ /**
1470
+ * @inheritDoc
1471
+ */
1472
+ next() {
1473
+ const current = this.current.toDate();
1474
+ const year = current.getFullYear();
1475
+ const month = current.getMonth() + 1;
1476
+ const day = current.getDate();
1477
+ // Get the last day of the next month
1478
+ const lastDayOfNextMonth = new Date(year, month + 1, 0).getDate();
1479
+ const nextDay = Math.min(day, lastDayOfNextMonth);
1480
+ const next = new Date(year, month, nextDay);
1481
+ return this.createBy(CalendarDate.from(next));
1482
+ }
1483
+ /**
1484
+ * @inheritDoc
1485
+ */
1486
+ previous() {
1487
+ const current = this.current.toDate();
1488
+ const year = current.getFullYear();
1489
+ const month = current.getMonth() - 1;
1490
+ const day = current.getDate();
1491
+ // Get the last day of the previous month
1492
+ const lastDayOfPreviousMonth = new Date(year, month + 1, 0).getDate();
1493
+ const previousDay = Math.min(day, lastDayOfPreviousMonth);
1494
+ const previous = new Date(year, month, previousDay);
1495
+ return this.createBy(CalendarDate.from(previous));
1496
+ }
1497
+ /**
1498
+ * @inheritDoc
1499
+ */
1500
+ createBy(current) {
1501
+ return new MonthPeriod(current, this._showWeekends, this.timezone);
1502
+ }
1503
+ }
1504
+ MonthPeriod.DISPLAY_DATE_COUNT = 6 * 7;
1505
+
313
1506
  /**
314
1507
  * Returns true if the input is a string that is one of the four directions.
315
1508
  *
@@ -688,5 +1881,14 @@ const isVegaTableColumnGroupingModelType = (input) => {
688
1881
  'label' in input &&
689
1882
  typeof input.label === 'string');
690
1883
  };
1884
+ /**
1885
+ * Check is calendar date type
1886
+ *
1887
+ * @param {unknown} input - Value to test.
1888
+ * @returns {input is CalendarDate} True when input matches the calendar date type.
1889
+ */
1890
+ const isCalendarDateType = (input) => {
1891
+ return input instanceof CalendarDate;
1892
+ };
691
1893
 
692
- export { AmexRegex as A, BorderRadius as B, Colors as C, DiscoverRegex as D, isTranslocationType as E, FillBackgroundColors as F, isFlexDirectionType as G, isFlexAlignItemType as H, isFlexJustifyContentType as I, isFlexWrapType as J, isBoxDisplayType as K, isDirectionalBorderRadiusType as L, MasterCardRegex as M, isTextAlignType as N, isStateVariantTokenType as O, isAccordionObserverPayload as P, isArrayOfType as Q, isDropdownSourceItemType as R, StrokeBackgroundColors as S, TextColors as T, isSelectSourceItemType as U, VisaRegex as V, isVegaTableColumnGroupingModelType as W, BackgroundColors as a, BorderColors as b, TextColorMap as c, BackgroundColorMap as d, BorderColorMap as e, Shadows as f, ShadowMap as g, Spacing as h, isNonNullable as i, isBorderColorTokenType as j, isShadowsTokenType as k, isBorderTokenType as l, Borders as m, BorderMap as n, isSpacingTokenType as o, isBorderRadiusTokenType as p, isBackgroundColorTokenType as q, isTextColorTokenType as r, isBreakpointsTokenType as s, isBorderStyleType as t, isTypographyTokenType as u, isResponsiveType as v, isBreakpointsForPrefixType as w, isDirectionalSpacingType as x, isGridColumnsType as y, isGridRowsType as z };
1894
+ export { compareIsAfter as $, AmexRegex as A, BorderRadius as B, Colors as C, DiscoverRegex as D, isGridColumnsType as E, FillBackgroundColors as F, isGridRowsType as G, isTranslocationType as H, isFlexDirectionType as I, isFlexAlignItemType as J, isFlexJustifyContentType as K, isFlexWrapType as L, MasterCardRegex as M, isBoxDisplayType as N, isDirectionalBorderRadiusType as O, isTextAlignType as P, isDateStr as Q, isTimeStr as R, StrokeBackgroundColors as S, TextColors as T, isAccordionObserverPayload as U, VisaRegex as V, isArrayOfType as W, isDropdownSourceItemType as X, isSelectSourceItemType as Y, compareIsSameOrBefore as Z, compareIsBefore as _, BackgroundColors as a, CalendarDate as a0, MonthPeriod as a1, isCalendarDateType as a2, getWeekdays as a3, pad as a4, convert12HourTo24HourFormat as a5, getClosestWorkday as a6, DayPeriod as a7, WeekPeriod as a8, WeekdayLongNames as a9, getSystemTimezone as aa, CalendarTime as ab, CalendarDateTime as ac, getCalendarEventSlotName as ad, getTimeIndex as ae, getEventStatusBgColorStyle as af, isVegaTableColumnGroupingModelType as ag, BorderColors as b, TextColorMap as c, BackgroundColorMap as d, BorderColorMap as e, Shadows as f, ShadowMap as g, Spacing as h, isNonNullable as i, StateVariantFormatter as j, isBorderColorTokenType as k, isShadowsTokenType as l, isBorderTokenType as m, Borders as n, BorderMap as o, StateBackgroundColorFormatter$1 as p, isSpacingTokenType as q, isBorderRadiusTokenType as r, isBackgroundColorTokenType as s, isTextColorTokenType as t, isBreakpointsTokenType as u, isBorderStyleType as v, isTypographyTokenType as w, isResponsiveType as x, isBreakpointsForPrefixType as y, isDirectionalSpacingType as z };