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

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