@esri/calcite-components 1.4.0-next.15 → 1.4.0-next.16

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 (983) hide show
  1. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/af.js +39 -0
  2. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/am.js +40 -0
  3. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-dz.js +41 -0
  4. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-iq.js +42 -0
  5. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-kw.js +41 -0
  6. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-ly.js +27 -0
  7. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-ma.js +42 -0
  8. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-sa.js +41 -0
  9. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar-tn.js +42 -0
  10. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ar.js +74 -0
  11. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/az.js +39 -0
  12. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/be.js +24 -0
  13. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bg.js +55 -0
  14. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bi.js +39 -0
  15. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bm.js +39 -0
  16. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bn-bd.js +81 -0
  17. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bn.js +72 -0
  18. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bo.js +38 -0
  19. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/br.js +93 -0
  20. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/bs.js +24 -0
  21. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ca.js +44 -0
  22. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/cs.js +120 -0
  23. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/cv.js +24 -0
  24. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/cy.js +39 -0
  25. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/da.js +39 -0
  26. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/de-at.js +63 -0
  27. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/de-ch.js +63 -0
  28. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/de.js +64 -0
  29. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/dv.js +39 -0
  30. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/el.js +39 -0
  31. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-au.js +39 -0
  32. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-ca.js +38 -0
  33. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-gb.js +42 -0
  34. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-ie.js +39 -0
  35. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-il.js +38 -0
  36. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-in.js +42 -0
  37. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-nz.js +41 -0
  38. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-sg.js +39 -0
  39. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en-tt.js +42 -0
  40. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/en.js +12 -0
  41. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/eo.js +39 -0
  42. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es-do.js +39 -0
  43. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es-mx.js +38 -0
  44. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es-pr.js +39 -0
  45. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es-us.js +38 -0
  46. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/es.js +39 -0
  47. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/et.js +65 -0
  48. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/eu.js +43 -0
  49. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fa.js +39 -0
  50. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fi.js +88 -0
  51. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fo.js +39 -0
  52. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fr-ca.js +38 -0
  53. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fr-ch.js +39 -0
  54. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fr.js +41 -0
  55. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/fy.js +39 -0
  56. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ga.js +39 -0
  57. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/gd.js +39 -0
  58. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/gl.js +39 -0
  59. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/gom-latn.js +25 -0
  60. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/gu.js +38 -0
  61. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/he.js +78 -0
  62. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/hi.js +38 -0
  63. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/hr.js +53 -0
  64. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ht.js +38 -0
  65. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/hu.js +61 -0
  66. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/hy-am.js +39 -0
  67. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/id.js +39 -0
  68. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/is.js +68 -0
  69. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/it-ch.js +39 -0
  70. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/it.js +39 -0
  71. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ja.js +45 -0
  72. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/jv.js +39 -0
  73. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ka.js +39 -0
  74. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/kk.js +39 -0
  75. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/km.js +39 -0
  76. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/kn.js +38 -0
  77. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ko.js +45 -0
  78. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ku.js +77 -0
  79. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ky.js +39 -0
  80. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/lb.js +24 -0
  81. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/lo.js +38 -0
  82. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/lt.js +70 -0
  83. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/lv.js +39 -0
  84. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/me.js +24 -0
  85. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mi.js +39 -0
  86. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mk.js +39 -0
  87. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ml.js +38 -0
  88. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mn.js +38 -0
  89. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mr.js +23 -0
  90. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ms-my.js +39 -0
  91. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ms.js +39 -0
  92. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/mt.js +39 -0
  93. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/my.js +39 -0
  94. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/nb.js +40 -0
  95. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ne.js +40 -0
  96. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/nl-be.js +39 -0
  97. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/nl.js +40 -0
  98. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/nn.js +39 -0
  99. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/oc-lnc.js +39 -0
  100. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/pa-in.js +38 -0
  101. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/pl.js +87 -0
  102. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/pt-br.js +38 -0
  103. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/pt.js +40 -0
  104. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/rn.js +39 -0
  105. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ro.js +39 -0
  106. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ru.js +99 -0
  107. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/rw.js +35 -0
  108. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sd.js +39 -0
  109. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/se.js +39 -0
  110. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/si.js +38 -0
  111. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sk.js +121 -0
  112. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sl.js +39 -0
  113. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sq.js +39 -0
  114. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sr-cyrl.js +74 -0
  115. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sr.js +74 -0
  116. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ss.js +39 -0
  117. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sv-fi.js +46 -0
  118. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sv.js +44 -0
  119. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/sw.js +39 -0
  120. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ta.js +38 -0
  121. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/te.js +38 -0
  122. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tet.js +39 -0
  123. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tg.js +39 -0
  124. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/th.js +38 -0
  125. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tk.js +39 -0
  126. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tl-ph.js +39 -0
  127. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tlh.js +24 -0
  128. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tr.js +39 -0
  129. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tzl.js +24 -0
  130. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tzm-latn.js +39 -0
  131. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/tzm.js +39 -0
  132. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ug-cn.js +39 -0
  133. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/uk.js +77 -0
  134. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/ur.js +39 -0
  135. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/uz-latn.js +39 -0
  136. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/uz.js +39 -0
  137. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/vi.js +43 -0
  138. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/x-pseudo.js +39 -0
  139. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/yo.js +39 -0
  140. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/zh-cn.js +67 -0
  141. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/zh-hk.js +44 -0
  142. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/zh-tw.js +65 -0
  143. package/dist/calcite/assets/input-time-picker/nls/dayjs/locale/zh.js +67 -0
  144. package/dist/calcite/calcite.esm.js +2 -2
  145. package/dist/calcite/index.esm.js +2 -2
  146. package/dist/calcite/{p-095fbb9c.js → p-0277618c.js} +2 -2
  147. package/dist/calcite/{p-fa6923d6.js → p-0351d9cc.js} +1 -1
  148. package/dist/calcite/{p-723b5d57.entry.js → p-04f61853.entry.js} +2 -2
  149. package/dist/calcite/p-05c6a039.js +6 -0
  150. package/dist/calcite/{p-ef9a5d3b.entry.js → p-067a3f69.entry.js} +2 -2
  151. package/dist/calcite/{p-fc7e968f.entry.js → p-0beba072.entry.js} +2 -2
  152. package/dist/calcite/{p-1c64a43e.js → p-0c863081.js} +1 -1
  153. package/dist/calcite/{p-078d6125.entry.js → p-1547dd35.entry.js} +2 -2
  154. package/dist/calcite/{p-7cb7075d.js → p-18728d14.js} +2 -2
  155. package/dist/calcite/{p-813c2be6.js → p-1ea8f0fe.js} +2 -2
  156. package/dist/calcite/{p-ff929412.js → p-1f7ffee5.js} +2 -2
  157. package/dist/calcite/{p-ac57fd08.js → p-2111fbc3.js} +1 -1
  158. package/dist/calcite/{p-b518bfe5.entry.js → p-23aa6e59.entry.js} +2 -2
  159. package/dist/calcite/{p-eb6a719c.entry.js → p-27d590b1.entry.js} +2 -2
  160. package/dist/calcite/{p-2070426b.entry.js → p-290ef70e.entry.js} +2 -2
  161. package/dist/calcite/{p-f6c7f848.entry.js → p-2bfd4ac6.entry.js} +2 -2
  162. package/dist/calcite/{p-6d1c78c6.entry.js → p-30cd338f.entry.js} +2 -2
  163. package/dist/calcite/{p-36ba59b5.entry.js → p-31227f59.entry.js} +2 -2
  164. package/dist/calcite/{p-8b7ba09e.entry.js → p-33bf004c.entry.js} +2 -2
  165. package/dist/calcite/p-3455164c.js +6 -0
  166. package/dist/calcite/{p-942951dc.entry.js → p-3c0b7686.entry.js} +2 -2
  167. package/dist/calcite/{p-9ff06d7d.entry.js → p-3cf838da.entry.js} +2 -2
  168. package/dist/calcite/{p-fd91322a.js → p-3e8b5d77.js} +2 -2
  169. package/dist/calcite/{p-389364ac.js → p-4301c76a.js} +1 -1
  170. package/dist/calcite/{p-d6771d3f.entry.js → p-47067509.entry.js} +2 -2
  171. package/dist/calcite/{p-2a7a2dab.entry.js → p-48f73042.entry.js} +2 -2
  172. package/dist/calcite/{p-abbc9a4c.entry.js → p-49fe68e2.entry.js} +2 -2
  173. package/dist/calcite/{p-d0c901cb.entry.js → p-4a2c2c79.entry.js} +2 -2
  174. package/dist/calcite/{p-4f365c55.entry.js → p-4a7993f4.entry.js} +2 -2
  175. package/dist/calcite/{p-497e2df8.js → p-4b969718.js} +1 -1
  176. package/dist/calcite/{p-51b52626.entry.js → p-4f56cc1a.entry.js} +2 -2
  177. package/dist/calcite/{p-23bc8627.js → p-525e4cca.js} +1 -1
  178. package/dist/calcite/{p-8299bb39.entry.js → p-52651115.entry.js} +2 -2
  179. package/dist/calcite/{p-0755be9a.js → p-54881950.js} +2 -2
  180. package/dist/calcite/{p-de32f502.entry.js → p-5b77ced0.entry.js} +2 -2
  181. package/dist/calcite/{p-ab452c72.js → p-6010ff85.js} +2 -2
  182. package/dist/calcite/{p-f8f811bb.entry.js → p-61673f47.entry.js} +2 -2
  183. package/dist/calcite/{p-1d0edcf2.entry.js → p-638fc38b.entry.js} +2 -2
  184. package/dist/calcite/{p-fb688b5f.js → p-63e02de9.js} +1 -1
  185. package/dist/calcite/{p-c8bc99d8.entry.js → p-641219f4.entry.js} +2 -2
  186. package/dist/calcite/{p-e1754d5b.js → p-655a7f16.js} +2 -2
  187. package/dist/calcite/{p-03ebe28a.entry.js → p-6734907f.entry.js} +2 -2
  188. package/dist/calcite/{p-285d0db5.entry.js → p-6a2f5917.entry.js} +2 -2
  189. package/dist/calcite/{p-77cac495.entry.js → p-6ab42776.entry.js} +2 -2
  190. package/dist/calcite/{p-d8ba414c.entry.js → p-71895bb1.entry.js} +2 -2
  191. package/dist/calcite/{p-d499f213.entry.js → p-72e7c38f.entry.js} +2 -2
  192. package/dist/calcite/{p-509083d3.entry.js → p-73b5d396.entry.js} +2 -2
  193. package/dist/calcite/{p-0a5b5a74.entry.js → p-74b246d9.entry.js} +2 -2
  194. package/dist/calcite/{p-7eefc501.entry.js → p-751cb0a1.entry.js} +2 -2
  195. package/dist/calcite/{p-aceac04a.js → p-751cb1dd.js} +1 -1
  196. package/dist/calcite/{p-02df5871.entry.js → p-75859925.entry.js} +2 -2
  197. package/dist/calcite/{p-f9496bf8.js → p-767b434a.js} +1 -1
  198. package/dist/calcite/p-80935f8d.js +6 -0
  199. package/dist/calcite/{p-9c7997b7.entry.js → p-8137ba3e.entry.js} +2 -2
  200. package/dist/calcite/{p-70d114e8.entry.js → p-83ff7236.entry.js} +2 -2
  201. package/dist/calcite/{p-f1839118.entry.js → p-89dc4d82.entry.js} +2 -2
  202. package/dist/calcite/{p-1285cf8b.js → p-8b690f1c.js} +1 -1
  203. package/dist/calcite/{p-7ad3037f.entry.js → p-90274aea.entry.js} +2 -2
  204. package/dist/calcite/p-90424657.entry.js +6 -0
  205. package/dist/calcite/{p-f24dde3f.entry.js → p-919af7b6.entry.js} +2 -2
  206. package/dist/calcite/{p-792983c2.entry.js → p-93512e63.entry.js} +2 -2
  207. package/dist/calcite/{p-dfb043b0.entry.js → p-941883f9.entry.js} +2 -2
  208. package/dist/calcite/{p-6954918d.entry.js → p-9500d582.entry.js} +2 -2
  209. package/dist/calcite/p-95bfaf00.js +6 -0
  210. package/dist/calcite/{p-8b42ad57.js → p-974e1ec2.js} +1 -1
  211. package/dist/calcite/{p-f877d3e8.entry.js → p-9ce84574.entry.js} +2 -2
  212. package/dist/calcite/{p-0ea2ca75.js → p-9f3432bc.js} +1 -1
  213. package/dist/calcite/{p-6b0060f3.entry.js → p-a09111b0.entry.js} +2 -2
  214. package/dist/calcite/{p-696ecb2a.js → p-a5034525.js} +2 -2
  215. package/dist/calcite/{p-37324b1c.entry.js → p-a7eea6e0.entry.js} +2 -2
  216. package/dist/calcite/{p-c5ddb9fe.js → p-aa77ca77.js} +1 -1
  217. package/dist/calcite/{p-e3a49bb8.entry.js → p-ad587efe.entry.js} +2 -2
  218. package/dist/calcite/{p-33cea899.js → p-b43e6bcd.js} +2 -2
  219. package/dist/calcite/{p-fdaa6bed.entry.js → p-b7f288f9.entry.js} +2 -2
  220. package/dist/calcite/p-ba42e0c7.entry.js +6 -0
  221. package/dist/calcite/{p-8f87ceda.entry.js → p-bbd9bada.entry.js} +2 -2
  222. package/dist/calcite/{p-5b77aa9d.js → p-bcbe2e66.js} +1 -1
  223. package/dist/calcite/{p-0de1080c.entry.js → p-bdb39383.entry.js} +2 -2
  224. package/dist/calcite/{p-b52371fa.entry.js → p-bf4bc523.entry.js} +2 -2
  225. package/dist/calcite/{p-a2ccf37f.entry.js → p-c0f2906e.entry.js} +2 -2
  226. package/dist/calcite/p-c335f66c.entry.js +6 -0
  227. package/dist/calcite/{p-fddd3bb0.js → p-c6a450ac.js} +2 -2
  228. package/dist/calcite/{p-b7f1c41a.js → p-ca01e893.js} +1 -1
  229. package/dist/calcite/{p-34e90904.entry.js → p-cb8cc2ae.entry.js} +2 -2
  230. package/dist/calcite/{p-fbf56ac8.entry.js → p-ce58f7d7.entry.js} +2 -2
  231. package/dist/calcite/{p-c18fb42e.js → p-d7126b30.js} +1 -1
  232. package/dist/calcite/{p-37a3e4db.entry.js → p-d79bee90.entry.js} +2 -2
  233. package/dist/calcite/{p-41c9226d.entry.js → p-ddb757f8.entry.js} +2 -2
  234. package/dist/calcite/{p-37b3f9f2.entry.js → p-df227eee.entry.js} +2 -2
  235. package/dist/calcite/{p-54ddb46b.entry.js → p-e2856b56.entry.js} +2 -2
  236. package/dist/calcite/{p-2e6e3803.js → p-e57baa62.js} +1 -1
  237. package/dist/calcite/p-e9ca882b.entry.js +6 -0
  238. package/dist/calcite/p-ed14617d.js +6 -0
  239. package/dist/calcite/{p-c26b7719.entry.js → p-f536425b.entry.js} +2 -2
  240. package/dist/calcite/{p-3e74d103.js → p-f6769d95.js} +2 -2
  241. package/dist/calcite/{p-986d7d14.entry.js → p-fa172a75.entry.js} +2 -2
  242. package/dist/calcite/p-fae9b6ae.entry.js +6 -0
  243. package/dist/cjs/{ExpandToggle-4964074d.js → ExpandToggle-21b87aff.js} +5 -5
  244. package/dist/cjs/{FloatingArrow-523c7403.js → FloatingArrow-b64770c5.js} +2 -2
  245. package/dist/cjs/{Heading-bf05a02a.js → Heading-8ec0e9a4.js} +2 -2
  246. package/dist/cjs/{app-globals-2e650af9.js → app-globals-7a40598d.js} +2 -2
  247. package/dist/cjs/{array-b64fa499.js → array-1885b314.js} +1 -1
  248. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  249. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  250. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  251. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  252. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  253. package/dist/cjs/calcite-action.cjs.entry.js +11 -11
  254. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  255. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  256. package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
  257. package/dist/cjs/calcite-button.cjs.entry.js +13 -13
  258. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  259. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
  260. package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
  261. package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
  262. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
  263. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
  264. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
  265. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
  266. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  267. package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
  268. package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
  269. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  270. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
  271. package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
  272. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  273. package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
  274. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
  275. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  276. package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
  277. package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
  278. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +1394 -139
  279. package/dist/cjs/calcite-input.cjs.entry.js +13 -13
  280. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  281. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  282. package/dist/cjs/calcite-list_3.cjs.entry.js +12 -12
  283. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  284. package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
  285. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  286. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  287. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  288. package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
  289. package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
  290. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
  291. package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
  292. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  293. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  294. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  295. package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
  296. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  297. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
  298. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  299. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  300. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  301. package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
  302. package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
  303. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  304. package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
  305. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
  306. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  307. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  308. package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
  309. package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
  310. package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
  311. package/dist/cjs/calcite.cjs.js +5 -5
  312. package/dist/cjs/{composed-offset-position.esm-d69c8fda.js → composed-offset-position.esm-29b10e84.js} +1 -1
  313. package/dist/cjs/{conditionalSlot-74be73a3.js → conditionalSlot-ff28b6c2.js} +3 -3
  314. package/dist/cjs/{debounce-27c45e5c.js → debounce-a6d3c360.js} +1 -1
  315. package/dist/cjs/{dom-b2504a19.js → dom-8103e5d3.js} +3 -3
  316. package/dist/cjs/{filter-f9cefdd8.js → filter-30a92dd5.js} +2 -2
  317. package/dist/cjs/{floating-ui-122d18e2.js → floating-ui-44c979d3.js} +4 -4
  318. package/dist/cjs/{focusTrapComponent-c1bc0bed.js → focusTrapComponent-e1962858.js} +2 -2
  319. package/dist/cjs/{form-e2463761.js → form-c33f638c.js} +3 -3
  320. package/dist/cjs/{guid-796bc06f.js → guid-ab357421.js} +1 -1
  321. package/dist/cjs/{index-ba11e876.js → index-a6397f75.js} +1 -1
  322. package/dist/cjs/index.cjs.js +2 -2
  323. package/dist/cjs/{interactive-fe8c2e65.js → interactive-9bcd6d9c.js} +1 -1
  324. package/dist/cjs/{key-08d15055.js → key-d3c0dbf4.js} +1 -1
  325. package/dist/cjs/{label-1185ba45.js → label-345ac153.js} +2 -2
  326. package/dist/cjs/{loadable-99b8d133.js → loadable-8ff80e11.js} +1 -1
  327. package/dist/cjs/loader.cjs.js +5 -5
  328. package/dist/cjs/{locale-be9685fe.js → locale-7ca4ffad.js} +4 -5
  329. package/dist/cjs/{math-1416c1a5.js → math-cabcb9bc.js} +1 -1
  330. package/dist/cjs/{observers-66e308ef.js → observers-cd7bfa1c.js} +1 -1
  331. package/dist/cjs/{openCloseComponent-71c634a5.js → openCloseComponent-a9038463.js} +2 -2
  332. package/dist/cjs/{resources-f6ea12a3.js → resources-236179cd.js} +5 -5
  333. package/dist/cjs/{resources-5e6e2b7b.js → resources-9a030531.js} +1 -1
  334. package/dist/cjs/{resources-a097ecc7.js → resources-9ed889ab.js} +1 -1
  335. package/dist/cjs/{resources-3ec80baa.js → resources-b683202a.js} +1 -1
  336. package/dist/cjs/{resources-9d40bb1e.js → resources-e5fde64b.js} +1 -1
  337. package/dist/cjs/{resources-58b84dd2.js → resources-f32ec864.js} +1 -1
  338. package/dist/cjs/{sortable.esm-74b36e3a.js → sortable.esm-e84187bc.js} +1 -1
  339. package/dist/cjs/{t9n-a35fc0f0.js → t9n-e37aefc9.js} +3 -3
  340. package/dist/cjs/{throttle-fe35ee40.js → throttle-09295850.js} +2 -2
  341. package/dist/cjs/{utils-e102b74c.js → utils-00ef0eb9.js} +3 -3
  342. package/dist/cjs/{utils-82495168.js → utils-a0a56adf.js} +1 -1
  343. package/dist/collection/components/accordion/accordion.js +1 -1
  344. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  345. package/dist/collection/components/accordion-item/resources.js +1 -1
  346. package/dist/collection/components/action/action.js +1 -1
  347. package/dist/collection/components/action/resources.js +1 -1
  348. package/dist/collection/components/action-bar/action-bar.js +1 -1
  349. package/dist/collection/components/action-bar/resources.js +1 -1
  350. package/dist/collection/components/action-bar/utils.js +1 -1
  351. package/dist/collection/components/action-group/action-group.js +1 -1
  352. package/dist/collection/components/action-group/resources.js +1 -1
  353. package/dist/collection/components/action-menu/action-menu.js +1 -1
  354. package/dist/collection/components/action-menu/resources.js +1 -1
  355. package/dist/collection/components/action-pad/action-pad.js +1 -1
  356. package/dist/collection/components/action-pad/resources.js +1 -1
  357. package/dist/collection/components/alert/alert.js +1 -1
  358. package/dist/collection/components/alert/resources.js +1 -1
  359. package/dist/collection/components/avatar/avatar.js +1 -1
  360. package/dist/collection/components/avatar/utils.js +1 -1
  361. package/dist/collection/components/block/block.js +1 -1
  362. package/dist/collection/components/block/resources.js +1 -1
  363. package/dist/collection/components/block-section/block-section.js +1 -1
  364. package/dist/collection/components/block-section/resources.js +1 -1
  365. package/dist/collection/components/button/button.js +1 -1
  366. package/dist/collection/components/button/resources.js +1 -1
  367. package/dist/collection/components/card/card.js +1 -1
  368. package/dist/collection/components/card/resources.js +1 -1
  369. package/dist/collection/components/checkbox/checkbox.js +1 -1
  370. package/dist/collection/components/chip/chip.js +1 -1
  371. package/dist/collection/components/chip/resources.js +1 -1
  372. package/dist/collection/components/chip-group/chip-group.js +1 -1
  373. package/dist/collection/components/color-picker/color-picker.js +1 -1
  374. package/dist/collection/components/color-picker/resources.js +1 -1
  375. package/dist/collection/components/color-picker/utils.js +1 -1
  376. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  377. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  378. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  379. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  380. package/dist/collection/components/combobox/combobox.js +1 -1
  381. package/dist/collection/components/combobox/resources.js +1 -1
  382. package/dist/collection/components/combobox/utils.js +1 -1
  383. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  384. package/dist/collection/components/combobox-item/resources.js +1 -1
  385. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  386. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  387. package/dist/collection/components/date-picker/date-picker.js +1 -1
  388. package/dist/collection/components/date-picker/resources.js +1 -1
  389. package/dist/collection/components/date-picker/utils.js +1 -1
  390. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  391. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  392. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  393. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  394. package/dist/collection/components/dropdown/dropdown.js +1 -1
  395. package/dist/collection/components/dropdown/resources.js +1 -1
  396. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  397. package/dist/collection/components/dropdown-group/resources.js +1 -1
  398. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  399. package/dist/collection/components/dropdown-item/resources.js +1 -1
  400. package/dist/collection/components/fab/fab.js +1 -1
  401. package/dist/collection/components/fab/resources.js +1 -1
  402. package/dist/collection/components/filter/filter.js +1 -1
  403. package/dist/collection/components/filter/resources.js +1 -1
  404. package/dist/collection/components/flow/flow.js +1 -1
  405. package/dist/collection/components/flow/resources.js +1 -1
  406. package/dist/collection/components/flow-item/flow-item.js +1 -1
  407. package/dist/collection/components/flow-item/resources.js +1 -1
  408. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  409. package/dist/collection/components/functional/FloatingArrow.js +1 -1
  410. package/dist/collection/components/functional/Heading.js +1 -1
  411. package/dist/collection/components/graph/graph.js +1 -1
  412. package/dist/collection/components/graph/util.js +1 -1
  413. package/dist/collection/components/handle/handle.js +1 -1
  414. package/dist/collection/components/handle/resources.js +1 -1
  415. package/dist/collection/components/icon/icon.js +1 -1
  416. package/dist/collection/components/icon/resources.js +1 -1
  417. package/dist/collection/components/icon/utils.js +1 -1
  418. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  419. package/dist/collection/components/inline-editable/resources.js +1 -1
  420. package/dist/collection/components/input/input.js +1 -1
  421. package/dist/collection/components/input/resources.js +1 -1
  422. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  423. package/dist/collection/components/input-date-picker/resources.js +1 -1
  424. package/dist/collection/components/input-message/input-message.js +1 -1
  425. package/dist/collection/components/input-message/interfaces.js +1 -1
  426. package/dist/collection/components/input-number/input-number.js +1 -1
  427. package/dist/collection/components/input-number/resources.js +1 -1
  428. package/dist/collection/components/input-text/input-text.js +1 -1
  429. package/dist/collection/components/input-text/resources.js +1 -1
  430. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/af.js +39 -0
  431. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/am.js +40 -0
  432. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-dz.js +41 -0
  433. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-iq.js +42 -0
  434. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-kw.js +41 -0
  435. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-ly.js +27 -0
  436. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-ma.js +42 -0
  437. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-sa.js +41 -0
  438. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar-tn.js +42 -0
  439. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ar.js +74 -0
  440. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/az.js +39 -0
  441. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/be.js +24 -0
  442. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bg.js +55 -0
  443. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bi.js +39 -0
  444. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bm.js +39 -0
  445. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bn-bd.js +81 -0
  446. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bn.js +72 -0
  447. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bo.js +38 -0
  448. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/br.js +93 -0
  449. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/bs.js +24 -0
  450. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ca.js +44 -0
  451. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/cs.js +120 -0
  452. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/cv.js +24 -0
  453. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/cy.js +39 -0
  454. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/da.js +39 -0
  455. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/de-at.js +63 -0
  456. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/de-ch.js +63 -0
  457. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/de.js +64 -0
  458. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/dv.js +39 -0
  459. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/el.js +39 -0
  460. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-au.js +39 -0
  461. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-ca.js +38 -0
  462. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-gb.js +42 -0
  463. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-ie.js +39 -0
  464. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-il.js +38 -0
  465. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-in.js +42 -0
  466. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-nz.js +41 -0
  467. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-sg.js +39 -0
  468. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en-tt.js +42 -0
  469. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/en.js +12 -0
  470. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/eo.js +39 -0
  471. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es-do.js +39 -0
  472. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es-mx.js +38 -0
  473. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es-pr.js +39 -0
  474. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es-us.js +38 -0
  475. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/es.js +39 -0
  476. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/et.js +65 -0
  477. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/eu.js +43 -0
  478. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fa.js +39 -0
  479. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fi.js +88 -0
  480. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fo.js +39 -0
  481. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fr-ca.js +38 -0
  482. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fr-ch.js +39 -0
  483. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fr.js +41 -0
  484. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/fy.js +39 -0
  485. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ga.js +39 -0
  486. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/gd.js +39 -0
  487. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/gl.js +39 -0
  488. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/gom-latn.js +25 -0
  489. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/gu.js +38 -0
  490. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/he.js +78 -0
  491. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/hi.js +38 -0
  492. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/hr.js +53 -0
  493. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ht.js +38 -0
  494. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/hu.js +61 -0
  495. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/hy-am.js +39 -0
  496. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/id.js +39 -0
  497. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/is.js +68 -0
  498. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/it-ch.js +39 -0
  499. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/it.js +39 -0
  500. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ja.js +45 -0
  501. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/jv.js +39 -0
  502. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ka.js +39 -0
  503. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/kk.js +39 -0
  504. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/km.js +39 -0
  505. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/kn.js +38 -0
  506. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ko.js +45 -0
  507. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ku.js +77 -0
  508. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ky.js +39 -0
  509. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/lb.js +24 -0
  510. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/lo.js +38 -0
  511. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/lt.js +70 -0
  512. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/lv.js +39 -0
  513. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/me.js +24 -0
  514. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mi.js +39 -0
  515. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mk.js +39 -0
  516. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ml.js +38 -0
  517. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mn.js +38 -0
  518. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mr.js +23 -0
  519. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ms-my.js +39 -0
  520. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ms.js +39 -0
  521. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/mt.js +39 -0
  522. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/my.js +39 -0
  523. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/nb.js +40 -0
  524. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ne.js +40 -0
  525. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/nl-be.js +39 -0
  526. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/nl.js +40 -0
  527. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/nn.js +39 -0
  528. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/oc-lnc.js +39 -0
  529. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/pa-in.js +38 -0
  530. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/pl.js +87 -0
  531. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/pt-br.js +38 -0
  532. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/pt.js +40 -0
  533. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/rn.js +39 -0
  534. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ro.js +39 -0
  535. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ru.js +99 -0
  536. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/rw.js +35 -0
  537. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sd.js +39 -0
  538. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/se.js +39 -0
  539. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/si.js +38 -0
  540. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sk.js +121 -0
  541. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sl.js +39 -0
  542. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sq.js +39 -0
  543. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sr-cyrl.js +74 -0
  544. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sr.js +74 -0
  545. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ss.js +39 -0
  546. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sv-fi.js +46 -0
  547. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sv.js +44 -0
  548. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/sw.js +39 -0
  549. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ta.js +38 -0
  550. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/te.js +38 -0
  551. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tet.js +39 -0
  552. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tg.js +39 -0
  553. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/th.js +38 -0
  554. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tk.js +39 -0
  555. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tl-ph.js +39 -0
  556. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tlh.js +24 -0
  557. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tr.js +39 -0
  558. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tzl.js +24 -0
  559. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tzm-latn.js +39 -0
  560. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/tzm.js +39 -0
  561. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ug-cn.js +39 -0
  562. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/uk.js +77 -0
  563. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/ur.js +39 -0
  564. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/uz-latn.js +39 -0
  565. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/uz.js +39 -0
  566. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/vi.js +43 -0
  567. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/x-pseudo.js +39 -0
  568. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/yo.js +39 -0
  569. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/zh-cn.js +67 -0
  570. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/zh-hk.js +44 -0
  571. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/zh-tw.js +65 -0
  572. package/dist/collection/components/input-time-picker/assets/input-time-picker/nls/dayjs/locale/zh.js +67 -0
  573. package/dist/collection/components/input-time-picker/input-time-picker.js +270 -104
  574. package/dist/collection/components/input-time-picker/resources.js +1 -1
  575. package/dist/collection/components/label/label.js +1 -1
  576. package/dist/collection/components/label/resources.js +1 -1
  577. package/dist/collection/components/link/link.js +1 -1
  578. package/dist/collection/components/list/list.js +1 -1
  579. package/dist/collection/components/list/resources.js +1 -1
  580. package/dist/collection/components/list-item/list-item.js +1 -1
  581. package/dist/collection/components/list-item/resources.js +1 -1
  582. package/dist/collection/components/list-item/utils.js +1 -1
  583. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  584. package/dist/collection/components/list-item-group/resources.js +1 -1
  585. package/dist/collection/components/loader/loader.js +1 -1
  586. package/dist/collection/components/menu/menu.js +1 -1
  587. package/dist/collection/components/menu-item/menu-item.js +1 -1
  588. package/dist/collection/components/menu-item/resources.js +1 -1
  589. package/dist/collection/components/modal/modal.js +1 -1
  590. package/dist/collection/components/modal/resources.js +1 -1
  591. package/dist/collection/components/notice/notice.js +1 -1
  592. package/dist/collection/components/notice/resources.js +1 -1
  593. package/dist/collection/components/option/option.js +1 -1
  594. package/dist/collection/components/option-group/option-group.js +1 -1
  595. package/dist/collection/components/pagination/pagination.js +1 -1
  596. package/dist/collection/components/pagination/resources.js +1 -1
  597. package/dist/collection/components/panel/panel.js +1 -1
  598. package/dist/collection/components/panel/resources.js +1 -1
  599. package/dist/collection/components/pick-list/pick-list.js +1 -1
  600. package/dist/collection/components/pick-list/resources.js +1 -1
  601. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  602. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  603. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  604. package/dist/collection/components/pick-list-group/resources.js +1 -1
  605. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  606. package/dist/collection/components/pick-list-item/resources.js +1 -1
  607. package/dist/collection/components/popover/PopoverManager.js +1 -1
  608. package/dist/collection/components/popover/popover.js +1 -1
  609. package/dist/collection/components/popover/resources.js +1 -1
  610. package/dist/collection/components/progress/progress.js +1 -1
  611. package/dist/collection/components/radio-button/radio-button.js +1 -1
  612. package/dist/collection/components/radio-button/resources.js +1 -1
  613. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  614. package/dist/collection/components/rating/function/star.js +1 -1
  615. package/dist/collection/components/rating/rating.js +1 -1
  616. package/dist/collection/components/resources.js +1 -1
  617. package/dist/collection/components/scrim/resources.js +1 -1
  618. package/dist/collection/components/scrim/scrim.js +1 -1
  619. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  620. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  621. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  622. package/dist/collection/components/select/resources.js +1 -1
  623. package/dist/collection/components/select/select.js +1 -1
  624. package/dist/collection/components/shell/resources.js +1 -1
  625. package/dist/collection/components/shell/shell.js +1 -1
  626. package/dist/collection/components/shell-center-row/resources.js +1 -1
  627. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  628. package/dist/collection/components/shell-panel/resources.js +1 -1
  629. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  630. package/dist/collection/components/slider/resources.js +1 -1
  631. package/dist/collection/components/slider/slider.js +1 -1
  632. package/dist/collection/components/sortable-list/resources.js +1 -1
  633. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  634. package/dist/collection/components/split-button/resources.js +1 -1
  635. package/dist/collection/components/split-button/split-button.js +1 -1
  636. package/dist/collection/components/stepper/stepper.js +1 -1
  637. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  638. package/dist/collection/components/switch/switch.js +1 -1
  639. package/dist/collection/components/tab/tab.js +1 -1
  640. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  641. package/dist/collection/components/tab-title/resources.js +1 -1
  642. package/dist/collection/components/tab-title/tab-title.js +1 -1
  643. package/dist/collection/components/tabs/resources.js +1 -1
  644. package/dist/collection/components/tabs/tabs.js +1 -1
  645. package/dist/collection/components/text-area/resources.js +1 -1
  646. package/dist/collection/components/text-area/text-area.js +1 -1
  647. package/dist/collection/components/tile/resources.js +1 -1
  648. package/dist/collection/components/tile/tile.js +1 -1
  649. package/dist/collection/components/tile-select/resources.js +1 -1
  650. package/dist/collection/components/tile-select/tile-select.js +1 -1
  651. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  652. package/dist/collection/components/time-picker/resources.js +1 -1
  653. package/dist/collection/components/time-picker/time-picker.js +6 -3
  654. package/dist/collection/components/tip/resources.js +1 -1
  655. package/dist/collection/components/tip/tip.js +1 -1
  656. package/dist/collection/components/tip-group/tip-group.js +1 -1
  657. package/dist/collection/components/tip-manager/resources.js +1 -1
  658. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  659. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  660. package/dist/collection/components/tooltip/resources.js +1 -1
  661. package/dist/collection/components/tooltip/tooltip.js +1 -1
  662. package/dist/collection/components/tooltip/utils.js +1 -1
  663. package/dist/collection/components/tree/tree.js +1 -1
  664. package/dist/collection/components/tree/utils.js +1 -1
  665. package/dist/collection/components/tree-item/resources.js +1 -1
  666. package/dist/collection/components/tree-item/tree-item.js +1 -1
  667. package/dist/collection/components/value-list/resources.js +1 -1
  668. package/dist/collection/components/value-list/utils.js +1 -1
  669. package/dist/collection/components/value-list/value-list.js +1 -1
  670. package/dist/collection/components/value-list-item/resources.js +1 -1
  671. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  672. package/dist/collection/index.js +1 -1
  673. package/dist/collection/utils/array.js +1 -1
  674. package/dist/collection/utils/conditionalSlot.js +1 -1
  675. package/dist/collection/utils/config.js +1 -1
  676. package/dist/collection/utils/date.js +1 -1
  677. package/dist/collection/utils/dom.js +1 -1
  678. package/dist/collection/utils/filter.js +1 -1
  679. package/dist/collection/utils/floating-ui.js +1 -1
  680. package/dist/collection/utils/focusTrapComponent.js +1 -1
  681. package/dist/collection/utils/form.js +1 -1
  682. package/dist/collection/utils/globalAttributes.js +1 -1
  683. package/dist/collection/utils/globalScript.js +1 -1
  684. package/dist/collection/utils/guid.js +1 -1
  685. package/dist/collection/utils/interactive.js +1 -1
  686. package/dist/collection/utils/key.js +1 -1
  687. package/dist/collection/utils/label.js +1 -1
  688. package/dist/collection/utils/loadable.js +1 -1
  689. package/dist/collection/utils/locale.js +1 -2
  690. package/dist/collection/utils/math.js +1 -1
  691. package/dist/collection/utils/mode.js +1 -1
  692. package/dist/collection/utils/number.js +1 -1
  693. package/dist/collection/utils/observers.js +1 -1
  694. package/dist/collection/utils/openCloseComponent.js +1 -1
  695. package/dist/collection/utils/resources.js +1 -1
  696. package/dist/collection/utils/t9n.js +1 -1
  697. package/dist/collection/utils/time.js +12 -1
  698. package/dist/components/ExpandToggle.js +1 -1
  699. package/dist/components/FloatingArrow.js +1 -1
  700. package/dist/components/Heading.js +1 -1
  701. package/dist/components/action-group.js +1 -1
  702. package/dist/components/action-menu.js +1 -1
  703. package/dist/components/action.js +1 -1
  704. package/dist/components/array.js +1 -1
  705. package/dist/components/button.js +1 -1
  706. package/dist/components/calcite-accordion-item.js +1 -1
  707. package/dist/components/calcite-accordion.js +1 -1
  708. package/dist/components/calcite-action-bar.js +1 -1
  709. package/dist/components/calcite-action-group.js +1 -1
  710. package/dist/components/calcite-action-menu.js +1 -1
  711. package/dist/components/calcite-action-pad.js +1 -1
  712. package/dist/components/calcite-action.js +1 -1
  713. package/dist/components/calcite-alert.js +1 -1
  714. package/dist/components/calcite-avatar.js +1 -1
  715. package/dist/components/calcite-block-section.js +1 -1
  716. package/dist/components/calcite-block.js +1 -1
  717. package/dist/components/calcite-button.js +1 -1
  718. package/dist/components/calcite-card.js +1 -1
  719. package/dist/components/calcite-checkbox.js +1 -1
  720. package/dist/components/calcite-chip-group.js +1 -1
  721. package/dist/components/calcite-chip.js +1 -1
  722. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  723. package/dist/components/calcite-color-picker-swatch.js +1 -1
  724. package/dist/components/calcite-color-picker.js +1 -1
  725. package/dist/components/calcite-combobox-item-group.js +1 -1
  726. package/dist/components/calcite-combobox-item.js +1 -1
  727. package/dist/components/calcite-combobox.js +1 -1
  728. package/dist/components/calcite-date-picker-day.js +1 -1
  729. package/dist/components/calcite-date-picker-month-header.js +1 -1
  730. package/dist/components/calcite-date-picker-month.js +1 -1
  731. package/dist/components/calcite-date-picker.js +1 -1
  732. package/dist/components/calcite-dropdown-group.js +1 -1
  733. package/dist/components/calcite-dropdown-item.js +1 -1
  734. package/dist/components/calcite-dropdown.js +1 -1
  735. package/dist/components/calcite-fab.js +1 -1
  736. package/dist/components/calcite-filter.js +1 -1
  737. package/dist/components/calcite-flow-item.js +1 -1
  738. package/dist/components/calcite-flow.js +1 -1
  739. package/dist/components/calcite-graph.js +1 -1
  740. package/dist/components/calcite-handle.js +1 -1
  741. package/dist/components/calcite-icon.js +1 -1
  742. package/dist/components/calcite-inline-editable.js +1 -1
  743. package/dist/components/calcite-input-date-picker.js +1 -1
  744. package/dist/components/calcite-input-message.js +1 -1
  745. package/dist/components/calcite-input-number.js +1 -1
  746. package/dist/components/calcite-input-text.js +1 -1
  747. package/dist/components/calcite-input-time-picker.js +1320 -100
  748. package/dist/components/calcite-input.js +1 -1
  749. package/dist/components/calcite-label.js +1 -1
  750. package/dist/components/calcite-link.js +1 -1
  751. package/dist/components/calcite-list-item-group.js +1 -1
  752. package/dist/components/calcite-list-item.js +1 -1
  753. package/dist/components/calcite-list.js +1 -1
  754. package/dist/components/calcite-loader.js +1 -1
  755. package/dist/components/calcite-menu-item.js +1 -1
  756. package/dist/components/calcite-menu.js +1 -1
  757. package/dist/components/calcite-modal.js +1 -1
  758. package/dist/components/calcite-notice.js +1 -1
  759. package/dist/components/calcite-option-group.js +1 -1
  760. package/dist/components/calcite-option.js +1 -1
  761. package/dist/components/calcite-pagination.js +1 -1
  762. package/dist/components/calcite-panel.js +1 -1
  763. package/dist/components/calcite-pick-list-group.js +1 -1
  764. package/dist/components/calcite-pick-list-item.js +1 -1
  765. package/dist/components/calcite-pick-list.js +1 -1
  766. package/dist/components/calcite-popover.js +1 -1
  767. package/dist/components/calcite-progress.js +1 -1
  768. package/dist/components/calcite-radio-button-group.js +1 -1
  769. package/dist/components/calcite-radio-button.js +1 -1
  770. package/dist/components/calcite-rating.js +1 -1
  771. package/dist/components/calcite-scrim.js +1 -1
  772. package/dist/components/calcite-segmented-control-item.js +1 -1
  773. package/dist/components/calcite-segmented-control.js +1 -1
  774. package/dist/components/calcite-select.js +1 -1
  775. package/dist/components/calcite-shell-center-row.js +1 -1
  776. package/dist/components/calcite-shell-panel.js +1 -1
  777. package/dist/components/calcite-shell.js +1 -1
  778. package/dist/components/calcite-slider.js +1 -1
  779. package/dist/components/calcite-sortable-list.js +1 -1
  780. package/dist/components/calcite-split-button.js +1 -1
  781. package/dist/components/calcite-stepper-item.js +1 -1
  782. package/dist/components/calcite-stepper.js +1 -1
  783. package/dist/components/calcite-switch.js +1 -1
  784. package/dist/components/calcite-tab-nav.js +1 -1
  785. package/dist/components/calcite-tab-title.js +1 -1
  786. package/dist/components/calcite-tab.js +1 -1
  787. package/dist/components/calcite-tabs.js +1 -1
  788. package/dist/components/calcite-text-area.js +1 -1
  789. package/dist/components/calcite-tile-select-group.js +1 -1
  790. package/dist/components/calcite-tile-select.js +1 -1
  791. package/dist/components/calcite-tile.js +1 -1
  792. package/dist/components/calcite-time-picker.js +1 -1
  793. package/dist/components/calcite-tip-group.js +1 -1
  794. package/dist/components/calcite-tip-manager.js +1 -1
  795. package/dist/components/calcite-tip.js +1 -1
  796. package/dist/components/calcite-tooltip.js +1 -1
  797. package/dist/components/calcite-tree-item.js +1 -1
  798. package/dist/components/calcite-tree.js +1 -1
  799. package/dist/components/calcite-value-list-item.js +1 -1
  800. package/dist/components/calcite-value-list.js +1 -1
  801. package/dist/components/checkbox.js +1 -1
  802. package/dist/components/chip.js +1 -1
  803. package/dist/components/color-picker-hex-input.js +1 -1
  804. package/dist/components/color-picker-swatch.js +1 -1
  805. package/dist/components/composed-offset-position.esm.js +1 -1
  806. package/dist/components/conditionalSlot.js +1 -1
  807. package/dist/components/date-picker-day.js +1 -1
  808. package/dist/components/date-picker-month-header.js +1 -1
  809. package/dist/components/date-picker-month.js +1 -1
  810. package/dist/components/date-picker.js +1 -1
  811. package/dist/components/date.js +1 -1
  812. package/dist/components/debounce.js +1 -1
  813. package/dist/components/dom.js +1 -1
  814. package/dist/components/dropdown.js +1 -1
  815. package/dist/components/filter.js +1 -1
  816. package/dist/components/filter2.js +1 -1
  817. package/dist/components/floating-ui.js +1 -1
  818. package/dist/components/focusTrapComponent.js +1 -1
  819. package/dist/components/form.js +1 -1
  820. package/dist/components/graph.js +1 -1
  821. package/dist/components/guid.js +1 -1
  822. package/dist/components/handle.js +1 -1
  823. package/dist/components/icon.js +1 -1
  824. package/dist/components/index.js +1 -1
  825. package/dist/components/index2.js +1 -1
  826. package/dist/components/input-number.js +1 -1
  827. package/dist/components/input.js +1 -1
  828. package/dist/components/interactive.js +1 -1
  829. package/dist/components/key.js +1 -1
  830. package/dist/components/label.js +1 -1
  831. package/dist/components/label2.js +1 -1
  832. package/dist/components/link.js +1 -1
  833. package/dist/components/loadable.js +1 -1
  834. package/dist/components/loader.js +1 -1
  835. package/dist/components/locale.js +1 -2
  836. package/dist/components/math.js +1 -1
  837. package/dist/components/menu.js +1 -1
  838. package/dist/components/observers.js +1 -1
  839. package/dist/components/openCloseComponent.js +1 -1
  840. package/dist/components/panel.js +1 -1
  841. package/dist/components/pick-list-item.js +1 -1
  842. package/dist/components/popover.js +1 -1
  843. package/dist/components/progress.js +1 -1
  844. package/dist/components/resources.js +1 -1
  845. package/dist/components/resources2.js +1 -1
  846. package/dist/components/resources3.js +1 -1
  847. package/dist/components/scrim.js +1 -1
  848. package/dist/components/shared-list-render.js +1 -1
  849. package/dist/components/sortable.esm.js +1 -1
  850. package/dist/components/switch.js +1 -1
  851. package/dist/components/t9n.js +1 -1
  852. package/dist/components/tab-nav.js +1 -1
  853. package/dist/components/tab-title.js +1 -1
  854. package/dist/components/tab.js +1 -1
  855. package/dist/components/tabs.js +1 -1
  856. package/dist/components/throttle.js +1 -1
  857. package/dist/components/tile.js +1 -1
  858. package/dist/components/time-picker.js +18 -4
  859. package/dist/components/tooltip.js +1 -1
  860. package/dist/components/utils.js +1 -1
  861. package/dist/components/utils2.js +1 -1
  862. package/dist/components/utils3.js +1 -1
  863. package/dist/esm/{ExpandToggle-90c08e90.js → ExpandToggle-9e199305.js} +5 -5
  864. package/dist/esm/{FloatingArrow-d2704880.js → FloatingArrow-d30e41d5.js} +2 -2
  865. package/dist/esm/{Heading-51f65ea7.js → Heading-d9ec2a7d.js} +2 -2
  866. package/dist/esm/{app-globals-c8353da5.js → app-globals-17e3c9c1.js} +2 -2
  867. package/dist/esm/{array-39e85e78.js → array-d9bde3f7.js} +1 -1
  868. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  869. package/dist/esm/calcite-action-bar.entry.js +15 -15
  870. package/dist/esm/calcite-action-group.entry.js +13 -13
  871. package/dist/esm/calcite-action-menu.entry.js +9 -9
  872. package/dist/esm/calcite-action-pad.entry.js +14 -14
  873. package/dist/esm/calcite-action.entry.js +11 -11
  874. package/dist/esm/calcite-alert.entry.js +12 -12
  875. package/dist/esm/calcite-avatar.entry.js +6 -6
  876. package/dist/esm/calcite-block_2.entry.js +12 -12
  877. package/dist/esm/calcite-button.entry.js +13 -13
  878. package/dist/esm/calcite-card.entry.js +10 -10
  879. package/dist/esm/calcite-checkbox.entry.js +10 -10
  880. package/dist/esm/calcite-chip-group.entry.js +8 -8
  881. package/dist/esm/calcite-chip.entry.js +12 -12
  882. package/dist/esm/calcite-color-picker_3.entry.js +15 -15
  883. package/dist/esm/calcite-combobox_3.entry.js +18 -18
  884. package/dist/esm/calcite-date-picker_4.entry.js +13 -13
  885. package/dist/esm/calcite-dropdown_3.entry.js +12 -12
  886. package/dist/esm/calcite-fab.entry.js +7 -7
  887. package/dist/esm/calcite-filter.entry.js +13 -13
  888. package/dist/esm/calcite-flow-item.entry.js +12 -12
  889. package/dist/esm/calcite-flow.entry.js +3 -3
  890. package/dist/esm/calcite-graph_2.entry.js +13 -13
  891. package/dist/esm/calcite-handle.entry.js +10 -10
  892. package/dist/esm/calcite-icon.entry.js +6 -6
  893. package/dist/esm/calcite-inline-editable.entry.js +12 -12
  894. package/dist/esm/calcite-input-date-picker.entry.js +18 -18
  895. package/dist/esm/calcite-input-message.entry.js +5 -5
  896. package/dist/esm/calcite-input-number.entry.js +13 -13
  897. package/dist/esm/calcite-input-text.entry.js +13 -13
  898. package/dist/esm/calcite-input-time-picker_2.entry.js +1347 -112
  899. package/dist/esm/calcite-input.entry.js +13 -13
  900. package/dist/esm/calcite-label.entry.js +6 -6
  901. package/dist/esm/calcite-link.entry.js +7 -7
  902. package/dist/esm/calcite-list_3.entry.js +12 -12
  903. package/dist/esm/calcite-loader.entry.js +3 -3
  904. package/dist/esm/calcite-menu_2.entry.js +10 -10
  905. package/dist/esm/calcite-modal.entry.js +13 -13
  906. package/dist/esm/calcite-notice.entry.js +12 -12
  907. package/dist/esm/calcite-option_3.entry.js +10 -10
  908. package/dist/esm/calcite-pagination.entry.js +10 -10
  909. package/dist/esm/calcite-panel.entry.js +14 -14
  910. package/dist/esm/calcite-pick-list_3.entry.js +16 -16
  911. package/dist/esm/calcite-popover.entry.js +16 -16
  912. package/dist/esm/calcite-progress.entry.js +2 -2
  913. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  914. package/dist/esm/calcite-radio-button.entry.js +10 -10
  915. package/dist/esm/calcite-rating.entry.js +13 -13
  916. package/dist/esm/calcite-scrim.entry.js +9 -9
  917. package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
  918. package/dist/esm/calcite-shell_3.entry.js +11 -11
  919. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  920. package/dist/esm/calcite-split-button.entry.js +4 -4
  921. package/dist/esm/calcite-stepper_2.entry.js +10 -10
  922. package/dist/esm/calcite-switch.entry.js +10 -10
  923. package/dist/esm/calcite-tab_4.entry.js +7 -7
  924. package/dist/esm/calcite-text-area.entry.js +15 -15
  925. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  926. package/dist/esm/calcite-tile.entry.js +8 -8
  927. package/dist/esm/calcite-tip_3.entry.js +11 -11
  928. package/dist/esm/calcite-tooltip.entry.js +9 -9
  929. package/dist/esm/calcite-tree_2.entry.js +9 -9
  930. package/dist/esm/calcite-value-list_2.entry.js +16 -16
  931. package/dist/esm/calcite.js +6 -6
  932. package/dist/esm/{composed-offset-position.esm-1dcb821a.js → composed-offset-position.esm-4881170f.js} +1 -1
  933. package/dist/esm/{conditionalSlot-c0a2ecbd.js → conditionalSlot-abd32f3d.js} +3 -3
  934. package/dist/esm/{debounce-eb760c97.js → debounce-08574d11.js} +1 -1
  935. package/dist/esm/{dom-255c571e.js → dom-d5d734bd.js} +3 -3
  936. package/dist/esm/{filter-7ca09a76.js → filter-b75ecdca.js} +2 -2
  937. package/dist/esm/{floating-ui-186068e5.js → floating-ui-5bb808ed.js} +4 -4
  938. package/dist/esm/{focusTrapComponent-2b209cb1.js → focusTrapComponent-99045c04.js} +2 -2
  939. package/dist/esm/{form-368465b2.js → form-f65000a4.js} +3 -3
  940. package/dist/esm/{guid-fb5f74f7.js → guid-62b4a4f7.js} +1 -1
  941. package/dist/esm/{index-8274f2b3.js → index-7cd86b2f.js} +1 -1
  942. package/dist/esm/index.js +2 -2
  943. package/dist/esm/{interactive-d006c00f.js → interactive-57ca2112.js} +1 -1
  944. package/dist/esm/{key-c423f367.js → key-c1b3e626.js} +1 -1
  945. package/dist/esm/{label-71f9052a.js → label-a8a069a3.js} +2 -2
  946. package/dist/esm/{loadable-e4485246.js → loadable-a2065647.js} +1 -1
  947. package/dist/esm/loader.js +6 -6
  948. package/dist/esm/{locale-ec48f9fd.js → locale-2890210d.js} +4 -5
  949. package/dist/esm/{math-074762ab.js → math-b3aebb9d.js} +1 -1
  950. package/dist/esm/{observers-609d2ec6.js → observers-70580c98.js} +1 -1
  951. package/dist/esm/{openCloseComponent-962fbce0.js → openCloseComponent-91356b53.js} +2 -2
  952. package/dist/esm/{resources-dd3a21e6.js → resources-43ace532.js} +5 -5
  953. package/dist/esm/{resources-87a469f9.js → resources-57c4c301.js} +1 -1
  954. package/dist/esm/{resources-91b4e652.js → resources-6c7afda8.js} +1 -1
  955. package/dist/esm/{resources-b10a8747.js → resources-992a8ce3.js} +1 -1
  956. package/dist/esm/{resources-8fedc3fa.js → resources-a927420b.js} +1 -1
  957. package/dist/esm/{resources-df8977b4.js → resources-e1321a5a.js} +1 -1
  958. package/dist/esm/{sortable.esm-1fe57572.js → sortable.esm-c7bba34c.js} +1 -1
  959. package/dist/esm/{t9n-1ff5274f.js → t9n-c6c4c747.js} +3 -3
  960. package/dist/esm/{throttle-e4065614.js → throttle-5619e039.js} +2 -2
  961. package/dist/esm/{utils-9b81ae02.js → utils-ac238ffd.js} +3 -3
  962. package/dist/esm/{utils-7a634b60.js → utils-f874a9d1.js} +1 -1
  963. package/dist/extras/docs-json.json +2 -2
  964. package/dist/extras/vscode-data.json +1 -1
  965. package/dist/loader/cdn.js +1 -1
  966. package/dist/loader/index.cjs.js +1 -1
  967. package/dist/loader/index.es2017.js +1 -1
  968. package/dist/loader/index.js +1 -1
  969. package/dist/types/components/input-time-picker/input-time-picker.d.ts +24 -8
  970. package/dist/types/components.d.ts +2 -2
  971. package/dist/types/utils/time.d.ts +1 -0
  972. package/hydrate/index.js +1354 -101
  973. package/package.json +7 -3
  974. package/dist/calcite/p-0f895f5b.js +0 -6
  975. package/dist/calcite/p-141ee740.entry.js +0 -6
  976. package/dist/calcite/p-1597128c.js +0 -6
  977. package/dist/calcite/p-3b2fa38d.js +0 -6
  978. package/dist/calcite/p-95cdc2ce.entry.js +0 -6
  979. package/dist/calcite/p-96dbffb1.js +0 -6
  980. package/dist/calcite/p-d1d88d7e.js +0 -6
  981. package/dist/calcite/p-da225746.entry.js +0 -6
  982. package/dist/calcite/p-e9f8edb1.entry.js +0 -6
  983. package/dist/calcite/p-eb9ba591.entry.js +0 -6
@@ -1,38 +1,58 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.4.0-next.15
4
+ * v1.4.0-next.16
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const index = require('./index-ba11e876.js');
11
- const form = require('./form-e2463761.js');
12
- const guid = require('./guid-796bc06f.js');
13
- const interactive = require('./interactive-fe8c2e65.js');
14
- const key = require('./key-08d15055.js');
15
- const label = require('./label-1185ba45.js');
16
- const loadable = require('./loadable-99b8d133.js');
17
- const locale = require('./locale-be9685fe.js');
18
- const focusTrapComponent = require('./focusTrapComponent-c1bc0bed.js');
19
- const t9n = require('./t9n-a35fc0f0.js');
20
- require('./dom-b2504a19.js');
21
- require('./resources-58b84dd2.js');
22
- require('./observers-66e308ef.js');
10
+ const index = require('./index-a6397f75.js');
11
+ const form = require('./form-c33f638c.js');
12
+ const guid = require('./guid-ab357421.js');
13
+ const interactive = require('./interactive-9bcd6d9c.js');
14
+ const key = require('./key-d3c0dbf4.js');
15
+ const label = require('./label-345ac153.js');
16
+ const loadable = require('./loadable-8ff80e11.js');
17
+ const locale$1 = require('./locale-7ca4ffad.js');
18
+ const focusTrapComponent = require('./focusTrapComponent-e1962858.js');
19
+ const t9n = require('./t9n-e37aefc9.js');
20
+ require('./dom-8103e5d3.js');
21
+ require('./resources-f32ec864.js');
22
+ require('./observers-cd7bfa1c.js');
23
+
24
+ function _interopNamespace(e) {
25
+ if (e && e.__esModule) return e;
26
+ var n = Object.create(null);
27
+ if (e) {
28
+ Object.keys(e).forEach(function (k) {
29
+ if (k !== 'default') {
30
+ var d = Object.getOwnPropertyDescriptor(e, k);
31
+ Object.defineProperty(n, k, d.get ? d : {
32
+ enumerable: true,
33
+ get: function () {
34
+ return e[k];
35
+ }
36
+ });
37
+ }
38
+ });
39
+ }
40
+ n['default'] = e;
41
+ return Object.freeze(n);
42
+ }
23
43
 
24
44
  const maxTenthForMinuteAndSecond = 5;
25
- function createLocaleDateTimeFormatter(locale$1, numberingSystem, includeSeconds = true) {
45
+ function createLocaleDateTimeFormatter(locale, numberingSystem, includeSeconds = true) {
26
46
  const options = {
27
47
  hour: "2-digit",
28
48
  minute: "2-digit",
29
49
  timeZone: "UTC",
30
- numberingSystem: locale.getSupportedNumberingSystem(numberingSystem)
50
+ numberingSystem: locale$1.getSupportedNumberingSystem(numberingSystem)
31
51
  };
32
52
  if (includeSeconds) {
33
53
  options.second = "2-digit";
34
54
  }
35
- return locale.getDateTimeFormat(locale$1, options);
55
+ return locale$1.getDateTimeFormat(locale, options);
36
56
  }
37
57
  function formatTimePart(number) {
38
58
  const numberAsString = number.toString();
@@ -84,7 +104,7 @@ function getLocalizedTimePart(part, parts) {
84
104
  return parts.find(({ type }) => (part == "meridiem" ? type === "dayPeriod" : type === part))?.value || null;
85
105
  }
86
106
  function getMeridiem(hour) {
87
- if (!locale.isValidNumber(hour)) {
107
+ if (!locale$1.isValidNumber(hour)) {
88
108
  return null;
89
109
  }
90
110
  const hourAsNumber = parseInt(hour);
@@ -103,9 +123,9 @@ function isValidTime(value) {
103
123
  const hourAsNumber = parseInt(splitValue[0]);
104
124
  const minuteAsNumber = parseInt(splitValue[1]);
105
125
  const secondAsNumber = parseInt(splitValue[2]);
106
- const hourValid = locale.isValidNumber(hour) && hourAsNumber >= 0 && hourAsNumber < 24;
107
- const minuteValid = locale.isValidNumber(minute) && minuteAsNumber >= 0 && minuteAsNumber < 60;
108
- const secondValid = locale.isValidNumber(second) && secondAsNumber >= 0 && secondAsNumber < 60;
126
+ const hourValid = locale$1.isValidNumber(hour) && hourAsNumber >= 0 && hourAsNumber < 24;
127
+ const minuteValid = locale$1.isValidNumber(minute) && minuteAsNumber >= 0 && minuteAsNumber < 60;
128
+ const secondValid = locale$1.isValidNumber(second) && secondAsNumber >= 0 && secondAsNumber < 60;
109
129
  if ((hourValid && minuteValid && !second) || (hourValid && minuteValid && secondValid)) {
110
130
  return true;
111
131
  }
@@ -114,7 +134,7 @@ function isValidTimePart(value, part) {
114
134
  if (part === "meridiem") {
115
135
  return value === "AM" || value === "PM";
116
136
  }
117
- if (!locale.isValidNumber(value)) {
137
+ if (!locale$1.isValidNumber(value)) {
118
138
  return false;
119
139
  }
120
140
  const valueAsNumber = Number(value);
@@ -191,13 +211,1091 @@ function parseTimeString(value) {
191
211
  second: null
192
212
  };
193
213
  }
214
+ function toISOTimeString(value, includeSeconds = true) {
215
+ if (!isValidTime(value)) {
216
+ return "";
217
+ }
218
+ const { hour, minute, second } = parseTimeString(value);
219
+ let isoTimeString = `${formatTimePart(parseInt(hour))}:${formatTimePart(parseInt(minute))}`;
220
+ if (includeSeconds) {
221
+ isoTimeString += `:${formatTimePart(parseInt((includeSeconds && second) || "0"))}`;
222
+ }
223
+ return isoTimeString;
224
+ }
194
225
 
195
226
  const CSS$1 = {
196
227
  toggleIcon: "toggle-icon"
197
228
  };
198
229
 
230
+ var SECONDS_A_MINUTE = 60;
231
+ var SECONDS_A_HOUR = SECONDS_A_MINUTE * 60;
232
+ var SECONDS_A_DAY = SECONDS_A_HOUR * 24;
233
+ var SECONDS_A_WEEK = SECONDS_A_DAY * 7;
234
+ var MILLISECONDS_A_SECOND = 1e3;
235
+ var MILLISECONDS_A_MINUTE = SECONDS_A_MINUTE * MILLISECONDS_A_SECOND;
236
+ var MILLISECONDS_A_HOUR = SECONDS_A_HOUR * MILLISECONDS_A_SECOND;
237
+ var MILLISECONDS_A_DAY = SECONDS_A_DAY * MILLISECONDS_A_SECOND;
238
+ var MILLISECONDS_A_WEEK = SECONDS_A_WEEK * MILLISECONDS_A_SECOND; // English locales
239
+
240
+ var MS = 'millisecond';
241
+ var S = 'second';
242
+ var MIN = 'minute';
243
+ var H = 'hour';
244
+ var D = 'day';
245
+ var W = 'week';
246
+ var M = 'month';
247
+ var Q = 'quarter';
248
+ var Y = 'year';
249
+ var DATE = 'date';
250
+ var FORMAT_DEFAULT = 'YYYY-MM-DDTHH:mm:ssZ';
251
+ var INVALID_DATE_STRING = 'Invalid Date'; // regex
252
+
253
+ var REGEX_PARSE = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/;
254
+ var REGEX_FORMAT = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;
255
+
256
+ // English [en]
257
+ // We don't need weekdaysShort, weekdaysMin, monthsShort in en.js locale
258
+ const en = {
259
+ name: 'en',
260
+ weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
261
+ months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
262
+ ordinal: function ordinal(n) {
263
+ var s = ['th', 'st', 'nd', 'rd'];
264
+ var v = n % 100;
265
+ return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]";
266
+ }
267
+ };
268
+
269
+ var padStart = function padStart(string, length, pad) {
270
+ var s = String(string);
271
+ if (!s || s.length >= length) return string;
272
+ return "" + Array(length + 1 - s.length).join(pad) + string;
273
+ };
274
+
275
+ var padZoneStr = function padZoneStr(instance) {
276
+ var negMinutes = -instance.utcOffset();
277
+ var minutes = Math.abs(negMinutes);
278
+ var hourOffset = Math.floor(minutes / 60);
279
+ var minuteOffset = minutes % 60;
280
+ return "" + (negMinutes <= 0 ? '+' : '-') + padStart(hourOffset, 2, '0') + ":" + padStart(minuteOffset, 2, '0');
281
+ };
282
+
283
+ var monthDiff = function monthDiff(a, b) {
284
+ // function from moment.js in order to keep the same result
285
+ if (a.date() < b.date()) return -monthDiff(b, a);
286
+ var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month());
287
+ var anchor = a.clone().add(wholeMonthDiff, M);
288
+ var c = b - anchor < 0;
289
+ var anchor2 = a.clone().add(wholeMonthDiff + (c ? -1 : 1), M);
290
+ return +(-(wholeMonthDiff + (b - anchor) / (c ? anchor - anchor2 : anchor2 - anchor)) || 0);
291
+ };
292
+
293
+ var absFloor = function absFloor(n) {
294
+ return n < 0 ? Math.ceil(n) || 0 : Math.floor(n);
295
+ };
296
+
297
+ var prettyUnit = function prettyUnit(u) {
298
+ var special = {
299
+ M: M,
300
+ y: Y,
301
+ w: W,
302
+ d: D,
303
+ D: DATE,
304
+ h: H,
305
+ m: MIN,
306
+ s: S,
307
+ ms: MS,
308
+ Q: Q
309
+ };
310
+ return special[u] || String(u || '').toLowerCase().replace(/s$/, '');
311
+ };
312
+
313
+ var isUndefined = function isUndefined(s) {
314
+ return s === undefined;
315
+ };
316
+
317
+ const U = {
318
+ s: padStart,
319
+ z: padZoneStr,
320
+ m: monthDiff,
321
+ a: absFloor,
322
+ p: prettyUnit,
323
+ u: isUndefined
324
+ };
325
+
326
+ var L = 'en'; // global locale
327
+
328
+ var Ls = {}; // global loaded locale
329
+
330
+ Ls[L] = en;
331
+
332
+ var isDayjs = function isDayjs(d) {
333
+ return d instanceof Dayjs;
334
+ }; // eslint-disable-line no-use-before-define
335
+
336
+
337
+ var parseLocale = function parseLocale(preset, object, isLocal) {
338
+ var l;
339
+ if (!preset) return L;
340
+
341
+ if (typeof preset === 'string') {
342
+ var presetLower = preset.toLowerCase();
343
+
344
+ if (Ls[presetLower]) {
345
+ l = presetLower;
346
+ }
347
+
348
+ if (object) {
349
+ Ls[presetLower] = object;
350
+ l = presetLower;
351
+ }
352
+
353
+ var presetSplit = preset.split('-');
354
+
355
+ if (!l && presetSplit.length > 1) {
356
+ return parseLocale(presetSplit[0]);
357
+ }
358
+ } else {
359
+ var name = preset.name;
360
+ Ls[name] = preset;
361
+ l = name;
362
+ }
363
+
364
+ if (!isLocal && l) L = l;
365
+ return l || !isLocal && L;
366
+ };
367
+
368
+ var dayjs = function dayjs(date, c) {
369
+ if (isDayjs(date)) {
370
+ return date.clone();
371
+ } // eslint-disable-next-line no-nested-ternary
372
+
373
+
374
+ var cfg = typeof c === 'object' ? c : {};
375
+ cfg.date = date;
376
+ cfg.args = arguments; // eslint-disable-line prefer-rest-params
377
+
378
+ return new Dayjs(cfg); // eslint-disable-line no-use-before-define
379
+ };
380
+
381
+ var wrapper = function wrapper(date, instance) {
382
+ return dayjs(date, {
383
+ locale: instance.$L,
384
+ utc: instance.$u,
385
+ x: instance.$x,
386
+ $offset: instance.$offset // todo: refactor; do not use this.$offset in you code
387
+
388
+ });
389
+ };
390
+
391
+ var Utils = U; // for plugin use
392
+
393
+ Utils.l = parseLocale;
394
+ Utils.i = isDayjs;
395
+ Utils.w = wrapper;
396
+
397
+ var parseDate = function parseDate(cfg) {
398
+ var date = cfg.date,
399
+ utc = cfg.utc;
400
+ if (date === null) return new Date(NaN); // null is invalid
401
+
402
+ if (Utils.u(date)) return new Date(); // today
403
+
404
+ if (date instanceof Date) return new Date(date);
405
+
406
+ if (typeof date === 'string' && !/Z$/i.test(date)) {
407
+ var d = date.match(REGEX_PARSE);
408
+
409
+ if (d) {
410
+ var m = d[2] - 1 || 0;
411
+ var ms = (d[7] || '0').substring(0, 3);
412
+
413
+ if (utc) {
414
+ return new Date(Date.UTC(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms));
415
+ }
416
+
417
+ return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);
418
+ }
419
+ }
420
+
421
+ return new Date(date); // everything else
422
+ };
423
+
424
+ var Dayjs = /*#__PURE__*/function () {
425
+ function Dayjs(cfg) {
426
+ this.$L = parseLocale(cfg.locale, null, true);
427
+ this.parse(cfg); // for plugin
428
+ }
429
+
430
+ var _proto = Dayjs.prototype;
431
+
432
+ _proto.parse = function parse(cfg) {
433
+ this.$d = parseDate(cfg);
434
+ this.$x = cfg.x || {};
435
+ this.init();
436
+ };
437
+
438
+ _proto.init = function init() {
439
+ var $d = this.$d;
440
+ this.$y = $d.getFullYear();
441
+ this.$M = $d.getMonth();
442
+ this.$D = $d.getDate();
443
+ this.$W = $d.getDay();
444
+ this.$H = $d.getHours();
445
+ this.$m = $d.getMinutes();
446
+ this.$s = $d.getSeconds();
447
+ this.$ms = $d.getMilliseconds();
448
+ } // eslint-disable-next-line class-methods-use-this
449
+ ;
450
+
451
+ _proto.$utils = function $utils() {
452
+ return Utils;
453
+ };
454
+
455
+ _proto.isValid = function isValid() {
456
+ return !(this.$d.toString() === INVALID_DATE_STRING);
457
+ };
458
+
459
+ _proto.isSame = function isSame(that, units) {
460
+ var other = dayjs(that);
461
+ return this.startOf(units) <= other && other <= this.endOf(units);
462
+ };
463
+
464
+ _proto.isAfter = function isAfter(that, units) {
465
+ return dayjs(that) < this.startOf(units);
466
+ };
467
+
468
+ _proto.isBefore = function isBefore(that, units) {
469
+ return this.endOf(units) < dayjs(that);
470
+ };
471
+
472
+ _proto.$g = function $g(input, get, set) {
473
+ if (Utils.u(input)) return this[get];
474
+ return this.set(set, input);
475
+ };
476
+
477
+ _proto.unix = function unix() {
478
+ return Math.floor(this.valueOf() / 1000);
479
+ };
480
+
481
+ _proto.valueOf = function valueOf() {
482
+ // timezone(hour) * 60 * 60 * 1000 => ms
483
+ return this.$d.getTime();
484
+ };
485
+
486
+ _proto.startOf = function startOf(units, _startOf) {
487
+ var _this = this;
488
+
489
+ // startOf -> endOf
490
+ var isStartOf = !Utils.u(_startOf) ? _startOf : true;
491
+ var unit = Utils.p(units);
492
+
493
+ var instanceFactory = function instanceFactory(d, m) {
494
+ var ins = Utils.w(_this.$u ? Date.UTC(_this.$y, m, d) : new Date(_this.$y, m, d), _this);
495
+ return isStartOf ? ins : ins.endOf(D);
496
+ };
497
+
498
+ var instanceFactorySet = function instanceFactorySet(method, slice) {
499
+ var argumentStart = [0, 0, 0, 0];
500
+ var argumentEnd = [23, 59, 59, 999];
501
+ return Utils.w(_this.toDate()[method].apply( // eslint-disable-line prefer-spread
502
+ _this.toDate('s'), (isStartOf ? argumentStart : argumentEnd).slice(slice)), _this);
503
+ };
504
+
505
+ var $W = this.$W,
506
+ $M = this.$M,
507
+ $D = this.$D;
508
+ var utcPad = "set" + (this.$u ? 'UTC' : '');
509
+
510
+ switch (unit) {
511
+ case Y:
512
+ return isStartOf ? instanceFactory(1, 0) : instanceFactory(31, 11);
513
+
514
+ case M:
515
+ return isStartOf ? instanceFactory(1, $M) : instanceFactory(0, $M + 1);
516
+
517
+ case W:
518
+ {
519
+ var weekStart = this.$locale().weekStart || 0;
520
+ var gap = ($W < weekStart ? $W + 7 : $W) - weekStart;
521
+ return instanceFactory(isStartOf ? $D - gap : $D + (6 - gap), $M);
522
+ }
523
+
524
+ case D:
525
+ case DATE:
526
+ return instanceFactorySet(utcPad + "Hours", 0);
527
+
528
+ case H:
529
+ return instanceFactorySet(utcPad + "Minutes", 1);
530
+
531
+ case MIN:
532
+ return instanceFactorySet(utcPad + "Seconds", 2);
533
+
534
+ case S:
535
+ return instanceFactorySet(utcPad + "Milliseconds", 3);
536
+
537
+ default:
538
+ return this.clone();
539
+ }
540
+ };
541
+
542
+ _proto.endOf = function endOf(arg) {
543
+ return this.startOf(arg, false);
544
+ };
545
+
546
+ _proto.$set = function $set(units, _int) {
547
+ var _C$D$C$DATE$C$M$C$Y$C;
548
+
549
+ // private set
550
+ var unit = Utils.p(units);
551
+ var utcPad = "set" + (this.$u ? 'UTC' : '');
552
+ var name = (_C$D$C$DATE$C$M$C$Y$C = {}, _C$D$C$DATE$C$M$C$Y$C[D] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[DATE] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[M] = utcPad + "Month", _C$D$C$DATE$C$M$C$Y$C[Y] = utcPad + "FullYear", _C$D$C$DATE$C$M$C$Y$C[H] = utcPad + "Hours", _C$D$C$DATE$C$M$C$Y$C[MIN] = utcPad + "Minutes", _C$D$C$DATE$C$M$C$Y$C[S] = utcPad + "Seconds", _C$D$C$DATE$C$M$C$Y$C[MS] = utcPad + "Milliseconds", _C$D$C$DATE$C$M$C$Y$C)[unit];
553
+ var arg = unit === D ? this.$D + (_int - this.$W) : _int;
554
+
555
+ if (unit === M || unit === Y) {
556
+ // clone is for badMutable plugin
557
+ var date = this.clone().set(DATE, 1);
558
+ date.$d[name](arg);
559
+ date.init();
560
+ this.$d = date.set(DATE, Math.min(this.$D, date.daysInMonth())).$d;
561
+ } else if (name) this.$d[name](arg);
562
+
563
+ this.init();
564
+ return this;
565
+ };
566
+
567
+ _proto.set = function set(string, _int2) {
568
+ return this.clone().$set(string, _int2);
569
+ };
570
+
571
+ _proto.get = function get(unit) {
572
+ return this[Utils.p(unit)]();
573
+ };
574
+
575
+ _proto.add = function add(number, units) {
576
+ var _this2 = this,
577
+ _C$MIN$C$H$C$S$unit;
578
+
579
+ number = Number(number); // eslint-disable-line no-param-reassign
580
+
581
+ var unit = Utils.p(units);
582
+
583
+ var instanceFactorySet = function instanceFactorySet(n) {
584
+ var d = dayjs(_this2);
585
+ return Utils.w(d.date(d.date() + Math.round(n * number)), _this2);
586
+ };
587
+
588
+ if (unit === M) {
589
+ return this.set(M, this.$M + number);
590
+ }
591
+
592
+ if (unit === Y) {
593
+ return this.set(Y, this.$y + number);
594
+ }
595
+
596
+ if (unit === D) {
597
+ return instanceFactorySet(1);
598
+ }
599
+
600
+ if (unit === W) {
601
+ return instanceFactorySet(7);
602
+ }
603
+
604
+ var step = (_C$MIN$C$H$C$S$unit = {}, _C$MIN$C$H$C$S$unit[MIN] = MILLISECONDS_A_MINUTE, _C$MIN$C$H$C$S$unit[H] = MILLISECONDS_A_HOUR, _C$MIN$C$H$C$S$unit[S] = MILLISECONDS_A_SECOND, _C$MIN$C$H$C$S$unit)[unit] || 1; // ms
605
+
606
+ var nextTimeStamp = this.$d.getTime() + number * step;
607
+ return Utils.w(nextTimeStamp, this);
608
+ };
609
+
610
+ _proto.subtract = function subtract(number, string) {
611
+ return this.add(number * -1, string);
612
+ };
613
+
614
+ _proto.format = function format(formatStr) {
615
+ var _this3 = this;
616
+
617
+ var locale = this.$locale();
618
+ if (!this.isValid()) return locale.invalidDate || INVALID_DATE_STRING;
619
+ var str = formatStr || FORMAT_DEFAULT;
620
+ var zoneStr = Utils.z(this);
621
+ var $H = this.$H,
622
+ $m = this.$m,
623
+ $M = this.$M;
624
+ var weekdays = locale.weekdays,
625
+ months = locale.months,
626
+ meridiem = locale.meridiem;
627
+
628
+ var getShort = function getShort(arr, index, full, length) {
629
+ return arr && (arr[index] || arr(_this3, str)) || full[index].slice(0, length);
630
+ };
631
+
632
+ var get$H = function get$H(num) {
633
+ return Utils.s($H % 12 || 12, num, '0');
634
+ };
635
+
636
+ var meridiemFunc = meridiem || function (hour, minute, isLowercase) {
637
+ var m = hour < 12 ? 'AM' : 'PM';
638
+ return isLowercase ? m.toLowerCase() : m;
639
+ };
640
+
641
+ var matches = {
642
+ YY: String(this.$y).slice(-2),
643
+ YYYY: this.$y,
644
+ M: $M + 1,
645
+ MM: Utils.s($M + 1, 2, '0'),
646
+ MMM: getShort(locale.monthsShort, $M, months, 3),
647
+ MMMM: getShort(months, $M),
648
+ D: this.$D,
649
+ DD: Utils.s(this.$D, 2, '0'),
650
+ d: String(this.$W),
651
+ dd: getShort(locale.weekdaysMin, this.$W, weekdays, 2),
652
+ ddd: getShort(locale.weekdaysShort, this.$W, weekdays, 3),
653
+ dddd: weekdays[this.$W],
654
+ H: String($H),
655
+ HH: Utils.s($H, 2, '0'),
656
+ h: get$H(1),
657
+ hh: get$H(2),
658
+ a: meridiemFunc($H, $m, true),
659
+ A: meridiemFunc($H, $m, false),
660
+ m: String($m),
661
+ mm: Utils.s($m, 2, '0'),
662
+ s: String(this.$s),
663
+ ss: Utils.s(this.$s, 2, '0'),
664
+ SSS: Utils.s(this.$ms, 3, '0'),
665
+ Z: zoneStr // 'ZZ' logic below
666
+
667
+ };
668
+ return str.replace(REGEX_FORMAT, function (match, $1) {
669
+ return $1 || matches[match] || zoneStr.replace(':', '');
670
+ }); // 'ZZ'
671
+ };
672
+
673
+ _proto.utcOffset = function utcOffset() {
674
+ // Because a bug at FF24, we're rounding the timezone offset around 15 minutes
675
+ // https://github.com/moment/moment/pull/1871
676
+ return -Math.round(this.$d.getTimezoneOffset() / 15) * 15;
677
+ };
678
+
679
+ _proto.diff = function diff(input, units, _float) {
680
+ var _C$Y$C$M$C$Q$C$W$C$D$;
681
+
682
+ var unit = Utils.p(units);
683
+ var that = dayjs(input);
684
+ var zoneDelta = (that.utcOffset() - this.utcOffset()) * MILLISECONDS_A_MINUTE;
685
+ var diff = this - that;
686
+ var result = Utils.m(this, that);
687
+ result = (_C$Y$C$M$C$Q$C$W$C$D$ = {}, _C$Y$C$M$C$Q$C$W$C$D$[Y] = result / 12, _C$Y$C$M$C$Q$C$W$C$D$[M] = result, _C$Y$C$M$C$Q$C$W$C$D$[Q] = result / 3, _C$Y$C$M$C$Q$C$W$C$D$[W] = (diff - zoneDelta) / MILLISECONDS_A_WEEK, _C$Y$C$M$C$Q$C$W$C$D$[D] = (diff - zoneDelta) / MILLISECONDS_A_DAY, _C$Y$C$M$C$Q$C$W$C$D$[H] = diff / MILLISECONDS_A_HOUR, _C$Y$C$M$C$Q$C$W$C$D$[MIN] = diff / MILLISECONDS_A_MINUTE, _C$Y$C$M$C$Q$C$W$C$D$[S] = diff / MILLISECONDS_A_SECOND, _C$Y$C$M$C$Q$C$W$C$D$)[unit] || diff; // milliseconds
688
+
689
+ return _float ? result : Utils.a(result);
690
+ };
691
+
692
+ _proto.daysInMonth = function daysInMonth() {
693
+ return this.endOf(M).$D;
694
+ };
695
+
696
+ _proto.$locale = function $locale() {
697
+ // get locale object
698
+ return Ls[this.$L];
699
+ };
700
+
701
+ _proto.locale = function locale(preset, object) {
702
+ if (!preset) return this.$L;
703
+ var that = this.clone();
704
+ var nextLocaleName = parseLocale(preset, object, true);
705
+ if (nextLocaleName) that.$L = nextLocaleName;
706
+ return that;
707
+ };
708
+
709
+ _proto.clone = function clone() {
710
+ return Utils.w(this.$d, this);
711
+ };
712
+
713
+ _proto.toDate = function toDate() {
714
+ return new Date(this.valueOf());
715
+ };
716
+
717
+ _proto.toJSON = function toJSON() {
718
+ return this.isValid() ? this.toISOString() : null;
719
+ };
720
+
721
+ _proto.toISOString = function toISOString() {
722
+ // ie 8 return
723
+ // new Dayjs(this.valueOf() + this.$d.getTimezoneOffset() * 60000)
724
+ // .format('YYYY-MM-DDTHH:mm:ss.SSS[Z]')
725
+ return this.$d.toISOString();
726
+ };
727
+
728
+ _proto.toString = function toString() {
729
+ return this.$d.toUTCString();
730
+ };
731
+
732
+ return Dayjs;
733
+ }();
734
+
735
+ var proto = Dayjs.prototype;
736
+ dayjs.prototype = proto;
737
+ [['$ms', MS], ['$s', S], ['$m', MIN], ['$H', H], ['$W', D], ['$M', M], ['$y', Y], ['$D', DATE]].forEach(function (g) {
738
+ proto[g[1]] = function (input) {
739
+ return this.$g(input, g[0], g[1]);
740
+ };
741
+ });
742
+
743
+ dayjs.extend = function (plugin, option) {
744
+ if (!plugin.$i) {
745
+ // install plugin only once
746
+ plugin(option, Dayjs, dayjs);
747
+ plugin.$i = true;
748
+ }
749
+
750
+ return dayjs;
751
+ };
752
+
753
+ dayjs.locale = parseLocale;
754
+ dayjs.isDayjs = isDayjs;
755
+
756
+ dayjs.unix = function (timestamp) {
757
+ return dayjs(timestamp * 1e3);
758
+ };
759
+
760
+ dayjs.en = Ls[L];
761
+ dayjs.Ls = Ls;
762
+ dayjs.p = {};
763
+
764
+ // eslint-disable-next-line import/prefer-default-export
765
+ var t = function t(format) {
766
+ return format.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function (_, a, b) {
767
+ return a || b.slice(1);
768
+ });
769
+ };
770
+ var englishFormats = {
771
+ LTS: 'h:mm:ss A',
772
+ LT: 'h:mm A',
773
+ L: 'MM/DD/YYYY',
774
+ LL: 'MMMM D, YYYY',
775
+ LLL: 'MMMM D, YYYY h:mm A',
776
+ LLLL: 'dddd, MMMM D, YYYY h:mm A'
777
+ };
778
+ var u = function u(formatStr, formats) {
779
+ return formatStr.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function (_, a, b) {
780
+ var B = b && b.toUpperCase();
781
+ return a || formats[b] || englishFormats[b] || t(formats[B]);
782
+ });
783
+ };
784
+
785
+ var formattingTokens = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g;
786
+ var match1 = /\d/; // 0 - 9
787
+
788
+ var match2 = /\d\d/; // 00 - 99
789
+
790
+ var match3 = /\d{3}/; // 000 - 999
791
+
792
+ var match4 = /\d{4}/; // 0000 - 9999
793
+
794
+ var match1to2 = /\d\d?/; // 0 - 99
795
+
796
+ var matchSigned = /[+-]?\d+/; // -inf - inf
797
+
798
+ var matchOffset = /[+-]\d\d:?(\d\d)?|Z/; // +00:00 -00:00 +0000 or -0000 +00 or Z
799
+
800
+ var matchWord = /\d*[^-_:/,()\s\d]+/; // Word
801
+
802
+ var locale = {};
803
+
804
+ var parseTwoDigitYear = function parseTwoDigitYear(input) {
805
+ input = +input;
806
+ return input + (input > 68 ? 1900 : 2000);
807
+ };
808
+
809
+ function offsetFromString(string) {
810
+ if (!string) return 0;
811
+ if (string === 'Z') return 0;
812
+ var parts = string.match(/([+-]|\d\d)/g);
813
+ var minutes = +(parts[1] * 60) + (+parts[2] || 0);
814
+ return minutes === 0 ? 0 : parts[0] === '+' ? -minutes : minutes; // eslint-disable-line no-nested-ternary
815
+ }
816
+
817
+ var addInput = function addInput(property) {
818
+ return function (input) {
819
+ this[property] = +input;
820
+ };
821
+ };
822
+
823
+ var zoneExpressions = [matchOffset, function (input) {
824
+ var zone = this.zone || (this.zone = {});
825
+ zone.offset = offsetFromString(input);
826
+ }];
827
+
828
+ var getLocalePart = function getLocalePart(name) {
829
+ var part = locale[name];
830
+ return part && (part.indexOf ? part : part.s.concat(part.f));
831
+ };
832
+
833
+ var meridiemMatch = function meridiemMatch(input, isLowerCase) {
834
+ var isAfternoon;
835
+ var _locale = locale,
836
+ meridiem = _locale.meridiem;
837
+
838
+ if (!meridiem) {
839
+ isAfternoon = input === (isLowerCase ? 'pm' : 'PM');
840
+ } else {
841
+ for (var i = 1; i <= 24; i += 1) {
842
+ // todo: fix input === meridiem(i, 0, isLowerCase)
843
+ if (input.indexOf(meridiem(i, 0, isLowerCase)) > -1) {
844
+ isAfternoon = i > 12;
845
+ break;
846
+ }
847
+ }
848
+ }
849
+
850
+ return isAfternoon;
851
+ };
852
+
853
+ var expressions = {
854
+ A: [matchWord, function (input) {
855
+ this.afternoon = meridiemMatch(input, false);
856
+ }],
857
+ a: [matchWord, function (input) {
858
+ this.afternoon = meridiemMatch(input, true);
859
+ }],
860
+ S: [match1, function (input) {
861
+ this.milliseconds = +input * 100;
862
+ }],
863
+ SS: [match2, function (input) {
864
+ this.milliseconds = +input * 10;
865
+ }],
866
+ SSS: [match3, function (input) {
867
+ this.milliseconds = +input;
868
+ }],
869
+ s: [match1to2, addInput('seconds')],
870
+ ss: [match1to2, addInput('seconds')],
871
+ m: [match1to2, addInput('minutes')],
872
+ mm: [match1to2, addInput('minutes')],
873
+ H: [match1to2, addInput('hours')],
874
+ h: [match1to2, addInput('hours')],
875
+ HH: [match1to2, addInput('hours')],
876
+ hh: [match1to2, addInput('hours')],
877
+ D: [match1to2, addInput('day')],
878
+ DD: [match2, addInput('day')],
879
+ Do: [matchWord, function (input) {
880
+ var _locale2 = locale,
881
+ ordinal = _locale2.ordinal;
882
+
883
+ var _input$match = input.match(/\d+/);
884
+
885
+ this.day = _input$match[0];
886
+ if (!ordinal) return;
887
+
888
+ for (var i = 1; i <= 31; i += 1) {
889
+ if (ordinal(i).replace(/\[|\]/g, '') === input) {
890
+ this.day = i;
891
+ }
892
+ }
893
+ }],
894
+ M: [match1to2, addInput('month')],
895
+ MM: [match2, addInput('month')],
896
+ MMM: [matchWord, function (input) {
897
+ var months = getLocalePart('months');
898
+ var monthsShort = getLocalePart('monthsShort');
899
+ var matchIndex = (monthsShort || months.map(function (_) {
900
+ return _.slice(0, 3);
901
+ })).indexOf(input) + 1;
902
+
903
+ if (matchIndex < 1) {
904
+ throw new Error();
905
+ }
906
+
907
+ this.month = matchIndex % 12 || matchIndex;
908
+ }],
909
+ MMMM: [matchWord, function (input) {
910
+ var months = getLocalePart('months');
911
+ var matchIndex = months.indexOf(input) + 1;
912
+
913
+ if (matchIndex < 1) {
914
+ throw new Error();
915
+ }
916
+
917
+ this.month = matchIndex % 12 || matchIndex;
918
+ }],
919
+ Y: [matchSigned, addInput('year')],
920
+ YY: [match2, function (input) {
921
+ this.year = parseTwoDigitYear(input);
922
+ }],
923
+ YYYY: [match4, addInput('year')],
924
+ Z: zoneExpressions,
925
+ ZZ: zoneExpressions
926
+ };
927
+
928
+ function correctHours(time) {
929
+ var afternoon = time.afternoon;
930
+
931
+ if (afternoon !== undefined) {
932
+ var hours = time.hours;
933
+
934
+ if (afternoon) {
935
+ if (hours < 12) {
936
+ time.hours += 12;
937
+ }
938
+ } else if (hours === 12) {
939
+ time.hours = 0;
940
+ }
941
+
942
+ delete time.afternoon;
943
+ }
944
+ }
945
+
946
+ function makeParser(format) {
947
+ format = u(format, locale && locale.formats);
948
+ var array = format.match(formattingTokens);
949
+ var length = array.length;
950
+
951
+ for (var i = 0; i < length; i += 1) {
952
+ var token = array[i];
953
+ var parseTo = expressions[token];
954
+ var regex = parseTo && parseTo[0];
955
+ var parser = parseTo && parseTo[1];
956
+
957
+ if (parser) {
958
+ array[i] = {
959
+ regex: regex,
960
+ parser: parser
961
+ };
962
+ } else {
963
+ array[i] = token.replace(/^\[|\]$/g, '');
964
+ }
965
+ }
966
+
967
+ return function (input) {
968
+ var time = {};
969
+
970
+ for (var _i = 0, start = 0; _i < length; _i += 1) {
971
+ var _token = array[_i];
972
+
973
+ if (typeof _token === 'string') {
974
+ start += _token.length;
975
+ } else {
976
+ var _regex = _token.regex,
977
+ _parser = _token.parser;
978
+ var part = input.slice(start);
979
+
980
+ var match = _regex.exec(part);
981
+
982
+ var value = match[0];
983
+
984
+ _parser.call(time, value);
985
+
986
+ input = input.replace(value, '');
987
+ }
988
+ }
989
+
990
+ correctHours(time);
991
+ return time;
992
+ };
993
+ }
994
+
995
+ var parseFormattedInput = function parseFormattedInput(input, format, utc) {
996
+ try {
997
+ if (['x', 'X'].indexOf(format) > -1) return new Date((format === 'X' ? 1000 : 1) * input);
998
+ var parser = makeParser(format);
999
+
1000
+ var _parser2 = parser(input),
1001
+ year = _parser2.year,
1002
+ month = _parser2.month,
1003
+ day = _parser2.day,
1004
+ hours = _parser2.hours,
1005
+ minutes = _parser2.minutes,
1006
+ seconds = _parser2.seconds,
1007
+ milliseconds = _parser2.milliseconds,
1008
+ zone = _parser2.zone;
1009
+
1010
+ var now = new Date();
1011
+ var d = day || (!year && !month ? now.getDate() : 1);
1012
+ var y = year || now.getFullYear();
1013
+ var M = 0;
1014
+
1015
+ if (!(year && !month)) {
1016
+ M = month > 0 ? month - 1 : now.getMonth();
1017
+ }
1018
+
1019
+ var h = hours || 0;
1020
+ var m = minutes || 0;
1021
+ var s = seconds || 0;
1022
+ var ms = milliseconds || 0;
1023
+
1024
+ if (zone) {
1025
+ return new Date(Date.UTC(y, M, d, h, m, s, ms + zone.offset * 60 * 1000));
1026
+ }
1027
+
1028
+ if (utc) {
1029
+ return new Date(Date.UTC(y, M, d, h, m, s, ms));
1030
+ }
1031
+
1032
+ return new Date(y, M, d, h, m, s, ms);
1033
+ } catch (e) {
1034
+ return new Date(''); // Invalid Date
1035
+ }
1036
+ };
1037
+
1038
+ const customParseFormat = (function (o, C, d) {
1039
+ d.p.customParseFormat = true;
1040
+
1041
+ if (o && o.parseTwoDigitYear) {
1042
+ parseTwoDigitYear = o.parseTwoDigitYear;
1043
+ }
1044
+
1045
+ var proto = C.prototype;
1046
+ var oldParse = proto.parse;
1047
+
1048
+ proto.parse = function (cfg) {
1049
+ var date = cfg.date,
1050
+ utc = cfg.utc,
1051
+ args = cfg.args;
1052
+ this.$u = utc;
1053
+ var format = args[1];
1054
+
1055
+ if (typeof format === 'string') {
1056
+ var isStrictWithoutLocale = args[2] === true;
1057
+ var isStrictWithLocale = args[3] === true;
1058
+ var isStrict = isStrictWithoutLocale || isStrictWithLocale;
1059
+ var pl = args[2];
1060
+
1061
+ if (isStrictWithLocale) {
1062
+ pl = args[2];
1063
+ }
1064
+
1065
+ locale = this.$locale();
1066
+
1067
+ if (!isStrictWithoutLocale && pl) {
1068
+ locale = d.Ls[pl];
1069
+ }
1070
+
1071
+ this.$d = parseFormattedInput(date, format, utc);
1072
+ this.init();
1073
+ if (pl && pl !== true) this.$L = this.locale(pl).$L; // use != to treat
1074
+ // input number 1410715640579 and format string '1410715640579' equal
1075
+ // eslint-disable-next-line eqeqeq
1076
+
1077
+ if (isStrict && date != this.format(format)) {
1078
+ this.$d = new Date('');
1079
+ } // reset global locale to make parallel unit test
1080
+
1081
+
1082
+ locale = {};
1083
+ } else if (format instanceof Array) {
1084
+ var len = format.length;
1085
+
1086
+ for (var i = 1; i <= len; i += 1) {
1087
+ args[1] = format[i - 1];
1088
+ var result = d.apply(this, args);
1089
+
1090
+ if (result.isValid()) {
1091
+ this.$d = result.$d;
1092
+ this.$L = result.$L;
1093
+ this.init();
1094
+ break;
1095
+ }
1096
+
1097
+ if (i === len) this.$d = new Date('');
1098
+ }
1099
+ } else {
1100
+ oldParse.call(this, cfg);
1101
+ }
1102
+ };
1103
+ });
1104
+
1105
+ const localeData = (function (o, c, dayjs) {
1106
+ // locale needed later
1107
+ var proto = c.prototype;
1108
+
1109
+ var getLocalePart = function getLocalePart(part) {
1110
+ return part && (part.indexOf ? part : part.s);
1111
+ };
1112
+
1113
+ var getShort = function getShort(ins, target, full, num, localeOrder) {
1114
+ var locale = ins.name ? ins : ins.$locale();
1115
+ var targetLocale = getLocalePart(locale[target]);
1116
+ var fullLocale = getLocalePart(locale[full]);
1117
+ var result = targetLocale || fullLocale.map(function (f) {
1118
+ return f.slice(0, num);
1119
+ });
1120
+ if (!localeOrder) return result;
1121
+ var weekStart = locale.weekStart;
1122
+ return result.map(function (_, index) {
1123
+ return result[(index + (weekStart || 0)) % 7];
1124
+ });
1125
+ };
1126
+
1127
+ var getDayjsLocaleObject = function getDayjsLocaleObject() {
1128
+ return dayjs.Ls[dayjs.locale()];
1129
+ };
1130
+
1131
+ var getLongDateFormat = function getLongDateFormat(l, format) {
1132
+ return l.formats[format] || t(l.formats[format.toUpperCase()]);
1133
+ };
1134
+
1135
+ var localeData = function localeData() {
1136
+ var _this = this;
1137
+
1138
+ return {
1139
+ months: function months(instance) {
1140
+ return instance ? instance.format('MMMM') : getShort(_this, 'months');
1141
+ },
1142
+ monthsShort: function monthsShort(instance) {
1143
+ return instance ? instance.format('MMM') : getShort(_this, 'monthsShort', 'months', 3);
1144
+ },
1145
+ firstDayOfWeek: function firstDayOfWeek() {
1146
+ return _this.$locale().weekStart || 0;
1147
+ },
1148
+ weekdays: function weekdays(instance) {
1149
+ return instance ? instance.format('dddd') : getShort(_this, 'weekdays');
1150
+ },
1151
+ weekdaysMin: function weekdaysMin(instance) {
1152
+ return instance ? instance.format('dd') : getShort(_this, 'weekdaysMin', 'weekdays', 2);
1153
+ },
1154
+ weekdaysShort: function weekdaysShort(instance) {
1155
+ return instance ? instance.format('ddd') : getShort(_this, 'weekdaysShort', 'weekdays', 3);
1156
+ },
1157
+ longDateFormat: function longDateFormat(format) {
1158
+ return getLongDateFormat(_this.$locale(), format);
1159
+ },
1160
+ meridiem: this.$locale().meridiem,
1161
+ ordinal: this.$locale().ordinal
1162
+ };
1163
+ };
1164
+
1165
+ proto.localeData = function () {
1166
+ return localeData.bind(this)();
1167
+ };
1168
+
1169
+ dayjs.localeData = function () {
1170
+ var localeObject = getDayjsLocaleObject();
1171
+ return {
1172
+ firstDayOfWeek: function firstDayOfWeek() {
1173
+ return localeObject.weekStart || 0;
1174
+ },
1175
+ weekdays: function weekdays() {
1176
+ return dayjs.weekdays();
1177
+ },
1178
+ weekdaysShort: function weekdaysShort() {
1179
+ return dayjs.weekdaysShort();
1180
+ },
1181
+ weekdaysMin: function weekdaysMin() {
1182
+ return dayjs.weekdaysMin();
1183
+ },
1184
+ months: function months() {
1185
+ return dayjs.months();
1186
+ },
1187
+ monthsShort: function monthsShort() {
1188
+ return dayjs.monthsShort();
1189
+ },
1190
+ longDateFormat: function longDateFormat(format) {
1191
+ return getLongDateFormat(localeObject, format);
1192
+ },
1193
+ meridiem: localeObject.meridiem,
1194
+ ordinal: localeObject.ordinal
1195
+ };
1196
+ };
1197
+
1198
+ dayjs.months = function () {
1199
+ return getShort(getDayjsLocaleObject(), 'months');
1200
+ };
1201
+
1202
+ dayjs.monthsShort = function () {
1203
+ return getShort(getDayjsLocaleObject(), 'monthsShort', 'months', 3);
1204
+ };
1205
+
1206
+ dayjs.weekdays = function (localeOrder) {
1207
+ return getShort(getDayjsLocaleObject(), 'weekdays', null, null, localeOrder);
1208
+ };
1209
+
1210
+ dayjs.weekdaysShort = function (localeOrder) {
1211
+ return getShort(getDayjsLocaleObject(), 'weekdaysShort', 'weekdays', 3, localeOrder);
1212
+ };
1213
+
1214
+ dayjs.weekdaysMin = function (localeOrder) {
1215
+ return getShort(getDayjsLocaleObject(), 'weekdaysMin', 'weekdays', 2, localeOrder);
1216
+ };
1217
+ });
1218
+
1219
+ const localizedFormat = (function (o, c, d) {
1220
+ var proto = c.prototype;
1221
+ var oldFormat = proto.format;
1222
+ d.en.formats = englishFormats;
1223
+
1224
+ proto.format = function (formatStr) {
1225
+ if (formatStr === void 0) {
1226
+ formatStr = FORMAT_DEFAULT;
1227
+ }
1228
+
1229
+ var _this$$locale = this.$locale(),
1230
+ _this$$locale$formats = _this$$locale.formats,
1231
+ formats = _this$$locale$formats === void 0 ? {} : _this$$locale$formats;
1232
+
1233
+ var result = u(formatStr, formats);
1234
+ return oldFormat.call(this, result);
1235
+ };
1236
+ });
1237
+
1238
+ // Plugin template from https://day.js.org/docs/en/plugin/plugin
1239
+ const preParsePostFormat = (function (option, dayjsClass) {
1240
+ var oldParse = dayjsClass.prototype.parse;
1241
+
1242
+ dayjsClass.prototype.parse = function (cfg) {
1243
+ if (typeof cfg.date === 'string') {
1244
+ var locale = this.$locale();
1245
+ cfg.date = locale && locale.preparse ? locale.preparse(cfg.date) : cfg.date;
1246
+ } // original parse result
1247
+
1248
+
1249
+ return oldParse.bind(this)(cfg);
1250
+ }; // // overriding existing API
1251
+ // // e.g. extend dayjs().format()
1252
+
1253
+
1254
+ var oldFormat = dayjsClass.prototype.format;
1255
+
1256
+ dayjsClass.prototype.format = function () {
1257
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1258
+ args[_key] = arguments[_key];
1259
+ }
1260
+
1261
+ // original format result
1262
+ var result = oldFormat.call.apply(oldFormat, [this].concat(args)); // return modified result
1263
+
1264
+ var locale = this.$locale();
1265
+ return locale && locale.postformat ? locale.postformat(result) : result;
1266
+ };
1267
+
1268
+ var oldFromTo = dayjsClass.prototype.fromToBase;
1269
+
1270
+ if (oldFromTo) {
1271
+ dayjsClass.prototype.fromToBase = function (input, withoutSuffix, instance, isFrom) {
1272
+ var locale = this.$locale() || instance.$locale(); // original format result
1273
+
1274
+ return oldFromTo.call(this, input, withoutSuffix, instance, isFrom, locale && locale.postformat);
1275
+ };
1276
+ }
1277
+ });
1278
+
1279
+ const updateLocale = (function (option, Dayjs, dayjs) {
1280
+ dayjs.updateLocale = function (locale, customConfig) {
1281
+ var localeList = dayjs.Ls;
1282
+ var localeConfig = localeList[locale];
1283
+ if (!localeConfig) return;
1284
+ var customConfigKeys = customConfig ? Object.keys(customConfig) : [];
1285
+ customConfigKeys.forEach(function (c) {
1286
+ localeConfig[c] = customConfig[c];
1287
+ });
1288
+ return localeConfig; // eslint-disable-line consistent-return
1289
+ };
1290
+ });
1291
+
199
1292
  const inputTimePickerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;-webkit-user-select:none;user-select:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([scale=s]){--calcite-toggle-spacing:0.5rem}:host([scale=m]){--calcite-toggle-spacing:0.75rem}:host([scale=l]){--calcite-toggle-spacing:1rem}.input-wrapper{position:relative}.toggle-icon{position:absolute;display:flex;inline-size:1rem;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}";
200
1293
 
1294
+ dayjs.extend(customParseFormat);
1295
+ dayjs.extend(localeData);
1296
+ dayjs.extend(localizedFormat);
1297
+ dayjs.extend(preParsePostFormat);
1298
+ dayjs.extend(updateLocale);
201
1299
  const InputTimePicker = class {
202
1300
  constructor(hostRef) {
203
1301
  index.registerInstance(this, hostRef);
@@ -205,66 +1303,71 @@ const InputTimePicker = class {
205
1303
  this.focusOnOpen = false;
206
1304
  this.dialogId = `time-picker-dialog--${guid.guid()}`;
207
1305
  /** whether the value of the input was changed as a result of user typing or not */
208
- this.internalValueChange = false;
209
- this.previousValidValue = null;
1306
+ this.userChangedValue = false;
210
1307
  this.referenceElementId = `input-time-picker-${guid.guid()}`;
211
1308
  //--------------------------------------------------------------------------
212
1309
  //
213
1310
  // Event Listeners
214
1311
  //
215
1312
  //--------------------------------------------------------------------------
216
- this.calciteInternalInputBlurHandler = () => {
217
- const shouldIncludeSeconds = this.shouldIncludeSeconds();
218
- const { effectiveLocale: locale$1, numberingSystem, value, calciteInputEl } = this;
219
- locale.numberStringFormatter.numberFormatOptions = {
220
- locale: locale$1,
221
- numberingSystem,
222
- useGrouping: false
223
- };
224
- const delocalizedValue = locale.numberStringFormatter.delocalize(calciteInputEl.value);
225
- const localizedInputValue = localizeTimeString({
226
- value: delocalizedValue,
227
- includeSeconds: shouldIncludeSeconds,
228
- locale: locale$1,
229
- numberingSystem
1313
+ this.hostBlurHandler = () => {
1314
+ const inputValue = this.calciteInputEl.value;
1315
+ const delocalizedInputValue = this.delocalizeTimeString(inputValue);
1316
+ if (!delocalizedInputValue) {
1317
+ this.setValue("");
1318
+ return;
1319
+ }
1320
+ if (delocalizedInputValue !== this.value) {
1321
+ this.setValue(delocalizedInputValue);
1322
+ }
1323
+ const localizedTimeString = localizeTimeString({
1324
+ value: this.value,
1325
+ locale: this.effectiveLocale,
1326
+ numberingSystem: this.numberingSystem,
1327
+ includeSeconds: this.shouldIncludeSeconds()
230
1328
  });
231
- this.setInputValue(localizedInputValue ||
232
- localizeTimeString({ value, locale: locale$1, numberingSystem, includeSeconds: shouldIncludeSeconds }));
1329
+ if (localizedTimeString !== inputValue) {
1330
+ this.setInputValue(localizedTimeString);
1331
+ }
1332
+ this.deactivate();
233
1333
  };
234
1334
  this.calciteInternalInputFocusHandler = (event) => {
235
1335
  if (!this.readOnly) {
236
1336
  event.stopPropagation();
237
1337
  }
238
1338
  };
239
- this.calciteInputInputHandler = (event) => {
240
- const target = event.target;
241
- locale.numberStringFormatter.numberFormatOptions = {
242
- locale: this.effectiveLocale,
243
- numberingSystem: this.numberingSystem,
244
- useGrouping: false
245
- };
246
- const delocalizedValue = locale.numberStringFormatter.delocalize(target.value);
247
- this.setValue({ value: delocalizedValue });
248
- // only translate the numerals until blur
249
- const localizedValue = delocalizedValue
250
- .split("")
251
- .map((char) => key.numberKeys.includes(char)
252
- ? locale.numberStringFormatter.numberFormatter.format(Number(char))
253
- : char)
254
- .join("");
255
- this.setInputValue(localizedValue);
1339
+ this.calciteInternalInputInputHandler = (event) => {
1340
+ const { effectiveLocale: locale, numberingSystem } = this;
1341
+ if (numberingSystem && numberingSystem !== "latn") {
1342
+ const target = event.target;
1343
+ locale$1.numberStringFormatter.numberFormatOptions = {
1344
+ locale,
1345
+ numberingSystem,
1346
+ useGrouping: false
1347
+ };
1348
+ const valueInNumberingSystem = locale$1.numberStringFormatter
1349
+ .delocalize(target.value)
1350
+ .split("")
1351
+ .map((char) => key.numberKeys.includes(char)
1352
+ ? locale$1.numberStringFormatter.numberFormatter.format(Number(char))
1353
+ : char)
1354
+ .join("");
1355
+ this.setInputValue(valueInNumberingSystem);
1356
+ }
256
1357
  };
257
1358
  this.timePickerChangeHandler = (event) => {
258
1359
  event.stopPropagation();
259
1360
  const target = event.target;
260
1361
  const value = target.value;
261
- this.setValue({ value, origin: "time-picker" });
1362
+ const includeSeconds = this.shouldIncludeSeconds();
1363
+ this.setValue(toISOTimeString(value, includeSeconds));
1364
+ this.setInputValue(localizeTimeString({
1365
+ value,
1366
+ locale: this.effectiveLocale,
1367
+ numberingSystem: this.numberingSystem,
1368
+ includeSeconds
1369
+ }));
262
1370
  };
263
- // --------------------------------------------------------------------------
264
- //
265
- // Private Methods
266
- //
267
- // --------------------------------------------------------------------------
268
1371
  this.popoverCloseHandler = () => {
269
1372
  focusTrapComponent.deactivateFocusTrap(this, {
270
1373
  onDeactivate: () => {
@@ -293,6 +1396,20 @@ const InputTimePicker = class {
293
1396
  event.preventDefault();
294
1397
  this.calciteInputEl.setFocus();
295
1398
  }
1399
+ if (event.composedPath().includes(this.calciteTimePickerEl)) {
1400
+ return;
1401
+ }
1402
+ const newValue = this.delocalizeTimeString(this.calciteInputEl.value);
1403
+ this.setValue(newValue);
1404
+ const localizedTimeString = localizeTimeString({
1405
+ value: this.value,
1406
+ locale: this.effectiveLocale,
1407
+ numberingSystem: this.numberingSystem,
1408
+ includeSeconds: this.shouldIncludeSeconds()
1409
+ });
1410
+ if (newValue && this.calciteInputEl.value !== localizedTimeString) {
1411
+ this.setInputValue(localizedTimeString);
1412
+ }
296
1413
  }
297
1414
  else if (key === "ArrowDown") {
298
1415
  this.open = true;
@@ -327,50 +1444,50 @@ const InputTimePicker = class {
327
1444
  }
328
1445
  this.calciteInputEl.value = newInputValue;
329
1446
  };
330
- this.setValue = ({ value, origin = "input" }) => {
331
- const previousValue = this.value;
332
- const newValue = formatTimeString(value);
333
- const newLocalizedValue = localizeTimeString({
334
- value: newValue,
335
- locale: this.effectiveLocale,
336
- numberingSystem: this.numberingSystem,
337
- includeSeconds: this.shouldIncludeSeconds()
338
- });
339
- this.internalValueChange = origin !== "external" && origin !== "loading";
340
- const shouldEmit = origin !== "loading" &&
341
- origin !== "external" &&
342
- ((value !== this.previousValidValue && !value) ||
343
- !!(!this.previousValidValue && newValue) ||
344
- (newValue !== this.previousValidValue && newValue));
345
- if (value) {
346
- if (shouldEmit) {
347
- this.previousValidValue = newValue;
348
- }
349
- if (newValue && newValue !== this.value) {
350
- this.value = newValue;
351
- }
352
- this.localizedValue = newLocalizedValue;
353
- }
354
- else {
355
- this.value = value;
356
- this.localizedValue = null;
357
- }
358
- if (origin === "time-picker" || origin === "external") {
359
- this.setInputValue(newLocalizedValue);
1447
+ /**
1448
+ * Sets the value and emits a change event.
1449
+ * This is used to update the value as a result of user interaction.
1450
+ *
1451
+ * @param value
1452
+ */
1453
+ this.setValue = (value) => {
1454
+ const oldValue = this.value;
1455
+ const newValue = formatTimeString(value) || "";
1456
+ if (newValue === oldValue) {
1457
+ return;
360
1458
  }
361
- if (shouldEmit) {
362
- const changeEvent = this.calciteInputTimePickerChange.emit();
363
- if (changeEvent.defaultPrevented) {
364
- this.internalValueChange = false;
365
- this.value = previousValue;
366
- this.setInputValue(previousValue);
367
- this.previousValidValue = previousValue;
368
- }
369
- else {
370
- this.previousValidValue = newValue;
371
- }
1459
+ this.userChangedValue = true;
1460
+ this.value = newValue || "";
1461
+ const changeEvent = this.calciteInputTimePickerChange.emit();
1462
+ if (changeEvent.defaultPrevented) {
1463
+ this.userChangedValue = false;
1464
+ this.value = oldValue;
1465
+ this.setInputValue(localizeTimeString({
1466
+ value: oldValue,
1467
+ locale: this.effectiveLocale,
1468
+ numberingSystem: this.numberingSystem,
1469
+ includeSeconds: this.shouldIncludeSeconds()
1470
+ }));
372
1471
  }
373
1472
  };
1473
+ /**
1474
+ * Sets the value directly without emitting a change event.
1475
+ * This is used to update the value on initial load and when props change that are not the result of user interaction.
1476
+ *
1477
+ * @param value
1478
+ */
1479
+ this.setValueDirectly = (value) => {
1480
+ const includeSeconds = this.shouldIncludeSeconds();
1481
+ this.value = toISOTimeString(value, includeSeconds);
1482
+ this.setInputValue(this.value
1483
+ ? localizeTimeString({
1484
+ value: this.value,
1485
+ includeSeconds,
1486
+ locale: this.effectiveLocale,
1487
+ numberingSystem: this.numberingSystem
1488
+ })
1489
+ : "");
1490
+ };
374
1491
  this.onInputWrapperClick = () => {
375
1492
  this.open = !this.open;
376
1493
  };
@@ -394,7 +1511,6 @@ const InputTimePicker = class {
394
1511
  this.value = null;
395
1512
  this.defaultMessages = undefined;
396
1513
  this.effectiveLocale = "";
397
- this.localizedValue = undefined;
398
1514
  }
399
1515
  openHandler(value) {
400
1516
  if (this.disabled || this.readOnly) {
@@ -419,16 +1535,31 @@ const InputTimePicker = class {
419
1535
  onMessagesChange() {
420
1536
  /* wired up by t9n util */
421
1537
  }
1538
+ numberingSystemWatcher(numberingSystem) {
1539
+ this.setInputValue(localizeTimeString({
1540
+ value: this.value,
1541
+ locale: this.effectiveLocale,
1542
+ numberingSystem,
1543
+ includeSeconds: this.shouldIncludeSeconds()
1544
+ }));
1545
+ }
1546
+ stepWatcher(newStep, oldStep) {
1547
+ if ((oldStep >= 60 && newStep > 0 && newStep < 60) ||
1548
+ (newStep >= 60 && oldStep > 0 && oldStep < 60)) {
1549
+ this.setValueDirectly(this.value);
1550
+ }
1551
+ }
422
1552
  valueWatcher(newValue) {
423
- if (!this.internalValueChange) {
424
- this.setValue({ value: newValue, origin: "external" });
1553
+ if (!this.userChangedValue) {
1554
+ this.setValueDirectly(newValue);
425
1555
  }
426
- this.internalValueChange = false;
1556
+ this.userChangedValue = false;
427
1557
  }
428
- valueRelatedPropChange() {
1558
+ async effectiveLocaleWatcher(locale) {
1559
+ await this.loadDateTimeLocaleData();
429
1560
  this.setInputValue(localizeTimeString({
430
1561
  value: this.value,
431
- locale: this.effectiveLocale,
1562
+ locale,
432
1563
  numberingSystem: this.numberingSystem,
433
1564
  includeSeconds: this.shouldIncludeSeconds()
434
1565
  }));
@@ -451,6 +1582,105 @@ const InputTimePicker = class {
451
1582
  async reposition(delayed = false) {
452
1583
  this.popoverEl?.reposition(delayed);
453
1584
  }
1585
+ // --------------------------------------------------------------------------
1586
+ //
1587
+ // Private Methods
1588
+ //
1589
+ // --------------------------------------------------------------------------
1590
+ delocalizeTimeString(value) {
1591
+ // we need to set the corresponding locale before parsing, otherwise it defaults to English (possible dayjs bug)
1592
+ dayjs.locale(this.effectiveLocale.toLowerCase());
1593
+ const dayjsParseResult = dayjs(value, ["LTS", "LT"]);
1594
+ if (dayjsParseResult.isValid()) {
1595
+ let unformattedTimeString = `${dayjsParseResult.get("hour")}:${dayjsParseResult.get("minute")}`;
1596
+ if (this.shouldIncludeSeconds()) {
1597
+ unformattedTimeString += `:${dayjsParseResult.get("seconds") || 0}`;
1598
+ }
1599
+ return formatTimeString(unformattedTimeString) || "";
1600
+ }
1601
+ return "";
1602
+ }
1603
+ async loadDateTimeLocaleData() {
1604
+ const { effectiveLocale } = this;
1605
+ if (effectiveLocale === "en" || effectiveLocale === "en-US") {
1606
+ return;
1607
+ }
1608
+ let dayjsLocale = effectiveLocale.toLowerCase();
1609
+ if (effectiveLocale === "pt-PT") {
1610
+ dayjsLocale = "pt";
1611
+ }
1612
+ if (effectiveLocale === "no") {
1613
+ dayjsLocale = "nb";
1614
+ }
1615
+ const { default: localeConfig } = await Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(index.getAssetPath(`./assets/input-time-picker/nls/dayjs/locale/${dayjsLocale}.js`))); });
1616
+ dayjs.locale(localeConfig, null, true);
1617
+ dayjs.updateLocale(dayjsLocale, this.getExtendedLocaleConfig(dayjsLocale));
1618
+ }
1619
+ getExtendedLocaleConfig(locale) {
1620
+ if (locale === "ar") {
1621
+ return {
1622
+ meridiem: (hour) => (hour > 12 ? "م" : "ص"),
1623
+ formats: {
1624
+ LT: "HH:mm A",
1625
+ LTS: "HH:mm:ss A",
1626
+ L: "DD/MM/YYYY",
1627
+ LL: "D MMMM YYYY",
1628
+ LLL: "D MMMM YYYY HH:mm A",
1629
+ LLLL: "dddd D MMMM YYYY HH:mm A"
1630
+ }
1631
+ };
1632
+ }
1633
+ if (locale === "en-au") {
1634
+ return {
1635
+ meridiem: (hour) => (hour > 12 ? "pm" : "am")
1636
+ };
1637
+ }
1638
+ if (locale === "en-ca") {
1639
+ return {
1640
+ meridiem: (hour) => (hour > 12 ? "p.m." : "a.m.")
1641
+ };
1642
+ }
1643
+ if (locale === "el") {
1644
+ return {
1645
+ meridiem: (hour) => (hour > 12 ? "μ.μ." : "π.μ.")
1646
+ };
1647
+ }
1648
+ if (locale === "hi") {
1649
+ return {
1650
+ formats: {
1651
+ LT: "h:mm A",
1652
+ LTS: "h:mm:ss A",
1653
+ L: "DD/MM/YYYY",
1654
+ LL: "D MMMM YYYY",
1655
+ LLL: "D MMMM YYYY, h:mm A",
1656
+ LLLL: "dddd, D MMMM YYYY, h:mm A"
1657
+ },
1658
+ meridiem: (hour) => (hour > 12 ? "pm" : "am")
1659
+ };
1660
+ }
1661
+ if (locale === "ko") {
1662
+ return {
1663
+ meridiem: (hour) => (hour > 12 ? "오후" : "오전")
1664
+ };
1665
+ }
1666
+ if (locale === "zh-tw") {
1667
+ return {
1668
+ formats: {
1669
+ LT: "AHH:mm",
1670
+ LTS: "AHH:mm:ss"
1671
+ }
1672
+ };
1673
+ }
1674
+ if (locale === "zh-hk") {
1675
+ return {
1676
+ formats: {
1677
+ LT: "AHH:mm",
1678
+ LTS: "AHH:mm:ss"
1679
+ },
1680
+ meridiem: (hour) => (hour > 12 ? "下午" : "上午")
1681
+ };
1682
+ }
1683
+ }
454
1684
  onLabelClick() {
455
1685
  this.setFocus();
456
1686
  }
@@ -463,9 +1693,23 @@ const InputTimePicker = class {
463
1693
  //
464
1694
  //--------------------------------------------------------------------------
465
1695
  connectedCallback() {
466
- locale.connectLocalized(this);
467
- if (this.value) {
468
- this.setValue({ value: isValidTime(this.value) ? this.value : undefined, origin: "loading" });
1696
+ locale$1.connectLocalized(this);
1697
+ let { effectiveLocale } = this;
1698
+ if (effectiveLocale === "en-US") {
1699
+ effectiveLocale = "en";
1700
+ }
1701
+ if (effectiveLocale === "pt-PT") {
1702
+ effectiveLocale = "pt";
1703
+ }
1704
+ if (effectiveLocale === "no") {
1705
+ effectiveLocale = "nb";
1706
+ }
1707
+ this.effectiveLocale = effectiveLocale;
1708
+ if (isValidTime(this.value)) {
1709
+ this.setValueDirectly(this.value);
1710
+ }
1711
+ else {
1712
+ this.value = undefined;
469
1713
  }
470
1714
  label.connectLabel(this);
471
1715
  form.connectForm(this);
@@ -473,16 +1717,23 @@ const InputTimePicker = class {
473
1717
  }
474
1718
  async componentWillLoad() {
475
1719
  loadable.setUpLoadableComponent(this);
476
- await t9n.setUpMessages(this);
1720
+ await Promise.all([t9n.setUpMessages(this), this.loadDateTimeLocaleData()]);
477
1721
  }
478
1722
  componentDidLoad() {
479
1723
  loadable.setComponentLoaded(this);
480
- this.setInputValue(this.localizedValue);
1724
+ if (isValidTime(this.value)) {
1725
+ this.setInputValue(localizeTimeString({
1726
+ value: this.value,
1727
+ locale: this.effectiveLocale,
1728
+ numberingSystem: this.numberingSystem,
1729
+ includeSeconds: this.shouldIncludeSeconds()
1730
+ }));
1731
+ }
481
1732
  }
482
1733
  disconnectedCallback() {
483
1734
  label.disconnectLabel(this);
484
1735
  form.disconnectForm(this);
485
- locale.disconnectLocalized(this);
1736
+ locale$1.disconnectLocalized(this);
486
1737
  focusTrapComponent.deactivateFocusTrap(this);
487
1738
  t9n.disconnectMessages(this);
488
1739
  }
@@ -496,9 +1747,9 @@ const InputTimePicker = class {
496
1747
  // --------------------------------------------------------------------------
497
1748
  render() {
498
1749
  const { disabled, messages, readOnly, dialogId } = this;
499
- return (index.h(index.Host, { onBlur: this.deactivate, 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), onCalciteInputInput: this.calciteInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: readOnly, role: "combobox", scale: this.scale, step: this.step,
1750
+ return (index.h(index.Host, { onBlur: this.hostBlurHandler, onKeyDown: this.keyDownHandler }, index.h("div", { class: "input-wrapper", onClick: this.onInputWrapperClick }, index.h("calcite-input", { "aria-autocomplete": "none", "aria-haspopup": "dialog", disabled: disabled, icon: "clock", id: this.referenceElementId, label: label.getLabelText(this), lang: this.effectiveLocale, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: readOnly, role: "combobox", scale: this.scale, step: this.step,
500
1751
  // eslint-disable-next-line react/jsx-sort-props
501
- ref: this.setCalciteInputEl }), this.renderToggleIcon(this.open)), index.h("calcite-popover", { focusTrapDisabled: true, id: dialogId, label: messages.chooseTime, onCalcitePopoverClose: this.popoverCloseHandler, onCalcitePopoverOpen: this.popoverOpenHandler, open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, referenceElement: this.referenceElementId, triggerDisabled: true,
1752
+ ref: this.setCalciteInputEl }), this.renderToggleIcon(this.open)), index.h("calcite-popover", { focusTrapDisabled: true, id: dialogId, label: messages.chooseTime, lang: this.effectiveLocale, onCalcitePopoverClose: this.popoverCloseHandler, onCalcitePopoverOpen: this.popoverOpenHandler, open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, referenceElement: this.referenceElementId, triggerDisabled: true,
502
1753
  // eslint-disable-next-line react/jsx-sort-props
503
1754
  ref: this.setCalcitePopoverEl }, index.h("calcite-time-picker", { lang: this.effectiveLocale, messageOverrides: this.messageOverrides, numberingSystem: this.numberingSystem, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, scale: this.scale, step: this.step, tabIndex: this.open ? undefined : -1, value: this.value,
504
1755
  // eslint-disable-next-line react/jsx-sort-props
@@ -516,9 +1767,10 @@ const InputTimePicker = class {
516
1767
  "disabled": ["handleDisabledAndReadOnlyChange"],
517
1768
  "readOnly": ["handleDisabledAndReadOnlyChange"],
518
1769
  "messageOverrides": ["onMessagesChange"],
1770
+ "numberingSystem": ["numberingSystemWatcher"],
1771
+ "step": ["stepWatcher"],
519
1772
  "value": ["valueWatcher"],
520
- "effectiveLocale": ["valueRelatedPropChange"],
521
- "step": ["valueRelatedPropChange"]
1773
+ "effectiveLocale": ["effectiveLocaleWatcher"]
522
1774
  }; }
523
1775
  };
524
1776
  InputTimePicker.style = inputTimePickerCss;
@@ -574,7 +1826,7 @@ const TimePicker = class {
574
1826
  };
575
1827
  this.decrementMinuteOrSecond = (key) => {
576
1828
  let newValue;
577
- if (locale.isValidNumber(this[key])) {
1829
+ if (locale$1.isValidNumber(this[key])) {
578
1830
  const valueAsNumber = parseInt(this[key]);
579
1831
  newValue = valueAsNumber === 0 ? 59 : valueAsNumber - 1;
580
1832
  }
@@ -602,7 +1854,7 @@ const TimePicker = class {
602
1854
  if (key.numberKeys.includes(key$1)) {
603
1855
  const keyAsNumber = parseInt(key$1);
604
1856
  let newHour;
605
- if (locale.isValidNumber(this.hour)) {
1857
+ if (locale$1.isValidNumber(this.hour)) {
606
1858
  switch (this.hourCycle) {
607
1859
  case "12":
608
1860
  newHour =
@@ -658,7 +1910,7 @@ const TimePicker = class {
658
1910
  this.setValuePart("meridiem", newMeridiem);
659
1911
  };
660
1912
  this.incrementHour = () => {
661
- const newHour = locale.isValidNumber(this.hour)
1913
+ const newHour = locale$1.isValidNumber(this.hour)
662
1914
  ? this.hour === "23"
663
1915
  ? 0
664
1916
  : parseInt(this.hour) + 1
@@ -666,7 +1918,7 @@ const TimePicker = class {
666
1918
  this.setValuePart("hour", newHour);
667
1919
  };
668
1920
  this.incrementMinuteOrSecond = (key) => {
669
- const newValue = locale.isValidNumber(this[key])
1921
+ const newValue = locale$1.isValidNumber(this[key])
670
1922
  ? this[key] === "59"
671
1923
  ? 0
672
1924
  : parseInt(this[key]) + 1
@@ -724,7 +1976,7 @@ const TimePicker = class {
724
1976
  if (key.numberKeys.includes(key$1)) {
725
1977
  const keyAsNumber = parseInt(key$1);
726
1978
  let newMinute;
727
- if (locale.isValidNumber(this.minute) && this.minute.startsWith("0")) {
1979
+ if (locale$1.isValidNumber(this.minute) && this.minute.startsWith("0")) {
728
1980
  const minuteAsNumber = parseInt(this.minute);
729
1981
  newMinute =
730
1982
  minuteAsNumber > maxTenthForMinuteAndSecond
@@ -771,7 +2023,7 @@ const TimePicker = class {
771
2023
  if (key.numberKeys.includes(key$1)) {
772
2024
  const keyAsNumber = parseInt(key$1);
773
2025
  let newSecond;
774
- if (locale.isValidNumber(this.second) && this.second.startsWith("0")) {
2026
+ if (locale$1.isValidNumber(this.second) && this.second.startsWith("0")) {
775
2027
  const secondAsNumber = parseInt(this.second);
776
2028
  newSecond =
777
2029
  secondAsNumber > maxTenthForMinuteAndSecond
@@ -852,10 +2104,10 @@ const TimePicker = class {
852
2104
  }
853
2105
  };
854
2106
  this.setValuePart = (key, value, emit = true) => {
855
- const { effectiveLocale: locale$1, numberingSystem } = this;
2107
+ const { effectiveLocale: locale, numberingSystem } = this;
856
2108
  if (key === "meridiem") {
857
2109
  this.meridiem = value;
858
- if (locale.isValidNumber(this.hour)) {
2110
+ if (locale$1.isValidNumber(this.hour)) {
859
2111
  const hourAsNumber = parseInt(this.hour);
860
2112
  switch (value) {
861
2113
  case "AM":
@@ -872,7 +2124,7 @@ const TimePicker = class {
872
2124
  this.localizedHour = localizeTimePart({
873
2125
  value: this.hour,
874
2126
  part: "hour",
875
- locale: locale$1,
2127
+ locale,
876
2128
  numberingSystem
877
2129
  });
878
2130
  }
@@ -882,21 +2134,24 @@ const TimePicker = class {
882
2134
  this[`localized${capitalize(key)}`] = localizeTimePart({
883
2135
  value: this[key],
884
2136
  part: key,
885
- locale: locale$1,
2137
+ locale,
886
2138
  numberingSystem
887
2139
  });
888
2140
  }
889
2141
  if (this.hour && this.minute) {
890
- const showSeconds = this.second && this.showSecond;
891
- this.value = `${this.hour}:${this.minute}:${showSeconds ? this.second : "00"}`;
2142
+ let newValue = `${this.hour}:${this.minute}`;
2143
+ if (this.showSecond) {
2144
+ newValue = `${newValue}:${this.second ?? "00"}`;
2145
+ }
2146
+ this.value = newValue;
892
2147
  }
893
2148
  else {
894
2149
  this.value = null;
895
2150
  }
896
2151
  this.localizedMeridiem = this.value
897
- ? localizeTimeStringToParts({ value: this.value, locale: locale$1, numberingSystem })
2152
+ ? localizeTimeStringToParts({ value: this.value, locale, numberingSystem })
898
2153
  ?.localizedMeridiem || null
899
- : localizeTimePart({ value: this.meridiem, part: "meridiem", locale: locale$1, numberingSystem });
2154
+ : localizeTimePart({ value: this.meridiem, part: "meridiem", locale, numberingSystem });
900
2155
  if (emit) {
901
2156
  this.calciteInternalTimePickerChange.emit();
902
2157
  }
@@ -1059,7 +2314,7 @@ const TimePicker = class {
1059
2314
  //
1060
2315
  // --------------------------------------------------------------------------
1061
2316
  connectedCallback() {
1062
- locale.connectLocalized(this);
2317
+ locale$1.connectLocalized(this);
1063
2318
  this.updateLocale();
1064
2319
  t9n.connectMessages(this);
1065
2320
  this.updateShowSecond();
@@ -1077,7 +2332,7 @@ const TimePicker = class {
1077
2332
  loadable.setComponentLoaded(this);
1078
2333
  }
1079
2334
  disconnectedCallback() {
1080
- locale.disconnectLocalized(this);
2335
+ locale$1.disconnectLocalized(this);
1081
2336
  t9n.disconnectMessages(this);
1082
2337
  }
1083
2338
  // --------------------------------------------------------------------------
@@ -1086,10 +2341,10 @@ const TimePicker = class {
1086
2341
  //
1087
2342
  // --------------------------------------------------------------------------
1088
2343
  render() {
1089
- const hourIsNumber = locale.isValidNumber(this.hour);
2344
+ const hourIsNumber = locale$1.isValidNumber(this.hour);
1090
2345
  const iconScale = this.scale === "s" || this.scale === "m" ? "s" : "m";
1091
- const minuteIsNumber = locale.isValidNumber(this.minute);
1092
- const secondIsNumber = locale.isValidNumber(this.second);
2346
+ const minuteIsNumber = locale$1.isValidNumber(this.minute);
2347
+ const secondIsNumber = locale$1.isValidNumber(this.second);
1093
2348
  const showMeridiem = this.hourCycle === "12";
1094
2349
  return (index.h("div", { class: {
1095
2350
  [CSS.timePicker]: true,