@nasa-terra/components 0.0.189 → 0.0.192

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 (1629) hide show
  1. package/cdn/apis/harmony.api.d.ts +10 -1
  2. package/cdn/chunks/chunk.23F22BJH.js +303 -0
  3. package/cdn/chunks/chunk.245STXLU.js +266 -0
  4. package/cdn/chunks/chunk.24INYUDF.js +538 -0
  5. package/cdn/chunks/chunk.26GHOZ7N.js +32 -0
  6. package/cdn/chunks/chunk.27WWEW6V.js +104 -0
  7. package/cdn/chunks/chunk.2ANSTQHT.js +36 -0
  8. package/cdn/chunks/chunk.2C4BQS2H.js +186 -0
  9. package/cdn/chunks/chunk.2FWCEY7A.js +144 -0
  10. package/cdn/chunks/chunk.2GKHFPDG.js +599 -0
  11. package/cdn/chunks/chunk.2KXNVEBU.js +32 -0
  12. package/cdn/chunks/chunk.2NRXB43M.js +19 -0
  13. package/cdn/chunks/chunk.2YVP3FRZ.js +231 -0
  14. package/cdn/chunks/chunk.3HMD5G6A.js +443 -0
  15. package/cdn/chunks/chunk.3JLTI64D.js +19 -0
  16. package/cdn/chunks/chunk.3OZIDRVV.js +29 -0
  17. package/cdn/chunks/chunk.3REYIBPS.js +34 -0
  18. package/cdn/chunks/chunk.3W7NW4IP.js +29 -0
  19. package/cdn/chunks/chunk.44A2OFJE.js +32 -0
  20. package/cdn/chunks/chunk.45RJD3VV.js +151 -0
  21. package/cdn/chunks/chunk.4E6YUD2P.js +294 -0
  22. package/cdn/chunks/chunk.4LC3HXTW.js +216 -0
  23. package/cdn/chunks/chunk.4M4SA4VL.js +155 -0
  24. package/cdn/chunks/chunk.4MXAJRHY.js +663 -0
  25. package/cdn/chunks/chunk.4OEMN3MA.js +190 -0
  26. package/cdn/chunks/chunk.4V3MHTHA.js +19 -0
  27. package/cdn/chunks/chunk.4WNBCYY4.js +134 -0
  28. package/cdn/chunks/chunk.4WWMT7S5.js +746 -0
  29. package/cdn/chunks/chunk.4X6WWIPJ.js +237 -0
  30. package/cdn/chunks/chunk.4Y35UDBM.js +35 -0
  31. package/cdn/chunks/chunk.53PUY3ZS.js +110 -0
  32. package/cdn/chunks/chunk.543QFGYT.js +283 -0
  33. package/cdn/chunks/chunk.56S57ULO.js +158 -0
  34. package/cdn/chunks/chunk.5MJBTEGL.js +49 -0
  35. package/cdn/chunks/chunk.5QSRCR4F.js +19 -0
  36. package/cdn/chunks/chunk.5ZXZFXF3.js +19 -0
  37. package/cdn/chunks/chunk.64L3DD6Q.js +19 -0
  38. package/cdn/chunks/chunk.65Q2U4TR.js +69 -0
  39. package/cdn/chunks/chunk.6A2ZNIEO.js +19 -0
  40. package/cdn/chunks/chunk.6GG7OO3R.js +19 -0
  41. package/cdn/chunks/chunk.6RVIWT4A.js +188 -0
  42. package/cdn/chunks/chunk.75ZN7ZHF.js +97 -0
  43. package/cdn/chunks/chunk.7IQDUVYV.js +33 -0
  44. package/cdn/chunks/chunk.7M4SKAG4.js +19 -0
  45. package/cdn/chunks/chunk.7UCY22RR.js +82 -0
  46. package/cdn/chunks/chunk.7WSYDEHF.js +19 -0
  47. package/cdn/chunks/chunk.7XJKHZU3.js +39 -0
  48. package/cdn/chunks/chunk.A5N5AY4C.js +29 -0
  49. package/cdn/chunks/chunk.AKEAFDB3.js +128 -0
  50. package/cdn/chunks/chunk.AOCK57QX.js +32 -0
  51. package/cdn/chunks/chunk.AUTKKBC5.js +241 -0
  52. package/cdn/chunks/chunk.AZ6WPUFH.js +19 -0
  53. package/cdn/chunks/chunk.B3SDJXLA.js +161 -0
  54. package/cdn/chunks/chunk.B5S3NM7F.js +19 -0
  55. package/cdn/chunks/chunk.B7WNQ5PO.js +29 -0
  56. package/cdn/chunks/chunk.BAQHLVAK.js +19 -0
  57. package/cdn/chunks/chunk.BD3FY2DX.js +945 -0
  58. package/cdn/chunks/chunk.BDLK2MCA.js +151 -0
  59. package/cdn/chunks/chunk.BH4BHYZF.js +19 -0
  60. package/cdn/chunks/chunk.BJ5T462Y.js +123 -0
  61. package/cdn/chunks/chunk.BPVSVPVN.js +19 -0
  62. package/cdn/chunks/chunk.BPYNWIMH.js +453 -0
  63. package/cdn/chunks/chunk.BTKS3XOS.js +19 -0
  64. package/cdn/chunks/chunk.BUNK6WCA.js +19 -0
  65. package/cdn/chunks/chunk.BX4SOFZN.js +29 -0
  66. package/cdn/chunks/chunk.BXX2TOJD.js +377 -0
  67. package/cdn/chunks/chunk.C5SUSFPR.js +19 -0
  68. package/cdn/chunks/chunk.C6YX7LF2.js +19 -0
  69. package/cdn/chunks/chunk.CFL5446I.js +314 -0
  70. package/cdn/chunks/chunk.CFW3RCL2.js +32 -0
  71. package/cdn/chunks/chunk.CGFHAHHH.js +34 -0
  72. package/cdn/chunks/chunk.CQER7LGP.js +135 -0
  73. package/cdn/chunks/chunk.CQNIDQAS.js +29 -0
  74. package/cdn/chunks/chunk.CSUI7ZCT.js +658 -0
  75. package/cdn/chunks/chunk.CSVBPSJG.js +893 -0
  76. package/cdn/chunks/chunk.CWCAKMDC.js +29 -0
  77. package/cdn/chunks/chunk.CYUIF2ZE.js +220 -0
  78. package/cdn/chunks/chunk.D5XPPO66.js +83 -0
  79. package/cdn/chunks/chunk.DPSHTZ6P.js +392 -0
  80. package/cdn/chunks/chunk.DPW4KE3J.js +35 -0
  81. package/cdn/chunks/chunk.DTOJJOLD.js +19 -0
  82. package/cdn/chunks/chunk.DVTAL6AU.js +539 -0
  83. package/cdn/chunks/chunk.E2WN7IE3.js +29 -0
  84. package/cdn/chunks/chunk.EAQXXCFO.js +19 -0
  85. package/cdn/chunks/chunk.EO4TUJGN.js +220 -0
  86. package/cdn/chunks/chunk.ET5DXSTJ.js +230 -0
  87. package/cdn/chunks/chunk.EYJ7P7C5.js +19 -0
  88. package/cdn/chunks/chunk.FIEZKD4M.js +170 -0
  89. package/cdn/chunks/chunk.FLXIUURB.js +330 -0
  90. package/cdn/chunks/chunk.FRBFCI3M.js +52 -0
  91. package/cdn/chunks/chunk.FRXDO4TZ.js +29 -0
  92. package/cdn/chunks/chunk.FSSESF75.js +19 -0
  93. package/cdn/chunks/chunk.FST3PZ4D.js +2546 -0
  94. package/cdn/chunks/chunk.FT3IPXUI.js +32 -0
  95. package/cdn/chunks/chunk.G3CPLL72.js +19 -0
  96. package/cdn/chunks/chunk.G6PX4ZZR.js +78 -0
  97. package/cdn/chunks/chunk.GFZIFOBJ.js +119 -0
  98. package/cdn/chunks/chunk.GGTQYGC5.js +458 -0
  99. package/cdn/chunks/chunk.GLC3GLWY.js +359 -0
  100. package/cdn/chunks/chunk.GMQKNYVV.js +100 -0
  101. package/cdn/chunks/chunk.GQYYZEYB.js +29 -0
  102. package/cdn/chunks/chunk.GTDPC327.js +108 -0
  103. package/cdn/chunks/chunk.H5WQMCJJ.js +234 -0
  104. package/cdn/chunks/chunk.H6IRY4OL.js +1197 -0
  105. package/cdn/chunks/chunk.HJMZJ4N5.js +32 -0
  106. package/cdn/chunks/chunk.HLQ3QMJC.js +19 -0
  107. package/cdn/chunks/chunk.HMPCGKTE.js +224 -0
  108. package/cdn/chunks/chunk.HTXCIC4D.js +19 -0
  109. package/cdn/chunks/chunk.HWGUV5FW.js +41 -0
  110. package/cdn/chunks/chunk.I2DUTZ2T.js +33 -0
  111. package/cdn/chunks/chunk.IAH6PEFE.js +124 -0
  112. package/cdn/chunks/chunk.IAHPADIP.js +81 -0
  113. package/cdn/chunks/chunk.IG3H5AIK.js +60 -0
  114. package/cdn/chunks/chunk.IJM6CDFW.js +19 -0
  115. package/cdn/chunks/chunk.IQGDMNPQ.js +341 -0
  116. package/cdn/chunks/chunk.IQKJGOOA.js +363 -0
  117. package/cdn/chunks/chunk.IQYQG42U.js +19 -0
  118. package/cdn/chunks/chunk.ITK2GQEZ.js +1002 -0
  119. package/cdn/chunks/chunk.IUXV7RBL.js +29 -0
  120. package/cdn/chunks/chunk.IXHOSB76.js +19 -0
  121. package/cdn/chunks/chunk.IYDWKATS.js +904 -0
  122. package/cdn/chunks/chunk.JCC5JYVG.js +196 -0
  123. package/cdn/chunks/chunk.JFLGXCKZ.js +19 -0
  124. package/cdn/chunks/chunk.JGY4EGZC.js +60 -0
  125. package/cdn/chunks/chunk.JJRA6RDC.js +235 -0
  126. package/cdn/chunks/chunk.JLQCZDIY.js +29 -0
  127. package/cdn/chunks/chunk.K3RQ7AFD.js +19 -0
  128. package/cdn/chunks/chunk.K4PU2JQ6.js +138 -0
  129. package/cdn/chunks/chunk.K4ZAN4CN.js +35 -0
  130. package/cdn/chunks/chunk.K7U7MVEQ.js +56075 -0
  131. package/cdn/chunks/chunk.KF5FM4UM.js +94 -0
  132. package/cdn/chunks/chunk.KKNKCTHS.js +346 -0
  133. package/cdn/chunks/chunk.KRUULCP6.js +35 -0
  134. package/cdn/chunks/chunk.KTQLYAOB.js +2615 -0
  135. package/cdn/chunks/chunk.L2R7AMTX.js +19 -0
  136. package/cdn/chunks/chunk.L3N5U2RI.js +41 -0
  137. package/cdn/chunks/chunk.L7FYC6LU.js +32 -0
  138. package/cdn/chunks/chunk.LCZ7CTUM.js +19 -0
  139. package/cdn/chunks/chunk.LDXOXMSA.js +19 -0
  140. package/cdn/chunks/chunk.LG32OSKX.js +68 -0
  141. package/cdn/chunks/chunk.LJIY5NZ2.js +30 -0
  142. package/cdn/chunks/chunk.LWNGQ3V4.js +29 -0
  143. package/cdn/chunks/chunk.LYQ6YFGG.js +99 -0
  144. package/cdn/chunks/chunk.MA5VVFFT.js +29 -0
  145. package/cdn/chunks/chunk.MEJP55EF.js +109 -0
  146. package/cdn/chunks/chunk.MHATFZ67.js +19 -0
  147. package/cdn/chunks/chunk.MQZHN2NY.js +682 -0
  148. package/cdn/chunks/chunk.MRFDIT24.js +29 -0
  149. package/cdn/chunks/chunk.MRRU67I2.js +29 -0
  150. package/cdn/chunks/chunk.MUW5GI3P.js +165 -0
  151. package/cdn/chunks/chunk.MWU5BT2I.js +128 -0
  152. package/cdn/chunks/chunk.N6YE5MVP.js +29 -0
  153. package/cdn/chunks/chunk.N73S5M22.js +32 -0
  154. package/cdn/chunks/chunk.N74CAU67.js +32 -0
  155. package/cdn/chunks/chunk.NBVZOPJI.js +616 -0
  156. package/cdn/chunks/chunk.NDSC57Q5.js +19 -0
  157. package/cdn/chunks/chunk.NQHSSDFG.js +19 -0
  158. package/cdn/chunks/chunk.NUWLRNQB.js +161 -0
  159. package/cdn/chunks/chunk.NYJPXEUG.js +277 -0
  160. package/cdn/chunks/chunk.O5JW24LZ.js +36 -0
  161. package/cdn/chunks/chunk.OG47UMA5.js +1259 -0
  162. package/cdn/chunks/chunk.OK2FJZAC.js +29 -0
  163. package/cdn/chunks/chunk.OQOUFXO5.js +19 -0
  164. package/cdn/chunks/chunk.OQXKI5GJ.js +86 -0
  165. package/cdn/chunks/chunk.P2M4CQ5P.js +33 -0
  166. package/cdn/chunks/chunk.P5TSNROJ.js +537 -0
  167. package/cdn/chunks/chunk.P7CV4I3K.js +74 -0
  168. package/cdn/chunks/chunk.PHUBZRQC.js +83 -0
  169. package/cdn/chunks/chunk.PILWENSQ.js +92 -0
  170. package/cdn/chunks/chunk.PJ3IJJYS.js +19 -0
  171. package/cdn/chunks/chunk.PJRU5CGM.js +149 -0
  172. package/cdn/chunks/chunk.PP3XLO5P.js +34 -0
  173. package/cdn/chunks/chunk.PPYU4SFW.js +103 -0
  174. package/cdn/chunks/chunk.PRQLTMQC.js +136 -0
  175. package/cdn/chunks/chunk.PTCT3TYT.js +357 -0
  176. package/cdn/chunks/chunk.PTK3X5ML.js +9743 -0
  177. package/cdn/chunks/chunk.PU7SZLSG.js +370 -0
  178. package/cdn/chunks/chunk.PUQV3TET.js +99 -0
  179. package/cdn/chunks/chunk.PUS7Y5TV.js +1975 -0
  180. package/cdn/chunks/chunk.PYFO4TDY.js +71 -0
  181. package/cdn/chunks/chunk.PYRLBGCN.js +474 -0
  182. package/cdn/chunks/chunk.Q4J6KRAB.js +310 -0
  183. package/cdn/chunks/chunk.Q6EGX4BU.js +19 -0
  184. package/cdn/chunks/chunk.QAIQVZZJ.js +121 -0
  185. package/cdn/chunks/chunk.QB6OILCE.js +19 -0
  186. package/cdn/chunks/chunk.QL6AJSHA.js +19 -0
  187. package/cdn/chunks/chunk.QLVPPBKP.js +19 -0
  188. package/cdn/chunks/chunk.QS2PWRLO.js +293 -0
  189. package/cdn/chunks/chunk.QZTA6VVX.js +32 -0
  190. package/cdn/chunks/chunk.R2AKYP36.js +19 -0
  191. package/cdn/chunks/chunk.R2LD2BG6.js +366 -0
  192. package/cdn/chunks/chunk.RBZCWRRQ.js +29 -0
  193. package/cdn/chunks/chunk.RD6K7VHR.js +19 -0
  194. package/cdn/chunks/chunk.REPAPQYQ.js +19 -0
  195. package/cdn/chunks/chunk.RERDMEOR.js +195 -0
  196. package/cdn/chunks/chunk.RII5KPMA.js +19 -0
  197. package/cdn/chunks/chunk.RLWFZOAQ.js +32 -0
  198. package/cdn/chunks/chunk.RR7Z7BPS.js +19 -0
  199. package/cdn/chunks/chunk.RRZ6U2ME.js +19 -0
  200. package/cdn/chunks/chunk.RXWLUABB.js +47 -0
  201. package/cdn/chunks/chunk.S62TAS73.js +276 -0
  202. package/cdn/chunks/chunk.SPZEQOKO.js +93 -0
  203. package/cdn/chunks/chunk.SQIH7CTF.js +19 -0
  204. package/cdn/chunks/chunk.SSV6F5FN.js +259 -0
  205. package/cdn/chunks/chunk.STFEACGD.js +19 -0
  206. package/cdn/chunks/chunk.SZE3XMGB.js +29 -0
  207. package/cdn/chunks/chunk.T4HBNQKM.js +29 -0
  208. package/cdn/chunks/chunk.TE3JDUXK.js +36 -0
  209. package/cdn/chunks/chunk.TGHIEUXU.js +32 -0
  210. package/cdn/chunks/chunk.TNMUVPYV.js +29 -0
  211. package/cdn/chunks/chunk.TQQ2KJQP.js +493 -0
  212. package/cdn/chunks/chunk.TRSIGSX4.js +40 -0
  213. package/cdn/chunks/chunk.TV5IMGDS.js +82 -0
  214. package/cdn/chunks/chunk.U3IBIDXE.js +19 -0
  215. package/cdn/chunks/chunk.U7Y67S2C.js +19 -0
  216. package/cdn/chunks/chunk.UCCUOTF6.js +19 -0
  217. package/cdn/chunks/chunk.UDACLO72.js +33 -0
  218. package/cdn/chunks/chunk.UKAWFAYP.js +524 -0
  219. package/cdn/chunks/chunk.UPA5655B.js +160 -0
  220. package/cdn/chunks/chunk.UTYHZRYG.js +113 -0
  221. package/cdn/chunks/chunk.UWCPGTVV.js +32 -0
  222. package/cdn/chunks/chunk.UWRZGIR3.js +551 -0
  223. package/cdn/chunks/chunk.UZPINX4J.js +610 -0
  224. package/cdn/chunks/chunk.V3MUNLZP.js +29 -0
  225. package/cdn/chunks/chunk.V6KFRX6Q.js +19 -0
  226. package/cdn/chunks/chunk.V6YORIDQ.js +132 -0
  227. package/cdn/chunks/chunk.VB3KDLU6.js +29 -0
  228. package/cdn/chunks/chunk.VCCQIMC6.js +305 -0
  229. package/cdn/chunks/chunk.VDXXAQWU.js +29 -0
  230. package/cdn/chunks/chunk.VGKRX5H5.js +278 -0
  231. package/cdn/chunks/chunk.VHAOR4DO.js +151 -0
  232. package/cdn/chunks/chunk.VHVI2N6K.js +34 -0
  233. package/cdn/chunks/chunk.VPEEKXD6.js +63 -0
  234. package/cdn/chunks/chunk.VWXS72MS.js +19 -0
  235. package/cdn/chunks/chunk.VY4A7VXP.js +19 -0
  236. package/cdn/chunks/chunk.VZZ5VWGT.js +515 -0
  237. package/cdn/chunks/chunk.W5OQMP5C.js +29 -0
  238. package/cdn/chunks/chunk.W7YINCCY.js +29 -0
  239. package/cdn/chunks/chunk.WTF7NFZZ.js +36 -0
  240. package/cdn/chunks/chunk.X27AII7Z.js +19 -0
  241. package/cdn/chunks/chunk.X6F5AXSA.js +62 -0
  242. package/cdn/chunks/chunk.XB4O6ZSP.js +139 -0
  243. package/cdn/chunks/chunk.XBQ73UMK.js +37 -0
  244. package/cdn/chunks/chunk.XE4NOQA4.js +19 -0
  245. package/cdn/chunks/chunk.XH7YZVNI.js +313 -0
  246. package/cdn/chunks/chunk.XHVFPYZC.js +19 -0
  247. package/cdn/chunks/chunk.XLP5YNJK.js +19 -0
  248. package/cdn/chunks/chunk.XOOKGSCN.js +35 -0
  249. package/cdn/chunks/chunk.XRKVQYVI.js +294 -0
  250. package/cdn/chunks/chunk.XSL6GUNV.js +45 -0
  251. package/cdn/chunks/chunk.XTQYMH4X.js +915 -0
  252. package/cdn/chunks/chunk.XVNO5RTC.js +478 -0
  253. package/cdn/chunks/chunk.XWUX5XJQ.js +19 -0
  254. package/cdn/chunks/chunk.XZFUPKPW.js +29 -0
  255. package/cdn/chunks/chunk.Y4MUXZI3.js +33 -0
  256. package/cdn/chunks/chunk.YKZEKGNB.js +126 -0
  257. package/cdn/chunks/chunk.YYVKZLP3.js +172 -0
  258. package/cdn/chunks/chunk.Z5JWSUN3.js +19 -0
  259. package/cdn/chunks/chunk.ZJZ2OUC4.js +37 -0
  260. package/cdn/chunks/chunk.ZMYIQBKE.js +76 -0
  261. package/cdn/chunks/chunk.ZSNXJ3BL.js +29 -0
  262. package/cdn/chunks/chunk.ZWCA3BKW.js +68 -0
  263. package/cdn/chunks/chunk.ZZATCATC.js +29 -0
  264. package/cdn/components/accordion/accordion.component.js +4 -4
  265. package/cdn/components/accordion/accordion.js +5 -5
  266. package/cdn/components/accordion/accordion.styles.js +1 -1
  267. package/cdn/components/alert/alert.component.d.ts +5 -4
  268. package/cdn/components/alert/alert.component.js +3 -3
  269. package/cdn/components/alert/alert.js +4 -4
  270. package/cdn/components/alert/alert.styles.js +1 -1
  271. package/cdn/components/avatar/avatar.component.js +3 -3
  272. package/cdn/components/avatar/avatar.js +4 -4
  273. package/cdn/components/badge/badge.component.d.ts +1 -1
  274. package/cdn/components/badge/badge.component.js +3 -3
  275. package/cdn/components/badge/badge.js +4 -4
  276. package/cdn/components/badge/badge.styles.js +1 -1
  277. package/cdn/components/banner/banner.component.js +2 -2
  278. package/cdn/components/banner/banner.js +3 -3
  279. package/cdn/components/breadcrumb/breadcrumb.component.d.ts +3 -3
  280. package/cdn/components/breadcrumb/breadcrumb.component.js +3 -3
  281. package/cdn/components/breadcrumb/breadcrumb.js +4 -4
  282. package/cdn/components/breadcrumb/breadcrumb.styles.js +1 -1
  283. package/cdn/components/breadcrumbs/breadcrumbs.component.js +3 -3
  284. package/cdn/components/breadcrumbs/breadcrumbs.js +4 -4
  285. package/cdn/components/breadcrumbs/breadcrumbs.styles.js +1 -1
  286. package/cdn/components/browse-variables/browse-variables.component.js +19 -19
  287. package/cdn/components/browse-variables/browse-variables.controller.js +4 -4
  288. package/cdn/components/browse-variables/browse-variables.js +20 -20
  289. package/cdn/components/browse-variables/browse-variables.styles.js +1 -1
  290. package/cdn/components/button/button.component.d.ts +1 -1
  291. package/cdn/components/button/button.component.js +4 -4
  292. package/cdn/components/button/button.js +5 -5
  293. package/cdn/components/button/button.styles.js +1 -1
  294. package/cdn/components/button-group/button-group.component.js +2 -2
  295. package/cdn/components/button-group/button-group.js +3 -3
  296. package/cdn/components/caption/caption.component.js +2 -2
  297. package/cdn/components/caption/caption.js +3 -3
  298. package/cdn/components/card/card.component.js +3 -3
  299. package/cdn/components/card/card.js +4 -4
  300. package/cdn/components/card/card.styles.js +1 -1
  301. package/cdn/components/checkbox/checkbox.component.js +4 -4
  302. package/cdn/components/checkbox/checkbox.js +5 -5
  303. package/cdn/components/checkbox/checkbox.styles.js +1 -1
  304. package/cdn/components/chip/chip.component.js +2 -2
  305. package/cdn/components/chip/chip.js +3 -3
  306. package/cdn/components/combobox/combobox.component.js +3 -3
  307. package/cdn/components/combobox/combobox.js +4 -4
  308. package/cdn/components/combobox/combobox.styles.js +1 -1
  309. package/cdn/components/data-access/data-access.component.js +35 -35
  310. package/cdn/components/data-access/data-access.js +36 -36
  311. package/cdn/components/data-access/data-access.styles.js +1 -1
  312. package/cdn/components/data-grid/data-grid.component.js +3 -3
  313. package/cdn/components/data-grid/data-grid.js +4 -4
  314. package/cdn/components/data-rods/data-rods.component.js +45 -45
  315. package/cdn/components/data-rods/data-rods.js +46 -46
  316. package/cdn/components/data-subsetter/data-subsetter.component.d.ts +2 -0
  317. package/cdn/components/data-subsetter/data-subsetter.component.js +50 -49
  318. package/cdn/components/data-subsetter/data-subsetter.js +51 -50
  319. package/cdn/components/data-subsetter/data-subsetter.styles.js +1 -1
  320. package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  321. package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +52 -51
  322. package/cdn/components/data-subsetter-history/data-subsetter-history.js +53 -52
  323. package/cdn/components/data-subsetter-history/data-subsetter-history.styles.js +1 -1
  324. package/cdn/components/date-picker/date-picker.component.d.ts +27 -0
  325. package/cdn/components/date-picker/date-picker.component.js +12 -12
  326. package/cdn/components/date-picker/date-picker.js +13 -13
  327. package/cdn/components/date-picker/date-picker.styles.js +1 -1
  328. package/cdn/components/date-range-slider/date-range-slider.component.js +3 -3
  329. package/cdn/components/date-range-slider/date-range-slider.js +4 -4
  330. package/cdn/components/date-range-slider/date-range-slider.styles.js +1 -1
  331. package/cdn/components/dialog/dialog.component.js +6 -6
  332. package/cdn/components/dialog/dialog.js +7 -7
  333. package/cdn/components/dialog/dialog.styles.js +1 -1
  334. package/cdn/components/divider/divider.component.js +3 -3
  335. package/cdn/components/divider/divider.js +4 -4
  336. package/cdn/components/divider/divider.styles.js +1 -1
  337. package/cdn/components/dropdown/dropdown.component.js +5 -5
  338. package/cdn/components/dropdown/dropdown.js +6 -6
  339. package/cdn/components/dropdown/dropdown.styles.js +1 -1
  340. package/cdn/components/earthdata-login/earthdata-login.component.js +12 -12
  341. package/cdn/components/earthdata-login/earthdata-login.js +13 -13
  342. package/cdn/components/file-upload/file-upload.component.js +3 -3
  343. package/cdn/components/file-upload/file-upload.js +4 -4
  344. package/cdn/components/file-upload/file-upload.styles.js +1 -1
  345. package/cdn/components/harmony-history/harmony-history.component.js +12 -11
  346. package/cdn/components/harmony-history/harmony-history.js +13 -12
  347. package/cdn/components/icon/icon.component.js +2 -2
  348. package/cdn/components/icon/icon.js +3 -3
  349. package/cdn/components/input/input.component.js +4 -4
  350. package/cdn/components/input/input.js +5 -5
  351. package/cdn/components/input/input.styles.js +1 -1
  352. package/cdn/components/loader/loader.component.js +2 -2
  353. package/cdn/components/loader/loader.js +3 -3
  354. package/cdn/components/login/login.component.js +10 -10
  355. package/cdn/components/login/login.js +11 -11
  356. package/cdn/components/login/login.styles.js +1 -1
  357. package/cdn/components/map/map.component.js +7 -7
  358. package/cdn/components/map/map.js +8 -8
  359. package/cdn/components/map/map.service.js +1 -1
  360. package/cdn/components/map/map.styles.js +1 -1
  361. package/cdn/components/map/type.d.ts +2 -0
  362. package/cdn/components/menu/menu.component.js +3 -3
  363. package/cdn/components/menu/menu.js +4 -4
  364. package/cdn/components/menu/menu.styles.js +1 -1
  365. package/cdn/components/menu-item/menu-item.component.js +7 -7
  366. package/cdn/components/menu-item/menu-item.js +8 -8
  367. package/cdn/components/menu-item/menu-item.styles.js +1 -1
  368. package/cdn/components/option/option.component.d.ts +5 -0
  369. package/cdn/components/option/option.component.js +4 -4
  370. package/cdn/components/option/option.js +5 -5
  371. package/cdn/components/option/option.styles.js +1 -1
  372. package/cdn/components/pagination/pagination.component.js +4 -4
  373. package/cdn/components/pagination/pagination.js +5 -5
  374. package/cdn/components/pagination/pagination.styles.js +1 -1
  375. package/cdn/components/plot/plot.component.js +2 -2
  376. package/cdn/components/plot/plot.js +3 -3
  377. package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  378. package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  379. package/cdn/components/plot-toolbar/plot-toolbar.component.js +20 -20
  380. package/cdn/components/plot-toolbar/plot-toolbar.controller.js +3 -3
  381. package/cdn/components/plot-toolbar/plot-toolbar.js +21 -21
  382. package/cdn/components/plot-toolbar/plot-toolbar.styles.js +1 -1
  383. package/cdn/components/popup/popup.component.js +3 -3
  384. package/cdn/components/popup/popup.js +4 -4
  385. package/cdn/components/popup/popup.styles.js +1 -1
  386. package/cdn/components/progress-bar/progress-bar.component.js +3 -3
  387. package/cdn/components/progress-bar/progress-bar.js +4 -4
  388. package/cdn/components/progress-bar/progress-bar.styles.js +1 -1
  389. package/cdn/components/radio/radio.component.js +3 -3
  390. package/cdn/components/radio/radio.js +4 -4
  391. package/cdn/components/radio/radio.styles.js +1 -1
  392. package/cdn/components/radio-group/radio-group.component.js +2 -2
  393. package/cdn/components/radio-group/radio-group.js +3 -3
  394. package/cdn/components/scroll-hint/scroll-hint.component.d.ts +5 -2
  395. package/cdn/components/scroll-hint/scroll-hint.component.js +6 -4
  396. package/cdn/components/scroll-hint/scroll-hint.js +7 -5
  397. package/cdn/components/scroll-hint/scroll-hint.styles.js +1 -1
  398. package/cdn/components/select/select.component.js +8 -8
  399. package/cdn/components/select/select.js +9 -9
  400. package/cdn/components/select/select.styles.js +1 -1
  401. package/cdn/components/site-header/site-header.component.js +4 -4
  402. package/cdn/components/site-header/site-header.js +4 -4
  403. package/cdn/components/site-header/site-header.styles.js +1 -1
  404. package/cdn/components/site-navigation/site-navigation.component.js +3 -3
  405. package/cdn/components/site-navigation/site-navigation.js +3 -3
  406. package/cdn/components/site-navigation/site-navigation.styles.js +1 -1
  407. package/cdn/components/skeleton/skeleton.component.js +2 -2
  408. package/cdn/components/skeleton/skeleton.js +3 -3
  409. package/cdn/components/slider/slider.component.d.ts +3 -3
  410. package/cdn/components/slider/slider.component.js +3 -3
  411. package/cdn/components/slider/slider.js +4 -4
  412. package/cdn/components/slider/slider.styles.js +1 -1
  413. package/cdn/components/spatial-picker/spatial-picker.component.d.ts +5 -0
  414. package/cdn/components/spatial-picker/spatial-picker.component.js +16 -16
  415. package/cdn/components/spatial-picker/spatial-picker.js +17 -17
  416. package/cdn/components/spatial-picker/spatial-picker.styles.js +1 -1
  417. package/cdn/components/status-indicator/status-indicator.component.js +3 -3
  418. package/cdn/components/status-indicator/status-indicator.js +4 -4
  419. package/cdn/components/status-indicator/status-indicator.styles.js +1 -1
  420. package/cdn/components/stepper/stepper.component.js +2 -2
  421. package/cdn/components/stepper/stepper.js +3 -3
  422. package/cdn/components/stepper-step/stepper-step.component.js +4 -4
  423. package/cdn/components/stepper-step/stepper-step.js +5 -5
  424. package/cdn/components/stepper-step/stepper-step.styles.js +1 -1
  425. package/cdn/components/tab/tab.component.js +4 -4
  426. package/cdn/components/tab/tab.js +5 -5
  427. package/cdn/components/tab/tab.styles.js +1 -1
  428. package/cdn/components/tab-panel/tab-panel.component.js +2 -2
  429. package/cdn/components/tab-panel/tab-panel.js +3 -3
  430. package/cdn/components/tabs/tabs.component.d.ts +2 -2
  431. package/cdn/components/tabs/tabs.component.js +4 -4
  432. package/cdn/components/tabs/tabs.js +5 -5
  433. package/cdn/components/tabs/tabs.styles.js +1 -1
  434. package/cdn/components/tag/tag.component.js +4 -4
  435. package/cdn/components/tag/tag.js +5 -5
  436. package/cdn/components/tag/tag.styles.js +1 -1
  437. package/cdn/components/textarea/textarea.component.js +3 -3
  438. package/cdn/components/textarea/textarea.js +4 -4
  439. package/cdn/components/textarea/textarea.styles.js +1 -1
  440. package/cdn/components/time-average-map/time-average-map.component.js +33 -33
  441. package/cdn/components/time-average-map/time-average-map.controller.js +10 -10
  442. package/cdn/components/time-average-map/time-average-map.js +34 -34
  443. package/cdn/components/time-average-map/time-average-map.styles.js +1 -1
  444. package/cdn/components/time-series/time-series-cache.service.d.ts +6 -0
  445. package/cdn/components/time-series/time-series-cache.service.js +1 -1
  446. package/cdn/components/time-series/time-series.component.js +34 -34
  447. package/cdn/components/time-series/time-series.controller.js +11 -11
  448. package/cdn/components/time-series/time-series.js +35 -35
  449. package/cdn/components/time-series/time-series.styles.js +1 -1
  450. package/cdn/components/toast/toast.component.d.ts +3 -3
  451. package/cdn/components/toast/toast.component.js +4 -4
  452. package/cdn/components/toast/toast.js +5 -5
  453. package/cdn/components/toggle/toggle.component.js +3 -3
  454. package/cdn/components/toggle/toggle.js +4 -4
  455. package/cdn/components/toggle/toggle.styles.js +1 -1
  456. package/cdn/components/tooltip/tooltip.component.js +5 -5
  457. package/cdn/components/tooltip/tooltip.js +6 -6
  458. package/cdn/components/tooltip/tooltip.styles.js +1 -1
  459. package/cdn/components/variable-combobox/variable-combobox.component.js +8 -8
  460. package/cdn/components/variable-combobox/variable-combobox.js +9 -9
  461. package/cdn/components/variable-combobox/variable-combobox.styles.js +1 -1
  462. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +12 -12
  463. package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +4 -4
  464. package/cdn/components/variable-keyword-search/variable-keyword-search.js +13 -13
  465. package/cdn/components/variable-keyword-search/variable-keyword-search.styles.js +1 -1
  466. package/cdn/custom-elements.json +1107 -855
  467. package/cdn/lib/harmony/harmony.request.d.ts +11 -0
  468. package/cdn/react/accordion/index.js +5 -5
  469. package/cdn/react/alert/index.js +4 -4
  470. package/cdn/react/avatar/index.js +4 -4
  471. package/cdn/react/badge/index.js +4 -4
  472. package/cdn/react/banner/index.js +3 -3
  473. package/cdn/react/breadcrumb/index.d.ts +3 -3
  474. package/cdn/react/breadcrumb/index.js +4 -4
  475. package/cdn/react/breadcrumbs/index.js +4 -4
  476. package/cdn/react/browse-variables/index.js +20 -20
  477. package/cdn/react/button/index.js +5 -5
  478. package/cdn/react/button-group/index.js +3 -3
  479. package/cdn/react/caption/index.js +3 -3
  480. package/cdn/react/card/index.js +4 -4
  481. package/cdn/react/checkbox/index.js +5 -5
  482. package/cdn/react/chip/index.js +3 -3
  483. package/cdn/react/combobox/index.js +4 -4
  484. package/cdn/react/data-access/index.js +36 -36
  485. package/cdn/react/data-grid/index.js +4 -4
  486. package/cdn/react/data-rods/index.js +46 -46
  487. package/cdn/react/data-subsetter/index.js +51 -50
  488. package/cdn/react/data-subsetter-history/index.js +53 -52
  489. package/cdn/react/date-picker/index.js +13 -13
  490. package/cdn/react/date-range-slider/index.js +4 -4
  491. package/cdn/react/dialog/index.js +7 -7
  492. package/cdn/react/divider/index.js +4 -4
  493. package/cdn/react/dropdown/index.js +6 -6
  494. package/cdn/react/earthdata-login/index.js +13 -13
  495. package/cdn/react/file-upload/index.js +4 -4
  496. package/cdn/react/harmony-history/index.js +13 -12
  497. package/cdn/react/icon/index.js +3 -3
  498. package/cdn/react/index.d.ts +1 -1
  499. package/cdn/react/index.js +211 -211
  500. package/cdn/react/input/index.js +5 -5
  501. package/cdn/react/loader/index.js +3 -3
  502. package/cdn/react/login/index.js +11 -11
  503. package/cdn/react/map/index.js +8 -8
  504. package/cdn/react/menu/index.js +4 -4
  505. package/cdn/react/menu-item/index.js +8 -8
  506. package/cdn/react/option/index.d.ts +5 -0
  507. package/cdn/react/option/index.js +5 -5
  508. package/cdn/react/pagination/index.js +5 -5
  509. package/cdn/react/plot/index.js +3 -3
  510. package/cdn/react/plot-toolbar/index.js +21 -21
  511. package/cdn/react/popup/index.js +4 -4
  512. package/cdn/react/progress-bar/index.js +4 -4
  513. package/cdn/react/radio/index.js +4 -4
  514. package/cdn/react/radio-group/index.js +3 -3
  515. package/cdn/react/scroll-hint/index.d.ts +3 -0
  516. package/cdn/react/scroll-hint/index.js +7 -5
  517. package/cdn/react/select/index.js +9 -9
  518. package/cdn/react/site-header/index.js +5 -5
  519. package/cdn/react/site-navigation/index.js +4 -4
  520. package/cdn/react/skeleton/index.js +3 -3
  521. package/cdn/react/slider/index.js +4 -4
  522. package/cdn/react/spatial-picker/index.js +17 -17
  523. package/cdn/react/status-indicator/index.js +4 -4
  524. package/cdn/react/stepper/index.js +3 -3
  525. package/cdn/react/stepper-step/index.js +5 -5
  526. package/cdn/react/tab/index.js +5 -5
  527. package/cdn/react/tab-panel/index.js +3 -3
  528. package/cdn/react/tabs/index.d.ts +2 -2
  529. package/cdn/react/tabs/index.js +5 -5
  530. package/cdn/react/tag/index.js +5 -5
  531. package/cdn/react/textarea/index.js +4 -4
  532. package/cdn/react/time-average-map/index.js +34 -34
  533. package/cdn/react/time-series/index.js +35 -35
  534. package/cdn/react/toast/index.js +5 -5
  535. package/cdn/react/toggle/index.js +4 -4
  536. package/cdn/react/tooltip/index.js +6 -6
  537. package/cdn/react/variable-combobox/index.js +9 -9
  538. package/cdn/react/variable-keyword-search/index.js +13 -13
  539. package/cdn/terra-ui-components.js +193 -193
  540. package/cdn/themes/horizon.css +2054 -752
  541. package/cdn/themes/horizon.styles.js +2154 -772
  542. package/cdn/themes/terra-ui-tokens.css +526 -0
  543. package/cdn/themes/terra-ui-tokens.styles.d.ts +2 -0
  544. package/cdn/themes/terra-ui-tokens.styles.js +545 -0
  545. package/cdn/types/vue/index.d.ts +145 -120
  546. package/cdn/utilities/harmony.d.ts +11 -0
  547. package/cdn/utilities/harmony.js +5 -3
  548. package/cdn/utilities/variable-task.js +3 -3
  549. package/cdn/vscode.html-custom-data.json +72 -50
  550. package/cdn/web-types.json +210 -175
  551. package/dist/apis/harmony.api.d.ts +10 -1
  552. package/dist/chunks/chunk.2D55HJ64.js +1 -0
  553. package/dist/chunks/chunk.2GO7TMLP.js +1 -0
  554. package/dist/chunks/chunk.2GYNGU2K.js +1 -0
  555. package/dist/chunks/chunk.2HHUVNE2.js +1 -0
  556. package/dist/chunks/chunk.2IJJATB5.js +1 -0
  557. package/dist/chunks/chunk.2PPDUXC4.js +1 -0
  558. package/dist/chunks/chunk.2TZJ5OSU.js +121 -0
  559. package/dist/chunks/chunk.33ODMKXB.js +1 -0
  560. package/dist/chunks/chunk.37B2FLZJ.js +1 -0
  561. package/dist/chunks/chunk.3AURCEYI.js +353 -0
  562. package/dist/chunks/chunk.3G3CSN3G.js +1 -0
  563. package/dist/chunks/chunk.3GT4NYNA.js +1 -0
  564. package/dist/chunks/chunk.3OKIF2KP.js +1 -0
  565. package/dist/chunks/chunk.3OLIE46J.js +19 -0
  566. package/dist/chunks/chunk.3S6SXGFQ.js +1 -0
  567. package/dist/chunks/chunk.3UX5QRYF.js +1 -0
  568. package/dist/chunks/chunk.43SHAFPE.js +1 -0
  569. package/dist/chunks/chunk.47FP7IRS.js +1 -0
  570. package/dist/chunks/chunk.4CAGPPMV.js +38 -0
  571. package/dist/chunks/chunk.4CI5DWX7.js +1 -0
  572. package/dist/chunks/chunk.4SKNFNU3.js +1 -0
  573. package/dist/chunks/chunk.4YQGPE6J.js +64 -0
  574. package/dist/chunks/chunk.4ZVIPOSQ.js +1 -0
  575. package/dist/chunks/chunk.567W2YB4.js +1 -0
  576. package/dist/chunks/chunk.57KBJQ5Z.js +1 -0
  577. package/dist/chunks/chunk.5OO3UVJO.js +1 -0
  578. package/dist/chunks/chunk.5TSON4Q5.js +1 -0
  579. package/dist/chunks/chunk.5UG7GGUP.js +1 -0
  580. package/dist/chunks/chunk.5XVYJITF.js +1 -0
  581. package/dist/chunks/chunk.6QTDPCVI.js +1 -0
  582. package/dist/chunks/chunk.6UWS4R34.js +8 -0
  583. package/dist/chunks/chunk.766PN3VI.js +1 -0
  584. package/dist/chunks/chunk.7DFRAUL5.js +148 -0
  585. package/dist/chunks/chunk.7IS3PQKN.js +1 -0
  586. package/dist/chunks/chunk.7JD2UT6A.js +1 -0
  587. package/dist/chunks/chunk.7VFYUGD6.js +1 -0
  588. package/dist/chunks/chunk.7X2NWNZP.js +55 -0
  589. package/dist/chunks/chunk.A4KCKDEI.js +52 -0
  590. package/dist/chunks/chunk.ACFE5TVJ.js +25 -0
  591. package/dist/chunks/chunk.ACMRVRMJ.js +65 -0
  592. package/dist/chunks/chunk.AD4SBK65.js +1 -0
  593. package/dist/chunks/chunk.AHFV6WBO.js +113 -0
  594. package/dist/chunks/chunk.AN2CNNH3.js +20 -0
  595. package/dist/chunks/chunk.B2I3FFIQ.js +1 -0
  596. package/dist/chunks/chunk.BAGXAJKO.js +1 -0
  597. package/dist/chunks/chunk.BAYWCQTO.js +1 -0
  598. package/dist/chunks/chunk.BBZZL7GF.js +91 -0
  599. package/dist/chunks/chunk.BFNCV2RM.js +127 -0
  600. package/dist/chunks/chunk.BK6SKY54.js +1 -0
  601. package/dist/chunks/chunk.BOBV4O46.js +75 -0
  602. package/dist/chunks/chunk.BSMNZP56.js +92 -0
  603. package/dist/chunks/chunk.BT6QLSOO.js +1 -0
  604. package/dist/chunks/chunk.BV6IZ2QN.js +127 -0
  605. package/dist/chunks/chunk.BVG7OM4Q.js +1 -0
  606. package/dist/chunks/chunk.CD6I4VZO.js +1 -0
  607. package/dist/chunks/chunk.CF6D473M.js +280 -0
  608. package/dist/chunks/chunk.CQLL2YKN.js +26 -0
  609. package/dist/chunks/chunk.CW47XTQB.js +1 -0
  610. package/dist/chunks/chunk.D4KXKEFI.js +1 -0
  611. package/dist/chunks/chunk.DF6IRZMZ.js +1157 -0
  612. package/dist/chunks/chunk.E76UUHH4.js +1 -0
  613. package/dist/chunks/chunk.EM4IAMRI.js +1 -0
  614. package/dist/chunks/chunk.ENQAS3E3.js +39 -0
  615. package/dist/chunks/chunk.ENXCABUB.js +1 -0
  616. package/dist/chunks/chunk.EQHUPMJQ.js +1 -0
  617. package/dist/chunks/chunk.EQJX6O4V.js +572 -0
  618. package/dist/chunks/chunk.ESTPYZYF.js +66 -0
  619. package/dist/chunks/chunk.EVU2XYYQ.js +199 -0
  620. package/dist/chunks/chunk.F3PXS6XR.js +1 -0
  621. package/dist/chunks/chunk.FAWTVVL4.js +1 -0
  622. package/dist/chunks/chunk.FDRS2X4S.js +134 -0
  623. package/dist/chunks/chunk.FJIJEA4W.js +11 -0
  624. package/dist/chunks/chunk.FRY7JWSR.js +1 -0
  625. package/dist/chunks/chunk.FSHYXKJI.js +300 -0
  626. package/dist/chunks/chunk.G7H6WIM7.js +1 -0
  627. package/dist/chunks/chunk.GJG2G54S.js +62 -0
  628. package/dist/chunks/chunk.GK6AJGW3.js +35 -0
  629. package/dist/chunks/chunk.GKYP6GCC.js +1 -0
  630. package/dist/chunks/chunk.GQZN3IYC.js +1 -0
  631. package/dist/chunks/chunk.GUKZS6H7.js +1 -0
  632. package/dist/chunks/chunk.GUQPQH73.js +55 -0
  633. package/dist/chunks/chunk.GXNNVXXJ.js +203 -0
  634. package/dist/chunks/chunk.H4TEESQU.js +1 -0
  635. package/dist/chunks/chunk.H5AVWFET.js +23 -0
  636. package/dist/chunks/chunk.HEEYAQNP.js +1 -0
  637. package/dist/chunks/chunk.HJIPLW5J.js +37 -0
  638. package/dist/chunks/chunk.HLKDWTZV.js +41 -0
  639. package/dist/chunks/chunk.HRA64EJO.js +86 -0
  640. package/dist/chunks/chunk.HRWEJEUM.js +296 -0
  641. package/dist/chunks/chunk.HVO4YL55.js +4 -0
  642. package/dist/chunks/chunk.HXJR743G.js +1 -0
  643. package/dist/chunks/chunk.HY6RFKDY.js +1 -0
  644. package/dist/chunks/chunk.HZGAYAHT.js +1 -0
  645. package/dist/chunks/chunk.I3GHWZC4.js +16 -0
  646. package/dist/chunks/chunk.I6BL3WPE.js +1 -0
  647. package/dist/chunks/chunk.IDBHEMAV.js +288 -0
  648. package/dist/chunks/chunk.IHP65UGR.js +33 -0
  649. package/dist/chunks/chunk.IN7ZOX6F.js +1 -0
  650. package/dist/chunks/chunk.IOFVAK65.js +2 -0
  651. package/dist/chunks/chunk.ISBUK3L4.js +1 -0
  652. package/dist/chunks/chunk.IWQ6YFE2.js +145 -0
  653. package/dist/chunks/chunk.JA3TOBR2.js +80 -0
  654. package/dist/chunks/chunk.JDE47ALB.js +1 -0
  655. package/dist/chunks/chunk.JDUOQDJ3.js +100 -0
  656. package/dist/chunks/chunk.JE6M4M4S.js +65 -0
  657. package/dist/chunks/chunk.JUJ7Y22D.js +74 -0
  658. package/dist/chunks/chunk.JUOXUMZT.js +17 -0
  659. package/dist/chunks/chunk.JZYLEEB7.js +1 -0
  660. package/dist/chunks/chunk.K6T46UOF.js +1 -0
  661. package/dist/chunks/chunk.KG5CMWFL.js +1 -0
  662. package/dist/chunks/chunk.KGXZLDN7.js +1 -0
  663. package/dist/chunks/chunk.KIZLB2ZY.js +1 -0
  664. package/dist/chunks/chunk.KMMLLCHB.js +1 -0
  665. package/dist/chunks/chunk.KPFANSAS.js +107 -0
  666. package/dist/chunks/chunk.KPNCPULO.js +1 -0
  667. package/dist/chunks/chunk.KQD2HFDR.js +1 -0
  668. package/dist/chunks/chunk.KRHZH55I.js +1 -0
  669. package/dist/chunks/chunk.KTSFHPUH.js +26 -0
  670. package/dist/chunks/chunk.KWHNDO3M.js +1 -0
  671. package/dist/chunks/chunk.L2WWAWYC.js +1 -0
  672. package/dist/chunks/chunk.L3PZPPIQ.js +1 -0
  673. package/dist/chunks/chunk.L45W3S3B.js +1 -0
  674. package/dist/chunks/chunk.L5AER4HL.js +111 -0
  675. package/dist/chunks/chunk.L7UI364Z.js +985 -0
  676. package/dist/chunks/chunk.LFEM3FJX.js +1 -0
  677. package/dist/chunks/chunk.LGVT3U7Z.js +104 -0
  678. package/dist/chunks/chunk.LH7RWUQZ.js +24 -0
  679. package/dist/chunks/chunk.LL6BEIZA.js +5 -0
  680. package/dist/chunks/chunk.LLZSYM64.js +1 -0
  681. package/dist/chunks/chunk.LM4RHNKJ.js +30 -0
  682. package/dist/chunks/chunk.LVWUQXWQ.js +1 -0
  683. package/dist/chunks/chunk.MBFAWLMY.js +9 -0
  684. package/dist/chunks/chunk.MDEHAIAG.js +1 -0
  685. package/dist/chunks/chunk.MHPXMOJI.js +134 -0
  686. package/dist/chunks/chunk.MJILATWK.js +132 -0
  687. package/dist/chunks/chunk.MK6COBAF.js +43 -0
  688. package/dist/chunks/chunk.MPM3TXSL.js +80 -0
  689. package/dist/chunks/chunk.MQMBH2YC.js +665 -0
  690. package/dist/chunks/chunk.NA26KJ6N.js +1 -0
  691. package/dist/chunks/chunk.NBJ7ET7E.js +1 -0
  692. package/dist/chunks/chunk.NCDC7TOR.js +1 -0
  693. package/dist/chunks/chunk.NEY2SQ2K.js +14 -0
  694. package/dist/chunks/chunk.NJJIUYH6.js +12 -0
  695. package/dist/chunks/chunk.NXGSNQLW.js +1 -0
  696. package/dist/chunks/chunk.O6Q5WBJ5.js +55 -0
  697. package/dist/chunks/chunk.OCUTIAAQ.js +1 -0
  698. package/dist/chunks/chunk.OFMDUJXM.js +1 -0
  699. package/dist/chunks/chunk.OGQQV2BX.js +1 -0
  700. package/dist/chunks/chunk.ON5BCN2P.js +1 -0
  701. package/dist/chunks/chunk.OYBEWMHA.js +436 -0
  702. package/dist/chunks/chunk.P5WP3ZNR.js +1 -0
  703. package/dist/chunks/chunk.P6ZQBWYA.js +498 -0
  704. package/dist/chunks/chunk.PALWDZSA.js +1 -0
  705. package/dist/chunks/chunk.PHR3ARS7.js +102 -0
  706. package/dist/chunks/chunk.PJQAURNT.js +1 -0
  707. package/dist/chunks/chunk.PX2P3YX5.js +142 -0
  708. package/dist/chunks/chunk.PYEHMPWX.js +6 -0
  709. package/dist/chunks/chunk.PZYBNPV6.js +218 -0
  710. package/dist/chunks/chunk.Q3LRI55J.js +11 -0
  711. package/dist/chunks/chunk.QDUXLZXC.js +51 -0
  712. package/dist/chunks/chunk.QEKD7PQ4.js +1 -0
  713. package/dist/chunks/chunk.QFFYKOAS.js +1 -0
  714. package/dist/chunks/chunk.QH2WOGME.js +1 -0
  715. package/dist/chunks/chunk.QLEWT4JQ.js +23 -0
  716. package/dist/chunks/chunk.QMFEAVMN.js +17 -0
  717. package/dist/chunks/chunk.QV2ZY4DD.js +1 -0
  718. package/dist/chunks/chunk.QV5ITZ7D.js +1 -0
  719. package/dist/chunks/chunk.R2KZSJQZ.js +83 -0
  720. package/dist/chunks/chunk.R5PRDVSU.js +48 -0
  721. package/dist/chunks/chunk.R6Q4JCND.js +1 -0
  722. package/dist/chunks/chunk.REKMTQRY.js +1 -0
  723. package/dist/chunks/chunk.RJML3ZEW.js +1 -0
  724. package/dist/chunks/chunk.ROCTMAMM.js +1 -0
  725. package/dist/chunks/chunk.RTXL2G7J.js +99 -0
  726. package/dist/chunks/chunk.S3A2BX4C.js +144 -0
  727. package/dist/chunks/chunk.S74OFI5C.js +1 -0
  728. package/dist/chunks/chunk.SBMSU6KI.js +35 -0
  729. package/dist/chunks/chunk.SGESE6DO.js +1 -0
  730. package/dist/chunks/chunk.SIB5Q6QQ.js +1 -0
  731. package/dist/chunks/chunk.SNMZJK77.js +1 -0
  732. package/dist/chunks/chunk.SP77OFFN.js +1 -0
  733. package/dist/chunks/chunk.STV7F7TN.js +1 -0
  734. package/dist/chunks/chunk.SU44CMPF.js +1 -0
  735. package/dist/chunks/chunk.SVLWTIBE.js +1 -0
  736. package/dist/chunks/chunk.SXBEKR3M.js +1 -0
  737. package/dist/chunks/chunk.SYEGBJVG.js +157 -0
  738. package/dist/chunks/chunk.T2BWAH5M.js +1 -0
  739. package/dist/chunks/chunk.T2FIFNZX.js +143 -0
  740. package/dist/chunks/chunk.T7GOQZF2.js +266 -0
  741. package/dist/chunks/chunk.T7WOIW6P.js +1 -0
  742. package/dist/chunks/chunk.TAQPGW7M.js +1 -0
  743. package/dist/chunks/chunk.TEOQ7XY3.js +67 -0
  744. package/dist/chunks/chunk.TGY77T44.js +122 -0
  745. package/dist/chunks/chunk.THZJGMXE.js +729 -0
  746. package/dist/chunks/chunk.TK2JSJCN.js +12 -0
  747. package/dist/chunks/chunk.TPV33XNJ.js +1 -0
  748. package/dist/chunks/chunk.TTSYVAEW.js +1 -0
  749. package/dist/chunks/chunk.TVO3XZ2N.js +1 -0
  750. package/dist/chunks/chunk.TXOI254L.js +47 -0
  751. package/dist/chunks/chunk.TYI6WGK7.js +1 -0
  752. package/dist/chunks/chunk.U3F7WCPA.js +1 -0
  753. package/dist/chunks/chunk.U465JMCV.js +1 -0
  754. package/dist/chunks/chunk.U6HUBMNB.js +1 -0
  755. package/dist/chunks/chunk.U7OFS4YO.js +1 -0
  756. package/dist/chunks/chunk.UEIOQPHW.js +9 -0
  757. package/dist/chunks/chunk.UIR73OAY.js +349 -0
  758. package/dist/chunks/chunk.UKUWK3UY.js +1 -0
  759. package/dist/chunks/chunk.UKWCOY7A.js +1 -0
  760. package/dist/chunks/chunk.UNRENVA4.js +1 -0
  761. package/dist/chunks/chunk.UOWK4M4L.js +1 -0
  762. package/dist/chunks/chunk.V242FK7Q.js +1 -0
  763. package/dist/chunks/chunk.V4CGJNAJ.js +30 -0
  764. package/dist/chunks/chunk.VDIB3NRZ.js +1 -0
  765. package/dist/chunks/chunk.VFE2HBPZ.js +20 -0
  766. package/dist/chunks/chunk.VGCXMKGO.js +297 -0
  767. package/dist/chunks/chunk.VN36DNH5.js +329 -0
  768. package/dist/chunks/chunk.VP5IYIOB.js +8 -0
  769. package/dist/chunks/chunk.VSQMTGXR.js +203 -0
  770. package/dist/chunks/chunk.W2QZOO6Z.js +1 -0
  771. package/dist/chunks/chunk.W6DGR4DK.js +260 -0
  772. package/dist/chunks/chunk.W6SU4PRC.js +1 -0
  773. package/dist/chunks/chunk.W7H2V3HN.js +27 -0
  774. package/dist/chunks/chunk.WAD5F7IY.js +1 -0
  775. package/dist/chunks/chunk.WAYKA4GY.js +1 -0
  776. package/dist/chunks/chunk.WEMSJJQN.js +300 -0
  777. package/dist/chunks/chunk.WFNB4UWK.js +1 -0
  778. package/dist/chunks/chunk.WGF6ZBTK.js +324 -0
  779. package/dist/chunks/chunk.WGWLPC2C.js +1 -0
  780. package/dist/chunks/chunk.WLSBHYJK.js +780 -0
  781. package/dist/chunks/chunk.WMNEFMBK.js +346 -0
  782. package/dist/chunks/chunk.WNP2BTB4.js +43 -0
  783. package/dist/chunks/chunk.WOPNQVFQ.js +5 -0
  784. package/dist/chunks/chunk.WRJYRBGT.js +1 -0
  785. package/dist/chunks/chunk.WZVYVECU.js +1 -0
  786. package/dist/chunks/chunk.X3JEFEVB.js +1 -0
  787. package/dist/chunks/chunk.X5PXI5E6.js +1 -0
  788. package/dist/chunks/chunk.X74ZBUDB.js +22 -0
  789. package/dist/chunks/chunk.XB3O7ORG.js +1 -0
  790. package/dist/chunks/chunk.XFH26EMI.js +1 -0
  791. package/dist/chunks/chunk.XJS3MPKP.js +24 -0
  792. package/dist/chunks/chunk.XTDTWZSX.js +1 -0
  793. package/dist/chunks/chunk.XVC3SMLN.js +1 -0
  794. package/dist/chunks/chunk.XYMWO3Y6.js +1 -0
  795. package/dist/chunks/chunk.Y2G3I3B3.js +35 -0
  796. package/dist/chunks/chunk.Y4QBAUPW.js +109 -0
  797. package/dist/chunks/chunk.Y4SZNHG5.js +1 -0
  798. package/dist/chunks/chunk.Y4U7SQM2.js +1 -0
  799. package/dist/chunks/chunk.Y5FRCL7O.js +1 -0
  800. package/dist/chunks/chunk.Y5HJPERY.js +1 -0
  801. package/dist/chunks/chunk.Y6VOJNJH.js +441 -0
  802. package/dist/chunks/chunk.YENJIAHQ.js +59 -0
  803. package/dist/chunks/chunk.YKDLYMHH.js +115 -0
  804. package/dist/chunks/chunk.YN3KH4A6.js +1 -0
  805. package/dist/chunks/chunk.YN755QKE.js +154 -0
  806. package/dist/chunks/chunk.YZLKAK5D.js +1 -0
  807. package/dist/chunks/chunk.Z2P5VVB5.js +220 -0
  808. package/dist/chunks/chunk.Z44ETYQS.js +1 -0
  809. package/dist/chunks/chunk.Z5S2XQG5.js +1 -0
  810. package/dist/chunks/chunk.ZAZOHAFA.js +1 -0
  811. package/dist/chunks/chunk.ZUHRBHV4.js +1 -0
  812. package/dist/chunks/chunk.ZUXHHOQ7.js +155 -0
  813. package/dist/chunks/chunk.ZVTWO2YF.js +64 -0
  814. package/dist/components/accordion/accordion.component.js +1 -1
  815. package/dist/components/accordion/accordion.js +1 -1
  816. package/dist/components/accordion/accordion.styles.js +1 -1
  817. package/dist/components/alert/alert.component.d.ts +5 -4
  818. package/dist/components/alert/alert.component.js +1 -1
  819. package/dist/components/alert/alert.js +1 -1
  820. package/dist/components/alert/alert.styles.js +1 -1
  821. package/dist/components/avatar/avatar.component.js +1 -1
  822. package/dist/components/avatar/avatar.js +1 -1
  823. package/dist/components/badge/badge.component.d.ts +1 -1
  824. package/dist/components/badge/badge.component.js +1 -1
  825. package/dist/components/badge/badge.js +1 -1
  826. package/dist/components/badge/badge.styles.js +1 -1
  827. package/dist/components/banner/banner.component.js +1 -1
  828. package/dist/components/banner/banner.js +1 -1
  829. package/dist/components/breadcrumb/breadcrumb.component.d.ts +3 -3
  830. package/dist/components/breadcrumb/breadcrumb.component.js +1 -1
  831. package/dist/components/breadcrumb/breadcrumb.js +1 -1
  832. package/dist/components/breadcrumb/breadcrumb.styles.js +1 -1
  833. package/dist/components/breadcrumbs/breadcrumbs.component.js +1 -1
  834. package/dist/components/breadcrumbs/breadcrumbs.js +1 -1
  835. package/dist/components/breadcrumbs/breadcrumbs.styles.js +1 -1
  836. package/dist/components/browse-variables/browse-variables.component.js +1 -1
  837. package/dist/components/browse-variables/browse-variables.controller.js +1 -1
  838. package/dist/components/browse-variables/browse-variables.js +1 -1
  839. package/dist/components/browse-variables/browse-variables.styles.js +1 -1
  840. package/dist/components/button/button.component.d.ts +1 -1
  841. package/dist/components/button/button.component.js +1 -1
  842. package/dist/components/button/button.js +1 -1
  843. package/dist/components/button/button.styles.js +1 -1
  844. package/dist/components/button-group/button-group.component.js +1 -1
  845. package/dist/components/button-group/button-group.js +1 -1
  846. package/dist/components/caption/caption.component.js +1 -1
  847. package/dist/components/caption/caption.js +1 -1
  848. package/dist/components/card/card.component.js +1 -1
  849. package/dist/components/card/card.js +1 -1
  850. package/dist/components/card/card.styles.js +1 -1
  851. package/dist/components/checkbox/checkbox.component.js +1 -1
  852. package/dist/components/checkbox/checkbox.js +1 -1
  853. package/dist/components/checkbox/checkbox.styles.js +1 -1
  854. package/dist/components/chip/chip.component.js +1 -1
  855. package/dist/components/chip/chip.js +1 -1
  856. package/dist/components/combobox/combobox.component.js +1 -1
  857. package/dist/components/combobox/combobox.js +1 -1
  858. package/dist/components/combobox/combobox.styles.js +1 -1
  859. package/dist/components/data-access/data-access.component.js +1 -1
  860. package/dist/components/data-access/data-access.js +1 -1
  861. package/dist/components/data-access/data-access.styles.js +1 -1
  862. package/dist/components/data-grid/data-grid.component.js +1 -1
  863. package/dist/components/data-grid/data-grid.js +1 -1
  864. package/dist/components/data-rods/data-rods.component.js +1 -1
  865. package/dist/components/data-rods/data-rods.js +1 -1
  866. package/dist/components/data-subsetter/data-subsetter.component.d.ts +2 -0
  867. package/dist/components/data-subsetter/data-subsetter.component.js +1 -1
  868. package/dist/components/data-subsetter/data-subsetter.js +1 -1
  869. package/dist/components/data-subsetter/data-subsetter.styles.js +1 -1
  870. package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  871. package/dist/components/data-subsetter-history/data-subsetter-history.component.js +1 -1
  872. package/dist/components/data-subsetter-history/data-subsetter-history.js +1 -1
  873. package/dist/components/data-subsetter-history/data-subsetter-history.styles.js +1 -1
  874. package/dist/components/date-picker/date-picker.component.d.ts +27 -0
  875. package/dist/components/date-picker/date-picker.component.js +1 -1
  876. package/dist/components/date-picker/date-picker.js +1 -1
  877. package/dist/components/date-picker/date-picker.styles.js +1 -1
  878. package/dist/components/date-range-slider/date-range-slider.component.js +1 -1
  879. package/dist/components/date-range-slider/date-range-slider.js +1 -1
  880. package/dist/components/date-range-slider/date-range-slider.styles.js +1 -1
  881. package/dist/components/dialog/dialog.component.js +1 -1
  882. package/dist/components/dialog/dialog.js +1 -1
  883. package/dist/components/dialog/dialog.styles.js +1 -1
  884. package/dist/components/divider/divider.component.js +1 -1
  885. package/dist/components/divider/divider.js +1 -1
  886. package/dist/components/divider/divider.styles.js +1 -1
  887. package/dist/components/dropdown/dropdown.component.js +1 -1
  888. package/dist/components/dropdown/dropdown.js +1 -1
  889. package/dist/components/dropdown/dropdown.styles.js +1 -1
  890. package/dist/components/earthdata-login/earthdata-login.component.js +1 -1
  891. package/dist/components/earthdata-login/earthdata-login.js +1 -1
  892. package/dist/components/file-upload/file-upload.component.js +1 -1
  893. package/dist/components/file-upload/file-upload.js +1 -1
  894. package/dist/components/file-upload/file-upload.styles.js +1 -1
  895. package/dist/components/harmony-history/harmony-history.component.js +1 -1
  896. package/dist/components/harmony-history/harmony-history.js +1 -1
  897. package/dist/components/icon/icon.component.js +1 -1
  898. package/dist/components/icon/icon.js +1 -1
  899. package/dist/components/input/input.component.js +1 -1
  900. package/dist/components/input/input.js +1 -1
  901. package/dist/components/input/input.styles.js +1 -1
  902. package/dist/components/loader/loader.component.js +1 -1
  903. package/dist/components/loader/loader.js +1 -1
  904. package/dist/components/login/login.component.js +1 -1
  905. package/dist/components/login/login.js +1 -1
  906. package/dist/components/login/login.styles.js +1 -1
  907. package/dist/components/map/map.component.js +1 -1
  908. package/dist/components/map/map.js +1 -1
  909. package/dist/components/map/map.service.js +1 -1
  910. package/dist/components/map/map.styles.js +1 -1
  911. package/dist/components/map/type.d.ts +2 -0
  912. package/dist/components/menu/menu.component.js +1 -1
  913. package/dist/components/menu/menu.js +1 -1
  914. package/dist/components/menu/menu.styles.js +1 -1
  915. package/dist/components/menu-item/menu-item.component.js +1 -1
  916. package/dist/components/menu-item/menu-item.js +1 -1
  917. package/dist/components/menu-item/menu-item.styles.js +1 -1
  918. package/dist/components/option/option.component.d.ts +5 -0
  919. package/dist/components/option/option.component.js +1 -1
  920. package/dist/components/option/option.js +1 -1
  921. package/dist/components/option/option.styles.js +1 -1
  922. package/dist/components/pagination/pagination.component.js +1 -1
  923. package/dist/components/pagination/pagination.js +1 -1
  924. package/dist/components/pagination/pagination.styles.js +1 -1
  925. package/dist/components/plot/plot.component.js +1 -1
  926. package/dist/components/plot/plot.js +1 -1
  927. package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  928. package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  929. package/dist/components/plot-toolbar/plot-toolbar.component.js +1 -1
  930. package/dist/components/plot-toolbar/plot-toolbar.controller.js +1 -1
  931. package/dist/components/plot-toolbar/plot-toolbar.js +1 -1
  932. package/dist/components/plot-toolbar/plot-toolbar.styles.js +1 -1
  933. package/dist/components/popup/popup.component.js +1 -1
  934. package/dist/components/popup/popup.js +1 -1
  935. package/dist/components/popup/popup.styles.js +1 -1
  936. package/dist/components/progress-bar/progress-bar.component.js +1 -1
  937. package/dist/components/progress-bar/progress-bar.js +1 -1
  938. package/dist/components/progress-bar/progress-bar.styles.js +1 -1
  939. package/dist/components/radio/radio.component.js +1 -1
  940. package/dist/components/radio/radio.js +1 -1
  941. package/dist/components/radio/radio.styles.js +1 -1
  942. package/dist/components/radio-group/radio-group.component.js +1 -1
  943. package/dist/components/radio-group/radio-group.js +1 -1
  944. package/dist/components/scroll-hint/scroll-hint.component.d.ts +5 -2
  945. package/dist/components/scroll-hint/scroll-hint.component.js +1 -1
  946. package/dist/components/scroll-hint/scroll-hint.js +1 -1
  947. package/dist/components/scroll-hint/scroll-hint.styles.js +1 -1
  948. package/dist/components/select/select.component.js +1 -1
  949. package/dist/components/select/select.js +1 -1
  950. package/dist/components/select/select.styles.js +1 -1
  951. package/dist/components/site-header/site-header.component.js +1 -1
  952. package/dist/components/site-header/site-header.js +1 -1
  953. package/dist/components/site-header/site-header.styles.js +1 -1
  954. package/dist/components/site-navigation/site-navigation.component.js +1 -1
  955. package/dist/components/site-navigation/site-navigation.js +1 -1
  956. package/dist/components/site-navigation/site-navigation.styles.js +1 -1
  957. package/dist/components/skeleton/skeleton.component.js +1 -1
  958. package/dist/components/skeleton/skeleton.js +1 -1
  959. package/dist/components/slider/slider.component.d.ts +3 -3
  960. package/dist/components/slider/slider.component.js +1 -1
  961. package/dist/components/slider/slider.js +1 -1
  962. package/dist/components/slider/slider.styles.js +1 -1
  963. package/dist/components/spatial-picker/spatial-picker.component.d.ts +5 -0
  964. package/dist/components/spatial-picker/spatial-picker.component.js +1 -1
  965. package/dist/components/spatial-picker/spatial-picker.js +1 -1
  966. package/dist/components/spatial-picker/spatial-picker.styles.js +1 -1
  967. package/dist/components/status-indicator/status-indicator.component.js +1 -1
  968. package/dist/components/status-indicator/status-indicator.js +1 -1
  969. package/dist/components/status-indicator/status-indicator.styles.js +1 -1
  970. package/dist/components/stepper/stepper.component.js +1 -1
  971. package/dist/components/stepper/stepper.js +1 -1
  972. package/dist/components/stepper-step/stepper-step.component.js +1 -1
  973. package/dist/components/stepper-step/stepper-step.js +1 -1
  974. package/dist/components/stepper-step/stepper-step.styles.js +1 -1
  975. package/dist/components/tab/tab.component.js +1 -1
  976. package/dist/components/tab/tab.js +1 -1
  977. package/dist/components/tab/tab.styles.js +1 -1
  978. package/dist/components/tab-panel/tab-panel.component.js +1 -1
  979. package/dist/components/tab-panel/tab-panel.js +1 -1
  980. package/dist/components/tabs/tabs.component.d.ts +2 -2
  981. package/dist/components/tabs/tabs.component.js +1 -1
  982. package/dist/components/tabs/tabs.js +1 -1
  983. package/dist/components/tabs/tabs.styles.js +1 -1
  984. package/dist/components/tag/tag.component.js +1 -1
  985. package/dist/components/tag/tag.js +1 -1
  986. package/dist/components/tag/tag.styles.js +1 -1
  987. package/dist/components/textarea/textarea.component.js +1 -1
  988. package/dist/components/textarea/textarea.js +1 -1
  989. package/dist/components/textarea/textarea.styles.js +1 -1
  990. package/dist/components/time-average-map/time-average-map.component.js +1 -1
  991. package/dist/components/time-average-map/time-average-map.controller.js +1 -1
  992. package/dist/components/time-average-map/time-average-map.js +1 -1
  993. package/dist/components/time-average-map/time-average-map.styles.js +1 -1
  994. package/dist/components/time-series/time-series-cache.service.d.ts +6 -0
  995. package/dist/components/time-series/time-series-cache.service.js +1 -1
  996. package/dist/components/time-series/time-series.component.js +1 -1
  997. package/dist/components/time-series/time-series.controller.js +1 -1
  998. package/dist/components/time-series/time-series.js +1 -1
  999. package/dist/components/time-series/time-series.styles.js +1 -1
  1000. package/dist/components/toast/toast.component.d.ts +3 -3
  1001. package/dist/components/toast/toast.component.js +1 -1
  1002. package/dist/components/toast/toast.js +1 -1
  1003. package/dist/components/toggle/toggle.component.js +1 -1
  1004. package/dist/components/toggle/toggle.js +1 -1
  1005. package/dist/components/toggle/toggle.styles.js +1 -1
  1006. package/dist/components/tooltip/tooltip.component.js +1 -1
  1007. package/dist/components/tooltip/tooltip.js +1 -1
  1008. package/dist/components/tooltip/tooltip.styles.js +1 -1
  1009. package/dist/components/variable-combobox/variable-combobox.component.js +1 -1
  1010. package/dist/components/variable-combobox/variable-combobox.js +1 -1
  1011. package/dist/components/variable-combobox/variable-combobox.styles.js +1 -1
  1012. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +1 -1
  1013. package/dist/components/variable-keyword-search/variable-keyword-search.controller.js +1 -1
  1014. package/dist/components/variable-keyword-search/variable-keyword-search.js +1 -1
  1015. package/dist/components/variable-keyword-search/variable-keyword-search.styles.js +1 -1
  1016. package/dist/custom-elements.json +1107 -855
  1017. package/dist/lib/harmony/harmony.request.d.ts +11 -0
  1018. package/dist/react/accordion/index.js +1 -1
  1019. package/dist/react/alert/index.js +1 -1
  1020. package/dist/react/avatar/index.js +1 -1
  1021. package/dist/react/badge/index.js +1 -1
  1022. package/dist/react/banner/index.js +1 -1
  1023. package/dist/react/breadcrumb/index.d.ts +3 -3
  1024. package/dist/react/breadcrumb/index.js +1 -1
  1025. package/dist/react/breadcrumbs/index.js +1 -1
  1026. package/dist/react/browse-variables/index.js +1 -1
  1027. package/dist/react/button/index.js +1 -1
  1028. package/dist/react/button-group/index.js +1 -1
  1029. package/dist/react/caption/index.js +1 -1
  1030. package/dist/react/card/index.js +1 -1
  1031. package/dist/react/checkbox/index.js +1 -1
  1032. package/dist/react/chip/index.js +1 -1
  1033. package/dist/react/combobox/index.js +1 -1
  1034. package/dist/react/data-access/index.js +1 -1
  1035. package/dist/react/data-grid/index.js +1 -1
  1036. package/dist/react/data-rods/index.js +1 -1
  1037. package/dist/react/data-subsetter/index.js +1 -1
  1038. package/dist/react/data-subsetter-history/index.js +1 -1
  1039. package/dist/react/date-picker/index.js +1 -1
  1040. package/dist/react/date-range-slider/index.js +1 -1
  1041. package/dist/react/dialog/index.js +1 -1
  1042. package/dist/react/divider/index.js +1 -1
  1043. package/dist/react/dropdown/index.js +1 -1
  1044. package/dist/react/earthdata-login/index.js +1 -1
  1045. package/dist/react/file-upload/index.js +1 -1
  1046. package/dist/react/harmony-history/index.js +1 -1
  1047. package/dist/react/icon/index.js +1 -1
  1048. package/dist/react/index.d.ts +1 -1
  1049. package/dist/react/index.js +1 -1
  1050. package/dist/react/input/index.js +1 -1
  1051. package/dist/react/loader/index.js +1 -1
  1052. package/dist/react/login/index.js +1 -1
  1053. package/dist/react/map/index.js +1 -1
  1054. package/dist/react/menu/index.js +1 -1
  1055. package/dist/react/menu-item/index.js +1 -1
  1056. package/dist/react/option/index.d.ts +5 -0
  1057. package/dist/react/option/index.js +1 -1
  1058. package/dist/react/pagination/index.js +1 -1
  1059. package/dist/react/plot/index.js +1 -1
  1060. package/dist/react/plot-toolbar/index.js +1 -1
  1061. package/dist/react/popup/index.js +1 -1
  1062. package/dist/react/progress-bar/index.js +1 -1
  1063. package/dist/react/radio/index.js +1 -1
  1064. package/dist/react/radio-group/index.js +1 -1
  1065. package/dist/react/scroll-hint/index.d.ts +3 -0
  1066. package/dist/react/scroll-hint/index.js +1 -1
  1067. package/dist/react/select/index.js +1 -1
  1068. package/dist/react/site-header/index.js +1 -1
  1069. package/dist/react/site-navigation/index.js +1 -1
  1070. package/dist/react/skeleton/index.js +1 -1
  1071. package/dist/react/slider/index.js +1 -1
  1072. package/dist/react/spatial-picker/index.js +1 -1
  1073. package/dist/react/status-indicator/index.js +1 -1
  1074. package/dist/react/stepper/index.js +1 -1
  1075. package/dist/react/stepper-step/index.js +1 -1
  1076. package/dist/react/tab/index.js +1 -1
  1077. package/dist/react/tab-panel/index.js +1 -1
  1078. package/dist/react/tabs/index.d.ts +2 -2
  1079. package/dist/react/tabs/index.js +1 -1
  1080. package/dist/react/tag/index.js +1 -1
  1081. package/dist/react/textarea/index.js +1 -1
  1082. package/dist/react/time-average-map/index.js +1 -1
  1083. package/dist/react/time-series/index.js +1 -1
  1084. package/dist/react/toast/index.js +1 -1
  1085. package/dist/react/toggle/index.js +1 -1
  1086. package/dist/react/tooltip/index.js +1 -1
  1087. package/dist/react/variable-combobox/index.js +1 -1
  1088. package/dist/react/variable-keyword-search/index.js +1 -1
  1089. package/dist/terra-ui-components.js +1 -1
  1090. package/dist/terra_ui_components-0.0.191-py3-none-any.whl +0 -0
  1091. package/dist/terra_ui_components-0.0.191.tar.gz +0 -0
  1092. package/dist/themes/horizon.css +2054 -752
  1093. package/dist/themes/horizon.styles.js +2154 -772
  1094. package/dist/themes/terra-ui-tokens.css +526 -0
  1095. package/dist/themes/terra-ui-tokens.styles.d.ts +2 -0
  1096. package/dist/themes/terra-ui-tokens.styles.js +545 -0
  1097. package/dist/types/vue/index.d.ts +145 -120
  1098. package/dist/utilities/harmony.d.ts +11 -0
  1099. package/dist/utilities/harmony.js +1 -1
  1100. package/dist/utilities/variable-task.js +1 -1
  1101. package/dist/vscode.html-custom-data.json +72 -50
  1102. package/dist/web-types.json +210 -175
  1103. package/package.json +4 -1
  1104. package/cdn/chunks/chunk.2776TZBM.js +0 -36
  1105. package/cdn/chunks/chunk.2D5SX6OY.js +0 -19
  1106. package/cdn/chunks/chunk.2FW36TT7.js +0 -19
  1107. package/cdn/chunks/chunk.2GSFDUNV.js +0 -99
  1108. package/cdn/chunks/chunk.2LDOWI64.js +0 -368
  1109. package/cdn/chunks/chunk.2LRV6PFZ.js +0 -19
  1110. package/cdn/chunks/chunk.2LS3IY26.js +0 -155
  1111. package/cdn/chunks/chunk.2OCV6SZA.js +0 -161
  1112. package/cdn/chunks/chunk.2VKYOJL4.js +0 -1975
  1113. package/cdn/chunks/chunk.2XVRMJAS.js +0 -99
  1114. package/cdn/chunks/chunk.2ZGGJKA5.js +0 -136
  1115. package/cdn/chunks/chunk.32M5S4FK.js +0 -74
  1116. package/cdn/chunks/chunk.33KQGGPY.js +0 -19
  1117. package/cdn/chunks/chunk.33L4QLGD.js +0 -19
  1118. package/cdn/chunks/chunk.33N5EDSR.js +0 -29
  1119. package/cdn/chunks/chunk.34UNBAYL.js +0 -36
  1120. package/cdn/chunks/chunk.36G5VRI3.js +0 -433
  1121. package/cdn/chunks/chunk.3EMX5DBO.js +0 -34
  1122. package/cdn/chunks/chunk.3O53VKIY.js +0 -32
  1123. package/cdn/chunks/chunk.3ROE6CWZ.js +0 -278
  1124. package/cdn/chunks/chunk.3RQRUNDE.js +0 -454
  1125. package/cdn/chunks/chunk.3UQCWT7A.js +0 -29
  1126. package/cdn/chunks/chunk.3W7I7QRY.js +0 -29
  1127. package/cdn/chunks/chunk.3WMCCZLC.js +0 -48
  1128. package/cdn/chunks/chunk.42EUDXAT.js +0 -81
  1129. package/cdn/chunks/chunk.4PY5JZGZ.js +0 -33
  1130. package/cdn/chunks/chunk.4SQOYPQH.js +0 -32
  1131. package/cdn/chunks/chunk.4ZX6SR6Q.js +0 -29
  1132. package/cdn/chunks/chunk.55XGF4EE.js +0 -443
  1133. package/cdn/chunks/chunk.57ZIC75S.js +0 -100
  1134. package/cdn/chunks/chunk.5A5WAF27.js +0 -34
  1135. package/cdn/chunks/chunk.5MBJQDFX.js +0 -113
  1136. package/cdn/chunks/chunk.5PH4EI7K.js +0 -51
  1137. package/cdn/chunks/chunk.5PPGP4LG.js +0 -653
  1138. package/cdn/chunks/chunk.5SE6UY6E.js +0 -138
  1139. package/cdn/chunks/chunk.5T2GTQTE.js +0 -45
  1140. package/cdn/chunks/chunk.625EMDPI.js +0 -149
  1141. package/cdn/chunks/chunk.63EHQ5J2.js +0 -19
  1142. package/cdn/chunks/chunk.64CNKTGD.js +0 -34
  1143. package/cdn/chunks/chunk.67OHF3ZN.js +0 -276
  1144. package/cdn/chunks/chunk.67SKDESJ.js +0 -29
  1145. package/cdn/chunks/chunk.6GIJJLOI.js +0 -56075
  1146. package/cdn/chunks/chunk.6KCAZHJB.js +0 -33
  1147. package/cdn/chunks/chunk.6OD5MZH4.js +0 -19
  1148. package/cdn/chunks/chunk.72FZJG2J.js +0 -346
  1149. package/cdn/chunks/chunk.75BTHEBB.js +0 -29
  1150. package/cdn/chunks/chunk.7CDNU3JQ.js +0 -29
  1151. package/cdn/chunks/chunk.7DRUZWQ6.js +0 -283
  1152. package/cdn/chunks/chunk.7F54JUZ7.js +0 -19
  1153. package/cdn/chunks/chunk.7FNGGLIF.js +0 -158
  1154. package/cdn/chunks/chunk.7HASTBP5.js +0 -294
  1155. package/cdn/chunks/chunk.7TYDCIJM.js +0 -33
  1156. package/cdn/chunks/chunk.A36OV4FU.js +0 -493
  1157. package/cdn/chunks/chunk.AAWVBFIF.js +0 -29
  1158. package/cdn/chunks/chunk.ADNUIVJZ.js +0 -357
  1159. package/cdn/chunks/chunk.AH72ZH6E.js +0 -71
  1160. package/cdn/chunks/chunk.AK6SJZOX.js +0 -78
  1161. package/cdn/chunks/chunk.ANYXLONN.js +0 -19
  1162. package/cdn/chunks/chunk.AOEMB2QD.js +0 -2548
  1163. package/cdn/chunks/chunk.ARCCDKW4.js +0 -230
  1164. package/cdn/chunks/chunk.ARP7WT5X.js +0 -477
  1165. package/cdn/chunks/chunk.ASA25QZF.js +0 -264
  1166. package/cdn/chunks/chunk.AV6FQDNB.js +0 -29
  1167. package/cdn/chunks/chunk.B5V3WVB4.js +0 -19
  1168. package/cdn/chunks/chunk.BCP24EA2.js +0 -68
  1169. package/cdn/chunks/chunk.BDDHUP6E.js +0 -29
  1170. package/cdn/chunks/chunk.BF63Q643.js +0 -32
  1171. package/cdn/chunks/chunk.BVOLRNGU.js +0 -303
  1172. package/cdn/chunks/chunk.BYEGTGI4.js +0 -161
  1173. package/cdn/chunks/chunk.C72BFSML.js +0 -35
  1174. package/cdn/chunks/chunk.CCAAE2WU.js +0 -19
  1175. package/cdn/chunks/chunk.CH7RMTRQ.js +0 -19
  1176. package/cdn/chunks/chunk.CR4A7DWJ.js +0 -32
  1177. package/cdn/chunks/chunk.CXKVNGQ3.js +0 -123
  1178. package/cdn/chunks/chunk.CZE4FW4D.js +0 -29
  1179. package/cdn/chunks/chunk.CZQFFRGA.js +0 -134
  1180. package/cdn/chunks/chunk.DBCVSBEO.js +0 -241
  1181. package/cdn/chunks/chunk.DHAGDKO6.js +0 -19
  1182. package/cdn/chunks/chunk.DIIYIIF5.js +0 -36
  1183. package/cdn/chunks/chunk.DJ3344S2.js +0 -29
  1184. package/cdn/chunks/chunk.DLVJKN6A.js +0 -35
  1185. package/cdn/chunks/chunk.DOOLLPEM.js +0 -150
  1186. package/cdn/chunks/chunk.DS6KZBS2.js +0 -19
  1187. package/cdn/chunks/chunk.DTE2ZENS.js +0 -29
  1188. package/cdn/chunks/chunk.E2A74T5K.js +0 -19
  1189. package/cdn/chunks/chunk.EBOKZ3YG.js +0 -151
  1190. package/cdn/chunks/chunk.EBPCFK5G.js +0 -29
  1191. package/cdn/chunks/chunk.EKEP2B6Z.js +0 -19
  1192. package/cdn/chunks/chunk.ENYTWPRR.js +0 -32
  1193. package/cdn/chunks/chunk.ESPPVTQR.js +0 -19
  1194. package/cdn/chunks/chunk.EVHHX7WU.js +0 -60
  1195. package/cdn/chunks/chunk.EVNKP5MB.js +0 -35
  1196. package/cdn/chunks/chunk.EW5LEHBY.js +0 -188
  1197. package/cdn/chunks/chunk.F3PALOOP.js +0 -124
  1198. package/cdn/chunks/chunk.F7O6F6E5.js +0 -19
  1199. package/cdn/chunks/chunk.FAB5WAB5.js +0 -19
  1200. package/cdn/chunks/chunk.FI6CLZSE.js +0 -234
  1201. package/cdn/chunks/chunk.FZO3SZDE.js +0 -37
  1202. package/cdn/chunks/chunk.FZVQRPES.js +0 -599
  1203. package/cdn/chunks/chunk.GCKMTUVR.js +0 -891
  1204. package/cdn/chunks/chunk.GDWBZOBS.js +0 -377
  1205. package/cdn/chunks/chunk.GEYQHVH4.js +0 -32
  1206. package/cdn/chunks/chunk.GGV5PNJO.js +0 -29
  1207. package/cdn/chunks/chunk.GPEB7NPL.js +0 -19
  1208. package/cdn/chunks/chunk.GPQPCP6B.js +0 -1060
  1209. package/cdn/chunks/chunk.GRESODRO.js +0 -668
  1210. package/cdn/chunks/chunk.GUBRVZJ5.js +0 -19
  1211. package/cdn/chunks/chunk.GV2MTBTD.js +0 -19
  1212. package/cdn/chunks/chunk.GWVXU5WI.js +0 -108
  1213. package/cdn/chunks/chunk.H352AKS2.js +0 -99
  1214. package/cdn/chunks/chunk.H6JVWTL5.js +0 -29
  1215. package/cdn/chunks/chunk.H7CEASKV.js +0 -353
  1216. package/cdn/chunks/chunk.HAM7CMN5.js +0 -113
  1217. package/cdn/chunks/chunk.HB44P3NR.js +0 -19
  1218. package/cdn/chunks/chunk.HCGS5ZUW.js +0 -75
  1219. package/cdn/chunks/chunk.HEPFWFIM.js +0 -33
  1220. package/cdn/chunks/chunk.HKVTDZJC.js +0 -32
  1221. package/cdn/chunks/chunk.HLZLS6AD.js +0 -915
  1222. package/cdn/chunks/chunk.HWXZA3LK.js +0 -2263
  1223. package/cdn/chunks/chunk.I34Z2XKH.js +0 -359
  1224. package/cdn/chunks/chunk.I6AHO3CH.js +0 -19
  1225. package/cdn/chunks/chunk.I6DYMQ4Z.js +0 -62
  1226. package/cdn/chunks/chunk.IAUBKTDP.js +0 -532
  1227. package/cdn/chunks/chunk.IBIKSO7M.js +0 -19
  1228. package/cdn/chunks/chunk.IG3TN754.js +0 -19
  1229. package/cdn/chunks/chunk.IOQCUXJH.js +0 -35
  1230. package/cdn/chunks/chunk.IWKYH5AT.js +0 -49
  1231. package/cdn/chunks/chunk.J2ILNOY2.js +0 -19
  1232. package/cdn/chunks/chunk.J3QSB5Y5.js +0 -32
  1233. package/cdn/chunks/chunk.JBCHYRTD.js +0 -132
  1234. package/cdn/chunks/chunk.JGWWXZVG.js +0 -231
  1235. package/cdn/chunks/chunk.JQLYS6LE.js +0 -19
  1236. package/cdn/chunks/chunk.JYIYNY6J.js +0 -19
  1237. package/cdn/chunks/chunk.K24YCJRJ.js +0 -29
  1238. package/cdn/chunks/chunk.K3KNTJPS.js +0 -19
  1239. package/cdn/chunks/chunk.K4WPRGZF.js +0 -29
  1240. package/cdn/chunks/chunk.KB7V2AEK.js +0 -19
  1241. package/cdn/chunks/chunk.KCCENGUL.js +0 -29
  1242. package/cdn/chunks/chunk.KCKH5DSG.js +0 -19
  1243. package/cdn/chunks/chunk.KEIEBUKD.js +0 -19
  1244. package/cdn/chunks/chunk.KNUKVURG.js +0 -196
  1245. package/cdn/chunks/chunk.KQD2C6MA.js +0 -19
  1246. package/cdn/chunks/chunk.KQZCVDQH.js +0 -9741
  1247. package/cdn/chunks/chunk.L6HRXNHQ.js +0 -19
  1248. package/cdn/chunks/chunk.LB4C4HCX.js +0 -19
  1249. package/cdn/chunks/chunk.LBHEG35U.js +0 -121
  1250. package/cdn/chunks/chunk.LGYKACLK.js +0 -154
  1251. package/cdn/chunks/chunk.LKQVUPFX.js +0 -104
  1252. package/cdn/chunks/chunk.LPKSQA35.js +0 -135
  1253. package/cdn/chunks/chunk.LYDY6B23.js +0 -538
  1254. package/cdn/chunks/chunk.MHC5RLRR.js +0 -19
  1255. package/cdn/chunks/chunk.MJOYRLAB.js +0 -110
  1256. package/cdn/chunks/chunk.MKLPD5KB.js +0 -610
  1257. package/cdn/chunks/chunk.MV7KNTAC.js +0 -37
  1258. package/cdn/chunks/chunk.MW6MBMIL.js +0 -19
  1259. package/cdn/chunks/chunk.N37X7ATZ.js +0 -19
  1260. package/cdn/chunks/chunk.NBTBBAOL.js +0 -330
  1261. package/cdn/chunks/chunk.ND3745YQ.js +0 -94
  1262. package/cdn/chunks/chunk.NRJY7E2F.js +0 -19
  1263. package/cdn/chunks/chunk.NV6F2ES7.js +0 -32
  1264. package/cdn/chunks/chunk.OEEK7IGM.js +0 -247
  1265. package/cdn/chunks/chunk.OIXADKW2.js +0 -186
  1266. package/cdn/chunks/chunk.OMTYWSYF.js +0 -37
  1267. package/cdn/chunks/chunk.OPUVFDAO.js +0 -19
  1268. package/cdn/chunks/chunk.OQZR2P7I.js +0 -233
  1269. package/cdn/chunks/chunk.OUEOCMNS.js +0 -524
  1270. package/cdn/chunks/chunk.OUXEEEZS.js +0 -306
  1271. package/cdn/chunks/chunk.P2CXMHO4.js +0 -86
  1272. package/cdn/chunks/chunk.PDRCVYFY.js +0 -19
  1273. package/cdn/chunks/chunk.PE5ZUS2B.js +0 -551
  1274. package/cdn/chunks/chunk.PH2O6XVK.js +0 -19
  1275. package/cdn/chunks/chunk.PITZPGGL.js +0 -110
  1276. package/cdn/chunks/chunk.PKKB23XS.js +0 -29
  1277. package/cdn/chunks/chunk.PKYNLOZN.js +0 -29
  1278. package/cdn/chunks/chunk.PMD3UQTU.js +0 -109
  1279. package/cdn/chunks/chunk.POZMT5EQ.js +0 -39
  1280. package/cdn/chunks/chunk.PQYRW3AK.js +0 -19
  1281. package/cdn/chunks/chunk.PUEPKT5N.js +0 -19
  1282. package/cdn/chunks/chunk.PVAHSXRP.js +0 -29
  1283. package/cdn/chunks/chunk.PW4LIB3L.js +0 -662
  1284. package/cdn/chunks/chunk.Q3FRXA74.js +0 -138
  1285. package/cdn/chunks/chunk.QCZUWUCV.js +0 -205
  1286. package/cdn/chunks/chunk.QD3F4QKR.js +0 -29
  1287. package/cdn/chunks/chunk.QGWK5PB4.js +0 -63
  1288. package/cdn/chunks/chunk.QHVIKOR5.js +0 -29
  1289. package/cdn/chunks/chunk.QOHUVWMU.js +0 -33
  1290. package/cdn/chunks/chunk.QOQQFIUV.js +0 -259
  1291. package/cdn/chunks/chunk.QUMVPWZB.js +0 -32
  1292. package/cdn/chunks/chunk.R7ERSW6F.js +0 -19
  1293. package/cdn/chunks/chunk.RHS5HT6N.js +0 -310
  1294. package/cdn/chunks/chunk.RKDNJ3MP.js +0 -29
  1295. package/cdn/chunks/chunk.RWGG5FYE.js +0 -83
  1296. package/cdn/chunks/chunk.RXNHTBGP.js +0 -30
  1297. package/cdn/chunks/chunk.S22MVSUA.js +0 -19
  1298. package/cdn/chunks/chunk.SGQ2T6Z3.js +0 -19
  1299. package/cdn/chunks/chunk.SIDJ3RQH.js +0 -92
  1300. package/cdn/chunks/chunk.SISTE6BF.js +0 -170
  1301. package/cdn/chunks/chunk.SKG5CDYE.js +0 -445
  1302. package/cdn/chunks/chunk.SP3MVXEA.js +0 -352
  1303. package/cdn/chunks/chunk.SWTZZAZI.js +0 -32
  1304. package/cdn/chunks/chunk.SYRH26GY.js +0 -82
  1305. package/cdn/chunks/chunk.T4I4VRRJ.js +0 -60
  1306. package/cdn/chunks/chunk.T4XII4KL.js +0 -93
  1307. package/cdn/chunks/chunk.T5I5QNNK.js +0 -41
  1308. package/cdn/chunks/chunk.T7ECAV5Y.js +0 -19
  1309. package/cdn/chunks/chunk.TAAWU3EX.js +0 -293
  1310. package/cdn/chunks/chunk.TCL3QXAV.js +0 -19
  1311. package/cdn/chunks/chunk.TFUUG5A2.js +0 -189
  1312. package/cdn/chunks/chunk.TH5MPCAO.js +0 -19
  1313. package/cdn/chunks/chunk.TN5QLNA7.js +0 -29
  1314. package/cdn/chunks/chunk.TRMVYTDG.js +0 -68
  1315. package/cdn/chunks/chunk.TS4YRMTZ.js +0 -1259
  1316. package/cdn/chunks/chunk.TSXJLTWJ.js +0 -77
  1317. package/cdn/chunks/chunk.TUVVQZGO.js +0 -29
  1318. package/cdn/chunks/chunk.TVA2ZP4B.js +0 -201
  1319. package/cdn/chunks/chunk.UIQ3SQSD.js +0 -658
  1320. package/cdn/chunks/chunk.UKREJQKJ.js +0 -304
  1321. package/cdn/chunks/chunk.UQRLCEWR.js +0 -224
  1322. package/cdn/chunks/chunk.UT6WJQIC.js +0 -36
  1323. package/cdn/chunks/chunk.UTWCMYYE.js +0 -151
  1324. package/cdn/chunks/chunk.V2QBQWJQ.js +0 -128
  1325. package/cdn/chunks/chunk.V3UUPZU3.js +0 -19
  1326. package/cdn/chunks/chunk.V6KTRM2O.js +0 -19
  1327. package/cdn/chunks/chunk.VICFKGQG.js +0 -277
  1328. package/cdn/chunks/chunk.VMXVUQWV.js +0 -32
  1329. package/cdn/chunks/chunk.VNZVRLU5.js +0 -32
  1330. package/cdn/chunks/chunk.VUUMTBGD.js +0 -19
  1331. package/cdn/chunks/chunk.VZKWHZO7.js +0 -29
  1332. package/cdn/chunks/chunk.W73G5VKJ.js +0 -294
  1333. package/cdn/chunks/chunk.WJUMS7JO.js +0 -19
  1334. package/cdn/chunks/chunk.WSEI73Q6.js +0 -32
  1335. package/cdn/chunks/chunk.WY7DNQ55.js +0 -616
  1336. package/cdn/chunks/chunk.XIAGYEOU.js +0 -29
  1337. package/cdn/chunks/chunk.XNVTWWZQ.js +0 -47
  1338. package/cdn/chunks/chunk.XPZE3KH3.js +0 -512
  1339. package/cdn/chunks/chunk.XVZSTKYE.js +0 -33
  1340. package/cdn/chunks/chunk.XWFTM3O5.js +0 -172
  1341. package/cdn/chunks/chunk.XWVU42RQ.js +0 -904
  1342. package/cdn/chunks/chunk.XZSCJSLV.js +0 -190
  1343. package/cdn/chunks/chunk.Y6U5CVXF.js +0 -539
  1344. package/cdn/chunks/chunk.YFMBAZ43.js +0 -123
  1345. package/cdn/chunks/chunk.YGA6VAV4.js +0 -373
  1346. package/cdn/chunks/chunk.YH43G25T.js +0 -19
  1347. package/cdn/chunks/chunk.YKK65M4L.js +0 -35
  1348. package/cdn/chunks/chunk.YNIY33OW.js +0 -103
  1349. package/cdn/chunks/chunk.YNVAOTNM.js +0 -128
  1350. package/cdn/chunks/chunk.YQXMPDBV.js +0 -135
  1351. package/cdn/chunks/chunk.YUHBNYOP.js +0 -19
  1352. package/cdn/chunks/chunk.YUTFIZDX.js +0 -19
  1353. package/cdn/chunks/chunk.YX2HWNCK.js +0 -156
  1354. package/cdn/chunks/chunk.YXZOGCU6.js +0 -19
  1355. package/cdn/chunks/chunk.Z2SC4DOK.js +0 -214
  1356. package/cdn/chunks/chunk.Z3ZKS4SJ.js +0 -19
  1357. package/cdn/chunks/chunk.Z4RDFRQC.js +0 -29
  1358. package/cdn/chunks/chunk.ZCSM4M54.js +0 -83
  1359. package/cdn/chunks/chunk.ZD3FMD3W.js +0 -19
  1360. package/cdn/chunks/chunk.ZFPU4UCJ.js +0 -1194
  1361. package/cdn/chunks/chunk.ZM6WMVSY.js +0 -235
  1362. package/cdn/chunks/chunk.ZNHBBBRJ.js +0 -338
  1363. package/cdn/chunks/chunk.ZRSODLLG.js +0 -19
  1364. package/cdn/chunks/chunk.ZS2NFAQK.js +0 -68
  1365. package/cdn/chunks/chunk.ZWDE3KI6.js +0 -19
  1366. package/dist/chunks/chunk.22BRGHPK.js +0 -1
  1367. package/dist/chunks/chunk.2BKQXNED.js +0 -134
  1368. package/dist/chunks/chunk.2KKW4ULV.js +0 -9
  1369. package/dist/chunks/chunk.2N7FYGRG.js +0 -55
  1370. package/dist/chunks/chunk.2NIAMZEQ.js +0 -280
  1371. package/dist/chunks/chunk.32TDAXC6.js +0 -118
  1372. package/dist/chunks/chunk.3DLKYRQO.js +0 -1
  1373. package/dist/chunks/chunk.3EDA2HZU.js +0 -266
  1374. package/dist/chunks/chunk.3G6QKB5Z.js +0 -58
  1375. package/dist/chunks/chunk.3JIMAXOF.js +0 -91
  1376. package/dist/chunks/chunk.3KW6HXTS.js +0 -1
  1377. package/dist/chunks/chunk.3M75I3KM.js +0 -1
  1378. package/dist/chunks/chunk.3QJKE2MF.js +0 -1
  1379. package/dist/chunks/chunk.3QK7ZTDU.js +0 -1
  1380. package/dist/chunks/chunk.3SHXSEIG.js +0 -1
  1381. package/dist/chunks/chunk.3YUBQVYS.js +0 -137
  1382. package/dist/chunks/chunk.43F6G3ZK.js +0 -12
  1383. package/dist/chunks/chunk.45OBC3RF.js +0 -1
  1384. package/dist/chunks/chunk.4ANGUZ4V.js +0 -760
  1385. package/dist/chunks/chunk.4GASB6JU.js +0 -47
  1386. package/dist/chunks/chunk.4H7EP4CT.js +0 -428
  1387. package/dist/chunks/chunk.4N2PGK74.js +0 -1
  1388. package/dist/chunks/chunk.4QKM67MZ.js +0 -55
  1389. package/dist/chunks/chunk.4V7RXLNV.js +0 -1
  1390. package/dist/chunks/chunk.4WAJP4K2.js +0 -1
  1391. package/dist/chunks/chunk.53STBH4W.js +0 -99
  1392. package/dist/chunks/chunk.5BK2I4LX.js +0 -1
  1393. package/dist/chunks/chunk.5DJZVQFX.js +0 -1
  1394. package/dist/chunks/chunk.5DVFWG6G.js +0 -356
  1395. package/dist/chunks/chunk.5G52R2HZ.js +0 -51
  1396. package/dist/chunks/chunk.5G5Y67KH.js +0 -1
  1397. package/dist/chunks/chunk.5ONHFAOY.js +0 -127
  1398. package/dist/chunks/chunk.5QCOVSPS.js +0 -1
  1399. package/dist/chunks/chunk.5RD2UPC2.js +0 -1
  1400. package/dist/chunks/chunk.5TO6BEJT.js +0 -154
  1401. package/dist/chunks/chunk.5VLOJF2E.js +0 -1
  1402. package/dist/chunks/chunk.6ADJ4PRH.js +0 -1
  1403. package/dist/chunks/chunk.6B7OCJVX.js +0 -1
  1404. package/dist/chunks/chunk.6CDWO62X.js +0 -25
  1405. package/dist/chunks/chunk.6MZNDD4E.js +0 -1
  1406. package/dist/chunks/chunk.6VRE7YNG.js +0 -216
  1407. package/dist/chunks/chunk.6WC2KYW6.js +0 -1
  1408. package/dist/chunks/chunk.6XOXE5R4.js +0 -1
  1409. package/dist/chunks/chunk.732HEJ5G.js +0 -1
  1410. package/dist/chunks/chunk.73PN6C22.js +0 -8
  1411. package/dist/chunks/chunk.747MVCTY.js +0 -1
  1412. package/dist/chunks/chunk.74DHYOSH.js +0 -16
  1413. package/dist/chunks/chunk.762BAHYJ.js +0 -1
  1414. package/dist/chunks/chunk.7A77QAWN.js +0 -1
  1415. package/dist/chunks/chunk.7JZVKWGI.js +0 -60
  1416. package/dist/chunks/chunk.7SZWBDLB.js +0 -8
  1417. package/dist/chunks/chunk.7W27XF6C.js +0 -218
  1418. package/dist/chunks/chunk.7XVQ23TB.js +0 -20
  1419. package/dist/chunks/chunk.A6IX672L.js +0 -23
  1420. package/dist/chunks/chunk.ABAXOVN4.js +0 -1
  1421. package/dist/chunks/chunk.ACPZYKOT.js +0 -155
  1422. package/dist/chunks/chunk.AF4QNCOQ.js +0 -1
  1423. package/dist/chunks/chunk.AZOOIJ42.js +0 -1
  1424. package/dist/chunks/chunk.AZY6OSOU.js +0 -1
  1425. package/dist/chunks/chunk.BCG7UZFL.js +0 -1
  1426. package/dist/chunks/chunk.BDX5EXNF.js +0 -1
  1427. package/dist/chunks/chunk.BGSMQKHD.js +0 -1
  1428. package/dist/chunks/chunk.BI74DLP2.js +0 -1
  1429. package/dist/chunks/chunk.BKGRXBHT.js +0 -230
  1430. package/dist/chunks/chunk.BM6R6HEQ.js +0 -1
  1431. package/dist/chunks/chunk.BPWSBJXN.js +0 -1
  1432. package/dist/chunks/chunk.BRKMQBPQ.js +0 -1
  1433. package/dist/chunks/chunk.BSPOI4SL.js +0 -1
  1434. package/dist/chunks/chunk.BXEWZ5NZ.js +0 -1
  1435. package/dist/chunks/chunk.C4LZBKVA.js +0 -1
  1436. package/dist/chunks/chunk.C5LWPU5E.js +0 -1
  1437. package/dist/chunks/chunk.C7ILTTDA.js +0 -495
  1438. package/dist/chunks/chunk.CCCXTHI3.js +0 -1
  1439. package/dist/chunks/chunk.CDK47RSY.js +0 -1
  1440. package/dist/chunks/chunk.CIWVH54V.js +0 -260
  1441. package/dist/chunks/chunk.CKYOQNKY.js +0 -112
  1442. package/dist/chunks/chunk.COZW2VLJ.js +0 -37
  1443. package/dist/chunks/chunk.CR5WNYRG.js +0 -1
  1444. package/dist/chunks/chunk.CV2D3MDN.js +0 -93
  1445. package/dist/chunks/chunk.D2E3AGD3.js +0 -1
  1446. package/dist/chunks/chunk.D2RABCGS.js +0 -1
  1447. package/dist/chunks/chunk.D5TZBZD5.js +0 -1
  1448. package/dist/chunks/chunk.D6BNW3QR.js +0 -39
  1449. package/dist/chunks/chunk.DAEIABQT.js +0 -11
  1450. package/dist/chunks/chunk.DDA45A3M.js +0 -1
  1451. package/dist/chunks/chunk.DG5FN5RW.js +0 -1
  1452. package/dist/chunks/chunk.DHAH5XA2.js +0 -1
  1453. package/dist/chunks/chunk.DISVMH23.js +0 -157
  1454. package/dist/chunks/chunk.DP2KMN7P.js +0 -27
  1455. package/dist/chunks/chunk.DZ7UG2F5.js +0 -1
  1456. package/dist/chunks/chunk.EEWHJT32.js +0 -636
  1457. package/dist/chunks/chunk.EP7VZEIL.js +0 -197
  1458. package/dist/chunks/chunk.ETZ3NVNS.js +0 -1
  1459. package/dist/chunks/chunk.EVVTIG6L.js +0 -38
  1460. package/dist/chunks/chunk.EXLLCE4F.js +0 -1
  1461. package/dist/chunks/chunk.EZ4CCCGD.js +0 -1
  1462. package/dist/chunks/chunk.FE55OR4D.js +0 -11
  1463. package/dist/chunks/chunk.FHGZMWWR.js +0 -569
  1464. package/dist/chunks/chunk.FL6IFTRN.js +0 -34
  1465. package/dist/chunks/chunk.FLO6X7XY.js +0 -1
  1466. package/dist/chunks/chunk.FSXR22U4.js +0 -1
  1467. package/dist/chunks/chunk.FUBFGPC6.js +0 -1
  1468. package/dist/chunks/chunk.FVJ262GN.js +0 -26
  1469. package/dist/chunks/chunk.FVQP4755.js +0 -1
  1470. package/dist/chunks/chunk.FWKWP67R.js +0 -1
  1471. package/dist/chunks/chunk.FXWQVSJ5.js +0 -1
  1472. package/dist/chunks/chunk.G6S5J4QR.js +0 -1
  1473. package/dist/chunks/chunk.GC65YHL2.js +0 -1
  1474. package/dist/chunks/chunk.GE7UDDDW.js +0 -1
  1475. package/dist/chunks/chunk.GH5NAVUP.js +0 -1
  1476. package/dist/chunks/chunk.GJVXVS2L.js +0 -1
  1477. package/dist/chunks/chunk.GPLXNCZD.js +0 -1
  1478. package/dist/chunks/chunk.GS2KQS2O.js +0 -1
  1479. package/dist/chunks/chunk.GW4N5NMQ.js +0 -48
  1480. package/dist/chunks/chunk.GXTFJZWR.js +0 -351
  1481. package/dist/chunks/chunk.GZHNKDYV.js +0 -5
  1482. package/dist/chunks/chunk.H2ISCJTL.js +0 -31
  1483. package/dist/chunks/chunk.H4T3OVKK.js +0 -9
  1484. package/dist/chunks/chunk.H72HCUBF.js +0 -30
  1485. package/dist/chunks/chunk.HMQ6AVL5.js +0 -20
  1486. package/dist/chunks/chunk.HNHFL2TJ.js +0 -4
  1487. package/dist/chunks/chunk.HSZIRSOU.js +0 -1
  1488. package/dist/chunks/chunk.HV6QLPPC.js +0 -115
  1489. package/dist/chunks/chunk.HWKWUNSU.js +0 -1
  1490. package/dist/chunks/chunk.IADS5BOJ.js +0 -1
  1491. package/dist/chunks/chunk.INFADWTG.js +0 -12
  1492. package/dist/chunks/chunk.ISDVCAIV.js +0 -121
  1493. package/dist/chunks/chunk.IT5QPTVP.js +0 -1
  1494. package/dist/chunks/chunk.IWAFTLM6.js +0 -6
  1495. package/dist/chunks/chunk.JFHCWT4W.js +0 -1
  1496. package/dist/chunks/chunk.JGF6PLCQ.js +0 -1
  1497. package/dist/chunks/chunk.JXE6DOO5.js +0 -16
  1498. package/dist/chunks/chunk.K63TORTJ.js +0 -1
  1499. package/dist/chunks/chunk.K6XBKXAN.js +0 -1
  1500. package/dist/chunks/chunk.KAEEI4RX.js +0 -121
  1501. package/dist/chunks/chunk.KD7N7AMY.js +0 -1
  1502. package/dist/chunks/chunk.KGZZ7BN3.js +0 -289
  1503. package/dist/chunks/chunk.KJB4OVGG.js +0 -329
  1504. package/dist/chunks/chunk.KRY24B2Z.js +0 -1
  1505. package/dist/chunks/chunk.KVCUA7LO.js +0 -64
  1506. package/dist/chunks/chunk.KVOQBYGN.js +0 -1
  1507. package/dist/chunks/chunk.KXA6CEPI.js +0 -1043
  1508. package/dist/chunks/chunk.L4SK2TLU.js +0 -1
  1509. package/dist/chunks/chunk.L4WMFOWF.js +0 -133
  1510. package/dist/chunks/chunk.L6DEDPXY.js +0 -1
  1511. package/dist/chunks/chunk.LBIIVWW5.js +0 -43
  1512. package/dist/chunks/chunk.LBM5XPU4.js +0 -1
  1513. package/dist/chunks/chunk.LDU4AKLR.js +0 -80
  1514. package/dist/chunks/chunk.LI2HFPDW.js +0 -1
  1515. package/dist/chunks/chunk.LKTMYDWF.js +0 -65
  1516. package/dist/chunks/chunk.LKXXVI4Z.js +0 -1
  1517. package/dist/chunks/chunk.LLYICQ3I.js +0 -1
  1518. package/dist/chunks/chunk.LOZM5BQY.js +0 -1
  1519. package/dist/chunks/chunk.LZJMP2IH.js +0 -1
  1520. package/dist/chunks/chunk.M24MU27S.js +0 -82
  1521. package/dist/chunks/chunk.M3LSV2L2.js +0 -1
  1522. package/dist/chunks/chunk.MB4C6V3E.js +0 -1
  1523. package/dist/chunks/chunk.MJJLSP6W.js +0 -1
  1524. package/dist/chunks/chunk.MR2JD62K.js +0 -437
  1525. package/dist/chunks/chunk.MRTCOKNC.js +0 -1
  1526. package/dist/chunks/chunk.MVTWXXOU.js +0 -55
  1527. package/dist/chunks/chunk.N3M3JKLK.js +0 -43
  1528. package/dist/chunks/chunk.NDUS2RXB.js +0 -1157
  1529. package/dist/chunks/chunk.NJJQM5C3.js +0 -1
  1530. package/dist/chunks/chunk.NP2QG5W4.js +0 -51
  1531. package/dist/chunks/chunk.NQVEUXL6.js +0 -33
  1532. package/dist/chunks/chunk.NXQIU6P3.js +0 -1
  1533. package/dist/chunks/chunk.NYTSAYQK.js +0 -1
  1534. package/dist/chunks/chunk.NZ2EQTLJ.js +0 -1
  1535. package/dist/chunks/chunk.OGUZRHPV.js +0 -1
  1536. package/dist/chunks/chunk.OIUVQPNF.js +0 -287
  1537. package/dist/chunks/chunk.OYBSEYPZ.js +0 -1
  1538. package/dist/chunks/chunk.P46NR7KP.js +0 -1
  1539. package/dist/chunks/chunk.P63DPIJU.js +0 -1
  1540. package/dist/chunks/chunk.PEED65MP.js +0 -1
  1541. package/dist/chunks/chunk.PHECZWPN.js +0 -1
  1542. package/dist/chunks/chunk.PHFUHMVR.js +0 -1
  1543. package/dist/chunks/chunk.PJ2G5T64.js +0 -144
  1544. package/dist/chunks/chunk.POWG2UAA.js +0 -24
  1545. package/dist/chunks/chunk.Q6OOHGEL.js +0 -1
  1546. package/dist/chunks/chunk.QJXHVHUE.js +0 -1
  1547. package/dist/chunks/chunk.QN3OROIN.js +0 -1
  1548. package/dist/chunks/chunk.QPGWXBDE.js +0 -1
  1549. package/dist/chunks/chunk.QTKURYUK.js +0 -22
  1550. package/dist/chunks/chunk.QWA7A24D.js +0 -1
  1551. package/dist/chunks/chunk.QZWCO7EF.js +0 -321
  1552. package/dist/chunks/chunk.R2OHE7HN.js +0 -30
  1553. package/dist/chunks/chunk.R4D7NLOS.js +0 -651
  1554. package/dist/chunks/chunk.R6WV2N24.js +0 -14
  1555. package/dist/chunks/chunk.REK2YOIL.js +0 -92
  1556. package/dist/chunks/chunk.RJQHOG2X.js +0 -41
  1557. package/dist/chunks/chunk.RK65WAF3.js +0 -1
  1558. package/dist/chunks/chunk.RM5CVLJ5.js +0 -336
  1559. package/dist/chunks/chunk.RNXKFNZR.js +0 -2
  1560. package/dist/chunks/chunk.RO3WH6XA.js +0 -5
  1561. package/dist/chunks/chunk.RTLSYYOV.js +0 -1
  1562. package/dist/chunks/chunk.S2PCMKSI.js +0 -1
  1563. package/dist/chunks/chunk.S4RCYOEQ.js +0 -1
  1564. package/dist/chunks/chunk.S7A7A2RY.js +0 -19
  1565. package/dist/chunks/chunk.SCHKMVSG.js +0 -1
  1566. package/dist/chunks/chunk.SGYAG5AA.js +0 -1
  1567. package/dist/chunks/chunk.SP3UPMOR.js +0 -1
  1568. package/dist/chunks/chunk.SRDW6MAE.js +0 -111
  1569. package/dist/chunks/chunk.SUBBVKKD.js +0 -104
  1570. package/dist/chunks/chunk.SZRGGBY6.js +0 -1
  1571. package/dist/chunks/chunk.T3CPQA7I.js +0 -1
  1572. package/dist/chunks/chunk.TCK6T4I4.js +0 -1
  1573. package/dist/chunks/chunk.TEQGNCP7.js +0 -35
  1574. package/dist/chunks/chunk.THZY3VWC.js +0 -1
  1575. package/dist/chunks/chunk.TQAGOK63.js +0 -1
  1576. package/dist/chunks/chunk.TTKHV2GM.js +0 -1
  1577. package/dist/chunks/chunk.UERLTUAQ.js +0 -1
  1578. package/dist/chunks/chunk.UHM5JVWJ.js +0 -1
  1579. package/dist/chunks/chunk.UTOGQKV2.js +0 -74
  1580. package/dist/chunks/chunk.V2GVDWLK.js +0 -1
  1581. package/dist/chunks/chunk.V6EUGRCS.js +0 -35
  1582. package/dist/chunks/chunk.V7BEQRN2.js +0 -1
  1583. package/dist/chunks/chunk.VAMI3B42.js +0 -1
  1584. package/dist/chunks/chunk.VAXYZ4SE.js +0 -1
  1585. package/dist/chunks/chunk.VBWCZJEU.js +0 -1
  1586. package/dist/chunks/chunk.VCNZQ7NJ.js +0 -1
  1587. package/dist/chunks/chunk.VENMBB5D.js +0 -184
  1588. package/dist/chunks/chunk.VH2NGJBY.js +0 -1
  1589. package/dist/chunks/chunk.VIUGVQUV.js +0 -75
  1590. package/dist/chunks/chunk.VTJ5EGW5.js +0 -1
  1591. package/dist/chunks/chunk.VVIJEPPA.js +0 -1
  1592. package/dist/chunks/chunk.VYBWO7SD.js +0 -1
  1593. package/dist/chunks/chunk.VZE3UO3Z.js +0 -1
  1594. package/dist/chunks/chunk.VZX3SFGZ.js +0 -139
  1595. package/dist/chunks/chunk.W2BB76HP.js +0 -83
  1596. package/dist/chunks/chunk.WKSLTTNO.js +0 -300
  1597. package/dist/chunks/chunk.WM7B3QR6.js +0 -100
  1598. package/dist/chunks/chunk.WR22TB5Y.js +0 -106
  1599. package/dist/chunks/chunk.WUOLVIQC.js +0 -1
  1600. package/dist/chunks/chunk.WUXQQDAX.js +0 -142
  1601. package/dist/chunks/chunk.X3VNH3FV.js +0 -17
  1602. package/dist/chunks/chunk.XB6CN5V2.js +0 -1
  1603. package/dist/chunks/chunk.XCYS7JCG.js +0 -1
  1604. package/dist/chunks/chunk.XDXUBCG2.js +0 -1
  1605. package/dist/chunks/chunk.XFV3KUL3.js +0 -145
  1606. package/dist/chunks/chunk.XGR6WAN6.js +0 -20
  1607. package/dist/chunks/chunk.XKEIKTUK.js +0 -1
  1608. package/dist/chunks/chunk.XOVNQUHQ.js +0 -1
  1609. package/dist/chunks/chunk.XSYOLGVD.js +0 -64
  1610. package/dist/chunks/chunk.XUMIQ6PT.js +0 -1
  1611. package/dist/chunks/chunk.XUNRCLPX.js +0 -1
  1612. package/dist/chunks/chunk.XWET63TO.js +0 -188
  1613. package/dist/chunks/chunk.XXRS27ZW.js +0 -1
  1614. package/dist/chunks/chunk.Y5H2TOCQ.js +0 -1
  1615. package/dist/chunks/chunk.Y6NILSJN.js +0 -1
  1616. package/dist/chunks/chunk.YAY2IVKW.js +0 -1
  1617. package/dist/chunks/chunk.YBNON3LE.js +0 -26
  1618. package/dist/chunks/chunk.YCV3LAZ3.js +0 -1
  1619. package/dist/chunks/chunk.YDDI4ELW.js +0 -299
  1620. package/dist/chunks/chunk.YJBD2LTH.js +0 -122
  1621. package/dist/chunks/chunk.YOTATNV6.js +0 -62
  1622. package/dist/chunks/chunk.YZOJBYJJ.js +0 -132
  1623. package/dist/chunks/chunk.Z47EAJ4R.js +0 -66
  1624. package/dist/chunks/chunk.Z7X7B53H.js +0 -67
  1625. package/dist/chunks/chunk.ZCRZRTLN.js +0 -1
  1626. package/dist/chunks/chunk.ZG36K3OR.js +0 -1
  1627. package/dist/chunks/chunk.ZXSLGF4Q.js +0 -86
  1628. package/dist/terra_ui_components-0.0.188-py3-none-any.whl +0 -0
  1629. package/dist/terra_ui_components-0.0.188.tar.gz +0 -0
@@ -0,0 +1,2546 @@
1
+ import {
2
+ date_picker_styles_default
3
+ } from "./chunk.MQZHN2NY.js";
4
+ import {
5
+ TerraDropdown
6
+ } from "./chunk.24INYUDF.js";
7
+ import {
8
+ TerraInput
9
+ } from "./chunk.UZPINX4J.js";
10
+ import {
11
+ e as e2,
12
+ n as n2
13
+ } from "./chunk.LRZIT4M2.js";
14
+ import {
15
+ isValid
16
+ } from "./chunk.7NJYVBGM.js";
17
+ import {
18
+ TerraButton
19
+ } from "./chunk.XVNO5RTC.js";
20
+ import {
21
+ TerraElement,
22
+ component_styles_default,
23
+ e,
24
+ n,
25
+ r
26
+ } from "./chunk.4MXAJRHY.js";
27
+ import {
28
+ A,
29
+ b
30
+ } from "./chunk.RRCYT4LP.js";
31
+ import {
32
+ __decorateClass,
33
+ init_buffer,
34
+ init_dirname,
35
+ init_process
36
+ } from "./chunk.ZEOVK2FE.js";
37
+
38
+ // src/components/date-picker/date-picker.component.ts
39
+ init_dirname();
40
+ init_buffer();
41
+ init_process();
42
+ var TerraDatePicker = class extends TerraElement {
43
+ constructor() {
44
+ super();
45
+ this.range = false;
46
+ this.hideLabel = false;
47
+ this.label = "Select Date";
48
+ this.helpText = "";
49
+ this.startHelpText = "";
50
+ this.endHelpText = "";
51
+ this.showPresets = false;
52
+ this.presets = [];
53
+ this.enableTime = false;
54
+ this.inline = false;
55
+ this.splitInputs = false;
56
+ this.placeholder = "Select Date";
57
+ this.startPlaceholder = "Start Date";
58
+ this.endPlaceholder = "End Date";
59
+ this.role = "group";
60
+ this.ariaLabel = "Date picker";
61
+ this.hideClearAll = false;
62
+ this.clearAllLabel = "Clear Dates";
63
+ this.useEndOfDay = true;
64
+ this.showClose = false;
65
+ this.twelveHour = false;
66
+ this.isOpen = false;
67
+ this.leftMonth = /* @__PURE__ */ new Date();
68
+ this.rightMonth = /* @__PURE__ */ new Date();
69
+ this.selectedStart = null;
70
+ this.selectedEnd = null;
71
+ this.hoverDate = null;
72
+ this.isSelectingRange = false;
73
+ this.showLeftMonthDropdown = false;
74
+ this.showRightMonthDropdown = false;
75
+ this.startHour = 0;
76
+ this.startMinute = 0;
77
+ this.startSecond = 0;
78
+ this.endHour = 23;
79
+ this.endMinute = 59;
80
+ this.endSecond = 59;
81
+ this.selectedDates = {
82
+ startDate: (/* @__PURE__ */ new Date()).toString(),
83
+ endDate: (/* @__PURE__ */ new Date()).toString()
84
+ };
85
+ this.dropdownRef = e2();
86
+ this.DAYS = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"];
87
+ this.MONTHS = [
88
+ "January",
89
+ "February",
90
+ "March",
91
+ "April",
92
+ "May",
93
+ "June",
94
+ "July",
95
+ "August",
96
+ "September",
97
+ "October",
98
+ "November",
99
+ "December"
100
+ ];
101
+ this.initializePresets();
102
+ }
103
+ getDefaultEndHour() {
104
+ return this.useEndOfDay ? 23 : 0;
105
+ }
106
+ getDefaultEndMinute() {
107
+ return this.useEndOfDay ? 59 : 0;
108
+ }
109
+ getDefaultEndSecond() {
110
+ return this.useEndOfDay ? 59 : 0;
111
+ }
112
+ /**
113
+ * Get the display timezone offset in minutes relative to UTC for a given reference date.
114
+ * Returns a positive value for timezones ahead of UTC (e.g. Asia/Kolkata = +330),
115
+ * and a negative value for timezones behind UTC (e.g. America/New_York EST = -300).
116
+ * Returns 0 if no timezone is configured or if the identifier is invalid.
117
+ */
118
+ getTimezoneOffsetMinutes(ref) {
119
+ if (!this.timezone)
120
+ return 0;
121
+ try {
122
+ const fmt = new Intl.DateTimeFormat("en-US", {
123
+ timeZone: this.timezone,
124
+ year: "numeric",
125
+ month: "numeric",
126
+ day: "numeric",
127
+ hour: "numeric",
128
+ minute: "numeric",
129
+ second: "numeric",
130
+ hour12: false
131
+ });
132
+ const parts = fmt.formatToParts(ref);
133
+ const get = (type) => {
134
+ var _a, _b;
135
+ return parseInt((_b = (_a = parts.find((p) => p.type === type)) == null ? void 0 : _a.value) != null ? _b : "0", 10);
136
+ };
137
+ const tzYear = get("year");
138
+ const tzMonth = get("month");
139
+ const tzDay = get("day");
140
+ const tzHour = get("hour") % 24;
141
+ const tzMinute = get("minute");
142
+ const tzSecond = get("second");
143
+ const tzAsIfUtc = Date.UTC(
144
+ tzYear,
145
+ tzMonth - 1,
146
+ tzDay,
147
+ tzHour,
148
+ tzMinute,
149
+ tzSecond
150
+ );
151
+ return Math.round((tzAsIfUtc - ref.getTime()) / 6e4);
152
+ } catch (e3) {
153
+ return 0;
154
+ }
155
+ }
156
+ /**
157
+ * Convert UTC time components to display time in the configured timezone.
158
+ * When no timezone is set, returns the input values unchanged.
159
+ */
160
+ getDisplayTimeComponents(utcH, utcM, utcS, ref) {
161
+ if (!this.timezone || !ref)
162
+ return { hour: utcH, minute: utcM, second: utcS };
163
+ const offsetMinutes = this.getTimezoneOffsetMinutes(ref);
164
+ let totalMinutes = utcH * 60 + utcM + offsetMinutes;
165
+ totalMinutes = (totalMinutes % 1440 + 1440) % 1440;
166
+ return {
167
+ hour: Math.floor(totalMinutes / 60),
168
+ minute: totalMinutes % 60,
169
+ second: utcS
170
+ };
171
+ }
172
+ /**
173
+ * Convert display time (in the configured timezone) back to UTC time components.
174
+ * When no timezone is set, returns the input values unchanged.
175
+ */
176
+ getUtcTimeFromDisplay(dispH, dispM, dispS, ref) {
177
+ if (!this.timezone || !ref)
178
+ return { hour: dispH, minute: dispM, second: dispS };
179
+ const offsetMinutes = this.getTimezoneOffsetMinutes(ref);
180
+ let totalMinutes = dispH * 60 + dispM - offsetMinutes;
181
+ totalMinutes = (totalMinutes % 1440 + 1440) % 1440;
182
+ return {
183
+ hour: Math.floor(totalMinutes / 60),
184
+ minute: totalMinutes % 60,
185
+ second: dispS
186
+ };
187
+ }
188
+ /** Convert a 24-hour value to 12-hour with AM/PM period. */
189
+ to12Hour(hour24) {
190
+ const period = hour24 < 12 ? "AM" : "PM";
191
+ const hour = hour24 % 12 || 12;
192
+ return { hour, period };
193
+ }
194
+ /** Convert a 12-hour value with AM/PM period to 24-hour. */
195
+ to24Hour(hour12, period) {
196
+ if (period === "AM") {
197
+ return hour12 === 12 ? 0 : hour12;
198
+ } else {
199
+ return hour12 === 12 ? 12 : hour12 + 12;
200
+ }
201
+ }
202
+ /** Toggle the AM/PM period for the start or end time picker. */
203
+ togglePeriod(isStart) {
204
+ const utcH = isStart ? this.startHour : this.endHour;
205
+ const utcM = isStart ? this.startMinute : this.endMinute;
206
+ const utcS = isStart ? this.startSecond : this.endSecond;
207
+ const ref = isStart ? this.selectedStart : this.selectedEnd;
208
+ const display = this.getDisplayTimeComponents(utcH, utcM, utcS, ref);
209
+ const d12 = this.to12Hour(display.hour);
210
+ const newPeriod = d12.period === "AM" ? "PM" : "AM";
211
+ const newDisplayH = this.to24Hour(d12.hour, newPeriod);
212
+ const utc = this.getUtcTimeFromDisplay(
213
+ newDisplayH,
214
+ display.minute,
215
+ display.second,
216
+ ref
217
+ );
218
+ if (isStart) {
219
+ this.startHour = utc.hour;
220
+ this.startMinute = utc.minute;
221
+ this.startSecond = utc.second;
222
+ } else {
223
+ this.endHour = utc.hour;
224
+ this.endMinute = utc.minute;
225
+ this.endSecond = utc.second;
226
+ }
227
+ this.emitChange();
228
+ this.requestUpdate();
229
+ }
230
+ /**
231
+ * Parse a date string (YYYY-MM-DD or ISO datetime) as a local date, avoiding timezone issues.
232
+ * When you do `new Date("2024-03-20")`, JavaScript interprets it as UTC midnight,
233
+ * which can cause off-by-one day errors when using getDate() in local timezone.
234
+ * This function parses the date as a local date instead.
235
+ *
236
+ * When enableTime is true, datetime strings are parsed as UTC to match API min/max dates.
237
+ */
238
+ parseLocalDate(dateString) {
239
+ const dateOnlyPattern = /^\d{4}-\d{2}-\d{2}$/;
240
+ if (dateOnlyPattern.test(dateString)) {
241
+ const [year, month, day] = dateString.split("-").map(Number);
242
+ if (this.enableTime) {
243
+ return new Date(Date.UTC(year, month - 1, day, 0, 0, 0));
244
+ }
245
+ return new Date(year, month - 1, day);
246
+ }
247
+ const dateTimePattern = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/;
248
+ if (dateTimePattern.test(dateString)) {
249
+ const [datePart, timePart] = dateString.split("T");
250
+ const [year, month, day] = datePart.split("-").map(Number);
251
+ const [hours, minutes, seconds] = timePart.split(":").map(Number);
252
+ return new Date(Date.UTC(year, month - 1, day, hours, minutes, seconds));
253
+ }
254
+ return new Date(dateString);
255
+ }
256
+ /**
257
+ * Check if two dates are in the same calendar month and year
258
+ */
259
+ isSameMonth(date1, date2) {
260
+ if (this.enableTime) {
261
+ return date1.getUTCFullYear() === date2.getUTCFullYear() && date1.getUTCMonth() === date2.getUTCMonth();
262
+ }
263
+ return date1.getFullYear() === date2.getFullYear() && date1.getMonth() === date2.getMonth();
264
+ }
265
+ /**
266
+ * Check if a date's month/year matches a given month Date
267
+ */
268
+ isDateInMonth(date, monthDate) {
269
+ if (this.enableTime) {
270
+ return date.getUTCFullYear() === monthDate.getUTCFullYear() && date.getUTCMonth() === monthDate.getUTCMonth();
271
+ }
272
+ return date.getFullYear() === monthDate.getFullYear() && date.getMonth() === monthDate.getMonth();
273
+ }
274
+ getBounds() {
275
+ const min = this.minDate ? this.parseLocalDate(this.minDate) : void 0;
276
+ const max = this.maxDate ? this.parseLocalDate(this.maxDate) : void 0;
277
+ return { min, max };
278
+ }
279
+ doesRangeOverlapBounds(range) {
280
+ const { startDate, endDate } = range;
281
+ const { min, max } = this.getBounds();
282
+ if (!this.range) {
283
+ if (!startDate)
284
+ return false;
285
+ if (min && startDate < min)
286
+ return false;
287
+ if (max && startDate > max)
288
+ return false;
289
+ return true;
290
+ }
291
+ const start = startDate != null ? startDate : /* @__PURE__ */ new Date(-864e13);
292
+ const end = endDate != null ? endDate : /* @__PURE__ */ new Date(864e13);
293
+ if (!min && !max)
294
+ return true;
295
+ const windowStart = min != null ? min : /* @__PURE__ */ new Date(-864e13);
296
+ const windowEnd = max != null ? max : /* @__PURE__ */ new Date(864e13);
297
+ return end >= windowStart && start <= windowEnd;
298
+ }
299
+ isPresetWithinBounds(range) {
300
+ return this.doesRangeOverlapBounds(range);
301
+ }
302
+ get filteredPresets() {
303
+ return (this.presets || []).filter(
304
+ (preset) => this.isPresetWithinBounds(preset.getValue())
305
+ );
306
+ }
307
+ open() {
308
+ this.isOpen = true;
309
+ if (this.maxDate && !this.selectedStart && !this.selectedEnd) {
310
+ const max = this.parseLocalDate(this.maxDate);
311
+ if (!isNaN(max.getTime())) {
312
+ if (this.range) {
313
+ this.rightMonth = new Date(max);
314
+ const left = new Date(max);
315
+ left.setMonth(left.getMonth() - 1);
316
+ this.leftMonth = left;
317
+ } else {
318
+ this.leftMonth = new Date(max);
319
+ }
320
+ }
321
+ }
322
+ if (!this.inline && this.dropdownRef.value) {
323
+ this.dropdownRef.value.show();
324
+ }
325
+ this.requestUpdate();
326
+ }
327
+ close() {
328
+ this.isOpen = false;
329
+ if (!this.inline && this.dropdownRef.value) {
330
+ this.dropdownRef.value.hide();
331
+ }
332
+ this.requestUpdate();
333
+ }
334
+ /**
335
+ * Clears the selected date(s) and resets the date picker to its initial state.
336
+ */
337
+ clear() {
338
+ this.selectedStart = null;
339
+ this.selectedEnd = null;
340
+ this.hoverDate = null;
341
+ this.isSelectingRange = false;
342
+ this.startHour = 0;
343
+ this.startMinute = 0;
344
+ this.startSecond = 0;
345
+ this.endHour = this.getDefaultEndHour();
346
+ this.endMinute = this.getDefaultEndMinute();
347
+ this.endSecond = this.getDefaultEndSecond();
348
+ this.clearInputValidation();
349
+ this.requestUpdate();
350
+ this.emitChange();
351
+ }
352
+ setOpen(open) {
353
+ if (open) {
354
+ this.open();
355
+ } else {
356
+ this.close();
357
+ }
358
+ }
359
+ willUpdate(changedProperties) {
360
+ super.willUpdate(changedProperties);
361
+ if (changedProperties.has("useEndOfDay")) {
362
+ this.endHour = this.getDefaultEndHour();
363
+ this.endMinute = this.getDefaultEndMinute();
364
+ this.endSecond = this.getDefaultEndSecond();
365
+ }
366
+ if (changedProperties.has("inline")) {
367
+ if (this.inline) {
368
+ this.isOpen = true;
369
+ if (this.dropdownRef.value) {
370
+ this.dropdownRef.value.hide();
371
+ }
372
+ }
373
+ }
374
+ if (changedProperties.has("minDate") || changedProperties.has("maxDate")) {
375
+ if (this.maxDate && !this.selectedStart && !this.selectedEnd) {
376
+ const max = this.parseLocalDate(this.maxDate);
377
+ if (!isNaN(max.getTime())) {
378
+ if (this.range) {
379
+ this.rightMonth = new Date(max);
380
+ const left = new Date(max);
381
+ left.setMonth(left.getMonth() - 1);
382
+ this.leftMonth = left;
383
+ } else {
384
+ this.leftMonth = new Date(max);
385
+ }
386
+ }
387
+ }
388
+ }
389
+ if (changedProperties.has("startDate") || changedProperties.has("endDate")) {
390
+ if (this.startDate) {
391
+ const start = this.parseLocalDate(this.startDate);
392
+ if (!isNaN(start.getTime())) {
393
+ this.selectedStart = start;
394
+ if (this.enableTime) {
395
+ this.initializeTimeFromDate(start, true);
396
+ }
397
+ }
398
+ } else {
399
+ this.selectedStart = null;
400
+ }
401
+ if (this.range) {
402
+ if (this.endDate) {
403
+ const end = this.parseLocalDate(this.endDate);
404
+ if (!isNaN(end.getTime())) {
405
+ this.selectedEnd = end;
406
+ if (this.enableTime) {
407
+ this.initializeTimeFromDate(end, false);
408
+ }
409
+ }
410
+ } else {
411
+ this.selectedEnd = null;
412
+ }
413
+ if (this.selectedStart && this.selectedEnd) {
414
+ const isSingleMonthRange = this.isSameMonth(
415
+ this.selectedStart,
416
+ this.selectedEnd
417
+ );
418
+ if (isSingleMonthRange) {
419
+ if (this.isDateInMonth(this.selectedStart, this.leftMonth)) {
420
+ this.leftMonth = new Date(this.selectedStart);
421
+ if (this.isDateInMonth(
422
+ this.selectedStart,
423
+ this.rightMonth
424
+ )) {
425
+ this.rightMonth = new Date(this.selectedStart);
426
+ this.rightMonth.setMonth(
427
+ this.rightMonth.getMonth() + 1
428
+ );
429
+ }
430
+ } else if (this.isDateInMonth(this.selectedStart, this.rightMonth)) {
431
+ this.rightMonth = new Date(this.selectedStart);
432
+ } else {
433
+ this.leftMonth = new Date(this.selectedStart);
434
+ }
435
+ } else {
436
+ this.leftMonth = new Date(this.selectedStart);
437
+ this.rightMonth = new Date(this.selectedEnd);
438
+ }
439
+ } else if (this.selectedStart) {
440
+ this.leftMonth = new Date(this.selectedStart);
441
+ this.rightMonth = new Date(this.leftMonth);
442
+ this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
443
+ }
444
+ } else {
445
+ if (this.selectedStart) {
446
+ this.leftMonth = new Date(this.selectedStart);
447
+ }
448
+ this.selectedEnd = null;
449
+ }
450
+ }
451
+ }
452
+ initializePresets() {
453
+ if (this.presets.length === 0) {
454
+ this.presets = [
455
+ {
456
+ label: "Today",
457
+ getValue: () => {
458
+ const today = /* @__PURE__ */ new Date();
459
+ return {
460
+ startDate: today,
461
+ endDate: this.range ? today : null
462
+ };
463
+ }
464
+ },
465
+ {
466
+ label: "Yesterday",
467
+ getValue: () => {
468
+ const yesterday = /* @__PURE__ */ new Date();
469
+ yesterday.setDate(yesterday.getDate() - 1);
470
+ return {
471
+ startDate: yesterday,
472
+ endDate: this.range ? yesterday : null
473
+ };
474
+ }
475
+ },
476
+ {
477
+ label: "Last 7 days",
478
+ getValue: () => {
479
+ const end = /* @__PURE__ */ new Date();
480
+ const start = /* @__PURE__ */ new Date();
481
+ start.setDate(start.getDate() - 6);
482
+ return { startDate: start, endDate: end };
483
+ }
484
+ },
485
+ {
486
+ label: "Last 30 days",
487
+ getValue: () => {
488
+ const end = /* @__PURE__ */ new Date();
489
+ const start = /* @__PURE__ */ new Date();
490
+ start.setDate(start.getDate() - 29);
491
+ return { startDate: start, endDate: end };
492
+ }
493
+ },
494
+ {
495
+ label: "Last 6 months",
496
+ getValue: () => {
497
+ const end = /* @__PURE__ */ new Date();
498
+ const start = /* @__PURE__ */ new Date();
499
+ start.setMonth(start.getMonth() - 6);
500
+ return { startDate: start, endDate: end };
501
+ }
502
+ },
503
+ {
504
+ label: "Last year",
505
+ getValue: () => {
506
+ const end = /* @__PURE__ */ new Date();
507
+ const start = /* @__PURE__ */ new Date();
508
+ start.setFullYear(start.getFullYear() - 1);
509
+ return { startDate: start, endDate: end };
510
+ }
511
+ },
512
+ {
513
+ label: "All time",
514
+ getValue: () => {
515
+ const { min, max } = this.getBounds();
516
+ return {
517
+ startDate: min || null,
518
+ endDate: max || null
519
+ };
520
+ }
521
+ }
522
+ ];
523
+ }
524
+ }
525
+ firstUpdated() {
526
+ const params = new URLSearchParams(window.location.search);
527
+ const timeStartParam = params.get("time_start") || this.startDate;
528
+ const timeEndParam = params.get("time_end") || this.endDate;
529
+ if (timeStartParam) {
530
+ this.selectedStart = this.parseLocalDate(timeStartParam);
531
+ this.leftMonth = new Date(this.selectedStart);
532
+ if (this.enableTime) {
533
+ this.initializeTimeFromDate(this.selectedStart, true);
534
+ }
535
+ }
536
+ if (this.range && timeEndParam) {
537
+ this.selectedEnd = this.parseLocalDate(timeEndParam);
538
+ if (this.enableTime) {
539
+ this.initializeTimeFromDate(this.selectedEnd, false);
540
+ }
541
+ if (this.selectedStart && this.selectedEnd) {
542
+ const isSingleMonthRange = this.isSameMonth(
543
+ this.selectedStart,
544
+ this.selectedEnd
545
+ );
546
+ if (isSingleMonthRange) {
547
+ this.rightMonth = new Date(this.selectedStart);
548
+ this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
549
+ } else {
550
+ this.rightMonth = new Date(this.selectedEnd);
551
+ }
552
+ } else if (this.selectedEnd) {
553
+ this.rightMonth = new Date(this.selectedEnd);
554
+ }
555
+ }
556
+ if (this.range && !timeEndParam) {
557
+ this.rightMonth = new Date(this.leftMonth);
558
+ this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
559
+ }
560
+ if (this.inline) {
561
+ this.isOpen = true;
562
+ }
563
+ }
564
+ disconnectedCallback() {
565
+ super.disconnectedCallback();
566
+ }
567
+ handleDropdownShow() {
568
+ this.isOpen = true;
569
+ }
570
+ handleDropdownHide() {
571
+ this.isOpen = false;
572
+ }
573
+ formatDisplayDate(date, isStart = true) {
574
+ if (!date)
575
+ return "";
576
+ const format = this.displayFormat || (this.enableTime ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD");
577
+ if (this.enableTime) {
578
+ const year2 = date.getUTCFullYear();
579
+ const month2 = String(date.getUTCMonth() + 1).padStart(2, "0");
580
+ const day2 = String(date.getUTCDate()).padStart(2, "0");
581
+ const display = this.getDisplayTimeComponents(
582
+ isStart ? this.startHour : this.endHour,
583
+ isStart ? this.startMinute : this.endMinute,
584
+ isStart ? this.startSecond : this.endSecond,
585
+ date
586
+ );
587
+ if (this.twelveHour && !this.displayFormat) {
588
+ const d12 = this.to12Hour(display.hour);
589
+ const hours2 = String(d12.hour).padStart(2, "0");
590
+ const minutes2 = String(display.minute).padStart(2, "0");
591
+ const seconds2 = String(display.second).padStart(2, "0");
592
+ return `${year2}-${month2}-${day2} ${hours2}:${minutes2}:${seconds2} ${d12.period}`;
593
+ }
594
+ const hours = String(display.hour).padStart(2, "0");
595
+ const minutes = String(display.minute).padStart(2, "0");
596
+ const seconds = String(display.second).padStart(2, "0");
597
+ const effectiveFormat = this.displayFormat || "YYYY-MM-DD HH:mm:ss";
598
+ return effectiveFormat.replace("YYYY", year2.toString()).replace("MM", month2).replace("DD", day2).replace("HH", hours).replace("mm", minutes).replace("ss", seconds);
599
+ }
600
+ const year = date.getFullYear();
601
+ const month = String(date.getMonth() + 1).padStart(2, "0");
602
+ const day = String(date.getDate()).padStart(2, "0");
603
+ return format.replace("YYYY", year.toString()).replace("MM", month).replace("DD", day);
604
+ }
605
+ getDisplayValue() {
606
+ if (this.range) {
607
+ if (this.selectedStart && this.selectedEnd) {
608
+ return `${this.formatDisplayDate(this.selectedStart, true)} \u2013 ${this.formatDisplayDate(this.selectedEnd, false)}`;
609
+ } else if (this.selectedStart) {
610
+ return this.formatDisplayDate(this.selectedStart, true);
611
+ }
612
+ return "";
613
+ } else {
614
+ return this.selectedStart ? this.formatDisplayDate(this.selectedStart, true) : "";
615
+ }
616
+ }
617
+ getStartDateDisplayValue() {
618
+ return this.selectedStart ? this.formatDisplayDate(this.selectedStart, true) : "";
619
+ }
620
+ getEndDateDisplayValue() {
621
+ return this.selectedEnd ? this.formatDisplayDate(this.selectedEnd, false) : "";
622
+ }
623
+ parseAndFormatDate(dateStr) {
624
+ const trimmed = dateStr.trim();
625
+ if (!trimmed)
626
+ return null;
627
+ const dateOnlyPattern = /^\d{4}-\d{2}-\d{2}$/;
628
+ const dateTimePattern = /^\d{4}-\d{2}-\d{2}[T\s]\d{1,2}:\d{2}(:\d{2})?(\s*(AM|PM))?$/i;
629
+ let date;
630
+ if (dateOnlyPattern.test(trimmed)) {
631
+ date = this.parseLocalDate(trimmed);
632
+ } else if (this.enableTime && dateTimePattern.test(trimmed)) {
633
+ const amPmMatch = trimmed.match(/\s*(AM|PM)$/i);
634
+ const amPm = amPmMatch ? amPmMatch[1].toUpperCase() : null;
635
+ const withoutAmPm = amPm ? trimmed.slice(0, -amPmMatch[0].length).trim() : trimmed;
636
+ const [datePart, timePart] = withoutAmPm.split(/[T\s]+/);
637
+ const [year, month, day] = datePart.split("-").map(Number);
638
+ const timeComponents = timePart.split(":").map(Number);
639
+ let hours = timeComponents[0] || 0;
640
+ const minutes = timeComponents[1] || 0;
641
+ const seconds = timeComponents[2] || 0;
642
+ if (amPm) {
643
+ hours = this.to24Hour(hours, amPm);
644
+ }
645
+ date = new Date(Date.UTC(year, month - 1, day, hours, minutes, seconds));
646
+ } else {
647
+ date = new Date(trimmed);
648
+ if (!isValid(date)) {
649
+ return null;
650
+ }
651
+ }
652
+ if (!isValid(date)) {
653
+ return null;
654
+ }
655
+ if (this.enableTime) {
656
+ if (dateOnlyPattern.test(trimmed)) {
657
+ return trimmed;
658
+ } else {
659
+ const utcYear = date.getUTCFullYear();
660
+ const utcMonth = date.getUTCMonth() + 1;
661
+ const utcDay = date.getUTCDate();
662
+ const utcHours = date.getUTCHours();
663
+ const utcMinutes = date.getUTCMinutes();
664
+ const utcSeconds = date.getUTCSeconds();
665
+ return `${utcYear}-${String(utcMonth).padStart(2, "0")}-${String(utcDay).padStart(2, "0")} ${String(utcHours).padStart(2, "0")}:${String(utcMinutes).padStart(2, "0")}:${String(utcSeconds).padStart(2, "0")}`;
666
+ }
667
+ } else {
668
+ const year = date.getFullYear();
669
+ const month = date.getMonth() + 1;
670
+ const day = date.getDate();
671
+ return `${year}-${String(month).padStart(2, "0")}-${String(day).padStart(2, "0")}`;
672
+ }
673
+ }
674
+ clearInputValidation() {
675
+ const inputs = this.renderRoot.querySelectorAll("terra-input");
676
+ inputs.forEach((input) => {
677
+ input.setCustomValidity("");
678
+ });
679
+ }
680
+ /**
681
+ * Format a date string for display in error messages
682
+ * When time is disabled, only show the date portion (YYYY-MM-DD)
683
+ */
684
+ formatDateForError(dateString) {
685
+ if (!this.enableTime) {
686
+ return dateString.split("T")[0];
687
+ }
688
+ return dateString;
689
+ }
690
+ /**
691
+ * Set validation error on input and emit invalid event
692
+ */
693
+ setInputValidationError(input, message) {
694
+ input.setCustomValidity(message);
695
+ requestAnimationFrame(() => {
696
+ ;
697
+ input.validationErrorMessage = message;
698
+ input.requestUpdate();
699
+ });
700
+ this.emit("terra-date-selection-invalid", {
701
+ detail: { message }
702
+ });
703
+ }
704
+ handleInputBlur(event) {
705
+ const input = event.target;
706
+ const value = input.value || "";
707
+ if (!value.trim()) {
708
+ this.selectedStart = null;
709
+ this.selectedEnd = null;
710
+ input.setCustomValidity("");
711
+ this.emitChange();
712
+ return;
713
+ }
714
+ if (this.range) {
715
+ const normalized = value.replace(/(\d{2})-(\d{4})/, "$1 - $2");
716
+ const parts = normalized.split(/\s*–\s*|\s+-\s+/);
717
+ if (parts.length !== 2) {
718
+ const message = "Date range must be in format: YYYY-MM-DD \u2013 YYYY-MM-DD";
719
+ this.setInputValidationError(input, message);
720
+ return;
721
+ }
722
+ const startFormatted = this.parseAndFormatDate(parts[0]);
723
+ const endFormatted = this.parseAndFormatDate(parts[1]);
724
+ if (!startFormatted) {
725
+ const message = "Invalid start date format";
726
+ this.setInputValidationError(input, message);
727
+ return;
728
+ }
729
+ if (!endFormatted) {
730
+ const message = "Invalid end date format";
731
+ this.setInputValidationError(input, message);
732
+ return;
733
+ }
734
+ let start;
735
+ let end;
736
+ if (this.enableTime && startFormatted.length > 10) {
737
+ const [sdp, stp] = startFormatted.split(/[T\s]+/);
738
+ const [sy, sm, sd] = sdp.split("-").map(Number);
739
+ const stc = stp.split(":").map(Number);
740
+ const sRefDate = new Date(Date.UTC(sy, sm - 1, sd));
741
+ const sUtc = this.getUtcTimeFromDisplay(
742
+ stc[0] || 0,
743
+ stc[1] || 0,
744
+ stc[2] || 0,
745
+ sRefDate
746
+ );
747
+ start = new Date(
748
+ Date.UTC(sy, sm - 1, sd, sUtc.hour, sUtc.minute, sUtc.second)
749
+ );
750
+ this.startHour = sUtc.hour;
751
+ this.startMinute = sUtc.minute;
752
+ this.startSecond = sUtc.second;
753
+ } else if (this.enableTime) {
754
+ const [year, month, day] = startFormatted.split("-").map(Number);
755
+ start = new Date(
756
+ Date.UTC(
757
+ year,
758
+ month - 1,
759
+ day,
760
+ this.startHour,
761
+ this.startMinute,
762
+ this.startSecond
763
+ )
764
+ );
765
+ } else {
766
+ start = this.parseLocalDate(startFormatted);
767
+ }
768
+ if (this.enableTime && endFormatted.length > 10) {
769
+ const [edp, etp] = endFormatted.split(/[T\s]+/);
770
+ const [ey, em, ed] = edp.split("-").map(Number);
771
+ const etc = etp.split(":").map(Number);
772
+ const eRefDate = new Date(Date.UTC(ey, em - 1, ed));
773
+ const eUtc = this.getUtcTimeFromDisplay(
774
+ etc[0] || 0,
775
+ etc[1] || 0,
776
+ etc[2] || 0,
777
+ eRefDate
778
+ );
779
+ end = new Date(
780
+ Date.UTC(ey, em - 1, ed, eUtc.hour, eUtc.minute, eUtc.second)
781
+ );
782
+ this.endHour = eUtc.hour;
783
+ this.endMinute = eUtc.minute;
784
+ this.endSecond = eUtc.second;
785
+ } else if (this.enableTime) {
786
+ const [year, month, day] = endFormatted.split("-").map(Number);
787
+ end = new Date(
788
+ Date.UTC(
789
+ year,
790
+ month - 1,
791
+ day,
792
+ this.endHour,
793
+ this.endMinute,
794
+ this.endSecond
795
+ )
796
+ );
797
+ } else {
798
+ end = this.parseLocalDate(endFormatted);
799
+ }
800
+ let finalStart = start;
801
+ let finalEnd = end;
802
+ if (start > end) {
803
+ finalStart = end;
804
+ finalEnd = start;
805
+ }
806
+ if (this.minDate) {
807
+ const min = this.parseLocalDate(this.minDate);
808
+ if (finalStart < min) {
809
+ const message = `Start date must be on or after ${this.formatDateForError(this.minDate)}`;
810
+ this.setInputValidationError(input, message);
811
+ return;
812
+ }
813
+ }
814
+ if (this.maxDate) {
815
+ const max = this.parseLocalDate(this.maxDate);
816
+ if (finalEnd > max) {
817
+ const message = `End date must be on or before ${this.formatDateForError(this.maxDate)}`;
818
+ this.setInputValidationError(input, message);
819
+ return;
820
+ }
821
+ }
822
+ this.selectedStart = finalStart;
823
+ this.selectedEnd = finalEnd;
824
+ this.updateMonthViews();
825
+ input.value = `${this.formatDisplayDate(finalStart, true)} \u2013 ${this.formatDisplayDate(finalEnd, false)}`;
826
+ input.setCustomValidity("");
827
+ this.emitChange();
828
+ } else {
829
+ const formatted = this.parseAndFormatDate(value);
830
+ if (!formatted) {
831
+ const message = "Invalid date format";
832
+ this.setInputValidationError(input, message);
833
+ return;
834
+ }
835
+ let date;
836
+ if (this.enableTime && formatted.length > 10) {
837
+ const [dp, tp] = formatted.split(/[T\s]+/);
838
+ const [y, mo, d] = dp.split("-").map(Number);
839
+ const tc = tp.split(":").map(Number);
840
+ const refDate = new Date(Date.UTC(y, mo - 1, d));
841
+ const utc = this.getUtcTimeFromDisplay(
842
+ tc[0] || 0,
843
+ tc[1] || 0,
844
+ tc[2] || 0,
845
+ refDate
846
+ );
847
+ date = new Date(
848
+ Date.UTC(y, mo - 1, d, utc.hour, utc.minute, utc.second)
849
+ );
850
+ this.startHour = utc.hour;
851
+ this.startMinute = utc.minute;
852
+ this.startSecond = utc.second;
853
+ } else if (this.enableTime) {
854
+ const [year, month, day] = formatted.split("-").map(Number);
855
+ date = new Date(
856
+ Date.UTC(
857
+ year,
858
+ month - 1,
859
+ day,
860
+ this.startHour,
861
+ this.startMinute,
862
+ this.startSecond
863
+ )
864
+ );
865
+ } else {
866
+ date = this.parseLocalDate(formatted);
867
+ }
868
+ if (this.minDate) {
869
+ const min = this.parseLocalDate(this.minDate);
870
+ if (date < min) {
871
+ const message = `Date must be on or after ${this.formatDateForError(this.minDate)}`;
872
+ this.setInputValidationError(input, message);
873
+ return;
874
+ }
875
+ }
876
+ if (this.maxDate) {
877
+ const max = this.parseLocalDate(this.maxDate);
878
+ if (date > max) {
879
+ const message = `Date must be on or before ${this.formatDateForError(this.maxDate)}`;
880
+ this.setInputValidationError(input, message);
881
+ return;
882
+ }
883
+ }
884
+ this.selectedStart = date;
885
+ this.selectedEnd = null;
886
+ this.updateMonthViews();
887
+ input.value = this.formatDisplayDate(date, true);
888
+ input.setCustomValidity("");
889
+ this.emitChange();
890
+ }
891
+ }
892
+ handleStartInputBlur(event) {
893
+ const input = event.target;
894
+ const value = input.value || "";
895
+ if (!value.trim()) {
896
+ this.selectedStart = null;
897
+ input.setCustomValidity("");
898
+ this.emitChange();
899
+ return;
900
+ }
901
+ const formatted = this.parseAndFormatDate(value);
902
+ if (!formatted) {
903
+ const message = "Invalid date format";
904
+ this.setInputValidationError(input, message);
905
+ return;
906
+ }
907
+ let date;
908
+ if (this.enableTime && formatted.length > 10) {
909
+ const [dp, tp] = formatted.split(/[T\s]+/);
910
+ const [y, mo, d] = dp.split("-").map(Number);
911
+ const tc = tp.split(":").map(Number);
912
+ const refDate = new Date(Date.UTC(y, mo - 1, d));
913
+ const utc = this.getUtcTimeFromDisplay(
914
+ tc[0] || 0,
915
+ tc[1] || 0,
916
+ tc[2] || 0,
917
+ refDate
918
+ );
919
+ date = new Date(Date.UTC(y, mo - 1, d, utc.hour, utc.minute, utc.second));
920
+ this.startHour = utc.hour;
921
+ this.startMinute = utc.minute;
922
+ this.startSecond = utc.second;
923
+ } else if (this.enableTime) {
924
+ const [year, month, day] = formatted.split("-").map(Number);
925
+ date = new Date(
926
+ Date.UTC(
927
+ year,
928
+ month - 1,
929
+ day,
930
+ this.startHour,
931
+ this.startMinute,
932
+ this.startSecond
933
+ )
934
+ );
935
+ } else {
936
+ date = this.parseLocalDate(formatted);
937
+ }
938
+ if (this.minDate) {
939
+ const min = this.parseLocalDate(this.minDate);
940
+ if (date < min) {
941
+ const message = `Date must be on or after ${this.formatDateForError(this.minDate)}`;
942
+ this.setInputValidationError(input, message);
943
+ return;
944
+ }
945
+ }
946
+ if (this.maxDate) {
947
+ const max = this.parseLocalDate(this.maxDate);
948
+ if (date > max) {
949
+ const message = `Date must be on or before ${this.formatDateForError(this.maxDate)}`;
950
+ this.setInputValidationError(input, message);
951
+ return;
952
+ }
953
+ }
954
+ if (this.selectedEnd && date > this.selectedEnd) {
955
+ const message = "Start date must be before end date";
956
+ this.setInputValidationError(input, message);
957
+ return;
958
+ }
959
+ this.selectedStart = date;
960
+ this.leftMonth = new Date(date);
961
+ input.value = this.formatDisplayDate(date, true);
962
+ input.setCustomValidity("");
963
+ this.emitChange();
964
+ }
965
+ handleEndInputBlur(event) {
966
+ const input = event.target;
967
+ const value = input.value || "";
968
+ if (!value.trim()) {
969
+ this.selectedEnd = null;
970
+ input.setCustomValidity("");
971
+ this.emitChange();
972
+ return;
973
+ }
974
+ const formatted = this.parseAndFormatDate(value);
975
+ if (!formatted) {
976
+ const message = "Invalid date format";
977
+ this.setInputValidationError(input, message);
978
+ return;
979
+ }
980
+ let date;
981
+ if (this.enableTime && formatted.length > 10) {
982
+ const [dp, tp] = formatted.split(/[T\s]+/);
983
+ const [y, mo, d] = dp.split("-").map(Number);
984
+ const tc = tp.split(":").map(Number);
985
+ const refDate = new Date(Date.UTC(y, mo - 1, d));
986
+ const utc = this.getUtcTimeFromDisplay(
987
+ tc[0] || 0,
988
+ tc[1] || 0,
989
+ tc[2] || 0,
990
+ refDate
991
+ );
992
+ date = new Date(Date.UTC(y, mo - 1, d, utc.hour, utc.minute, utc.second));
993
+ this.endHour = utc.hour;
994
+ this.endMinute = utc.minute;
995
+ this.endSecond = utc.second;
996
+ } else if (this.enableTime) {
997
+ const [year, month, day] = formatted.split("-").map(Number);
998
+ date = new Date(
999
+ Date.UTC(
1000
+ year,
1001
+ month - 1,
1002
+ day,
1003
+ this.endHour,
1004
+ this.endMinute,
1005
+ this.endSecond
1006
+ )
1007
+ );
1008
+ } else {
1009
+ date = this.parseLocalDate(formatted);
1010
+ }
1011
+ if (this.minDate) {
1012
+ const min = this.parseLocalDate(this.minDate);
1013
+ if (date < min) {
1014
+ const message = `Date must be on or after ${this.formatDateForError(this.minDate)}`;
1015
+ this.setInputValidationError(input, message);
1016
+ return;
1017
+ }
1018
+ }
1019
+ if (this.maxDate) {
1020
+ const max = this.parseLocalDate(this.maxDate);
1021
+ if (date > max) {
1022
+ const message = `Date must be on or before ${this.formatDateForError(this.maxDate)}`;
1023
+ this.setInputValidationError(input, message);
1024
+ return;
1025
+ }
1026
+ }
1027
+ if (this.selectedStart) {
1028
+ if (this.enableTime && this.isSameDay(date, this.selectedStart)) {
1029
+ const startTimeSeconds = this.startHour * 3600 + this.startMinute * 60 + this.startSecond;
1030
+ const endTimeSeconds = this.endHour * 3600 + this.endMinute * 60 + this.endSecond;
1031
+ if (endTimeSeconds < startTimeSeconds) {
1032
+ const message = "End time must be after start time when dates are the same";
1033
+ this.setInputValidationError(input, message);
1034
+ return;
1035
+ }
1036
+ } else if (date < this.selectedStart) {
1037
+ const message = "End date must be after start date";
1038
+ this.setInputValidationError(input, message);
1039
+ return;
1040
+ }
1041
+ }
1042
+ this.selectedEnd = date;
1043
+ if (this.selectedStart && this.isSameMonth(this.selectedStart, this.selectedEnd)) {
1044
+ this.rightMonth = new Date(this.selectedStart);
1045
+ this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
1046
+ } else {
1047
+ this.rightMonth = new Date(date);
1048
+ }
1049
+ input.value = this.formatDisplayDate(date, false);
1050
+ input.setCustomValidity("");
1051
+ this.emitChange();
1052
+ }
1053
+ updateMonthViews() {
1054
+ if (this.selectedStart) {
1055
+ this.leftMonth = new Date(this.selectedStart);
1056
+ if (this.range && this.selectedEnd) {
1057
+ if (this.isSameMonth(this.selectedStart, this.selectedEnd)) {
1058
+ this.rightMonth = new Date(this.selectedStart);
1059
+ this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
1060
+ } else {
1061
+ this.rightMonth = new Date(this.selectedEnd);
1062
+ }
1063
+ }
1064
+ }
1065
+ }
1066
+ handleKeydown(event) {
1067
+ if (event.key === " ") {
1068
+ event.stopPropagation();
1069
+ return;
1070
+ }
1071
+ if (event.key === "Enter") {
1072
+ event.preventDefault();
1073
+ this.handleInputBlur(event);
1074
+ }
1075
+ }
1076
+ previousMonth(isLeft) {
1077
+ if (isLeft) {
1078
+ const newMonth = new Date(this.leftMonth);
1079
+ newMonth.setMonth(newMonth.getMonth() - 1);
1080
+ this.leftMonth = newMonth;
1081
+ } else {
1082
+ const newMonth = new Date(this.rightMonth);
1083
+ newMonth.setMonth(newMonth.getMonth() - 1);
1084
+ this.rightMonth = newMonth;
1085
+ }
1086
+ }
1087
+ nextMonth(isLeft) {
1088
+ if (isLeft) {
1089
+ const newMonth = new Date(this.leftMonth);
1090
+ newMonth.setMonth(newMonth.getMonth() + 1);
1091
+ this.leftMonth = newMonth;
1092
+ } else {
1093
+ const newMonth = new Date(this.rightMonth);
1094
+ newMonth.setMonth(newMonth.getMonth() + 1);
1095
+ this.rightMonth = newMonth;
1096
+ }
1097
+ }
1098
+ toggleMonthDropdown(isLeft, event) {
1099
+ event.stopPropagation();
1100
+ if (isLeft) {
1101
+ this.showLeftMonthDropdown = !this.showLeftMonthDropdown;
1102
+ this.showRightMonthDropdown = false;
1103
+ } else {
1104
+ this.showRightMonthDropdown = !this.showRightMonthDropdown;
1105
+ this.showLeftMonthDropdown = false;
1106
+ }
1107
+ }
1108
+ selectMonth(month, isLeft) {
1109
+ if (isLeft) {
1110
+ const newMonth = new Date(this.leftMonth);
1111
+ newMonth.setDate(1);
1112
+ newMonth.setMonth(month);
1113
+ this.leftMonth = newMonth;
1114
+ this.showLeftMonthDropdown = false;
1115
+ } else {
1116
+ const newMonth = new Date(this.rightMonth);
1117
+ newMonth.setDate(1);
1118
+ newMonth.setMonth(month);
1119
+ this.rightMonth = newMonth;
1120
+ this.showRightMonthDropdown = false;
1121
+ }
1122
+ }
1123
+ changeYear(delta, isLeft) {
1124
+ if (isLeft) {
1125
+ const newMonth = new Date(this.leftMonth);
1126
+ newMonth.setFullYear(newMonth.getFullYear() + delta);
1127
+ this.leftMonth = newMonth;
1128
+ } else {
1129
+ const newMonth = new Date(this.rightMonth);
1130
+ newMonth.setFullYear(newMonth.getFullYear() + delta);
1131
+ this.rightMonth = newMonth;
1132
+ }
1133
+ }
1134
+ handleYearInput(event, isLeft) {
1135
+ const input = event.target;
1136
+ const year = parseInt(input.value, 10);
1137
+ if (!isNaN(year) && year >= 1900 && year <= 2100) {
1138
+ if (isLeft) {
1139
+ const newMonth = new Date(this.leftMonth);
1140
+ newMonth.setFullYear(year);
1141
+ this.leftMonth = newMonth;
1142
+ } else {
1143
+ const newMonth = new Date(this.rightMonth);
1144
+ newMonth.setFullYear(year);
1145
+ this.rightMonth = newMonth;
1146
+ }
1147
+ }
1148
+ }
1149
+ getDaysInMonth(date) {
1150
+ const year = date.getFullYear();
1151
+ const month = date.getMonth();
1152
+ const createDate = (y, m, d) => {
1153
+ if (this.enableTime) {
1154
+ return new Date(Date.UTC(y, m, d, 0, 0, 0));
1155
+ }
1156
+ return new Date(y, m, d);
1157
+ };
1158
+ const firstDay = createDate(year, month, 1);
1159
+ const lastDay = new Date(year, month + 1, 0);
1160
+ const days = [];
1161
+ const firstDayOfWeek = this.enableTime ? firstDay.getUTCDay() : firstDay.getDay();
1162
+ for (let i = firstDayOfWeek - 1; i >= 0; i--) {
1163
+ const day = createDate(year, month, -i);
1164
+ days.push(day);
1165
+ }
1166
+ for (let i = 1; i <= lastDay.getDate(); i++) {
1167
+ days.push(createDate(year, month, i));
1168
+ }
1169
+ const remainingDays = 7 - days.length % 7;
1170
+ if (remainingDays < 7) {
1171
+ for (let i = 1; i <= remainingDays; i++) {
1172
+ days.push(createDate(year, month + 1, i));
1173
+ }
1174
+ }
1175
+ return days;
1176
+ }
1177
+ isSameDay(date1, date2) {
1178
+ if (!date1 || !date2)
1179
+ return false;
1180
+ if (this.enableTime) {
1181
+ return date1.getUTCFullYear() === date2.getUTCFullYear() && date1.getUTCMonth() === date2.getUTCMonth() && date1.getUTCDate() === date2.getUTCDate();
1182
+ }
1183
+ return date1.getFullYear() === date2.getFullYear() && date1.getMonth() === date2.getMonth() && date1.getDate() === date2.getDate();
1184
+ }
1185
+ isInRange(date) {
1186
+ if (!this.selectedStart || !this.selectedEnd)
1187
+ return false;
1188
+ const time = date.getTime();
1189
+ return time >= this.selectedStart.getTime() && time <= this.selectedEnd.getTime();
1190
+ }
1191
+ isInHoverRange(date) {
1192
+ if (!this.range || !this.selectedStart || !this.hoverDate || this.selectedEnd)
1193
+ return false;
1194
+ const time = date.getTime();
1195
+ const start = Math.min(this.selectedStart.getTime(), this.hoverDate.getTime());
1196
+ const end = Math.max(this.selectedStart.getTime(), this.hoverDate.getTime());
1197
+ return time >= start && time <= end;
1198
+ }
1199
+ isDisabled(date) {
1200
+ if (this.minDate) {
1201
+ const min = this.parseLocalDate(this.minDate);
1202
+ const minMidnight = new Date(
1203
+ Date.UTC(min.getUTCFullYear(), min.getUTCMonth(), min.getUTCDate())
1204
+ );
1205
+ const dateMidnight = new Date(
1206
+ Date.UTC(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate())
1207
+ );
1208
+ if (dateMidnight < minMidnight)
1209
+ return true;
1210
+ }
1211
+ if (this.maxDate) {
1212
+ const max = this.parseLocalDate(this.maxDate);
1213
+ const maxMidnight = new Date(
1214
+ Date.UTC(max.getUTCFullYear(), max.getUTCMonth(), max.getUTCDate())
1215
+ );
1216
+ const dateMidnight = new Date(
1217
+ Date.UTC(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate())
1218
+ );
1219
+ if (dateMidnight > maxMidnight)
1220
+ return true;
1221
+ }
1222
+ return false;
1223
+ }
1224
+ selectDate(date) {
1225
+ if (this.isDisabled(date)) {
1226
+ this.emit("terra-date-selection-invalid", {
1227
+ detail: {
1228
+ message: `You are not allowed to select dates outside ${this.minDate} to ${this.maxDate}.`
1229
+ }
1230
+ });
1231
+ return;
1232
+ }
1233
+ this.clearInputValidation();
1234
+ if (this.range) {
1235
+ if (!this.selectedStart || this.selectedEnd) {
1236
+ this.selectedStart = date;
1237
+ this.selectedEnd = null;
1238
+ this.isSelectingRange = true;
1239
+ } else {
1240
+ if (date < this.selectedStart) {
1241
+ this.selectedEnd = this.selectedStart;
1242
+ this.selectedStart = date;
1243
+ } else {
1244
+ this.selectedEnd = date;
1245
+ }
1246
+ this.isSelectingRange = false;
1247
+ if (this.enableTime && this.selectedStart && this.selectedEnd && this.isSameDay(this.selectedStart, this.selectedEnd)) {
1248
+ const startTimeSeconds = this.startHour * 3600 + this.startMinute * 60 + this.startSecond;
1249
+ const endTimeSeconds = this.endHour * 3600 + this.endMinute * 60 + this.endSecond;
1250
+ if (endTimeSeconds < startTimeSeconds) {
1251
+ this.emit("terra-date-selection-invalid", {
1252
+ detail: {
1253
+ message: "End time is before start time. Please adjust the time values."
1254
+ }
1255
+ });
1256
+ }
1257
+ }
1258
+ this.emitChange();
1259
+ if (!this.inline) {
1260
+ this.isOpen = false;
1261
+ }
1262
+ }
1263
+ } else {
1264
+ this.selectedStart = date;
1265
+ this.selectedEnd = null;
1266
+ this.emitChange();
1267
+ if (!this.inline) {
1268
+ this.isOpen = false;
1269
+ }
1270
+ }
1271
+ }
1272
+ handleDateHover(date) {
1273
+ if (this.range && this.selectedStart && !this.selectedEnd) {
1274
+ this.hoverDate = date;
1275
+ }
1276
+ }
1277
+ selectPreset(preset) {
1278
+ const { startDate, endDate } = preset.getValue();
1279
+ if (!this.isPresetWithinBounds({ startDate, endDate })) {
1280
+ this.emit("terra-date-selection-invalid", {
1281
+ detail: {
1282
+ message: `The preset "${preset.label}" is not available within the allowed date range ${this.minDate} to ${this.maxDate}.`
1283
+ }
1284
+ });
1285
+ return;
1286
+ }
1287
+ this.clearInputValidation();
1288
+ const { min, max } = this.getBounds();
1289
+ if (this.range) {
1290
+ let s = startDate;
1291
+ let e3 = endDate;
1292
+ if (s && min && s < min)
1293
+ s = new Date(min);
1294
+ if (s && max && s > max)
1295
+ s = new Date(max);
1296
+ if (e3 && min && e3 < min)
1297
+ e3 = new Date(min);
1298
+ if (e3 && max && e3 > max)
1299
+ e3 = new Date(max);
1300
+ if (s && e3 && e3 < s) {
1301
+ const tmp = s;
1302
+ s = e3;
1303
+ e3 = tmp;
1304
+ }
1305
+ this.selectedStart = s;
1306
+ this.selectedEnd = e3;
1307
+ } else {
1308
+ let s = startDate;
1309
+ if (s && min && s < min)
1310
+ s = new Date(min);
1311
+ if (s && max && s > max)
1312
+ s = new Date(max);
1313
+ this.selectedStart = s;
1314
+ this.selectedEnd = null;
1315
+ }
1316
+ if (this.selectedStart) {
1317
+ this.leftMonth = new Date(this.selectedStart);
1318
+ if (this.range && this.selectedEnd) {
1319
+ this.rightMonth = new Date(this.selectedEnd);
1320
+ }
1321
+ }
1322
+ this.emitChange();
1323
+ if (!this.range && !this.inline) {
1324
+ this.isOpen = false;
1325
+ }
1326
+ }
1327
+ emitChange() {
1328
+ let startDateTime = "";
1329
+ let endDateTime = "";
1330
+ if (this.selectedStart) {
1331
+ if (this.enableTime) {
1332
+ const startDate = new Date(this.selectedStart);
1333
+ startDate.setUTCHours(
1334
+ this.startHour,
1335
+ this.startMinute,
1336
+ this.startSecond,
1337
+ 0
1338
+ );
1339
+ startDateTime = startDate.toISOString();
1340
+ } else {
1341
+ const year = this.selectedStart.getFullYear();
1342
+ const month = String(this.selectedStart.getMonth() + 1).padStart(
1343
+ 2,
1344
+ "0"
1345
+ );
1346
+ const day = String(this.selectedStart.getDate()).padStart(2, "0");
1347
+ startDateTime = `${year}-${month}-${day}`;
1348
+ }
1349
+ }
1350
+ if (this.selectedEnd) {
1351
+ if (this.enableTime) {
1352
+ const endDate = new Date(this.selectedEnd);
1353
+ endDate.setUTCHours(this.endHour, this.endMinute, this.endSecond, 0);
1354
+ endDateTime = endDate.toISOString();
1355
+ } else {
1356
+ const year = this.selectedEnd.getFullYear();
1357
+ const month = String(this.selectedEnd.getMonth() + 1).padStart(2, "0");
1358
+ const day = String(this.selectedEnd.getDate()).padStart(2, "0");
1359
+ endDateTime = `${year}-${month}-${day}`;
1360
+ }
1361
+ }
1362
+ this.emit("terra-date-range-change", {
1363
+ detail: {
1364
+ startDate: startDateTime,
1365
+ endDate: endDateTime
1366
+ }
1367
+ });
1368
+ }
1369
+ initializeTimeFromDate(date, isStart) {
1370
+ const hours = date.getUTCHours();
1371
+ const minutes = date.getUTCMinutes();
1372
+ const seconds = date.getUTCSeconds();
1373
+ if (isStart) {
1374
+ this.startHour = hours;
1375
+ this.startMinute = minutes;
1376
+ this.startSecond = seconds;
1377
+ } else {
1378
+ this.endHour = hours;
1379
+ this.endMinute = minutes;
1380
+ this.endSecond = seconds;
1381
+ }
1382
+ }
1383
+ changeTime(type, delta, isStart) {
1384
+ const utcH = isStart ? this.startHour : this.endHour;
1385
+ const utcM = isStart ? this.startMinute : this.endMinute;
1386
+ const utcS = isStart ? this.startSecond : this.endSecond;
1387
+ const ref = isStart ? this.selectedStart : this.selectedEnd;
1388
+ const display = this.getDisplayTimeComponents(utcH, utcM, utcS, ref);
1389
+ let newDisplayH = display.hour;
1390
+ let newDisplayM = display.minute;
1391
+ let newDisplayS = display.second;
1392
+ if (type === "hour") {
1393
+ if (this.twelveHour) {
1394
+ const d12 = this.to12Hour(display.hour);
1395
+ const newHour12 = ((d12.hour - 1 + delta) % 12 + 12) % 12 + 1;
1396
+ newDisplayH = this.to24Hour(newHour12, d12.period);
1397
+ } else {
1398
+ newDisplayH = ((display.hour + delta) % 24 + 24) % 24;
1399
+ }
1400
+ } else if (type === "minute") {
1401
+ newDisplayM = ((display.minute + delta) % 60 + 60) % 60;
1402
+ } else {
1403
+ newDisplayS = ((display.second + delta) % 60 + 60) % 60;
1404
+ }
1405
+ const utc = this.getUtcTimeFromDisplay(
1406
+ newDisplayH,
1407
+ newDisplayM,
1408
+ newDisplayS,
1409
+ ref
1410
+ );
1411
+ if (isStart) {
1412
+ this.startHour = utc.hour;
1413
+ this.startMinute = utc.minute;
1414
+ this.startSecond = utc.second;
1415
+ } else {
1416
+ this.endHour = utc.hour;
1417
+ this.endMinute = utc.minute;
1418
+ this.endSecond = utc.second;
1419
+ }
1420
+ this.emitChange();
1421
+ this.requestUpdate();
1422
+ }
1423
+ handleTimeInput(event, type, isStart) {
1424
+ const input = event.target;
1425
+ const value = parseInt(input.value, 10);
1426
+ const utcH = isStart ? this.startHour : this.endHour;
1427
+ const utcM = isStart ? this.startMinute : this.endMinute;
1428
+ const utcS = isStart ? this.startSecond : this.endSecond;
1429
+ const ref = isStart ? this.selectedStart : this.selectedEnd;
1430
+ const display = this.getDisplayTimeComponents(utcH, utcM, utcS, ref);
1431
+ const d12 = this.twelveHour ? this.to12Hour(display.hour) : null;
1432
+ let newDisplayH = display.hour;
1433
+ let newDisplayM = display.minute;
1434
+ let newDisplayS = display.second;
1435
+ if (type === "hour") {
1436
+ const min = this.twelveHour ? 1 : 0;
1437
+ const max = this.twelveHour ? 12 : 23;
1438
+ if (isNaN(value) || value < min || value > max) {
1439
+ input.value = (d12 ? d12.hour : display.hour).toString().padStart(2, "0");
1440
+ return;
1441
+ }
1442
+ newDisplayH = this.twelveHour ? this.to24Hour(value, d12.period) : value;
1443
+ } else if (type === "minute") {
1444
+ if (isNaN(value) || value < 0 || value >= 60) {
1445
+ input.value = display.minute.toString().padStart(2, "0");
1446
+ return;
1447
+ }
1448
+ newDisplayM = value;
1449
+ } else {
1450
+ if (isNaN(value) || value < 0 || value >= 60) {
1451
+ input.value = display.second.toString().padStart(2, "0");
1452
+ return;
1453
+ }
1454
+ newDisplayS = value;
1455
+ }
1456
+ const utc = this.getUtcTimeFromDisplay(
1457
+ newDisplayH,
1458
+ newDisplayM,
1459
+ newDisplayS,
1460
+ ref
1461
+ );
1462
+ if (isStart) {
1463
+ this.startHour = utc.hour;
1464
+ this.startMinute = utc.minute;
1465
+ this.startSecond = utc.second;
1466
+ } else {
1467
+ this.endHour = utc.hour;
1468
+ this.endMinute = utc.minute;
1469
+ this.endSecond = utc.second;
1470
+ }
1471
+ this.emitChange();
1472
+ this.requestUpdate();
1473
+ }
1474
+ renderCalendar(month, isLeft = true) {
1475
+ const days = this.getDaysInMonth(month);
1476
+ const currentMonth = month.getMonth();
1477
+ const showDropdown = isLeft ? this.showLeftMonthDropdown : this.showRightMonthDropdown;
1478
+ return b`
1479
+ <div class="calendar">
1480
+ <div class="calendar__header">
1481
+ <button
1482
+ type="button"
1483
+ class="calendar__nav"
1484
+ @click=${() => this.previousMonth(isLeft)}
1485
+ >
1486
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none">
1487
+ <path
1488
+ d="M10 12L6 8L10 4"
1489
+ stroke="currentColor"
1490
+ stroke-width="2"
1491
+ stroke-linecap="round"
1492
+ stroke-linejoin="round"
1493
+ />
1494
+ </svg>
1495
+ </button>
1496
+
1497
+ <div class="calendar__month-year">
1498
+ <div class="calendar__month-dropdown-wrapper">
1499
+ <button
1500
+ type="button"
1501
+ class="calendar__month-button"
1502
+ @click=${(e3) => this.toggleMonthDropdown(isLeft, e3)}
1503
+ >
1504
+ ${this.MONTHS[month.getMonth()]}
1505
+ <svg
1506
+ width="12"
1507
+ height="12"
1508
+ viewBox="0 0 12 12"
1509
+ fill="none"
1510
+ class="calendar__month-icon"
1511
+ >
1512
+ <path
1513
+ d="M3 5L6 8L9 5"
1514
+ stroke="currentColor"
1515
+ stroke-width="1.5"
1516
+ stroke-linecap="round"
1517
+ stroke-linejoin="round"
1518
+ />
1519
+ </svg>
1520
+ </button>
1521
+
1522
+ ${showDropdown ? b`
1523
+ <div class="calendar__month-dropdown">
1524
+ ${this.MONTHS.map(
1525
+ (monthName, index) => b`
1526
+ <button
1527
+ type="button"
1528
+ class="calendar__month-option ${index === month.getMonth() ? "calendar__month-option--selected" : ""}"
1529
+ @click=${() => this.selectMonth(
1530
+ index,
1531
+ isLeft
1532
+ )}
1533
+ >
1534
+ ${index === month.getMonth() ? b`
1535
+ <svg
1536
+ width="16"
1537
+ height="16"
1538
+ viewBox="0 0 16 16"
1539
+ fill="none"
1540
+ class="calendar__month-check"
1541
+ >
1542
+ <path
1543
+ d="M13 4L6 11L3 8"
1544
+ stroke="currentColor"
1545
+ stroke-width="2"
1546
+ stroke-linecap="round"
1547
+ stroke-linejoin="round"
1548
+ />
1549
+ </svg>
1550
+ ` : ""}
1551
+ ${monthName}
1552
+ </button>
1553
+ `
1554
+ )}
1555
+ </div>
1556
+ ` : ""}
1557
+ </div>
1558
+
1559
+ <div class="calendar__year-input-wrapper">
1560
+ <input
1561
+ type="number"
1562
+ class="calendar__year-input"
1563
+ .value=${month.getFullYear().toString()}
1564
+ @input=${(e3) => this.handleYearInput(e3, isLeft)}
1565
+ @blur=${(e3) => {
1566
+ const input = e3.target;
1567
+ input.value = month.getFullYear().toString();
1568
+ }}
1569
+ min="1900"
1570
+ max="2100"
1571
+ />
1572
+ <div class="calendar__year-spinners">
1573
+ <button
1574
+ type="button"
1575
+ class="calendar__year-spinner calendar__year-spinner--up"
1576
+ @click=${() => this.changeYear(1, isLeft)}
1577
+ >
1578
+ <svg
1579
+ width="10"
1580
+ height="10"
1581
+ viewBox="0 0 10 10"
1582
+ fill="none"
1583
+ >
1584
+ <path
1585
+ d="M2 6L5 3L8 6"
1586
+ stroke="currentColor"
1587
+ stroke-width="1.5"
1588
+ stroke-linecap="round"
1589
+ stroke-linejoin="round"
1590
+ />
1591
+ </svg>
1592
+ </button>
1593
+ <button
1594
+ type="button"
1595
+ class="calendar__year-spinner calendar__year-spinner--down"
1596
+ @click=${() => this.changeYear(-1, isLeft)}
1597
+ >
1598
+ <svg
1599
+ width="10"
1600
+ height="10"
1601
+ viewBox="0 0 10 10"
1602
+ fill="none"
1603
+ >
1604
+ <path
1605
+ d="M2 4L5 7L8 4"
1606
+ stroke="currentColor"
1607
+ stroke-width="1.5"
1608
+ stroke-linecap="round"
1609
+ stroke-linejoin="round"
1610
+ />
1611
+ </svg>
1612
+ </button>
1613
+ </div>
1614
+ </div>
1615
+ </div>
1616
+
1617
+ <button
1618
+ type="button"
1619
+ class="calendar__nav"
1620
+ @click=${() => this.nextMonth(isLeft)}
1621
+ >
1622
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none">
1623
+ <path
1624
+ d="M6 12L10 8L6 4"
1625
+ stroke="currentColor"
1626
+ stroke-width="2"
1627
+ stroke-linecap="round"
1628
+ stroke-linejoin="round"
1629
+ />
1630
+ </svg>
1631
+ </button>
1632
+ </div>
1633
+ <div class="calendar__weekdays">
1634
+ ${this.DAYS.map(
1635
+ (day) => b`<div class="calendar__weekday">${day}</div>`
1636
+ )}
1637
+ </div>
1638
+ <div class="calendar__days">
1639
+ ${days.map((date) => {
1640
+ const dateMonth = this.enableTime ? date.getUTCMonth() : date.getMonth();
1641
+ const dateDay = this.enableTime ? date.getUTCDate() : date.getDate();
1642
+ const isCurrentMonth = dateMonth === currentMonth;
1643
+ const isSelected = this.isSameDay(date, this.selectedStart) || this.isSameDay(date, this.selectedEnd);
1644
+ const isStart = this.isSameDay(date, this.selectedStart);
1645
+ const isEnd = this.isSameDay(date, this.selectedEnd);
1646
+ const inRange = this.isInRange(date);
1647
+ const inHoverRange = this.isInHoverRange(date);
1648
+ const isDisabled = this.isDisabled(date);
1649
+ return b`
1650
+ <button
1651
+ type="button"
1652
+ class="calendar__day ${!isCurrentMonth ? "calendar__day--outside" : ""}
1653
+ ${isSelected ? "calendar__day--selected" : ""}
1654
+ ${isStart ? "calendar__day--start" : ""}
1655
+ ${isEnd ? "calendar__day--end" : ""}
1656
+ ${inRange ? "calendar__day--in-range" : ""}
1657
+ ${inHoverRange ? "calendar__day--hover-range" : ""}
1658
+ ${isDisabled ? "calendar__day--disabled" : ""}"
1659
+ @click=${() => this.selectDate(date)}
1660
+ @mouseenter=${() => this.handleDateHover(date)}
1661
+ ?disabled=${isDisabled}
1662
+ >
1663
+ ${dateDay}
1664
+ </button>
1665
+ `;
1666
+ })}
1667
+ </div>
1668
+ </div>
1669
+ `;
1670
+ }
1671
+ renderTimePicker() {
1672
+ if (!this.enableTime)
1673
+ return "";
1674
+ const startDisplay = this.getDisplayTimeComponents(
1675
+ this.startHour,
1676
+ this.startMinute,
1677
+ this.startSecond,
1678
+ this.selectedStart
1679
+ );
1680
+ const endDisplay = this.getDisplayTimeComponents(
1681
+ this.endHour,
1682
+ this.endMinute,
1683
+ this.endSecond,
1684
+ this.selectedEnd
1685
+ );
1686
+ const startD12 = this.twelveHour ? this.to12Hour(startDisplay.hour) : null;
1687
+ const endD12 = this.twelveHour ? this.to12Hour(endDisplay.hour) : null;
1688
+ const hourMin = this.twelveHour ? "1" : "0";
1689
+ const hourMax = this.twelveHour ? "12" : "23";
1690
+ return b`
1691
+ <div class="date-picker__time">
1692
+ <div class="date-picker__time-section">
1693
+ <div class="date-picker__time-inputs">
1694
+ <div class="date-picker__time-input-group">
1695
+ <input
1696
+ type="number"
1697
+ class="date-picker__time-input"
1698
+ .value=${(startD12 ? startD12.hour : startDisplay.hour).toString().padStart(2, "0")}
1699
+ @input=${(e3) => this.handleTimeInput(e3, "hour", true)}
1700
+ @blur=${(e3) => {
1701
+ const input = e3.target;
1702
+ const d = this.getDisplayTimeComponents(
1703
+ this.startHour,
1704
+ this.startMinute,
1705
+ this.startSecond,
1706
+ this.selectedStart
1707
+ );
1708
+ const d12 = this.twelveHour ? this.to12Hour(d.hour) : null;
1709
+ input.value = (d12 ? d12.hour : d.hour).toString().padStart(2, "0");
1710
+ }}
1711
+ min=${hourMin}
1712
+ max=${hourMax}
1713
+ />
1714
+ <div class="date-picker__time-spinners">
1715
+ <button
1716
+ type="button"
1717
+ class="date-picker__time-spinner"
1718
+ @click=${() => this.changeTime("hour", 1, true)}
1719
+ >
1720
+ <svg
1721
+ width="10"
1722
+ height="10"
1723
+ viewBox="0 0 10 10"
1724
+ fill="none"
1725
+ >
1726
+ <path
1727
+ d="M2 6L5 3L8 6"
1728
+ stroke="currentColor"
1729
+ stroke-width="1.5"
1730
+ stroke-linecap="round"
1731
+ stroke-linejoin="round"
1732
+ />
1733
+ </svg>
1734
+ </button>
1735
+ <button
1736
+ type="button"
1737
+ class="date-picker__time-spinner"
1738
+ @click=${() => this.changeTime("hour", -1, true)}
1739
+ >
1740
+ <svg
1741
+ width="10"
1742
+ height="10"
1743
+ viewBox="0 0 10 10"
1744
+ fill="none"
1745
+ >
1746
+ <path
1747
+ d="M2 4L5 7L8 4"
1748
+ stroke="currentColor"
1749
+ stroke-width="1.5"
1750
+ stroke-linecap="round"
1751
+ stroke-linejoin="round"
1752
+ />
1753
+ </svg>
1754
+ </button>
1755
+ </div>
1756
+ </div>
1757
+
1758
+ <span class="date-picker__time-separator">:</span>
1759
+
1760
+ <div class="date-picker__time-input-group">
1761
+ <input
1762
+ type="number"
1763
+ class="date-picker__time-input"
1764
+ .value=${startDisplay.minute.toString().padStart(2, "0")}
1765
+ @input=${(e3) => this.handleTimeInput(e3, "minute", true)}
1766
+ @blur=${(e3) => {
1767
+ const input = e3.target;
1768
+ const d = this.getDisplayTimeComponents(
1769
+ this.startHour,
1770
+ this.startMinute,
1771
+ this.startSecond,
1772
+ this.selectedStart
1773
+ );
1774
+ input.value = d.minute.toString().padStart(2, "0");
1775
+ }}
1776
+ min="0"
1777
+ max="59"
1778
+ />
1779
+ <div class="date-picker__time-spinners">
1780
+ <button
1781
+ type="button"
1782
+ class="date-picker__time-spinner"
1783
+ @click=${() => this.changeTime("minute", 1, true)}
1784
+ >
1785
+ <svg
1786
+ width="10"
1787
+ height="10"
1788
+ viewBox="0 0 10 10"
1789
+ fill="none"
1790
+ >
1791
+ <path
1792
+ d="M2 6L5 3L8 6"
1793
+ stroke="currentColor"
1794
+ stroke-width="1.5"
1795
+ stroke-linecap="round"
1796
+ stroke-linejoin="round"
1797
+ />
1798
+ </svg>
1799
+ </button>
1800
+ <button
1801
+ type="button"
1802
+ class="date-picker__time-spinner"
1803
+ @click=${() => this.changeTime("minute", -1, true)}
1804
+ >
1805
+ <svg
1806
+ width="10"
1807
+ height="10"
1808
+ viewBox="0 0 10 10"
1809
+ fill="none"
1810
+ >
1811
+ <path
1812
+ d="M2 4L5 7L8 4"
1813
+ stroke="currentColor"
1814
+ stroke-width="1.5"
1815
+ stroke-linecap="round"
1816
+ stroke-linejoin="round"
1817
+ />
1818
+ </svg>
1819
+ </button>
1820
+ </div>
1821
+ </div>
1822
+
1823
+ <span class="date-picker__time-separator">:</span>
1824
+
1825
+ <div class="date-picker__time-input-group">
1826
+ <input
1827
+ type="number"
1828
+ class="date-picker__time-input"
1829
+ .value=${startDisplay.second.toString().padStart(2, "0")}
1830
+ @input=${(e3) => this.handleTimeInput(e3, "second", true)}
1831
+ @blur=${(e3) => {
1832
+ const input = e3.target;
1833
+ const d = this.getDisplayTimeComponents(
1834
+ this.startHour,
1835
+ this.startMinute,
1836
+ this.startSecond,
1837
+ this.selectedStart
1838
+ );
1839
+ input.value = d.second.toString().padStart(2, "0");
1840
+ }}
1841
+ min="0"
1842
+ max="59"
1843
+ />
1844
+ <div class="date-picker__time-spinners">
1845
+ <button
1846
+ type="button"
1847
+ class="date-picker__time-spinner"
1848
+ @click=${() => this.changeTime("second", 1, true)}
1849
+ >
1850
+ <svg
1851
+ width="10"
1852
+ height="10"
1853
+ viewBox="0 0 10 10"
1854
+ fill="none"
1855
+ >
1856
+ <path
1857
+ d="M2 6L5 3L8 6"
1858
+ stroke="currentColor"
1859
+ stroke-width="1.5"
1860
+ stroke-linecap="round"
1861
+ stroke-linejoin="round"
1862
+ />
1863
+ </svg>
1864
+ </button>
1865
+ <button
1866
+ type="button"
1867
+ class="date-picker__time-spinner"
1868
+ @click=${() => this.changeTime("second", -1, true)}
1869
+ >
1870
+ <svg
1871
+ width="10"
1872
+ height="10"
1873
+ viewBox="0 0 10 10"
1874
+ fill="none"
1875
+ >
1876
+ <path
1877
+ d="M2 4L5 7L8 4"
1878
+ stroke="currentColor"
1879
+ stroke-width="1.5"
1880
+ stroke-linecap="round"
1881
+ stroke-linejoin="round"
1882
+ />
1883
+ </svg>
1884
+ </button>
1885
+ </div>
1886
+ </div>
1887
+
1888
+ ${this.twelveHour ? b`
1889
+ <button
1890
+ type="button"
1891
+ class="date-picker__time-period"
1892
+ @click=${() => this.togglePeriod(true)}
1893
+ >
1894
+ ${startD12.period}
1895
+ </button>
1896
+ ` : ""}
1897
+ </div>
1898
+ </div>
1899
+
1900
+ ${this.range ? b`
1901
+ <span class="date-picker__separator">–</span>
1902
+
1903
+ <div class="date-picker__time-section">
1904
+ <div class="date-picker__time-inputs">
1905
+ <div class="date-picker__time-input-group">
1906
+ <input
1907
+ type="number"
1908
+ class="date-picker__time-input"
1909
+ .value=${(endD12 ? endD12.hour : endDisplay.hour).toString().padStart(2, "0")}
1910
+ @input=${(e3) => this.handleTimeInput(e3, "hour", false)}
1911
+ @blur=${(e3) => {
1912
+ const input = e3.target;
1913
+ const d = this.getDisplayTimeComponents(
1914
+ this.endHour,
1915
+ this.endMinute,
1916
+ this.endSecond,
1917
+ this.selectedEnd
1918
+ );
1919
+ const d12 = this.twelveHour ? this.to12Hour(d.hour) : null;
1920
+ input.value = (d12 ? d12.hour : d.hour).toString().padStart(2, "0");
1921
+ }}
1922
+ min=${hourMin}
1923
+ max=${hourMax}
1924
+ />
1925
+ <div class="date-picker__time-spinners">
1926
+ <button
1927
+ type="button"
1928
+ class="date-picker__time-spinner"
1929
+ @click=${() => this.changeTime("hour", 1, false)}
1930
+ >
1931
+ <svg
1932
+ width="10"
1933
+ height="10"
1934
+ viewBox="0 0 10 10"
1935
+ fill="none"
1936
+ >
1937
+ <path
1938
+ d="M2 6L5 3L8 6"
1939
+ stroke="currentColor"
1940
+ stroke-width="1.5"
1941
+ stroke-linecap="round"
1942
+ stroke-linejoin="round"
1943
+ />
1944
+ </svg>
1945
+ </button>
1946
+ <button
1947
+ type="button"
1948
+ class="date-picker__time-spinner"
1949
+ @click=${() => this.changeTime("hour", -1, false)}
1950
+ >
1951
+ <svg
1952
+ width="10"
1953
+ height="10"
1954
+ viewBox="0 0 10 10"
1955
+ fill="none"
1956
+ >
1957
+ <path
1958
+ d="M2 4L5 7L8 4"
1959
+ stroke="currentColor"
1960
+ stroke-width="1.5"
1961
+ stroke-linecap="round"
1962
+ stroke-linejoin="round"
1963
+ />
1964
+ </svg>
1965
+ </button>
1966
+ </div>
1967
+ </div>
1968
+
1969
+ <span class="date-picker__time-separator">:</span>
1970
+
1971
+ <div class="date-picker__time-input-group">
1972
+ <input
1973
+ type="number"
1974
+ class="date-picker__time-input"
1975
+ .value=${endDisplay.minute.toString().padStart(2, "0")}
1976
+ @input=${(e3) => this.handleTimeInput(
1977
+ e3,
1978
+ "minute",
1979
+ false
1980
+ )}
1981
+ @blur=${(e3) => {
1982
+ const input = e3.target;
1983
+ const d = this.getDisplayTimeComponents(
1984
+ this.endHour,
1985
+ this.endMinute,
1986
+ this.endSecond,
1987
+ this.selectedEnd
1988
+ );
1989
+ input.value = d.minute.toString().padStart(2, "0");
1990
+ }}
1991
+ min="0"
1992
+ max="59"
1993
+ />
1994
+ <div class="date-picker__time-spinners">
1995
+ <button
1996
+ type="button"
1997
+ class="date-picker__time-spinner"
1998
+ @click=${() => this.changeTime("minute", 1, false)}
1999
+ >
2000
+ <svg
2001
+ width="10"
2002
+ height="10"
2003
+ viewBox="0 0 10 10"
2004
+ fill="none"
2005
+ >
2006
+ <path
2007
+ d="M2 6L5 3L8 6"
2008
+ stroke="currentColor"
2009
+ stroke-width="1.5"
2010
+ stroke-linecap="round"
2011
+ stroke-linejoin="round"
2012
+ />
2013
+ </svg>
2014
+ </button>
2015
+ <button
2016
+ type="button"
2017
+ class="date-picker__time-spinner"
2018
+ @click=${() => this.changeTime(
2019
+ "minute",
2020
+ -1,
2021
+ false
2022
+ )}
2023
+ >
2024
+ <svg
2025
+ width="10"
2026
+ height="10"
2027
+ viewBox="0 0 10 10"
2028
+ fill="none"
2029
+ >
2030
+ <path
2031
+ d="M2 4L5 7L8 4"
2032
+ stroke="currentColor"
2033
+ stroke-width="1.5"
2034
+ stroke-linecap="round"
2035
+ stroke-linejoin="round"
2036
+ />
2037
+ </svg>
2038
+ </button>
2039
+ </div>
2040
+ </div>
2041
+
2042
+ <span class="date-picker__time-separator">:</span>
2043
+
2044
+ <div class="date-picker__time-input-group">
2045
+ <input
2046
+ type="number"
2047
+ class="date-picker__time-input"
2048
+ .value=${endDisplay.second.toString().padStart(2, "0")}
2049
+ @input=${(e3) => this.handleTimeInput(
2050
+ e3,
2051
+ "second",
2052
+ false
2053
+ )}
2054
+ @blur=${(e3) => {
2055
+ const input = e3.target;
2056
+ const d = this.getDisplayTimeComponents(
2057
+ this.endHour,
2058
+ this.endMinute,
2059
+ this.endSecond,
2060
+ this.selectedEnd
2061
+ );
2062
+ input.value = d.second.toString().padStart(2, "0");
2063
+ }}
2064
+ min="0"
2065
+ max="59"
2066
+ />
2067
+ <div class="date-picker__time-spinners">
2068
+ <button
2069
+ type="button"
2070
+ class="date-picker__time-spinner"
2071
+ @click=${() => this.changeTime("second", 1, false)}
2072
+ >
2073
+ <svg
2074
+ width="10"
2075
+ height="10"
2076
+ viewBox="0 0 10 10"
2077
+ fill="none"
2078
+ >
2079
+ <path
2080
+ d="M2 6L5 3L8 6"
2081
+ stroke="currentColor"
2082
+ stroke-width="1.5"
2083
+ stroke-linecap="round"
2084
+ stroke-linejoin="round"
2085
+ />
2086
+ </svg>
2087
+ </button>
2088
+ <button
2089
+ type="button"
2090
+ class="date-picker__time-spinner"
2091
+ @click=${() => this.changeTime(
2092
+ "second",
2093
+ -1,
2094
+ false
2095
+ )}
2096
+ >
2097
+ <svg
2098
+ width="10"
2099
+ height="10"
2100
+ viewBox="0 0 10 10"
2101
+ fill="none"
2102
+ >
2103
+ <path
2104
+ d="M2 4L5 7L8 4"
2105
+ stroke="currentColor"
2106
+ stroke-width="1.5"
2107
+ stroke-linecap="round"
2108
+ stroke-linejoin="round"
2109
+ />
2110
+ </svg>
2111
+ </button>
2112
+ </div>
2113
+ </div>
2114
+ </div>
2115
+
2116
+ ${this.twelveHour ? b`
2117
+ <button
2118
+ type="button"
2119
+ class="date-picker__time-period"
2120
+ @click=${() => this.togglePeriod(false)}
2121
+ >
2122
+ ${endD12.period}
2123
+ </button>
2124
+ ` : ""}
2125
+ </div>
2126
+ ` : ""}
2127
+ </div>
2128
+ `;
2129
+ }
2130
+ renderCalendarIcon() {
2131
+ return b`
2132
+ <svg
2133
+ slot="suffix"
2134
+ class="date-picker__icon"
2135
+ width="20"
2136
+ height="20"
2137
+ viewBox="0 0 24 24"
2138
+ fill="none"
2139
+ stroke="currentColor"
2140
+ stroke-width="2"
2141
+ >
2142
+ <rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect>
2143
+ <line x1="16" y1="2" x2="16" y2="6"></line>
2144
+ <line x1="8" y1="2" x2="8" y2="6"></line>
2145
+ <line x1="3" y1="10" x2="21" y2="10"></line>
2146
+ </svg>
2147
+ `;
2148
+ }
2149
+ renderCalendarContent() {
2150
+ return b`
2151
+ <div class="date-picker__dropdown" part="calendar">
2152
+ ${this.showClose ? b`
2153
+ <div class="dropdown-header">
2154
+ <button
2155
+ class="date-picker__close-btn"
2156
+ @click=${(e3) => {
2157
+ e3.stopPropagation();
2158
+ this.close();
2159
+ }}
2160
+ aria-label="Close"
2161
+ >
2162
+
2163
+ </button>
2164
+ </div>
2165
+ ` : A}
2166
+ <div class="date-picker__content">
2167
+ ${this.showPresets && this.filteredPresets.length > 0 ? b`
2168
+ <div class="date-picker__sidebar" part="sidebar">
2169
+ <slot name="sidebar-header"></slot>
2170
+
2171
+ <div class="presets">
2172
+ ${this.filteredPresets.map(
2173
+ (preset) => b`
2174
+ <button
2175
+ type="button"
2176
+ class="date-picker__preset"
2177
+ @click=${() => this.selectPreset(preset)}
2178
+ >
2179
+ ${preset.label}
2180
+ </button>
2181
+ `
2182
+ )}
2183
+ </div>
2184
+
2185
+ <slot name="sidebar-footer">
2186
+ <terra-button
2187
+ outline
2188
+ variant="default"
2189
+ size="small"
2190
+ @click=${() => this.clear()}
2191
+ >
2192
+ ${this.clearAllLabel}
2193
+ </terra-button>
2194
+ </slot>
2195
+ </div>
2196
+ ` : ""}
2197
+
2198
+ <div class="date-picker__calendars">
2199
+ ${this.renderCalendar(this.leftMonth, true)}
2200
+ ${this.range ? this.renderCalendar(this.rightMonth, false) : ""}
2201
+ </div>
2202
+ </div>
2203
+
2204
+ ${this.enableTime ? this.renderTimePicker() : ""}
2205
+ </div>
2206
+ `;
2207
+ }
2208
+ render() {
2209
+ const showSplitInputs = this.range && this.splitInputs;
2210
+ if (this.inline) {
2211
+ return b`
2212
+ <div
2213
+ class="date-picker date-picker--inline ${showSplitInputs ? "date-picker--split-inputs" : ""}"
2214
+ @click=${(e3) => e3.stopPropagation()}
2215
+ >
2216
+ ${showSplitInputs ? b`
2217
+ <div class="date-picker__inputs">
2218
+ <terra-input
2219
+ .label=${this.startLabel || (this.label ? `${this.label} (Start)` : "Start Date")}
2220
+ .hideLabel=${this.hideLabel}
2221
+ .helpText=${this.startHelpText || this.helpText}
2222
+ .value=${this.getStartDateDisplayValue()}
2223
+ @terra-blur=${this.handleStartInputBlur}
2224
+ @keydown=${this.handleKeydown}
2225
+ placeholder=${this.startPlaceholder}
2226
+ name="start-date"
2227
+ >
2228
+ ${this.renderCalendarIcon()}
2229
+ </terra-input>
2230
+ <terra-input
2231
+ .label=${this.endLabel || (this.label ? `${this.label} (End)` : "End Date")}
2232
+ .hideLabel=${this.hideLabel}
2233
+ .helpText=${this.endHelpText || this.helpText}
2234
+ .value=${this.getEndDateDisplayValue()}
2235
+ @terra-blur=${this.handleEndInputBlur}
2236
+ @keydown=${this.handleKeydown}
2237
+ placeholder=${this.endPlaceholder}
2238
+ name="end-date"
2239
+ >
2240
+ ${this.renderCalendarIcon()}
2241
+ </terra-input>
2242
+ </div>
2243
+ ` : b`
2244
+ <terra-input
2245
+ .label=${this.label}
2246
+ .hideLabel=${this.hideLabel}
2247
+ .helpText=${this.helpText}
2248
+ .value=${this.getDisplayValue()}
2249
+ placeholder=${this.placeholder}
2250
+ @terra-blur=${this.handleInputBlur}
2251
+ @keydown=${this.handleKeydown}
2252
+ name="date"
2253
+ >
2254
+ ${this.renderCalendarIcon()}
2255
+ </terra-input>
2256
+ `}
2257
+
2258
+ <slot name="additional-text"></slot>
2259
+
2260
+ <div class="date-picker__dropdown-wrapper">
2261
+ <div
2262
+ class="date-picker__dropdown date-picker__dropdown--inline"
2263
+ part="calendar"
2264
+ >
2265
+ <div class="date-picker__content">
2266
+ ${this.showPresets && this.filteredPresets.length > 0 ? b`
2267
+ <div
2268
+ class="date-picker__sidebar"
2269
+ part="sidebar"
2270
+ >
2271
+ <slot name="sidebar-header"></slot>
2272
+
2273
+ <div class="presets">
2274
+ ${this.filteredPresets.map(
2275
+ (preset) => b`
2276
+ <button
2277
+ type="button"
2278
+ class="date-picker__preset"
2279
+ @click=${() => this.selectPreset(
2280
+ preset
2281
+ )}
2282
+ >
2283
+ ${preset.label}
2284
+ </button>
2285
+ `
2286
+ )}
2287
+ </div>
2288
+
2289
+ <slot name="sidebar-footer">
2290
+ <terra-button
2291
+ outline
2292
+ variant="default"
2293
+ size="small"
2294
+ @click=${() => this.clear()}
2295
+ >
2296
+ ${this.clearAllLabel}
2297
+ </terra-button>
2298
+ </slot>
2299
+ </div>
2300
+ ` : ""}
2301
+
2302
+ <div class="date-picker__calendars">
2303
+ ${this.renderCalendar(this.leftMonth, true)}
2304
+ ${this.range ? this.renderCalendar(this.rightMonth, false) : ""}
2305
+ </div>
2306
+ </div>
2307
+
2308
+ ${this.enableTime ? this.renderTimePicker() : ""}
2309
+ </div>
2310
+ </div>
2311
+ </div>
2312
+ `;
2313
+ }
2314
+ return b`
2315
+ <div
2316
+ class="date-picker ${showSplitInputs ? "date-picker--split-inputs" : ""}"
2317
+ @click=${(e3) => e3.stopPropagation()}
2318
+ >
2319
+ ${showSplitInputs ? b`
2320
+ <div class="date-picker__inputs">
2321
+ <terra-dropdown
2322
+ ${n2(this.dropdownRef)}
2323
+ placement="bottom-start"
2324
+ distance="4"
2325
+ @terra-show=${this.handleDropdownShow}
2326
+ @terra-hide=${this.handleDropdownHide}
2327
+ hoist
2328
+ >
2329
+ <terra-input
2330
+ slot="trigger"
2331
+ .label=${this.startLabel || (this.label ? `${this.label} (Start)` : "Start Date")}
2332
+ .hideLabel=${this.hideLabel}
2333
+ .helpText=${this.startHelpText || this.helpText}
2334
+ .value=${this.getStartDateDisplayValue()}
2335
+ placeholder=${this.startPlaceholder}
2336
+ @terra-blur=${this.handleStartInputBlur}
2337
+ @keydown=${this.handleKeydown}
2338
+ name="start-date"
2339
+ >
2340
+ ${this.renderCalendarIcon()}
2341
+ </terra-input>
2342
+ ${this.renderCalendarContent()}
2343
+ </terra-dropdown>
2344
+ <terra-dropdown
2345
+ placement="bottom-start"
2346
+ distance="4"
2347
+ @terra-show=${this.handleDropdownShow}
2348
+ @terra-hide=${this.handleDropdownHide}
2349
+ hoist
2350
+ >
2351
+ <terra-input
2352
+ slot="trigger"
2353
+ .label=${this.endLabel || (this.label ? `${this.label} (End)` : "End Date")}
2354
+ .hideLabel=${this.hideLabel}
2355
+ .helpText=${this.endHelpText || this.helpText}
2356
+ .value=${this.getEndDateDisplayValue()}
2357
+ placeholder=${this.endPlaceholder}
2358
+ @terra-blur=${this.handleEndInputBlur}
2359
+ @keydown=${this.handleKeydown}
2360
+ name="end-date"
2361
+ >
2362
+ ${this.renderCalendarIcon()}
2363
+ </terra-input>
2364
+ ${this.renderCalendarContent()}
2365
+ </terra-dropdown>
2366
+ </div>
2367
+ ` : b`
2368
+ <terra-dropdown
2369
+ ${n2(this.dropdownRef)}
2370
+ placement="bottom-start"
2371
+ distance="4"
2372
+ @terra-show=${this.handleDropdownShow}
2373
+ @terra-hide=${this.handleDropdownHide}
2374
+ hoist
2375
+ >
2376
+ <terra-input
2377
+ slot="trigger"
2378
+ .label=${this.label}
2379
+ .hideLabel=${this.hideLabel}
2380
+ .helpText=${this.helpText}
2381
+ .value=${this.getDisplayValue()}
2382
+ placeholder=${this.placeholder}
2383
+ @terra-blur=${this.handleInputBlur}
2384
+ @keydown=${this.handleKeydown}
2385
+ name="date"
2386
+ >
2387
+ ${this.renderCalendarIcon()}
2388
+ </terra-input>
2389
+ ${this.renderCalendarContent()}
2390
+ </terra-dropdown>
2391
+ `}
2392
+ </div>
2393
+ `;
2394
+ }
2395
+ };
2396
+ TerraDatePicker.styles = [component_styles_default, date_picker_styles_default];
2397
+ TerraDatePicker.dependencies = {
2398
+ "terra-button": TerraButton,
2399
+ "terra-input": TerraInput,
2400
+ "terra-dropdown": TerraDropdown
2401
+ };
2402
+ __decorateClass([
2403
+ n()
2404
+ ], TerraDatePicker.prototype, "id", 2);
2405
+ __decorateClass([
2406
+ n({ type: Boolean, reflect: true })
2407
+ ], TerraDatePicker.prototype, "range", 2);
2408
+ __decorateClass([
2409
+ n({ attribute: "min-date", reflect: true })
2410
+ ], TerraDatePicker.prototype, "minDate", 2);
2411
+ __decorateClass([
2412
+ n({ attribute: "max-date", reflect: true })
2413
+ ], TerraDatePicker.prototype, "maxDate", 2);
2414
+ __decorateClass([
2415
+ n({ attribute: "start-date", reflect: true })
2416
+ ], TerraDatePicker.prototype, "startDate", 2);
2417
+ __decorateClass([
2418
+ n({ attribute: "end-date", reflect: true })
2419
+ ], TerraDatePicker.prototype, "endDate", 2);
2420
+ __decorateClass([
2421
+ n({ attribute: "hide-label", type: Boolean })
2422
+ ], TerraDatePicker.prototype, "hideLabel", 2);
2423
+ __decorateClass([
2424
+ n()
2425
+ ], TerraDatePicker.prototype, "label", 2);
2426
+ __decorateClass([
2427
+ n({ attribute: "help-text" })
2428
+ ], TerraDatePicker.prototype, "helpText", 2);
2429
+ __decorateClass([
2430
+ n({ attribute: "start-help-text" })
2431
+ ], TerraDatePicker.prototype, "startHelpText", 2);
2432
+ __decorateClass([
2433
+ n({ attribute: "end-help-text" })
2434
+ ], TerraDatePicker.prototype, "endHelpText", 2);
2435
+ __decorateClass([
2436
+ n({ attribute: "start-label" })
2437
+ ], TerraDatePicker.prototype, "startLabel", 2);
2438
+ __decorateClass([
2439
+ n({ attribute: "end-label" })
2440
+ ], TerraDatePicker.prototype, "endLabel", 2);
2441
+ __decorateClass([
2442
+ n({ type: Boolean, attribute: "show-presets" })
2443
+ ], TerraDatePicker.prototype, "showPresets", 2);
2444
+ __decorateClass([
2445
+ n({ type: Array })
2446
+ ], TerraDatePicker.prototype, "presets", 2);
2447
+ __decorateClass([
2448
+ n({ type: Boolean, attribute: "enable-time" })
2449
+ ], TerraDatePicker.prototype, "enableTime", 2);
2450
+ __decorateClass([
2451
+ n({ attribute: "display-format" })
2452
+ ], TerraDatePicker.prototype, "displayFormat", 2);
2453
+ __decorateClass([
2454
+ n({ type: Boolean })
2455
+ ], TerraDatePicker.prototype, "inline", 2);
2456
+ __decorateClass([
2457
+ n({ type: Boolean, attribute: "split-inputs" })
2458
+ ], TerraDatePicker.prototype, "splitInputs", 2);
2459
+ __decorateClass([
2460
+ n()
2461
+ ], TerraDatePicker.prototype, "placeholder", 2);
2462
+ __decorateClass([
2463
+ n()
2464
+ ], TerraDatePicker.prototype, "startPlaceholder", 2);
2465
+ __decorateClass([
2466
+ n()
2467
+ ], TerraDatePicker.prototype, "endPlaceholder", 2);
2468
+ __decorateClass([
2469
+ n({ reflect: true })
2470
+ ], TerraDatePicker.prototype, "role", 2);
2471
+ __decorateClass([
2472
+ n({ reflect: true, attribute: "aria-label" })
2473
+ ], TerraDatePicker.prototype, "ariaLabel", 2);
2474
+ __decorateClass([
2475
+ n({ type: Boolean })
2476
+ ], TerraDatePicker.prototype, "hideClearAll", 2);
2477
+ __decorateClass([
2478
+ n()
2479
+ ], TerraDatePicker.prototype, "clearAllLabel", 2);
2480
+ __decorateClass([
2481
+ n({ type: Boolean, attribute: "use-end-of-day" })
2482
+ ], TerraDatePicker.prototype, "useEndOfDay", 2);
2483
+ __decorateClass([
2484
+ n({ attribute: "closable", type: Boolean })
2485
+ ], TerraDatePicker.prototype, "showClose", 2);
2486
+ __decorateClass([
2487
+ n()
2488
+ ], TerraDatePicker.prototype, "timezone", 2);
2489
+ __decorateClass([
2490
+ n({ type: Boolean, attribute: "twelve-hour" })
2491
+ ], TerraDatePicker.prototype, "twelveHour", 2);
2492
+ __decorateClass([
2493
+ r()
2494
+ ], TerraDatePicker.prototype, "isOpen", 2);
2495
+ __decorateClass([
2496
+ r()
2497
+ ], TerraDatePicker.prototype, "leftMonth", 2);
2498
+ __decorateClass([
2499
+ r()
2500
+ ], TerraDatePicker.prototype, "rightMonth", 2);
2501
+ __decorateClass([
2502
+ r()
2503
+ ], TerraDatePicker.prototype, "selectedStart", 2);
2504
+ __decorateClass([
2505
+ r()
2506
+ ], TerraDatePicker.prototype, "selectedEnd", 2);
2507
+ __decorateClass([
2508
+ r()
2509
+ ], TerraDatePicker.prototype, "hoverDate", 2);
2510
+ __decorateClass([
2511
+ r()
2512
+ ], TerraDatePicker.prototype, "isSelectingRange", 2);
2513
+ __decorateClass([
2514
+ r()
2515
+ ], TerraDatePicker.prototype, "showLeftMonthDropdown", 2);
2516
+ __decorateClass([
2517
+ r()
2518
+ ], TerraDatePicker.prototype, "showRightMonthDropdown", 2);
2519
+ __decorateClass([
2520
+ r()
2521
+ ], TerraDatePicker.prototype, "startHour", 2);
2522
+ __decorateClass([
2523
+ r()
2524
+ ], TerraDatePicker.prototype, "startMinute", 2);
2525
+ __decorateClass([
2526
+ r()
2527
+ ], TerraDatePicker.prototype, "startSecond", 2);
2528
+ __decorateClass([
2529
+ r()
2530
+ ], TerraDatePicker.prototype, "endHour", 2);
2531
+ __decorateClass([
2532
+ r()
2533
+ ], TerraDatePicker.prototype, "endMinute", 2);
2534
+ __decorateClass([
2535
+ r()
2536
+ ], TerraDatePicker.prototype, "endSecond", 2);
2537
+ __decorateClass([
2538
+ r()
2539
+ ], TerraDatePicker.prototype, "selectedDates", 2);
2540
+ __decorateClass([
2541
+ e(".date-picker__dropdown")
2542
+ ], TerraDatePicker.prototype, "dropdown", 2);
2543
+
2544
+ export {
2545
+ TerraDatePicker
2546
+ };