@globalpayments/vega 2.77.0 → 2.77.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (338) hide show
  1. package/dist/cjs/{app-globals-04e7024b.js → app-globals-1021e33e.js} +6 -6
  2. package/dist/cjs/{aria-attributes-value-mapper-f58c73f8.js → aria-attributes-value-mapper-9a41b9cf.js} +10 -3
  3. package/dist/cjs/{code-block-f1480ec3.js → code-block-f9b86a25.js} +1 -1
  4. package/dist/cjs/{component-value-history-controller-slimmer.abstract-a9264cc8.js → component-value-history-controller-slimmer.abstract-6bcff70b.js} +3 -3
  5. package/dist/cjs/{date-required-rule-912469e0.js → date-required-rule-d3c2d088.js} +1 -1
  6. package/dist/cjs/{design-token-c49717c8.js → design-token-b21879b6.js} +2 -2
  7. package/dist/cjs/{dto-renderer-manager-809c947b.js → dto-renderer-manager-e2823eb8.js} +2 -2
  8. package/dist/cjs/{element-appender-slimmer-38583ca9.js → element-appender-slimmer-40d39bba.js} +178 -19
  9. package/dist/cjs/{form-field-controller-slimmer-102f37c7.js → form-field-controller-slimmer-1b3a1388.js} +1 -1
  10. package/dist/cjs/{image-annotation-action-8d9fa20c.js → image-annotation-action-b83283d4.js} +2 -2
  11. package/dist/cjs/index.cjs.js +12 -12
  12. package/dist/cjs/{inject-keyboard-manager-0f5bd568.js → inject-keyboard-manager-ea5c598e.js} +1 -1
  13. package/dist/cjs/{internal-translation-controller-053eb0f1.js → internal-translation-controller-1f84ab0a.js} +15 -0
  14. package/dist/cjs/{keyboard-manager-055e9f67.js → keyboard-manager-16494c34.js} +1 -1
  15. package/dist/cjs/{keyboard-manager-slimmer-0cc0c1c7.js → keyboard-manager-slimmer-5b8fa209.js} +1 -1
  16. package/dist/cjs/loader.cjs.js +8 -8
  17. package/dist/cjs/{month-view-generator-6a6dd527.js → month-view-generator-1a57578d.js} +1 -1
  18. package/dist/cjs/{public-rules-922849f3.js → public-rules-5bd1624d.js} +7 -7
  19. package/dist/cjs/{range-8aa49b08.js → range-7a038973.js} +1 -1
  20. package/dist/cjs/{responsive-format-facade-acc39a40.js → responsive-format-facade-0b65ce4a.js} +1 -1
  21. package/dist/cjs/{rich-text-editor-required-rule-22225840.js → rich-text-editor-required-rule-d984c0b6.js} +1 -1
  22. package/dist/cjs/{string-format-strategy.abstract-f2575647.js → string-format-strategy.abstract-714bfad2.js} +1 -1
  23. package/dist/cjs/{string-input-formatter-slimmer-0a334fc6.js → string-input-formatter-slimmer-9ef2ec7a.js} +1 -1
  24. package/dist/cjs/{string-mask-strategy-dda58395.js → string-mask-strategy-bd2c18df.js} +2 -2
  25. package/dist/cjs/{style-formatter-028af284.js → style-formatter-7a4e9811.js} +2 -2
  26. package/dist/cjs/{time-required-rule-d6fa7aa8.js → time-required-rule-50784b9f.js} +1 -1
  27. package/dist/cjs/{token-extension-ffcaeae0.js → token-extension-5a1c473e.js} +4 -4
  28. package/dist/cjs/{translation-slimmer-4533bd67.js → translation-slimmer-2c207e34.js} +1 -1
  29. package/dist/cjs/{type-guard-407ba0b8.js → type-guard-cd0376d4.js} +36 -1
  30. package/dist/cjs/{valid-credit-card-number-rule-41a8b51b.js → valid-credit-card-number-rule-3f8dc897.js} +1 -1
  31. package/dist/cjs/vega-accordion.cjs.entry.js +4 -4
  32. package/dist/cjs/vega-app-header-button.cjs.entry.js +24 -6
  33. package/dist/cjs/vega-box.cjs.entry.js +5 -5
  34. package/dist/cjs/vega-button-circle.cjs.entry.js +5 -5
  35. package/dist/cjs/vega-button-link.cjs.entry.js +16 -0
  36. package/dist/cjs/vega-button.cjs.entry.js +3 -3
  37. package/dist/cjs/vega-calendar_4.cjs.entry.js +5 -5
  38. package/dist/cjs/vega-card.cjs.entry.js +4 -4
  39. package/dist/cjs/vega-carousel.cjs.entry.js +3 -3
  40. package/dist/cjs/vega-checkbox_2.cjs.entry.js +2 -2
  41. package/dist/cjs/vega-chip.cjs.entry.js +4 -4
  42. package/dist/cjs/vega-code-block.cjs.entry.js +8 -8
  43. package/dist/cjs/vega-color-picker.cjs.entry.js +2 -2
  44. package/dist/cjs/vega-combo-box.cjs.entry.js +5 -5
  45. package/dist/cjs/vega-date-picker_2.cjs.entry.js +103 -22
  46. package/dist/cjs/vega-dialog_2.cjs.entry.js +4 -4
  47. package/dist/cjs/vega-divider.cjs.entry.js +4 -4
  48. package/dist/cjs/vega-dropdown_5.cjs.entry.js +31 -7
  49. package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
  50. package/dist/cjs/vega-file-uploader.cjs.entry.js +3 -3
  51. package/dist/cjs/vega-flag-icon.cjs.entry.js +4 -4
  52. package/dist/cjs/vega-flex.cjs.entry.js +5 -5
  53. package/dist/cjs/vega-font.cjs.entry.js +4 -4
  54. package/dist/cjs/vega-form.cjs.entry.js +3 -3
  55. package/dist/cjs/vega-grid.cjs.entry.js +4 -4
  56. package/dist/cjs/vega-icon.cjs.entry.js +4 -4
  57. package/dist/cjs/vega-image-uploader.cjs.entry.js +5 -5
  58. package/dist/cjs/vega-input-credit-card.cjs.entry.js +6 -6
  59. package/dist/cjs/vega-input-numeric.cjs.entry.js +5 -5
  60. package/dist/cjs/vega-input-passcode.cjs.entry.js +37 -7
  61. package/dist/cjs/vega-input-phone-number.cjs.entry.js +4 -4
  62. package/dist/cjs/vega-input-range.cjs.entry.js +3 -3
  63. package/dist/cjs/vega-input-select.cjs.entry.js +5 -5
  64. package/dist/cjs/vega-input.cjs.entry.js +220 -125
  65. package/dist/cjs/vega-left-nav_5.cjs.entry.js +6 -7
  66. package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +3 -3
  67. package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +2 -2
  68. package/dist/cjs/vega-pagination.cjs.entry.js +4 -4
  69. package/dist/cjs/vega-popover_2.cjs.entry.js +8 -8
  70. package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +3 -3
  71. package/dist/cjs/vega-radio_2.cjs.entry.js +5 -5
  72. package/dist/cjs/vega-rich-text-content.cjs.entry.js +12 -6
  73. package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +127 -29
  74. package/dist/cjs/vega-selection-chip_2.cjs.entry.js +4 -4
  75. package/dist/cjs/vega-selection-tile_2.cjs.entry.js +2 -2
  76. package/dist/cjs/vega-sidenav_3.cjs.entry.js +3 -3
  77. package/dist/cjs/vega-signature-capture.cjs.entry.js +6 -6
  78. package/dist/cjs/vega-stepper.cjs.entry.js +2 -2
  79. package/dist/cjs/vega-table_11.cjs.entry.js +4 -4
  80. package/dist/cjs/vega-textarea.cjs.entry.js +2 -2
  81. package/dist/cjs/vega-time-picker_2.cjs.entry.js +9 -9
  82. package/dist/cjs/vega-toggle-switch.cjs.entry.js +2 -2
  83. package/dist/cjs/vega-tooltip_2.cjs.entry.js +7 -7
  84. package/dist/cjs/vega.cjs.js +8 -8
  85. package/dist/collection/components/vega-app-header-button/vega-app-header-button.js +44 -2
  86. package/dist/collection/components/vega-button-link/vega-button-link.js +16 -1
  87. package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-event-preview-popover-renderer.js +1 -1
  88. package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-open-state-controller.js +64 -0
  89. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-selection-controller.js +3 -0
  90. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-header-render.js +3 -3
  91. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-renderer.js +19 -1
  92. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-year-month-switcher-renderer.js +3 -2
  93. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-month-item-renderer.js +3 -2
  94. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.css +12 -0
  95. package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.js +25 -0
  96. package/dist/collection/components/vega-input/slimmers/controllers/vega-input-render-mode-controller.js +1 -3
  97. package/dist/collection/components/vega-input/slimmers/renderers/vega-input-input-container-renderer.js +1 -5
  98. package/dist/collection/components/vega-input/slimmers/renderers/vega-input-input-renderer.js +1 -4
  99. package/dist/collection/components/vega-input/slimmers/renderers/vega-input-input-suggestions-renderer.js +5 -2
  100. package/dist/collection/components/vega-input/vega-input.js +24 -1
  101. package/dist/collection/components/vega-input-passcode/slimmers/controllers/vega-input-passcode-keyboard-controller.js +2 -0
  102. package/dist/collection/components/vega-input-passcode/slimmers/renderers/vega-input-passcode-renderer.js +30 -2
  103. package/dist/collection/components/vega-nav/vega-left-nav-link/slimmers/renderers/vega-left-nav-link-renderer.js +2 -3
  104. package/dist/collection/components/vega-popover/vega-popover-content-box/vega-popover-content-box.css +5 -0
  105. package/dist/collection/components/vega-rich-text-editor/dto/renderers/nodes/image-node-renderer.js +7 -1
  106. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/insert-image-controller.js +7 -4
  107. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/image-toolbar-button-slimmer.js +113 -12
  108. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-image-editor/slimmers/renderers/vega-rich-text-image-editor-renderer.js +1 -1
  109. package/dist/collection/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.css +5 -0
  110. package/dist/collection/helpers/calendar/test/utils.test.js +54 -1
  111. package/dist/collection/helpers/calendar/utils.js +35 -0
  112. package/dist/collection/helpers/slimmers/element-appender/element-appender-slimmer.js +27 -0
  113. package/dist/collection/helpers/slimmers/element-appender/test/element-appender-slimmer.test.js +50 -0
  114. package/dist/collection/helpers/slimmers/mutation-observer/aria-attributes-value-mapper.js +10 -3
  115. package/dist/collection/helpers/slimmers/mutation-observer/data-tab-index-value-mapper.js +80 -0
  116. package/dist/collection/helpers/slimmers/mutation-observer/test/aria-attributes-value-mapper.test.js +55 -3
  117. package/dist/collection/helpers/slimmers/mutation-observer/test/data-tab-index-value-mapper.test.js +120 -0
  118. package/dist/collection/helpers/slimmers/position-calculation/base-position-calculation-strategy.js +123 -9
  119. package/dist/collection/helpers/slimmers/position-calculation/position-calculation-controller.js +14 -4
  120. package/dist/collection/helpers/slimmers/position-calculation/screen-position-calculation-strategy.js +13 -4
  121. package/dist/collection/helpers/slimmers/position-calculation/test/body-position-calculation-strategy.test.js +7 -6
  122. package/dist/collection/helpers/slimmers/position-calculation/test/screen-position-calculation-strategy.test.js +162 -7
  123. package/dist/collection/helpers/translation/locales/en.js +15 -0
  124. package/dist/collection/helpers/translation/tests/internal-translation-controller.test.js +15 -0
  125. package/dist/collection/helpers/ui/test/element-appender.test.js +7 -5
  126. package/dist/collection/utils/e2e-utils.js +6 -0
  127. package/dist/esm/{app-globals-32055795.js → app-globals-0b3b7111.js} +6 -6
  128. package/dist/esm/{aria-attributes-value-mapper-d4fef46a.js → aria-attributes-value-mapper-2c632641.js} +10 -3
  129. package/dist/esm/{code-block-b6247a45.js → code-block-2408a812.js} +1 -1
  130. package/dist/esm/{component-value-history-controller-slimmer.abstract-2bb8533d.js → component-value-history-controller-slimmer.abstract-ac40820f.js} +3 -3
  131. package/dist/esm/{date-required-rule-e771e7d9.js → date-required-rule-09d5aa16.js} +1 -1
  132. package/dist/esm/{design-token-5bc034e1.js → design-token-7dec1eab.js} +2 -2
  133. package/dist/esm/{dto-renderer-manager-6fd22ab7.js → dto-renderer-manager-d413de1e.js} +2 -2
  134. package/dist/esm/{element-appender-slimmer-9ea377d0.js → element-appender-slimmer-5d573612.js} +178 -19
  135. package/dist/esm/{form-field-controller-slimmer-5817d14d.js → form-field-controller-slimmer-e1a5a884.js} +1 -1
  136. package/dist/esm/{image-annotation-action-6701b4c9.js → image-annotation-action-54936eaa.js} +2 -2
  137. package/dist/esm/index.js +12 -12
  138. package/dist/esm/{inject-keyboard-manager-78730062.js → inject-keyboard-manager-9339bba8.js} +1 -1
  139. package/dist/esm/{internal-translation-controller-911515f9.js → internal-translation-controller-113a6288.js} +15 -0
  140. package/dist/esm/{keyboard-manager-38934f94.js → keyboard-manager-f9bfa678.js} +1 -1
  141. package/dist/esm/{keyboard-manager-slimmer-9984d922.js → keyboard-manager-slimmer-c8898843.js} +1 -1
  142. package/dist/esm/loader.js +8 -8
  143. package/dist/esm/{month-view-generator-eaf9029c.js → month-view-generator-160a9feb.js} +1 -1
  144. package/dist/esm/{public-rules-25cc3a39.js → public-rules-41561e6e.js} +7 -7
  145. package/dist/esm/{range-663f44dc.js → range-a5d78e69.js} +1 -1
  146. package/dist/esm/{responsive-format-facade-aa705823.js → responsive-format-facade-2a36c54a.js} +1 -1
  147. package/dist/esm/{rich-text-editor-required-rule-a238b862.js → rich-text-editor-required-rule-b09039da.js} +1 -1
  148. package/dist/esm/{string-format-strategy.abstract-713fba36.js → string-format-strategy.abstract-944f759b.js} +1 -1
  149. package/dist/esm/{string-input-formatter-slimmer-5b413ff9.js → string-input-formatter-slimmer-2508d88b.js} +1 -1
  150. package/dist/esm/{string-mask-strategy-6beaf664.js → string-mask-strategy-f9e252a2.js} +2 -2
  151. package/dist/esm/{style-formatter-28138f5c.js → style-formatter-6db1e890.js} +2 -2
  152. package/dist/esm/{time-required-rule-e4138a76.js → time-required-rule-c7cfb257.js} +1 -1
  153. package/dist/esm/{token-extension-73e4460a.js → token-extension-25df8dbb.js} +4 -4
  154. package/dist/esm/{translation-slimmer-2394b173.js → translation-slimmer-9f0339aa.js} +1 -1
  155. package/dist/esm/{type-guard-f50e34d6.js → type-guard-af324dcd.js} +36 -2
  156. package/dist/esm/{valid-credit-card-number-rule-22ce81db.js → valid-credit-card-number-rule-099dba7d.js} +1 -1
  157. package/dist/esm/vega-accordion.entry.js +4 -4
  158. package/dist/esm/vega-app-header-button.entry.js +24 -6
  159. package/dist/esm/vega-box.entry.js +5 -5
  160. package/dist/esm/vega-button-circle.entry.js +5 -5
  161. package/dist/esm/vega-button-link.entry.js +16 -0
  162. package/dist/esm/vega-button.entry.js +3 -3
  163. package/dist/esm/vega-calendar_4.entry.js +5 -5
  164. package/dist/esm/vega-card.entry.js +4 -4
  165. package/dist/esm/vega-carousel.entry.js +3 -3
  166. package/dist/esm/vega-checkbox_2.entry.js +2 -2
  167. package/dist/esm/vega-chip.entry.js +4 -4
  168. package/dist/esm/vega-code-block.entry.js +8 -8
  169. package/dist/esm/vega-color-picker.entry.js +2 -2
  170. package/dist/esm/vega-combo-box.entry.js +5 -5
  171. package/dist/esm/vega-date-picker_2.entry.js +104 -23
  172. package/dist/esm/vega-dialog_2.entry.js +4 -4
  173. package/dist/esm/vega-divider.entry.js +4 -4
  174. package/dist/esm/vega-dropdown_5.entry.js +32 -8
  175. package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
  176. package/dist/esm/vega-file-uploader.entry.js +3 -3
  177. package/dist/esm/vega-flag-icon.entry.js +4 -4
  178. package/dist/esm/vega-flex.entry.js +5 -5
  179. package/dist/esm/vega-font.entry.js +4 -4
  180. package/dist/esm/vega-form.entry.js +3 -3
  181. package/dist/esm/vega-grid.entry.js +4 -4
  182. package/dist/esm/vega-icon.entry.js +4 -4
  183. package/dist/esm/vega-image-uploader.entry.js +5 -5
  184. package/dist/esm/vega-input-credit-card.entry.js +6 -6
  185. package/dist/esm/vega-input-numeric.entry.js +5 -5
  186. package/dist/esm/vega-input-passcode.entry.js +37 -7
  187. package/dist/esm/vega-input-phone-number.entry.js +4 -4
  188. package/dist/esm/vega-input-range.entry.js +3 -3
  189. package/dist/esm/vega-input-select.entry.js +5 -5
  190. package/dist/esm/vega-input.entry.js +220 -125
  191. package/dist/esm/vega-left-nav_5.entry.js +6 -7
  192. package/dist/esm/vega-loader-wrapper_2.entry.js +3 -3
  193. package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +2 -2
  194. package/dist/esm/vega-pagination.entry.js +4 -4
  195. package/dist/esm/vega-popover_2.entry.js +8 -8
  196. package/dist/esm/vega-progress-tracker_2.entry.js +3 -3
  197. package/dist/esm/vega-radio_2.entry.js +5 -5
  198. package/dist/esm/vega-rich-text-content.entry.js +12 -6
  199. package/dist/esm/vega-rich-text-editor_4.entry.js +128 -30
  200. package/dist/esm/vega-selection-chip_2.entry.js +4 -4
  201. package/dist/esm/vega-selection-tile_2.entry.js +2 -2
  202. package/dist/esm/vega-sidenav_3.entry.js +3 -3
  203. package/dist/esm/vega-signature-capture.entry.js +6 -6
  204. package/dist/esm/vega-stepper.entry.js +2 -2
  205. package/dist/esm/vega-table_11.entry.js +4 -4
  206. package/dist/esm/vega-textarea.entry.js +2 -2
  207. package/dist/esm/vega-time-picker_2.entry.js +9 -9
  208. package/dist/esm/vega-toggle-switch.entry.js +2 -2
  209. package/dist/esm/vega-tooltip_2.entry.js +7 -7
  210. package/dist/esm/vega.js +8 -8
  211. package/dist/sri/vega-sri-manifest.json +281 -281
  212. package/dist/types/components/vega-app-header-button/types.d.ts +18 -0
  213. package/dist/types/components/vega-app-header-button/vega-app-header-button.d.ts +8 -1
  214. package/dist/types/components/vega-button-link/vega-button-link.d.ts +2 -0
  215. package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-open-state-controller.d.ts +21 -0
  216. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/controllers/vega-date-picker-calendar-selection-controller.d.ts +1 -0
  217. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-renderer.d.ts +7 -0
  218. package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.d.ts +11 -0
  219. package/dist/types/components/vega-input/slimmers/controllers/vega-input-render-mode-controller.d.ts +0 -1
  220. package/dist/types/components/vega-input/slimmers/renderers/vega-input-input-renderer.d.ts +0 -1
  221. package/dist/types/components/vega-input/vega-input.d.ts +4 -0
  222. package/dist/types/components/vega-input-passcode/slimmers/renderers/vega-input-passcode-renderer.d.ts +14 -0
  223. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/insert-image-controller.d.ts +7 -1
  224. package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/image-toolbar-button-slimmer.d.ts +30 -2
  225. package/dist/types/components.d.ts +11 -1
  226. package/dist/types/helpers/calendar/utils.d.ts +17 -0
  227. package/dist/types/helpers/slimmers/element-appender/element-appender-slimmer.d.ts +12 -0
  228. package/dist/types/helpers/slimmers/mutation-observer/aria-attributes-value-mapper.d.ts +2 -1
  229. package/dist/types/helpers/slimmers/mutation-observer/data-tab-index-value-mapper.d.ts +35 -0
  230. package/dist/types/helpers/slimmers/mutation-observer/test/data-tab-index-value-mapper.test.d.ts +1 -0
  231. package/dist/types/helpers/slimmers/position-calculation/base-position-calculation-strategy.d.ts +60 -3
  232. package/dist/types/helpers/slimmers/position-calculation/screen-position-calculation-strategy.d.ts +3 -2
  233. package/dist/types/helpers/slimmers/position-calculation/test/body-position-calculation-strategy.test.d.ts +1 -1
  234. package/dist/types/helpers/translation/interface.d.ts +15 -0
  235. package/dist/types/types/components.type.d.ts +1 -0
  236. package/dist/types/types/ui.type.d.ts +3 -2
  237. package/dist/types/utils/e2e-utils.d.ts +2 -0
  238. package/dist/vega/index.esm.js +1 -1
  239. package/dist/vega/{p-4bffdb28.js → p-051bbce6.js} +1 -1
  240. package/dist/vega/{p-1a3236e7.entry.js → p-0ac9a732.entry.js} +1 -1
  241. package/dist/vega/{p-9fb877c1.entry.js → p-1033e4c4.entry.js} +1 -1
  242. package/dist/vega/{p-0e679d8c.js → p-10e51081.js} +1 -1
  243. package/dist/vega/p-15335b69.entry.js +1 -0
  244. package/dist/vega/{p-592296d7.entry.js → p-19270396.entry.js} +1 -1
  245. package/dist/vega/{p-2d69632d.js → p-1a9b361b.js} +1 -1
  246. package/dist/vega/p-1ccba615.entry.js +1 -0
  247. package/dist/vega/{p-b54dc37c.entry.js → p-22f3d35c.entry.js} +1 -1
  248. package/dist/vega/{p-010ff53d.entry.js → p-23427f6a.entry.js} +1 -1
  249. package/dist/vega/p-2466316a.js +1 -0
  250. package/dist/vega/{p-b1773281.entry.js → p-27b0af38.entry.js} +1 -1
  251. package/dist/vega/{p-03004a05.entry.js → p-2c2193f2.entry.js} +1 -1
  252. package/dist/vega/{p-22056609.entry.js → p-3237be8b.entry.js} +1 -1
  253. package/dist/vega/{p-bff57aa4.js → p-38e850c3.js} +1 -1
  254. package/dist/vega/{p-ffd48e37.entry.js → p-3b9fc697.entry.js} +1 -1
  255. package/dist/vega/{p-1fa0c7da.entry.js → p-41d14339.entry.js} +1 -1
  256. package/dist/vega/{p-a0b66c25.js → p-4c060ba9.js} +1 -1
  257. package/dist/vega/{p-0d4cb1c7.entry.js → p-4d4bf82a.entry.js} +1 -1
  258. package/dist/vega/{p-415ffa35.js → p-4d7d5583.js} +1 -1
  259. package/dist/vega/{p-2a10e2e5.js → p-4f146dae.js} +1 -1
  260. package/dist/vega/p-5f377954.js +1 -1
  261. package/dist/vega/{p-d78f6ede.js → p-600f7d6c.js} +1 -1
  262. package/dist/vega/{p-4ea30592.js → p-6188e783.js} +1 -1
  263. package/dist/vega/p-638d30a5.entry.js +1 -0
  264. package/dist/vega/{p-100b44c3.entry.js → p-67b0ccdc.entry.js} +1 -1
  265. package/dist/vega/p-68846f0d.js +1 -0
  266. package/dist/vega/{p-c165232c.entry.js → p-70444f6f.entry.js} +1 -1
  267. package/dist/vega/{p-e632475e.js → p-7127f966.js} +1 -1
  268. package/dist/vega/{p-49845a91.js → p-718c74ba.js} +1 -1
  269. package/dist/vega/p-77167587.entry.js +1 -0
  270. package/dist/vega/p-78ecfea0.entry.js +1 -0
  271. package/dist/vega/{p-b201f379.js → p-7cde8489.js} +1 -1
  272. package/dist/vega/p-9466619f.entry.js +1 -0
  273. package/dist/vega/p-9863e7a1.entry.js +1 -0
  274. package/dist/vega/p-999950d1.js +1 -0
  275. package/dist/vega/{p-9339c6c4.js → p-9a3a5b9e.js} +1 -1
  276. package/dist/vega/{p-1a011d47.entry.js → p-9adfcd47.entry.js} +1 -1
  277. package/dist/vega/{p-4aa94940.entry.js → p-9e36f7ff.entry.js} +1 -1
  278. package/dist/vega/{p-168bb296.entry.js → p-9f9d9a53.entry.js} +1 -1
  279. package/dist/vega/{p-cfecc1cb.entry.js → p-9feaac4b.entry.js} +1 -1
  280. package/dist/vega/{p-4742feef.entry.js → p-a0e69236.entry.js} +1 -1
  281. package/dist/vega/{p-95528b47.js → p-a17312a6.js} +1 -1
  282. package/dist/vega/{p-f3e6483c.js → p-a79fdf2f.js} +1 -1
  283. package/dist/vega/{p-c2d2faa0.js → p-a800bf6d.js} +1 -1
  284. package/dist/vega/{p-2b142818.entry.js → p-aaf9b39f.entry.js} +1 -1
  285. package/dist/vega/p-acbb96b3.entry.js +1 -0
  286. package/dist/vega/{p-cccd7648.entry.js → p-af2110fc.entry.js} +1 -1
  287. package/dist/vega/{p-560d2f48.entry.js → p-b35bb4a2.entry.js} +1 -1
  288. package/dist/vega/p-b8c10187.js +1 -0
  289. package/dist/vega/p-bdb5180c.js +1 -0
  290. package/dist/vega/{p-50d074ed.entry.js → p-c086529c.entry.js} +1 -1
  291. package/dist/vega/{p-3c05abd9.entry.js → p-c61bcd92.entry.js} +1 -1
  292. package/dist/vega/{p-5833f33b.entry.js → p-c7a9960f.entry.js} +1 -1
  293. package/dist/vega/{p-81b044b9.js → p-c7b9b7c2.js} +1 -1
  294. package/dist/vega/{p-f2b0b58a.js → p-c857e6e2.js} +1 -1
  295. package/dist/vega/{p-857069a5.entry.js → p-c871619c.entry.js} +1 -1
  296. package/dist/vega/{p-1f3cd061.entry.js → p-cbeb47be.entry.js} +1 -1
  297. package/dist/vega/{p-a786259a.js → p-cf6bfac7.js} +1 -1
  298. package/dist/vega/{p-5485c387.entry.js → p-d0975995.entry.js} +1 -1
  299. package/dist/vega/{p-c292ade4.entry.js → p-d2fc470e.entry.js} +1 -1
  300. package/dist/vega/{p-f428086c.entry.js → p-d70e1b75.entry.js} +1 -1
  301. package/dist/vega/{p-3afc025e.entry.js → p-da0fd3dc.entry.js} +1 -1
  302. package/dist/vega/{p-70df91fb.entry.js → p-da552ddf.entry.js} +1 -1
  303. package/dist/vega/{p-4aa52ed2.entry.js → p-ddce3e0e.entry.js} +1 -1
  304. package/dist/vega/{p-aa1174dc.js → p-dfb12762.js} +1 -1
  305. package/dist/vega/{p-daa60a59.entry.js → p-e0fb1f60.entry.js} +1 -1
  306. package/dist/vega/{p-db5fa164.entry.js → p-e1c017d1.entry.js} +1 -1
  307. package/dist/vega/{p-3ce2b05c.entry.js → p-e4c99b72.entry.js} +1 -1
  308. package/dist/vega/{p-d1cfe972.entry.js → p-e841c1fe.entry.js} +1 -1
  309. package/dist/vega/{p-0572c393.entry.js → p-ea96b0f9.entry.js} +1 -1
  310. package/dist/vega/{p-7425cedc.entry.js → p-eab9d999.entry.js} +1 -1
  311. package/dist/vega/{p-e6cf2ace.entry.js → p-ed9ad4fd.entry.js} +1 -1
  312. package/dist/vega/{p-34bcf4ed.entry.js → p-ef603656.entry.js} +1 -1
  313. package/dist/vega/p-f5fcd13e.entry.js +1 -0
  314. package/dist/vega/{p-6d219c44.entry.js → p-f65cb0b6.entry.js} +1 -1
  315. package/dist/vega/p-faa9a3bd.js +1 -0
  316. package/dist/vega/{p-a8792e3d.js → p-fc049028.js} +1 -1
  317. package/dist/vega/p-ff287001.entry.js +1 -0
  318. package/dist/vega/{p-67745549.entry.js → p-ffb3e479.entry.js} +1 -1
  319. package/dist/vega/p-ffd080db.js +1 -0
  320. package/dist/vega/vega.esm.js +1 -1
  321. package/package.json +1 -1
  322. package/dist/vega/p-43ff48c0.entry.js +0 -1
  323. package/dist/vega/p-464559e3.js +0 -1
  324. package/dist/vega/p-4bee4202.entry.js +0 -1
  325. package/dist/vega/p-5cfce62d.entry.js +0 -1
  326. package/dist/vega/p-60f77f5f.entry.js +0 -1
  327. package/dist/vega/p-641cdb5c.entry.js +0 -1
  328. package/dist/vega/p-6b6f0fb4.js +0 -1
  329. package/dist/vega/p-9441f2ba.entry.js +0 -1
  330. package/dist/vega/p-ac82b9f9.entry.js +0 -1
  331. package/dist/vega/p-b597393b.entry.js +0 -1
  332. package/dist/vega/p-b5f18f4b.entry.js +0 -1
  333. package/dist/vega/p-c3d2f316.js +0 -1
  334. package/dist/vega/p-cc5eaa1b.js +0 -1
  335. package/dist/vega/p-dad3ba5f.js +0 -1
  336. package/dist/vega/p-de64f6e6.js +0 -1
  337. package/dist/vega/p-e7fbef97.js +0 -1
  338. package/dist/vega/p-fc9ac6e9.entry.js +0 -1
@@ -0,0 +1 @@
1
+ import{h as e,H as t,F as i,r as a,c as n,g as r}from"./p-6b2342e0.js";import{s as o}from"./p-519a7d55.js";import{D as s}from"./p-cf6bfac7.js";import{Z as d,Q as h,_ as l,$ as c,a0 as m,a1 as p,a2 as g,a3 as f}from"./p-4d7d5583.js";import{I as x}from"./p-abd7aeaa.js";import{c as v,V as w,L as u,M as y,I as b}from"./p-6e1ab235.js";import{V as _,I as C}from"./p-4415ad28.js";import{F as k}from"./p-fc049028.js";import{a as D,e as I,g as z,D as R}from"./p-6c170474.js";import{D as j,d as S}from"./p-31ac7386.js";import{a as M,q as O,p as P,o as E,N as V,d as L,f as A,V as T,r as Y,s as F}from"./p-d64fab3d.js";import{V as H}from"./p-e1fbfd20.js";import{c as $}from"./p-86194314.js";import{i as B}from"./p-d27ae9ff.js";import{V as N}from"./p-68846f0d.js";import{F as W}from"./p-18e8d9b7.js";import{t as K}from"./p-b75ee3ba.js";import{F as U}from"./p-a528714c.js";import{C as Z}from"./p-2d0d575f.js";import{S as G}from"./p-9a3a5b9e.js";import{S as q}from"./p-7cde8489.js";import{K as J}from"./p-10e51081.js";import{C as Q}from"./p-75b58efe.js";import{c as X}from"./p-02c9796a.js";import{C as ee}from"./p-1a51bf6f.js";import{T as te}from"./p-faa9a3bd.js";import{E as ie}from"./p-ffd080db.js";import{S as ae}from"./p-1fb56e14.js";import{C as ne}from"./p-8187878e.js";import{v as re,w as oe}from"./p-7c39ce96.js";import{O as se}from"./p-331a62d5.js";import{M as de}from"./p-4f146dae.js";import"./p-ed45b3b6.js";import"./p-40f39194.js";import"./p-d884c644.js";import"./p-02841589.js";import"./p-8b5d3a52.js";import"./p-6a334573.js";import"./p-f0e828d8.js";import"./p-021d4ae4.js";import"./p-ab834f06.js";import"./p-78a57a17.js";import"./p-52b8f2d2.js";import"./p-5eb7f382.js";import"./p-e6adf829.js";import"./p-593e0f80.js";import"./p-262ec334.js";import"./p-5a25014f.js";import"./p-c7b9b7c2.js";import"./p-be1a210b.js";import"./p-a17312a6.js";import"./p-b7f3221f.js";import"./p-5f377954.js";import"./p-781fd6e0.js";import"./p-600f7d6c.js";import"./p-0c667d6a.js";class he extends x{canEvaluate(e,t){return t?this.isAcceptedInputType(e)&&!t.disabled&&t.visible:this.isAcceptedInputType(e)}shouldShowError(e){return!e.disabled&&e.visible&&(e.touched||e.modified)}evaluate(e){if(!this.isAcceptedInputType(e))throw new Error(`Unexpected type of input: ${typeof e}: ${e}`);const t=new Date(e[0]),i=new Date(e[1]),a=d(t,i);return{isValid:a,message:a?"":"The end date should be later than start date"}}isAcceptedInputType(e){return Array.isArray(e)&&2===e.length&&e.every(h)}}class le extends x{constructor(e){super(),this.evaluateSingleDate=e=>{const t=new Date(e);return this.minDate&&l(t,this.minDate)?this.invalidResult({key:"The date should be later than {0}",args:[this.config.minDate]}):this.maxDate&&c(t,this.maxDate)?this.invalidResult({key:"The date should be earlier than {0}",args:[this.config.maxDate]}):this.validResult()},this.evaluateRangeDates=e=>{const t=new Date(e[0]),i=new Date(e[1]);return this.minDate&&l(t,this.minDate)?this.invalidResult({key:"The start date should be later than {0}",args:[this.config.minDate]}):this.maxDate&&c(t,this.maxDate)?this.invalidResult({key:"The start date should be earlier than {0}",args:[this.config.maxDate]}):i&&this.maxDate&&c(i,this.maxDate)?this.invalidResult({key:"The end date should be earlier than {0}",args:[this.config.maxDate]}):this.validResult()},this.invalidResult=e=>({isValid:!1,message:e}),this.validResult=()=>({isValid:!0,message:""}),this.config=e,this.minDate=e.minDate?new Date(e.minDate):null,this.maxDate=e.maxDate?new Date(e.maxDate):null}canEvaluate(e,t){return t?this.isAcceptedInputType(e)&&!t.disabled&&t.visible:this.isAcceptedInputType(e)}evaluate(e){if(!this.isAcceptedInputType(e))throw new Error(`Unexpected type of input: ${typeof e}: ${e}`);return"string"==typeof e?this.evaluateSingleDate(e):this.evaluateRangeDates(e)}shouldShowError(e){return!e.disabled&&e.visible&&(e.touched||e.modified)}isAcceptedInputType(e){return"string"==typeof e&&h(e)||Array.isArray(e)&&2===e.length&&e.every(h)}}const ce={"chevron-left":{icon:'<svg width="12" height="16" viewBox="0 0 12 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M1.2937 7.29414C0.903076 7.68477 0.903076 8.31914 1.2937 8.70977L7.2937 14.7098C7.68433 15.1004 8.3187 15.1004 8.70933 14.7098C9.09995 14.3191 9.09995 13.6848 8.70933 13.2941L3.41558 8.00039L8.7062 2.70664C9.09683 2.31602 9.09683 1.68164 8.7062 1.29102C8.31558 0.900391 7.6812 0.900391 7.29058 1.29102L1.29058 7.29102L1.2937 7.29414Z" fill="currentColor"/></svg>'},"chevron-right":{icon:'<svg width="12" height="16" viewBox="0 0 12 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M10.7063 7.29414C11.0969 7.68477 11.0969 8.31914 10.7063 8.70977L4.70627 14.7098C4.31565 15.1004 3.68127 15.1004 3.29065 14.7098C2.90002 14.3191 2.90002 13.6848 3.29065 13.2941L8.5844 8.00039L3.29377 2.70664C2.90315 2.31602 2.90315 1.68164 3.29377 1.29102C3.6844 0.900391 4.31877 0.900391 4.7094 1.29102L10.7094 7.29102L10.7063 7.29414Z" fill="currentColor"/></svg>'},calendar:{icon:'<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_41275_12898)"><path d="M5.75 2H10.25V0.75C10.25 0.335938 10.5844 0 11 0C11.4156 0 11.75 0.335938 11.75 0.75V2H13C14.1031 2 15 2.89531 15 4V14C15 15.1031 14.1031 16 13 16H3C1.89531 16 1 15.1031 1 14V4C1 2.89531 1.89531 2 3 2H4.25V0.75C4.25 0.335938 4.58437 0 5 0C5.41563 0 5.75 0.335938 5.75 0.75V2ZM2.5 7.75H5V6H2.5V7.75ZM2.5 9.25V11.25H5V9.25H2.5ZM6.5 9.25V11.25H9.5V9.25H6.5ZM11 9.25V11.25H13.5V9.25H11ZM13.5 6H11V7.75H13.5V6ZM13.5 12.75H11V14.5H13C13.275 14.5 13.5 14.275 13.5 14V12.75ZM9.5 12.75H6.5V14.5H9.5V12.75ZM5 12.75H2.5V14C2.5 14.275 2.72375 14.5 3 14.5H5V12.75ZM9.5 6H6.5V7.75H9.5V6Z" fill="currentColor"/></g><defs><clipPath id="clip0_41275_12898"><rect width="14" height="16" fill="white" transform="translate(1)"/></clipPath></defs></svg>'},"caret-down":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill="currentColor">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path d="M199 401c9.4 9.4 24.6 9.4 33.9 0L425 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-175 175L41 175c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L199 401z"/></svg>'},"bulls-eye":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path d="M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zM256 368a112 112 0 1 0 0-224 112 112 0 1 0 0 224zm0-272a160 160 0 1 1 0 320 160 160 0 1 1 0-320zm0 176a16 16 0 1 0 0-32 16 16 0 1 0 0 32zm0-80a64 64 0 1 1 0 128 64 64 0 1 1 0-128z"/></svg>'}};var me=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class pe extends w{constructor(){super(...arguments),this.renderInputPrefix=()=>e("div",{class:"vega-input-prefix"},e("vega-icon",{icon:H.getIconKey("calendar"),color:"text-secondary",onClick:async()=>{this.disabled||(await this.focusInput(),await this.vegaDatePickerCalendarRenderer.triggerRepick("start"))}})),this.isInputEnabled=()=>!this.readOnly&&!this.isMobileDevice,this.renderLabel=()=>this.label&&e("vega-field-label",{ref:e=>{j.addUniqueObserverToNode(e,M,(async()=>{await this.focusInput()}))},isFieldRequired:this.required,disabled:this.disabled,label:this.label}),this.focusInput=async()=>{var e,t;null===(e=this.vegaDatePickerSingleInputRenderer.getSingleDateInputRef())||void 0===e||e.focus(),null===(t=this.vegaDatePickerRangeInputRenderer.getStartDateInputRef())||void 0===t||t.focus(),await this.calendarOpenStateController.showCalendar()}}getDatePickerContainer(){return this.datePickerContainer}render(){const i=["vega-input-container",this.size,`${this.mode}-mode`,this.isMobileDevice?"mobile":""];return e(t,{class:{disabled:this.disabled}},this.renderLabel(),e("div",{class:D(i),ref:e=>this.datePickerContainer=e},"range"===this.mode?this.vegaDatePickerRangeInputRenderer.render():this.vegaDatePickerSingleInputRenderer.render()),this.vegaDatePickerCalendarRenderer.render())}}H.register({calendar:ce.calendar}),me([v()],pe.prototype,"disabled",void 0),me([v()],pe.prototype,"size",void 0),me([v()],pe.prototype,"mode",void 0),me([v()],pe.prototype,"label",void 0),me([v()],pe.prototype,"required",void 0),me([v()],pe.prototype,"readOnly",void 0),me([v()],pe.prototype,"autoValidation",void 0),me([v()],pe.prototype,"host",void 0),me([v()],pe.prototype,"isMobileDevice",void 0),me([v()],pe.prototype,"vegaDatePickerSingleInputRenderer",void 0),me([v()],pe.prototype,"vegaDatePickerRangeInputRenderer",void 0),me([v()],pe.prototype,"vegaDatePickerCalendarRenderer",void 0),me([v()],pe.prototype,"calendarOpenStateController",void 0);var ge=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class fe extends w{constructor(){super(...arguments),this.onClickClearIcon=async()=>{this.vegaDatePickerValueController.setValue("range"===this.mode?["",""]:""),await this.calendarOpenStateController.hideCalendar()},this.isClearIconVisible=()=>{if("range"===this.mode){const e=this.vegaDatePickerValueController.getValue();return!this.disabled&&!B(e,["",""])}{const e=this.vegaDatePickerValueController.getValue();return!this.disabled&&Boolean(e.length)}}}renderClearIcon(){return e(i,null,this.showClearIcon&&this.isClearIconVisible()&&e("div",{class:"vega-input-clear-icon",tabIndex:-1,"aria-label":"clear input",role:"button",onClick:this.onClickClearIcon,onKeyDown:$()},e("vega-icon",{icon:"close"})))}}ge([v()],fe.prototype,"disabled",void 0),ge([v()],fe.prototype,"showClearIcon",void 0),ge([v()],fe.prototype,"mode",void 0),ge([v()],fe.prototype,"vegaDatePickerValueController",void 0),ge([v()],fe.prototype,"calendarOpenStateController",void 0);var xe=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class ve extends fe{constructor(){super(...arguments),this.render=()=>e("div",{class:"date-picker-input"},this.vegaDatePickerRenderer.renderInputPrefix(),e("input",{readOnly:!this.vegaDatePickerRenderer.isInputEnabled(),placeholder:this.getSinglePlaceholder(),value:this.vegaDatePickerValueController.getValue(),ref:e=>this.singleDateInputRef=e,onChange:this.onSingleDateChange,disabled:this.disabled,onClick:()=>this.calendarOpenStateController.showCalendar()}),this.renderClearIcon()),this.getSinglePlaceholder=()=>this.placeholder?"string"!=typeof this.placeholder?(u.warn("The placeholder should be a string"),this.format):this.placeholder:this.format,this.onSingleDateChange=e=>{const t=e.currentTarget.value;m.fromString(t,this.format)?this.vegaDatePickerValueController.setValue(this.vegaDatePickerFormatController.formatDate(t)):(this.vegaDatePickerValueController.setValue(""),this.singleDateInputRef.value="",u.warn("The date value of ${date} is invalid"))}}getSingleDateInputRef(){return this.singleDateInputRef}}xe([v()],ve.prototype,"placeholder",void 0),xe([v()],ve.prototype,"format",void 0),xe([v()],ve.prototype,"vegaDatePickerFormatController",void 0),xe([v()],ve.prototype,"vegaDatePickerRenderer",void 0),xe([v()],ve.prototype,"calendarOpenStateController",void 0);var we=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class ue extends fe{constructor(){super(...arguments),this.render=()=>e(i,null,e("div",{class:"date-picker-input"},this.vegaDatePickerRenderer.renderInputPrefix(),e("input",{readOnly:!this.vegaDatePickerRenderer.isInputEnabled(),placeholder:this.getRangePlaceholder()[0],value:this.vegaDatePickerValueController.getValue()[0],ref:e=>this.startDateInputRef=e,onChange:this.onStartDateChange,disabled:this.disabled,onClick:async()=>await this.onInputClicked("start")})),e("span",{class:{"range-input-divider":!0}}),e("div",{class:"date-picker-input"},e("input",{readOnly:!this.vegaDatePickerRenderer.isInputEnabled(),placeholder:this.getRangePlaceholder()[1],value:this.vegaDatePickerValueController.getValue()[1],ref:e=>this.endDateInputRef=e,onChange:this.onEndDateChange,disabled:this.disabled,onClick:async()=>await this.onInputClicked("end")}),this.renderClearIcon())),this.getRangePlaceholder=()=>this.placeholder?Array.isArray(this.placeholder)&&2===this.placeholder.length?this.placeholder:(u.warn("The placeholder should be an array, including start and end placeholder"),["Start Date","End Date"].map((e=>this.translationSlimmer.t(e)))):["Start Date","End Date"].map((e=>this.translationSlimmer.t(e))),this.onStartDateChange=e=>{const t=e.currentTarget.value;m.fromString(t,this.format)?this.vegaDatePickerValueController.setValue([this.vegaDatePickerFormatController.formatDate(t),this.vegaDatePickerValueController.getValue()[1]]):(this.vegaDatePickerValueController.setValue(["",this.vegaDatePickerValueController.getValue()[1]]),this.startDateInputRef.value="",u.warn("The date value of ${date} is invalid"))},this.onEndDateChange=e=>{const t=e.currentTarget.value;m.fromString(t,this.format)?this.vegaDatePickerValueController.setValue([this.vegaDatePickerValueController.getValue()[0],this.vegaDatePickerFormatController.formatDate(t)]):(this.vegaDatePickerValueController.setValue([this.vegaDatePickerValueController.getValue()[0],""]),this.endDateInputRef.value="",u.warn("The date value of ${date} is invalid"))}}getStartDateInputRef(){return this.startDateInputRef}getEndDateInputRef(){return this.endDateInputRef}async onInputClicked(e){await this.calendarOpenStateController.showCalendar(),await this.vegaDatePickerCalendarRenderer.triggerRepick(e)}}we([v()],ue.prototype,"placeholder",void 0),we([v()],ue.prototype,"vegaDatePickerFormatController",void 0),we([v()],ue.prototype,"vegaDatePickerRenderer",void 0),we([v()],ue.prototype,"calendarOpenStateController",void 0),we([v()],ue.prototype,"translationSlimmer",void 0),we([v()],ue.prototype,"allowRepick",void 0),we([v()],ue.prototype,"format",void 0),we([v()],ue.prototype,"vegaDatePickerCalendarRenderer",void 0);var ye=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class be extends w{componentDidLoad(){this.appendCalendarToBodyIfMobile()}getCalendarContentBoxRef(){return this.calendarContentBoxRef}getCalendarRef(){return this.calendarRef}getMobileModalRef(){return this.mobileModalRef}async triggerRepick(e){this.allowRepick&&"range"===this.mode&&await this.calendarRef.triggerRepick(e)}render(){return this.isMobileDevice?this.mobileRender():this.renderCalendar()}mobileRender(){return e("vega-modal",{showCloseButton:!1,size:be.calendarModalSize,padding:"0",isVerticallyCentered:!0,backdropColor:"semi",ref:e=>{this.mobileModalRef=e,this.addModalObserver(e)}},e("div",{slot:"modal-content"},this.renderCalendar()))}renderCalendar(){return e("vega-box",{padding:{default:"size-12",S:"size-32"},corners:"rounded-12",backgroundColor:"bg-primary",shadow:"shadow-dropdown-menu",border:"border-input-field",ref:e=>{this.calendarContentBoxRef=e},class:"date-picker-content-box"},e("vega-box",{width:this.getDefaultCalendarDimension("width"),height:this.getDefaultCalendarDimension("height")},e("vega-date-picker-calendar",{selection:this.value,mode:this.mode,minDate:this.minDate,maxDate:this.maxDate,clearButton:this.clearButton,format:this.format,staticHeight:!1!==this.dropdownConfig.staticHeight,showYearMonthDropdowns:this.showYearMonthDropdowns,timezone:this.timezone,yearMonthDropdownProps:{isScreenPosition:W.isEnabled("VEGA_DATE_PICKER.ENABLE_CALCULATION_POSITION_BY_SCREEN")},ref:e=>{this.calendarRef=e,this.addCalendarObserver(e)},isDateDisabled:e=>this.isDateDisabled(e)})))}addCalendarObserver(e){j.addUniqueObserverToNode(e,O,(async e=>{await this.onCalendarSelected(e.detail)})),j.addUniqueObserverToNode(e,P,(async()=>{await this.calendarOpenStateController.hideCalendar()})),j.addUniqueObserverToNode(e,E,(async e=>{this.monthYearChangeEventEmitter.emit(e.detail)}))}addModalObserver(e){j.addUniqueObserverToNode(e,V,(()=>{this.calendarOpenStateController.updateIsCalendarShowState(!0)})),j.addUniqueObserverToNode(e,L,(()=>{this.calendarOpenStateController.updateIsCalendarShowState(!1)}))}async onCalendarSelected(e){("single"===this.mode||"range"===this.mode)&&this.vegaDatePickerValueController.setValue(e),this.isCalendarShow&&await this.calendarOpenStateController.hideCalendar()}appendCalendarToBodyIfMobile(){const e=K();this.isMobileDevice&&e&&e.body.append(this.mobileModalRef)}getDefaultCalendarDimension(e){if("height"===e&&!1===this.dropdownConfig.staticHeight)return"auto";let t=("range"!==this.mode||this.isMobileDevice?be.regularDatePickerCalendarDimensionsForSingle:be.regularDatePickerCalendarDimensionsForRange)[e];return"height"===e&&this.clearButton&&(t+=40),`${t}px`}}be.calendarModalSize=344,be.regularDatePickerCalendarDimensionsForSingle={width:280,height:320},be.regularDatePickerCalendarDimensionsForRange={width:608,height:358},ye([v()],be.prototype,"format",void 0),ye([v()],be.prototype,"value",void 0),ye([v()],be.prototype,"mode",void 0),ye([v()],be.prototype,"minDate",void 0),ye([v()],be.prototype,"maxDate",void 0),ye([v()],be.prototype,"clearButton",void 0),ye([v()],be.prototype,"dropdownConfig",void 0),ye([v()],be.prototype,"showYearMonthDropdowns",void 0),ye([v()],be.prototype,"timezone",void 0),ye([v()],be.prototype,"isMobileDevice",void 0),ye([v()],be.prototype,"isCalendarShow",void 0),ye([v()],be.prototype,"isDateDisabled",void 0),ye([v()],be.prototype,"allowRepick",void 0),ye([v()],be.prototype,"monthYearChangeEventEmitter",void 0),ye([v()],be.prototype,"vegaDatePickerValueController",void 0),ye([v()],be.prototype,"calendarOpenStateController",void 0),ye([y("componentDidLoad")],be.prototype,"componentDidLoad",null);var _e=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Ce extends w{componentWillLoad(){this.value&&this.valueGuard(this.value)||this.setDefaultValueByMode()}watchValue(e,t){"range"===this.mode&&B(e,t)||(this.valueGuard(e)||this.setDefaultValueByMode(),this.changeEventEmitter.emit(this.value),Z.notify(U,{host:this.host,detail:this.value}))}watchMode(){this.setDefaultValueByMode()}getValue(){return this.valueGuard(this.value),this.value}setValue(e){this.valueGuard(e)&&(this.value=e)}setDefaultValueByMode(){"range"===this.mode&&this.setValue(["",""]),"single"===this.mode&&this.setValue("")}valueGuard(e){let t;switch(this.mode){case"single":t=e&&"string"==typeof e&&!!m.fromString(e,this.format)||""===e;break;case"range":t=Array.isArray(e)&&2===e.length&&e.every((e=>!!m.fromString(e,this.format)||""===e))}return t||u.warn(`Invalid date picker value ${e} for ${this.mode} mode`),t}}_e([v({writable:!0})],Ce.prototype,"value",void 0),_e([v()],Ce.prototype,"mode",void 0),_e([v()],Ce.prototype,"format",void 0),_e([v()],Ce.prototype,"changeEventEmitter",void 0),_e([v()],Ce.prototype,"host",void 0),_e([v()],Ce.prototype,"isCalendarShow",void 0),_e([v()],Ce.prototype,"vegaDatePickerCalendarRenderer",void 0),_e([v()],Ce.prototype,"calendarOpenStateController",void 0),_e([y("componentWillLoad")],Ce.prototype,"componentWillLoad",null),_e([y("watchValue")],Ce.prototype,"watchValue",null),_e([y("watchMode")],Ce.prototype,"watchMode",null);var ke=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class De extends q{constructor(e){super(),this.formatDate=e=>m.fromString(e,this.format).toString(this.format),this.getInputElementRef=()=>{switch(this.inputType){case"single":return this.vegaDatePickerSingleInputRenderer.getSingleDateInputRef();case"rangeStart":return this.vegaDatePickerRangeInputRenderer.getStartDateInputRef();case"rangeEnd":return this.vegaDatePickerRangeInputRenderer.getEndDateInputRef()}},this.getInputModeStrategy=()=>this.datePickerFormatStrategy,this.getBlurModeStrategy=()=>null,this.getDateFormatMask=e=>{const t=e.match(/M/gi);return new G({mask:e.replace(/[MDY]/gi,"9"),slot:"9",accept:(t&&t.length)>2?/\w/g:/\d/g})},this.inputType=e}componentDidLoad(){this.setupStringFormatter(this.format)}watchFormat(e){this.setupStringFormatter(e)}setupStringFormatter(e){this.datePickerFormatStrategy=this.getDateFormatMask(e),this.setup()}}ke([v()],De.prototype,"format",void 0),ke([v()],De.prototype,"mode",void 0),ke([v()],De.prototype,"vegaDatePickerCalendarRenderer",void 0),ke([v()],De.prototype,"vegaDatePickerSingleInputRenderer",void 0),ke([v()],De.prototype,"vegaDatePickerRangeInputRenderer",void 0),ke([y("componentDidLoad")],De.prototype,"componentDidLoad",null),ke([y("watchFormat")],De.prototype,"watchFormat",null);var Ie=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class ze extends J{constructor(){super((e=>[{keyCode:"Enter",activeElementInScope:()=>[e.vegaDatePickerSingleInputRenderer.getSingleDateInputRef(),e.vegaDatePickerRangeInputRenderer.getStartDateInputRef(),e.vegaDatePickerRangeInputRenderer.getEndDateInputRef(),e.vegaDatePickerCalendarRenderer.getCalendarContentBoxRef()],eventName:"keydown",callback:e=>{var t;const i=(null===(t=e.target.shadowRoot)||void 0===t?void 0:t.activeElement)||e.target;return null==i?void 0:i.click()}}]))}}Ie([v()],ze.prototype,"vegaDatePickerCalendarRenderer",void 0),Ie([v()],ze.prototype,"vegaDatePickerSingleInputRenderer",void 0),Ie([v()],ze.prototype,"vegaDatePickerRangeInputRenderer",void 0);const Re=[{payloadKey:"AUTO_VALIDATION_IS_TRUE",payloadDescription:"Determines whether automatic validation should be implemented when a date or range is selected",payloadValue:e=>!0===e.autoValidation},{payloadKey:"AUTO_VALIDATION_IS_FALSE",payloadDescription:"Determines whether automatic validation should be implemented when a date or range is selected",payloadValue:e=>!1===e.autoValidation},{payloadKey:"MODE_IS_SINGLE",payloadDescription:"Specifies the selection mode of the date picker. Use `single` to allow selecting a single date",payloadValue:e=>"single"===e.mode},{payloadKey:"MODE_IS_RANGE",payloadDescription:"Specifies the selection mode of the date picker. Use `range` to allow selecting a date range",payloadValue:e=>"range"===e.mode}];var je=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Se extends ie{constructor(){super((()=>({target:this.vegaDatePickerRenderer.getDatePickerContainer(),appendableElement:this.vegaDatePickerCalendarRenderer.getCalendarContentBoxRef(),positionRelativeTo:this.dropdownConfig.positionRelativeTo,translocation:{X:0,Y:8},placement:["bottom","top"],alignment:["start","end"],isScreenPosition:W.isEnabled("VEGA_DATE_PICKER.ENABLE_CALCULATION_POSITION_BY_SCREEN")})),(()=>new ne),"isCalendarShow"),this.clearCalendarStateTaskQueue=new ae}connectedCallback(){this.isMobileDevice||super.connectedCallback()}disconnectedCallback(){this.isMobileDevice||super.disconnectedCallback()}componentDidLoad(){this.isMobileDevice||super.componentDidLoad()}async componentDidRender(){await this.clearCalendarStateTaskQueue.runTask()}async doOpen(){await this.showCalendar()}async doClose(){await this.hideCalendar()}async watchDisabled(){await this.hideCalendar()}async watchIsCalendarShow(){await this.clearCalendarSelectingState()}async showCalendar(){this.isMobileDevice?await this.vegaDatePickerCalendarRenderer.getMobileModalRef().modal("show"):this.show()}async hideCalendar(){this.isMobileDevice?await this.vegaDatePickerCalendarRenderer.getMobileModalRef().modal("hide"):this.hide(),this.focusContainerWithAnnouncement()}updateIsCalendarShowState(e){this.isCalendarShow=e}focusContainerWithAnnouncement(){const e=I();if((null==e?void 0:e.matches)&&e.matches(":focus-visible")){const e=this.vegaDatePickerRenderer.getDatePickerContainer();if(e){const t=this.buildAriaAnnouncement(this.value);e.setAttribute("role","group"),e.setAttribute("aria-label",t),e.setAttribute("tabindex","-1"),e.addEventListener("blur",(()=>{e.removeAttribute("role"),e.removeAttribute("aria-label"),e.removeAttribute("tabindex")}),{once:!0}),setTimeout((()=>e.focus()),0)}}}buildAriaAnnouncement(e){let t=null,i=null;return"single"===this.mode&&"string"==typeof e?t=e?m.fromString(e,this.format):null:"range"===this.mode&&Array.isArray(e)&&(t=e[0]?m.fromString(e[0],this.format):null,i=e[1]?m.fromString(e[1],this.format):null),`\n\t\t\t${p({startDate:t,endDate:i,mode:this.mode})},\n\t\t\t${N.t("date picker")}\n\t\t`}async clearCalendarSelectingState(){if(!this.isCalendarShow){const e=this.vegaDatePickerCalendarRenderer.getCalendarRef();await this.clearCalendarStateTaskQueue.enqueue({run:async()=>await e.reset()},!1)}}}je([v()],Se.prototype,"dropdownConfig",void 0),je([v()],Se.prototype,"vegaDatePickerRenderer",void 0),je([v()],Se.prototype,"vegaDatePickerCalendarRenderer",void 0),je([v()],Se.prototype,"value",void 0),je([v()],Se.prototype,"format",void 0),je([v()],Se.prototype,"mode",void 0),je([v({writable:!0})],Se.prototype,"isCalendarShow",void 0),je([v()],Se.prototype,"isMobileDevice",void 0),je([y("componentDidRender")],Se.prototype,"componentDidRender",null),je([y("doOpen")],Se.prototype,"doOpen",null),je([y("doClose")],Se.prototype,"doClose",null),je([y("watchDisabled")],Se.prototype,"watchDisabled",null),je([y("watchIsCalendarShow")],Se.prototype,"watchIsCalendarShow",null);var Me=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};const Oe=class{constructor(e){a(this,e),this.vegaChange=n(this,"vegaChange",7),this.change=n(this,"change",7),this.vegaMonthYearChange=n(this,"vegaMonthYearChange",7),this.monthYearChange=n(this,"monthYearChange",7),this.globalSlimmers={},this.translationSlimmer=new te,this.calendarOpenStateController=new Se,this.vegaDatePickerValueController=new Ce,this.vegaDatePickerFormatController=new De("single"),this.startInputFormatController=new De("rangeStart"),this.endInputFormatController=new De("rangeEnd"),this.vegaDatePickerKeyboardController=new ze,this.vegaDatePickerRenderer=new pe,this.vegaDatePickerSingleInputRenderer=new ve,this.vegaDatePickerRangeInputRenderer=new ue,this.vegaDatePickerCalendarRenderer=new be,this.formFieldController=new k({propertyRules:[{propertyName:"required",ruleFactory:(e,t)=>e?new s({mode:t}):null,dependence:"mode"},{propertyName:"mode",ruleFactory:e=>"range"===e?new he:null},{propertyName:"minDate",ruleFactory:(e,t)=>new le({minDate:e,maxDate:t}),dependence:"maxDate"},{propertyName:"maxDate",ruleFactory:(e,t)=>new le({minDate:t,maxDate:e}),dependence:"minDate"}],validationRulesName:"validationRules",defaultValue:e=>"range"===e.mode?["",""]:"",attributeGetter:e=>this[e],inputContainerGetter:()=>this.vegaDatePickerRenderer.getDatePickerContainer(),touchableAreaGetter:()=>[this.vegaDatePickerSingleInputRenderer.getSingleDateInputRef(),this.vegaDatePickerRangeInputRenderer.getStartDateInputRef(),this.vegaDatePickerRangeInputRenderer.getEndDateInputRef()].filter(Boolean)}),this.changeEventEmitter=X(Oe,A),this.monthYearChangeEventEmitter=X(Oe,E),this.inputEventPrevent=new ee([A,P,E],(()=>this.vegaDatePickerCalendarRenderer.getCalendarRef())),this.vegaComponentUsageRuntimeMetricsSlimmer=new _(Re),this.isMobileDevice=z()===R.MOBILE,this.isCalendarShow=!1,this.mode="single",this.value="range"===this.mode?["",""]:"",this.required=!1,this.isValid=null,this.autoValidation=!0,this.format="MM/DD/YYYY",this.size="default",this.validationRules=[],this.clearButton=!1,this.readOnly=!1,this.allowRepick=!1,this.dropdownConfig={},this.showClearIcon=!0,this.showYearMonthDropdowns=!1,this.disabled=!1,this.isDateDisabled=()=>!1}watchIsCalendarShow(){}watchMode(){}watchValue(e,t){}watchFormat(e){}watchValidationRules(){}watchMinDate(e){}watchMaxDate(e){}watchAllowRepick(){}watchShowYearMonthDropdowns(){}watchDisabled(){}async doClose(){}async doOpen(){}render(){return o(this.vegaDatePickerRenderer.render(),this.host)}get host(){return r(this)}static get watchers(){return{isCalendarShow:["watchIsCalendarShow"],mode:["watchMode"],value:["watchValue"],format:["watchFormat"],validationRules:["watchValidationRules"],minDate:["watchMinDate"],maxDate:["watchMaxDate"],allowRepick:["watchAllowRepick"],showYearMonthDropdowns:["watchShowYearMonthDropdowns"],disabled:["watchDisabled"]}}};Me([C()],Oe.prototype,"globalSlimmers",void 0),Me([b()],Oe.prototype,"translationSlimmer",void 0),Me([b()],Oe.prototype,"calendarOpenStateController",void 0),Me([b()],Oe.prototype,"vegaDatePickerValueController",void 0),Me([b()],Oe.prototype,"vegaDatePickerFormatController",void 0),Me([b()],Oe.prototype,"startInputFormatController",void 0),Me([b()],Oe.prototype,"endInputFormatController",void 0),Me([b()],Oe.prototype,"vegaDatePickerKeyboardController",void 0),Me([b()],Oe.prototype,"vegaDatePickerRenderer",void 0),Me([b()],Oe.prototype,"vegaDatePickerSingleInputRenderer",void 0),Me([b()],Oe.prototype,"vegaDatePickerRangeInputRenderer",void 0),Me([b()],Oe.prototype,"vegaDatePickerCalendarRenderer",void 0),Me([b()],Oe.prototype,"formFieldController",void 0),Me([b()],Oe.prototype,"changeEventEmitter",void 0),Me([b()],Oe.prototype,"monthYearChangeEventEmitter",void 0),Me([b()],Oe.prototype,"inputEventPrevent",void 0),Me([b()],Oe.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),Me([Q()],Oe.prototype,"watchValue",null),Oe.style=':host{display:inline-block;width:100%;text-align:left;line-height:normal}:host vega-field-label{margin-bottom:8px}:host .vega-input-container{position:relative;display:block;border-radius:8px;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1));display:flex;align-items:center}:host .vega-input-container:hover{border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1))}:host .vega-input-container .date-picker-input{padding-left:16px;padding-right:16px;width:100%;box-sizing:border-box;display:flex;align-items:center}:host .vega-input-container.default .date-picker-input{padding-left:16px;padding-right:16px}:host .vega-input-container.small .date-picker-input{padding-left:12px;padding-right:12px}:host .vega-input-container.default .date-picker-input input{padding-top:12px;padding-bottom:12px}:host .vega-input-container.small .date-picker-input input{padding-top:8px;padding-bottom:8px}:host .vega-input-container.error{border:1px solid rgba(var(--v-border-input-field-danger, 230, 50, 87, 1))}:host .vega-input-container.error:hover{border:1px solid rgba(var(--v-border-input-field-danger-hover, 255, 87, 114, 1))}:host .vega-input-container.single-mode.error:focus-within,:host .vega-input-container.range-mode.error .date-picker-input:focus-within{outline:2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));outline-offset:3px;border:1px solid rgba(var(--v-border-color-input-field-danger-focus, 233, 71, 104, 1));border-radius:8px}:host .vega-input-container.range-mode.error .date-picker-input:first-of-type:focus-within{margin:-1px 0 -1px -1px}:host .vega-input-container.range-mode.error .date-picker-input:last-of-type:focus-within{margin:-1px -1px -1px 0}:host .vega-input-container.single-mode:not(.error):focus-within,:host .vega-input-container.range-mode:not(.error) .date-picker-input:focus-within{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:3px;border:1px solid rgba(var(--v-border-color-input-field-focus, 19, 98, 226, 1));border-radius:8px}:host .vega-input-container.range-mode .date-picker-input:first-of-type:focus-within{margin:-1px 0 -1px -1px}:host .vega-input-container.range-mode .date-picker-input:last-of-type:focus-within{margin:-1px -1px -1px 0}:host .vega-input-container input{width:100%;box-sizing:content-box;border-width:0px;margin:0px;outline:2px solid transparent;outline-offset:2px;background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0));font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px;color:rgba(var(--v-text-primary, 32, 54, 69, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-input-container input{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .vega-input-container input{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .vega-input-container input{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host .vega-input-container input::placeholder{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px;color:rgba(var(--v-text-input-placeholder, 176, 180, 181, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-input-container input::placeholder{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .vega-input-container input::placeholder{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .vega-input-container input::placeholder{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host .vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px;color:rgba(var(--v-text-error, 189, 41, 71, 1));display:block;padding-left:8px;padding-right:8px;padding-top:12px}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}:host .vega-hidden{display:none}.vega-input-clear-icon{width:16px;height:16px;cursor:pointer;color:rgba(var(--v-text-secondary, 107, 116, 125, 1))}.vega-input-clear-icon vega-icon{min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content;flex-shrink:0}:host .range-input-divider{width:1px;height:24px;border-style:solid;border-right-width:1px;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;border-color:rgba(var(--v-border-color-divider, 171, 198, 216, 1))}:host .vega-input-container.range-mode.mobile .range-input-divider{width:100%;height:1px;border-style:solid;border-right-width:0px;border-top-width:1px;border-bottom-width:0px;border-left-width:0px;border-color:rgba(var(--v-border-color-divider, 171, 198, 216, 1))}:host .vega-input-prefix{display:flex;margin-right:8px}:host .vega-input-container.range-mode.mobile.small .vega-input-prefix{margin-right:8px}:host .vega-input-container.range-mode.mobile{flex-direction:column}:host .vega-input-container.range-mode.mobile .date-picker-input:last-of-type{padding-left:40px}:host .vega-input-container.range-mode.mobile.small .date-picker-input:last-of-type{padding-left:36px}:host(.disabled) .vega-input-container{background-color:rgba(var(--v-bg-secondary, 245, 247, 247, 1));border:1px solid rgba(var(--v-border-input-field-disabled, 222, 225, 227, 1));--tw-shadow:0 0 #0000;box-shadow:rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px}:host(.disabled) .vega-input-container:hover{border:1px solid rgba(var(--v-border-input-field-disabled, 222, 225, 227, 1))}:host(.disabled) .vega-input-container input{color:rgba(var(--v-text-input-disabled, 107, 116, 125, 1))}';var Pe=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Ee extends w{render(){return e("div",{class:{calendar:!0,"static-height":this.staticHeight}},e("div",{class:"container__main"},this.headerRenderer.render(),this.renderContainer(),this.renderFooter()),e("div",{class:"aria-announcement","aria-live":"polite","aria-atomic":"true"},this.buildAnnouncement()))}renderContainer(){const t=this.shouldRenderRangeMonth();return e("div",{class:{container__months:!0,"columns-2":t}},t?this.renderRangeMonth():this.monthItemRenderer.render("start"))}renderRangeMonth(){return e(i,null,this.monthItemRenderer.render("start"),this.monthItemRenderer.render("end"))}renderFooter(){return this.clearButton&&e("div",{class:"footer-container"},e("vega-button-link",{ref:e=>{j.addUniqueObserverToNode(e,M,(()=>{this.clearCalendar()}))},label:this.translationSlimmer.t("Clear")}))}shouldRenderRangeMonth(){return"range"===this.mode&&!this.isMobileDevice}clearCalendar(){this.clearEventEmitter.emit(),Z.notify(S.getSubject(this.host,re),{})}buildAnnouncement(){const{startDate:e,endDate:t}=this.calendarSelection;return p({mode:this.mode,startDate:e,endDate:t})}}Pe([v()],Ee.prototype,"host",void 0),Pe([v()],Ee.prototype,"clearButton",void 0),Pe([v()],Ee.prototype,"calendarSelection",void 0),Pe([v()],Ee.prototype,"monthItemRenderer",void 0),Pe([v()],Ee.prototype,"staticHeight",void 0),Pe([v()],Ee.prototype,"translationSlimmer",void 0),Pe([v()],Ee.prototype,"mode",void 0),Pe([v()],Ee.prototype,"clearEventEmitter",void 0),Pe([v()],Ee.prototype,"isMobileDevice",void 0),Pe([v()],Ee.prototype,"headerRenderer",void 0);const Ve=["January","February","March","April","May","June","July","August","September","October","November","December"];var Le=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Ae extends w{render(){return("range"!==this.mode||this.showYearMonthDropdowns||this.isMobileDevice)&&e("vega-flex",{justifyContent:"center"},this.showYearMonthDropdowns?this.renderMonthDropdownSwitcher():this.renderCurrentMonth(),this.showYearMonthDropdowns?this.renderYearDropdownSwitcher():this.renderCurrentYear())}getMonthDropdownOptions(){const e=this.currentPeriod.current.year;return Ve.map(((t,i)=>({key:`${i}`,label:this.translationSlimmer.t(t),disabled:this.isDisabledMonth(e,i+1)})))}isDisabledMonth(e,t){var i,a,n,r;const o=null===(i=this.minCalendarDate)||void 0===i?void 0:i.month,s=null===(a=this.minCalendarDate)||void 0===a?void 0:a.year,d=null===(n=this.maxCalendarDate)||void 0===n?void 0:n.month,h=null===(r=this.maxCalendarDate)||void 0===r?void 0:r.year;return e<s||e>h||e===s&&o>t||e===h&&d<t}getYearDropdownOptions(){var e,t,i,a;const n=(new Date).getFullYear(),r=(null===(e=this.minCalendarDate)||void 0===e?void 0:e.year)||Math.min((null===(t=this.maxCalendarDate)||void 0===t?void 0:t.year)||n,n)-Ae.DEFAULT_MINIMUM_DROPDOWN_YEAR_BEFORE_CURRENT_YEAR,o=(null===(i=this.maxCalendarDate)||void 0===i?void 0:i.year)||Math.max((null===(a=this.minCalendarDate)||void 0===a?void 0:a.year)||n,n)+Ae.DEFAULT_MINIMUM_DROPDOWN_YEAR_AFTER_CURRENT_YEAR,s=[];for(let e=r;e<=o;e++)s.push({key:String(e),label:String(e)});return s}renderMonthDropdownSwitcher(){const{month:t}=this.currentPeriod.current,i=t-1;return e("vega-dropdown",{trigger:"click",selectType:"single",source:this.getMonthDropdownOptions(),selectedSourceKey:i.toString(),"max-height":"300",isScreenPosition:this.yearMonthDropdownProps.isScreenPosition,ref:e=>{this.onDropdownShowOrHide(e),j.addUniqueObserverToNode(e,T,(e=>{const t=parseInt(e.detail);this.setDateBasedOnSelectedMonth(t)}))}},this.renderCurrentMonth())}renderYearDropdownSwitcher(){const{year:t}=this.currentPeriod.current;return e("vega-dropdown",{trigger:"click",selectType:"single",source:this.getYearDropdownOptions(),selectedSourceKey:t.toString(),"max-height":"300",isScreenPosition:this.yearMonthDropdownProps.isScreenPosition,ref:e=>{this.onDropdownShowOrHide(e),j.addUniqueObserverToNode(e,T,(e=>{this.setDateBasedOnSelectedYear(parseInt(e.detail))}))}},this.renderCurrentYear())}onDropdownShowOrHide(e){j.addUniqueObserverToNode(e,Y,(async()=>{e.classList.add("active")})),j.addUniqueObserverToNode(e,F,(()=>{const t=e.closest(".calendar");if(t){const e=t.querySelector("vega-dropdown.active");e&&e.classList.remove("active")}}))}renderCurrentMonth(){const t=this.translationSlimmer.t(this.currentPeriod.current.getMonthName());return"small"===this.size&&this.showYearMonthDropdowns?e("vega-button-link",{class:"small-month-item-name",size:"small",label:t}):e("div",{class:"month-item-name",role:this.showYearMonthDropdowns?"button":void 0,tabIndex:this.showYearMonthDropdowns?0:void 0,"aria-label":this.showYearMonthDropdowns?t:void 0,onKeyDown:this.showYearMonthDropdowns?$():void 0},e("span",null,t),this.renderDropdownSwitchIcon())}renderCurrentYear(){const t=this.currentPeriod.current.year.toString();return"small"===this.size&&this.showYearMonthDropdowns?e("vega-button-link",{class:"small-month-item-year",size:"small",label:t}):e("div",{class:"month-item-year",role:this.showYearMonthDropdowns?"button":void 0,tabIndex:this.showYearMonthDropdowns?0:void 0,"aria-label":this.showYearMonthDropdowns?t:void 0,onKeyDown:this.showYearMonthDropdowns?$():void 0},e("span",null,t),this.renderDropdownSwitchIcon())}renderDropdownSwitchIcon(){return this.showYearMonthDropdowns&&e("vega-icon",{icon:H.getIconKey("caret-down"),color:"text-link"})}setDateBasedOnSelectedMonth(e){const{year:t}=this.currentPeriod.current,i=new Date(t,e,1),a=new g(m.from(i));this.currentPeriodController.updateCalendarPeriod(a)}setDateBasedOnSelectedYear(e){const{month:t}=this.currentPeriod.current,i=new Date(e,t-1,1),a=new g(m.from(i));this.currentPeriodController.updateCalendarPeriod(a)}}H.register({"caret-down":ce["caret-down"]}),Ae.DEFAULT_MINIMUM_DROPDOWN_YEAR_BEFORE_CURRENT_YEAR=10,Ae.DEFAULT_MINIMUM_DROPDOWN_YEAR_AFTER_CURRENT_YEAR=10,Le([v()],Ae.prototype,"currentPeriodController",void 0),Le([v()],Ae.prototype,"showYearMonthDropdowns",void 0),Le([v()],Ae.prototype,"translationSlimmer",void 0),Le([v()],Ae.prototype,"minCalendarDate",void 0),Le([v()],Ae.prototype,"maxCalendarDate",void 0),Le([v()],Ae.prototype,"yearMonthDropdownProps",void 0),Le([v()],Ae.prototype,"currentPeriod",void 0),Le([v()],Ae.prototype,"size",void 0),Le([v()],Ae.prototype,"mode",void 0),Le([v()],Ae.prototype,"isMobileDevice",void 0);var Te=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Ye extends w{connectedCallback(){this.initCalendarClearObserver()}disconnectedCallback(){this.removeCalendarClearObserver()}initCalendarClearObserver(){this.calendarClearObserver=new se(this.canAcceptClearEvent.bind(this),this.clear.bind(this)),Z.register(S.getSubject(this.host,re),this.calendarClearObserver)}removeCalendarClearObserver(){Z.unregister(S.getSubject(this.host,re),this.calendarClearObserver)}canAcceptClearEvent(){return!0}}Te([v()],Ye.prototype,"host",void 0),Te([y("connectedCallback")],Ye.prototype,"connectedCallback",null),Te([y("disconnectedCallback")],Ye.prototype,"disconnectedCallback",null);var Fe=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class He extends Ye{connectedCallback(){super.connectedCallback(),this.initCalendarPeriodUpdateObserver()}disconnectedCallback(){super.disconnectedCallback(),this.removeCalendarPeriodUpdateObserver()}componentWillLoad(){this.setCurrentMonthPeriod()}watchMaxCalendarDate(){this.setCurrentMonthPeriod()}watchMinCalendarDate(){this.setCurrentMonthPeriod()}watchCurrentPeriod(){this.monthYearChangeEventEmitter.emit(this.getCurrentYearMonthByPeriod())}resetCurrentPeriod(){this.setCurrentMonthPeriod()}clear(){this.setCurrentMonthPeriod()}gotoNextPeriod(){const e=this.isRangeView()?this.currentPeriod.next().next():this.currentPeriod.next();this.updateCalendarPeriod(e)}gotoPreviousPeriod(){const e=this.isRangeView()?this.currentPeriod.previous().previous():this.currentPeriod.previous();this.updateCalendarPeriod(e)}updateCalendarPeriod(e){this.currentPeriod&&this.currentPeriod.equal(e)||(this.currentPeriod=e)}setCurrentMonthPeriod(){let e;const t=this.calendarSelection.startDate;e=f(t)?t:this.minCalendarDate&&(this.today.isBefore(this.minCalendarDate)||this.maxCalendarDate&&this.today.isAfter(this.maxCalendarDate))?this.minCalendarDate:this.maxCalendarDate&&this.today.isAfter(this.maxCalendarDate)?this.maxCalendarDate:this.today,this.updateCalendarPeriod(new g(e,!0,this.timezone))}isRangeView(){return"range"===this.mode&&!this.isMobileDevice}getCurrentYearMonthByPeriod(){const e={month:Ve[this.currentPeriod.current.month-1],year:`${this.currentPeriod.current.year}`};return"range"===this.mode?[e,{month:Ve[this.currentPeriod.endDate.month-1],year:`${this.currentPeriod.endDate.year}`}]:e}initCalendarPeriodUpdateObserver(){j.addUniqueObserverToNode(this.host,oe,this.setCurrentMonthPeriod.bind(this))}removeCalendarPeriodUpdateObserver(){j.removeUniqueObserverFromNode(this.host,oe)}}Fe([v({writable:!0})],He.prototype,"currentPeriod",void 0),Fe([v()],He.prototype,"host",void 0),Fe([v()],He.prototype,"today",void 0),Fe([v()],He.prototype,"mode",void 0),Fe([v()],He.prototype,"format",void 0),Fe([v()],He.prototype,"timezone",void 0),Fe([v()],He.prototype,"minCalendarDate",void 0),Fe([v()],He.prototype,"maxCalendarDate",void 0),Fe([v()],He.prototype,"isMobileDevice",void 0),Fe([v()],He.prototype,"monthYearChangeEventEmitter",void 0),Fe([v()],He.prototype,"calendarSelection",void 0),Fe([y("connectedCallback")],He.prototype,"connectedCallback",null),Fe([y("disconnectedCallback")],He.prototype,"disconnectedCallback",null),Fe([y("componentWillLoad")],He.prototype,"componentWillLoad",null),Fe([y("watchMaxCalendarDate")],He.prototype,"watchMaxCalendarDate",null),Fe([y("watchMinCalendarDate")],He.prototype,"watchMinCalendarDate",null),Fe([y("watchCurrentPeriod")],He.prototype,"watchCurrentPeriod",null),Fe([y("reset")],He.prototype,"resetCurrentPeriod",null);var $e=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Be extends w{connectedCallback(){this.setToday()}watchTimezone(){this.setToday()}setToday(){this.today=m.from(new Date,this.timezone)}}$e([v()],Be.prototype,"timezone",void 0),$e([v({writable:!0})],Be.prototype,"today",void 0),$e([y("connectedCallback")],Be.prototype,"connectedCallback",null),$e([y("watchTimezone")],Be.prototype,"watchTimezone",null);var Ne=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class We extends w{constructor(){super(...arguments),this.monthViewGenerator=new de}render(t){const i="end"===t?this.currentPeriod.next():this.currentPeriod,a=this.monthViewGenerator.generate(i);return e("div",{class:"month-item"},this.renderCurrentYearMonth(i),this.renderWeek(a),this.renderDays(a,i))}renderCurrentYearMonth(t){return"range"===this.mode&&!this.isMobileDevice&&e("vega-box",{class:"current-month-year"},this.translationSlimmer.t(t.current.getMonthName())," ",t.current.year)}renderWeek(t){return e("vega-grid",{class:"month-item-weekdays-row",column:"7-auto",row:1},t.weekdays.map((t=>{const i=this.translationSlimmer.t(`${t}-full`);return e("div",{key:t,role:"columnheader","aria-label":i},this.translationSlimmer.t(`${t}-short`))})))}renderDays(t,i){return e("vega-grid",{class:"container__days",column:"7-auto",row:this.staticHeight?6:"6-auto"},t.dateItems.flat().filter((e=>e.month<=i.current.month||e.year<i.current.year)).map((e=>this.renderItem(e,i))))}renderItem(e,t){const i=this.dateIndicator(e.toDate()),a=this.renderDay(e,t);return i&&i.text?this.renderDayWithIndicator(i,a):a}renderDayWithIndicator(t,i){return e("vega-tooltip",Object.assign({},t),i)}renderDay(t,i){const a=t.month===i.current.month,n=this.isBeforeMinDate(t)||this.isAfterMaxDate(t),r=this.getCurrentRangeDates(),o=this.isDateDisabled(t.toDate()),s=t.isAfter(r[0])&&t.isBefore(r[1]),d=a&&!n&&!o;return e("div",{key:`${t.month}-${t.date}`,class:a&&{"day-item":!0,"is-today":t.equal(this.today),"is-start-date":t.equal(r[0]),"is-in-range":s,"is-end-date":t.equal(r[1]),"is-locked":n,"is-disabled":o},onClick:()=>d&&this.selectionController.onDayClick(t),onMouseEnter:()=>d&&this.selectionController.onDayHover(t),onKeyDown:$(),role:"menuitem","aria-label":`${t.getMonthName()} ${t.date} ${t.year}`,"aria-hidden":a?void 0:"true","aria-disabled":n||o?"true":void 0,tabIndex:d?0:-1},e("div",{class:"day-content"},a?t.date:""))}getCurrentRangeDates(){const e=this.calendarSelection.startDate,t=this.calendarSelection.endDate;return f(e)&&!t&&this.hoverDate?this.hoverDate.isBefore(e)?[this.hoverDate,e]:[e,this.hoverDate]:!f(e)&&t&&this.hoverDate?this.hoverDate.isBefore(t)?[this.hoverDate,t]:[t,this.hoverDate]:[e,t]}isBeforeMinDate(e){return this.minCalendarDate&&e.isBefore(this.minCalendarDate)}isAfterMaxDate(e){return this.maxCalendarDate&&e.isAfter(this.maxCalendarDate)}}Ne([v()],We.prototype,"currentPeriod",void 0),Ne([v()],We.prototype,"today",void 0),Ne([v()],We.prototype,"translationSlimmer",void 0),Ne([v()],We.prototype,"hoverDate",void 0),Ne([v()],We.prototype,"maxCalendarDate",void 0),Ne([v()],We.prototype,"minCalendarDate",void 0),Ne([v()],We.prototype,"selectionController",void 0),Ne([v()],We.prototype,"calendarSelection",void 0),Ne([v()],We.prototype,"staticHeight",void 0),Ne([v()],We.prototype,"mode",void 0),Ne([v()],We.prototype,"size",void 0),Ne([v()],We.prototype,"isDateDisabled",void 0),Ne([v()],We.prototype,"dateIndicator",void 0),Ne([v()],We.prototype,"isMobileDevice",void 0);class Ke{constructor(e,t,i){if(this.startDate=e,this.endDate=t,this.mode=i,"range"===this.mode&&this.startDate&&this.endDate&&this.startDate.isAfter(this.endDate)){const e=this.startDate;this.startDate=this.endDate,this.endDate=e}}static fromSelection(e,t,i){let a=null,n=null;if(this.isValidSelection(e,t,i))if("single"===t&&"string"==typeof e){const t=m.fromString(e,i);a=t,n=t}else"range"===t&&Array.isArray(e)&&(a=m.fromString(e[0],i),n=m.fromString(e[1],i));return new Ke(a,n,t)}static isValidSelection(e,t,i){let a;switch(t){case"single":a=this.isValidDateString(e,i);break;case"range":a=Array.isArray(e)&&2===e.length&&e.every((e=>this.isValidDateString(e,i)))}return a||u.warn(`Invalid date picker calendar selection ${e} for ${t} mode`),a}static isValidDateString(e,t){return e&&"string"==typeof e&&!!m.fromString(e,t)||""===e}toSelection(e){var t,i,a;return"range"===this.mode?[(null===(t=this.startDate)||void 0===t?void 0:t.toString(e))||"",(null===(i=this.endDate)||void 0===i?void 0:i.toString(e))||""]:(null===(a=this.startDate)||void 0===a?void 0:a.toString(e))||""}equals(e){if(!e)return!1;const t=this.startDate&&e.startDate?this.startDate.equal(e.startDate):this.startDate===this.endDate,i=this.endDate&&e.endDate?this.endDate.equal(e.endDate):this.endDate===e.endDate;return t&&i}isCompleted(){return f(this.startDate)&&("range"!==this.mode||f(this.endDate))}isEmpty(){return!f(this.startDate)&&!f(this.endDate)}}var Ue=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Ze extends Ye{componentWillLoad(){this.setCalendarSelectionBySelection(this.selection)}watchSelection(e){!this.isSameSelection(e,this.calendarSelection.toSelection(this.format))&&(this.setCalendarSelectionBySelection(e),this.notifyPeriodChange())}resetRange(){const e=!this.calendarSelection.isCompleted()&&!this.calendarSelection.isEmpty()&&!!this.previousCalendarSelection;this.setCalendarSelectionBySelection(e?this.previousCalendarSelection.toSelection(this.format):this.selection),this.hoverDate=null}watchCalendarSelection(){(this.calendarSelection.isCompleted()||this.calendarSelection.isEmpty())&&this.setSelection(this.calendarSelection.toSelection(this.format))}clear(){this.setCalendarSelectionByRange(null,null),this.hoverDate=null}onDayClick(e){"single"===this.mode?this.setCalendarSelectionByRange(e,e):"range"===this.mode&&(this.calendarSelection.startDate&&!this.calendarSelection.endDate?this.setCalendarSelectionByRange(this.calendarSelection.startDate,e):!this.calendarSelection.startDate&&this.calendarSelection.endDate?this.setCalendarSelectionByRange(this.calendarSelection.endDate,e):this.setCalendarSelectionByRange(e,null),this.hoverDate=null)}onDayHover(e){const t=this.allowRepickController.getRepickType();t&&"range"===this.mode&&this.calendarSelection.isCompleted()&&("start"===t?this.setCalendarSelectionByRange(null,this.calendarSelection.endDate):this.setCalendarSelectionByRange(this.calendarSelection.startDate,null)),this.calendarSelection.isEmpty()||this.calendarSelection.isCompleted()||(this.hoverDate=e)}setCalendarSelectionBySelection(e){const t=Ke.fromSelection(e,this.mode,this.format);this.calendarSelection&&(this.calendarSelection.isCompleted()||this.calendarSelection.isEmpty())&&(this.previousCalendarSelection=this.calendarSelection),t.equals(this.calendarSelection)||(this.calendarSelection=t),this.setSelection(t.toSelection(this.format))}setCalendarSelectionByRange(e,t){this.calendarSelection=new Ke(e,t,this.mode)}setSelection(e){this.isSameSelection(e,this.selection)||(this.selection=e,this.vegaSelectionChangeEventEmitter.emit(this.selection))}isSameSelection(e,t){return"range"===this.mode&&Array.isArray(e)&&Array.isArray(t)?B(e,t):e===t}notifyPeriodChange(){Z.notify(S.getSubject(this.host,oe),{})}}Ue([v()],Ze.prototype,"host",void 0),Ue([v()],Ze.prototype,"mode",void 0),Ue([v()],Ze.prototype,"format",void 0),Ue([v({writable:!0})],Ze.prototype,"selection",void 0),Ue([v({writable:!0})],Ze.prototype,"calendarSelection",void 0),Ue([v({writable:!0})],Ze.prototype,"hoverDate",void 0),Ue([v()],Ze.prototype,"clearEventEmitter",void 0),Ue([v()],Ze.prototype,"vegaSelectionChangeEventEmitter",void 0),Ue([v()],Ze.prototype,"allowRepickController",void 0),Ue([v()],Ze.prototype,"translationSlimmer",void 0),Ue([y("componentWillLoad")],Ze.prototype,"componentWillLoad",null),Ue([y("watchSelection")],Ze.prototype,"watchSelection",null),Ue([y("reset")],Ze.prototype,"resetRange",null),Ue([y("watchCalendarSelection")],Ze.prototype,"watchCalendarSelection",null);var Ge=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class qe extends w{componentWillLoad(){this.setMaxCalendarDate(),this.setMinCalendarDate()}watchMaxDate(){this.setMaxCalendarDate()}watchMinDate(){this.setMinCalendarDate()}setMaxCalendarDate(){this.maxCalendarDate=m.fromString(this.maxDate,this.format)}setMinCalendarDate(){this.minCalendarDate=m.fromString(this.minDate,this.format)}}Ge([v()],qe.prototype,"maxDate",void 0),Ge([v()],qe.prototype,"minDate",void 0),Ge([v()],qe.prototype,"format",void 0),Ge([v({writable:!0})],qe.prototype,"maxCalendarDate",void 0),Ge([v({writable:!0})],qe.prototype,"minCalendarDate",void 0),Ge([y("componentWillLoad")],qe.prototype,"componentWillLoad",null),Ge([y("watchMaxDate")],qe.prototype,"watchMaxDate",null),Ge([y("watchMinDate")],qe.prototype,"watchMinDate",null);var Je=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class Qe extends w{triggerRepick(e){this.repickType=e,"end"===e&&this.setEndDateAsCurrentMonthPeriod()}watchCalendarSelection(){this.calendarSelection.isCompleted()&&(this.repickType=null)}getRepickType(){return this.repickType}setEndDateAsCurrentMonthPeriod(){const e=this.calendarSelection.startDate,t=this.calendarSelection.endDate;if(t){const i=f(e)&&e.compare(t).inMonth?e:this.isMobileDevice?t:t.add(0,-1);this.currentPeriodController.updateCalendarPeriod(new g(i))}}}Je([v()],Qe.prototype,"calendarSelection",void 0),Je([v()],Qe.prototype,"isMobileDevice",void 0),Je([v()],Qe.prototype,"currentPeriodController",void 0),Je([y("triggerRepick")],Qe.prototype,"triggerRepick",null),Je([y("watchCalendarSelection")],Qe.prototype,"watchCalendarSelection",null);var Xe=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};class et extends w{render(){return e("vega-flex",{class:"month-item-header",alignItems:"center"},this.renderSwitcher(),this.yearMonthSwitcherRender.render())}renderSwitcher(){return e("vega-flex",{gap:"size-8",alignItems:"center"},this.renderPrevIcon(),this.renderToday(),this.renderNextIcon())}renderPrevIcon(){const t=this.currentPeriod.current.firstDateOfMonth(),i=this.minCalendarDate&&(t.isBefore(this.minCalendarDate)||t.equal(this.minCalendarDate));return e("vega-button-circle",{class:{"button-previous-month":!0,disabled:i},variant:"icon-only",icon:H.getIconKey("chevron-left"),"data-aria-label":this.translationSlimmer.t("Previous month"),ref:e=>{j.addUniqueObserverToNode(e,M,(()=>{this.currentPeriodController.gotoPreviousPeriod()}))},iconColor:i?"text-disabled":"text-link",size:this.getNavigationIconSize(),disabled:i})}renderNextIcon(){const t=("range"===this.mode?this.currentPeriod.next():this.currentPeriod).current.lastDateOfMonth(),i=this.maxCalendarDate&&(t.isAfter(this.maxCalendarDate)||t.equal(this.maxCalendarDate));return e("vega-button-circle",{class:{"button-next-month":!0,disabled:i},variant:"icon-only",icon:H.getIconKey("chevron-right"),"data-aria-label":this.translationSlimmer.t("Next month"),ref:e=>{j.addUniqueObserverToNode(e,M,(()=>{this.currentPeriodController.gotoNextPeriod()}))},size:this.getNavigationIconSize(),iconColor:i?"text-disabled":"text-link",disabled:i})}renderToday(){const t="range"===this.mode&&!this.isMobileDevice&&"small"!==this.size;return e("vega-button-link",{class:{"button-today":!0,"with-label":t},"data-aria-label":this.translationSlimmer.t("Today"),label:t?this.translationSlimmer.t("Today"):"",ref:e=>{j.addUniqueObserverToNode(e,M,(()=>{this.currentPeriodController.updateCalendarPeriod(new g(this.today,!0,this.timezone))}))},size:"large"===this.size?"default":"small",icon:H.getIconKey("bulls-eye")})}getNavigationIconSize(){return"large"===this.size?"small":"extra-small"}}H.register({"chevron-left":ce["chevron-left"],"chevron-right":ce["chevron-right"],"bulls-eye":ce["bulls-eye"]}),Xe([v()],et.prototype,"currentPeriod",void 0),Xe([v()],et.prototype,"today",void 0),Xe([v()],et.prototype,"translationSlimmer",void 0),Xe([v()],et.prototype,"yearMonthSwitcherRender",void 0),Xe([v()],et.prototype,"mode",void 0),Xe([v()],et.prototype,"currentPeriodController",void 0),Xe([v()],et.prototype,"maxCalendarDate",void 0),Xe([v()],et.prototype,"minCalendarDate",void 0),Xe([v()],et.prototype,"size",void 0),Xe([v()],et.prototype,"timezone",void 0),Xe([v()],et.prototype,"isMobileDevice",void 0);var tt=function(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o};const it=class{constructor(e){a(this,e),this.vegaClear=n(this,"vegaClear",7),this.clear=n(this,"clear",7),this.vegaMonthYearChange=n(this,"vegaMonthYearChange",7),this.monthYearChange=n(this,"monthYearChange",7),this.vegaSelectionChange=n(this,"vegaSelectionChange",7),this.selectionChange=n(this,"selectionChange",7),this.globalSlimmers={},this.renderer=new Ee,this.monthItemRenderer=new We,this.headerRenderer=new et,this.translationSlimmer=new te,this.todayController=new Be,this.selectionController=new Ze,this.minMaxDateController=new qe,this.currentPeriodController=new He,this.yearMonthSwitcherRender=new Ae,this.allowRepickController=new Qe,this.vegaComponentUsageRuntimeMetricsSlimmer=new _,this.clearEventEmitter=X(it,P),this.monthYearChangeEventEmitter=X(it,E),this.vegaSelectionChangeEventEmitter=X(it,O),this.isMobileDevice=z()===R.MOBILE,this.size="regular",this.mode="single",this.selection="range"===this.mode?["",""]:"",this.format="MM/DD/YYYY",this.clearButton=!1,this.staticHeight=!1,this.showYearMonthDropdowns=!1,this.yearMonthDropdownProps={},this.isDateDisabled=()=>!1,this.dateIndicator=()=>null}watchCurrentPeriod(){}watchCalendarSelection(){}watchMaxCalendarDate(){}watchMinCalendarDate(){}watchSelection(){}watchMinDate(){}watchMaxDate(){}watchTimezone(){}async reset(){}async triggerRepick(e){}render(){return o(e(t,{class:{[this.size]:!0,[this.mode]:!0,mobile:this.isMobileDevice}},this.renderer.render()),this.host)}get host(){return r(this)}static get watchers(){return{currentPeriod:["watchCurrentPeriod"],calendarSelection:["watchCalendarSelection"],maxCalendarDate:["watchMaxCalendarDate"],minCalendarDate:["watchMinCalendarDate"],selection:["watchSelection"],minDate:["watchMinDate"],maxDate:["watchMaxDate"],timezone:["watchTimezone"]}}};tt([C()],it.prototype,"globalSlimmers",void 0),tt([b()],it.prototype,"renderer",void 0),tt([b()],it.prototype,"monthItemRenderer",void 0),tt([b()],it.prototype,"headerRenderer",void 0),tt([b()],it.prototype,"translationSlimmer",void 0),tt([b()],it.prototype,"todayController",void 0),tt([b()],it.prototype,"selectionController",void 0),tt([b()],it.prototype,"minMaxDateController",void 0),tt([b()],it.prototype,"currentPeriodController",void 0),tt([b()],it.prototype,"yearMonthSwitcherRender",void 0),tt([b()],it.prototype,"allowRepickController",void 0),tt([b()],it.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),tt([b()],it.prototype,"clearEventEmitter",void 0),tt([b()],it.prototype,"monthYearChangeEventEmitter",void 0),tt([b()],it.prototype,"vegaSelectionChangeEventEmitter",void 0),it.style=':host{--vega-litepicker-container-width:calc(var(--vega-litepicker-day-width) * 7)}.calendar,.calendar .container__main,.calendar .container__months{height:100%}:host(.small.range) .calendar.static-height .container__main,:host(.regular.range) .calendar.static-height .container__main,:host(.large.range) .calendar.static-height .container__main{aspect-ratio:1/1}:host .month-item-header .button-today::part(link){color:rgba(var(--v-text-link, 19, 98, 226, 1));vertical-align:top}:host .month-item-header vega-dropdown .month-item-name,:host .month-item-header vega-dropdown .month-item-year{display:flex;gap:8px;align-items:center;cursor:pointer;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1))}:host .month-item-header vega-dropdown.active .month-item-name,:host .month-item-header vega-dropdown.active .month-item-year{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:3px;border:1px solid rgba(var(--v-border-color-input-field-focus, 19, 98, 226, 1))}:host .month-item-header .button-previous-month.disabled,:host .month-item-header .button-next-month.disabled{pointer-events:none}:host(.small.single) vega-dropdown .month-item-name span{max-width:48px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.small){--vega-litepicker-day-width:28px;--vega-litepicker-day-height:28px;--vega-date-picker-calendar-range-space-size:16px}:host(.small) .current-month-year{text-align:center;color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.small) .current-month-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.small) .current-month-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.small) .current-month-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}:host(.small) .month-item-header{gap:8px;margin-bottom:12px}:host(.small) .month-item-header .button-today{height:16px}:host(.small) .month-item-header .month-item-name,:host(.small) .month-item-header .month-item-year{color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.small) .month-item-header .month-item-name,:host(.small) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.small) .month-item-header .month-item-name,:host(.small) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.small) .month-item-header .month-item-name,:host(.small) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}:host(.small) .month-item-header .month-item-name{margin-right:4px}:host(.small) .month-item-header vega-dropdown .month-item-name{margin-right:8px}:host(.small) .month-item-header vega-dropdown .month-item-name,:host(.small) .month-item-header vega-dropdown .month-item-year{border-radius:4px;padding-left:4px;padding-right:4px;font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px;gap:2px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.small) .month-item-header vega-dropdown .month-item-name,:host(.small) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.small) .month-item-header vega-dropdown .month-item-name,:host(.small) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.small) .month-item-header vega-dropdown .month-item-name,:host(.small) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}:host(.small) .month-item-header vega-dropdown .month-item-name vega-icon,:host(.small) .month-item-header vega-dropdown .month-item-year vega-icon{width:12px;height:12px}:host(.small) .month-item-header .small-month-item-name{margin-right:8px}:host(.small) .month-item-header .small-month-item-name::part(label-container),:host(.small) .month-item-header .small-month-item-year::part(label-container){font-size:14px}:host(.small) .month-item .current-month-year{margin-bottom:4px}:host(.small) .calendar .container__main{max-width:360px;max-height:360px}:host(.small) .calendar .container__months .month-item-header{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px;margin-bottom:4px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.small) .calendar .container__months .month-item-header{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.small) .calendar .container__months .month-item-header{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.small) .calendar .container__months .month-item-header{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}:host(.small) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.small) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.small) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.small) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}:host(.small) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.small) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.small) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.small) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}:host(.small) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.small) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.small) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.small) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}:host(.small) .calendar .container__days .day-item .day-content{width:18px;height:18px}:host(.small) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px;width:18px;height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.small) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.small) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.small) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}:host(.small) .calendar .container__days .day-item:focus-visible .day-content{width:16px}:host(.small) .calendar .container__days .day-item:focus-visible .day-content{width:16px}:host(.small) .calendar .container__days vega-tooltip .day-item .day-content:after{width:4px;height:4px;bottom:-3px;left:calc(50% - 2px)}:host(.small.range) .calendar .container__main{width:100%;max-width:600px;max-height:360px}:host(.regular){--vega-litepicker-day-width:40px;--vega-litepicker-day-height:40px;--vega-date-picker-calendar-range-space-size:24px}:host(.regular) .current-month-year{text-align:center;color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.regular) .current-month-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.regular) .current-month-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.regular) .current-month-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}:host(.regular) .month-item-header{gap:16px;margin-bottom:24px}:host(.regular) .month-item-header .button-today{height:16px}:host(.regular) .month-item-header .button-today.with-label{height:18px}:host(.regular) .month-item-header .month-item-name,:host(.regular) .month-item-header .month-item-year{color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.regular) .month-item-header .month-item-name,:host(.regular) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.regular) .month-item-header .month-item-name,:host(.regular) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.regular) .month-item-header .month-item-name,:host(.regular) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}:host(.regular) .month-item-header .month-item-name{margin-right:4px}:host(.regular) .month-item-header vega-dropdown .month-item-name{margin-right:16px}:host(.regular) .month-item-header vega-dropdown .month-item-name,:host(.regular) .month-item-header vega-dropdown .month-item-year{border-radius:4px;padding-left:8px;padding-right:8px;font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px;padding-top:3px;padding-bottom:3px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.regular) .month-item-header vega-dropdown .month-item-name,:host(.regular) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.regular) .month-item-header vega-dropdown .month-item-name,:host(.regular) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.regular) .month-item-header vega-dropdown .month-item-name,:host(.regular) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px}}:host(.regular) .month-item .current-month-year{margin-bottom:12px}:host(.regular) .calendar .container__main{max-width:450px;max-height:450px}:host(.regular) .calendar .container__months .month-item-header{margin-bottom:12px}:host(.regular) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.regular) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.regular) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.regular) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}:host(.regular) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.regular) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.regular) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.regular) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}:host(.regular) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.regular) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.regular) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.regular) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}:host(.regular) .calendar .container__days .day-item .is-start-date,:host(.regular) .calendar .container__days .day-item .is-end-date{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.regular) .calendar .container__days .day-item .is-start-date,:host(.regular) .calendar .container__days .day-item .is-end-date{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.regular) .calendar .container__days .day-item .is-start-date,:host(.regular) .calendar .container__days .day-item .is-end-date{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.regular) .calendar .container__days .day-item .is-start-date,:host(.regular) .calendar .container__days .day-item .is-end-date{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}:host(.regular) .calendar .container__days .day-item .day-content{width:24px;height:24px}:host(.regular) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.regular) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.regular) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.regular) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}:host(.regular) .calendar .container__days vega-tooltip .day-item .day-content:after{width:4px;height:4px;bottom:-3px;left:calc(50% - 2px)}:host(.regular.range) .calendar .container__main{width:100%;max-width:900px;max-height:450px}:host(.large){--vega-litepicker-day-width:56px;--vega-litepicker-day-height:56px;--vega-date-picker-calendar-range-space-size:40px}:host(.large) .current-month-year{text-align:center;color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .current-month-year{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .current-month-year{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .current-month-year{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.large) .month-item-header{gap:16px;margin-bottom:24px}:host(.large) .month-item-header .button-today{height:16px}:host(.large) .month-item-header .button-today.with-label{height:24px}:host(.large) .month-item-header .month-item-name{margin-right:4px}:host(.large) .month-item-header .month-item-name,:host(.large) .month-item-header .month-item-year{color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px;gap:8px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .month-item-header .month-item-name,:host(.large) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .month-item-header .month-item-name,:host(.large) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .month-item-header .month-item-name,:host(.large) .month-item-header .month-item-year{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.large) .month-item-header vega-dropdown .month-item-name{margin-right:24px}:host(.large) .month-item-header vega-dropdown .month-item-name,:host(.large) .month-item-header vega-dropdown .month-item-year{border-radius:8px;padding-left:12px;padding-right:12px;font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px;padding-top:7px;padding-bottom:7px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .month-item-header vega-dropdown .month-item-name,:host(.large) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .month-item-header vega-dropdown .month-item-name,:host(.large) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .month-item-header vega-dropdown .month-item-name,:host(.large) .month-item-header vega-dropdown .month-item-year{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host(.large) .month-item .current-month-year{margin-bottom:16px}:host(.large) .calendar .container__main{max-width:600px;max-height:600px}:host(.large) .calendar .container__months .month-item-header{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px;margin-bottom:16px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .calendar .container__months .month-item-header{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .calendar .container__months .month-item-header{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .calendar .container__months .month-item-header{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.large) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .calendar .container__months .month-item-weekdays-row{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.large) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .calendar .container__months .month-item-weekdays-row div{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.large) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .calendar .container__days .day-item{font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}:host(.large) .calendar .container__days .day-item .is-start-date,:host(.large) .calendar .container__days .day-item .is-end-date{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .calendar .container__days .day-item .is-start-date,:host(.large) .calendar .container__days .day-item .is-end-date{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .calendar .container__days .day-item .is-start-date,:host(.large) .calendar .container__days .day-item .is-end-date{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .calendar .container__days .day-item .is-start-date,:host(.large) .calendar .container__days .day-item .is-end-date{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.large) .calendar .container__days .day-item .day-content{width:36px;height:36px}:host(.large) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.large) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.large) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.large) .calendar .container__days .day-item.is-today .day-content{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.large) .calendar .container__days vega-tooltip .day-item .day-content:after{width:6px;height:6px;bottom:-4px;left:calc(50% - 3px)}:host(.regular) .container__days .day-item.is-today .day-content,:host(.large) .container__days .day-item.is-today .day-content{border:1px solid rgba(var(--v-text-primary, 32, 54, 69, 1))}:host(.regular) .container__days .day-item.is-today.is-start-date .day-content,:host(.regular) .container__days .day-item.is-today.is-end-date .day-content,:host(.regular) .container__days .day-item.is-today:active:not(.is-locked):not(.is-disabled) .day-content,:host(.large) .container__days .day-item.is-today.is-start-date .day-content,:host(.large) .container__days .day-item.is-today.is-end-date .day-content,:host(.large) .container__days .day-item.is-today:active:not(.is-locked):not(.is-disabled) .day-content{border-color:rgba(var(--v-text-on-action, 252, 252, 252, 1))}:host(.large.range) .calendar .container__main{width:100%;max-width:1200px;max-height:600px}.calendar .container__main{display:flex;flex-direction:column}.calendar .container__months{display:flex}.calendar .container__months.columns-2{width:100%;flex-direction:row}.calendar .container__months .month-item{box-sizing:content-box;position:relative;width:100%;height:100%;z-index:1;display:flex;flex-direction:column}.calendar .container__months.columns-2 .month-item:first-of-type{padding-right:var(--vega-date-picker-calendar-range-space-size)}.calendar .container__months.columns-2 .month-item:last-of-type{padding-left:var(--vega-date-picker-calendar-range-space-size)}.calendar .container__months .month-item:nth-child(2)::before{background-color:rgba(var(--v-bg-divider, 171, 198, 216, 1));margin-bottom:32px;position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:none;width:1px;content:"";display:block}.calendar .container__months .month-item-weekdays-row{color:rgba(var(--v-text-primary, 32, 54, 69, 1));place-items:center}.calendar .aria-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.calendar .container__days{text-align:center;place-items:center;flex:1 1 auto}.calendar.static-height .container__days{align-content:flex-start}.calendar:not(.static-height) .container__days{flex:none}.calendar .container__months .month-item-weekdays-row>div,.calendar .container__days>div,.calendar .container__days>vega-tooltip>div,.calendar .container__days>a{padding:4px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;height:var(--vega-litepicker-day-height);width:100%;min-width:var(--vega-litepicker-day-width)}.calendar .container__days .day-item{color:rgba(var(--v-text-primary, 32, 54, 69, 1));text-align:center;border-radius:9999px;cursor:default}.calendar .container__days .day-item .day-content{display:flex;align-items:center;justify-content:center;border-radius:4px;box-sizing:border-box}.calendar .container__days .day-item:hover{border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1))}.calendar .container__days .day-item:active{background-color:rgba(var(--v-bg-action-active, 29, 65, 195, 1));color:rgba(var(--v-text-on-action, 252, 252, 252, 1));border-width:0px;outline:none}.calendar .container__days .day-item:focus-visible{border:2px solid rgba(var(--v-border-secondary-btn, 19, 98, 226, 1));outline:none}.calendar .container__days .day-item.is-locked,.calendar .container__days .day-item.is-disabled{color:rgba(var(--v-text-input-disabled, 107, 116, 125, 1));-webkit-tap-highlight-color:transparent;cursor:not-allowed}.calendar .container__days .day-item.is-locked:hover,.calendar .container__days .day-item.is-disabled:hover{border-width:0px}.calendar .container__days .day-item.is-locked:active,.calendar .container__days .day-item.is-disabled:active{background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0));border-width:0px;outline:none}.calendar .container__days .day-item.is-disabled{text-decoration:line-through}.calendar .container__days .day-item.is-start-date,.calendar .container__days .day-item.is-end-date{background-color:rgba(var(--v-bg-action, 19, 98, 226, 1));color:rgba(var(--v-text-on-action, 252, 252, 252, 1));position:relative;border-width:0px}.calendar .container__days .day-item.is-start-date:hover,.calendar .container__days .day-item.is-end-date:hover{background-color:rgba(var(--v-bg-action-hover, 4, 112, 236, 1))}.calendar .container__days .day-item.is-start-date:active,.calendar .container__days .day-item.is-end-date:active{background-color:rgba(var(--v-bg-action-active, 29, 65, 195, 1))}.calendar .container__days .day-item.is-start-date:focus-visible,.calendar .container__days .day-item.is-end-date:focus-visible{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:2px;background-color:rgba(var(--v-bg-action-focus, 19, 98, 226, 1))}.calendar .container__days .day-item.is-start-date.is-disabled,.calendar .container__days .day-item.is-start-date.is-locked,.calendar .container__days .day-item.is-end-date.is-disabled,.calendar .container__days .day-item.is-end-date.is-locked{background-color:rgba(var(--v-bg-disabled, 176, 180, 181, 1));color:rgba(var(--v-text-on-disabled, 252, 252, 252, 1))}.calendar .container__days .day-item.is-start-date.is-end-date:after{background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0))}.calendar .container__days .day-item.is-start-date:after{position:absolute;top:0px;right:0px;bottom:0px;left:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-top-left-radius:9999px;border-bottom-left-radius:9999px;content:" ";z-index:-1;background-color:rgba(var(--v-bg-date-picker-range, 229, 239, 255, 1))}.calendar .container__days .day-item.is-end-date:after{position:absolute;top:0px;right:0px;bottom:0px;left:0px;border-top-left-radius:0px;border-bottom-left-radius:0px;border-top-right-radius:9999px;border-bottom-right-radius:9999px;content:" ";z-index:-1;background-color:rgba(var(--v-bg-date-picker-range, 229, 239, 255, 1))}.calendar .container__days .day-item.is-in-range{border-radius:0px;background-color:rgba(var(--v-bg-date-picker-range, 229, 239, 255, 1));border-width:0px}.calendar .container__days .day-item.is-in-range:hover{position:relative}.calendar .container__days .day-item.is-in-range:hover:before{border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1));border-radius:9999px;position:absolute;top:0px;right:0px;bottom:0px;left:0px;content:" "}.calendar .container__days .day-item.is-in-range:focus-visible{border:2px solid rgba(var(--v-border-secondary-btn, 19, 98, 226, 1));outline:none}.calendar .container__days vega-tooltip{width:100%}.calendar .container__days vega-tooltip .day-item .day-content{position:relative}.calendar .container__days vega-tooltip .day-item .day-content:after{position:absolute;border-radius:9999px;content:" ";background-color:rgba(var(--v-text-primary, 32, 54, 69, 1))}.calendar .container__days vega-tooltip .day-item.is-start-date .day-content:after,.calendar .container__days vega-tooltip .day-item.is-end-date .day-content:after,.calendar .container__days vega-tooltip .day-item:active:not(.is-locked):not(.is-disabled) .day-content:after{background-color:rgba(var(--v-text-on-action, 252, 252, 252, 1))}.calendar.mobilefriendly[data-plugins*=mobilefriendly] .container__days>div{height:var(--vega-date-picker-calendar-day-height)}.calendar .clear-button{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px;color:rgba(var(--v-text-link, 19, 98, 226, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){.calendar .clear-button{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.calendar .clear-button{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.calendar .clear-button{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}.calendar .footer-container{margin-top:16px;height:24px}:host(.vega-force-hidden){display:none !important}.calendar{left:initial !important;top:initial !important;position:initial !important}.button-next-month svg,.button-previous-month svg{width:12px;height:16px}.calendar .container__days>div:not(.day-item){-webkit-tap-highlight-color:transparent}';export{Oe as vega_date_picker,it as vega_date_picker_calendar}
@@ -0,0 +1 @@
1
+ import{r as t,c as e,h as n,H as i,g as a}from"./p-6b2342e0.js";import{s as o}from"./p-519a7d55.js";import{I as r}from"./p-6e1ab235.js";import{V as l,I as s}from"./p-4415ad28.js";import{c as v}from"./p-02c9796a.js";import{a as g}from"./p-d64fab3d.js";import{C as b}from"./p-1a51bf6f.js";import{h as d,e as c}from"./p-f0e828d8.js";import{A as u}from"./p-bdb5180c.js";import"./p-6a334573.js";import"./p-2d0d575f.js";import"./p-31ac7386.js";import"./p-331a62d5.js";import"./p-6c170474.js";import"./p-b7f3221f.js";import"./p-b75ee3ba.js";import"./p-5f377954.js";import"./p-18e8d9b7.js";import"./p-5a25014f.js";import"./p-78a57a17.js";const h=[{payloadKey:"EVENTFUL_IS_TRUE",payloadDescription:"@deprecated Specifies whether the button link will emit a vegaClick event when clicked. If set to true, the event will be emitted.",payloadValue:t=>!0===t.eventful},{payloadKey:"EVENTFUL_IS_FALSE",payloadDescription:"@deprecated Specifies whether the button link will emit a vegaClick event when clicked. If set to false, the component will function as a regular link to another page or URL, and no events will be emitted.",payloadValue:t=>!1===t.eventful}];var p=function(t,e,n,i){var a,o=arguments.length,r=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,n,i);else for(var l=t.length-1;l>=0;l--)(a=t[l])&&(r=(o<3?a(r):o>3?a(e,n,r):a(e,n))||r);return o>3&&r&&Object.defineProperty(e,n,r),r};const f=class{constructor(n){t(this,n),this.vegaClick=e(this,"vegaClick",7),this.click=e(this,"click",7),this.globalSlimmers={},this.clickEventEmitter=v(f,g),this.eventPrevent=new b([g],(()=>this.host)),this.vegaComponentUsageRuntimeMetricsSlimmer=new l(h),this.ariaAttributesValueMapper=new u((()=>this.host.shadowRoot.querySelector("a")),{"aria-label":{dependency:["data-aria-label","label"],defaultValue:"No label defined"}}),this.link=f.defaultLink,this.size="default",this.iconType="icon",this.iconAlign="left",this.label="",this.disabled=!1,this.danger=!1,this.eventful=!1,this.target="_self",this.onClick=t=>{(this.isButton()||this.eventful)&&(this.disabled||this.clickEventEmitter.emit(this.host.dataset.key,t).defaultPrevented)&&t.preventDefault()}}componentWillLoad(){this.label||(this.label=this.host.textContent),this.host.innerHTML=d.sanitize("",c)}render(){const t=this.isButton(),e=t?f.defaultLink:this.link;return o(n(i,{class:{"vega-button-link-disabled":this.disabled}},n("a",{part:"link",tabIndex:this.disabled?-1:0,role:t?"button":"link","aria-label":this.label.trim()||"No label defined",href:e,onClick:this.onClick,class:{"vega-button-link":!0,[`vega-button-link-size-${this.size}`]:!0,"vega-button-link-left-button":this.hasIconButton("left"),"vega-button-link-right-button":this.hasIconButton("right"),"vega-button-link-danger":this.danger,icon:!!this.icon,[this.size]:!0},rel:"noopener noreferrer",target:this.target},n("div",{class:"vega-button-link-content"},this.renderContent()))),this.host)}hasIconButton(t){return this.icon&&"button"===this.iconType&&this.iconAlign===t}renderContent(){return this.icon?n("vega-flex",{alignItems:"center",gap:this.getGapByButtonSize(),justifyContent:"center"},"left"===this.iconAlign&&this.renderIcon(),this.renderLabel(),"right"===this.iconAlign&&this.renderIcon()):this.renderLabel()}getGapByButtonSize(){return"large"===this.size?"icon"===this.iconType?"size-8":"size-12":"small"===this.size?"icon"===this.iconType?"size-4":"size-8":"default"===this.size?"size-8":void 0}renderLabel(){return this.label&&n("span",{class:"vega-button-link-label",part:"label-container"},n("vega-text",{part:"label-text"},this.label))}renderIcon(){return n("div",{class:`vega-button-link-${this.iconType} vega-flex-shrink-0 v-min-w-min`},"icon"===this.iconType?this.renderVegaIcon():n("div",{class:"vega-button-link-button-container"},this.renderVegaIcon()))}renderVegaIcon(){return n("vega-icon",{icon:this.icon,size:"large"===this.size?"size-24":"size-16"})}isButton(){return!this.link||this.link===f.defaultLink}get host(){return a(this)}};f.defaultLink="javascript:void(0);",p([s()],f.prototype,"globalSlimmers",void 0),p([r()],f.prototype,"clickEventEmitter",void 0),p([r()],f.prototype,"eventPrevent",void 0),p([r()],f.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),p([r()],f.prototype,"ariaAttributesValueMapper",void 0),f.style=':host{display:inline-block;position:relative;margin:0px;line-height:normal}a{text-decoration:none;color:rgba(var(--v-text-link, 19, 98, 226, 1));background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0));display:inline-block;outline:none}a:visited{color:rgba(var(--v-text-link-visited, 95, 56, 206, 1))}a:hover{color:rgba(var(--v-text-link-hover, 4, 112, 236, 1))}a:active{color:rgba(var(--v-text-link-active, 29, 65, 195, 1))}a:focus-visible{color:rgba(var(--v-text-link-focus, 4, 112, 236, 1));outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:2px}a.default:focus-visible,a.large:focus-visible{border-radius:8px}a.small:focus-visible{border-radius:4px}a.icon:focus-visible{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:4px}a:not(.vega-button-link-danger):visited vega-icon svg *[fill=currentColor]{fill:rgba(var(--v-text-link-visited, 95, 56, 206, 1))}a:not(.vega-button-link-danger):visited vega-icon svg *[stroke=currentColor]{stroke:rgba(var(--v-text-link-visited, 95, 56, 206, 1))}a:not(.vega-button-link-danger):hover vega-icon svg *[fill=currentColor]{fill:rgba(var(--v-text-link-hover, 4, 112, 236, 1))}a:not(.vega-button-link-danger):hover vega-icon svg *[stroke=currentColor]{stroke:rgba(var(--v-text-link-hover, 4, 112, 236, 1))}a:not(.vega-button-link-danger):active vega-icon svg *[fill=currentColor]{fill:rgba(var(--v-text-link-active, 29, 65, 195, 1))}a:not(.vega-button-link-danger):active vega-icon svg *[stroke=currentColor]{stroke:rgba(var(--v-text-link-active, 29, 65, 195, 1))}a:not(.vega-button-link-danger):focus-visible vega-icon svg *[fill=currentColor]{fill:rgba(var(--v-text-link-focus, 4, 112, 236, 1))}a:not(.vega-button-link-danger):focus-visible vega-icon svg *[stroke=currentColor]{stroke:rgba(var(--v-text-link-focus, 4, 112, 236, 1))}a:active{text-decoration:none}a:active:hover .vega-button-link-label{text-decoration:none}a.vega-button-link-danger{color:rgba(var(--v-text-danger-link, 230, 50, 87, 1))}a.vega-button-link-danger:visited{color:rgba(var(--v-text-danger-link-visited, 230, 50, 87, 1))}a.vega-button-link-danger:hover{color:rgba(var(--v-text-danger-link-hover, 233, 71, 104, 1))}a.vega-button-link-danger:active{color:rgba(var(--v-text-danger-link-active, 189, 41, 71, 1))}a.vega-button-link-danger:focus-visible{color:rgba(var(--v-text-danger-link-focus, 240, 52, 91, 1))}a.vega-button-link-danger:focus-visible.default:focus-visible,a.vega-button-link-danger:focus-visible.large:focus-visible{outline:2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));outline-offset:4px}a.vega-button-link-danger:focus-visible.small:focus-visible{outline:2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));outline-offset:2px}a .vega-button-link-button-container{border-radius:9999px;cursor:pointer;background-color:rgba(var(--v-bg-action-secondary, 252, 252, 252, 1));color:rgba(var(--v-text-link, 19, 98, 226, 1));box-sizing:border-box;border:2px solid rgba(var(--v-border-secondary-btn, 19, 98, 226, 1))}a:visited .vega-button-link-button-container{color:rgba(var(--v-text-link-visited, 95, 56, 206, 1));border-color:var(--v-text-link-visited)}a:hover .vega-button-link-button-container{border:2px solid rgba(var(--v-border-secondary-btn-hover, 4, 112, 236, 1));background-color:rgba(var(--v-bg-action-secondary-hover, 4, 112, 236, 0.1));color:rgba(var(--v-text-link-hover, 4, 112, 236, 1))}a:focus .vega-button-link-button-container{border:2px solid rgba(var(--v-border-secondary-btn, 19, 98, 226, 1))}a:active .vega-button-link-button-container{border:2px solid rgba(var(--v-border-secondary-btn-active, 29, 65, 195, 1));background-color:rgba(var(--v-bg-action-secondary-active, 29, 65, 195, 0.1));color:rgba(var(--v-text-link-active, 29, 65, 195, 1))}a.vega-button-link-danger .vega-button-link-button-container{border:2px solid rgba(var(--v-border-secondary-danger-btn, 230, 50, 87, 1));color:rgba(var(--v-text-danger-link, 230, 50, 87, 1))}a.vega-button-link-danger:hover .vega-button-link-button-container{border:2px solid rgba(var(--v-border-secondary-danger-btn-hover, 255, 87, 114, 1));background-color:rgba(var(--v-bg-danger-tertiary-hover, 255, 87, 114, 0.2));color:rgba(var(--v-text-danger-link-hover, 233, 71, 104, 1))}a.vega-button-link-danger:focus .vega-button-link-button-container{border:2px solid rgba(var(--v-border-secondary-danger-btn, 230, 50, 87, 1))}a.vega-button-link-danger:active .vega-button-link-button-container{border:2px solid rgba(var(--v-border-secondary-danger-btn-active, 189, 41, 71, 1));background-color:rgba(var(--v-bg-danger-tertiary-active, 189, 41, 71, 0.2));color:rgba(var(--v-text-danger-link-active, 189, 41, 71, 1))}a.vega-button-link-size-default .vega-button-link-button-container{width:40px;height:40px;padding:10px}a.vega-button-link-size-large .vega-button-link-button-container{width:56px;height:56px;padding:14px}a.vega-button-link-size-small .vega-button-link-button-container{width:32px;height:32px;padding:6px}a.vega-button-link-size-default .vega-button-link-icon,a.vega-button-link-size-small .vega-button-link-icon{width:16px;height:16px;line-height:16px}a.vega-button-link-size-large .vega-button-link-icon{width:24px;height:24px;line-height:24px}a .vega-button-link-label{min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content}a.vega-button-link-size-small .vega-button-link-label{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){a.vega-button-link-size-small .vega-button-link-label{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){a.vega-button-link-size-small .vega-button-link-label{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){a.vega-button-link-size-small .vega-button-link-label{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}a.vega-button-link-size-default .vega-button-link-label{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){a.vega-button-link-size-default .vega-button-link-label{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){a.vega-button-link-size-default .vega-button-link-label{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){a.vega-button-link-size-default .vega-button-link-label{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}a.vega-button-link-size-large .vega-button-link-label{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){a.vega-button-link-size-large .vega-button-link-label{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){a.vega-button-link-size-large .vega-button-link-label{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){a.vega-button-link-size-large .vega-button-link-label{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.vega-button-link-disabled){pointer-events:none}:host(.vega-button-link-disabled) a{color:rgba(var(--v-text-disabled, 176, 180, 181, 1));text-decoration:none;background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0))}:host(.vega-button-link-disabled) a.vega-button-link .vega-button-link-button-container{color:rgba(var(--v-text-disabled, 176, 180, 181, 1));border:2px solid rgba(var(--v-border-secondary-btn-disabled, 176, 180, 181, 1));background-color:rgba(var(--v-bg-action-secondary, 252, 252, 252, 1))}:host(.vega-button-link-disabled) a:focus>.vega-button-link-content{color:rgba(var(--v-text-disabled, 176, 180, 181, 1))}:host(.button-group-item-button-tertiary.vega-button-link-disabled) a{background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0))}';export{f as vega_button_link}
@@ -0,0 +1 @@
1
+ import{i as o}from"./p-4d7d5583.js";import{R as f}from"./p-600f7d6c.js";function i(i,r,s,d){return o(i)?{flex:`${f.formatCustom(i)}`}:{flexGrow:o(r)?`${f.formatCustom(r)}`:void 0,flexShrink:o(s)?`${f.formatCustom(s)}`:void 0,flexBasis:o(d)?`${f.formatCustom(d)}`:void 0}}export{i as f}
@@ -1 +1 @@
1
- import{S as t}from"./p-81b044b9.js";import{i as s}from"./p-415ffa35.js";class e extends t{constructor(t){super(),this.insertMode=!0,this.maskConfig=t,this.slotRegex=new RegExp(t.slot),this.acceptRegex=new RegExp(t.accept,"g"),this.insertMode=!1!==t.insertMode}setMaskConfig(t){this.maskConfig=t}format(t,e){const i=null==e?void 0:e.caretPosition;if(t.length>this.getLengthLimit()&&s(i)){const s=[...t],e=t.length-this.getLengthLimit();return s.splice(i-e,e),s.join("")}return this.replaceMaskWithMatchedInputSlots(t,this.getMatchedInputSlotValue(t))}calculateCaretPosition(t,e){if(!s(e))return null;if(t.length>this.getLengthLimit())return e-(t.length-this.getLengthLimit());const i=t.substring(0,e);return e+(this.format(i).length-i.length)}shouldOverrideComponentValueAfterBlur(){return!(!this.maskConfig||!0!==this.maskConfig.overrideValue)}shouldTriggerAtInit(){return!(!this.maskConfig||!0!==this.maskConfig.triggerAtInit)}getLengthLimit(){return this.maskConfig.mask.length}getMatchedInputSlotValue(t){return t.match(this.acceptRegex)||[]}replaceMaskWithMatchedInputSlots(t,s){const e=[];let i=-1;for(let r=0;r<this.maskConfig.mask.length;r++){const n=this.maskConfig.mask.charAt(r);if(this.slotRegex.test(n)&&s.length){const t=s.shift();t&&(e.push(t),i=r)}else this.insertMode||s.shift(),t.charAt(r)===n&&(i=r),e.push(n)}const r=this.insertMode?i+1:t.length;return e.join("").slice(0,r)}}e.PHONE_MASK=new e({mask:"(999) 999-9999",slot:"9",accept:/\d/g}),e.ZIPCODE_MASK=new e({mask:"99999",slot:"9",accept:/\d/g}),e.TAX_ID_MASK=new e({mask:"99-9999999",slot:"9",accept:/\d/g});export{e as S}
1
+ import{S as t}from"./p-c7b9b7c2.js";import{i as s}from"./p-4d7d5583.js";class e extends t{constructor(t){super(),this.insertMode=!0,this.maskConfig=t,this.slotRegex=new RegExp(t.slot),this.acceptRegex=new RegExp(t.accept,"g"),this.insertMode=!1!==t.insertMode}setMaskConfig(t){this.maskConfig=t}format(t,e){const i=null==e?void 0:e.caretPosition;if(t.length>this.getLengthLimit()&&s(i)){const s=[...t],e=t.length-this.getLengthLimit();return s.splice(i-e,e),s.join("")}return this.replaceMaskWithMatchedInputSlots(t,this.getMatchedInputSlotValue(t))}calculateCaretPosition(t,e){if(!s(e))return null;if(t.length>this.getLengthLimit())return e-(t.length-this.getLengthLimit());const i=t.substring(0,e);return e+(this.format(i).length-i.length)}shouldOverrideComponentValueAfterBlur(){return!(!this.maskConfig||!0!==this.maskConfig.overrideValue)}shouldTriggerAtInit(){return!(!this.maskConfig||!0!==this.maskConfig.triggerAtInit)}getLengthLimit(){return this.maskConfig.mask.length}getMatchedInputSlotValue(t){return t.match(this.acceptRegex)||[]}replaceMaskWithMatchedInputSlots(t,s){const e=[];let i=-1;for(let r=0;r<this.maskConfig.mask.length;r++){const n=this.maskConfig.mask.charAt(r);if(this.slotRegex.test(n)&&s.length){const t=s.shift();t&&(e.push(t),i=r)}else this.insertMode||s.shift(),t.charAt(r)===n&&(i=r),e.push(n)}const r=this.insertMode?i+1:t.length;return e.join("").slice(0,r)}}e.PHONE_MASK=new e({mask:"(999) 999-9999",slot:"9",accept:/\d/g}),e.ZIPCODE_MASK=new e({mask:"99999",slot:"9",accept:/\d/g}),e.TAX_ID_MASK=new e({mask:"99-9999999",slot:"9",accept:/\d/g});export{e as S}