@nasa-terra/components 0.0.167 → 0.0.168

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 (1286) hide show
  1. package/cdn/chunks/chunk.23Y7QMN5.js +753 -0
  2. package/cdn/chunks/chunk.252UGE6N.js +83 -0
  3. package/cdn/chunks/chunk.2EOILFQB.js +29 -0
  4. package/cdn/chunks/chunk.2EZ2LX7J.js +36 -0
  5. package/cdn/chunks/chunk.2JDVFGVM.js +29 -0
  6. package/cdn/chunks/chunk.2L3G2ZYT.js +32 -0
  7. package/cdn/chunks/chunk.2NM4U2LU.js +187 -0
  8. package/cdn/chunks/chunk.32QIZ3CY.js +19 -0
  9. package/cdn/chunks/chunk.37MXREIV.js +19 -0
  10. package/cdn/chunks/chunk.3CSJL7J2.js +302 -0
  11. package/cdn/chunks/chunk.3DEAXFWU.js +36 -0
  12. package/cdn/chunks/chunk.3DRAPGCR.js +19 -0
  13. package/cdn/chunks/chunk.3EGYC4UH.js +29 -0
  14. package/cdn/chunks/chunk.3ELOOPZC.js +538 -0
  15. package/cdn/chunks/chunk.3FFHAUQ7.js +19 -0
  16. package/cdn/chunks/chunk.3PZB6AVW.js +283 -0
  17. package/cdn/chunks/chunk.454OK36W.js +19 -0
  18. package/cdn/chunks/chunk.45XFWGEL.js +110 -0
  19. package/cdn/chunks/chunk.4IOFYK2F.js +288 -0
  20. package/cdn/chunks/chunk.4MQ7H7CX.js +19 -0
  21. package/cdn/chunks/chunk.4RSZ2OBQ.js +524 -0
  22. package/cdn/chunks/chunk.4SKPUBEA.js +19 -0
  23. package/cdn/chunks/chunk.55FIZU5U.js +35 -0
  24. package/cdn/chunks/chunk.5AQICZZL.js +35 -0
  25. package/cdn/chunks/chunk.5OE7GWMD.js +599 -0
  26. package/cdn/chunks/chunk.5XTCLNLO.js +610 -0
  27. package/cdn/chunks/chunk.62X7SZ2F.js +123 -0
  28. package/cdn/chunks/chunk.63MNRJW7.js +19 -0
  29. package/cdn/chunks/chunk.6CURGMM6.js +510 -0
  30. package/cdn/chunks/chunk.6FNKR3O7.js +29 -0
  31. package/cdn/chunks/chunk.6GTGMOY6.js +19 -0
  32. package/cdn/chunks/chunk.6HCE5G2V.js +36 -0
  33. package/cdn/chunks/chunk.6NHCD6UN.js +19 -0
  34. package/cdn/chunks/chunk.6PDKWTOW.js +279 -0
  35. package/cdn/chunks/chunk.6TIV4MKY.js +55346 -0
  36. package/cdn/chunks/chunk.6VM33JRP.js +32 -0
  37. package/cdn/chunks/chunk.74RZ4VRO.js +33 -0
  38. package/cdn/chunks/chunk.7L4RT6QQ.js +19 -0
  39. package/cdn/chunks/chunk.7VAWPCVB.js +278 -0
  40. package/cdn/chunks/chunk.A32THQXW.js +19 -0
  41. package/cdn/chunks/chunk.AEHTLUJA.js +99 -0
  42. package/cdn/chunks/chunk.AEZFOM27.js +19 -0
  43. package/cdn/chunks/chunk.AH6W6EGS.js +77 -0
  44. package/cdn/chunks/chunk.AY4NF2HB.js +19 -0
  45. package/cdn/chunks/chunk.B4NPSLHT.js +259 -0
  46. package/cdn/chunks/chunk.B4XACQ5E.js +19 -0
  47. package/cdn/chunks/chunk.B5VDVEYN.js +19 -0
  48. package/cdn/chunks/chunk.BDFSCDHG.js +32 -0
  49. package/cdn/chunks/chunk.BFNY5GH4.js +29 -0
  50. package/cdn/chunks/chunk.BIWAQAE5.js +33 -0
  51. package/cdn/chunks/chunk.BP2XEH4Z.js +71 -0
  52. package/cdn/chunks/chunk.BSITYHX6.js +29 -0
  53. package/cdn/chunks/chunk.CCW2WFCG.js +19 -0
  54. package/cdn/chunks/chunk.CEE5OQDS.js +62 -0
  55. package/cdn/chunks/chunk.CHDWVVLW.js +19 -0
  56. package/cdn/chunks/chunk.CI6LWSO7.js +29 -0
  57. package/cdn/chunks/chunk.CNEFZTCX.js +1224 -0
  58. package/cdn/chunks/chunk.CNLQ4XUE.js +47 -0
  59. package/cdn/chunks/chunk.CTANM47O.js +19 -0
  60. package/cdn/chunks/chunk.CXQOVGV4.js +372 -0
  61. package/cdn/chunks/chunk.DAXSZ2IJ.js +93 -0
  62. package/cdn/chunks/chunk.DNEDXGD3.js +188 -0
  63. package/cdn/chunks/chunk.DRCDC73I.js +477 -0
  64. package/cdn/chunks/chunk.DUXFSD4C.js +49 -0
  65. package/cdn/chunks/chunk.DXIJ7CG3.js +68 -0
  66. package/cdn/chunks/chunk.EA37D2QP.js +29 -0
  67. package/cdn/chunks/chunk.EAT6PD7V.js +2225 -0
  68. package/cdn/chunks/chunk.ECNBOR2W.js +621 -0
  69. package/cdn/chunks/chunk.EFDI6WO3.js +662 -0
  70. package/cdn/chunks/chunk.ELMFDV2G.js +247 -0
  71. package/cdn/chunks/chunk.EMLWKMPU.js +616 -0
  72. package/cdn/chunks/chunk.ERFCXYF7.js +19 -0
  73. package/cdn/chunks/chunk.ET7XCOPF.js +29 -0
  74. package/cdn/chunks/chunk.EW5HEQP5.js +19 -0
  75. package/cdn/chunks/chunk.EWBLDHXB.js +29 -0
  76. package/cdn/chunks/chunk.F73O5LKK.js +134 -0
  77. package/cdn/chunks/chunk.FAMK6EJN.js +19 -0
  78. package/cdn/chunks/chunk.FJEMKM6L.js +99 -0
  79. package/cdn/chunks/chunk.FJQIFYK2.js +287 -0
  80. package/cdn/chunks/chunk.FLJROCEJ.js +19 -0
  81. package/cdn/chunks/chunk.FMQPLJEY.js +19 -0
  82. package/cdn/chunks/chunk.FMYBYUZO.js +29 -0
  83. package/cdn/chunks/chunk.FWOITR7Y.js +19 -0
  84. package/cdn/chunks/chunk.GDFY67YB.js +151 -0
  85. package/cdn/chunks/chunk.GLN3TMVD.js +731 -0
  86. package/cdn/chunks/chunk.GTP5VR76.js +190 -0
  87. package/cdn/chunks/chunk.GUUSY6A3.js +19 -0
  88. package/cdn/chunks/chunk.GVI2UZCY.js +1048 -0
  89. package/cdn/chunks/chunk.GZMSG46L.js +34 -0
  90. package/cdn/chunks/chunk.H23RSP46.js +29 -0
  91. package/cdn/chunks/chunk.H4NW2JKR.js +276 -0
  92. package/cdn/chunks/chunk.H6OGE6KW.js +19 -0
  93. package/cdn/chunks/chunk.HGDCOEDY.js +373 -0
  94. package/cdn/chunks/chunk.HJLJPXTA.js +19 -0
  95. package/cdn/chunks/chunk.HJOYWWGK.js +19 -0
  96. package/cdn/chunks/chunk.HLRS32JB.js +19 -0
  97. package/cdn/chunks/chunk.HSCW5NVO.js +19 -0
  98. package/cdn/chunks/chunk.I2PSEXWT.js +99 -0
  99. package/cdn/chunks/chunk.IAYL5MLB.js +60 -0
  100. package/cdn/chunks/chunk.IGYZHZJI.js +78 -0
  101. package/cdn/chunks/chunk.IRYCSXE5.js +39 -0
  102. package/cdn/chunks/chunk.ISBKM2OB.js +238 -0
  103. package/cdn/chunks/chunk.IUK7T5HL.js +33868 -0
  104. package/cdn/chunks/chunk.IZOAITBI.js +19 -0
  105. package/cdn/chunks/chunk.JA6I3G4U.js +19 -0
  106. package/cdn/chunks/chunk.JCS7F5UC.js +29 -0
  107. package/cdn/chunks/chunk.JHMYPKEY.js +37 -0
  108. package/cdn/chunks/chunk.K3PNC4X7.js +19 -0
  109. package/cdn/chunks/chunk.K65R5XPV.js +19 -0
  110. package/cdn/chunks/chunk.K6SKQZRX.js +157 -0
  111. package/cdn/chunks/chunk.K7EC2QO6.js +145 -0
  112. package/cdn/chunks/chunk.K7QRFF5V.js +134 -0
  113. package/cdn/chunks/chunk.KAB4FTOC.js +19 -0
  114. package/cdn/chunks/chunk.KDVDB76W.js +155 -0
  115. package/cdn/chunks/chunk.KEDEH6QG.js +230 -0
  116. package/cdn/chunks/chunk.KF3MFMQB.js +234 -0
  117. package/cdn/chunks/chunk.KG66FNGO.js +19 -0
  118. package/cdn/chunks/chunk.KGWHWMEB.js +19 -0
  119. package/cdn/chunks/chunk.KPL3Z2VG.js +19 -0
  120. package/cdn/chunks/chunk.KQS44SVL.js +19 -0
  121. package/cdn/chunks/chunk.KRQJE5S5.js +29 -0
  122. package/cdn/chunks/chunk.KTOMYNZW.js +2313 -0
  123. package/cdn/chunks/chunk.KXQTCZIS.js +1010 -0
  124. package/cdn/chunks/chunk.L4KEM2GN.js +32 -0
  125. package/cdn/chunks/chunk.LBABTGAS.js +146 -0
  126. package/cdn/chunks/chunk.LMVBC5KL.js +239 -0
  127. package/cdn/chunks/chunk.LTRHOGG3.js +435 -0
  128. package/cdn/chunks/chunk.M4BPQG63.js +19 -0
  129. package/cdn/chunks/chunk.M4OIO6T3.js +29 -0
  130. package/cdn/chunks/chunk.MVJCA6VM.js +74 -0
  131. package/cdn/chunks/chunk.MVXUXM2U.js +19 -0
  132. package/cdn/chunks/chunk.N3ZGHEYP.js +29 -0
  133. package/cdn/chunks/chunk.N664SCJY.js +19 -0
  134. package/cdn/chunks/chunk.NPVYF6MU.js +29 -0
  135. package/cdn/chunks/chunk.NU3XX242.js +93 -0
  136. package/cdn/chunks/chunk.NX5ANPIE.js +93 -0
  137. package/cdn/chunks/chunk.OGLWCOZI.js +264 -0
  138. package/cdn/chunks/chunk.OIVFB25S.js +30 -0
  139. package/cdn/chunks/chunk.OWZEOKXJ.js +19 -0
  140. package/cdn/chunks/chunk.OZPBFWKU.js +19 -0
  141. package/cdn/chunks/chunk.PDOV4E5N.js +375 -0
  142. package/cdn/chunks/chunk.PMEODL6X.js +29 -0
  143. package/cdn/chunks/chunk.PR6QIRSZ.js +231 -0
  144. package/cdn/chunks/chunk.PURENJG4.js +34 -0
  145. package/cdn/chunks/chunk.Q6UTO6SN.js +36 -0
  146. package/cdn/chunks/chunk.Q7TRLP7J.js +19 -0
  147. package/cdn/chunks/chunk.QDD544ZD.js +33 -0
  148. package/cdn/chunks/chunk.QPXIPFRL.js +35 -0
  149. package/cdn/chunks/chunk.QZBI4K63.js +19 -0
  150. package/cdn/chunks/chunk.QZGHTLKR.js +19 -0
  151. package/cdn/chunks/chunk.R2LK7SNC.js +56 -0
  152. package/cdn/chunks/chunk.R3YTDGUB.js +19 -0
  153. package/cdn/chunks/chunk.R6QV5QO3.js +158 -0
  154. package/cdn/chunks/chunk.R7TV4NMV.js +132 -0
  155. package/cdn/chunks/chunk.REXNVFCL.js +19 -0
  156. package/cdn/chunks/chunk.REZSSCPA.js +32 -0
  157. package/cdn/chunks/chunk.RFPUOSJ7.js +29 -0
  158. package/cdn/chunks/chunk.RMBF3K4K.js +224 -0
  159. package/cdn/chunks/chunk.RUKCVHGU.js +29 -0
  160. package/cdn/chunks/chunk.RYF6C5TO.js +41 -0
  161. package/cdn/chunks/chunk.S25LVDIJ.js +32 -0
  162. package/cdn/chunks/chunk.S2F2564D.js +77 -0
  163. package/cdn/chunks/chunk.S4M6B4JV.js +32 -0
  164. package/cdn/chunks/chunk.SEQFSNN4.js +33 -0
  165. package/cdn/chunks/chunk.SKN5DDDY.js +86 -0
  166. package/cdn/chunks/chunk.SQHONKOR.js +32 -0
  167. package/cdn/chunks/chunk.SSJIUJKZ.js +29 -0
  168. package/cdn/chunks/chunk.SZMZY44Z.js +189 -0
  169. package/cdn/chunks/chunk.T2RI44PG.js +60 -0
  170. package/cdn/chunks/chunk.TFYBBM76.js +19 -0
  171. package/cdn/chunks/chunk.THXFMXA5.js +35 -0
  172. package/cdn/chunks/chunk.TSLXKTQM.js +493 -0
  173. package/cdn/chunks/chunk.TSLZA2FP.js +79 -0
  174. package/cdn/chunks/chunk.TW3MCJVJ.js +357 -0
  175. package/cdn/chunks/chunk.U5KXLZPV.js +29 -0
  176. package/cdn/chunks/chunk.UNGD4CCD.js +359 -0
  177. package/cdn/chunks/chunk.URQ7BAE3.js +19 -0
  178. package/cdn/chunks/chunk.UTIZIYUN.js +19 -0
  179. package/cdn/chunks/chunk.UWGWX7NW.js +29 -0
  180. package/cdn/chunks/chunk.VDCJEORC.js +29 -0
  181. package/cdn/chunks/chunk.VHMLHAMS.js +29 -0
  182. package/cdn/chunks/chunk.VJ5JPJBT.js +32 -0
  183. package/cdn/chunks/chunk.VOZIXD43.js +1966 -0
  184. package/cdn/chunks/chunk.VUNJL3W6.js +19 -0
  185. package/cdn/chunks/chunk.VVRDVZEI.js +904 -0
  186. package/cdn/chunks/chunk.W2QGGLTM.js +19 -0
  187. package/cdn/chunks/chunk.W7KGVFJQ.js +52 -0
  188. package/cdn/chunks/chunk.WGXAEJ6H.js +37 -0
  189. package/cdn/chunks/chunk.X5F62XDZ.js +29 -0
  190. package/cdn/chunks/chunk.X7QAUBX7.js +29 -0
  191. package/cdn/chunks/chunk.XIIE3UD2.js +19 -0
  192. package/cdn/chunks/chunk.XMKX67TX.js +33 -0
  193. package/cdn/chunks/chunk.XPIKH2P4.js +32 -0
  194. package/cdn/chunks/chunk.XTDXEXUZ.js +29 -0
  195. package/cdn/chunks/chunk.XTWPVKRT.js +19 -0
  196. package/cdn/chunks/chunk.XXFXPR2M.js +19 -0
  197. package/cdn/chunks/chunk.XXYJ7BMK.js +32 -0
  198. package/cdn/chunks/chunk.Y5NSJ47F.js +293 -0
  199. package/cdn/chunks/chunk.YBB7K7LI.js +113 -0
  200. package/cdn/chunks/chunk.YCCLUWEU.js +104 -0
  201. package/cdn/chunks/chunk.YFMGE2QU.js +19 -0
  202. package/cdn/chunks/chunk.YN54GYMH.js +136 -0
  203. package/cdn/chunks/chunk.YPIC6IGT.js +32 -0
  204. package/cdn/chunks/chunk.YYAKN7E2.js +19 -0
  205. package/cdn/chunks/chunk.Z4HRJAKR.js +33 -0
  206. package/cdn/chunks/chunk.ZJTIOQU3.js +19 -0
  207. package/cdn/chunks/chunk.ZQIDUKGV.js +32 -0
  208. package/cdn/chunks/chunk.ZVJGSTHG.js +29 -0
  209. package/cdn/chunks/chunk.ZWFKNNQM.js +29 -0
  210. package/cdn/chunks/chunk.ZXILWKOH.js +165 -0
  211. package/cdn/chunks/chunk.ZY7M4I26.js +32 -0
  212. package/cdn/components/accordion/accordion.component.js +5 -5
  213. package/cdn/components/accordion/accordion.js +6 -6
  214. package/cdn/components/alert/alert.component.js +3 -3
  215. package/cdn/components/alert/alert.js +4 -4
  216. package/cdn/components/avatar/avatar.component.js +7 -7
  217. package/cdn/components/avatar/avatar.js +8 -8
  218. package/cdn/components/badge/badge.component.js +2 -2
  219. package/cdn/components/badge/badge.js +3 -3
  220. package/cdn/components/breadcrumb/breadcrumb.component.js +2 -2
  221. package/cdn/components/breadcrumb/breadcrumb.js +3 -3
  222. package/cdn/components/breadcrumbs/breadcrumbs.component.js +2 -2
  223. package/cdn/components/breadcrumbs/breadcrumbs.js +3 -3
  224. package/cdn/components/browse-variables/browse-variables.component.js +18 -18
  225. package/cdn/components/browse-variables/browse-variables.controller.js +3 -3
  226. package/cdn/components/browse-variables/browse-variables.js +19 -19
  227. package/cdn/components/button/button.component.js +7 -7
  228. package/cdn/components/button/button.js +8 -8
  229. package/cdn/components/button-group/button-group.component.js +2 -2
  230. package/cdn/components/button-group/button-group.js +3 -3
  231. package/cdn/components/caption/caption.component.js +2 -2
  232. package/cdn/components/caption/caption.js +3 -3
  233. package/cdn/components/card/card.component.js +2 -2
  234. package/cdn/components/card/card.js +3 -3
  235. package/cdn/components/checkbox/checkbox.component.js +8 -8
  236. package/cdn/components/checkbox/checkbox.js +9 -9
  237. package/cdn/components/chip/chip.component.js +2 -2
  238. package/cdn/components/chip/chip.js +3 -3
  239. package/cdn/components/combobox/combobox.component.d.ts +1 -4
  240. package/cdn/components/combobox/combobox.component.js +6 -6
  241. package/cdn/components/combobox/combobox.js +7 -7
  242. package/cdn/components/data-access/data-access.component.d.ts +3 -2
  243. package/cdn/components/data-access/data-access.component.js +28 -30
  244. package/cdn/components/data-access/data-access.controller.js +3 -3
  245. package/cdn/components/data-access/data-access.js +29 -31
  246. package/cdn/components/data-access/data-access.styles.js +1 -1
  247. package/cdn/components/data-grid/data-grid.component.js +5 -5
  248. package/cdn/components/data-grid/data-grid.js +6 -6
  249. package/cdn/components/data-rods/data-rods.component.js +39 -39
  250. package/cdn/components/data-rods/data-rods.js +40 -40
  251. package/cdn/components/data-subsetter/data-subsetter.component.d.ts +1 -2
  252. package/cdn/components/data-subsetter/data-subsetter.component.js +45 -45
  253. package/cdn/components/data-subsetter/data-subsetter.controller.d.ts +1 -3
  254. package/cdn/components/data-subsetter/data-subsetter.controller.js +3 -3
  255. package/cdn/components/data-subsetter/data-subsetter.js +46 -46
  256. package/cdn/components/data-subsetter/data-subsetter.styles.js +1 -1
  257. package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +46 -46
  258. package/cdn/components/data-subsetter-history/data-subsetter-history.js +47 -47
  259. package/cdn/components/date-picker/date-picker.component.d.ts +0 -4
  260. package/cdn/components/date-picker/date-picker.component.js +14 -14
  261. package/cdn/components/date-picker/date-picker.js +15 -15
  262. package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
  263. package/cdn/components/date-range-slider/date-range-slider.js +3 -3
  264. package/cdn/components/dialog/dialog.component.js +10 -10
  265. package/cdn/components/dialog/dialog.js +11 -11
  266. package/cdn/components/dialog/dialog.styles.js +1 -1
  267. package/cdn/components/divider/divider.component.js +2 -2
  268. package/cdn/components/divider/divider.js +3 -3
  269. package/cdn/components/dropdown/dropdown.component.js +3 -3
  270. package/cdn/components/dropdown/dropdown.js +4 -4
  271. package/cdn/components/earthdata-login/earthdata-login.component.js +15 -15
  272. package/cdn/components/earthdata-login/earthdata-login.js +16 -16
  273. package/cdn/components/file-upload/file-upload.component.js +2 -2
  274. package/cdn/components/file-upload/file-upload.js +3 -3
  275. package/cdn/components/icon/icon.component.js +3 -3
  276. package/cdn/components/icon/icon.js +4 -4
  277. package/cdn/components/input/input.component.js +8 -8
  278. package/cdn/components/input/input.js +9 -9
  279. package/cdn/components/loader/loader.component.js +2 -2
  280. package/cdn/components/loader/loader.js +3 -3
  281. package/cdn/components/login/login.component.js +12 -12
  282. package/cdn/components/login/login.js +13 -13
  283. package/cdn/components/map/leaflet-utils.d.ts +1 -1
  284. package/cdn/components/map/map.component.js +4 -4
  285. package/cdn/components/map/map.js +5 -5
  286. package/cdn/components/menu/menu.component.js +2 -2
  287. package/cdn/components/menu/menu.js +3 -3
  288. package/cdn/components/menu-item/menu-item.component.js +11 -11
  289. package/cdn/components/menu-item/menu-item.js +12 -12
  290. package/cdn/components/menu-item/submenu-controller.js +3 -3
  291. package/cdn/components/option/option.component.js +6 -6
  292. package/cdn/components/option/option.js +7 -7
  293. package/cdn/components/pagination/pagination.component.js +6 -6
  294. package/cdn/components/pagination/pagination.js +7 -7
  295. package/cdn/components/plot/plot.component.js +2 -2
  296. package/cdn/components/plot/plot.js +3 -3
  297. package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  298. package/cdn/components/plot-toolbar/plot-toolbar.component.d.ts +8 -0
  299. package/cdn/components/plot-toolbar/plot-toolbar.component.js +15 -15
  300. package/cdn/components/plot-toolbar/plot-toolbar.controller.js +3 -3
  301. package/cdn/components/plot-toolbar/plot-toolbar.js +16 -16
  302. package/cdn/components/plot-toolbar/plot-toolbar.styles.js +1 -1
  303. package/cdn/components/popup/popup.component.js +2 -2
  304. package/cdn/components/popup/popup.js +3 -3
  305. package/cdn/components/progress-bar/progress-bar.component.js +2 -2
  306. package/cdn/components/progress-bar/progress-bar.js +3 -3
  307. package/cdn/components/radio/radio.component.js +4 -4
  308. package/cdn/components/radio/radio.js +5 -5
  309. package/cdn/components/radio-group/radio-group.component.js +2 -2
  310. package/cdn/components/radio-group/radio-group.js +3 -3
  311. package/cdn/components/scroll-hint/scroll-hint.component.js +4 -4
  312. package/cdn/components/scroll-hint/scroll-hint.js +5 -5
  313. package/cdn/components/select/select.component.js +10 -10
  314. package/cdn/components/select/select.js +11 -11
  315. package/cdn/components/site-header/site-header.component.js +5 -5
  316. package/cdn/components/site-header/site-header.js +5 -5
  317. package/cdn/components/site-navigation/site-navigation.component.js +2 -2
  318. package/cdn/components/site-navigation/site-navigation.js +2 -2
  319. package/cdn/components/skeleton/skeleton.component.js +2 -2
  320. package/cdn/components/skeleton/skeleton.js +3 -3
  321. package/cdn/components/slider/slider.component.js +2 -2
  322. package/cdn/components/slider/slider.js +3 -3
  323. package/cdn/components/spatial-picker/spatial-picker.component.js +15 -15
  324. package/cdn/components/spatial-picker/spatial-picker.js +16 -16
  325. package/cdn/components/status-indicator/status-indicator.component.js +2 -2
  326. package/cdn/components/status-indicator/status-indicator.js +3 -3
  327. package/cdn/components/stepper/stepper.component.js +2 -2
  328. package/cdn/components/stepper/stepper.js +3 -3
  329. package/cdn/components/stepper-step/stepper-step.component.js +6 -6
  330. package/cdn/components/stepper-step/stepper-step.js +7 -7
  331. package/cdn/components/tab/tab.component.js +6 -6
  332. package/cdn/components/tab/tab.js +7 -7
  333. package/cdn/components/tab-panel/tab-panel.component.js +2 -2
  334. package/cdn/components/tab-panel/tab-panel.js +3 -3
  335. package/cdn/components/tabs/tabs.component.js +6 -6
  336. package/cdn/components/tabs/tabs.js +7 -7
  337. package/cdn/components/tag/tag.component.js +6 -6
  338. package/cdn/components/tag/tag.js +7 -7
  339. package/cdn/components/textarea/textarea.component.js +4 -4
  340. package/cdn/components/textarea/textarea.js +5 -5
  341. package/cdn/components/time-average-map/time-average-map.component.d.ts +4 -0
  342. package/cdn/components/time-average-map/time-average-map.component.js +23 -23
  343. package/cdn/components/time-average-map/time-average-map.js +24 -24
  344. package/cdn/components/time-series/time-series.component.d.ts +4 -0
  345. package/cdn/components/time-series/time-series.component.js +24 -24
  346. package/cdn/components/time-series/time-series.controller.d.ts +2 -0
  347. package/cdn/components/time-series/time-series.controller.js +1 -1
  348. package/cdn/components/time-series/time-series.js +25 -25
  349. package/cdn/components/toast/toast.component.js +4 -4
  350. package/cdn/components/toast/toast.js +5 -5
  351. package/cdn/components/toggle/toggle.component.js +4 -4
  352. package/cdn/components/toggle/toggle.js +5 -5
  353. package/cdn/components/tooltip/tooltip.component.js +3 -3
  354. package/cdn/components/tooltip/tooltip.js +4 -4
  355. package/cdn/components/variable-combobox/lib.js +3 -3
  356. package/cdn/components/variable-combobox/variable-combobox.component.d.ts +1 -4
  357. package/cdn/components/variable-combobox/variable-combobox.component.js +15 -15
  358. package/cdn/components/variable-combobox/variable-combobox.controller.js +4 -4
  359. package/cdn/components/variable-combobox/variable-combobox.js +16 -16
  360. package/cdn/components/variable-keyword-search/variable-keyword-search.component.d.ts +1 -4
  361. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +14 -14
  362. package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +3 -3
  363. package/cdn/components/variable-keyword-search/variable-keyword-search.js +15 -15
  364. package/cdn/custom-elements.json +3761 -3571
  365. package/cdn/internal/animate.d.ts +3 -3
  366. package/cdn/metadata-catalog/cmr-catalog.d.ts +1 -2
  367. package/cdn/metadata-catalog/queries.d.ts +0 -1
  368. package/cdn/metadata-catalog/types.d.ts +0 -13
  369. package/cdn/react/accordion/index.js +6 -6
  370. package/cdn/react/alert/index.js +4 -4
  371. package/cdn/react/avatar/index.js +8 -8
  372. package/cdn/react/badge/index.js +3 -3
  373. package/cdn/react/breadcrumb/index.js +3 -3
  374. package/cdn/react/breadcrumbs/index.js +3 -3
  375. package/cdn/react/browse-variables/index.js +19 -19
  376. package/cdn/react/button/index.js +8 -8
  377. package/cdn/react/button-group/index.js +3 -3
  378. package/cdn/react/caption/index.js +3 -3
  379. package/cdn/react/card/index.js +3 -3
  380. package/cdn/react/checkbox/index.js +9 -9
  381. package/cdn/react/chip/index.js +3 -3
  382. package/cdn/react/combobox/index.js +7 -7
  383. package/cdn/react/data-access/index.js +29 -31
  384. package/cdn/react/data-grid/index.js +6 -6
  385. package/cdn/react/data-rods/index.js +40 -40
  386. package/cdn/react/data-subsetter/index.js +46 -46
  387. package/cdn/react/data-subsetter-history/index.js +47 -47
  388. package/cdn/react/date-picker/index.js +15 -15
  389. package/cdn/react/date-range-slider/index.js +3 -3
  390. package/cdn/react/dialog/index.js +11 -11
  391. package/cdn/react/divider/index.js +3 -3
  392. package/cdn/react/dropdown/index.js +4 -4
  393. package/cdn/react/earthdata-login/index.js +16 -16
  394. package/cdn/react/file-upload/index.js +3 -3
  395. package/cdn/react/icon/index.js +4 -4
  396. package/cdn/react/index.d.ts +12 -12
  397. package/cdn/react/index.js +195 -195
  398. package/cdn/react/input/index.js +9 -9
  399. package/cdn/react/loader/index.js +3 -3
  400. package/cdn/react/login/index.js +13 -13
  401. package/cdn/react/map/index.js +5 -5
  402. package/cdn/react/menu/index.js +3 -3
  403. package/cdn/react/menu-item/index.js +12 -12
  404. package/cdn/react/option/index.js +7 -7
  405. package/cdn/react/pagination/index.js +7 -7
  406. package/cdn/react/plot/index.js +3 -3
  407. package/cdn/react/plot-toolbar/index.js +16 -16
  408. package/cdn/react/popup/index.js +3 -3
  409. package/cdn/react/progress-bar/index.js +3 -3
  410. package/cdn/react/radio/index.js +5 -5
  411. package/cdn/react/radio-group/index.js +3 -3
  412. package/cdn/react/scroll-hint/index.js +5 -5
  413. package/cdn/react/select/index.js +11 -11
  414. package/cdn/react/site-header/index.js +6 -6
  415. package/cdn/react/site-navigation/index.js +3 -3
  416. package/cdn/react/skeleton/index.js +3 -3
  417. package/cdn/react/slider/index.js +3 -3
  418. package/cdn/react/spatial-picker/index.js +16 -16
  419. package/cdn/react/status-indicator/index.js +3 -3
  420. package/cdn/react/stepper/index.js +3 -3
  421. package/cdn/react/stepper-step/index.js +7 -7
  422. package/cdn/react/tab/index.js +7 -7
  423. package/cdn/react/tab-panel/index.js +3 -3
  424. package/cdn/react/tabs/index.js +7 -7
  425. package/cdn/react/tag/index.js +7 -7
  426. package/cdn/react/textarea/index.js +5 -5
  427. package/cdn/react/time-average-map/index.js +24 -24
  428. package/cdn/react/time-series/index.js +25 -25
  429. package/cdn/react/toast/index.js +5 -5
  430. package/cdn/react/toggle/index.js +5 -5
  431. package/cdn/react/tooltip/index.js +4 -4
  432. package/cdn/react/variable-combobox/index.js +16 -16
  433. package/cdn/react/variable-keyword-search/index.js +15 -15
  434. package/cdn/terra-ui-components.js +179 -179
  435. package/cdn/types/vue/index.d.ts +672 -660
  436. package/cdn/utilities/mimetypes.d.ts +1 -1
  437. package/cdn/utilities/mimetypes.js +1 -1
  438. package/cdn/vscode.html-custom-data.json +426 -420
  439. package/cdn/web-types.json +1843 -1819
  440. package/dist/chunks/chunk.24OUPU3M.js +11 -0
  441. package/dist/chunks/chunk.27DLDZRC.js +592 -0
  442. package/dist/chunks/chunk.27ZGJEQD.js +27 -0
  443. package/dist/chunks/chunk.2FA2ZTXQ.js +84 -0
  444. package/dist/chunks/chunk.2GRUF276.js +24 -0
  445. package/dist/chunks/chunk.2JLEP7WV.js +135 -0
  446. package/dist/chunks/chunk.2NRFZ47T.js +11 -0
  447. package/dist/chunks/chunk.2SIQORSU.js +11 -0
  448. package/dist/chunks/chunk.2TGXHKAI.js +272 -0
  449. package/dist/chunks/chunk.2THVKQ5L.js +11 -0
  450. package/dist/chunks/chunk.2V7VZS6J.js +11 -0
  451. package/dist/chunks/chunk.32A4WH7Z.js +75 -0
  452. package/dist/chunks/chunk.3BHLAU66.js +52 -0
  453. package/dist/chunks/chunk.3EDT5J7B.js +89 -0
  454. package/dist/chunks/chunk.3EYKE3JS.js +11 -0
  455. package/dist/chunks/chunk.3M3KNL75.js +21 -0
  456. package/dist/chunks/chunk.3RQVQAGK.js +11 -0
  457. package/dist/chunks/chunk.3ZEB7QXJ.js +11 -0
  458. package/dist/chunks/chunk.43FGBKHG.js +33 -0
  459. package/dist/chunks/chunk.4BRHJBL7.js +362 -0
  460. package/dist/chunks/chunk.4F7AA6DJ.js +21 -0
  461. package/dist/chunks/chunk.4FQI6MU7.js +11 -0
  462. package/dist/chunks/chunk.4I7LRDSH.js +11 -0
  463. package/dist/chunks/chunk.4RZNR2FI.js +345 -0
  464. package/dist/chunks/chunk.4SS2YLXK.js +143 -0
  465. package/dist/chunks/chunk.4WCKEOKQ.js +720 -0
  466. package/dist/chunks/chunk.56ULBDL2.js +86 -0
  467. package/dist/chunks/chunk.5E3P26FR.js +11 -0
  468. package/dist/chunks/chunk.5GYDMDO6.js +58 -0
  469. package/dist/chunks/chunk.5TOBG3PN.js +43 -0
  470. package/dist/chunks/chunk.5UJ6U4QS.js +11 -0
  471. package/dist/chunks/chunk.5WJFIGWI.js +11 -0
  472. package/dist/chunks/chunk.5WKFEMNK.js +477 -0
  473. package/dist/chunks/chunk.66DRHHUE.js +21 -0
  474. package/dist/chunks/chunk.66DVJ54D.js +11 -0
  475. package/dist/chunks/chunk.6J4SJUQD.js +11 -0
  476. package/dist/chunks/chunk.6JWHPMOL.js +43 -0
  477. package/dist/chunks/chunk.6K2Y2GYL.js +101 -0
  478. package/dist/chunks/chunk.6MTJ3VPC.js +24 -0
  479. package/dist/chunks/chunk.6N4RPWIM.js +11 -0
  480. package/dist/chunks/chunk.6OWWYTVJ.js +139 -0
  481. package/dist/chunks/chunk.742W6GK2.js +474 -0
  482. package/dist/chunks/chunk.752P3GIC.js +24 -0
  483. package/dist/chunks/chunk.76KTIECS.js +180 -0
  484. package/dist/chunks/chunk.7XJW4S4P.js +124 -0
  485. package/dist/chunks/chunk.7ZDP2Z2N.js +11 -0
  486. package/dist/chunks/chunk.A2CP2ORP.js +11 -0
  487. package/dist/chunks/chunk.AOYF3DUM.js +11 -0
  488. package/dist/chunks/chunk.AWHGXGTV.js +21 -0
  489. package/dist/chunks/chunk.AZ6MIDIS.js +272 -0
  490. package/dist/chunks/chunk.B62HKUKO.js +21 -0
  491. package/dist/chunks/chunk.BADHWJPB.js +230 -0
  492. package/dist/chunks/chunk.BDWRY4GP.js +220 -0
  493. package/dist/chunks/chunk.BIEJHJO7.js +11 -0
  494. package/dist/chunks/chunk.BJDVG6P4.js +234 -0
  495. package/dist/chunks/chunk.BK5Z4YJ4.js +180 -0
  496. package/dist/chunks/chunk.BL7XCQXM.js +11 -0
  497. package/dist/chunks/chunk.BLQXQDQX.js +21 -0
  498. package/dist/chunks/chunk.BRTFMFWV.js +21 -0
  499. package/dist/chunks/chunk.BUPVVW3W.js +1132 -0
  500. package/dist/chunks/chunk.BW7THSVO.js +11 -0
  501. package/dist/chunks/chunk.CCLPFOB3.js +123 -0
  502. package/dist/chunks/chunk.CERMDF55.js +176 -0
  503. package/dist/chunks/chunk.CFMNI7WZ.js +21 -0
  504. package/dist/chunks/chunk.CNRYTQDJ.js +39 -0
  505. package/dist/chunks/chunk.CRU7J26Q.js +11 -0
  506. package/dist/chunks/chunk.CUXW4JWZ.js +230 -0
  507. package/dist/chunks/chunk.DAPUAE2W.js +11 -0
  508. package/dist/chunks/chunk.DCJYE5I5.js +21 -0
  509. package/dist/chunks/chunk.DDFKXN5R.js +31 -0
  510. package/dist/chunks/chunk.DJEWWK3X.js +112 -0
  511. package/dist/chunks/chunk.DJI4FFDV.js +11 -0
  512. package/dist/chunks/chunk.DSUCX4Z7.js +25 -0
  513. package/dist/chunks/chunk.DVVFEQUO.js +64 -0
  514. package/dist/chunks/chunk.DYA2VN4U.js +153 -0
  515. package/dist/chunks/chunk.DYYZ47NF.js +21 -0
  516. package/dist/chunks/chunk.DZDLX7IE.js +21 -0
  517. package/dist/chunks/chunk.DZMUUWCK.js +11 -0
  518. package/dist/chunks/chunk.EFYNU3VS.js +11 -0
  519. package/dist/chunks/chunk.EKDIFOBY.js +21 -0
  520. package/dist/chunks/chunk.ERYTQX7O.js +409 -0
  521. package/dist/chunks/chunk.F246HIQT.js +24 -0
  522. package/dist/chunks/chunk.F36W3ZSS.js +11 -0
  523. package/dist/chunks/chunk.F57E2W2V.js +443 -0
  524. package/dist/chunks/chunk.FCM3IOMZ.js +21 -0
  525. package/dist/chunks/chunk.FDJNP5R4.js +27 -0
  526. package/dist/chunks/chunk.FF53Q6W3.js +1208 -0
  527. package/dist/chunks/chunk.FIF2MCFJ.js +48 -0
  528. package/dist/chunks/chunk.FTB5KNZB.js +24 -0
  529. package/dist/chunks/chunk.FU7A4FOK.js +11 -0
  530. package/dist/chunks/chunk.GE3TZOSP.js +525 -0
  531. package/dist/chunks/chunk.GGHM2ORF.js +11 -0
  532. package/dist/chunks/chunk.GQNGIBTB.js +11 -0
  533. package/dist/chunks/chunk.GSA27X2D.js +21 -0
  534. package/dist/chunks/chunk.GYL6BFFP.js +262 -0
  535. package/dist/chunks/chunk.H2MBHUPL.js +24 -0
  536. package/dist/chunks/chunk.H2WY7DAL.js +11 -0
  537. package/dist/chunks/chunk.H2XHTQQ5.js +11 -0
  538. package/dist/chunks/chunk.HK55NVNB.js +355 -0
  539. package/dist/chunks/chunk.HKDQPBSM.js +11 -0
  540. package/dist/chunks/chunk.HXXX3WG4.js +24 -0
  541. package/dist/chunks/chunk.HZ6JYZOS.js +21 -0
  542. package/dist/chunks/chunk.I6HRQ7BI.js +291 -0
  543. package/dist/chunks/chunk.IBD4WCHU.js +11 -0
  544. package/dist/chunks/chunk.IC47ABF6.js +21 -0
  545. package/dist/chunks/chunk.IFPDAG23.js +247 -0
  546. package/dist/chunks/chunk.IG6D3LN3.js +21 -0
  547. package/dist/chunks/chunk.INWDQT67.js +732 -0
  548. package/dist/chunks/chunk.J47JV43P.js +21 -0
  549. package/dist/chunks/chunk.J6DKL22O.js +277 -0
  550. package/dist/chunks/chunk.J7TQ5VU7.js +21 -0
  551. package/dist/chunks/chunk.JGDCDSXF.js +24 -0
  552. package/dist/chunks/chunk.JISZZIY6.js +11 -0
  553. package/dist/chunks/chunk.KDB2QSPF.js +24 -0
  554. package/dist/chunks/chunk.KIXOO4EH.js +67 -0
  555. package/dist/chunks/chunk.KMREWMRD.js +596 -0
  556. package/dist/chunks/chunk.KOEUC6ET.js +28 -0
  557. package/dist/chunks/chunk.LAKLSG4Z.js +11 -0
  558. package/dist/chunks/chunk.LB47F3RB.js +11 -0
  559. package/dist/chunks/chunk.LCJA35A7.js +11 -0
  560. package/dist/chunks/chunk.LHLBHXSV.js +280 -0
  561. package/dist/chunks/chunk.LMPTA2Q5.js +24 -0
  562. package/dist/chunks/chunk.LR2FE7AH.js +2210 -0
  563. package/dist/chunks/chunk.LY6TPOZN.js +220 -0
  564. package/dist/chunks/chunk.LYAKY2WI.js +451 -0
  565. package/dist/chunks/chunk.MCMZ4DIE.js +28 -0
  566. package/dist/chunks/chunk.MMM66EPJ.js +11 -0
  567. package/dist/chunks/chunk.MMTZYMPU.js +365 -0
  568. package/dist/chunks/chunk.MRSQP7SI.js +25 -0
  569. package/dist/chunks/chunk.MUQXNDWN.js +24 -0
  570. package/dist/chunks/chunk.MUY72VZR.js +11 -0
  571. package/dist/chunks/chunk.MVN6T74P.js +844 -0
  572. package/dist/chunks/chunk.N6JYCYID.js +93 -0
  573. package/dist/chunks/chunk.NLLDRHSK.js +121 -0
  574. package/dist/chunks/chunk.NM76AHE2.js +11 -0
  575. package/dist/chunks/chunk.NN6PWE3I.js +11 -0
  576. package/dist/chunks/chunk.NOXAFGIG.js +11 -0
  577. package/dist/chunks/chunk.NPCWIIEB.js +21 -0
  578. package/dist/chunks/chunk.NRSI3X33.js +214 -0
  579. package/dist/chunks/chunk.NWIFEABM.js +11 -0
  580. package/dist/chunks/chunk.OFUJJYKR.js +1037 -0
  581. package/dist/chunks/chunk.OIOUPXC2.js +11 -0
  582. package/dist/chunks/chunk.OONXRBPP.js +29 -0
  583. package/dist/chunks/chunk.OX4K4WBJ.js +21 -0
  584. package/dist/chunks/chunk.P3L56RV6.js +609 -0
  585. package/dist/chunks/chunk.P4BTWA2W.js +21 -0
  586. package/dist/chunks/chunk.P4ZDDW4G.js +28 -0
  587. package/dist/chunks/chunk.PFGBQERM.js +21 -0
  588. package/dist/chunks/chunk.PGI6Y6XX.js +11 -0
  589. package/dist/chunks/chunk.PKY4HI7D.js +11 -0
  590. package/dist/chunks/chunk.PLWUHER3.js +145 -0
  591. package/dist/chunks/chunk.PWV2GJ2N.js +20 -0
  592. package/dist/chunks/chunk.Q6UE7CB3.js +345 -0
  593. package/dist/chunks/chunk.QMIM3IJI.js +25 -0
  594. package/dist/chunks/chunk.QRQVRNJ5.js +264 -0
  595. package/dist/chunks/chunk.QWU7AETL.js +24 -0
  596. package/dist/chunks/chunk.R4UJIP5M.js +245 -0
  597. package/dist/chunks/chunk.R7CH4GEF.js +11 -0
  598. package/dist/chunks/chunk.RJXGHV3H.js +422 -0
  599. package/dist/chunks/chunk.RO4MUFVF.js +67 -0
  600. package/dist/chunks/chunk.S32V67GZ.js +21 -0
  601. package/dist/chunks/chunk.SCL5FPJJ.js +2300 -0
  602. package/dist/chunks/chunk.SDGFPCNY.js +91 -0
  603. package/dist/chunks/chunk.SDXWOLQ6.js +21 -0
  604. package/dist/chunks/chunk.SFWH4DII.js +11 -0
  605. package/dist/chunks/chunk.SN6CIOZP.js +27 -0
  606. package/dist/chunks/chunk.SQNS52ZF.js +213 -0
  607. package/dist/chunks/chunk.SQTPDBCR.js +11 -0
  608. package/dist/chunks/chunk.SSHMXW5U.js +11 -0
  609. package/dist/chunks/chunk.SU5KHWCD.js +48 -0
  610. package/dist/chunks/chunk.T223WBAQ.js +21 -0
  611. package/dist/chunks/chunk.T56TY5P7.js +21 -0
  612. package/dist/chunks/chunk.TDGZ6OPW.js +11 -0
  613. package/dist/chunks/chunk.TE3CIFY7.js +26 -0
  614. package/dist/chunks/chunk.TIOJMUOV.js +11 -0
  615. package/dist/chunks/chunk.TNZV7XBJ.js +26 -0
  616. package/dist/chunks/chunk.TPA3DCUZ.js +61 -0
  617. package/dist/chunks/chunk.TQJAEQE6.js +21 -0
  618. package/dist/chunks/chunk.UCFN6F25.js +28 -0
  619. package/dist/chunks/chunk.UL4RQWJX.js +85 -0
  620. package/dist/chunks/chunk.UUXKARKT.js +21 -0
  621. package/dist/chunks/chunk.V2XBKPRQ.js +27 -0
  622. package/dist/chunks/chunk.VACHNSPR.js +11 -0
  623. package/dist/chunks/chunk.VCKWK6GT.js +252 -0
  624. package/dist/chunks/chunk.WAFNLNJE.js +24 -0
  625. package/dist/chunks/chunk.WHWHHPLW.js +11 -0
  626. package/dist/chunks/chunk.WOETQGVS.js +78 -0
  627. package/dist/chunks/chunk.WOIION27.js +180 -0
  628. package/dist/chunks/chunk.WTCGTFM3.js +11 -0
  629. package/dist/chunks/chunk.X7F7KL27.js +993 -0
  630. package/dist/chunks/chunk.XMED5IBJ.js +11 -0
  631. package/dist/chunks/chunk.XPKNM3ZS.js +11 -0
  632. package/dist/chunks/chunk.XR75EBXL.js +24 -0
  633. package/dist/chunks/chunk.XZTZVISY.js +91 -0
  634. package/dist/chunks/chunk.YIEHHT2Q.js +25 -0
  635. package/dist/chunks/chunk.YK6QWZB4.js +495 -0
  636. package/dist/chunks/chunk.YP7A53W7.js +29 -0
  637. package/dist/chunks/chunk.YWQPHIEL.js +21 -0
  638. package/dist/chunks/chunk.YWSI4MWA.js +52 -0
  639. package/dist/chunks/chunk.ZACK7NIG.js +11 -0
  640. package/dist/chunks/chunk.ZALJYVCQ.js +581 -0
  641. package/dist/chunks/chunk.ZHOSMWID.js +24 -0
  642. package/dist/chunks/chunk.ZP4HN5XA.js +25 -0
  643. package/dist/chunks/chunk.ZPE4K33Y.js +11 -0
  644. package/dist/components/accordion/accordion.component.js +5 -5
  645. package/dist/components/accordion/accordion.js +6 -6
  646. package/dist/components/alert/alert.component.js +3 -3
  647. package/dist/components/alert/alert.js +4 -4
  648. package/dist/components/avatar/avatar.component.js +5 -5
  649. package/dist/components/avatar/avatar.js +6 -6
  650. package/dist/components/badge/badge.component.js +2 -2
  651. package/dist/components/badge/badge.js +3 -3
  652. package/dist/components/breadcrumb/breadcrumb.component.js +2 -2
  653. package/dist/components/breadcrumb/breadcrumb.js +3 -3
  654. package/dist/components/breadcrumbs/breadcrumbs.component.js +2 -2
  655. package/dist/components/breadcrumbs/breadcrumbs.js +3 -3
  656. package/dist/components/browse-variables/browse-variables.component.js +15 -15
  657. package/dist/components/browse-variables/browse-variables.controller.js +3 -3
  658. package/dist/components/browse-variables/browse-variables.js +16 -16
  659. package/dist/components/button/button.component.js +5 -5
  660. package/dist/components/button/button.js +6 -6
  661. package/dist/components/button-group/button-group.component.js +2 -2
  662. package/dist/components/button-group/button-group.js +3 -3
  663. package/dist/components/caption/caption.component.js +2 -2
  664. package/dist/components/caption/caption.js +3 -3
  665. package/dist/components/card/card.component.js +2 -2
  666. package/dist/components/card/card.js +3 -3
  667. package/dist/components/checkbox/checkbox.component.js +5 -5
  668. package/dist/components/checkbox/checkbox.js +6 -6
  669. package/dist/components/chip/chip.component.js +2 -2
  670. package/dist/components/chip/chip.js +3 -3
  671. package/dist/components/combobox/combobox.component.d.ts +1 -4
  672. package/dist/components/combobox/combobox.component.js +2 -2
  673. package/dist/components/combobox/combobox.js +3 -3
  674. package/dist/components/data-access/data-access.component.d.ts +3 -2
  675. package/dist/components/data-access/data-access.component.js +22 -24
  676. package/dist/components/data-access/data-access.controller.js +3 -3
  677. package/dist/components/data-access/data-access.js +23 -25
  678. package/dist/components/data-access/data-access.styles.js +1 -1
  679. package/dist/components/data-grid/data-grid.component.js +3 -3
  680. package/dist/components/data-grid/data-grid.js +4 -4
  681. package/dist/components/data-rods/data-rods.component.js +31 -31
  682. package/dist/components/data-rods/data-rods.js +32 -32
  683. package/dist/components/data-subsetter/data-subsetter.component.d.ts +1 -2
  684. package/dist/components/data-subsetter/data-subsetter.component.js +39 -39
  685. package/dist/components/data-subsetter/data-subsetter.controller.d.ts +1 -3
  686. package/dist/components/data-subsetter/data-subsetter.controller.js +3 -3
  687. package/dist/components/data-subsetter/data-subsetter.js +40 -40
  688. package/dist/components/data-subsetter/data-subsetter.styles.js +1 -1
  689. package/dist/components/data-subsetter-history/data-subsetter-history.component.js +40 -40
  690. package/dist/components/data-subsetter-history/data-subsetter-history.js +41 -41
  691. package/dist/components/date-picker/date-picker.component.d.ts +0 -4
  692. package/dist/components/date-picker/date-picker.component.js +10 -10
  693. package/dist/components/date-picker/date-picker.js +11 -11
  694. package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
  695. package/dist/components/date-range-slider/date-range-slider.js +3 -3
  696. package/dist/components/dialog/dialog.component.js +8 -8
  697. package/dist/components/dialog/dialog.js +9 -9
  698. package/dist/components/dialog/dialog.styles.js +1 -1
  699. package/dist/components/divider/divider.component.js +2 -2
  700. package/dist/components/divider/divider.js +3 -3
  701. package/dist/components/dropdown/dropdown.component.js +3 -3
  702. package/dist/components/dropdown/dropdown.js +4 -4
  703. package/dist/components/earthdata-login/earthdata-login.component.js +12 -12
  704. package/dist/components/earthdata-login/earthdata-login.js +13 -13
  705. package/dist/components/file-upload/file-upload.component.js +2 -2
  706. package/dist/components/file-upload/file-upload.js +3 -3
  707. package/dist/components/icon/icon.component.js +3 -3
  708. package/dist/components/icon/icon.js +4 -4
  709. package/dist/components/input/input.component.js +5 -5
  710. package/dist/components/input/input.js +6 -6
  711. package/dist/components/loader/loader.component.js +2 -2
  712. package/dist/components/loader/loader.js +3 -3
  713. package/dist/components/login/login.component.js +10 -10
  714. package/dist/components/login/login.js +11 -11
  715. package/dist/components/map/leaflet-utils.d.ts +1 -1
  716. package/dist/components/map/map.component.js +2 -2
  717. package/dist/components/map/map.js +3 -3
  718. package/dist/components/menu/menu.component.js +2 -2
  719. package/dist/components/menu/menu.js +3 -3
  720. package/dist/components/menu-item/menu-item.component.js +7 -7
  721. package/dist/components/menu-item/menu-item.js +8 -8
  722. package/dist/components/option/option.component.js +4 -4
  723. package/dist/components/option/option.js +5 -5
  724. package/dist/components/pagination/pagination.component.js +4 -4
  725. package/dist/components/pagination/pagination.js +5 -5
  726. package/dist/components/plot/plot.component.js +2 -2
  727. package/dist/components/plot/plot.js +3 -3
  728. package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  729. package/dist/components/plot-toolbar/plot-toolbar.component.d.ts +8 -0
  730. package/dist/components/plot-toolbar/plot-toolbar.component.js +12 -12
  731. package/dist/components/plot-toolbar/plot-toolbar.controller.js +3 -3
  732. package/dist/components/plot-toolbar/plot-toolbar.js +13 -13
  733. package/dist/components/plot-toolbar/plot-toolbar.styles.js +1 -1
  734. package/dist/components/popup/popup.component.js +2 -2
  735. package/dist/components/popup/popup.js +3 -3
  736. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  737. package/dist/components/progress-bar/progress-bar.js +3 -3
  738. package/dist/components/radio/radio.component.js +2 -2
  739. package/dist/components/radio/radio.js +3 -3
  740. package/dist/components/radio-group/radio-group.component.js +2 -2
  741. package/dist/components/radio-group/radio-group.js +3 -3
  742. package/dist/components/scroll-hint/scroll-hint.component.js +4 -4
  743. package/dist/components/scroll-hint/scroll-hint.js +5 -5
  744. package/dist/components/select/select.component.js +8 -8
  745. package/dist/components/select/select.js +9 -9
  746. package/dist/components/site-header/site-header.component.js +5 -5
  747. package/dist/components/site-header/site-header.js +5 -5
  748. package/dist/components/site-navigation/site-navigation.component.js +2 -2
  749. package/dist/components/site-navigation/site-navigation.js +2 -2
  750. package/dist/components/skeleton/skeleton.component.js +2 -2
  751. package/dist/components/skeleton/skeleton.js +3 -3
  752. package/dist/components/slider/slider.component.js +2 -2
  753. package/dist/components/slider/slider.js +3 -3
  754. package/dist/components/spatial-picker/spatial-picker.component.js +10 -10
  755. package/dist/components/spatial-picker/spatial-picker.js +11 -11
  756. package/dist/components/status-indicator/status-indicator.component.js +2 -2
  757. package/dist/components/status-indicator/status-indicator.js +3 -3
  758. package/dist/components/stepper/stepper.component.js +2 -2
  759. package/dist/components/stepper/stepper.js +3 -3
  760. package/dist/components/stepper-step/stepper-step.component.js +4 -4
  761. package/dist/components/stepper-step/stepper-step.js +5 -5
  762. package/dist/components/tab/tab.component.js +4 -4
  763. package/dist/components/tab/tab.js +5 -5
  764. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  765. package/dist/components/tab-panel/tab-panel.js +3 -3
  766. package/dist/components/tabs/tabs.component.js +4 -4
  767. package/dist/components/tabs/tabs.js +5 -5
  768. package/dist/components/tag/tag.component.js +4 -4
  769. package/dist/components/tag/tag.js +5 -5
  770. package/dist/components/textarea/textarea.component.js +2 -2
  771. package/dist/components/textarea/textarea.js +3 -3
  772. package/dist/components/time-average-map/time-average-map.component.d.ts +4 -0
  773. package/dist/components/time-average-map/time-average-map.component.js +20 -20
  774. package/dist/components/time-average-map/time-average-map.js +21 -21
  775. package/dist/components/time-series/time-series.component.d.ts +4 -0
  776. package/dist/components/time-series/time-series.component.js +21 -21
  777. package/dist/components/time-series/time-series.controller.d.ts +2 -0
  778. package/dist/components/time-series/time-series.controller.js +1 -1
  779. package/dist/components/time-series/time-series.js +22 -22
  780. package/dist/components/toast/toast.component.js +4 -4
  781. package/dist/components/toast/toast.js +5 -5
  782. package/dist/components/toggle/toggle.component.js +2 -2
  783. package/dist/components/toggle/toggle.js +3 -3
  784. package/dist/components/tooltip/tooltip.component.js +3 -3
  785. package/dist/components/tooltip/tooltip.js +4 -4
  786. package/dist/components/variable-combobox/variable-combobox.component.d.ts +1 -4
  787. package/dist/components/variable-combobox/variable-combobox.component.js +8 -8
  788. package/dist/components/variable-combobox/variable-combobox.js +9 -9
  789. package/dist/components/variable-keyword-search/variable-keyword-search.component.d.ts +1 -4
  790. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +11 -11
  791. package/dist/components/variable-keyword-search/variable-keyword-search.controller.js +3 -3
  792. package/dist/components/variable-keyword-search/variable-keyword-search.js +12 -12
  793. package/dist/custom-elements.json +3761 -3571
  794. package/dist/internal/animate.d.ts +3 -3
  795. package/dist/metadata-catalog/cmr-catalog.d.ts +1 -2
  796. package/dist/metadata-catalog/queries.d.ts +0 -1
  797. package/dist/metadata-catalog/types.d.ts +0 -13
  798. package/dist/react/accordion/index.js +6 -6
  799. package/dist/react/alert/index.js +4 -4
  800. package/dist/react/avatar/index.js +6 -6
  801. package/dist/react/badge/index.js +3 -3
  802. package/dist/react/breadcrumb/index.js +3 -3
  803. package/dist/react/breadcrumbs/index.js +3 -3
  804. package/dist/react/browse-variables/index.js +16 -16
  805. package/dist/react/button/index.js +6 -6
  806. package/dist/react/button-group/index.js +3 -3
  807. package/dist/react/caption/index.js +3 -3
  808. package/dist/react/card/index.js +3 -3
  809. package/dist/react/checkbox/index.js +6 -6
  810. package/dist/react/chip/index.js +3 -3
  811. package/dist/react/combobox/index.js +3 -3
  812. package/dist/react/data-access/index.js +23 -25
  813. package/dist/react/data-grid/index.js +4 -4
  814. package/dist/react/data-rods/index.js +32 -32
  815. package/dist/react/data-subsetter/index.js +40 -40
  816. package/dist/react/data-subsetter-history/index.js +41 -41
  817. package/dist/react/date-picker/index.js +11 -11
  818. package/dist/react/date-range-slider/index.js +3 -3
  819. package/dist/react/dialog/index.js +9 -9
  820. package/dist/react/divider/index.js +3 -3
  821. package/dist/react/dropdown/index.js +4 -4
  822. package/dist/react/earthdata-login/index.js +13 -13
  823. package/dist/react/file-upload/index.js +3 -3
  824. package/dist/react/icon/index.js +4 -4
  825. package/dist/react/index.d.ts +12 -12
  826. package/dist/react/index.js +187 -187
  827. package/dist/react/input/index.js +6 -6
  828. package/dist/react/loader/index.js +3 -3
  829. package/dist/react/login/index.js +11 -11
  830. package/dist/react/map/index.js +3 -3
  831. package/dist/react/menu/index.js +3 -3
  832. package/dist/react/menu-item/index.js +8 -8
  833. package/dist/react/option/index.js +5 -5
  834. package/dist/react/pagination/index.js +5 -5
  835. package/dist/react/plot/index.js +3 -3
  836. package/dist/react/plot-toolbar/index.js +13 -13
  837. package/dist/react/popup/index.js +3 -3
  838. package/dist/react/progress-bar/index.js +3 -3
  839. package/dist/react/radio/index.js +3 -3
  840. package/dist/react/radio-group/index.js +3 -3
  841. package/dist/react/scroll-hint/index.js +5 -5
  842. package/dist/react/select/index.js +9 -9
  843. package/dist/react/site-header/index.js +6 -6
  844. package/dist/react/site-navigation/index.js +3 -3
  845. package/dist/react/skeleton/index.js +3 -3
  846. package/dist/react/slider/index.js +3 -3
  847. package/dist/react/spatial-picker/index.js +11 -11
  848. package/dist/react/status-indicator/index.js +3 -3
  849. package/dist/react/stepper/index.js +3 -3
  850. package/dist/react/stepper-step/index.js +5 -5
  851. package/dist/react/tab/index.js +5 -5
  852. package/dist/react/tab-panel/index.js +3 -3
  853. package/dist/react/tabs/index.js +5 -5
  854. package/dist/react/tag/index.js +5 -5
  855. package/dist/react/textarea/index.js +3 -3
  856. package/dist/react/time-average-map/index.js +21 -21
  857. package/dist/react/time-series/index.js +22 -22
  858. package/dist/react/toast/index.js +5 -5
  859. package/dist/react/toggle/index.js +3 -3
  860. package/dist/react/tooltip/index.js +4 -4
  861. package/dist/react/variable-combobox/index.js +9 -9
  862. package/dist/react/variable-keyword-search/index.js +12 -12
  863. package/dist/terra-ui-components.js +171 -171
  864. package/dist/terra_ui_components-0.0.167-py3-none-any.whl +0 -0
  865. package/dist/terra_ui_components-0.0.167.tar.gz +0 -0
  866. package/dist/types/vue/index.d.ts +672 -660
  867. package/dist/utilities/mimetypes.d.ts +1 -1
  868. package/dist/utilities/mimetypes.js +1 -1
  869. package/dist/vscode.html-custom-data.json +426 -420
  870. package/dist/web-types.json +1843 -1819
  871. package/package.json +1 -1
  872. package/cdn/chunks/chunk.22JAM2GR.js +0 -149
  873. package/cdn/chunks/chunk.2KSTLEEW.js +0 -19
  874. package/cdn/chunks/chunk.2MOKVZJ5.js +0 -110
  875. package/cdn/chunks/chunk.2MRTLI7C.js +0 -29
  876. package/cdn/chunks/chunk.2OYHOPUN.js +0 -29
  877. package/cdn/chunks/chunk.2W6MOIKV.js +0 -36
  878. package/cdn/chunks/chunk.2ZAILZIZ.js +0 -29
  879. package/cdn/chunks/chunk.34GKSDDH.js +0 -29
  880. package/cdn/chunks/chunk.35NWYWPA.js +0 -610
  881. package/cdn/chunks/chunk.3DZICDY5.js +0 -19
  882. package/cdn/chunks/chunk.3EEC7I6T.js +0 -77
  883. package/cdn/chunks/chunk.3HQ5B2XG.js +0 -60
  884. package/cdn/chunks/chunk.3KF4JV5X.js +0 -19
  885. package/cdn/chunks/chunk.3OCLA6PR.js +0 -113
  886. package/cdn/chunks/chunk.3PYSUHMX.js +0 -74
  887. package/cdn/chunks/chunk.3RYHRIU7.js +0 -47
  888. package/cdn/chunks/chunk.3SO4K6Y3.js +0 -355
  889. package/cdn/chunks/chunk.3T7254VH.js +0 -1002
  890. package/cdn/chunks/chunk.3X2FJVEK.js +0 -99
  891. package/cdn/chunks/chunk.3YIIQKB4.js +0 -29
  892. package/cdn/chunks/chunk.4E526L3E.js +0 -29
  893. package/cdn/chunks/chunk.4JULN6G5.js +0 -29
  894. package/cdn/chunks/chunk.56M3T4SS.js +0 -19
  895. package/cdn/chunks/chunk.5RFPNO6G.js +0 -19
  896. package/cdn/chunks/chunk.5RYT4QNM.js +0 -157
  897. package/cdn/chunks/chunk.5VTC5O3H.js +0 -29
  898. package/cdn/chunks/chunk.5XLABLQB.js +0 -276
  899. package/cdn/chunks/chunk.66SSQP45.js +0 -19
  900. package/cdn/chunks/chunk.67XHQN22.js +0 -19
  901. package/cdn/chunks/chunk.6JBKCS52.js +0 -83
  902. package/cdn/chunks/chunk.6JIAMAMY.js +0 -29
  903. package/cdn/chunks/chunk.6TBKK4LM.js +0 -493
  904. package/cdn/chunks/chunk.6Y4YTK5P.js +0 -238
  905. package/cdn/chunks/chunk.77XDQUES.js +0 -19
  906. package/cdn/chunks/chunk.7FSPBN74.js +0 -99
  907. package/cdn/chunks/chunk.7PS6V6WS.js +0 -1966
  908. package/cdn/chunks/chunk.7SUZRUNK.js +0 -19
  909. package/cdn/chunks/chunk.7T52ILDL.js +0 -599
  910. package/cdn/chunks/chunk.7VUN6GFK.js +0 -29
  911. package/cdn/chunks/chunk.AFC2HLIY.js +0 -19
  912. package/cdn/chunks/chunk.AOBU6O57.js +0 -990
  913. package/cdn/chunks/chunk.AQ3JLCWN.js +0 -165
  914. package/cdn/chunks/chunk.ATCGQBQH.js +0 -19
  915. package/cdn/chunks/chunk.B3EEU2CI.js +0 -29
  916. package/cdn/chunks/chunk.B4TQIGEX.js +0 -19
  917. package/cdn/chunks/chunk.B526UDNH.js +0 -29
  918. package/cdn/chunks/chunk.BFVSGVAT.js +0 -19
  919. package/cdn/chunks/chunk.BJF5R6JW.js +0 -190
  920. package/cdn/chunks/chunk.BMK7DPMC.js +0 -19
  921. package/cdn/chunks/chunk.BNPVRBVC.js +0 -123
  922. package/cdn/chunks/chunk.BPUKB6TK.js +0 -29
  923. package/cdn/chunks/chunk.BRIHWEDS.js +0 -29
  924. package/cdn/chunks/chunk.BUGYJIDA.js +0 -29
  925. package/cdn/chunks/chunk.BY3XMPVV.js +0 -731
  926. package/cdn/chunks/chunk.C4QTAT3W.js +0 -32
  927. package/cdn/chunks/chunk.C7BHHMPD.js +0 -29
  928. package/cdn/chunks/chunk.CCYPCKYP.js +0 -29
  929. package/cdn/chunks/chunk.CE7S2HSD.js +0 -19
  930. package/cdn/chunks/chunk.CHP6L4IZ.js +0 -29
  931. package/cdn/chunks/chunk.CNFKSV5Y.js +0 -41
  932. package/cdn/chunks/chunk.CNQ5DP2Y.js +0 -19
  933. package/cdn/chunks/chunk.CR32YRI3.js +0 -32
  934. package/cdn/chunks/chunk.CV3BFVNC.js +0 -224
  935. package/cdn/chunks/chunk.DBV4CPVA.js +0 -93
  936. package/cdn/chunks/chunk.DKXKWPJK.js +0 -189
  937. package/cdn/chunks/chunk.DLQNZ2FX.js +0 -201
  938. package/cdn/chunks/chunk.DQKC3KIY.js +0 -19
  939. package/cdn/chunks/chunk.DVUHMHS7.js +0 -77
  940. package/cdn/chunks/chunk.DYNAESKX.js +0 -32
  941. package/cdn/chunks/chunk.DZJULA3U.js +0 -33858
  942. package/cdn/chunks/chunk.EEBXXJ5S.js +0 -19
  943. package/cdn/chunks/chunk.EGTBQ75C.js +0 -279
  944. package/cdn/chunks/chunk.ERLTY6RD.js +0 -32
  945. package/cdn/chunks/chunk.ERM35NF4.js +0 -93
  946. package/cdn/chunks/chunk.ESRB43Y5.js +0 -616
  947. package/cdn/chunks/chunk.F4EH5N56.js +0 -33
  948. package/cdn/chunks/chunk.FLBSTQ3K.js +0 -19
  949. package/cdn/chunks/chunk.FPAJGJR7.js +0 -35
  950. package/cdn/chunks/chunk.FQMP346K.js +0 -19
  951. package/cdn/chunks/chunk.FXITFED3.js +0 -37
  952. package/cdn/chunks/chunk.FXM6K5HM.js +0 -217
  953. package/cdn/chunks/chunk.G6Z24R6Y.js +0 -19
  954. package/cdn/chunks/chunk.GCKUWBFX.js +0 -477
  955. package/cdn/chunks/chunk.GEBLYMYM.js +0 -264
  956. package/cdn/chunks/chunk.GN2ZQBKO.js +0 -34
  957. package/cdn/chunks/chunk.HFTGBEXB.js +0 -188
  958. package/cdn/chunks/chunk.HHPVOMGD.js +0 -278
  959. package/cdn/chunks/chunk.HPJ222W5.js +0 -33
  960. package/cdn/chunks/chunk.HV5AHGSZ.js +0 -288
  961. package/cdn/chunks/chunk.HXT3MQZB.js +0 -86
  962. package/cdn/chunks/chunk.HYTFGYES.js +0 -524
  963. package/cdn/chunks/chunk.HZLKJ66W.js +0 -29
  964. package/cdn/chunks/chunk.I6RAXH53.js +0 -19
  965. package/cdn/chunks/chunk.IJQLOBAC.js +0 -132
  966. package/cdn/chunks/chunk.ISYLWUTX.js +0 -19
  967. package/cdn/chunks/chunk.ITCNMUXT.js +0 -56
  968. package/cdn/chunks/chunk.IWVNVNRD.js +0 -134
  969. package/cdn/chunks/chunk.J3Z3NPJ4.js +0 -134
  970. package/cdn/chunks/chunk.J6VLXGTF.js +0 -36
  971. package/cdn/chunks/chunk.J7I3DOXG.js +0 -272
  972. package/cdn/chunks/chunk.JBRXER73.js +0 -19
  973. package/cdn/chunks/chunk.JGEML6NJ.js +0 -30
  974. package/cdn/chunks/chunk.JK27J74D.js +0 -62
  975. package/cdn/chunks/chunk.K7YIOV7T.js +0 -19
  976. package/cdn/chunks/chunk.KCZYTXMI.js +0 -39
  977. package/cdn/chunks/chunk.KD6G7ERX.js +0 -68
  978. package/cdn/chunks/chunk.KGCLCQ7X.js +0 -60
  979. package/cdn/chunks/chunk.KILIHVMF.js +0 -32
  980. package/cdn/chunks/chunk.KMCDDWE5.js +0 -35
  981. package/cdn/chunks/chunk.KU5FXVEU.js +0 -19
  982. package/cdn/chunks/chunk.KWBRNY25.js +0 -19
  983. package/cdn/chunks/chunk.KXBA6WIZ.js +0 -904
  984. package/cdn/chunks/chunk.L2NSE4OV.js +0 -19
  985. package/cdn/chunks/chunk.L4G7AM4D.js +0 -19
  986. package/cdn/chunks/chunk.LCNNIIGG.js +0 -372
  987. package/cdn/chunks/chunk.LE77IFIT.js +0 -29
  988. package/cdn/chunks/chunk.LJV444BY.js +0 -19
  989. package/cdn/chunks/chunk.LPUGYJQ6.js +0 -19
  990. package/cdn/chunks/chunk.MGD4I7TI.js +0 -33
  991. package/cdn/chunks/chunk.MGVK6RY6.js +0 -19
  992. package/cdn/chunks/chunk.MSKQVFVO.js +0 -36
  993. package/cdn/chunks/chunk.MYXC7VZK.js +0 -19
  994. package/cdn/chunks/chunk.N2ZLSKRS.js +0 -19
  995. package/cdn/chunks/chunk.N7Y6PI75.js +0 -19
  996. package/cdn/chunks/chunk.NBYFCLIA.js +0 -230
  997. package/cdn/chunks/chunk.NCSQNVLT.js +0 -34
  998. package/cdn/chunks/chunk.NKVAAAFV.js +0 -19
  999. package/cdn/chunks/chunk.NLM2F46S.js +0 -37
  1000. package/cdn/chunks/chunk.NQ6WTKJ5.js +0 -39
  1001. package/cdn/chunks/chunk.NRJZH24F.js +0 -19
  1002. package/cdn/chunks/chunk.NT5A6ZHT.js +0 -136
  1003. package/cdn/chunks/chunk.NYZK4RJY.js +0 -19
  1004. package/cdn/chunks/chunk.O22V5PWM.js +0 -35
  1005. package/cdn/chunks/chunk.O45AJCZN.js +0 -32
  1006. package/cdn/chunks/chunk.O5BUI6HD.js +0 -499
  1007. package/cdn/chunks/chunk.OBIYKNGD.js +0 -36
  1008. package/cdn/chunks/chunk.OE32JNHX.js +0 -2290
  1009. package/cdn/chunks/chunk.OE6QBUL3.js +0 -151
  1010. package/cdn/chunks/chunk.OIBHUA2X.js +0 -33
  1011. package/cdn/chunks/chunk.ONZYR5V7.js +0 -19
  1012. package/cdn/chunks/chunk.OTBLJV2P.js +0 -19
  1013. package/cdn/chunks/chunk.OWBCL4YY.js +0 -92
  1014. package/cdn/chunks/chunk.OWOOYBL5.js +0 -621
  1015. package/cdn/chunks/chunk.OYDCM6EP.js +0 -19
  1016. package/cdn/chunks/chunk.P4OWV3H2.js +0 -412
  1017. package/cdn/chunks/chunk.PLP3BQV2.js +0 -29
  1018. package/cdn/chunks/chunk.PMUKNJQB.js +0 -357
  1019. package/cdn/chunks/chunk.PUDKOG7O.js +0 -19
  1020. package/cdn/chunks/chunk.PVPOTYBO.js +0 -29
  1021. package/cdn/chunks/chunk.Q67OTTO2.js +0 -145
  1022. package/cdn/chunks/chunk.QB7PKQGX.js +0 -32
  1023. package/cdn/chunks/chunk.QHPWQ6EU.js +0 -234
  1024. package/cdn/chunks/chunk.QIALAQUY.js +0 -19
  1025. package/cdn/chunks/chunk.QMAOK6H7.js +0 -287
  1026. package/cdn/chunks/chunk.QN47HJMJ.js +0 -99
  1027. package/cdn/chunks/chunk.QPO4FJDV.js +0 -19
  1028. package/cdn/chunks/chunk.QTCDR4K5.js +0 -19
  1029. package/cdn/chunks/chunk.R2CKSIEB.js +0 -302
  1030. package/cdn/chunks/chunk.R3ELIEXH.js +0 -158
  1031. package/cdn/chunks/chunk.RESQSJZW.js +0 -19
  1032. package/cdn/chunks/chunk.RLB5ZGN3.js +0 -2243
  1033. package/cdn/chunks/chunk.RPIMP5VU.js +0 -29
  1034. package/cdn/chunks/chunk.RRIBXI6T.js +0 -662
  1035. package/cdn/chunks/chunk.RVVT6D2O.js +0 -32
  1036. package/cdn/chunks/chunk.RWRHKJV7.js +0 -29
  1037. package/cdn/chunks/chunk.S6HRHLBY.js +0 -29
  1038. package/cdn/chunks/chunk.SBRPQN46.js +0 -239
  1039. package/cdn/chunks/chunk.SBV4CE52.js +0 -293
  1040. package/cdn/chunks/chunk.SCVPK7ZI.js +0 -19
  1041. package/cdn/chunks/chunk.SGVXOEMD.js +0 -359
  1042. package/cdn/chunks/chunk.SOL4KQRB.js +0 -32
  1043. package/cdn/chunks/chunk.STIIRCSR.js +0 -32
  1044. package/cdn/chunks/chunk.SVWVRXE5.js +0 -19
  1045. package/cdn/chunks/chunk.T4EQTEDI.js +0 -79
  1046. package/cdn/chunks/chunk.TAVW4BSX.js +0 -231
  1047. package/cdn/chunks/chunk.TCVQUZH3.js +0 -19
  1048. package/cdn/chunks/chunk.TGA7THVX.js +0 -32
  1049. package/cdn/chunks/chunk.TLGXE7WV.js +0 -52
  1050. package/cdn/chunks/chunk.TO3IZDTY.js +0 -435
  1051. package/cdn/chunks/chunk.TU5LEWLH.js +0 -78
  1052. package/cdn/chunks/chunk.UCYLBWS6.js +0 -19
  1053. package/cdn/chunks/chunk.UGVKO2F3.js +0 -29
  1054. package/cdn/chunks/chunk.UMXEOKQR.js +0 -29
  1055. package/cdn/chunks/chunk.UQ3KQHGM.js +0 -29
  1056. package/cdn/chunks/chunk.UXW4BGB3.js +0 -35
  1057. package/cdn/chunks/chunk.UZO2S5ZV.js +0 -55346
  1058. package/cdn/chunks/chunk.UZUUSYPD.js +0 -19
  1059. package/cdn/chunks/chunk.V5RXILK4.js +0 -19
  1060. package/cdn/chunks/chunk.VKGMZPCA.js +0 -19
  1061. package/cdn/chunks/chunk.VMITYTMW.js +0 -29
  1062. package/cdn/chunks/chunk.VOHWSUS6.js +0 -19
  1063. package/cdn/chunks/chunk.VRFTM5EZ.js +0 -33
  1064. package/cdn/chunks/chunk.VW4JRARC.js +0 -19
  1065. package/cdn/chunks/chunk.W2L4LFHP.js +0 -538
  1066. package/cdn/chunks/chunk.WIHIKDOO.js +0 -19
  1067. package/cdn/chunks/chunk.WIVXANPA.js +0 -1056
  1068. package/cdn/chunks/chunk.WJ4RUTUN.js +0 -19
  1069. package/cdn/chunks/chunk.WUS3RA7A.js +0 -259
  1070. package/cdn/chunks/chunk.XHDWZUS3.js +0 -19
  1071. package/cdn/chunks/chunk.XXKZMY2K.js +0 -19
  1072. package/cdn/chunks/chunk.XZVBKL46.js +0 -104
  1073. package/cdn/chunks/chunk.YI5QUNXX.js +0 -19
  1074. package/cdn/chunks/chunk.YIJM5IYA.js +0 -32
  1075. package/cdn/chunks/chunk.YIYWTQKE.js +0 -32
  1076. package/cdn/chunks/chunk.YLEDVKIQ.js +0 -155
  1077. package/cdn/chunks/chunk.YQWDPYX2.js +0 -71
  1078. package/cdn/chunks/chunk.YTSNCCCN.js +0 -752
  1079. package/cdn/chunks/chunk.YTZMHMX3.js +0 -29
  1080. package/cdn/chunks/chunk.Z2DAFDC2.js +0 -49
  1081. package/cdn/chunks/chunk.Z4LEEFSD.js +0 -19
  1082. package/cdn/chunks/chunk.ZGA7FO7P.js +0 -32
  1083. package/dist/chunks/chunk.2HPCVNQL.js +0 -21
  1084. package/dist/chunks/chunk.2OT2UXF4.js +0 -11
  1085. package/dist/chunks/chunk.32NG2VNQ.js +0 -11
  1086. package/dist/chunks/chunk.36JXOS6Y.js +0 -21
  1087. package/dist/chunks/chunk.3CCSEGFN.js +0 -21
  1088. package/dist/chunks/chunk.3GSDEVDN.js +0 -52
  1089. package/dist/chunks/chunk.3JAVPASP.js +0 -609
  1090. package/dist/chunks/chunk.3NOU5S4K.js +0 -91
  1091. package/dist/chunks/chunk.3RMARKUW.js +0 -24
  1092. package/dist/chunks/chunk.3SVUDGSO.js +0 -11
  1093. package/dist/chunks/chunk.3WCZNEVP.js +0 -52
  1094. package/dist/chunks/chunk.3XVU2CMW.js +0 -25
  1095. package/dist/chunks/chunk.42RWQXVF.js +0 -11
  1096. package/dist/chunks/chunk.44B2QB57.js +0 -11
  1097. package/dist/chunks/chunk.44C2RMYG.js +0 -345
  1098. package/dist/chunks/chunk.4KI6GHHX.js +0 -11
  1099. package/dist/chunks/chunk.4TO6RQDT.js +0 -11
  1100. package/dist/chunks/chunk.4UBHRRUU.js +0 -220
  1101. package/dist/chunks/chunk.4YCY2DV3.js +0 -21
  1102. package/dist/chunks/chunk.4YYCBOVI.js +0 -11
  1103. package/dist/chunks/chunk.524NKNPG.js +0 -39
  1104. package/dist/chunks/chunk.5EJAFKZ7.js +0 -21
  1105. package/dist/chunks/chunk.5V4FAK7C.js +0 -11
  1106. package/dist/chunks/chunk.5YSU3HL7.js +0 -33
  1107. package/dist/chunks/chunk.64SWCNHI.js +0 -262
  1108. package/dist/chunks/chunk.6AVQFT4P.js +0 -48
  1109. package/dist/chunks/chunk.6ITSS4GH.js +0 -11
  1110. package/dist/chunks/chunk.6KCKKNYD.js +0 -48
  1111. package/dist/chunks/chunk.6QSTETYN.js +0 -11
  1112. package/dist/chunks/chunk.6TW6DP7W.js +0 -11
  1113. package/dist/chunks/chunk.74HB6B26.js +0 -27
  1114. package/dist/chunks/chunk.7FZCDHMN.js +0 -11
  1115. package/dist/chunks/chunk.7MXXFSLC.js +0 -24
  1116. package/dist/chunks/chunk.7QOQXG7V.js +0 -280
  1117. package/dist/chunks/chunk.A54SXMF6.js +0 -11
  1118. package/dist/chunks/chunk.A75XMZQF.js +0 -91
  1119. package/dist/chunks/chunk.A7AZEOWS.js +0 -21
  1120. package/dist/chunks/chunk.ABJSJSVR.js +0 -451
  1121. package/dist/chunks/chunk.ACW2XVAY.js +0 -29
  1122. package/dist/chunks/chunk.AJY5IKAP.js +0 -596
  1123. package/dist/chunks/chunk.ANAQ3U23.js +0 -11
  1124. package/dist/chunks/chunk.ANLBJK37.js +0 -25
  1125. package/dist/chunks/chunk.AYMNVM3K.js +0 -422
  1126. package/dist/chunks/chunk.AYXVVA52.js +0 -24
  1127. package/dist/chunks/chunk.B7H4U76E.js +0 -21
  1128. package/dist/chunks/chunk.BBCOXXME.js +0 -75
  1129. package/dist/chunks/chunk.BENDF532.js +0 -11
  1130. package/dist/chunks/chunk.BRDHFOSA.js +0 -11
  1131. package/dist/chunks/chunk.C24Z45OK.js +0 -58
  1132. package/dist/chunks/chunk.C5ZKA7VW.js +0 -25
  1133. package/dist/chunks/chunk.CBMMWN53.js +0 -11
  1134. package/dist/chunks/chunk.CIDFDZRW.js +0 -230
  1135. package/dist/chunks/chunk.CTUS2BRJ.js +0 -21
  1136. package/dist/chunks/chunk.CVM4QQIH.js +0 -11
  1137. package/dist/chunks/chunk.CWP2OCTX.js +0 -28
  1138. package/dist/chunks/chunk.DBWF2K7N.js +0 -24
  1139. package/dist/chunks/chunk.DFOY2RXN.js +0 -121
  1140. package/dist/chunks/chunk.DKRMDAXH.js +0 -21
  1141. package/dist/chunks/chunk.DLG3ISTI.js +0 -345
  1142. package/dist/chunks/chunk.DO6GYJM7.js +0 -344
  1143. package/dist/chunks/chunk.DS2GXZ4J.js +0 -64
  1144. package/dist/chunks/chunk.EFW6UAEH.js +0 -11
  1145. package/dist/chunks/chunk.ENBFHQ3L.js +0 -291
  1146. package/dist/chunks/chunk.EPPQF7KD.js +0 -24
  1147. package/dist/chunks/chunk.EQ6VDEGW.js +0 -11
  1148. package/dist/chunks/chunk.ET4GP57T.js +0 -213
  1149. package/dist/chunks/chunk.ETNOCBXV.js +0 -259
  1150. package/dist/chunks/chunk.F5A3CI7J.js +0 -21
  1151. package/dist/chunks/chunk.F6YXPWWD.js +0 -11
  1152. package/dist/chunks/chunk.FDY3GDIO.js +0 -21
  1153. package/dist/chunks/chunk.FGIV23AN.js +0 -29
  1154. package/dist/chunks/chunk.FKS74UUE.js +0 -21
  1155. package/dist/chunks/chunk.FQFJCEW7.js +0 -402
  1156. package/dist/chunks/chunk.FQJUCC6Z.js +0 -180
  1157. package/dist/chunks/chunk.FTQDFGAR.js +0 -28
  1158. package/dist/chunks/chunk.GRBQETKI.js +0 -21
  1159. package/dist/chunks/chunk.GT6B4BF3.js +0 -11
  1160. package/dist/chunks/chunk.GTMUZKD3.js +0 -11
  1161. package/dist/chunks/chunk.HARVA2IP.js +0 -21
  1162. package/dist/chunks/chunk.HK5E3MB4.js +0 -11
  1163. package/dist/chunks/chunk.HOMKMLDI.js +0 -986
  1164. package/dist/chunks/chunk.HSGP3NJV.js +0 -112
  1165. package/dist/chunks/chunk.HUDMN5IZ.js +0 -11
  1166. package/dist/chunks/chunk.HWE36KUL.js +0 -214
  1167. package/dist/chunks/chunk.IJQWDDTY.js +0 -21
  1168. package/dist/chunks/chunk.IKMWLDCT.js +0 -21
  1169. package/dist/chunks/chunk.IP6RYMMF.js +0 -11
  1170. package/dist/chunks/chunk.IW47OQDJ.js +0 -27
  1171. package/dist/chunks/chunk.IYF6RYNW.js +0 -11
  1172. package/dist/chunks/chunk.JCQVYTHW.js +0 -21
  1173. package/dist/chunks/chunk.JHMPD5S3.js +0 -11
  1174. package/dist/chunks/chunk.JK62FCBM.js +0 -277
  1175. package/dist/chunks/chunk.JTJTZNBC.js +0 -11
  1176. package/dist/chunks/chunk.K66DWQG7.js +0 -474
  1177. package/dist/chunks/chunk.K6WBYPK4.js +0 -2228
  1178. package/dist/chunks/chunk.K7B5G7VZ.js +0 -484
  1179. package/dist/chunks/chunk.K7QSTEOZ.js +0 -11
  1180. package/dist/chunks/chunk.KTF6ZVQC.js +0 -247
  1181. package/dist/chunks/chunk.KW76EJFU.js +0 -2277
  1182. package/dist/chunks/chunk.LENFD4DV.js +0 -844
  1183. package/dist/chunks/chunk.LIJJ2CVM.js +0 -21
  1184. package/dist/chunks/chunk.LPCY54WK.js +0 -11
  1185. package/dist/chunks/chunk.LPYTOTCB.js +0 -124
  1186. package/dist/chunks/chunk.MFCOSXFW.js +0 -21
  1187. package/dist/chunks/chunk.MGDJ2LD5.js +0 -220
  1188. package/dist/chunks/chunk.MICLMHWK.js +0 -11
  1189. package/dist/chunks/chunk.MNZZPXWB.js +0 -11
  1190. package/dist/chunks/chunk.MQVNIT4S.js +0 -973
  1191. package/dist/chunks/chunk.MTAR5BJL.js +0 -153
  1192. package/dist/chunks/chunk.MZ4FDVFI.js +0 -139
  1193. package/dist/chunks/chunk.N363OJZ2.js +0 -89
  1194. package/dist/chunks/chunk.NLK5RRJT.js +0 -11
  1195. package/dist/chunks/chunk.NUD2D7OX.js +0 -11
  1196. package/dist/chunks/chunk.NXYNTUNF.js +0 -24
  1197. package/dist/chunks/chunk.NY5YVZRV.js +0 -11
  1198. package/dist/chunks/chunk.NZNBKBV5.js +0 -11
  1199. package/dist/chunks/chunk.OHLDTKQU.js +0 -21
  1200. package/dist/chunks/chunk.OIS2I2WX.js +0 -11
  1201. package/dist/chunks/chunk.OKCQAPIO.js +0 -11
  1202. package/dist/chunks/chunk.ON3YVM46.js +0 -138
  1203. package/dist/chunks/chunk.ORHU4TOP.js +0 -25
  1204. package/dist/chunks/chunk.OVF3LEJ5.js +0 -61
  1205. package/dist/chunks/chunk.OVYETBCA.js +0 -11
  1206. package/dist/chunks/chunk.OYOOZ5CY.js +0 -20
  1207. package/dist/chunks/chunk.PHNX45ET.js +0 -93
  1208. package/dist/chunks/chunk.PNW5CV46.js +0 -11
  1209. package/dist/chunks/chunk.POB3HHX4.js +0 -11
  1210. package/dist/chunks/chunk.PUQIBC6P.js +0 -525
  1211. package/dist/chunks/chunk.PX7JSWL7.js +0 -67
  1212. package/dist/chunks/chunk.QHDDMY67.js +0 -21
  1213. package/dist/chunks/chunk.QP5XM7WT.js +0 -720
  1214. package/dist/chunks/chunk.QQMW6GT2.js +0 -1045
  1215. package/dist/chunks/chunk.QQWZTESV.js +0 -21
  1216. package/dist/chunks/chunk.QVJT4Q7B.js +0 -24
  1217. package/dist/chunks/chunk.QXGAOOH7.js +0 -206
  1218. package/dist/chunks/chunk.R4KWN2HX.js +0 -443
  1219. package/dist/chunks/chunk.RBEXUNHZ.js +0 -581
  1220. package/dist/chunks/chunk.REHHQZMY.js +0 -11
  1221. package/dist/chunks/chunk.RJRVYB3F.js +0 -83
  1222. package/dist/chunks/chunk.RNNZRROI.js +0 -85
  1223. package/dist/chunks/chunk.RQHF447H.js +0 -123
  1224. package/dist/chunks/chunk.RWTN6VR5.js +0 -11
  1225. package/dist/chunks/chunk.RYP4SV66.js +0 -11
  1226. package/dist/chunks/chunk.S5JREWKQ.js +0 -21
  1227. package/dist/chunks/chunk.S65PVGZW.js +0 -11
  1228. package/dist/chunks/chunk.SJVXFIWD.js +0 -43
  1229. package/dist/chunks/chunk.SMIEZHJ2.js +0 -11
  1230. package/dist/chunks/chunk.SWGKKZUD.js +0 -27
  1231. package/dist/chunks/chunk.SYBFIXLK.js +0 -11
  1232. package/dist/chunks/chunk.SZAADZKK.js +0 -252
  1233. package/dist/chunks/chunk.T7XC2TPO.js +0 -43
  1234. package/dist/chunks/chunk.TFN2HUUW.js +0 -78
  1235. package/dist/chunks/chunk.TJ5S7Y7N.js +0 -11
  1236. package/dist/chunks/chunk.TKTDW7K4.js +0 -592
  1237. package/dist/chunks/chunk.TXGZZ232.js +0 -26
  1238. package/dist/chunks/chunk.U22BJ3HS.js +0 -24
  1239. package/dist/chunks/chunk.U6JA4K4J.js +0 -24
  1240. package/dist/chunks/chunk.UCXSNYW7.js +0 -24
  1241. package/dist/chunks/chunk.UHIHGVN4.js +0 -31
  1242. package/dist/chunks/chunk.ULEUXMBD.js +0 -731
  1243. package/dist/chunks/chunk.UNJJ4K5X.js +0 -24
  1244. package/dist/chunks/chunk.UNO3VVAK.js +0 -11
  1245. package/dist/chunks/chunk.UU2S72KN.js +0 -30
  1246. package/dist/chunks/chunk.V7PI7GT2.js +0 -21
  1247. package/dist/chunks/chunk.VBCVUNIU.js +0 -67
  1248. package/dist/chunks/chunk.VBWBPTPK.js +0 -230
  1249. package/dist/chunks/chunk.VIBAVNO2.js +0 -11
  1250. package/dist/chunks/chunk.VOGQH6VT.js +0 -28
  1251. package/dist/chunks/chunk.VWZX32FU.js +0 -145
  1252. package/dist/chunks/chunk.VYXIWUES.js +0 -11
  1253. package/dist/chunks/chunk.W52CDXRW.js +0 -11
  1254. package/dist/chunks/chunk.WBEYZIEP.js +0 -24
  1255. package/dist/chunks/chunk.WFDKB6ZX.js +0 -21
  1256. package/dist/chunks/chunk.WHFZNJAZ.js +0 -409
  1257. package/dist/chunks/chunk.WJT6IE7Z.js +0 -28
  1258. package/dist/chunks/chunk.WPBID72S.js +0 -11
  1259. package/dist/chunks/chunk.WPUBNP6J.js +0 -355
  1260. package/dist/chunks/chunk.WUSLL2E3.js +0 -86
  1261. package/dist/chunks/chunk.WWDJTRJH.js +0 -264
  1262. package/dist/chunks/chunk.X4HRSJ4F.js +0 -11
  1263. package/dist/chunks/chunk.XA65IBXV.js +0 -11
  1264. package/dist/chunks/chunk.XB6CG3ZS.js +0 -24
  1265. package/dist/chunks/chunk.XC6HL6VP.js +0 -101
  1266. package/dist/chunks/chunk.XHJJAZ6W.js +0 -11
  1267. package/dist/chunks/chunk.XIFDLBOB.js +0 -25
  1268. package/dist/chunks/chunk.XIXMPQO2.js +0 -21
  1269. package/dist/chunks/chunk.XMGVOXBG.js +0 -11
  1270. package/dist/chunks/chunk.XQHIGAKF.js +0 -1122
  1271. package/dist/chunks/chunk.XQVFPFWL.js +0 -245
  1272. package/dist/chunks/chunk.XYQ5OEQP.js +0 -190
  1273. package/dist/chunks/chunk.YDUPN3OG.js +0 -180
  1274. package/dist/chunks/chunk.YEL7UCDK.js +0 -477
  1275. package/dist/chunks/chunk.YIGP5HKO.js +0 -26
  1276. package/dist/chunks/chunk.YLUFHBYX.js +0 -21
  1277. package/dist/chunks/chunk.YP3AWZ7P.js +0 -11
  1278. package/dist/chunks/chunk.YY5TU7AJ.js +0 -21
  1279. package/dist/chunks/chunk.Z7RT3KHG.js +0 -24
  1280. package/dist/chunks/chunk.ZDDLFJFZ.js +0 -27
  1281. package/dist/chunks/chunk.ZHCDFME3.js +0 -272
  1282. package/dist/chunks/chunk.ZJISEOPZ.js +0 -11
  1283. package/dist/chunks/chunk.ZKLP6636.js +0 -180
  1284. package/dist/chunks/chunk.ZLLSS62V.js +0 -21
  1285. package/dist/chunks/chunk.ZLZJXLHD.js +0 -21
  1286. package/dist/chunks/chunk.ZVEB7QG2.js +0 -143
@@ -1,2243 +0,0 @@
1
- import {
2
- date_picker_styles_default
3
- } from "./chunk.OGT3IDWC.js";
4
- import {
5
- TerraInput
6
- } from "./chunk.35NWYWPA.js";
7
- import {
8
- TerraDropdown
9
- } from "./chunk.W2L4LFHP.js";
10
- import {
11
- e as e2,
12
- n as n2
13
- } from "./chunk.5RYT4QNM.js";
14
- import {
15
- TerraButton
16
- } from "./chunk.GCKUWBFX.js";
17
- import {
18
- isValid
19
- } from "./chunk.QSDOLP4K.js";
20
- import {
21
- TerraElement,
22
- component_styles_default,
23
- e,
24
- n,
25
- r
26
- } from "./chunk.RRIBXI6T.js";
27
- import {
28
- x
29
- } from "./chunk.3ZQGAH53.js";
30
- import {
31
- __decorateClass,
32
- init_buffer,
33
- init_dirname,
34
- init_process
35
- } from "./chunk.CZA6CSBG.js";
36
-
37
- // src/components/date-picker/date-picker.component.ts
38
- init_dirname();
39
- init_buffer();
40
- init_process();
41
- var TerraDatePicker = class extends TerraElement {
42
- constructor() {
43
- super();
44
- this.range = false;
45
- this.hideLabel = false;
46
- this.label = "Select Date";
47
- this.helpText = "";
48
- this.startHelpText = "";
49
- this.endHelpText = "";
50
- this.showPresets = false;
51
- this.presets = [];
52
- this.enableTime = false;
53
- this.inline = false;
54
- this.splitInputs = false;
55
- this.placeholder = "Select Date";
56
- this.startPlaceholder = "Start Date";
57
- this.endPlaceholder = "End Date";
58
- this.role = "group";
59
- this.ariaLabel = "Date picker";
60
- this.hideClearAll = false;
61
- this.clearAllLabel = "Clear Dates";
62
- this.useEndOfDay = true;
63
- this.isOpen = false;
64
- this.leftMonth = /* @__PURE__ */ new Date();
65
- this.rightMonth = /* @__PURE__ */ new Date();
66
- this.selectedStart = null;
67
- this.selectedEnd = null;
68
- this.hoverDate = null;
69
- this.isSelectingRange = false;
70
- this.showLeftMonthDropdown = false;
71
- this.showRightMonthDropdown = false;
72
- this.startHour = 0;
73
- this.startMinute = 0;
74
- this.startSecond = 0;
75
- this.endHour = 23;
76
- this.endMinute = 59;
77
- this.endSecond = 59;
78
- this.selectedDates = {
79
- startDate: (/* @__PURE__ */ new Date()).toString(),
80
- endDate: (/* @__PURE__ */ new Date()).toString()
81
- };
82
- this.dropdownRef = e2();
83
- this.DAYS = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"];
84
- this.MONTHS = [
85
- "January",
86
- "February",
87
- "March",
88
- "April",
89
- "May",
90
- "June",
91
- "July",
92
- "August",
93
- "September",
94
- "October",
95
- "November",
96
- "December"
97
- ];
98
- this.initializePresets();
99
- }
100
- getDefaultEndHour() {
101
- return this.useEndOfDay ? 23 : 0;
102
- }
103
- getDefaultEndMinute() {
104
- return this.useEndOfDay ? 59 : 0;
105
- }
106
- getDefaultEndSecond() {
107
- return this.useEndOfDay ? 59 : 0;
108
- }
109
- /**
110
- * Parse a date string (YYYY-MM-DD or ISO datetime) as a local date, avoiding timezone issues.
111
- * When you do `new Date("2024-03-20")`, JavaScript interprets it as UTC midnight,
112
- * which can cause off-by-one day errors when using getDate() in local timezone.
113
- * This function parses the date as a local date instead.
114
- *
115
- * When enableTime is true, datetime strings are parsed as UTC to match API min/max dates.
116
- */
117
- parseLocalDate(dateString) {
118
- const dateOnlyPattern = /^\d{4}-\d{2}-\d{2}$/;
119
- if (dateOnlyPattern.test(dateString)) {
120
- const [year, month, day] = dateString.split("-").map(Number);
121
- if (this.enableTime) {
122
- return new Date(Date.UTC(year, month - 1, day, 0, 0, 0));
123
- }
124
- return new Date(year, month - 1, day);
125
- }
126
- const dateTimePattern = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/;
127
- if (dateTimePattern.test(dateString)) {
128
- const [datePart, timePart] = dateString.split("T");
129
- const [year, month, day] = datePart.split("-").map(Number);
130
- const [hours, minutes, seconds] = timePart.split(":").map(Number);
131
- return new Date(Date.UTC(year, month - 1, day, hours, minutes, seconds));
132
- }
133
- return new Date(dateString);
134
- }
135
- /**
136
- * Check if two dates are in the same calendar month and year
137
- */
138
- isSameMonth(date1, date2) {
139
- if (this.enableTime) {
140
- return date1.getUTCFullYear() === date2.getUTCFullYear() && date1.getUTCMonth() === date2.getUTCMonth();
141
- }
142
- return date1.getFullYear() === date2.getFullYear() && date1.getMonth() === date2.getMonth();
143
- }
144
- /**
145
- * Check if a date's month/year matches a given month Date
146
- */
147
- isDateInMonth(date, monthDate) {
148
- if (this.enableTime) {
149
- return date.getUTCFullYear() === monthDate.getUTCFullYear() && date.getUTCMonth() === monthDate.getUTCMonth();
150
- }
151
- return date.getFullYear() === monthDate.getFullYear() && date.getMonth() === monthDate.getMonth();
152
- }
153
- getBounds() {
154
- const min = this.minDate ? this.parseLocalDate(this.minDate) : void 0;
155
- const max = this.maxDate ? this.parseLocalDate(this.maxDate) : void 0;
156
- return { min, max };
157
- }
158
- doesRangeOverlapBounds(range) {
159
- const { startDate, endDate } = range;
160
- const { min, max } = this.getBounds();
161
- if (!this.range) {
162
- if (!startDate)
163
- return false;
164
- if (min && startDate < min)
165
- return false;
166
- if (max && startDate > max)
167
- return false;
168
- return true;
169
- }
170
- const start = startDate != null ? startDate : /* @__PURE__ */ new Date(-864e13);
171
- const end = endDate != null ? endDate : /* @__PURE__ */ new Date(864e13);
172
- if (!min && !max)
173
- return true;
174
- const windowStart = min != null ? min : /* @__PURE__ */ new Date(-864e13);
175
- const windowEnd = max != null ? max : /* @__PURE__ */ new Date(864e13);
176
- return end >= windowStart && start <= windowEnd;
177
- }
178
- isPresetWithinBounds(range) {
179
- return this.doesRangeOverlapBounds(range);
180
- }
181
- get filteredPresets() {
182
- return (this.presets || []).filter(
183
- (preset) => this.isPresetWithinBounds(preset.getValue())
184
- );
185
- }
186
- open() {
187
- this.isOpen = true;
188
- if (this.maxDate && !this.selectedStart && !this.selectedEnd) {
189
- const max = this.parseLocalDate(this.maxDate);
190
- if (!isNaN(max.getTime())) {
191
- if (this.range) {
192
- this.rightMonth = new Date(max);
193
- const left = new Date(max);
194
- left.setMonth(left.getMonth() - 1);
195
- this.leftMonth = left;
196
- } else {
197
- this.leftMonth = new Date(max);
198
- }
199
- }
200
- }
201
- if (!this.inline && this.dropdownRef.value) {
202
- this.dropdownRef.value.show();
203
- }
204
- this.requestUpdate();
205
- }
206
- close() {
207
- this.isOpen = false;
208
- if (!this.inline && this.dropdownRef.value) {
209
- this.dropdownRef.value.hide();
210
- }
211
- this.requestUpdate();
212
- }
213
- /**
214
- * Clears the selected date(s) and resets the date picker to its initial state.
215
- */
216
- clear() {
217
- this.selectedStart = null;
218
- this.selectedEnd = null;
219
- this.hoverDate = null;
220
- this.isSelectingRange = false;
221
- this.startHour = 0;
222
- this.startMinute = 0;
223
- this.startSecond = 0;
224
- this.endHour = this.getDefaultEndHour();
225
- this.endMinute = this.getDefaultEndMinute();
226
- this.endSecond = this.getDefaultEndSecond();
227
- this.clearInputValidation();
228
- this.requestUpdate();
229
- this.emitChange();
230
- }
231
- setOpen(open) {
232
- if (open) {
233
- this.open();
234
- } else {
235
- this.close();
236
- }
237
- }
238
- willUpdate(changedProperties) {
239
- super.willUpdate(changedProperties);
240
- if (changedProperties.has("useEndOfDay")) {
241
- this.endHour = this.getDefaultEndHour();
242
- this.endMinute = this.getDefaultEndMinute();
243
- this.endSecond = this.getDefaultEndSecond();
244
- }
245
- if (changedProperties.has("inline")) {
246
- if (this.inline) {
247
- this.isOpen = true;
248
- if (this.dropdownRef.value) {
249
- this.dropdownRef.value.hide();
250
- }
251
- }
252
- }
253
- if (changedProperties.has("minDate") || changedProperties.has("maxDate")) {
254
- if (this.maxDate && !this.selectedStart && !this.selectedEnd) {
255
- const max = this.parseLocalDate(this.maxDate);
256
- if (!isNaN(max.getTime())) {
257
- if (this.range) {
258
- this.rightMonth = new Date(max);
259
- const left = new Date(max);
260
- left.setMonth(left.getMonth() - 1);
261
- this.leftMonth = left;
262
- } else {
263
- this.leftMonth = new Date(max);
264
- }
265
- }
266
- }
267
- }
268
- if (changedProperties.has("startDate") || changedProperties.has("endDate")) {
269
- if (this.startDate) {
270
- const start = this.parseLocalDate(this.startDate);
271
- if (!isNaN(start.getTime())) {
272
- this.selectedStart = start;
273
- if (this.enableTime) {
274
- this.initializeTimeFromDate(start, true);
275
- }
276
- }
277
- } else {
278
- this.selectedStart = null;
279
- }
280
- if (this.range) {
281
- if (this.endDate) {
282
- const end = this.parseLocalDate(this.endDate);
283
- if (!isNaN(end.getTime())) {
284
- this.selectedEnd = end;
285
- if (this.enableTime) {
286
- this.initializeTimeFromDate(end, false);
287
- }
288
- }
289
- } else {
290
- this.selectedEnd = null;
291
- }
292
- if (this.selectedStart && this.selectedEnd) {
293
- const isSingleMonthRange = this.isSameMonth(
294
- this.selectedStart,
295
- this.selectedEnd
296
- );
297
- if (isSingleMonthRange) {
298
- if (this.isDateInMonth(this.selectedStart, this.leftMonth)) {
299
- this.leftMonth = new Date(this.selectedStart);
300
- if (this.isDateInMonth(
301
- this.selectedStart,
302
- this.rightMonth
303
- )) {
304
- this.rightMonth = new Date(this.selectedStart);
305
- this.rightMonth.setMonth(
306
- this.rightMonth.getMonth() + 1
307
- );
308
- }
309
- } else if (this.isDateInMonth(this.selectedStart, this.rightMonth)) {
310
- this.rightMonth = new Date(this.selectedStart);
311
- } else {
312
- this.leftMonth = new Date(this.selectedStart);
313
- }
314
- } else {
315
- this.leftMonth = new Date(this.selectedStart);
316
- this.rightMonth = new Date(this.selectedEnd);
317
- }
318
- } else if (this.selectedStart) {
319
- this.leftMonth = new Date(this.selectedStart);
320
- this.rightMonth = new Date(this.leftMonth);
321
- this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
322
- }
323
- } else {
324
- if (this.selectedStart) {
325
- this.leftMonth = new Date(this.selectedStart);
326
- }
327
- this.selectedEnd = null;
328
- }
329
- }
330
- }
331
- initializePresets() {
332
- if (this.presets.length === 0) {
333
- this.presets = [
334
- {
335
- label: "Today",
336
- getValue: () => {
337
- const today = /* @__PURE__ */ new Date();
338
- return {
339
- startDate: today,
340
- endDate: this.range ? today : null
341
- };
342
- }
343
- },
344
- {
345
- label: "Yesterday",
346
- getValue: () => {
347
- const yesterday = /* @__PURE__ */ new Date();
348
- yesterday.setDate(yesterday.getDate() - 1);
349
- return {
350
- startDate: yesterday,
351
- endDate: this.range ? yesterday : null
352
- };
353
- }
354
- },
355
- {
356
- label: "Last 7 days",
357
- getValue: () => {
358
- const end = /* @__PURE__ */ new Date();
359
- const start = /* @__PURE__ */ new Date();
360
- start.setDate(start.getDate() - 6);
361
- return { startDate: start, endDate: end };
362
- }
363
- },
364
- {
365
- label: "Last 30 days",
366
- getValue: () => {
367
- const end = /* @__PURE__ */ new Date();
368
- const start = /* @__PURE__ */ new Date();
369
- start.setDate(start.getDate() - 29);
370
- return { startDate: start, endDate: end };
371
- }
372
- },
373
- {
374
- label: "Last 6 months",
375
- getValue: () => {
376
- const end = /* @__PURE__ */ new Date();
377
- const start = /* @__PURE__ */ new Date();
378
- start.setMonth(start.getMonth() - 6);
379
- return { startDate: start, endDate: end };
380
- }
381
- },
382
- {
383
- label: "Last year",
384
- getValue: () => {
385
- const end = /* @__PURE__ */ new Date();
386
- const start = /* @__PURE__ */ new Date();
387
- start.setFullYear(start.getFullYear() - 1);
388
- return { startDate: start, endDate: end };
389
- }
390
- },
391
- {
392
- label: "All time",
393
- getValue: () => {
394
- const { min, max } = this.getBounds();
395
- return {
396
- startDate: min || null,
397
- endDate: max || null
398
- };
399
- }
400
- }
401
- ];
402
- }
403
- }
404
- firstUpdated() {
405
- const params = new URLSearchParams(window.location.search);
406
- const timeStartParam = params.get("time_start") || this.startDate;
407
- const timeEndParam = params.get("time_end") || this.endDate;
408
- if (timeStartParam) {
409
- this.selectedStart = this.parseLocalDate(timeStartParam);
410
- this.leftMonth = new Date(this.selectedStart);
411
- if (this.enableTime) {
412
- this.initializeTimeFromDate(this.selectedStart, true);
413
- }
414
- }
415
- if (this.range && timeEndParam) {
416
- this.selectedEnd = this.parseLocalDate(timeEndParam);
417
- if (this.enableTime) {
418
- this.initializeTimeFromDate(this.selectedEnd, false);
419
- }
420
- if (this.selectedStart && this.selectedEnd) {
421
- const isSingleMonthRange = this.isSameMonth(
422
- this.selectedStart,
423
- this.selectedEnd
424
- );
425
- if (isSingleMonthRange) {
426
- this.rightMonth = new Date(this.selectedStart);
427
- this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
428
- } else {
429
- this.rightMonth = new Date(this.selectedEnd);
430
- }
431
- } else if (this.selectedEnd) {
432
- this.rightMonth = new Date(this.selectedEnd);
433
- }
434
- }
435
- if (this.range && !timeEndParam) {
436
- this.rightMonth = new Date(this.leftMonth);
437
- this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
438
- }
439
- if (this.inline) {
440
- this.isOpen = true;
441
- }
442
- }
443
- disconnectedCallback() {
444
- super.disconnectedCallback();
445
- }
446
- handleDropdownShow() {
447
- this.isOpen = true;
448
- }
449
- handleDropdownHide() {
450
- this.isOpen = false;
451
- }
452
- formatDisplayDate(date, isStart = true) {
453
- if (!date)
454
- return "";
455
- const format = this.displayFormat || (this.enableTime ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD");
456
- if (this.enableTime) {
457
- const year2 = date.getUTCFullYear();
458
- const month2 = String(date.getUTCMonth() + 1).padStart(2, "0");
459
- const day2 = String(date.getUTCDate()).padStart(2, "0");
460
- const hours = String(isStart ? this.startHour : this.endHour).padStart(
461
- 2,
462
- "0"
463
- );
464
- const minutes = String(
465
- isStart ? this.startMinute : this.endMinute
466
- ).padStart(2, "0");
467
- const seconds = String(
468
- isStart ? this.startSecond : this.endSecond
469
- ).padStart(2, "0");
470
- return format.replace("YYYY", year2.toString()).replace("MM", month2).replace("DD", day2).replace("HH", hours).replace("mm", minutes).replace("ss", seconds);
471
- }
472
- const year = date.getFullYear();
473
- const month = String(date.getMonth() + 1).padStart(2, "0");
474
- const day = String(date.getDate()).padStart(2, "0");
475
- return format.replace("YYYY", year.toString()).replace("MM", month).replace("DD", day);
476
- }
477
- getDisplayValue() {
478
- if (this.range) {
479
- if (this.selectedStart && this.selectedEnd) {
480
- return `${this.formatDisplayDate(this.selectedStart, true)} \u2013 ${this.formatDisplayDate(this.selectedEnd, false)}`;
481
- } else if (this.selectedStart) {
482
- return this.formatDisplayDate(this.selectedStart, true);
483
- }
484
- return "";
485
- } else {
486
- return this.selectedStart ? this.formatDisplayDate(this.selectedStart, true) : "";
487
- }
488
- }
489
- getStartDateDisplayValue() {
490
- return this.selectedStart ? this.formatDisplayDate(this.selectedStart, true) : "";
491
- }
492
- getEndDateDisplayValue() {
493
- return this.selectedEnd ? this.formatDisplayDate(this.selectedEnd, false) : "";
494
- }
495
- parseAndFormatDate(dateStr) {
496
- const trimmed = dateStr.trim();
497
- if (!trimmed)
498
- return null;
499
- const dateOnlyPattern = /^\d{4}-\d{2}-\d{2}$/;
500
- const dateTimePattern = /^\d{4}-\d{2}-\d{2}[T\s]\d{1,2}:\d{2}(:\d{2})?$/;
501
- let date;
502
- if (dateOnlyPattern.test(trimmed)) {
503
- date = this.parseLocalDate(trimmed);
504
- } else if (this.enableTime && dateTimePattern.test(trimmed)) {
505
- const [datePart, timePart] = trimmed.split(/[T\s]+/);
506
- const [year, month, day] = datePart.split("-").map(Number);
507
- const timeComponents = timePart.split(":").map(Number);
508
- const hours = timeComponents[0] || 0;
509
- const minutes = timeComponents[1] || 0;
510
- const seconds = timeComponents[2] || 0;
511
- date = new Date(Date.UTC(year, month - 1, day, hours, minutes, seconds));
512
- } else {
513
- date = new Date(trimmed);
514
- if (!isValid(date)) {
515
- return null;
516
- }
517
- }
518
- if (!isValid(date)) {
519
- return null;
520
- }
521
- if (this.enableTime) {
522
- if (dateOnlyPattern.test(trimmed)) {
523
- return trimmed;
524
- } else {
525
- const utcYear = date.getUTCFullYear();
526
- const utcMonth = date.getUTCMonth() + 1;
527
- const utcDay = date.getUTCDate();
528
- const utcHours = date.getUTCHours();
529
- const utcMinutes = date.getUTCMinutes();
530
- const utcSeconds = date.getUTCSeconds();
531
- return `${utcYear}-${String(utcMonth).padStart(2, "0")}-${String(utcDay).padStart(2, "0")}T${String(utcHours).padStart(2, "0")}:${String(utcMinutes).padStart(2, "0")}:${String(utcSeconds).padStart(2, "0")}`;
532
- }
533
- } else {
534
- const year = date.getFullYear();
535
- const month = date.getMonth() + 1;
536
- const day = date.getDate();
537
- return `${year}-${String(month).padStart(2, "0")}-${String(day).padStart(2, "0")}`;
538
- }
539
- }
540
- clearInputValidation() {
541
- const inputs = this.renderRoot.querySelectorAll("terra-input");
542
- inputs.forEach((input) => {
543
- input.setCustomValidity("");
544
- });
545
- }
546
- /**
547
- * Format a date string for display in error messages
548
- * When time is disabled, only show the date portion (YYYY-MM-DD)
549
- */
550
- formatDateForError(dateString) {
551
- if (!this.enableTime) {
552
- return dateString.split("T")[0];
553
- }
554
- return dateString;
555
- }
556
- /**
557
- * Set validation error on input and emit invalid event
558
- */
559
- setInputValidationError(input, message) {
560
- input.setCustomValidity(message);
561
- requestAnimationFrame(() => {
562
- ;
563
- input.validationErrorMessage = message;
564
- input.requestUpdate();
565
- });
566
- this.emit("terra-date-selection-invalid", {
567
- detail: { message }
568
- });
569
- }
570
- handleInputBlur(event) {
571
- const input = event.target;
572
- const value = input.value || "";
573
- if (!value.trim()) {
574
- this.selectedStart = null;
575
- this.selectedEnd = null;
576
- input.setCustomValidity("");
577
- this.emitChange();
578
- return;
579
- }
580
- if (this.range) {
581
- const parts = value.split(" - ");
582
- if (parts.length !== 2) {
583
- const message = "Date range must be in format: YYYY-MM-DD - YYYY-MM-DD";
584
- this.setInputValidationError(input, message);
585
- return;
586
- }
587
- const startFormatted = this.parseAndFormatDate(parts[0]);
588
- const endFormatted = this.parseAndFormatDate(parts[1]);
589
- if (!startFormatted) {
590
- const message = "Invalid start date format";
591
- this.setInputValidationError(input, message);
592
- return;
593
- }
594
- if (!endFormatted) {
595
- const message = "Invalid end date format";
596
- this.setInputValidationError(input, message);
597
- return;
598
- }
599
- let start;
600
- let end;
601
- if (this.enableTime && startFormatted.includes("T")) {
602
- start = new Date(startFormatted);
603
- this.initializeTimeFromDate(start, true);
604
- } else if (this.enableTime) {
605
- const [year, month, day] = startFormatted.split("-").map(Number);
606
- start = new Date(
607
- Date.UTC(
608
- year,
609
- month - 1,
610
- day,
611
- this.startHour,
612
- this.startMinute,
613
- this.startSecond
614
- )
615
- );
616
- } else {
617
- start = this.parseLocalDate(startFormatted);
618
- }
619
- if (this.enableTime && endFormatted.includes("T")) {
620
- end = new Date(endFormatted);
621
- this.initializeTimeFromDate(end, false);
622
- } else if (this.enableTime) {
623
- const [year, month, day] = endFormatted.split("-").map(Number);
624
- end = new Date(
625
- Date.UTC(
626
- year,
627
- month - 1,
628
- day,
629
- this.endHour,
630
- this.endMinute,
631
- this.endSecond
632
- )
633
- );
634
- } else {
635
- end = this.parseLocalDate(endFormatted);
636
- }
637
- let finalStart = start;
638
- let finalEnd = end;
639
- if (start > end) {
640
- finalStart = end;
641
- finalEnd = start;
642
- }
643
- if (this.minDate) {
644
- const min = this.parseLocalDate(this.minDate);
645
- if (finalStart < min) {
646
- const message = `Start date must be on or after ${this.formatDateForError(this.minDate)}`;
647
- this.setInputValidationError(input, message);
648
- return;
649
- }
650
- }
651
- if (this.maxDate) {
652
- const max = this.parseLocalDate(this.maxDate);
653
- if (finalEnd > max) {
654
- const message = `End date must be on or before ${this.formatDateForError(this.maxDate)}`;
655
- this.setInputValidationError(input, message);
656
- return;
657
- }
658
- }
659
- this.selectedStart = finalStart;
660
- this.selectedEnd = finalEnd;
661
- this.updateMonthViews();
662
- input.value = `${startFormatted} - ${endFormatted}`;
663
- input.setCustomValidity("");
664
- this.emitChange();
665
- } else {
666
- const formatted = this.parseAndFormatDate(value);
667
- if (!formatted) {
668
- const message = "Invalid date format";
669
- this.setInputValidationError(input, message);
670
- return;
671
- }
672
- let date;
673
- if (this.enableTime && formatted.includes("T")) {
674
- date = new Date(formatted);
675
- this.initializeTimeFromDate(date, true);
676
- } else if (this.enableTime) {
677
- const [year, month, day] = formatted.split("-").map(Number);
678
- date = new Date(
679
- Date.UTC(
680
- year,
681
- month - 1,
682
- day,
683
- this.startHour,
684
- this.startMinute,
685
- this.startSecond
686
- )
687
- );
688
- } else {
689
- date = this.parseLocalDate(formatted);
690
- }
691
- if (this.minDate) {
692
- const min = this.parseLocalDate(this.minDate);
693
- if (date < min) {
694
- const message = `Date must be on or after ${this.formatDateForError(this.minDate)}`;
695
- this.setInputValidationError(input, message);
696
- return;
697
- }
698
- }
699
- if (this.maxDate) {
700
- const max = this.parseLocalDate(this.maxDate);
701
- if (date > max) {
702
- const message = `Date must be on or before ${this.formatDateForError(this.maxDate)}`;
703
- this.setInputValidationError(input, message);
704
- return;
705
- }
706
- }
707
- this.selectedStart = date;
708
- this.selectedEnd = null;
709
- this.updateMonthViews();
710
- input.value = formatted;
711
- input.setCustomValidity("");
712
- this.emitChange();
713
- }
714
- }
715
- handleStartInputBlur(event) {
716
- const input = event.target;
717
- const value = input.value || "";
718
- if (!value.trim()) {
719
- this.selectedStart = null;
720
- input.setCustomValidity("");
721
- this.emitChange();
722
- return;
723
- }
724
- const formatted = this.parseAndFormatDate(value);
725
- if (!formatted) {
726
- const message = "Invalid date format";
727
- this.setInputValidationError(input, message);
728
- return;
729
- }
730
- let date;
731
- if (this.enableTime && formatted.includes("T")) {
732
- date = new Date(formatted);
733
- this.initializeTimeFromDate(date, true);
734
- } else if (this.enableTime) {
735
- const [year, month, day] = formatted.split("-").map(Number);
736
- date = new Date(
737
- Date.UTC(
738
- year,
739
- month - 1,
740
- day,
741
- this.startHour,
742
- this.startMinute,
743
- this.startSecond
744
- )
745
- );
746
- } else {
747
- date = this.parseLocalDate(formatted);
748
- }
749
- if (this.minDate) {
750
- const min = this.parseLocalDate(this.minDate);
751
- if (date < min) {
752
- const message = `Date must be on or after ${this.formatDateForError(this.minDate)}`;
753
- this.setInputValidationError(input, message);
754
- return;
755
- }
756
- }
757
- if (this.maxDate) {
758
- const max = this.parseLocalDate(this.maxDate);
759
- if (date > max) {
760
- const message = `Date must be on or before ${this.formatDateForError(this.maxDate)}`;
761
- this.setInputValidationError(input, message);
762
- return;
763
- }
764
- }
765
- if (this.selectedEnd && date > this.selectedEnd) {
766
- const message = "Start date must be before end date";
767
- this.setInputValidationError(input, message);
768
- return;
769
- }
770
- this.selectedStart = date;
771
- this.leftMonth = new Date(date);
772
- input.value = formatted;
773
- input.setCustomValidity("");
774
- this.emitChange();
775
- }
776
- handleEndInputBlur(event) {
777
- const input = event.target;
778
- const value = input.value || "";
779
- if (!value.trim()) {
780
- this.selectedEnd = null;
781
- input.setCustomValidity("");
782
- this.emitChange();
783
- return;
784
- }
785
- const formatted = this.parseAndFormatDate(value);
786
- if (!formatted) {
787
- const message = "Invalid date format";
788
- this.setInputValidationError(input, message);
789
- return;
790
- }
791
- let date;
792
- if (this.enableTime && formatted.includes("T")) {
793
- date = new Date(formatted);
794
- this.initializeTimeFromDate(date, false);
795
- } else if (this.enableTime) {
796
- const [year, month, day] = formatted.split("-").map(Number);
797
- date = new Date(
798
- Date.UTC(
799
- year,
800
- month - 1,
801
- day,
802
- this.endHour,
803
- this.endMinute,
804
- this.endSecond
805
- )
806
- );
807
- } else {
808
- date = this.parseLocalDate(formatted);
809
- }
810
- if (this.minDate) {
811
- const min = this.parseLocalDate(this.minDate);
812
- if (date < min) {
813
- const message = `Date must be on or after ${this.formatDateForError(this.minDate)}`;
814
- this.setInputValidationError(input, message);
815
- return;
816
- }
817
- }
818
- if (this.maxDate) {
819
- const max = this.parseLocalDate(this.maxDate);
820
- if (date > max) {
821
- const message = `Date must be on or before ${this.formatDateForError(this.maxDate)}`;
822
- this.setInputValidationError(input, message);
823
- return;
824
- }
825
- }
826
- if (this.selectedStart) {
827
- if (this.enableTime && this.isSameDay(date, this.selectedStart)) {
828
- const startTimeSeconds = this.startHour * 3600 + this.startMinute * 60 + this.startSecond;
829
- const endTimeSeconds = this.endHour * 3600 + this.endMinute * 60 + this.endSecond;
830
- if (endTimeSeconds < startTimeSeconds) {
831
- const message = "End time must be after start time when dates are the same";
832
- this.setInputValidationError(input, message);
833
- return;
834
- }
835
- } else if (date < this.selectedStart) {
836
- const message = "End date must be after start date";
837
- this.setInputValidationError(input, message);
838
- return;
839
- }
840
- }
841
- this.selectedEnd = date;
842
- if (this.selectedStart && this.isSameMonth(this.selectedStart, this.selectedEnd)) {
843
- this.rightMonth = new Date(this.selectedStart);
844
- this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
845
- } else {
846
- this.rightMonth = new Date(date);
847
- }
848
- input.setCustomValidity("");
849
- this.emitChange();
850
- }
851
- updateMonthViews() {
852
- if (this.selectedStart) {
853
- this.leftMonth = new Date(this.selectedStart);
854
- if (this.range && this.selectedEnd) {
855
- if (this.isSameMonth(this.selectedStart, this.selectedEnd)) {
856
- this.rightMonth = new Date(this.selectedStart);
857
- this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
858
- } else {
859
- this.rightMonth = new Date(this.selectedEnd);
860
- }
861
- }
862
- }
863
- }
864
- handleKeydown(event) {
865
- if (event.key === " ") {
866
- event.stopPropagation();
867
- return;
868
- }
869
- if (event.key === "Enter") {
870
- event.preventDefault();
871
- this.handleInputBlur(event);
872
- }
873
- }
874
- previousMonth(isLeft) {
875
- if (isLeft) {
876
- const newMonth = new Date(this.leftMonth);
877
- newMonth.setMonth(newMonth.getMonth() - 1);
878
- this.leftMonth = newMonth;
879
- } else {
880
- const newMonth = new Date(this.rightMonth);
881
- newMonth.setMonth(newMonth.getMonth() - 1);
882
- this.rightMonth = newMonth;
883
- }
884
- }
885
- nextMonth(isLeft) {
886
- if (isLeft) {
887
- const newMonth = new Date(this.leftMonth);
888
- newMonth.setMonth(newMonth.getMonth() + 1);
889
- this.leftMonth = newMonth;
890
- } else {
891
- const newMonth = new Date(this.rightMonth);
892
- newMonth.setMonth(newMonth.getMonth() + 1);
893
- this.rightMonth = newMonth;
894
- }
895
- }
896
- toggleMonthDropdown(isLeft, event) {
897
- event.stopPropagation();
898
- if (isLeft) {
899
- this.showLeftMonthDropdown = !this.showLeftMonthDropdown;
900
- this.showRightMonthDropdown = false;
901
- } else {
902
- this.showRightMonthDropdown = !this.showRightMonthDropdown;
903
- this.showLeftMonthDropdown = false;
904
- }
905
- }
906
- selectMonth(month, isLeft) {
907
- if (isLeft) {
908
- const newMonth = new Date(this.leftMonth);
909
- newMonth.setDate(1);
910
- newMonth.setMonth(month);
911
- this.leftMonth = newMonth;
912
- this.showLeftMonthDropdown = false;
913
- } else {
914
- const newMonth = new Date(this.rightMonth);
915
- newMonth.setDate(1);
916
- newMonth.setMonth(month);
917
- this.rightMonth = newMonth;
918
- this.showRightMonthDropdown = false;
919
- }
920
- }
921
- changeYear(delta, isLeft) {
922
- if (isLeft) {
923
- const newMonth = new Date(this.leftMonth);
924
- newMonth.setFullYear(newMonth.getFullYear() + delta);
925
- this.leftMonth = newMonth;
926
- } else {
927
- const newMonth = new Date(this.rightMonth);
928
- newMonth.setFullYear(newMonth.getFullYear() + delta);
929
- this.rightMonth = newMonth;
930
- }
931
- }
932
- handleYearInput(event, isLeft) {
933
- const input = event.target;
934
- const year = parseInt(input.value, 10);
935
- if (!isNaN(year) && year >= 1900 && year <= 2100) {
936
- if (isLeft) {
937
- const newMonth = new Date(this.leftMonth);
938
- newMonth.setFullYear(year);
939
- this.leftMonth = newMonth;
940
- } else {
941
- const newMonth = new Date(this.rightMonth);
942
- newMonth.setFullYear(year);
943
- this.rightMonth = newMonth;
944
- }
945
- }
946
- }
947
- getDaysInMonth(date) {
948
- const year = date.getFullYear();
949
- const month = date.getMonth();
950
- const createDate = (y, m, d) => {
951
- if (this.enableTime) {
952
- return new Date(Date.UTC(y, m, d, 0, 0, 0));
953
- }
954
- return new Date(y, m, d);
955
- };
956
- const firstDay = createDate(year, month, 1);
957
- const lastDay = new Date(year, month + 1, 0);
958
- const days = [];
959
- const firstDayOfWeek = this.enableTime ? firstDay.getUTCDay() : firstDay.getDay();
960
- for (let i = firstDayOfWeek - 1; i >= 0; i--) {
961
- const day = createDate(year, month, -i);
962
- days.push(day);
963
- }
964
- for (let i = 1; i <= lastDay.getDate(); i++) {
965
- days.push(createDate(year, month, i));
966
- }
967
- const remainingDays = 7 - days.length % 7;
968
- if (remainingDays < 7) {
969
- for (let i = 1; i <= remainingDays; i++) {
970
- days.push(createDate(year, month + 1, i));
971
- }
972
- }
973
- return days;
974
- }
975
- isSameDay(date1, date2) {
976
- if (!date1 || !date2)
977
- return false;
978
- if (this.enableTime) {
979
- return date1.getUTCFullYear() === date2.getUTCFullYear() && date1.getUTCMonth() === date2.getUTCMonth() && date1.getUTCDate() === date2.getUTCDate();
980
- }
981
- return date1.getFullYear() === date2.getFullYear() && date1.getMonth() === date2.getMonth() && date1.getDate() === date2.getDate();
982
- }
983
- isInRange(date) {
984
- if (!this.selectedStart || !this.selectedEnd)
985
- return false;
986
- const time = date.getTime();
987
- return time >= this.selectedStart.getTime() && time <= this.selectedEnd.getTime();
988
- }
989
- isInHoverRange(date) {
990
- if (!this.range || !this.selectedStart || !this.hoverDate || this.selectedEnd)
991
- return false;
992
- const time = date.getTime();
993
- const start = Math.min(this.selectedStart.getTime(), this.hoverDate.getTime());
994
- const end = Math.max(this.selectedStart.getTime(), this.hoverDate.getTime());
995
- return time >= start && time <= end;
996
- }
997
- isDisabled(date) {
998
- if (this.minDate) {
999
- const min = this.parseLocalDate(this.minDate);
1000
- const minMidnight = new Date(
1001
- Date.UTC(min.getUTCFullYear(), min.getUTCMonth(), min.getUTCDate())
1002
- );
1003
- const dateMidnight = new Date(
1004
- Date.UTC(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate())
1005
- );
1006
- if (dateMidnight < minMidnight)
1007
- return true;
1008
- }
1009
- if (this.maxDate) {
1010
- const max = this.parseLocalDate(this.maxDate);
1011
- const maxMidnight = new Date(
1012
- Date.UTC(max.getUTCFullYear(), max.getUTCMonth(), max.getUTCDate())
1013
- );
1014
- const dateMidnight = new Date(
1015
- Date.UTC(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate())
1016
- );
1017
- if (dateMidnight > maxMidnight)
1018
- return true;
1019
- }
1020
- return false;
1021
- }
1022
- selectDate(date) {
1023
- if (this.isDisabled(date)) {
1024
- this.emit("terra-date-selection-invalid", {
1025
- detail: {
1026
- message: `You are not allowed to select dates outside ${this.minDate} to ${this.maxDate}.`
1027
- }
1028
- });
1029
- return;
1030
- }
1031
- this.clearInputValidation();
1032
- if (this.range) {
1033
- if (!this.selectedStart || this.selectedEnd) {
1034
- this.selectedStart = date;
1035
- this.selectedEnd = null;
1036
- this.isSelectingRange = true;
1037
- } else {
1038
- if (date < this.selectedStart) {
1039
- this.selectedEnd = this.selectedStart;
1040
- this.selectedStart = date;
1041
- } else {
1042
- this.selectedEnd = date;
1043
- }
1044
- this.isSelectingRange = false;
1045
- if (this.enableTime && this.selectedStart && this.selectedEnd && this.isSameDay(this.selectedStart, this.selectedEnd)) {
1046
- const startTimeSeconds = this.startHour * 3600 + this.startMinute * 60 + this.startSecond;
1047
- const endTimeSeconds = this.endHour * 3600 + this.endMinute * 60 + this.endSecond;
1048
- if (endTimeSeconds < startTimeSeconds) {
1049
- this.emit("terra-date-selection-invalid", {
1050
- detail: {
1051
- message: "End time is before start time. Please adjust the time values."
1052
- }
1053
- });
1054
- }
1055
- }
1056
- this.emitChange();
1057
- if (!this.inline) {
1058
- this.isOpen = false;
1059
- }
1060
- }
1061
- } else {
1062
- this.selectedStart = date;
1063
- this.selectedEnd = null;
1064
- this.emitChange();
1065
- if (!this.inline) {
1066
- this.isOpen = false;
1067
- }
1068
- }
1069
- }
1070
- handleDateHover(date) {
1071
- if (this.range && this.selectedStart && !this.selectedEnd) {
1072
- this.hoverDate = date;
1073
- }
1074
- }
1075
- selectPreset(preset) {
1076
- const { startDate, endDate } = preset.getValue();
1077
- if (!this.isPresetWithinBounds({ startDate, endDate })) {
1078
- this.emit("terra-date-selection-invalid", {
1079
- detail: {
1080
- message: `The preset "${preset.label}" is not available within the allowed date range ${this.minDate} to ${this.maxDate}.`
1081
- }
1082
- });
1083
- return;
1084
- }
1085
- this.clearInputValidation();
1086
- const { min, max } = this.getBounds();
1087
- if (this.range) {
1088
- let s = startDate;
1089
- let e3 = endDate;
1090
- if (s && min && s < min)
1091
- s = new Date(min);
1092
- if (s && max && s > max)
1093
- s = new Date(max);
1094
- if (e3 && min && e3 < min)
1095
- e3 = new Date(min);
1096
- if (e3 && max && e3 > max)
1097
- e3 = new Date(max);
1098
- if (s && e3 && e3 < s) {
1099
- const tmp = s;
1100
- s = e3;
1101
- e3 = tmp;
1102
- }
1103
- this.selectedStart = s;
1104
- this.selectedEnd = e3;
1105
- } else {
1106
- let s = startDate;
1107
- if (s && min && s < min)
1108
- s = new Date(min);
1109
- if (s && max && s > max)
1110
- s = new Date(max);
1111
- this.selectedStart = s;
1112
- this.selectedEnd = null;
1113
- }
1114
- if (this.selectedStart) {
1115
- this.leftMonth = new Date(this.selectedStart);
1116
- if (this.range && this.selectedEnd) {
1117
- this.rightMonth = new Date(this.selectedEnd);
1118
- }
1119
- }
1120
- this.emitChange();
1121
- if (!this.range && !this.inline) {
1122
- this.isOpen = false;
1123
- }
1124
- }
1125
- emitChange() {
1126
- let startDateTime = "";
1127
- let endDateTime = "";
1128
- if (this.selectedStart) {
1129
- if (this.enableTime) {
1130
- const startDate = new Date(this.selectedStart);
1131
- startDate.setUTCHours(
1132
- this.startHour,
1133
- this.startMinute,
1134
- this.startSecond,
1135
- 0
1136
- );
1137
- startDateTime = startDate.toISOString();
1138
- } else {
1139
- const year = this.selectedStart.getFullYear();
1140
- const month = String(this.selectedStart.getMonth() + 1).padStart(
1141
- 2,
1142
- "0"
1143
- );
1144
- const day = String(this.selectedStart.getDate()).padStart(2, "0");
1145
- startDateTime = `${year}-${month}-${day}`;
1146
- }
1147
- }
1148
- if (this.selectedEnd) {
1149
- if (this.enableTime) {
1150
- const endDate = new Date(this.selectedEnd);
1151
- endDate.setUTCHours(this.endHour, this.endMinute, this.endSecond, 0);
1152
- endDateTime = endDate.toISOString();
1153
- } else {
1154
- const year = this.selectedEnd.getFullYear();
1155
- const month = String(this.selectedEnd.getMonth() + 1).padStart(2, "0");
1156
- const day = String(this.selectedEnd.getDate()).padStart(2, "0");
1157
- endDateTime = `${year}-${month}-${day}`;
1158
- }
1159
- }
1160
- this.emit("terra-date-range-change", {
1161
- detail: {
1162
- startDate: startDateTime,
1163
- endDate: endDateTime
1164
- }
1165
- });
1166
- }
1167
- initializeTimeFromDate(date, isStart) {
1168
- const hours = date.getUTCHours();
1169
- const minutes = date.getUTCMinutes();
1170
- const seconds = date.getUTCSeconds();
1171
- if (isStart) {
1172
- this.startHour = hours;
1173
- this.startMinute = minutes;
1174
- this.startSecond = seconds;
1175
- } else {
1176
- this.endHour = hours;
1177
- this.endMinute = minutes;
1178
- this.endSecond = seconds;
1179
- }
1180
- }
1181
- changeTime(type, delta, isStart) {
1182
- if (type === "hour") {
1183
- if (isStart) {
1184
- let newHour = this.startHour + delta;
1185
- if (newHour > 23)
1186
- newHour = 0;
1187
- if (newHour < 0)
1188
- newHour = 23;
1189
- this.startHour = newHour;
1190
- } else {
1191
- let newHour = this.endHour + delta;
1192
- if (newHour > 23)
1193
- newHour = 0;
1194
- if (newHour < 0)
1195
- newHour = 23;
1196
- this.endHour = newHour;
1197
- }
1198
- } else if (type === "minute") {
1199
- if (isStart) {
1200
- let newMinute = this.startMinute + delta;
1201
- if (newMinute >= 60)
1202
- newMinute = 0;
1203
- if (newMinute < 0)
1204
- newMinute = 59;
1205
- this.startMinute = newMinute;
1206
- } else {
1207
- let newMinute = this.endMinute + delta;
1208
- if (newMinute >= 60)
1209
- newMinute = 0;
1210
- if (newMinute < 0)
1211
- newMinute = 59;
1212
- this.endMinute = newMinute;
1213
- }
1214
- } else {
1215
- if (isStart) {
1216
- let newSecond = this.startSecond + delta;
1217
- if (newSecond >= 60)
1218
- newSecond = 0;
1219
- if (newSecond < 0)
1220
- newSecond = 59;
1221
- this.startSecond = newSecond;
1222
- } else {
1223
- let newSecond = this.endSecond + delta;
1224
- if (newSecond >= 60)
1225
- newSecond = 0;
1226
- if (newSecond < 0)
1227
- newSecond = 59;
1228
- this.endSecond = newSecond;
1229
- }
1230
- }
1231
- this.emitChange();
1232
- this.requestUpdate();
1233
- }
1234
- handleTimeInput(event, type, isStart) {
1235
- const input = event.target;
1236
- let value = parseInt(input.value, 10);
1237
- if (type === "hour") {
1238
- if (isNaN(value) || value < 0 || value > 23) {
1239
- input.value = isStart ? this.startHour.toString().padStart(2, "0") : this.endHour.toString().padStart(2, "0");
1240
- return;
1241
- }
1242
- if (isStart)
1243
- this.startHour = value;
1244
- else
1245
- this.endHour = value;
1246
- } else if (type === "minute") {
1247
- if (isNaN(value) || value < 0 || value >= 60) {
1248
- input.value = isStart ? this.startMinute.toString().padStart(2, "0") : this.endMinute.toString().padStart(2, "0");
1249
- return;
1250
- }
1251
- if (isStart)
1252
- this.startMinute = value;
1253
- else
1254
- this.endMinute = value;
1255
- } else {
1256
- if (isNaN(value) || value < 0 || value >= 60) {
1257
- input.value = isStart ? this.startSecond.toString().padStart(2, "0") : this.endSecond.toString().padStart(2, "0");
1258
- return;
1259
- }
1260
- if (isStart)
1261
- this.startSecond = value;
1262
- else
1263
- this.endSecond = value;
1264
- }
1265
- this.emitChange();
1266
- this.requestUpdate();
1267
- }
1268
- renderCalendar(month, isLeft = true) {
1269
- const days = this.getDaysInMonth(month);
1270
- const currentMonth = month.getMonth();
1271
- const showDropdown = isLeft ? this.showLeftMonthDropdown : this.showRightMonthDropdown;
1272
- return x`
1273
- <div class="calendar">
1274
- <div class="calendar__header">
1275
- <button
1276
- type="button"
1277
- class="calendar__nav"
1278
- @click=${() => this.previousMonth(isLeft)}
1279
- >
1280
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none">
1281
- <path
1282
- d="M10 12L6 8L10 4"
1283
- stroke="currentColor"
1284
- stroke-width="2"
1285
- stroke-linecap="round"
1286
- stroke-linejoin="round"
1287
- />
1288
- </svg>
1289
- </button>
1290
-
1291
- <div class="calendar__month-year">
1292
- <div class="calendar__month-dropdown-wrapper">
1293
- <button
1294
- type="button"
1295
- class="calendar__month-button"
1296
- @click=${(e3) => this.toggleMonthDropdown(isLeft, e3)}
1297
- >
1298
- ${this.MONTHS[month.getMonth()]}
1299
- <svg
1300
- width="12"
1301
- height="12"
1302
- viewBox="0 0 12 12"
1303
- fill="none"
1304
- class="calendar__month-icon"
1305
- >
1306
- <path
1307
- d="M3 5L6 8L9 5"
1308
- stroke="currentColor"
1309
- stroke-width="1.5"
1310
- stroke-linecap="round"
1311
- stroke-linejoin="round"
1312
- />
1313
- </svg>
1314
- </button>
1315
-
1316
- ${showDropdown ? x`
1317
- <div class="calendar__month-dropdown">
1318
- ${this.MONTHS.map(
1319
- (monthName, index) => x`
1320
- <button
1321
- type="button"
1322
- class="calendar__month-option ${index === month.getMonth() ? "calendar__month-option--selected" : ""}"
1323
- @click=${() => this.selectMonth(
1324
- index,
1325
- isLeft
1326
- )}
1327
- >
1328
- ${index === month.getMonth() ? x`
1329
- <svg
1330
- width="16"
1331
- height="16"
1332
- viewBox="0 0 16 16"
1333
- fill="none"
1334
- class="calendar__month-check"
1335
- >
1336
- <path
1337
- d="M13 4L6 11L3 8"
1338
- stroke="currentColor"
1339
- stroke-width="2"
1340
- stroke-linecap="round"
1341
- stroke-linejoin="round"
1342
- />
1343
- </svg>
1344
- ` : ""}
1345
- ${monthName}
1346
- </button>
1347
- `
1348
- )}
1349
- </div>
1350
- ` : ""}
1351
- </div>
1352
-
1353
- <div class="calendar__year-input-wrapper">
1354
- <input
1355
- type="number"
1356
- class="calendar__year-input"
1357
- .value=${month.getFullYear().toString()}
1358
- @input=${(e3) => this.handleYearInput(e3, isLeft)}
1359
- @blur=${(e3) => {
1360
- const input = e3.target;
1361
- input.value = month.getFullYear().toString();
1362
- }}
1363
- min="1900"
1364
- max="2100"
1365
- />
1366
- <div class="calendar__year-spinners">
1367
- <button
1368
- type="button"
1369
- class="calendar__year-spinner calendar__year-spinner--up"
1370
- @click=${() => this.changeYear(1, isLeft)}
1371
- >
1372
- <svg
1373
- width="10"
1374
- height="10"
1375
- viewBox="0 0 10 10"
1376
- fill="none"
1377
- >
1378
- <path
1379
- d="M2 6L5 3L8 6"
1380
- stroke="currentColor"
1381
- stroke-width="1.5"
1382
- stroke-linecap="round"
1383
- stroke-linejoin="round"
1384
- />
1385
- </svg>
1386
- </button>
1387
- <button
1388
- type="button"
1389
- class="calendar__year-spinner calendar__year-spinner--down"
1390
- @click=${() => this.changeYear(-1, isLeft)}
1391
- >
1392
- <svg
1393
- width="10"
1394
- height="10"
1395
- viewBox="0 0 10 10"
1396
- fill="none"
1397
- >
1398
- <path
1399
- d="M2 4L5 7L8 4"
1400
- stroke="currentColor"
1401
- stroke-width="1.5"
1402
- stroke-linecap="round"
1403
- stroke-linejoin="round"
1404
- />
1405
- </svg>
1406
- </button>
1407
- </div>
1408
- </div>
1409
- </div>
1410
-
1411
- <button
1412
- type="button"
1413
- class="calendar__nav"
1414
- @click=${() => this.nextMonth(isLeft)}
1415
- >
1416
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none">
1417
- <path
1418
- d="M6 12L10 8L6 4"
1419
- stroke="currentColor"
1420
- stroke-width="2"
1421
- stroke-linecap="round"
1422
- stroke-linejoin="round"
1423
- />
1424
- </svg>
1425
- </button>
1426
- </div>
1427
- <div class="calendar__weekdays">
1428
- ${this.DAYS.map(
1429
- (day) => x`<div class="calendar__weekday">${day}</div>`
1430
- )}
1431
- </div>
1432
- <div class="calendar__days">
1433
- ${days.map((date) => {
1434
- const dateMonth = this.enableTime ? date.getUTCMonth() : date.getMonth();
1435
- const dateDay = this.enableTime ? date.getUTCDate() : date.getDate();
1436
- const isCurrentMonth = dateMonth === currentMonth;
1437
- const isSelected = this.isSameDay(date, this.selectedStart) || this.isSameDay(date, this.selectedEnd);
1438
- const isStart = this.isSameDay(date, this.selectedStart);
1439
- const isEnd = this.isSameDay(date, this.selectedEnd);
1440
- const inRange = this.isInRange(date);
1441
- const inHoverRange = this.isInHoverRange(date);
1442
- const isDisabled = this.isDisabled(date);
1443
- return x`
1444
- <button
1445
- type="button"
1446
- class="calendar__day ${!isCurrentMonth ? "calendar__day--outside" : ""}
1447
- ${isSelected ? "calendar__day--selected" : ""}
1448
- ${isStart ? "calendar__day--start" : ""}
1449
- ${isEnd ? "calendar__day--end" : ""}
1450
- ${inRange ? "calendar__day--in-range" : ""}
1451
- ${inHoverRange ? "calendar__day--hover-range" : ""}
1452
- ${isDisabled ? "calendar__day--disabled" : ""}"
1453
- @click=${() => this.selectDate(date)}
1454
- @mouseenter=${() => this.handleDateHover(date)}
1455
- ?disabled=${isDisabled}
1456
- >
1457
- ${dateDay}
1458
- </button>
1459
- `;
1460
- })}
1461
- </div>
1462
- </div>
1463
- `;
1464
- }
1465
- renderTimePicker() {
1466
- if (!this.enableTime)
1467
- return "";
1468
- return x`
1469
- <div class="date-picker__time">
1470
- <div class="date-picker__time-section">
1471
- <div class="date-picker__time-inputs">
1472
- <div class="date-picker__time-input-group">
1473
- <input
1474
- type="number"
1475
- class="date-picker__time-input"
1476
- .value=${this.startHour.toString().padStart(2, "0")}
1477
- @input=${(e3) => this.handleTimeInput(e3, "hour", true)}
1478
- @blur=${(e3) => {
1479
- const input = e3.target;
1480
- input.value = this.startHour.toString().padStart(2, "0");
1481
- }}
1482
- min="0"
1483
- max="23"
1484
- />
1485
- <div class="date-picker__time-spinners">
1486
- <button
1487
- type="button"
1488
- class="date-picker__time-spinner"
1489
- @click=${() => this.changeTime("hour", 1, true)}
1490
- >
1491
- <svg
1492
- width="10"
1493
- height="10"
1494
- viewBox="0 0 10 10"
1495
- fill="none"
1496
- >
1497
- <path
1498
- d="M2 6L5 3L8 6"
1499
- stroke="currentColor"
1500
- stroke-width="1.5"
1501
- stroke-linecap="round"
1502
- stroke-linejoin="round"
1503
- />
1504
- </svg>
1505
- </button>
1506
- <button
1507
- type="button"
1508
- class="date-picker__time-spinner"
1509
- @click=${() => this.changeTime("hour", -1, true)}
1510
- >
1511
- <svg
1512
- width="10"
1513
- height="10"
1514
- viewBox="0 0 10 10"
1515
- fill="none"
1516
- >
1517
- <path
1518
- d="M2 4L5 7L8 4"
1519
- stroke="currentColor"
1520
- stroke-width="1.5"
1521
- stroke-linecap="round"
1522
- stroke-linejoin="round"
1523
- />
1524
- </svg>
1525
- </button>
1526
- </div>
1527
- </div>
1528
-
1529
- <span class="date-picker__time-separator">:</span>
1530
-
1531
- <div class="date-picker__time-input-group">
1532
- <input
1533
- type="number"
1534
- class="date-picker__time-input"
1535
- .value=${this.startMinute.toString().padStart(2, "0")}
1536
- @input=${(e3) => this.handleTimeInput(e3, "minute", true)}
1537
- @blur=${(e3) => {
1538
- const input = e3.target;
1539
- input.value = this.startMinute.toString().padStart(2, "0");
1540
- }}
1541
- min="0"
1542
- max="59"
1543
- />
1544
- <div class="date-picker__time-spinners">
1545
- <button
1546
- type="button"
1547
- class="date-picker__time-spinner"
1548
- @click=${() => this.changeTime("minute", 1, true)}
1549
- >
1550
- <svg
1551
- width="10"
1552
- height="10"
1553
- viewBox="0 0 10 10"
1554
- fill="none"
1555
- >
1556
- <path
1557
- d="M2 6L5 3L8 6"
1558
- stroke="currentColor"
1559
- stroke-width="1.5"
1560
- stroke-linecap="round"
1561
- stroke-linejoin="round"
1562
- />
1563
- </svg>
1564
- </button>
1565
- <button
1566
- type="button"
1567
- class="date-picker__time-spinner"
1568
- @click=${() => this.changeTime("minute", -1, true)}
1569
- >
1570
- <svg
1571
- width="10"
1572
- height="10"
1573
- viewBox="0 0 10 10"
1574
- fill="none"
1575
- >
1576
- <path
1577
- d="M2 4L5 7L8 4"
1578
- stroke="currentColor"
1579
- stroke-width="1.5"
1580
- stroke-linecap="round"
1581
- stroke-linejoin="round"
1582
- />
1583
- </svg>
1584
- </button>
1585
- </div>
1586
- </div>
1587
-
1588
- <span class="date-picker__time-separator">:</span>
1589
-
1590
- <div class="date-picker__time-input-group">
1591
- <input
1592
- type="number"
1593
- class="date-picker__time-input"
1594
- .value=${this.startSecond.toString().padStart(2, "0")}
1595
- @input=${(e3) => this.handleTimeInput(e3, "second", true)}
1596
- @blur=${(e3) => {
1597
- const input = e3.target;
1598
- input.value = this.startSecond.toString().padStart(2, "0");
1599
- }}
1600
- min="0"
1601
- max="59"
1602
- />
1603
- <div class="date-picker__time-spinners">
1604
- <button
1605
- type="button"
1606
- class="date-picker__time-spinner"
1607
- @click=${() => this.changeTime("second", 1, true)}
1608
- >
1609
- <svg
1610
- width="10"
1611
- height="10"
1612
- viewBox="0 0 10 10"
1613
- fill="none"
1614
- >
1615
- <path
1616
- d="M2 6L5 3L8 6"
1617
- stroke="currentColor"
1618
- stroke-width="1.5"
1619
- stroke-linecap="round"
1620
- stroke-linejoin="round"
1621
- />
1622
- </svg>
1623
- </button>
1624
- <button
1625
- type="button"
1626
- class="date-picker__time-spinner"
1627
- @click=${() => this.changeTime("second", -1, true)}
1628
- >
1629
- <svg
1630
- width="10"
1631
- height="10"
1632
- viewBox="0 0 10 10"
1633
- fill="none"
1634
- >
1635
- <path
1636
- d="M2 4L5 7L8 4"
1637
- stroke="currentColor"
1638
- stroke-width="1.5"
1639
- stroke-linecap="round"
1640
- stroke-linejoin="round"
1641
- />
1642
- </svg>
1643
- </button>
1644
- </div>
1645
- </div>
1646
- </div>
1647
- </div>
1648
-
1649
- ${this.range ? x`
1650
- <span class="date-picker__separator">–</span>
1651
-
1652
- <div class="date-picker__time-section">
1653
- <div class="date-picker__time-inputs">
1654
- <div class="date-picker__time-input-group">
1655
- <input
1656
- type="number"
1657
- class="date-picker__time-input"
1658
- .value=${this.endHour.toString().padStart(2, "0")}
1659
- @input=${(e3) => this.handleTimeInput(e3, "hour", false)}
1660
- @blur=${(e3) => {
1661
- const input = e3.target;
1662
- input.value = this.endHour.toString().padStart(2, "0");
1663
- }}
1664
- min="0"
1665
- max="23"
1666
- />
1667
- <div class="date-picker__time-spinners">
1668
- <button
1669
- type="button"
1670
- class="date-picker__time-spinner"
1671
- @click=${() => this.changeTime("hour", 1, false)}
1672
- >
1673
- <svg
1674
- width="10"
1675
- height="10"
1676
- viewBox="0 0 10 10"
1677
- fill="none"
1678
- >
1679
- <path
1680
- d="M2 6L5 3L8 6"
1681
- stroke="currentColor"
1682
- stroke-width="1.5"
1683
- stroke-linecap="round"
1684
- stroke-linejoin="round"
1685
- />
1686
- </svg>
1687
- </button>
1688
- <button
1689
- type="button"
1690
- class="date-picker__time-spinner"
1691
- @click=${() => this.changeTime("hour", -1, false)}
1692
- >
1693
- <svg
1694
- width="10"
1695
- height="10"
1696
- viewBox="0 0 10 10"
1697
- fill="none"
1698
- >
1699
- <path
1700
- d="M2 4L5 7L8 4"
1701
- stroke="currentColor"
1702
- stroke-width="1.5"
1703
- stroke-linecap="round"
1704
- stroke-linejoin="round"
1705
- />
1706
- </svg>
1707
- </button>
1708
- </div>
1709
- </div>
1710
-
1711
- <span class="date-picker__time-separator">:</span>
1712
-
1713
- <div class="date-picker__time-input-group">
1714
- <input
1715
- type="number"
1716
- class="date-picker__time-input"
1717
- .value=${this.endMinute.toString().padStart(2, "0")}
1718
- @input=${(e3) => this.handleTimeInput(
1719
- e3,
1720
- "minute",
1721
- false
1722
- )}
1723
- @blur=${(e3) => {
1724
- const input = e3.target;
1725
- input.value = this.endMinute.toString().padStart(2, "0");
1726
- }}
1727
- min="0"
1728
- max="59"
1729
- />
1730
- <div class="date-picker__time-spinners">
1731
- <button
1732
- type="button"
1733
- class="date-picker__time-spinner"
1734
- @click=${() => this.changeTime("minute", 1, false)}
1735
- >
1736
- <svg
1737
- width="10"
1738
- height="10"
1739
- viewBox="0 0 10 10"
1740
- fill="none"
1741
- >
1742
- <path
1743
- d="M2 6L5 3L8 6"
1744
- stroke="currentColor"
1745
- stroke-width="1.5"
1746
- stroke-linecap="round"
1747
- stroke-linejoin="round"
1748
- />
1749
- </svg>
1750
- </button>
1751
- <button
1752
- type="button"
1753
- class="date-picker__time-spinner"
1754
- @click=${() => this.changeTime(
1755
- "minute",
1756
- -1,
1757
- false
1758
- )}
1759
- >
1760
- <svg
1761
- width="10"
1762
- height="10"
1763
- viewBox="0 0 10 10"
1764
- fill="none"
1765
- >
1766
- <path
1767
- d="M2 4L5 7L8 4"
1768
- stroke="currentColor"
1769
- stroke-width="1.5"
1770
- stroke-linecap="round"
1771
- stroke-linejoin="round"
1772
- />
1773
- </svg>
1774
- </button>
1775
- </div>
1776
- </div>
1777
-
1778
- <span class="date-picker__time-separator">:</span>
1779
-
1780
- <div class="date-picker__time-input-group">
1781
- <input
1782
- type="number"
1783
- class="date-picker__time-input"
1784
- .value=${this.endSecond.toString().padStart(2, "0")}
1785
- @input=${(e3) => this.handleTimeInput(
1786
- e3,
1787
- "second",
1788
- false
1789
- )}
1790
- @blur=${(e3) => {
1791
- const input = e3.target;
1792
- input.value = this.endSecond.toString().padStart(2, "0");
1793
- }}
1794
- min="0"
1795
- max="59"
1796
- />
1797
- <div class="date-picker__time-spinners">
1798
- <button
1799
- type="button"
1800
- class="date-picker__time-spinner"
1801
- @click=${() => this.changeTime("second", 1, false)}
1802
- >
1803
- <svg
1804
- width="10"
1805
- height="10"
1806
- viewBox="0 0 10 10"
1807
- fill="none"
1808
- >
1809
- <path
1810
- d="M2 6L5 3L8 6"
1811
- stroke="currentColor"
1812
- stroke-width="1.5"
1813
- stroke-linecap="round"
1814
- stroke-linejoin="round"
1815
- />
1816
- </svg>
1817
- </button>
1818
- <button
1819
- type="button"
1820
- class="date-picker__time-spinner"
1821
- @click=${() => this.changeTime(
1822
- "second",
1823
- -1,
1824
- false
1825
- )}
1826
- >
1827
- <svg
1828
- width="10"
1829
- height="10"
1830
- viewBox="0 0 10 10"
1831
- fill="none"
1832
- >
1833
- <path
1834
- d="M2 4L5 7L8 4"
1835
- stroke="currentColor"
1836
- stroke-width="1.5"
1837
- stroke-linecap="round"
1838
- stroke-linejoin="round"
1839
- />
1840
- </svg>
1841
- </button>
1842
- </div>
1843
- </div>
1844
- </div>
1845
- </div>
1846
- ` : ""}
1847
- </div>
1848
- `;
1849
- }
1850
- renderCalendarIcon() {
1851
- return x`
1852
- <svg
1853
- slot="suffix"
1854
- class="date-picker__icon"
1855
- width="20"
1856
- height="20"
1857
- viewBox="0 0 24 24"
1858
- fill="none"
1859
- stroke="currentColor"
1860
- stroke-width="2"
1861
- >
1862
- <rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect>
1863
- <line x1="16" y1="2" x2="16" y2="6"></line>
1864
- <line x1="8" y1="2" x2="8" y2="6"></line>
1865
- <line x1="3" y1="10" x2="21" y2="10"></line>
1866
- </svg>
1867
- `;
1868
- }
1869
- renderCalendarContent() {
1870
- return x`
1871
- <div class="date-picker__dropdown" part="calendar">
1872
- <div class="date-picker__content">
1873
- ${this.showPresets && this.filteredPresets.length > 0 ? x`
1874
- <div class="date-picker__sidebar" part="sidebar">
1875
- <slot name="sidebar-header"></slot>
1876
-
1877
- <div class="presets">
1878
- ${this.filteredPresets.map(
1879
- (preset) => x`
1880
- <button
1881
- type="button"
1882
- class="date-picker__preset"
1883
- @click=${() => this.selectPreset(preset)}
1884
- >
1885
- ${preset.label}
1886
- </button>
1887
- `
1888
- )}
1889
- </div>
1890
-
1891
- <slot name="sidebar-footer">
1892
- <terra-button
1893
- outline
1894
- variant="default"
1895
- size="small"
1896
- @click=${() => this.clear()}
1897
- >
1898
- ${this.clearAllLabel}
1899
- </terra-button>
1900
- </slot>
1901
- </div>
1902
- ` : ""}
1903
-
1904
- <div class="date-picker__calendars">
1905
- ${this.renderCalendar(this.leftMonth, true)}
1906
- ${this.range ? this.renderCalendar(this.rightMonth, false) : ""}
1907
- </div>
1908
- </div>
1909
-
1910
- ${this.enableTime ? this.renderTimePicker() : ""}
1911
- </div>
1912
- `;
1913
- }
1914
- render() {
1915
- const showSplitInputs = this.range && this.splitInputs;
1916
- if (this.inline) {
1917
- return x`
1918
- <div
1919
- class="date-picker date-picker--inline ${showSplitInputs ? "date-picker--split-inputs" : ""}"
1920
- @click=${(e3) => e3.stopPropagation()}
1921
- >
1922
- ${showSplitInputs ? x`
1923
- <div class="date-picker__inputs">
1924
- <terra-input
1925
- .label=${this.startLabel || (this.label ? `${this.label} (Start)` : "Start Date")}
1926
- .hideLabel=${this.hideLabel}
1927
- .helpText=${this.startHelpText || this.helpText}
1928
- .value=${this.getStartDateDisplayValue()}
1929
- @terra-blur=${this.handleStartInputBlur}
1930
- @keydown=${this.handleKeydown}
1931
- placeholder=${this.startPlaceholder}
1932
- name="start-date"
1933
- >
1934
- ${this.renderCalendarIcon()}
1935
- </terra-input>
1936
- <terra-input
1937
- .label=${this.endLabel || (this.label ? `${this.label} (End)` : "End Date")}
1938
- .hideLabel=${this.hideLabel}
1939
- .helpText=${this.endHelpText || this.helpText}
1940
- .value=${this.getEndDateDisplayValue()}
1941
- @terra-blur=${this.handleEndInputBlur}
1942
- @keydown=${this.handleKeydown}
1943
- placeholder=${this.endPlaceholder}
1944
- name="end-date"
1945
- >
1946
- ${this.renderCalendarIcon()}
1947
- </terra-input>
1948
- </div>
1949
- ` : x`
1950
- <terra-input
1951
- .label=${this.label}
1952
- .hideLabel=${this.hideLabel}
1953
- .helpText=${this.helpText}
1954
- .value=${this.getDisplayValue()}
1955
- placeholder=${this.placeholder}
1956
- @terra-blur=${this.handleInputBlur}
1957
- @keydown=${this.handleKeydown}
1958
- name="date"
1959
- >
1960
- ${this.renderCalendarIcon()}
1961
- </terra-input>
1962
- `}
1963
-
1964
- <slot name="additional-text"></slot>
1965
-
1966
- <div class="date-picker__dropdown-wrapper">
1967
- <div
1968
- class="date-picker__dropdown date-picker__dropdown--inline"
1969
- part="calendar"
1970
- >
1971
- <div class="date-picker__content">
1972
- ${this.showPresets && this.filteredPresets.length > 0 ? x`
1973
- <div
1974
- class="date-picker__sidebar"
1975
- part="sidebar"
1976
- >
1977
- <slot name="sidebar-header"></slot>
1978
-
1979
- <div class="presets">
1980
- ${this.filteredPresets.map(
1981
- (preset) => x`
1982
- <button
1983
- type="button"
1984
- class="date-picker__preset"
1985
- @click=${() => this.selectPreset(
1986
- preset
1987
- )}
1988
- >
1989
- ${preset.label}
1990
- </button>
1991
- `
1992
- )}
1993
- </div>
1994
-
1995
- <slot name="sidebar-footer">
1996
- <terra-button
1997
- outline
1998
- variant="default"
1999
- size="small"
2000
- @click=${() => this.clear()}
2001
- >
2002
- ${this.clearAllLabel}
2003
- </terra-button>
2004
- </slot>
2005
- </div>
2006
- ` : ""}
2007
-
2008
- <div class="date-picker__calendars">
2009
- ${this.renderCalendar(this.leftMonth, true)}
2010
- ${this.range ? this.renderCalendar(this.rightMonth, false) : ""}
2011
- </div>
2012
- </div>
2013
-
2014
- ${this.enableTime ? this.renderTimePicker() : ""}
2015
- </div>
2016
- </div>
2017
- </div>
2018
- `;
2019
- }
2020
- return x`
2021
- <div
2022
- class="date-picker ${showSplitInputs ? "date-picker--split-inputs" : ""}"
2023
- @click=${(e3) => e3.stopPropagation()}
2024
- >
2025
- ${showSplitInputs ? x`
2026
- <div class="date-picker__inputs">
2027
- <terra-dropdown
2028
- ${n2(this.dropdownRef)}
2029
- placement="bottom-start"
2030
- distance="4"
2031
- @terra-show=${this.handleDropdownShow}
2032
- @terra-hide=${this.handleDropdownHide}
2033
- hoist
2034
- >
2035
- <terra-input
2036
- slot="trigger"
2037
- .label=${this.startLabel || (this.label ? `${this.label} (Start)` : "Start Date")}
2038
- .hideLabel=${this.hideLabel}
2039
- .helpText=${this.startHelpText || this.helpText}
2040
- .value=${this.getStartDateDisplayValue()}
2041
- placeholder=${this.startPlaceholder}
2042
- @terra-blur=${this.handleStartInputBlur}
2043
- @keydown=${this.handleKeydown}
2044
- name="start-date"
2045
- >
2046
- ${this.renderCalendarIcon()}
2047
- </terra-input>
2048
- ${this.renderCalendarContent()}
2049
- </terra-dropdown>
2050
- <terra-dropdown
2051
- placement="bottom-start"
2052
- distance="4"
2053
- @terra-show=${this.handleDropdownShow}
2054
- @terra-hide=${this.handleDropdownHide}
2055
- hoist
2056
- >
2057
- <terra-input
2058
- slot="trigger"
2059
- .label=${this.endLabel || (this.label ? `${this.label} (End)` : "End Date")}
2060
- .hideLabel=${this.hideLabel}
2061
- .helpText=${this.endHelpText || this.helpText}
2062
- .value=${this.getEndDateDisplayValue()}
2063
- placeholder=${this.endPlaceholder}
2064
- @terra-blur=${this.handleEndInputBlur}
2065
- @keydown=${this.handleKeydown}
2066
- name="end-date"
2067
- >
2068
- ${this.renderCalendarIcon()}
2069
- </terra-input>
2070
- ${this.renderCalendarContent()}
2071
- </terra-dropdown>
2072
- </div>
2073
- ` : x`
2074
- <terra-dropdown
2075
- ${n2(this.dropdownRef)}
2076
- placement="bottom-start"
2077
- distance="4"
2078
- @terra-show=${this.handleDropdownShow}
2079
- @terra-hide=${this.handleDropdownHide}
2080
- hoist
2081
- >
2082
- <terra-input
2083
- slot="trigger"
2084
- .label=${this.label}
2085
- .hideLabel=${this.hideLabel}
2086
- .helpText=${this.helpText}
2087
- .value=${this.getDisplayValue()}
2088
- placeholder=${this.placeholder}
2089
- @terra-blur=${this.handleInputBlur}
2090
- @keydown=${this.handleKeydown}
2091
- name="date"
2092
- >
2093
- ${this.renderCalendarIcon()}
2094
- </terra-input>
2095
- ${this.renderCalendarContent()}
2096
- </terra-dropdown>
2097
- `}
2098
- </div>
2099
- `;
2100
- }
2101
- };
2102
- TerraDatePicker.styles = [component_styles_default, date_picker_styles_default];
2103
- TerraDatePicker.dependencies = {
2104
- "terra-button": TerraButton,
2105
- "terra-input": TerraInput,
2106
- "terra-dropdown": TerraDropdown
2107
- };
2108
- __decorateClass([
2109
- n()
2110
- ], TerraDatePicker.prototype, "id", 2);
2111
- __decorateClass([
2112
- n({ type: Boolean, reflect: true })
2113
- ], TerraDatePicker.prototype, "range", 2);
2114
- __decorateClass([
2115
- n({ attribute: "min-date", reflect: true })
2116
- ], TerraDatePicker.prototype, "minDate", 2);
2117
- __decorateClass([
2118
- n({ attribute: "max-date", reflect: true })
2119
- ], TerraDatePicker.prototype, "maxDate", 2);
2120
- __decorateClass([
2121
- n({ attribute: "start-date", reflect: true })
2122
- ], TerraDatePicker.prototype, "startDate", 2);
2123
- __decorateClass([
2124
- n({ attribute: "end-date", reflect: true })
2125
- ], TerraDatePicker.prototype, "endDate", 2);
2126
- __decorateClass([
2127
- n({ attribute: "hide-label", type: Boolean })
2128
- ], TerraDatePicker.prototype, "hideLabel", 2);
2129
- __decorateClass([
2130
- n()
2131
- ], TerraDatePicker.prototype, "label", 2);
2132
- __decorateClass([
2133
- n({ attribute: "help-text" })
2134
- ], TerraDatePicker.prototype, "helpText", 2);
2135
- __decorateClass([
2136
- n({ attribute: "start-help-text" })
2137
- ], TerraDatePicker.prototype, "startHelpText", 2);
2138
- __decorateClass([
2139
- n({ attribute: "end-help-text" })
2140
- ], TerraDatePicker.prototype, "endHelpText", 2);
2141
- __decorateClass([
2142
- n({ attribute: "start-label" })
2143
- ], TerraDatePicker.prototype, "startLabel", 2);
2144
- __decorateClass([
2145
- n({ attribute: "end-label" })
2146
- ], TerraDatePicker.prototype, "endLabel", 2);
2147
- __decorateClass([
2148
- n({ type: Boolean, attribute: "show-presets" })
2149
- ], TerraDatePicker.prototype, "showPresets", 2);
2150
- __decorateClass([
2151
- n({ type: Array })
2152
- ], TerraDatePicker.prototype, "presets", 2);
2153
- __decorateClass([
2154
- n({ type: Boolean, attribute: "enable-time" })
2155
- ], TerraDatePicker.prototype, "enableTime", 2);
2156
- __decorateClass([
2157
- n({ attribute: "display-format" })
2158
- ], TerraDatePicker.prototype, "displayFormat", 2);
2159
- __decorateClass([
2160
- n({ type: Boolean })
2161
- ], TerraDatePicker.prototype, "inline", 2);
2162
- __decorateClass([
2163
- n({ type: Boolean, attribute: "split-inputs" })
2164
- ], TerraDatePicker.prototype, "splitInputs", 2);
2165
- __decorateClass([
2166
- n()
2167
- ], TerraDatePicker.prototype, "placeholder", 2);
2168
- __decorateClass([
2169
- n()
2170
- ], TerraDatePicker.prototype, "startPlaceholder", 2);
2171
- __decorateClass([
2172
- n()
2173
- ], TerraDatePicker.prototype, "endPlaceholder", 2);
2174
- __decorateClass([
2175
- n({ reflect: true })
2176
- ], TerraDatePicker.prototype, "role", 2);
2177
- __decorateClass([
2178
- n({ reflect: true, attribute: "aria-label" })
2179
- ], TerraDatePicker.prototype, "ariaLabel", 2);
2180
- __decorateClass([
2181
- n({ type: Boolean })
2182
- ], TerraDatePicker.prototype, "hideClearAll", 2);
2183
- __decorateClass([
2184
- n()
2185
- ], TerraDatePicker.prototype, "clearAllLabel", 2);
2186
- __decorateClass([
2187
- n({ type: Boolean, attribute: "use-end-of-day" })
2188
- ], TerraDatePicker.prototype, "useEndOfDay", 2);
2189
- __decorateClass([
2190
- r()
2191
- ], TerraDatePicker.prototype, "isOpen", 2);
2192
- __decorateClass([
2193
- r()
2194
- ], TerraDatePicker.prototype, "leftMonth", 2);
2195
- __decorateClass([
2196
- r()
2197
- ], TerraDatePicker.prototype, "rightMonth", 2);
2198
- __decorateClass([
2199
- r()
2200
- ], TerraDatePicker.prototype, "selectedStart", 2);
2201
- __decorateClass([
2202
- r()
2203
- ], TerraDatePicker.prototype, "selectedEnd", 2);
2204
- __decorateClass([
2205
- r()
2206
- ], TerraDatePicker.prototype, "hoverDate", 2);
2207
- __decorateClass([
2208
- r()
2209
- ], TerraDatePicker.prototype, "isSelectingRange", 2);
2210
- __decorateClass([
2211
- r()
2212
- ], TerraDatePicker.prototype, "showLeftMonthDropdown", 2);
2213
- __decorateClass([
2214
- r()
2215
- ], TerraDatePicker.prototype, "showRightMonthDropdown", 2);
2216
- __decorateClass([
2217
- r()
2218
- ], TerraDatePicker.prototype, "startHour", 2);
2219
- __decorateClass([
2220
- r()
2221
- ], TerraDatePicker.prototype, "startMinute", 2);
2222
- __decorateClass([
2223
- r()
2224
- ], TerraDatePicker.prototype, "startSecond", 2);
2225
- __decorateClass([
2226
- r()
2227
- ], TerraDatePicker.prototype, "endHour", 2);
2228
- __decorateClass([
2229
- r()
2230
- ], TerraDatePicker.prototype, "endMinute", 2);
2231
- __decorateClass([
2232
- r()
2233
- ], TerraDatePicker.prototype, "endSecond", 2);
2234
- __decorateClass([
2235
- r()
2236
- ], TerraDatePicker.prototype, "selectedDates", 2);
2237
- __decorateClass([
2238
- e(".date-picker__dropdown")
2239
- ], TerraDatePicker.prototype, "dropdown", 2);
2240
-
2241
- export {
2242
- TerraDatePicker
2243
- };