@esri/calcite-components 1.7.0-next.15 → 1.7.0-next.17

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 (1590) hide show
  1. package/dist/calcite/assets/icon/addLayerService16.json +1 -0
  2. package/dist/calcite/assets/icon/addLayerService24.json +1 -0
  3. package/dist/calcite/assets/icon/addLayerService32.json +1 -0
  4. package/dist/calcite/assets/icon/circleStop16.json +1 -0
  5. package/dist/calcite/assets/icon/circleStop16F.json +1 -0
  6. package/dist/calcite/assets/icon/circleStop24.json +1 -0
  7. package/dist/calcite/assets/icon/circleStop24F.json +1 -0
  8. package/dist/calcite/assets/icon/circleStop32.json +1 -0
  9. package/dist/calcite/assets/icon/circleStop32F.json +1 -0
  10. package/dist/calcite/assets/icon/hideLayers16.json +1 -0
  11. package/dist/calcite/assets/icon/hideLayers24.json +1 -0
  12. package/dist/calcite/assets/icon/hideLayers32.json +1 -0
  13. package/dist/calcite/assets/icon/minusSquare16F.json +1 -1
  14. package/dist/calcite/assets/icon/minusSquare32F.json +1 -1
  15. package/dist/calcite/assets/icon/stopSquare16.json +1 -0
  16. package/dist/calcite/assets/icon/stopSquare16F.json +1 -0
  17. package/dist/calcite/assets/icon/stopSquare24.json +1 -0
  18. package/dist/calcite/assets/icon/stopSquare24F.json +1 -0
  19. package/dist/calcite/assets/icon/stopSquare32.json +1 -0
  20. package/dist/calcite/assets/icon/stopSquare32F.json +1 -0
  21. package/dist/calcite/assets/table/t9n/index.d.ts +7 -0
  22. package/dist/calcite/assets/table/t9n/messages.json +7 -0
  23. package/dist/calcite/assets/table/t9n/messages_ar.json +7 -0
  24. package/dist/calcite/assets/table/t9n/messages_bg.json +7 -0
  25. package/dist/calcite/assets/table/t9n/messages_bs.json +7 -0
  26. package/dist/calcite/assets/table/t9n/messages_ca.json +7 -0
  27. package/dist/calcite/assets/table/t9n/messages_cs.json +7 -0
  28. package/dist/calcite/assets/table/t9n/messages_da.json +7 -0
  29. package/dist/calcite/assets/table/t9n/messages_de.json +7 -0
  30. package/dist/calcite/assets/table/t9n/messages_el.json +7 -0
  31. package/dist/calcite/assets/table/t9n/messages_en.json +7 -0
  32. package/dist/calcite/assets/table/t9n/messages_es.json +7 -0
  33. package/dist/calcite/assets/table/t9n/messages_et.json +7 -0
  34. package/dist/calcite/assets/table/t9n/messages_fi.json +7 -0
  35. package/dist/calcite/assets/table/t9n/messages_fr.json +7 -0
  36. package/dist/calcite/assets/table/t9n/messages_he.json +7 -0
  37. package/dist/calcite/assets/table/t9n/messages_hr.json +7 -0
  38. package/dist/calcite/assets/table/t9n/messages_hu.json +7 -0
  39. package/dist/calcite/assets/table/t9n/messages_id.json +7 -0
  40. package/dist/calcite/assets/table/t9n/messages_it.json +7 -0
  41. package/dist/calcite/assets/table/t9n/messages_ja.json +7 -0
  42. package/dist/calcite/assets/table/t9n/messages_ko.json +7 -0
  43. package/dist/calcite/assets/table/t9n/messages_lt.json +7 -0
  44. package/dist/calcite/assets/table/t9n/messages_lv.json +7 -0
  45. package/dist/calcite/assets/table/t9n/messages_nl.json +7 -0
  46. package/dist/calcite/assets/table/t9n/messages_no.json +7 -0
  47. package/dist/calcite/assets/table/t9n/messages_pl.json +7 -0
  48. package/dist/calcite/assets/table/t9n/messages_pt-BR.json +7 -0
  49. package/dist/calcite/assets/table/t9n/messages_pt-PT.json +7 -0
  50. package/dist/calcite/assets/table/t9n/messages_ro.json +7 -0
  51. package/dist/calcite/assets/table/t9n/messages_ru.json +7 -0
  52. package/dist/calcite/assets/table/t9n/messages_sk.json +7 -0
  53. package/dist/calcite/assets/table/t9n/messages_sl.json +7 -0
  54. package/dist/calcite/assets/table/t9n/messages_sr.json +7 -0
  55. package/dist/calcite/assets/table/t9n/messages_sv.json +7 -0
  56. package/dist/calcite/assets/table/t9n/messages_th.json +7 -0
  57. package/dist/calcite/assets/table/t9n/messages_tr.json +7 -0
  58. package/dist/calcite/assets/table/t9n/messages_uk.json +7 -0
  59. package/dist/calcite/assets/table/t9n/messages_vi.json +7 -0
  60. package/dist/calcite/assets/table/t9n/messages_zh-CN.json +7 -0
  61. package/dist/calcite/assets/table/t9n/messages_zh-HK.json +7 -0
  62. package/dist/calcite/assets/table/t9n/messages_zh-TW.json +7 -0
  63. package/dist/calcite/assets/table-cell/t9n/index.d.ts +7 -0
  64. package/dist/calcite/assets/table-cell/t9n/messages.json +7 -0
  65. package/dist/calcite/assets/table-cell/t9n/messages_ar.json +7 -0
  66. package/dist/calcite/assets/table-cell/t9n/messages_bg.json +7 -0
  67. package/dist/calcite/assets/table-cell/t9n/messages_bs.json +7 -0
  68. package/dist/calcite/assets/table-cell/t9n/messages_ca.json +7 -0
  69. package/dist/calcite/assets/table-cell/t9n/messages_cs.json +7 -0
  70. package/dist/calcite/assets/table-cell/t9n/messages_da.json +7 -0
  71. package/dist/calcite/assets/table-cell/t9n/messages_de.json +7 -0
  72. package/dist/calcite/assets/table-cell/t9n/messages_el.json +7 -0
  73. package/dist/calcite/assets/table-cell/t9n/messages_en.json +7 -0
  74. package/dist/calcite/assets/table-cell/t9n/messages_es.json +7 -0
  75. package/dist/calcite/assets/table-cell/t9n/messages_et.json +7 -0
  76. package/dist/calcite/assets/table-cell/t9n/messages_fi.json +7 -0
  77. package/dist/calcite/assets/table-cell/t9n/messages_fr.json +7 -0
  78. package/dist/calcite/assets/table-cell/t9n/messages_he.json +7 -0
  79. package/dist/calcite/assets/table-cell/t9n/messages_hr.json +7 -0
  80. package/dist/calcite/assets/table-cell/t9n/messages_hu.json +7 -0
  81. package/dist/calcite/assets/table-cell/t9n/messages_id.json +7 -0
  82. package/dist/calcite/assets/table-cell/t9n/messages_it.json +7 -0
  83. package/dist/calcite/assets/table-cell/t9n/messages_ja.json +7 -0
  84. package/dist/calcite/assets/table-cell/t9n/messages_ko.json +7 -0
  85. package/dist/calcite/assets/table-cell/t9n/messages_lt.json +7 -0
  86. package/dist/calcite/assets/table-cell/t9n/messages_lv.json +7 -0
  87. package/dist/calcite/assets/table-cell/t9n/messages_nl.json +7 -0
  88. package/dist/calcite/assets/table-cell/t9n/messages_no.json +7 -0
  89. package/dist/calcite/assets/table-cell/t9n/messages_pl.json +7 -0
  90. package/dist/calcite/assets/table-cell/t9n/messages_pt-BR.json +7 -0
  91. package/dist/calcite/assets/table-cell/t9n/messages_pt-PT.json +7 -0
  92. package/dist/calcite/assets/table-cell/t9n/messages_ro.json +7 -0
  93. package/dist/calcite/assets/table-cell/t9n/messages_ru.json +7 -0
  94. package/dist/calcite/assets/table-cell/t9n/messages_sk.json +7 -0
  95. package/dist/calcite/assets/table-cell/t9n/messages_sl.json +7 -0
  96. package/dist/calcite/assets/table-cell/t9n/messages_sr.json +7 -0
  97. package/dist/calcite/assets/table-cell/t9n/messages_sv.json +7 -0
  98. package/dist/calcite/assets/table-cell/t9n/messages_th.json +7 -0
  99. package/dist/calcite/assets/table-cell/t9n/messages_tr.json +7 -0
  100. package/dist/calcite/assets/table-cell/t9n/messages_uk.json +7 -0
  101. package/dist/calcite/assets/table-cell/t9n/messages_vi.json +7 -0
  102. package/dist/calcite/assets/table-cell/t9n/messages_zh-CN.json +7 -0
  103. package/dist/calcite/assets/table-cell/t9n/messages_zh-HK.json +7 -0
  104. package/dist/calcite/assets/table-cell/t9n/messages_zh-TW.json +7 -0
  105. package/dist/calcite/assets/table-header/t9n/index.d.ts +8 -0
  106. package/dist/calcite/assets/table-header/t9n/messages.json +8 -0
  107. package/dist/calcite/assets/table-header/t9n/messages_ar.json +8 -0
  108. package/dist/calcite/assets/table-header/t9n/messages_bg.json +8 -0
  109. package/dist/calcite/assets/table-header/t9n/messages_bs.json +8 -0
  110. package/dist/calcite/assets/table-header/t9n/messages_ca.json +8 -0
  111. package/dist/calcite/assets/table-header/t9n/messages_cs.json +8 -0
  112. package/dist/calcite/assets/table-header/t9n/messages_da.json +8 -0
  113. package/dist/calcite/assets/table-header/t9n/messages_de.json +8 -0
  114. package/dist/calcite/assets/table-header/t9n/messages_el.json +8 -0
  115. package/dist/calcite/assets/table-header/t9n/messages_en.json +8 -0
  116. package/dist/calcite/assets/table-header/t9n/messages_es.json +8 -0
  117. package/dist/calcite/assets/table-header/t9n/messages_et.json +8 -0
  118. package/dist/calcite/assets/table-header/t9n/messages_fi.json +8 -0
  119. package/dist/calcite/assets/table-header/t9n/messages_fr.json +8 -0
  120. package/dist/calcite/assets/table-header/t9n/messages_he.json +8 -0
  121. package/dist/calcite/assets/table-header/t9n/messages_hr.json +8 -0
  122. package/dist/calcite/assets/table-header/t9n/messages_hu.json +8 -0
  123. package/dist/calcite/assets/table-header/t9n/messages_id.json +8 -0
  124. package/dist/calcite/assets/table-header/t9n/messages_it.json +8 -0
  125. package/dist/calcite/assets/table-header/t9n/messages_ja.json +8 -0
  126. package/dist/calcite/assets/table-header/t9n/messages_ko.json +8 -0
  127. package/dist/calcite/assets/table-header/t9n/messages_lt.json +8 -0
  128. package/dist/calcite/assets/table-header/t9n/messages_lv.json +8 -0
  129. package/dist/calcite/assets/table-header/t9n/messages_nl.json +8 -0
  130. package/dist/calcite/assets/table-header/t9n/messages_no.json +8 -0
  131. package/dist/calcite/assets/table-header/t9n/messages_pl.json +8 -0
  132. package/dist/calcite/assets/table-header/t9n/messages_pt-BR.json +8 -0
  133. package/dist/calcite/assets/table-header/t9n/messages_pt-PT.json +8 -0
  134. package/dist/calcite/assets/table-header/t9n/messages_ro.json +8 -0
  135. package/dist/calcite/assets/table-header/t9n/messages_ru.json +8 -0
  136. package/dist/calcite/assets/table-header/t9n/messages_sk.json +8 -0
  137. package/dist/calcite/assets/table-header/t9n/messages_sl.json +8 -0
  138. package/dist/calcite/assets/table-header/t9n/messages_sr.json +8 -0
  139. package/dist/calcite/assets/table-header/t9n/messages_sv.json +8 -0
  140. package/dist/calcite/assets/table-header/t9n/messages_th.json +8 -0
  141. package/dist/calcite/assets/table-header/t9n/messages_tr.json +8 -0
  142. package/dist/calcite/assets/table-header/t9n/messages_uk.json +8 -0
  143. package/dist/calcite/assets/table-header/t9n/messages_vi.json +8 -0
  144. package/dist/calcite/assets/table-header/t9n/messages_zh-CN.json +8 -0
  145. package/dist/calcite/assets/table-header/t9n/messages_zh-HK.json +8 -0
  146. package/dist/calcite/assets/table-header/t9n/messages_zh-TW.json +8 -0
  147. package/dist/calcite/calcite.esm.js +2 -2
  148. package/dist/calcite/index.esm.js +2 -2
  149. package/dist/calcite/p-02ffea42.entry.js +6 -0
  150. package/dist/calcite/p-0671d350.js +6 -0
  151. package/dist/calcite/p-097135c4.js +7 -0
  152. package/dist/calcite/p-0b812538.entry.js +6 -0
  153. package/dist/calcite/p-0f6b183c.js +6 -0
  154. package/dist/calcite/p-0fb3b20e.entry.js +6 -0
  155. package/dist/calcite/p-13b5990a.js +6 -0
  156. package/dist/calcite/p-1707e155.js +6 -0
  157. package/dist/calcite/p-17ede011.js +6 -0
  158. package/dist/calcite/p-1811fd36.js +6 -0
  159. package/dist/calcite/p-1c8962c4.entry.js +6 -0
  160. package/dist/calcite/p-1e702809.js +6 -0
  161. package/dist/calcite/p-1fc90548.js +6 -0
  162. package/dist/calcite/p-222beb73.js +6 -0
  163. package/dist/calcite/p-22363d44.js +6 -0
  164. package/dist/calcite/p-2273d064.js +6 -0
  165. package/dist/calcite/p-2372be2e.entry.js +6 -0
  166. package/dist/calcite/p-24d121bf.js +6 -0
  167. package/dist/calcite/p-2530f8ac.js +6 -0
  168. package/dist/calcite/p-25b1d76a.js +6 -0
  169. package/dist/calcite/p-272c5bed.entry.js +6 -0
  170. package/dist/calcite/p-27ad3f12.entry.js +6 -0
  171. package/dist/calcite/p-27cbf1a4.entry.js +6 -0
  172. package/dist/calcite/p-2a48d634.entry.js +6 -0
  173. package/dist/calcite/p-2b6a09e6.js +6 -0
  174. package/dist/calcite/p-2e240cdb.entry.js +6 -0
  175. package/dist/calcite/p-2f78a808.js +6 -0
  176. package/dist/calcite/p-337b1135.entry.js +6 -0
  177. package/dist/calcite/p-34c5c4fe.entry.js +6 -0
  178. package/dist/calcite/p-361b0e6e.js +6 -0
  179. package/dist/calcite/p-36260d4e.js +6 -0
  180. package/dist/calcite/p-37403e16.js +6 -0
  181. package/dist/calcite/p-377c22c3.entry.js +6 -0
  182. package/dist/calcite/p-39dd49cf.js +10 -0
  183. package/dist/calcite/p-3b435340.entry.js +6 -0
  184. package/dist/calcite/p-3c76739d.js +12 -0
  185. package/dist/calcite/p-3f076cf9.entry.js +6 -0
  186. package/dist/calcite/p-41acfce2.entry.js +6 -0
  187. package/dist/calcite/p-444c47da.js +6 -0
  188. package/dist/calcite/p-45bf4a19.entry.js +6 -0
  189. package/dist/calcite/p-477dc54e.js +6 -0
  190. package/dist/calcite/p-47f9f3b5.js +6 -0
  191. package/dist/calcite/p-49b67c70.entry.js +6 -0
  192. package/dist/calcite/p-4ce791e7.js +6 -0
  193. package/dist/calcite/p-4da64c86.js +6 -0
  194. package/dist/calcite/p-4f2ebe69.entry.js +6 -0
  195. package/dist/calcite/p-4fee9dc6.entry.js +6 -0
  196. package/dist/calcite/p-50b2ff1a.js +6 -0
  197. package/dist/calcite/p-554c0b34.js +6 -0
  198. package/dist/calcite/p-55e614f6.entry.js +6 -0
  199. package/dist/calcite/p-56317464.js +6 -0
  200. package/dist/calcite/p-5709aab2.entry.js +6 -0
  201. package/dist/calcite/p-576ec810.js +6 -0
  202. package/dist/calcite/p-5a36bc27.entry.js +6 -0
  203. package/dist/calcite/p-5b082756.entry.js +6 -0
  204. package/dist/calcite/p-5c9e4d27.entry.js +6 -0
  205. package/dist/calcite/p-5e43d2da.entry.js +6 -0
  206. package/dist/calcite/p-61438d6f.js +6 -0
  207. package/dist/calcite/p-658a356f.entry.js +6 -0
  208. package/dist/calcite/p-65be87f1.js +6 -0
  209. package/dist/calcite/p-686cf487.js +6 -0
  210. package/dist/calcite/p-6a52269c.entry.js +6 -0
  211. package/dist/calcite/p-6c1efce9.js +6 -0
  212. package/dist/calcite/p-6dd676a4.js +6 -0
  213. package/dist/calcite/p-6e8baae4.entry.js +6 -0
  214. package/dist/calcite/p-6ea637bb.js +6 -0
  215. package/dist/calcite/p-6ec6a881.js +6 -0
  216. package/dist/calcite/p-767e03c5.js +6 -0
  217. package/dist/calcite/p-79606642.entry.js +6 -0
  218. package/dist/calcite/p-7b329832.entry.js +6 -0
  219. package/dist/calcite/p-7cd7bfb2.entry.js +6 -0
  220. package/dist/calcite/p-7d6b89b0.js +6 -0
  221. package/dist/calcite/p-7ffbb9cd.entry.js +6 -0
  222. package/dist/calcite/p-8031130e.js +6 -0
  223. package/dist/calcite/p-804aaf8e.entry.js +6 -0
  224. package/dist/calcite/p-823d0849.js +6 -0
  225. package/dist/calcite/p-83053964.js +6 -0
  226. package/dist/calcite/p-8517aeea.entry.js +6 -0
  227. package/dist/calcite/p-8959b901.js +6 -0
  228. package/dist/calcite/p-8a5243c3.js +6 -0
  229. package/dist/calcite/p-8a965b77.entry.js +6 -0
  230. package/dist/calcite/p-8c92524d.entry.js +6 -0
  231. package/dist/calcite/p-909ace66.js +6 -0
  232. package/dist/calcite/p-915ff1b7.entry.js +6 -0
  233. package/dist/calcite/p-9391cf60.js +6 -0
  234. package/dist/calcite/p-94192aca.js +6 -0
  235. package/dist/calcite/p-94be6a04.entry.js +6 -0
  236. package/dist/calcite/p-97d26409.entry.js +6 -0
  237. package/dist/calcite/p-98810dc4.js +6 -0
  238. package/dist/calcite/p-999f617b.entry.js +6 -0
  239. package/dist/calcite/p-9e919997.js +6 -0
  240. package/dist/calcite/p-a023f677.js +11 -0
  241. package/dist/calcite/p-a02fc70b.entry.js +6 -0
  242. package/dist/calcite/p-a25ff3f3.entry.js +6 -0
  243. package/dist/calcite/p-a282f999.js +6 -0
  244. package/dist/calcite/p-a3e6ad4d.js +6 -0
  245. package/dist/calcite/p-a62aec14.entry.js +6 -0
  246. package/dist/calcite/p-a7437151.js +6 -0
  247. package/dist/calcite/p-a8a275e3.entry.js +6 -0
  248. package/dist/calcite/p-a99b7a6e.entry.js +6 -0
  249. package/dist/calcite/p-aa3ccef2.entry.js +6 -0
  250. package/dist/calcite/p-ac7c8322.js +6 -0
  251. package/dist/calcite/p-ad085842.js +6 -0
  252. package/dist/calcite/p-ad0e1a81.entry.js +6 -0
  253. package/dist/calcite/p-adf074f6.js +6 -0
  254. package/dist/calcite/p-ae0394bd.js +6 -0
  255. package/dist/calcite/p-ae8aef0c.entry.js +6 -0
  256. package/dist/calcite/p-aedf9daa.js +6 -0
  257. package/dist/calcite/p-af570690.js +6 -0
  258. package/dist/calcite/p-af66df52.entry.js +6 -0
  259. package/dist/calcite/p-b2ba068f.js +6 -0
  260. package/dist/calcite/p-b2f9cb5d.js +6 -0
  261. package/dist/calcite/p-b3863301.js +6 -0
  262. package/dist/calcite/p-b464d393.js +6 -0
  263. package/dist/calcite/p-b698c6d7.js +6 -0
  264. package/dist/calcite/p-bc403d2d.js +6 -0
  265. package/dist/calcite/p-bc4b9c89.entry.js +6 -0
  266. package/dist/calcite/p-bc6a9d3b.entry.js +6 -0
  267. package/dist/calcite/p-bd807a06.js +6 -0
  268. package/dist/calcite/p-be5be4d2.js +6 -0
  269. package/dist/calcite/p-c2799be3.js +6 -0
  270. package/dist/calcite/p-c9525878.entry.js +6 -0
  271. package/dist/calcite/p-ccb569a8.js +6 -0
  272. package/dist/calcite/p-ce8dc48f.js +6 -0
  273. package/dist/calcite/p-cfcf9eeb.entry.js +6 -0
  274. package/dist/calcite/p-d0e893d5.entry.js +6 -0
  275. package/dist/calcite/p-d2cb5de5.entry.js +6 -0
  276. package/dist/calcite/p-d2fcaba3.entry.js +6 -0
  277. package/dist/calcite/p-d469d0c1.entry.js +6 -0
  278. package/dist/calcite/p-d6a8916c.js +6 -0
  279. package/dist/calcite/p-da969cc6.entry.js +6 -0
  280. package/dist/calcite/p-db158a77.entry.js +6 -0
  281. package/dist/calcite/p-dcc173b7.entry.js +6 -0
  282. package/dist/calcite/p-e5172342.js +6 -0
  283. package/dist/calcite/p-e755a984.js +6 -0
  284. package/dist/calcite/p-e9457d6a.js +6 -0
  285. package/dist/calcite/p-ec7e22a7.entry.js +6 -0
  286. package/dist/calcite/p-ec90ebf3.js +6 -0
  287. package/dist/calcite/p-ed3b2c5d.entry.js +6 -0
  288. package/dist/calcite/p-f11f14c7.entry.js +6 -0
  289. package/dist/calcite/p-f18ca3b8.js +6 -0
  290. package/dist/calcite/p-f211c0e7.entry.js +6 -0
  291. package/dist/calcite/p-f3a04f66.js +6 -0
  292. package/dist/calcite/p-f4f74f8c.entry.js +6 -0
  293. package/dist/calcite/p-f598d949.js +6 -0
  294. package/dist/calcite/p-f6d25277.entry.js +6 -0
  295. package/dist/calcite/p-f71ac574.js +6 -0
  296. package/dist/calcite/p-f88aeaed.js +6 -0
  297. package/dist/calcite/p-f8e28381.entry.js +6 -0
  298. package/dist/calcite/p-f9927374.js +6 -0
  299. package/dist/calcite/p-fbfb9644.js +6 -0
  300. package/dist/calcite/p-fd99af34.js +6 -0
  301. package/dist/calcite/p-fe2a6014.entry.js +6 -0
  302. package/dist/calcite/p-fe2af1ec.js +6 -0
  303. package/dist/calcite/p-feaca3ef.entry.js +6 -0
  304. package/dist/calcite/p-feccc2ea.entry.js +6 -0
  305. package/dist/cjs/ExpandToggle-1d6b0af5.js +107 -0
  306. package/dist/cjs/FloatingArrow-874140c1.js +45 -0
  307. package/dist/cjs/Heading-463035a8.js +20 -0
  308. package/dist/cjs/app-globals-d9f3e424.js +59 -0
  309. package/dist/cjs/ar-514a5742.js +98 -0
  310. package/dist/cjs/array-49760407.js +12 -0
  311. package/dist/cjs/bg-a4915250.js +79 -0
  312. package/dist/cjs/browser-c5494765.js +18 -0
  313. package/dist/cjs/bs-6002d2dc.js +48 -0
  314. package/dist/cjs/ca-fa6e53e8.js +68 -0
  315. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  316. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  317. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  318. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  319. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  320. package/dist/cjs/calcite-action.cjs.entry.js +12 -11
  321. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  322. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  323. package/dist/cjs/calcite-block_2.cjs.entry.js +14 -13
  324. package/dist/cjs/calcite-button.cjs.entry.js +14 -13
  325. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  326. package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -10
  327. package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -8
  328. package/dist/cjs/calcite-chip.cjs.entry.js +13 -12
  329. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -15
  330. package/dist/cjs/calcite-combobox_3.cjs.entry.js +22 -20
  331. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +14 -13
  332. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +13 -12
  333. package/dist/cjs/calcite-fab.cjs.entry.js +8 -7
  334. package/dist/cjs/calcite-filter.cjs.entry.js +14 -13
  335. package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -12
  336. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  337. package/dist/cjs/calcite-graph_2.cjs.entry.js +14 -13
  338. package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
  339. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  340. package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -12
  341. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +23 -41
  342. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  343. package/dist/cjs/calcite-input-number.cjs.entry.js +14 -13
  344. package/dist/cjs/calcite-input-text.cjs.entry.js +14 -13
  345. package/dist/cjs/calcite-input-time-picker.calcite-time-picker-4c6c855a.js +2823 -0
  346. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +17 -16
  347. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +14 -13
  348. package/dist/cjs/calcite-input.cjs.entry.js +14 -13
  349. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  350. package/dist/cjs/calcite-link.cjs.entry.js +8 -7
  351. package/dist/cjs/calcite-list_3.cjs.entry.js +16 -15
  352. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  353. package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
  354. package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
  355. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  356. package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
  357. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  358. package/dist/cjs/calcite-option_3.cjs.entry.js +11 -10
  359. package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
  360. package/dist/cjs/calcite-panel.cjs.entry.js +15 -14
  361. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -16
  362. package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
  363. package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
  364. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  365. package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -10
  366. package/dist/cjs/calcite-rating.cjs.entry.js +14 -13
  367. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  368. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +11 -10
  369. package/dist/cjs/calcite-sheet.cjs.entry.js +9 -9
  370. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  371. package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -8
  372. package/dist/cjs/calcite-split-button.cjs.entry.js +5 -4
  373. package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
  374. package/dist/cjs/calcite-stepper_2.cjs.entry.js +11 -10
  375. package/dist/cjs/calcite-switch.cjs.entry.js +11 -10
  376. package/dist/cjs/calcite-tab_4.cjs.entry.js +11 -10
  377. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +282 -0
  378. package/dist/cjs/calcite-table-row.cjs.entry.js +235 -0
  379. package/dist/cjs/calcite-table.cjs.entry.js +299 -0
  380. package/dist/cjs/calcite-text-area.cjs.entry.js +16 -15
  381. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -5
  382. package/dist/cjs/calcite-tile.cjs.entry.js +9 -8
  383. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  384. package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
  385. package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -8
  386. package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -16
  387. package/dist/cjs/calcite.cjs.js +5 -5
  388. package/dist/cjs/conditionalSlot-4b033773.js +58 -0
  389. package/dist/cjs/cs-15a12e01.js +144 -0
  390. package/dist/cjs/da-e13e1f52.js +63 -0
  391. package/dist/cjs/de-at-15dc244e.js +87 -0
  392. package/dist/cjs/de-ch-ff28d9e8.js +87 -0
  393. package/dist/cjs/de-dd9dccdd.js +88 -0
  394. package/dist/cjs/debounce-7a852ee1.js +496 -0
  395. package/dist/cjs/dom-ea0bb304.js +1056 -0
  396. package/dist/cjs/el-83749216.js +63 -0
  397. package/dist/cjs/en-au-ad58e9d1.js +63 -0
  398. package/dist/cjs/en-ca-a6686349.js +62 -0
  399. package/dist/cjs/en-gb-eab173b8.js +66 -0
  400. package/dist/cjs/es-fdfb457d.js +63 -0
  401. package/dist/cjs/es-mx-addeb4fe.js +62 -0
  402. package/dist/cjs/et-870c4a2e.js +89 -0
  403. package/dist/cjs/fi-0464f62e.js +112 -0
  404. package/dist/cjs/filter-4d2c1e89.js +760 -0
  405. package/dist/cjs/floating-ui-cda0e6e8.js +1883 -0
  406. package/dist/cjs/focusTrapComponent-39f45689.js +999 -0
  407. package/dist/cjs/form-5db341dd.js +283 -0
  408. package/dist/cjs/fr-545c7bb9.js +65 -0
  409. package/dist/cjs/fr-ch-e0e7786d.js +63 -0
  410. package/dist/cjs/guid-e9616580.js +21 -0
  411. package/dist/cjs/he-ab6813f7.js +102 -0
  412. package/dist/cjs/hi-c0aa717d.js +62 -0
  413. package/dist/cjs/hr-a32a418d.js +77 -0
  414. package/dist/cjs/hu-3930a9b4.js +85 -0
  415. package/dist/cjs/id-99e82723.js +63 -0
  416. package/dist/cjs/index-27680056.js +2327 -0
  417. package/dist/cjs/index.cjs.js +2 -2
  418. package/dist/cjs/interactive-486f5dea.js +142 -0
  419. package/dist/cjs/it-a485d1c0.js +63 -0
  420. package/dist/cjs/it-ch-9e137ea8.js +63 -0
  421. package/dist/cjs/ja-9e24f043.js +69 -0
  422. package/dist/cjs/key-2dc1cce5.js +14 -0
  423. package/dist/cjs/ko-09d15e16.js +69 -0
  424. package/dist/cjs/label-69736362.js +149 -0
  425. package/dist/cjs/loadable-14c9679e.js +89 -0
  426. package/dist/cjs/loader.cjs.js +5 -5
  427. package/dist/cjs/locale-251d00f4.js +594 -0
  428. package/dist/cjs/lt-f09dc473.js +94 -0
  429. package/dist/cjs/lv-33900432.js +63 -0
  430. package/dist/cjs/math-51ecbcbb.js +55 -0
  431. package/dist/cjs/mk-821bfc0b.js +63 -0
  432. package/dist/cjs/nb-85a288f3.js +64 -0
  433. package/dist/cjs/nl-e41301f5.js +64 -0
  434. package/dist/cjs/observers-9a8529c5.js +48 -0
  435. package/dist/cjs/openCloseComponent-5675db12.js +84 -0
  436. package/dist/cjs/pl-9df5fdb6.js +111 -0
  437. package/dist/cjs/pt-448f437b.js +64 -0
  438. package/dist/cjs/pt-br-d0f74cf1.js +62 -0
  439. package/dist/cjs/resources-015e0632.js +45 -0
  440. package/dist/cjs/resources-62652321.js +22 -0
  441. package/dist/cjs/resources-7220131c.js +24 -0
  442. package/dist/cjs/resources-8f715b22.js +410 -0
  443. package/dist/cjs/resources-b32e1ff0.js +27 -0
  444. package/dist/cjs/resources-b79ae61a.js +21 -0
  445. package/dist/cjs/resources-f55b8763.js +15 -0
  446. package/dist/cjs/ro-1704d5b7.js +63 -0
  447. package/dist/cjs/ru-325338ca.js +123 -0
  448. package/dist/cjs/sk-0b4d5d38.js +145 -0
  449. package/dist/cjs/sl-ed1345c9.js +63 -0
  450. package/dist/cjs/sortableComponent-765cf4f4.js +3107 -0
  451. package/dist/cjs/sr-08b334b9.js +98 -0
  452. package/dist/cjs/sv-b1d47816.js +68 -0
  453. package/dist/cjs/t9n-220a1c81.js +95 -0
  454. package/dist/cjs/th-8823c841.js +62 -0
  455. package/dist/cjs/throttle-07aa9840.js +75 -0
  456. package/dist/cjs/tr-7fc10d5c.js +63 -0
  457. package/dist/cjs/uk-2f738a79.js +101 -0
  458. package/dist/cjs/utils-58d8bf15.js +305 -0
  459. package/dist/cjs/utils-8d6c0881.js +216 -0
  460. package/dist/cjs/vi-668b169e.js +67 -0
  461. package/dist/cjs/zh-cn-800db98e.js +91 -0
  462. package/dist/cjs/zh-hk-b1632838.js +68 -0
  463. package/dist/cjs/zh-tw-5ef701f8.js +89 -0
  464. package/dist/collection/collection-manifest.json +4 -0
  465. package/dist/collection/components/accordion/accordion.js +1 -1
  466. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  467. package/dist/collection/components/accordion-item/resources.js +1 -1
  468. package/dist/collection/components/action/action.js +1 -1
  469. package/dist/collection/components/action/resources.js +1 -1
  470. package/dist/collection/components/action-bar/action-bar.js +1 -1
  471. package/dist/collection/components/action-bar/resources.js +1 -1
  472. package/dist/collection/components/action-bar/utils.js +1 -1
  473. package/dist/collection/components/action-group/action-group.js +1 -1
  474. package/dist/collection/components/action-group/resources.js +1 -1
  475. package/dist/collection/components/action-menu/action-menu.js +1 -1
  476. package/dist/collection/components/action-menu/resources.js +1 -1
  477. package/dist/collection/components/action-pad/action-pad.js +1 -1
  478. package/dist/collection/components/action-pad/resources.js +1 -1
  479. package/dist/collection/components/alert/alert.js +1 -1
  480. package/dist/collection/components/alert/resources.js +1 -1
  481. package/dist/collection/components/avatar/avatar.js +1 -1
  482. package/dist/collection/components/avatar/utils.js +1 -1
  483. package/dist/collection/components/block/block.js +1 -1
  484. package/dist/collection/components/block/resources.js +1 -1
  485. package/dist/collection/components/block-section/block-section.js +1 -1
  486. package/dist/collection/components/block-section/resources.js +1 -1
  487. package/dist/collection/components/button/button.js +1 -1
  488. package/dist/collection/components/button/resources.js +1 -1
  489. package/dist/collection/components/card/card.js +1 -1
  490. package/dist/collection/components/card/resources.js +1 -1
  491. package/dist/collection/components/checkbox/checkbox.js +1 -1
  492. package/dist/collection/components/chip/chip.js +1 -1
  493. package/dist/collection/components/chip/resources.js +1 -1
  494. package/dist/collection/components/chip-group/chip-group.js +1 -1
  495. package/dist/collection/components/color-picker/color-picker.js +1 -1
  496. package/dist/collection/components/color-picker/resources.js +1 -1
  497. package/dist/collection/components/color-picker/utils.js +1 -1
  498. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  499. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  500. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  501. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  502. package/dist/collection/components/combobox/combobox.js +4 -3
  503. package/dist/collection/components/combobox/resources.js +1 -1
  504. package/dist/collection/components/combobox/utils.js +1 -1
  505. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  506. package/dist/collection/components/combobox-item/resources.js +1 -1
  507. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  508. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  509. package/dist/collection/components/date-picker/date-picker.js +1 -1
  510. package/dist/collection/components/date-picker/resources.js +1 -1
  511. package/dist/collection/components/date-picker/utils.js +1 -1
  512. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  513. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  514. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  515. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  516. package/dist/collection/components/dropdown/dropdown.js +1 -1
  517. package/dist/collection/components/dropdown/resources.js +1 -1
  518. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  519. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  520. package/dist/collection/components/dropdown-item/resources.js +1 -1
  521. package/dist/collection/components/fab/fab.js +1 -1
  522. package/dist/collection/components/fab/resources.js +1 -1
  523. package/dist/collection/components/filter/filter.js +1 -1
  524. package/dist/collection/components/filter/resources.js +1 -1
  525. package/dist/collection/components/flow/flow.js +1 -1
  526. package/dist/collection/components/flow/resources.js +1 -1
  527. package/dist/collection/components/flow-item/flow-item.js +1 -1
  528. package/dist/collection/components/flow-item/resources.js +1 -1
  529. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  530. package/dist/collection/components/functional/FloatingArrow.js +1 -1
  531. package/dist/collection/components/functional/Heading.js +1 -1
  532. package/dist/collection/components/functional/XButton.js +1 -1
  533. package/dist/collection/components/graph/graph.js +1 -1
  534. package/dist/collection/components/graph/util.js +1 -1
  535. package/dist/collection/components/handle/handle.js +1 -1
  536. package/dist/collection/components/handle/resources.js +1 -1
  537. package/dist/collection/components/icon/assets/icon/addLayerService16.json +1 -0
  538. package/dist/collection/components/icon/assets/icon/addLayerService24.json +1 -0
  539. package/dist/collection/components/icon/assets/icon/addLayerService32.json +1 -0
  540. package/dist/collection/components/icon/assets/icon/circleStop16.json +1 -0
  541. package/dist/collection/components/icon/assets/icon/circleStop16F.json +1 -0
  542. package/dist/collection/components/icon/assets/icon/circleStop24.json +1 -0
  543. package/dist/collection/components/icon/assets/icon/circleStop24F.json +1 -0
  544. package/dist/collection/components/icon/assets/icon/circleStop32.json +1 -0
  545. package/dist/collection/components/icon/assets/icon/circleStop32F.json +1 -0
  546. package/dist/collection/components/icon/assets/icon/hideLayers16.json +1 -0
  547. package/dist/collection/components/icon/assets/icon/hideLayers24.json +1 -0
  548. package/dist/collection/components/icon/assets/icon/hideLayers32.json +1 -0
  549. package/dist/collection/components/icon/assets/icon/minusSquare16F.json +1 -1
  550. package/dist/collection/components/icon/assets/icon/minusSquare32F.json +1 -1
  551. package/dist/collection/components/icon/assets/icon/stopSquare16.json +1 -0
  552. package/dist/collection/components/icon/assets/icon/stopSquare16F.json +1 -0
  553. package/dist/collection/components/icon/assets/icon/stopSquare24.json +1 -0
  554. package/dist/collection/components/icon/assets/icon/stopSquare24F.json +1 -0
  555. package/dist/collection/components/icon/assets/icon/stopSquare32.json +1 -0
  556. package/dist/collection/components/icon/assets/icon/stopSquare32F.json +1 -0
  557. package/dist/collection/components/icon/icon.js +1 -1
  558. package/dist/collection/components/icon/resources.js +1 -1
  559. package/dist/collection/components/icon/utils.js +1 -1
  560. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  561. package/dist/collection/components/inline-editable/resources.js +1 -1
  562. package/dist/collection/components/input/input.js +1 -1
  563. package/dist/collection/components/input/resources.js +1 -1
  564. package/dist/collection/components/input-date-picker/input-date-picker.js +5 -42
  565. package/dist/collection/components/input-date-picker/resources.js +1 -1
  566. package/dist/collection/components/input-date-picker/utils.js +1 -1
  567. package/dist/collection/components/input-message/input-message.js +1 -1
  568. package/dist/collection/components/input-message/interfaces.js +1 -1
  569. package/dist/collection/components/input-number/input-number.js +1 -1
  570. package/dist/collection/components/input-number/resources.js +1 -1
  571. package/dist/collection/components/input-text/input-text.js +1 -1
  572. package/dist/collection/components/input-text/resources.js +1 -1
  573. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  574. package/dist/collection/components/input-time-picker/resources.js +1 -1
  575. package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
  576. package/dist/collection/components/input-time-zone/utils.js +1 -1
  577. package/dist/collection/components/label/label.js +1 -1
  578. package/dist/collection/components/label/resources.js +1 -1
  579. package/dist/collection/components/link/link.js +1 -1
  580. package/dist/collection/components/list/list.js +2 -2
  581. package/dist/collection/components/list/resources.js +1 -1
  582. package/dist/collection/components/list-item/list-item.js +1 -1
  583. package/dist/collection/components/list-item/resources.js +1 -1
  584. package/dist/collection/components/list-item/utils.js +1 -1
  585. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  586. package/dist/collection/components/list-item-group/resources.js +1 -1
  587. package/dist/collection/components/loader/loader.js +1 -1
  588. package/dist/collection/components/menu/menu.js +1 -1
  589. package/dist/collection/components/menu-item/menu-item.js +1 -1
  590. package/dist/collection/components/menu-item/resources.js +1 -1
  591. package/dist/collection/components/meter/meter.js +1 -1
  592. package/dist/collection/components/meter/resources.js +1 -1
  593. package/dist/collection/components/modal/modal.js +1 -1
  594. package/dist/collection/components/modal/resources.js +1 -1
  595. package/dist/collection/components/navigation/navigation.js +1 -1
  596. package/dist/collection/components/navigation/resources.js +1 -1
  597. package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
  598. package/dist/collection/components/navigation-logo/resources.js +1 -1
  599. package/dist/collection/components/navigation-user/navigation-user.js +1 -1
  600. package/dist/collection/components/navigation-user/resources.js +1 -1
  601. package/dist/collection/components/notice/notice.js +1 -1
  602. package/dist/collection/components/notice/resources.js +1 -1
  603. package/dist/collection/components/option/option.js +1 -1
  604. package/dist/collection/components/option-group/option-group.js +1 -1
  605. package/dist/collection/components/pagination/pagination.js +1 -1
  606. package/dist/collection/components/pagination/resources.js +1 -1
  607. package/dist/collection/components/panel/panel.js +1 -1
  608. package/dist/collection/components/panel/resources.js +1 -1
  609. package/dist/collection/components/pick-list/pick-list.js +1 -1
  610. package/dist/collection/components/pick-list/resources.js +1 -1
  611. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  612. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  613. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  614. package/dist/collection/components/pick-list-group/resources.js +1 -1
  615. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  616. package/dist/collection/components/pick-list-item/resources.js +1 -1
  617. package/dist/collection/components/popover/PopoverManager.js +1 -1
  618. package/dist/collection/components/popover/popover.js +1 -1
  619. package/dist/collection/components/popover/resources.js +1 -1
  620. package/dist/collection/components/progress/progress.js +1 -1
  621. package/dist/collection/components/radio-button/radio-button.js +1 -1
  622. package/dist/collection/components/radio-button/resources.js +1 -1
  623. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  624. package/dist/collection/components/rating/function/star.js +1 -1
  625. package/dist/collection/components/rating/rating.js +1 -1
  626. package/dist/collection/components/resources.js +1 -1
  627. package/dist/collection/components/scrim/resources.js +1 -1
  628. package/dist/collection/components/scrim/scrim.js +1 -1
  629. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  630. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  631. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  632. package/dist/collection/components/select/resources.js +1 -1
  633. package/dist/collection/components/select/select.js +1 -1
  634. package/dist/collection/components/sheet/resources.js +1 -1
  635. package/dist/collection/components/sheet/sheet.js +1 -1
  636. package/dist/collection/components/shell/resources.js +1 -1
  637. package/dist/collection/components/shell/shell.js +1 -1
  638. package/dist/collection/components/shell-center-row/resources.js +1 -1
  639. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  640. package/dist/collection/components/shell-panel/resources.js +1 -1
  641. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  642. package/dist/collection/components/slider/resources.js +1 -1
  643. package/dist/collection/components/slider/slider.js +1 -1
  644. package/dist/collection/components/sortable-list/resources.js +1 -1
  645. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  646. package/dist/collection/components/split-button/resources.js +1 -1
  647. package/dist/collection/components/split-button/split-button.js +1 -1
  648. package/dist/collection/components/stack/resources.js +1 -1
  649. package/dist/collection/components/stack/stack.js +1 -1
  650. package/dist/collection/components/stepper/stepper.js +1 -1
  651. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  652. package/dist/collection/components/switch/switch.js +1 -1
  653. package/dist/collection/components/tab/tab.js +1 -1
  654. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  655. package/dist/collection/components/tab-title/resources.js +1 -1
  656. package/dist/collection/components/tab-title/tab-title.js +1 -1
  657. package/dist/collection/components/table/assets/table/t9n/index.d.ts +7 -0
  658. package/dist/collection/components/table/assets/table/t9n/messages.json +7 -0
  659. package/dist/collection/components/table/assets/table/t9n/messages_ar.json +7 -0
  660. package/dist/collection/components/table/assets/table/t9n/messages_bg.json +7 -0
  661. package/dist/collection/components/table/assets/table/t9n/messages_bs.json +7 -0
  662. package/dist/collection/components/table/assets/table/t9n/messages_ca.json +7 -0
  663. package/dist/collection/components/table/assets/table/t9n/messages_cs.json +7 -0
  664. package/dist/collection/components/table/assets/table/t9n/messages_da.json +7 -0
  665. package/dist/collection/components/table/assets/table/t9n/messages_de.json +7 -0
  666. package/dist/collection/components/table/assets/table/t9n/messages_el.json +7 -0
  667. package/dist/collection/components/table/assets/table/t9n/messages_en.json +7 -0
  668. package/dist/collection/components/table/assets/table/t9n/messages_es.json +7 -0
  669. package/dist/collection/components/table/assets/table/t9n/messages_et.json +7 -0
  670. package/dist/collection/components/table/assets/table/t9n/messages_fi.json +7 -0
  671. package/dist/collection/components/table/assets/table/t9n/messages_fr.json +7 -0
  672. package/dist/collection/components/table/assets/table/t9n/messages_he.json +7 -0
  673. package/dist/collection/components/table/assets/table/t9n/messages_hr.json +7 -0
  674. package/dist/collection/components/table/assets/table/t9n/messages_hu.json +7 -0
  675. package/dist/collection/components/table/assets/table/t9n/messages_id.json +7 -0
  676. package/dist/collection/components/table/assets/table/t9n/messages_it.json +7 -0
  677. package/dist/collection/components/table/assets/table/t9n/messages_ja.json +7 -0
  678. package/dist/collection/components/table/assets/table/t9n/messages_ko.json +7 -0
  679. package/dist/collection/components/table/assets/table/t9n/messages_lt.json +7 -0
  680. package/dist/collection/components/table/assets/table/t9n/messages_lv.json +7 -0
  681. package/dist/collection/components/table/assets/table/t9n/messages_nl.json +7 -0
  682. package/dist/collection/components/table/assets/table/t9n/messages_no.json +7 -0
  683. package/dist/collection/components/table/assets/table/t9n/messages_pl.json +7 -0
  684. package/dist/collection/components/table/assets/table/t9n/messages_pt-BR.json +7 -0
  685. package/dist/collection/components/table/assets/table/t9n/messages_pt-PT.json +7 -0
  686. package/dist/collection/components/table/assets/table/t9n/messages_ro.json +7 -0
  687. package/dist/collection/components/table/assets/table/t9n/messages_ru.json +7 -0
  688. package/dist/collection/components/table/assets/table/t9n/messages_sk.json +7 -0
  689. package/dist/collection/components/table/assets/table/t9n/messages_sl.json +7 -0
  690. package/dist/collection/components/table/assets/table/t9n/messages_sr.json +7 -0
  691. package/dist/collection/components/table/assets/table/t9n/messages_sv.json +7 -0
  692. package/dist/collection/components/table/assets/table/t9n/messages_th.json +7 -0
  693. package/dist/collection/components/table/assets/table/t9n/messages_tr.json +7 -0
  694. package/dist/collection/components/table/assets/table/t9n/messages_uk.json +7 -0
  695. package/dist/collection/components/table/assets/table/t9n/messages_vi.json +7 -0
  696. package/dist/collection/components/table/assets/table/t9n/messages_zh-CN.json +7 -0
  697. package/dist/collection/components/table/assets/table/t9n/messages_zh-HK.json +7 -0
  698. package/dist/collection/components/table/assets/table/t9n/messages_zh-TW.json +7 -0
  699. package/dist/collection/components/table/interfaces.js +1 -0
  700. package/dist/collection/components/table/resources.js +21 -0
  701. package/dist/collection/components/table/table.css +118 -0
  702. package/dist/collection/components/table/table.js +654 -0
  703. package/dist/collection/components/table-cell/assets/table-cell/t9n/index.d.ts +7 -0
  704. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages.json +7 -0
  705. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_ar.json +7 -0
  706. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_bg.json +7 -0
  707. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_bs.json +7 -0
  708. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_ca.json +7 -0
  709. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_cs.json +7 -0
  710. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_da.json +7 -0
  711. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_de.json +7 -0
  712. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_el.json +7 -0
  713. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_en.json +7 -0
  714. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_es.json +7 -0
  715. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_et.json +7 -0
  716. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_fi.json +7 -0
  717. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_fr.json +7 -0
  718. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_he.json +7 -0
  719. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_hr.json +7 -0
  720. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_hu.json +7 -0
  721. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_id.json +7 -0
  722. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_it.json +7 -0
  723. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_ja.json +7 -0
  724. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_ko.json +7 -0
  725. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_lt.json +7 -0
  726. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_lv.json +7 -0
  727. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_nl.json +7 -0
  728. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_no.json +7 -0
  729. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_pl.json +7 -0
  730. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_pt-BR.json +7 -0
  731. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_pt-PT.json +7 -0
  732. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_ro.json +7 -0
  733. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_ru.json +7 -0
  734. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_sk.json +7 -0
  735. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_sl.json +7 -0
  736. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_sr.json +7 -0
  737. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_sv.json +7 -0
  738. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_th.json +7 -0
  739. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_tr.json +7 -0
  740. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_uk.json +7 -0
  741. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_vi.json +7 -0
  742. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_zh-CN.json +7 -0
  743. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_zh-HK.json +7 -0
  744. package/dist/collection/components/table-cell/assets/table-cell/t9n/messages_zh-TW.json +7 -0
  745. package/dist/collection/components/table-cell/resources.js +12 -0
  746. package/dist/collection/components/table-cell/table-cell.css +108 -0
  747. package/dist/collection/components/table-cell/table-cell.js +470 -0
  748. package/dist/collection/components/table-header/assets/table-header/t9n/index.d.ts +8 -0
  749. package/dist/collection/components/table-header/assets/table-header/t9n/messages.json +8 -0
  750. package/dist/collection/components/table-header/assets/table-header/t9n/messages_ar.json +8 -0
  751. package/dist/collection/components/table-header/assets/table-header/t9n/messages_bg.json +8 -0
  752. package/dist/collection/components/table-header/assets/table-header/t9n/messages_bs.json +8 -0
  753. package/dist/collection/components/table-header/assets/table-header/t9n/messages_ca.json +8 -0
  754. package/dist/collection/components/table-header/assets/table-header/t9n/messages_cs.json +8 -0
  755. package/dist/collection/components/table-header/assets/table-header/t9n/messages_da.json +8 -0
  756. package/dist/collection/components/table-header/assets/table-header/t9n/messages_de.json +8 -0
  757. package/dist/collection/components/table-header/assets/table-header/t9n/messages_el.json +8 -0
  758. package/dist/collection/components/table-header/assets/table-header/t9n/messages_en.json +8 -0
  759. package/dist/collection/components/table-header/assets/table-header/t9n/messages_es.json +8 -0
  760. package/dist/collection/components/table-header/assets/table-header/t9n/messages_et.json +8 -0
  761. package/dist/collection/components/table-header/assets/table-header/t9n/messages_fi.json +8 -0
  762. package/dist/collection/components/table-header/assets/table-header/t9n/messages_fr.json +8 -0
  763. package/dist/collection/components/table-header/assets/table-header/t9n/messages_he.json +8 -0
  764. package/dist/collection/components/table-header/assets/table-header/t9n/messages_hr.json +8 -0
  765. package/dist/collection/components/table-header/assets/table-header/t9n/messages_hu.json +8 -0
  766. package/dist/collection/components/table-header/assets/table-header/t9n/messages_id.json +8 -0
  767. package/dist/collection/components/table-header/assets/table-header/t9n/messages_it.json +8 -0
  768. package/dist/collection/components/table-header/assets/table-header/t9n/messages_ja.json +8 -0
  769. package/dist/collection/components/table-header/assets/table-header/t9n/messages_ko.json +8 -0
  770. package/dist/collection/components/table-header/assets/table-header/t9n/messages_lt.json +8 -0
  771. package/dist/collection/components/table-header/assets/table-header/t9n/messages_lv.json +8 -0
  772. package/dist/collection/components/table-header/assets/table-header/t9n/messages_nl.json +8 -0
  773. package/dist/collection/components/table-header/assets/table-header/t9n/messages_no.json +8 -0
  774. package/dist/collection/components/table-header/assets/table-header/t9n/messages_pl.json +8 -0
  775. package/dist/collection/components/table-header/assets/table-header/t9n/messages_pt-BR.json +8 -0
  776. package/dist/collection/components/table-header/assets/table-header/t9n/messages_pt-PT.json +8 -0
  777. package/dist/collection/components/table-header/assets/table-header/t9n/messages_ro.json +8 -0
  778. package/dist/collection/components/table-header/assets/table-header/t9n/messages_ru.json +8 -0
  779. package/dist/collection/components/table-header/assets/table-header/t9n/messages_sk.json +8 -0
  780. package/dist/collection/components/table-header/assets/table-header/t9n/messages_sl.json +8 -0
  781. package/dist/collection/components/table-header/assets/table-header/t9n/messages_sr.json +8 -0
  782. package/dist/collection/components/table-header/assets/table-header/t9n/messages_sv.json +8 -0
  783. package/dist/collection/components/table-header/assets/table-header/t9n/messages_th.json +8 -0
  784. package/dist/collection/components/table-header/assets/table-header/t9n/messages_tr.json +8 -0
  785. package/dist/collection/components/table-header/assets/table-header/t9n/messages_uk.json +8 -0
  786. package/dist/collection/components/table-header/assets/table-header/t9n/messages_vi.json +8 -0
  787. package/dist/collection/components/table-header/assets/table-header/t9n/messages_zh-CN.json +8 -0
  788. package/dist/collection/components/table-header/assets/table-header/t9n/messages_zh-HK.json +8 -0
  789. package/dist/collection/components/table-header/assets/table-header/t9n/messages_zh-TW.json +8 -0
  790. package/dist/collection/components/table-header/resources.js +16 -0
  791. package/dist/collection/components/table-header/table-header.css +109 -0
  792. package/dist/collection/components/table-header/table-header.js +535 -0
  793. package/dist/collection/components/table-row/table-row.css +53 -0
  794. package/dist/collection/components/table-row/table-row.js +602 -0
  795. package/dist/collection/components/tabs/resources.js +1 -1
  796. package/dist/collection/components/tabs/tabs.js +1 -1
  797. package/dist/collection/components/text-area/resources.js +1 -1
  798. package/dist/collection/components/text-area/text-area.js +1 -1
  799. package/dist/collection/components/tile/resources.js +1 -1
  800. package/dist/collection/components/tile/tile.js +1 -1
  801. package/dist/collection/components/tile-select/resources.js +1 -1
  802. package/dist/collection/components/tile-select/tile-select.js +1 -1
  803. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  804. package/dist/collection/components/time-picker/resources.js +1 -1
  805. package/dist/collection/components/time-picker/time-picker.js +1 -1
  806. package/dist/collection/components/tip/resources.js +1 -1
  807. package/dist/collection/components/tip/tip.js +1 -1
  808. package/dist/collection/components/tip-group/tip-group.js +1 -1
  809. package/dist/collection/components/tip-manager/resources.js +1 -1
  810. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  811. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  812. package/dist/collection/components/tooltip/resources.js +1 -1
  813. package/dist/collection/components/tooltip/tooltip.js +1 -1
  814. package/dist/collection/components/tooltip/utils.js +1 -1
  815. package/dist/collection/components/tree/tree.js +1 -1
  816. package/dist/collection/components/tree/utils.js +1 -1
  817. package/dist/collection/components/tree-item/resources.js +1 -1
  818. package/dist/collection/components/tree-item/tree-item.js +1 -1
  819. package/dist/collection/components/value-list/resources.js +1 -1
  820. package/dist/collection/components/value-list/utils.js +1 -1
  821. package/dist/collection/components/value-list/value-list.js +1 -1
  822. package/dist/collection/components/value-list-item/resources.js +1 -1
  823. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  824. package/dist/collection/index.js +1 -1
  825. package/dist/collection/utils/array.js +1 -1
  826. package/dist/collection/utils/browser.js +1 -1
  827. package/dist/collection/utils/conditionalSlot.js +1 -1
  828. package/dist/collection/utils/config.js +1 -1
  829. package/dist/collection/utils/date.js +1 -1
  830. package/dist/collection/utils/dom.js +1 -1
  831. package/dist/collection/utils/filter.js +1 -1
  832. package/dist/collection/utils/floating-ui.js +1 -1
  833. package/dist/collection/utils/focusTrapComponent.js +1 -1
  834. package/dist/collection/utils/form.js +1 -1
  835. package/dist/collection/utils/globalAttributes.js +1 -1
  836. package/dist/collection/utils/globalScript.js +1 -1
  837. package/dist/collection/utils/guid.js +1 -1
  838. package/dist/collection/utils/interactive.js +1 -1
  839. package/dist/collection/utils/key.js +1 -1
  840. package/dist/collection/utils/label.js +1 -1
  841. package/dist/collection/utils/loadable.js +1 -1
  842. package/dist/collection/utils/locale.js +1 -1
  843. package/dist/collection/utils/math.js +1 -1
  844. package/dist/collection/utils/mode.js +1 -1
  845. package/dist/collection/utils/number.js +1 -1
  846. package/dist/collection/utils/observers.js +1 -1
  847. package/dist/collection/utils/openCloseComponent.js +1 -1
  848. package/dist/collection/utils/resources.js +1 -1
  849. package/dist/collection/utils/sortableComponent.js +1 -1
  850. package/dist/collection/utils/t9n.js +1 -1
  851. package/dist/collection/utils/time.js +1 -1
  852. package/dist/components/ExpandToggle.js +1 -1
  853. package/dist/components/FloatingArrow.js +1 -1
  854. package/dist/components/Heading.js +1 -1
  855. package/dist/components/action-group.js +1 -1
  856. package/dist/components/action-menu.js +1 -1
  857. package/dist/components/action.js +1 -1
  858. package/dist/components/ar.js +1 -1
  859. package/dist/components/array.js +1 -1
  860. package/dist/components/avatar.js +1 -1
  861. package/dist/components/bg.js +1 -1
  862. package/dist/components/bs.js +1 -1
  863. package/dist/components/button.js +1 -1
  864. package/dist/components/ca.js +1 -1
  865. package/dist/components/calcite-accordion-item.js +1 -1
  866. package/dist/components/calcite-accordion.js +1 -1
  867. package/dist/components/calcite-action-bar.js +1 -1
  868. package/dist/components/calcite-action-group.js +1 -1
  869. package/dist/components/calcite-action-menu.js +1 -1
  870. package/dist/components/calcite-action-pad.js +1 -1
  871. package/dist/components/calcite-action.js +1 -1
  872. package/dist/components/calcite-alert.js +1 -1
  873. package/dist/components/calcite-avatar.js +1 -1
  874. package/dist/components/calcite-block-section.js +1 -1
  875. package/dist/components/calcite-block.js +1 -1
  876. package/dist/components/calcite-button.js +1 -1
  877. package/dist/components/calcite-card.js +1 -1
  878. package/dist/components/calcite-checkbox.js +1 -1
  879. package/dist/components/calcite-chip-group.js +1 -1
  880. package/dist/components/calcite-chip.js +1 -1
  881. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  882. package/dist/components/calcite-color-picker-swatch.js +1 -1
  883. package/dist/components/calcite-color-picker.js +1 -1
  884. package/dist/components/calcite-combobox-item-group.js +1 -1
  885. package/dist/components/calcite-combobox-item.js +1 -1
  886. package/dist/components/calcite-combobox.js +1 -1
  887. package/dist/components/calcite-date-picker-day.js +1 -1
  888. package/dist/components/calcite-date-picker-month-header.js +1 -1
  889. package/dist/components/calcite-date-picker-month.js +1 -1
  890. package/dist/components/calcite-date-picker.js +1 -1
  891. package/dist/components/calcite-dropdown-group.js +1 -1
  892. package/dist/components/calcite-dropdown-item.js +1 -1
  893. package/dist/components/calcite-dropdown.js +1 -1
  894. package/dist/components/calcite-fab.js +1 -1
  895. package/dist/components/calcite-filter.js +1 -1
  896. package/dist/components/calcite-flow-item.js +1 -1
  897. package/dist/components/calcite-flow.js +1 -1
  898. package/dist/components/calcite-graph.js +1 -1
  899. package/dist/components/calcite-handle.js +1 -1
  900. package/dist/components/calcite-icon.js +1 -1
  901. package/dist/components/calcite-inline-editable.js +1 -1
  902. package/dist/components/calcite-input-date-picker.js +5 -25
  903. package/dist/components/calcite-input-message.js +1 -1
  904. package/dist/components/calcite-input-number.js +1 -1
  905. package/dist/components/calcite-input-text.js +1 -1
  906. package/dist/components/calcite-input-time-picker.js +1 -1
  907. package/dist/components/calcite-input-time-zone.js +1 -1
  908. package/dist/components/calcite-input.js +1 -1
  909. package/dist/components/calcite-label.js +1 -1
  910. package/dist/components/calcite-link.js +1 -1
  911. package/dist/components/calcite-list-item-group.js +1 -1
  912. package/dist/components/calcite-list-item.js +1 -1
  913. package/dist/components/calcite-list.js +2 -2
  914. package/dist/components/calcite-loader.js +1 -1
  915. package/dist/components/calcite-menu-item.js +1 -1
  916. package/dist/components/calcite-menu.js +1 -1
  917. package/dist/components/calcite-meter.js +1 -1
  918. package/dist/components/calcite-modal.js +1 -1
  919. package/dist/components/calcite-navigation-logo.js +1 -1
  920. package/dist/components/calcite-navigation-user.js +1 -1
  921. package/dist/components/calcite-navigation.js +1 -1
  922. package/dist/components/calcite-notice.js +1 -1
  923. package/dist/components/calcite-option-group.js +1 -1
  924. package/dist/components/calcite-option.js +1 -1
  925. package/dist/components/calcite-pagination.js +2 -238
  926. package/dist/components/calcite-panel.js +1 -1
  927. package/dist/components/calcite-pick-list-group.js +1 -1
  928. package/dist/components/calcite-pick-list-item.js +1 -1
  929. package/dist/components/calcite-pick-list.js +1 -1
  930. package/dist/components/calcite-popover.js +1 -1
  931. package/dist/components/calcite-progress.js +1 -1
  932. package/dist/components/calcite-radio-button-group.js +1 -1
  933. package/dist/components/calcite-radio-button.js +1 -1
  934. package/dist/components/calcite-rating.js +1 -1
  935. package/dist/components/calcite-scrim.js +1 -1
  936. package/dist/components/calcite-segmented-control-item.js +1 -1
  937. package/dist/components/calcite-segmented-control.js +1 -1
  938. package/dist/components/calcite-select.js +1 -1
  939. package/dist/components/calcite-sheet.js +1 -1
  940. package/dist/components/calcite-shell-center-row.js +1 -1
  941. package/dist/components/calcite-shell-panel.js +1 -1
  942. package/dist/components/calcite-shell.js +1 -1
  943. package/dist/components/calcite-slider.js +1 -1
  944. package/dist/components/calcite-sortable-list.js +1 -1
  945. package/dist/components/calcite-split-button.js +1 -1
  946. package/dist/components/calcite-stack.js +1 -1
  947. package/dist/components/calcite-stepper-item.js +1 -1
  948. package/dist/components/calcite-stepper.js +1 -1
  949. package/dist/components/calcite-switch.js +1 -1
  950. package/dist/components/calcite-tab-nav.js +1 -1
  951. package/dist/components/calcite-tab-title.js +1 -1
  952. package/dist/components/calcite-tab.js +1 -1
  953. package/dist/components/calcite-table-cell.d.ts +11 -0
  954. package/dist/components/calcite-table-cell.js +11 -0
  955. package/dist/components/calcite-table-header.d.ts +11 -0
  956. package/dist/components/calcite-table-header.js +11 -0
  957. package/dist/components/calcite-table-row.d.ts +11 -0
  958. package/dist/components/calcite-table-row.js +281 -0
  959. package/dist/components/calcite-table.d.ts +11 -0
  960. package/dist/components/calcite-table.js +359 -0
  961. package/dist/components/calcite-tabs.js +1 -1
  962. package/dist/components/calcite-text-area.js +1 -1
  963. package/dist/components/calcite-tile-select-group.js +1 -1
  964. package/dist/components/calcite-tile-select.js +1 -1
  965. package/dist/components/calcite-tile.js +1 -1
  966. package/dist/components/calcite-time-picker.js +1 -1
  967. package/dist/components/calcite-tip-group.js +1 -1
  968. package/dist/components/calcite-tip-manager.js +1 -1
  969. package/dist/components/calcite-tip.js +1 -1
  970. package/dist/components/calcite-tooltip.js +1 -1
  971. package/dist/components/calcite-tree-item.js +1 -1
  972. package/dist/components/calcite-tree.js +1 -1
  973. package/dist/components/calcite-value-list-item.js +1 -1
  974. package/dist/components/calcite-value-list.js +1 -1
  975. package/dist/components/checkbox.js +1 -1
  976. package/dist/components/chip.js +1 -1
  977. package/dist/components/color-picker-hex-input.js +1 -1
  978. package/dist/components/color-picker-swatch.js +1 -1
  979. package/dist/components/combobox-item.js +1 -1
  980. package/dist/components/combobox.js +4 -3
  981. package/dist/components/conditionalSlot.js +1 -1
  982. package/dist/components/cs.js +1 -1
  983. package/dist/components/da.js +1 -1
  984. package/dist/components/date-picker-day.js +1 -1
  985. package/dist/components/date-picker-month-header.js +1 -1
  986. package/dist/components/date-picker-month.js +1 -1
  987. package/dist/components/date-picker.js +1 -1
  988. package/dist/components/date.js +1 -1
  989. package/dist/components/de-at.js +1 -1
  990. package/dist/components/de-ch.js +1 -1
  991. package/dist/components/de.js +1 -1
  992. package/dist/components/debounce.js +1 -1
  993. package/dist/components/dom.js +1 -1
  994. package/dist/components/dropdown.js +1 -1
  995. package/dist/components/el.js +1 -1
  996. package/dist/components/en-au.js +1 -1
  997. package/dist/components/en-ca.js +1 -1
  998. package/dist/components/en-gb.js +1 -1
  999. package/dist/components/es-mx.js +1 -1
  1000. package/dist/components/es.js +1 -1
  1001. package/dist/components/et.js +1 -1
  1002. package/dist/components/fi.js +1 -1
  1003. package/dist/components/filter.js +1 -1
  1004. package/dist/components/filter2.js +1 -1
  1005. package/dist/components/floating-ui.js +1 -1
  1006. package/dist/components/focusTrapComponent.js +1 -1
  1007. package/dist/components/form.js +1 -1
  1008. package/dist/components/fr-ch.js +1 -1
  1009. package/dist/components/fr.js +1 -1
  1010. package/dist/components/graph.js +1 -1
  1011. package/dist/components/guid.js +1 -1
  1012. package/dist/components/handle.js +1 -1
  1013. package/dist/components/he.js +1 -1
  1014. package/dist/components/hi.js +1 -1
  1015. package/dist/components/hr.js +1 -1
  1016. package/dist/components/hu.js +1 -1
  1017. package/dist/components/icon.js +1 -1
  1018. package/dist/components/id.js +1 -1
  1019. package/dist/components/index.d.ts +4 -0
  1020. package/dist/components/index.js +1 -1
  1021. package/dist/components/index2.js +1 -1
  1022. package/dist/components/input-number.js +1 -1
  1023. package/dist/components/input-text.js +1 -1
  1024. package/dist/components/input.js +1 -1
  1025. package/dist/components/interactive.js +2 -2
  1026. package/dist/components/it-ch.js +1 -1
  1027. package/dist/components/it.js +1 -1
  1028. package/dist/components/ja.js +1 -1
  1029. package/dist/components/key.js +1 -1
  1030. package/dist/components/ko.js +1 -1
  1031. package/dist/components/label.js +1 -1
  1032. package/dist/components/label2.js +1 -1
  1033. package/dist/components/link.js +1 -1
  1034. package/dist/components/loadable.js +1 -1
  1035. package/dist/components/loader.js +1 -1
  1036. package/dist/components/locale.js +1 -1
  1037. package/dist/components/lt.js +1 -1
  1038. package/dist/components/lv.js +1 -1
  1039. package/dist/components/math.js +1 -1
  1040. package/dist/components/menu.js +1 -1
  1041. package/dist/components/mk.js +1 -1
  1042. package/dist/components/nb.js +1 -1
  1043. package/dist/components/nl.js +1 -1
  1044. package/dist/components/observers.js +1 -1
  1045. package/dist/components/openCloseComponent.js +1 -1
  1046. package/dist/components/pagination.js +244 -0
  1047. package/dist/components/panel.js +1 -1
  1048. package/dist/components/pick-list-item.js +1 -1
  1049. package/dist/components/pl.js +1 -1
  1050. package/dist/components/popover.js +1 -1
  1051. package/dist/components/progress.js +1 -1
  1052. package/dist/components/pt-br.js +1 -1
  1053. package/dist/components/pt.js +1 -1
  1054. package/dist/components/resources.js +1 -1
  1055. package/dist/components/resources2.js +1 -1
  1056. package/dist/components/resources3.js +1 -1
  1057. package/dist/components/resources4.js +1 -1
  1058. package/dist/components/ro.js +1 -1
  1059. package/dist/components/ru.js +1 -1
  1060. package/dist/components/scrim.js +1 -1
  1061. package/dist/components/shared-list-render.js +1 -1
  1062. package/dist/components/sk.js +1 -1
  1063. package/dist/components/sl.js +1 -1
  1064. package/dist/components/sortableComponent.js +1 -1
  1065. package/dist/components/sr.js +1 -1
  1066. package/dist/components/stack.js +1 -1
  1067. package/dist/components/sv.js +1 -1
  1068. package/dist/components/switch.js +1 -1
  1069. package/dist/components/t9n.js +1 -1
  1070. package/dist/components/tab-nav.js +1 -1
  1071. package/dist/components/tab-title.js +1 -1
  1072. package/dist/components/tab.js +1 -1
  1073. package/dist/components/table-cell.js +172 -0
  1074. package/dist/components/table-header.js +191 -0
  1075. package/dist/components/tabs.js +1 -1
  1076. package/dist/components/th.js +1 -1
  1077. package/dist/components/throttle.js +1 -1
  1078. package/dist/components/tile.js +1 -1
  1079. package/dist/components/time-picker.js +1 -1
  1080. package/dist/components/tr.js +1 -1
  1081. package/dist/components/uk.js +1 -1
  1082. package/dist/components/utils.js +1 -1
  1083. package/dist/components/utils2.js +1 -1
  1084. package/dist/components/utils3.js +1 -1
  1085. package/dist/components/vi.js +1 -1
  1086. package/dist/components/zh-cn.js +1 -1
  1087. package/dist/components/zh-hk.js +1 -1
  1088. package/dist/components/zh-tw.js +1 -1
  1089. package/dist/esm/ExpandToggle-681aef6d.js +99 -0
  1090. package/dist/esm/FloatingArrow-f8c85286.js +43 -0
  1091. package/dist/esm/Heading-5b1b03e8.js +17 -0
  1092. package/dist/esm/app-globals-49c73a91.js +57 -0
  1093. package/dist/esm/ar-30a33ee8.js +96 -0
  1094. package/dist/esm/array-f8bbe0a3.js +10 -0
  1095. package/dist/esm/bg-fc94160e.js +77 -0
  1096. package/dist/esm/browser-342337a9.js +16 -0
  1097. package/dist/esm/bs-9bf92f4e.js +46 -0
  1098. package/dist/esm/ca-9b2066c3.js +66 -0
  1099. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  1100. package/dist/esm/calcite-action-bar.entry.js +15 -15
  1101. package/dist/esm/calcite-action-group.entry.js +13 -13
  1102. package/dist/esm/calcite-action-menu.entry.js +9 -9
  1103. package/dist/esm/calcite-action-pad.entry.js +14 -14
  1104. package/dist/esm/calcite-action.entry.js +12 -11
  1105. package/dist/esm/calcite-alert.entry.js +12 -12
  1106. package/dist/esm/calcite-avatar.entry.js +6 -6
  1107. package/dist/esm/calcite-block_2.entry.js +14 -13
  1108. package/dist/esm/calcite-button.entry.js +14 -13
  1109. package/dist/esm/calcite-card.entry.js +10 -10
  1110. package/dist/esm/calcite-checkbox.entry.js +11 -10
  1111. package/dist/esm/calcite-chip-group.entry.js +9 -8
  1112. package/dist/esm/calcite-chip.entry.js +13 -12
  1113. package/dist/esm/calcite-color-picker_3.entry.js +16 -15
  1114. package/dist/esm/calcite-combobox_3.entry.js +22 -20
  1115. package/dist/esm/calcite-date-picker_4.entry.js +14 -13
  1116. package/dist/esm/calcite-dropdown_3.entry.js +13 -12
  1117. package/dist/esm/calcite-fab.entry.js +8 -7
  1118. package/dist/esm/calcite-filter.entry.js +14 -13
  1119. package/dist/esm/calcite-flow-item.entry.js +13 -12
  1120. package/dist/esm/calcite-flow.entry.js +4 -4
  1121. package/dist/esm/calcite-graph_2.entry.js +14 -13
  1122. package/dist/esm/calcite-handle.entry.js +10 -10
  1123. package/dist/esm/calcite-icon.entry.js +6 -6
  1124. package/dist/esm/calcite-inline-editable.entry.js +13 -12
  1125. package/dist/esm/calcite-input-date-picker.entry.js +23 -41
  1126. package/dist/esm/calcite-input-message.entry.js +5 -5
  1127. package/dist/esm/calcite-input-number.entry.js +14 -13
  1128. package/dist/esm/calcite-input-text.entry.js +14 -13
  1129. package/dist/esm/calcite-input-time-picker.calcite-time-picker-453c17c8.js +2819 -0
  1130. package/dist/esm/calcite-input-time-picker_2.entry.js +17 -16
  1131. package/dist/esm/calcite-input-time-zone.entry.js +14 -13
  1132. package/dist/esm/calcite-input.entry.js +14 -13
  1133. package/dist/esm/calcite-label.entry.js +6 -6
  1134. package/dist/esm/calcite-link.entry.js +8 -7
  1135. package/dist/esm/calcite-list_3.entry.js +16 -15
  1136. package/dist/esm/calcite-loader.entry.js +3 -3
  1137. package/dist/esm/calcite-menu_2.entry.js +10 -10
  1138. package/dist/esm/calcite-meter.entry.js +10 -10
  1139. package/dist/esm/calcite-modal.entry.js +13 -13
  1140. package/dist/esm/calcite-navigation_3.entry.js +6 -6
  1141. package/dist/esm/calcite-notice.entry.js +12 -12
  1142. package/dist/esm/calcite-option_3.entry.js +11 -10
  1143. package/dist/esm/calcite-pagination.entry.js +10 -10
  1144. package/dist/esm/calcite-panel.entry.js +15 -14
  1145. package/dist/esm/calcite-pick-list_3.entry.js +17 -16
  1146. package/dist/esm/calcite-popover.entry.js +16 -16
  1147. package/dist/esm/calcite-progress.entry.js +5 -5
  1148. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  1149. package/dist/esm/calcite-radio-button.entry.js +11 -10
  1150. package/dist/esm/calcite-rating.entry.js +14 -13
  1151. package/dist/esm/calcite-scrim.entry.js +9 -9
  1152. package/dist/esm/calcite-segmented-control_2.entry.js +11 -10
  1153. package/dist/esm/calcite-sheet.entry.js +9 -9
  1154. package/dist/esm/calcite-shell_3.entry.js +11 -11
  1155. package/dist/esm/calcite-sortable-list.entry.js +9 -8
  1156. package/dist/esm/calcite-split-button.entry.js +5 -4
  1157. package/dist/esm/calcite-stack.entry.js +6 -6
  1158. package/dist/esm/calcite-stepper_2.entry.js +11 -10
  1159. package/dist/esm/calcite-switch.entry.js +11 -10
  1160. package/dist/esm/calcite-tab_4.entry.js +11 -10
  1161. package/dist/esm/calcite-table-cell_2.entry.js +277 -0
  1162. package/dist/esm/calcite-table-row.entry.js +231 -0
  1163. package/dist/esm/calcite-table.entry.js +295 -0
  1164. package/dist/esm/calcite-text-area.entry.js +16 -15
  1165. package/dist/esm/calcite-tile-select_2.entry.js +6 -5
  1166. package/dist/esm/calcite-tile.entry.js +9 -8
  1167. package/dist/esm/calcite-tip_3.entry.js +11 -11
  1168. package/dist/esm/calcite-tooltip.entry.js +9 -9
  1169. package/dist/esm/calcite-tree_2.entry.js +9 -8
  1170. package/dist/esm/calcite-value-list_2.entry.js +17 -16
  1171. package/dist/esm/calcite.js +6 -6
  1172. package/dist/esm/conditionalSlot-9639587a.js +55 -0
  1173. package/dist/esm/cs-0aa7e0c2.js +142 -0
  1174. package/dist/esm/da-5b78b390.js +61 -0
  1175. package/dist/esm/de-at-0f58b1e0.js +85 -0
  1176. package/dist/esm/de-c8a584f5.js +86 -0
  1177. package/dist/esm/de-ch-7d578832.js +85 -0
  1178. package/dist/esm/debounce-ee2506b2.js +487 -0
  1179. package/dist/esm/dom-412dd260.js +1027 -0
  1180. package/dist/esm/el-d08a477a.js +61 -0
  1181. package/dist/esm/en-au-b652e863.js +61 -0
  1182. package/dist/esm/en-ca-043dd95c.js +60 -0
  1183. package/dist/esm/en-gb-6609ba7d.js +64 -0
  1184. package/dist/esm/es-0b6c198d.js +61 -0
  1185. package/dist/esm/es-mx-5f55d85b.js +60 -0
  1186. package/dist/esm/et-8e9b448e.js +87 -0
  1187. package/dist/esm/fi-9fca64de.js +110 -0
  1188. package/dist/esm/filter-1881740b.js +758 -0
  1189. package/dist/esm/floating-ui-43e4f414.js +1875 -0
  1190. package/dist/esm/focusTrapComponent-b796f196.js +994 -0
  1191. package/dist/esm/form-6f86424f.js +275 -0
  1192. package/dist/esm/fr-be6a5993.js +63 -0
  1193. package/dist/esm/fr-ch-dcbb8195.js +61 -0
  1194. package/dist/esm/guid-0490f9f0.js +19 -0
  1195. package/dist/esm/he-4d374a2f.js +100 -0
  1196. package/dist/esm/hi-896a033c.js +60 -0
  1197. package/dist/esm/hr-163b0c9e.js +75 -0
  1198. package/dist/esm/hu-68f7f7bb.js +83 -0
  1199. package/dist/esm/id-a7ecd61f.js +61 -0
  1200. package/dist/esm/index-dafb95bd.js +2292 -0
  1201. package/dist/esm/index.js +2 -2
  1202. package/dist/esm/interactive-6bcbd567.js +138 -0
  1203. package/dist/esm/it-2c13dace.js +61 -0
  1204. package/dist/esm/it-ch-73d3f5d8.js +61 -0
  1205. package/dist/esm/ja-07b1c56f.js +67 -0
  1206. package/dist/esm/key-86423110.js +11 -0
  1207. package/dist/esm/ko-455cb62f.js +67 -0
  1208. package/dist/esm/label-00366d68.js +143 -0
  1209. package/dist/esm/loadable-2ff657df.js +84 -0
  1210. package/dist/esm/loader.js +6 -6
  1211. package/dist/esm/locale-294b6440.js +582 -0
  1212. package/dist/esm/lt-200c52ea.js +92 -0
  1213. package/dist/esm/lv-507769ff.js +61 -0
  1214. package/dist/esm/math-a2e82859.js +49 -0
  1215. package/dist/esm/mk-921cb268.js +61 -0
  1216. package/dist/esm/nb-0f5a8c92.js +62 -0
  1217. package/dist/esm/nl-5f691c7e.js +62 -0
  1218. package/dist/esm/observers-b898b95d.js +46 -0
  1219. package/dist/esm/openCloseComponent-d1a940bc.js +82 -0
  1220. package/dist/esm/pl-5e211b79.js +109 -0
  1221. package/dist/esm/pt-39ca3f07.js +62 -0
  1222. package/dist/esm/pt-br-a6313e65.js +60 -0
  1223. package/dist/esm/resources-2f2498f1.js +41 -0
  1224. package/dist/esm/resources-6147a442.js +18 -0
  1225. package/dist/esm/resources-adfa9502.js +383 -0
  1226. package/dist/esm/resources-bab7828c.js +21 -0
  1227. package/dist/esm/resources-bfdb1d14.js +23 -0
  1228. package/dist/esm/resources-cfa3feb8.js +15 -0
  1229. package/dist/esm/resources-ec927aad.js +17 -0
  1230. package/dist/esm/ro-ded4537b.js +61 -0
  1231. package/dist/esm/ru-bf65d5e7.js +121 -0
  1232. package/dist/esm/sk-50ac8bd3.js +143 -0
  1233. package/dist/esm/sl-f0413b4c.js +61 -0
  1234. package/dist/esm/sortableComponent-bf052fa2.js +3104 -0
  1235. package/dist/esm/sr-015fca6d.js +96 -0
  1236. package/dist/esm/sv-b4b7fd0a.js +66 -0
  1237. package/dist/esm/t9n-493993f8.js +90 -0
  1238. package/dist/esm/th-053e9044.js +60 -0
  1239. package/dist/esm/throttle-ff32f2ff.js +73 -0
  1240. package/dist/esm/tr-432b0387.js +61 -0
  1241. package/dist/esm/uk-be1f9b1c.js +99 -0
  1242. package/dist/esm/utils-9bdf375c.js +287 -0
  1243. package/dist/esm/utils-d42b0a00.js +198 -0
  1244. package/dist/esm/vi-1b94de79.js +65 -0
  1245. package/dist/esm/zh-cn-871bb0d0.js +89 -0
  1246. package/dist/esm/zh-hk-dc1d08f4.js +66 -0
  1247. package/dist/esm/zh-tw-9f7e668b.js +87 -0
  1248. package/dist/extras/docs-json.json +839 -21
  1249. package/dist/extras/translations-json.json +1 -1
  1250. package/dist/extras/vscode-data.json +236 -4
  1251. package/dist/loader/cdn.js +1 -1
  1252. package/dist/loader/index.cjs.js +1 -1
  1253. package/dist/loader/index.es2017.js +1 -1
  1254. package/dist/loader/index.js +1 -1
  1255. package/dist/types/components/input-date-picker/input-date-picker.d.ts +0 -4
  1256. package/dist/types/components/table/assets/table/t9n/index.d.ts +7 -0
  1257. package/dist/types/components/table/interfaces.d.ts +10 -0
  1258. package/dist/types/components/table/resources.d.ts +16 -0
  1259. package/dist/types/components/table/table.d.ts +95 -0
  1260. package/dist/types/components/table-cell/assets/table-cell/t9n/index.d.ts +7 -0
  1261. package/dist/types/components/table-cell/resources.d.ts +7 -0
  1262. package/dist/types/components/table-cell/table-cell.d.ts +69 -0
  1263. package/dist/types/components/table-header/assets/table-header/t9n/index.d.ts +8 -0
  1264. package/dist/types/components/table-header/resources.d.ts +11 -0
  1265. package/dist/types/components/table-header/table-header.d.ts +65 -0
  1266. package/dist/types/components/table-row/table-row.d.ts +65 -0
  1267. package/dist/types/components.d.ts +324 -8
  1268. package/dist/types/preact.d.ts +15 -0
  1269. package/hydrate/index.js +1386 -524
  1270. package/package.json +3 -3
  1271. package/dist/calcite/p-007c3ec3.js +0 -6
  1272. package/dist/calcite/p-00bb7644.js +0 -6
  1273. package/dist/calcite/p-02a7e1df.entry.js +0 -6
  1274. package/dist/calcite/p-02befd2f.js +0 -6
  1275. package/dist/calcite/p-037bb301.js +0 -6
  1276. package/dist/calcite/p-0946b370.entry.js +0 -6
  1277. package/dist/calcite/p-0997cdd3.entry.js +0 -6
  1278. package/dist/calcite/p-0feaada4.js +0 -6
  1279. package/dist/calcite/p-14448051.js +0 -6
  1280. package/dist/calcite/p-1bb8af88.js +0 -6
  1281. package/dist/calcite/p-1c29face.entry.js +0 -6
  1282. package/dist/calcite/p-1dcbf1c3.js +0 -6
  1283. package/dist/calcite/p-1eb219e7.entry.js +0 -6
  1284. package/dist/calcite/p-1fde838a.js +0 -6
  1285. package/dist/calcite/p-203a989f.entry.js +0 -6
  1286. package/dist/calcite/p-20fa2a62.entry.js +0 -6
  1287. package/dist/calcite/p-2248e0cc.js +0 -6
  1288. package/dist/calcite/p-22f06ceb.entry.js +0 -6
  1289. package/dist/calcite/p-231b2e94.entry.js +0 -6
  1290. package/dist/calcite/p-23d2cf19.js +0 -6
  1291. package/dist/calcite/p-25024b64.entry.js +0 -6
  1292. package/dist/calcite/p-2d640ee8.entry.js +0 -6
  1293. package/dist/calcite/p-2dff2c48.entry.js +0 -6
  1294. package/dist/calcite/p-2f8763d0.js +0 -6
  1295. package/dist/calcite/p-3337b1c6.entry.js +0 -6
  1296. package/dist/calcite/p-335fba09.entry.js +0 -6
  1297. package/dist/calcite/p-3754cb6f.entry.js +0 -6
  1298. package/dist/calcite/p-3ce9a124.js +0 -6
  1299. package/dist/calcite/p-3e206c37.js +0 -6
  1300. package/dist/calcite/p-40023104.entry.js +0 -6
  1301. package/dist/calcite/p-40782cfa.js +0 -6
  1302. package/dist/calcite/p-410e57db.entry.js +0 -6
  1303. package/dist/calcite/p-4396cd14.js +0 -6
  1304. package/dist/calcite/p-4403a799.js +0 -6
  1305. package/dist/calcite/p-4556194b.entry.js +0 -6
  1306. package/dist/calcite/p-461a667a.js +0 -6
  1307. package/dist/calcite/p-46c2fbc6.js +0 -6
  1308. package/dist/calcite/p-47b3ff18.js +0 -6
  1309. package/dist/calcite/p-4824f592.js +0 -6
  1310. package/dist/calcite/p-48b91d20.js +0 -6
  1311. package/dist/calcite/p-492d3cb1.js +0 -6
  1312. package/dist/calcite/p-4a651031.js +0 -6
  1313. package/dist/calcite/p-50b644ca.js +0 -6
  1314. package/dist/calcite/p-50ba6845.js +0 -6
  1315. package/dist/calcite/p-52164b32.entry.js +0 -6
  1316. package/dist/calcite/p-52e9b64d.entry.js +0 -6
  1317. package/dist/calcite/p-532ae163.js +0 -6
  1318. package/dist/calcite/p-53584baa.entry.js +0 -6
  1319. package/dist/calcite/p-542c5850.js +0 -6
  1320. package/dist/calcite/p-550270ae.entry.js +0 -6
  1321. package/dist/calcite/p-5551f995.entry.js +0 -6
  1322. package/dist/calcite/p-55758a37.entry.js +0 -6
  1323. package/dist/calcite/p-5599adcf.entry.js +0 -6
  1324. package/dist/calcite/p-57e9aa34.js +0 -6
  1325. package/dist/calcite/p-5a01f218.entry.js +0 -6
  1326. package/dist/calcite/p-5bd55830.js +0 -6
  1327. package/dist/calcite/p-5d0dcbfb.entry.js +0 -6
  1328. package/dist/calcite/p-5ee875b7.entry.js +0 -6
  1329. package/dist/calcite/p-6193daa1.entry.js +0 -6
  1330. package/dist/calcite/p-65fd2d0e.js +0 -6
  1331. package/dist/calcite/p-6745d314.entry.js +0 -6
  1332. package/dist/calcite/p-692ab67e.js +0 -6
  1333. package/dist/calcite/p-698670ad.js +0 -6
  1334. package/dist/calcite/p-6a63cc88.js +0 -6
  1335. package/dist/calcite/p-6af2f408.js +0 -6
  1336. package/dist/calcite/p-6b236272.entry.js +0 -6
  1337. package/dist/calcite/p-70ef9cef.js +0 -6
  1338. package/dist/calcite/p-74f54959.js +0 -6
  1339. package/dist/calcite/p-757310e5.js +0 -6
  1340. package/dist/calcite/p-7607b56c.js +0 -6
  1341. package/dist/calcite/p-76baef68.entry.js +0 -6
  1342. package/dist/calcite/p-7b5dda7e.js +0 -6
  1343. package/dist/calcite/p-7d54fa75.entry.js +0 -6
  1344. package/dist/calcite/p-805935d9.entry.js +0 -6
  1345. package/dist/calcite/p-806469a1.js +0 -6
  1346. package/dist/calcite/p-855d9ec9.js +0 -6
  1347. package/dist/calcite/p-85f91ad4.js +0 -6
  1348. package/dist/calcite/p-86b2f97a.js +0 -6
  1349. package/dist/calcite/p-87a75e12.js +0 -6
  1350. package/dist/calcite/p-887fdd02.entry.js +0 -6
  1351. package/dist/calcite/p-8ab93bd4.js +0 -7
  1352. package/dist/calcite/p-8d6122ad.js +0 -6
  1353. package/dist/calcite/p-93f6847c.js +0 -6
  1354. package/dist/calcite/p-972d3215.js +0 -6
  1355. package/dist/calcite/p-97cfd319.js +0 -6
  1356. package/dist/calcite/p-9968b9e0.entry.js +0 -6
  1357. package/dist/calcite/p-9b9512fd.js +0 -6
  1358. package/dist/calcite/p-9cbf6fd2.js +0 -6
  1359. package/dist/calcite/p-9d56cabe.js +0 -6
  1360. package/dist/calcite/p-9f498574.entry.js +0 -6
  1361. package/dist/calcite/p-9fd7d685.js +0 -6
  1362. package/dist/calcite/p-9ffeb6a3.js +0 -6
  1363. package/dist/calcite/p-a15b1706.entry.js +0 -6
  1364. package/dist/calcite/p-a54d9c04.js +0 -6
  1365. package/dist/calcite/p-a71ef708.js +0 -6
  1366. package/dist/calcite/p-a7cff8c6.js +0 -6
  1367. package/dist/calcite/p-a9dd0db4.js +0 -6
  1368. package/dist/calcite/p-aa759d1c.entry.js +0 -6
  1369. package/dist/calcite/p-ab4b95ff.entry.js +0 -6
  1370. package/dist/calcite/p-afcc1e3d.js +0 -12
  1371. package/dist/calcite/p-afe859a6.js +0 -6
  1372. package/dist/calcite/p-b2d05a82.entry.js +0 -6
  1373. package/dist/calcite/p-b47de8ae.entry.js +0 -6
  1374. package/dist/calcite/p-b58bc312.js +0 -6
  1375. package/dist/calcite/p-b5bffae9.entry.js +0 -6
  1376. package/dist/calcite/p-b616b875.entry.js +0 -6
  1377. package/dist/calcite/p-b685ccab.js +0 -6
  1378. package/dist/calcite/p-b744990f.entry.js +0 -6
  1379. package/dist/calcite/p-b8f33088.entry.js +0 -6
  1380. package/dist/calcite/p-bbb9ac9b.js +0 -6
  1381. package/dist/calcite/p-bbdbbb67.entry.js +0 -6
  1382. package/dist/calcite/p-bdb87f58.js +0 -6
  1383. package/dist/calcite/p-bfe56cc8.entry.js +0 -6
  1384. package/dist/calcite/p-c05ae16f.entry.js +0 -6
  1385. package/dist/calcite/p-c28b156e.js +0 -6
  1386. package/dist/calcite/p-c3616431.js +0 -6
  1387. package/dist/calcite/p-c3b313f4.entry.js +0 -6
  1388. package/dist/calcite/p-c48fdac2.entry.js +0 -6
  1389. package/dist/calcite/p-c6370aa4.js +0 -11
  1390. package/dist/calcite/p-c86acf98.js +0 -6
  1391. package/dist/calcite/p-cad50699.js +0 -6
  1392. package/dist/calcite/p-cf043538.entry.js +0 -6
  1393. package/dist/calcite/p-cf1ad716.entry.js +0 -6
  1394. package/dist/calcite/p-cf7d83c3.entry.js +0 -6
  1395. package/dist/calcite/p-d2215fda.entry.js +0 -6
  1396. package/dist/calcite/p-d35d0dbc.entry.js +0 -6
  1397. package/dist/calcite/p-d62a227a.entry.js +0 -6
  1398. package/dist/calcite/p-d9008462.js +0 -6
  1399. package/dist/calcite/p-db3143e0.entry.js +0 -6
  1400. package/dist/calcite/p-dcd6faab.entry.js +0 -6
  1401. package/dist/calcite/p-dd3642e3.js +0 -6
  1402. package/dist/calcite/p-de3fb84c.js +0 -6
  1403. package/dist/calcite/p-decb6e2c.js +0 -10
  1404. package/dist/calcite/p-ded88271.js +0 -6
  1405. package/dist/calcite/p-df9ac2d9.entry.js +0 -6
  1406. package/dist/calcite/p-dfd6e562.entry.js +0 -6
  1407. package/dist/calcite/p-e256428c.entry.js +0 -6
  1408. package/dist/calcite/p-e28ea658.entry.js +0 -6
  1409. package/dist/calcite/p-e3c8191d.js +0 -6
  1410. package/dist/calcite/p-e4325383.js +0 -6
  1411. package/dist/calcite/p-e5b798f8.entry.js +0 -6
  1412. package/dist/calcite/p-e6662241.js +0 -6
  1413. package/dist/calcite/p-ea40c3d6.js +0 -6
  1414. package/dist/calcite/p-ebd830cf.entry.js +0 -6
  1415. package/dist/calcite/p-ed665e9a.entry.js +0 -6
  1416. package/dist/calcite/p-f136f8e8.entry.js +0 -6
  1417. package/dist/calcite/p-f1ac269c.js +0 -6
  1418. package/dist/calcite/p-f366c30e.js +0 -6
  1419. package/dist/calcite/p-f53b58f2.js +0 -6
  1420. package/dist/calcite/p-fe1a08a8.entry.js +0 -6
  1421. package/dist/calcite/p-fea4fd80.js +0 -6
  1422. package/dist/calcite/p-ff0b8e2c.js +0 -6
  1423. package/dist/cjs/ExpandToggle-a7dbbc1a.js +0 -107
  1424. package/dist/cjs/FloatingArrow-eadd8494.js +0 -45
  1425. package/dist/cjs/Heading-b5ca981d.js +0 -20
  1426. package/dist/cjs/app-globals-55b43e79.js +0 -59
  1427. package/dist/cjs/ar-676d4661.js +0 -97
  1428. package/dist/cjs/array-0eebf608.js +0 -12
  1429. package/dist/cjs/bg-bcd768fb.js +0 -78
  1430. package/dist/cjs/bs-68506139.js +0 -47
  1431. package/dist/cjs/ca-d65441a8.js +0 -67
  1432. package/dist/cjs/calcite-input-time-picker.calcite-time-picker-74f7d1fd.js +0 -2823
  1433. package/dist/cjs/conditionalSlot-a5786c5c.js +0 -58
  1434. package/dist/cjs/cs-97a7bb1c.js +0 -143
  1435. package/dist/cjs/da-f3851d5c.js +0 -62
  1436. package/dist/cjs/de-at-21f55bee.js +0 -86
  1437. package/dist/cjs/de-ch-e8ea7000.js +0 -86
  1438. package/dist/cjs/de-f231cdf7.js +0 -87
  1439. package/dist/cjs/debounce-b2f36905.js +0 -496
  1440. package/dist/cjs/dom-e7bd4cb7.js +0 -1056
  1441. package/dist/cjs/el-e739883d.js +0 -62
  1442. package/dist/cjs/en-au-e2a5821f.js +0 -62
  1443. package/dist/cjs/en-ca-a2c7fbb8.js +0 -61
  1444. package/dist/cjs/en-gb-26689f73.js +0 -65
  1445. package/dist/cjs/es-7b551a15.js +0 -62
  1446. package/dist/cjs/es-mx-bf466cd5.js +0 -61
  1447. package/dist/cjs/et-c2bdaca6.js +0 -88
  1448. package/dist/cjs/fi-ab63ec68.js +0 -111
  1449. package/dist/cjs/filter-92dc3c13.js +0 -760
  1450. package/dist/cjs/floating-ui-96140b01.js +0 -1883
  1451. package/dist/cjs/focusTrapComponent-06ac2782.js +0 -999
  1452. package/dist/cjs/form-edb316d0.js +0 -283
  1453. package/dist/cjs/fr-ch-65bf0bbb.js +0 -62
  1454. package/dist/cjs/fr-e67b1ee6.js +0 -64
  1455. package/dist/cjs/guid-644057a6.js +0 -21
  1456. package/dist/cjs/he-1584ece4.js +0 -101
  1457. package/dist/cjs/hi-fe82983d.js +0 -61
  1458. package/dist/cjs/hr-6c423352.js +0 -76
  1459. package/dist/cjs/hu-3495e4a4.js +0 -84
  1460. package/dist/cjs/id-d09c449b.js +0 -62
  1461. package/dist/cjs/index-ad2cf870.js +0 -2315
  1462. package/dist/cjs/interactive-1f1c19e2.js +0 -150
  1463. package/dist/cjs/it-c2e6d7b9.js +0 -62
  1464. package/dist/cjs/it-ch-3c094987.js +0 -62
  1465. package/dist/cjs/ja-9a01b2a4.js +0 -68
  1466. package/dist/cjs/key-9fe64006.js +0 -14
  1467. package/dist/cjs/ko-f86ea633.js +0 -68
  1468. package/dist/cjs/label-dff4ea5b.js +0 -149
  1469. package/dist/cjs/loadable-1bb377f1.js +0 -89
  1470. package/dist/cjs/locale-626aa262.js +0 -594
  1471. package/dist/cjs/lt-3addcf3e.js +0 -93
  1472. package/dist/cjs/lv-baa9fb0c.js +0 -62
  1473. package/dist/cjs/math-adfdb68b.js +0 -55
  1474. package/dist/cjs/mk-d76486b4.js +0 -62
  1475. package/dist/cjs/nb-cb5485b4.js +0 -63
  1476. package/dist/cjs/nl-ff234132.js +0 -63
  1477. package/dist/cjs/observers-da576c60.js +0 -48
  1478. package/dist/cjs/openCloseComponent-f4deda11.js +0 -84
  1479. package/dist/cjs/pl-d9d3b37a.js +0 -110
  1480. package/dist/cjs/pt-4cf96854.js +0 -63
  1481. package/dist/cjs/pt-br-8e687141.js +0 -61
  1482. package/dist/cjs/resources-3516b562.js +0 -410
  1483. package/dist/cjs/resources-37aff98c.js +0 -22
  1484. package/dist/cjs/resources-3a53ed25.js +0 -45
  1485. package/dist/cjs/resources-65147bd4.js +0 -27
  1486. package/dist/cjs/resources-77406b7a.js +0 -21
  1487. package/dist/cjs/resources-7a384d48.js +0 -15
  1488. package/dist/cjs/resources-90190440.js +0 -24
  1489. package/dist/cjs/ro-c97f9408.js +0 -62
  1490. package/dist/cjs/ru-0b476a0c.js +0 -122
  1491. package/dist/cjs/sk-eba54730.js +0 -144
  1492. package/dist/cjs/sl-b93fe9d8.js +0 -62
  1493. package/dist/cjs/sortableComponent-77a33ace.js +0 -3107
  1494. package/dist/cjs/sr-4f17ba65.js +0 -97
  1495. package/dist/cjs/sv-27e664de.js +0 -67
  1496. package/dist/cjs/t9n-e16d3797.js +0 -95
  1497. package/dist/cjs/th-dada71c1.js +0 -61
  1498. package/dist/cjs/throttle-16e8666d.js +0 -75
  1499. package/dist/cjs/tr-6916ed57.js +0 -62
  1500. package/dist/cjs/uk-046465a6.js +0 -100
  1501. package/dist/cjs/utils-9861df25.js +0 -305
  1502. package/dist/cjs/utils-f13ba596.js +0 -216
  1503. package/dist/cjs/vi-621da23b.js +0 -66
  1504. package/dist/cjs/zh-cn-7ceeda57.js +0 -90
  1505. package/dist/cjs/zh-hk-68ad0128.js +0 -67
  1506. package/dist/cjs/zh-tw-f47cdecc.js +0 -88
  1507. package/dist/esm/ExpandToggle-bf0f87aa.js +0 -99
  1508. package/dist/esm/FloatingArrow-bb85386c.js +0 -43
  1509. package/dist/esm/Heading-fcdd4ccf.js +0 -17
  1510. package/dist/esm/app-globals-b6666a16.js +0 -57
  1511. package/dist/esm/ar-5357c717.js +0 -95
  1512. package/dist/esm/array-ccfcdd0f.js +0 -10
  1513. package/dist/esm/bg-6a6f5adc.js +0 -76
  1514. package/dist/esm/bs-9058dc82.js +0 -45
  1515. package/dist/esm/ca-383aa3fa.js +0 -65
  1516. package/dist/esm/calcite-input-time-picker.calcite-time-picker-a1e1a130.js +0 -2819
  1517. package/dist/esm/conditionalSlot-a632bc93.js +0 -55
  1518. package/dist/esm/cs-62e56a64.js +0 -141
  1519. package/dist/esm/da-96d86789.js +0 -60
  1520. package/dist/esm/de-a3370610.js +0 -85
  1521. package/dist/esm/de-at-52ac9fe5.js +0 -84
  1522. package/dist/esm/de-ch-5796fdb4.js +0 -84
  1523. package/dist/esm/debounce-c84d411d.js +0 -487
  1524. package/dist/esm/dom-3294f067.js +0 -1027
  1525. package/dist/esm/el-fa9c30f1.js +0 -60
  1526. package/dist/esm/en-au-c9ebfa80.js +0 -60
  1527. package/dist/esm/en-ca-4d4dc66c.js +0 -59
  1528. package/dist/esm/en-gb-60a9a498.js +0 -63
  1529. package/dist/esm/es-68df2022.js +0 -60
  1530. package/dist/esm/es-mx-0974ad94.js +0 -59
  1531. package/dist/esm/et-ab114a16.js +0 -86
  1532. package/dist/esm/fi-fb462cf0.js +0 -109
  1533. package/dist/esm/filter-c5e813c2.js +0 -758
  1534. package/dist/esm/floating-ui-af58437e.js +0 -1875
  1535. package/dist/esm/focusTrapComponent-2500e814.js +0 -994
  1536. package/dist/esm/form-99051e7d.js +0 -275
  1537. package/dist/esm/fr-77e29560.js +0 -62
  1538. package/dist/esm/fr-ch-6378c2a1.js +0 -60
  1539. package/dist/esm/guid-462aba50.js +0 -19
  1540. package/dist/esm/he-a037c4bf.js +0 -99
  1541. package/dist/esm/hi-8d5cbee5.js +0 -59
  1542. package/dist/esm/hr-f739783e.js +0 -74
  1543. package/dist/esm/hu-2af082a1.js +0 -82
  1544. package/dist/esm/id-4a040b69.js +0 -60
  1545. package/dist/esm/index-2220b578.js +0 -2280
  1546. package/dist/esm/interactive-917baaab.js +0 -146
  1547. package/dist/esm/it-ch-1134f90d.js +0 -60
  1548. package/dist/esm/it-f4cc27ce.js +0 -60
  1549. package/dist/esm/ja-a557bde1.js +0 -66
  1550. package/dist/esm/key-0a9a7c11.js +0 -11
  1551. package/dist/esm/ko-8e6ca8b8.js +0 -66
  1552. package/dist/esm/label-d23303da.js +0 -143
  1553. package/dist/esm/loadable-a506fce5.js +0 -84
  1554. package/dist/esm/locale-0521067c.js +0 -582
  1555. package/dist/esm/lt-7bd686f3.js +0 -91
  1556. package/dist/esm/lv-88258bdd.js +0 -60
  1557. package/dist/esm/math-54e57a6d.js +0 -49
  1558. package/dist/esm/mk-9fb1eceb.js +0 -60
  1559. package/dist/esm/nb-621a3850.js +0 -61
  1560. package/dist/esm/nl-ec3d1afc.js +0 -61
  1561. package/dist/esm/observers-f954756c.js +0 -46
  1562. package/dist/esm/openCloseComponent-b246f9ff.js +0 -82
  1563. package/dist/esm/pl-a8793fc2.js +0 -108
  1564. package/dist/esm/pt-br-fff4bdda.js +0 -59
  1565. package/dist/esm/pt-c2639b18.js +0 -61
  1566. package/dist/esm/resources-069ce391.js +0 -17
  1567. package/dist/esm/resources-12c5581f.js +0 -41
  1568. package/dist/esm/resources-3049fc4f.js +0 -383
  1569. package/dist/esm/resources-808ed162.js +0 -15
  1570. package/dist/esm/resources-c719bd2c.js +0 -18
  1571. package/dist/esm/resources-d4e19430.js +0 -21
  1572. package/dist/esm/resources-df7e2247.js +0 -23
  1573. package/dist/esm/ro-ccf3ed16.js +0 -60
  1574. package/dist/esm/ru-02edbf33.js +0 -120
  1575. package/dist/esm/sk-9ddefee7.js +0 -142
  1576. package/dist/esm/sl-5b5b18ec.js +0 -60
  1577. package/dist/esm/sortableComponent-8c3c954d.js +0 -3104
  1578. package/dist/esm/sr-786e95f5.js +0 -95
  1579. package/dist/esm/sv-3328887c.js +0 -65
  1580. package/dist/esm/t9n-d51e8c70.js +0 -90
  1581. package/dist/esm/th-a5ef18dc.js +0 -59
  1582. package/dist/esm/throttle-f07a0c1a.js +0 -73
  1583. package/dist/esm/tr-0023808e.js +0 -60
  1584. package/dist/esm/uk-c6bc2eda.js +0 -98
  1585. package/dist/esm/utils-5090842e.js +0 -198
  1586. package/dist/esm/utils-d9cd488f.js +0 -287
  1587. package/dist/esm/vi-1db432eb.js +0 -64
  1588. package/dist/esm/zh-cn-9f94c010.js +0 -88
  1589. package/dist/esm/zh-hk-e521cb48.js +0 -65
  1590. package/dist/esm/zh-tw-67f6ee11.js +0 -86
@@ -1,2823 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.7.0-next.15
5
- */
6
- 'use strict';
7
-
8
- const index = require('./index-ad2cf870.js');
9
- const form = require('./form-edb316d0.js');
10
- const guid = require('./guid-644057a6.js');
11
- const interactive = require('./interactive-1f1c19e2.js');
12
- const key = require('./key-9fe64006.js');
13
- const label = require('./label-dff4ea5b.js');
14
- const loadable = require('./loadable-1bb377f1.js');
15
- const locale$1 = require('./locale-626aa262.js');
16
- const focusTrapComponent = require('./focusTrapComponent-06ac2782.js');
17
- const math = require('./math-adfdb68b.js');
18
- const t9n = require('./t9n-e16d3797.js');
19
-
20
- const maxTenthForMinuteAndSecond = 5;
21
- function createLocaleDateTimeFormatter(locale, numberingSystem, includeSeconds = true, fractionalSecondDigits) {
22
- const options = {
23
- hour: "2-digit",
24
- minute: "2-digit",
25
- timeZone: "UTC",
26
- numberingSystem: locale$1.getSupportedNumberingSystem(numberingSystem),
27
- };
28
- if (includeSeconds) {
29
- options.second = "2-digit";
30
- if (fractionalSecondDigits) {
31
- options.fractionalSecondDigits = fractionalSecondDigits;
32
- }
33
- }
34
- return locale$1.getDateTimeFormat(locale, options);
35
- }
36
- function formatTimePart(number, minLength) {
37
- if (number === null || number === undefined) {
38
- return;
39
- }
40
- const numberAsString = number.toString();
41
- const numberDecimalPlaces = math.decimalPlaces(number);
42
- if (number < 1 && numberDecimalPlaces > 0 && numberDecimalPlaces < 4) {
43
- const fractionalDigits = numberAsString.replace("0.", "");
44
- if (!minLength || fractionalDigits.length === minLength) {
45
- return fractionalDigits;
46
- }
47
- if (fractionalDigits.length < minLength) {
48
- return fractionalDigits.padEnd(minLength, "0");
49
- }
50
- return fractionalDigits;
51
- }
52
- if (number >= 0 && number < 10) {
53
- return numberAsString.padStart(2, "0");
54
- }
55
- if (number >= 10) {
56
- return numberAsString;
57
- }
58
- }
59
- function formatTimeString(value) {
60
- if (!isValidTime(value)) {
61
- return null;
62
- }
63
- const { hour, minute, second, fractionalSecond } = parseTimeString(value);
64
- let formattedValue = `${formatTimePart(parseInt(hour))}:${formatTimePart(parseInt(minute))}`;
65
- if (second) {
66
- formattedValue += `:${formatTimePart(parseInt(second))}`;
67
- if (fractionalSecond) {
68
- formattedValue += `.${fractionalSecond}`;
69
- }
70
- }
71
- return formattedValue;
72
- }
73
- function fractionalSecondPartToMilliseconds(fractionalSecondPart) {
74
- return parseInt((parseFloat(`0.${fractionalSecondPart}`) / 0.001).toFixed(3));
75
- }
76
- function getLocaleHourCycle(locale, numberingSystem) {
77
- const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
78
- const parts = formatter.formatToParts(new Date(Date.UTC(0, 0, 0, 0, 0, 0)));
79
- return getLocalizedTimePart("meridiem", parts) ? "12" : "24";
80
- }
81
- function getLocalizedDecimalSeparator(locale, numberingSystem) {
82
- locale$1.numberStringFormatter.numberFormatOptions = {
83
- locale,
84
- numberingSystem,
85
- };
86
- return locale$1.numberStringFormatter.localize("1.1").split("")[1];
87
- }
88
- function getLocalizedTimePartSuffix(part, locale, numberingSystem = "latn") {
89
- const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
90
- const parts = formatter.formatToParts(new Date(Date.UTC(0, 0, 0, 0, 0, 0)));
91
- return getLocalizedTimePart(`${part}Suffix`, parts);
92
- }
93
- function getLocalizedTimePart(part, parts) {
94
- if (!part || !parts) {
95
- return null;
96
- }
97
- if (part === "hourSuffix") {
98
- const hourIndex = parts.indexOf(parts.find(({ type }) => type === "hour"));
99
- const minuteIndex = parts.indexOf(parts.find(({ type }) => type === "minute"));
100
- const hourSuffix = parts[hourIndex + 1];
101
- return hourSuffix && hourSuffix.type === "literal" && minuteIndex - hourIndex === 2
102
- ? hourSuffix.value?.trim() || null
103
- : null;
104
- }
105
- if (part === "minuteSuffix") {
106
- const minuteIndex = parts.indexOf(parts.find(({ type }) => type === "minute"));
107
- const secondIndex = parts.indexOf(parts.find(({ type }) => type === "second"));
108
- const minuteSuffix = parts[minuteIndex + 1];
109
- return minuteSuffix && minuteSuffix.type === "literal" && secondIndex - minuteIndex === 2
110
- ? minuteSuffix.value?.trim() || null
111
- : null;
112
- }
113
- if (part === "secondSuffix") {
114
- const secondIndex = parts.indexOf(parts.find(({ type }) => type === "second"));
115
- const secondSuffix = parts[secondIndex + 1];
116
- return secondSuffix && secondSuffix.type === "literal" ? secondSuffix.value?.trim() || null : null;
117
- }
118
- return parts.find(({ type }) => (part == "meridiem" ? type === "dayPeriod" : type === part))?.value || null;
119
- }
120
- function getMeridiem(hour) {
121
- if (!locale$1.isValidNumber(hour)) {
122
- return null;
123
- }
124
- const hourAsNumber = parseInt(hour);
125
- return hourAsNumber >= 0 && hourAsNumber <= 11 ? "AM" : "PM";
126
- }
127
- function isValidTime(value) {
128
- if (!value || value.startsWith(":") || value.endsWith(":")) {
129
- return false;
130
- }
131
- const splitValue = value.split(":");
132
- const validLength = splitValue.length > 1 && splitValue.length < 4;
133
- if (!validLength) {
134
- return false;
135
- }
136
- const [hour, minute, second] = splitValue;
137
- const hourAsNumber = parseInt(splitValue[0]);
138
- const minuteAsNumber = parseInt(splitValue[1]);
139
- const secondAsNumber = parseInt(splitValue[2]);
140
- const hourValid = locale$1.isValidNumber(hour) && hourAsNumber >= 0 && hourAsNumber < 24;
141
- const minuteValid = locale$1.isValidNumber(minute) && minuteAsNumber >= 0 && minuteAsNumber < 60;
142
- const secondValid = locale$1.isValidNumber(second) && secondAsNumber >= 0 && secondAsNumber < 60;
143
- if ((hourValid && minuteValid && !second) || (hourValid && minuteValid && secondValid)) {
144
- return true;
145
- }
146
- }
147
- function isValidTimePart(value, part) {
148
- if (part === "meridiem") {
149
- return value === "AM" || value === "PM";
150
- }
151
- if (!locale$1.isValidNumber(value)) {
152
- return false;
153
- }
154
- const valueAsNumber = Number(value);
155
- return part === "hour" ? valueAsNumber >= 0 && valueAsNumber < 24 : valueAsNumber >= 0 && valueAsNumber < 60;
156
- }
157
- function localizeTimePart({ value, part, locale, numberingSystem }) {
158
- if (part === "fractionalSecond") {
159
- const localizedDecimalSeparator = getLocalizedDecimalSeparator(locale, numberingSystem);
160
- let localizedFractionalSecond = null;
161
- if (value) {
162
- locale$1.numberStringFormatter.numberFormatOptions = {
163
- locale,
164
- numberingSystem,
165
- };
166
- const localizedZero = locale$1.numberStringFormatter.localize("0");
167
- if (parseInt(value) === 0) {
168
- localizedFractionalSecond = "".padStart(value.length, localizedZero);
169
- }
170
- else {
171
- localizedFractionalSecond = locale$1.numberStringFormatter
172
- .localize(`0.${value}`)
173
- .replace(`${localizedZero}${localizedDecimalSeparator}`, "");
174
- if (localizedFractionalSecond.length < value.length) {
175
- localizedFractionalSecond = localizedFractionalSecond.padEnd(value.length, localizedZero);
176
- }
177
- }
178
- }
179
- return localizedFractionalSecond;
180
- }
181
- if (!isValidTimePart(value, part)) {
182
- return;
183
- }
184
- const valueAsNumber = parseInt(value);
185
- 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));
186
- if (!date) {
187
- return;
188
- }
189
- const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
190
- const parts = formatter.formatToParts(date);
191
- return getLocalizedTimePart(part, parts);
192
- }
193
- function localizeTimeString({ value, locale, numberingSystem, includeSeconds = true, fractionalSecondDigits, }) {
194
- if (!isValidTime(value)) {
195
- return null;
196
- }
197
- const { hour, minute, second = "0", fractionalSecond } = parseTimeString(value);
198
- const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second), fractionalSecond && fractionalSecondPartToMilliseconds(fractionalSecond)));
199
- const formatter = createLocaleDateTimeFormatter(locale, numberingSystem, includeSeconds, fractionalSecondDigits);
200
- return formatter.format(dateFromTimeString) || null;
201
- }
202
- function localizeTimeStringToParts({ value, locale, numberingSystem = "latn", }) {
203
- if (!isValidTime(value)) {
204
- return null;
205
- }
206
- const { hour, minute, second = "0", fractionalSecond } = parseTimeString(value);
207
- const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second)));
208
- if (dateFromTimeString) {
209
- const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
210
- const parts = formatter.formatToParts(dateFromTimeString);
211
- return {
212
- localizedHour: getLocalizedTimePart("hour", parts),
213
- localizedHourSuffix: getLocalizedTimePart("hourSuffix", parts),
214
- localizedMinute: getLocalizedTimePart("minute", parts),
215
- localizedMinuteSuffix: getLocalizedTimePart("minuteSuffix", parts),
216
- localizedSecond: getLocalizedTimePart("second", parts),
217
- localizedDecimalSeparator: getLocalizedDecimalSeparator(locale, numberingSystem),
218
- localizedFractionalSecond: localizeTimePart({
219
- value: fractionalSecond,
220
- part: "fractionalSecond",
221
- locale,
222
- numberingSystem,
223
- }),
224
- localizedSecondSuffix: getLocalizedTimePart("secondSuffix", parts),
225
- localizedMeridiem: getLocalizedTimePart("meridiem", parts),
226
- };
227
- }
228
- return null;
229
- }
230
- function getTimeParts({ value, locale, numberingSystem }) {
231
- if (!isValidTime(value)) {
232
- return null;
233
- }
234
- const { hour, minute, second = "0" } = parseTimeString(value);
235
- const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second)));
236
- if (dateFromTimeString) {
237
- const formatter = createLocaleDateTimeFormatter(locale, numberingSystem);
238
- const parts = formatter.formatToParts(dateFromTimeString);
239
- return parts;
240
- }
241
- return null;
242
- }
243
- function parseTimeString(value) {
244
- if (isValidTime(value)) {
245
- const [hour, minute, secondDecimal] = value.split(":");
246
- let second = secondDecimal;
247
- let fractionalSecond = null;
248
- if (secondDecimal?.includes(".")) {
249
- [second, fractionalSecond] = secondDecimal.split(".");
250
- }
251
- return {
252
- fractionalSecond,
253
- hour,
254
- minute,
255
- second,
256
- };
257
- }
258
- return {
259
- fractionalSecond: null,
260
- hour: null,
261
- minute: null,
262
- second: null,
263
- };
264
- }
265
- function toISOTimeString(value, includeSeconds = true) {
266
- if (!isValidTime(value)) {
267
- return "";
268
- }
269
- const { hour, minute, second, fractionalSecond } = parseTimeString(value);
270
- let isoTimeString = `${formatTimePart(parseInt(hour))}:${formatTimePart(parseInt(minute))}`;
271
- if (includeSeconds) {
272
- isoTimeString += `:${formatTimePart(parseInt((includeSeconds && second) || "0"))}`;
273
- if (fractionalSecond) {
274
- isoTimeString += `.${fractionalSecond}`;
275
- }
276
- }
277
- return isoTimeString;
278
- }
279
-
280
- const CSS$1 = {
281
- toggleIcon: "toggle-icon",
282
- };
283
-
284
- var SECONDS_A_MINUTE = 60;
285
- var SECONDS_A_HOUR = SECONDS_A_MINUTE * 60;
286
- var SECONDS_A_DAY = SECONDS_A_HOUR * 24;
287
- var SECONDS_A_WEEK = SECONDS_A_DAY * 7;
288
- var MILLISECONDS_A_SECOND = 1e3;
289
- var MILLISECONDS_A_MINUTE = SECONDS_A_MINUTE * MILLISECONDS_A_SECOND;
290
- var MILLISECONDS_A_HOUR = SECONDS_A_HOUR * MILLISECONDS_A_SECOND;
291
- var MILLISECONDS_A_DAY = SECONDS_A_DAY * MILLISECONDS_A_SECOND;
292
- var MILLISECONDS_A_WEEK = SECONDS_A_WEEK * MILLISECONDS_A_SECOND; // English locales
293
-
294
- var MS = 'millisecond';
295
- var S = 'second';
296
- var MIN = 'minute';
297
- var H = 'hour';
298
- var D = 'day';
299
- var W = 'week';
300
- var M = 'month';
301
- var Q = 'quarter';
302
- var Y = 'year';
303
- var DATE = 'date';
304
- var FORMAT_DEFAULT = 'YYYY-MM-DDTHH:mm:ssZ';
305
- var INVALID_DATE_STRING = 'Invalid Date'; // regex
306
-
307
- var REGEX_PARSE = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/;
308
- 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;
309
-
310
- // English [en]
311
- // We don't need weekdaysShort, weekdaysMin, monthsShort in en.js locale
312
- const en = {
313
- name: 'en',
314
- weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
315
- months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
316
- ordinal: function ordinal(n) {
317
- var s = ['th', 'st', 'nd', 'rd'];
318
- var v = n % 100;
319
- return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]";
320
- }
321
- };
322
-
323
- const en$1 = /*#__PURE__*/Object.freeze({
324
- __proto__: null,
325
- 'default': en
326
- });
327
-
328
- var padStart = function padStart(string, length, pad) {
329
- var s = String(string);
330
- if (!s || s.length >= length) return string;
331
- return "" + Array(length + 1 - s.length).join(pad) + string;
332
- };
333
-
334
- var padZoneStr = function padZoneStr(instance) {
335
- var negMinutes = -instance.utcOffset();
336
- var minutes = Math.abs(negMinutes);
337
- var hourOffset = Math.floor(minutes / 60);
338
- var minuteOffset = minutes % 60;
339
- return "" + (negMinutes <= 0 ? '+' : '-') + padStart(hourOffset, 2, '0') + ":" + padStart(minuteOffset, 2, '0');
340
- };
341
-
342
- var monthDiff = function monthDiff(a, b) {
343
- // function from moment.js in order to keep the same result
344
- if (a.date() < b.date()) return -monthDiff(b, a);
345
- var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month());
346
- var anchor = a.clone().add(wholeMonthDiff, M);
347
- var c = b - anchor < 0;
348
- var anchor2 = a.clone().add(wholeMonthDiff + (c ? -1 : 1), M);
349
- return +(-(wholeMonthDiff + (b - anchor) / (c ? anchor - anchor2 : anchor2 - anchor)) || 0);
350
- };
351
-
352
- var absFloor = function absFloor(n) {
353
- return n < 0 ? Math.ceil(n) || 0 : Math.floor(n);
354
- };
355
-
356
- var prettyUnit = function prettyUnit(u) {
357
- var special = {
358
- M: M,
359
- y: Y,
360
- w: W,
361
- d: D,
362
- D: DATE,
363
- h: H,
364
- m: MIN,
365
- s: S,
366
- ms: MS,
367
- Q: Q
368
- };
369
- return special[u] || String(u || '').toLowerCase().replace(/s$/, '');
370
- };
371
-
372
- var isUndefined = function isUndefined(s) {
373
- return s === undefined;
374
- };
375
-
376
- const U = {
377
- s: padStart,
378
- z: padZoneStr,
379
- m: monthDiff,
380
- a: absFloor,
381
- p: prettyUnit,
382
- u: isUndefined
383
- };
384
-
385
- var L = 'en'; // global locale
386
-
387
- var Ls = {}; // global loaded locale
388
-
389
- Ls[L] = en;
390
-
391
- var isDayjs = function isDayjs(d) {
392
- return d instanceof Dayjs;
393
- }; // eslint-disable-line no-use-before-define
394
-
395
-
396
- var parseLocale = function parseLocale(preset, object, isLocal) {
397
- var l;
398
- if (!preset) return L;
399
-
400
- if (typeof preset === 'string') {
401
- var presetLower = preset.toLowerCase();
402
-
403
- if (Ls[presetLower]) {
404
- l = presetLower;
405
- }
406
-
407
- if (object) {
408
- Ls[presetLower] = object;
409
- l = presetLower;
410
- }
411
-
412
- var presetSplit = preset.split('-');
413
-
414
- if (!l && presetSplit.length > 1) {
415
- return parseLocale(presetSplit[0]);
416
- }
417
- } else {
418
- var name = preset.name;
419
- Ls[name] = preset;
420
- l = name;
421
- }
422
-
423
- if (!isLocal && l) L = l;
424
- return l || !isLocal && L;
425
- };
426
-
427
- var dayjs = function dayjs(date, c) {
428
- if (isDayjs(date)) {
429
- return date.clone();
430
- } // eslint-disable-next-line no-nested-ternary
431
-
432
-
433
- var cfg = typeof c === 'object' ? c : {};
434
- cfg.date = date;
435
- cfg.args = arguments; // eslint-disable-line prefer-rest-params
436
-
437
- return new Dayjs(cfg); // eslint-disable-line no-use-before-define
438
- };
439
-
440
- var wrapper = function wrapper(date, instance) {
441
- return dayjs(date, {
442
- locale: instance.$L,
443
- utc: instance.$u,
444
- x: instance.$x,
445
- $offset: instance.$offset // todo: refactor; do not use this.$offset in you code
446
-
447
- });
448
- };
449
-
450
- var Utils = U; // for plugin use
451
-
452
- Utils.l = parseLocale;
453
- Utils.i = isDayjs;
454
- Utils.w = wrapper;
455
-
456
- var parseDate = function parseDate(cfg) {
457
- var date = cfg.date,
458
- utc = cfg.utc;
459
- if (date === null) return new Date(NaN); // null is invalid
460
-
461
- if (Utils.u(date)) return new Date(); // today
462
-
463
- if (date instanceof Date) return new Date(date);
464
-
465
- if (typeof date === 'string' && !/Z$/i.test(date)) {
466
- var d = date.match(REGEX_PARSE);
467
-
468
- if (d) {
469
- var m = d[2] - 1 || 0;
470
- var ms = (d[7] || '0').substring(0, 3);
471
-
472
- if (utc) {
473
- return new Date(Date.UTC(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms));
474
- }
475
-
476
- return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);
477
- }
478
- }
479
-
480
- return new Date(date); // everything else
481
- };
482
-
483
- var Dayjs = /*#__PURE__*/function () {
484
- function Dayjs(cfg) {
485
- this.$L = parseLocale(cfg.locale, null, true);
486
- this.parse(cfg); // for plugin
487
- }
488
-
489
- var _proto = Dayjs.prototype;
490
-
491
- _proto.parse = function parse(cfg) {
492
- this.$d = parseDate(cfg);
493
- this.$x = cfg.x || {};
494
- this.init();
495
- };
496
-
497
- _proto.init = function init() {
498
- var $d = this.$d;
499
- this.$y = $d.getFullYear();
500
- this.$M = $d.getMonth();
501
- this.$D = $d.getDate();
502
- this.$W = $d.getDay();
503
- this.$H = $d.getHours();
504
- this.$m = $d.getMinutes();
505
- this.$s = $d.getSeconds();
506
- this.$ms = $d.getMilliseconds();
507
- } // eslint-disable-next-line class-methods-use-this
508
- ;
509
-
510
- _proto.$utils = function $utils() {
511
- return Utils;
512
- };
513
-
514
- _proto.isValid = function isValid() {
515
- return !(this.$d.toString() === INVALID_DATE_STRING);
516
- };
517
-
518
- _proto.isSame = function isSame(that, units) {
519
- var other = dayjs(that);
520
- return this.startOf(units) <= other && other <= this.endOf(units);
521
- };
522
-
523
- _proto.isAfter = function isAfter(that, units) {
524
- return dayjs(that) < this.startOf(units);
525
- };
526
-
527
- _proto.isBefore = function isBefore(that, units) {
528
- return this.endOf(units) < dayjs(that);
529
- };
530
-
531
- _proto.$g = function $g(input, get, set) {
532
- if (Utils.u(input)) return this[get];
533
- return this.set(set, input);
534
- };
535
-
536
- _proto.unix = function unix() {
537
- return Math.floor(this.valueOf() / 1000);
538
- };
539
-
540
- _proto.valueOf = function valueOf() {
541
- // timezone(hour) * 60 * 60 * 1000 => ms
542
- return this.$d.getTime();
543
- };
544
-
545
- _proto.startOf = function startOf(units, _startOf) {
546
- var _this = this;
547
-
548
- // startOf -> endOf
549
- var isStartOf = !Utils.u(_startOf) ? _startOf : true;
550
- var unit = Utils.p(units);
551
-
552
- var instanceFactory = function instanceFactory(d, m) {
553
- var ins = Utils.w(_this.$u ? Date.UTC(_this.$y, m, d) : new Date(_this.$y, m, d), _this);
554
- return isStartOf ? ins : ins.endOf(D);
555
- };
556
-
557
- var instanceFactorySet = function instanceFactorySet(method, slice) {
558
- var argumentStart = [0, 0, 0, 0];
559
- var argumentEnd = [23, 59, 59, 999];
560
- return Utils.w(_this.toDate()[method].apply( // eslint-disable-line prefer-spread
561
- _this.toDate('s'), (isStartOf ? argumentStart : argumentEnd).slice(slice)), _this);
562
- };
563
-
564
- var $W = this.$W,
565
- $M = this.$M,
566
- $D = this.$D;
567
- var utcPad = "set" + (this.$u ? 'UTC' : '');
568
-
569
- switch (unit) {
570
- case Y:
571
- return isStartOf ? instanceFactory(1, 0) : instanceFactory(31, 11);
572
-
573
- case M:
574
- return isStartOf ? instanceFactory(1, $M) : instanceFactory(0, $M + 1);
575
-
576
- case W:
577
- {
578
- var weekStart = this.$locale().weekStart || 0;
579
- var gap = ($W < weekStart ? $W + 7 : $W) - weekStart;
580
- return instanceFactory(isStartOf ? $D - gap : $D + (6 - gap), $M);
581
- }
582
-
583
- case D:
584
- case DATE:
585
- return instanceFactorySet(utcPad + "Hours", 0);
586
-
587
- case H:
588
- return instanceFactorySet(utcPad + "Minutes", 1);
589
-
590
- case MIN:
591
- return instanceFactorySet(utcPad + "Seconds", 2);
592
-
593
- case S:
594
- return instanceFactorySet(utcPad + "Milliseconds", 3);
595
-
596
- default:
597
- return this.clone();
598
- }
599
- };
600
-
601
- _proto.endOf = function endOf(arg) {
602
- return this.startOf(arg, false);
603
- };
604
-
605
- _proto.$set = function $set(units, _int) {
606
- var _C$D$C$DATE$C$M$C$Y$C;
607
-
608
- // private set
609
- var unit = Utils.p(units);
610
- var utcPad = "set" + (this.$u ? 'UTC' : '');
611
- 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];
612
- var arg = unit === D ? this.$D + (_int - this.$W) : _int;
613
-
614
- if (unit === M || unit === Y) {
615
- // clone is for badMutable plugin
616
- var date = this.clone().set(DATE, 1);
617
- date.$d[name](arg);
618
- date.init();
619
- this.$d = date.set(DATE, Math.min(this.$D, date.daysInMonth())).$d;
620
- } else if (name) this.$d[name](arg);
621
-
622
- this.init();
623
- return this;
624
- };
625
-
626
- _proto.set = function set(string, _int2) {
627
- return this.clone().$set(string, _int2);
628
- };
629
-
630
- _proto.get = function get(unit) {
631
- return this[Utils.p(unit)]();
632
- };
633
-
634
- _proto.add = function add(number, units) {
635
- var _this2 = this,
636
- _C$MIN$C$H$C$S$unit;
637
-
638
- number = Number(number); // eslint-disable-line no-param-reassign
639
-
640
- var unit = Utils.p(units);
641
-
642
- var instanceFactorySet = function instanceFactorySet(n) {
643
- var d = dayjs(_this2);
644
- return Utils.w(d.date(d.date() + Math.round(n * number)), _this2);
645
- };
646
-
647
- if (unit === M) {
648
- return this.set(M, this.$M + number);
649
- }
650
-
651
- if (unit === Y) {
652
- return this.set(Y, this.$y + number);
653
- }
654
-
655
- if (unit === D) {
656
- return instanceFactorySet(1);
657
- }
658
-
659
- if (unit === W) {
660
- return instanceFactorySet(7);
661
- }
662
-
663
- 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
664
-
665
- var nextTimeStamp = this.$d.getTime() + number * step;
666
- return Utils.w(nextTimeStamp, this);
667
- };
668
-
669
- _proto.subtract = function subtract(number, string) {
670
- return this.add(number * -1, string);
671
- };
672
-
673
- _proto.format = function format(formatStr) {
674
- var _this3 = this;
675
-
676
- var locale = this.$locale();
677
- if (!this.isValid()) return locale.invalidDate || INVALID_DATE_STRING;
678
- var str = formatStr || FORMAT_DEFAULT;
679
- var zoneStr = Utils.z(this);
680
- var $H = this.$H,
681
- $m = this.$m,
682
- $M = this.$M;
683
- var weekdays = locale.weekdays,
684
- months = locale.months,
685
- meridiem = locale.meridiem;
686
-
687
- var getShort = function getShort(arr, index, full, length) {
688
- return arr && (arr[index] || arr(_this3, str)) || full[index].slice(0, length);
689
- };
690
-
691
- var get$H = function get$H(num) {
692
- return Utils.s($H % 12 || 12, num, '0');
693
- };
694
-
695
- var meridiemFunc = meridiem || function (hour, minute, isLowercase) {
696
- var m = hour < 12 ? 'AM' : 'PM';
697
- return isLowercase ? m.toLowerCase() : m;
698
- };
699
-
700
- var matches = function matches(match) {
701
- switch (match) {
702
- case 'YY':
703
- return String(_this3.$y).slice(-2);
704
-
705
- case 'YYYY':
706
- return Utils.s(_this3.$y, 4, '0');
707
-
708
- case 'M':
709
- return $M + 1;
710
-
711
- case 'MM':
712
- return Utils.s($M + 1, 2, '0');
713
-
714
- case 'MMM':
715
- return getShort(locale.monthsShort, $M, months, 3);
716
-
717
- case 'MMMM':
718
- return getShort(months, $M);
719
-
720
- case 'D':
721
- return _this3.$D;
722
-
723
- case 'DD':
724
- return Utils.s(_this3.$D, 2, '0');
725
-
726
- case 'd':
727
- return String(_this3.$W);
728
-
729
- case 'dd':
730
- return getShort(locale.weekdaysMin, _this3.$W, weekdays, 2);
731
-
732
- case 'ddd':
733
- return getShort(locale.weekdaysShort, _this3.$W, weekdays, 3);
734
-
735
- case 'dddd':
736
- return weekdays[_this3.$W];
737
-
738
- case 'H':
739
- return String($H);
740
-
741
- case 'HH':
742
- return Utils.s($H, 2, '0');
743
-
744
- case 'h':
745
- return get$H(1);
746
-
747
- case 'hh':
748
- return get$H(2);
749
-
750
- case 'a':
751
- return meridiemFunc($H, $m, true);
752
-
753
- case 'A':
754
- return meridiemFunc($H, $m, false);
755
-
756
- case 'm':
757
- return String($m);
758
-
759
- case 'mm':
760
- return Utils.s($m, 2, '0');
761
-
762
- case 's':
763
- return String(_this3.$s);
764
-
765
- case 'ss':
766
- return Utils.s(_this3.$s, 2, '0');
767
-
768
- case 'SSS':
769
- return Utils.s(_this3.$ms, 3, '0');
770
-
771
- case 'Z':
772
- return zoneStr;
773
- }
774
-
775
- return null;
776
- };
777
-
778
- return str.replace(REGEX_FORMAT, function (match, $1) {
779
- return $1 || matches(match) || zoneStr.replace(':', '');
780
- }); // 'ZZ'
781
- };
782
-
783
- _proto.utcOffset = function utcOffset() {
784
- // Because a bug at FF24, we're rounding the timezone offset around 15 minutes
785
- // https://github.com/moment/moment/pull/1871
786
- return -Math.round(this.$d.getTimezoneOffset() / 15) * 15;
787
- };
788
-
789
- _proto.diff = function diff(input, units, _float) {
790
- var _this4 = this;
791
-
792
- var unit = Utils.p(units);
793
- var that = dayjs(input);
794
- var zoneDelta = (that.utcOffset() - this.utcOffset()) * MILLISECONDS_A_MINUTE;
795
- var diff = this - that;
796
-
797
- var getMonth = function getMonth() {
798
- return Utils.m(_this4, that);
799
- };
800
-
801
- var result;
802
-
803
- switch (unit) {
804
- case Y:
805
- result = getMonth() / 12;
806
- break;
807
-
808
- case M:
809
- result = getMonth();
810
- break;
811
-
812
- case Q:
813
- result = getMonth() / 3;
814
- break;
815
-
816
- case W:
817
- result = (diff - zoneDelta) / MILLISECONDS_A_WEEK;
818
- break;
819
-
820
- case D:
821
- result = (diff - zoneDelta) / MILLISECONDS_A_DAY;
822
- break;
823
-
824
- case H:
825
- result = diff / MILLISECONDS_A_HOUR;
826
- break;
827
-
828
- case MIN:
829
- result = diff / MILLISECONDS_A_MINUTE;
830
- break;
831
-
832
- case S:
833
- result = diff / MILLISECONDS_A_SECOND;
834
- break;
835
-
836
- default:
837
- result = diff; // milliseconds
838
-
839
- break;
840
- }
841
-
842
- return _float ? result : Utils.a(result);
843
- };
844
-
845
- _proto.daysInMonth = function daysInMonth() {
846
- return this.endOf(M).$D;
847
- };
848
-
849
- _proto.$locale = function $locale() {
850
- // get locale object
851
- return Ls[this.$L];
852
- };
853
-
854
- _proto.locale = function locale(preset, object) {
855
- if (!preset) return this.$L;
856
- var that = this.clone();
857
- var nextLocaleName = parseLocale(preset, object, true);
858
- if (nextLocaleName) that.$L = nextLocaleName;
859
- return that;
860
- };
861
-
862
- _proto.clone = function clone() {
863
- return Utils.w(this.$d, this);
864
- };
865
-
866
- _proto.toDate = function toDate() {
867
- return new Date(this.valueOf());
868
- };
869
-
870
- _proto.toJSON = function toJSON() {
871
- return this.isValid() ? this.toISOString() : null;
872
- };
873
-
874
- _proto.toISOString = function toISOString() {
875
- // ie 8 return
876
- // new Dayjs(this.valueOf() + this.$d.getTimezoneOffset() * 60000)
877
- // .format('YYYY-MM-DDTHH:mm:ss.SSS[Z]')
878
- return this.$d.toISOString();
879
- };
880
-
881
- _proto.toString = function toString() {
882
- return this.$d.toUTCString();
883
- };
884
-
885
- return Dayjs;
886
- }();
887
-
888
- var proto = Dayjs.prototype;
889
- dayjs.prototype = proto;
890
- [['$ms', MS], ['$s', S], ['$m', MIN], ['$H', H], ['$W', D], ['$M', M], ['$y', Y], ['$D', DATE]].forEach(function (g) {
891
- proto[g[1]] = function (input) {
892
- return this.$g(input, g[0], g[1]);
893
- };
894
- });
895
-
896
- dayjs.extend = function (plugin, option) {
897
- if (!plugin.$i) {
898
- // install plugin only once
899
- plugin(option, Dayjs, dayjs);
900
- plugin.$i = true;
901
- }
902
-
903
- return dayjs;
904
- };
905
-
906
- dayjs.locale = parseLocale;
907
- dayjs.isDayjs = isDayjs;
908
-
909
- dayjs.unix = function (timestamp) {
910
- return dayjs(timestamp * 1e3);
911
- };
912
-
913
- dayjs.en = Ls[L];
914
- dayjs.Ls = Ls;
915
- dayjs.p = {};
916
-
917
- // eslint-disable-next-line import/prefer-default-export
918
- var t = function t(format) {
919
- return format.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function (_, a, b) {
920
- return a || b.slice(1);
921
- });
922
- };
923
- var englishFormats = {
924
- LTS: 'h:mm:ss A',
925
- LT: 'h:mm A',
926
- L: 'MM/DD/YYYY',
927
- LL: 'MMMM D, YYYY',
928
- LLL: 'MMMM D, YYYY h:mm A',
929
- LLLL: 'dddd, MMMM D, YYYY h:mm A'
930
- };
931
- var u = function u(formatStr, formats) {
932
- return formatStr.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function (_, a, b) {
933
- var B = b && b.toUpperCase();
934
- return a || formats[b] || englishFormats[b] || t(formats[B]);
935
- });
936
- };
937
-
938
- var formattingTokens = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g;
939
- var match1 = /\d/; // 0 - 9
940
-
941
- var match2 = /\d\d/; // 00 - 99
942
-
943
- var match3 = /\d{3}/; // 000 - 999
944
-
945
- var match4 = /\d{4}/; // 0000 - 9999
946
-
947
- var match1to2 = /\d\d?/; // 0 - 99
948
-
949
- var matchSigned = /[+-]?\d+/; // -inf - inf
950
-
951
- var matchOffset = /[+-]\d\d:?(\d\d)?|Z/; // +00:00 -00:00 +0000 or -0000 +00 or Z
952
-
953
- var matchWord = /\d*[^-_:/,()\s\d]+/; // Word
954
-
955
- var locale = {};
956
-
957
- var parseTwoDigitYear = function parseTwoDigitYear(input) {
958
- input = +input;
959
- return input + (input > 68 ? 1900 : 2000);
960
- };
961
-
962
- function offsetFromString(string) {
963
- if (!string) return 0;
964
- if (string === 'Z') return 0;
965
- var parts = string.match(/([+-]|\d\d)/g);
966
- var minutes = +(parts[1] * 60) + (+parts[2] || 0);
967
- return minutes === 0 ? 0 : parts[0] === '+' ? -minutes : minutes; // eslint-disable-line no-nested-ternary
968
- }
969
-
970
- var addInput = function addInput(property) {
971
- return function (input) {
972
- this[property] = +input;
973
- };
974
- };
975
-
976
- var zoneExpressions = [matchOffset, function (input) {
977
- var zone = this.zone || (this.zone = {});
978
- zone.offset = offsetFromString(input);
979
- }];
980
-
981
- var getLocalePart = function getLocalePart(name) {
982
- var part = locale[name];
983
- return part && (part.indexOf ? part : part.s.concat(part.f));
984
- };
985
-
986
- var meridiemMatch = function meridiemMatch(input, isLowerCase) {
987
- var isAfternoon;
988
- var _locale = locale,
989
- meridiem = _locale.meridiem;
990
-
991
- if (!meridiem) {
992
- isAfternoon = input === (isLowerCase ? 'pm' : 'PM');
993
- } else {
994
- for (var i = 1; i <= 24; i += 1) {
995
- // todo: fix input === meridiem(i, 0, isLowerCase)
996
- if (input.indexOf(meridiem(i, 0, isLowerCase)) > -1) {
997
- isAfternoon = i > 12;
998
- break;
999
- }
1000
- }
1001
- }
1002
-
1003
- return isAfternoon;
1004
- };
1005
-
1006
- var expressions = {
1007
- A: [matchWord, function (input) {
1008
- this.afternoon = meridiemMatch(input, false);
1009
- }],
1010
- a: [matchWord, function (input) {
1011
- this.afternoon = meridiemMatch(input, true);
1012
- }],
1013
- S: [match1, function (input) {
1014
- this.milliseconds = +input * 100;
1015
- }],
1016
- SS: [match2, function (input) {
1017
- this.milliseconds = +input * 10;
1018
- }],
1019
- SSS: [match3, function (input) {
1020
- this.milliseconds = +input;
1021
- }],
1022
- s: [match1to2, addInput('seconds')],
1023
- ss: [match1to2, addInput('seconds')],
1024
- m: [match1to2, addInput('minutes')],
1025
- mm: [match1to2, addInput('minutes')],
1026
- H: [match1to2, addInput('hours')],
1027
- h: [match1to2, addInput('hours')],
1028
- HH: [match1to2, addInput('hours')],
1029
- hh: [match1to2, addInput('hours')],
1030
- D: [match1to2, addInput('day')],
1031
- DD: [match2, addInput('day')],
1032
- Do: [matchWord, function (input) {
1033
- var _locale2 = locale,
1034
- ordinal = _locale2.ordinal;
1035
-
1036
- var _input$match = input.match(/\d+/);
1037
-
1038
- this.day = _input$match[0];
1039
- if (!ordinal) return;
1040
-
1041
- for (var i = 1; i <= 31; i += 1) {
1042
- if (ordinal(i).replace(/\[|\]/g, '') === input) {
1043
- this.day = i;
1044
- }
1045
- }
1046
- }],
1047
- M: [match1to2, addInput('month')],
1048
- MM: [match2, addInput('month')],
1049
- MMM: [matchWord, function (input) {
1050
- var months = getLocalePart('months');
1051
- var monthsShort = getLocalePart('monthsShort');
1052
- var matchIndex = (monthsShort || months.map(function (_) {
1053
- return _.slice(0, 3);
1054
- })).indexOf(input) + 1;
1055
-
1056
- if (matchIndex < 1) {
1057
- throw new Error();
1058
- }
1059
-
1060
- this.month = matchIndex % 12 || matchIndex;
1061
- }],
1062
- MMMM: [matchWord, function (input) {
1063
- var months = getLocalePart('months');
1064
- var matchIndex = months.indexOf(input) + 1;
1065
-
1066
- if (matchIndex < 1) {
1067
- throw new Error();
1068
- }
1069
-
1070
- this.month = matchIndex % 12 || matchIndex;
1071
- }],
1072
- Y: [matchSigned, addInput('year')],
1073
- YY: [match2, function (input) {
1074
- this.year = parseTwoDigitYear(input);
1075
- }],
1076
- YYYY: [match4, addInput('year')],
1077
- Z: zoneExpressions,
1078
- ZZ: zoneExpressions
1079
- };
1080
-
1081
- function correctHours(time) {
1082
- var afternoon = time.afternoon;
1083
-
1084
- if (afternoon !== undefined) {
1085
- var hours = time.hours;
1086
-
1087
- if (afternoon) {
1088
- if (hours < 12) {
1089
- time.hours += 12;
1090
- }
1091
- } else if (hours === 12) {
1092
- time.hours = 0;
1093
- }
1094
-
1095
- delete time.afternoon;
1096
- }
1097
- }
1098
-
1099
- function makeParser(format) {
1100
- format = u(format, locale && locale.formats);
1101
- var array = format.match(formattingTokens);
1102
- var length = array.length;
1103
-
1104
- for (var i = 0; i < length; i += 1) {
1105
- var token = array[i];
1106
- var parseTo = expressions[token];
1107
- var regex = parseTo && parseTo[0];
1108
- var parser = parseTo && parseTo[1];
1109
-
1110
- if (parser) {
1111
- array[i] = {
1112
- regex: regex,
1113
- parser: parser
1114
- };
1115
- } else {
1116
- array[i] = token.replace(/^\[|\]$/g, '');
1117
- }
1118
- }
1119
-
1120
- return function (input) {
1121
- var time = {};
1122
-
1123
- for (var _i = 0, start = 0; _i < length; _i += 1) {
1124
- var _token = array[_i];
1125
-
1126
- if (typeof _token === 'string') {
1127
- start += _token.length;
1128
- } else {
1129
- var _regex = _token.regex,
1130
- _parser = _token.parser;
1131
- var part = input.slice(start);
1132
-
1133
- var match = _regex.exec(part);
1134
-
1135
- var value = match[0];
1136
-
1137
- _parser.call(time, value);
1138
-
1139
- input = input.replace(value, '');
1140
- }
1141
- }
1142
-
1143
- correctHours(time);
1144
- return time;
1145
- };
1146
- }
1147
-
1148
- var parseFormattedInput = function parseFormattedInput(input, format, utc) {
1149
- try {
1150
- if (['x', 'X'].indexOf(format) > -1) return new Date((format === 'X' ? 1000 : 1) * input);
1151
- var parser = makeParser(format);
1152
-
1153
- var _parser2 = parser(input),
1154
- year = _parser2.year,
1155
- month = _parser2.month,
1156
- day = _parser2.day,
1157
- hours = _parser2.hours,
1158
- minutes = _parser2.minutes,
1159
- seconds = _parser2.seconds,
1160
- milliseconds = _parser2.milliseconds,
1161
- zone = _parser2.zone;
1162
-
1163
- var now = new Date();
1164
- var d = day || (!year && !month ? now.getDate() : 1);
1165
- var y = year || now.getFullYear();
1166
- var M = 0;
1167
-
1168
- if (!(year && !month)) {
1169
- M = month > 0 ? month - 1 : now.getMonth();
1170
- }
1171
-
1172
- var h = hours || 0;
1173
- var m = minutes || 0;
1174
- var s = seconds || 0;
1175
- var ms = milliseconds || 0;
1176
-
1177
- if (zone) {
1178
- return new Date(Date.UTC(y, M, d, h, m, s, ms + zone.offset * 60 * 1000));
1179
- }
1180
-
1181
- if (utc) {
1182
- return new Date(Date.UTC(y, M, d, h, m, s, ms));
1183
- }
1184
-
1185
- return new Date(y, M, d, h, m, s, ms);
1186
- } catch (e) {
1187
- return new Date(''); // Invalid Date
1188
- }
1189
- };
1190
-
1191
- const customParseFormat = (function (o, C, d) {
1192
- d.p.customParseFormat = true;
1193
-
1194
- if (o && o.parseTwoDigitYear) {
1195
- parseTwoDigitYear = o.parseTwoDigitYear;
1196
- }
1197
-
1198
- var proto = C.prototype;
1199
- var oldParse = proto.parse;
1200
-
1201
- proto.parse = function (cfg) {
1202
- var date = cfg.date,
1203
- utc = cfg.utc,
1204
- args = cfg.args;
1205
- this.$u = utc;
1206
- var format = args[1];
1207
-
1208
- if (typeof format === 'string') {
1209
- var isStrictWithoutLocale = args[2] === true;
1210
- var isStrictWithLocale = args[3] === true;
1211
- var isStrict = isStrictWithoutLocale || isStrictWithLocale;
1212
- var pl = args[2];
1213
-
1214
- if (isStrictWithLocale) {
1215
- pl = args[2];
1216
- }
1217
-
1218
- locale = this.$locale();
1219
-
1220
- if (!isStrictWithoutLocale && pl) {
1221
- locale = d.Ls[pl];
1222
- }
1223
-
1224
- this.$d = parseFormattedInput(date, format, utc);
1225
- this.init();
1226
- if (pl && pl !== true) this.$L = this.locale(pl).$L; // use != to treat
1227
- // input number 1410715640579 and format string '1410715640579' equal
1228
- // eslint-disable-next-line eqeqeq
1229
-
1230
- if (isStrict && date != this.format(format)) {
1231
- this.$d = new Date('');
1232
- } // reset global locale to make parallel unit test
1233
-
1234
-
1235
- locale = {};
1236
- } else if (format instanceof Array) {
1237
- var len = format.length;
1238
-
1239
- for (var i = 1; i <= len; i += 1) {
1240
- args[1] = format[i - 1];
1241
- var result = d.apply(this, args);
1242
-
1243
- if (result.isValid()) {
1244
- this.$d = result.$d;
1245
- this.$L = result.$L;
1246
- this.init();
1247
- break;
1248
- }
1249
-
1250
- if (i === len) this.$d = new Date('');
1251
- }
1252
- } else {
1253
- oldParse.call(this, cfg);
1254
- }
1255
- };
1256
- });
1257
-
1258
- const localeData = (function (o, c, dayjs) {
1259
- // locale needed later
1260
- var proto = c.prototype;
1261
-
1262
- var getLocalePart = function getLocalePart(part) {
1263
- return part && (part.indexOf ? part : part.s);
1264
- };
1265
-
1266
- var getShort = function getShort(ins, target, full, num, localeOrder) {
1267
- var locale = ins.name ? ins : ins.$locale();
1268
- var targetLocale = getLocalePart(locale[target]);
1269
- var fullLocale = getLocalePart(locale[full]);
1270
- var result = targetLocale || fullLocale.map(function (f) {
1271
- return f.slice(0, num);
1272
- });
1273
- if (!localeOrder) return result;
1274
- var weekStart = locale.weekStart;
1275
- return result.map(function (_, index) {
1276
- return result[(index + (weekStart || 0)) % 7];
1277
- });
1278
- };
1279
-
1280
- var getDayjsLocaleObject = function getDayjsLocaleObject() {
1281
- return dayjs.Ls[dayjs.locale()];
1282
- };
1283
-
1284
- var getLongDateFormat = function getLongDateFormat(l, format) {
1285
- return l.formats[format] || t(l.formats[format.toUpperCase()]);
1286
- };
1287
-
1288
- var localeData = function localeData() {
1289
- var _this = this;
1290
-
1291
- return {
1292
- months: function months(instance) {
1293
- return instance ? instance.format('MMMM') : getShort(_this, 'months');
1294
- },
1295
- monthsShort: function monthsShort(instance) {
1296
- return instance ? instance.format('MMM') : getShort(_this, 'monthsShort', 'months', 3);
1297
- },
1298
- firstDayOfWeek: function firstDayOfWeek() {
1299
- return _this.$locale().weekStart || 0;
1300
- },
1301
- weekdays: function weekdays(instance) {
1302
- return instance ? instance.format('dddd') : getShort(_this, 'weekdays');
1303
- },
1304
- weekdaysMin: function weekdaysMin(instance) {
1305
- return instance ? instance.format('dd') : getShort(_this, 'weekdaysMin', 'weekdays', 2);
1306
- },
1307
- weekdaysShort: function weekdaysShort(instance) {
1308
- return instance ? instance.format('ddd') : getShort(_this, 'weekdaysShort', 'weekdays', 3);
1309
- },
1310
- longDateFormat: function longDateFormat(format) {
1311
- return getLongDateFormat(_this.$locale(), format);
1312
- },
1313
- meridiem: this.$locale().meridiem,
1314
- ordinal: this.$locale().ordinal
1315
- };
1316
- };
1317
-
1318
- proto.localeData = function () {
1319
- return localeData.bind(this)();
1320
- };
1321
-
1322
- dayjs.localeData = function () {
1323
- var localeObject = getDayjsLocaleObject();
1324
- return {
1325
- firstDayOfWeek: function firstDayOfWeek() {
1326
- return localeObject.weekStart || 0;
1327
- },
1328
- weekdays: function weekdays() {
1329
- return dayjs.weekdays();
1330
- },
1331
- weekdaysShort: function weekdaysShort() {
1332
- return dayjs.weekdaysShort();
1333
- },
1334
- weekdaysMin: function weekdaysMin() {
1335
- return dayjs.weekdaysMin();
1336
- },
1337
- months: function months() {
1338
- return dayjs.months();
1339
- },
1340
- monthsShort: function monthsShort() {
1341
- return dayjs.monthsShort();
1342
- },
1343
- longDateFormat: function longDateFormat(format) {
1344
- return getLongDateFormat(localeObject, format);
1345
- },
1346
- meridiem: localeObject.meridiem,
1347
- ordinal: localeObject.ordinal
1348
- };
1349
- };
1350
-
1351
- dayjs.months = function () {
1352
- return getShort(getDayjsLocaleObject(), 'months');
1353
- };
1354
-
1355
- dayjs.monthsShort = function () {
1356
- return getShort(getDayjsLocaleObject(), 'monthsShort', 'months', 3);
1357
- };
1358
-
1359
- dayjs.weekdays = function (localeOrder) {
1360
- return getShort(getDayjsLocaleObject(), 'weekdays', null, null, localeOrder);
1361
- };
1362
-
1363
- dayjs.weekdaysShort = function (localeOrder) {
1364
- return getShort(getDayjsLocaleObject(), 'weekdaysShort', 'weekdays', 3, localeOrder);
1365
- };
1366
-
1367
- dayjs.weekdaysMin = function (localeOrder) {
1368
- return getShort(getDayjsLocaleObject(), 'weekdaysMin', 'weekdays', 2, localeOrder);
1369
- };
1370
- });
1371
-
1372
- const localizedFormat = (function (o, c, d) {
1373
- var proto = c.prototype;
1374
- var oldFormat = proto.format;
1375
- d.en.formats = englishFormats;
1376
-
1377
- proto.format = function (formatStr) {
1378
- if (formatStr === void 0) {
1379
- formatStr = FORMAT_DEFAULT;
1380
- }
1381
-
1382
- var _this$$locale = this.$locale(),
1383
- _this$$locale$formats = _this$$locale.formats,
1384
- formats = _this$$locale$formats === void 0 ? {} : _this$$locale$formats;
1385
-
1386
- var result = u(formatStr, formats);
1387
- return oldFormat.call(this, result);
1388
- };
1389
- });
1390
-
1391
- // Plugin template from https://day.js.org/docs/en/plugin/plugin
1392
- const preParsePostFormat = (function (option, dayjsClass) {
1393
- var oldParse = dayjsClass.prototype.parse;
1394
-
1395
- dayjsClass.prototype.parse = function (cfg) {
1396
- if (typeof cfg.date === 'string') {
1397
- var locale = this.$locale();
1398
- cfg.date = locale && locale.preparse ? locale.preparse(cfg.date) : cfg.date;
1399
- } // original parse result
1400
-
1401
-
1402
- return oldParse.bind(this)(cfg);
1403
- }; // // overriding existing API
1404
- // // e.g. extend dayjs().format()
1405
-
1406
-
1407
- var oldFormat = dayjsClass.prototype.format;
1408
-
1409
- dayjsClass.prototype.format = function () {
1410
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1411
- args[_key] = arguments[_key];
1412
- }
1413
-
1414
- // original format result
1415
- var result = oldFormat.call.apply(oldFormat, [this].concat(args)); // return modified result
1416
-
1417
- var locale = this.$locale();
1418
- return locale && locale.postformat ? locale.postformat(result) : result;
1419
- };
1420
-
1421
- var oldFromTo = dayjsClass.prototype.fromToBase;
1422
-
1423
- if (oldFromTo) {
1424
- dayjsClass.prototype.fromToBase = function (input, withoutSuffix, instance, isFrom) {
1425
- var locale = this.$locale() || instance.$locale(); // original format result
1426
-
1427
- return oldFromTo.call(this, input, withoutSuffix, instance, isFrom, locale && locale.postformat);
1428
- };
1429
- }
1430
- });
1431
-
1432
- const updateLocale = (function (option, Dayjs, dayjs) {
1433
- dayjs.updateLocale = function (locale, customConfig) {
1434
- var localeList = dayjs.Ls;
1435
- var localeConfig = localeList[locale];
1436
- if (!localeConfig) return;
1437
- var customConfigKeys = customConfig ? Object.keys(customConfig) : [];
1438
- customConfigKeys.forEach(function (c) {
1439
- localeConfig[c] = customConfig[c];
1440
- });
1441
- return localeConfig; // eslint-disable-line consistent-return
1442
- };
1443
- });
1444
-
1445
- const inputTimePickerCss = ":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)}:host([hidden]){display:none}[hidden]{display:none}";
1446
-
1447
- // some bundlers (e.g., Webpack) need dynamic import paths to be static
1448
- const supportedDayjsLocaleToLocaleConfigImport = new Map([
1449
- ["ar", () => Promise.resolve().then(function () { return require('./ar-676d4661.js'); })],
1450
- ["bg", () => Promise.resolve().then(function () { return require('./bg-bcd768fb.js'); })],
1451
- ["bs", () => Promise.resolve().then(function () { return require('./bs-68506139.js'); })],
1452
- ["ca", () => Promise.resolve().then(function () { return require('./ca-d65441a8.js'); })],
1453
- ["cs", () => Promise.resolve().then(function () { return require('./cs-97a7bb1c.js'); })],
1454
- ["da", () => Promise.resolve().then(function () { return require('./da-f3851d5c.js'); })],
1455
- ["de", () => Promise.resolve().then(function () { return require('./de-f231cdf7.js'); })],
1456
- ["de-at", () => Promise.resolve().then(function () { return require('./de-at-21f55bee.js'); })],
1457
- ["de-ch", () => Promise.resolve().then(function () { return require('./de-ch-e8ea7000.js'); })],
1458
- ["el", () => Promise.resolve().then(function () { return require('./el-e739883d.js'); })],
1459
- ["en", () => Promise.resolve().then(function () { return en$1; })],
1460
- ["en-au", () => Promise.resolve().then(function () { return require('./en-au-e2a5821f.js'); })],
1461
- ["en-ca", () => Promise.resolve().then(function () { return require('./en-ca-a2c7fbb8.js'); })],
1462
- ["en-gb", () => Promise.resolve().then(function () { return require('./en-gb-26689f73.js'); })],
1463
- ["es", () => Promise.resolve().then(function () { return require('./es-7b551a15.js'); })],
1464
- ["es-mx", () => Promise.resolve().then(function () { return require('./es-mx-bf466cd5.js'); })],
1465
- ["et", () => Promise.resolve().then(function () { return require('./et-c2bdaca6.js'); })],
1466
- ["fi", () => Promise.resolve().then(function () { return require('./fi-ab63ec68.js'); })],
1467
- ["fr", () => Promise.resolve().then(function () { return require('./fr-e67b1ee6.js'); })],
1468
- ["fr-ch", () => Promise.resolve().then(function () { return require('./fr-ch-65bf0bbb.js'); })],
1469
- ["he", () => Promise.resolve().then(function () { return require('./he-1584ece4.js'); })],
1470
- ["hi", () => Promise.resolve().then(function () { return require('./hi-fe82983d.js'); })],
1471
- ["hr", () => Promise.resolve().then(function () { return require('./hr-6c423352.js'); })],
1472
- ["hu", () => Promise.resolve().then(function () { return require('./hu-3495e4a4.js'); })],
1473
- ["id", () => Promise.resolve().then(function () { return require('./id-d09c449b.js'); })],
1474
- ["it", () => Promise.resolve().then(function () { return require('./it-c2e6d7b9.js'); })],
1475
- ["it-ch", () => Promise.resolve().then(function () { return require('./it-ch-3c094987.js'); })],
1476
- ["ja", () => Promise.resolve().then(function () { return require('./ja-9a01b2a4.js'); })],
1477
- ["ko", () => Promise.resolve().then(function () { return require('./ko-f86ea633.js'); })],
1478
- ["lt", () => Promise.resolve().then(function () { return require('./lt-3addcf3e.js'); })],
1479
- ["lv", () => Promise.resolve().then(function () { return require('./lv-baa9fb0c.js'); })],
1480
- ["mk", () => Promise.resolve().then(function () { return require('./mk-d76486b4.js'); })],
1481
- ["nl", () => Promise.resolve().then(function () { return require('./nl-ff234132.js'); })],
1482
- ["nb", () => Promise.resolve().then(function () { return require('./nb-cb5485b4.js'); })],
1483
- ["pl", () => Promise.resolve().then(function () { return require('./pl-d9d3b37a.js'); })],
1484
- ["pt", () => Promise.resolve().then(function () { return require('./pt-4cf96854.js'); })],
1485
- ["pt-br", () => Promise.resolve().then(function () { return require('./pt-br-8e687141.js'); })],
1486
- ["ro", () => Promise.resolve().then(function () { return require('./ro-c97f9408.js'); })],
1487
- ["ru", () => Promise.resolve().then(function () { return require('./ru-0b476a0c.js'); })],
1488
- ["sk", () => Promise.resolve().then(function () { return require('./sk-eba54730.js'); })],
1489
- ["sl", () => Promise.resolve().then(function () { return require('./sl-b93fe9d8.js'); })],
1490
- ["sr", () => Promise.resolve().then(function () { return require('./sr-4f17ba65.js'); })],
1491
- ["sv", () => Promise.resolve().then(function () { return require('./sv-27e664de.js'); })],
1492
- ["th", () => Promise.resolve().then(function () { return require('./th-dada71c1.js'); })],
1493
- ["tr", () => Promise.resolve().then(function () { return require('./tr-6916ed57.js'); })],
1494
- ["uk", () => Promise.resolve().then(function () { return require('./uk-046465a6.js'); })],
1495
- ["vi", () => Promise.resolve().then(function () { return require('./vi-621da23b.js'); })],
1496
- ["zh-cn", () => Promise.resolve().then(function () { return require('./zh-cn-7ceeda57.js'); })],
1497
- ["zh-hk", () => Promise.resolve().then(function () { return require('./zh-hk-68ad0128.js'); })],
1498
- ["zh-tw", () => Promise.resolve().then(function () { return require('./zh-tw-f47cdecc.js'); })],
1499
- ]);
1500
- dayjs.extend(customParseFormat);
1501
- dayjs.extend(localeData);
1502
- dayjs.extend(localizedFormat);
1503
- dayjs.extend(preParsePostFormat);
1504
- dayjs.extend(updateLocale);
1505
- const InputTimePicker = class {
1506
- constructor(hostRef) {
1507
- index.registerInstance(this, hostRef);
1508
- this.calciteInputTimePickerChange = index.createEvent(this, "calciteInputTimePickerChange", 7);
1509
- this.focusOnOpen = false;
1510
- this.dialogId = `time-picker-dialog--${guid.guid()}`;
1511
- /** whether the value of the input was changed as a result of user typing or not */
1512
- this.userChangedValue = false;
1513
- this.referenceElementId = `input-time-picker-${guid.guid()}`;
1514
- //--------------------------------------------------------------------------
1515
- //
1516
- // Event Listeners
1517
- //
1518
- //--------------------------------------------------------------------------
1519
- this.hostBlurHandler = () => {
1520
- const inputValue = this.calciteInputEl.value;
1521
- const delocalizedInputValue = this.delocalizeTimeString(inputValue);
1522
- if (!delocalizedInputValue) {
1523
- this.setValue("");
1524
- return;
1525
- }
1526
- if (delocalizedInputValue !== this.value) {
1527
- this.setValue(delocalizedInputValue);
1528
- }
1529
- const localizedTimeString = localizeTimeString({
1530
- value: this.value,
1531
- locale: this.effectiveLocale,
1532
- numberingSystem: this.numberingSystem,
1533
- includeSeconds: this.shouldIncludeSeconds(),
1534
- fractionalSecondDigits: math.decimalPlaces(this.step),
1535
- });
1536
- if (localizedTimeString !== inputValue) {
1537
- this.setInputValue(localizedTimeString);
1538
- }
1539
- this.deactivate();
1540
- };
1541
- this.calciteInternalInputFocusHandler = (event) => {
1542
- if (!this.readOnly) {
1543
- event.stopPropagation();
1544
- }
1545
- };
1546
- this.calciteInternalInputInputHandler = (event) => {
1547
- const { effectiveLocale: locale, numberingSystem } = this;
1548
- if (numberingSystem && numberingSystem !== "latn") {
1549
- const target = event.target;
1550
- locale$1.numberStringFormatter.numberFormatOptions = {
1551
- locale,
1552
- numberingSystem,
1553
- useGrouping: false,
1554
- };
1555
- const valueInNumberingSystem = locale$1.numberStringFormatter
1556
- .delocalize(target.value)
1557
- .split("")
1558
- .map((char) => key.numberKeys.includes(char)
1559
- ? locale$1.numberStringFormatter.numberFormatter.format(Number(char))
1560
- : char)
1561
- .join("");
1562
- this.setInputValue(valueInNumberingSystem);
1563
- }
1564
- };
1565
- this.timePickerChangeHandler = (event) => {
1566
- event.stopPropagation();
1567
- const target = event.target;
1568
- const value = target.value;
1569
- const includeSeconds = this.shouldIncludeSeconds();
1570
- this.setValue(toISOTimeString(value, includeSeconds));
1571
- this.setInputValue(localizeTimeString({
1572
- value,
1573
- locale: this.effectiveLocale,
1574
- numberingSystem: this.numberingSystem,
1575
- includeSeconds,
1576
- fractionalSecondDigits: math.decimalPlaces(this.step),
1577
- }));
1578
- };
1579
- this.popoverCloseHandler = () => {
1580
- focusTrapComponent.deactivateFocusTrap(this, {
1581
- onDeactivate: () => {
1582
- this.calciteInputEl.setFocus();
1583
- this.focusOnOpen = false;
1584
- },
1585
- });
1586
- };
1587
- this.popoverOpenHandler = () => {
1588
- focusTrapComponent.activateFocusTrap(this, {
1589
- onActivate: () => {
1590
- if (this.focusOnOpen) {
1591
- this.calciteTimePickerEl.setFocus();
1592
- this.focusOnOpen = false;
1593
- }
1594
- },
1595
- });
1596
- };
1597
- this.keyDownHandler = (event) => {
1598
- const { defaultPrevented, key } = event;
1599
- if (defaultPrevented) {
1600
- return;
1601
- }
1602
- if (key === "Enter") {
1603
- if (form.submitForm(this)) {
1604
- event.preventDefault();
1605
- this.calciteInputEl.setFocus();
1606
- }
1607
- if (event.composedPath().includes(this.calciteTimePickerEl)) {
1608
- return;
1609
- }
1610
- const newValue = this.delocalizeTimeString(this.calciteInputEl.value);
1611
- if (isValidTime(newValue)) {
1612
- this.setValue(newValue);
1613
- const localizedTimeString = localizeTimeString({
1614
- value: this.value,
1615
- locale: this.effectiveLocale,
1616
- numberingSystem: this.numberingSystem,
1617
- includeSeconds: this.shouldIncludeSeconds(),
1618
- fractionalSecondDigits: math.decimalPlaces(this.step),
1619
- });
1620
- if (newValue && this.calciteInputEl.value !== localizedTimeString) {
1621
- this.setInputValue(localizedTimeString);
1622
- }
1623
- }
1624
- }
1625
- else if (key === "ArrowDown") {
1626
- this.open = true;
1627
- this.focusOnOpen = true;
1628
- event.preventDefault();
1629
- }
1630
- else if (key === "Escape" && this.open) {
1631
- this.open = false;
1632
- event.preventDefault();
1633
- this.calciteInputEl.setFocus();
1634
- }
1635
- };
1636
- this.setCalcitePopoverEl = (el) => {
1637
- this.popoverEl = el;
1638
- };
1639
- this.setCalciteInputEl = (el) => {
1640
- this.calciteInputEl = el;
1641
- };
1642
- this.setCalciteTimePickerEl = (el) => {
1643
- this.calciteTimePickerEl = el;
1644
- focusTrapComponent.connectFocusTrap(this, {
1645
- focusTrapEl: el,
1646
- focusTrapOptions: {
1647
- initialFocus: false,
1648
- setReturnFocus: false,
1649
- },
1650
- });
1651
- };
1652
- this.setInputValue = (newInputValue) => {
1653
- if (!this.calciteInputEl) {
1654
- return;
1655
- }
1656
- this.calciteInputEl.value = newInputValue;
1657
- };
1658
- /**
1659
- * Sets the value and emits a change event.
1660
- * This is used to update the value as a result of user interaction.
1661
- *
1662
- * @param value
1663
- */
1664
- this.setValue = (value) => {
1665
- const oldValue = this.value;
1666
- const newValue = formatTimeString(value) || "";
1667
- if (newValue === oldValue) {
1668
- return;
1669
- }
1670
- this.userChangedValue = true;
1671
- this.value = newValue || "";
1672
- const changeEvent = this.calciteInputTimePickerChange.emit();
1673
- if (changeEvent.defaultPrevented) {
1674
- this.userChangedValue = false;
1675
- this.value = oldValue;
1676
- this.setInputValue(localizeTimeString({
1677
- value: oldValue,
1678
- locale: this.effectiveLocale,
1679
- numberingSystem: this.numberingSystem,
1680
- includeSeconds: this.shouldIncludeSeconds(),
1681
- fractionalSecondDigits: math.decimalPlaces(this.step),
1682
- }));
1683
- }
1684
- };
1685
- /**
1686
- * Sets the value directly without emitting a change event.
1687
- * This is used to update the value on initial load and when props change that are not the result of user interaction.
1688
- *
1689
- * @param value
1690
- */
1691
- this.setValueDirectly = (value) => {
1692
- const includeSeconds = this.shouldIncludeSeconds();
1693
- this.value = toISOTimeString(value, includeSeconds);
1694
- this.setInputValue(this.value
1695
- ? localizeTimeString({
1696
- value: this.value,
1697
- includeSeconds,
1698
- locale: this.effectiveLocale,
1699
- numberingSystem: this.numberingSystem,
1700
- fractionalSecondDigits: math.decimalPlaces(this.step),
1701
- })
1702
- : "");
1703
- };
1704
- this.onInputWrapperClick = () => {
1705
- this.open = !this.open;
1706
- };
1707
- this.deactivate = () => {
1708
- this.open = false;
1709
- };
1710
- this.open = false;
1711
- this.disabled = false;
1712
- this.focusTrapDisabled = false;
1713
- this.form = undefined;
1714
- this.readOnly = false;
1715
- this.messageOverrides = undefined;
1716
- this.messages = undefined;
1717
- this.name = undefined;
1718
- this.numberingSystem = undefined;
1719
- this.required = false;
1720
- this.scale = "m";
1721
- this.overlayPositioning = "absolute";
1722
- this.placement = "auto";
1723
- this.step = 60;
1724
- this.value = null;
1725
- this.defaultMessages = undefined;
1726
- this.effectiveLocale = "";
1727
- }
1728
- openHandler(value) {
1729
- if (this.disabled || this.readOnly) {
1730
- this.open = false;
1731
- return;
1732
- }
1733
- if (value) {
1734
- this.reposition(true);
1735
- }
1736
- }
1737
- handleFocusTrapDisabled(focusTrapDisabled) {
1738
- if (!this.open) {
1739
- return;
1740
- }
1741
- focusTrapDisabled ? focusTrapComponent.deactivateFocusTrap(this) : focusTrapComponent.activateFocusTrap(this);
1742
- }
1743
- handleDisabledAndReadOnlyChange(value) {
1744
- if (!value) {
1745
- this.open = false;
1746
- }
1747
- }
1748
- onMessagesChange() {
1749
- /* wired up by t9n util */
1750
- }
1751
- numberingSystemWatcher(numberingSystem) {
1752
- this.setInputValue(localizeTimeString({
1753
- value: this.value,
1754
- locale: this.effectiveLocale,
1755
- numberingSystem,
1756
- includeSeconds: this.shouldIncludeSeconds(),
1757
- fractionalSecondDigits: math.decimalPlaces(this.step),
1758
- }));
1759
- }
1760
- stepWatcher(newStep, oldStep) {
1761
- if ((oldStep >= 60 && newStep > 0 && newStep < 60) ||
1762
- (newStep >= 60 && oldStep > 0 && oldStep < 60)) {
1763
- this.setValueDirectly(this.value);
1764
- }
1765
- }
1766
- valueWatcher(newValue) {
1767
- if (!this.userChangedValue) {
1768
- this.setValueDirectly(newValue);
1769
- }
1770
- this.userChangedValue = false;
1771
- }
1772
- async effectiveLocaleWatcher(locale) {
1773
- await this.loadDateTimeLocaleData();
1774
- this.setInputValue(localizeTimeString({
1775
- value: this.value,
1776
- locale,
1777
- numberingSystem: this.numberingSystem,
1778
- includeSeconds: this.shouldIncludeSeconds(),
1779
- fractionalSecondDigits: math.decimalPlaces(this.step),
1780
- }));
1781
- }
1782
- // --------------------------------------------------------------------------
1783
- //
1784
- // Public Methods
1785
- //
1786
- // --------------------------------------------------------------------------
1787
- /** Sets focus on the component. */
1788
- async setFocus() {
1789
- await loadable.componentFocusable(this);
1790
- this.el.focus();
1791
- }
1792
- /**
1793
- * Updates the position of the component.
1794
- *
1795
- * @param delayed
1796
- */
1797
- async reposition(delayed = false) {
1798
- this.popoverEl?.reposition(delayed);
1799
- }
1800
- // --------------------------------------------------------------------------
1801
- //
1802
- // Private Methods
1803
- //
1804
- // --------------------------------------------------------------------------
1805
- delocalizeTimeString(value) {
1806
- // we need to set the corresponding locale before parsing, otherwise it defaults to English (possible dayjs bug)
1807
- dayjs.locale(this.effectiveLocale.toLowerCase());
1808
- const nonFractionalSecondParts = this.delocalizeTimeStringToParts(value);
1809
- let delocalizedTimeString;
1810
- if (this.shouldIncludeFractionalSeconds()) {
1811
- const stepPrecision = math.decimalPlaces(this.step);
1812
- const centisecondParts = this.delocalizeTimeStringToParts(value, "S");
1813
- if (stepPrecision === 1) {
1814
- delocalizedTimeString =
1815
- centisecondParts.millisecond !== 0
1816
- ? this.getTimeStringFromParts(centisecondParts)
1817
- : this.getTimeStringFromParts(nonFractionalSecondParts);
1818
- }
1819
- else {
1820
- const decisecondParts = this.delocalizeTimeStringToParts(value, "SS");
1821
- if (stepPrecision === 2) {
1822
- if (decisecondParts.millisecond !== 0) {
1823
- delocalizedTimeString = this.getTimeStringFromParts(decisecondParts);
1824
- }
1825
- else if (centisecondParts.millisecond !== 0) {
1826
- delocalizedTimeString = this.getTimeStringFromParts(centisecondParts);
1827
- }
1828
- else {
1829
- delocalizedTimeString = this.getTimeStringFromParts(nonFractionalSecondParts);
1830
- }
1831
- }
1832
- else if (stepPrecision >= 3) {
1833
- const millisecondParts = this.delocalizeTimeStringToParts(value, "SSS");
1834
- if (millisecondParts.millisecond !== 0) {
1835
- delocalizedTimeString = this.getTimeStringFromParts(millisecondParts);
1836
- }
1837
- else if (decisecondParts.millisecond !== 0) {
1838
- delocalizedTimeString = this.getTimeStringFromParts(decisecondParts);
1839
- }
1840
- else if (centisecondParts.millisecond !== 0) {
1841
- delocalizedTimeString = this.getTimeStringFromParts(centisecondParts);
1842
- }
1843
- else {
1844
- delocalizedTimeString = this.getTimeStringFromParts(nonFractionalSecondParts);
1845
- }
1846
- }
1847
- }
1848
- }
1849
- else {
1850
- delocalizedTimeString = this.getTimeStringFromParts(nonFractionalSecondParts);
1851
- }
1852
- return delocalizedTimeString;
1853
- }
1854
- delocalizeTimeStringToParts(localizedTimeString, fractionalSecondFormatToken) {
1855
- const ltsFormatString = this.localeConfig?.formats?.LTS;
1856
- const fractionalSecondTokenMatch = ltsFormatString.match(/ss\.*(S+)/g);
1857
- if (fractionalSecondFormatToken && this.shouldIncludeFractionalSeconds()) {
1858
- const secondFormatToken = `ss.${fractionalSecondFormatToken}`;
1859
- this.localeConfig.formats.LTS = fractionalSecondTokenMatch
1860
- ? ltsFormatString.replace(fractionalSecondTokenMatch[0], secondFormatToken)
1861
- : ltsFormatString.replace("ss", secondFormatToken);
1862
- }
1863
- else if (fractionalSecondTokenMatch) {
1864
- this.localeConfig.formats.LTS = ltsFormatString.replace(fractionalSecondTokenMatch[0], "ss");
1865
- }
1866
- dayjs.updateLocale(this.getSupportedDayjsLocale(locale$1.getSupportedLocale(this.effectiveLocale)), this.localeConfig);
1867
- const dayjsParseResult = dayjs(localizedTimeString, ["LTS", "LT"]);
1868
- if (dayjsParseResult.isValid()) {
1869
- return {
1870
- hour: dayjsParseResult.get("hour"),
1871
- minute: dayjsParseResult.get("minute"),
1872
- second: dayjsParseResult.get("second"),
1873
- millisecond: dayjsParseResult.get("millisecond"),
1874
- };
1875
- }
1876
- return {
1877
- hour: null,
1878
- minute: null,
1879
- second: null,
1880
- millisecond: null,
1881
- };
1882
- }
1883
- getTimeStringFromParts(parts) {
1884
- let timeString = "";
1885
- if (!parts) {
1886
- return timeString;
1887
- }
1888
- if (parts.hour !== null && parts.minute !== null) {
1889
- timeString = `${formatTimePart(parts.hour)}:${formatTimePart(parts.minute)}`;
1890
- if (this.shouldIncludeSeconds() && parts.second !== null) {
1891
- timeString += `:${formatTimePart(parts.second)}`;
1892
- if (this.shouldIncludeFractionalSeconds() && parts.millisecond !== null) {
1893
- const second = (parts.millisecond * 0.001).toFixed(math.decimalPlaces(this.step));
1894
- timeString += `.${second.toString().replace("0.", "")}`;
1895
- }
1896
- }
1897
- }
1898
- return timeString;
1899
- }
1900
- getSupportedDayjsLocale(locale) {
1901
- const dayjsLocale = locale.toLowerCase();
1902
- if (dayjsLocale === "no") {
1903
- return "nb";
1904
- }
1905
- if (dayjsLocale === "pt-pt") {
1906
- return "pt";
1907
- }
1908
- return dayjsLocale;
1909
- }
1910
- async loadDateTimeLocaleData() {
1911
- let supportedLocale = locale$1.getSupportedLocale(this.effectiveLocale).toLowerCase();
1912
- supportedLocale = this.getSupportedDayjsLocale(supportedLocale);
1913
- const { default: localeConfig } = await supportedDayjsLocaleToLocaleConfigImport.get(supportedLocale)();
1914
- this.localeConfig = localeConfig;
1915
- dayjs.locale(this.localeConfig, null, true);
1916
- dayjs.updateLocale(supportedLocale, this.getExtendedLocaleConfig(supportedLocale));
1917
- }
1918
- getExtendedLocaleConfig(locale) {
1919
- if (locale === "ar") {
1920
- return {
1921
- meridiem: (hour) => (hour > 12 ? "م" : "ص"),
1922
- formats: {
1923
- LT: "HH:mm A",
1924
- LTS: "HH:mm:ss A",
1925
- L: "DD/MM/YYYY",
1926
- LL: "D MMMM YYYY",
1927
- LLL: "D MMMM YYYY HH:mm A",
1928
- LLLL: "dddd D MMMM YYYY HH:mm A",
1929
- },
1930
- };
1931
- }
1932
- if (locale === "en-au") {
1933
- return {
1934
- meridiem: (hour) => (hour > 12 ? "pm" : "am"),
1935
- };
1936
- }
1937
- if (locale === "en-ca") {
1938
- return {
1939
- meridiem: (hour) => (hour > 12 ? "p.m." : "a.m."),
1940
- };
1941
- }
1942
- if (locale === "el") {
1943
- return {
1944
- meridiem: (hour) => (hour > 12 ? "μ.μ." : "π.μ."),
1945
- };
1946
- }
1947
- if (locale === "hi") {
1948
- return {
1949
- formats: {
1950
- LT: "h:mm A",
1951
- LTS: "h:mm:ss A",
1952
- L: "DD/MM/YYYY",
1953
- LL: "D MMMM YYYY",
1954
- LLL: "D MMMM YYYY, h:mm A",
1955
- LLLL: "dddd, D MMMM YYYY, h:mm A",
1956
- },
1957
- meridiem: (hour) => (hour > 12 ? "pm" : "am"),
1958
- };
1959
- }
1960
- if (locale === "ko") {
1961
- return {
1962
- meridiem: (hour) => (hour > 12 ? "오후" : "오전"),
1963
- };
1964
- }
1965
- if (locale === "zh-tw") {
1966
- return {
1967
- formats: {
1968
- LT: "AHH:mm",
1969
- LTS: "AHH:mm:ss",
1970
- },
1971
- };
1972
- }
1973
- if (locale === "zh-hk") {
1974
- return {
1975
- formats: {
1976
- LT: "AHH:mm",
1977
- LTS: "AHH:mm:ss",
1978
- },
1979
- meridiem: (hour) => (hour > 12 ? "下午" : "上午"),
1980
- };
1981
- }
1982
- }
1983
- onLabelClick() {
1984
- this.setFocus();
1985
- }
1986
- shouldIncludeSeconds() {
1987
- return this.step < 60;
1988
- }
1989
- shouldIncludeFractionalSeconds() {
1990
- return math.decimalPlaces(this.step) > 0;
1991
- }
1992
- //--------------------------------------------------------------------------
1993
- //
1994
- // Lifecycle
1995
- //
1996
- //--------------------------------------------------------------------------
1997
- connectedCallback() {
1998
- interactive.connectInteractive(this);
1999
- locale$1.connectLocalized(this);
2000
- if (isValidTime(this.value)) {
2001
- this.setValueDirectly(this.value);
2002
- }
2003
- else {
2004
- this.value = undefined;
2005
- }
2006
- label.connectLabel(this);
2007
- form.connectForm(this);
2008
- t9n.connectMessages(this);
2009
- }
2010
- async componentWillLoad() {
2011
- loadable.setUpLoadableComponent(this);
2012
- await Promise.all([t9n.setUpMessages(this), this.loadDateTimeLocaleData()]);
2013
- }
2014
- componentDidLoad() {
2015
- loadable.setComponentLoaded(this);
2016
- if (isValidTime(this.value)) {
2017
- this.setInputValue(localizeTimeString({
2018
- value: this.value,
2019
- locale: this.effectiveLocale,
2020
- numberingSystem: this.numberingSystem,
2021
- includeSeconds: this.shouldIncludeSeconds(),
2022
- fractionalSecondDigits: math.decimalPlaces(this.step),
2023
- }));
2024
- }
2025
- }
2026
- disconnectedCallback() {
2027
- interactive.disconnectInteractive(this);
2028
- label.disconnectLabel(this);
2029
- form.disconnectForm(this);
2030
- locale$1.disconnectLocalized(this);
2031
- focusTrapComponent.deactivateFocusTrap(this);
2032
- t9n.disconnectMessages(this);
2033
- }
2034
- componentDidRender() {
2035
- interactive.updateHostInteraction(this);
2036
- }
2037
- // --------------------------------------------------------------------------
2038
- //
2039
- // Render Methods
2040
- //
2041
- // --------------------------------------------------------------------------
2042
- render() {
2043
- const { disabled, messages, readOnly, dialogId } = this;
2044
- return (index.h(index.Host, { onBlur: this.hostBlurHandler, onKeyDown: this.keyDownHandler }, index.h("div", { class: "input-wrapper", onClick: this.onInputWrapperClick }, index.h("calcite-input", { "aria-autocomplete": "none", "aria-haspopup": "dialog", disabled: disabled, icon: "clock", id: this.referenceElementId, label: label.getLabelText(this), lang: this.effectiveLocale, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: readOnly, role: "combobox", scale: this.scale, step: this.step,
2045
- // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
2046
- ref: this.setCalciteInputEl }), !this.readOnly && this.renderToggleIcon(this.open)), index.h("calcite-popover", { focusTrapDisabled: true, id: dialogId, label: messages.chooseTime, lang: this.effectiveLocale, onCalcitePopoverClose: this.popoverCloseHandler, onCalcitePopoverOpen: this.popoverOpenHandler, open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, referenceElement: this.referenceElementId, triggerDisabled: true,
2047
- // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
2048
- ref: this.setCalcitePopoverEl }, index.h("calcite-time-picker", { lang: this.effectiveLocale, messageOverrides: this.messageOverrides, numberingSystem: this.numberingSystem, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, scale: this.scale, step: this.step, tabIndex: this.open ? undefined : -1, value: this.value,
2049
- // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
2050
- ref: this.setCalciteTimePickerEl })), index.h(form.HiddenFormInputSlot, { component: this })));
2051
- }
2052
- renderToggleIcon(open) {
2053
- return (index.h("span", { class: CSS$1.toggleIcon }, index.h("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
2054
- }
2055
- static get delegatesFocus() { return true; }
2056
- static get assetsDirs() { return ["assets"]; }
2057
- get el() { return index.getElement(this); }
2058
- static get watchers() { return {
2059
- "open": ["openHandler"],
2060
- "focusTrapDisabled": ["handleFocusTrapDisabled"],
2061
- "disabled": ["handleDisabledAndReadOnlyChange"],
2062
- "readOnly": ["handleDisabledAndReadOnlyChange"],
2063
- "messageOverrides": ["onMessagesChange"],
2064
- "numberingSystem": ["numberingSystemWatcher"],
2065
- "step": ["stepWatcher"],
2066
- "value": ["valueWatcher"],
2067
- "effectiveLocale": ["effectiveLocaleWatcher"]
2068
- }; }
2069
- };
2070
- InputTimePicker.style = inputTimePickerCss;
2071
-
2072
- const CSS = {
2073
- button: "button",
2074
- buttonBottomLeft: "button--bottom-left",
2075
- buttonBottomRight: "button--bottom-right",
2076
- buttonFractionalSecondDown: "button--fractionalSecond-down",
2077
- buttonFractionalSecondUp: "button--fractionalSecond-up",
2078
- buttonHourDown: "button--hour-down",
2079
- buttonHourUp: "button--hour-up",
2080
- buttonMeridiemDown: "button--meridiem-down",
2081
- buttonMeridiemUp: "button--meridiem-up",
2082
- buttonMinuteDown: "button--minute-down",
2083
- buttonMinuteUp: "button--minute-up",
2084
- buttonSecondDown: "button--second-down",
2085
- buttonSecondUp: "button--second-up",
2086
- buttonTopLeft: "button--top-left",
2087
- buttonTopRight: "button--top-right",
2088
- column: "column",
2089
- delimiter: "delimiter",
2090
- fractionalSecond: "fractionalSecond",
2091
- hour: "hour",
2092
- input: "input",
2093
- meridiem: "meridiem",
2094
- minute: "minute",
2095
- second: "second",
2096
- showMeridiem: "show-meridiem",
2097
- showSecond: "show-second",
2098
- "scale-s": "scale-s",
2099
- "scale-m": "scale-m",
2100
- "scale-l": "scale-l",
2101
- timePicker: "time-picker",
2102
- meridiemStart: "meridiem--start",
2103
- };
2104
-
2105
- const timePickerCss = ":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}:host([hidden]){display:none}[hidden]{display:none}";
2106
-
2107
- function capitalize(str) {
2108
- return str.charAt(0).toUpperCase() + str.slice(1);
2109
- }
2110
- const TimePicker = class {
2111
- constructor(hostRef) {
2112
- index.registerInstance(this, hostRef);
2113
- this.calciteInternalTimePickerBlur = index.createEvent(this, "calciteInternalTimePickerBlur", 6);
2114
- this.calciteInternalTimePickerChange = index.createEvent(this, "calciteInternalTimePickerChange", 6);
2115
- this.calciteInternalTimePickerFocus = index.createEvent(this, "calciteInternalTimePickerFocus", 6);
2116
- this.decrementFractionalSecond = () => {
2117
- this.nudgeFractionalSecond("down");
2118
- };
2119
- this.decrementHour = () => {
2120
- const newHour = !this.hour ? 0 : this.hour === "00" ? 23 : parseInt(this.hour) - 1;
2121
- this.setValuePart("hour", newHour);
2122
- };
2123
- this.decrementMeridiem = () => {
2124
- const newMeridiem = this.meridiem === "PM" ? "AM" : "PM";
2125
- this.setValuePart("meridiem", newMeridiem);
2126
- };
2127
- this.decrementMinuteOrSecond = (key) => {
2128
- let newValue;
2129
- if (locale$1.isValidNumber(this[key])) {
2130
- const valueAsNumber = parseInt(this[key]);
2131
- newValue = valueAsNumber === 0 ? 59 : valueAsNumber - 1;
2132
- }
2133
- else {
2134
- newValue = 59;
2135
- }
2136
- this.setValuePart(key, newValue);
2137
- };
2138
- this.decrementMinute = () => {
2139
- this.decrementMinuteOrSecond("minute");
2140
- };
2141
- this.decrementSecond = () => {
2142
- this.decrementMinuteOrSecond("second");
2143
- };
2144
- this.focusHandler = (event) => {
2145
- this.activeEl = event.currentTarget;
2146
- };
2147
- this.fractionalSecondKeyDownHandler = (event) => {
2148
- const { key: key$1 } = event;
2149
- if (key.numberKeys.includes(key$1)) {
2150
- const stepPrecision = math.decimalPlaces(this.step);
2151
- const fractionalSecondAsInteger = parseInt(this.fractionalSecond);
2152
- const fractionalSecondAsIntegerLength = fractionalSecondAsInteger.toString().length;
2153
- let newFractionalSecondAsIntegerString;
2154
- if (fractionalSecondAsIntegerLength >= stepPrecision) {
2155
- newFractionalSecondAsIntegerString = key$1.padStart(stepPrecision, "0");
2156
- }
2157
- else if (fractionalSecondAsIntegerLength < stepPrecision) {
2158
- newFractionalSecondAsIntegerString = `${fractionalSecondAsInteger}${key$1}`.padStart(stepPrecision, "0");
2159
- }
2160
- this.setValuePart("fractionalSecond", parseFloat(`0.${newFractionalSecondAsIntegerString}`));
2161
- }
2162
- else {
2163
- switch (key$1) {
2164
- case "Backspace":
2165
- case "Delete":
2166
- this.setValuePart("fractionalSecond", null);
2167
- break;
2168
- case "ArrowDown":
2169
- event.preventDefault();
2170
- this.nudgeFractionalSecond("down");
2171
- break;
2172
- case "ArrowUp":
2173
- event.preventDefault();
2174
- this.nudgeFractionalSecond("up");
2175
- break;
2176
- case " ":
2177
- event.preventDefault();
2178
- break;
2179
- }
2180
- }
2181
- };
2182
- this.hourKeyDownHandler = (event) => {
2183
- const { key: key$1 } = event;
2184
- if (key.numberKeys.includes(key$1)) {
2185
- const keyAsNumber = parseInt(key$1);
2186
- let newHour;
2187
- if (locale$1.isValidNumber(this.hour)) {
2188
- switch (this.hourCycle) {
2189
- case "12":
2190
- newHour =
2191
- this.hour === "01" && keyAsNumber >= 0 && keyAsNumber <= 2
2192
- ? `1${keyAsNumber}`
2193
- : keyAsNumber;
2194
- break;
2195
- case "24":
2196
- if (this.hour === "01") {
2197
- newHour = `1${keyAsNumber}`;
2198
- }
2199
- else if (this.hour === "02" && keyAsNumber >= 0 && keyAsNumber <= 3) {
2200
- newHour = `2${keyAsNumber}`;
2201
- }
2202
- else {
2203
- newHour = keyAsNumber;
2204
- }
2205
- break;
2206
- }
2207
- }
2208
- else {
2209
- newHour = keyAsNumber;
2210
- }
2211
- this.setValuePart("hour", newHour);
2212
- }
2213
- else {
2214
- switch (key$1) {
2215
- case "Backspace":
2216
- case "Delete":
2217
- this.setValuePart("hour", null);
2218
- break;
2219
- case "ArrowDown":
2220
- event.preventDefault();
2221
- this.decrementHour();
2222
- break;
2223
- case "ArrowUp":
2224
- event.preventDefault();
2225
- this.incrementHour();
2226
- break;
2227
- case " ":
2228
- event.preventDefault();
2229
- break;
2230
- }
2231
- }
2232
- };
2233
- this.incrementFractionalSecond = () => {
2234
- this.nudgeFractionalSecond("up");
2235
- };
2236
- this.incrementMeridiem = () => {
2237
- const newMeridiem = this.meridiem === "AM" ? "PM" : "AM";
2238
- this.setValuePart("meridiem", newMeridiem);
2239
- };
2240
- this.incrementHour = () => {
2241
- const newHour = locale$1.isValidNumber(this.hour)
2242
- ? this.hour === "23"
2243
- ? 0
2244
- : parseInt(this.hour) + 1
2245
- : 1;
2246
- this.setValuePart("hour", newHour);
2247
- };
2248
- this.incrementMinuteOrSecond = (key) => {
2249
- const newValue = locale$1.isValidNumber(this[key])
2250
- ? this[key] === "59"
2251
- ? 0
2252
- : parseInt(this[key]) + 1
2253
- : 0;
2254
- this.setValuePart(key, newValue);
2255
- };
2256
- this.incrementMinute = () => {
2257
- this.incrementMinuteOrSecond("minute");
2258
- };
2259
- this.incrementSecond = () => {
2260
- this.incrementMinuteOrSecond("second");
2261
- };
2262
- this.meridiemKeyDownHandler = (event) => {
2263
- switch (event.key) {
2264
- case "a":
2265
- this.setValuePart("meridiem", "AM");
2266
- break;
2267
- case "p":
2268
- this.setValuePart("meridiem", "PM");
2269
- break;
2270
- case "Backspace":
2271
- case "Delete":
2272
- this.setValuePart("meridiem", null);
2273
- break;
2274
- case "ArrowUp":
2275
- event.preventDefault();
2276
- this.incrementMeridiem();
2277
- break;
2278
- case "ArrowDown":
2279
- event.preventDefault();
2280
- this.decrementMeridiem();
2281
- break;
2282
- case " ":
2283
- event.preventDefault();
2284
- break;
2285
- }
2286
- };
2287
- this.minuteKeyDownHandler = (event) => {
2288
- const { key: key$1 } = event;
2289
- if (key.numberKeys.includes(key$1)) {
2290
- const keyAsNumber = parseInt(key$1);
2291
- let newMinute;
2292
- if (locale$1.isValidNumber(this.minute) && this.minute.startsWith("0")) {
2293
- const minuteAsNumber = parseInt(this.minute);
2294
- newMinute =
2295
- minuteAsNumber > maxTenthForMinuteAndSecond
2296
- ? keyAsNumber
2297
- : `${minuteAsNumber}${keyAsNumber}`;
2298
- }
2299
- else {
2300
- newMinute = keyAsNumber;
2301
- }
2302
- this.setValuePart("minute", newMinute);
2303
- }
2304
- else {
2305
- switch (key$1) {
2306
- case "Backspace":
2307
- case "Delete":
2308
- this.setValuePart("minute", null);
2309
- break;
2310
- case "ArrowDown":
2311
- event.preventDefault();
2312
- this.decrementMinute();
2313
- break;
2314
- case "ArrowUp":
2315
- event.preventDefault();
2316
- this.incrementMinute();
2317
- break;
2318
- case " ":
2319
- event.preventDefault();
2320
- break;
2321
- }
2322
- }
2323
- };
2324
- this.nudgeFractionalSecond = (direction) => {
2325
- const stepDecimal = math.getDecimals(this.step);
2326
- const stepPrecision = math.decimalPlaces(this.step);
2327
- const fractionalSecondAsInteger = parseInt(this.fractionalSecond);
2328
- const fractionalSecondAsFloat = parseFloat(`0.${this.fractionalSecond}`);
2329
- let nudgedValue;
2330
- let nudgedValueRounded;
2331
- let nudgedValueRoundedDecimals;
2332
- let newFractionalSecond;
2333
- if (direction === "up") {
2334
- nudgedValue = isNaN(fractionalSecondAsInteger) ? 0 : fractionalSecondAsFloat + stepDecimal;
2335
- nudgedValueRounded = parseFloat(nudgedValue.toFixed(stepPrecision));
2336
- nudgedValueRoundedDecimals = math.getDecimals(nudgedValueRounded);
2337
- newFractionalSecond =
2338
- nudgedValueRounded < 1 && math.decimalPlaces(nudgedValueRoundedDecimals) > 0
2339
- ? formatTimePart(nudgedValueRoundedDecimals, stepPrecision)
2340
- : "".padStart(stepPrecision, "0");
2341
- }
2342
- if (direction === "down") {
2343
- nudgedValue =
2344
- isNaN(fractionalSecondAsInteger) || fractionalSecondAsInteger === 0
2345
- ? 1 - stepDecimal
2346
- : fractionalSecondAsFloat - stepDecimal;
2347
- nudgedValueRounded = parseFloat(nudgedValue.toFixed(stepPrecision));
2348
- nudgedValueRoundedDecimals = math.getDecimals(nudgedValueRounded);
2349
- newFractionalSecond =
2350
- nudgedValueRounded < 1 &&
2351
- math.decimalPlaces(nudgedValueRoundedDecimals) > 0 &&
2352
- Math.sign(nudgedValueRoundedDecimals) === 1
2353
- ? formatTimePart(nudgedValueRoundedDecimals, stepPrecision)
2354
- : "".padStart(stepPrecision, "0");
2355
- }
2356
- this.setValuePart("fractionalSecond", newFractionalSecond);
2357
- };
2358
- this.sanitizeValue = (value) => {
2359
- const { hour, minute, second, fractionalSecond } = parseTimeString(value);
2360
- if (fractionalSecond) {
2361
- const sanitizedFractionalSecond = this.sanitizeFractionalSecond(fractionalSecond);
2362
- return `${hour}:${minute}:${second}.${sanitizedFractionalSecond}`;
2363
- }
2364
- return isValidTime(value) && value;
2365
- };
2366
- this.sanitizeFractionalSecond = (fractionalSecond) => fractionalSecond && math.decimalPlaces(this.step) !== fractionalSecond.length
2367
- ? parseFloat(`0.${fractionalSecond}`).toFixed(math.decimalPlaces(this.step)).replace("0.", "")
2368
- : fractionalSecond;
2369
- this.secondKeyDownHandler = (event) => {
2370
- const { key: key$1 } = event;
2371
- if (key.numberKeys.includes(key$1)) {
2372
- const keyAsNumber = parseInt(key$1);
2373
- let newSecond;
2374
- if (locale$1.isValidNumber(this.second) && this.second.startsWith("0")) {
2375
- const secondAsNumber = parseInt(this.second);
2376
- newSecond =
2377
- secondAsNumber > maxTenthForMinuteAndSecond
2378
- ? keyAsNumber
2379
- : `${secondAsNumber}${keyAsNumber}`;
2380
- }
2381
- else {
2382
- newSecond = keyAsNumber;
2383
- }
2384
- this.setValuePart("second", newSecond);
2385
- }
2386
- else {
2387
- switch (key$1) {
2388
- case "Backspace":
2389
- case "Delete":
2390
- this.setValuePart("second", null);
2391
- break;
2392
- case "ArrowDown":
2393
- event.preventDefault();
2394
- this.decrementSecond();
2395
- break;
2396
- case "ArrowUp":
2397
- event.preventDefault();
2398
- this.incrementSecond();
2399
- break;
2400
- case " ":
2401
- event.preventDefault();
2402
- break;
2403
- }
2404
- }
2405
- };
2406
- this.setHourEl = (el) => (this.hourEl = el);
2407
- this.setMeridiemEl = (el) => (this.meridiemEl = el);
2408
- this.setMinuteEl = (el) => (this.minuteEl = el);
2409
- this.setSecondEl = (el) => (this.secondEl = el);
2410
- this.setFractionalSecondEl = (el) => (this.fractionalSecondEl = el);
2411
- this.setValue = (value) => {
2412
- if (isValidTime(value)) {
2413
- const { hour, minute, second, fractionalSecond } = parseTimeString(value);
2414
- const { effectiveLocale: locale, numberingSystem } = this;
2415
- const { localizedHour, localizedHourSuffix, localizedMinute, localizedMinuteSuffix, localizedSecond, localizedDecimalSeparator, localizedFractionalSecond, localizedSecondSuffix, localizedMeridiem, } = localizeTimeStringToParts({ value, locale, numberingSystem });
2416
- this.hour = hour;
2417
- this.minute = minute;
2418
- this.second = second;
2419
- this.fractionalSecond = this.sanitizeFractionalSecond(fractionalSecond);
2420
- this.localizedHour = localizedHour;
2421
- this.localizedHourSuffix = localizedHourSuffix;
2422
- this.localizedMinute = localizedMinute;
2423
- this.localizedMinuteSuffix = localizedMinuteSuffix;
2424
- this.localizedSecond = localizedSecond;
2425
- this.localizedDecimalSeparator = localizedDecimalSeparator;
2426
- this.localizedFractionalSecond = localizedFractionalSecond;
2427
- this.localizedSecondSuffix = localizedSecondSuffix;
2428
- if (localizedMeridiem) {
2429
- this.localizedMeridiem = localizedMeridiem;
2430
- this.meridiem = getMeridiem(this.hour);
2431
- const formatParts = getTimeParts({ value, locale, numberingSystem });
2432
- this.meridiemOrder = this.getMeridiemOrder(formatParts);
2433
- }
2434
- }
2435
- else {
2436
- this.hour = null;
2437
- this.fractionalSecond = null;
2438
- this.localizedHour = null;
2439
- this.localizedHourSuffix = getLocalizedTimePartSuffix("hour", this.effectiveLocale, this.numberingSystem);
2440
- this.localizedMeridiem = null;
2441
- this.localizedMinute = null;
2442
- this.localizedMinuteSuffix = getLocalizedTimePartSuffix("minute", this.effectiveLocale, this.numberingSystem);
2443
- this.localizedSecond = null;
2444
- this.localizedDecimalSeparator = getLocalizedDecimalSeparator(this.effectiveLocale, this.numberingSystem);
2445
- this.localizedFractionalSecond = null;
2446
- this.localizedSecondSuffix = getLocalizedTimePartSuffix("second", this.effectiveLocale, this.numberingSystem);
2447
- this.meridiem = null;
2448
- this.minute = null;
2449
- this.second = null;
2450
- this.value = null;
2451
- }
2452
- };
2453
- this.setValuePart = (key, value) => {
2454
- const { effectiveLocale: locale, numberingSystem } = this;
2455
- if (key === "meridiem") {
2456
- this.meridiem = value;
2457
- if (locale$1.isValidNumber(this.hour)) {
2458
- const hourAsNumber = parseInt(this.hour);
2459
- switch (value) {
2460
- case "AM":
2461
- if (hourAsNumber >= 12) {
2462
- this.hour = formatTimePart(hourAsNumber - 12);
2463
- }
2464
- break;
2465
- case "PM":
2466
- if (hourAsNumber < 12) {
2467
- this.hour = formatTimePart(hourAsNumber + 12);
2468
- }
2469
- break;
2470
- }
2471
- this.localizedHour = localizeTimePart({
2472
- value: this.hour,
2473
- part: "hour",
2474
- locale,
2475
- numberingSystem,
2476
- });
2477
- }
2478
- }
2479
- else if (key === "fractionalSecond") {
2480
- const stepPrecision = math.decimalPlaces(this.step);
2481
- if (typeof value === "number") {
2482
- this.fractionalSecond =
2483
- value === 0 ? "".padStart(stepPrecision, "0") : formatTimePart(value, stepPrecision);
2484
- }
2485
- else {
2486
- this.fractionalSecond = value;
2487
- }
2488
- this.localizedFractionalSecond = localizeTimePart({
2489
- value: this.fractionalSecond,
2490
- part: "fractionalSecond",
2491
- locale,
2492
- numberingSystem,
2493
- });
2494
- }
2495
- else {
2496
- this[key] = typeof value === "number" ? formatTimePart(value) : value;
2497
- this[`localized${capitalize(key)}`] = localizeTimePart({
2498
- value: this[key],
2499
- part: key,
2500
- locale,
2501
- numberingSystem,
2502
- });
2503
- }
2504
- let emit = false;
2505
- let newValue;
2506
- if (this.hour && this.minute) {
2507
- newValue = `${this.hour}:${this.minute}`;
2508
- if (this.showSecond) {
2509
- newValue = `${newValue}:${this.second ?? "00"}`;
2510
- if (this.showFractionalSecond && this.fractionalSecond) {
2511
- newValue = `${newValue}.${this.fractionalSecond}`;
2512
- }
2513
- }
2514
- }
2515
- else {
2516
- newValue = null;
2517
- }
2518
- if (this.value !== newValue) {
2519
- emit = true;
2520
- }
2521
- this.value = newValue;
2522
- this.localizedMeridiem = this.value
2523
- ? localizeTimeStringToParts({ value: this.value, locale, numberingSystem })
2524
- ?.localizedMeridiem || null
2525
- : localizeTimePart({ value: this.meridiem, part: "meridiem", locale, numberingSystem });
2526
- if (emit) {
2527
- this.calciteInternalTimePickerChange.emit();
2528
- }
2529
- };
2530
- this.scale = "m";
2531
- this.step = 60;
2532
- this.numberingSystem = undefined;
2533
- this.value = null;
2534
- this.messages = undefined;
2535
- this.messageOverrides = undefined;
2536
- this.effectiveLocale = "";
2537
- this.fractionalSecond = undefined;
2538
- this.hour = undefined;
2539
- this.hourCycle = undefined;
2540
- this.localizedDecimalSeparator = ".";
2541
- this.localizedHour = undefined;
2542
- this.localizedHourSuffix = undefined;
2543
- this.localizedMeridiem = undefined;
2544
- this.localizedFractionalSecond = undefined;
2545
- this.localizedMinute = undefined;
2546
- this.localizedMinuteSuffix = undefined;
2547
- this.localizedSecond = undefined;
2548
- this.localizedSecondSuffix = undefined;
2549
- this.meridiem = undefined;
2550
- this.minute = undefined;
2551
- this.second = undefined;
2552
- this.showFractionalSecond = undefined;
2553
- this.showSecond = undefined;
2554
- this.defaultMessages = undefined;
2555
- }
2556
- stepChange() {
2557
- this.toggleSecond();
2558
- }
2559
- valueWatcher(newValue) {
2560
- this.setValue(newValue);
2561
- }
2562
- onMessagesChange() {
2563
- /* wired up by t9n util */
2564
- }
2565
- effectiveLocaleWatcher() {
2566
- this.updateLocale();
2567
- }
2568
- //--------------------------------------------------------------------------
2569
- //
2570
- // Event Listeners
2571
- //
2572
- //--------------------------------------------------------------------------
2573
- hostBlurHandler() {
2574
- this.calciteInternalTimePickerBlur.emit();
2575
- }
2576
- hostFocusHandler() {
2577
- this.calciteInternalTimePickerFocus.emit();
2578
- }
2579
- keyDownHandler(event) {
2580
- const { defaultPrevented, key } = event;
2581
- if (defaultPrevented) {
2582
- return;
2583
- }
2584
- switch (this.activeEl) {
2585
- case this.hourEl:
2586
- if (key === "ArrowRight") {
2587
- this.focusPart("minute");
2588
- event.preventDefault();
2589
- }
2590
- break;
2591
- case this.minuteEl:
2592
- switch (key) {
2593
- case "ArrowLeft":
2594
- this.focusPart("hour");
2595
- event.preventDefault();
2596
- break;
2597
- case "ArrowRight":
2598
- if (this.step !== 60) {
2599
- this.focusPart("second");
2600
- event.preventDefault();
2601
- }
2602
- else if (this.hourCycle === "12") {
2603
- this.focusPart("meridiem");
2604
- event.preventDefault();
2605
- }
2606
- break;
2607
- }
2608
- break;
2609
- case this.secondEl:
2610
- switch (key) {
2611
- case "ArrowLeft":
2612
- this.focusPart("minute");
2613
- event.preventDefault();
2614
- break;
2615
- case "ArrowRight":
2616
- if (this.showFractionalSecond) {
2617
- this.focusPart("fractionalSecond");
2618
- }
2619
- else if (this.hourCycle === "12") {
2620
- this.focusPart("meridiem");
2621
- event.preventDefault();
2622
- }
2623
- break;
2624
- }
2625
- break;
2626
- case this.fractionalSecondEl:
2627
- switch (key) {
2628
- case "ArrowLeft":
2629
- this.focusPart("second");
2630
- event.preventDefault();
2631
- break;
2632
- case "ArrowRight":
2633
- if (this.hourCycle === "12") {
2634
- this.focusPart("meridiem");
2635
- event.preventDefault();
2636
- }
2637
- break;
2638
- }
2639
- break;
2640
- case this.meridiemEl:
2641
- switch (key) {
2642
- case "ArrowLeft":
2643
- if (this.showFractionalSecond) {
2644
- this.focusPart("fractionalSecond");
2645
- }
2646
- else if (this.step !== 60) {
2647
- this.focusPart("second");
2648
- event.preventDefault();
2649
- }
2650
- else {
2651
- this.focusPart("minute");
2652
- event.preventDefault();
2653
- }
2654
- break;
2655
- }
2656
- break;
2657
- }
2658
- }
2659
- //--------------------------------------------------------------------------
2660
- //
2661
- // Public Methods
2662
- //
2663
- //--------------------------------------------------------------------------
2664
- /**
2665
- * Sets focus on the component's first focusable element.
2666
- */
2667
- async setFocus() {
2668
- await loadable.componentFocusable(this);
2669
- this.el?.focus();
2670
- }
2671
- // --------------------------------------------------------------------------
2672
- //
2673
- // Private Methods
2674
- //
2675
- // --------------------------------------------------------------------------
2676
- async focusPart(target) {
2677
- await loadable.componentFocusable(this);
2678
- this[`${target || "hour"}El`]?.focus();
2679
- }
2680
- toggleSecond() {
2681
- this.showSecond = this.step < 60;
2682
- this.showFractionalSecond = math.decimalPlaces(this.step) > 0;
2683
- }
2684
- getMeridiemOrder(formatParts) {
2685
- const locale = this.effectiveLocale;
2686
- const isRTLKind = locale === "ar" || locale === "he";
2687
- if (formatParts && !isRTLKind) {
2688
- const index = formatParts.findIndex((parts) => {
2689
- return parts.value === this.localizedMeridiem;
2690
- });
2691
- return index;
2692
- }
2693
- return 0;
2694
- }
2695
- updateLocale() {
2696
- t9n.updateMessages(this, this.effectiveLocale);
2697
- this.hourCycle = getLocaleHourCycle(this.effectiveLocale, this.numberingSystem);
2698
- this.localizedDecimalSeparator = getLocalizedDecimalSeparator(this.effectiveLocale, this.numberingSystem);
2699
- this.setValue(this.sanitizeValue(this.value));
2700
- }
2701
- // --------------------------------------------------------------------------
2702
- //
2703
- // Lifecycle
2704
- //
2705
- // --------------------------------------------------------------------------
2706
- connectedCallback() {
2707
- locale$1.connectLocalized(this);
2708
- this.updateLocale();
2709
- t9n.connectMessages(this);
2710
- this.toggleSecond();
2711
- this.meridiemOrder = this.getMeridiemOrder(getTimeParts({
2712
- value: "0:00:00",
2713
- locale: this.effectiveLocale,
2714
- numberingSystem: this.numberingSystem,
2715
- }));
2716
- }
2717
- async componentWillLoad() {
2718
- loadable.setUpLoadableComponent(this);
2719
- await t9n.setUpMessages(this);
2720
- }
2721
- componentDidLoad() {
2722
- loadable.setComponentLoaded(this);
2723
- }
2724
- disconnectedCallback() {
2725
- locale$1.disconnectLocalized(this);
2726
- t9n.disconnectMessages(this);
2727
- }
2728
- // --------------------------------------------------------------------------
2729
- //
2730
- // Render Methods
2731
- //
2732
- // --------------------------------------------------------------------------
2733
- render() {
2734
- const hourIsNumber = locale$1.isValidNumber(this.hour);
2735
- const iconScale = this.scale === "s" || this.scale === "m" ? "s" : "m";
2736
- const minuteIsNumber = locale$1.isValidNumber(this.minute);
2737
- const secondIsNumber = locale$1.isValidNumber(this.second);
2738
- const fractionalSecondIsNumber = locale$1.isValidNumber(this.fractionalSecond);
2739
- const showMeridiem = this.hourCycle === "12";
2740
- return (index.h("div", { class: {
2741
- [CSS.timePicker]: true,
2742
- [CSS.showMeridiem]: showMeridiem,
2743
- [CSS.showSecond]: this.showSecond,
2744
- [CSS[`scale-${this.scale}`]]: true,
2745
- }, dir: "ltr" }, index.h("div", { class: CSS.column, role: "group" }, index.h("span", { "aria-label": this.messages.hourUp, class: {
2746
- [CSS.button]: true,
2747
- [CSS.buttonHourUp]: true,
2748
- [CSS.buttonTopLeft]: true,
2749
- }, onClick: this.incrementHour, role: "button" }, index.h("calcite-icon", { icon: "chevron-up", scale: iconScale })), index.h("span", { "aria-label": this.messages.hour, "aria-valuemax": "23", "aria-valuemin": "1", "aria-valuenow": (hourIsNumber && parseInt(this.hour)) || "0", "aria-valuetext": this.hour, class: {
2750
- [CSS.input]: true,
2751
- [CSS.hour]: true,
2752
- }, onFocus: this.focusHandler, onKeyDown: this.hourKeyDownHandler, role: "spinbutton", tabIndex: 0,
2753
- // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
2754
- ref: this.setHourEl }, this.localizedHour || "--"), index.h("span", { "aria-label": this.messages.hourDown, class: {
2755
- [CSS.button]: true,
2756
- [CSS.buttonHourDown]: true,
2757
- [CSS.buttonBottomLeft]: true,
2758
- }, onClick: this.decrementHour, role: "button" }, index.h("calcite-icon", { icon: "chevron-down", scale: iconScale }))), index.h("span", { class: CSS.delimiter }, this.localizedHourSuffix), index.h("div", { class: CSS.column, role: "group" }, index.h("span", { "aria-label": this.messages.minuteUp, class: {
2759
- [CSS.button]: true,
2760
- [CSS.buttonMinuteUp]: true,
2761
- }, onClick: this.incrementMinute, role: "button" }, index.h("calcite-icon", { icon: "chevron-up", scale: iconScale })), index.h("span", { "aria-label": this.messages.minute, "aria-valuemax": "12", "aria-valuemin": "1", "aria-valuenow": (minuteIsNumber && parseInt(this.minute)) || "0", "aria-valuetext": this.minute, class: {
2762
- [CSS.input]: true,
2763
- [CSS.minute]: true,
2764
- }, onFocus: this.focusHandler, onKeyDown: this.minuteKeyDownHandler, role: "spinbutton", tabIndex: 0,
2765
- // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
2766
- ref: this.setMinuteEl }, this.localizedMinute || "--"), index.h("span", { "aria-label": this.messages.minuteDown, class: {
2767
- [CSS.button]: true,
2768
- [CSS.buttonMinuteDown]: true,
2769
- }, onClick: this.decrementMinute, role: "button" }, index.h("calcite-icon", { icon: "chevron-down", scale: iconScale }))), this.showSecond && index.h("span", { class: CSS.delimiter }, this.localizedMinuteSuffix), this.showSecond && (index.h("div", { class: CSS.column, role: "group" }, index.h("span", { "aria-label": this.messages.secondUp, class: {
2770
- [CSS.button]: true,
2771
- [CSS.buttonSecondUp]: true,
2772
- }, onClick: this.incrementSecond, role: "button" }, index.h("calcite-icon", { icon: "chevron-up", scale: iconScale })), index.h("span", { "aria-label": this.messages.second, "aria-valuemax": "59", "aria-valuemin": "0", "aria-valuenow": (secondIsNumber && parseInt(this.second)) || "0", "aria-valuetext": this.second, class: {
2773
- [CSS.input]: true,
2774
- [CSS.second]: true,
2775
- }, onFocus: this.focusHandler, onKeyDown: this.secondKeyDownHandler, role: "spinbutton", tabIndex: 0,
2776
- // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
2777
- ref: this.setSecondEl }, this.localizedSecond || "--"), index.h("span", { "aria-label": this.messages.secondDown, class: {
2778
- [CSS.button]: true,
2779
- [CSS.buttonSecondDown]: true,
2780
- }, onClick: this.decrementSecond, role: "button" }, index.h("calcite-icon", { icon: "chevron-down", scale: iconScale })))), this.showFractionalSecond && (index.h("span", { class: CSS.delimiter }, this.localizedDecimalSeparator)), this.showFractionalSecond && (index.h("div", { class: CSS.column, role: "group" }, index.h("span", { "aria-label": this.messages.fractionalSecondUp, class: {
2781
- [CSS.button]: true,
2782
- [CSS.buttonFractionalSecondUp]: true,
2783
- }, onClick: this.incrementFractionalSecond, role: "button" }, index.h("calcite-icon", { icon: "chevron-up", scale: iconScale })), index.h("span", { "aria-label": this.messages.fractionalSecond, "aria-valuemax": "999", "aria-valuemin": "1", "aria-valuenow": (fractionalSecondIsNumber && parseInt(this.fractionalSecond)) || "0", "aria-valuetext": this.localizedFractionalSecond, class: {
2784
- [CSS.input]: true,
2785
- [CSS.fractionalSecond]: true,
2786
- }, onFocus: this.focusHandler, onKeyDown: this.fractionalSecondKeyDownHandler, role: "spinbutton", tabIndex: 0,
2787
- // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
2788
- ref: this.setFractionalSecondEl }, this.localizedFractionalSecond || "--"), index.h("span", { "aria-label": this.messages.fractionalSecondDown, class: {
2789
- [CSS.button]: true,
2790
- [CSS.buttonFractionalSecondDown]: true,
2791
- }, onClick: this.decrementFractionalSecond, role: "button" }, index.h("calcite-icon", { icon: "chevron-down", scale: iconScale })))), this.localizedSecondSuffix && (index.h("span", { class: CSS.delimiter }, this.localizedSecondSuffix)), showMeridiem && (index.h("div", { class: {
2792
- [CSS.column]: true,
2793
- [CSS.meridiemStart]: this.meridiemOrder === 0,
2794
- }, role: "group" }, index.h("span", { "aria-label": this.messages.meridiemUp, class: {
2795
- [CSS.button]: true,
2796
- [CSS.buttonMeridiemUp]: true,
2797
- [CSS.buttonTopRight]: true,
2798
- }, onClick: this.incrementMeridiem, role: "button" }, index.h("calcite-icon", { icon: "chevron-up", scale: iconScale })), index.h("span", { "aria-label": this.messages.meridiem, "aria-valuemax": "2", "aria-valuemin": "1", "aria-valuenow": (this.meridiem === "PM" && "2") || "1", "aria-valuetext": this.meridiem, class: {
2799
- [CSS.input]: true,
2800
- [CSS.meridiem]: true,
2801
- }, onFocus: this.focusHandler, onKeyDown: this.meridiemKeyDownHandler, role: "spinbutton", tabIndex: 0,
2802
- // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
2803
- ref: this.setMeridiemEl }, this.localizedMeridiem || "--"), index.h("span", { "aria-label": this.messages.meridiemDown, class: {
2804
- [CSS.button]: true,
2805
- [CSS.buttonMeridiemDown]: true,
2806
- [CSS.buttonBottomRight]: true,
2807
- }, onClick: this.decrementMeridiem, role: "button" }, index.h("calcite-icon", { icon: "chevron-down", scale: iconScale }))))));
2808
- }
2809
- static get delegatesFocus() { return true; }
2810
- static get assetsDirs() { return ["assets"]; }
2811
- get el() { return index.getElement(this); }
2812
- static get watchers() { return {
2813
- "step": ["stepChange"],
2814
- "value": ["valueWatcher"],
2815
- "messageOverrides": ["onMessagesChange"],
2816
- "effectiveLocale": ["effectiveLocaleWatcher"]
2817
- }; }
2818
- };
2819
- TimePicker.style = timePickerCss;
2820
-
2821
- exports.InputTimePicker = InputTimePicker;
2822
- exports.TimePicker = TimePicker;
2823
- exports.dayjs = dayjs;