@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
@@ -1,2420 +1,28 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.1-next.2
4
+ * v1.4.1-next.3
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const index = require('./index-c5472ca6.js');
11
- const form = require('./form-95b7c780.js');
12
- const guid = require('./guid-3776f853.js');
13
- const interactive = require('./interactive-13d268e5.js');
14
- const key = require('./key-71b7da2b.js');
15
- const label = require('./label-321dcad3.js');
16
- const loadable = require('./loadable-5a78a969.js');
17
- const locale$1 = require('./locale-947cff83.js');
18
- const focusTrapComponent = require('./focusTrapComponent-2310132c.js');
19
- const t9n = require('./t9n-de34a47b.js');
20
- require('./dom-177c7358.js');
21
- require('./resources-a900c0e0.js');
22
- require('./observers-40734005.js');
23
-
24
- function _interopNamespace(e) {
25
- if (e && e.__esModule) return e;
26
- var n = Object.create(null);
27
- if (e) {
28
- Object.keys(e).forEach(function (k) {
29
- if (k !== 'default') {
30
- var d = Object.getOwnPropertyDescriptor(e, k);
31
- Object.defineProperty(n, k, d.get ? d : {
32
- enumerable: true,
33
- get: function () {
34
- return e[k];
35
- }
36
- });
37
- }
38
- });
39
- }
40
- n['default'] = e;
41
- return Object.freeze(n);
42
- }
43
-
44
- const maxTenthForMinuteAndSecond = 5;
45
- function createLocaleDateTimeFormatter(locale, numberingSystem, includeSeconds = true) {
46
- const options = {
47
- hour: "2-digit",
48
- minute: "2-digit",
49
- timeZone: "UTC",
50
- numberingSystem: locale$1.getSupportedNumberingSystem(numberingSystem)
51
- };
52
- if (includeSeconds) {
53
- options.second = "2-digit";
54
- }
55
- return locale$1.getDateTimeFormat(locale, options);
56
- }
57
- function formatTimePart(number) {
58
- const numberAsString = number.toString();
59
- return number >= 0 && number <= 9 ? numberAsString.padStart(2, "0") : numberAsString;
60
- }
61
- function formatTimeString(value) {
62
- if (!isValidTime(value)) {
63
- return null;
64
- }
65
- const [hourString, minuteString, secondString] = value.split(":");
66
- const hour = formatTimePart(parseInt(hourString));
67
- const minute = formatTimePart(parseInt(minuteString));
68
- if (secondString) {
69
- const second = formatTimePart(parseInt(secondString));
70
- return `${hour}:${minute}:${second}`;
71
- }
72
- return `${hour}:${minute}`;
73
- }
74
- function getLocaleHourCycle(locale, numberingSystem) {
75
- const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
76
- const parts = formatter.formatToParts(new Date(Date.UTC(0, 0, 0, 0, 0, 0)));
77
- return getLocalizedTimePart("meridiem", parts) ? "12" : "24";
78
- }
79
- function getLocalizedTimePart(part, parts) {
80
- if (!part || !parts) {
81
- return null;
82
- }
83
- if (part === "hourSuffix") {
84
- const hourIndex = parts.indexOf(parts.find(({ type }) => type === "hour"));
85
- const minuteIndex = parts.indexOf(parts.find(({ type }) => type === "minute"));
86
- const hourSuffix = parts[hourIndex + 1];
87
- return hourSuffix && hourSuffix.type === "literal" && minuteIndex - hourIndex === 2
88
- ? hourSuffix.value?.trim() || null
89
- : null;
90
- }
91
- if (part === "minuteSuffix") {
92
- const minuteIndex = parts.indexOf(parts.find(({ type }) => type === "minute"));
93
- const secondIndex = parts.indexOf(parts.find(({ type }) => type === "second"));
94
- const minuteSuffix = parts[minuteIndex + 1];
95
- return minuteSuffix && minuteSuffix.type === "literal" && secondIndex - minuteIndex === 2
96
- ? minuteSuffix.value?.trim() || null
97
- : null;
98
- }
99
- if (part === "secondSuffix") {
100
- const secondIndex = parts.indexOf(parts.find(({ type }) => type === "second"));
101
- const secondSuffix = parts[secondIndex + 1];
102
- return secondSuffix && secondSuffix.type === "literal" ? secondSuffix.value?.trim() || null : null;
103
- }
104
- return parts.find(({ type }) => (part == "meridiem" ? type === "dayPeriod" : type === part))?.value || null;
105
- }
106
- function getMeridiem(hour) {
107
- if (!locale$1.isValidNumber(hour)) {
108
- return null;
109
- }
110
- const hourAsNumber = parseInt(hour);
111
- return hourAsNumber >= 0 && hourAsNumber <= 11 ? "AM" : "PM";
112
- }
113
- function isValidTime(value) {
114
- if (!value || value.startsWith(":") || value.endsWith(":")) {
115
- return false;
116
- }
117
- const splitValue = value.split(":");
118
- const validLength = splitValue.length > 1 && splitValue.length < 4;
119
- if (!validLength) {
120
- return false;
121
- }
122
- const [hour, minute, second] = splitValue;
123
- const hourAsNumber = parseInt(splitValue[0]);
124
- const minuteAsNumber = parseInt(splitValue[1]);
125
- const secondAsNumber = parseInt(splitValue[2]);
126
- const hourValid = locale$1.isValidNumber(hour) && hourAsNumber >= 0 && hourAsNumber < 24;
127
- const minuteValid = locale$1.isValidNumber(minute) && minuteAsNumber >= 0 && minuteAsNumber < 60;
128
- const secondValid = locale$1.isValidNumber(second) && secondAsNumber >= 0 && secondAsNumber < 60;
129
- if ((hourValid && minuteValid && !second) || (hourValid && minuteValid && secondValid)) {
130
- return true;
131
- }
132
- }
133
- function isValidTimePart(value, part) {
134
- if (part === "meridiem") {
135
- return value === "AM" || value === "PM";
136
- }
137
- if (!locale$1.isValidNumber(value)) {
138
- return false;
139
- }
140
- const valueAsNumber = Number(value);
141
- return part === "hour" ? valueAsNumber >= 0 && valueAsNumber < 24 : valueAsNumber >= 0 && valueAsNumber < 60;
142
- }
143
- function localizeTimePart({ value, part, locale, numberingSystem }) {
144
- if (!isValidTimePart(value, part)) {
145
- return;
146
- }
147
- const valueAsNumber = parseInt(value);
148
- 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));
149
- if (!date) {
150
- return;
151
- }
152
- const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
153
- const parts = formatter.formatToParts(date);
154
- return getLocalizedTimePart(part, parts);
155
- }
156
- function localizeTimeString({ value, locale, numberingSystem, includeSeconds = true }) {
157
- if (!isValidTime(value)) {
158
- return null;
159
- }
160
- const { hour, minute, second = "0" } = parseTimeString(value);
161
- const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second)));
162
- const formatter = createLocaleDateTimeFormatter(locale, numberingSystem, includeSeconds);
163
- return formatter?.format(dateFromTimeString) || null;
164
- }
165
- function localizeTimeStringToParts({ value, locale, numberingSystem }) {
166
- if (!isValidTime(value)) {
167
- return null;
168
- }
169
- const { hour, minute, second = "0" } = parseTimeString(value);
170
- const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second)));
171
- if (dateFromTimeString) {
172
- const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
173
- const parts = formatter.formatToParts(dateFromTimeString);
174
- return {
175
- localizedHour: getLocalizedTimePart("hour", parts),
176
- localizedHourSuffix: getLocalizedTimePart("hourSuffix", parts),
177
- localizedMinute: getLocalizedTimePart("minute", parts),
178
- localizedMinuteSuffix: getLocalizedTimePart("minuteSuffix", parts),
179
- localizedSecond: getLocalizedTimePart("second", parts),
180
- localizedSecondSuffix: getLocalizedTimePart("secondSuffix", parts),
181
- localizedMeridiem: getLocalizedTimePart("meridiem", parts)
182
- };
183
- }
184
- return null;
185
- }
186
- function getTimeParts({ value, locale, numberingSystem }) {
187
- if (!isValidTime(value)) {
188
- return null;
189
- }
190
- const { hour, minute, second = "0" } = parseTimeString(value);
191
- const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second)));
192
- if (dateFromTimeString) {
193
- const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
194
- const parts = formatter.formatToParts(dateFromTimeString);
195
- return parts;
196
- }
197
- return null;
198
- }
199
- function parseTimeString(value) {
200
- if (isValidTime(value)) {
201
- const [hour, minute, second] = value.split(":");
202
- return {
203
- hour,
204
- minute,
205
- second
206
- };
207
- }
208
- return {
209
- hour: null,
210
- minute: null,
211
- second: null
212
- };
213
- }
214
- function toISOTimeString(value, includeSeconds = true) {
215
- if (!isValidTime(value)) {
216
- return "";
217
- }
218
- const { hour, minute, second } = parseTimeString(value);
219
- let isoTimeString = `${formatTimePart(parseInt(hour))}:${formatTimePart(parseInt(minute))}`;
220
- if (includeSeconds) {
221
- isoTimeString += `:${formatTimePart(parseInt((includeSeconds && second) || "0"))}`;
222
- }
223
- return isoTimeString;
224
- }
225
-
226
- const CSS$1 = {
227
- toggleIcon: "toggle-icon"
228
- };
229
-
230
- var SECONDS_A_MINUTE = 60;
231
- var SECONDS_A_HOUR = SECONDS_A_MINUTE * 60;
232
- var SECONDS_A_DAY = SECONDS_A_HOUR * 24;
233
- var SECONDS_A_WEEK = SECONDS_A_DAY * 7;
234
- var MILLISECONDS_A_SECOND = 1e3;
235
- var MILLISECONDS_A_MINUTE = SECONDS_A_MINUTE * MILLISECONDS_A_SECOND;
236
- var MILLISECONDS_A_HOUR = SECONDS_A_HOUR * MILLISECONDS_A_SECOND;
237
- var MILLISECONDS_A_DAY = SECONDS_A_DAY * MILLISECONDS_A_SECOND;
238
- var MILLISECONDS_A_WEEK = SECONDS_A_WEEK * MILLISECONDS_A_SECOND; // English locales
239
-
240
- var MS = 'millisecond';
241
- var S = 'second';
242
- var MIN = 'minute';
243
- var H = 'hour';
244
- var D = 'day';
245
- var W = 'week';
246
- var M = 'month';
247
- var Q = 'quarter';
248
- var Y = 'year';
249
- var DATE = 'date';
250
- var FORMAT_DEFAULT = 'YYYY-MM-DDTHH:mm:ssZ';
251
- var INVALID_DATE_STRING = 'Invalid Date'; // regex
252
-
253
- var REGEX_PARSE = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/;
254
- 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;
255
-
256
- // English [en]
257
- // We don't need weekdaysShort, weekdaysMin, monthsShort in en.js locale
258
- const en = {
259
- name: 'en',
260
- weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
261
- months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
262
- ordinal: function ordinal(n) {
263
- var s = ['th', 'st', 'nd', 'rd'];
264
- var v = n % 100;
265
- return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]";
266
- }
267
- };
268
-
269
- var padStart = function padStart(string, length, pad) {
270
- var s = String(string);
271
- if (!s || s.length >= length) return string;
272
- return "" + Array(length + 1 - s.length).join(pad) + string;
273
- };
274
-
275
- var padZoneStr = function padZoneStr(instance) {
276
- var negMinutes = -instance.utcOffset();
277
- var minutes = Math.abs(negMinutes);
278
- var hourOffset = Math.floor(minutes / 60);
279
- var minuteOffset = minutes % 60;
280
- return "" + (negMinutes <= 0 ? '+' : '-') + padStart(hourOffset, 2, '0') + ":" + padStart(minuteOffset, 2, '0');
281
- };
282
-
283
- var monthDiff = function monthDiff(a, b) {
284
- // function from moment.js in order to keep the same result
285
- if (a.date() < b.date()) return -monthDiff(b, a);
286
- var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month());
287
- var anchor = a.clone().add(wholeMonthDiff, M);
288
- var c = b - anchor < 0;
289
- var anchor2 = a.clone().add(wholeMonthDiff + (c ? -1 : 1), M);
290
- return +(-(wholeMonthDiff + (b - anchor) / (c ? anchor - anchor2 : anchor2 - anchor)) || 0);
291
- };
292
-
293
- var absFloor = function absFloor(n) {
294
- return n < 0 ? Math.ceil(n) || 0 : Math.floor(n);
295
- };
296
-
297
- var prettyUnit = function prettyUnit(u) {
298
- var special = {
299
- M: M,
300
- y: Y,
301
- w: W,
302
- d: D,
303
- D: DATE,
304
- h: H,
305
- m: MIN,
306
- s: S,
307
- ms: MS,
308
- Q: Q
309
- };
310
- return special[u] || String(u || '').toLowerCase().replace(/s$/, '');
311
- };
312
-
313
- var isUndefined = function isUndefined(s) {
314
- return s === undefined;
315
- };
316
-
317
- const U = {
318
- s: padStart,
319
- z: padZoneStr,
320
- m: monthDiff,
321
- a: absFloor,
322
- p: prettyUnit,
323
- u: isUndefined
324
- };
325
-
326
- var L = 'en'; // global locale
327
-
328
- var Ls = {}; // global loaded locale
329
-
330
- Ls[L] = en;
331
-
332
- var isDayjs = function isDayjs(d) {
333
- return d instanceof Dayjs;
334
- }; // eslint-disable-line no-use-before-define
335
-
336
-
337
- var parseLocale = function parseLocale(preset, object, isLocal) {
338
- var l;
339
- if (!preset) return L;
340
-
341
- if (typeof preset === 'string') {
342
- var presetLower = preset.toLowerCase();
343
-
344
- if (Ls[presetLower]) {
345
- l = presetLower;
346
- }
347
-
348
- if (object) {
349
- Ls[presetLower] = object;
350
- l = presetLower;
351
- }
352
-
353
- var presetSplit = preset.split('-');
354
-
355
- if (!l && presetSplit.length > 1) {
356
- return parseLocale(presetSplit[0]);
357
- }
358
- } else {
359
- var name = preset.name;
360
- Ls[name] = preset;
361
- l = name;
362
- }
363
-
364
- if (!isLocal && l) L = l;
365
- return l || !isLocal && L;
366
- };
367
-
368
- var dayjs = function dayjs(date, c) {
369
- if (isDayjs(date)) {
370
- return date.clone();
371
- } // eslint-disable-next-line no-nested-ternary
372
-
373
-
374
- var cfg = typeof c === 'object' ? c : {};
375
- cfg.date = date;
376
- cfg.args = arguments; // eslint-disable-line prefer-rest-params
377
-
378
- return new Dayjs(cfg); // eslint-disable-line no-use-before-define
379
- };
380
-
381
- var wrapper = function wrapper(date, instance) {
382
- return dayjs(date, {
383
- locale: instance.$L,
384
- utc: instance.$u,
385
- x: instance.$x,
386
- $offset: instance.$offset // todo: refactor; do not use this.$offset in you code
387
-
388
- });
389
- };
390
-
391
- var Utils = U; // for plugin use
392
-
393
- Utils.l = parseLocale;
394
- Utils.i = isDayjs;
395
- Utils.w = wrapper;
396
-
397
- var parseDate = function parseDate(cfg) {
398
- var date = cfg.date,
399
- utc = cfg.utc;
400
- if (date === null) return new Date(NaN); // null is invalid
401
-
402
- if (Utils.u(date)) return new Date(); // today
403
-
404
- if (date instanceof Date) return new Date(date);
405
-
406
- if (typeof date === 'string' && !/Z$/i.test(date)) {
407
- var d = date.match(REGEX_PARSE);
408
-
409
- if (d) {
410
- var m = d[2] - 1 || 0;
411
- var ms = (d[7] || '0').substring(0, 3);
412
-
413
- if (utc) {
414
- return new Date(Date.UTC(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms));
415
- }
416
-
417
- return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);
418
- }
419
- }
420
-
421
- return new Date(date); // everything else
422
- };
423
-
424
- var Dayjs = /*#__PURE__*/function () {
425
- function Dayjs(cfg) {
426
- this.$L = parseLocale(cfg.locale, null, true);
427
- this.parse(cfg); // for plugin
428
- }
429
-
430
- var _proto = Dayjs.prototype;
431
-
432
- _proto.parse = function parse(cfg) {
433
- this.$d = parseDate(cfg);
434
- this.$x = cfg.x || {};
435
- this.init();
436
- };
437
-
438
- _proto.init = function init() {
439
- var $d = this.$d;
440
- this.$y = $d.getFullYear();
441
- this.$M = $d.getMonth();
442
- this.$D = $d.getDate();
443
- this.$W = $d.getDay();
444
- this.$H = $d.getHours();
445
- this.$m = $d.getMinutes();
446
- this.$s = $d.getSeconds();
447
- this.$ms = $d.getMilliseconds();
448
- } // eslint-disable-next-line class-methods-use-this
449
- ;
450
-
451
- _proto.$utils = function $utils() {
452
- return Utils;
453
- };
454
-
455
- _proto.isValid = function isValid() {
456
- return !(this.$d.toString() === INVALID_DATE_STRING);
457
- };
458
-
459
- _proto.isSame = function isSame(that, units) {
460
- var other = dayjs(that);
461
- return this.startOf(units) <= other && other <= this.endOf(units);
462
- };
463
-
464
- _proto.isAfter = function isAfter(that, units) {
465
- return dayjs(that) < this.startOf(units);
466
- };
467
-
468
- _proto.isBefore = function isBefore(that, units) {
469
- return this.endOf(units) < dayjs(that);
470
- };
471
-
472
- _proto.$g = function $g(input, get, set) {
473
- if (Utils.u(input)) return this[get];
474
- return this.set(set, input);
475
- };
476
-
477
- _proto.unix = function unix() {
478
- return Math.floor(this.valueOf() / 1000);
479
- };
480
-
481
- _proto.valueOf = function valueOf() {
482
- // timezone(hour) * 60 * 60 * 1000 => ms
483
- return this.$d.getTime();
484
- };
485
-
486
- _proto.startOf = function startOf(units, _startOf) {
487
- var _this = this;
488
-
489
- // startOf -> endOf
490
- var isStartOf = !Utils.u(_startOf) ? _startOf : true;
491
- var unit = Utils.p(units);
492
-
493
- var instanceFactory = function instanceFactory(d, m) {
494
- var ins = Utils.w(_this.$u ? Date.UTC(_this.$y, m, d) : new Date(_this.$y, m, d), _this);
495
- return isStartOf ? ins : ins.endOf(D);
496
- };
497
-
498
- var instanceFactorySet = function instanceFactorySet(method, slice) {
499
- var argumentStart = [0, 0, 0, 0];
500
- var argumentEnd = [23, 59, 59, 999];
501
- return Utils.w(_this.toDate()[method].apply( // eslint-disable-line prefer-spread
502
- _this.toDate('s'), (isStartOf ? argumentStart : argumentEnd).slice(slice)), _this);
503
- };
504
-
505
- var $W = this.$W,
506
- $M = this.$M,
507
- $D = this.$D;
508
- var utcPad = "set" + (this.$u ? 'UTC' : '');
509
-
510
- switch (unit) {
511
- case Y:
512
- return isStartOf ? instanceFactory(1, 0) : instanceFactory(31, 11);
513
-
514
- case M:
515
- return isStartOf ? instanceFactory(1, $M) : instanceFactory(0, $M + 1);
516
-
517
- case W:
518
- {
519
- var weekStart = this.$locale().weekStart || 0;
520
- var gap = ($W < weekStart ? $W + 7 : $W) - weekStart;
521
- return instanceFactory(isStartOf ? $D - gap : $D + (6 - gap), $M);
522
- }
523
-
524
- case D:
525
- case DATE:
526
- return instanceFactorySet(utcPad + "Hours", 0);
527
-
528
- case H:
529
- return instanceFactorySet(utcPad + "Minutes", 1);
530
-
531
- case MIN:
532
- return instanceFactorySet(utcPad + "Seconds", 2);
533
-
534
- case S:
535
- return instanceFactorySet(utcPad + "Milliseconds", 3);
536
-
537
- default:
538
- return this.clone();
539
- }
540
- };
541
-
542
- _proto.endOf = function endOf(arg) {
543
- return this.startOf(arg, false);
544
- };
545
-
546
- _proto.$set = function $set(units, _int) {
547
- var _C$D$C$DATE$C$M$C$Y$C;
548
-
549
- // private set
550
- var unit = Utils.p(units);
551
- var utcPad = "set" + (this.$u ? 'UTC' : '');
552
- 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];
553
- var arg = unit === D ? this.$D + (_int - this.$W) : _int;
554
-
555
- if (unit === M || unit === Y) {
556
- // clone is for badMutable plugin
557
- var date = this.clone().set(DATE, 1);
558
- date.$d[name](arg);
559
- date.init();
560
- this.$d = date.set(DATE, Math.min(this.$D, date.daysInMonth())).$d;
561
- } else if (name) this.$d[name](arg);
562
-
563
- this.init();
564
- return this;
565
- };
566
-
567
- _proto.set = function set(string, _int2) {
568
- return this.clone().$set(string, _int2);
569
- };
570
-
571
- _proto.get = function get(unit) {
572
- return this[Utils.p(unit)]();
573
- };
574
-
575
- _proto.add = function add(number, units) {
576
- var _this2 = this,
577
- _C$MIN$C$H$C$S$unit;
578
-
579
- number = Number(number); // eslint-disable-line no-param-reassign
580
-
581
- var unit = Utils.p(units);
582
-
583
- var instanceFactorySet = function instanceFactorySet(n) {
584
- var d = dayjs(_this2);
585
- return Utils.w(d.date(d.date() + Math.round(n * number)), _this2);
586
- };
587
-
588
- if (unit === M) {
589
- return this.set(M, this.$M + number);
590
- }
591
-
592
- if (unit === Y) {
593
- return this.set(Y, this.$y + number);
594
- }
595
-
596
- if (unit === D) {
597
- return instanceFactorySet(1);
598
- }
599
-
600
- if (unit === W) {
601
- return instanceFactorySet(7);
602
- }
603
-
604
- 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
605
-
606
- var nextTimeStamp = this.$d.getTime() + number * step;
607
- return Utils.w(nextTimeStamp, this);
608
- };
609
-
610
- _proto.subtract = function subtract(number, string) {
611
- return this.add(number * -1, string);
612
- };
613
-
614
- _proto.format = function format(formatStr) {
615
- var _this3 = this;
616
-
617
- var locale = this.$locale();
618
- if (!this.isValid()) return locale.invalidDate || INVALID_DATE_STRING;
619
- var str = formatStr || FORMAT_DEFAULT;
620
- var zoneStr = Utils.z(this);
621
- var $H = this.$H,
622
- $m = this.$m,
623
- $M = this.$M;
624
- var weekdays = locale.weekdays,
625
- months = locale.months,
626
- meridiem = locale.meridiem;
627
-
628
- var getShort = function getShort(arr, index, full, length) {
629
- return arr && (arr[index] || arr(_this3, str)) || full[index].slice(0, length);
630
- };
631
-
632
- var get$H = function get$H(num) {
633
- return Utils.s($H % 12 || 12, num, '0');
634
- };
635
-
636
- var meridiemFunc = meridiem || function (hour, minute, isLowercase) {
637
- var m = hour < 12 ? 'AM' : 'PM';
638
- return isLowercase ? m.toLowerCase() : m;
639
- };
640
-
641
- var matches = {
642
- YY: String(this.$y).slice(-2),
643
- YYYY: this.$y,
644
- M: $M + 1,
645
- MM: Utils.s($M + 1, 2, '0'),
646
- MMM: getShort(locale.monthsShort, $M, months, 3),
647
- MMMM: getShort(months, $M),
648
- D: this.$D,
649
- DD: Utils.s(this.$D, 2, '0'),
650
- d: String(this.$W),
651
- dd: getShort(locale.weekdaysMin, this.$W, weekdays, 2),
652
- ddd: getShort(locale.weekdaysShort, this.$W, weekdays, 3),
653
- dddd: weekdays[this.$W],
654
- H: String($H),
655
- HH: Utils.s($H, 2, '0'),
656
- h: get$H(1),
657
- hh: get$H(2),
658
- a: meridiemFunc($H, $m, true),
659
- A: meridiemFunc($H, $m, false),
660
- m: String($m),
661
- mm: Utils.s($m, 2, '0'),
662
- s: String(this.$s),
663
- ss: Utils.s(this.$s, 2, '0'),
664
- SSS: Utils.s(this.$ms, 3, '0'),
665
- Z: zoneStr // 'ZZ' logic below
666
-
667
- };
668
- return str.replace(REGEX_FORMAT, function (match, $1) {
669
- return $1 || matches[match] || zoneStr.replace(':', '');
670
- }); // 'ZZ'
671
- };
672
-
673
- _proto.utcOffset = function utcOffset() {
674
- // Because a bug at FF24, we're rounding the timezone offset around 15 minutes
675
- // https://github.com/moment/moment/pull/1871
676
- return -Math.round(this.$d.getTimezoneOffset() / 15) * 15;
677
- };
678
-
679
- _proto.diff = function diff(input, units, _float) {
680
- var _C$Y$C$M$C$Q$C$W$C$D$;
681
-
682
- var unit = Utils.p(units);
683
- var that = dayjs(input);
684
- var zoneDelta = (that.utcOffset() - this.utcOffset()) * MILLISECONDS_A_MINUTE;
685
- var diff = this - that;
686
- var result = Utils.m(this, that);
687
- 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
688
-
689
- return _float ? result : Utils.a(result);
690
- };
691
-
692
- _proto.daysInMonth = function daysInMonth() {
693
- return this.endOf(M).$D;
694
- };
695
-
696
- _proto.$locale = function $locale() {
697
- // get locale object
698
- return Ls[this.$L];
699
- };
700
-
701
- _proto.locale = function locale(preset, object) {
702
- if (!preset) return this.$L;
703
- var that = this.clone();
704
- var nextLocaleName = parseLocale(preset, object, true);
705
- if (nextLocaleName) that.$L = nextLocaleName;
706
- return that;
707
- };
708
-
709
- _proto.clone = function clone() {
710
- return Utils.w(this.$d, this);
711
- };
712
-
713
- _proto.toDate = function toDate() {
714
- return new Date(this.valueOf());
715
- };
716
-
717
- _proto.toJSON = function toJSON() {
718
- return this.isValid() ? this.toISOString() : null;
719
- };
720
-
721
- _proto.toISOString = function toISOString() {
722
- // ie 8 return
723
- // new Dayjs(this.valueOf() + this.$d.getTimezoneOffset() * 60000)
724
- // .format('YYYY-MM-DDTHH:mm:ss.SSS[Z]')
725
- return this.$d.toISOString();
726
- };
727
-
728
- _proto.toString = function toString() {
729
- return this.$d.toUTCString();
730
- };
731
-
732
- return Dayjs;
733
- }();
734
-
735
- var proto = Dayjs.prototype;
736
- dayjs.prototype = proto;
737
- [['$ms', MS], ['$s', S], ['$m', MIN], ['$H', H], ['$W', D], ['$M', M], ['$y', Y], ['$D', DATE]].forEach(function (g) {
738
- proto[g[1]] = function (input) {
739
- return this.$g(input, g[0], g[1]);
740
- };
741
- });
742
-
743
- dayjs.extend = function (plugin, option) {
744
- if (!plugin.$i) {
745
- // install plugin only once
746
- plugin(option, Dayjs, dayjs);
747
- plugin.$i = true;
748
- }
749
-
750
- return dayjs;
751
- };
752
-
753
- dayjs.locale = parseLocale;
754
- dayjs.isDayjs = isDayjs;
755
-
756
- dayjs.unix = function (timestamp) {
757
- return dayjs(timestamp * 1e3);
758
- };
759
-
760
- dayjs.en = Ls[L];
761
- dayjs.Ls = Ls;
762
- dayjs.p = {};
763
-
764
- // eslint-disable-next-line import/prefer-default-export
765
- var t = function t(format) {
766
- return format.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function (_, a, b) {
767
- return a || b.slice(1);
768
- });
769
- };
770
- var englishFormats = {
771
- LTS: 'h:mm:ss A',
772
- LT: 'h:mm A',
773
- L: 'MM/DD/YYYY',
774
- LL: 'MMMM D, YYYY',
775
- LLL: 'MMMM D, YYYY h:mm A',
776
- LLLL: 'dddd, MMMM D, YYYY h:mm A'
777
- };
778
- var u = function u(formatStr, formats) {
779
- return formatStr.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function (_, a, b) {
780
- var B = b && b.toUpperCase();
781
- return a || formats[b] || englishFormats[b] || t(formats[B]);
782
- });
783
- };
784
-
785
- var formattingTokens = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g;
786
- var match1 = /\d/; // 0 - 9
787
-
788
- var match2 = /\d\d/; // 00 - 99
789
-
790
- var match3 = /\d{3}/; // 000 - 999
791
-
792
- var match4 = /\d{4}/; // 0000 - 9999
793
-
794
- var match1to2 = /\d\d?/; // 0 - 99
795
-
796
- var matchSigned = /[+-]?\d+/; // -inf - inf
797
-
798
- var matchOffset = /[+-]\d\d:?(\d\d)?|Z/; // +00:00 -00:00 +0000 or -0000 +00 or Z
799
-
800
- var matchWord = /\d*[^-_:/,()\s\d]+/; // Word
801
-
802
- var locale = {};
803
-
804
- var parseTwoDigitYear = function parseTwoDigitYear(input) {
805
- input = +input;
806
- return input + (input > 68 ? 1900 : 2000);
807
- };
808
-
809
- function offsetFromString(string) {
810
- if (!string) return 0;
811
- if (string === 'Z') return 0;
812
- var parts = string.match(/([+-]|\d\d)/g);
813
- var minutes = +(parts[1] * 60) + (+parts[2] || 0);
814
- return minutes === 0 ? 0 : parts[0] === '+' ? -minutes : minutes; // eslint-disable-line no-nested-ternary
815
- }
816
-
817
- var addInput = function addInput(property) {
818
- return function (input) {
819
- this[property] = +input;
820
- };
821
- };
822
-
823
- var zoneExpressions = [matchOffset, function (input) {
824
- var zone = this.zone || (this.zone = {});
825
- zone.offset = offsetFromString(input);
826
- }];
827
-
828
- var getLocalePart = function getLocalePart(name) {
829
- var part = locale[name];
830
- return part && (part.indexOf ? part : part.s.concat(part.f));
831
- };
832
-
833
- var meridiemMatch = function meridiemMatch(input, isLowerCase) {
834
- var isAfternoon;
835
- var _locale = locale,
836
- meridiem = _locale.meridiem;
837
-
838
- if (!meridiem) {
839
- isAfternoon = input === (isLowerCase ? 'pm' : 'PM');
840
- } else {
841
- for (var i = 1; i <= 24; i += 1) {
842
- // todo: fix input === meridiem(i, 0, isLowerCase)
843
- if (input.indexOf(meridiem(i, 0, isLowerCase)) > -1) {
844
- isAfternoon = i > 12;
845
- break;
846
- }
847
- }
848
- }
849
-
850
- return isAfternoon;
851
- };
852
-
853
- var expressions = {
854
- A: [matchWord, function (input) {
855
- this.afternoon = meridiemMatch(input, false);
856
- }],
857
- a: [matchWord, function (input) {
858
- this.afternoon = meridiemMatch(input, true);
859
- }],
860
- S: [match1, function (input) {
861
- this.milliseconds = +input * 100;
862
- }],
863
- SS: [match2, function (input) {
864
- this.milliseconds = +input * 10;
865
- }],
866
- SSS: [match3, function (input) {
867
- this.milliseconds = +input;
868
- }],
869
- s: [match1to2, addInput('seconds')],
870
- ss: [match1to2, addInput('seconds')],
871
- m: [match1to2, addInput('minutes')],
872
- mm: [match1to2, addInput('minutes')],
873
- H: [match1to2, addInput('hours')],
874
- h: [match1to2, addInput('hours')],
875
- HH: [match1to2, addInput('hours')],
876
- hh: [match1to2, addInput('hours')],
877
- D: [match1to2, addInput('day')],
878
- DD: [match2, addInput('day')],
879
- Do: [matchWord, function (input) {
880
- var _locale2 = locale,
881
- ordinal = _locale2.ordinal;
882
-
883
- var _input$match = input.match(/\d+/);
884
-
885
- this.day = _input$match[0];
886
- if (!ordinal) return;
887
-
888
- for (var i = 1; i <= 31; i += 1) {
889
- if (ordinal(i).replace(/\[|\]/g, '') === input) {
890
- this.day = i;
891
- }
892
- }
893
- }],
894
- M: [match1to2, addInput('month')],
895
- MM: [match2, addInput('month')],
896
- MMM: [matchWord, function (input) {
897
- var months = getLocalePart('months');
898
- var monthsShort = getLocalePart('monthsShort');
899
- var matchIndex = (monthsShort || months.map(function (_) {
900
- return _.slice(0, 3);
901
- })).indexOf(input) + 1;
902
-
903
- if (matchIndex < 1) {
904
- throw new Error();
905
- }
906
-
907
- this.month = matchIndex % 12 || matchIndex;
908
- }],
909
- MMMM: [matchWord, function (input) {
910
- var months = getLocalePart('months');
911
- var matchIndex = months.indexOf(input) + 1;
912
-
913
- if (matchIndex < 1) {
914
- throw new Error();
915
- }
916
-
917
- this.month = matchIndex % 12 || matchIndex;
918
- }],
919
- Y: [matchSigned, addInput('year')],
920
- YY: [match2, function (input) {
921
- this.year = parseTwoDigitYear(input);
922
- }],
923
- YYYY: [match4, addInput('year')],
924
- Z: zoneExpressions,
925
- ZZ: zoneExpressions
926
- };
927
-
928
- function correctHours(time) {
929
- var afternoon = time.afternoon;
930
-
931
- if (afternoon !== undefined) {
932
- var hours = time.hours;
933
-
934
- if (afternoon) {
935
- if (hours < 12) {
936
- time.hours += 12;
937
- }
938
- } else if (hours === 12) {
939
- time.hours = 0;
940
- }
941
-
942
- delete time.afternoon;
943
- }
944
- }
945
-
946
- function makeParser(format) {
947
- format = u(format, locale && locale.formats);
948
- var array = format.match(formattingTokens);
949
- var length = array.length;
950
-
951
- for (var i = 0; i < length; i += 1) {
952
- var token = array[i];
953
- var parseTo = expressions[token];
954
- var regex = parseTo && parseTo[0];
955
- var parser = parseTo && parseTo[1];
956
-
957
- if (parser) {
958
- array[i] = {
959
- regex: regex,
960
- parser: parser
961
- };
962
- } else {
963
- array[i] = token.replace(/^\[|\]$/g, '');
964
- }
965
- }
966
-
967
- return function (input) {
968
- var time = {};
969
-
970
- for (var _i = 0, start = 0; _i < length; _i += 1) {
971
- var _token = array[_i];
972
-
973
- if (typeof _token === 'string') {
974
- start += _token.length;
975
- } else {
976
- var _regex = _token.regex,
977
- _parser = _token.parser;
978
- var part = input.slice(start);
979
-
980
- var match = _regex.exec(part);
981
-
982
- var value = match[0];
983
-
984
- _parser.call(time, value);
985
-
986
- input = input.replace(value, '');
987
- }
988
- }
989
-
990
- correctHours(time);
991
- return time;
992
- };
993
- }
994
-
995
- var parseFormattedInput = function parseFormattedInput(input, format, utc) {
996
- try {
997
- if (['x', 'X'].indexOf(format) > -1) return new Date((format === 'X' ? 1000 : 1) * input);
998
- var parser = makeParser(format);
999
-
1000
- var _parser2 = parser(input),
1001
- year = _parser2.year,
1002
- month = _parser2.month,
1003
- day = _parser2.day,
1004
- hours = _parser2.hours,
1005
- minutes = _parser2.minutes,
1006
- seconds = _parser2.seconds,
1007
- milliseconds = _parser2.milliseconds,
1008
- zone = _parser2.zone;
1009
-
1010
- var now = new Date();
1011
- var d = day || (!year && !month ? now.getDate() : 1);
1012
- var y = year || now.getFullYear();
1013
- var M = 0;
1014
-
1015
- if (!(year && !month)) {
1016
- M = month > 0 ? month - 1 : now.getMonth();
1017
- }
1018
-
1019
- var h = hours || 0;
1020
- var m = minutes || 0;
1021
- var s = seconds || 0;
1022
- var ms = milliseconds || 0;
1023
-
1024
- if (zone) {
1025
- return new Date(Date.UTC(y, M, d, h, m, s, ms + zone.offset * 60 * 1000));
1026
- }
1027
-
1028
- if (utc) {
1029
- return new Date(Date.UTC(y, M, d, h, m, s, ms));
1030
- }
1031
-
1032
- return new Date(y, M, d, h, m, s, ms);
1033
- } catch (e) {
1034
- return new Date(''); // Invalid Date
1035
- }
1036
- };
1037
-
1038
- const customParseFormat = (function (o, C, d) {
1039
- d.p.customParseFormat = true;
1040
-
1041
- if (o && o.parseTwoDigitYear) {
1042
- parseTwoDigitYear = o.parseTwoDigitYear;
1043
- }
1044
-
1045
- var proto = C.prototype;
1046
- var oldParse = proto.parse;
1047
-
1048
- proto.parse = function (cfg) {
1049
- var date = cfg.date,
1050
- utc = cfg.utc,
1051
- args = cfg.args;
1052
- this.$u = utc;
1053
- var format = args[1];
1054
-
1055
- if (typeof format === 'string') {
1056
- var isStrictWithoutLocale = args[2] === true;
1057
- var isStrictWithLocale = args[3] === true;
1058
- var isStrict = isStrictWithoutLocale || isStrictWithLocale;
1059
- var pl = args[2];
1060
-
1061
- if (isStrictWithLocale) {
1062
- pl = args[2];
1063
- }
1064
-
1065
- locale = this.$locale();
1066
-
1067
- if (!isStrictWithoutLocale && pl) {
1068
- locale = d.Ls[pl];
1069
- }
1070
-
1071
- this.$d = parseFormattedInput(date, format, utc);
1072
- this.init();
1073
- if (pl && pl !== true) this.$L = this.locale(pl).$L; // use != to treat
1074
- // input number 1410715640579 and format string '1410715640579' equal
1075
- // eslint-disable-next-line eqeqeq
1076
-
1077
- if (isStrict && date != this.format(format)) {
1078
- this.$d = new Date('');
1079
- } // reset global locale to make parallel unit test
1080
-
1081
-
1082
- locale = {};
1083
- } else if (format instanceof Array) {
1084
- var len = format.length;
1085
-
1086
- for (var i = 1; i <= len; i += 1) {
1087
- args[1] = format[i - 1];
1088
- var result = d.apply(this, args);
1089
-
1090
- if (result.isValid()) {
1091
- this.$d = result.$d;
1092
- this.$L = result.$L;
1093
- this.init();
1094
- break;
1095
- }
1096
-
1097
- if (i === len) this.$d = new Date('');
1098
- }
1099
- } else {
1100
- oldParse.call(this, cfg);
1101
- }
1102
- };
1103
- });
1104
-
1105
- const localeData = (function (o, c, dayjs) {
1106
- // locale needed later
1107
- var proto = c.prototype;
1108
-
1109
- var getLocalePart = function getLocalePart(part) {
1110
- return part && (part.indexOf ? part : part.s);
1111
- };
1112
-
1113
- var getShort = function getShort(ins, target, full, num, localeOrder) {
1114
- var locale = ins.name ? ins : ins.$locale();
1115
- var targetLocale = getLocalePart(locale[target]);
1116
- var fullLocale = getLocalePart(locale[full]);
1117
- var result = targetLocale || fullLocale.map(function (f) {
1118
- return f.slice(0, num);
1119
- });
1120
- if (!localeOrder) return result;
1121
- var weekStart = locale.weekStart;
1122
- return result.map(function (_, index) {
1123
- return result[(index + (weekStart || 0)) % 7];
1124
- });
1125
- };
1126
-
1127
- var getDayjsLocaleObject = function getDayjsLocaleObject() {
1128
- return dayjs.Ls[dayjs.locale()];
1129
- };
1130
-
1131
- var getLongDateFormat = function getLongDateFormat(l, format) {
1132
- return l.formats[format] || t(l.formats[format.toUpperCase()]);
1133
- };
1134
-
1135
- var localeData = function localeData() {
1136
- var _this = this;
1137
-
1138
- return {
1139
- months: function months(instance) {
1140
- return instance ? instance.format('MMMM') : getShort(_this, 'months');
1141
- },
1142
- monthsShort: function monthsShort(instance) {
1143
- return instance ? instance.format('MMM') : getShort(_this, 'monthsShort', 'months', 3);
1144
- },
1145
- firstDayOfWeek: function firstDayOfWeek() {
1146
- return _this.$locale().weekStart || 0;
1147
- },
1148
- weekdays: function weekdays(instance) {
1149
- return instance ? instance.format('dddd') : getShort(_this, 'weekdays');
1150
- },
1151
- weekdaysMin: function weekdaysMin(instance) {
1152
- return instance ? instance.format('dd') : getShort(_this, 'weekdaysMin', 'weekdays', 2);
1153
- },
1154
- weekdaysShort: function weekdaysShort(instance) {
1155
- return instance ? instance.format('ddd') : getShort(_this, 'weekdaysShort', 'weekdays', 3);
1156
- },
1157
- longDateFormat: function longDateFormat(format) {
1158
- return getLongDateFormat(_this.$locale(), format);
1159
- },
1160
- meridiem: this.$locale().meridiem,
1161
- ordinal: this.$locale().ordinal
1162
- };
1163
- };
1164
-
1165
- proto.localeData = function () {
1166
- return localeData.bind(this)();
1167
- };
1168
-
1169
- dayjs.localeData = function () {
1170
- var localeObject = getDayjsLocaleObject();
1171
- return {
1172
- firstDayOfWeek: function firstDayOfWeek() {
1173
- return localeObject.weekStart || 0;
1174
- },
1175
- weekdays: function weekdays() {
1176
- return dayjs.weekdays();
1177
- },
1178
- weekdaysShort: function weekdaysShort() {
1179
- return dayjs.weekdaysShort();
1180
- },
1181
- weekdaysMin: function weekdaysMin() {
1182
- return dayjs.weekdaysMin();
1183
- },
1184
- months: function months() {
1185
- return dayjs.months();
1186
- },
1187
- monthsShort: function monthsShort() {
1188
- return dayjs.monthsShort();
1189
- },
1190
- longDateFormat: function longDateFormat(format) {
1191
- return getLongDateFormat(localeObject, format);
1192
- },
1193
- meridiem: localeObject.meridiem,
1194
- ordinal: localeObject.ordinal
1195
- };
1196
- };
1197
-
1198
- dayjs.months = function () {
1199
- return getShort(getDayjsLocaleObject(), 'months');
1200
- };
1201
-
1202
- dayjs.monthsShort = function () {
1203
- return getShort(getDayjsLocaleObject(), 'monthsShort', 'months', 3);
1204
- };
1205
-
1206
- dayjs.weekdays = function (localeOrder) {
1207
- return getShort(getDayjsLocaleObject(), 'weekdays', null, null, localeOrder);
1208
- };
1209
-
1210
- dayjs.weekdaysShort = function (localeOrder) {
1211
- return getShort(getDayjsLocaleObject(), 'weekdaysShort', 'weekdays', 3, localeOrder);
1212
- };
1213
-
1214
- dayjs.weekdaysMin = function (localeOrder) {
1215
- return getShort(getDayjsLocaleObject(), 'weekdaysMin', 'weekdays', 2, localeOrder);
1216
- };
1217
- });
1218
-
1219
- const localizedFormat = (function (o, c, d) {
1220
- var proto = c.prototype;
1221
- var oldFormat = proto.format;
1222
- d.en.formats = englishFormats;
1223
-
1224
- proto.format = function (formatStr) {
1225
- if (formatStr === void 0) {
1226
- formatStr = FORMAT_DEFAULT;
1227
- }
1228
-
1229
- var _this$$locale = this.$locale(),
1230
- _this$$locale$formats = _this$$locale.formats,
1231
- formats = _this$$locale$formats === void 0 ? {} : _this$$locale$formats;
1232
-
1233
- var result = u(formatStr, formats);
1234
- return oldFormat.call(this, result);
1235
- };
1236
- });
1237
-
1238
- // Plugin template from https://day.js.org/docs/en/plugin/plugin
1239
- const preParsePostFormat = (function (option, dayjsClass) {
1240
- var oldParse = dayjsClass.prototype.parse;
1241
-
1242
- dayjsClass.prototype.parse = function (cfg) {
1243
- if (typeof cfg.date === 'string') {
1244
- var locale = this.$locale();
1245
- cfg.date = locale && locale.preparse ? locale.preparse(cfg.date) : cfg.date;
1246
- } // original parse result
1247
-
1248
-
1249
- return oldParse.bind(this)(cfg);
1250
- }; // // overriding existing API
1251
- // // e.g. extend dayjs().format()
1252
-
1253
-
1254
- var oldFormat = dayjsClass.prototype.format;
1255
-
1256
- dayjsClass.prototype.format = function () {
1257
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1258
- args[_key] = arguments[_key];
1259
- }
1260
-
1261
- // original format result
1262
- var result = oldFormat.call.apply(oldFormat, [this].concat(args)); // return modified result
1263
-
1264
- var locale = this.$locale();
1265
- return locale && locale.postformat ? locale.postformat(result) : result;
1266
- };
1267
-
1268
- var oldFromTo = dayjsClass.prototype.fromToBase;
1269
-
1270
- if (oldFromTo) {
1271
- dayjsClass.prototype.fromToBase = function (input, withoutSuffix, instance, isFrom) {
1272
- var locale = this.$locale() || instance.$locale(); // original format result
1273
-
1274
- return oldFromTo.call(this, input, withoutSuffix, instance, isFrom, locale && locale.postformat);
1275
- };
1276
- }
1277
- });
1278
-
1279
- const updateLocale = (function (option, Dayjs, dayjs) {
1280
- dayjs.updateLocale = function (locale, customConfig) {
1281
- var localeList = dayjs.Ls;
1282
- var localeConfig = localeList[locale];
1283
- if (!localeConfig) return;
1284
- var customConfigKeys = customConfig ? Object.keys(customConfig) : [];
1285
- customConfigKeys.forEach(function (c) {
1286
- localeConfig[c] = customConfig[c];
1287
- });
1288
- return localeConfig; // eslint-disable-line consistent-return
1289
- };
1290
- });
1291
-
1292
- 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)}";
1293
-
1294
- dayjs.extend(customParseFormat);
1295
- dayjs.extend(localeData);
1296
- dayjs.extend(localizedFormat);
1297
- dayjs.extend(preParsePostFormat);
1298
- dayjs.extend(updateLocale);
1299
- const InputTimePicker = class {
1300
- constructor(hostRef) {
1301
- index.registerInstance(this, hostRef);
1302
- this.calciteInputTimePickerChange = index.createEvent(this, "calciteInputTimePickerChange", 7);
1303
- this.focusOnOpen = false;
1304
- this.dialogId = `time-picker-dialog--${guid.guid()}`;
1305
- /** whether the value of the input was changed as a result of user typing or not */
1306
- this.userChangedValue = false;
1307
- this.referenceElementId = `input-time-picker-${guid.guid()}`;
1308
- //--------------------------------------------------------------------------
1309
- //
1310
- // Event Listeners
1311
- //
1312
- //--------------------------------------------------------------------------
1313
- this.hostBlurHandler = () => {
1314
- const inputValue = this.calciteInputEl.value;
1315
- const delocalizedInputValue = this.delocalizeTimeString(inputValue);
1316
- if (!delocalizedInputValue) {
1317
- this.setValue("");
1318
- return;
1319
- }
1320
- if (delocalizedInputValue !== this.value) {
1321
- this.setValue(delocalizedInputValue);
1322
- }
1323
- const localizedTimeString = localizeTimeString({
1324
- value: this.value,
1325
- locale: this.effectiveLocale,
1326
- numberingSystem: this.numberingSystem,
1327
- includeSeconds: this.shouldIncludeSeconds()
1328
- });
1329
- if (localizedTimeString !== inputValue) {
1330
- this.setInputValue(localizedTimeString);
1331
- }
1332
- this.deactivate();
1333
- };
1334
- this.calciteInternalInputFocusHandler = (event) => {
1335
- if (!this.readOnly) {
1336
- event.stopPropagation();
1337
- }
1338
- };
1339
- this.calciteInternalInputInputHandler = (event) => {
1340
- const { effectiveLocale: locale, numberingSystem } = this;
1341
- if (numberingSystem && numberingSystem !== "latn") {
1342
- const target = event.target;
1343
- locale$1.numberStringFormatter.numberFormatOptions = {
1344
- locale,
1345
- numberingSystem,
1346
- useGrouping: false
1347
- };
1348
- const valueInNumberingSystem = locale$1.numberStringFormatter
1349
- .delocalize(target.value)
1350
- .split("")
1351
- .map((char) => key.numberKeys.includes(char)
1352
- ? locale$1.numberStringFormatter.numberFormatter.format(Number(char))
1353
- : char)
1354
- .join("");
1355
- this.setInputValue(valueInNumberingSystem);
1356
- }
1357
- };
1358
- this.timePickerChangeHandler = (event) => {
1359
- event.stopPropagation();
1360
- const target = event.target;
1361
- const value = target.value;
1362
- const includeSeconds = this.shouldIncludeSeconds();
1363
- this.setValue(toISOTimeString(value, includeSeconds));
1364
- this.setInputValue(localizeTimeString({
1365
- value,
1366
- locale: this.effectiveLocale,
1367
- numberingSystem: this.numberingSystem,
1368
- includeSeconds
1369
- }));
1370
- };
1371
- this.popoverCloseHandler = () => {
1372
- focusTrapComponent.deactivateFocusTrap(this, {
1373
- onDeactivate: () => {
1374
- this.calciteInputEl.setFocus();
1375
- this.focusOnOpen = false;
1376
- }
1377
- });
1378
- };
1379
- this.popoverOpenHandler = () => {
1380
- focusTrapComponent.activateFocusTrap(this, {
1381
- onActivate: () => {
1382
- if (this.focusOnOpen) {
1383
- this.calciteTimePickerEl.setFocus();
1384
- this.focusOnOpen = false;
1385
- }
1386
- }
1387
- });
1388
- };
1389
- this.keyDownHandler = (event) => {
1390
- const { defaultPrevented, key } = event;
1391
- if (defaultPrevented) {
1392
- return;
1393
- }
1394
- if (key === "Enter") {
1395
- if (form.submitForm(this)) {
1396
- event.preventDefault();
1397
- this.calciteInputEl.setFocus();
1398
- }
1399
- if (event.composedPath().includes(this.calciteTimePickerEl)) {
1400
- return;
1401
- }
1402
- const newValue = this.delocalizeTimeString(this.calciteInputEl.value);
1403
- this.setValue(newValue);
1404
- const localizedTimeString = localizeTimeString({
1405
- value: this.value,
1406
- locale: this.effectiveLocale,
1407
- numberingSystem: this.numberingSystem,
1408
- includeSeconds: this.shouldIncludeSeconds()
1409
- });
1410
- if (newValue && this.calciteInputEl.value !== localizedTimeString) {
1411
- this.setInputValue(localizedTimeString);
1412
- }
1413
- }
1414
- else if (key === "ArrowDown") {
1415
- this.open = true;
1416
- this.focusOnOpen = true;
1417
- event.preventDefault();
1418
- }
1419
- else if (key === "Escape" && this.open) {
1420
- this.open = false;
1421
- event.preventDefault();
1422
- this.calciteInputEl.setFocus();
1423
- }
1424
- };
1425
- this.setCalcitePopoverEl = (el) => {
1426
- this.popoverEl = el;
1427
- };
1428
- this.setCalciteInputEl = (el) => {
1429
- this.calciteInputEl = el;
1430
- };
1431
- this.setCalciteTimePickerEl = (el) => {
1432
- this.calciteTimePickerEl = el;
1433
- focusTrapComponent.connectFocusTrap(this, {
1434
- focusTrapEl: el,
1435
- focusTrapOptions: {
1436
- initialFocus: false,
1437
- setReturnFocus: false
1438
- }
1439
- });
1440
- };
1441
- this.setInputValue = (newInputValue) => {
1442
- if (!this.calciteInputEl) {
1443
- return;
1444
- }
1445
- this.calciteInputEl.value = newInputValue;
1446
- };
1447
- /**
1448
- * Sets the value and emits a change event.
1449
- * This is used to update the value as a result of user interaction.
1450
- *
1451
- * @param value
1452
- */
1453
- this.setValue = (value) => {
1454
- const oldValue = this.value;
1455
- const newValue = formatTimeString(value) || "";
1456
- if (newValue === oldValue) {
1457
- return;
1458
- }
1459
- this.userChangedValue = true;
1460
- this.value = newValue || "";
1461
- const changeEvent = this.calciteInputTimePickerChange.emit();
1462
- if (changeEvent.defaultPrevented) {
1463
- this.userChangedValue = false;
1464
- this.value = oldValue;
1465
- this.setInputValue(localizeTimeString({
1466
- value: oldValue,
1467
- locale: this.effectiveLocale,
1468
- numberingSystem: this.numberingSystem,
1469
- includeSeconds: this.shouldIncludeSeconds()
1470
- }));
1471
- }
1472
- };
1473
- /**
1474
- * Sets the value directly without emitting a change event.
1475
- * This is used to update the value on initial load and when props change that are not the result of user interaction.
1476
- *
1477
- * @param value
1478
- */
1479
- this.setValueDirectly = (value) => {
1480
- const includeSeconds = this.shouldIncludeSeconds();
1481
- this.value = toISOTimeString(value, includeSeconds);
1482
- this.setInputValue(this.value
1483
- ? localizeTimeString({
1484
- value: this.value,
1485
- includeSeconds,
1486
- locale: this.effectiveLocale,
1487
- numberingSystem: this.numberingSystem
1488
- })
1489
- : "");
1490
- };
1491
- this.onInputWrapperClick = () => {
1492
- this.open = !this.open;
1493
- };
1494
- this.deactivate = () => {
1495
- this.open = false;
1496
- };
1497
- this.open = false;
1498
- this.disabled = false;
1499
- this.focusTrapDisabled = false;
1500
- this.form = undefined;
1501
- this.readOnly = false;
1502
- this.messageOverrides = undefined;
1503
- this.messages = undefined;
1504
- this.name = undefined;
1505
- this.numberingSystem = undefined;
1506
- this.required = false;
1507
- this.scale = "m";
1508
- this.overlayPositioning = "absolute";
1509
- this.placement = "auto";
1510
- this.step = 60;
1511
- this.value = null;
1512
- this.defaultMessages = undefined;
1513
- this.effectiveLocale = "";
1514
- }
1515
- openHandler(value) {
1516
- if (this.disabled || this.readOnly) {
1517
- this.open = false;
1518
- return;
1519
- }
1520
- if (value) {
1521
- this.reposition(true);
1522
- }
1523
- }
1524
- handleFocusTrapDisabled(focusTrapDisabled) {
1525
- if (!this.open) {
1526
- return;
1527
- }
1528
- focusTrapDisabled ? focusTrapComponent.deactivateFocusTrap(this) : focusTrapComponent.activateFocusTrap(this);
1529
- }
1530
- handleDisabledAndReadOnlyChange(value) {
1531
- if (!value) {
1532
- this.open = false;
1533
- }
1534
- }
1535
- onMessagesChange() {
1536
- /* wired up by t9n util */
1537
- }
1538
- numberingSystemWatcher(numberingSystem) {
1539
- this.setInputValue(localizeTimeString({
1540
- value: this.value,
1541
- locale: this.effectiveLocale,
1542
- numberingSystem,
1543
- includeSeconds: this.shouldIncludeSeconds()
1544
- }));
1545
- }
1546
- stepWatcher(newStep, oldStep) {
1547
- if ((oldStep >= 60 && newStep > 0 && newStep < 60) ||
1548
- (newStep >= 60 && oldStep > 0 && oldStep < 60)) {
1549
- this.setValueDirectly(this.value);
1550
- }
1551
- }
1552
- valueWatcher(newValue) {
1553
- if (!this.userChangedValue) {
1554
- this.setValueDirectly(newValue);
1555
- }
1556
- this.userChangedValue = false;
1557
- }
1558
- async effectiveLocaleWatcher(locale) {
1559
- await this.loadDateTimeLocaleData();
1560
- this.setInputValue(localizeTimeString({
1561
- value: this.value,
1562
- locale,
1563
- numberingSystem: this.numberingSystem,
1564
- includeSeconds: this.shouldIncludeSeconds()
1565
- }));
1566
- }
1567
- // --------------------------------------------------------------------------
1568
- //
1569
- // Public Methods
1570
- //
1571
- // --------------------------------------------------------------------------
1572
- /** Sets focus on the component. */
1573
- async setFocus() {
1574
- await loadable.componentLoaded(this);
1575
- this.el.focus();
1576
- }
1577
- /**
1578
- * Updates the position of the component.
1579
- *
1580
- * @param delayed
1581
- */
1582
- async reposition(delayed = false) {
1583
- this.popoverEl?.reposition(delayed);
1584
- }
1585
- // --------------------------------------------------------------------------
1586
- //
1587
- // Private Methods
1588
- //
1589
- // --------------------------------------------------------------------------
1590
- delocalizeTimeString(value) {
1591
- // we need to set the corresponding locale before parsing, otherwise it defaults to English (possible dayjs bug)
1592
- dayjs.locale(this.effectiveLocale.toLowerCase());
1593
- const dayjsParseResult = dayjs(value, ["LTS", "LT"]);
1594
- if (dayjsParseResult.isValid()) {
1595
- let unformattedTimeString = `${dayjsParseResult.get("hour")}:${dayjsParseResult.get("minute")}`;
1596
- if (this.shouldIncludeSeconds()) {
1597
- unformattedTimeString += `:${dayjsParseResult.get("seconds") || 0}`;
1598
- }
1599
- return formatTimeString(unformattedTimeString) || "";
1600
- }
1601
- return "";
1602
- }
1603
- async loadDateTimeLocaleData() {
1604
- const { effectiveLocale } = this;
1605
- if (effectiveLocale === "en" || effectiveLocale === "en-US") {
1606
- return;
1607
- }
1608
- let dayjsLocale = effectiveLocale.toLowerCase();
1609
- if (effectiveLocale === "pt-PT") {
1610
- dayjsLocale = "pt";
1611
- }
1612
- if (effectiveLocale === "no") {
1613
- dayjsLocale = "nb";
1614
- }
1615
- const { default: localeConfig } = await Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(index.getAssetPath(`./assets/input-time-picker/nls/dayjs/locale/${dayjsLocale}.js`))); });
1616
- dayjs.locale(localeConfig, null, true);
1617
- dayjs.updateLocale(dayjsLocale, this.getExtendedLocaleConfig(dayjsLocale));
1618
- }
1619
- getExtendedLocaleConfig(locale) {
1620
- if (locale === "ar") {
1621
- return {
1622
- meridiem: (hour) => (hour > 12 ? "م" : "ص"),
1623
- formats: {
1624
- LT: "HH:mm A",
1625
- LTS: "HH:mm:ss A",
1626
- L: "DD/MM/YYYY",
1627
- LL: "D MMMM YYYY",
1628
- LLL: "D MMMM YYYY HH:mm A",
1629
- LLLL: "dddd D MMMM YYYY HH:mm A"
1630
- }
1631
- };
1632
- }
1633
- if (locale === "en-au") {
1634
- return {
1635
- meridiem: (hour) => (hour > 12 ? "pm" : "am")
1636
- };
1637
- }
1638
- if (locale === "en-ca") {
1639
- return {
1640
- meridiem: (hour) => (hour > 12 ? "p.m." : "a.m.")
1641
- };
1642
- }
1643
- if (locale === "el") {
1644
- return {
1645
- meridiem: (hour) => (hour > 12 ? "μ.μ." : "π.μ.")
1646
- };
1647
- }
1648
- if (locale === "hi") {
1649
- return {
1650
- formats: {
1651
- LT: "h:mm A",
1652
- LTS: "h:mm:ss A",
1653
- L: "DD/MM/YYYY",
1654
- LL: "D MMMM YYYY",
1655
- LLL: "D MMMM YYYY, h:mm A",
1656
- LLLL: "dddd, D MMMM YYYY, h:mm A"
1657
- },
1658
- meridiem: (hour) => (hour > 12 ? "pm" : "am")
1659
- };
1660
- }
1661
- if (locale === "ko") {
1662
- return {
1663
- meridiem: (hour) => (hour > 12 ? "오후" : "오전")
1664
- };
1665
- }
1666
- if (locale === "zh-tw") {
1667
- return {
1668
- formats: {
1669
- LT: "AHH:mm",
1670
- LTS: "AHH:mm:ss"
1671
- }
1672
- };
1673
- }
1674
- if (locale === "zh-hk") {
1675
- return {
1676
- formats: {
1677
- LT: "AHH:mm",
1678
- LTS: "AHH:mm:ss"
1679
- },
1680
- meridiem: (hour) => (hour > 12 ? "下午" : "上午")
1681
- };
1682
- }
1683
- }
1684
- onLabelClick() {
1685
- this.setFocus();
1686
- }
1687
- shouldIncludeSeconds() {
1688
- return this.step < 60;
1689
- }
1690
- //--------------------------------------------------------------------------
1691
- //
1692
- // Lifecycle
1693
- //
1694
- //--------------------------------------------------------------------------
1695
- connectedCallback() {
1696
- locale$1.connectLocalized(this);
1697
- let { effectiveLocale } = this;
1698
- if (effectiveLocale === "en-US") {
1699
- effectiveLocale = "en";
1700
- }
1701
- if (effectiveLocale === "pt-PT") {
1702
- effectiveLocale = "pt";
1703
- }
1704
- if (effectiveLocale === "no") {
1705
- effectiveLocale = "nb";
1706
- }
1707
- this.effectiveLocale = effectiveLocale;
1708
- if (isValidTime(this.value)) {
1709
- this.setValueDirectly(this.value);
1710
- }
1711
- else {
1712
- this.value = undefined;
1713
- }
1714
- label.connectLabel(this);
1715
- form.connectForm(this);
1716
- t9n.connectMessages(this);
1717
- }
1718
- async componentWillLoad() {
1719
- loadable.setUpLoadableComponent(this);
1720
- await Promise.all([t9n.setUpMessages(this), this.loadDateTimeLocaleData()]);
1721
- }
1722
- componentDidLoad() {
1723
- loadable.setComponentLoaded(this);
1724
- if (isValidTime(this.value)) {
1725
- this.setInputValue(localizeTimeString({
1726
- value: this.value,
1727
- locale: this.effectiveLocale,
1728
- numberingSystem: this.numberingSystem,
1729
- includeSeconds: this.shouldIncludeSeconds()
1730
- }));
1731
- }
1732
- }
1733
- disconnectedCallback() {
1734
- label.disconnectLabel(this);
1735
- form.disconnectForm(this);
1736
- locale$1.disconnectLocalized(this);
1737
- focusTrapComponent.deactivateFocusTrap(this);
1738
- t9n.disconnectMessages(this);
1739
- }
1740
- componentDidRender() {
1741
- interactive.updateHostInteraction(this);
1742
- }
1743
- // --------------------------------------------------------------------------
1744
- //
1745
- // Render Methods
1746
- //
1747
- // --------------------------------------------------------------------------
1748
- render() {
1749
- const { disabled, messages, readOnly, dialogId } = this;
1750
- 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,
1751
- // eslint-disable-next-line react/jsx-sort-props
1752
- 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,
1753
- // eslint-disable-next-line react/jsx-sort-props
1754
- 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,
1755
- // eslint-disable-next-line react/jsx-sort-props
1756
- ref: this.setCalciteTimePickerEl })), index.h(form.HiddenFormInputSlot, { component: this })));
1757
- }
1758
- renderToggleIcon(open) {
1759
- return (index.h("span", { class: CSS$1.toggleIcon }, index.h("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
1760
- }
1761
- static get delegatesFocus() { return true; }
1762
- static get assetsDirs() { return ["assets"]; }
1763
- get el() { return index.getElement(this); }
1764
- static get watchers() { return {
1765
- "open": ["openHandler"],
1766
- "focusTrapDisabled": ["handleFocusTrapDisabled"],
1767
- "disabled": ["handleDisabledAndReadOnlyChange"],
1768
- "readOnly": ["handleDisabledAndReadOnlyChange"],
1769
- "messageOverrides": ["onMessagesChange"],
1770
- "numberingSystem": ["numberingSystemWatcher"],
1771
- "step": ["stepWatcher"],
1772
- "value": ["valueWatcher"],
1773
- "effectiveLocale": ["effectiveLocaleWatcher"]
1774
- }; }
1775
- };
1776
- InputTimePicker.style = inputTimePickerCss;
1777
-
1778
- const CSS = {
1779
- button: "button",
1780
- buttonBottomLeft: "button--bottom-left",
1781
- buttonBottomRight: "button--bottom-right",
1782
- buttonHourDown: "button--hour-down",
1783
- buttonHourUp: "button--hour-up",
1784
- buttonMeridiemDown: "button--meridiem-down",
1785
- buttonMeridiemUp: "button--meridiem-up",
1786
- buttonMinuteDown: "button--minute-down",
1787
- buttonMinuteUp: "button--minute-up",
1788
- buttonSecondDown: "button--second-down",
1789
- buttonSecondUp: "button--second-up",
1790
- buttonTopLeft: "button--top-left",
1791
- buttonTopRight: "button--top-right",
1792
- column: "column",
1793
- delimiter: "delimiter",
1794
- hour: "hour",
1795
- input: "input",
1796
- meridiem: "meridiem",
1797
- minute: "minute",
1798
- second: "second",
1799
- showMeridiem: "show-meridiem",
1800
- showSecond: "show-second",
1801
- "scale-s": "scale-s",
1802
- "scale-m": "scale-m",
1803
- "scale-l": "scale-l",
1804
- timePicker: "time-picker",
1805
- meridiemStart: "meridiem--start"
1806
- };
1807
-
1808
- 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}";
1809
-
1810
- function capitalize(str) {
1811
- return str.charAt(0).toUpperCase() + str.slice(1);
1812
- }
1813
- const TimePicker = class {
1814
- constructor(hostRef) {
1815
- index.registerInstance(this, hostRef);
1816
- this.calciteInternalTimePickerBlur = index.createEvent(this, "calciteInternalTimePickerBlur", 6);
1817
- this.calciteInternalTimePickerChange = index.createEvent(this, "calciteInternalTimePickerChange", 6);
1818
- this.calciteInternalTimePickerFocus = index.createEvent(this, "calciteInternalTimePickerFocus", 6);
1819
- this.decrementHour = () => {
1820
- const newHour = !this.hour ? 0 : this.hour === "00" ? 23 : parseInt(this.hour) - 1;
1821
- this.setValuePart("hour", newHour);
1822
- };
1823
- this.decrementMeridiem = () => {
1824
- const newMeridiem = this.meridiem === "PM" ? "AM" : "PM";
1825
- this.setValuePart("meridiem", newMeridiem);
1826
- };
1827
- this.decrementMinuteOrSecond = (key) => {
1828
- let newValue;
1829
- if (locale$1.isValidNumber(this[key])) {
1830
- const valueAsNumber = parseInt(this[key]);
1831
- newValue = valueAsNumber === 0 ? 59 : valueAsNumber - 1;
1832
- }
1833
- else {
1834
- newValue = 59;
1835
- }
1836
- this.setValuePart(key, newValue);
1837
- };
1838
- this.decrementMinute = () => {
1839
- this.decrementMinuteOrSecond("minute");
1840
- };
1841
- this.decrementSecond = () => {
1842
- this.decrementMinuteOrSecond("second");
1843
- };
1844
- this.focusHandler = (event) => {
1845
- this.activeEl = event.currentTarget;
1846
- };
1847
- this.hourDownButtonKeyDownHandler = (event) => {
1848
- if (this.buttonActivated(event)) {
1849
- this.decrementHour();
1850
- }
1851
- };
1852
- this.hourKeyDownHandler = (event) => {
1853
- const { key: key$1 } = event;
1854
- if (key.numberKeys.includes(key$1)) {
1855
- const keyAsNumber = parseInt(key$1);
1856
- let newHour;
1857
- if (locale$1.isValidNumber(this.hour)) {
1858
- switch (this.hourCycle) {
1859
- case "12":
1860
- newHour =
1861
- this.hour === "01" && keyAsNumber >= 0 && keyAsNumber <= 2
1862
- ? `1${keyAsNumber}`
1863
- : keyAsNumber;
1864
- break;
1865
- case "24":
1866
- if (this.hour === "01") {
1867
- newHour = `1${keyAsNumber}`;
1868
- }
1869
- else if (this.hour === "02" && keyAsNumber >= 0 && keyAsNumber <= 3) {
1870
- newHour = `2${keyAsNumber}`;
1871
- }
1872
- else {
1873
- newHour = keyAsNumber;
1874
- }
1875
- break;
1876
- }
1877
- }
1878
- else {
1879
- newHour = keyAsNumber;
1880
- }
1881
- this.setValuePart("hour", newHour);
1882
- }
1883
- else {
1884
- switch (key$1) {
1885
- case "Backspace":
1886
- case "Delete":
1887
- this.setValuePart("hour", null);
1888
- break;
1889
- case "ArrowDown":
1890
- event.preventDefault();
1891
- this.decrementHour();
1892
- break;
1893
- case "ArrowUp":
1894
- event.preventDefault();
1895
- this.incrementHour();
1896
- break;
1897
- case " ":
1898
- event.preventDefault();
1899
- break;
1900
- }
1901
- }
1902
- };
1903
- this.hourUpButtonKeyDownHandler = (event) => {
1904
- if (this.buttonActivated(event)) {
1905
- this.incrementHour();
1906
- }
1907
- };
1908
- this.incrementMeridiem = () => {
1909
- const newMeridiem = this.meridiem === "AM" ? "PM" : "AM";
1910
- this.setValuePart("meridiem", newMeridiem);
1911
- };
1912
- this.incrementHour = () => {
1913
- const newHour = locale$1.isValidNumber(this.hour)
1914
- ? this.hour === "23"
1915
- ? 0
1916
- : parseInt(this.hour) + 1
1917
- : 1;
1918
- this.setValuePart("hour", newHour);
1919
- };
1920
- this.incrementMinuteOrSecond = (key) => {
1921
- const newValue = locale$1.isValidNumber(this[key])
1922
- ? this[key] === "59"
1923
- ? 0
1924
- : parseInt(this[key]) + 1
1925
- : 0;
1926
- this.setValuePart(key, newValue);
1927
- };
1928
- this.incrementMinute = () => {
1929
- this.incrementMinuteOrSecond("minute");
1930
- };
1931
- this.incrementSecond = () => {
1932
- this.incrementMinuteOrSecond("second");
1933
- };
1934
- this.meridiemDownButtonKeyDownHandler = (event) => {
1935
- if (this.buttonActivated(event)) {
1936
- this.decrementMeridiem();
1937
- }
1938
- };
1939
- this.meridiemKeyDownHandler = (event) => {
1940
- switch (event.key) {
1941
- case "a":
1942
- this.setValuePart("meridiem", "AM");
1943
- break;
1944
- case "p":
1945
- this.setValuePart("meridiem", "PM");
1946
- break;
1947
- case "Backspace":
1948
- case "Delete":
1949
- this.setValuePart("meridiem", null);
1950
- break;
1951
- case "ArrowUp":
1952
- event.preventDefault();
1953
- this.incrementMeridiem();
1954
- break;
1955
- case "ArrowDown":
1956
- event.preventDefault();
1957
- this.decrementMeridiem();
1958
- break;
1959
- case " ":
1960
- event.preventDefault();
1961
- break;
1962
- }
1963
- };
1964
- this.meridiemUpButtonKeyDownHandler = (event) => {
1965
- if (this.buttonActivated(event)) {
1966
- this.incrementMeridiem();
1967
- }
1968
- };
1969
- this.minuteDownButtonKeyDownHandler = (event) => {
1970
- if (this.buttonActivated(event)) {
1971
- this.decrementMinute();
1972
- }
1973
- };
1974
- this.minuteKeyDownHandler = (event) => {
1975
- const { key: key$1 } = event;
1976
- if (key.numberKeys.includes(key$1)) {
1977
- const keyAsNumber = parseInt(key$1);
1978
- let newMinute;
1979
- if (locale$1.isValidNumber(this.minute) && this.minute.startsWith("0")) {
1980
- const minuteAsNumber = parseInt(this.minute);
1981
- newMinute =
1982
- minuteAsNumber > maxTenthForMinuteAndSecond
1983
- ? keyAsNumber
1984
- : `${minuteAsNumber}${keyAsNumber}`;
1985
- }
1986
- else {
1987
- newMinute = keyAsNumber;
1988
- }
1989
- this.setValuePart("minute", newMinute);
1990
- }
1991
- else {
1992
- switch (key$1) {
1993
- case "Backspace":
1994
- case "Delete":
1995
- this.setValuePart("minute", null);
1996
- break;
1997
- case "ArrowDown":
1998
- event.preventDefault();
1999
- this.decrementMinute();
2000
- break;
2001
- case "ArrowUp":
2002
- event.preventDefault();
2003
- this.incrementMinute();
2004
- break;
2005
- case " ":
2006
- event.preventDefault();
2007
- break;
2008
- }
2009
- }
2010
- };
2011
- this.minuteUpButtonKeyDownHandler = (event) => {
2012
- if (this.buttonActivated(event)) {
2013
- this.incrementMinute();
2014
- }
2015
- };
2016
- this.secondDownButtonKeyDownHandler = (event) => {
2017
- if (this.buttonActivated(event)) {
2018
- this.decrementSecond();
2019
- }
2020
- };
2021
- this.secondKeyDownHandler = (event) => {
2022
- const { key: key$1 } = event;
2023
- if (key.numberKeys.includes(key$1)) {
2024
- const keyAsNumber = parseInt(key$1);
2025
- let newSecond;
2026
- if (locale$1.isValidNumber(this.second) && this.second.startsWith("0")) {
2027
- const secondAsNumber = parseInt(this.second);
2028
- newSecond =
2029
- secondAsNumber > maxTenthForMinuteAndSecond
2030
- ? keyAsNumber
2031
- : `${secondAsNumber}${keyAsNumber}`;
2032
- }
2033
- else {
2034
- newSecond = keyAsNumber;
2035
- }
2036
- this.setValuePart("second", newSecond);
2037
- }
2038
- else {
2039
- switch (key$1) {
2040
- case "Backspace":
2041
- case "Delete":
2042
- this.setValuePart("second", null);
2043
- break;
2044
- case "ArrowDown":
2045
- event.preventDefault();
2046
- this.decrementSecond();
2047
- break;
2048
- case "ArrowUp":
2049
- event.preventDefault();
2050
- this.incrementSecond();
2051
- break;
2052
- case " ":
2053
- event.preventDefault();
2054
- break;
2055
- }
2056
- }
2057
- };
2058
- this.secondUpButtonKeyDownHandler = (event) => {
2059
- if (this.buttonActivated(event)) {
2060
- this.incrementSecond();
2061
- }
2062
- };
2063
- this.setHourEl = (el) => (this.hourEl = el);
2064
- this.setMeridiemEl = (el) => (this.meridiemEl = el);
2065
- this.setMinuteEl = (el) => (this.minuteEl = el);
2066
- this.setSecondEl = (el) => (this.secondEl = el);
2067
- this.setValue = (value, emit = true) => {
2068
- if (isValidTime(value)) {
2069
- const { hour, minute, second } = parseTimeString(value);
2070
- const { effectiveLocale: locale, numberingSystem } = this;
2071
- const { localizedHour, localizedHourSuffix, localizedMinute, localizedMinuteSuffix, localizedSecond, localizedSecondSuffix, localizedMeridiem } = localizeTimeStringToParts({ value, locale, numberingSystem });
2072
- this.localizedHour = localizedHour;
2073
- this.localizedHourSuffix = localizedHourSuffix;
2074
- this.localizedMinute = localizedMinute;
2075
- this.localizedMinuteSuffix = localizedMinuteSuffix;
2076
- this.localizedSecond = localizedSecond;
2077
- this.localizedSecondSuffix = localizedSecondSuffix;
2078
- this.hour = hour;
2079
- this.minute = minute;
2080
- this.second = second;
2081
- if (localizedMeridiem) {
2082
- this.localizedMeridiem = localizedMeridiem;
2083
- this.meridiem = getMeridiem(this.hour);
2084
- const formatParts = getTimeParts({ value, locale, numberingSystem });
2085
- this.meridiemOrder = this.getMeridiemOrder(formatParts);
2086
- }
2087
- }
2088
- else {
2089
- this.hour = null;
2090
- this.localizedHour = null;
2091
- this.localizedHourSuffix = null;
2092
- this.localizedMeridiem = null;
2093
- this.localizedMinute = null;
2094
- this.localizedMinuteSuffix = null;
2095
- this.localizedSecond = null;
2096
- this.localizedSecondSuffix = null;
2097
- this.meridiem = null;
2098
- this.minute = null;
2099
- this.second = null;
2100
- this.value = null;
2101
- }
2102
- if (emit) {
2103
- this.calciteInternalTimePickerChange.emit();
2104
- }
2105
- };
2106
- this.setValuePart = (key, value, emit = true) => {
2107
- const { effectiveLocale: locale, numberingSystem } = this;
2108
- if (key === "meridiem") {
2109
- this.meridiem = value;
2110
- if (locale$1.isValidNumber(this.hour)) {
2111
- const hourAsNumber = parseInt(this.hour);
2112
- switch (value) {
2113
- case "AM":
2114
- if (hourAsNumber >= 12) {
2115
- this.hour = formatTimePart(hourAsNumber - 12);
2116
- }
2117
- break;
2118
- case "PM":
2119
- if (hourAsNumber < 12) {
2120
- this.hour = formatTimePart(hourAsNumber + 12);
2121
- }
2122
- break;
2123
- }
2124
- this.localizedHour = localizeTimePart({
2125
- value: this.hour,
2126
- part: "hour",
2127
- locale,
2128
- numberingSystem
2129
- });
2130
- }
2131
- }
2132
- else {
2133
- this[key] = typeof value === "number" ? formatTimePart(value) : value;
2134
- this[`localized${capitalize(key)}`] = localizeTimePart({
2135
- value: this[key],
2136
- part: key,
2137
- locale,
2138
- numberingSystem
2139
- });
2140
- }
2141
- if (this.hour && this.minute) {
2142
- let newValue = `${this.hour}:${this.minute}`;
2143
- if (this.showSecond) {
2144
- newValue = `${newValue}:${this.second ?? "00"}`;
2145
- }
2146
- this.value = newValue;
2147
- }
2148
- else {
2149
- this.value = null;
2150
- }
2151
- this.localizedMeridiem = this.value
2152
- ? localizeTimeStringToParts({ value: this.value, locale, numberingSystem })
2153
- ?.localizedMeridiem || null
2154
- : localizeTimePart({ value: this.meridiem, part: "meridiem", locale, numberingSystem });
2155
- if (emit) {
2156
- this.calciteInternalTimePickerChange.emit();
2157
- }
2158
- };
2159
- this.scale = "m";
2160
- this.step = 60;
2161
- this.numberingSystem = undefined;
2162
- this.value = null;
2163
- this.messages = undefined;
2164
- this.messageOverrides = undefined;
2165
- this.effectiveLocale = "";
2166
- this.hour = undefined;
2167
- this.hourCycle = undefined;
2168
- this.localizedHour = undefined;
2169
- this.localizedHourSuffix = undefined;
2170
- this.localizedMeridiem = undefined;
2171
- this.localizedMinute = undefined;
2172
- this.localizedMinuteSuffix = undefined;
2173
- this.localizedSecond = undefined;
2174
- this.localizedSecondSuffix = undefined;
2175
- this.meridiem = undefined;
2176
- this.minute = undefined;
2177
- this.second = undefined;
2178
- this.showSecond = undefined;
2179
- this.defaultMessages = undefined;
2180
- }
2181
- stepChange() {
2182
- this.updateShowSecond();
2183
- }
2184
- valueWatcher(newValue) {
2185
- this.setValue(newValue, false);
2186
- }
2187
- onMessagesChange() {
2188
- /* wired up by t9n util */
2189
- }
2190
- effectiveLocaleWatcher() {
2191
- this.updateLocale();
2192
- }
2193
- //--------------------------------------------------------------------------
2194
- //
2195
- // Event Listeners
2196
- //
2197
- //--------------------------------------------------------------------------
2198
- hostBlurHandler() {
2199
- this.calciteInternalTimePickerBlur.emit();
2200
- }
2201
- hostFocusHandler() {
2202
- this.calciteInternalTimePickerFocus.emit();
2203
- }
2204
- keyDownHandler(event) {
2205
- const { defaultPrevented, key } = event;
2206
- if (defaultPrevented) {
2207
- return;
2208
- }
2209
- switch (this.activeEl) {
2210
- case this.hourEl:
2211
- if (key === "ArrowRight") {
2212
- this.focusPart("minute");
2213
- event.preventDefault();
2214
- }
2215
- break;
2216
- case this.minuteEl:
2217
- switch (key) {
2218
- case "ArrowLeft":
2219
- this.focusPart("hour");
2220
- event.preventDefault();
2221
- break;
2222
- case "ArrowRight":
2223
- if (this.step !== 60) {
2224
- this.focusPart("second");
2225
- event.preventDefault();
2226
- }
2227
- else if (this.hourCycle === "12") {
2228
- this.focusPart("meridiem");
2229
- event.preventDefault();
2230
- }
2231
- break;
2232
- }
2233
- break;
2234
- case this.secondEl:
2235
- switch (key) {
2236
- case "ArrowLeft":
2237
- this.focusPart("minute");
2238
- event.preventDefault();
2239
- break;
2240
- case "ArrowRight":
2241
- if (this.hourCycle === "12") {
2242
- this.focusPart("meridiem");
2243
- event.preventDefault();
2244
- }
2245
- break;
2246
- }
2247
- break;
2248
- case this.meridiemEl:
2249
- switch (key) {
2250
- case "ArrowLeft":
2251
- if (this.step !== 60) {
2252
- this.focusPart("second");
2253
- event.preventDefault();
2254
- }
2255
- else {
2256
- this.focusPart("minute");
2257
- event.preventDefault();
2258
- }
2259
- break;
2260
- }
2261
- break;
2262
- }
2263
- }
2264
- //--------------------------------------------------------------------------
2265
- //
2266
- // Public Methods
2267
- //
2268
- //--------------------------------------------------------------------------
2269
- /**
2270
- * Sets focus on the component's first focusable element.
2271
- */
2272
- async setFocus() {
2273
- await loadable.componentLoaded(this);
2274
- this.el?.focus();
2275
- }
2276
- // --------------------------------------------------------------------------
2277
- //
2278
- // Private Methods
2279
- //
2280
- // --------------------------------------------------------------------------
2281
- updateShowSecond() {
2282
- this.showSecond = this.step < 60;
2283
- }
2284
- async focusPart(target) {
2285
- await loadable.componentLoaded(this);
2286
- this[`${target || "hour"}El`]?.focus();
2287
- }
2288
- buttonActivated(event) {
2289
- const { key: key$1 } = event;
2290
- if (key$1 === " ") {
2291
- event.preventDefault();
2292
- }
2293
- return key.isActivationKey(key$1);
2294
- }
2295
- getMeridiemOrder(formatParts) {
2296
- const locale = this.effectiveLocale;
2297
- const isRTLKind = locale === "ar" || locale === "he";
2298
- if (formatParts && !isRTLKind) {
2299
- const index = formatParts.findIndex((parts) => {
2300
- return parts.value === this.localizedMeridiem;
2301
- });
2302
- return index;
2303
- }
2304
- return 0;
2305
- }
2306
- updateLocale() {
2307
- t9n.updateMessages(this, this.effectiveLocale);
2308
- this.hourCycle = getLocaleHourCycle(this.effectiveLocale, this.numberingSystem);
2309
- this.setValue(this.value, false);
2310
- }
2311
- // --------------------------------------------------------------------------
2312
- //
2313
- // Lifecycle
2314
- //
2315
- // --------------------------------------------------------------------------
2316
- connectedCallback() {
2317
- locale$1.connectLocalized(this);
2318
- this.updateLocale();
2319
- t9n.connectMessages(this);
2320
- this.updateShowSecond();
2321
- this.meridiemOrder = this.getMeridiemOrder(getTimeParts({
2322
- value: "0:00:00",
2323
- locale: this.effectiveLocale,
2324
- numberingSystem: this.numberingSystem
2325
- }));
2326
- }
2327
- async componentWillLoad() {
2328
- loadable.setUpLoadableComponent(this);
2329
- await t9n.setUpMessages(this);
2330
- }
2331
- componentDidLoad() {
2332
- loadable.setComponentLoaded(this);
2333
- }
2334
- disconnectedCallback() {
2335
- locale$1.disconnectLocalized(this);
2336
- t9n.disconnectMessages(this);
2337
- }
2338
- // --------------------------------------------------------------------------
2339
- //
2340
- // Render Methods
2341
- //
2342
- // --------------------------------------------------------------------------
2343
- render() {
2344
- const hourIsNumber = locale$1.isValidNumber(this.hour);
2345
- const iconScale = this.scale === "s" || this.scale === "m" ? "s" : "m";
2346
- const minuteIsNumber = locale$1.isValidNumber(this.minute);
2347
- const secondIsNumber = locale$1.isValidNumber(this.second);
2348
- const showMeridiem = this.hourCycle === "12";
2349
- return (index.h("div", { class: {
2350
- [CSS.timePicker]: true,
2351
- [CSS.showMeridiem]: showMeridiem,
2352
- [CSS.showSecond]: this.showSecond,
2353
- [CSS[`scale-${this.scale}`]]: true
2354
- }, dir: "ltr" }, index.h("div", { class: CSS.column, role: "group" }, index.h("span", { "aria-label": this.messages.hourUp, class: {
2355
- [CSS.button]: true,
2356
- [CSS.buttonHourUp]: true,
2357
- [CSS.buttonTopLeft]: true
2358
- }, 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: {
2359
- [CSS.input]: true,
2360
- [CSS.hour]: true
2361
- }, onFocus: this.focusHandler, onKeyDown: this.hourKeyDownHandler, role: "spinbutton", tabIndex: 0,
2362
- // eslint-disable-next-line react/jsx-sort-props
2363
- ref: this.setHourEl }, this.localizedHour || "--"), index.h("span", { "aria-label": this.messages.hourDown, class: {
2364
- [CSS.button]: true,
2365
- [CSS.buttonHourDown]: true,
2366
- [CSS.buttonBottomLeft]: true
2367
- }, 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: {
2368
- [CSS.button]: true,
2369
- [CSS.buttonMinuteUp]: true
2370
- }, 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: {
2371
- [CSS.input]: true,
2372
- [CSS.minute]: true
2373
- }, onFocus: this.focusHandler, onKeyDown: this.minuteKeyDownHandler, role: "spinbutton", tabIndex: 0,
2374
- // eslint-disable-next-line react/jsx-sort-props
2375
- ref: this.setMinuteEl }, this.localizedMinute || "--"), index.h("span", { "aria-label": this.messages.minuteDown, class: {
2376
- [CSS.button]: true,
2377
- [CSS.buttonMinuteDown]: true
2378
- }, 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: {
2379
- [CSS.button]: true,
2380
- [CSS.buttonSecondUp]: true
2381
- }, 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: {
2382
- [CSS.input]: true,
2383
- [CSS.second]: true
2384
- }, onFocus: this.focusHandler, onKeyDown: this.secondKeyDownHandler, role: "spinbutton", tabIndex: 0,
2385
- // eslint-disable-next-line react/jsx-sort-props
2386
- ref: this.setSecondEl }, this.localizedSecond || "--"), index.h("span", { "aria-label": this.messages.secondDown, class: {
2387
- [CSS.button]: true,
2388
- [CSS.buttonSecondDown]: true
2389
- }, 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: {
2390
- [CSS.column]: true,
2391
- [CSS.meridiemStart]: this.meridiemOrder === 0
2392
- }, role: "group" }, index.h("span", { "aria-label": this.messages.meridiemUp, class: {
2393
- [CSS.button]: true,
2394
- [CSS.buttonMeridiemUp]: true,
2395
- [CSS.buttonTopRight]: true
2396
- }, 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: {
2397
- [CSS.input]: true,
2398
- [CSS.meridiem]: true
2399
- }, onFocus: this.focusHandler, onKeyDown: this.meridiemKeyDownHandler, role: "spinbutton", tabIndex: 0,
2400
- // eslint-disable-next-line react/jsx-sort-props
2401
- ref: this.setMeridiemEl }, this.localizedMeridiem || "--"), index.h("span", { "aria-label": this.messages.meridiemDown, class: {
2402
- [CSS.button]: true,
2403
- [CSS.buttonMeridiemDown]: true,
2404
- [CSS.buttonBottomRight]: true
2405
- }, onClick: this.decrementMeridiem, onKeyDown: this.meridiemDownButtonKeyDownHandler, role: "button" }, index.h("calcite-icon", { icon: "chevron-down", scale: iconScale }))))));
2406
- }
2407
- static get delegatesFocus() { return true; }
2408
- static get assetsDirs() { return ["assets"]; }
2409
- get el() { return index.getElement(this); }
2410
- static get watchers() { return {
2411
- "step": ["stepChange"],
2412
- "value": ["valueWatcher"],
2413
- "messageOverrides": ["onMessagesChange"],
2414
- "effectiveLocale": ["effectiveLocaleWatcher"]
2415
- }; }
2416
- };
2417
- TimePicker.style = timePickerCss;
2418
-
2419
- exports.calcite_input_time_picker = InputTimePicker;
2420
- exports.calcite_time_picker = TimePicker;
10
+ const calciteInputTimePicker_calciteTimePicker_entry = require('./calcite-input-time-picker.calcite-time-picker-204e75fc.js');
11
+ require('./index-bf534a74.js');
12
+ require('./form-86415532.js');
13
+ require('./dom-b327d3a5.js');
14
+ require('./guid-3cf8bf8a.js');
15
+ require('./resources-00c22b3a.js');
16
+ require('./interactive-b2980f98.js');
17
+ require('./key-03a66267.js');
18
+ require('./label-495277ea.js');
19
+ require('./loadable-e749309a.js');
20
+ require('./locale-0f1c5ea8.js');
21
+ require('./observers-0ff92a7f.js');
22
+ require('./focusTrapComponent-b77afae7.js');
23
+ require('./t9n-d38e165e.js');
24
+
25
+
26
+
27
+ exports.calcite_input_time_picker = calciteInputTimePicker_calciteTimePicker_entry.InputTimePicker;
28
+ exports.calcite_time_picker = calciteInputTimePicker_calciteTimePicker_entry.TimePicker;