@esri/calcite-components 1.4.1-next.2 → 1.4.1-next.3

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 (1381) hide show
  1. package/dist/calcite/assets/icon/maskInside16.json +1 -0
  2. package/dist/calcite/assets/icon/maskInside24.json +1 -0
  3. package/dist/calcite/assets/icon/maskInside32.json +1 -0
  4. package/dist/calcite/assets/icon/maskOutside16.json +1 -0
  5. package/dist/calcite/assets/icon/maskOutside24.json +1 -0
  6. package/dist/calcite/assets/icon/maskOutside32.json +1 -0
  7. package/dist/calcite/assets/text-area/t9n/index.d.ts +1 -0
  8. package/dist/calcite/assets/text-area/t9n/messages.json +2 -1
  9. package/dist/calcite/assets/text-area/t9n/messages_en.json +2 -1
  10. package/dist/calcite/calcite.esm.js +2 -2
  11. package/dist/calcite/index.esm.js +2 -2
  12. package/dist/calcite/p-00d045e5.js +6 -0
  13. package/dist/calcite/p-00ed51c0.js +6 -0
  14. package/dist/calcite/p-03f07db4.entry.js +6 -0
  15. package/dist/calcite/p-05e43b89.js +6 -0
  16. package/dist/calcite/p-06637712.js +6 -0
  17. package/dist/calcite/p-0aa217c9.entry.js +6 -0
  18. package/dist/calcite/p-0bd493ff.entry.js +6 -0
  19. package/dist/calcite/p-0c56ec27.js +6 -0
  20. package/dist/calcite/p-0c88b741.entry.js +6 -0
  21. package/dist/calcite/p-110d3963.entry.js +6 -0
  22. package/dist/calcite/p-1256a7ba.js +6 -0
  23. package/dist/calcite/p-14c5991f.entry.js +6 -0
  24. package/dist/calcite/p-161abbed.js +6 -0
  25. package/dist/calcite/p-17691492.entry.js +6 -0
  26. package/dist/calcite/p-17ac6625.js +6 -0
  27. package/dist/calcite/p-18579182.js +6 -0
  28. package/dist/calcite/p-1dd689c6.js +6 -0
  29. package/dist/calcite/p-21e0417c.js +6 -0
  30. package/dist/calcite/p-24167835.entry.js +6 -0
  31. package/dist/calcite/p-242ac255.entry.js +6 -0
  32. package/dist/calcite/p-263d835f.js +6 -0
  33. package/dist/calcite/p-280a69d8.entry.js +6 -0
  34. package/dist/calcite/p-2a0d0407.entry.js +6 -0
  35. package/dist/calcite/p-2db7dea2.js +6 -0
  36. package/dist/calcite/p-2ed443c2.entry.js +6 -0
  37. package/dist/calcite/p-307fa52a.entry.js +6 -0
  38. package/dist/calcite/p-315fa34f.js +6 -0
  39. package/dist/calcite/p-3543ab7d.js +6 -0
  40. package/dist/calcite/p-3737f0ac.entry.js +6 -0
  41. package/dist/calcite/p-3a1c78be.entry.js +6 -0
  42. package/dist/calcite/p-3af1850a.js +6 -0
  43. package/dist/calcite/p-3b318769.js +12 -0
  44. package/dist/calcite/p-3cec02f4.js +6 -0
  45. package/dist/calcite/p-44496d56.js +6 -0
  46. package/dist/calcite/p-44925151.js +6 -0
  47. package/dist/calcite/p-46b93460.js +6 -0
  48. package/dist/calcite/p-485b0e1b.entry.js +6 -0
  49. package/dist/calcite/p-4acfc57f.js +6 -0
  50. package/dist/calcite/p-4b657d2d.entry.js +6 -0
  51. package/dist/calcite/p-4caf31d7.entry.js +6 -0
  52. package/dist/calcite/p-508027b5.entry.js +6 -0
  53. package/dist/calcite/p-509e09e8.js +6 -0
  54. package/dist/calcite/p-50ee63c8.entry.js +6 -0
  55. package/dist/calcite/p-52d710f6.entry.js +6 -0
  56. package/dist/calcite/p-531d5755.entry.js +6 -0
  57. package/dist/calcite/p-55205c0f.js +6 -0
  58. package/dist/calcite/p-5b78b038.js +6 -0
  59. package/dist/calcite/p-5d2a2d86.js +6 -0
  60. package/dist/calcite/p-6344ce11.js +6 -0
  61. package/dist/calcite/p-646a5d90.entry.js +6 -0
  62. package/dist/calcite/p-654559c9.entry.js +6 -0
  63. package/dist/calcite/p-66d2ce76.js +6 -0
  64. package/dist/calcite/p-69c6bdfc.js +6 -0
  65. package/dist/calcite/p-69e3eb19.entry.js +6 -0
  66. package/dist/calcite/p-69e5947e.js +6 -0
  67. package/dist/calcite/p-6bbeb71a.js +6 -0
  68. package/dist/calcite/p-6bf03571.entry.js +6 -0
  69. package/dist/calcite/p-6cbb4c73.js +6 -0
  70. package/dist/calcite/p-70ca90e7.js +6 -0
  71. package/dist/calcite/p-71251de9.entry.js +6 -0
  72. package/dist/calcite/p-754ffb63.js +6 -0
  73. package/dist/calcite/p-75582f87.js +6 -0
  74. package/dist/calcite/p-75f0ceaf.entry.js +6 -0
  75. package/dist/calcite/p-781b2ed8.js +11 -0
  76. package/dist/calcite/p-793ac6bf.entry.js +6 -0
  77. package/dist/calcite/p-796594b7.entry.js +6 -0
  78. package/dist/calcite/p-7a123790.js +6 -0
  79. package/dist/calcite/p-7abc17b4.entry.js +6 -0
  80. package/dist/calcite/p-7b53adea.entry.js +6 -0
  81. package/dist/calcite/p-7e8b5649.js +6 -0
  82. package/dist/calcite/p-80e5a1ed.js +6 -0
  83. package/dist/calcite/p-82e245c3.js +6 -0
  84. package/dist/calcite/p-85269b98.entry.js +6 -0
  85. package/dist/calcite/p-85f3c6d2.js +6 -0
  86. package/dist/calcite/p-8696bfd5.entry.js +6 -0
  87. package/dist/calcite/p-87452360.js +6 -0
  88. package/dist/calcite/p-88ba96bc.js +10 -0
  89. package/dist/calcite/p-88c187cf.entry.js +6 -0
  90. package/dist/calcite/p-89398217.js +6 -0
  91. package/dist/calcite/p-8944d5bc.entry.js +6 -0
  92. package/dist/calcite/p-8a11d621.js +6 -0
  93. package/dist/calcite/p-8a2e51bc.js +6 -0
  94. package/dist/calcite/p-8c9f75cf.js +6 -0
  95. package/dist/calcite/p-8f090008.js +6 -0
  96. package/dist/calcite/p-93a3212f.js +6 -0
  97. package/dist/calcite/p-970380dd.entry.js +6 -0
  98. package/dist/calcite/p-97393df1.js +6 -0
  99. package/dist/calcite/p-97698e4d.js +6 -0
  100. package/dist/calcite/p-988f5c31.entry.js +6 -0
  101. package/dist/calcite/p-990f77ee.js +6 -0
  102. package/dist/calcite/p-99662530.js +6 -0
  103. package/dist/calcite/p-9adc9df6.entry.js +6 -0
  104. package/dist/calcite/p-9db1cc20.entry.js +6 -0
  105. package/dist/calcite/p-9deb9061.entry.js +6 -0
  106. package/dist/calcite/p-a0a596b7.js +6 -0
  107. package/dist/calcite/p-a14385a7.js +6 -0
  108. package/dist/calcite/p-a26c4560.entry.js +6 -0
  109. package/dist/calcite/p-a286b2c6.entry.js +6 -0
  110. package/dist/calcite/p-a373f2b6.js +7 -0
  111. package/dist/calcite/p-a617fce7.entry.js +6 -0
  112. package/dist/calcite/p-a64a471c.js +6 -0
  113. package/dist/calcite/p-a6ac6ae7.entry.js +6 -0
  114. package/dist/calcite/p-a98a3004.entry.js +6 -0
  115. package/dist/calcite/p-aa34a8b5.js +6 -0
  116. package/dist/calcite/p-aa4da5f2.js +6 -0
  117. package/dist/calcite/p-aa621bf4.js +6 -0
  118. package/dist/calcite/p-aa82d9f9.js +6 -0
  119. package/dist/calcite/p-ac0bed40.js +6 -0
  120. package/dist/calcite/p-b1a4c61e.entry.js +6 -0
  121. package/dist/calcite/p-b33ca3fe.entry.js +6 -0
  122. package/dist/calcite/p-b4333d52.entry.js +6 -0
  123. package/dist/calcite/p-b6c10754.js +6 -0
  124. package/dist/calcite/p-bce0c55a.entry.js +6 -0
  125. package/dist/calcite/p-be4d420e.js +6 -0
  126. package/dist/calcite/p-c1378f36.js +6 -0
  127. package/dist/calcite/p-c1b258fe.entry.js +6 -0
  128. package/dist/calcite/p-c2165bd8.js +6 -0
  129. package/dist/calcite/p-c6327ab5.entry.js +6 -0
  130. package/dist/calcite/p-c743b9ac.entry.js +6 -0
  131. package/dist/calcite/p-c844d0fc.js +6 -0
  132. package/dist/calcite/p-c869f733.js +6 -0
  133. package/dist/calcite/p-ce06d6a9.js +6 -0
  134. package/dist/calcite/p-cf41a3b4.entry.js +6 -0
  135. package/dist/calcite/p-cfae948a.entry.js +6 -0
  136. package/dist/calcite/p-d0f2b0d8.js +6 -0
  137. package/dist/calcite/p-d108042b.entry.js +6 -0
  138. package/dist/calcite/p-d32c56c3.js +6 -0
  139. package/dist/calcite/p-d53ea8be.js +6 -0
  140. package/dist/calcite/p-d94132ce.entry.js +6 -0
  141. package/dist/calcite/p-d94c5dc3.js +6 -0
  142. package/dist/calcite/p-dad33dc5.js +6 -0
  143. package/dist/calcite/p-dc4f52ee.js +6 -0
  144. package/dist/calcite/p-dd1bf828.js +6 -0
  145. package/dist/calcite/p-df16082b.js +6 -0
  146. package/dist/calcite/p-e0beb554.entry.js +6 -0
  147. package/dist/calcite/p-e1dd1733.js +6 -0
  148. package/dist/calcite/p-e1df668c.js +6 -0
  149. package/dist/calcite/p-e3498c3d.entry.js +6 -0
  150. package/dist/calcite/p-e3eae849.entry.js +6 -0
  151. package/dist/calcite/p-e7f78d88.js +6 -0
  152. package/dist/calcite/p-e923ec9c.entry.js +6 -0
  153. package/dist/calcite/p-e986ef3c.entry.js +6 -0
  154. package/dist/calcite/p-ec30fd69.entry.js +6 -0
  155. package/dist/calcite/p-ee9e9172.js +6 -0
  156. package/dist/calcite/p-f40554ed.entry.js +6 -0
  157. package/dist/calcite/p-f9f8c7ff.js +6 -0
  158. package/dist/calcite/p-fb5d5cea.js +6 -0
  159. package/dist/calcite/p-fd461573.entry.js +6 -0
  160. package/dist/calcite/p-fe04652e.js +6 -0
  161. package/dist/cjs/ExpandToggle-93555f00.js +109 -0
  162. package/dist/cjs/FloatingArrow-7c781a3f.js +45 -0
  163. package/dist/cjs/Heading-4be42a9a.js +20 -0
  164. package/dist/cjs/app-globals-ad095616.js +59 -0
  165. package/dist/cjs/ar-a4bfbf5d.js +96 -0
  166. package/dist/cjs/array-19260eae.js +12 -0
  167. package/dist/cjs/bg-a666f3b1.js +77 -0
  168. package/dist/cjs/bs-9209380e.js +46 -0
  169. package/dist/cjs/ca-b67b28f6.js +66 -0
  170. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  171. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  172. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  173. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  174. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  175. package/dist/cjs/calcite-action.cjs.entry.js +11 -11
  176. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  177. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  178. package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
  179. package/dist/cjs/calcite-button.cjs.entry.js +13 -13
  180. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  181. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
  182. package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
  183. package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
  184. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +18 -15
  185. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
  186. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
  187. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
  188. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  189. package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
  190. package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
  191. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  192. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
  193. package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
  194. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  195. package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
  196. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
  197. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  198. package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
  199. package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
  200. package/dist/cjs/calcite-input-time-picker.calcite-time-picker-204e75fc.js +2454 -0
  201. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +20 -2412
  202. package/dist/cjs/calcite-input.cjs.entry.js +13 -13
  203. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  204. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  205. package/dist/cjs/calcite-list_3.cjs.entry.js +12 -12
  206. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  207. package/dist/cjs/calcite-menu_2.cjs.entry.js +14 -12
  208. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  209. package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
  210. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  211. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  212. package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
  213. package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
  214. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
  215. package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
  216. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  217. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  218. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  219. package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
  220. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  221. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
  222. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  223. package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
  224. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  225. package/dist/cjs/calcite-stack.cjs.entry.js +5 -5
  226. package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
  227. package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
  228. package/dist/cjs/calcite-tab_4.cjs.entry.js +10 -10
  229. package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
  230. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
  231. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  232. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  233. package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
  234. package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
  235. package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
  236. package/dist/cjs/calcite.cjs.js +5 -5
  237. package/dist/cjs/composed-offset-position.esm-8513b624.js +79 -0
  238. package/dist/cjs/conditionalSlot-f98d0f91.js +58 -0
  239. package/dist/cjs/cs-d1dba237.js +142 -0
  240. package/dist/cjs/da-09e7dfeb.js +61 -0
  241. package/dist/cjs/de-at-2fd0230e.js +85 -0
  242. package/dist/cjs/de-ch-89a617b0.js +85 -0
  243. package/dist/cjs/de-f73ef064.js +86 -0
  244. package/dist/cjs/debounce-4ca35bb0.js +496 -0
  245. package/dist/cjs/dom-b327d3a5.js +949 -0
  246. package/dist/cjs/el-eb44e363.js +61 -0
  247. package/dist/cjs/en-au-1661bcd4.js +61 -0
  248. package/dist/cjs/en-ca-fe7317b9.js +60 -0
  249. package/dist/cjs/en-gb-c30b40ba.js +64 -0
  250. package/dist/cjs/es-a86b5cde.js +61 -0
  251. package/dist/cjs/es-mx-a5141e64.js +60 -0
  252. package/dist/cjs/et-3d9151ba.js +87 -0
  253. package/dist/cjs/fi-ad569c8d.js +110 -0
  254. package/dist/cjs/filter-77a29b90.js +760 -0
  255. package/dist/cjs/floating-ui-6e11ed49.js +1820 -0
  256. package/dist/cjs/focusTrapComponent-b77afae7.js +804 -0
  257. package/dist/cjs/form-86415532.js +283 -0
  258. package/dist/cjs/fr-11a793dc.js +63 -0
  259. package/dist/cjs/fr-ch-1bef4a9d.js +61 -0
  260. package/dist/cjs/guid-3cf8bf8a.js +21 -0
  261. package/dist/cjs/he-9b02041f.js +100 -0
  262. package/dist/cjs/hi-0fc5c527.js +60 -0
  263. package/dist/cjs/hr-e668552f.js +75 -0
  264. package/dist/cjs/hu-4d6ad522.js +83 -0
  265. package/dist/cjs/id-4cb8e2a4.js +61 -0
  266. package/dist/cjs/index-bf534a74.js +2303 -0
  267. package/dist/cjs/index.cjs.js +2 -2
  268. package/dist/cjs/interactive-b2980f98.js +70 -0
  269. package/dist/cjs/it-0170bb3c.js +61 -0
  270. package/dist/cjs/it-ch-076e04dc.js +61 -0
  271. package/dist/cjs/ja-31791e02.js +67 -0
  272. package/dist/cjs/key-03a66267.js +14 -0
  273. package/dist/cjs/ko-7cd8f5c3.js +67 -0
  274. package/dist/cjs/label-495277ea.js +131 -0
  275. package/dist/cjs/loadable-e749309a.js +64 -0
  276. package/dist/cjs/loader.cjs.js +5 -5
  277. package/dist/cjs/locale-0f1c5ea8.js +557 -0
  278. package/dist/cjs/lt-0b864ffc.js +92 -0
  279. package/dist/cjs/lv-73e04dab.js +61 -0
  280. package/dist/cjs/math-fb2658c5.js +23 -0
  281. package/dist/cjs/mk-f3a80002.js +61 -0
  282. package/dist/cjs/nb-9d4f233b.js +62 -0
  283. package/dist/cjs/nl-8a3d7b7b.js +62 -0
  284. package/dist/cjs/observers-0ff92a7f.js +48 -0
  285. package/dist/cjs/openCloseComponent-e03ca42e.js +95 -0
  286. package/dist/cjs/pl-d5fb21f1.js +109 -0
  287. package/dist/cjs/pt-a103f820.js +62 -0
  288. package/dist/cjs/pt-br-4d419a29.js +60 -0
  289. package/dist/cjs/resources-00c22b3a.js +27 -0
  290. package/dist/cjs/resources-06c9efee.js +22 -0
  291. package/dist/cjs/resources-310ba116.js +15 -0
  292. package/dist/cjs/resources-7e53312c.js +45 -0
  293. package/dist/cjs/resources-ed3b24f8.js +17 -0
  294. package/dist/cjs/resources-ff71b443.js +410 -0
  295. package/dist/cjs/ro-5d2841fd.js +61 -0
  296. package/dist/cjs/ru-07f7b205.js +121 -0
  297. package/dist/cjs/sk-4d0acc49.js +143 -0
  298. package/dist/cjs/sl-8b159836.js +61 -0
  299. package/dist/cjs/sortableComponent-f490bf7e.js +3082 -0
  300. package/dist/cjs/sr-557b8d59.js +96 -0
  301. package/dist/cjs/sv-84013f0a.js +66 -0
  302. package/dist/cjs/t9n-d38e165e.js +95 -0
  303. package/dist/cjs/th-19e79b92.js +60 -0
  304. package/dist/cjs/throttle-3bad6d6a.js +75 -0
  305. package/dist/cjs/tr-405e2252.js +61 -0
  306. package/dist/cjs/uk-1190ebd1.js +99 -0
  307. package/dist/cjs/utils-0ed18e01.js +294 -0
  308. package/dist/cjs/utils-4550ec6f.js +213 -0
  309. package/dist/cjs/vi-3b015b69.js +65 -0
  310. package/dist/cjs/zh-cn-5a300c6a.js +89 -0
  311. package/dist/cjs/zh-hk-c30f9774.js +66 -0
  312. package/dist/cjs/zh-tw-da47ea05.js +87 -0
  313. package/dist/collection/components/accordion/accordion.js +1 -1
  314. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  315. package/dist/collection/components/accordion-item/resources.js +1 -1
  316. package/dist/collection/components/action/action.js +1 -1
  317. package/dist/collection/components/action/resources.js +1 -1
  318. package/dist/collection/components/action-bar/action-bar.js +1 -1
  319. package/dist/collection/components/action-bar/resources.js +1 -1
  320. package/dist/collection/components/action-bar/utils.js +1 -1
  321. package/dist/collection/components/action-group/action-group.js +1 -1
  322. package/dist/collection/components/action-group/resources.js +1 -1
  323. package/dist/collection/components/action-menu/action-menu.js +1 -1
  324. package/dist/collection/components/action-menu/resources.js +1 -1
  325. package/dist/collection/components/action-pad/action-pad.js +1 -1
  326. package/dist/collection/components/action-pad/resources.js +1 -1
  327. package/dist/collection/components/alert/alert.js +1 -1
  328. package/dist/collection/components/alert/resources.js +1 -1
  329. package/dist/collection/components/avatar/avatar.js +1 -1
  330. package/dist/collection/components/avatar/utils.js +1 -1
  331. package/dist/collection/components/block/block.js +1 -1
  332. package/dist/collection/components/block/resources.js +1 -1
  333. package/dist/collection/components/block-section/block-section.js +1 -1
  334. package/dist/collection/components/block-section/resources.js +1 -1
  335. package/dist/collection/components/button/button.js +1 -1
  336. package/dist/collection/components/button/resources.js +1 -1
  337. package/dist/collection/components/card/card.js +1 -1
  338. package/dist/collection/components/card/resources.js +1 -1
  339. package/dist/collection/components/checkbox/checkbox.js +1 -1
  340. package/dist/collection/components/chip/chip.js +1 -1
  341. package/dist/collection/components/chip/resources.js +1 -1
  342. package/dist/collection/components/chip-group/chip-group.js +1 -1
  343. package/dist/collection/components/color-picker/color-picker.js +1 -1
  344. package/dist/collection/components/color-picker/resources.js +1 -1
  345. package/dist/collection/components/color-picker/utils.js +1 -1
  346. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +4 -1
  347. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  348. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  349. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  350. package/dist/collection/components/combobox/combobox.js +1 -1
  351. package/dist/collection/components/combobox/resources.js +1 -1
  352. package/dist/collection/components/combobox/utils.js +1 -1
  353. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  354. package/dist/collection/components/combobox-item/resources.js +1 -1
  355. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  356. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  357. package/dist/collection/components/date-picker/date-picker.js +1 -1
  358. package/dist/collection/components/date-picker/resources.js +1 -1
  359. package/dist/collection/components/date-picker/utils.js +1 -1
  360. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  361. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  362. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  363. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  364. package/dist/collection/components/dropdown/dropdown.js +1 -1
  365. package/dist/collection/components/dropdown/resources.js +1 -1
  366. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  367. package/dist/collection/components/dropdown-group/resources.js +1 -1
  368. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  369. package/dist/collection/components/dropdown-item/resources.js +1 -1
  370. package/dist/collection/components/fab/fab.js +1 -1
  371. package/dist/collection/components/fab/resources.js +1 -1
  372. package/dist/collection/components/filter/filter.js +1 -1
  373. package/dist/collection/components/filter/resources.js +1 -1
  374. package/dist/collection/components/flow/flow.js +1 -1
  375. package/dist/collection/components/flow/resources.js +1 -1
  376. package/dist/collection/components/flow-item/flow-item.js +1 -1
  377. package/dist/collection/components/flow-item/resources.js +1 -1
  378. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  379. package/dist/collection/components/functional/FloatingArrow.js +1 -1
  380. package/dist/collection/components/functional/Heading.js +1 -1
  381. package/dist/collection/components/functional/XButton.js +1 -1
  382. package/dist/collection/components/graph/graph.js +1 -1
  383. package/dist/collection/components/graph/util.js +1 -1
  384. package/dist/collection/components/handle/handle.js +1 -1
  385. package/dist/collection/components/handle/resources.js +1 -1
  386. package/dist/collection/components/icon/assets/icon/maskInside16.json +1 -0
  387. package/dist/collection/components/icon/assets/icon/maskInside24.json +1 -0
  388. package/dist/collection/components/icon/assets/icon/maskInside32.json +1 -0
  389. package/dist/collection/components/icon/assets/icon/maskOutside16.json +1 -0
  390. package/dist/collection/components/icon/assets/icon/maskOutside24.json +1 -0
  391. package/dist/collection/components/icon/assets/icon/maskOutside32.json +1 -0
  392. package/dist/collection/components/icon/icon.js +1 -1
  393. package/dist/collection/components/icon/resources.js +1 -1
  394. package/dist/collection/components/icon/utils.js +1 -1
  395. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  396. package/dist/collection/components/inline-editable/resources.js +1 -1
  397. package/dist/collection/components/input/input.js +1 -1
  398. package/dist/collection/components/input/resources.js +1 -1
  399. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  400. package/dist/collection/components/input-date-picker/resources.js +1 -1
  401. package/dist/collection/components/input-message/input-message.js +1 -1
  402. package/dist/collection/components/input-message/interfaces.js +1 -1
  403. package/dist/collection/components/input-number/input-number.js +1 -1
  404. package/dist/collection/components/input-number/resources.js +1 -1
  405. package/dist/collection/components/input-text/input-text.js +1 -1
  406. package/dist/collection/components/input-text/resources.js +1 -1
  407. package/dist/collection/components/input-time-picker/input-time-picker.js +56 -3
  408. package/dist/collection/components/input-time-picker/resources.js +1 -1
  409. package/dist/collection/components/label/label.js +1 -1
  410. package/dist/collection/components/label/resources.js +1 -1
  411. package/dist/collection/components/link/link.js +1 -1
  412. package/dist/collection/components/list/list.js +1 -1
  413. package/dist/collection/components/list/resources.js +1 -1
  414. package/dist/collection/components/list-item/list-item.js +1 -1
  415. package/dist/collection/components/list-item/resources.js +1 -1
  416. package/dist/collection/components/list-item/utils.js +1 -1
  417. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  418. package/dist/collection/components/list-item-group/resources.js +1 -1
  419. package/dist/collection/components/loader/loader.js +1 -1
  420. package/dist/collection/components/menu/menu.js +1 -1
  421. package/dist/collection/components/menu-item/menu-item.css +2 -2
  422. package/dist/collection/components/menu-item/menu-item.js +2 -2
  423. package/dist/collection/components/menu-item/resources.js +1 -1
  424. package/dist/collection/components/modal/modal.js +1 -1
  425. package/dist/collection/components/modal/resources.js +1 -1
  426. package/dist/collection/components/navigation/navigation.js +1 -1
  427. package/dist/collection/components/navigation/resources.js +1 -1
  428. package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
  429. package/dist/collection/components/navigation-logo/resources.js +1 -1
  430. package/dist/collection/components/navigation-user/navigation-user.js +1 -1
  431. package/dist/collection/components/navigation-user/resources.js +1 -1
  432. package/dist/collection/components/notice/notice.js +1 -1
  433. package/dist/collection/components/notice/resources.js +1 -1
  434. package/dist/collection/components/option/option.js +1 -1
  435. package/dist/collection/components/option-group/option-group.js +1 -1
  436. package/dist/collection/components/pagination/pagination.js +1 -1
  437. package/dist/collection/components/pagination/resources.js +1 -1
  438. package/dist/collection/components/panel/panel.js +1 -1
  439. package/dist/collection/components/panel/resources.js +1 -1
  440. package/dist/collection/components/pick-list/pick-list.js +1 -1
  441. package/dist/collection/components/pick-list/resources.js +1 -1
  442. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  443. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  444. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  445. package/dist/collection/components/pick-list-group/resources.js +1 -1
  446. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  447. package/dist/collection/components/pick-list-item/resources.js +1 -1
  448. package/dist/collection/components/popover/PopoverManager.js +1 -1
  449. package/dist/collection/components/popover/popover.js +1 -1
  450. package/dist/collection/components/popover/resources.js +1 -1
  451. package/dist/collection/components/progress/progress.js +1 -1
  452. package/dist/collection/components/radio-button/radio-button.js +1 -1
  453. package/dist/collection/components/radio-button/resources.js +1 -1
  454. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  455. package/dist/collection/components/rating/function/star.js +1 -1
  456. package/dist/collection/components/rating/rating.js +1 -1
  457. package/dist/collection/components/resources.js +1 -1
  458. package/dist/collection/components/scrim/resources.js +1 -1
  459. package/dist/collection/components/scrim/scrim.js +1 -1
  460. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  461. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  462. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  463. package/dist/collection/components/select/resources.js +1 -1
  464. package/dist/collection/components/select/select.js +1 -1
  465. package/dist/collection/components/shell/resources.js +1 -1
  466. package/dist/collection/components/shell/shell.js +1 -1
  467. package/dist/collection/components/shell-center-row/resources.js +1 -1
  468. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  469. package/dist/collection/components/shell-panel/resources.js +1 -1
  470. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  471. package/dist/collection/components/slider/resources.js +1 -1
  472. package/dist/collection/components/slider/slider.js +1 -1
  473. package/dist/collection/components/sortable-list/resources.js +1 -1
  474. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  475. package/dist/collection/components/split-button/resources.js +1 -1
  476. package/dist/collection/components/split-button/split-button.js +1 -1
  477. package/dist/collection/components/stack/resources.js +1 -1
  478. package/dist/collection/components/stack/stack.js +1 -1
  479. package/dist/collection/components/stepper/stepper.js +1 -1
  480. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  481. package/dist/collection/components/switch/switch.js +1 -1
  482. package/dist/collection/components/tab/tab.js +1 -1
  483. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  484. package/dist/collection/components/tab-title/resources.js +1 -1
  485. package/dist/collection/components/tab-title/tab-title.js +1 -1
  486. package/dist/collection/components/tabs/resources.js +1 -1
  487. package/dist/collection/components/tabs/tabs.js +1 -1
  488. package/dist/collection/components/text-area/assets/text-area/t9n/index.d.ts +1 -0
  489. package/dist/collection/components/text-area/assets/text-area/t9n/messages.json +2 -1
  490. package/dist/collection/components/text-area/assets/text-area/t9n/messages_en.json +2 -1
  491. package/dist/collection/components/text-area/resources.js +1 -1
  492. package/dist/collection/components/text-area/text-area.js +3 -3
  493. package/dist/collection/components/tile/resources.js +1 -1
  494. package/dist/collection/components/tile/tile.js +1 -1
  495. package/dist/collection/components/tile-select/resources.js +1 -1
  496. package/dist/collection/components/tile-select/tile-select.js +1 -1
  497. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  498. package/dist/collection/components/time-picker/resources.js +1 -1
  499. package/dist/collection/components/time-picker/time-picker.js +1 -1
  500. package/dist/collection/components/tip/resources.js +1 -1
  501. package/dist/collection/components/tip/tip.js +1 -1
  502. package/dist/collection/components/tip-group/tip-group.js +1 -1
  503. package/dist/collection/components/tip-manager/resources.js +1 -1
  504. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  505. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  506. package/dist/collection/components/tooltip/resources.js +1 -1
  507. package/dist/collection/components/tooltip/tooltip.js +1 -1
  508. package/dist/collection/components/tooltip/utils.js +1 -1
  509. package/dist/collection/components/tree/tree.js +1 -1
  510. package/dist/collection/components/tree/utils.js +1 -1
  511. package/dist/collection/components/tree-item/resources.js +1 -1
  512. package/dist/collection/components/tree-item/tree-item.js +1 -1
  513. package/dist/collection/components/value-list/resources.js +1 -1
  514. package/dist/collection/components/value-list/utils.js +1 -1
  515. package/dist/collection/components/value-list/value-list.js +1 -1
  516. package/dist/collection/components/value-list-item/resources.js +1 -1
  517. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  518. package/dist/collection/index.js +1 -1
  519. package/dist/collection/utils/array.js +1 -1
  520. package/dist/collection/utils/conditionalSlot.js +1 -1
  521. package/dist/collection/utils/config.js +1 -1
  522. package/dist/collection/utils/date.js +1 -1
  523. package/dist/collection/utils/dom.js +1 -1
  524. package/dist/collection/utils/filter.js +1 -1
  525. package/dist/collection/utils/floating-ui.js +1 -1
  526. package/dist/collection/utils/focusTrapComponent.js +1 -1
  527. package/dist/collection/utils/form.js +1 -1
  528. package/dist/collection/utils/globalAttributes.js +3 -1
  529. package/dist/collection/utils/globalScript.js +1 -1
  530. package/dist/collection/utils/guid.js +1 -1
  531. package/dist/collection/utils/interactive.js +13 -7
  532. package/dist/collection/utils/key.js +1 -1
  533. package/dist/collection/utils/label.js +1 -1
  534. package/dist/collection/utils/loadable.js +1 -1
  535. package/dist/collection/utils/locale.js +1 -1
  536. package/dist/collection/utils/math.js +1 -1
  537. package/dist/collection/utils/mode.js +1 -1
  538. package/dist/collection/utils/number.js +1 -1
  539. package/dist/collection/utils/observers.js +1 -1
  540. package/dist/collection/utils/openCloseComponent.js +1 -1
  541. package/dist/collection/utils/resources.js +1 -1
  542. package/dist/collection/utils/sortableComponent.js +1 -1
  543. package/dist/collection/utils/t9n.js +5 -1
  544. package/dist/collection/utils/time.js +1 -1
  545. package/dist/components/ExpandToggle.js +1 -1
  546. package/dist/components/FloatingArrow.js +1 -1
  547. package/dist/components/Heading.js +1 -1
  548. package/dist/components/action-group.js +1 -1
  549. package/dist/components/action-menu.js +1 -1
  550. package/dist/components/action.js +1 -1
  551. package/dist/components/ar.js +81 -0
  552. package/dist/components/array.js +1 -1
  553. package/dist/components/avatar.js +1 -1
  554. package/dist/components/bg.js +62 -0
  555. package/dist/components/bs.js +31 -0
  556. package/dist/components/button.js +1 -1
  557. package/dist/components/ca.js +51 -0
  558. package/dist/components/calcite-accordion-item.js +1 -1
  559. package/dist/components/calcite-accordion.js +1 -1
  560. package/dist/components/calcite-action-bar.js +1 -1
  561. package/dist/components/calcite-action-group.js +1 -1
  562. package/dist/components/calcite-action-menu.js +1 -1
  563. package/dist/components/calcite-action-pad.js +1 -1
  564. package/dist/components/calcite-action.js +1 -1
  565. package/dist/components/calcite-alert.js +1 -1
  566. package/dist/components/calcite-avatar.js +1 -1
  567. package/dist/components/calcite-block-section.js +1 -1
  568. package/dist/components/calcite-block.js +1 -1
  569. package/dist/components/calcite-button.js +1 -1
  570. package/dist/components/calcite-card.js +1 -1
  571. package/dist/components/calcite-checkbox.js +1 -1
  572. package/dist/components/calcite-chip-group.js +1 -1
  573. package/dist/components/calcite-chip.js +1 -1
  574. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  575. package/dist/components/calcite-color-picker-swatch.js +1 -1
  576. package/dist/components/calcite-color-picker.js +1 -1
  577. package/dist/components/calcite-combobox-item-group.js +1 -1
  578. package/dist/components/calcite-combobox-item.js +1 -1
  579. package/dist/components/calcite-combobox.js +1 -1
  580. package/dist/components/calcite-date-picker-day.js +1 -1
  581. package/dist/components/calcite-date-picker-month-header.js +1 -1
  582. package/dist/components/calcite-date-picker-month.js +1 -1
  583. package/dist/components/calcite-date-picker.js +1 -1
  584. package/dist/components/calcite-dropdown-group.js +1 -1
  585. package/dist/components/calcite-dropdown-item.js +1 -1
  586. package/dist/components/calcite-dropdown.js +1 -1
  587. package/dist/components/calcite-fab.js +1 -1
  588. package/dist/components/calcite-filter.js +1 -1
  589. package/dist/components/calcite-flow-item.js +1 -1
  590. package/dist/components/calcite-flow.js +1 -1
  591. package/dist/components/calcite-graph.js +1 -1
  592. package/dist/components/calcite-handle.js +1 -1
  593. package/dist/components/calcite-icon.js +1 -1
  594. package/dist/components/calcite-inline-editable.js +1 -1
  595. package/dist/components/calcite-input-date-picker.js +1 -1
  596. package/dist/components/calcite-input-message.js +1 -1
  597. package/dist/components/calcite-input-number.js +1 -1
  598. package/dist/components/calcite-input-text.js +1 -1
  599. package/dist/components/calcite-input-time-picker.js +62 -4
  600. package/dist/components/calcite-input.js +1 -1
  601. package/dist/components/calcite-label.js +1 -1
  602. package/dist/components/calcite-link.js +1 -1
  603. package/dist/components/calcite-list-item-group.js +1 -1
  604. package/dist/components/calcite-list-item.js +1 -1
  605. package/dist/components/calcite-list.js +1 -1
  606. package/dist/components/calcite-loader.js +1 -1
  607. package/dist/components/calcite-menu-item.js +3 -3
  608. package/dist/components/calcite-menu.js +1 -1
  609. package/dist/components/calcite-modal.js +1 -1
  610. package/dist/components/calcite-navigation-logo.js +1 -1
  611. package/dist/components/calcite-navigation-user.js +1 -1
  612. package/dist/components/calcite-navigation.js +1 -1
  613. package/dist/components/calcite-notice.js +1 -1
  614. package/dist/components/calcite-option-group.js +1 -1
  615. package/dist/components/calcite-option.js +1 -1
  616. package/dist/components/calcite-pagination.js +1 -1
  617. package/dist/components/calcite-panel.js +1 -1
  618. package/dist/components/calcite-pick-list-group.js +1 -1
  619. package/dist/components/calcite-pick-list-item.js +1 -1
  620. package/dist/components/calcite-pick-list.js +1 -1
  621. package/dist/components/calcite-popover.js +1 -1
  622. package/dist/components/calcite-progress.js +1 -1
  623. package/dist/components/calcite-radio-button-group.js +1 -1
  624. package/dist/components/calcite-radio-button.js +1 -1
  625. package/dist/components/calcite-rating.js +1 -1
  626. package/dist/components/calcite-scrim.js +1 -1
  627. package/dist/components/calcite-segmented-control-item.js +1 -1
  628. package/dist/components/calcite-segmented-control.js +1 -1
  629. package/dist/components/calcite-select.js +1 -1
  630. package/dist/components/calcite-shell-center-row.js +1 -1
  631. package/dist/components/calcite-shell-panel.js +1 -1
  632. package/dist/components/calcite-shell.js +1 -1
  633. package/dist/components/calcite-slider.js +1 -1
  634. package/dist/components/calcite-sortable-list.js +1 -1
  635. package/dist/components/calcite-split-button.js +1 -1
  636. package/dist/components/calcite-stack.js +1 -1
  637. package/dist/components/calcite-stepper-item.js +1 -1
  638. package/dist/components/calcite-stepper.js +1 -1
  639. package/dist/components/calcite-switch.js +1 -1
  640. package/dist/components/calcite-tab-nav.js +1 -1
  641. package/dist/components/calcite-tab-title.js +1 -1
  642. package/dist/components/calcite-tab.js +1 -1
  643. package/dist/components/calcite-tabs.js +1 -1
  644. package/dist/components/calcite-text-area.js +1 -1
  645. package/dist/components/calcite-tile-select-group.js +1 -1
  646. package/dist/components/calcite-tile-select.js +1 -1
  647. package/dist/components/calcite-tile.js +1 -1
  648. package/dist/components/calcite-time-picker.js +1 -1
  649. package/dist/components/calcite-tip-group.js +1 -1
  650. package/dist/components/calcite-tip-manager.js +1 -1
  651. package/dist/components/calcite-tip.js +1 -1
  652. package/dist/components/calcite-tooltip.js +1 -1
  653. package/dist/components/calcite-tree-item.js +1 -1
  654. package/dist/components/calcite-tree.js +1 -1
  655. package/dist/components/calcite-value-list-item.js +1 -1
  656. package/dist/components/calcite-value-list.js +1 -1
  657. package/dist/components/checkbox.js +1 -1
  658. package/dist/components/chip.js +1 -1
  659. package/dist/components/color-picker-hex-input.js +4 -1
  660. package/dist/components/color-picker-swatch.js +1 -1
  661. package/dist/components/composed-offset-position.esm.js +1 -1
  662. package/dist/components/conditionalSlot.js +1 -1
  663. package/dist/components/cs.js +127 -0
  664. package/dist/components/da.js +46 -0
  665. package/dist/components/date-picker-day.js +1 -1
  666. package/dist/components/date-picker-month-header.js +1 -1
  667. package/dist/components/date-picker-month.js +1 -1
  668. package/dist/components/date-picker.js +1 -1
  669. package/dist/components/date.js +1 -1
  670. package/dist/components/de-at.js +70 -0
  671. package/dist/components/de-ch.js +70 -0
  672. package/dist/components/de.js +71 -0
  673. package/dist/components/debounce.js +1 -1
  674. package/dist/components/dom.js +1 -1
  675. package/dist/components/dropdown.js +1 -1
  676. package/dist/components/el.js +46 -0
  677. package/dist/components/en-au.js +46 -0
  678. package/dist/components/en-ca.js +45 -0
  679. package/dist/components/en-gb.js +49 -0
  680. package/dist/components/es-mx.js +45 -0
  681. package/dist/components/es.js +46 -0
  682. package/dist/components/et.js +72 -0
  683. package/dist/components/fi.js +95 -0
  684. package/dist/components/filter.js +1 -1
  685. package/dist/components/filter2.js +1 -1
  686. package/dist/components/floating-ui.js +1 -1
  687. package/dist/components/focusTrapComponent.js +1 -1
  688. package/dist/components/form.js +1 -1
  689. package/dist/components/fr-ch.js +46 -0
  690. package/dist/components/fr.js +48 -0
  691. package/dist/components/graph.js +1 -1
  692. package/dist/components/guid.js +1 -1
  693. package/dist/components/handle.js +1 -1
  694. package/dist/components/he.js +85 -0
  695. package/dist/components/hi.js +45 -0
  696. package/dist/components/hr.js +60 -0
  697. package/dist/components/hu.js +68 -0
  698. package/dist/components/icon.js +1 -1
  699. package/dist/components/id.js +46 -0
  700. package/dist/components/index.js +1 -1
  701. package/dist/components/index2.js +1 -1
  702. package/dist/components/input-number.js +1 -1
  703. package/dist/components/input.js +1 -1
  704. package/dist/components/interactive.js +13 -7
  705. package/dist/components/it-ch.js +46 -0
  706. package/dist/components/it.js +46 -0
  707. package/dist/components/ja.js +52 -0
  708. package/dist/components/key.js +1 -1
  709. package/dist/components/ko.js +52 -0
  710. package/dist/components/label.js +1 -1
  711. package/dist/components/label2.js +1 -1
  712. package/dist/components/link.js +1 -1
  713. package/dist/components/loadable.js +1 -1
  714. package/dist/components/loader.js +1 -1
  715. package/dist/components/locale.js +1 -1
  716. package/dist/components/lt.js +77 -0
  717. package/dist/components/lv.js +46 -0
  718. package/dist/components/math.js +1 -1
  719. package/dist/components/menu.js +3 -1
  720. package/dist/components/mk.js +46 -0
  721. package/dist/components/nb.js +47 -0
  722. package/dist/components/nl.js +47 -0
  723. package/dist/components/observers.js +1 -1
  724. package/dist/components/openCloseComponent.js +1 -1
  725. package/dist/components/panel.js +1 -1
  726. package/dist/components/pick-list-item.js +1 -1
  727. package/dist/components/pl.js +94 -0
  728. package/dist/components/popover.js +1 -1
  729. package/dist/components/progress.js +1 -1
  730. package/dist/components/pt-br.js +45 -0
  731. package/dist/components/pt.js +47 -0
  732. package/dist/components/resources.js +1 -1
  733. package/dist/components/resources2.js +1 -1
  734. package/dist/components/resources3.js +1 -1
  735. package/dist/components/ro.js +46 -0
  736. package/dist/components/ru.js +106 -0
  737. package/dist/components/scrim.js +1 -1
  738. package/dist/components/shared-list-render.js +1 -1
  739. package/dist/components/sk.js +128 -0
  740. package/dist/components/sl.js +46 -0
  741. package/dist/components/sortableComponent.js +1 -1
  742. package/dist/components/sr.js +81 -0
  743. package/dist/components/sv.js +51 -0
  744. package/dist/components/switch.js +1 -1
  745. package/dist/components/t9n.js +5 -1
  746. package/dist/components/tab-nav.js +1 -1
  747. package/dist/components/tab-title.js +1 -1
  748. package/dist/components/tab.js +1 -1
  749. package/dist/components/tabs.js +1 -1
  750. package/dist/components/th.js +45 -0
  751. package/dist/components/throttle.js +1 -1
  752. package/dist/components/tile.js +1 -1
  753. package/dist/components/time-picker.js +1 -1
  754. package/dist/components/tooltip.js +1 -1
  755. package/dist/components/tr.js +46 -0
  756. package/dist/components/uk.js +84 -0
  757. package/dist/components/utils.js +1 -1
  758. package/dist/components/utils2.js +1 -1
  759. package/dist/components/utils3.js +1 -1
  760. package/dist/components/vi.js +50 -0
  761. package/dist/components/zh-cn.js +74 -0
  762. package/dist/components/zh-hk.js +51 -0
  763. package/dist/components/zh-tw.js +72 -0
  764. package/dist/esm/ExpandToggle-a7d49314.js +101 -0
  765. package/dist/esm/FloatingArrow-78a5ba84.js +43 -0
  766. package/dist/esm/Heading-7876da3c.js +17 -0
  767. package/dist/esm/app-globals-b96f5e3d.js +57 -0
  768. package/dist/esm/ar-31852619.js +94 -0
  769. package/dist/esm/array-8ee44994.js +10 -0
  770. package/dist/esm/bg-ead6af5c.js +75 -0
  771. package/dist/esm/bs-86e2369d.js +44 -0
  772. package/dist/esm/ca-c794ca56.js +64 -0
  773. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  774. package/dist/esm/calcite-action-bar.entry.js +15 -15
  775. package/dist/esm/calcite-action-group.entry.js +13 -13
  776. package/dist/esm/calcite-action-menu.entry.js +9 -9
  777. package/dist/esm/calcite-action-pad.entry.js +14 -14
  778. package/dist/esm/calcite-action.entry.js +11 -11
  779. package/dist/esm/calcite-alert.entry.js +12 -12
  780. package/dist/esm/calcite-avatar.entry.js +6 -6
  781. package/dist/esm/calcite-block_2.entry.js +12 -12
  782. package/dist/esm/calcite-button.entry.js +13 -13
  783. package/dist/esm/calcite-card.entry.js +10 -10
  784. package/dist/esm/calcite-checkbox.entry.js +10 -10
  785. package/dist/esm/calcite-chip-group.entry.js +8 -8
  786. package/dist/esm/calcite-chip.entry.js +12 -12
  787. package/dist/esm/calcite-color-picker_3.entry.js +18 -15
  788. package/dist/esm/calcite-combobox_3.entry.js +18 -18
  789. package/dist/esm/calcite-date-picker_4.entry.js +13 -13
  790. package/dist/esm/calcite-dropdown_3.entry.js +12 -12
  791. package/dist/esm/calcite-fab.entry.js +7 -7
  792. package/dist/esm/calcite-filter.entry.js +13 -13
  793. package/dist/esm/calcite-flow-item.entry.js +12 -12
  794. package/dist/esm/calcite-flow.entry.js +3 -3
  795. package/dist/esm/calcite-graph_2.entry.js +13 -13
  796. package/dist/esm/calcite-handle.entry.js +10 -10
  797. package/dist/esm/calcite-icon.entry.js +6 -6
  798. package/dist/esm/calcite-inline-editable.entry.js +12 -12
  799. package/dist/esm/calcite-input-date-picker.entry.js +18 -18
  800. package/dist/esm/calcite-input-message.entry.js +5 -5
  801. package/dist/esm/calcite-input-number.entry.js +13 -13
  802. package/dist/esm/calcite-input-text.entry.js +13 -13
  803. package/dist/esm/calcite-input-time-picker.calcite-time-picker-ef7aa7ed.js +2450 -0
  804. package/dist/esm/calcite-input-time-picker_2.entry.js +15 -2391
  805. package/dist/esm/calcite-input.entry.js +13 -13
  806. package/dist/esm/calcite-label.entry.js +6 -6
  807. package/dist/esm/calcite-link.entry.js +7 -7
  808. package/dist/esm/calcite-list_3.entry.js +12 -12
  809. package/dist/esm/calcite-loader.entry.js +3 -3
  810. package/dist/esm/calcite-menu_2.entry.js +14 -12
  811. package/dist/esm/calcite-modal.entry.js +13 -13
  812. package/dist/esm/calcite-navigation_3.entry.js +6 -6
  813. package/dist/esm/calcite-notice.entry.js +12 -12
  814. package/dist/esm/calcite-option_3.entry.js +10 -10
  815. package/dist/esm/calcite-pagination.entry.js +10 -10
  816. package/dist/esm/calcite-panel.entry.js +14 -14
  817. package/dist/esm/calcite-pick-list_3.entry.js +16 -16
  818. package/dist/esm/calcite-popover.entry.js +16 -16
  819. package/dist/esm/calcite-progress.entry.js +2 -2
  820. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  821. package/dist/esm/calcite-radio-button.entry.js +10 -10
  822. package/dist/esm/calcite-rating.entry.js +13 -13
  823. package/dist/esm/calcite-scrim.entry.js +9 -9
  824. package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
  825. package/dist/esm/calcite-shell_3.entry.js +11 -11
  826. package/dist/esm/calcite-sortable-list.entry.js +8 -8
  827. package/dist/esm/calcite-split-button.entry.js +4 -4
  828. package/dist/esm/calcite-stack.entry.js +5 -5
  829. package/dist/esm/calcite-stepper_2.entry.js +10 -10
  830. package/dist/esm/calcite-switch.entry.js +10 -10
  831. package/dist/esm/calcite-tab_4.entry.js +10 -10
  832. package/dist/esm/calcite-text-area.entry.js +15 -15
  833. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  834. package/dist/esm/calcite-tile.entry.js +8 -8
  835. package/dist/esm/calcite-tip_3.entry.js +11 -11
  836. package/dist/esm/calcite-tooltip.entry.js +9 -9
  837. package/dist/esm/calcite-tree_2.entry.js +9 -9
  838. package/dist/esm/calcite-value-list_2.entry.js +16 -16
  839. package/dist/esm/calcite.js +6 -6
  840. package/dist/esm/composed-offset-position.esm-5827a3e1.js +75 -0
  841. package/dist/esm/conditionalSlot-a8a64317.js +55 -0
  842. package/dist/esm/cs-1ea778cd.js +140 -0
  843. package/dist/esm/da-3837d596.js +59 -0
  844. package/dist/esm/de-2ab39300.js +84 -0
  845. package/dist/esm/de-at-bd99753e.js +83 -0
  846. package/dist/esm/de-ch-0331b363.js +83 -0
  847. package/dist/esm/debounce-a1a064c9.js +487 -0
  848. package/dist/esm/dom-5a05eca8.js +922 -0
  849. package/dist/esm/el-e9fc42bf.js +59 -0
  850. package/dist/esm/en-au-ee7783f9.js +59 -0
  851. package/dist/esm/en-ca-4260e729.js +58 -0
  852. package/dist/esm/en-gb-a4cb5ded.js +62 -0
  853. package/dist/esm/es-55286f1c.js +59 -0
  854. package/dist/esm/es-mx-2ca55e54.js +58 -0
  855. package/dist/esm/et-76957505.js +85 -0
  856. package/dist/esm/fi-0aaf7b22.js +108 -0
  857. package/dist/esm/filter-a2b88222.js +758 -0
  858. package/dist/esm/floating-ui-a643197c.js +1812 -0
  859. package/dist/esm/focusTrapComponent-2334588f.js +799 -0
  860. package/dist/esm/form-0ef3246c.js +275 -0
  861. package/dist/esm/fr-6d25e039.js +61 -0
  862. package/dist/esm/fr-ch-783a2ae8.js +59 -0
  863. package/dist/esm/guid-950f8a37.js +19 -0
  864. package/dist/esm/he-918f84be.js +98 -0
  865. package/dist/esm/hi-bab16409.js +58 -0
  866. package/dist/esm/hr-16a159c3.js +73 -0
  867. package/dist/esm/hu-2f93f338.js +81 -0
  868. package/dist/esm/id-d958c3f5.js +59 -0
  869. package/dist/esm/index-28ca7c1a.js +2268 -0
  870. package/dist/esm/index.js +2 -2
  871. package/dist/esm/interactive-e6129886.js +68 -0
  872. package/dist/esm/it-ch-9d0adea6.js +59 -0
  873. package/dist/esm/it-edde3f6a.js +59 -0
  874. package/dist/esm/ja-5d624281.js +65 -0
  875. package/dist/esm/key-a2612875.js +11 -0
  876. package/dist/esm/ko-7c3bb3c6.js +65 -0
  877. package/dist/esm/label-87b5e7ab.js +125 -0
  878. package/dist/esm/loadable-37f28699.js +60 -0
  879. package/dist/esm/loader.js +6 -6
  880. package/dist/esm/locale-f86e03e7.js +545 -0
  881. package/dist/esm/lt-e36a50ed.js +90 -0
  882. package/dist/esm/lv-3bbecbe5.js +59 -0
  883. package/dist/esm/math-889823f4.js +20 -0
  884. package/dist/esm/mk-6e7db47d.js +59 -0
  885. package/dist/esm/nb-307c6d5a.js +60 -0
  886. package/dist/esm/nl-12c0856a.js +60 -0
  887. package/dist/esm/observers-a39f0945.js +46 -0
  888. package/dist/esm/openCloseComponent-a28409da.js +91 -0
  889. package/dist/esm/pl-7e8fcf2d.js +107 -0
  890. package/dist/esm/pt-1dd685ae.js +60 -0
  891. package/dist/esm/pt-br-5bc8f688.js +58 -0
  892. package/dist/esm/resources-126c408a.js +41 -0
  893. package/dist/esm/resources-1e79fb18.js +18 -0
  894. package/dist/esm/resources-490f78fe.js +23 -0
  895. package/dist/esm/resources-68aee013.js +14 -0
  896. package/dist/esm/resources-ed0abbe4.js +383 -0
  897. package/dist/esm/resources-ffc3d86b.js +15 -0
  898. package/dist/esm/ro-5cc7dc76.js +59 -0
  899. package/dist/esm/ru-9324465b.js +119 -0
  900. package/dist/esm/sk-e0a37f08.js +141 -0
  901. package/dist/esm/sl-46e33246.js +59 -0
  902. package/dist/esm/sortableComponent-4639e24b.js +3077 -0
  903. package/dist/esm/sr-33409671.js +94 -0
  904. package/dist/esm/sv-b325e02a.js +64 -0
  905. package/dist/esm/t9n-f2be9f54.js +90 -0
  906. package/dist/esm/th-90b20e12.js +58 -0
  907. package/dist/esm/throttle-5fadd5f5.js +73 -0
  908. package/dist/esm/tr-7a34b361.js +59 -0
  909. package/dist/esm/uk-7ffbc5c2.js +97 -0
  910. package/dist/esm/utils-7f02b08b.js +195 -0
  911. package/dist/esm/utils-c19b1fc9.js +277 -0
  912. package/dist/esm/vi-a18a8659.js +63 -0
  913. package/dist/esm/zh-cn-b50c3b57.js +87 -0
  914. package/dist/esm/zh-hk-72348205.js +64 -0
  915. package/dist/esm/zh-tw-3e60165b.js +85 -0
  916. package/dist/extras/docs-json.json +3 -3
  917. package/dist/loader/cdn.js +1 -1
  918. package/dist/loader/index.cjs.js +1 -1
  919. package/dist/loader/index.es2017.js +1 -1
  920. package/dist/loader/index.js +1 -1
  921. package/dist/types/components/color-picker/color-picker.d.ts +5 -0
  922. package/dist/types/components/navigation-logo/navigation-logo.d.ts +2 -0
  923. package/dist/types/components/text-area/assets/text-area/t9n/index.d.ts +1 -0
  924. package/dist/types/utils/globalAttributes.d.ts +2 -0
  925. package/dist/types/utils/interactive.d.ts +6 -0
  926. package/dist/types/utils/t9n.d.ts +5 -0
  927. package/hydrate/index.js +2922 -45
  928. package/package.json +4 -5
  929. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/af.js +0 -39
  930. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/am.js +0 -40
  931. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-dz.js +0 -41
  932. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-iq.js +0 -42
  933. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-kw.js +0 -41
  934. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-ly.js +0 -27
  935. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-ma.js +0 -42
  936. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-sa.js +0 -41
  937. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-tn.js +0 -42
  938. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar.js +0 -74
  939. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/az.js +0 -39
  940. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/be.js +0 -24
  941. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bg.js +0 -55
  942. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bi.js +0 -39
  943. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bm.js +0 -39
  944. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bn-bd.js +0 -81
  945. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bn.js +0 -72
  946. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bo.js +0 -38
  947. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/br.js +0 -93
  948. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bs.js +0 -24
  949. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ca.js +0 -44
  950. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/cs.js +0 -120
  951. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/cv.js +0 -24
  952. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/cy.js +0 -39
  953. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/da.js +0 -39
  954. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/de-at.js +0 -63
  955. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/de-ch.js +0 -63
  956. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/de.js +0 -64
  957. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/dv.js +0 -39
  958. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/el.js +0 -39
  959. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-au.js +0 -39
  960. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-ca.js +0 -38
  961. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-gb.js +0 -42
  962. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-ie.js +0 -39
  963. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-il.js +0 -38
  964. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-in.js +0 -42
  965. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-nz.js +0 -41
  966. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-sg.js +0 -39
  967. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-tt.js +0 -42
  968. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en.js +0 -12
  969. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/eo.js +0 -39
  970. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es-do.js +0 -39
  971. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es-mx.js +0 -38
  972. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es-pr.js +0 -39
  973. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es-us.js +0 -38
  974. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es.js +0 -39
  975. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/et.js +0 -65
  976. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/eu.js +0 -43
  977. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fa.js +0 -39
  978. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fi.js +0 -88
  979. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fo.js +0 -39
  980. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fr-ca.js +0 -38
  981. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fr-ch.js +0 -39
  982. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fr.js +0 -41
  983. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fy.js +0 -39
  984. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ga.js +0 -39
  985. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/gd.js +0 -39
  986. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/gl.js +0 -39
  987. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/gom-latn.js +0 -25
  988. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/gu.js +0 -38
  989. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/he.js +0 -78
  990. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/hi.js +0 -38
  991. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/hr.js +0 -53
  992. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ht.js +0 -38
  993. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/hu.js +0 -61
  994. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/hy-am.js +0 -39
  995. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/id.js +0 -39
  996. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/is.js +0 -68
  997. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/it-ch.js +0 -39
  998. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/it.js +0 -39
  999. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ja.js +0 -45
  1000. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/jv.js +0 -39
  1001. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ka.js +0 -39
  1002. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/kk.js +0 -39
  1003. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/km.js +0 -39
  1004. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/kn.js +0 -38
  1005. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ko.js +0 -45
  1006. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ku.js +0 -77
  1007. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ky.js +0 -39
  1008. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/lb.js +0 -24
  1009. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/lo.js +0 -38
  1010. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/lt.js +0 -70
  1011. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/lv.js +0 -39
  1012. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/me.js +0 -24
  1013. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mi.js +0 -39
  1014. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mk.js +0 -39
  1015. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ml.js +0 -38
  1016. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mn.js +0 -38
  1017. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mr.js +0 -23
  1018. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ms-my.js +0 -39
  1019. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ms.js +0 -39
  1020. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mt.js +0 -39
  1021. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/my.js +0 -39
  1022. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/nb.js +0 -40
  1023. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ne.js +0 -40
  1024. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/nl-be.js +0 -39
  1025. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/nl.js +0 -40
  1026. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/nn.js +0 -39
  1027. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/oc-lnc.js +0 -39
  1028. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/pa-in.js +0 -38
  1029. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/pl.js +0 -87
  1030. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/pt-br.js +0 -38
  1031. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/pt.js +0 -40
  1032. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/rn.js +0 -39
  1033. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ro.js +0 -39
  1034. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ru.js +0 -99
  1035. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/rw.js +0 -35
  1036. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sd.js +0 -39
  1037. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/se.js +0 -39
  1038. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/si.js +0 -38
  1039. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sk.js +0 -121
  1040. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sl.js +0 -39
  1041. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sq.js +0 -39
  1042. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sr-cyrl.js +0 -74
  1043. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sr.js +0 -74
  1044. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ss.js +0 -39
  1045. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sv-fi.js +0 -46
  1046. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sv.js +0 -44
  1047. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sw.js +0 -39
  1048. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ta.js +0 -38
  1049. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/te.js +0 -38
  1050. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tet.js +0 -39
  1051. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tg.js +0 -39
  1052. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/th.js +0 -38
  1053. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tk.js +0 -39
  1054. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tl-ph.js +0 -39
  1055. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tlh.js +0 -24
  1056. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tr.js +0 -39
  1057. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tzl.js +0 -24
  1058. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tzm-latn.js +0 -39
  1059. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tzm.js +0 -39
  1060. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ug-cn.js +0 -39
  1061. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/uk.js +0 -77
  1062. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ur.js +0 -39
  1063. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/uz-latn.js +0 -39
  1064. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/uz.js +0 -39
  1065. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/vi.js +0 -43
  1066. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/x-pseudo.js +0 -39
  1067. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/yo.js +0 -39
  1068. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/zh-cn.js +0 -67
  1069. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/zh-hk.js +0 -44
  1070. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/zh-tw.js +0 -65
  1071. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/zh.js +0 -67
  1072. package/dist/calcite/p-004dd1d6.js +0 -6
  1073. package/dist/calcite/p-01860433.js +0 -6
  1074. package/dist/calcite/p-05107f5a.js +0 -6
  1075. package/dist/calcite/p-0685619c.entry.js +0 -6
  1076. package/dist/calcite/p-09b50b91.entry.js +0 -6
  1077. package/dist/calcite/p-0bae5668.entry.js +0 -6
  1078. package/dist/calcite/p-0be71862.entry.js +0 -6
  1079. package/dist/calcite/p-0cffaf5d.js +0 -6
  1080. package/dist/calcite/p-0e4eddf7.entry.js +0 -6
  1081. package/dist/calcite/p-0efd9a8e.entry.js +0 -6
  1082. package/dist/calcite/p-123bdb48.entry.js +0 -6
  1083. package/dist/calcite/p-12a80716.entry.js +0 -6
  1084. package/dist/calcite/p-14c077f1.entry.js +0 -6
  1085. package/dist/calcite/p-1976aed8.entry.js +0 -6
  1086. package/dist/calcite/p-19872ceb.js +0 -6
  1087. package/dist/calcite/p-214cb5d0.js +0 -6
  1088. package/dist/calcite/p-21698679.js +0 -6
  1089. package/dist/calcite/p-23c91700.entry.js +0 -6
  1090. package/dist/calcite/p-2496449c.js +0 -6
  1091. package/dist/calcite/p-293ec102.js +0 -6
  1092. package/dist/calcite/p-2b334a62.entry.js +0 -6
  1093. package/dist/calcite/p-2c5f921d.js +0 -6
  1094. package/dist/calcite/p-317c752a.js +0 -6
  1095. package/dist/calcite/p-318bc32a.entry.js +0 -6
  1096. package/dist/calcite/p-31bbd82e.js +0 -6
  1097. package/dist/calcite/p-324765f2.js +0 -6
  1098. package/dist/calcite/p-3380d581.entry.js +0 -6
  1099. package/dist/calcite/p-38139b64.js +0 -10
  1100. package/dist/calcite/p-3b86130a.entry.js +0 -6
  1101. package/dist/calcite/p-3fa3a4a5.entry.js +0 -6
  1102. package/dist/calcite/p-3febd261.entry.js +0 -6
  1103. package/dist/calcite/p-3fefa680.entry.js +0 -6
  1104. package/dist/calcite/p-414d8f00.entry.js +0 -6
  1105. package/dist/calcite/p-42bfe666.js +0 -6
  1106. package/dist/calcite/p-432f58bc.entry.js +0 -6
  1107. package/dist/calcite/p-46a44e0b.entry.js +0 -6
  1108. package/dist/calcite/p-4818340d.entry.js +0 -6
  1109. package/dist/calcite/p-4daedefa.entry.js +0 -6
  1110. package/dist/calcite/p-52a623a6.entry.js +0 -6
  1111. package/dist/calcite/p-5664f7b6.js +0 -6
  1112. package/dist/calcite/p-568e969b.entry.js +0 -6
  1113. package/dist/calcite/p-57aab5c3.entry.js +0 -6
  1114. package/dist/calcite/p-5b366a60.entry.js +0 -6
  1115. package/dist/calcite/p-5db9e2e3.entry.js +0 -6
  1116. package/dist/calcite/p-60afa680.js +0 -6
  1117. package/dist/calcite/p-61a751a5.js +0 -7
  1118. package/dist/calcite/p-660e6569.entry.js +0 -6
  1119. package/dist/calcite/p-663ff1ac.entry.js +0 -6
  1120. package/dist/calcite/p-6b6c5f9f.js +0 -11
  1121. package/dist/calcite/p-6c97c450.entry.js +0 -6
  1122. package/dist/calcite/p-6fefde6c.entry.js +0 -6
  1123. package/dist/calcite/p-70f58cea.entry.js +0 -6
  1124. package/dist/calcite/p-74531ae1.js +0 -6
  1125. package/dist/calcite/p-758730aa.entry.js +0 -6
  1126. package/dist/calcite/p-7611b505.entry.js +0 -6
  1127. package/dist/calcite/p-778942e4.js +0 -6
  1128. package/dist/calcite/p-7e3e1abb.entry.js +0 -6
  1129. package/dist/calcite/p-80d1fd1a.entry.js +0 -6
  1130. package/dist/calcite/p-81d9434a.entry.js +0 -6
  1131. package/dist/calcite/p-8251d6c7.entry.js +0 -6
  1132. package/dist/calcite/p-84db53fe.entry.js +0 -6
  1133. package/dist/calcite/p-852eafa5.entry.js +0 -6
  1134. package/dist/calcite/p-85880f27.entry.js +0 -6
  1135. package/dist/calcite/p-86e1d9ed.entry.js +0 -6
  1136. package/dist/calcite/p-8d591499.js +0 -6
  1137. package/dist/calcite/p-8dc911bd.entry.js +0 -6
  1138. package/dist/calcite/p-8f992f9e.js +0 -6
  1139. package/dist/calcite/p-93977b1d.js +0 -12
  1140. package/dist/calcite/p-9409cd9e.entry.js +0 -6
  1141. package/dist/calcite/p-94544c9a.js +0 -6
  1142. package/dist/calcite/p-95c23a20.entry.js +0 -6
  1143. package/dist/calcite/p-9b9abf1b.entry.js +0 -6
  1144. package/dist/calcite/p-a02d1b15.entry.js +0 -6
  1145. package/dist/calcite/p-a1797d09.js +0 -6
  1146. package/dist/calcite/p-a1fd2538.entry.js +0 -6
  1147. package/dist/calcite/p-a4532a67.js +0 -6
  1148. package/dist/calcite/p-a4f64bae.js +0 -6
  1149. package/dist/calcite/p-a99a6fe0.js +0 -6
  1150. package/dist/calcite/p-ad8b4120.entry.js +0 -6
  1151. package/dist/calcite/p-ad99271c.entry.js +0 -6
  1152. package/dist/calcite/p-b0d34ac5.entry.js +0 -6
  1153. package/dist/calcite/p-b57530c0.js +0 -6
  1154. package/dist/calcite/p-b5fbccc3.entry.js +0 -6
  1155. package/dist/calcite/p-b7b04d78.entry.js +0 -6
  1156. package/dist/calcite/p-b8673720.entry.js +0 -6
  1157. package/dist/calcite/p-b8d661b3.js +0 -6
  1158. package/dist/calcite/p-bcaf101d.entry.js +0 -6
  1159. package/dist/calcite/p-be9e9747.js +0 -6
  1160. package/dist/calcite/p-c7c8a3d1.js +0 -6
  1161. package/dist/calcite/p-c94c1b5e.entry.js +0 -6
  1162. package/dist/calcite/p-d48710cf.entry.js +0 -6
  1163. package/dist/calcite/p-d514ec28.entry.js +0 -6
  1164. package/dist/calcite/p-d5acc26d.js +0 -6
  1165. package/dist/calcite/p-d72a2d1f.entry.js +0 -6
  1166. package/dist/calcite/p-e0f30656.entry.js +0 -6
  1167. package/dist/calcite/p-e43edcec.entry.js +0 -6
  1168. package/dist/calcite/p-e605af99.entry.js +0 -6
  1169. package/dist/calcite/p-e85ef43e.entry.js +0 -6
  1170. package/dist/calcite/p-ff26e280.entry.js +0 -6
  1171. package/dist/cjs/ExpandToggle-d49ddfbb.js +0 -109
  1172. package/dist/cjs/FloatingArrow-9909f42a.js +0 -45
  1173. package/dist/cjs/Heading-95519ac1.js +0 -20
  1174. package/dist/cjs/app-globals-8648fbd8.js +0 -59
  1175. package/dist/cjs/array-065a6966.js +0 -12
  1176. package/dist/cjs/composed-offset-position.esm-62406ecf.js +0 -79
  1177. package/dist/cjs/conditionalSlot-80fb94c8.js +0 -58
  1178. package/dist/cjs/debounce-ba625d71.js +0 -496
  1179. package/dist/cjs/dom-177c7358.js +0 -949
  1180. package/dist/cjs/filter-f19d8373.js +0 -760
  1181. package/dist/cjs/floating-ui-66681977.js +0 -1820
  1182. package/dist/cjs/focusTrapComponent-2310132c.js +0 -804
  1183. package/dist/cjs/form-95b7c780.js +0 -283
  1184. package/dist/cjs/guid-3776f853.js +0 -21
  1185. package/dist/cjs/index-c5472ca6.js +0 -2303
  1186. package/dist/cjs/interactive-13d268e5.js +0 -64
  1187. package/dist/cjs/key-71b7da2b.js +0 -14
  1188. package/dist/cjs/label-321dcad3.js +0 -131
  1189. package/dist/cjs/loadable-5a78a969.js +0 -64
  1190. package/dist/cjs/locale-947cff83.js +0 -557
  1191. package/dist/cjs/math-72eed2bb.js +0 -23
  1192. package/dist/cjs/observers-40734005.js +0 -48
  1193. package/dist/cjs/openCloseComponent-bfcc6163.js +0 -95
  1194. package/dist/cjs/resources-55b9f154.js +0 -45
  1195. package/dist/cjs/resources-6b99dc32.js +0 -15
  1196. package/dist/cjs/resources-a900c0e0.js +0 -27
  1197. package/dist/cjs/resources-c6354a76.js +0 -17
  1198. package/dist/cjs/resources-c855fffb.js +0 -410
  1199. package/dist/cjs/resources-d713a4fe.js +0 -22
  1200. package/dist/cjs/sortableComponent-263b2b36.js +0 -3082
  1201. package/dist/cjs/t9n-de34a47b.js +0 -91
  1202. package/dist/cjs/throttle-e79b7184.js +0 -75
  1203. package/dist/cjs/utils-2042be80.js +0 -294
  1204. package/dist/cjs/utils-aad320f7.js +0 -213
  1205. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/af.js +0 -39
  1206. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/am.js +0 -40
  1207. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-dz.js +0 -41
  1208. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-iq.js +0 -42
  1209. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-kw.js +0 -41
  1210. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-ly.js +0 -27
  1211. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-ma.js +0 -42
  1212. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-sa.js +0 -41
  1213. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-tn.js +0 -42
  1214. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar.js +0 -74
  1215. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/az.js +0 -39
  1216. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/be.js +0 -24
  1217. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bg.js +0 -55
  1218. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bi.js +0 -39
  1219. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bm.js +0 -39
  1220. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bn-bd.js +0 -81
  1221. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bn.js +0 -72
  1222. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bo.js +0 -38
  1223. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/br.js +0 -93
  1224. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bs.js +0 -24
  1225. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ca.js +0 -44
  1226. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/cs.js +0 -120
  1227. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/cv.js +0 -24
  1228. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/cy.js +0 -39
  1229. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/da.js +0 -39
  1230. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/de-at.js +0 -63
  1231. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/de-ch.js +0 -63
  1232. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/de.js +0 -64
  1233. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/dv.js +0 -39
  1234. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/el.js +0 -39
  1235. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-au.js +0 -39
  1236. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-ca.js +0 -38
  1237. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-gb.js +0 -42
  1238. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-ie.js +0 -39
  1239. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-il.js +0 -38
  1240. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-in.js +0 -42
  1241. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-nz.js +0 -41
  1242. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-sg.js +0 -39
  1243. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-tt.js +0 -42
  1244. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en.js +0 -12
  1245. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/eo.js +0 -39
  1246. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es-do.js +0 -39
  1247. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es-mx.js +0 -38
  1248. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es-pr.js +0 -39
  1249. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es-us.js +0 -38
  1250. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es.js +0 -39
  1251. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/et.js +0 -65
  1252. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/eu.js +0 -43
  1253. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fa.js +0 -39
  1254. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fi.js +0 -88
  1255. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fo.js +0 -39
  1256. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fr-ca.js +0 -38
  1257. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fr-ch.js +0 -39
  1258. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fr.js +0 -41
  1259. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fy.js +0 -39
  1260. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ga.js +0 -39
  1261. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/gd.js +0 -39
  1262. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/gl.js +0 -39
  1263. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/gom-latn.js +0 -25
  1264. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/gu.js +0 -38
  1265. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/he.js +0 -78
  1266. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/hi.js +0 -38
  1267. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/hr.js +0 -53
  1268. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ht.js +0 -38
  1269. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/hu.js +0 -61
  1270. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/hy-am.js +0 -39
  1271. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/id.js +0 -39
  1272. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/is.js +0 -68
  1273. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/it-ch.js +0 -39
  1274. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/it.js +0 -39
  1275. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ja.js +0 -45
  1276. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/jv.js +0 -39
  1277. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ka.js +0 -39
  1278. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/kk.js +0 -39
  1279. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/km.js +0 -39
  1280. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/kn.js +0 -38
  1281. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ko.js +0 -45
  1282. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ku.js +0 -77
  1283. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ky.js +0 -39
  1284. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/lb.js +0 -24
  1285. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/lo.js +0 -38
  1286. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/lt.js +0 -70
  1287. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/lv.js +0 -39
  1288. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/me.js +0 -24
  1289. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mi.js +0 -39
  1290. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mk.js +0 -39
  1291. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ml.js +0 -38
  1292. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mn.js +0 -38
  1293. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mr.js +0 -23
  1294. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ms-my.js +0 -39
  1295. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ms.js +0 -39
  1296. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mt.js +0 -39
  1297. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/my.js +0 -39
  1298. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/nb.js +0 -40
  1299. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ne.js +0 -40
  1300. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/nl-be.js +0 -39
  1301. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/nl.js +0 -40
  1302. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/nn.js +0 -39
  1303. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/oc-lnc.js +0 -39
  1304. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/pa-in.js +0 -38
  1305. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/pl.js +0 -87
  1306. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/pt-br.js +0 -38
  1307. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/pt.js +0 -40
  1308. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/rn.js +0 -39
  1309. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ro.js +0 -39
  1310. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ru.js +0 -99
  1311. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/rw.js +0 -35
  1312. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sd.js +0 -39
  1313. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/se.js +0 -39
  1314. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/si.js +0 -38
  1315. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sk.js +0 -121
  1316. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sl.js +0 -39
  1317. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sq.js +0 -39
  1318. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sr-cyrl.js +0 -74
  1319. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sr.js +0 -74
  1320. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ss.js +0 -39
  1321. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sv-fi.js +0 -46
  1322. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sv.js +0 -44
  1323. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sw.js +0 -39
  1324. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ta.js +0 -38
  1325. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/te.js +0 -38
  1326. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tet.js +0 -39
  1327. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tg.js +0 -39
  1328. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/th.js +0 -38
  1329. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tk.js +0 -39
  1330. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tl-ph.js +0 -39
  1331. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tlh.js +0 -24
  1332. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tr.js +0 -39
  1333. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tzl.js +0 -24
  1334. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tzm-latn.js +0 -39
  1335. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tzm.js +0 -39
  1336. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ug-cn.js +0 -39
  1337. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/uk.js +0 -77
  1338. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ur.js +0 -39
  1339. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/uz-latn.js +0 -39
  1340. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/uz.js +0 -39
  1341. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/vi.js +0 -43
  1342. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/x-pseudo.js +0 -39
  1343. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/yo.js +0 -39
  1344. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/zh-cn.js +0 -67
  1345. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/zh-hk.js +0 -44
  1346. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/zh-tw.js +0 -65
  1347. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/zh.js +0 -67
  1348. package/dist/esm/ExpandToggle-4511b35f.js +0 -101
  1349. package/dist/esm/FloatingArrow-c55586a3.js +0 -43
  1350. package/dist/esm/Heading-6f68263f.js +0 -17
  1351. package/dist/esm/app-globals-147c6d18.js +0 -57
  1352. package/dist/esm/array-2fe1b6ad.js +0 -10
  1353. package/dist/esm/composed-offset-position.esm-4ef01dc7.js +0 -75
  1354. package/dist/esm/conditionalSlot-8af37ffa.js +0 -55
  1355. package/dist/esm/debounce-fabde551.js +0 -487
  1356. package/dist/esm/dom-2bdd8819.js +0 -922
  1357. package/dist/esm/filter-932c7628.js +0 -758
  1358. package/dist/esm/floating-ui-0418ab2e.js +0 -1812
  1359. package/dist/esm/focusTrapComponent-1be92722.js +0 -799
  1360. package/dist/esm/form-4087330c.js +0 -275
  1361. package/dist/esm/guid-dcf698f9.js +0 -19
  1362. package/dist/esm/index-b1d0c2e7.js +0 -2268
  1363. package/dist/esm/interactive-2241201e.js +0 -62
  1364. package/dist/esm/key-fd401552.js +0 -11
  1365. package/dist/esm/label-9a7d5f05.js +0 -125
  1366. package/dist/esm/loadable-2659822c.js +0 -60
  1367. package/dist/esm/locale-8d7f76d2.js +0 -545
  1368. package/dist/esm/math-ccfd3a67.js +0 -20
  1369. package/dist/esm/observers-2bf90437.js +0 -46
  1370. package/dist/esm/openCloseComponent-2319213d.js +0 -91
  1371. package/dist/esm/resources-42b5a527.js +0 -14
  1372. package/dist/esm/resources-63b64825.js +0 -15
  1373. package/dist/esm/resources-68020fe4.js +0 -23
  1374. package/dist/esm/resources-8db69e81.js +0 -41
  1375. package/dist/esm/resources-c3965cdf.js +0 -18
  1376. package/dist/esm/resources-fd4c1af1.js +0 -383
  1377. package/dist/esm/sortableComponent-33418565.js +0 -3077
  1378. package/dist/esm/t9n-04ba3670.js +0 -86
  1379. package/dist/esm/throttle-42135f0c.js +0 -73
  1380. package/dist/esm/utils-7b8ee7fb.js +0 -195
  1381. package/dist/esm/utils-92666e40.js +0 -277
@@ -0,0 +1,2454 @@
1
+ /*!
2
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
+ * v1.4.1-next.3
5
+ */
6
+ 'use strict';
7
+
8
+ const index = require('./index-bf534a74.js');
9
+ const form = require('./form-86415532.js');
10
+ const guid = require('./guid-3cf8bf8a.js');
11
+ const interactive = require('./interactive-b2980f98.js');
12
+ const key = require('./key-03a66267.js');
13
+ const label = require('./label-495277ea.js');
14
+ const loadable = require('./loadable-e749309a.js');
15
+ const locale$1 = require('./locale-0f1c5ea8.js');
16
+ const focusTrapComponent = require('./focusTrapComponent-b77afae7.js');
17
+ const t9n = require('./t9n-d38e165e.js');
18
+
19
+ const maxTenthForMinuteAndSecond = 5;
20
+ function createLocaleDateTimeFormatter(locale, numberingSystem, includeSeconds = true) {
21
+ const options = {
22
+ hour: "2-digit",
23
+ minute: "2-digit",
24
+ timeZone: "UTC",
25
+ numberingSystem: locale$1.getSupportedNumberingSystem(numberingSystem)
26
+ };
27
+ if (includeSeconds) {
28
+ options.second = "2-digit";
29
+ }
30
+ return locale$1.getDateTimeFormat(locale, options);
31
+ }
32
+ function formatTimePart(number) {
33
+ const numberAsString = number.toString();
34
+ return number >= 0 && number <= 9 ? numberAsString.padStart(2, "0") : numberAsString;
35
+ }
36
+ function formatTimeString(value) {
37
+ if (!isValidTime(value)) {
38
+ return null;
39
+ }
40
+ const [hourString, minuteString, secondString] = value.split(":");
41
+ const hour = formatTimePart(parseInt(hourString));
42
+ const minute = formatTimePart(parseInt(minuteString));
43
+ if (secondString) {
44
+ const second = formatTimePart(parseInt(secondString));
45
+ return `${hour}:${minute}:${second}`;
46
+ }
47
+ return `${hour}:${minute}`;
48
+ }
49
+ function getLocaleHourCycle(locale, numberingSystem) {
50
+ const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
51
+ const parts = formatter.formatToParts(new Date(Date.UTC(0, 0, 0, 0, 0, 0)));
52
+ return getLocalizedTimePart("meridiem", parts) ? "12" : "24";
53
+ }
54
+ function getLocalizedTimePart(part, parts) {
55
+ if (!part || !parts) {
56
+ return null;
57
+ }
58
+ if (part === "hourSuffix") {
59
+ const hourIndex = parts.indexOf(parts.find(({ type }) => type === "hour"));
60
+ const minuteIndex = parts.indexOf(parts.find(({ type }) => type === "minute"));
61
+ const hourSuffix = parts[hourIndex + 1];
62
+ return hourSuffix && hourSuffix.type === "literal" && minuteIndex - hourIndex === 2
63
+ ? hourSuffix.value?.trim() || null
64
+ : null;
65
+ }
66
+ if (part === "minuteSuffix") {
67
+ const minuteIndex = parts.indexOf(parts.find(({ type }) => type === "minute"));
68
+ const secondIndex = parts.indexOf(parts.find(({ type }) => type === "second"));
69
+ const minuteSuffix = parts[minuteIndex + 1];
70
+ return minuteSuffix && minuteSuffix.type === "literal" && secondIndex - minuteIndex === 2
71
+ ? minuteSuffix.value?.trim() || null
72
+ : null;
73
+ }
74
+ if (part === "secondSuffix") {
75
+ const secondIndex = parts.indexOf(parts.find(({ type }) => type === "second"));
76
+ const secondSuffix = parts[secondIndex + 1];
77
+ return secondSuffix && secondSuffix.type === "literal" ? secondSuffix.value?.trim() || null : null;
78
+ }
79
+ return parts.find(({ type }) => (part == "meridiem" ? type === "dayPeriod" : type === part))?.value || null;
80
+ }
81
+ function getMeridiem(hour) {
82
+ if (!locale$1.isValidNumber(hour)) {
83
+ return null;
84
+ }
85
+ const hourAsNumber = parseInt(hour);
86
+ return hourAsNumber >= 0 && hourAsNumber <= 11 ? "AM" : "PM";
87
+ }
88
+ function isValidTime(value) {
89
+ if (!value || value.startsWith(":") || value.endsWith(":")) {
90
+ return false;
91
+ }
92
+ const splitValue = value.split(":");
93
+ const validLength = splitValue.length > 1 && splitValue.length < 4;
94
+ if (!validLength) {
95
+ return false;
96
+ }
97
+ const [hour, minute, second] = splitValue;
98
+ const hourAsNumber = parseInt(splitValue[0]);
99
+ const minuteAsNumber = parseInt(splitValue[1]);
100
+ const secondAsNumber = parseInt(splitValue[2]);
101
+ const hourValid = locale$1.isValidNumber(hour) && hourAsNumber >= 0 && hourAsNumber < 24;
102
+ const minuteValid = locale$1.isValidNumber(minute) && minuteAsNumber >= 0 && minuteAsNumber < 60;
103
+ const secondValid = locale$1.isValidNumber(second) && secondAsNumber >= 0 && secondAsNumber < 60;
104
+ if ((hourValid && minuteValid && !second) || (hourValid && minuteValid && secondValid)) {
105
+ return true;
106
+ }
107
+ }
108
+ function isValidTimePart(value, part) {
109
+ if (part === "meridiem") {
110
+ return value === "AM" || value === "PM";
111
+ }
112
+ if (!locale$1.isValidNumber(value)) {
113
+ return false;
114
+ }
115
+ const valueAsNumber = Number(value);
116
+ return part === "hour" ? valueAsNumber >= 0 && valueAsNumber < 24 : valueAsNumber >= 0 && valueAsNumber < 60;
117
+ }
118
+ function localizeTimePart({ value, part, locale, numberingSystem }) {
119
+ if (!isValidTimePart(value, part)) {
120
+ return;
121
+ }
122
+ const valueAsNumber = parseInt(value);
123
+ const date = new Date(Date.UTC(0, 0, 0, part === "hour" ? valueAsNumber : part === "meridiem" ? (value === "AM" ? 0 : 12) : 0, part === "minute" ? valueAsNumber : 0, part === "second" ? valueAsNumber : 0));
124
+ if (!date) {
125
+ return;
126
+ }
127
+ const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
128
+ const parts = formatter.formatToParts(date);
129
+ return getLocalizedTimePart(part, parts);
130
+ }
131
+ function localizeTimeString({ value, locale, numberingSystem, includeSeconds = true }) {
132
+ if (!isValidTime(value)) {
133
+ return null;
134
+ }
135
+ const { hour, minute, second = "0" } = parseTimeString(value);
136
+ const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second)));
137
+ const formatter = createLocaleDateTimeFormatter(locale, numberingSystem, includeSeconds);
138
+ return formatter?.format(dateFromTimeString) || null;
139
+ }
140
+ function localizeTimeStringToParts({ value, locale, numberingSystem }) {
141
+ if (!isValidTime(value)) {
142
+ return null;
143
+ }
144
+ const { hour, minute, second = "0" } = parseTimeString(value);
145
+ const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second)));
146
+ if (dateFromTimeString) {
147
+ const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
148
+ const parts = formatter.formatToParts(dateFromTimeString);
149
+ return {
150
+ localizedHour: getLocalizedTimePart("hour", parts),
151
+ localizedHourSuffix: getLocalizedTimePart("hourSuffix", parts),
152
+ localizedMinute: getLocalizedTimePart("minute", parts),
153
+ localizedMinuteSuffix: getLocalizedTimePart("minuteSuffix", parts),
154
+ localizedSecond: getLocalizedTimePart("second", parts),
155
+ localizedSecondSuffix: getLocalizedTimePart("secondSuffix", parts),
156
+ localizedMeridiem: getLocalizedTimePart("meridiem", parts)
157
+ };
158
+ }
159
+ return null;
160
+ }
161
+ function getTimeParts({ value, locale, numberingSystem }) {
162
+ if (!isValidTime(value)) {
163
+ return null;
164
+ }
165
+ const { hour, minute, second = "0" } = parseTimeString(value);
166
+ const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second)));
167
+ if (dateFromTimeString) {
168
+ const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
169
+ const parts = formatter.formatToParts(dateFromTimeString);
170
+ return parts;
171
+ }
172
+ return null;
173
+ }
174
+ function parseTimeString(value) {
175
+ if (isValidTime(value)) {
176
+ const [hour, minute, second] = value.split(":");
177
+ return {
178
+ hour,
179
+ minute,
180
+ second
181
+ };
182
+ }
183
+ return {
184
+ hour: null,
185
+ minute: null,
186
+ second: null
187
+ };
188
+ }
189
+ function toISOTimeString(value, includeSeconds = true) {
190
+ if (!isValidTime(value)) {
191
+ return "";
192
+ }
193
+ const { hour, minute, second } = parseTimeString(value);
194
+ let isoTimeString = `${formatTimePart(parseInt(hour))}:${formatTimePart(parseInt(minute))}`;
195
+ if (includeSeconds) {
196
+ isoTimeString += `:${formatTimePart(parseInt((includeSeconds && second) || "0"))}`;
197
+ }
198
+ return isoTimeString;
199
+ }
200
+
201
+ const CSS$1 = {
202
+ toggleIcon: "toggle-icon"
203
+ };
204
+
205
+ var SECONDS_A_MINUTE = 60;
206
+ var SECONDS_A_HOUR = SECONDS_A_MINUTE * 60;
207
+ var SECONDS_A_DAY = SECONDS_A_HOUR * 24;
208
+ var SECONDS_A_WEEK = SECONDS_A_DAY * 7;
209
+ var MILLISECONDS_A_SECOND = 1e3;
210
+ var MILLISECONDS_A_MINUTE = SECONDS_A_MINUTE * MILLISECONDS_A_SECOND;
211
+ var MILLISECONDS_A_HOUR = SECONDS_A_HOUR * MILLISECONDS_A_SECOND;
212
+ var MILLISECONDS_A_DAY = SECONDS_A_DAY * MILLISECONDS_A_SECOND;
213
+ var MILLISECONDS_A_WEEK = SECONDS_A_WEEK * MILLISECONDS_A_SECOND; // English locales
214
+
215
+ var MS = 'millisecond';
216
+ var S = 'second';
217
+ var MIN = 'minute';
218
+ var H = 'hour';
219
+ var D = 'day';
220
+ var W = 'week';
221
+ var M = 'month';
222
+ var Q = 'quarter';
223
+ var Y = 'year';
224
+ var DATE = 'date';
225
+ var FORMAT_DEFAULT = 'YYYY-MM-DDTHH:mm:ssZ';
226
+ var INVALID_DATE_STRING = 'Invalid Date'; // regex
227
+
228
+ var REGEX_PARSE = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/;
229
+ var REGEX_FORMAT = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;
230
+
231
+ // English [en]
232
+ // We don't need weekdaysShort, weekdaysMin, monthsShort in en.js locale
233
+ const en = {
234
+ name: 'en',
235
+ weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
236
+ months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
237
+ ordinal: function ordinal(n) {
238
+ var s = ['th', 'st', 'nd', 'rd'];
239
+ var v = n % 100;
240
+ return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]";
241
+ }
242
+ };
243
+
244
+ const en$1 = /*#__PURE__*/Object.freeze({
245
+ __proto__: null,
246
+ 'default': en
247
+ });
248
+
249
+ var padStart = function padStart(string, length, pad) {
250
+ var s = String(string);
251
+ if (!s || s.length >= length) return string;
252
+ return "" + Array(length + 1 - s.length).join(pad) + string;
253
+ };
254
+
255
+ var padZoneStr = function padZoneStr(instance) {
256
+ var negMinutes = -instance.utcOffset();
257
+ var minutes = Math.abs(negMinutes);
258
+ var hourOffset = Math.floor(minutes / 60);
259
+ var minuteOffset = minutes % 60;
260
+ return "" + (negMinutes <= 0 ? '+' : '-') + padStart(hourOffset, 2, '0') + ":" + padStart(minuteOffset, 2, '0');
261
+ };
262
+
263
+ var monthDiff = function monthDiff(a, b) {
264
+ // function from moment.js in order to keep the same result
265
+ if (a.date() < b.date()) return -monthDiff(b, a);
266
+ var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month());
267
+ var anchor = a.clone().add(wholeMonthDiff, M);
268
+ var c = b - anchor < 0;
269
+ var anchor2 = a.clone().add(wholeMonthDiff + (c ? -1 : 1), M);
270
+ return +(-(wholeMonthDiff + (b - anchor) / (c ? anchor - anchor2 : anchor2 - anchor)) || 0);
271
+ };
272
+
273
+ var absFloor = function absFloor(n) {
274
+ return n < 0 ? Math.ceil(n) || 0 : Math.floor(n);
275
+ };
276
+
277
+ var prettyUnit = function prettyUnit(u) {
278
+ var special = {
279
+ M: M,
280
+ y: Y,
281
+ w: W,
282
+ d: D,
283
+ D: DATE,
284
+ h: H,
285
+ m: MIN,
286
+ s: S,
287
+ ms: MS,
288
+ Q: Q
289
+ };
290
+ return special[u] || String(u || '').toLowerCase().replace(/s$/, '');
291
+ };
292
+
293
+ var isUndefined = function isUndefined(s) {
294
+ return s === undefined;
295
+ };
296
+
297
+ const U = {
298
+ s: padStart,
299
+ z: padZoneStr,
300
+ m: monthDiff,
301
+ a: absFloor,
302
+ p: prettyUnit,
303
+ u: isUndefined
304
+ };
305
+
306
+ var L = 'en'; // global locale
307
+
308
+ var Ls = {}; // global loaded locale
309
+
310
+ Ls[L] = en;
311
+
312
+ var isDayjs = function isDayjs(d) {
313
+ return d instanceof Dayjs;
314
+ }; // eslint-disable-line no-use-before-define
315
+
316
+
317
+ var parseLocale = function parseLocale(preset, object, isLocal) {
318
+ var l;
319
+ if (!preset) return L;
320
+
321
+ if (typeof preset === 'string') {
322
+ var presetLower = preset.toLowerCase();
323
+
324
+ if (Ls[presetLower]) {
325
+ l = presetLower;
326
+ }
327
+
328
+ if (object) {
329
+ Ls[presetLower] = object;
330
+ l = presetLower;
331
+ }
332
+
333
+ var presetSplit = preset.split('-');
334
+
335
+ if (!l && presetSplit.length > 1) {
336
+ return parseLocale(presetSplit[0]);
337
+ }
338
+ } else {
339
+ var name = preset.name;
340
+ Ls[name] = preset;
341
+ l = name;
342
+ }
343
+
344
+ if (!isLocal && l) L = l;
345
+ return l || !isLocal && L;
346
+ };
347
+
348
+ var dayjs = function dayjs(date, c) {
349
+ if (isDayjs(date)) {
350
+ return date.clone();
351
+ } // eslint-disable-next-line no-nested-ternary
352
+
353
+
354
+ var cfg = typeof c === 'object' ? c : {};
355
+ cfg.date = date;
356
+ cfg.args = arguments; // eslint-disable-line prefer-rest-params
357
+
358
+ return new Dayjs(cfg); // eslint-disable-line no-use-before-define
359
+ };
360
+
361
+ var wrapper = function wrapper(date, instance) {
362
+ return dayjs(date, {
363
+ locale: instance.$L,
364
+ utc: instance.$u,
365
+ x: instance.$x,
366
+ $offset: instance.$offset // todo: refactor; do not use this.$offset in you code
367
+
368
+ });
369
+ };
370
+
371
+ var Utils = U; // for plugin use
372
+
373
+ Utils.l = parseLocale;
374
+ Utils.i = isDayjs;
375
+ Utils.w = wrapper;
376
+
377
+ var parseDate = function parseDate(cfg) {
378
+ var date = cfg.date,
379
+ utc = cfg.utc;
380
+ if (date === null) return new Date(NaN); // null is invalid
381
+
382
+ if (Utils.u(date)) return new Date(); // today
383
+
384
+ if (date instanceof Date) return new Date(date);
385
+
386
+ if (typeof date === 'string' && !/Z$/i.test(date)) {
387
+ var d = date.match(REGEX_PARSE);
388
+
389
+ if (d) {
390
+ var m = d[2] - 1 || 0;
391
+ var ms = (d[7] || '0').substring(0, 3);
392
+
393
+ if (utc) {
394
+ return new Date(Date.UTC(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms));
395
+ }
396
+
397
+ return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);
398
+ }
399
+ }
400
+
401
+ return new Date(date); // everything else
402
+ };
403
+
404
+ var Dayjs = /*#__PURE__*/function () {
405
+ function Dayjs(cfg) {
406
+ this.$L = parseLocale(cfg.locale, null, true);
407
+ this.parse(cfg); // for plugin
408
+ }
409
+
410
+ var _proto = Dayjs.prototype;
411
+
412
+ _proto.parse = function parse(cfg) {
413
+ this.$d = parseDate(cfg);
414
+ this.$x = cfg.x || {};
415
+ this.init();
416
+ };
417
+
418
+ _proto.init = function init() {
419
+ var $d = this.$d;
420
+ this.$y = $d.getFullYear();
421
+ this.$M = $d.getMonth();
422
+ this.$D = $d.getDate();
423
+ this.$W = $d.getDay();
424
+ this.$H = $d.getHours();
425
+ this.$m = $d.getMinutes();
426
+ this.$s = $d.getSeconds();
427
+ this.$ms = $d.getMilliseconds();
428
+ } // eslint-disable-next-line class-methods-use-this
429
+ ;
430
+
431
+ _proto.$utils = function $utils() {
432
+ return Utils;
433
+ };
434
+
435
+ _proto.isValid = function isValid() {
436
+ return !(this.$d.toString() === INVALID_DATE_STRING);
437
+ };
438
+
439
+ _proto.isSame = function isSame(that, units) {
440
+ var other = dayjs(that);
441
+ return this.startOf(units) <= other && other <= this.endOf(units);
442
+ };
443
+
444
+ _proto.isAfter = function isAfter(that, units) {
445
+ return dayjs(that) < this.startOf(units);
446
+ };
447
+
448
+ _proto.isBefore = function isBefore(that, units) {
449
+ return this.endOf(units) < dayjs(that);
450
+ };
451
+
452
+ _proto.$g = function $g(input, get, set) {
453
+ if (Utils.u(input)) return this[get];
454
+ return this.set(set, input);
455
+ };
456
+
457
+ _proto.unix = function unix() {
458
+ return Math.floor(this.valueOf() / 1000);
459
+ };
460
+
461
+ _proto.valueOf = function valueOf() {
462
+ // timezone(hour) * 60 * 60 * 1000 => ms
463
+ return this.$d.getTime();
464
+ };
465
+
466
+ _proto.startOf = function startOf(units, _startOf) {
467
+ var _this = this;
468
+
469
+ // startOf -> endOf
470
+ var isStartOf = !Utils.u(_startOf) ? _startOf : true;
471
+ var unit = Utils.p(units);
472
+
473
+ var instanceFactory = function instanceFactory(d, m) {
474
+ var ins = Utils.w(_this.$u ? Date.UTC(_this.$y, m, d) : new Date(_this.$y, m, d), _this);
475
+ return isStartOf ? ins : ins.endOf(D);
476
+ };
477
+
478
+ var instanceFactorySet = function instanceFactorySet(method, slice) {
479
+ var argumentStart = [0, 0, 0, 0];
480
+ var argumentEnd = [23, 59, 59, 999];
481
+ return Utils.w(_this.toDate()[method].apply( // eslint-disable-line prefer-spread
482
+ _this.toDate('s'), (isStartOf ? argumentStart : argumentEnd).slice(slice)), _this);
483
+ };
484
+
485
+ var $W = this.$W,
486
+ $M = this.$M,
487
+ $D = this.$D;
488
+ var utcPad = "set" + (this.$u ? 'UTC' : '');
489
+
490
+ switch (unit) {
491
+ case Y:
492
+ return isStartOf ? instanceFactory(1, 0) : instanceFactory(31, 11);
493
+
494
+ case M:
495
+ return isStartOf ? instanceFactory(1, $M) : instanceFactory(0, $M + 1);
496
+
497
+ case W:
498
+ {
499
+ var weekStart = this.$locale().weekStart || 0;
500
+ var gap = ($W < weekStart ? $W + 7 : $W) - weekStart;
501
+ return instanceFactory(isStartOf ? $D - gap : $D + (6 - gap), $M);
502
+ }
503
+
504
+ case D:
505
+ case DATE:
506
+ return instanceFactorySet(utcPad + "Hours", 0);
507
+
508
+ case H:
509
+ return instanceFactorySet(utcPad + "Minutes", 1);
510
+
511
+ case MIN:
512
+ return instanceFactorySet(utcPad + "Seconds", 2);
513
+
514
+ case S:
515
+ return instanceFactorySet(utcPad + "Milliseconds", 3);
516
+
517
+ default:
518
+ return this.clone();
519
+ }
520
+ };
521
+
522
+ _proto.endOf = function endOf(arg) {
523
+ return this.startOf(arg, false);
524
+ };
525
+
526
+ _proto.$set = function $set(units, _int) {
527
+ var _C$D$C$DATE$C$M$C$Y$C;
528
+
529
+ // private set
530
+ var unit = Utils.p(units);
531
+ var utcPad = "set" + (this.$u ? 'UTC' : '');
532
+ var name = (_C$D$C$DATE$C$M$C$Y$C = {}, _C$D$C$DATE$C$M$C$Y$C[D] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[DATE] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[M] = utcPad + "Month", _C$D$C$DATE$C$M$C$Y$C[Y] = utcPad + "FullYear", _C$D$C$DATE$C$M$C$Y$C[H] = utcPad + "Hours", _C$D$C$DATE$C$M$C$Y$C[MIN] = utcPad + "Minutes", _C$D$C$DATE$C$M$C$Y$C[S] = utcPad + "Seconds", _C$D$C$DATE$C$M$C$Y$C[MS] = utcPad + "Milliseconds", _C$D$C$DATE$C$M$C$Y$C)[unit];
533
+ var arg = unit === D ? this.$D + (_int - this.$W) : _int;
534
+
535
+ if (unit === M || unit === Y) {
536
+ // clone is for badMutable plugin
537
+ var date = this.clone().set(DATE, 1);
538
+ date.$d[name](arg);
539
+ date.init();
540
+ this.$d = date.set(DATE, Math.min(this.$D, date.daysInMonth())).$d;
541
+ } else if (name) this.$d[name](arg);
542
+
543
+ this.init();
544
+ return this;
545
+ };
546
+
547
+ _proto.set = function set(string, _int2) {
548
+ return this.clone().$set(string, _int2);
549
+ };
550
+
551
+ _proto.get = function get(unit) {
552
+ return this[Utils.p(unit)]();
553
+ };
554
+
555
+ _proto.add = function add(number, units) {
556
+ var _this2 = this,
557
+ _C$MIN$C$H$C$S$unit;
558
+
559
+ number = Number(number); // eslint-disable-line no-param-reassign
560
+
561
+ var unit = Utils.p(units);
562
+
563
+ var instanceFactorySet = function instanceFactorySet(n) {
564
+ var d = dayjs(_this2);
565
+ return Utils.w(d.date(d.date() + Math.round(n * number)), _this2);
566
+ };
567
+
568
+ if (unit === M) {
569
+ return this.set(M, this.$M + number);
570
+ }
571
+
572
+ if (unit === Y) {
573
+ return this.set(Y, this.$y + number);
574
+ }
575
+
576
+ if (unit === D) {
577
+ return instanceFactorySet(1);
578
+ }
579
+
580
+ if (unit === W) {
581
+ return instanceFactorySet(7);
582
+ }
583
+
584
+ var step = (_C$MIN$C$H$C$S$unit = {}, _C$MIN$C$H$C$S$unit[MIN] = MILLISECONDS_A_MINUTE, _C$MIN$C$H$C$S$unit[H] = MILLISECONDS_A_HOUR, _C$MIN$C$H$C$S$unit[S] = MILLISECONDS_A_SECOND, _C$MIN$C$H$C$S$unit)[unit] || 1; // ms
585
+
586
+ var nextTimeStamp = this.$d.getTime() + number * step;
587
+ return Utils.w(nextTimeStamp, this);
588
+ };
589
+
590
+ _proto.subtract = function subtract(number, string) {
591
+ return this.add(number * -1, string);
592
+ };
593
+
594
+ _proto.format = function format(formatStr) {
595
+ var _this3 = this;
596
+
597
+ var locale = this.$locale();
598
+ if (!this.isValid()) return locale.invalidDate || INVALID_DATE_STRING;
599
+ var str = formatStr || FORMAT_DEFAULT;
600
+ var zoneStr = Utils.z(this);
601
+ var $H = this.$H,
602
+ $m = this.$m,
603
+ $M = this.$M;
604
+ var weekdays = locale.weekdays,
605
+ months = locale.months,
606
+ meridiem = locale.meridiem;
607
+
608
+ var getShort = function getShort(arr, index, full, length) {
609
+ return arr && (arr[index] || arr(_this3, str)) || full[index].slice(0, length);
610
+ };
611
+
612
+ var get$H = function get$H(num) {
613
+ return Utils.s($H % 12 || 12, num, '0');
614
+ };
615
+
616
+ var meridiemFunc = meridiem || function (hour, minute, isLowercase) {
617
+ var m = hour < 12 ? 'AM' : 'PM';
618
+ return isLowercase ? m.toLowerCase() : m;
619
+ };
620
+
621
+ var matches = {
622
+ YY: String(this.$y).slice(-2),
623
+ YYYY: this.$y,
624
+ M: $M + 1,
625
+ MM: Utils.s($M + 1, 2, '0'),
626
+ MMM: getShort(locale.monthsShort, $M, months, 3),
627
+ MMMM: getShort(months, $M),
628
+ D: this.$D,
629
+ DD: Utils.s(this.$D, 2, '0'),
630
+ d: String(this.$W),
631
+ dd: getShort(locale.weekdaysMin, this.$W, weekdays, 2),
632
+ ddd: getShort(locale.weekdaysShort, this.$W, weekdays, 3),
633
+ dddd: weekdays[this.$W],
634
+ H: String($H),
635
+ HH: Utils.s($H, 2, '0'),
636
+ h: get$H(1),
637
+ hh: get$H(2),
638
+ a: meridiemFunc($H, $m, true),
639
+ A: meridiemFunc($H, $m, false),
640
+ m: String($m),
641
+ mm: Utils.s($m, 2, '0'),
642
+ s: String(this.$s),
643
+ ss: Utils.s(this.$s, 2, '0'),
644
+ SSS: Utils.s(this.$ms, 3, '0'),
645
+ Z: zoneStr // 'ZZ' logic below
646
+
647
+ };
648
+ return str.replace(REGEX_FORMAT, function (match, $1) {
649
+ return $1 || matches[match] || zoneStr.replace(':', '');
650
+ }); // 'ZZ'
651
+ };
652
+
653
+ _proto.utcOffset = function utcOffset() {
654
+ // Because a bug at FF24, we're rounding the timezone offset around 15 minutes
655
+ // https://github.com/moment/moment/pull/1871
656
+ return -Math.round(this.$d.getTimezoneOffset() / 15) * 15;
657
+ };
658
+
659
+ _proto.diff = function diff(input, units, _float) {
660
+ var _C$Y$C$M$C$Q$C$W$C$D$;
661
+
662
+ var unit = Utils.p(units);
663
+ var that = dayjs(input);
664
+ var zoneDelta = (that.utcOffset() - this.utcOffset()) * MILLISECONDS_A_MINUTE;
665
+ var diff = this - that;
666
+ var result = Utils.m(this, that);
667
+ result = (_C$Y$C$M$C$Q$C$W$C$D$ = {}, _C$Y$C$M$C$Q$C$W$C$D$[Y] = result / 12, _C$Y$C$M$C$Q$C$W$C$D$[M] = result, _C$Y$C$M$C$Q$C$W$C$D$[Q] = result / 3, _C$Y$C$M$C$Q$C$W$C$D$[W] = (diff - zoneDelta) / MILLISECONDS_A_WEEK, _C$Y$C$M$C$Q$C$W$C$D$[D] = (diff - zoneDelta) / MILLISECONDS_A_DAY, _C$Y$C$M$C$Q$C$W$C$D$[H] = diff / MILLISECONDS_A_HOUR, _C$Y$C$M$C$Q$C$W$C$D$[MIN] = diff / MILLISECONDS_A_MINUTE, _C$Y$C$M$C$Q$C$W$C$D$[S] = diff / MILLISECONDS_A_SECOND, _C$Y$C$M$C$Q$C$W$C$D$)[unit] || diff; // milliseconds
668
+
669
+ return _float ? result : Utils.a(result);
670
+ };
671
+
672
+ _proto.daysInMonth = function daysInMonth() {
673
+ return this.endOf(M).$D;
674
+ };
675
+
676
+ _proto.$locale = function $locale() {
677
+ // get locale object
678
+ return Ls[this.$L];
679
+ };
680
+
681
+ _proto.locale = function locale(preset, object) {
682
+ if (!preset) return this.$L;
683
+ var that = this.clone();
684
+ var nextLocaleName = parseLocale(preset, object, true);
685
+ if (nextLocaleName) that.$L = nextLocaleName;
686
+ return that;
687
+ };
688
+
689
+ _proto.clone = function clone() {
690
+ return Utils.w(this.$d, this);
691
+ };
692
+
693
+ _proto.toDate = function toDate() {
694
+ return new Date(this.valueOf());
695
+ };
696
+
697
+ _proto.toJSON = function toJSON() {
698
+ return this.isValid() ? this.toISOString() : null;
699
+ };
700
+
701
+ _proto.toISOString = function toISOString() {
702
+ // ie 8 return
703
+ // new Dayjs(this.valueOf() + this.$d.getTimezoneOffset() * 60000)
704
+ // .format('YYYY-MM-DDTHH:mm:ss.SSS[Z]')
705
+ return this.$d.toISOString();
706
+ };
707
+
708
+ _proto.toString = function toString() {
709
+ return this.$d.toUTCString();
710
+ };
711
+
712
+ return Dayjs;
713
+ }();
714
+
715
+ var proto = Dayjs.prototype;
716
+ dayjs.prototype = proto;
717
+ [['$ms', MS], ['$s', S], ['$m', MIN], ['$H', H], ['$W', D], ['$M', M], ['$y', Y], ['$D', DATE]].forEach(function (g) {
718
+ proto[g[1]] = function (input) {
719
+ return this.$g(input, g[0], g[1]);
720
+ };
721
+ });
722
+
723
+ dayjs.extend = function (plugin, option) {
724
+ if (!plugin.$i) {
725
+ // install plugin only once
726
+ plugin(option, Dayjs, dayjs);
727
+ plugin.$i = true;
728
+ }
729
+
730
+ return dayjs;
731
+ };
732
+
733
+ dayjs.locale = parseLocale;
734
+ dayjs.isDayjs = isDayjs;
735
+
736
+ dayjs.unix = function (timestamp) {
737
+ return dayjs(timestamp * 1e3);
738
+ };
739
+
740
+ dayjs.en = Ls[L];
741
+ dayjs.Ls = Ls;
742
+ dayjs.p = {};
743
+
744
+ // eslint-disable-next-line import/prefer-default-export
745
+ var t = function t(format) {
746
+ return format.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function (_, a, b) {
747
+ return a || b.slice(1);
748
+ });
749
+ };
750
+ var englishFormats = {
751
+ LTS: 'h:mm:ss A',
752
+ LT: 'h:mm A',
753
+ L: 'MM/DD/YYYY',
754
+ LL: 'MMMM D, YYYY',
755
+ LLL: 'MMMM D, YYYY h:mm A',
756
+ LLLL: 'dddd, MMMM D, YYYY h:mm A'
757
+ };
758
+ var u = function u(formatStr, formats) {
759
+ return formatStr.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function (_, a, b) {
760
+ var B = b && b.toUpperCase();
761
+ return a || formats[b] || englishFormats[b] || t(formats[B]);
762
+ });
763
+ };
764
+
765
+ var formattingTokens = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g;
766
+ var match1 = /\d/; // 0 - 9
767
+
768
+ var match2 = /\d\d/; // 00 - 99
769
+
770
+ var match3 = /\d{3}/; // 000 - 999
771
+
772
+ var match4 = /\d{4}/; // 0000 - 9999
773
+
774
+ var match1to2 = /\d\d?/; // 0 - 99
775
+
776
+ var matchSigned = /[+-]?\d+/; // -inf - inf
777
+
778
+ var matchOffset = /[+-]\d\d:?(\d\d)?|Z/; // +00:00 -00:00 +0000 or -0000 +00 or Z
779
+
780
+ var matchWord = /\d*[^-_:/,()\s\d]+/; // Word
781
+
782
+ var locale = {};
783
+
784
+ var parseTwoDigitYear = function parseTwoDigitYear(input) {
785
+ input = +input;
786
+ return input + (input > 68 ? 1900 : 2000);
787
+ };
788
+
789
+ function offsetFromString(string) {
790
+ if (!string) return 0;
791
+ if (string === 'Z') return 0;
792
+ var parts = string.match(/([+-]|\d\d)/g);
793
+ var minutes = +(parts[1] * 60) + (+parts[2] || 0);
794
+ return minutes === 0 ? 0 : parts[0] === '+' ? -minutes : minutes; // eslint-disable-line no-nested-ternary
795
+ }
796
+
797
+ var addInput = function addInput(property) {
798
+ return function (input) {
799
+ this[property] = +input;
800
+ };
801
+ };
802
+
803
+ var zoneExpressions = [matchOffset, function (input) {
804
+ var zone = this.zone || (this.zone = {});
805
+ zone.offset = offsetFromString(input);
806
+ }];
807
+
808
+ var getLocalePart = function getLocalePart(name) {
809
+ var part = locale[name];
810
+ return part && (part.indexOf ? part : part.s.concat(part.f));
811
+ };
812
+
813
+ var meridiemMatch = function meridiemMatch(input, isLowerCase) {
814
+ var isAfternoon;
815
+ var _locale = locale,
816
+ meridiem = _locale.meridiem;
817
+
818
+ if (!meridiem) {
819
+ isAfternoon = input === (isLowerCase ? 'pm' : 'PM');
820
+ } else {
821
+ for (var i = 1; i <= 24; i += 1) {
822
+ // todo: fix input === meridiem(i, 0, isLowerCase)
823
+ if (input.indexOf(meridiem(i, 0, isLowerCase)) > -1) {
824
+ isAfternoon = i > 12;
825
+ break;
826
+ }
827
+ }
828
+ }
829
+
830
+ return isAfternoon;
831
+ };
832
+
833
+ var expressions = {
834
+ A: [matchWord, function (input) {
835
+ this.afternoon = meridiemMatch(input, false);
836
+ }],
837
+ a: [matchWord, function (input) {
838
+ this.afternoon = meridiemMatch(input, true);
839
+ }],
840
+ S: [match1, function (input) {
841
+ this.milliseconds = +input * 100;
842
+ }],
843
+ SS: [match2, function (input) {
844
+ this.milliseconds = +input * 10;
845
+ }],
846
+ SSS: [match3, function (input) {
847
+ this.milliseconds = +input;
848
+ }],
849
+ s: [match1to2, addInput('seconds')],
850
+ ss: [match1to2, addInput('seconds')],
851
+ m: [match1to2, addInput('minutes')],
852
+ mm: [match1to2, addInput('minutes')],
853
+ H: [match1to2, addInput('hours')],
854
+ h: [match1to2, addInput('hours')],
855
+ HH: [match1to2, addInput('hours')],
856
+ hh: [match1to2, addInput('hours')],
857
+ D: [match1to2, addInput('day')],
858
+ DD: [match2, addInput('day')],
859
+ Do: [matchWord, function (input) {
860
+ var _locale2 = locale,
861
+ ordinal = _locale2.ordinal;
862
+
863
+ var _input$match = input.match(/\d+/);
864
+
865
+ this.day = _input$match[0];
866
+ if (!ordinal) return;
867
+
868
+ for (var i = 1; i <= 31; i += 1) {
869
+ if (ordinal(i).replace(/\[|\]/g, '') === input) {
870
+ this.day = i;
871
+ }
872
+ }
873
+ }],
874
+ M: [match1to2, addInput('month')],
875
+ MM: [match2, addInput('month')],
876
+ MMM: [matchWord, function (input) {
877
+ var months = getLocalePart('months');
878
+ var monthsShort = getLocalePart('monthsShort');
879
+ var matchIndex = (monthsShort || months.map(function (_) {
880
+ return _.slice(0, 3);
881
+ })).indexOf(input) + 1;
882
+
883
+ if (matchIndex < 1) {
884
+ throw new Error();
885
+ }
886
+
887
+ this.month = matchIndex % 12 || matchIndex;
888
+ }],
889
+ MMMM: [matchWord, function (input) {
890
+ var months = getLocalePart('months');
891
+ var matchIndex = months.indexOf(input) + 1;
892
+
893
+ if (matchIndex < 1) {
894
+ throw new Error();
895
+ }
896
+
897
+ this.month = matchIndex % 12 || matchIndex;
898
+ }],
899
+ Y: [matchSigned, addInput('year')],
900
+ YY: [match2, function (input) {
901
+ this.year = parseTwoDigitYear(input);
902
+ }],
903
+ YYYY: [match4, addInput('year')],
904
+ Z: zoneExpressions,
905
+ ZZ: zoneExpressions
906
+ };
907
+
908
+ function correctHours(time) {
909
+ var afternoon = time.afternoon;
910
+
911
+ if (afternoon !== undefined) {
912
+ var hours = time.hours;
913
+
914
+ if (afternoon) {
915
+ if (hours < 12) {
916
+ time.hours += 12;
917
+ }
918
+ } else if (hours === 12) {
919
+ time.hours = 0;
920
+ }
921
+
922
+ delete time.afternoon;
923
+ }
924
+ }
925
+
926
+ function makeParser(format) {
927
+ format = u(format, locale && locale.formats);
928
+ var array = format.match(formattingTokens);
929
+ var length = array.length;
930
+
931
+ for (var i = 0; i < length; i += 1) {
932
+ var token = array[i];
933
+ var parseTo = expressions[token];
934
+ var regex = parseTo && parseTo[0];
935
+ var parser = parseTo && parseTo[1];
936
+
937
+ if (parser) {
938
+ array[i] = {
939
+ regex: regex,
940
+ parser: parser
941
+ };
942
+ } else {
943
+ array[i] = token.replace(/^\[|\]$/g, '');
944
+ }
945
+ }
946
+
947
+ return function (input) {
948
+ var time = {};
949
+
950
+ for (var _i = 0, start = 0; _i < length; _i += 1) {
951
+ var _token = array[_i];
952
+
953
+ if (typeof _token === 'string') {
954
+ start += _token.length;
955
+ } else {
956
+ var _regex = _token.regex,
957
+ _parser = _token.parser;
958
+ var part = input.slice(start);
959
+
960
+ var match = _regex.exec(part);
961
+
962
+ var value = match[0];
963
+
964
+ _parser.call(time, value);
965
+
966
+ input = input.replace(value, '');
967
+ }
968
+ }
969
+
970
+ correctHours(time);
971
+ return time;
972
+ };
973
+ }
974
+
975
+ var parseFormattedInput = function parseFormattedInput(input, format, utc) {
976
+ try {
977
+ if (['x', 'X'].indexOf(format) > -1) return new Date((format === 'X' ? 1000 : 1) * input);
978
+ var parser = makeParser(format);
979
+
980
+ var _parser2 = parser(input),
981
+ year = _parser2.year,
982
+ month = _parser2.month,
983
+ day = _parser2.day,
984
+ hours = _parser2.hours,
985
+ minutes = _parser2.minutes,
986
+ seconds = _parser2.seconds,
987
+ milliseconds = _parser2.milliseconds,
988
+ zone = _parser2.zone;
989
+
990
+ var now = new Date();
991
+ var d = day || (!year && !month ? now.getDate() : 1);
992
+ var y = year || now.getFullYear();
993
+ var M = 0;
994
+
995
+ if (!(year && !month)) {
996
+ M = month > 0 ? month - 1 : now.getMonth();
997
+ }
998
+
999
+ var h = hours || 0;
1000
+ var m = minutes || 0;
1001
+ var s = seconds || 0;
1002
+ var ms = milliseconds || 0;
1003
+
1004
+ if (zone) {
1005
+ return new Date(Date.UTC(y, M, d, h, m, s, ms + zone.offset * 60 * 1000));
1006
+ }
1007
+
1008
+ if (utc) {
1009
+ return new Date(Date.UTC(y, M, d, h, m, s, ms));
1010
+ }
1011
+
1012
+ return new Date(y, M, d, h, m, s, ms);
1013
+ } catch (e) {
1014
+ return new Date(''); // Invalid Date
1015
+ }
1016
+ };
1017
+
1018
+ const customParseFormat = (function (o, C, d) {
1019
+ d.p.customParseFormat = true;
1020
+
1021
+ if (o && o.parseTwoDigitYear) {
1022
+ parseTwoDigitYear = o.parseTwoDigitYear;
1023
+ }
1024
+
1025
+ var proto = C.prototype;
1026
+ var oldParse = proto.parse;
1027
+
1028
+ proto.parse = function (cfg) {
1029
+ var date = cfg.date,
1030
+ utc = cfg.utc,
1031
+ args = cfg.args;
1032
+ this.$u = utc;
1033
+ var format = args[1];
1034
+
1035
+ if (typeof format === 'string') {
1036
+ var isStrictWithoutLocale = args[2] === true;
1037
+ var isStrictWithLocale = args[3] === true;
1038
+ var isStrict = isStrictWithoutLocale || isStrictWithLocale;
1039
+ var pl = args[2];
1040
+
1041
+ if (isStrictWithLocale) {
1042
+ pl = args[2];
1043
+ }
1044
+
1045
+ locale = this.$locale();
1046
+
1047
+ if (!isStrictWithoutLocale && pl) {
1048
+ locale = d.Ls[pl];
1049
+ }
1050
+
1051
+ this.$d = parseFormattedInput(date, format, utc);
1052
+ this.init();
1053
+ if (pl && pl !== true) this.$L = this.locale(pl).$L; // use != to treat
1054
+ // input number 1410715640579 and format string '1410715640579' equal
1055
+ // eslint-disable-next-line eqeqeq
1056
+
1057
+ if (isStrict && date != this.format(format)) {
1058
+ this.$d = new Date('');
1059
+ } // reset global locale to make parallel unit test
1060
+
1061
+
1062
+ locale = {};
1063
+ } else if (format instanceof Array) {
1064
+ var len = format.length;
1065
+
1066
+ for (var i = 1; i <= len; i += 1) {
1067
+ args[1] = format[i - 1];
1068
+ var result = d.apply(this, args);
1069
+
1070
+ if (result.isValid()) {
1071
+ this.$d = result.$d;
1072
+ this.$L = result.$L;
1073
+ this.init();
1074
+ break;
1075
+ }
1076
+
1077
+ if (i === len) this.$d = new Date('');
1078
+ }
1079
+ } else {
1080
+ oldParse.call(this, cfg);
1081
+ }
1082
+ };
1083
+ });
1084
+
1085
+ const localeData = (function (o, c, dayjs) {
1086
+ // locale needed later
1087
+ var proto = c.prototype;
1088
+
1089
+ var getLocalePart = function getLocalePart(part) {
1090
+ return part && (part.indexOf ? part : part.s);
1091
+ };
1092
+
1093
+ var getShort = function getShort(ins, target, full, num, localeOrder) {
1094
+ var locale = ins.name ? ins : ins.$locale();
1095
+ var targetLocale = getLocalePart(locale[target]);
1096
+ var fullLocale = getLocalePart(locale[full]);
1097
+ var result = targetLocale || fullLocale.map(function (f) {
1098
+ return f.slice(0, num);
1099
+ });
1100
+ if (!localeOrder) return result;
1101
+ var weekStart = locale.weekStart;
1102
+ return result.map(function (_, index) {
1103
+ return result[(index + (weekStart || 0)) % 7];
1104
+ });
1105
+ };
1106
+
1107
+ var getDayjsLocaleObject = function getDayjsLocaleObject() {
1108
+ return dayjs.Ls[dayjs.locale()];
1109
+ };
1110
+
1111
+ var getLongDateFormat = function getLongDateFormat(l, format) {
1112
+ return l.formats[format] || t(l.formats[format.toUpperCase()]);
1113
+ };
1114
+
1115
+ var localeData = function localeData() {
1116
+ var _this = this;
1117
+
1118
+ return {
1119
+ months: function months(instance) {
1120
+ return instance ? instance.format('MMMM') : getShort(_this, 'months');
1121
+ },
1122
+ monthsShort: function monthsShort(instance) {
1123
+ return instance ? instance.format('MMM') : getShort(_this, 'monthsShort', 'months', 3);
1124
+ },
1125
+ firstDayOfWeek: function firstDayOfWeek() {
1126
+ return _this.$locale().weekStart || 0;
1127
+ },
1128
+ weekdays: function weekdays(instance) {
1129
+ return instance ? instance.format('dddd') : getShort(_this, 'weekdays');
1130
+ },
1131
+ weekdaysMin: function weekdaysMin(instance) {
1132
+ return instance ? instance.format('dd') : getShort(_this, 'weekdaysMin', 'weekdays', 2);
1133
+ },
1134
+ weekdaysShort: function weekdaysShort(instance) {
1135
+ return instance ? instance.format('ddd') : getShort(_this, 'weekdaysShort', 'weekdays', 3);
1136
+ },
1137
+ longDateFormat: function longDateFormat(format) {
1138
+ return getLongDateFormat(_this.$locale(), format);
1139
+ },
1140
+ meridiem: this.$locale().meridiem,
1141
+ ordinal: this.$locale().ordinal
1142
+ };
1143
+ };
1144
+
1145
+ proto.localeData = function () {
1146
+ return localeData.bind(this)();
1147
+ };
1148
+
1149
+ dayjs.localeData = function () {
1150
+ var localeObject = getDayjsLocaleObject();
1151
+ return {
1152
+ firstDayOfWeek: function firstDayOfWeek() {
1153
+ return localeObject.weekStart || 0;
1154
+ },
1155
+ weekdays: function weekdays() {
1156
+ return dayjs.weekdays();
1157
+ },
1158
+ weekdaysShort: function weekdaysShort() {
1159
+ return dayjs.weekdaysShort();
1160
+ },
1161
+ weekdaysMin: function weekdaysMin() {
1162
+ return dayjs.weekdaysMin();
1163
+ },
1164
+ months: function months() {
1165
+ return dayjs.months();
1166
+ },
1167
+ monthsShort: function monthsShort() {
1168
+ return dayjs.monthsShort();
1169
+ },
1170
+ longDateFormat: function longDateFormat(format) {
1171
+ return getLongDateFormat(localeObject, format);
1172
+ },
1173
+ meridiem: localeObject.meridiem,
1174
+ ordinal: localeObject.ordinal
1175
+ };
1176
+ };
1177
+
1178
+ dayjs.months = function () {
1179
+ return getShort(getDayjsLocaleObject(), 'months');
1180
+ };
1181
+
1182
+ dayjs.monthsShort = function () {
1183
+ return getShort(getDayjsLocaleObject(), 'monthsShort', 'months', 3);
1184
+ };
1185
+
1186
+ dayjs.weekdays = function (localeOrder) {
1187
+ return getShort(getDayjsLocaleObject(), 'weekdays', null, null, localeOrder);
1188
+ };
1189
+
1190
+ dayjs.weekdaysShort = function (localeOrder) {
1191
+ return getShort(getDayjsLocaleObject(), 'weekdaysShort', 'weekdays', 3, localeOrder);
1192
+ };
1193
+
1194
+ dayjs.weekdaysMin = function (localeOrder) {
1195
+ return getShort(getDayjsLocaleObject(), 'weekdaysMin', 'weekdays', 2, localeOrder);
1196
+ };
1197
+ });
1198
+
1199
+ const localizedFormat = (function (o, c, d) {
1200
+ var proto = c.prototype;
1201
+ var oldFormat = proto.format;
1202
+ d.en.formats = englishFormats;
1203
+
1204
+ proto.format = function (formatStr) {
1205
+ if (formatStr === void 0) {
1206
+ formatStr = FORMAT_DEFAULT;
1207
+ }
1208
+
1209
+ var _this$$locale = this.$locale(),
1210
+ _this$$locale$formats = _this$$locale.formats,
1211
+ formats = _this$$locale$formats === void 0 ? {} : _this$$locale$formats;
1212
+
1213
+ var result = u(formatStr, formats);
1214
+ return oldFormat.call(this, result);
1215
+ };
1216
+ });
1217
+
1218
+ // Plugin template from https://day.js.org/docs/en/plugin/plugin
1219
+ const preParsePostFormat = (function (option, dayjsClass) {
1220
+ var oldParse = dayjsClass.prototype.parse;
1221
+
1222
+ dayjsClass.prototype.parse = function (cfg) {
1223
+ if (typeof cfg.date === 'string') {
1224
+ var locale = this.$locale();
1225
+ cfg.date = locale && locale.preparse ? locale.preparse(cfg.date) : cfg.date;
1226
+ } // original parse result
1227
+
1228
+
1229
+ return oldParse.bind(this)(cfg);
1230
+ }; // // overriding existing API
1231
+ // // e.g. extend dayjs().format()
1232
+
1233
+
1234
+ var oldFormat = dayjsClass.prototype.format;
1235
+
1236
+ dayjsClass.prototype.format = function () {
1237
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1238
+ args[_key] = arguments[_key];
1239
+ }
1240
+
1241
+ // original format result
1242
+ var result = oldFormat.call.apply(oldFormat, [this].concat(args)); // return modified result
1243
+
1244
+ var locale = this.$locale();
1245
+ return locale && locale.postformat ? locale.postformat(result) : result;
1246
+ };
1247
+
1248
+ var oldFromTo = dayjsClass.prototype.fromToBase;
1249
+
1250
+ if (oldFromTo) {
1251
+ dayjsClass.prototype.fromToBase = function (input, withoutSuffix, instance, isFrom) {
1252
+ var locale = this.$locale() || instance.$locale(); // original format result
1253
+
1254
+ return oldFromTo.call(this, input, withoutSuffix, instance, isFrom, locale && locale.postformat);
1255
+ };
1256
+ }
1257
+ });
1258
+
1259
+ const updateLocale = (function (option, Dayjs, dayjs) {
1260
+ dayjs.updateLocale = function (locale, customConfig) {
1261
+ var localeList = dayjs.Ls;
1262
+ var localeConfig = localeList[locale];
1263
+ if (!localeConfig) return;
1264
+ var customConfigKeys = customConfig ? Object.keys(customConfig) : [];
1265
+ customConfigKeys.forEach(function (c) {
1266
+ localeConfig[c] = customConfig[c];
1267
+ });
1268
+ return localeConfig; // eslint-disable-line consistent-return
1269
+ };
1270
+ });
1271
+
1272
+ const inputTimePickerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;-webkit-user-select:none;user-select:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([scale=s]){--calcite-toggle-spacing:0.5rem}:host([scale=m]){--calcite-toggle-spacing:0.75rem}:host([scale=l]){--calcite-toggle-spacing:1rem}.input-wrapper{position:relative}.toggle-icon{position:absolute;display:flex;inline-size:1rem;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}";
1273
+
1274
+ // some bundlers (e.g., Webpack) need dynamic import paths to be static
1275
+ const supportedDayJsLocaleToLocaleConfigImport = new Map([
1276
+ ["ar", () => Promise.resolve().then(function () { return require('./ar-a4bfbf5d.js'); })],
1277
+ ["bg", () => Promise.resolve().then(function () { return require('./bg-a666f3b1.js'); })],
1278
+ ["bs", () => Promise.resolve().then(function () { return require('./bs-9209380e.js'); })],
1279
+ ["ca", () => Promise.resolve().then(function () { return require('./ca-b67b28f6.js'); })],
1280
+ ["cs", () => Promise.resolve().then(function () { return require('./cs-d1dba237.js'); })],
1281
+ ["da", () => Promise.resolve().then(function () { return require('./da-09e7dfeb.js'); })],
1282
+ ["de", () => Promise.resolve().then(function () { return require('./de-f73ef064.js'); })],
1283
+ ["de-at", () => Promise.resolve().then(function () { return require('./de-at-2fd0230e.js'); })],
1284
+ ["de-ch", () => Promise.resolve().then(function () { return require('./de-ch-89a617b0.js'); })],
1285
+ ["el", () => Promise.resolve().then(function () { return require('./el-eb44e363.js'); })],
1286
+ ["en", () => Promise.resolve().then(function () { return en$1; })],
1287
+ ["en-au", () => Promise.resolve().then(function () { return require('./en-au-1661bcd4.js'); })],
1288
+ ["en-ca", () => Promise.resolve().then(function () { return require('./en-ca-fe7317b9.js'); })],
1289
+ ["en-gb", () => Promise.resolve().then(function () { return require('./en-gb-c30b40ba.js'); })],
1290
+ ["es", () => Promise.resolve().then(function () { return require('./es-a86b5cde.js'); })],
1291
+ ["es-mx", () => Promise.resolve().then(function () { return require('./es-mx-a5141e64.js'); })],
1292
+ ["et", () => Promise.resolve().then(function () { return require('./et-3d9151ba.js'); })],
1293
+ ["fi", () => Promise.resolve().then(function () { return require('./fi-ad569c8d.js'); })],
1294
+ ["fr", () => Promise.resolve().then(function () { return require('./fr-11a793dc.js'); })],
1295
+ ["fr-ch", () => Promise.resolve().then(function () { return require('./fr-ch-1bef4a9d.js'); })],
1296
+ ["he", () => Promise.resolve().then(function () { return require('./he-9b02041f.js'); })],
1297
+ ["hi", () => Promise.resolve().then(function () { return require('./hi-0fc5c527.js'); })],
1298
+ ["hr", () => Promise.resolve().then(function () { return require('./hr-e668552f.js'); })],
1299
+ ["hu", () => Promise.resolve().then(function () { return require('./hu-4d6ad522.js'); })],
1300
+ ["id", () => Promise.resolve().then(function () { return require('./id-4cb8e2a4.js'); })],
1301
+ ["it", () => Promise.resolve().then(function () { return require('./it-0170bb3c.js'); })],
1302
+ ["it-ch", () => Promise.resolve().then(function () { return require('./it-ch-076e04dc.js'); })],
1303
+ ["ja", () => Promise.resolve().then(function () { return require('./ja-31791e02.js'); })],
1304
+ ["ko", () => Promise.resolve().then(function () { return require('./ko-7cd8f5c3.js'); })],
1305
+ ["lt", () => Promise.resolve().then(function () { return require('./lt-0b864ffc.js'); })],
1306
+ ["lv", () => Promise.resolve().then(function () { return require('./lv-73e04dab.js'); })],
1307
+ ["mk", () => Promise.resolve().then(function () { return require('./mk-f3a80002.js'); })],
1308
+ ["nl", () => Promise.resolve().then(function () { return require('./nl-8a3d7b7b.js'); })],
1309
+ ["nb", () => Promise.resolve().then(function () { return require('./nb-9d4f233b.js'); })],
1310
+ ["pl", () => Promise.resolve().then(function () { return require('./pl-d5fb21f1.js'); })],
1311
+ ["pt", () => Promise.resolve().then(function () { return require('./pt-a103f820.js'); })],
1312
+ ["pt-br", () => Promise.resolve().then(function () { return require('./pt-br-4d419a29.js'); })],
1313
+ ["ro", () => Promise.resolve().then(function () { return require('./ro-5d2841fd.js'); })],
1314
+ ["ru", () => Promise.resolve().then(function () { return require('./ru-07f7b205.js'); })],
1315
+ ["sk", () => Promise.resolve().then(function () { return require('./sk-4d0acc49.js'); })],
1316
+ ["sl", () => Promise.resolve().then(function () { return require('./sl-8b159836.js'); })],
1317
+ ["sr", () => Promise.resolve().then(function () { return require('./sr-557b8d59.js'); })],
1318
+ ["sv", () => Promise.resolve().then(function () { return require('./sv-84013f0a.js'); })],
1319
+ ["th", () => Promise.resolve().then(function () { return require('./th-19e79b92.js'); })],
1320
+ ["tr", () => Promise.resolve().then(function () { return require('./tr-405e2252.js'); })],
1321
+ ["uk", () => Promise.resolve().then(function () { return require('./uk-1190ebd1.js'); })],
1322
+ ["vi", () => Promise.resolve().then(function () { return require('./vi-3b015b69.js'); })],
1323
+ ["zh-cn", () => Promise.resolve().then(function () { return require('./zh-cn-5a300c6a.js'); })],
1324
+ ["zh-hk", () => Promise.resolve().then(function () { return require('./zh-hk-c30f9774.js'); })],
1325
+ ["zh-tw", () => Promise.resolve().then(function () { return require('./zh-tw-da47ea05.js'); })]
1326
+ ]);
1327
+ dayjs.extend(customParseFormat);
1328
+ dayjs.extend(localeData);
1329
+ dayjs.extend(localizedFormat);
1330
+ dayjs.extend(preParsePostFormat);
1331
+ dayjs.extend(updateLocale);
1332
+ const InputTimePicker = class {
1333
+ constructor(hostRef) {
1334
+ index.registerInstance(this, hostRef);
1335
+ this.calciteInputTimePickerChange = index.createEvent(this, "calciteInputTimePickerChange", 7);
1336
+ this.focusOnOpen = false;
1337
+ this.dialogId = `time-picker-dialog--${guid.guid()}`;
1338
+ /** whether the value of the input was changed as a result of user typing or not */
1339
+ this.userChangedValue = false;
1340
+ this.referenceElementId = `input-time-picker-${guid.guid()}`;
1341
+ //--------------------------------------------------------------------------
1342
+ //
1343
+ // Event Listeners
1344
+ //
1345
+ //--------------------------------------------------------------------------
1346
+ this.hostBlurHandler = () => {
1347
+ const inputValue = this.calciteInputEl.value;
1348
+ const delocalizedInputValue = this.delocalizeTimeString(inputValue);
1349
+ if (!delocalizedInputValue) {
1350
+ this.setValue("");
1351
+ return;
1352
+ }
1353
+ if (delocalizedInputValue !== this.value) {
1354
+ this.setValue(delocalizedInputValue);
1355
+ }
1356
+ const localizedTimeString = localizeTimeString({
1357
+ value: this.value,
1358
+ locale: this.effectiveLocale,
1359
+ numberingSystem: this.numberingSystem,
1360
+ includeSeconds: this.shouldIncludeSeconds()
1361
+ });
1362
+ if (localizedTimeString !== inputValue) {
1363
+ this.setInputValue(localizedTimeString);
1364
+ }
1365
+ this.deactivate();
1366
+ };
1367
+ this.calciteInternalInputFocusHandler = (event) => {
1368
+ if (!this.readOnly) {
1369
+ event.stopPropagation();
1370
+ }
1371
+ };
1372
+ this.calciteInternalInputInputHandler = (event) => {
1373
+ const { effectiveLocale: locale, numberingSystem } = this;
1374
+ if (numberingSystem && numberingSystem !== "latn") {
1375
+ const target = event.target;
1376
+ locale$1.numberStringFormatter.numberFormatOptions = {
1377
+ locale,
1378
+ numberingSystem,
1379
+ useGrouping: false
1380
+ };
1381
+ const valueInNumberingSystem = locale$1.numberStringFormatter
1382
+ .delocalize(target.value)
1383
+ .split("")
1384
+ .map((char) => key.numberKeys.includes(char)
1385
+ ? locale$1.numberStringFormatter.numberFormatter.format(Number(char))
1386
+ : char)
1387
+ .join("");
1388
+ this.setInputValue(valueInNumberingSystem);
1389
+ }
1390
+ };
1391
+ this.timePickerChangeHandler = (event) => {
1392
+ event.stopPropagation();
1393
+ const target = event.target;
1394
+ const value = target.value;
1395
+ const includeSeconds = this.shouldIncludeSeconds();
1396
+ this.setValue(toISOTimeString(value, includeSeconds));
1397
+ this.setInputValue(localizeTimeString({
1398
+ value,
1399
+ locale: this.effectiveLocale,
1400
+ numberingSystem: this.numberingSystem,
1401
+ includeSeconds
1402
+ }));
1403
+ };
1404
+ this.popoverCloseHandler = () => {
1405
+ focusTrapComponent.deactivateFocusTrap(this, {
1406
+ onDeactivate: () => {
1407
+ this.calciteInputEl.setFocus();
1408
+ this.focusOnOpen = false;
1409
+ }
1410
+ });
1411
+ };
1412
+ this.popoverOpenHandler = () => {
1413
+ focusTrapComponent.activateFocusTrap(this, {
1414
+ onActivate: () => {
1415
+ if (this.focusOnOpen) {
1416
+ this.calciteTimePickerEl.setFocus();
1417
+ this.focusOnOpen = false;
1418
+ }
1419
+ }
1420
+ });
1421
+ };
1422
+ this.keyDownHandler = (event) => {
1423
+ const { defaultPrevented, key } = event;
1424
+ if (defaultPrevented) {
1425
+ return;
1426
+ }
1427
+ if (key === "Enter") {
1428
+ if (form.submitForm(this)) {
1429
+ event.preventDefault();
1430
+ this.calciteInputEl.setFocus();
1431
+ }
1432
+ if (event.composedPath().includes(this.calciteTimePickerEl)) {
1433
+ return;
1434
+ }
1435
+ const newValue = this.delocalizeTimeString(this.calciteInputEl.value);
1436
+ this.setValue(newValue);
1437
+ const localizedTimeString = localizeTimeString({
1438
+ value: this.value,
1439
+ locale: this.effectiveLocale,
1440
+ numberingSystem: this.numberingSystem,
1441
+ includeSeconds: this.shouldIncludeSeconds()
1442
+ });
1443
+ if (newValue && this.calciteInputEl.value !== localizedTimeString) {
1444
+ this.setInputValue(localizedTimeString);
1445
+ }
1446
+ }
1447
+ else if (key === "ArrowDown") {
1448
+ this.open = true;
1449
+ this.focusOnOpen = true;
1450
+ event.preventDefault();
1451
+ }
1452
+ else if (key === "Escape" && this.open) {
1453
+ this.open = false;
1454
+ event.preventDefault();
1455
+ this.calciteInputEl.setFocus();
1456
+ }
1457
+ };
1458
+ this.setCalcitePopoverEl = (el) => {
1459
+ this.popoverEl = el;
1460
+ };
1461
+ this.setCalciteInputEl = (el) => {
1462
+ this.calciteInputEl = el;
1463
+ };
1464
+ this.setCalciteTimePickerEl = (el) => {
1465
+ this.calciteTimePickerEl = el;
1466
+ focusTrapComponent.connectFocusTrap(this, {
1467
+ focusTrapEl: el,
1468
+ focusTrapOptions: {
1469
+ initialFocus: false,
1470
+ setReturnFocus: false
1471
+ }
1472
+ });
1473
+ };
1474
+ this.setInputValue = (newInputValue) => {
1475
+ if (!this.calciteInputEl) {
1476
+ return;
1477
+ }
1478
+ this.calciteInputEl.value = newInputValue;
1479
+ };
1480
+ /**
1481
+ * Sets the value and emits a change event.
1482
+ * This is used to update the value as a result of user interaction.
1483
+ *
1484
+ * @param value
1485
+ */
1486
+ this.setValue = (value) => {
1487
+ const oldValue = this.value;
1488
+ const newValue = formatTimeString(value) || "";
1489
+ if (newValue === oldValue) {
1490
+ return;
1491
+ }
1492
+ this.userChangedValue = true;
1493
+ this.value = newValue || "";
1494
+ const changeEvent = this.calciteInputTimePickerChange.emit();
1495
+ if (changeEvent.defaultPrevented) {
1496
+ this.userChangedValue = false;
1497
+ this.value = oldValue;
1498
+ this.setInputValue(localizeTimeString({
1499
+ value: oldValue,
1500
+ locale: this.effectiveLocale,
1501
+ numberingSystem: this.numberingSystem,
1502
+ includeSeconds: this.shouldIncludeSeconds()
1503
+ }));
1504
+ }
1505
+ };
1506
+ /**
1507
+ * Sets the value directly without emitting a change event.
1508
+ * This is used to update the value on initial load and when props change that are not the result of user interaction.
1509
+ *
1510
+ * @param value
1511
+ */
1512
+ this.setValueDirectly = (value) => {
1513
+ const includeSeconds = this.shouldIncludeSeconds();
1514
+ this.value = toISOTimeString(value, includeSeconds);
1515
+ this.setInputValue(this.value
1516
+ ? localizeTimeString({
1517
+ value: this.value,
1518
+ includeSeconds,
1519
+ locale: this.effectiveLocale,
1520
+ numberingSystem: this.numberingSystem
1521
+ })
1522
+ : "");
1523
+ };
1524
+ this.onInputWrapperClick = () => {
1525
+ this.open = !this.open;
1526
+ };
1527
+ this.deactivate = () => {
1528
+ this.open = false;
1529
+ };
1530
+ this.open = false;
1531
+ this.disabled = false;
1532
+ this.focusTrapDisabled = false;
1533
+ this.form = undefined;
1534
+ this.readOnly = false;
1535
+ this.messageOverrides = undefined;
1536
+ this.messages = undefined;
1537
+ this.name = undefined;
1538
+ this.numberingSystem = undefined;
1539
+ this.required = false;
1540
+ this.scale = "m";
1541
+ this.overlayPositioning = "absolute";
1542
+ this.placement = "auto";
1543
+ this.step = 60;
1544
+ this.value = null;
1545
+ this.defaultMessages = undefined;
1546
+ this.effectiveLocale = "";
1547
+ }
1548
+ openHandler(value) {
1549
+ if (this.disabled || this.readOnly) {
1550
+ this.open = false;
1551
+ return;
1552
+ }
1553
+ if (value) {
1554
+ this.reposition(true);
1555
+ }
1556
+ }
1557
+ handleFocusTrapDisabled(focusTrapDisabled) {
1558
+ if (!this.open) {
1559
+ return;
1560
+ }
1561
+ focusTrapDisabled ? focusTrapComponent.deactivateFocusTrap(this) : focusTrapComponent.activateFocusTrap(this);
1562
+ }
1563
+ handleDisabledAndReadOnlyChange(value) {
1564
+ if (!value) {
1565
+ this.open = false;
1566
+ }
1567
+ }
1568
+ onMessagesChange() {
1569
+ /* wired up by t9n util */
1570
+ }
1571
+ numberingSystemWatcher(numberingSystem) {
1572
+ this.setInputValue(localizeTimeString({
1573
+ value: this.value,
1574
+ locale: this.effectiveLocale,
1575
+ numberingSystem,
1576
+ includeSeconds: this.shouldIncludeSeconds()
1577
+ }));
1578
+ }
1579
+ stepWatcher(newStep, oldStep) {
1580
+ if ((oldStep >= 60 && newStep > 0 && newStep < 60) ||
1581
+ (newStep >= 60 && oldStep > 0 && oldStep < 60)) {
1582
+ this.setValueDirectly(this.value);
1583
+ }
1584
+ }
1585
+ valueWatcher(newValue) {
1586
+ if (!this.userChangedValue) {
1587
+ this.setValueDirectly(newValue);
1588
+ }
1589
+ this.userChangedValue = false;
1590
+ }
1591
+ async effectiveLocaleWatcher(locale) {
1592
+ await this.loadDateTimeLocaleData();
1593
+ this.setInputValue(localizeTimeString({
1594
+ value: this.value,
1595
+ locale,
1596
+ numberingSystem: this.numberingSystem,
1597
+ includeSeconds: this.shouldIncludeSeconds()
1598
+ }));
1599
+ }
1600
+ // --------------------------------------------------------------------------
1601
+ //
1602
+ // Public Methods
1603
+ //
1604
+ // --------------------------------------------------------------------------
1605
+ /** Sets focus on the component. */
1606
+ async setFocus() {
1607
+ await loadable.componentLoaded(this);
1608
+ this.el.focus();
1609
+ }
1610
+ /**
1611
+ * Updates the position of the component.
1612
+ *
1613
+ * @param delayed
1614
+ */
1615
+ async reposition(delayed = false) {
1616
+ this.popoverEl?.reposition(delayed);
1617
+ }
1618
+ // --------------------------------------------------------------------------
1619
+ //
1620
+ // Private Methods
1621
+ //
1622
+ // --------------------------------------------------------------------------
1623
+ delocalizeTimeString(value) {
1624
+ // we need to set the corresponding locale before parsing, otherwise it defaults to English (possible dayjs bug)
1625
+ dayjs.locale(this.effectiveLocale.toLowerCase());
1626
+ const dayjsParseResult = dayjs(value, ["LTS", "LT"]);
1627
+ if (dayjsParseResult.isValid()) {
1628
+ let unformattedTimeString = `${dayjsParseResult.get("hour")}:${dayjsParseResult.get("minute")}`;
1629
+ if (this.shouldIncludeSeconds()) {
1630
+ unformattedTimeString += `:${dayjsParseResult.get("seconds") || 0}`;
1631
+ }
1632
+ return formatTimeString(unformattedTimeString) || "";
1633
+ }
1634
+ return "";
1635
+ }
1636
+ async loadDateTimeLocaleData() {
1637
+ const { effectiveLocale } = this;
1638
+ if (effectiveLocale === "en" || effectiveLocale === "en-US") {
1639
+ return;
1640
+ }
1641
+ let dayjsLocale = effectiveLocale.toLowerCase();
1642
+ if (effectiveLocale === "pt-PT") {
1643
+ dayjsLocale = "pt";
1644
+ }
1645
+ if (effectiveLocale === "no") {
1646
+ dayjsLocale = "nb";
1647
+ }
1648
+ const { default: localeConfig } = await supportedDayJsLocaleToLocaleConfigImport.get(dayjsLocale)();
1649
+ dayjs.locale(localeConfig, null, true);
1650
+ dayjs.updateLocale(dayjsLocale, this.getExtendedLocaleConfig(dayjsLocale));
1651
+ }
1652
+ getExtendedLocaleConfig(locale) {
1653
+ if (locale === "ar") {
1654
+ return {
1655
+ meridiem: (hour) => (hour > 12 ? "م" : "ص"),
1656
+ formats: {
1657
+ LT: "HH:mm A",
1658
+ LTS: "HH:mm:ss A",
1659
+ L: "DD/MM/YYYY",
1660
+ LL: "D MMMM YYYY",
1661
+ LLL: "D MMMM YYYY HH:mm A",
1662
+ LLLL: "dddd D MMMM YYYY HH:mm A"
1663
+ }
1664
+ };
1665
+ }
1666
+ if (locale === "en-au") {
1667
+ return {
1668
+ meridiem: (hour) => (hour > 12 ? "pm" : "am")
1669
+ };
1670
+ }
1671
+ if (locale === "en-ca") {
1672
+ return {
1673
+ meridiem: (hour) => (hour > 12 ? "p.m." : "a.m.")
1674
+ };
1675
+ }
1676
+ if (locale === "el") {
1677
+ return {
1678
+ meridiem: (hour) => (hour > 12 ? "μ.μ." : "π.μ.")
1679
+ };
1680
+ }
1681
+ if (locale === "hi") {
1682
+ return {
1683
+ formats: {
1684
+ LT: "h:mm A",
1685
+ LTS: "h:mm:ss A",
1686
+ L: "DD/MM/YYYY",
1687
+ LL: "D MMMM YYYY",
1688
+ LLL: "D MMMM YYYY, h:mm A",
1689
+ LLLL: "dddd, D MMMM YYYY, h:mm A"
1690
+ },
1691
+ meridiem: (hour) => (hour > 12 ? "pm" : "am")
1692
+ };
1693
+ }
1694
+ if (locale === "ko") {
1695
+ return {
1696
+ meridiem: (hour) => (hour > 12 ? "오후" : "오전")
1697
+ };
1698
+ }
1699
+ if (locale === "zh-tw") {
1700
+ return {
1701
+ formats: {
1702
+ LT: "AHH:mm",
1703
+ LTS: "AHH:mm:ss"
1704
+ }
1705
+ };
1706
+ }
1707
+ if (locale === "zh-hk") {
1708
+ return {
1709
+ formats: {
1710
+ LT: "AHH:mm",
1711
+ LTS: "AHH:mm:ss"
1712
+ },
1713
+ meridiem: (hour) => (hour > 12 ? "下午" : "上午")
1714
+ };
1715
+ }
1716
+ }
1717
+ onLabelClick() {
1718
+ this.setFocus();
1719
+ }
1720
+ shouldIncludeSeconds() {
1721
+ return this.step < 60;
1722
+ }
1723
+ //--------------------------------------------------------------------------
1724
+ //
1725
+ // Lifecycle
1726
+ //
1727
+ //--------------------------------------------------------------------------
1728
+ connectedCallback() {
1729
+ locale$1.connectLocalized(this);
1730
+ let { effectiveLocale } = this;
1731
+ if (effectiveLocale === "en-US") {
1732
+ effectiveLocale = "en";
1733
+ }
1734
+ if (effectiveLocale === "pt-PT") {
1735
+ effectiveLocale = "pt";
1736
+ }
1737
+ if (effectiveLocale === "no") {
1738
+ effectiveLocale = "nb";
1739
+ }
1740
+ this.effectiveLocale = effectiveLocale;
1741
+ if (isValidTime(this.value)) {
1742
+ this.setValueDirectly(this.value);
1743
+ }
1744
+ else {
1745
+ this.value = undefined;
1746
+ }
1747
+ label.connectLabel(this);
1748
+ form.connectForm(this);
1749
+ t9n.connectMessages(this);
1750
+ }
1751
+ async componentWillLoad() {
1752
+ loadable.setUpLoadableComponent(this);
1753
+ await Promise.all([t9n.setUpMessages(this), this.loadDateTimeLocaleData()]);
1754
+ }
1755
+ componentDidLoad() {
1756
+ loadable.setComponentLoaded(this);
1757
+ if (isValidTime(this.value)) {
1758
+ this.setInputValue(localizeTimeString({
1759
+ value: this.value,
1760
+ locale: this.effectiveLocale,
1761
+ numberingSystem: this.numberingSystem,
1762
+ includeSeconds: this.shouldIncludeSeconds()
1763
+ }));
1764
+ }
1765
+ }
1766
+ disconnectedCallback() {
1767
+ label.disconnectLabel(this);
1768
+ form.disconnectForm(this);
1769
+ locale$1.disconnectLocalized(this);
1770
+ focusTrapComponent.deactivateFocusTrap(this);
1771
+ t9n.disconnectMessages(this);
1772
+ }
1773
+ componentDidRender() {
1774
+ interactive.updateHostInteraction(this);
1775
+ }
1776
+ // --------------------------------------------------------------------------
1777
+ //
1778
+ // Render Methods
1779
+ //
1780
+ // --------------------------------------------------------------------------
1781
+ render() {
1782
+ const { disabled, messages, readOnly, dialogId } = this;
1783
+ return (index.h(index.Host, { onBlur: this.hostBlurHandler, onKeyDown: this.keyDownHandler }, index.h("div", { class: "input-wrapper", onClick: this.onInputWrapperClick }, index.h("calcite-input", { "aria-autocomplete": "none", "aria-haspopup": "dialog", disabled: disabled, icon: "clock", id: this.referenceElementId, label: label.getLabelText(this), lang: this.effectiveLocale, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: readOnly, role: "combobox", scale: this.scale, step: this.step,
1784
+ // eslint-disable-next-line react/jsx-sort-props
1785
+ ref: this.setCalciteInputEl }), this.renderToggleIcon(this.open)), index.h("calcite-popover", { focusTrapDisabled: true, id: dialogId, label: messages.chooseTime, lang: this.effectiveLocale, onCalcitePopoverClose: this.popoverCloseHandler, onCalcitePopoverOpen: this.popoverOpenHandler, open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, referenceElement: this.referenceElementId, triggerDisabled: true,
1786
+ // eslint-disable-next-line react/jsx-sort-props
1787
+ ref: this.setCalcitePopoverEl }, index.h("calcite-time-picker", { lang: this.effectiveLocale, messageOverrides: this.messageOverrides, numberingSystem: this.numberingSystem, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, scale: this.scale, step: this.step, tabIndex: this.open ? undefined : -1, value: this.value,
1788
+ // eslint-disable-next-line react/jsx-sort-props
1789
+ ref: this.setCalciteTimePickerEl })), index.h(form.HiddenFormInputSlot, { component: this })));
1790
+ }
1791
+ renderToggleIcon(open) {
1792
+ return (index.h("span", { class: CSS$1.toggleIcon }, index.h("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
1793
+ }
1794
+ static get delegatesFocus() { return true; }
1795
+ static get assetsDirs() { return ["assets"]; }
1796
+ get el() { return index.getElement(this); }
1797
+ static get watchers() { return {
1798
+ "open": ["openHandler"],
1799
+ "focusTrapDisabled": ["handleFocusTrapDisabled"],
1800
+ "disabled": ["handleDisabledAndReadOnlyChange"],
1801
+ "readOnly": ["handleDisabledAndReadOnlyChange"],
1802
+ "messageOverrides": ["onMessagesChange"],
1803
+ "numberingSystem": ["numberingSystemWatcher"],
1804
+ "step": ["stepWatcher"],
1805
+ "value": ["valueWatcher"],
1806
+ "effectiveLocale": ["effectiveLocaleWatcher"]
1807
+ }; }
1808
+ };
1809
+ InputTimePicker.style = inputTimePickerCss;
1810
+
1811
+ const CSS = {
1812
+ button: "button",
1813
+ buttonBottomLeft: "button--bottom-left",
1814
+ buttonBottomRight: "button--bottom-right",
1815
+ buttonHourDown: "button--hour-down",
1816
+ buttonHourUp: "button--hour-up",
1817
+ buttonMeridiemDown: "button--meridiem-down",
1818
+ buttonMeridiemUp: "button--meridiem-up",
1819
+ buttonMinuteDown: "button--minute-down",
1820
+ buttonMinuteUp: "button--minute-up",
1821
+ buttonSecondDown: "button--second-down",
1822
+ buttonSecondUp: "button--second-up",
1823
+ buttonTopLeft: "button--top-left",
1824
+ buttonTopRight: "button--top-right",
1825
+ column: "column",
1826
+ delimiter: "delimiter",
1827
+ hour: "hour",
1828
+ input: "input",
1829
+ meridiem: "meridiem",
1830
+ minute: "minute",
1831
+ second: "second",
1832
+ showMeridiem: "show-meridiem",
1833
+ showSecond: "show-second",
1834
+ "scale-s": "scale-s",
1835
+ "scale-m": "scale-m",
1836
+ "scale-l": "scale-l",
1837
+ timePicker: "time-picker",
1838
+ meridiemStart: "meridiem--start"
1839
+ };
1840
+
1841
+ const timePickerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host{display:inline-block}.time-picker{display:flex;-webkit-user-select:none;user-select:none;align-items:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius)}.time-picker .column{display:flex;flex-direction:column}.time-picker .meridiem--start{order:-1}.time-picker .button{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1)}.time-picker .button:hover,.time-picker .button:focus{background-color:var(--calcite-ui-foreground-2);outline:2px solid transparent;outline-offset:2px;z-index:var(--calcite-app-z-index-header);outline-offset:0}.time-picker .button:active{background-color:var(--calcite-ui-foreground-3)}.time-picker .button.top-left{border-start-start-radius:var(--calcite-border-radius)}.time-picker .button.bottom-left{border-end-start-radius:var(--calcite-border-radius)}.time-picker .button.top-right{border-start-end-radius:var(--calcite-border-radius)}.time-picker .button.bottom-right{border-end-end-radius:var(--calcite-border-radius)}.time-picker .button calcite-icon{color:var(--calcite-ui-text-3)}.time-picker .input{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium)}.time-picker .input:hover{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2);z-index:var(--calcite-app-z-index-header)}.time-picker .input:focus,.time-picker .input:hover:focus{outline:2px solid transparent;outline-offset:2px;box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);z-index:var(--calcite-app-z-index-header);outline-offset:0}.time-picker.scale-s{font-size:var(--calcite-font-size--1)}.time-picker.scale-s .button,.time-picker.scale-s .input{padding-inline:0.75rem;padding-block:0.25rem}.time-picker.scale-s:not(.show-meridiem) .delimiter:last-child{padding-inline-end:0.75rem}.time-picker.scale-m{font-size:var(--calcite-font-size-0)}.time-picker.scale-m .button,.time-picker.scale-m .input{padding-inline:1rem;padding-block:0.5rem}.time-picker.scale-m:not(.show-meridiem) .delimiter:last-child{padding-inline-end:1rem}.time-picker.scale-l{font-size:var(--calcite-font-size-1)}.time-picker.scale-l .button,.time-picker.scale-l .input{padding-inline:1.25rem;padding-block:0.75rem}.time-picker.scale-l:not(.show-meridiem) .delimiter:last-child{padding-inline-end:1.25rem}";
1842
+
1843
+ function capitalize(str) {
1844
+ return str.charAt(0).toUpperCase() + str.slice(1);
1845
+ }
1846
+ const TimePicker = class {
1847
+ constructor(hostRef) {
1848
+ index.registerInstance(this, hostRef);
1849
+ this.calciteInternalTimePickerBlur = index.createEvent(this, "calciteInternalTimePickerBlur", 6);
1850
+ this.calciteInternalTimePickerChange = index.createEvent(this, "calciteInternalTimePickerChange", 6);
1851
+ this.calciteInternalTimePickerFocus = index.createEvent(this, "calciteInternalTimePickerFocus", 6);
1852
+ this.decrementHour = () => {
1853
+ const newHour = !this.hour ? 0 : this.hour === "00" ? 23 : parseInt(this.hour) - 1;
1854
+ this.setValuePart("hour", newHour);
1855
+ };
1856
+ this.decrementMeridiem = () => {
1857
+ const newMeridiem = this.meridiem === "PM" ? "AM" : "PM";
1858
+ this.setValuePart("meridiem", newMeridiem);
1859
+ };
1860
+ this.decrementMinuteOrSecond = (key) => {
1861
+ let newValue;
1862
+ if (locale$1.isValidNumber(this[key])) {
1863
+ const valueAsNumber = parseInt(this[key]);
1864
+ newValue = valueAsNumber === 0 ? 59 : valueAsNumber - 1;
1865
+ }
1866
+ else {
1867
+ newValue = 59;
1868
+ }
1869
+ this.setValuePart(key, newValue);
1870
+ };
1871
+ this.decrementMinute = () => {
1872
+ this.decrementMinuteOrSecond("minute");
1873
+ };
1874
+ this.decrementSecond = () => {
1875
+ this.decrementMinuteOrSecond("second");
1876
+ };
1877
+ this.focusHandler = (event) => {
1878
+ this.activeEl = event.currentTarget;
1879
+ };
1880
+ this.hourDownButtonKeyDownHandler = (event) => {
1881
+ if (this.buttonActivated(event)) {
1882
+ this.decrementHour();
1883
+ }
1884
+ };
1885
+ this.hourKeyDownHandler = (event) => {
1886
+ const { key: key$1 } = event;
1887
+ if (key.numberKeys.includes(key$1)) {
1888
+ const keyAsNumber = parseInt(key$1);
1889
+ let newHour;
1890
+ if (locale$1.isValidNumber(this.hour)) {
1891
+ switch (this.hourCycle) {
1892
+ case "12":
1893
+ newHour =
1894
+ this.hour === "01" && keyAsNumber >= 0 && keyAsNumber <= 2
1895
+ ? `1${keyAsNumber}`
1896
+ : keyAsNumber;
1897
+ break;
1898
+ case "24":
1899
+ if (this.hour === "01") {
1900
+ newHour = `1${keyAsNumber}`;
1901
+ }
1902
+ else if (this.hour === "02" && keyAsNumber >= 0 && keyAsNumber <= 3) {
1903
+ newHour = `2${keyAsNumber}`;
1904
+ }
1905
+ else {
1906
+ newHour = keyAsNumber;
1907
+ }
1908
+ break;
1909
+ }
1910
+ }
1911
+ else {
1912
+ newHour = keyAsNumber;
1913
+ }
1914
+ this.setValuePart("hour", newHour);
1915
+ }
1916
+ else {
1917
+ switch (key$1) {
1918
+ case "Backspace":
1919
+ case "Delete":
1920
+ this.setValuePart("hour", null);
1921
+ break;
1922
+ case "ArrowDown":
1923
+ event.preventDefault();
1924
+ this.decrementHour();
1925
+ break;
1926
+ case "ArrowUp":
1927
+ event.preventDefault();
1928
+ this.incrementHour();
1929
+ break;
1930
+ case " ":
1931
+ event.preventDefault();
1932
+ break;
1933
+ }
1934
+ }
1935
+ };
1936
+ this.hourUpButtonKeyDownHandler = (event) => {
1937
+ if (this.buttonActivated(event)) {
1938
+ this.incrementHour();
1939
+ }
1940
+ };
1941
+ this.incrementMeridiem = () => {
1942
+ const newMeridiem = this.meridiem === "AM" ? "PM" : "AM";
1943
+ this.setValuePart("meridiem", newMeridiem);
1944
+ };
1945
+ this.incrementHour = () => {
1946
+ const newHour = locale$1.isValidNumber(this.hour)
1947
+ ? this.hour === "23"
1948
+ ? 0
1949
+ : parseInt(this.hour) + 1
1950
+ : 1;
1951
+ this.setValuePart("hour", newHour);
1952
+ };
1953
+ this.incrementMinuteOrSecond = (key) => {
1954
+ const newValue = locale$1.isValidNumber(this[key])
1955
+ ? this[key] === "59"
1956
+ ? 0
1957
+ : parseInt(this[key]) + 1
1958
+ : 0;
1959
+ this.setValuePart(key, newValue);
1960
+ };
1961
+ this.incrementMinute = () => {
1962
+ this.incrementMinuteOrSecond("minute");
1963
+ };
1964
+ this.incrementSecond = () => {
1965
+ this.incrementMinuteOrSecond("second");
1966
+ };
1967
+ this.meridiemDownButtonKeyDownHandler = (event) => {
1968
+ if (this.buttonActivated(event)) {
1969
+ this.decrementMeridiem();
1970
+ }
1971
+ };
1972
+ this.meridiemKeyDownHandler = (event) => {
1973
+ switch (event.key) {
1974
+ case "a":
1975
+ this.setValuePart("meridiem", "AM");
1976
+ break;
1977
+ case "p":
1978
+ this.setValuePart("meridiem", "PM");
1979
+ break;
1980
+ case "Backspace":
1981
+ case "Delete":
1982
+ this.setValuePart("meridiem", null);
1983
+ break;
1984
+ case "ArrowUp":
1985
+ event.preventDefault();
1986
+ this.incrementMeridiem();
1987
+ break;
1988
+ case "ArrowDown":
1989
+ event.preventDefault();
1990
+ this.decrementMeridiem();
1991
+ break;
1992
+ case " ":
1993
+ event.preventDefault();
1994
+ break;
1995
+ }
1996
+ };
1997
+ this.meridiemUpButtonKeyDownHandler = (event) => {
1998
+ if (this.buttonActivated(event)) {
1999
+ this.incrementMeridiem();
2000
+ }
2001
+ };
2002
+ this.minuteDownButtonKeyDownHandler = (event) => {
2003
+ if (this.buttonActivated(event)) {
2004
+ this.decrementMinute();
2005
+ }
2006
+ };
2007
+ this.minuteKeyDownHandler = (event) => {
2008
+ const { key: key$1 } = event;
2009
+ if (key.numberKeys.includes(key$1)) {
2010
+ const keyAsNumber = parseInt(key$1);
2011
+ let newMinute;
2012
+ if (locale$1.isValidNumber(this.minute) && this.minute.startsWith("0")) {
2013
+ const minuteAsNumber = parseInt(this.minute);
2014
+ newMinute =
2015
+ minuteAsNumber > maxTenthForMinuteAndSecond
2016
+ ? keyAsNumber
2017
+ : `${minuteAsNumber}${keyAsNumber}`;
2018
+ }
2019
+ else {
2020
+ newMinute = keyAsNumber;
2021
+ }
2022
+ this.setValuePart("minute", newMinute);
2023
+ }
2024
+ else {
2025
+ switch (key$1) {
2026
+ case "Backspace":
2027
+ case "Delete":
2028
+ this.setValuePart("minute", null);
2029
+ break;
2030
+ case "ArrowDown":
2031
+ event.preventDefault();
2032
+ this.decrementMinute();
2033
+ break;
2034
+ case "ArrowUp":
2035
+ event.preventDefault();
2036
+ this.incrementMinute();
2037
+ break;
2038
+ case " ":
2039
+ event.preventDefault();
2040
+ break;
2041
+ }
2042
+ }
2043
+ };
2044
+ this.minuteUpButtonKeyDownHandler = (event) => {
2045
+ if (this.buttonActivated(event)) {
2046
+ this.incrementMinute();
2047
+ }
2048
+ };
2049
+ this.secondDownButtonKeyDownHandler = (event) => {
2050
+ if (this.buttonActivated(event)) {
2051
+ this.decrementSecond();
2052
+ }
2053
+ };
2054
+ this.secondKeyDownHandler = (event) => {
2055
+ const { key: key$1 } = event;
2056
+ if (key.numberKeys.includes(key$1)) {
2057
+ const keyAsNumber = parseInt(key$1);
2058
+ let newSecond;
2059
+ if (locale$1.isValidNumber(this.second) && this.second.startsWith("0")) {
2060
+ const secondAsNumber = parseInt(this.second);
2061
+ newSecond =
2062
+ secondAsNumber > maxTenthForMinuteAndSecond
2063
+ ? keyAsNumber
2064
+ : `${secondAsNumber}${keyAsNumber}`;
2065
+ }
2066
+ else {
2067
+ newSecond = keyAsNumber;
2068
+ }
2069
+ this.setValuePart("second", newSecond);
2070
+ }
2071
+ else {
2072
+ switch (key$1) {
2073
+ case "Backspace":
2074
+ case "Delete":
2075
+ this.setValuePart("second", null);
2076
+ break;
2077
+ case "ArrowDown":
2078
+ event.preventDefault();
2079
+ this.decrementSecond();
2080
+ break;
2081
+ case "ArrowUp":
2082
+ event.preventDefault();
2083
+ this.incrementSecond();
2084
+ break;
2085
+ case " ":
2086
+ event.preventDefault();
2087
+ break;
2088
+ }
2089
+ }
2090
+ };
2091
+ this.secondUpButtonKeyDownHandler = (event) => {
2092
+ if (this.buttonActivated(event)) {
2093
+ this.incrementSecond();
2094
+ }
2095
+ };
2096
+ this.setHourEl = (el) => (this.hourEl = el);
2097
+ this.setMeridiemEl = (el) => (this.meridiemEl = el);
2098
+ this.setMinuteEl = (el) => (this.minuteEl = el);
2099
+ this.setSecondEl = (el) => (this.secondEl = el);
2100
+ this.setValue = (value, emit = true) => {
2101
+ if (isValidTime(value)) {
2102
+ const { hour, minute, second } = parseTimeString(value);
2103
+ const { effectiveLocale: locale, numberingSystem } = this;
2104
+ const { localizedHour, localizedHourSuffix, localizedMinute, localizedMinuteSuffix, localizedSecond, localizedSecondSuffix, localizedMeridiem } = localizeTimeStringToParts({ value, locale, numberingSystem });
2105
+ this.localizedHour = localizedHour;
2106
+ this.localizedHourSuffix = localizedHourSuffix;
2107
+ this.localizedMinute = localizedMinute;
2108
+ this.localizedMinuteSuffix = localizedMinuteSuffix;
2109
+ this.localizedSecond = localizedSecond;
2110
+ this.localizedSecondSuffix = localizedSecondSuffix;
2111
+ this.hour = hour;
2112
+ this.minute = minute;
2113
+ this.second = second;
2114
+ if (localizedMeridiem) {
2115
+ this.localizedMeridiem = localizedMeridiem;
2116
+ this.meridiem = getMeridiem(this.hour);
2117
+ const formatParts = getTimeParts({ value, locale, numberingSystem });
2118
+ this.meridiemOrder = this.getMeridiemOrder(formatParts);
2119
+ }
2120
+ }
2121
+ else {
2122
+ this.hour = null;
2123
+ this.localizedHour = null;
2124
+ this.localizedHourSuffix = null;
2125
+ this.localizedMeridiem = null;
2126
+ this.localizedMinute = null;
2127
+ this.localizedMinuteSuffix = null;
2128
+ this.localizedSecond = null;
2129
+ this.localizedSecondSuffix = null;
2130
+ this.meridiem = null;
2131
+ this.minute = null;
2132
+ this.second = null;
2133
+ this.value = null;
2134
+ }
2135
+ if (emit) {
2136
+ this.calciteInternalTimePickerChange.emit();
2137
+ }
2138
+ };
2139
+ this.setValuePart = (key, value, emit = true) => {
2140
+ const { effectiveLocale: locale, numberingSystem } = this;
2141
+ if (key === "meridiem") {
2142
+ this.meridiem = value;
2143
+ if (locale$1.isValidNumber(this.hour)) {
2144
+ const hourAsNumber = parseInt(this.hour);
2145
+ switch (value) {
2146
+ case "AM":
2147
+ if (hourAsNumber >= 12) {
2148
+ this.hour = formatTimePart(hourAsNumber - 12);
2149
+ }
2150
+ break;
2151
+ case "PM":
2152
+ if (hourAsNumber < 12) {
2153
+ this.hour = formatTimePart(hourAsNumber + 12);
2154
+ }
2155
+ break;
2156
+ }
2157
+ this.localizedHour = localizeTimePart({
2158
+ value: this.hour,
2159
+ part: "hour",
2160
+ locale,
2161
+ numberingSystem
2162
+ });
2163
+ }
2164
+ }
2165
+ else {
2166
+ this[key] = typeof value === "number" ? formatTimePart(value) : value;
2167
+ this[`localized${capitalize(key)}`] = localizeTimePart({
2168
+ value: this[key],
2169
+ part: key,
2170
+ locale,
2171
+ numberingSystem
2172
+ });
2173
+ }
2174
+ if (this.hour && this.minute) {
2175
+ let newValue = `${this.hour}:${this.minute}`;
2176
+ if (this.showSecond) {
2177
+ newValue = `${newValue}:${this.second ?? "00"}`;
2178
+ }
2179
+ this.value = newValue;
2180
+ }
2181
+ else {
2182
+ this.value = null;
2183
+ }
2184
+ this.localizedMeridiem = this.value
2185
+ ? localizeTimeStringToParts({ value: this.value, locale, numberingSystem })
2186
+ ?.localizedMeridiem || null
2187
+ : localizeTimePart({ value: this.meridiem, part: "meridiem", locale, numberingSystem });
2188
+ if (emit) {
2189
+ this.calciteInternalTimePickerChange.emit();
2190
+ }
2191
+ };
2192
+ this.scale = "m";
2193
+ this.step = 60;
2194
+ this.numberingSystem = undefined;
2195
+ this.value = null;
2196
+ this.messages = undefined;
2197
+ this.messageOverrides = undefined;
2198
+ this.effectiveLocale = "";
2199
+ this.hour = undefined;
2200
+ this.hourCycle = undefined;
2201
+ this.localizedHour = undefined;
2202
+ this.localizedHourSuffix = undefined;
2203
+ this.localizedMeridiem = undefined;
2204
+ this.localizedMinute = undefined;
2205
+ this.localizedMinuteSuffix = undefined;
2206
+ this.localizedSecond = undefined;
2207
+ this.localizedSecondSuffix = undefined;
2208
+ this.meridiem = undefined;
2209
+ this.minute = undefined;
2210
+ this.second = undefined;
2211
+ this.showSecond = undefined;
2212
+ this.defaultMessages = undefined;
2213
+ }
2214
+ stepChange() {
2215
+ this.updateShowSecond();
2216
+ }
2217
+ valueWatcher(newValue) {
2218
+ this.setValue(newValue, false);
2219
+ }
2220
+ onMessagesChange() {
2221
+ /* wired up by t9n util */
2222
+ }
2223
+ effectiveLocaleWatcher() {
2224
+ this.updateLocale();
2225
+ }
2226
+ //--------------------------------------------------------------------------
2227
+ //
2228
+ // Event Listeners
2229
+ //
2230
+ //--------------------------------------------------------------------------
2231
+ hostBlurHandler() {
2232
+ this.calciteInternalTimePickerBlur.emit();
2233
+ }
2234
+ hostFocusHandler() {
2235
+ this.calciteInternalTimePickerFocus.emit();
2236
+ }
2237
+ keyDownHandler(event) {
2238
+ const { defaultPrevented, key } = event;
2239
+ if (defaultPrevented) {
2240
+ return;
2241
+ }
2242
+ switch (this.activeEl) {
2243
+ case this.hourEl:
2244
+ if (key === "ArrowRight") {
2245
+ this.focusPart("minute");
2246
+ event.preventDefault();
2247
+ }
2248
+ break;
2249
+ case this.minuteEl:
2250
+ switch (key) {
2251
+ case "ArrowLeft":
2252
+ this.focusPart("hour");
2253
+ event.preventDefault();
2254
+ break;
2255
+ case "ArrowRight":
2256
+ if (this.step !== 60) {
2257
+ this.focusPart("second");
2258
+ event.preventDefault();
2259
+ }
2260
+ else if (this.hourCycle === "12") {
2261
+ this.focusPart("meridiem");
2262
+ event.preventDefault();
2263
+ }
2264
+ break;
2265
+ }
2266
+ break;
2267
+ case this.secondEl:
2268
+ switch (key) {
2269
+ case "ArrowLeft":
2270
+ this.focusPart("minute");
2271
+ event.preventDefault();
2272
+ break;
2273
+ case "ArrowRight":
2274
+ if (this.hourCycle === "12") {
2275
+ this.focusPart("meridiem");
2276
+ event.preventDefault();
2277
+ }
2278
+ break;
2279
+ }
2280
+ break;
2281
+ case this.meridiemEl:
2282
+ switch (key) {
2283
+ case "ArrowLeft":
2284
+ if (this.step !== 60) {
2285
+ this.focusPart("second");
2286
+ event.preventDefault();
2287
+ }
2288
+ else {
2289
+ this.focusPart("minute");
2290
+ event.preventDefault();
2291
+ }
2292
+ break;
2293
+ }
2294
+ break;
2295
+ }
2296
+ }
2297
+ //--------------------------------------------------------------------------
2298
+ //
2299
+ // Public Methods
2300
+ //
2301
+ //--------------------------------------------------------------------------
2302
+ /**
2303
+ * Sets focus on the component's first focusable element.
2304
+ */
2305
+ async setFocus() {
2306
+ await loadable.componentLoaded(this);
2307
+ this.el?.focus();
2308
+ }
2309
+ // --------------------------------------------------------------------------
2310
+ //
2311
+ // Private Methods
2312
+ //
2313
+ // --------------------------------------------------------------------------
2314
+ updateShowSecond() {
2315
+ this.showSecond = this.step < 60;
2316
+ }
2317
+ async focusPart(target) {
2318
+ await loadable.componentLoaded(this);
2319
+ this[`${target || "hour"}El`]?.focus();
2320
+ }
2321
+ buttonActivated(event) {
2322
+ const { key: key$1 } = event;
2323
+ if (key$1 === " ") {
2324
+ event.preventDefault();
2325
+ }
2326
+ return key.isActivationKey(key$1);
2327
+ }
2328
+ getMeridiemOrder(formatParts) {
2329
+ const locale = this.effectiveLocale;
2330
+ const isRTLKind = locale === "ar" || locale === "he";
2331
+ if (formatParts && !isRTLKind) {
2332
+ const index = formatParts.findIndex((parts) => {
2333
+ return parts.value === this.localizedMeridiem;
2334
+ });
2335
+ return index;
2336
+ }
2337
+ return 0;
2338
+ }
2339
+ updateLocale() {
2340
+ t9n.updateMessages(this, this.effectiveLocale);
2341
+ this.hourCycle = getLocaleHourCycle(this.effectiveLocale, this.numberingSystem);
2342
+ this.setValue(this.value, false);
2343
+ }
2344
+ // --------------------------------------------------------------------------
2345
+ //
2346
+ // Lifecycle
2347
+ //
2348
+ // --------------------------------------------------------------------------
2349
+ connectedCallback() {
2350
+ locale$1.connectLocalized(this);
2351
+ this.updateLocale();
2352
+ t9n.connectMessages(this);
2353
+ this.updateShowSecond();
2354
+ this.meridiemOrder = this.getMeridiemOrder(getTimeParts({
2355
+ value: "0:00:00",
2356
+ locale: this.effectiveLocale,
2357
+ numberingSystem: this.numberingSystem
2358
+ }));
2359
+ }
2360
+ async componentWillLoad() {
2361
+ loadable.setUpLoadableComponent(this);
2362
+ await t9n.setUpMessages(this);
2363
+ }
2364
+ componentDidLoad() {
2365
+ loadable.setComponentLoaded(this);
2366
+ }
2367
+ disconnectedCallback() {
2368
+ locale$1.disconnectLocalized(this);
2369
+ t9n.disconnectMessages(this);
2370
+ }
2371
+ // --------------------------------------------------------------------------
2372
+ //
2373
+ // Render Methods
2374
+ //
2375
+ // --------------------------------------------------------------------------
2376
+ render() {
2377
+ const hourIsNumber = locale$1.isValidNumber(this.hour);
2378
+ const iconScale = this.scale === "s" || this.scale === "m" ? "s" : "m";
2379
+ const minuteIsNumber = locale$1.isValidNumber(this.minute);
2380
+ const secondIsNumber = locale$1.isValidNumber(this.second);
2381
+ const showMeridiem = this.hourCycle === "12";
2382
+ return (index.h("div", { class: {
2383
+ [CSS.timePicker]: true,
2384
+ [CSS.showMeridiem]: showMeridiem,
2385
+ [CSS.showSecond]: this.showSecond,
2386
+ [CSS[`scale-${this.scale}`]]: true
2387
+ }, dir: "ltr" }, index.h("div", { class: CSS.column, role: "group" }, index.h("span", { "aria-label": this.messages.hourUp, class: {
2388
+ [CSS.button]: true,
2389
+ [CSS.buttonHourUp]: true,
2390
+ [CSS.buttonTopLeft]: true
2391
+ }, onClick: this.incrementHour, onKeyDown: this.hourUpButtonKeyDownHandler, role: "button" }, index.h("calcite-icon", { icon: "chevron-up", scale: iconScale })), index.h("span", { "aria-label": this.messages.hour, "aria-valuemax": "23", "aria-valuemin": "1", "aria-valuenow": (hourIsNumber && parseInt(this.hour)) || "0", "aria-valuetext": this.hour, class: {
2392
+ [CSS.input]: true,
2393
+ [CSS.hour]: true
2394
+ }, onFocus: this.focusHandler, onKeyDown: this.hourKeyDownHandler, role: "spinbutton", tabIndex: 0,
2395
+ // eslint-disable-next-line react/jsx-sort-props
2396
+ ref: this.setHourEl }, this.localizedHour || "--"), index.h("span", { "aria-label": this.messages.hourDown, class: {
2397
+ [CSS.button]: true,
2398
+ [CSS.buttonHourDown]: true,
2399
+ [CSS.buttonBottomLeft]: true
2400
+ }, onClick: this.decrementHour, onKeyDown: this.hourDownButtonKeyDownHandler, role: "button" }, index.h("calcite-icon", { icon: "chevron-down", scale: iconScale }))), index.h("span", { class: CSS.delimiter }, this.localizedHourSuffix), index.h("div", { class: CSS.column, role: "group" }, index.h("span", { "aria-label": this.messages.minuteUp, class: {
2401
+ [CSS.button]: true,
2402
+ [CSS.buttonMinuteUp]: true
2403
+ }, onClick: this.incrementMinute, onKeyDown: this.minuteUpButtonKeyDownHandler, role: "button", tabIndex: -1 }, index.h("calcite-icon", { icon: "chevron-up", scale: iconScale })), index.h("span", { "aria-label": this.messages.minute, "aria-valuemax": "12", "aria-valuemin": "1", "aria-valuenow": (minuteIsNumber && parseInt(this.minute)) || "0", "aria-valuetext": this.minute, class: {
2404
+ [CSS.input]: true,
2405
+ [CSS.minute]: true
2406
+ }, onFocus: this.focusHandler, onKeyDown: this.minuteKeyDownHandler, role: "spinbutton", tabIndex: 0,
2407
+ // eslint-disable-next-line react/jsx-sort-props
2408
+ ref: this.setMinuteEl }, this.localizedMinute || "--"), index.h("span", { "aria-label": this.messages.minuteDown, class: {
2409
+ [CSS.button]: true,
2410
+ [CSS.buttonMinuteDown]: true
2411
+ }, onClick: this.decrementMinute, onKeyDown: this.minuteDownButtonKeyDownHandler, role: "button" }, index.h("calcite-icon", { icon: "chevron-down", scale: iconScale }))), this.showSecond && index.h("span", { class: CSS.delimiter }, this.localizedMinuteSuffix), this.showSecond && (index.h("div", { class: CSS.column, role: "group" }, index.h("span", { "aria-label": this.messages.secondUp, class: {
2412
+ [CSS.button]: true,
2413
+ [CSS.buttonSecondUp]: true
2414
+ }, onClick: this.incrementSecond, onKeyDown: this.secondUpButtonKeyDownHandler, role: "button" }, index.h("calcite-icon", { icon: "chevron-up", scale: iconScale })), index.h("span", { "aria-label": this.messages.second, "aria-valuemax": "59", "aria-valuemin": "0", "aria-valuenow": (secondIsNumber && parseInt(this.second)) || "0", "aria-valuetext": this.second, class: {
2415
+ [CSS.input]: true,
2416
+ [CSS.second]: true
2417
+ }, onFocus: this.focusHandler, onKeyDown: this.secondKeyDownHandler, role: "spinbutton", tabIndex: 0,
2418
+ // eslint-disable-next-line react/jsx-sort-props
2419
+ ref: this.setSecondEl }, this.localizedSecond || "--"), index.h("span", { "aria-label": this.messages.secondDown, class: {
2420
+ [CSS.button]: true,
2421
+ [CSS.buttonSecondDown]: true
2422
+ }, onClick: this.decrementSecond, onKeyDown: this.secondDownButtonKeyDownHandler, role: "button" }, index.h("calcite-icon", { icon: "chevron-down", scale: iconScale })))), this.localizedSecondSuffix && (index.h("span", { class: CSS.delimiter }, this.localizedSecondSuffix)), showMeridiem && (index.h("div", { class: {
2423
+ [CSS.column]: true,
2424
+ [CSS.meridiemStart]: this.meridiemOrder === 0
2425
+ }, role: "group" }, index.h("span", { "aria-label": this.messages.meridiemUp, class: {
2426
+ [CSS.button]: true,
2427
+ [CSS.buttonMeridiemUp]: true,
2428
+ [CSS.buttonTopRight]: true
2429
+ }, onClick: this.incrementMeridiem, onKeyDown: this.meridiemUpButtonKeyDownHandler, role: "button" }, index.h("calcite-icon", { icon: "chevron-up", scale: iconScale })), index.h("span", { "aria-label": this.messages.meridiem, "aria-valuemax": "2", "aria-valuemin": "1", "aria-valuenow": (this.meridiem === "PM" && "2") || "1", "aria-valuetext": this.meridiem, class: {
2430
+ [CSS.input]: true,
2431
+ [CSS.meridiem]: true
2432
+ }, onFocus: this.focusHandler, onKeyDown: this.meridiemKeyDownHandler, role: "spinbutton", tabIndex: 0,
2433
+ // eslint-disable-next-line react/jsx-sort-props
2434
+ ref: this.setMeridiemEl }, this.localizedMeridiem || "--"), index.h("span", { "aria-label": this.messages.meridiemDown, class: {
2435
+ [CSS.button]: true,
2436
+ [CSS.buttonMeridiemDown]: true,
2437
+ [CSS.buttonBottomRight]: true
2438
+ }, onClick: this.decrementMeridiem, onKeyDown: this.meridiemDownButtonKeyDownHandler, role: "button" }, index.h("calcite-icon", { icon: "chevron-down", scale: iconScale }))))));
2439
+ }
2440
+ static get delegatesFocus() { return true; }
2441
+ static get assetsDirs() { return ["assets"]; }
2442
+ get el() { return index.getElement(this); }
2443
+ static get watchers() { return {
2444
+ "step": ["stepChange"],
2445
+ "value": ["valueWatcher"],
2446
+ "messageOverrides": ["onMessagesChange"],
2447
+ "effectiveLocale": ["effectiveLocaleWatcher"]
2448
+ }; }
2449
+ };
2450
+ TimePicker.style = timePickerCss;
2451
+
2452
+ exports.InputTimePicker = InputTimePicker;
2453
+ exports.TimePicker = TimePicker;
2454
+ exports.dayjs = dayjs;