@nasa-terra/components 0.0.203 → 0.0.205

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 (1457) hide show
  1. package/cdn/apis/harmony.api.d.ts +5 -0
  2. package/cdn/chunks/GeoTIFF.CENKOG7R.js +19979 -0
  3. package/cdn/chunks/chunk.2232XEJQ.js +29 -0
  4. package/cdn/chunks/chunk.2B2TSVNY.js +978 -0
  5. package/cdn/chunks/chunk.2NNYMNZ5.js +29 -0
  6. package/cdn/chunks/chunk.2NX4H2BN.js +19 -0
  7. package/cdn/chunks/chunk.2WBW37NH.js +19 -0
  8. package/cdn/chunks/chunk.2X7DAD43.js +29 -0
  9. package/cdn/chunks/chunk.2XT2DXDS.js +528 -0
  10. package/cdn/chunks/chunk.34A6RU6E.js +29 -0
  11. package/cdn/chunks/chunk.3A3Y63MA.js +19 -0
  12. package/cdn/chunks/chunk.3JB5ESJU.js +8969 -0
  13. package/cdn/chunks/chunk.3TH37PLU.js +1121 -0
  14. package/cdn/chunks/chunk.3XHPRPKJ.js +1009 -0
  15. package/cdn/chunks/chunk.4FAAL7CU.js +897 -0
  16. package/cdn/chunks/chunk.4JTU674G.js +48 -0
  17. package/cdn/chunks/chunk.4KBZ7BIR.js +29 -0
  18. package/cdn/chunks/chunk.4PDH3KAH.js +1945 -0
  19. package/cdn/chunks/chunk.4RS5WH4G.js +19 -0
  20. package/cdn/chunks/chunk.4W7HENDQ.js +19 -0
  21. package/cdn/chunks/chunk.5256OMFI.js +62 -0
  22. package/cdn/chunks/chunk.577EXZQP.js +19 -0
  23. package/cdn/chunks/chunk.5DIIZV4K.js +791 -0
  24. package/cdn/chunks/chunk.5DIVPJOJ.js +1653 -0
  25. package/cdn/chunks/chunk.5F22YVKZ.js +19 -0
  26. package/cdn/chunks/chunk.5GC6XXMO.js +19 -0
  27. package/cdn/chunks/chunk.5GD3GQER.js +33 -0
  28. package/cdn/chunks/chunk.5JGHWKZV.js +38 -0
  29. package/cdn/chunks/chunk.5MCRMJ7W.js +110 -0
  30. package/cdn/chunks/chunk.5MFAIDYF.js +19 -0
  31. package/cdn/chunks/chunk.5QQP4HY5.js +29 -0
  32. package/cdn/chunks/chunk.5SGSESUV.js +39 -0
  33. package/cdn/chunks/chunk.5T32ADMR.js +32 -0
  34. package/cdn/chunks/chunk.5TUINKG3.js +19 -0
  35. package/cdn/chunks/chunk.5Z5FTYHQ.js +29 -0
  36. package/cdn/chunks/chunk.64ZLB3XD.js +37 -0
  37. package/cdn/chunks/chunk.67MZVSO7.js +234 -0
  38. package/cdn/chunks/chunk.6KW23GBD.js +3035 -0
  39. package/cdn/chunks/chunk.6NU4LT46.js +189 -0
  40. package/cdn/chunks/chunk.6ONOP4ID.js +29 -0
  41. package/cdn/chunks/chunk.6RBN3R3S.js +19 -0
  42. package/cdn/chunks/chunk.6RVC4QTE.js +19 -0
  43. package/cdn/chunks/chunk.6VGVAUYK.js +256 -0
  44. package/cdn/chunks/chunk.6XBVIYCV.js +32 -0
  45. package/cdn/chunks/chunk.76VAMCFM.js +824 -0
  46. package/cdn/chunks/chunk.7FTE5V2B.js +19 -0
  47. package/cdn/chunks/chunk.7OFUJKBW.js +30 -0
  48. package/cdn/chunks/chunk.7RUFZ7VF.js +475 -0
  49. package/cdn/chunks/chunk.A4KWAYQH.js +4980 -0
  50. package/cdn/chunks/chunk.A63JCTKT.js +19 -0
  51. package/cdn/chunks/chunk.AQ5OKPLZ.js +19 -0
  52. package/cdn/chunks/chunk.AQ5T22QG.js +41 -0
  53. package/cdn/chunks/chunk.ASGNUKTS.js +1131 -0
  54. package/cdn/chunks/chunk.AUWT3HKD.js +940 -0
  55. package/cdn/chunks/chunk.BD5JLOM4.js +357 -0
  56. package/cdn/chunks/chunk.BL2T5FVE.js +10 -0
  57. package/cdn/chunks/chunk.BNIVIVSF.js +2544 -0
  58. package/cdn/chunks/chunk.BPTXUG3W.js +35 -0
  59. package/cdn/chunks/chunk.BQPBQZFS.js +360 -0
  60. package/cdn/chunks/chunk.BYBKLA6W.js +255 -0
  61. package/cdn/chunks/chunk.CHNYNA6A.js +19 -0
  62. package/cdn/chunks/chunk.CISSBK6B.js +1820 -0
  63. package/cdn/chunks/chunk.CN3HAOBC.js +83 -0
  64. package/cdn/chunks/chunk.CO3P3PQN.js +19 -0
  65. package/cdn/chunks/chunk.CSF2PMFW.js +1075 -0
  66. package/cdn/chunks/chunk.CT6JWWV2.js +93 -0
  67. package/cdn/chunks/chunk.CY2NA7DX.js +1040 -0
  68. package/cdn/chunks/chunk.D2OCF56Z.js +74 -0
  69. package/cdn/chunks/chunk.D3WDJ4SS.js +149 -0
  70. package/cdn/chunks/chunk.D52LQ4J3.js +19 -0
  71. package/cdn/chunks/chunk.D5OYZFRL.js +134 -0
  72. package/cdn/chunks/chunk.D6W64PXN.js +19 -0
  73. package/cdn/chunks/chunk.D7YRDTVS.js +134 -0
  74. package/cdn/chunks/chunk.DLBLZUXI.js +19 -0
  75. package/cdn/chunks/chunk.DMAOIRXE.js +19 -0
  76. package/cdn/chunks/chunk.E2RZP3XA.js +19 -0
  77. package/cdn/chunks/chunk.E6423VVS.js +47 -0
  78. package/cdn/chunks/chunk.EAUBUUN5.js +32 -0
  79. package/cdn/chunks/chunk.EBGQWXBG.js +19 -0
  80. package/cdn/chunks/chunk.EDPOC2S3.js +29 -0
  81. package/cdn/chunks/chunk.EH63H56Z.js +333 -0
  82. package/cdn/chunks/chunk.EIAV6I5D.js +600 -0
  83. package/cdn/chunks/chunk.EOTDTPZM.js +259 -0
  84. package/cdn/chunks/chunk.EP6PSBZE.js +100 -0
  85. package/cdn/chunks/chunk.EVAUERXR.js +431 -0
  86. package/cdn/chunks/chunk.F2DLSNNG.js +625 -0
  87. package/cdn/chunks/chunk.F6FVKFVH.js +60 -0
  88. package/cdn/chunks/chunk.FEIRWXAI.js +34 -0
  89. package/cdn/chunks/chunk.FK5JYFNX.js +29 -0
  90. package/cdn/chunks/chunk.FP2ISOJN.js +106 -0
  91. package/cdn/chunks/chunk.FRGR3SUX.js +19 -0
  92. package/cdn/chunks/chunk.G2FP3NMR.js +32 -0
  93. package/cdn/chunks/chunk.G4RHOTZM.js +19 -0
  94. package/cdn/chunks/chunk.G56LMKFK.js +190 -0
  95. package/cdn/chunks/chunk.GAYO2WF7.js +810 -0
  96. package/cdn/chunks/chunk.GGKAPJYB.js +4089 -0
  97. package/cdn/chunks/chunk.GGRHSJRY.js +278 -0
  98. package/cdn/chunks/chunk.GMXOAOYE.js +897 -0
  99. package/cdn/chunks/chunk.GPTTHV22.js +19 -0
  100. package/cdn/chunks/chunk.GSM3UO7L.js +125 -0
  101. package/cdn/chunks/chunk.GUDMVVPM.js +29 -0
  102. package/cdn/chunks/chunk.GWGONIHM.js +621 -0
  103. package/cdn/chunks/chunk.GXLMJLQN.js +19 -0
  104. package/cdn/chunks/chunk.H3M3UFJW.js +225 -0
  105. package/cdn/chunks/chunk.H4CIEYCI.js +274 -0
  106. package/cdn/chunks/chunk.HAMWPWKH.js +536 -0
  107. package/cdn/chunks/chunk.HJX5NP2U.js +49 -0
  108. package/cdn/chunks/chunk.HUS54CD5.js +152 -0
  109. package/cdn/chunks/chunk.HV7OZEJM.js +37 -0
  110. package/cdn/chunks/chunk.HVZFV4RK.js +271 -0
  111. package/cdn/chunks/chunk.I2EO4UEA.js +128 -0
  112. package/cdn/chunks/chunk.I2S4BY2H.js +19 -0
  113. package/cdn/chunks/chunk.IBOPN3BA.js +74 -0
  114. package/cdn/chunks/chunk.IIVOE5EV.js +34 -0
  115. package/cdn/chunks/chunk.ILWTJYAG.js +19 -0
  116. package/cdn/chunks/chunk.IMCWFOML.js +132 -0
  117. package/cdn/chunks/chunk.IPQAZBW5.js +33 -0
  118. package/cdn/chunks/chunk.IWKAVEX2.js +521 -0
  119. package/cdn/chunks/chunk.IXCWTH7X.js +19 -0
  120. package/cdn/chunks/chunk.J2O5J6LC.js +33 -0
  121. package/cdn/chunks/chunk.J665CST2.js +32 -0
  122. package/cdn/chunks/chunk.J7VOBHYB.js +29 -0
  123. package/cdn/chunks/chunk.JRHREVZG.js +195 -0
  124. package/cdn/chunks/chunk.JRT7GG7P.js +193 -0
  125. package/cdn/chunks/chunk.JZBAAUKG.js +37 -0
  126. package/cdn/chunks/chunk.K6JQEUEF.js +855 -0
  127. package/cdn/chunks/chunk.KBU6MR53.js +19 -0
  128. package/cdn/chunks/chunk.KH6TDNWG.js +32 -0
  129. package/cdn/chunks/chunk.KKACL6TT.js +19 -0
  130. package/cdn/chunks/chunk.KORCC6ZC.js +136 -0
  131. package/cdn/chunks/chunk.KOZYPVDG.js +29 -0
  132. package/cdn/chunks/chunk.KRVDOVGU.js +27 -0
  133. package/cdn/chunks/chunk.KVNYSD7J.js +35 -0
  134. package/cdn/chunks/chunk.KVY6HP36.js +504 -0
  135. package/cdn/chunks/chunk.KYTQLAV4.js +33 -0
  136. package/cdn/chunks/chunk.L2JTE4GG.js +29 -0
  137. package/cdn/chunks/chunk.L3IVPHBN.js +29 -0
  138. package/cdn/chunks/chunk.L3RRPSVD.js +310 -0
  139. package/cdn/chunks/chunk.LA6TV4TX.js +231 -0
  140. package/cdn/chunks/chunk.LFASDJBV.js +19 -0
  141. package/cdn/chunks/chunk.LFKTPFJU.js +19 -0
  142. package/cdn/chunks/chunk.LFL3PUXL.js +78 -0
  143. package/cdn/chunks/chunk.LI42WZVM.js +19 -0
  144. package/cdn/chunks/chunk.LNONJFUN.js +19 -0
  145. package/cdn/chunks/chunk.LUKHK72N.js +1038 -0
  146. package/cdn/chunks/chunk.M3QGLBMX.js +256 -0
  147. package/cdn/chunks/chunk.M57M7AQ5.js +19 -0
  148. package/cdn/chunks/chunk.MC7GK7JH.js +36 -0
  149. package/cdn/chunks/chunk.MC7JQJRG.js +32 -0
  150. package/cdn/chunks/chunk.ML5BEAMW.js +276 -0
  151. package/cdn/chunks/chunk.MMF6FZHE.js +19 -0
  152. package/cdn/chunks/chunk.MO4YNF4J.js +29 -0
  153. package/cdn/chunks/chunk.MUSKX3GU.js +138 -0
  154. package/cdn/chunks/chunk.N7GDICRN.js +568 -0
  155. package/cdn/chunks/chunk.NDYEK3K4.js +19 -0
  156. package/cdn/chunks/chunk.NHZJYK2Q.js +111 -0
  157. package/cdn/chunks/chunk.NRLNKN7I.js +17 -0
  158. package/cdn/chunks/chunk.NSKILA2A.js +29 -0
  159. package/cdn/chunks/chunk.NWO2MF5T.js +375 -0
  160. package/cdn/chunks/chunk.NX7VOYQH.js +610 -0
  161. package/cdn/chunks/chunk.NZA757GX.js +60 -0
  162. package/cdn/chunks/chunk.O2NOKPSY.js +169 -0
  163. package/cdn/chunks/chunk.OIOVBL5M.js +32 -0
  164. package/cdn/chunks/chunk.OSNWOWQ2.js +2337 -0
  165. package/cdn/chunks/chunk.OSRGCUJJ.js +891 -0
  166. package/cdn/chunks/chunk.OVC7EVR4.js +32 -0
  167. package/cdn/chunks/chunk.PEGHDN3D.js +32 -0
  168. package/cdn/chunks/chunk.PKU5OUHL.js +19 -0
  169. package/cdn/chunks/chunk.PVAQWFRB.js +224 -0
  170. package/cdn/chunks/chunk.PVNZZZCV.js +1307 -0
  171. package/cdn/chunks/chunk.QBDCDA3E.js +754 -0
  172. package/cdn/chunks/chunk.QDRW3JBM.js +113 -0
  173. package/cdn/chunks/chunk.QFRFT4W5.js +19 -0
  174. package/cdn/chunks/chunk.QJPYGHSA.js +29 -0
  175. package/cdn/chunks/chunk.QN4G5N5L.js +591 -0
  176. package/cdn/chunks/chunk.QQYFIC2N.js +19 -0
  177. package/cdn/chunks/chunk.QR6SCWOR.js +19 -0
  178. package/cdn/chunks/chunk.QRGGKLJQ.js +29 -0
  179. package/cdn/chunks/chunk.QSX2ASPV.js +36 -0
  180. package/cdn/chunks/chunk.QV7MGHUO.js +32 -0
  181. package/cdn/chunks/chunk.QYLVSRAZ.js +442 -0
  182. package/cdn/chunks/chunk.R6TDRJ2T.js +28 -0
  183. package/cdn/chunks/chunk.RRQO6C7V.js +208 -0
  184. package/cdn/chunks/chunk.RRT5M4B3.js +104 -0
  185. package/cdn/chunks/chunk.RZNXY5DA.js +85 -0
  186. package/cdn/chunks/chunk.S2MHJ2BL.js +529 -0
  187. package/cdn/chunks/chunk.S2P2KBX3.js +19 -0
  188. package/cdn/chunks/chunk.S5UFNVHZ.js +1768 -0
  189. package/cdn/chunks/chunk.SAMOMNBR.js +32 -0
  190. package/cdn/chunks/chunk.SPWHG3FQ.js +36 -0
  191. package/cdn/chunks/chunk.SRIL2GZR.js +19 -0
  192. package/cdn/chunks/chunk.T32DCJPK.js +33 -0
  193. package/cdn/chunks/chunk.T3YLYNOF.js +2977 -0
  194. package/cdn/chunks/chunk.T7754SP4.js +33 -0
  195. package/cdn/chunks/chunk.T7KRTL2U.js +19 -0
  196. package/cdn/chunks/chunk.TAY4BUTR.js +92 -0
  197. package/cdn/chunks/chunk.TBU3QGJR.js +29 -0
  198. package/cdn/chunks/chunk.TEEU5HFN.js +284 -0
  199. package/cdn/chunks/chunk.TFRA4ITH.js +32 -0
  200. package/cdn/chunks/chunk.TFRHDABM.js +19 -0
  201. package/cdn/chunks/chunk.THX4K42R.js +19 -0
  202. package/cdn/chunks/chunk.TKLGXW34.js +19 -0
  203. package/cdn/chunks/chunk.TMAJCFSJ.js +19 -0
  204. package/cdn/chunks/chunk.TMPSEY4M.js +876 -0
  205. package/cdn/chunks/chunk.TULXWHMT.js +19 -0
  206. package/cdn/chunks/chunk.U42UGPIF.js +34 -0
  207. package/cdn/chunks/chunk.U7RFQUL4.js +117 -0
  208. package/cdn/chunks/chunk.UHSY6WVZ.js +19 -0
  209. package/cdn/chunks/chunk.UI7YLIQD.js +19 -0
  210. package/cdn/chunks/chunk.UK5FWG26.js +621 -0
  211. package/cdn/chunks/chunk.UMPFH3IG.js +32 -0
  212. package/cdn/chunks/chunk.UW4VQ2ZT.js +29 -0
  213. package/cdn/chunks/chunk.UWQGPSGJ.js +123 -0
  214. package/cdn/chunks/chunk.UYISI6DV.js +161 -0
  215. package/cdn/chunks/chunk.VBP6ZZXJ.js +104 -0
  216. package/cdn/chunks/chunk.VNSMUAG2.js +19 -0
  217. package/cdn/chunks/chunk.VQFDZZR5.js +64743 -0
  218. package/cdn/chunks/chunk.VTJ45MEV.js +68 -0
  219. package/cdn/chunks/chunk.VXTFCFJP.js +29 -0
  220. package/cdn/chunks/chunk.VYRHCJMA.js +19 -0
  221. package/cdn/chunks/chunk.W5BKCYRV.js +19 -0
  222. package/cdn/chunks/chunk.W7NVJUQD.js +42 -0
  223. package/cdn/chunks/chunk.WAIMZWDO.js +32 -0
  224. package/cdn/chunks/chunk.WCOQW5IP.js +29 -0
  225. package/cdn/chunks/chunk.WENZIKZU.js +37 -0
  226. package/cdn/chunks/chunk.WLIBRD3E.js +36 -0
  227. package/cdn/chunks/chunk.WMGJ3MAP.js +415 -0
  228. package/cdn/chunks/chunk.WT45RB6M.js +86 -0
  229. package/cdn/chunks/chunk.WVIQ74WP.js +29 -0
  230. package/cdn/chunks/chunk.WVKE7GDV.js +82 -0
  231. package/cdn/chunks/chunk.X6V5UTEC.js +19 -0
  232. package/cdn/chunks/chunk.XE7NSCVW.js +35 -0
  233. package/cdn/chunks/chunk.XEPXVSXX.js +19 -0
  234. package/cdn/chunks/chunk.XFTU6F75.js +19 -0
  235. package/cdn/chunks/chunk.XGGJLW76.js +19 -0
  236. package/cdn/chunks/chunk.XIPDYSFN.js +32 -0
  237. package/cdn/chunks/chunk.XIY5GTZR.js +19 -0
  238. package/cdn/chunks/chunk.XLUZ67JF.js +11763 -0
  239. package/cdn/chunks/chunk.Y7SR4L5C.js +19 -0
  240. package/cdn/chunks/chunk.YJ7H7EYL.js +71 -0
  241. package/cdn/chunks/chunk.YKDCWNZE.js +17319 -0
  242. package/cdn/chunks/chunk.YMH7U2K5.js +29 -0
  243. package/cdn/chunks/chunk.YU5KVALN.js +29 -0
  244. package/cdn/chunks/chunk.Z6ZRFFCE.js +35 -0
  245. package/cdn/chunks/chunk.ZG6QTQKO.js +162 -0
  246. package/cdn/chunks/chunk.ZL4AGGZE.js +35 -0
  247. package/cdn/chunks/chunk.ZL6COYU6.js +19 -0
  248. package/cdn/chunks/chunk.ZNSSJSKK.js +158 -0
  249. package/cdn/chunks/lerc.IIII5MJ5.js +2099 -0
  250. package/cdn/components/accordion/accordion.component.js +5 -5
  251. package/cdn/components/accordion/accordion.js +6 -6
  252. package/cdn/components/alert/alert.component.js +4 -4
  253. package/cdn/components/alert/alert.js +5 -5
  254. package/cdn/components/avatar/avatar.component.js +5 -5
  255. package/cdn/components/avatar/avatar.js +6 -6
  256. package/cdn/components/badge/badge.component.js +3 -3
  257. package/cdn/components/badge/badge.js +4 -4
  258. package/cdn/components/banner/banner.component.js +3 -3
  259. package/cdn/components/banner/banner.js +4 -4
  260. package/cdn/components/breadcrumb/breadcrumb.component.js +2 -2
  261. package/cdn/components/breadcrumb/breadcrumb.js +3 -3
  262. package/cdn/components/breadcrumbs/breadcrumbs.component.js +2 -2
  263. package/cdn/components/breadcrumbs/breadcrumbs.js +3 -3
  264. package/cdn/components/browse-variables/browse-variables.component.d.ts +1 -1
  265. package/cdn/components/browse-variables/browse-variables.component.js +21 -21
  266. package/cdn/components/browse-variables/browse-variables.controller.js +2 -2
  267. package/cdn/components/browse-variables/browse-variables.js +22 -22
  268. package/cdn/components/button/button.component.js +6 -6
  269. package/cdn/components/button/button.js +7 -7
  270. package/cdn/components/button-group/button-group.component.js +2 -2
  271. package/cdn/components/button-group/button-group.js +3 -3
  272. package/cdn/components/caption/caption.component.js +2 -2
  273. package/cdn/components/caption/caption.js +3 -3
  274. package/cdn/components/card/card.component.js +2 -2
  275. package/cdn/components/card/card.js +3 -3
  276. package/cdn/components/checkbox/checkbox.component.js +5 -5
  277. package/cdn/components/checkbox/checkbox.js +6 -6
  278. package/cdn/components/chip/chip.component.js +2 -2
  279. package/cdn/components/chip/chip.js +3 -3
  280. package/cdn/components/combobox/combobox.component.js +5 -5
  281. package/cdn/components/combobox/combobox.js +6 -6
  282. package/cdn/components/data-access/data-access.component.d.ts +11 -11
  283. package/cdn/components/data-access/data-access.component.js +69 -56
  284. package/cdn/components/data-access/data-access.js +70 -57
  285. package/cdn/components/data-grid/data-grid.component.js +3 -3
  286. package/cdn/components/data-grid/data-grid.js +4 -4
  287. package/cdn/components/data-rods/data-rods.component.d.ts +7 -11
  288. package/cdn/components/data-rods/data-rods.component.js +79 -67
  289. package/cdn/components/data-rods/data-rods.js +80 -68
  290. package/cdn/components/data-subsetter/data-subsetter.component.d.ts +8 -5
  291. package/cdn/components/data-subsetter/data-subsetter.component.js +83 -72
  292. package/cdn/components/data-subsetter/data-subsetter.js +84 -73
  293. package/cdn/components/data-subsetter/data-subsetter.styles.js +1 -1
  294. package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  295. package/cdn/components/data-subsetter-history/data-subsetter-history.component.d.ts +4 -7
  296. package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +84 -73
  297. package/cdn/components/data-subsetter-history/data-subsetter-history.js +85 -74
  298. package/cdn/components/date-picker/date-picker.component.d.ts +3 -4
  299. package/cdn/components/date-picker/date-picker.component.js +14 -14
  300. package/cdn/components/date-picker/date-picker.js +15 -15
  301. package/cdn/components/date-range-slider/date-range-slider.component.js +3 -3
  302. package/cdn/components/date-range-slider/date-range-slider.js +4 -4
  303. package/cdn/components/dialog/dialog.component.js +8 -8
  304. package/cdn/components/dialog/dialog.js +9 -9
  305. package/cdn/components/divider/divider.component.js +2 -2
  306. package/cdn/components/divider/divider.js +3 -3
  307. package/cdn/components/dropdown/dropdown.component.js +4 -4
  308. package/cdn/components/dropdown/dropdown.js +5 -5
  309. package/cdn/components/earthdata-login/earthdata-login.component.d.ts +3 -1
  310. package/cdn/components/earthdata-login/earthdata-login.component.js +16 -17
  311. package/cdn/components/earthdata-login/earthdata-login.js +17 -18
  312. package/cdn/components/file-upload/file-upload.component.js +2 -2
  313. package/cdn/components/file-upload/file-upload.js +3 -3
  314. package/cdn/components/harmony-history/harmony-history.component.d.ts +3 -6
  315. package/cdn/components/harmony-history/harmony-history.component.js +12 -13
  316. package/cdn/components/harmony-history/harmony-history.js +13 -14
  317. package/cdn/components/icon/icon.component.js +3 -3
  318. package/cdn/components/icon/icon.js +4 -4
  319. package/cdn/components/input/input.component.js +5 -5
  320. package/cdn/components/input/input.js +6 -6
  321. package/cdn/components/loader/loader.component.js +2 -2
  322. package/cdn/components/loader/loader.js +3 -3
  323. package/cdn/components/login/login.component.d.ts +3 -1
  324. package/cdn/components/login/login.component.js +12 -13
  325. package/cdn/components/login/login.js +13 -14
  326. package/cdn/components/map/controls/draw-toolbar.control.d.ts +5 -2
  327. package/cdn/components/map/controls/draw-toolbar.control.js +18 -8
  328. package/cdn/components/map/controls/layer-picker.control.d.ts +16 -0
  329. package/cdn/components/map/controls/layer-picker.control.js +13 -0
  330. package/cdn/components/map/layers/base.layer.d.ts +10 -0
  331. package/cdn/components/map/layers/base.layer.js +25 -14
  332. package/cdn/components/map/layers/borders.layer.js +21 -13
  333. package/cdn/components/map/layers/boundary.d.ts +30 -0
  334. package/cdn/components/map/layers/boundary.js +20 -0
  335. package/cdn/components/map/layers/common.d.ts +2 -0
  336. package/cdn/components/map/layers/geotiff.layer.js +12 -7
  337. package/cdn/components/map/layers/gibs-vector.layer.js +26 -18
  338. package/cdn/components/map/layers/gibs.layer.d.ts +6 -0
  339. package/cdn/components/map/layers/gibs.layer.js +26 -18
  340. package/cdn/components/map/layers/labels.layer.js +21 -13
  341. package/cdn/components/map/layers/layer.js +28 -20
  342. package/cdn/components/map/layers/xyz.layer.js +17 -12
  343. package/cdn/components/map/map.component.d.ts +73 -21
  344. package/cdn/components/map/map.component.js +43 -29
  345. package/cdn/components/map/map.js +44 -30
  346. package/cdn/components/map/map.service.d.ts +92 -9
  347. package/cdn/components/map/map.service.js +33 -19
  348. package/cdn/components/map/map.styles.js +1 -1
  349. package/cdn/components/map/projections.js +4 -3
  350. package/cdn/components/map/type.d.ts +7 -0
  351. package/cdn/components/menu/menu.component.js +2 -2
  352. package/cdn/components/menu/menu.js +3 -3
  353. package/cdn/components/menu-item/menu-item.component.js +7 -7
  354. package/cdn/components/menu-item/menu-item.js +8 -8
  355. package/cdn/components/option/option.component.js +4 -4
  356. package/cdn/components/option/option.js +5 -5
  357. package/cdn/components/pagination/pagination.component.js +4 -4
  358. package/cdn/components/pagination/pagination.js +5 -5
  359. package/cdn/components/plot/plot.component.js +2 -2
  360. package/cdn/components/plot/plot.js +3 -3
  361. package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  362. package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  363. package/cdn/components/plot-toolbar/plot-toolbar.component.d.ts +4 -4
  364. package/cdn/components/plot-toolbar/plot-toolbar.component.js +54 -42
  365. package/cdn/components/plot-toolbar/plot-toolbar.js +55 -43
  366. package/cdn/components/popup/popup.component.js +2 -2
  367. package/cdn/components/popup/popup.js +3 -3
  368. package/cdn/components/progress-bar/progress-bar.component.js +2 -2
  369. package/cdn/components/progress-bar/progress-bar.js +3 -3
  370. package/cdn/components/radio/radio.component.js +3 -3
  371. package/cdn/components/radio/radio.js +4 -4
  372. package/cdn/components/radio-group/radio-group.component.js +3 -3
  373. package/cdn/components/radio-group/radio-group.js +4 -4
  374. package/cdn/components/scroll-hint/scroll-hint.component.js +4 -4
  375. package/cdn/components/scroll-hint/scroll-hint.js +5 -5
  376. package/cdn/components/select/select.component.js +8 -8
  377. package/cdn/components/select/select.js +9 -9
  378. package/cdn/components/site-header/site-header.component.js +5 -5
  379. package/cdn/components/site-header/site-header.js +5 -5
  380. package/cdn/components/site-navigation/site-navigation.component.js +2 -2
  381. package/cdn/components/site-navigation/site-navigation.js +2 -2
  382. package/cdn/components/skeleton/skeleton.component.js +2 -2
  383. package/cdn/components/skeleton/skeleton.js +3 -3
  384. package/cdn/components/slider/slider.component.js +2 -2
  385. package/cdn/components/slider/slider.js +3 -3
  386. package/cdn/components/spatial-picker/spatial-picker.component.d.ts +0 -10
  387. package/cdn/components/spatial-picker/spatial-picker.component.js +53 -39
  388. package/cdn/components/spatial-picker/spatial-picker.js +54 -40
  389. package/cdn/components/status-indicator/status-indicator.component.js +2 -2
  390. package/cdn/components/status-indicator/status-indicator.js +3 -3
  391. package/cdn/components/stepper/stepper.component.js +2 -2
  392. package/cdn/components/stepper/stepper.js +3 -3
  393. package/cdn/components/stepper-step/stepper-step.component.js +4 -4
  394. package/cdn/components/stepper-step/stepper-step.js +5 -5
  395. package/cdn/components/tab/tab.component.js +4 -4
  396. package/cdn/components/tab/tab.js +5 -5
  397. package/cdn/components/tab-panel/tab-panel.component.js +3 -3
  398. package/cdn/components/tab-panel/tab-panel.js +4 -4
  399. package/cdn/components/tabs/tabs.component.d.ts +2 -1
  400. package/cdn/components/tabs/tabs.component.js +4 -4
  401. package/cdn/components/tabs/tabs.js +5 -5
  402. package/cdn/components/tag/tag.component.js +4 -4
  403. package/cdn/components/tag/tag.js +5 -5
  404. package/cdn/components/textarea/textarea.component.js +4 -4
  405. package/cdn/components/textarea/textarea.js +5 -5
  406. package/cdn/components/time-average-map/time-average-map.component.d.ts +10 -14
  407. package/cdn/components/time-average-map/time-average-map.component.js +66 -54
  408. package/cdn/components/time-average-map/time-average-map.controller.js +7 -7
  409. package/cdn/components/time-average-map/time-average-map.js +67 -55
  410. package/cdn/components/time-series/time-series.component.d.ts +2 -10
  411. package/cdn/components/time-series/time-series.component.js +66 -54
  412. package/cdn/components/time-series/time-series.controller.js +7 -7
  413. package/cdn/components/time-series/time-series.js +67 -55
  414. package/cdn/components/toast/toast.component.js +5 -5
  415. package/cdn/components/toast/toast.js +6 -6
  416. package/cdn/components/toggle/toggle.component.js +4 -4
  417. package/cdn/components/toggle/toggle.js +5 -5
  418. package/cdn/components/tooltip/tooltip.component.js +4 -4
  419. package/cdn/components/tooltip/tooltip.js +5 -5
  420. package/cdn/components/variable-combobox/variable-combobox.component.d.ts +5 -9
  421. package/cdn/components/variable-combobox/variable-combobox.component.js +14 -12
  422. package/cdn/components/variable-combobox/variable-combobox.js +15 -13
  423. package/cdn/components/variable-keyword-search/variable-keyword-search.component.d.ts +2 -2
  424. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +10 -10
  425. package/cdn/components/variable-keyword-search/variable-keyword-search.js +11 -11
  426. package/cdn/custom-elements.json +10670 -8582
  427. package/cdn/events/events.d.ts +2 -2
  428. package/cdn/events/terra-map.d.ts +55 -0
  429. package/cdn/mixins/auth.mixin.d.ts +23 -0
  430. package/cdn/mixins/mixin.types.d.ts +1 -0
  431. package/cdn/mixins/query-client.mixin.d.ts +1 -1
  432. package/cdn/react/accordion/index.js +6 -6
  433. package/cdn/react/alert/index.js +5 -5
  434. package/cdn/react/avatar/index.js +6 -6
  435. package/cdn/react/badge/index.js +4 -4
  436. package/cdn/react/banner/index.js +4 -4
  437. package/cdn/react/breadcrumb/index.js +3 -3
  438. package/cdn/react/breadcrumbs/index.js +3 -3
  439. package/cdn/react/browse-variables/index.js +22 -22
  440. package/cdn/react/button/index.js +7 -7
  441. package/cdn/react/button-group/index.js +3 -3
  442. package/cdn/react/caption/index.js +3 -3
  443. package/cdn/react/card/index.js +3 -3
  444. package/cdn/react/checkbox/index.js +6 -6
  445. package/cdn/react/chip/index.js +3 -3
  446. package/cdn/react/combobox/index.js +6 -6
  447. package/cdn/react/data-access/index.js +70 -57
  448. package/cdn/react/data-grid/index.js +4 -4
  449. package/cdn/react/data-rods/index.d.ts +6 -1
  450. package/cdn/react/data-rods/index.js +80 -68
  451. package/cdn/react/data-subsetter/index.d.ts +3 -0
  452. package/cdn/react/data-subsetter/index.js +84 -73
  453. package/cdn/react/data-subsetter-history/index.d.ts +6 -1
  454. package/cdn/react/data-subsetter-history/index.js +85 -74
  455. package/cdn/react/date-picker/index.js +15 -15
  456. package/cdn/react/date-range-slider/index.js +4 -4
  457. package/cdn/react/dialog/index.js +9 -9
  458. package/cdn/react/divider/index.js +3 -3
  459. package/cdn/react/dropdown/index.js +5 -5
  460. package/cdn/react/earthdata-login/index.js +17 -18
  461. package/cdn/react/file-upload/index.js +3 -3
  462. package/cdn/react/harmony-history/index.d.ts +3 -0
  463. package/cdn/react/harmony-history/index.js +13 -14
  464. package/cdn/react/icon/index.js +4 -4
  465. package/cdn/react/index.d.ts +24 -24
  466. package/cdn/react/index.js +277 -265
  467. package/cdn/react/input/index.js +6 -6
  468. package/cdn/react/loader/index.js +3 -3
  469. package/cdn/react/login/index.js +13 -14
  470. package/cdn/react/map/index.d.ts +32 -1
  471. package/cdn/react/map/index.js +44 -30
  472. package/cdn/react/menu/index.js +3 -3
  473. package/cdn/react/menu-item/index.js +8 -8
  474. package/cdn/react/option/index.js +5 -5
  475. package/cdn/react/pagination/index.js +5 -5
  476. package/cdn/react/plot/index.js +3 -3
  477. package/cdn/react/plot-toolbar/index.d.ts +6 -1
  478. package/cdn/react/plot-toolbar/index.js +55 -43
  479. package/cdn/react/popup/index.js +3 -3
  480. package/cdn/react/progress-bar/index.js +3 -3
  481. package/cdn/react/radio/index.js +4 -4
  482. package/cdn/react/radio-group/index.js +4 -4
  483. package/cdn/react/scroll-hint/index.js +5 -5
  484. package/cdn/react/select/index.js +9 -9
  485. package/cdn/react/site-header/index.js +6 -6
  486. package/cdn/react/site-navigation/index.js +3 -3
  487. package/cdn/react/skeleton/index.js +3 -3
  488. package/cdn/react/slider/index.js +3 -3
  489. package/cdn/react/spatial-picker/index.js +54 -40
  490. package/cdn/react/status-indicator/index.js +3 -3
  491. package/cdn/react/stepper/index.js +3 -3
  492. package/cdn/react/stepper-step/index.js +5 -5
  493. package/cdn/react/tab/index.js +5 -5
  494. package/cdn/react/tab-panel/index.js +4 -4
  495. package/cdn/react/tabs/index.js +5 -5
  496. package/cdn/react/tag/index.js +5 -5
  497. package/cdn/react/textarea/index.js +5 -5
  498. package/cdn/react/time-average-map/index.d.ts +6 -1
  499. package/cdn/react/time-average-map/index.js +67 -55
  500. package/cdn/react/time-series/index.d.ts +3 -0
  501. package/cdn/react/time-series/index.js +67 -55
  502. package/cdn/react/toast/index.js +6 -6
  503. package/cdn/react/toggle/index.js +5 -5
  504. package/cdn/react/tooltip/index.js +5 -5
  505. package/cdn/react/variable-combobox/index.d.ts +4 -1
  506. package/cdn/react/variable-combobox/index.js +15 -13
  507. package/cdn/react/variable-keyword-search/index.d.ts +1 -1
  508. package/cdn/react/variable-keyword-search/index.js +11 -11
  509. package/cdn/terra-ui-components.js +278 -266
  510. package/cdn/types/vue/index.d.ts +1037 -870
  511. package/cdn/utilities/date.d.ts +4 -0
  512. package/cdn/utilities/date.js +3 -1
  513. package/cdn/utilities/variable-task.js +2 -2
  514. package/cdn/vscode.html-custom-data.json +692 -661
  515. package/cdn/web-types.json +2243 -2077
  516. package/dist/apis/harmony.api.d.ts +5 -0
  517. package/dist/chunks/chunk.25A7KRDN.js +19 -0
  518. package/dist/chunks/chunk.2C5HNR5L.js +4 -0
  519. package/dist/chunks/chunk.2O3IOB3J.js +1 -0
  520. package/dist/chunks/chunk.33OXTI3O.js +22 -0
  521. package/dist/chunks/chunk.345LFJWT.js +1 -0
  522. package/dist/chunks/chunk.3D65L7Z7.js +1 -0
  523. package/dist/chunks/chunk.3GAETZS7.js +12 -0
  524. package/dist/chunks/chunk.3IH7Q4YU.js +1 -0
  525. package/dist/chunks/chunk.424PTQE6.js +1 -0
  526. package/dist/chunks/chunk.43YXC3BX.js +1 -0
  527. package/dist/chunks/chunk.45H2PNH4.js +1 -0
  528. package/dist/chunks/chunk.47YM7IJH.js +1 -0
  529. package/dist/chunks/chunk.4A2YMU2A.js +1 -0
  530. package/dist/chunks/chunk.4BU5K6UJ.js +1 -0
  531. package/dist/chunks/chunk.4HQHKAPL.js +1 -0
  532. package/dist/chunks/chunk.4POG3VJI.js +148 -0
  533. package/dist/chunks/chunk.4QRZ7ROR.js +299 -0
  534. package/dist/chunks/chunk.4WJQSWQN.js +1 -0
  535. package/dist/chunks/chunk.52VRTKYJ.js +1 -0
  536. package/dist/chunks/chunk.55FJVUS6.js +43 -0
  537. package/dist/chunks/chunk.55S45QN4.js +1 -0
  538. package/dist/chunks/chunk.574Z2YXE.js +1 -0
  539. package/dist/chunks/chunk.5EE4HG2I.js +1 -0
  540. package/dist/chunks/chunk.5SZGFRLL.js +1 -0
  541. package/dist/chunks/chunk.5TJN4Z3R.js +1 -0
  542. package/dist/chunks/chunk.5TYJPHW2.js +1 -0
  543. package/dist/chunks/chunk.5UYKLBWJ.js +8 -0
  544. package/dist/chunks/chunk.5VNCJX27.js +55 -0
  545. package/dist/chunks/chunk.64725NP3.js +1 -0
  546. package/dist/chunks/chunk.6HO3MVIP.js +1 -0
  547. package/dist/chunks/chunk.6I57S7FR.js +27 -0
  548. package/dist/chunks/chunk.6XHCRR5R.js +9 -0
  549. package/dist/chunks/chunk.73HKAO6V.js +11 -0
  550. package/dist/chunks/chunk.7COB35MT.js +75 -0
  551. package/dist/chunks/chunk.7NCUNKBE.js +1 -0
  552. package/dist/chunks/chunk.7NXWYAIR.js +1 -0
  553. package/dist/chunks/chunk.7SLU543S.js +1 -0
  554. package/dist/chunks/chunk.7XQG4HG3.js +1 -0
  555. package/dist/chunks/chunk.A2ZTVI45.js +154 -0
  556. package/dist/chunks/chunk.AAUFO4KA.js +1 -0
  557. package/dist/chunks/chunk.AFNS7NIK.js +1 -0
  558. package/dist/chunks/chunk.AHL4S3IT.js +1 -0
  559. package/dist/chunks/chunk.AHS4Q35I.js +1 -0
  560. package/dist/chunks/chunk.AIWYS7YQ.js +1 -0
  561. package/dist/chunks/chunk.ALIRA2AC.js +1 -0
  562. package/dist/chunks/chunk.ATILEODB.js +18 -0
  563. package/dist/chunks/chunk.B3X6VXDL.js +1 -0
  564. package/dist/chunks/chunk.B4BXOMMQ.js +1 -0
  565. package/dist/chunks/chunk.BCGQKSR6.js +1 -0
  566. package/dist/chunks/chunk.BOZFOR5U.js +1 -0
  567. package/dist/chunks/chunk.BQB6XWSY.js +1 -0
  568. package/dist/chunks/chunk.BW5OZ5PS.js +1 -0
  569. package/dist/chunks/chunk.BXPTMVQE.js +1 -0
  570. package/dist/chunks/chunk.C6OX4NX6.js +74 -0
  571. package/dist/chunks/chunk.C7VEVA2Y.js +20 -0
  572. package/dist/chunks/chunk.CEOBCS56.js +1 -0
  573. package/dist/chunks/chunk.CGTXCYPM.js +41 -0
  574. package/dist/chunks/chunk.CH2PWIJD.js +5 -0
  575. package/dist/chunks/chunk.CLY6HMJZ.js +121 -0
  576. package/dist/chunks/chunk.CNGZOMLD.js +1 -0
  577. package/dist/chunks/chunk.CPFON5LM.js +1 -0
  578. package/dist/chunks/chunk.CQUQVS3M.js +1 -0
  579. package/dist/chunks/chunk.CRHOUQZH.js +1023 -0
  580. package/dist/chunks/chunk.CVKACFML.js +1 -0
  581. package/dist/chunks/chunk.D3JQRTEL.js +1 -0
  582. package/dist/chunks/chunk.DH5QWPH3.js +126 -0
  583. package/dist/chunks/chunk.DJ5BXB5G.js +48 -0
  584. package/dist/chunks/chunk.DKBGIHHD.js +1 -0
  585. package/dist/chunks/chunk.DOT4H7LX.js +2 -0
  586. package/dist/chunks/chunk.DTKNWAYL.js +62 -0
  587. package/dist/chunks/chunk.DWQMS6BC.js +1 -0
  588. package/dist/chunks/chunk.E477TJOR.js +1 -0
  589. package/dist/chunks/chunk.E4ELJE6I.js +35 -0
  590. package/dist/chunks/chunk.EB3ZPXT6.js +1 -0
  591. package/dist/chunks/chunk.EP2O3QZD.js +1 -0
  592. package/dist/chunks/chunk.EP5CSYKQ.js +1 -0
  593. package/dist/chunks/chunk.EQV2PFSY.js +1 -0
  594. package/dist/chunks/chunk.ER2IYY3T.js +1 -0
  595. package/dist/chunks/chunk.EV5P56DN.js +1 -0
  596. package/dist/chunks/chunk.F3NCEQ7X.js +1 -0
  597. package/dist/chunks/chunk.FSZCT7LX.js +26 -0
  598. package/dist/chunks/chunk.G3ZRWDDX.js +1 -0
  599. package/dist/chunks/chunk.G57LF47A.js +1 -0
  600. package/dist/chunks/chunk.GABTYKJH.js +1 -0
  601. package/dist/chunks/chunk.GHAZYRJA.js +1 -0
  602. package/dist/chunks/chunk.GP5SO7WB.js +43 -0
  603. package/dist/chunks/chunk.GQKEZMI5.js +64 -0
  604. package/dist/chunks/chunk.GUCJK7CQ.js +1 -0
  605. package/dist/chunks/chunk.GVVBO4QC.js +30 -0
  606. package/dist/chunks/chunk.H57KVCKB.js +4 -0
  607. package/dist/chunks/chunk.HCPPIK6X.js +1 -0
  608. package/dist/chunks/chunk.HDBWSDNO.js +1 -0
  609. package/dist/chunks/chunk.HDQVEOLO.js +1 -0
  610. package/dist/chunks/chunk.HKOYW5P7.js +1 -0
  611. package/dist/chunks/chunk.HPJUOBS5.js +1 -0
  612. package/dist/chunks/chunk.HTEGCYSS.js +2 -0
  613. package/dist/chunks/chunk.I2766Z6G.js +1 -0
  614. package/dist/chunks/chunk.I6OSLDVJ.js +1 -0
  615. package/dist/chunks/chunk.I6WZHDJR.js +1 -0
  616. package/dist/chunks/chunk.ID6GATFM.js +1 -0
  617. package/dist/chunks/chunk.IDQKGC62.js +1 -0
  618. package/dist/chunks/chunk.IRLLX53J.js +47 -0
  619. package/dist/chunks/chunk.IS2NEHYI.js +1 -0
  620. package/dist/chunks/chunk.IS4IX5PC.js +1 -0
  621. package/dist/chunks/chunk.J6W2UPV5.js +1 -0
  622. package/dist/chunks/chunk.JBNOA3A2.js +1 -0
  623. package/dist/chunks/chunk.JDM4WI4S.js +20 -0
  624. package/dist/chunks/chunk.JIF57YBB.js +1 -0
  625. package/dist/chunks/chunk.JM33IYJC.js +1 -0
  626. package/dist/chunks/chunk.JMLZNWOP.js +14 -0
  627. package/dist/chunks/chunk.JRCA2SKL.js +145 -0
  628. package/dist/chunks/chunk.JVSJPJIU.js +5 -0
  629. package/dist/chunks/chunk.JZKLCWMN.js +1 -0
  630. package/dist/chunks/chunk.JZLGMRZU.js +157 -0
  631. package/dist/chunks/chunk.K5BRJBGT.js +1 -0
  632. package/dist/chunks/chunk.KACJAQNX.js +6 -0
  633. package/dist/chunks/chunk.KEJYVX6V.js +55 -0
  634. package/dist/chunks/chunk.KF3WZUJB.js +1 -0
  635. package/dist/chunks/chunk.KGWY64U3.js +1 -0
  636. package/dist/chunks/chunk.KHUTJ2EC.js +1 -0
  637. package/dist/chunks/chunk.KOQ6WD4F.js +1 -0
  638. package/dist/chunks/chunk.KPNLEIXC.js +99 -0
  639. package/dist/chunks/chunk.KZAPYGJP.js +1 -0
  640. package/dist/chunks/chunk.L5QDGGS7.js +1 -0
  641. package/dist/chunks/chunk.LCYI63EA.js +20 -0
  642. package/dist/chunks/chunk.LEZEAL23.js +1 -0
  643. package/dist/chunks/chunk.LM6MTY2M.js +37 -0
  644. package/dist/chunks/chunk.LOLJACKL.js +1 -0
  645. package/dist/chunks/chunk.LQU34HVZ.js +1 -0
  646. package/dist/chunks/chunk.LVAET76P.js +1 -0
  647. package/dist/chunks/chunk.LXFMQAKV.js +1 -0
  648. package/dist/chunks/chunk.LYEGL5BZ.js +1 -0
  649. package/dist/chunks/chunk.LZZE65EN.js +1 -0
  650. package/dist/chunks/chunk.MCJ2GX4A.js +30 -0
  651. package/dist/chunks/chunk.MDKK4AJV.js +17 -0
  652. package/dist/chunks/chunk.MF67H5JA.js +1 -0
  653. package/dist/chunks/chunk.MGU32BIU.js +59 -0
  654. package/dist/chunks/chunk.MK3X5JIU.js +65 -0
  655. package/dist/chunks/chunk.MLR4ZKRU.js +1 -0
  656. package/dist/chunks/chunk.MQIO6BEA.js +1 -0
  657. package/dist/chunks/chunk.MU4BRZ5R.js +1 -0
  658. package/dist/chunks/chunk.MWPFFGL3.js +1 -0
  659. package/dist/chunks/chunk.MXMEA7TP.js +1 -0
  660. package/dist/chunks/chunk.N3V2FL7Q.js +1 -0
  661. package/dist/chunks/chunk.NARLVFIQ.js +33 -0
  662. package/dist/chunks/chunk.NK753QCZ.js +1 -0
  663. package/dist/chunks/chunk.NOXPOPPM.js +1 -0
  664. package/dist/chunks/chunk.NTZXYW2X.js +1 -0
  665. package/dist/chunks/chunk.NV3ZCWPP.js +1 -0
  666. package/dist/chunks/chunk.O2UN3QQG.js +1 -0
  667. package/dist/chunks/chunk.O47BMDEV.js +1 -0
  668. package/dist/chunks/chunk.OJM5RA3G.js +1 -0
  669. package/dist/chunks/chunk.OM4YQXHL.js +1 -0
  670. package/dist/chunks/chunk.OVTNI4H2.js +1 -0
  671. package/dist/chunks/chunk.OWXS5GVL.js +1 -0
  672. package/dist/chunks/chunk.OZSD4QYB.js +1 -0
  673. package/dist/chunks/chunk.PIKCG752.js +1 -0
  674. package/dist/chunks/chunk.PLSGWBX4.js +42 -0
  675. package/dist/chunks/chunk.PP6KREF2.js +5 -0
  676. package/dist/chunks/chunk.PQVZB2P2.js +67 -0
  677. package/dist/chunks/chunk.PRUHQ3VS.js +1 -0
  678. package/dist/chunks/chunk.PWFX3VPM.js +1 -0
  679. package/dist/chunks/chunk.PXVAQ2MA.js +55 -0
  680. package/dist/chunks/chunk.Q6O6LV3R.js +1 -0
  681. package/dist/chunks/chunk.QB7E6R2H.js +1 -0
  682. package/dist/chunks/chunk.QJRLPQ4M.js +1 -0
  683. package/dist/chunks/chunk.QOQWXEK5.js +1 -0
  684. package/dist/chunks/chunk.QVDEJXKO.js +1 -0
  685. package/dist/chunks/chunk.RKMR7V7J.js +1 -0
  686. package/dist/chunks/chunk.RLTSECXU.js +1 -0
  687. package/dist/chunks/chunk.RQYBMFWH.js +25 -0
  688. package/dist/chunks/chunk.S6IY5EKN.js +1 -0
  689. package/dist/chunks/chunk.SD2Q7EO2.js +23 -0
  690. package/dist/chunks/chunk.SEBIDNZM.js +1 -0
  691. package/dist/chunks/chunk.SF2OZFKQ.js +26 -0
  692. package/dist/chunks/chunk.SFK6BRQV.js +16 -0
  693. package/dist/chunks/chunk.SJTIVT6P.js +1 -0
  694. package/dist/chunks/chunk.SKK3NN5J.js +129 -0
  695. package/dist/chunks/chunk.SXGO5MEK.js +100 -0
  696. package/dist/chunks/chunk.TANXPJFE.js +1 -0
  697. package/dist/chunks/chunk.TATIBHUA.js +1 -0
  698. package/dist/chunks/chunk.TOON2INB.js +39 -0
  699. package/dist/chunks/chunk.TPUQNE3A.js +1 -0
  700. package/dist/chunks/chunk.TUGWQPTL.js +1 -0
  701. package/dist/chunks/chunk.TVERDMGY.js +113 -0
  702. package/dist/chunks/chunk.TWRNH5K5.js +1 -0
  703. package/dist/chunks/chunk.UQ6BNK6J.js +1 -0
  704. package/dist/chunks/chunk.UR7PHRDS.js +345 -0
  705. package/dist/chunks/chunk.V4XJH6YL.js +80 -0
  706. package/dist/chunks/chunk.VEPO6QAD.js +1 -0
  707. package/dist/chunks/chunk.VGN6LMHA.js +1 -0
  708. package/dist/chunks/chunk.VGQNQREB.js +1 -0
  709. package/dist/chunks/chunk.VSYDUDNW.js +1286 -0
  710. package/dist/chunks/chunk.W2E2TLSM.js +176 -0
  711. package/dist/chunks/chunk.WQ6USVYL.js +1 -0
  712. package/dist/chunks/chunk.WSBH5HTI.js +1 -0
  713. package/dist/chunks/chunk.WVBRHYTU.js +1 -0
  714. package/dist/chunks/chunk.X66E247Y.js +1 -0
  715. package/dist/chunks/chunk.XAPKFJEL.js +1 -0
  716. package/dist/chunks/chunk.XCYCEX7B.js +1 -0
  717. package/dist/chunks/chunk.XYOSJOLJ.js +1 -0
  718. package/dist/chunks/chunk.XZJS7S7T.js +280 -0
  719. package/dist/chunks/chunk.Y6ESPBDJ.js +1 -0
  720. package/dist/chunks/chunk.Y6HSCFK2.js +1 -0
  721. package/dist/chunks/chunk.YA7JZZG4.js +1 -0
  722. package/dist/chunks/chunk.YBALUVPL.js +1 -0
  723. package/dist/chunks/chunk.YFCEZZRF.js +1 -0
  724. package/dist/chunks/chunk.YLGPGQY4.js +566 -0
  725. package/dist/chunks/chunk.YLNZLECF.js +9 -0
  726. package/dist/chunks/chunk.YMDGNLGV.js +1 -0
  727. package/dist/chunks/chunk.YNN3NBWK.js +1 -0
  728. package/dist/chunks/chunk.YO67MSZK.js +780 -0
  729. package/dist/chunks/chunk.YY3G7NCY.js +35 -0
  730. package/dist/chunks/chunk.YZJEAHZH.js +1 -0
  731. package/dist/chunks/chunk.YZXEYQ6F.js +1 -0
  732. package/dist/chunks/chunk.ZBHNSZBH.js +24 -0
  733. package/dist/chunks/chunk.ZCPIP5RL.js +774 -0
  734. package/dist/chunks/chunk.ZFCVEZXM.js +11 -0
  735. package/dist/components/accordion/accordion.component.js +1 -1
  736. package/dist/components/accordion/accordion.js +1 -1
  737. package/dist/components/alert/alert.component.js +1 -1
  738. package/dist/components/alert/alert.js +1 -1
  739. package/dist/components/avatar/avatar.component.js +1 -1
  740. package/dist/components/avatar/avatar.js +1 -1
  741. package/dist/components/badge/badge.component.js +1 -1
  742. package/dist/components/badge/badge.js +1 -1
  743. package/dist/components/banner/banner.component.js +1 -1
  744. package/dist/components/banner/banner.js +1 -1
  745. package/dist/components/breadcrumb/breadcrumb.component.js +1 -1
  746. package/dist/components/breadcrumb/breadcrumb.js +1 -1
  747. package/dist/components/breadcrumbs/breadcrumbs.component.js +1 -1
  748. package/dist/components/breadcrumbs/breadcrumbs.js +1 -1
  749. package/dist/components/browse-variables/browse-variables.component.d.ts +1 -1
  750. package/dist/components/browse-variables/browse-variables.component.js +1 -1
  751. package/dist/components/browse-variables/browse-variables.controller.js +1 -1
  752. package/dist/components/browse-variables/browse-variables.js +1 -1
  753. package/dist/components/button/button.component.js +1 -1
  754. package/dist/components/button/button.js +1 -1
  755. package/dist/components/button-group/button-group.component.js +1 -1
  756. package/dist/components/button-group/button-group.js +1 -1
  757. package/dist/components/caption/caption.component.js +1 -1
  758. package/dist/components/caption/caption.js +1 -1
  759. package/dist/components/card/card.component.js +1 -1
  760. package/dist/components/card/card.js +1 -1
  761. package/dist/components/checkbox/checkbox.component.js +1 -1
  762. package/dist/components/checkbox/checkbox.js +1 -1
  763. package/dist/components/chip/chip.component.js +1 -1
  764. package/dist/components/chip/chip.js +1 -1
  765. package/dist/components/combobox/combobox.component.js +1 -1
  766. package/dist/components/combobox/combobox.js +1 -1
  767. package/dist/components/data-access/data-access.component.d.ts +11 -11
  768. package/dist/components/data-access/data-access.component.js +1 -1
  769. package/dist/components/data-access/data-access.js +1 -1
  770. package/dist/components/data-grid/data-grid.component.js +1 -1
  771. package/dist/components/data-grid/data-grid.js +1 -1
  772. package/dist/components/data-rods/data-rods.component.d.ts +7 -11
  773. package/dist/components/data-rods/data-rods.component.js +1 -1
  774. package/dist/components/data-rods/data-rods.js +1 -1
  775. package/dist/components/data-subsetter/data-subsetter.component.d.ts +8 -5
  776. package/dist/components/data-subsetter/data-subsetter.component.js +1 -1
  777. package/dist/components/data-subsetter/data-subsetter.js +1 -1
  778. package/dist/components/data-subsetter/data-subsetter.styles.js +1 -1
  779. package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  780. package/dist/components/data-subsetter-history/data-subsetter-history.component.d.ts +4 -7
  781. package/dist/components/data-subsetter-history/data-subsetter-history.component.js +1 -1
  782. package/dist/components/data-subsetter-history/data-subsetter-history.js +1 -1
  783. package/dist/components/date-picker/date-picker.component.d.ts +3 -4
  784. package/dist/components/date-picker/date-picker.component.js +1 -1
  785. package/dist/components/date-picker/date-picker.js +1 -1
  786. package/dist/components/date-range-slider/date-range-slider.component.js +1 -1
  787. package/dist/components/date-range-slider/date-range-slider.js +1 -1
  788. package/dist/components/dialog/dialog.component.js +1 -1
  789. package/dist/components/dialog/dialog.js +1 -1
  790. package/dist/components/divider/divider.component.js +1 -1
  791. package/dist/components/divider/divider.js +1 -1
  792. package/dist/components/dropdown/dropdown.component.js +1 -1
  793. package/dist/components/dropdown/dropdown.js +1 -1
  794. package/dist/components/earthdata-login/earthdata-login.component.d.ts +3 -1
  795. package/dist/components/earthdata-login/earthdata-login.component.js +1 -1
  796. package/dist/components/earthdata-login/earthdata-login.js +1 -1
  797. package/dist/components/file-upload/file-upload.component.js +1 -1
  798. package/dist/components/file-upload/file-upload.js +1 -1
  799. package/dist/components/harmony-history/harmony-history.component.d.ts +3 -6
  800. package/dist/components/harmony-history/harmony-history.component.js +1 -1
  801. package/dist/components/harmony-history/harmony-history.js +1 -1
  802. package/dist/components/icon/icon.component.js +1 -1
  803. package/dist/components/icon/icon.js +1 -1
  804. package/dist/components/input/input.component.js +1 -1
  805. package/dist/components/input/input.js +1 -1
  806. package/dist/components/loader/loader.component.js +1 -1
  807. package/dist/components/loader/loader.js +1 -1
  808. package/dist/components/login/login.component.d.ts +3 -1
  809. package/dist/components/login/login.component.js +1 -1
  810. package/dist/components/login/login.js +1 -1
  811. package/dist/components/map/controls/draw-toolbar.control.d.ts +5 -2
  812. package/dist/components/map/controls/draw-toolbar.control.js +1 -1
  813. package/dist/components/map/controls/layer-picker.control.d.ts +16 -0
  814. package/dist/components/map/controls/layer-picker.control.js +1 -0
  815. package/dist/components/map/layers/base.layer.d.ts +10 -0
  816. package/dist/components/map/layers/base.layer.js +1 -1
  817. package/dist/components/map/layers/boundary.d.ts +30 -0
  818. package/dist/components/map/layers/boundary.js +1 -0
  819. package/dist/components/map/layers/common.d.ts +2 -0
  820. package/dist/components/map/layers/gibs-vector.layer.js +1 -1
  821. package/dist/components/map/layers/gibs.layer.d.ts +6 -0
  822. package/dist/components/map/layers/gibs.layer.js +1 -1
  823. package/dist/components/map/layers/layer.js +1 -1
  824. package/dist/components/map/map.component.d.ts +73 -21
  825. package/dist/components/map/map.component.js +1 -1
  826. package/dist/components/map/map.js +1 -1
  827. package/dist/components/map/map.service.d.ts +92 -9
  828. package/dist/components/map/map.service.js +1 -1
  829. package/dist/components/map/map.styles.js +1 -1
  830. package/dist/components/map/type.d.ts +7 -0
  831. package/dist/components/map/type.js +1 -1
  832. package/dist/components/menu/menu.component.js +1 -1
  833. package/dist/components/menu/menu.js +1 -1
  834. package/dist/components/menu-item/menu-item.component.js +1 -1
  835. package/dist/components/menu-item/menu-item.js +1 -1
  836. package/dist/components/option/option.component.js +1 -1
  837. package/dist/components/option/option.js +1 -1
  838. package/dist/components/pagination/pagination.component.js +1 -1
  839. package/dist/components/pagination/pagination.js +1 -1
  840. package/dist/components/plot/plot.component.js +1 -1
  841. package/dist/components/plot/plot.js +1 -1
  842. package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  843. package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  844. package/dist/components/plot-toolbar/plot-toolbar.component.d.ts +4 -4
  845. package/dist/components/plot-toolbar/plot-toolbar.component.js +1 -1
  846. package/dist/components/plot-toolbar/plot-toolbar.js +1 -1
  847. package/dist/components/popup/popup.component.js +1 -1
  848. package/dist/components/popup/popup.js +1 -1
  849. package/dist/components/progress-bar/progress-bar.component.js +1 -1
  850. package/dist/components/progress-bar/progress-bar.js +1 -1
  851. package/dist/components/radio/radio.component.js +1 -1
  852. package/dist/components/radio/radio.js +1 -1
  853. package/dist/components/radio-group/radio-group.component.js +1 -1
  854. package/dist/components/radio-group/radio-group.js +1 -1
  855. package/dist/components/scroll-hint/scroll-hint.component.js +1 -1
  856. package/dist/components/scroll-hint/scroll-hint.js +1 -1
  857. package/dist/components/select/select.component.js +1 -1
  858. package/dist/components/select/select.js +1 -1
  859. package/dist/components/site-header/site-header.component.js +1 -1
  860. package/dist/components/site-header/site-header.js +1 -1
  861. package/dist/components/site-navigation/site-navigation.component.js +1 -1
  862. package/dist/components/site-navigation/site-navigation.js +1 -1
  863. package/dist/components/skeleton/skeleton.component.js +1 -1
  864. package/dist/components/skeleton/skeleton.js +1 -1
  865. package/dist/components/slider/slider.component.js +1 -1
  866. package/dist/components/slider/slider.js +1 -1
  867. package/dist/components/spatial-picker/spatial-picker.component.d.ts +0 -10
  868. package/dist/components/spatial-picker/spatial-picker.component.js +1 -1
  869. package/dist/components/spatial-picker/spatial-picker.js +1 -1
  870. package/dist/components/status-indicator/status-indicator.component.js +1 -1
  871. package/dist/components/status-indicator/status-indicator.js +1 -1
  872. package/dist/components/stepper/stepper.component.js +1 -1
  873. package/dist/components/stepper/stepper.js +1 -1
  874. package/dist/components/stepper-step/stepper-step.component.js +1 -1
  875. package/dist/components/stepper-step/stepper-step.js +1 -1
  876. package/dist/components/tab/tab.component.js +1 -1
  877. package/dist/components/tab/tab.js +1 -1
  878. package/dist/components/tab-panel/tab-panel.component.js +1 -1
  879. package/dist/components/tab-panel/tab-panel.js +1 -1
  880. package/dist/components/tabs/tabs.component.d.ts +2 -1
  881. package/dist/components/tabs/tabs.component.js +1 -1
  882. package/dist/components/tabs/tabs.js +1 -1
  883. package/dist/components/tag/tag.component.js +1 -1
  884. package/dist/components/tag/tag.js +1 -1
  885. package/dist/components/textarea/textarea.component.js +1 -1
  886. package/dist/components/textarea/textarea.js +1 -1
  887. package/dist/components/time-average-map/time-average-map.component.d.ts +10 -14
  888. package/dist/components/time-average-map/time-average-map.component.js +1 -1
  889. package/dist/components/time-average-map/time-average-map.controller.js +1 -1
  890. package/dist/components/time-average-map/time-average-map.js +1 -1
  891. package/dist/components/time-series/time-series.component.d.ts +2 -10
  892. package/dist/components/time-series/time-series.component.js +1 -1
  893. package/dist/components/time-series/time-series.controller.js +1 -1
  894. package/dist/components/time-series/time-series.js +1 -1
  895. package/dist/components/toast/toast.component.js +1 -1
  896. package/dist/components/toast/toast.js +1 -1
  897. package/dist/components/toggle/toggle.component.js +1 -1
  898. package/dist/components/toggle/toggle.js +1 -1
  899. package/dist/components/tooltip/tooltip.component.js +1 -1
  900. package/dist/components/tooltip/tooltip.js +1 -1
  901. package/dist/components/variable-combobox/variable-combobox.component.d.ts +5 -9
  902. package/dist/components/variable-combobox/variable-combobox.component.js +1 -1
  903. package/dist/components/variable-combobox/variable-combobox.js +1 -1
  904. package/dist/components/variable-keyword-search/variable-keyword-search.component.d.ts +2 -2
  905. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +1 -1
  906. package/dist/components/variable-keyword-search/variable-keyword-search.js +1 -1
  907. package/dist/custom-elements.json +10670 -8582
  908. package/dist/events/events.d.ts +2 -2
  909. package/dist/events/terra-map.d.ts +55 -0
  910. package/dist/mixins/auth.mixin.d.ts +23 -0
  911. package/dist/mixins/mixin.types.d.ts +1 -0
  912. package/dist/mixins/query-client.mixin.d.ts +1 -1
  913. package/dist/react/accordion/index.js +1 -1
  914. package/dist/react/alert/index.js +1 -1
  915. package/dist/react/avatar/index.js +1 -1
  916. package/dist/react/badge/index.js +1 -1
  917. package/dist/react/banner/index.js +1 -1
  918. package/dist/react/breadcrumb/index.js +1 -1
  919. package/dist/react/breadcrumbs/index.js +1 -1
  920. package/dist/react/browse-variables/index.js +1 -1
  921. package/dist/react/button/index.js +1 -1
  922. package/dist/react/button-group/index.js +1 -1
  923. package/dist/react/caption/index.js +1 -1
  924. package/dist/react/card/index.js +1 -1
  925. package/dist/react/checkbox/index.js +1 -1
  926. package/dist/react/chip/index.js +1 -1
  927. package/dist/react/combobox/index.js +1 -1
  928. package/dist/react/data-access/index.js +1 -1
  929. package/dist/react/data-grid/index.js +1 -1
  930. package/dist/react/data-rods/index.d.ts +6 -1
  931. package/dist/react/data-rods/index.js +1 -1
  932. package/dist/react/data-subsetter/index.d.ts +3 -0
  933. package/dist/react/data-subsetter/index.js +1 -1
  934. package/dist/react/data-subsetter-history/index.d.ts +6 -1
  935. package/dist/react/data-subsetter-history/index.js +1 -1
  936. package/dist/react/date-picker/index.js +1 -1
  937. package/dist/react/date-range-slider/index.js +1 -1
  938. package/dist/react/dialog/index.js +1 -1
  939. package/dist/react/divider/index.js +1 -1
  940. package/dist/react/dropdown/index.js +1 -1
  941. package/dist/react/earthdata-login/index.js +1 -1
  942. package/dist/react/file-upload/index.js +1 -1
  943. package/dist/react/harmony-history/index.d.ts +3 -0
  944. package/dist/react/harmony-history/index.js +1 -1
  945. package/dist/react/icon/index.js +1 -1
  946. package/dist/react/index.d.ts +24 -24
  947. package/dist/react/index.js +1 -1
  948. package/dist/react/input/index.js +1 -1
  949. package/dist/react/loader/index.js +1 -1
  950. package/dist/react/login/index.js +1 -1
  951. package/dist/react/map/index.d.ts +32 -1
  952. package/dist/react/map/index.js +1 -1
  953. package/dist/react/menu/index.js +1 -1
  954. package/dist/react/menu-item/index.js +1 -1
  955. package/dist/react/option/index.js +1 -1
  956. package/dist/react/pagination/index.js +1 -1
  957. package/dist/react/plot/index.js +1 -1
  958. package/dist/react/plot-toolbar/index.d.ts +6 -1
  959. package/dist/react/plot-toolbar/index.js +1 -1
  960. package/dist/react/popup/index.js +1 -1
  961. package/dist/react/progress-bar/index.js +1 -1
  962. package/dist/react/radio/index.js +1 -1
  963. package/dist/react/radio-group/index.js +1 -1
  964. package/dist/react/scroll-hint/index.js +1 -1
  965. package/dist/react/select/index.js +1 -1
  966. package/dist/react/site-header/index.js +1 -1
  967. package/dist/react/site-navigation/index.js +1 -1
  968. package/dist/react/skeleton/index.js +1 -1
  969. package/dist/react/slider/index.js +1 -1
  970. package/dist/react/spatial-picker/index.js +1 -1
  971. package/dist/react/status-indicator/index.js +1 -1
  972. package/dist/react/stepper/index.js +1 -1
  973. package/dist/react/stepper-step/index.js +1 -1
  974. package/dist/react/tab/index.js +1 -1
  975. package/dist/react/tab-panel/index.js +1 -1
  976. package/dist/react/tabs/index.js +1 -1
  977. package/dist/react/tag/index.js +1 -1
  978. package/dist/react/textarea/index.js +1 -1
  979. package/dist/react/time-average-map/index.d.ts +6 -1
  980. package/dist/react/time-average-map/index.js +1 -1
  981. package/dist/react/time-series/index.d.ts +3 -0
  982. package/dist/react/time-series/index.js +1 -1
  983. package/dist/react/toast/index.js +1 -1
  984. package/dist/react/toggle/index.js +1 -1
  985. package/dist/react/tooltip/index.js +1 -1
  986. package/dist/react/variable-combobox/index.d.ts +4 -1
  987. package/dist/react/variable-combobox/index.js +1 -1
  988. package/dist/react/variable-keyword-search/index.d.ts +1 -1
  989. package/dist/react/variable-keyword-search/index.js +1 -1
  990. package/dist/terra-ui-components.js +1 -1
  991. package/dist/terra_ui_components-0.0.205-py3-none-any.whl +0 -0
  992. package/dist/terra_ui_components-0.0.205.tar.gz +0 -0
  993. package/dist/types/vue/index.d.ts +1037 -870
  994. package/dist/utilities/date.d.ts +4 -0
  995. package/dist/utilities/date.js +1 -1
  996. package/dist/utilities/variable-task.js +1 -1
  997. package/dist/vscode.html-custom-data.json +692 -661
  998. package/dist/web-types.json +2243 -2077
  999. package/package.json +6 -4
  1000. package/cdn/auth/auth.controller.d.ts +0 -16
  1001. package/cdn/chunks/GeoTIFF.KMHPSKO6.js +0 -19975
  1002. package/cdn/chunks/chunk.27KCXEZH.js +0 -431
  1003. package/cdn/chunks/chunk.2AFX3VCL.js +0 -125
  1004. package/cdn/chunks/chunk.2DFPSVL6.js +0 -68
  1005. package/cdn/chunks/chunk.2DPXUVUW.js +0 -357
  1006. package/cdn/chunks/chunk.2EKGBKN2.js +0 -19
  1007. package/cdn/chunks/chunk.2FSYZKPK.js +0 -29
  1008. package/cdn/chunks/chunk.2HXJHNH3.js +0 -5339
  1009. package/cdn/chunks/chunk.2IA6WV7R.js +0 -19
  1010. package/cdn/chunks/chunk.2NRTTHOD.js +0 -30
  1011. package/cdn/chunks/chunk.2PJPIGBI.js +0 -1122
  1012. package/cdn/chunks/chunk.2RYJM2TF.js +0 -19
  1013. package/cdn/chunks/chunk.2UATMVXP.js +0 -261
  1014. package/cdn/chunks/chunk.2UUMIAXS.js +0 -19
  1015. package/cdn/chunks/chunk.3A3QJT7L.js +0 -29
  1016. package/cdn/chunks/chunk.3UXSNM76.js +0 -32
  1017. package/cdn/chunks/chunk.4CVCW4V3.js +0 -32
  1018. package/cdn/chunks/chunk.4HFZS2GO.js +0 -19
  1019. package/cdn/chunks/chunk.4KCMI4UU.js +0 -1036
  1020. package/cdn/chunks/chunk.4M7FMP7T.js +0 -442
  1021. package/cdn/chunks/chunk.4OETFOY2.js +0 -71
  1022. package/cdn/chunks/chunk.4UI7P3Y4.js +0 -19
  1023. package/cdn/chunks/chunk.4VE4DO4N.js +0 -19
  1024. package/cdn/chunks/chunk.4YE3LB3R.js +0 -19
  1025. package/cdn/chunks/chunk.4ZBYMDD6.js +0 -189
  1026. package/cdn/chunks/chunk.5CDWDWX5.js +0 -136
  1027. package/cdn/chunks/chunk.5CLU2XHI.js +0 -29
  1028. package/cdn/chunks/chunk.5G4MIKDW.js +0 -19
  1029. package/cdn/chunks/chunk.5KHCLX4N.js +0 -64743
  1030. package/cdn/chunks/chunk.5N76KCT4.js +0 -285
  1031. package/cdn/chunks/chunk.5OEHZWXQ.js +0 -19
  1032. package/cdn/chunks/chunk.5U22JWZL.js +0 -117
  1033. package/cdn/chunks/chunk.5USXBJV5.js +0 -35
  1034. package/cdn/chunks/chunk.5YQFC77E.js +0 -37
  1035. package/cdn/chunks/chunk.6E7Z4C4E.js +0 -19
  1036. package/cdn/chunks/chunk.6FWN6ZZC.js +0 -32
  1037. package/cdn/chunks/chunk.6J2OCJ7J.js +0 -84
  1038. package/cdn/chunks/chunk.6LOJQVYN.js +0 -36
  1039. package/cdn/chunks/chunk.6OC7H5OH.js +0 -28
  1040. package/cdn/chunks/chunk.6QEEVDUE.js +0 -427
  1041. package/cdn/chunks/chunk.6SAM6SI7.js +0 -19
  1042. package/cdn/chunks/chunk.6VTIK2C6.js +0 -19
  1043. package/cdn/chunks/chunk.75FXMQOA.js +0 -19
  1044. package/cdn/chunks/chunk.7HUACA54.js +0 -29
  1045. package/cdn/chunks/chunk.7L2TSDLJ.js +0 -2028
  1046. package/cdn/chunks/chunk.7N55EAUN.js +0 -17305
  1047. package/cdn/chunks/chunk.7VOSRG7X.js +0 -19
  1048. package/cdn/chunks/chunk.7WUVQEAR.js +0 -256
  1049. package/cdn/chunks/chunk.7Y44JBIB.js +0 -550
  1050. package/cdn/chunks/chunk.7ZI27RZO.js +0 -1136
  1051. package/cdn/chunks/chunk.ACUUMB46.js +0 -33
  1052. package/cdn/chunks/chunk.AFJMWE55.js +0 -29
  1053. package/cdn/chunks/chunk.AH535OUT.js +0 -19
  1054. package/cdn/chunks/chunk.AJTI5LZT.js +0 -60
  1055. package/cdn/chunks/chunk.AL34JKBE.js +0 -19
  1056. package/cdn/chunks/chunk.ANOS3OTE.js +0 -29
  1057. package/cdn/chunks/chunk.AP5WCU4L.js +0 -134
  1058. package/cdn/chunks/chunk.AQQD3TGI.js +0 -19
  1059. package/cdn/chunks/chunk.AWU6UL7H.js +0 -19
  1060. package/cdn/chunks/chunk.AYV43FGZ.js +0 -110
  1061. package/cdn/chunks/chunk.B6MUHPWI.js +0 -19
  1062. package/cdn/chunks/chunk.BHW5IL3I.js +0 -19
  1063. package/cdn/chunks/chunk.BPRI6OGA.js +0 -29
  1064. package/cdn/chunks/chunk.BPTWMSFM.js +0 -259
  1065. package/cdn/chunks/chunk.BTPIPKWK.js +0 -29
  1066. package/cdn/chunks/chunk.C2SRCC4M.js +0 -19
  1067. package/cdn/chunks/chunk.C3SXIMJF.js +0 -29
  1068. package/cdn/chunks/chunk.CDYBBCIE.js +0 -29
  1069. package/cdn/chunks/chunk.CHKUZKW6.js +0 -19
  1070. package/cdn/chunks/chunk.CJG6IYUQ.js +0 -699
  1071. package/cdn/chunks/chunk.COA7ZPCF.js +0 -86
  1072. package/cdn/chunks/chunk.CV4QCJYB.js +0 -29
  1073. package/cdn/chunks/chunk.CV7V62DS.js +0 -33
  1074. package/cdn/chunks/chunk.CWNNDPJR.js +0 -36
  1075. package/cdn/chunks/chunk.CWVFOCEY.js +0 -123
  1076. package/cdn/chunks/chunk.D6DZ2ABR.js +0 -19
  1077. package/cdn/chunks/chunk.DAHT4D47.js +0 -19
  1078. package/cdn/chunks/chunk.DDCWMDIC.js +0 -32
  1079. package/cdn/chunks/chunk.DNVJF7IY.js +0 -39
  1080. package/cdn/chunks/chunk.DOAEM5ON.js +0 -4083
  1081. package/cdn/chunks/chunk.DOLQGIFG.js +0 -19
  1082. package/cdn/chunks/chunk.DPKA4G53.js +0 -601
  1083. package/cdn/chunks/chunk.DTUP6KDY.js +0 -19
  1084. package/cdn/chunks/chunk.DXQUJESD.js +0 -8969
  1085. package/cdn/chunks/chunk.E52YFLSL.js +0 -32
  1086. package/cdn/chunks/chunk.E6S2GD5C.js +0 -31
  1087. package/cdn/chunks/chunk.EQDMPPT6.js +0 -1413
  1088. package/cdn/chunks/chunk.ERJEIORY.js +0 -36
  1089. package/cdn/chunks/chunk.F26CV3RM.js +0 -32
  1090. package/cdn/chunks/chunk.F5ATUIYK.js +0 -29
  1091. package/cdn/chunks/chunk.FALB73Y2.js +0 -37
  1092. package/cdn/chunks/chunk.FCQ22IGW.js +0 -104
  1093. package/cdn/chunks/chunk.FQ6BZ3IY.js +0 -234
  1094. package/cdn/chunks/chunk.FS3BAWIP.js +0 -19
  1095. package/cdn/chunks/chunk.FUANKNNM.js +0 -19
  1096. package/cdn/chunks/chunk.FVMOO5PZ.js +0 -111
  1097. package/cdn/chunks/chunk.FWA7FNBM.js +0 -29
  1098. package/cdn/chunks/chunk.FXGGRWLG.js +0 -106
  1099. package/cdn/chunks/chunk.G5C4B32K.js +0 -32
  1100. package/cdn/chunks/chunk.GAE7V6RB.js +0 -93
  1101. package/cdn/chunks/chunk.GBGE6X2T.js +0 -1018
  1102. package/cdn/chunks/chunk.GBR3XNSE.js +0 -19
  1103. package/cdn/chunks/chunk.GDXZZBNN.js +0 -29
  1104. package/cdn/chunks/chunk.GEZJ4HAT.js +0 -128
  1105. package/cdn/chunks/chunk.GHYNGNCL.js +0 -19
  1106. package/cdn/chunks/chunk.GVSCZXYP.js +0 -152
  1107. package/cdn/chunks/chunk.H4THPLKV.js +0 -375
  1108. package/cdn/chunks/chunk.H6DYN62P.js +0 -19
  1109. package/cdn/chunks/chunk.H7ILJBVJ.js +0 -29
  1110. package/cdn/chunks/chunk.HA24JYMN.js +0 -34
  1111. package/cdn/chunks/chunk.HBVD5YDA.js +0 -19
  1112. package/cdn/chunks/chunk.HDOVTS2Z.js +0 -333
  1113. package/cdn/chunks/chunk.HE3V76OH.js +0 -29
  1114. package/cdn/chunks/chunk.HSQJHXWN.js +0 -19
  1115. package/cdn/chunks/chunk.HWXTC2NL.js +0 -475
  1116. package/cdn/chunks/chunk.I3ZCGZPC.js +0 -629
  1117. package/cdn/chunks/chunk.IDRFRYGU.js +0 -19
  1118. package/cdn/chunks/chunk.IPAGICZN.js +0 -38
  1119. package/cdn/chunks/chunk.IUV6CTRY.js +0 -231
  1120. package/cdn/chunks/chunk.IW2V63Q4.js +0 -278
  1121. package/cdn/chunks/chunk.J2QE6B7T.js +0 -158
  1122. package/cdn/chunks/chunk.J5WVGYHM.js +0 -1071
  1123. package/cdn/chunks/chunk.JGXF7ZXQ.js +0 -32
  1124. package/cdn/chunks/chunk.JTDMKEVX.js +0 -19
  1125. package/cdn/chunks/chunk.JU2BT7V3.js +0 -29
  1126. package/cdn/chunks/chunk.JUAS37EG.js +0 -47
  1127. package/cdn/chunks/chunk.KCLVMBYX.js +0 -19
  1128. package/cdn/chunks/chunk.KLVTN4RA.js +0 -1780
  1129. package/cdn/chunks/chunk.KNOXZXLV.js +0 -62
  1130. package/cdn/chunks/chunk.KNWDEVCZ.js +0 -872
  1131. package/cdn/chunks/chunk.KTH7B5P7.js +0 -32
  1132. package/cdn/chunks/chunk.KVXAUKHU.js +0 -29
  1133. package/cdn/chunks/chunk.L453DWOS.js +0 -162
  1134. package/cdn/chunks/chunk.L4APEYLE.js +0 -33
  1135. package/cdn/chunks/chunk.L6RUQB6F.js +0 -113
  1136. package/cdn/chunks/chunk.LEJPCXRH.js +0 -575
  1137. package/cdn/chunks/chunk.LGHXPOGX.js +0 -19
  1138. package/cdn/chunks/chunk.LMFFT6QZ.js +0 -19
  1139. package/cdn/chunks/chunk.LV52UGIG.js +0 -19
  1140. package/cdn/chunks/chunk.LYTJDP4F.js +0 -528
  1141. package/cdn/chunks/chunk.M6TNRFZO.js +0 -32
  1142. package/cdn/chunks/chunk.MB55MNWI.js +0 -132
  1143. package/cdn/chunks/chunk.MDV3HVPR.js +0 -82
  1144. package/cdn/chunks/chunk.MKKKY7LJ.js +0 -17565
  1145. package/cdn/chunks/chunk.ML6OFHI2.js +0 -60
  1146. package/cdn/chunks/chunk.MMMP6IHT.js +0 -36
  1147. package/cdn/chunks/chunk.MR7XEWMN.js +0 -29
  1148. package/cdn/chunks/chunk.N26HWWE7.js +0 -92
  1149. package/cdn/chunks/chunk.N6YZ3GGB.js +0 -19
  1150. package/cdn/chunks/chunk.NKJ73Q6Z.js +0 -101
  1151. package/cdn/chunks/chunk.NOJRNK7A.js +0 -1303
  1152. package/cdn/chunks/chunk.O5KNCAFH.js +0 -29
  1153. package/cdn/chunks/chunk.OHLWFMUZ.js +0 -19
  1154. package/cdn/chunks/chunk.OK2PJLA4.js +0 -19
  1155. package/cdn/chunks/chunk.OMERHZ7O.js +0 -1646
  1156. package/cdn/chunks/chunk.OQR3DOIL.js +0 -29
  1157. package/cdn/chunks/chunk.OVV6CMBK.js +0 -74
  1158. package/cdn/chunks/chunk.OXFYKL76.js +0 -19
  1159. package/cdn/chunks/chunk.P5MFJJGP.js +0 -195
  1160. package/cdn/chunks/chunk.P6OHZPUZ.js +0 -2786
  1161. package/cdn/chunks/chunk.PH3LKMHS.js +0 -32
  1162. package/cdn/chunks/chunk.PIEU7GT4.js +0 -29
  1163. package/cdn/chunks/chunk.PILGSWUJ.js +0 -29
  1164. package/cdn/chunks/chunk.PLI3TNYY.js +0 -33
  1165. package/cdn/chunks/chunk.PPCOW47J.js +0 -535
  1166. package/cdn/chunks/chunk.PRI7AVJX.js +0 -19
  1167. package/cdn/chunks/chunk.PWPIV2JK.js +0 -225
  1168. package/cdn/chunks/chunk.QCEPDQ6M.js +0 -32
  1169. package/cdn/chunks/chunk.QJUVJPT6.js +0 -19
  1170. package/cdn/chunks/chunk.QP2APML5.js +0 -536
  1171. package/cdn/chunks/chunk.QS7RKQGD.js +0 -19
  1172. package/cdn/chunks/chunk.QZCCAT7W.js +0 -19
  1173. package/cdn/chunks/chunk.QZIIYAVZ.js +0 -19
  1174. package/cdn/chunks/chunk.QZQ7MTL4.js +0 -34
  1175. package/cdn/chunks/chunk.RBBPG6SO.js +0 -621
  1176. package/cdn/chunks/chunk.RL57R2DM.js +0 -37
  1177. package/cdn/chunks/chunk.RMUH4JXF.js +0 -35
  1178. package/cdn/chunks/chunk.RSH7CL7U.js +0 -310
  1179. package/cdn/chunks/chunk.RXXY2DKG.js +0 -19
  1180. package/cdn/chunks/chunk.S5BNWB7B.js +0 -185
  1181. package/cdn/chunks/chunk.SDVBNJQZ.js +0 -19
  1182. package/cdn/chunks/chunk.SIK75J6S.js +0 -35
  1183. package/cdn/chunks/chunk.SJEEWCBY.js +0 -19
  1184. package/cdn/chunks/chunk.SQWR5Y2X.js +0 -134
  1185. package/cdn/chunks/chunk.SWNYIRFX.js +0 -19
  1186. package/cdn/chunks/chunk.SZJZTSTJ.js +0 -36
  1187. package/cdn/chunks/chunk.T35HK4YD.js +0 -83
  1188. package/cdn/chunks/chunk.T4QHXOJU.js +0 -29
  1189. package/cdn/chunks/chunk.T7A4P7JA.js +0 -19
  1190. package/cdn/chunks/chunk.TA7CFXHM.js +0 -276
  1191. package/cdn/chunks/chunk.TBL6KAUU.js +0 -19
  1192. package/cdn/chunks/chunk.TDCXTEE4.js +0 -29
  1193. package/cdn/chunks/chunk.TFX7LPOA.js +0 -29
  1194. package/cdn/chunks/chunk.TTKS7OPN.js +0 -49
  1195. package/cdn/chunks/chunk.TW72W3FG.js +0 -41
  1196. package/cdn/chunks/chunk.TZ7K6LRZ.js +0 -29
  1197. package/cdn/chunks/chunk.U64UG2NF.js +0 -897
  1198. package/cdn/chunks/chunk.UCGET3OV.js +0 -610
  1199. package/cdn/chunks/chunk.UFODDLBF.js +0 -190
  1200. package/cdn/chunks/chunk.UI7I6F4E.js +0 -29
  1201. package/cdn/chunks/chunk.UL6GPUWY.js +0 -169
  1202. package/cdn/chunks/chunk.UNE5PGU3.js +0 -149
  1203. package/cdn/chunks/chunk.USSOPHIF.js +0 -161
  1204. package/cdn/chunks/chunk.UVQGTCUS.js +0 -621
  1205. package/cdn/chunks/chunk.VAS4SJTV.js +0 -893
  1206. package/cdn/chunks/chunk.VATEZWZS.js +0 -360
  1207. package/cdn/chunks/chunk.VCKHZSH2.js +0 -19
  1208. package/cdn/chunks/chunk.VHHZPEYC.js +0 -29
  1209. package/cdn/chunks/chunk.VM6WPB7T.js +0 -32
  1210. package/cdn/chunks/chunk.VNCKECHZ.js +0 -853
  1211. package/cdn/chunks/chunk.VPMAHEJA.js +0 -32
  1212. package/cdn/chunks/chunk.VQF367DL.js +0 -35
  1213. package/cdn/chunks/chunk.VUXL5UGT.js +0 -2574
  1214. package/cdn/chunks/chunk.W5FQPPPY.js +0 -19
  1215. package/cdn/chunks/chunk.WCBO7P6T.js +0 -34
  1216. package/cdn/chunks/chunk.WO24QJYS.js +0 -1005
  1217. package/cdn/chunks/chunk.WSRDV4NV.js +0 -19
  1218. package/cdn/chunks/chunk.WTGU6E45.js +0 -224
  1219. package/cdn/chunks/chunk.XDVFVONG.js +0 -1945
  1220. package/cdn/chunks/chunk.XNJGPB57.js +0 -35
  1221. package/cdn/chunks/chunk.XXLSM7RI.js +0 -138
  1222. package/cdn/chunks/chunk.Y6OCTUUR.js +0 -19
  1223. package/cdn/chunks/chunk.YAWLOXFX.js +0 -271
  1224. package/cdn/chunks/chunk.YJHDQGK3.js +0 -19
  1225. package/cdn/chunks/chunk.YN7XE2VP.js +0 -940
  1226. package/cdn/chunks/chunk.YTKNBCBF.js +0 -19
  1227. package/cdn/chunks/chunk.Z3PZC46D.js +0 -33
  1228. package/cdn/chunks/chunk.Z5U6BAQK.js +0 -292
  1229. package/cdn/chunks/chunk.ZAS2SUGL.js +0 -19
  1230. package/cdn/chunks/chunk.ZI2LY2UP.js +0 -524
  1231. package/cdn/chunks/chunk.ZRSUDLUY.js +0 -754
  1232. package/cdn/chunks/chunk.ZWUG6EZN.js +0 -544
  1233. package/cdn/chunks/chunk.ZYF3AML6.js +0 -521
  1234. package/cdn/chunks/chunk.ZYGBGEUR.js +0 -48
  1235. package/cdn/chunks/chunk.ZYYDEEKW.js +0 -19
  1236. package/cdn/chunks/lerc.OJS5YQI3.js +0 -2099
  1237. package/cdn/events/terra-map-change.d.ts +0 -14
  1238. package/dist/auth/auth.controller.d.ts +0 -16
  1239. package/dist/chunks/chunk.24QTPUF2.js +0 -6
  1240. package/dist/chunks/chunk.2A67CXHH.js +0 -5
  1241. package/dist/chunks/chunk.2PQNGBP2.js +0 -1
  1242. package/dist/chunks/chunk.2SYEDAOV.js +0 -1
  1243. package/dist/chunks/chunk.2UREYJJ6.js +0 -65
  1244. package/dist/chunks/chunk.2URJIUFD.js +0 -1
  1245. package/dist/chunks/chunk.2VLYWQGB.js +0 -1
  1246. package/dist/chunks/chunk.2XENK37L.js +0 -20
  1247. package/dist/chunks/chunk.33ZH43TV.js +0 -1
  1248. package/dist/chunks/chunk.345UCNEF.js +0 -1
  1249. package/dist/chunks/chunk.347H65MH.js +0 -1
  1250. package/dist/chunks/chunk.3BGJ2Y4W.js +0 -1
  1251. package/dist/chunks/chunk.3OSNYXIB.js +0 -37
  1252. package/dist/chunks/chunk.3SBCV5YV.js +0 -74
  1253. package/dist/chunks/chunk.4AODHTLA.js +0 -1
  1254. package/dist/chunks/chunk.4JUNRLEC.js +0 -1
  1255. package/dist/chunks/chunk.4O6EGUET.js +0 -6
  1256. package/dist/chunks/chunk.4PNNISNN.js +0 -12
  1257. package/dist/chunks/chunk.4PXK26WC.js +0 -1
  1258. package/dist/chunks/chunk.4RJ73FTA.js +0 -1
  1259. package/dist/chunks/chunk.5DG6GZR2.js +0 -1
  1260. package/dist/chunks/chunk.5OFG6SIJ.js +0 -1
  1261. package/dist/chunks/chunk.5UIZ5N7P.js +0 -345
  1262. package/dist/chunks/chunk.5WH5YKQV.js +0 -129
  1263. package/dist/chunks/chunk.5WXBL2P4.js +0 -299
  1264. package/dist/chunks/chunk.5YTPWERZ.js +0 -1
  1265. package/dist/chunks/chunk.67VTCJF4.js +0 -527
  1266. package/dist/chunks/chunk.6DD3MA2P.js +0 -1
  1267. package/dist/chunks/chunk.6J72MJEC.js +0 -1
  1268. package/dist/chunks/chunk.6OCFGLDL.js +0 -1
  1269. package/dist/chunks/chunk.6Q54KXMC.js +0 -157
  1270. package/dist/chunks/chunk.6R6NM245.js +0 -39
  1271. package/dist/chunks/chunk.6SHAP35V.js +0 -55
  1272. package/dist/chunks/chunk.6SW4NJHL.js +0 -42
  1273. package/dist/chunks/chunk.6TALLYX6.js +0 -1
  1274. package/dist/chunks/chunk.6ZIINXUV.js +0 -1
  1275. package/dist/chunks/chunk.7D3QWHPQ.js +0 -1
  1276. package/dist/chunks/chunk.7DGA6X4U.js +0 -23
  1277. package/dist/chunks/chunk.7KZSDLA2.js +0 -11
  1278. package/dist/chunks/chunk.7LR6X6Z6.js +0 -1
  1279. package/dist/chunks/chunk.7TW5XUJL.js +0 -1
  1280. package/dist/chunks/chunk.7V4HIKGV.js +0 -20
  1281. package/dist/chunks/chunk.A3VSFB3O.js +0 -1
  1282. package/dist/chunks/chunk.ADGVYX3D.js +0 -1
  1283. package/dist/chunks/chunk.ALYHNSZZ.js +0 -30
  1284. package/dist/chunks/chunk.AMKSX4J2.js +0 -1
  1285. package/dist/chunks/chunk.AVBBSQQN.js +0 -26
  1286. package/dist/chunks/chunk.BCBEL5J3.js +0 -1
  1287. package/dist/chunks/chunk.BFSQRKZP.js +0 -67
  1288. package/dist/chunks/chunk.BIMQKSIE.js +0 -1
  1289. package/dist/chunks/chunk.BJFYPKRH.js +0 -1
  1290. package/dist/chunks/chunk.BK22YUL3.js +0 -1
  1291. package/dist/chunks/chunk.BMUYWCSS.js +0 -1
  1292. package/dist/chunks/chunk.BRHNY634.js +0 -1
  1293. package/dist/chunks/chunk.BVNNUSMK.js +0 -1
  1294. package/dist/chunks/chunk.C6CZYR3X.js +0 -1
  1295. package/dist/chunks/chunk.C6YOBRFC.js +0 -1
  1296. package/dist/chunks/chunk.CO3YFDGB.js +0 -27
  1297. package/dist/chunks/chunk.CQK6QHLB.js +0 -1
  1298. package/dist/chunks/chunk.CQPFMW2K.js +0 -1
  1299. package/dist/chunks/chunk.CRDPEWYE.js +0 -1
  1300. package/dist/chunks/chunk.CS4EGLGP.js +0 -1
  1301. package/dist/chunks/chunk.CSXC6DPV.js +0 -280
  1302. package/dist/chunks/chunk.DH6S4SMY.js +0 -9
  1303. package/dist/chunks/chunk.DKS4TU3H.js +0 -1
  1304. package/dist/chunks/chunk.DTISX46U.js +0 -1
  1305. package/dist/chunks/chunk.DWB7WY2B.js +0 -1
  1306. package/dist/chunks/chunk.DYY5ZEGD.js +0 -8
  1307. package/dist/chunks/chunk.E264AGUB.js +0 -1
  1308. package/dist/chunks/chunk.E2LODYPF.js +0 -1
  1309. package/dist/chunks/chunk.E36ROOQP.js +0 -1
  1310. package/dist/chunks/chunk.E6SYKRYA.js +0 -18
  1311. package/dist/chunks/chunk.E7D32WNL.js +0 -99
  1312. package/dist/chunks/chunk.EAIG3OAM.js +0 -1
  1313. package/dist/chunks/chunk.EPJM7OIN.js +0 -1
  1314. package/dist/chunks/chunk.EYLQFCG6.js +0 -1
  1315. package/dist/chunks/chunk.F2LSSWTW.js +0 -1
  1316. package/dist/chunks/chunk.F2OOGC7E.js +0 -1
  1317. package/dist/chunks/chunk.F463ZO54.js +0 -26
  1318. package/dist/chunks/chunk.F4QJ3AAN.js +0 -1
  1319. package/dist/chunks/chunk.FCLASTZJ.js +0 -59
  1320. package/dist/chunks/chunk.FEUU6PRO.js +0 -1231
  1321. package/dist/chunks/chunk.FFJ4LVA4.js +0 -1
  1322. package/dist/chunks/chunk.FLY7SZ43.js +0 -1
  1323. package/dist/chunks/chunk.FTSUICBL.js +0 -5
  1324. package/dist/chunks/chunk.FU4VAT7K.js +0 -126
  1325. package/dist/chunks/chunk.FY5MRGO2.js +0 -4
  1326. package/dist/chunks/chunk.G2RBM77C.js +0 -80
  1327. package/dist/chunks/chunk.G5WS7EAO.js +0 -1
  1328. package/dist/chunks/chunk.GCVZMOL6.js +0 -1
  1329. package/dist/chunks/chunk.GFJZ3U6O.js +0 -1
  1330. package/dist/chunks/chunk.GVQ3ULCA.js +0 -1
  1331. package/dist/chunks/chunk.GVWKFBDB.js +0 -1
  1332. package/dist/chunks/chunk.GZC4MHZL.js +0 -1
  1333. package/dist/chunks/chunk.GZJI67IH.js +0 -1
  1334. package/dist/chunks/chunk.HBM2PGPH.js +0 -1
  1335. package/dist/chunks/chunk.HFNSDYFF.js +0 -1
  1336. package/dist/chunks/chunk.HJ7H55BL.js +0 -1
  1337. package/dist/chunks/chunk.HMGPFX2Y.js +0 -1
  1338. package/dist/chunks/chunk.IGXIZYGS.js +0 -1
  1339. package/dist/chunks/chunk.IKZERRE2.js +0 -1
  1340. package/dist/chunks/chunk.IL752DKI.js +0 -1
  1341. package/dist/chunks/chunk.ILG3LGC7.js +0 -1
  1342. package/dist/chunks/chunk.ILLKI5UT.js +0 -1
  1343. package/dist/chunks/chunk.IT5GSXLK.js +0 -1
  1344. package/dist/chunks/chunk.IX7TDXLM.js +0 -1
  1345. package/dist/chunks/chunk.J74HQDC4.js +0 -113
  1346. package/dist/chunks/chunk.JDUDVTGM.js +0 -33
  1347. package/dist/chunks/chunk.JER3EYSI.js +0 -43
  1348. package/dist/chunks/chunk.JFQVCD2G.js +0 -1
  1349. package/dist/chunks/chunk.JJDVDIMZ.js +0 -1
  1350. package/dist/chunks/chunk.JUCYMLNQ.js +0 -24
  1351. package/dist/chunks/chunk.JWV3256S.js +0 -1
  1352. package/dist/chunks/chunk.K3JWAUPW.js +0 -1
  1353. package/dist/chunks/chunk.K7EEMK7S.js +0 -1
  1354. package/dist/chunks/chunk.KQQP67QH.js +0 -1
  1355. package/dist/chunks/chunk.L7LZXSLB.js +0 -1
  1356. package/dist/chunks/chunk.L7TU4EE7.js +0 -1
  1357. package/dist/chunks/chunk.LBQFMWHH.js +0 -1
  1358. package/dist/chunks/chunk.LHS2JI5C.js +0 -1
  1359. package/dist/chunks/chunk.LRB2T4C6.js +0 -1
  1360. package/dist/chunks/chunk.LSBA65NF.js +0 -55
  1361. package/dist/chunks/chunk.LVJYASQH.js +0 -41
  1362. package/dist/chunks/chunk.M5IM24X6.js +0 -1
  1363. package/dist/chunks/chunk.M7GAVBP4.js +0 -1
  1364. package/dist/chunks/chunk.MRAFQ6FC.js +0 -1
  1365. package/dist/chunks/chunk.MSEAPM5O.js +0 -43
  1366. package/dist/chunks/chunk.MXJCFEZ4.js +0 -780
  1367. package/dist/chunks/chunk.NFGRTKHK.js +0 -35
  1368. package/dist/chunks/chunk.NM6S6YGL.js +0 -30
  1369. package/dist/chunks/chunk.NNGAFMYS.js +0 -1
  1370. package/dist/chunks/chunk.NS34WRBV.js +0 -154
  1371. package/dist/chunks/chunk.NZ4QJK47.js +0 -176
  1372. package/dist/chunks/chunk.NZERF5GE.js +0 -1
  1373. package/dist/chunks/chunk.O36CSOQK.js +0 -11
  1374. package/dist/chunks/chunk.OAFIM27Q.js +0 -1
  1375. package/dist/chunks/chunk.OBJ27374.js +0 -1
  1376. package/dist/chunks/chunk.ONZTNAIQ.js +0 -1
  1377. package/dist/chunks/chunk.OQ4IT42W.js +0 -1
  1378. package/dist/chunks/chunk.OSAQ45F4.js +0 -145
  1379. package/dist/chunks/chunk.OSDEVN34.js +0 -1001
  1380. package/dist/chunks/chunk.P23PNMO2.js +0 -1
  1381. package/dist/chunks/chunk.PGC2LCDL.js +0 -1
  1382. package/dist/chunks/chunk.PGUHY4NZ.js +0 -1
  1383. package/dist/chunks/chunk.PHWB36E5.js +0 -4
  1384. package/dist/chunks/chunk.PIP3HL2S.js +0 -1
  1385. package/dist/chunks/chunk.PM3RUTRJ.js +0 -1
  1386. package/dist/chunks/chunk.PNRCW5GH.js +0 -48
  1387. package/dist/chunks/chunk.PO5EHL4Q.js +0 -1
  1388. package/dist/chunks/chunk.PSNV3IQZ.js +0 -1
  1389. package/dist/chunks/chunk.Q6CVPPFA.js +0 -1
  1390. package/dist/chunks/chunk.QDFHF7LY.js +0 -1
  1391. package/dist/chunks/chunk.QEKPRA6B.js +0 -1
  1392. package/dist/chunks/chunk.QGXUQL5S.js +0 -1
  1393. package/dist/chunks/chunk.QGZOQXT5.js +0 -148
  1394. package/dist/chunks/chunk.QH3KZBRJ.js +0 -1
  1395. package/dist/chunks/chunk.QK5M4OHI.js +0 -1
  1396. package/dist/chunks/chunk.R6RTP7QP.js +0 -1
  1397. package/dist/chunks/chunk.RBPNA4JU.js +0 -22
  1398. package/dist/chunks/chunk.REIUDVA3.js +0 -1
  1399. package/dist/chunks/chunk.RH76C7M7.js +0 -1
  1400. package/dist/chunks/chunk.RHDTWIMS.js +0 -1
  1401. package/dist/chunks/chunk.RKLTK3FR.js +0 -1
  1402. package/dist/chunks/chunk.RLOQMCKP.js +0 -1
  1403. package/dist/chunks/chunk.S65R5GMI.js +0 -1
  1404. package/dist/chunks/chunk.S6AD3O5Y.js +0 -2
  1405. package/dist/chunks/chunk.S6UNY7TY.js +0 -1
  1406. package/dist/chunks/chunk.SAVXAZC3.js +0 -1
  1407. package/dist/chunks/chunk.SDFUXOW6.js +0 -47
  1408. package/dist/chunks/chunk.SM2LJQQZ.js +0 -1
  1409. package/dist/chunks/chunk.SN4M25TW.js +0 -1
  1410. package/dist/chunks/chunk.SP4US3KC.js +0 -1
  1411. package/dist/chunks/chunk.SP7J3EGR.js +0 -1
  1412. package/dist/chunks/chunk.ST6Y273B.js +0 -1
  1413. package/dist/chunks/chunk.SW4EXLIK.js +0 -100
  1414. package/dist/chunks/chunk.SYA4MGC4.js +0 -1
  1415. package/dist/chunks/chunk.T3RRBLSI.js +0 -1
  1416. package/dist/chunks/chunk.T5MMUQEM.js +0 -2
  1417. package/dist/chunks/chunk.T5UOTK5T.js +0 -14
  1418. package/dist/chunks/chunk.TCJYR6XR.js +0 -75
  1419. package/dist/chunks/chunk.TEJABDMI.js +0 -1
  1420. package/dist/chunks/chunk.TOUSLOQP.js +0 -19
  1421. package/dist/chunks/chunk.TWL4OKWI.js +0 -1
  1422. package/dist/chunks/chunk.TXJOFCEB.js +0 -20
  1423. package/dist/chunks/chunk.U5DWDLRH.js +0 -25
  1424. package/dist/chunks/chunk.UBXADY37.js +0 -566
  1425. package/dist/chunks/chunk.UJUBD5K6.js +0 -1
  1426. package/dist/chunks/chunk.UMIX7BEK.js +0 -1
  1427. package/dist/chunks/chunk.UNPFONVM.js +0 -121
  1428. package/dist/chunks/chunk.VM42BF4S.js +0 -1
  1429. package/dist/chunks/chunk.VO2NGMYX.js +0 -1
  1430. package/dist/chunks/chunk.VPEIRF5L.js +0 -1
  1431. package/dist/chunks/chunk.VQBTIXTR.js +0 -1
  1432. package/dist/chunks/chunk.VRGYQH3V.js +0 -1
  1433. package/dist/chunks/chunk.W22Z5NC6.js +0 -1
  1434. package/dist/chunks/chunk.W2AIXOEB.js +0 -1
  1435. package/dist/chunks/chunk.W37YFNFN.js +0 -1
  1436. package/dist/chunks/chunk.W7LK5SL4.js +0 -1
  1437. package/dist/chunks/chunk.WHM6GYCJ.js +0 -1
  1438. package/dist/chunks/chunk.WSK5WSL4.js +0 -1
  1439. package/dist/chunks/chunk.X3J4I27U.js +0 -1
  1440. package/dist/chunks/chunk.XD4664TI.js +0 -16
  1441. package/dist/chunks/chunk.XIGVC4SV.js +0 -62
  1442. package/dist/chunks/chunk.XS3KPVEZ.js +0 -1
  1443. package/dist/chunks/chunk.XX7TMK7N.js +0 -1
  1444. package/dist/chunks/chunk.Y5DJ2TIT.js +0 -1
  1445. package/dist/chunks/chunk.YH36XKHI.js +0 -1
  1446. package/dist/chunks/chunk.YJCP5H5H.js +0 -1
  1447. package/dist/chunks/chunk.YUFCED44.js +0 -64
  1448. package/dist/chunks/chunk.Z5WR5G6V.js +0 -35
  1449. package/dist/chunks/chunk.ZAO2ZNCW.js +0 -1
  1450. package/dist/chunks/chunk.ZCO5H22U.js +0 -1
  1451. package/dist/chunks/chunk.ZJRSMGBD.js +0 -1
  1452. package/dist/chunks/chunk.ZOFZPC6S.js +0 -9
  1453. package/dist/chunks/chunk.ZWQ5GUBX.js +0 -55
  1454. package/dist/chunks/chunk.ZZDDQ567.js +0 -1
  1455. package/dist/events/terra-map-change.d.ts +0 -14
  1456. package/dist/terra_ui_components-0.0.203-py3-none-any.whl +0 -0
  1457. package/dist/terra_ui_components-0.0.203.tar.gz +0 -0
@@ -1,2574 +0,0 @@
1
- import {
2
- date_picker_styles_default
3
- } from "./chunk.E4WIYJTU.js";
4
- import {
5
- TerraDropdown
6
- } from "./chunk.QP2APML5.js";
7
- import {
8
- TerraInput
9
- } from "./chunk.UCGET3OV.js";
10
- import {
11
- e as e2,
12
- n as n2
13
- } from "./chunk.2P6QVUHJ.js";
14
- import {
15
- isValid
16
- } from "./chunk.AFCE7QU7.js";
17
- import {
18
- TerraButton
19
- } from "./chunk.HWXTC2NL.js";
20
- import {
21
- TerraElement,
22
- component_styles_default,
23
- e,
24
- n,
25
- r
26
- } from "./chunk.UVQGTCUS.js";
27
- import {
28
- A,
29
- b
30
- } from "./chunk.WJMP353K.js";
31
- import {
32
- __decorateClass,
33
- init_buffer,
34
- init_dirname,
35
- init_process
36
- } from "./chunk.IIJBAEGD.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) return 0;
120
- try {
121
- const fmt = new Intl.DateTimeFormat("en-US", {
122
- timeZone: this.timezone,
123
- year: "numeric",
124
- month: "numeric",
125
- day: "numeric",
126
- hour: "numeric",
127
- minute: "numeric",
128
- second: "numeric",
129
- hour12: false
130
- });
131
- const parts = fmt.formatToParts(ref);
132
- const get = (type) => {
133
- var _a, _b;
134
- return parseInt((_b = (_a = parts.find((p) => p.type === type)) == null ? void 0 : _a.value) != null ? _b : "0", 10);
135
- };
136
- const tzYear = get("year");
137
- const tzMonth = get("month");
138
- const tzDay = get("day");
139
- const tzHour = get("hour") % 24;
140
- const tzMinute = get("minute");
141
- const tzSecond = get("second");
142
- const tzAsIfUtc = Date.UTC(
143
- tzYear,
144
- tzMonth - 1,
145
- tzDay,
146
- tzHour,
147
- tzMinute,
148
- tzSecond
149
- );
150
- return Math.round((tzAsIfUtc - ref.getTime()) / 6e4);
151
- } catch (e3) {
152
- return 0;
153
- }
154
- }
155
- /**
156
- * Convert UTC time components to display time in the configured timezone.
157
- * When no timezone is set, returns the input values unchanged.
158
- */
159
- getDisplayTimeComponents(utcH, utcM, utcS, ref) {
160
- if (!this.timezone || !ref) return { hour: utcH, minute: utcM, second: utcS };
161
- const offsetMinutes = this.getTimezoneOffsetMinutes(ref);
162
- let totalMinutes = utcH * 60 + utcM + offsetMinutes;
163
- totalMinutes = (totalMinutes % 1440 + 1440) % 1440;
164
- return {
165
- hour: Math.floor(totalMinutes / 60),
166
- minute: totalMinutes % 60,
167
- second: utcS
168
- };
169
- }
170
- /**
171
- * Convert display time (in the configured timezone) back to UTC time components.
172
- * When no timezone is set, returns the input values unchanged.
173
- */
174
- getUtcTimeFromDisplay(dispH, dispM, dispS, ref) {
175
- if (!this.timezone || !ref)
176
- return { hour: dispH, minute: dispM, second: dispS };
177
- const offsetMinutes = this.getTimezoneOffsetMinutes(ref);
178
- let totalMinutes = dispH * 60 + dispM - offsetMinutes;
179
- totalMinutes = (totalMinutes % 1440 + 1440) % 1440;
180
- return {
181
- hour: Math.floor(totalMinutes / 60),
182
- minute: totalMinutes % 60,
183
- second: dispS
184
- };
185
- }
186
- /** Convert a 24-hour value to 12-hour with AM/PM period. */
187
- to12Hour(hour24) {
188
- const period = hour24 < 12 ? "AM" : "PM";
189
- const hour = hour24 % 12 || 12;
190
- return { hour, period };
191
- }
192
- /** Convert a 12-hour value with AM/PM period to 24-hour. */
193
- to24Hour(hour12, period) {
194
- if (period === "AM") {
195
- return hour12 === 12 ? 0 : hour12;
196
- } else {
197
- return hour12 === 12 ? 12 : hour12 + 12;
198
- }
199
- }
200
- /** Toggle the AM/PM period for the start or end time picker. */
201
- togglePeriod(isStart) {
202
- const utcH = isStart ? this.startHour : this.endHour;
203
- const utcM = isStart ? this.startMinute : this.endMinute;
204
- const utcS = isStart ? this.startSecond : this.endSecond;
205
- const ref = isStart ? this.selectedStart : this.selectedEnd;
206
- const display = this.getDisplayTimeComponents(utcH, utcM, utcS, ref);
207
- const d12 = this.to12Hour(display.hour);
208
- const newPeriod = d12.period === "AM" ? "PM" : "AM";
209
- const newDisplayH = this.to24Hour(d12.hour, newPeriod);
210
- const utc = this.getUtcTimeFromDisplay(
211
- newDisplayH,
212
- display.minute,
213
- display.second,
214
- ref
215
- );
216
- if (isStart) {
217
- this.startHour = utc.hour;
218
- this.startMinute = utc.minute;
219
- this.startSecond = utc.second;
220
- } else {
221
- this.endHour = utc.hour;
222
- this.endMinute = utc.minute;
223
- this.endSecond = utc.second;
224
- }
225
- this.emitChange();
226
- this.requestUpdate();
227
- }
228
- /**
229
- * Parse a date string (YYYY-MM-DD or ISO datetime) as a local date, avoiding timezone issues.
230
- * When you do `new Date("2024-03-20")`, JavaScript interprets it as UTC midnight,
231
- * which can cause off-by-one day errors when using getDate() in local timezone.
232
- * This function parses the date as a local date instead.
233
- *
234
- * When enableTime is true, datetime strings are parsed as UTC to match API min/max dates.
235
- */
236
- parseLocalDate(dateString) {
237
- const dateOnlyPattern = /^\d{4}-\d{2}-\d{2}$/;
238
- if (dateOnlyPattern.test(dateString)) {
239
- const [year, month, day] = dateString.split("-").map(Number);
240
- if (this.enableTime) {
241
- return new Date(Date.UTC(year, month - 1, day, 0, 0, 0));
242
- }
243
- return new Date(year, month - 1, day);
244
- }
245
- const dateTimePattern = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/;
246
- if (dateTimePattern.test(dateString)) {
247
- const [datePart, timePart] = dateString.split("T");
248
- const [year, month, day] = datePart.split("-").map(Number);
249
- const [hours, minutes, seconds] = timePart.split(":").map(Number);
250
- return new Date(Date.UTC(year, month - 1, day, hours, minutes, seconds));
251
- }
252
- return new Date(dateString);
253
- }
254
- /**
255
- * Check if two dates are in the same calendar month and year
256
- */
257
- isSameMonth(date1, date2) {
258
- if (this.enableTime) {
259
- return date1.getUTCFullYear() === date2.getUTCFullYear() && date1.getUTCMonth() === date2.getUTCMonth();
260
- }
261
- return date1.getFullYear() === date2.getFullYear() && date1.getMonth() === date2.getMonth();
262
- }
263
- /**
264
- * Check if a date's month/year matches a given month Date
265
- */
266
- isDateInMonth(date, monthDate) {
267
- if (this.enableTime) {
268
- return date.getUTCFullYear() === monthDate.getUTCFullYear() && date.getUTCMonth() === monthDate.getUTCMonth();
269
- }
270
- return date.getFullYear() === monthDate.getFullYear() && date.getMonth() === monthDate.getMonth();
271
- }
272
- getBounds() {
273
- const min = this.minDate ? this.parseLocalDate(this.minDate) : void 0;
274
- const max = this.maxDate ? this.parseLocalDate(this.maxDate) : void 0;
275
- return { min, max };
276
- }
277
- doesRangeOverlapBounds(range) {
278
- const { startDate, endDate } = range;
279
- const { min, max } = this.getBounds();
280
- if (!this.range) {
281
- if (!startDate) return false;
282
- if (min && startDate < min) return false;
283
- if (max && startDate > max) return false;
284
- return true;
285
- }
286
- const start = startDate != null ? startDate : /* @__PURE__ */ new Date(-864e13);
287
- const end = endDate != null ? endDate : /* @__PURE__ */ new Date(864e13);
288
- if (!min && !max) return true;
289
- const windowStart = min != null ? min : /* @__PURE__ */ new Date(-864e13);
290
- const windowEnd = max != null ? max : /* @__PURE__ */ new Date(864e13);
291
- return end >= windowStart && start <= windowEnd;
292
- }
293
- isPresetWithinBounds(range) {
294
- return this.doesRangeOverlapBounds(range);
295
- }
296
- get filteredPresets() {
297
- return (this.presets || []).filter(
298
- (preset) => this.isPresetWithinBounds(preset.getValue())
299
- );
300
- }
301
- open() {
302
- this.isOpen = true;
303
- if (this.maxDate && !this.selectedStart && !this.selectedEnd) {
304
- const max = this.parseLocalDate(this.maxDate);
305
- if (!isNaN(max.getTime())) {
306
- if (this.range) {
307
- this.rightMonth = new Date(max);
308
- const left = new Date(max);
309
- left.setMonth(left.getMonth() - 1);
310
- this.leftMonth = left;
311
- } else {
312
- this.leftMonth = new Date(max);
313
- }
314
- }
315
- }
316
- if (!this.inline && this.dropdownRef.value) {
317
- this.dropdownRef.value.show();
318
- }
319
- this.requestUpdate();
320
- }
321
- close() {
322
- this.isOpen = false;
323
- if (!this.inline && this.dropdownRef.value) {
324
- this.dropdownRef.value.hide();
325
- }
326
- this.requestUpdate();
327
- }
328
- /**
329
- * Clears the selected date(s) and resets the date picker to its initial state.
330
- */
331
- clear() {
332
- this.selectedStart = null;
333
- this.selectedEnd = null;
334
- this.hoverDate = null;
335
- this.isSelectingRange = false;
336
- this.startHour = 0;
337
- this.startMinute = 0;
338
- this.startSecond = 0;
339
- this.endHour = this.getDefaultEndHour();
340
- this.endMinute = this.getDefaultEndMinute();
341
- this.endSecond = this.getDefaultEndSecond();
342
- this.clearInputValidation();
343
- this.requestUpdate();
344
- this.emitChange();
345
- }
346
- setOpen(open) {
347
- if (open) {
348
- this.open();
349
- } else {
350
- this.close();
351
- }
352
- }
353
- willUpdate(changedProperties) {
354
- super.willUpdate(changedProperties);
355
- if (changedProperties.has("useEndOfDay")) {
356
- this.endHour = this.getDefaultEndHour();
357
- this.endMinute = this.getDefaultEndMinute();
358
- this.endSecond = this.getDefaultEndSecond();
359
- }
360
- if (changedProperties.has("inline")) {
361
- if (this.inline) {
362
- this.isOpen = true;
363
- if (this.dropdownRef.value) {
364
- this.dropdownRef.value.hide();
365
- }
366
- }
367
- }
368
- if (changedProperties.has("minDate") || changedProperties.has("maxDate")) {
369
- if (this.maxDate && !this.selectedStart && !this.selectedEnd) {
370
- const max = this.parseLocalDate(this.maxDate);
371
- if (!isNaN(max.getTime())) {
372
- if (this.range) {
373
- this.rightMonth = new Date(max);
374
- const left = new Date(max);
375
- left.setMonth(left.getMonth() - 1);
376
- this.leftMonth = left;
377
- } else {
378
- this.leftMonth = new Date(max);
379
- }
380
- }
381
- }
382
- }
383
- if (changedProperties.has("startDate") || changedProperties.has("endDate")) {
384
- if (this.startDate) {
385
- const start = this.parseLocalDate(this.startDate);
386
- if (!isNaN(start.getTime())) {
387
- this.selectedStart = start;
388
- if (this.enableTime) {
389
- this.initializeTimeFromDate(start, true);
390
- }
391
- }
392
- } else {
393
- this.selectedStart = null;
394
- }
395
- if (this.range) {
396
- if (this.endDate) {
397
- const end = this.parseLocalDate(this.endDate);
398
- if (!isNaN(end.getTime())) {
399
- this.selectedEnd = end;
400
- if (this.enableTime) {
401
- this.initializeTimeFromDate(end, false);
402
- }
403
- }
404
- } else {
405
- this.selectedEnd = null;
406
- }
407
- if (this.selectedStart && this.selectedEnd) {
408
- const isSingleMonthRange = this.isSameMonth(
409
- this.selectedStart,
410
- this.selectedEnd
411
- );
412
- if (isSingleMonthRange) {
413
- if (this.isDateInMonth(this.selectedStart, this.leftMonth)) {
414
- this.leftMonth = new Date(this.selectedStart);
415
- if (this.isDateInMonth(
416
- this.selectedStart,
417
- this.rightMonth
418
- )) {
419
- this.rightMonth = new Date(this.selectedStart);
420
- this.rightMonth.setMonth(
421
- this.rightMonth.getMonth() + 1
422
- );
423
- }
424
- } else if (this.isDateInMonth(this.selectedStart, this.rightMonth)) {
425
- this.rightMonth = new Date(this.selectedStart);
426
- } else {
427
- this.leftMonth = new Date(this.selectedStart);
428
- }
429
- } else {
430
- this.leftMonth = new Date(this.selectedStart);
431
- this.rightMonth = new Date(this.selectedEnd);
432
- }
433
- } else if (this.selectedStart) {
434
- this.leftMonth = new Date(this.selectedStart);
435
- this.rightMonth = new Date(this.leftMonth);
436
- this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
437
- }
438
- } else {
439
- if (this.selectedStart) {
440
- this.leftMonth = new Date(this.selectedStart);
441
- }
442
- this.selectedEnd = null;
443
- }
444
- }
445
- }
446
- initializePresets() {
447
- if (this.presets.length === 0) {
448
- this.presets = [
449
- {
450
- label: "Today",
451
- getValue: () => {
452
- const today = /* @__PURE__ */ new Date();
453
- return {
454
- startDate: today,
455
- endDate: this.range ? today : null
456
- };
457
- }
458
- },
459
- {
460
- label: "Yesterday",
461
- getValue: () => {
462
- const yesterday = /* @__PURE__ */ new Date();
463
- yesterday.setDate(yesterday.getDate() - 1);
464
- return {
465
- startDate: yesterday,
466
- endDate: this.range ? yesterday : null
467
- };
468
- }
469
- },
470
- {
471
- label: "Last 7 days",
472
- getValue: () => {
473
- const end = /* @__PURE__ */ new Date();
474
- const start = /* @__PURE__ */ new Date();
475
- start.setDate(start.getDate() - 6);
476
- return { startDate: start, endDate: end };
477
- }
478
- },
479
- {
480
- label: "Last 30 days",
481
- getValue: () => {
482
- const end = /* @__PURE__ */ new Date();
483
- const start = /* @__PURE__ */ new Date();
484
- start.setDate(start.getDate() - 29);
485
- return { startDate: start, endDate: end };
486
- }
487
- },
488
- {
489
- label: "Last 6 months",
490
- getValue: () => {
491
- const end = /* @__PURE__ */ new Date();
492
- const start = /* @__PURE__ */ new Date();
493
- start.setMonth(start.getMonth() - 6);
494
- return { startDate: start, endDate: end };
495
- }
496
- },
497
- {
498
- label: "Last year",
499
- getValue: () => {
500
- const end = /* @__PURE__ */ new Date();
501
- const start = /* @__PURE__ */ new Date();
502
- start.setFullYear(start.getFullYear() - 1);
503
- return { startDate: start, endDate: end };
504
- }
505
- },
506
- {
507
- label: "All time",
508
- getValue: () => {
509
- const { min, max } = this.getBounds();
510
- return {
511
- startDate: min || null,
512
- endDate: max || null
513
- };
514
- }
515
- }
516
- ];
517
- }
518
- }
519
- firstUpdated() {
520
- const params = new URLSearchParams(window.location.search);
521
- const timeStartParam = params.get("time_start") || this.startDate;
522
- const timeEndParam = params.get("time_end") || this.endDate;
523
- if (timeStartParam) {
524
- this.selectedStart = this.parseLocalDate(timeStartParam);
525
- this.leftMonth = new Date(this.selectedStart);
526
- if (this.enableTime) {
527
- this.initializeTimeFromDate(this.selectedStart, true);
528
- }
529
- }
530
- if (this.range && timeEndParam) {
531
- this.selectedEnd = this.parseLocalDate(timeEndParam);
532
- if (this.enableTime) {
533
- this.initializeTimeFromDate(this.selectedEnd, false);
534
- }
535
- if (this.selectedStart && this.selectedEnd) {
536
- const isSingleMonthRange = this.isSameMonth(
537
- this.selectedStart,
538
- this.selectedEnd
539
- );
540
- if (isSingleMonthRange) {
541
- this.rightMonth = new Date(this.selectedStart);
542
- this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
543
- } else {
544
- this.rightMonth = new Date(this.selectedEnd);
545
- }
546
- } else if (this.selectedEnd) {
547
- this.rightMonth = new Date(this.selectedEnd);
548
- }
549
- }
550
- if (this.range && !timeEndParam) {
551
- this.rightMonth = new Date(this.leftMonth);
552
- this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
553
- }
554
- if (this.inline) {
555
- this.isOpen = true;
556
- }
557
- }
558
- disconnectedCallback() {
559
- super.disconnectedCallback();
560
- }
561
- handleDropdownShow() {
562
- this.isOpen = true;
563
- }
564
- handleDropdownHide() {
565
- this.isOpen = false;
566
- }
567
- formatDisplayDate(date, isStart = true) {
568
- if (!date) return "";
569
- const format = this.displayFormat || (this.enableTime ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD");
570
- if (this.enableTime) {
571
- const year2 = date.getUTCFullYear();
572
- const month2 = String(date.getUTCMonth() + 1).padStart(2, "0");
573
- const day2 = String(date.getUTCDate()).padStart(2, "0");
574
- const display = this.getDisplayTimeComponents(
575
- isStart ? this.startHour : this.endHour,
576
- isStart ? this.startMinute : this.endMinute,
577
- isStart ? this.startSecond : this.endSecond,
578
- date
579
- );
580
- if (this.twelveHour && !this.displayFormat) {
581
- const d12 = this.to12Hour(display.hour);
582
- const hours2 = String(d12.hour).padStart(2, "0");
583
- const minutes2 = String(display.minute).padStart(2, "0");
584
- const seconds2 = String(display.second).padStart(2, "0");
585
- return `${year2}-${month2}-${day2} ${hours2}:${minutes2}:${seconds2} ${d12.period}`;
586
- }
587
- const hours = String(display.hour).padStart(2, "0");
588
- const minutes = String(display.minute).padStart(2, "0");
589
- const seconds = String(display.second).padStart(2, "0");
590
- const effectiveFormat = this.displayFormat || "YYYY-MM-DD HH:mm:ss";
591
- return effectiveFormat.replace("YYYY", year2.toString()).replace("MM", month2).replace("DD", day2).replace("HH", hours).replace("mm", minutes).replace("ss", seconds);
592
- }
593
- const year = date.getFullYear();
594
- const month = String(date.getMonth() + 1).padStart(2, "0");
595
- const day = String(date.getDate()).padStart(2, "0");
596
- return format.replace("YYYY", year.toString()).replace("MM", month).replace("DD", day);
597
- }
598
- getDisplayValue() {
599
- if (this.range) {
600
- if (this.selectedStart && this.selectedEnd) {
601
- return `${this.formatDisplayDate(this.selectedStart, true)} \u2013 ${this.formatDisplayDate(this.selectedEnd, false)}`;
602
- } else if (this.selectedStart) {
603
- return this.formatDisplayDate(this.selectedStart, true);
604
- }
605
- return "";
606
- } else {
607
- return this.selectedStart ? this.formatDisplayDate(this.selectedStart, true) : "";
608
- }
609
- }
610
- getStartDateDisplayValue() {
611
- return this.selectedStart ? this.formatDisplayDate(this.selectedStart, true) : "";
612
- }
613
- getEndDateDisplayValue() {
614
- return this.selectedEnd ? this.formatDisplayDate(this.selectedEnd, false) : "";
615
- }
616
- parseAndFormatDate(dateStr) {
617
- const trimmed = dateStr.trim();
618
- if (!trimmed) return null;
619
- const dateOnlyPattern = /^\d{4}-\d{2}-\d{2}$/;
620
- const dateTimePattern = /^\d{4}-\d{2}-\d{2}[T\s]\d{1,2}:\d{2}(:\d{2})?(\s*(AM|PM))?$/i;
621
- let date;
622
- if (dateOnlyPattern.test(trimmed)) {
623
- date = this.parseLocalDate(trimmed);
624
- } else if (this.enableTime && dateTimePattern.test(trimmed)) {
625
- const amPmMatch = trimmed.match(/\s*(AM|PM)$/i);
626
- const amPm = amPmMatch ? amPmMatch[1].toUpperCase() : null;
627
- const withoutAmPm = amPm ? trimmed.slice(0, -amPmMatch[0].length).trim() : trimmed;
628
- const [datePart, timePart] = withoutAmPm.split(/[T\s]+/);
629
- const [year, month, day] = datePart.split("-").map(Number);
630
- const timeComponents = timePart.split(":").map(Number);
631
- let hours = timeComponents[0] || 0;
632
- const minutes = timeComponents[1] || 0;
633
- const seconds = timeComponents[2] || 0;
634
- if (amPm) {
635
- hours = this.to24Hour(hours, amPm);
636
- }
637
- date = new Date(Date.UTC(year, month - 1, day, hours, minutes, seconds));
638
- } else {
639
- date = new Date(trimmed);
640
- if (!isValid(date)) {
641
- return null;
642
- }
643
- }
644
- if (!isValid(date)) {
645
- return null;
646
- }
647
- if (this.enableTime) {
648
- if (dateOnlyPattern.test(trimmed)) {
649
- return trimmed;
650
- } else {
651
- const utcYear = date.getUTCFullYear();
652
- const utcMonth = date.getUTCMonth() + 1;
653
- const utcDay = date.getUTCDate();
654
- const utcHours = date.getUTCHours();
655
- const utcMinutes = date.getUTCMinutes();
656
- const utcSeconds = date.getUTCSeconds();
657
- 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")}`;
658
- }
659
- } else {
660
- const year = date.getFullYear();
661
- const month = date.getMonth() + 1;
662
- const day = date.getDate();
663
- return `${year}-${String(month).padStart(2, "0")}-${String(day).padStart(2, "0")}`;
664
- }
665
- }
666
- clearInputValidation() {
667
- const inputs = this.renderRoot.querySelectorAll("terra-input");
668
- inputs.forEach((input) => {
669
- input.setCustomValidity("");
670
- });
671
- }
672
- /**
673
- * Format a date string for display in error messages
674
- * When time is disabled, only show the date portion (YYYY-MM-DD)
675
- */
676
- formatDateForError(dateString) {
677
- if (!this.enableTime) {
678
- return dateString.split("T")[0];
679
- }
680
- return dateString;
681
- }
682
- /**
683
- * Set validation error on input and emit invalid event
684
- */
685
- setInputValidationError(input, message) {
686
- input.setCustomValidity(message);
687
- requestAnimationFrame(() => {
688
- ;
689
- input.validationErrorMessage = message;
690
- input.requestUpdate();
691
- });
692
- this.emit("terra-date-selection-invalid", {
693
- detail: { message }
694
- });
695
- }
696
- handleInputBlur(event) {
697
- const input = event.target;
698
- const value = input.value || "";
699
- if (!value.trim()) {
700
- this.selectedStart = null;
701
- this.selectedEnd = null;
702
- input.setCustomValidity("");
703
- this.emitChange();
704
- return;
705
- }
706
- if (this.range) {
707
- const normalized = value.replace(/(\d{2})-(\d{4})/, "$1 - $2");
708
- const parts = normalized.split(/\s*–\s*|\s+-\s+/);
709
- if (parts.length !== 2) {
710
- const message = "Date range must be in format: YYYY-MM-DD \u2013 YYYY-MM-DD";
711
- this.setInputValidationError(input, message);
712
- return;
713
- }
714
- const startFormatted = this.parseAndFormatDate(parts[0]);
715
- const endFormatted = this.parseAndFormatDate(parts[1]);
716
- if (!startFormatted) {
717
- const message = "Invalid start date format";
718
- this.setInputValidationError(input, message);
719
- return;
720
- }
721
- if (!endFormatted) {
722
- const message = "Invalid end date format";
723
- this.setInputValidationError(input, message);
724
- return;
725
- }
726
- let start;
727
- let end;
728
- if (this.enableTime && startFormatted.length > 10) {
729
- const [sdp, stp] = startFormatted.split(/[T\s]+/);
730
- const [sy, sm, sd] = sdp.split("-").map(Number);
731
- const stc = stp.split(":").map(Number);
732
- const sRefDate = new Date(Date.UTC(sy, sm - 1, sd));
733
- const sUtc = this.getUtcTimeFromDisplay(
734
- stc[0] || 0,
735
- stc[1] || 0,
736
- stc[2] || 0,
737
- sRefDate
738
- );
739
- start = new Date(
740
- Date.UTC(sy, sm - 1, sd, sUtc.hour, sUtc.minute, sUtc.second)
741
- );
742
- this.startHour = sUtc.hour;
743
- this.startMinute = sUtc.minute;
744
- this.startSecond = sUtc.second;
745
- } else if (this.enableTime) {
746
- const [year, month, day] = startFormatted.split("-").map(Number);
747
- start = new Date(
748
- Date.UTC(
749
- year,
750
- month - 1,
751
- day,
752
- this.startHour,
753
- this.startMinute,
754
- this.startSecond
755
- )
756
- );
757
- } else {
758
- start = this.parseLocalDate(startFormatted);
759
- }
760
- if (this.enableTime && endFormatted.length > 10) {
761
- const [edp, etp] = endFormatted.split(/[T\s]+/);
762
- const [ey, em, ed] = edp.split("-").map(Number);
763
- const etc = etp.split(":").map(Number);
764
- const eRefDate = new Date(Date.UTC(ey, em - 1, ed));
765
- const eUtc = this.getUtcTimeFromDisplay(
766
- etc[0] || 0,
767
- etc[1] || 0,
768
- etc[2] || 0,
769
- eRefDate
770
- );
771
- end = new Date(
772
- Date.UTC(ey, em - 1, ed, eUtc.hour, eUtc.minute, eUtc.second)
773
- );
774
- this.endHour = eUtc.hour;
775
- this.endMinute = eUtc.minute;
776
- this.endSecond = eUtc.second;
777
- } else if (this.enableTime) {
778
- const [year, month, day] = endFormatted.split("-").map(Number);
779
- end = new Date(
780
- Date.UTC(
781
- year,
782
- month - 1,
783
- day,
784
- this.endHour,
785
- this.endMinute,
786
- this.endSecond
787
- )
788
- );
789
- } else {
790
- end = this.parseLocalDate(endFormatted);
791
- }
792
- let finalStart = start;
793
- let finalEnd = end;
794
- if (start > end) {
795
- finalStart = end;
796
- finalEnd = start;
797
- }
798
- if (this.minDate) {
799
- const min = this.parseLocalDate(this.minDate);
800
- if (finalStart < min) {
801
- const message = `Start date must be on or after ${this.formatDateForError(this.minDate)}`;
802
- this.setInputValidationError(input, message);
803
- return;
804
- }
805
- }
806
- if (this.maxDate) {
807
- const max = this.parseLocalDate(this.maxDate);
808
- if (finalEnd > max) {
809
- const message = `End date must be on or before ${this.formatDateForError(this.maxDate)}`;
810
- this.setInputValidationError(input, message);
811
- return;
812
- }
813
- }
814
- this.selectedStart = finalStart;
815
- this.selectedEnd = finalEnd;
816
- this.updateMonthViews();
817
- input.value = `${this.formatDisplayDate(finalStart, true)} \u2013 ${this.formatDisplayDate(finalEnd, false)}`;
818
- input.setCustomValidity("");
819
- this.emitChange();
820
- } else {
821
- const formatted = this.parseAndFormatDate(value);
822
- if (!formatted) {
823
- const message = "Invalid date format";
824
- this.setInputValidationError(input, message);
825
- return;
826
- }
827
- let date;
828
- if (this.enableTime && formatted.length > 10) {
829
- const [dp, tp] = formatted.split(/[T\s]+/);
830
- const [y, mo, d] = dp.split("-").map(Number);
831
- const tc = tp.split(":").map(Number);
832
- const refDate = new Date(Date.UTC(y, mo - 1, d));
833
- const utc = this.getUtcTimeFromDisplay(
834
- tc[0] || 0,
835
- tc[1] || 0,
836
- tc[2] || 0,
837
- refDate
838
- );
839
- date = new Date(
840
- Date.UTC(y, mo - 1, d, utc.hour, utc.minute, utc.second)
841
- );
842
- this.startHour = utc.hour;
843
- this.startMinute = utc.minute;
844
- this.startSecond = utc.second;
845
- } else if (this.enableTime) {
846
- const [year, month, day] = formatted.split("-").map(Number);
847
- date = new Date(
848
- Date.UTC(
849
- year,
850
- month - 1,
851
- day,
852
- this.startHour,
853
- this.startMinute,
854
- this.startSecond
855
- )
856
- );
857
- } else {
858
- date = this.parseLocalDate(formatted);
859
- }
860
- if (this.minDate) {
861
- const min = this.parseLocalDate(this.minDate);
862
- if (date < min) {
863
- const message = `Date must be on or after ${this.formatDateForError(this.minDate)}`;
864
- this.setInputValidationError(input, message);
865
- return;
866
- }
867
- }
868
- if (this.maxDate) {
869
- const max = this.parseLocalDate(this.maxDate);
870
- if (date > max) {
871
- const message = `Date must be on or before ${this.formatDateForError(this.maxDate)}`;
872
- this.setInputValidationError(input, message);
873
- return;
874
- }
875
- }
876
- this.selectedStart = date;
877
- this.selectedEnd = null;
878
- this.updateMonthViews();
879
- input.value = this.formatDisplayDate(date, true);
880
- input.setCustomValidity("");
881
- this.emitChange();
882
- }
883
- }
884
- handleStartInputBlur(event) {
885
- const input = event.target;
886
- const value = input.value || "";
887
- if (!value.trim()) {
888
- this.selectedStart = null;
889
- input.setCustomValidity("");
890
- this.emitChange();
891
- return;
892
- }
893
- const formatted = this.parseAndFormatDate(value);
894
- if (!formatted) {
895
- const message = "Invalid date format";
896
- this.setInputValidationError(input, message);
897
- return;
898
- }
899
- let date;
900
- if (this.enableTime && formatted.length > 10) {
901
- const [dp, tp] = formatted.split(/[T\s]+/);
902
- const [y, mo, d] = dp.split("-").map(Number);
903
- const tc = tp.split(":").map(Number);
904
- const refDate = new Date(Date.UTC(y, mo - 1, d));
905
- const utc = this.getUtcTimeFromDisplay(
906
- tc[0] || 0,
907
- tc[1] || 0,
908
- tc[2] || 0,
909
- refDate
910
- );
911
- date = new Date(Date.UTC(y, mo - 1, d, utc.hour, utc.minute, utc.second));
912
- this.startHour = utc.hour;
913
- this.startMinute = utc.minute;
914
- this.startSecond = utc.second;
915
- } else if (this.enableTime) {
916
- const [year, month, day] = formatted.split("-").map(Number);
917
- date = new Date(
918
- Date.UTC(
919
- year,
920
- month - 1,
921
- day,
922
- this.startHour,
923
- this.startMinute,
924
- this.startSecond
925
- )
926
- );
927
- } else {
928
- date = this.parseLocalDate(formatted);
929
- }
930
- if (this.minDate) {
931
- const min = this.parseLocalDate(this.minDate);
932
- if (date < min) {
933
- const message = `Date must be on or after ${this.formatDateForError(this.minDate)}`;
934
- this.setInputValidationError(input, message);
935
- return;
936
- }
937
- }
938
- if (this.maxDate) {
939
- const max = this.parseLocalDate(this.maxDate);
940
- if (date > max) {
941
- const message = `Date must be on or before ${this.formatDateForError(this.maxDate)}`;
942
- this.setInputValidationError(input, message);
943
- return;
944
- }
945
- }
946
- if (this.selectedEnd && date > this.selectedEnd) {
947
- const message = "Start date must be before end date";
948
- this.setInputValidationError(input, message);
949
- return;
950
- }
951
- this.selectedStart = date;
952
- this.leftMonth = new Date(date);
953
- input.value = this.formatDisplayDate(date, true);
954
- input.setCustomValidity("");
955
- this.emitChange();
956
- }
957
- handleEndInputBlur(event) {
958
- const input = event.target;
959
- const value = input.value || "";
960
- if (!value.trim()) {
961
- this.selectedEnd = null;
962
- input.setCustomValidity("");
963
- this.emitChange();
964
- return;
965
- }
966
- const formatted = this.parseAndFormatDate(value);
967
- if (!formatted) {
968
- const message = "Invalid date format";
969
- this.setInputValidationError(input, message);
970
- return;
971
- }
972
- let date;
973
- if (this.enableTime && formatted.length > 10) {
974
- const [dp, tp] = formatted.split(/[T\s]+/);
975
- const [y, mo, d] = dp.split("-").map(Number);
976
- const tc = tp.split(":").map(Number);
977
- const refDate = new Date(Date.UTC(y, mo - 1, d));
978
- const utc = this.getUtcTimeFromDisplay(
979
- tc[0] || 0,
980
- tc[1] || 0,
981
- tc[2] || 0,
982
- refDate
983
- );
984
- date = new Date(Date.UTC(y, mo - 1, d, utc.hour, utc.minute, utc.second));
985
- this.endHour = utc.hour;
986
- this.endMinute = utc.minute;
987
- this.endSecond = utc.second;
988
- } else if (this.enableTime) {
989
- const [year, month, day] = formatted.split("-").map(Number);
990
- date = new Date(
991
- Date.UTC(
992
- year,
993
- month - 1,
994
- day,
995
- this.endHour,
996
- this.endMinute,
997
- this.endSecond
998
- )
999
- );
1000
- } else {
1001
- date = this.parseLocalDate(formatted);
1002
- }
1003
- if (this.minDate) {
1004
- const min = this.parseLocalDate(this.minDate);
1005
- if (date < min) {
1006
- const message = `Date must be on or after ${this.formatDateForError(this.minDate)}`;
1007
- this.setInputValidationError(input, message);
1008
- return;
1009
- }
1010
- }
1011
- if (this.maxDate) {
1012
- const max = this.parseLocalDate(this.maxDate);
1013
- if (date > max) {
1014
- const message = `Date must be on or before ${this.formatDateForError(this.maxDate)}`;
1015
- this.setInputValidationError(input, message);
1016
- return;
1017
- }
1018
- }
1019
- if (this.selectedStart) {
1020
- if (this.enableTime && this.isSameDay(date, this.selectedStart)) {
1021
- const startTimeSeconds = this.startHour * 3600 + this.startMinute * 60 + this.startSecond;
1022
- const endTimeSeconds = this.endHour * 3600 + this.endMinute * 60 + this.endSecond;
1023
- if (endTimeSeconds < startTimeSeconds) {
1024
- const message = "End time must be after start time when dates are the same";
1025
- this.setInputValidationError(input, message);
1026
- return;
1027
- }
1028
- } else if (date < this.selectedStart) {
1029
- const message = "End date must be after start date";
1030
- this.setInputValidationError(input, message);
1031
- return;
1032
- }
1033
- }
1034
- this.selectedEnd = date;
1035
- if (this.selectedStart && this.isSameMonth(this.selectedStart, this.selectedEnd)) {
1036
- this.rightMonth = new Date(this.selectedStart);
1037
- this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
1038
- } else {
1039
- this.rightMonth = new Date(date);
1040
- }
1041
- input.value = this.formatDisplayDate(date, false);
1042
- input.setCustomValidity("");
1043
- this.emitChange();
1044
- }
1045
- updateMonthViews() {
1046
- if (this.selectedStart) {
1047
- this.leftMonth = new Date(this.selectedStart);
1048
- if (this.range && this.selectedEnd) {
1049
- if (this.isSameMonth(this.selectedStart, this.selectedEnd)) {
1050
- this.rightMonth = new Date(this.selectedStart);
1051
- this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
1052
- } else {
1053
- this.rightMonth = new Date(this.selectedEnd);
1054
- }
1055
- }
1056
- }
1057
- }
1058
- handleKeydown(event) {
1059
- if (event.key === " ") {
1060
- event.stopPropagation();
1061
- return;
1062
- }
1063
- if (event.key === "Enter") {
1064
- event.preventDefault();
1065
- this.handleInputBlur(event);
1066
- }
1067
- }
1068
- previousMonth(isLeft) {
1069
- if (isLeft) {
1070
- const newMonth = new Date(this.leftMonth);
1071
- newMonth.setMonth(newMonth.getMonth() - 1);
1072
- this.leftMonth = newMonth;
1073
- } else {
1074
- const newMonth = new Date(this.rightMonth);
1075
- newMonth.setMonth(newMonth.getMonth() - 1);
1076
- this.rightMonth = newMonth;
1077
- }
1078
- }
1079
- nextMonth(isLeft) {
1080
- if (isLeft) {
1081
- const newMonth = new Date(this.leftMonth);
1082
- newMonth.setMonth(newMonth.getMonth() + 1);
1083
- this.leftMonth = newMonth;
1084
- } else {
1085
- const newMonth = new Date(this.rightMonth);
1086
- newMonth.setMonth(newMonth.getMonth() + 1);
1087
- this.rightMonth = newMonth;
1088
- }
1089
- }
1090
- toggleMonthDropdown(isLeft, event) {
1091
- event.stopPropagation();
1092
- if (isLeft) {
1093
- this.showLeftMonthDropdown = !this.showLeftMonthDropdown;
1094
- this.showRightMonthDropdown = false;
1095
- } else {
1096
- this.showRightMonthDropdown = !this.showRightMonthDropdown;
1097
- this.showLeftMonthDropdown = false;
1098
- }
1099
- }
1100
- selectMonth(month, isLeft) {
1101
- if (isLeft) {
1102
- const newMonth = new Date(this.leftMonth);
1103
- newMonth.setDate(1);
1104
- newMonth.setMonth(month);
1105
- this.leftMonth = newMonth;
1106
- this.showLeftMonthDropdown = false;
1107
- } else {
1108
- const newMonth = new Date(this.rightMonth);
1109
- newMonth.setDate(1);
1110
- newMonth.setMonth(month);
1111
- this.rightMonth = newMonth;
1112
- this.showRightMonthDropdown = false;
1113
- }
1114
- }
1115
- changeYear(delta, isLeft) {
1116
- if (isLeft) {
1117
- const newMonth = new Date(this.leftMonth);
1118
- newMonth.setFullYear(newMonth.getFullYear() + delta);
1119
- this.leftMonth = newMonth;
1120
- } else {
1121
- const newMonth = new Date(this.rightMonth);
1122
- newMonth.setFullYear(newMonth.getFullYear() + delta);
1123
- this.rightMonth = newMonth;
1124
- }
1125
- }
1126
- handleYearInput(event, isLeft) {
1127
- const input = event.target;
1128
- const year = parseInt(input.value, 10);
1129
- if (!isNaN(year) && year >= 1900 && year <= 2100) {
1130
- if (isLeft) {
1131
- const newMonth = new Date(this.leftMonth);
1132
- newMonth.setFullYear(year);
1133
- this.leftMonth = newMonth;
1134
- } else {
1135
- const newMonth = new Date(this.rightMonth);
1136
- newMonth.setFullYear(year);
1137
- this.rightMonth = newMonth;
1138
- }
1139
- }
1140
- }
1141
- getDaysInMonth(date) {
1142
- const year = date.getFullYear();
1143
- const month = date.getMonth();
1144
- const createDate = (y, m, d) => {
1145
- if (this.enableTime) {
1146
- return new Date(Date.UTC(y, m, d, 0, 0, 0));
1147
- }
1148
- return new Date(y, m, d);
1149
- };
1150
- const firstDay = createDate(year, month, 1);
1151
- const lastDay = new Date(year, month + 1, 0);
1152
- const days = [];
1153
- const firstDayOfWeek = this.enableTime ? firstDay.getUTCDay() : firstDay.getDay();
1154
- for (let i = firstDayOfWeek - 1; i >= 0; i--) {
1155
- const day = createDate(year, month, -i);
1156
- days.push(day);
1157
- }
1158
- for (let i = 1; i <= lastDay.getDate(); i++) {
1159
- days.push(createDate(year, month, i));
1160
- }
1161
- const remainingDays = 7 - days.length % 7;
1162
- if (remainingDays < 7) {
1163
- for (let i = 1; i <= remainingDays; i++) {
1164
- days.push(createDate(year, month + 1, i));
1165
- }
1166
- }
1167
- return days;
1168
- }
1169
- isSameDay(date1, date2) {
1170
- if (!date1 || !date2) return false;
1171
- if (this.enableTime) {
1172
- return date1.getUTCFullYear() === date2.getUTCFullYear() && date1.getUTCMonth() === date2.getUTCMonth() && date1.getUTCDate() === date2.getUTCDate();
1173
- }
1174
- return date1.getFullYear() === date2.getFullYear() && date1.getMonth() === date2.getMonth() && date1.getDate() === date2.getDate();
1175
- }
1176
- isInRange(date) {
1177
- if (!this.selectedStart || !this.selectedEnd) return false;
1178
- const time = date.getTime();
1179
- return time >= this.selectedStart.getTime() && time <= this.selectedEnd.getTime();
1180
- }
1181
- isInHoverRange(date) {
1182
- if (!this.range || !this.selectedStart || !this.hoverDate || this.selectedEnd)
1183
- return false;
1184
- const time = date.getTime();
1185
- const start = Math.min(this.selectedStart.getTime(), this.hoverDate.getTime());
1186
- const end = Math.max(this.selectedStart.getTime(), this.hoverDate.getTime());
1187
- return time >= start && time <= end;
1188
- }
1189
- isDisabled(date) {
1190
- if (this.minDate) {
1191
- const min = this.parseLocalDate(this.minDate);
1192
- const minMidnight = new Date(
1193
- Date.UTC(min.getUTCFullYear(), min.getUTCMonth(), min.getUTCDate())
1194
- );
1195
- const dateMidnight = new Date(
1196
- Date.UTC(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate())
1197
- );
1198
- if (dateMidnight < minMidnight) return true;
1199
- }
1200
- if (this.maxDate) {
1201
- const max = this.parseLocalDate(this.maxDate);
1202
- const maxMidnight = new Date(
1203
- Date.UTC(max.getUTCFullYear(), max.getUTCMonth(), max.getUTCDate())
1204
- );
1205
- const dateMidnight = new Date(
1206
- Date.UTC(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate())
1207
- );
1208
- if (dateMidnight > maxMidnight) return true;
1209
- }
1210
- return false;
1211
- }
1212
- selectDate(date) {
1213
- if (this.isDisabled(date)) {
1214
- this.emit("terra-date-selection-invalid", {
1215
- detail: {
1216
- message: `You are not allowed to select dates outside ${this.minDate} to ${this.maxDate}.`
1217
- }
1218
- });
1219
- return;
1220
- }
1221
- this.clearInputValidation();
1222
- if (this.range) {
1223
- if (!this.selectedStart || this.selectedEnd) {
1224
- this.selectedStart = date;
1225
- this.selectedEnd = null;
1226
- this.isSelectingRange = true;
1227
- } else {
1228
- if (date < this.selectedStart) {
1229
- this.selectedEnd = this.selectedStart;
1230
- this.selectedStart = date;
1231
- } else {
1232
- this.selectedEnd = date;
1233
- }
1234
- this.isSelectingRange = false;
1235
- if (this.enableTime && this.selectedStart && this.selectedEnd && this.isSameDay(this.selectedStart, this.selectedEnd)) {
1236
- const startTimeSeconds = this.startHour * 3600 + this.startMinute * 60 + this.startSecond;
1237
- const endTimeSeconds = this.endHour * 3600 + this.endMinute * 60 + this.endSecond;
1238
- if (endTimeSeconds < startTimeSeconds) {
1239
- this.emit("terra-date-selection-invalid", {
1240
- detail: {
1241
- message: "End time is before start time. Please adjust the time values."
1242
- }
1243
- });
1244
- }
1245
- }
1246
- this.emitChange();
1247
- if (!this.inline) {
1248
- this.isOpen = false;
1249
- }
1250
- }
1251
- } else {
1252
- this.selectedStart = date;
1253
- this.selectedEnd = null;
1254
- this.emitChange();
1255
- if (!this.inline) {
1256
- this.isOpen = false;
1257
- }
1258
- }
1259
- }
1260
- handleDateHover(date) {
1261
- if (this.range && this.selectedStart && !this.selectedEnd) {
1262
- this.hoverDate = date;
1263
- }
1264
- }
1265
- selectPreset(preset) {
1266
- const { startDate, endDate } = preset.getValue();
1267
- if (!this.isPresetWithinBounds({ startDate, endDate })) {
1268
- this.emit("terra-date-selection-invalid", {
1269
- detail: {
1270
- message: `The preset "${preset.label}" is not available within the allowed date range ${this.minDate} to ${this.maxDate}.`
1271
- }
1272
- });
1273
- return;
1274
- }
1275
- this.clearInputValidation();
1276
- const { min, max } = this.getBounds();
1277
- if (this.range) {
1278
- let s = startDate;
1279
- let e3 = endDate;
1280
- if (s && min && s < min) s = new Date(min);
1281
- if (s && max && s > max) s = new Date(max);
1282
- if (e3 && min && e3 < min) e3 = new Date(min);
1283
- if (e3 && max && e3 > max) e3 = new Date(max);
1284
- if (s && e3 && e3 < s) {
1285
- const tmp = s;
1286
- s = e3;
1287
- e3 = tmp;
1288
- }
1289
- this.selectedStart = s;
1290
- this.selectedEnd = e3;
1291
- } else {
1292
- let s = startDate;
1293
- if (s && min && s < min) s = new Date(min);
1294
- if (s && max && s > max) s = new Date(max);
1295
- this.selectedStart = s;
1296
- this.selectedEnd = null;
1297
- }
1298
- if (this.selectedStart) {
1299
- this.leftMonth = new Date(this.selectedStart);
1300
- if (this.range && this.selectedEnd) {
1301
- this.rightMonth = new Date(this.selectedEnd);
1302
- }
1303
- }
1304
- if (this.enableTime) {
1305
- if (startDate) {
1306
- const startUtc = this.getUtcTimeFromDisplay(0, 0, 0, startDate);
1307
- this.startHour = startUtc.hour;
1308
- this.startMinute = startUtc.minute;
1309
- this.startSecond = startUtc.second;
1310
- }
1311
- if (endDate) {
1312
- const endUtc = this.getUtcTimeFromDisplay(23, 59, 59, endDate);
1313
- this.endHour = endUtc.hour;
1314
- this.endMinute = endUtc.minute;
1315
- this.endSecond = endUtc.second;
1316
- }
1317
- }
1318
- this.emitChange();
1319
- if (!this.range && !this.inline) {
1320
- this.isOpen = false;
1321
- }
1322
- }
1323
- emitChange() {
1324
- let startDateTime = "";
1325
- let endDateTime = "";
1326
- if (this.selectedStart) {
1327
- if (this.enableTime) {
1328
- const startDisplay = this.getDisplayTimeComponents(
1329
- this.startHour,
1330
- this.startMinute,
1331
- this.startSecond,
1332
- this.selectedStart
1333
- );
1334
- const offsetMinutes = this.getTimezoneOffsetMinutes(
1335
- this.selectedStart
1336
- );
1337
- const startDate = new Date(
1338
- Date.UTC(
1339
- this.selectedStart.getUTCFullYear(),
1340
- this.selectedStart.getUTCMonth(),
1341
- this.selectedStart.getUTCDate(),
1342
- startDisplay.hour,
1343
- startDisplay.minute - offsetMinutes,
1344
- // Math shifts the day safely!
1345
- startDisplay.second,
1346
- 0
1347
- )
1348
- );
1349
- startDateTime = startDate.toISOString();
1350
- } else {
1351
- const year = this.selectedStart.getFullYear();
1352
- const month = String(this.selectedStart.getMonth() + 1).padStart(
1353
- 2,
1354
- "0"
1355
- );
1356
- const day = String(this.selectedStart.getDate()).padStart(2, "0");
1357
- startDateTime = `${year}-${month}-${day}`;
1358
- }
1359
- }
1360
- if (this.selectedEnd) {
1361
- if (this.enableTime) {
1362
- const endDisplay = this.getDisplayTimeComponents(
1363
- this.endHour,
1364
- this.endMinute,
1365
- this.endSecond,
1366
- this.selectedEnd
1367
- );
1368
- const offsetMinutes = this.getTimezoneOffsetMinutes(this.selectedEnd);
1369
- const endDate = new Date(
1370
- Date.UTC(
1371
- this.selectedEnd.getUTCFullYear(),
1372
- this.selectedEnd.getUTCMonth(),
1373
- this.selectedEnd.getUTCDate(),
1374
- endDisplay.hour,
1375
- endDisplay.minute - offsetMinutes,
1376
- endDisplay.second,
1377
- 0
1378
- )
1379
- );
1380
- endDateTime = endDate.toISOString();
1381
- } else {
1382
- const year = this.selectedEnd.getFullYear();
1383
- const month = String(this.selectedEnd.getMonth() + 1).padStart(2, "0");
1384
- const day = String(this.selectedEnd.getDate()).padStart(2, "0");
1385
- endDateTime = `${year}-${month}-${day}`;
1386
- }
1387
- }
1388
- this.emit("terra-date-range-change", {
1389
- detail: {
1390
- startDate: startDateTime,
1391
- endDate: endDateTime
1392
- }
1393
- });
1394
- }
1395
- initializeTimeFromDate(date, isStart) {
1396
- const hours = date.getUTCHours();
1397
- const minutes = date.getUTCMinutes();
1398
- const seconds = date.getUTCSeconds();
1399
- if (isStart) {
1400
- this.startHour = hours;
1401
- this.startMinute = minutes;
1402
- this.startSecond = seconds;
1403
- } else {
1404
- this.endHour = hours;
1405
- this.endMinute = minutes;
1406
- this.endSecond = seconds;
1407
- }
1408
- }
1409
- changeTime(type, delta, isStart) {
1410
- const utcH = isStart ? this.startHour : this.endHour;
1411
- const utcM = isStart ? this.startMinute : this.endMinute;
1412
- const utcS = isStart ? this.startSecond : this.endSecond;
1413
- const ref = isStart ? this.selectedStart : this.selectedEnd;
1414
- const display = this.getDisplayTimeComponents(utcH, utcM, utcS, ref);
1415
- let newDisplayH = display.hour;
1416
- let newDisplayM = display.minute;
1417
- let newDisplayS = display.second;
1418
- if (type === "hour") {
1419
- if (this.twelveHour) {
1420
- const d12 = this.to12Hour(display.hour);
1421
- const newHour12 = ((d12.hour - 1 + delta) % 12 + 12) % 12 + 1;
1422
- newDisplayH = this.to24Hour(newHour12, d12.period);
1423
- } else {
1424
- newDisplayH = ((display.hour + delta) % 24 + 24) % 24;
1425
- }
1426
- } else if (type === "minute") {
1427
- newDisplayM = ((display.minute + delta) % 60 + 60) % 60;
1428
- } else {
1429
- newDisplayS = ((display.second + delta) % 60 + 60) % 60;
1430
- }
1431
- const utc = this.getUtcTimeFromDisplay(
1432
- newDisplayH,
1433
- newDisplayM,
1434
- newDisplayS,
1435
- ref
1436
- );
1437
- if (isStart) {
1438
- this.startHour = utc.hour;
1439
- this.startMinute = utc.minute;
1440
- this.startSecond = utc.second;
1441
- } else {
1442
- this.endHour = utc.hour;
1443
- this.endMinute = utc.minute;
1444
- this.endSecond = utc.second;
1445
- }
1446
- this.emitChange();
1447
- this.requestUpdate();
1448
- }
1449
- handleTimeInput(event, type, isStart) {
1450
- const input = event.target;
1451
- const value = parseInt(input.value, 10);
1452
- const utcH = isStart ? this.startHour : this.endHour;
1453
- const utcM = isStart ? this.startMinute : this.endMinute;
1454
- const utcS = isStart ? this.startSecond : this.endSecond;
1455
- const ref = isStart ? this.selectedStart : this.selectedEnd;
1456
- const display = this.getDisplayTimeComponents(utcH, utcM, utcS, ref);
1457
- const d12 = this.twelveHour ? this.to12Hour(display.hour) : null;
1458
- let newDisplayH = display.hour;
1459
- let newDisplayM = display.minute;
1460
- let newDisplayS = display.second;
1461
- if (type === "hour") {
1462
- const min = this.twelveHour ? 1 : 0;
1463
- const max = this.twelveHour ? 12 : 23;
1464
- if (isNaN(value) || value < min || value > max) {
1465
- input.value = (d12 ? d12.hour : display.hour).toString().padStart(2, "0");
1466
- return;
1467
- }
1468
- newDisplayH = this.twelveHour ? this.to24Hour(value, d12.period) : value;
1469
- } else if (type === "minute") {
1470
- if (isNaN(value) || value < 0 || value >= 60) {
1471
- input.value = display.minute.toString().padStart(2, "0");
1472
- return;
1473
- }
1474
- newDisplayM = value;
1475
- } else {
1476
- if (isNaN(value) || value < 0 || value >= 60) {
1477
- input.value = display.second.toString().padStart(2, "0");
1478
- return;
1479
- }
1480
- newDisplayS = value;
1481
- }
1482
- const utc = this.getUtcTimeFromDisplay(
1483
- newDisplayH,
1484
- newDisplayM,
1485
- newDisplayS,
1486
- ref
1487
- );
1488
- if (isStart) {
1489
- this.startHour = utc.hour;
1490
- this.startMinute = utc.minute;
1491
- this.startSecond = utc.second;
1492
- } else {
1493
- this.endHour = utc.hour;
1494
- this.endMinute = utc.minute;
1495
- this.endSecond = utc.second;
1496
- }
1497
- this.emitChange();
1498
- this.requestUpdate();
1499
- }
1500
- renderCalendar(month, isLeft = true) {
1501
- const days = this.getDaysInMonth(month);
1502
- const currentMonth = month.getMonth();
1503
- const showDropdown = isLeft ? this.showLeftMonthDropdown : this.showRightMonthDropdown;
1504
- return b`
1505
- <div class="calendar">
1506
- <div class="calendar__header">
1507
- <button
1508
- type="button"
1509
- class="calendar__nav"
1510
- @click=${() => this.previousMonth(isLeft)}
1511
- >
1512
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none">
1513
- <path
1514
- d="M10 12L6 8L10 4"
1515
- stroke="currentColor"
1516
- stroke-width="2"
1517
- stroke-linecap="round"
1518
- stroke-linejoin="round"
1519
- />
1520
- </svg>
1521
- </button>
1522
-
1523
- <div class="calendar__month-year">
1524
- <div class="calendar__month-dropdown-wrapper">
1525
- <button
1526
- type="button"
1527
- class="calendar__month-button"
1528
- @click=${(e3) => this.toggleMonthDropdown(isLeft, e3)}
1529
- >
1530
- ${this.MONTHS[month.getMonth()]}
1531
- <svg
1532
- width="12"
1533
- height="12"
1534
- viewBox="0 0 12 12"
1535
- fill="none"
1536
- class="calendar__month-icon"
1537
- >
1538
- <path
1539
- d="M3 5L6 8L9 5"
1540
- stroke="currentColor"
1541
- stroke-width="1.5"
1542
- stroke-linecap="round"
1543
- stroke-linejoin="round"
1544
- />
1545
- </svg>
1546
- </button>
1547
-
1548
- ${showDropdown ? b`
1549
- <div class="calendar__month-dropdown">
1550
- ${this.MONTHS.map(
1551
- (monthName, index) => b`
1552
- <button
1553
- type="button"
1554
- class="calendar__month-option ${index === month.getMonth() ? "calendar__month-option--selected" : ""}"
1555
- @click=${() => this.selectMonth(
1556
- index,
1557
- isLeft
1558
- )}
1559
- >
1560
- ${index === month.getMonth() ? b`
1561
- <svg
1562
- width="16"
1563
- height="16"
1564
- viewBox="0 0 16 16"
1565
- fill="none"
1566
- class="calendar__month-check"
1567
- >
1568
- <path
1569
- d="M13 4L6 11L3 8"
1570
- stroke="currentColor"
1571
- stroke-width="2"
1572
- stroke-linecap="round"
1573
- stroke-linejoin="round"
1574
- />
1575
- </svg>
1576
- ` : ""}
1577
- ${monthName}
1578
- </button>
1579
- `
1580
- )}
1581
- </div>
1582
- ` : ""}
1583
- </div>
1584
-
1585
- <div class="calendar__year-input-wrapper">
1586
- <input
1587
- type="number"
1588
- class="calendar__year-input"
1589
- .value=${month.getFullYear().toString()}
1590
- @input=${(e3) => this.handleYearInput(e3, isLeft)}
1591
- @blur=${(e3) => {
1592
- const input = e3.target;
1593
- input.value = month.getFullYear().toString();
1594
- }}
1595
- min="1900"
1596
- max="2100"
1597
- />
1598
- <div class="calendar__year-spinners">
1599
- <button
1600
- type="button"
1601
- class="calendar__year-spinner calendar__year-spinner--up"
1602
- @click=${() => this.changeYear(1, isLeft)}
1603
- >
1604
- <svg
1605
- width="10"
1606
- height="10"
1607
- viewBox="0 0 10 10"
1608
- fill="none"
1609
- >
1610
- <path
1611
- d="M2 6L5 3L8 6"
1612
- stroke="currentColor"
1613
- stroke-width="1.5"
1614
- stroke-linecap="round"
1615
- stroke-linejoin="round"
1616
- />
1617
- </svg>
1618
- </button>
1619
- <button
1620
- type="button"
1621
- class="calendar__year-spinner calendar__year-spinner--down"
1622
- @click=${() => this.changeYear(-1, isLeft)}
1623
- >
1624
- <svg
1625
- width="10"
1626
- height="10"
1627
- viewBox="0 0 10 10"
1628
- fill="none"
1629
- >
1630
- <path
1631
- d="M2 4L5 7L8 4"
1632
- stroke="currentColor"
1633
- stroke-width="1.5"
1634
- stroke-linecap="round"
1635
- stroke-linejoin="round"
1636
- />
1637
- </svg>
1638
- </button>
1639
- </div>
1640
- </div>
1641
- </div>
1642
-
1643
- <button
1644
- type="button"
1645
- class="calendar__nav"
1646
- @click=${() => this.nextMonth(isLeft)}
1647
- >
1648
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none">
1649
- <path
1650
- d="M6 12L10 8L6 4"
1651
- stroke="currentColor"
1652
- stroke-width="2"
1653
- stroke-linecap="round"
1654
- stroke-linejoin="round"
1655
- />
1656
- </svg>
1657
- </button>
1658
- </div>
1659
- <div class="calendar__weekdays">
1660
- ${this.DAYS.map(
1661
- (day) => b`<div class="calendar__weekday">${day}</div>`
1662
- )}
1663
- </div>
1664
- <div class="calendar__days">
1665
- ${days.map((date) => {
1666
- const dateMonth = this.enableTime ? date.getUTCMonth() : date.getMonth();
1667
- const dateDay = this.enableTime ? date.getUTCDate() : date.getDate();
1668
- const isCurrentMonth = dateMonth === currentMonth;
1669
- const isSelected = this.isSameDay(date, this.selectedStart) || this.isSameDay(date, this.selectedEnd);
1670
- const isStart = this.isSameDay(date, this.selectedStart);
1671
- const isEnd = this.isSameDay(date, this.selectedEnd);
1672
- const inRange = this.isInRange(date);
1673
- const inHoverRange = this.isInHoverRange(date);
1674
- const isDisabled = this.isDisabled(date);
1675
- return b`
1676
- <button
1677
- type="button"
1678
- class="calendar__day ${!isCurrentMonth ? "calendar__day--outside" : ""}
1679
- ${isSelected ? "calendar__day--selected" : ""}
1680
- ${isStart ? "calendar__day--start" : ""}
1681
- ${isEnd ? "calendar__day--end" : ""}
1682
- ${inRange ? "calendar__day--in-range" : ""}
1683
- ${inHoverRange ? "calendar__day--hover-range" : ""}
1684
- ${isDisabled ? "calendar__day--disabled" : ""}"
1685
- @click=${() => this.selectDate(date)}
1686
- @mouseenter=${() => this.handleDateHover(date)}
1687
- ?disabled=${isDisabled}
1688
- >
1689
- ${dateDay}
1690
- </button>
1691
- `;
1692
- })}
1693
- </div>
1694
- </div>
1695
- `;
1696
- }
1697
- renderTimePicker() {
1698
- if (!this.enableTime) return "";
1699
- const startDisplay = this.getDisplayTimeComponents(
1700
- this.startHour,
1701
- this.startMinute,
1702
- this.startSecond,
1703
- this.selectedStart
1704
- );
1705
- const endDisplay = this.getDisplayTimeComponents(
1706
- this.endHour,
1707
- this.endMinute,
1708
- this.endSecond,
1709
- this.selectedEnd
1710
- );
1711
- const startD12 = this.twelveHour ? this.to12Hour(startDisplay.hour) : null;
1712
- const endD12 = this.twelveHour ? this.to12Hour(endDisplay.hour) : null;
1713
- const hourMin = this.twelveHour ? "1" : "0";
1714
- const hourMax = this.twelveHour ? "12" : "23";
1715
- return b`
1716
- <div class="date-picker__time">
1717
- <div class="date-picker__time-section">
1718
- <div class="date-picker__time-inputs">
1719
- <div class="date-picker__time-input-group">
1720
- <input
1721
- type="number"
1722
- class="date-picker__time-input"
1723
- .value=${(startD12 ? startD12.hour : startDisplay.hour).toString().padStart(2, "0")}
1724
- @input=${(e3) => this.handleTimeInput(e3, "hour", true)}
1725
- @blur=${(e3) => {
1726
- const input = e3.target;
1727
- const d = this.getDisplayTimeComponents(
1728
- this.startHour,
1729
- this.startMinute,
1730
- this.startSecond,
1731
- this.selectedStart
1732
- );
1733
- const d12 = this.twelveHour ? this.to12Hour(d.hour) : null;
1734
- input.value = (d12 ? d12.hour : d.hour).toString().padStart(2, "0");
1735
- }}
1736
- min=${hourMin}
1737
- max=${hourMax}
1738
- />
1739
- <div class="date-picker__time-spinners">
1740
- <button
1741
- type="button"
1742
- class="date-picker__time-spinner"
1743
- @click=${() => this.changeTime("hour", 1, true)}
1744
- >
1745
- <svg
1746
- width="10"
1747
- height="10"
1748
- viewBox="0 0 10 10"
1749
- fill="none"
1750
- >
1751
- <path
1752
- d="M2 6L5 3L8 6"
1753
- stroke="currentColor"
1754
- stroke-width="1.5"
1755
- stroke-linecap="round"
1756
- stroke-linejoin="round"
1757
- />
1758
- </svg>
1759
- </button>
1760
- <button
1761
- type="button"
1762
- class="date-picker__time-spinner"
1763
- @click=${() => this.changeTime("hour", -1, true)}
1764
- >
1765
- <svg
1766
- width="10"
1767
- height="10"
1768
- viewBox="0 0 10 10"
1769
- fill="none"
1770
- >
1771
- <path
1772
- d="M2 4L5 7L8 4"
1773
- stroke="currentColor"
1774
- stroke-width="1.5"
1775
- stroke-linecap="round"
1776
- stroke-linejoin="round"
1777
- />
1778
- </svg>
1779
- </button>
1780
- </div>
1781
- </div>
1782
-
1783
- <span class="date-picker__time-separator">:</span>
1784
-
1785
- <div class="date-picker__time-input-group">
1786
- <input
1787
- type="number"
1788
- class="date-picker__time-input"
1789
- .value=${startDisplay.minute.toString().padStart(2, "0")}
1790
- @input=${(e3) => this.handleTimeInput(e3, "minute", true)}
1791
- @blur=${(e3) => {
1792
- const input = e3.target;
1793
- const d = this.getDisplayTimeComponents(
1794
- this.startHour,
1795
- this.startMinute,
1796
- this.startSecond,
1797
- this.selectedStart
1798
- );
1799
- input.value = d.minute.toString().padStart(2, "0");
1800
- }}
1801
- min="0"
1802
- max="59"
1803
- />
1804
- <div class="date-picker__time-spinners">
1805
- <button
1806
- type="button"
1807
- class="date-picker__time-spinner"
1808
- @click=${() => this.changeTime("minute", 1, true)}
1809
- >
1810
- <svg
1811
- width="10"
1812
- height="10"
1813
- viewBox="0 0 10 10"
1814
- fill="none"
1815
- >
1816
- <path
1817
- d="M2 6L5 3L8 6"
1818
- stroke="currentColor"
1819
- stroke-width="1.5"
1820
- stroke-linecap="round"
1821
- stroke-linejoin="round"
1822
- />
1823
- </svg>
1824
- </button>
1825
- <button
1826
- type="button"
1827
- class="date-picker__time-spinner"
1828
- @click=${() => this.changeTime("minute", -1, true)}
1829
- >
1830
- <svg
1831
- width="10"
1832
- height="10"
1833
- viewBox="0 0 10 10"
1834
- fill="none"
1835
- >
1836
- <path
1837
- d="M2 4L5 7L8 4"
1838
- stroke="currentColor"
1839
- stroke-width="1.5"
1840
- stroke-linecap="round"
1841
- stroke-linejoin="round"
1842
- />
1843
- </svg>
1844
- </button>
1845
- </div>
1846
- </div>
1847
-
1848
- <span class="date-picker__time-separator">:</span>
1849
-
1850
- <div class="date-picker__time-input-group">
1851
- <input
1852
- type="number"
1853
- class="date-picker__time-input"
1854
- .value=${startDisplay.second.toString().padStart(2, "0")}
1855
- @input=${(e3) => this.handleTimeInput(e3, "second", true)}
1856
- @blur=${(e3) => {
1857
- const input = e3.target;
1858
- const d = this.getDisplayTimeComponents(
1859
- this.startHour,
1860
- this.startMinute,
1861
- this.startSecond,
1862
- this.selectedStart
1863
- );
1864
- input.value = d.second.toString().padStart(2, "0");
1865
- }}
1866
- min="0"
1867
- max="59"
1868
- />
1869
- <div class="date-picker__time-spinners">
1870
- <button
1871
- type="button"
1872
- class="date-picker__time-spinner"
1873
- @click=${() => this.changeTime("second", 1, true)}
1874
- >
1875
- <svg
1876
- width="10"
1877
- height="10"
1878
- viewBox="0 0 10 10"
1879
- fill="none"
1880
- >
1881
- <path
1882
- d="M2 6L5 3L8 6"
1883
- stroke="currentColor"
1884
- stroke-width="1.5"
1885
- stroke-linecap="round"
1886
- stroke-linejoin="round"
1887
- />
1888
- </svg>
1889
- </button>
1890
- <button
1891
- type="button"
1892
- class="date-picker__time-spinner"
1893
- @click=${() => this.changeTime("second", -1, true)}
1894
- >
1895
- <svg
1896
- width="10"
1897
- height="10"
1898
- viewBox="0 0 10 10"
1899
- fill="none"
1900
- >
1901
- <path
1902
- d="M2 4L5 7L8 4"
1903
- stroke="currentColor"
1904
- stroke-width="1.5"
1905
- stroke-linecap="round"
1906
- stroke-linejoin="round"
1907
- />
1908
- </svg>
1909
- </button>
1910
- </div>
1911
- </div>
1912
-
1913
- ${this.twelveHour ? b`
1914
- <button
1915
- type="button"
1916
- class="date-picker__time-period"
1917
- @click=${() => this.togglePeriod(true)}
1918
- >
1919
- ${startD12.period}
1920
- </button>
1921
- ` : ""}
1922
- </div>
1923
- </div>
1924
-
1925
- ${this.range ? b`
1926
- <span class="date-picker__separator">–</span>
1927
-
1928
- <div class="date-picker__time-section">
1929
- <div class="date-picker__time-inputs">
1930
- <div class="date-picker__time-input-group">
1931
- <input
1932
- type="number"
1933
- class="date-picker__time-input"
1934
- .value=${(endD12 ? endD12.hour : endDisplay.hour).toString().padStart(2, "0")}
1935
- @input=${(e3) => this.handleTimeInput(e3, "hour", false)}
1936
- @blur=${(e3) => {
1937
- const input = e3.target;
1938
- const d = this.getDisplayTimeComponents(
1939
- this.endHour,
1940
- this.endMinute,
1941
- this.endSecond,
1942
- this.selectedEnd
1943
- );
1944
- const d12 = this.twelveHour ? this.to12Hour(d.hour) : null;
1945
- input.value = (d12 ? d12.hour : d.hour).toString().padStart(2, "0");
1946
- }}
1947
- min=${hourMin}
1948
- max=${hourMax}
1949
- />
1950
- <div class="date-picker__time-spinners">
1951
- <button
1952
- type="button"
1953
- class="date-picker__time-spinner"
1954
- @click=${() => this.changeTime("hour", 1, false)}
1955
- >
1956
- <svg
1957
- width="10"
1958
- height="10"
1959
- viewBox="0 0 10 10"
1960
- fill="none"
1961
- >
1962
- <path
1963
- d="M2 6L5 3L8 6"
1964
- stroke="currentColor"
1965
- stroke-width="1.5"
1966
- stroke-linecap="round"
1967
- stroke-linejoin="round"
1968
- />
1969
- </svg>
1970
- </button>
1971
- <button
1972
- type="button"
1973
- class="date-picker__time-spinner"
1974
- @click=${() => this.changeTime("hour", -1, false)}
1975
- >
1976
- <svg
1977
- width="10"
1978
- height="10"
1979
- viewBox="0 0 10 10"
1980
- fill="none"
1981
- >
1982
- <path
1983
- d="M2 4L5 7L8 4"
1984
- stroke="currentColor"
1985
- stroke-width="1.5"
1986
- stroke-linecap="round"
1987
- stroke-linejoin="round"
1988
- />
1989
- </svg>
1990
- </button>
1991
- </div>
1992
- </div>
1993
-
1994
- <span class="date-picker__time-separator">:</span>
1995
-
1996
- <div class="date-picker__time-input-group">
1997
- <input
1998
- type="number"
1999
- class="date-picker__time-input"
2000
- .value=${endDisplay.minute.toString().padStart(2, "0")}
2001
- @input=${(e3) => this.handleTimeInput(
2002
- e3,
2003
- "minute",
2004
- false
2005
- )}
2006
- @blur=${(e3) => {
2007
- const input = e3.target;
2008
- const d = this.getDisplayTimeComponents(
2009
- this.endHour,
2010
- this.endMinute,
2011
- this.endSecond,
2012
- this.selectedEnd
2013
- );
2014
- input.value = d.minute.toString().padStart(2, "0");
2015
- }}
2016
- min="0"
2017
- max="59"
2018
- />
2019
- <div class="date-picker__time-spinners">
2020
- <button
2021
- type="button"
2022
- class="date-picker__time-spinner"
2023
- @click=${() => this.changeTime("minute", 1, false)}
2024
- >
2025
- <svg
2026
- width="10"
2027
- height="10"
2028
- viewBox="0 0 10 10"
2029
- fill="none"
2030
- >
2031
- <path
2032
- d="M2 6L5 3L8 6"
2033
- stroke="currentColor"
2034
- stroke-width="1.5"
2035
- stroke-linecap="round"
2036
- stroke-linejoin="round"
2037
- />
2038
- </svg>
2039
- </button>
2040
- <button
2041
- type="button"
2042
- class="date-picker__time-spinner"
2043
- @click=${() => this.changeTime(
2044
- "minute",
2045
- -1,
2046
- false
2047
- )}
2048
- >
2049
- <svg
2050
- width="10"
2051
- height="10"
2052
- viewBox="0 0 10 10"
2053
- fill="none"
2054
- >
2055
- <path
2056
- d="M2 4L5 7L8 4"
2057
- stroke="currentColor"
2058
- stroke-width="1.5"
2059
- stroke-linecap="round"
2060
- stroke-linejoin="round"
2061
- />
2062
- </svg>
2063
- </button>
2064
- </div>
2065
- </div>
2066
-
2067
- <span class="date-picker__time-separator">:</span>
2068
-
2069
- <div class="date-picker__time-input-group">
2070
- <input
2071
- type="number"
2072
- class="date-picker__time-input"
2073
- .value=${endDisplay.second.toString().padStart(2, "0")}
2074
- @input=${(e3) => this.handleTimeInput(
2075
- e3,
2076
- "second",
2077
- false
2078
- )}
2079
- @blur=${(e3) => {
2080
- const input = e3.target;
2081
- const d = this.getDisplayTimeComponents(
2082
- this.endHour,
2083
- this.endMinute,
2084
- this.endSecond,
2085
- this.selectedEnd
2086
- );
2087
- input.value = d.second.toString().padStart(2, "0");
2088
- }}
2089
- min="0"
2090
- max="59"
2091
- />
2092
- <div class="date-picker__time-spinners">
2093
- <button
2094
- type="button"
2095
- class="date-picker__time-spinner"
2096
- @click=${() => this.changeTime("second", 1, false)}
2097
- >
2098
- <svg
2099
- width="10"
2100
- height="10"
2101
- viewBox="0 0 10 10"
2102
- fill="none"
2103
- >
2104
- <path
2105
- d="M2 6L5 3L8 6"
2106
- stroke="currentColor"
2107
- stroke-width="1.5"
2108
- stroke-linecap="round"
2109
- stroke-linejoin="round"
2110
- />
2111
- </svg>
2112
- </button>
2113
- <button
2114
- type="button"
2115
- class="date-picker__time-spinner"
2116
- @click=${() => this.changeTime(
2117
- "second",
2118
- -1,
2119
- false
2120
- )}
2121
- >
2122
- <svg
2123
- width="10"
2124
- height="10"
2125
- viewBox="0 0 10 10"
2126
- fill="none"
2127
- >
2128
- <path
2129
- d="M2 4L5 7L8 4"
2130
- stroke="currentColor"
2131
- stroke-width="1.5"
2132
- stroke-linecap="round"
2133
- stroke-linejoin="round"
2134
- />
2135
- </svg>
2136
- </button>
2137
- </div>
2138
- </div>
2139
- </div>
2140
-
2141
- ${this.twelveHour ? b`
2142
- <button
2143
- type="button"
2144
- class="date-picker__time-period"
2145
- @click=${() => this.togglePeriod(false)}
2146
- >
2147
- ${endD12.period}
2148
- </button>
2149
- ` : ""}
2150
- </div>
2151
- ` : ""}
2152
- </div>
2153
- `;
2154
- }
2155
- renderCalendarIcon() {
2156
- return b`
2157
- <svg
2158
- slot="suffix"
2159
- class="date-picker__icon"
2160
- width="20"
2161
- height="20"
2162
- viewBox="0 0 24 24"
2163
- fill="none"
2164
- stroke="currentColor"
2165
- stroke-width="2"
2166
- >
2167
- <rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect>
2168
- <line x1="16" y1="2" x2="16" y2="6"></line>
2169
- <line x1="8" y1="2" x2="8" y2="6"></line>
2170
- <line x1="3" y1="10" x2="21" y2="10"></line>
2171
- </svg>
2172
- `;
2173
- }
2174
- renderCalendarContent() {
2175
- return b`
2176
- <div class="date-picker__dropdown" part="calendar">
2177
- ${this.showClose ? b`
2178
- <div class="dropdown-header">
2179
- <button
2180
- class="date-picker__close-btn"
2181
- @click=${(e3) => {
2182
- e3.stopPropagation();
2183
- this.close();
2184
- }}
2185
- aria-label="Close"
2186
- >
2187
- ✕
2188
- </button>
2189
- </div>
2190
- ` : A}
2191
- <div class="date-picker__content">
2192
- ${this.showPresets && this.filteredPresets.length > 0 ? b`
2193
- <div class="date-picker__sidebar" part="sidebar">
2194
- <slot name="sidebar-header"></slot>
2195
-
2196
- <div class="presets">
2197
- ${this.filteredPresets.map(
2198
- (preset) => b`
2199
- <button
2200
- type="button"
2201
- class="date-picker__preset"
2202
- @click=${() => this.selectPreset(preset)}
2203
- >
2204
- ${preset.label}
2205
- </button>
2206
- `
2207
- )}
2208
- </div>
2209
-
2210
- <slot name="sidebar-footer">
2211
- <terra-button
2212
- outline
2213
- variant="default"
2214
- size="small"
2215
- @click=${() => this.clear()}
2216
- >
2217
- ${this.clearAllLabel}
2218
- </terra-button>
2219
- </slot>
2220
- </div>
2221
- ` : ""}
2222
-
2223
- <div class="date-picker__calendars">
2224
- ${this.renderCalendar(this.leftMonth, true)}
2225
- ${this.range ? this.renderCalendar(this.rightMonth, false) : ""}
2226
- </div>
2227
- </div>
2228
-
2229
- ${this.enableTime ? this.renderTimePicker() : ""}
2230
- </div>
2231
- `;
2232
- }
2233
- render() {
2234
- const showSplitInputs = this.range && this.splitInputs;
2235
- if (this.inline) {
2236
- return b`
2237
- <div
2238
- class="date-picker date-picker--inline ${showSplitInputs ? "date-picker--split-inputs" : ""}"
2239
- @click=${(e3) => e3.stopPropagation()}
2240
- >
2241
- ${showSplitInputs ? b`
2242
- <div class="date-picker__inputs">
2243
- <terra-input
2244
- .label=${this.startLabel || (this.label ? `${this.label} (Start)` : "Start Date")}
2245
- .hideLabel=${this.hideLabel}
2246
- .helpText=${this.startHelpText || this.helpText}
2247
- .value=${this.getStartDateDisplayValue()}
2248
- @terra-blur=${this.handleStartInputBlur}
2249
- @keydown=${this.handleKeydown}
2250
- placeholder=${this.startPlaceholder}
2251
- name="start-date"
2252
- >
2253
- ${this.renderCalendarIcon()}
2254
- </terra-input>
2255
- <terra-input
2256
- .label=${this.endLabel || (this.label ? `${this.label} (End)` : "End Date")}
2257
- .hideLabel=${this.hideLabel}
2258
- .helpText=${this.endHelpText || this.helpText}
2259
- .value=${this.getEndDateDisplayValue()}
2260
- @terra-blur=${this.handleEndInputBlur}
2261
- @keydown=${this.handleKeydown}
2262
- placeholder=${this.endPlaceholder}
2263
- name="end-date"
2264
- >
2265
- ${this.renderCalendarIcon()}
2266
- </terra-input>
2267
- </div>
2268
- ` : b`
2269
- <terra-input
2270
- .label=${this.label}
2271
- .hideLabel=${this.hideLabel}
2272
- .helpText=${this.helpText}
2273
- .value=${this.getDisplayValue()}
2274
- placeholder=${this.placeholder}
2275
- @terra-blur=${this.handleInputBlur}
2276
- @keydown=${this.handleKeydown}
2277
- name="date"
2278
- >
2279
- ${this.renderCalendarIcon()}
2280
- </terra-input>
2281
- `}
2282
-
2283
- <slot name="additional-text"></slot>
2284
-
2285
- <div class="date-picker__dropdown-wrapper">
2286
- <div
2287
- class="date-picker__dropdown date-picker__dropdown--inline"
2288
- part="calendar"
2289
- >
2290
- <div class="date-picker__content">
2291
- ${this.showPresets && this.filteredPresets.length > 0 ? b`
2292
- <div
2293
- class="date-picker__sidebar"
2294
- part="sidebar"
2295
- >
2296
- <slot name="sidebar-header"></slot>
2297
-
2298
- <div class="presets">
2299
- ${this.filteredPresets.map(
2300
- (preset) => b`
2301
- <button
2302
- type="button"
2303
- class="date-picker__preset"
2304
- @click=${() => this.selectPreset(
2305
- preset
2306
- )}
2307
- >
2308
- ${preset.label}
2309
- </button>
2310
- `
2311
- )}
2312
- </div>
2313
-
2314
- <slot name="sidebar-footer">
2315
- <terra-button
2316
- outline
2317
- variant="default"
2318
- size="small"
2319
- @click=${() => this.clear()}
2320
- >
2321
- ${this.clearAllLabel}
2322
- </terra-button>
2323
- </slot>
2324
- </div>
2325
- ` : ""}
2326
-
2327
- <div class="date-picker__calendars">
2328
- ${this.renderCalendar(this.leftMonth, true)}
2329
- ${this.range ? this.renderCalendar(
2330
- this.rightMonth,
2331
- false
2332
- ) : ""}
2333
- </div>
2334
- </div>
2335
-
2336
- ${this.enableTime ? this.renderTimePicker() : ""}
2337
- </div>
2338
- </div>
2339
- </div>
2340
- `;
2341
- }
2342
- return b`
2343
- <div
2344
- class="date-picker ${showSplitInputs ? "date-picker--split-inputs" : ""}"
2345
- @click=${(e3) => e3.stopPropagation()}
2346
- >
2347
- ${showSplitInputs ? b`
2348
- <div class="date-picker__inputs">
2349
- <terra-dropdown
2350
- ${n2(this.dropdownRef)}
2351
- placement="bottom-start"
2352
- distance="4"
2353
- @terra-show=${this.handleDropdownShow}
2354
- @terra-hide=${this.handleDropdownHide}
2355
- hoist
2356
- >
2357
- <terra-input
2358
- slot="trigger"
2359
- .label=${this.startLabel || (this.label ? `${this.label} (Start)` : "Start Date")}
2360
- .hideLabel=${this.hideLabel}
2361
- .helpText=${this.startHelpText || this.helpText}
2362
- .value=${this.getStartDateDisplayValue()}
2363
- placeholder=${this.startPlaceholder}
2364
- @terra-blur=${this.handleStartInputBlur}
2365
- @keydown=${this.handleKeydown}
2366
- name="start-date"
2367
- >
2368
- ${this.renderCalendarIcon()}
2369
- </terra-input>
2370
- ${this.renderCalendarContent()}
2371
- </terra-dropdown>
2372
- <terra-dropdown
2373
- placement="bottom-start"
2374
- distance="4"
2375
- @terra-show=${this.handleDropdownShow}
2376
- @terra-hide=${this.handleDropdownHide}
2377
- hoist
2378
- >
2379
- <terra-input
2380
- slot="trigger"
2381
- .label=${this.endLabel || (this.label ? `${this.label} (End)` : "End Date")}
2382
- .hideLabel=${this.hideLabel}
2383
- .helpText=${this.endHelpText || this.helpText}
2384
- .value=${this.getEndDateDisplayValue()}
2385
- placeholder=${this.endPlaceholder}
2386
- @terra-blur=${this.handleEndInputBlur}
2387
- @keydown=${this.handleKeydown}
2388
- name="end-date"
2389
- >
2390
- ${this.renderCalendarIcon()}
2391
- </terra-input>
2392
- ${this.renderCalendarContent()}
2393
- </terra-dropdown>
2394
- </div>
2395
- ` : b`
2396
- <terra-dropdown
2397
- ${n2(this.dropdownRef)}
2398
- placement="bottom-start"
2399
- distance="4"
2400
- @terra-show=${this.handleDropdownShow}
2401
- @terra-hide=${this.handleDropdownHide}
2402
- hoist
2403
- >
2404
- <terra-input
2405
- slot="trigger"
2406
- .label=${this.label}
2407
- .hideLabel=${this.hideLabel}
2408
- .helpText=${this.helpText}
2409
- .value=${this.getDisplayValue()}
2410
- placeholder=${this.placeholder}
2411
- @terra-blur=${this.handleInputBlur}
2412
- @keydown=${this.handleKeydown}
2413
- name="date"
2414
- >
2415
- ${this.renderCalendarIcon()}
2416
- </terra-input>
2417
- ${this.renderCalendarContent()}
2418
- </terra-dropdown>
2419
- `}
2420
- </div>
2421
- `;
2422
- }
2423
- };
2424
- TerraDatePicker.styles = [component_styles_default, date_picker_styles_default];
2425
- TerraDatePicker.dependencies = {
2426
- "terra-button": TerraButton,
2427
- "terra-input": TerraInput,
2428
- "terra-dropdown": TerraDropdown
2429
- };
2430
- __decorateClass([
2431
- n()
2432
- ], TerraDatePicker.prototype, "id", 2);
2433
- __decorateClass([
2434
- n({ type: Boolean, reflect: true })
2435
- ], TerraDatePicker.prototype, "range", 2);
2436
- __decorateClass([
2437
- n({ attribute: "min-date", reflect: true })
2438
- ], TerraDatePicker.prototype, "minDate", 2);
2439
- __decorateClass([
2440
- n({ attribute: "max-date", reflect: true })
2441
- ], TerraDatePicker.prototype, "maxDate", 2);
2442
- __decorateClass([
2443
- n({ attribute: "start-date", reflect: true })
2444
- ], TerraDatePicker.prototype, "startDate", 2);
2445
- __decorateClass([
2446
- n({ attribute: "end-date", reflect: true })
2447
- ], TerraDatePicker.prototype, "endDate", 2);
2448
- __decorateClass([
2449
- n({ attribute: "hide-label", type: Boolean })
2450
- ], TerraDatePicker.prototype, "hideLabel", 2);
2451
- __decorateClass([
2452
- n()
2453
- ], TerraDatePicker.prototype, "label", 2);
2454
- __decorateClass([
2455
- n({ attribute: "help-text" })
2456
- ], TerraDatePicker.prototype, "helpText", 2);
2457
- __decorateClass([
2458
- n({ attribute: "start-help-text" })
2459
- ], TerraDatePicker.prototype, "startHelpText", 2);
2460
- __decorateClass([
2461
- n({ attribute: "end-help-text" })
2462
- ], TerraDatePicker.prototype, "endHelpText", 2);
2463
- __decorateClass([
2464
- n({ attribute: "start-label" })
2465
- ], TerraDatePicker.prototype, "startLabel", 2);
2466
- __decorateClass([
2467
- n({ attribute: "end-label" })
2468
- ], TerraDatePicker.prototype, "endLabel", 2);
2469
- __decorateClass([
2470
- n({ type: Boolean, attribute: "show-presets" })
2471
- ], TerraDatePicker.prototype, "showPresets", 2);
2472
- __decorateClass([
2473
- n({ type: Array })
2474
- ], TerraDatePicker.prototype, "presets", 2);
2475
- __decorateClass([
2476
- n({ type: Boolean, attribute: "enable-time" })
2477
- ], TerraDatePicker.prototype, "enableTime", 2);
2478
- __decorateClass([
2479
- n({ attribute: "display-format" })
2480
- ], TerraDatePicker.prototype, "displayFormat", 2);
2481
- __decorateClass([
2482
- n({ type: Boolean })
2483
- ], TerraDatePicker.prototype, "inline", 2);
2484
- __decorateClass([
2485
- n({ type: Boolean, attribute: "split-inputs" })
2486
- ], TerraDatePicker.prototype, "splitInputs", 2);
2487
- __decorateClass([
2488
- n()
2489
- ], TerraDatePicker.prototype, "placeholder", 2);
2490
- __decorateClass([
2491
- n()
2492
- ], TerraDatePicker.prototype, "startPlaceholder", 2);
2493
- __decorateClass([
2494
- n()
2495
- ], TerraDatePicker.prototype, "endPlaceholder", 2);
2496
- __decorateClass([
2497
- n({ reflect: true })
2498
- ], TerraDatePicker.prototype, "role", 2);
2499
- __decorateClass([
2500
- n({ reflect: true, attribute: "aria-label" })
2501
- ], TerraDatePicker.prototype, "ariaLabel", 2);
2502
- __decorateClass([
2503
- n({ type: Boolean })
2504
- ], TerraDatePicker.prototype, "hideClearAll", 2);
2505
- __decorateClass([
2506
- n()
2507
- ], TerraDatePicker.prototype, "clearAllLabel", 2);
2508
- __decorateClass([
2509
- n({ type: Boolean, attribute: "use-end-of-day" })
2510
- ], TerraDatePicker.prototype, "useEndOfDay", 2);
2511
- __decorateClass([
2512
- n({ attribute: "closable", type: Boolean })
2513
- ], TerraDatePicker.prototype, "showClose", 2);
2514
- __decorateClass([
2515
- n()
2516
- ], TerraDatePicker.prototype, "timezone", 2);
2517
- __decorateClass([
2518
- n({ type: Boolean, attribute: "twelve-hour" })
2519
- ], TerraDatePicker.prototype, "twelveHour", 2);
2520
- __decorateClass([
2521
- r()
2522
- ], TerraDatePicker.prototype, "isOpen", 2);
2523
- __decorateClass([
2524
- r()
2525
- ], TerraDatePicker.prototype, "leftMonth", 2);
2526
- __decorateClass([
2527
- r()
2528
- ], TerraDatePicker.prototype, "rightMonth", 2);
2529
- __decorateClass([
2530
- r()
2531
- ], TerraDatePicker.prototype, "selectedStart", 2);
2532
- __decorateClass([
2533
- r()
2534
- ], TerraDatePicker.prototype, "selectedEnd", 2);
2535
- __decorateClass([
2536
- r()
2537
- ], TerraDatePicker.prototype, "hoverDate", 2);
2538
- __decorateClass([
2539
- r()
2540
- ], TerraDatePicker.prototype, "isSelectingRange", 2);
2541
- __decorateClass([
2542
- r()
2543
- ], TerraDatePicker.prototype, "showLeftMonthDropdown", 2);
2544
- __decorateClass([
2545
- r()
2546
- ], TerraDatePicker.prototype, "showRightMonthDropdown", 2);
2547
- __decorateClass([
2548
- r()
2549
- ], TerraDatePicker.prototype, "startHour", 2);
2550
- __decorateClass([
2551
- r()
2552
- ], TerraDatePicker.prototype, "startMinute", 2);
2553
- __decorateClass([
2554
- r()
2555
- ], TerraDatePicker.prototype, "startSecond", 2);
2556
- __decorateClass([
2557
- r()
2558
- ], TerraDatePicker.prototype, "endHour", 2);
2559
- __decorateClass([
2560
- r()
2561
- ], TerraDatePicker.prototype, "endMinute", 2);
2562
- __decorateClass([
2563
- r()
2564
- ], TerraDatePicker.prototype, "endSecond", 2);
2565
- __decorateClass([
2566
- r()
2567
- ], TerraDatePicker.prototype, "selectedDates", 2);
2568
- __decorateClass([
2569
- e(".date-picker__dropdown")
2570
- ], TerraDatePicker.prototype, "dropdown", 2);
2571
-
2572
- export {
2573
- TerraDatePicker
2574
- };