@nasa-terra/components 0.0.146 → 0.0.148

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 (1314) hide show
  1. package/cdn/chunks/chunk.26DDUSR7.js +1001 -0
  2. package/cdn/chunks/chunk.2AQWWBQP.js +83 -0
  3. package/cdn/chunks/chunk.2D24PNY3.js +977 -0
  4. package/cdn/chunks/chunk.2ERJP7EQ.js +19 -0
  5. package/cdn/chunks/chunk.2H5RKQQE.js +29 -0
  6. package/cdn/chunks/chunk.2HBCWWZY.js +155 -0
  7. package/cdn/chunks/chunk.2MOKVZJ5.js +110 -0
  8. package/cdn/chunks/chunk.2OATTCJS.js +60 -0
  9. package/cdn/chunks/chunk.2QLCPLJA.js +83 -0
  10. package/cdn/chunks/chunk.2U7IQRQF.js +29 -0
  11. package/cdn/chunks/chunk.3EEC7I6T.js +77 -0
  12. package/cdn/chunks/chunk.3FMOE22A.js +29 -0
  13. package/cdn/chunks/chunk.3GXOGKXF.js +19 -0
  14. package/cdn/chunks/chunk.3IITJSKJ.js +19 -0
  15. package/cdn/chunks/chunk.3IIWIDHX.js +19 -0
  16. package/cdn/chunks/chunk.3MFQHCTU.js +306 -0
  17. package/cdn/chunks/chunk.3MKYZ6M6.js +33 -0
  18. package/cdn/chunks/chunk.3P6RBNDU.js +524 -0
  19. package/cdn/chunks/chunk.3SO4K6Y3.js +355 -0
  20. package/cdn/chunks/chunk.3T3MJAQE.js +1885 -0
  21. package/cdn/chunks/chunk.3TGD65LI.js +29 -0
  22. package/cdn/chunks/chunk.42DMRGGV.js +235 -0
  23. package/cdn/chunks/chunk.4IRR2CH7.js +293 -0
  24. package/cdn/chunks/chunk.4N5QSR7H.js +113 -0
  25. package/cdn/chunks/chunk.4NP5NRI4.js +93 -0
  26. package/cdn/chunks/chunk.4R6JWWNF.js +19 -0
  27. package/cdn/chunks/chunk.4TZ3EHG3.js +19 -0
  28. package/cdn/chunks/chunk.4UL4WO5H.js +146 -0
  29. package/cdn/chunks/chunk.4XNBPCMS.js +30 -0
  30. package/cdn/chunks/chunk.53RLWPIG.js +19 -0
  31. package/cdn/chunks/chunk.57YZ5M3S.js +29 -0
  32. package/cdn/chunks/chunk.5BKRGPYR.js +37 -0
  33. package/cdn/chunks/chunk.5EMIO54T.js +19 -0
  34. package/cdn/chunks/chunk.5ICGSIFG.js +29 -0
  35. package/cdn/chunks/chunk.5RSJLHKI.js +19 -0
  36. package/cdn/chunks/chunk.5RYT4QNM.js +157 -0
  37. package/cdn/chunks/chunk.5UXU4BFG.js +29 -0
  38. package/cdn/chunks/chunk.644RAZC5.js +19 -0
  39. package/cdn/chunks/chunk.66YPQHM6.js +19 -0
  40. package/cdn/chunks/chunk.6DYWTPAR.js +19 -0
  41. package/cdn/chunks/chunk.6HSNJXZ2.js +29 -0
  42. package/cdn/chunks/chunk.6MEDBU74.js +19 -0
  43. package/cdn/chunks/chunk.75ADXWMK.js +19 -0
  44. package/cdn/chunks/chunk.7LXJ3MSC.js +281 -0
  45. package/cdn/chunks/chunk.7WPNUNM3.js +29 -0
  46. package/cdn/chunks/chunk.AKTZRHS6.js +32 -0
  47. package/cdn/chunks/chunk.ANM54WWD.js +499 -0
  48. package/cdn/chunks/chunk.AOBM3K6V.js +19 -0
  49. package/cdn/chunks/chunk.ATRAU34R.js +47 -0
  50. package/cdn/chunks/chunk.AV2ZLQJ4.js +32 -0
  51. package/cdn/chunks/chunk.B4OZ2O2H.js +19 -0
  52. package/cdn/chunks/chunk.B55VP7NG.js +730 -0
  53. package/cdn/chunks/chunk.B66MMPY3.js +19 -0
  54. package/cdn/chunks/chunk.BB4JADJY.js +189 -0
  55. package/cdn/chunks/chunk.BBA4O6MU.js +19 -0
  56. package/cdn/chunks/chunk.BEYOFXDN.js +259 -0
  57. package/cdn/chunks/chunk.BITUWHVL.js +54 -0
  58. package/cdn/chunks/chunk.BNRQEYYG.js +74 -0
  59. package/cdn/chunks/chunk.BVYTDYJM.js +19 -0
  60. package/cdn/chunks/chunk.C7DGAKZF.js +248 -0
  61. package/cdn/chunks/chunk.CGMFTEYF.js +67 -0
  62. package/cdn/chunks/chunk.CHVHBCFK.js +19 -0
  63. package/cdn/chunks/chunk.CKPSC2YQ.js +19 -0
  64. package/cdn/chunks/chunk.CNHZIATM.js +19 -0
  65. package/cdn/chunks/chunk.CPT5FSUS.js +29 -0
  66. package/cdn/chunks/chunk.CYZSNUSR.js +19 -0
  67. package/cdn/chunks/chunk.D4SARMFF.js +29 -0
  68. package/cdn/chunks/chunk.D5QT4HAC.js +357 -0
  69. package/cdn/chunks/chunk.D6KLB4SR.js +264 -0
  70. package/cdn/chunks/chunk.D7HIWLCB.js +19 -0
  71. package/cdn/chunks/chunk.DIUECPZ6.js +29 -0
  72. package/cdn/chunks/chunk.DO3GPKMH.js +239 -0
  73. package/cdn/chunks/chunk.DTVVJVWX.js +36 -0
  74. package/cdn/chunks/chunk.EG5SCAMM.js +29 -0
  75. package/cdn/chunks/chunk.EGTBQ75C.js +279 -0
  76. package/cdn/chunks/chunk.EKADLA4J.js +477 -0
  77. package/cdn/chunks/chunk.ERM35NF4.js +93 -0
  78. package/cdn/chunks/chunk.F7ZYEGQL.js +19 -0
  79. package/cdn/chunks/chunk.FBR43ZJC.js +19 -0
  80. package/cdn/chunks/chunk.FDPKDOMW.js +19 -0
  81. package/cdn/chunks/chunk.FN2VVYJB.js +610 -0
  82. package/cdn/chunks/chunk.FNWEDAUS.js +32 -0
  83. package/cdn/chunks/chunk.FOTBSPL7.js +32 -0
  84. package/cdn/chunks/chunk.FSMXDSCC.js +29 -0
  85. package/cdn/chunks/chunk.FVA7XOQZ.js +136 -0
  86. package/cdn/chunks/chunk.FXM6K5HM.js +217 -0
  87. package/cdn/chunks/chunk.G3ZAT7U7.js +19 -0
  88. package/cdn/chunks/chunk.GDWMHE72.js +19 -0
  89. package/cdn/chunks/chunk.GVVU2QFZ.js +230 -0
  90. package/cdn/chunks/chunk.GWC5SERB.js +29 -0
  91. package/cdn/chunks/chunk.GWLLGOGA.js +435 -0
  92. package/cdn/chunks/chunk.HG7YEH4N.js +19 -0
  93. package/cdn/chunks/chunk.HI4LY57S.js +19 -0
  94. package/cdn/chunks/chunk.HNDHHR5X.js +29 -0
  95. package/cdn/chunks/chunk.HNE4DLKP.js +276 -0
  96. package/cdn/chunks/chunk.HTY5XIP3.js +36 -0
  97. package/cdn/chunks/chunk.IG5VNZ6L.js +621 -0
  98. package/cdn/chunks/chunk.IIE7WTXU.js +19 -0
  99. package/cdn/chunks/chunk.IMVTBJCP.js +288 -0
  100. package/cdn/chunks/chunk.ISOII3AR.js +372 -0
  101. package/cdn/chunks/chunk.IVXZL4I7.js +32 -0
  102. package/cdn/chunks/chunk.IWVNVNRD.js +134 -0
  103. package/cdn/chunks/chunk.IYTQ7JXJ.js +32 -0
  104. package/cdn/chunks/chunk.J2JNOWNB.js +493 -0
  105. package/cdn/chunks/chunk.J4S3AKGX.js +29 -0
  106. package/cdn/chunks/chunk.JFHC3LXJ.js +56 -0
  107. package/cdn/chunks/chunk.JFIILRD3.js +19 -0
  108. package/cdn/chunks/chunk.JLXOCSMS.js +19 -0
  109. package/cdn/chunks/chunk.JTNRV7ID.js +33858 -0
  110. package/cdn/chunks/chunk.JTUFJGZC.js +71 -0
  111. package/cdn/chunks/chunk.JXBBNPEC.js +315 -0
  112. package/cdn/chunks/chunk.JYWDOFNE.js +19 -0
  113. package/cdn/chunks/chunk.K5LF4PYF.js +19 -0
  114. package/cdn/chunks/chunk.KANKIMPQ.js +36 -0
  115. package/cdn/chunks/chunk.KDBSESEK.js +1966 -0
  116. package/cdn/chunks/chunk.KDGXIPVR.js +19 -0
  117. package/cdn/chunks/chunk.KDSWQWNC.js +32 -0
  118. package/cdn/chunks/chunk.KKSZHZQQ.js +165 -0
  119. package/cdn/chunks/chunk.KNKXGGFO.js +19 -0
  120. package/cdn/chunks/chunk.KT5CTAJQ.js +278 -0
  121. package/cdn/chunks/chunk.L2EN6MIT.js +32 -0
  122. package/cdn/chunks/chunk.LHDGZGVJ.js +35 -0
  123. package/cdn/chunks/chunk.LRI354CM.js +29 -0
  124. package/cdn/chunks/chunk.LSEV2FOG.js +754 -0
  125. package/cdn/chunks/chunk.LUMFXOPG.js +19 -0
  126. package/cdn/chunks/chunk.MGYTJVL4.js +19 -0
  127. package/cdn/chunks/chunk.MHK5DELH.js +538 -0
  128. package/cdn/chunks/chunk.MMYZK7Q3.js +32 -0
  129. package/cdn/chunks/chunk.MNM6A2JQ.js +32 -0
  130. package/cdn/chunks/chunk.MOSKKKZX.js +19 -0
  131. package/cdn/chunks/chunk.NHD37PG6.js +19 -0
  132. package/cdn/chunks/chunk.NJZERCJI.js +19 -0
  133. package/cdn/chunks/chunk.NLYZZIUI.js +99 -0
  134. package/cdn/chunks/chunk.OBYCJJXH.js +35 -0
  135. package/cdn/chunks/chunk.ODGMYUOU.js +33 -0
  136. package/cdn/chunks/chunk.OJ3UDF4X.js +35 -0
  137. package/cdn/chunks/chunk.OKCZX5F2.js +29 -0
  138. package/cdn/chunks/chunk.OMTCS2GC.js +315 -0
  139. package/cdn/chunks/chunk.OY56IRUX.js +33 -0
  140. package/cdn/chunks/chunk.PD4A4TIR.js +234 -0
  141. package/cdn/chunks/chunk.PD5GVIKL.js +29 -0
  142. package/cdn/chunks/chunk.PEMCUYYB.js +29 -0
  143. package/cdn/chunks/chunk.PFQHUWXK.js +33 -0
  144. package/cdn/chunks/chunk.PGIPD5G7.js +188 -0
  145. package/cdn/chunks/chunk.PL2AO7PI.js +286 -0
  146. package/cdn/chunks/chunk.PUNY2RWF.js +19 -0
  147. package/cdn/chunks/chunk.PV65AF4K.js +302 -0
  148. package/cdn/chunks/chunk.PVOCCXS6.js +2183 -0
  149. package/cdn/chunks/chunk.PYFU643H.js +29 -0
  150. package/cdn/chunks/chunk.PZEI6LMM.js +599 -0
  151. package/cdn/chunks/chunk.QBGXKSWO.js +19 -0
  152. package/cdn/chunks/chunk.QECFDRRV.js +134 -0
  153. package/cdn/chunks/chunk.QKUGZK23.js +19 -0
  154. package/cdn/chunks/chunk.QO7AARYC.js +49 -0
  155. package/cdn/chunks/chunk.R2634BBP.js +123 -0
  156. package/cdn/chunks/chunk.R2QOLEAO.js +19 -0
  157. package/cdn/chunks/chunk.R46ULJYO.js +29 -0
  158. package/cdn/chunks/chunk.RJ5FJQMJ.js +359 -0
  159. package/cdn/chunks/chunk.RWM4STRJ.js +99 -0
  160. package/cdn/chunks/chunk.RYY6E6I5.js +29 -0
  161. package/cdn/chunks/chunk.RZZHOKXL.js +230 -0
  162. package/cdn/chunks/chunk.S3TT2KXB.js +19 -0
  163. package/cdn/chunks/chunk.S63W7HPL.js +62 -0
  164. package/cdn/chunks/chunk.SAA5UB7R.js +19 -0
  165. package/cdn/chunks/chunk.SEQFSNN4.js +33 -0
  166. package/cdn/chunks/chunk.SFPZ4F2U.js +19 -0
  167. package/cdn/chunks/chunk.SIKETPO7.js +151 -0
  168. package/cdn/chunks/chunk.SQHYAFR7.js +106 -0
  169. package/cdn/chunks/chunk.SXQD7P7K.js +19 -0
  170. package/cdn/chunks/chunk.SZLGHFXH.js +32 -0
  171. package/cdn/chunks/chunk.T4EQTEDI.js +79 -0
  172. package/cdn/chunks/chunk.TILZAS6I.js +29 -0
  173. package/cdn/chunks/chunk.TOZJSWZM.js +257 -0
  174. package/cdn/chunks/chunk.TPRNW63I.js +19 -0
  175. package/cdn/chunks/chunk.U455YRJT.js +190 -0
  176. package/cdn/chunks/chunk.UHGVHFE5.js +19 -0
  177. package/cdn/chunks/chunk.UR3D3K6M.js +19 -0
  178. package/cdn/chunks/chunk.URX2ZWKZ.js +29 -0
  179. package/cdn/chunks/chunk.UUBDATBB.js +224 -0
  180. package/cdn/chunks/chunk.UUVPLPDH.js +231 -0
  181. package/cdn/chunks/chunk.V2WY3ENM.js +86 -0
  182. package/cdn/chunks/chunk.V4HB4LHW.js +29 -0
  183. package/cdn/chunks/chunk.VBX2KUZ2.js +35 -0
  184. package/cdn/chunks/chunk.VCE5BG7N.js +904 -0
  185. package/cdn/chunks/chunk.VDZPOK2I.js +19 -0
  186. package/cdn/chunks/chunk.VI5QVF3V.js +104 -0
  187. package/cdn/chunks/chunk.VLE3E7OU.js +92 -0
  188. package/cdn/chunks/chunk.VLEV62AV.js +32 -0
  189. package/cdn/chunks/chunk.VP7HTSN3.js +34 -0
  190. package/cdn/chunks/chunk.VV5S6NQM.js +32 -0
  191. package/cdn/chunks/chunk.VYYAY7UO.js +39 -0
  192. package/cdn/chunks/chunk.W2U2PUDN.js +19 -0
  193. package/cdn/chunks/chunk.W3K2METX.js +132 -0
  194. package/cdn/chunks/chunk.WARBDBRT.js +32 -0
  195. package/cdn/chunks/chunk.WFGGEDAO.js +36 -0
  196. package/cdn/chunks/chunk.WIDJLVQP.js +19 -0
  197. package/cdn/chunks/chunk.WMSHRPLY.js +158 -0
  198. package/cdn/chunks/chunk.WTSRJBCY.js +19 -0
  199. package/cdn/chunks/chunk.WWBN32X3.js +37 -0
  200. package/cdn/chunks/chunk.WZS26FZO.js +34 -0
  201. package/cdn/chunks/chunk.X2VZXSKW.js +615 -0
  202. package/cdn/chunks/chunk.XBTSXAMY.js +634 -0
  203. package/cdn/chunks/chunk.XDHVQ5Q6.js +29 -0
  204. package/cdn/chunks/chunk.XGGFUM66.js +29 -0
  205. package/cdn/chunks/chunk.YAQ7CZNB.js +60 -0
  206. package/cdn/chunks/chunk.YEZI2CO4.js +19 -0
  207. package/cdn/chunks/chunk.YO4X3RWQ.js +662 -0
  208. package/cdn/chunks/chunk.YROWZNHD.js +33 -0
  209. package/cdn/chunks/chunk.YU2DGS7L.js +78 -0
  210. package/cdn/chunks/chunk.Z36A6L6K.js +41 -0
  211. package/cdn/chunks/chunk.Z7AS724G.js +19 -0
  212. package/cdn/chunks/chunk.ZDXG4NZB.js +19 -0
  213. package/cdn/chunks/chunk.ZEM2CRPM.js +29 -0
  214. package/cdn/chunks/chunk.ZTYJERMM.js +55346 -0
  215. package/cdn/chunks/chunk.ZVQIG4FI.js +10729 -0
  216. package/cdn/components/accordion/accordion.component.js +5 -5
  217. package/cdn/components/accordion/accordion.js +6 -6
  218. package/cdn/components/alert/alert.component.js +3 -3
  219. package/cdn/components/alert/alert.js +4 -4
  220. package/cdn/components/avatar/avatar.component.js +7 -7
  221. package/cdn/components/avatar/avatar.js +8 -8
  222. package/cdn/components/badge/badge.component.js +2 -2
  223. package/cdn/components/badge/badge.js +3 -3
  224. package/cdn/components/breadcrumb/breadcrumb.component.js +2 -2
  225. package/cdn/components/breadcrumb/breadcrumb.js +3 -3
  226. package/cdn/components/breadcrumbs/breadcrumbs.component.js +2 -2
  227. package/cdn/components/breadcrumbs/breadcrumbs.js +3 -3
  228. package/cdn/components/browse-variables/browse-variables.component.js +17 -17
  229. package/cdn/components/browse-variables/browse-variables.js +18 -18
  230. package/cdn/components/button/button.component.js +8 -8
  231. package/cdn/components/button/button.js +9 -9
  232. package/cdn/components/button-group/button-group.component.js +2 -2
  233. package/cdn/components/button-group/button-group.js +3 -3
  234. package/cdn/components/caption/caption.component.js +2 -2
  235. package/cdn/components/caption/caption.js +3 -3
  236. package/cdn/components/card/card.component.js +2 -2
  237. package/cdn/components/card/card.js +3 -3
  238. package/cdn/components/checkbox/checkbox.component.js +8 -8
  239. package/cdn/components/checkbox/checkbox.js +9 -9
  240. package/cdn/components/chip/chip.component.js +2 -2
  241. package/cdn/components/chip/chip.js +3 -3
  242. package/cdn/components/combobox/combobox.component.js +6 -6
  243. package/cdn/components/combobox/combobox.js +7 -7
  244. package/cdn/components/data-access/data-access.component.d.ts +0 -2
  245. package/cdn/components/data-access/data-access.component.js +34 -34
  246. package/cdn/components/data-access/data-access.controller.d.ts +3 -0
  247. package/cdn/components/data-access/data-access.controller.js +2 -2
  248. package/cdn/components/data-access/data-access.js +35 -35
  249. package/cdn/components/data-access/data-access.styles.js +1 -1
  250. package/cdn/components/data-grid/data-grid.component.js +5 -5
  251. package/cdn/components/data-grid/data-grid.js +6 -6
  252. package/cdn/components/data-rods/data-rods.component.d.ts +11 -8
  253. package/cdn/components/data-rods/data-rods.component.js +44 -44
  254. package/cdn/components/data-rods/data-rods.js +45 -45
  255. package/cdn/components/data-rods/data-rods.styles.js +1 -1
  256. package/cdn/components/data-subsetter/data-subsetter.component.d.ts +6 -0
  257. package/cdn/components/data-subsetter/data-subsetter.component.js +46 -45
  258. package/cdn/components/data-subsetter/data-subsetter.controller.d.ts +4 -0
  259. package/cdn/components/data-subsetter/data-subsetter.controller.js +2 -2
  260. package/cdn/components/data-subsetter/data-subsetter.js +47 -46
  261. package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  262. package/cdn/components/data-subsetter-history/data-subsetter-history.component.d.ts +3 -0
  263. package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +48 -47
  264. package/cdn/components/data-subsetter-history/data-subsetter-history.js +49 -48
  265. package/cdn/components/data-subsetter-history/data-subsetter-history.styles.js +1 -1
  266. package/cdn/components/date-picker/date-picker.component.d.ts +15 -1
  267. package/cdn/components/date-picker/date-picker.component.js +16 -16
  268. package/cdn/components/date-picker/date-picker.js +17 -17
  269. package/cdn/components/date-picker/date-picker.styles.js +1 -1
  270. package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
  271. package/cdn/components/date-range-slider/date-range-slider.js +3 -3
  272. package/cdn/components/dialog/dialog.component.js +10 -10
  273. package/cdn/components/dialog/dialog.js +11 -11
  274. package/cdn/components/divider/divider.component.js +2 -2
  275. package/cdn/components/divider/divider.js +3 -3
  276. package/cdn/components/dropdown/dropdown.component.js +3 -3
  277. package/cdn/components/dropdown/dropdown.js +4 -4
  278. package/cdn/components/earthdata-login/earthdata-login.component.d.ts +2 -2
  279. package/cdn/components/earthdata-login/earthdata-login.component.js +17 -17
  280. package/cdn/components/earthdata-login/earthdata-login.js +18 -18
  281. package/cdn/components/earthdata-login/earthdata-login.styles.js +1 -1
  282. package/cdn/components/file-upload/file-upload.component.js +2 -2
  283. package/cdn/components/file-upload/file-upload.js +3 -3
  284. package/cdn/components/icon/icon.component.js +3 -3
  285. package/cdn/components/icon/icon.js +4 -4
  286. package/cdn/components/input/input.component.js +8 -8
  287. package/cdn/components/input/input.js +9 -9
  288. package/cdn/components/loader/loader.component.js +2 -2
  289. package/cdn/components/loader/loader.js +3 -3
  290. package/cdn/components/login/login.component.js +13 -13
  291. package/cdn/components/login/login.js +14 -14
  292. package/cdn/components/map/leaflet-utils.js +1 -1
  293. package/cdn/components/map/map.component.d.ts +5 -0
  294. package/cdn/components/map/map.component.js +7 -7
  295. package/cdn/components/map/map.js +8 -8
  296. package/cdn/components/menu/menu.component.js +2 -2
  297. package/cdn/components/menu/menu.js +3 -3
  298. package/cdn/components/menu-item/menu-item.component.js +11 -11
  299. package/cdn/components/menu-item/menu-item.js +12 -12
  300. package/cdn/components/menu-item/submenu-controller.js +3 -3
  301. package/cdn/components/option/option.component.js +6 -6
  302. package/cdn/components/option/option.js +7 -7
  303. package/cdn/components/pagination/pagination.component.js +6 -6
  304. package/cdn/components/pagination/pagination.js +7 -7
  305. package/cdn/components/plot/plot.component.js +2 -2
  306. package/cdn/components/plot/plot.js +3 -3
  307. package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  308. package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  309. package/cdn/components/plot-toolbar/plot-toolbar.component.d.ts +4 -0
  310. package/cdn/components/plot-toolbar/plot-toolbar.component.js +20 -20
  311. package/cdn/components/plot-toolbar/plot-toolbar.controller.js +2 -2
  312. package/cdn/components/plot-toolbar/plot-toolbar.js +21 -21
  313. package/cdn/components/plot-toolbar/plot-toolbar.styles.js +1 -1
  314. package/cdn/components/popup/popup.component.js +2 -2
  315. package/cdn/components/popup/popup.js +3 -3
  316. package/cdn/components/progress-bar/progress-bar.component.js +2 -2
  317. package/cdn/components/progress-bar/progress-bar.js +3 -3
  318. package/cdn/components/radio/radio.component.js +4 -4
  319. package/cdn/components/radio/radio.js +5 -5
  320. package/cdn/components/radio-group/radio-group.component.js +2 -2
  321. package/cdn/components/radio-group/radio-group.js +3 -3
  322. package/cdn/components/scroll-hint/scroll-hint.component.js +4 -4
  323. package/cdn/components/scroll-hint/scroll-hint.js +5 -5
  324. package/cdn/components/select/select.component.js +10 -10
  325. package/cdn/components/select/select.js +11 -11
  326. package/cdn/components/site-header/site-header.component.js +5 -5
  327. package/cdn/components/site-header/site-header.js +5 -5
  328. package/cdn/components/site-navigation/site-navigation.component.js +2 -2
  329. package/cdn/components/site-navigation/site-navigation.js +2 -2
  330. package/cdn/components/skeleton/skeleton.component.js +3 -3
  331. package/cdn/components/skeleton/skeleton.js +4 -4
  332. package/cdn/components/skeleton/skeleton.styles.js +1 -1
  333. package/cdn/components/slider/slider.component.js +2 -2
  334. package/cdn/components/slider/slider.js +3 -3
  335. package/cdn/components/spatial-picker/spatial-picker.component.d.ts +11 -1
  336. package/cdn/components/spatial-picker/spatial-picker.component.js +18 -18
  337. package/cdn/components/spatial-picker/spatial-picker.js +19 -19
  338. package/cdn/components/status-indicator/status-indicator.component.js +2 -2
  339. package/cdn/components/status-indicator/status-indicator.js +3 -3
  340. package/cdn/components/stepper/stepper.component.js +2 -2
  341. package/cdn/components/stepper/stepper.js +3 -3
  342. package/cdn/components/stepper-step/stepper-step.component.js +6 -6
  343. package/cdn/components/stepper-step/stepper-step.js +7 -7
  344. package/cdn/components/tab/tab.component.js +6 -6
  345. package/cdn/components/tab/tab.js +7 -7
  346. package/cdn/components/tab-panel/tab-panel.component.js +2 -2
  347. package/cdn/components/tab-panel/tab-panel.js +3 -3
  348. package/cdn/components/tabs/tabs.component.js +6 -6
  349. package/cdn/components/tabs/tabs.js +7 -7
  350. package/cdn/components/tag/tag.component.js +6 -6
  351. package/cdn/components/tag/tag.js +7 -7
  352. package/cdn/components/textarea/textarea.component.js +4 -4
  353. package/cdn/components/textarea/textarea.js +5 -5
  354. package/cdn/components/time-average-map/time-average-map.component.js +28 -28
  355. package/cdn/components/time-average-map/time-average-map.controller.js +2 -2
  356. package/cdn/components/time-average-map/time-average-map.js +29 -29
  357. package/cdn/components/time-series/time-series.component.d.ts +3 -0
  358. package/cdn/components/time-series/time-series.component.js +28 -28
  359. package/cdn/components/time-series/time-series.controller.js +2 -2
  360. package/cdn/components/time-series/time-series.js +29 -29
  361. package/cdn/components/toast/toast.component.js +4 -4
  362. package/cdn/components/toast/toast.js +5 -5
  363. package/cdn/components/toggle/toggle.component.js +4 -4
  364. package/cdn/components/toggle/toggle.js +5 -5
  365. package/cdn/components/tooltip/tooltip.component.js +3 -3
  366. package/cdn/components/tooltip/tooltip.js +4 -4
  367. package/cdn/components/variable-combobox/lib.js +3 -3
  368. package/cdn/components/variable-combobox/variable-combobox.component.js +17 -17
  369. package/cdn/components/variable-combobox/variable-combobox.controller.js +4 -4
  370. package/cdn/components/variable-combobox/variable-combobox.js +18 -18
  371. package/cdn/components/variable-combobox/variable-combobox.styles.js +1 -1
  372. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +13 -13
  373. package/cdn/components/variable-keyword-search/variable-keyword-search.js +14 -14
  374. package/cdn/custom-elements.json +4190 -3701
  375. package/cdn/events/events.d.ts +1 -0
  376. package/cdn/events/terra-date-selection-invalid.d.ts +8 -0
  377. package/cdn/metadata-catalog/types.d.ts +50 -0
  378. package/cdn/react/accordion/index.js +6 -6
  379. package/cdn/react/alert/index.js +4 -4
  380. package/cdn/react/avatar/index.js +8 -8
  381. package/cdn/react/badge/index.js +3 -3
  382. package/cdn/react/breadcrumb/index.js +3 -3
  383. package/cdn/react/breadcrumbs/index.js +3 -3
  384. package/cdn/react/browse-variables/index.js +18 -18
  385. package/cdn/react/button/index.js +9 -9
  386. package/cdn/react/button-group/index.js +3 -3
  387. package/cdn/react/caption/index.js +3 -3
  388. package/cdn/react/card/index.js +3 -3
  389. package/cdn/react/checkbox/index.js +9 -9
  390. package/cdn/react/chip/index.js +3 -3
  391. package/cdn/react/combobox/index.js +7 -7
  392. package/cdn/react/data-access/index.js +35 -35
  393. package/cdn/react/data-grid/index.js +6 -6
  394. package/cdn/react/data-rods/index.d.ts +1 -14
  395. package/cdn/react/data-rods/index.js +45 -45
  396. package/cdn/react/data-subsetter/index.js +47 -46
  397. package/cdn/react/data-subsetter-history/index.js +49 -48
  398. package/cdn/react/date-picker/index.js +17 -17
  399. package/cdn/react/date-range-slider/index.js +3 -3
  400. package/cdn/react/dialog/index.js +11 -11
  401. package/cdn/react/divider/index.js +3 -3
  402. package/cdn/react/dropdown/index.js +4 -4
  403. package/cdn/react/earthdata-login/index.js +18 -18
  404. package/cdn/react/file-upload/index.js +3 -3
  405. package/cdn/react/icon/index.js +4 -4
  406. package/cdn/react/index.d.ts +13 -13
  407. package/cdn/react/index.js +205 -205
  408. package/cdn/react/input/index.js +9 -9
  409. package/cdn/react/loader/index.js +3 -3
  410. package/cdn/react/login/index.js +14 -14
  411. package/cdn/react/map/index.js +8 -8
  412. package/cdn/react/menu/index.js +3 -3
  413. package/cdn/react/menu-item/index.js +12 -12
  414. package/cdn/react/option/index.js +7 -7
  415. package/cdn/react/pagination/index.js +7 -7
  416. package/cdn/react/plot/index.js +3 -3
  417. package/cdn/react/plot-toolbar/index.js +21 -21
  418. package/cdn/react/popup/index.js +3 -3
  419. package/cdn/react/progress-bar/index.js +3 -3
  420. package/cdn/react/radio/index.js +5 -5
  421. package/cdn/react/radio-group/index.js +3 -3
  422. package/cdn/react/scroll-hint/index.js +5 -5
  423. package/cdn/react/select/index.js +11 -11
  424. package/cdn/react/site-header/index.js +6 -6
  425. package/cdn/react/site-navigation/index.js +3 -3
  426. package/cdn/react/skeleton/index.js +4 -4
  427. package/cdn/react/slider/index.js +3 -3
  428. package/cdn/react/spatial-picker/index.js +19 -19
  429. package/cdn/react/status-indicator/index.js +3 -3
  430. package/cdn/react/stepper/index.js +3 -3
  431. package/cdn/react/stepper-step/index.js +7 -7
  432. package/cdn/react/tab/index.js +7 -7
  433. package/cdn/react/tab-panel/index.js +3 -3
  434. package/cdn/react/tabs/index.js +7 -7
  435. package/cdn/react/tag/index.js +7 -7
  436. package/cdn/react/textarea/index.js +5 -5
  437. package/cdn/react/time-average-map/index.js +29 -29
  438. package/cdn/react/time-series/index.js +29 -29
  439. package/cdn/react/toast/index.js +5 -5
  440. package/cdn/react/toggle/index.js +5 -5
  441. package/cdn/react/tooltip/index.js +4 -4
  442. package/cdn/react/variable-combobox/index.js +18 -18
  443. package/cdn/react/variable-keyword-search/index.js +14 -14
  444. package/cdn/terra-ui-components.js +197 -197
  445. package/cdn/types/vue/index.d.ts +496 -474
  446. package/cdn/utilities/mimetypes.js +1 -1
  447. package/cdn/vscode.html-custom-data.json +453 -440
  448. package/cdn/web-types.json +1067 -1014
  449. package/dist/chunks/chunk.225CQIHF.js +21 -0
  450. package/dist/chunks/chunk.23NL6ZID.js +48 -0
  451. package/dist/chunks/chunk.27VEWOE2.js +11 -0
  452. package/dist/chunks/chunk.2AX4NEBF.js +21 -0
  453. package/dist/chunks/chunk.37WDKFQW.js +11 -0
  454. package/dist/chunks/chunk.3EOSRM3R.js +581 -0
  455. package/dist/chunks/chunk.3JD6HGNN.js +21 -0
  456. package/dist/chunks/chunk.3SGB3VBU.js +11 -0
  457. package/dist/chunks/chunk.3VRSQ22I.js +24 -0
  458. package/dist/chunks/chunk.3Y7NLDT6.js +11 -0
  459. package/dist/chunks/chunk.4QTY4LH5.js +21 -0
  460. package/dist/chunks/chunk.4QWSTAMH.js +67 -0
  461. package/dist/chunks/chunk.4UPEOG4O.js +11 -0
  462. package/dist/chunks/chunk.5D6LFFNK.js +262 -0
  463. package/dist/chunks/chunk.5JJAAFGL.js +24 -0
  464. package/dist/chunks/chunk.5QKQVWTG.js +21 -0
  465. package/dist/chunks/chunk.6HTYXK7E.js +21 -0
  466. package/dist/chunks/chunk.6OJFJ2RJ.js +11 -0
  467. package/dist/chunks/chunk.6OSDDX66.js +484 -0
  468. package/dist/chunks/chunk.6PIIVWL2.js +11 -0
  469. package/dist/chunks/chunk.6ZGFIHNP.js +24 -0
  470. package/dist/chunks/chunk.7B6X7DHL.js +295 -0
  471. package/dist/chunks/chunk.7DFDOSYG.js +11 -0
  472. package/dist/chunks/chunk.7MCHHBVR.js +83 -0
  473. package/dist/chunks/chunk.7S4MACUL.js +291 -0
  474. package/dist/chunks/chunk.7XDECDSY.js +11 -0
  475. package/dist/chunks/chunk.7XPVJG6D.js +11 -0
  476. package/dist/chunks/chunk.7YCTS7D5.js +78 -0
  477. package/dist/chunks/chunk.A3DB425J.js +67 -0
  478. package/dist/chunks/chunk.A4H6CEUU.js +220 -0
  479. package/dist/chunks/chunk.A4X2ND7D.js +214 -0
  480. package/dist/chunks/chunk.A6IOTSWP.js +25 -0
  481. package/dist/chunks/chunk.AMP7AS5J.js +27 -0
  482. package/dist/chunks/chunk.AROKPEWE.js +24 -0
  483. package/dist/chunks/chunk.ATWV37F4.js +85 -0
  484. package/dist/chunks/chunk.B2BDIQ77.js +21 -0
  485. package/dist/chunks/chunk.BOUCDQ5E.js +21 -0
  486. package/dist/chunks/chunk.BQS4ALCP.js +21 -0
  487. package/dist/chunks/chunk.BS3ZR5OV.js +143 -0
  488. package/dist/chunks/chunk.C5HMGVOF.js +29 -0
  489. package/dist/chunks/chunk.C5YX3GEP.js +28 -0
  490. package/dist/chunks/chunk.CHRZZULX.js +39 -0
  491. package/dist/chunks/chunk.CQFFIIPF.js +596 -0
  492. package/dist/chunks/chunk.D7FMZP4J.js +21 -0
  493. package/dist/chunks/chunk.DCG76X4I.js +21 -0
  494. package/dist/chunks/chunk.DCT4KLOR.js +11 -0
  495. package/dist/chunks/chunk.DFM34CDQ.js +451 -0
  496. package/dist/chunks/chunk.DJJU2S3Z.js +11 -0
  497. package/dist/chunks/chunk.DMY4UO4L.js +24 -0
  498. package/dist/chunks/chunk.DO6GYJM7.js +344 -0
  499. package/dist/chunks/chunk.DS6HRAYC.js +124 -0
  500. package/dist/chunks/chunk.DUY3B52C.js +11 -0
  501. package/dist/chunks/chunk.E4DC3QBB.js +11 -0
  502. package/dist/chunks/chunk.EBCKBDHV.js +623 -0
  503. package/dist/chunks/chunk.EEIJGEXU.js +29 -0
  504. package/dist/chunks/chunk.EYBVDF3P.js +11 -0
  505. package/dist/chunks/chunk.F62QBG2N.js +89 -0
  506. package/dist/chunks/chunk.FIQTM6W5.js +11 -0
  507. package/dist/chunks/chunk.FLDXLDUB.js +24 -0
  508. package/dist/chunks/chunk.FVDYJYPJ.js +123 -0
  509. package/dist/chunks/chunk.G3AA4DMA.js +11 -0
  510. package/dist/chunks/chunk.G63ROAAR.js +101 -0
  511. package/dist/chunks/chunk.GANIXVIN.js +305 -0
  512. package/dist/chunks/chunk.GSOMC544.js +21 -0
  513. package/dist/chunks/chunk.GWGCNFAS.js +27 -0
  514. package/dist/chunks/chunk.HADTJTYW.js +11 -0
  515. package/dist/chunks/chunk.HCC3SGE2.js +219 -0
  516. package/dist/chunks/chunk.HJGREKWD.js +28 -0
  517. package/dist/chunks/chunk.HNDLZGSW.js +112 -0
  518. package/dist/chunks/chunk.I3PYZE5P.js +26 -0
  519. package/dist/chunks/chunk.I5O3RKW5.js +11 -0
  520. package/dist/chunks/chunk.I7CJTIHU.js +443 -0
  521. package/dist/chunks/chunk.IFFBYJCV.js +28 -0
  522. package/dist/chunks/chunk.IHX6TM6F.js +11 -0
  523. package/dist/chunks/chunk.ITJ2HR5O.js +27 -0
  524. package/dist/chunks/chunk.IZOYRHVA.js +25 -0
  525. package/dist/chunks/chunk.J26ZTP7Z.js +75 -0
  526. package/dist/chunks/chunk.J54LUHUQ.js +477 -0
  527. package/dist/chunks/chunk.J5VZGFO2.js +719 -0
  528. package/dist/chunks/chunk.JB5255IQ.js +298 -0
  529. package/dist/chunks/chunk.JCI4Y5TT.js +21 -0
  530. package/dist/chunks/chunk.JERQ33CW.js +11 -0
  531. package/dist/chunks/chunk.JJHC3B4G.js +11 -0
  532. package/dist/chunks/chunk.JJLLFOGY.js +21 -0
  533. package/dist/chunks/chunk.JQBOFTWP.js +180 -0
  534. package/dist/chunks/chunk.JYZMVEQL.js +11 -0
  535. package/dist/chunks/chunk.JZMZCNGJ.js +11 -0
  536. package/dist/chunks/chunk.JZNVXLYF.js +48 -0
  537. package/dist/chunks/chunk.K5WQM4UU.js +24 -0
  538. package/dist/chunks/chunk.KHPNEX2A.js +266 -0
  539. package/dist/chunks/chunk.KMPHHRML.js +11 -0
  540. package/dist/chunks/chunk.KTUM2QQ2.js +21 -0
  541. package/dist/chunks/chunk.L3A2H33W.js +11 -0
  542. package/dist/chunks/chunk.LA3YEVTQ.js +20 -0
  543. package/dist/chunks/chunk.LAJJMOC2.js +220 -0
  544. package/dist/chunks/chunk.LBHFPLA3.js +230 -0
  545. package/dist/chunks/chunk.LFKJOXXB.js +97 -0
  546. package/dist/chunks/chunk.LHGDBIYN.js +11 -0
  547. package/dist/chunks/chunk.LQLCGKT2.js +21 -0
  548. package/dist/chunks/chunk.LTD7CX77.js +11 -0
  549. package/dist/chunks/chunk.LUHQTATL.js +33 -0
  550. package/dist/chunks/chunk.LWL4QCJZ.js +609 -0
  551. package/dist/chunks/chunk.LZ6OPFCV.js +11 -0
  552. package/dist/chunks/chunk.M5VZW6Q6.js +11 -0
  553. package/dist/chunks/chunk.M73RLYTA.js +11 -0
  554. package/dist/chunks/chunk.M7DVNPNX.js +24 -0
  555. package/dist/chunks/chunk.MXRBLHPO.js +64 -0
  556. package/dist/chunks/chunk.N34ILCS2.js +21 -0
  557. package/dist/chunks/chunk.N3KIJL5I.js +25 -0
  558. package/dist/chunks/chunk.N6FTCZ7Z.js +21 -0
  559. package/dist/chunks/chunk.N6KQLZFC.js +24 -0
  560. package/dist/chunks/chunk.N7Q2NIOP.js +24 -0
  561. package/dist/chunks/chunk.NOSBGPKU.js +91 -0
  562. package/dist/chunks/chunk.NOYQMNOB.js +11 -0
  563. package/dist/chunks/chunk.NQV2TYTH.js +11 -0
  564. package/dist/chunks/chunk.NS2UMYPL.js +11 -0
  565. package/dist/chunks/chunk.NW6IXCII.js +11 -0
  566. package/dist/chunks/chunk.NXTMFC6N.js +422 -0
  567. package/dist/chunks/chunk.OAPVISGG.js +11 -0
  568. package/dist/chunks/chunk.OAWTV6OW.js +135 -0
  569. package/dist/chunks/chunk.OB56RTW3.js +213 -0
  570. package/dist/chunks/chunk.ODJODHOK.js +21 -0
  571. package/dist/chunks/chunk.OGHO5VTJ.js +11 -0
  572. package/dist/chunks/chunk.OMFW6SVM.js +11 -0
  573. package/dist/chunks/chunk.OTVNHZYR.js +11 -0
  574. package/dist/chunks/chunk.OVYIY632.js +11 -0
  575. package/dist/chunks/chunk.OWB7Q5BJ.js +474 -0
  576. package/dist/chunks/chunk.OXZDHEKP.js +24 -0
  577. package/dist/chunks/chunk.PT65UMX3.js +1870 -0
  578. package/dist/chunks/chunk.PXCHGP5J.js +733 -0
  579. package/dist/chunks/chunk.Q5AVCA2Z.js +11 -0
  580. package/dist/chunks/chunk.QGDX4EOW.js +145 -0
  581. package/dist/chunks/chunk.QH4PQQMY.js +57 -0
  582. package/dist/chunks/chunk.QHPQUJPP.js +11 -0
  583. package/dist/chunks/chunk.QHXKV3FL.js +153 -0
  584. package/dist/chunks/chunk.QI54DZLW.js +277 -0
  585. package/dist/chunks/chunk.QSZTBBNL.js +25 -0
  586. package/dist/chunks/chunk.QT46RXAO.js +11 -0
  587. package/dist/chunks/chunk.QV53WIRP.js +24 -0
  588. package/dist/chunks/chunk.QXGAOOH7.js +206 -0
  589. package/dist/chunks/chunk.QY2Y5V5F.js +11 -0
  590. package/dist/chunks/chunk.QZ5E4JEE.js +21 -0
  591. package/dist/chunks/chunk.R425EOH5.js +252 -0
  592. package/dist/chunks/chunk.R4WPJKDT.js +985 -0
  593. package/dist/chunks/chunk.RGPUC66W.js +24 -0
  594. package/dist/chunks/chunk.RPBO7HIU.js +11 -0
  595. package/dist/chunks/chunk.RPYDJZWV.js +121 -0
  596. package/dist/chunks/chunk.RYHV6SLD.js +11 -0
  597. package/dist/chunks/chunk.RYLQFCPI.js +11 -0
  598. package/dist/chunks/chunk.S56BRI76.js +240 -0
  599. package/dist/chunks/chunk.SHFVA64T.js +11 -0
  600. package/dist/chunks/chunk.SKDPK5ZB.js +11 -0
  601. package/dist/chunks/chunk.SSH2CHYX.js +591 -0
  602. package/dist/chunks/chunk.STENSWSM.js +21 -0
  603. package/dist/chunks/chunk.SWV36K5V.js +11 -0
  604. package/dist/chunks/chunk.T26ST6IU.js +244 -0
  605. package/dist/chunks/chunk.T2JN2DN4.js +52 -0
  606. package/dist/chunks/chunk.T35OF52O.js +21 -0
  607. package/dist/chunks/chunk.T6GGLB67.js +245 -0
  608. package/dist/chunks/chunk.TP5UEBJX.js +28 -0
  609. package/dist/chunks/chunk.U3KWKUPN.js +355 -0
  610. package/dist/chunks/chunk.U4GUGRXA.js +11 -0
  611. package/dist/chunks/chunk.U7DAHBKR.js +247 -0
  612. package/dist/chunks/chunk.UAXAHNDQ.js +280 -0
  613. package/dist/chunks/chunk.UDGDZENG.js +61 -0
  614. package/dist/chunks/chunk.ULO6HTVQ.js +11 -0
  615. package/dist/chunks/chunk.UYHH5MCG.js +27 -0
  616. package/dist/chunks/chunk.V4XZHDFY.js +21 -0
  617. package/dist/chunks/chunk.V5CA5XVT.js +21 -0
  618. package/dist/chunks/chunk.V5LCG7NP.js +525 -0
  619. package/dist/chunks/chunk.VFSU5TRX.js +264 -0
  620. package/dist/chunks/chunk.VLKBBBZO.js +11 -0
  621. package/dist/chunks/chunk.VP5UYVR6.js +21 -0
  622. package/dist/chunks/chunk.VREO7CLL.js +86 -0
  623. package/dist/chunks/chunk.VT7G4GF5.js +11 -0
  624. package/dist/chunks/chunk.VVEOPQ32.js +21 -0
  625. package/dist/chunks/chunk.VWLAMQ7D.js +11 -0
  626. package/dist/chunks/chunk.VX3NQJ2J.js +21 -0
  627. package/dist/chunks/chunk.WGV3I4B6.js +11 -0
  628. package/dist/chunks/chunk.WI5LX747.js +52 -0
  629. package/dist/chunks/chunk.WPTDAZ2I.js +31 -0
  630. package/dist/chunks/chunk.WTUZLKBY.js +43 -0
  631. package/dist/chunks/chunk.WYHVVKRO.js +345 -0
  632. package/dist/chunks/chunk.WZQ3VXRE.js +11 -0
  633. package/dist/chunks/chunk.X3XBLLUJ.js +278 -0
  634. package/dist/chunks/chunk.XBY4A2BL.js +24 -0
  635. package/dist/chunks/chunk.XF6ACISK.js +11 -0
  636. package/dist/chunks/chunk.XGLZQCBK.js +11 -0
  637. package/dist/chunks/chunk.XJJM7P2M.js +25 -0
  638. package/dist/chunks/chunk.XJRDI2TX.js +224 -0
  639. package/dist/chunks/chunk.XMCG3LCH.js +21 -0
  640. package/dist/chunks/chunk.XR75EBXL.js +24 -0
  641. package/dist/chunks/chunk.Y2PGR3AT.js +960 -0
  642. package/dist/chunks/chunk.Y6NEYAKK.js +1122 -0
  643. package/dist/chunks/chunk.YBN6JNDD.js +21 -0
  644. package/dist/chunks/chunk.YCHLOAWZ.js +180 -0
  645. package/dist/chunks/chunk.YDNUKCIR.js +180 -0
  646. package/dist/chunks/chunk.YET5FM7I.js +93 -0
  647. package/dist/chunks/chunk.YI254PCT.js +11 -0
  648. package/dist/chunks/chunk.Z3VMD3EF.js +21 -0
  649. package/dist/chunks/chunk.Z6VJGGMO.js +2170 -0
  650. package/dist/chunks/chunk.ZD3VDD6H.js +74 -0
  651. package/dist/chunks/chunk.ZFL7YIXD.js +345 -0
  652. package/dist/chunks/chunk.ZJGSVAVB.js +11 -0
  653. package/dist/chunks/chunk.ZKCEIYA3.js +43 -0
  654. package/dist/chunks/chunk.ZKWJI53L.js +844 -0
  655. package/dist/chunks/chunk.ZMM7GYSP.js +26 -0
  656. package/dist/chunks/chunk.ZRENH7JC.js +409 -0
  657. package/dist/components/accordion/accordion.component.js +5 -5
  658. package/dist/components/accordion/accordion.js +6 -6
  659. package/dist/components/alert/alert.component.js +3 -3
  660. package/dist/components/alert/alert.js +4 -4
  661. package/dist/components/avatar/avatar.component.js +5 -5
  662. package/dist/components/avatar/avatar.js +6 -6
  663. package/dist/components/badge/badge.component.js +2 -2
  664. package/dist/components/badge/badge.js +3 -3
  665. package/dist/components/breadcrumb/breadcrumb.component.js +2 -2
  666. package/dist/components/breadcrumb/breadcrumb.js +3 -3
  667. package/dist/components/breadcrumbs/breadcrumbs.component.js +2 -2
  668. package/dist/components/breadcrumbs/breadcrumbs.js +3 -3
  669. package/dist/components/browse-variables/browse-variables.component.js +13 -13
  670. package/dist/components/browse-variables/browse-variables.js +14 -14
  671. package/dist/components/button/button.component.js +5 -5
  672. package/dist/components/button/button.js +6 -6
  673. package/dist/components/button-group/button-group.component.js +2 -2
  674. package/dist/components/button-group/button-group.js +3 -3
  675. package/dist/components/caption/caption.component.js +2 -2
  676. package/dist/components/caption/caption.js +3 -3
  677. package/dist/components/card/card.component.js +2 -2
  678. package/dist/components/card/card.js +3 -3
  679. package/dist/components/checkbox/checkbox.component.js +5 -5
  680. package/dist/components/checkbox/checkbox.js +6 -6
  681. package/dist/components/chip/chip.component.js +2 -2
  682. package/dist/components/chip/chip.js +3 -3
  683. package/dist/components/combobox/combobox.component.js +2 -2
  684. package/dist/components/combobox/combobox.js +3 -3
  685. package/dist/components/data-access/data-access.component.d.ts +0 -2
  686. package/dist/components/data-access/data-access.component.js +27 -27
  687. package/dist/components/data-access/data-access.controller.d.ts +3 -0
  688. package/dist/components/data-access/data-access.controller.js +2 -2
  689. package/dist/components/data-access/data-access.js +28 -28
  690. package/dist/components/data-access/data-access.styles.js +1 -1
  691. package/dist/components/data-grid/data-grid.component.js +3 -3
  692. package/dist/components/data-grid/data-grid.js +4 -4
  693. package/dist/components/data-rods/data-rods.component.d.ts +11 -8
  694. package/dist/components/data-rods/data-rods.component.js +35 -35
  695. package/dist/components/data-rods/data-rods.js +36 -36
  696. package/dist/components/data-rods/data-rods.styles.js +1 -1
  697. package/dist/components/data-subsetter/data-subsetter.component.d.ts +6 -0
  698. package/dist/components/data-subsetter/data-subsetter.component.js +39 -38
  699. package/dist/components/data-subsetter/data-subsetter.controller.d.ts +4 -0
  700. package/dist/components/data-subsetter/data-subsetter.controller.js +2 -2
  701. package/dist/components/data-subsetter/data-subsetter.js +40 -39
  702. package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  703. package/dist/components/data-subsetter-history/data-subsetter-history.component.d.ts +3 -0
  704. package/dist/components/data-subsetter-history/data-subsetter-history.component.js +41 -40
  705. package/dist/components/data-subsetter-history/data-subsetter-history.js +42 -41
  706. package/dist/components/data-subsetter-history/data-subsetter-history.styles.js +1 -1
  707. package/dist/components/date-picker/date-picker.component.d.ts +15 -1
  708. package/dist/components/date-picker/date-picker.component.js +11 -11
  709. package/dist/components/date-picker/date-picker.js +12 -12
  710. package/dist/components/date-picker/date-picker.styles.js +1 -1
  711. package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
  712. package/dist/components/date-range-slider/date-range-slider.js +3 -3
  713. package/dist/components/dialog/dialog.component.js +7 -7
  714. package/dist/components/dialog/dialog.js +8 -8
  715. package/dist/components/divider/divider.component.js +2 -2
  716. package/dist/components/divider/divider.js +3 -3
  717. package/dist/components/dropdown/dropdown.component.js +3 -3
  718. package/dist/components/dropdown/dropdown.js +4 -4
  719. package/dist/components/earthdata-login/earthdata-login.component.d.ts +2 -2
  720. package/dist/components/earthdata-login/earthdata-login.component.js +13 -13
  721. package/dist/components/earthdata-login/earthdata-login.js +14 -14
  722. package/dist/components/earthdata-login/earthdata-login.styles.js +1 -1
  723. package/dist/components/file-upload/file-upload.component.js +2 -2
  724. package/dist/components/file-upload/file-upload.js +3 -3
  725. package/dist/components/icon/icon.component.js +3 -3
  726. package/dist/components/icon/icon.js +4 -4
  727. package/dist/components/input/input.component.js +5 -5
  728. package/dist/components/input/input.js +6 -6
  729. package/dist/components/loader/loader.component.js +2 -2
  730. package/dist/components/loader/loader.js +3 -3
  731. package/dist/components/login/login.component.js +10 -10
  732. package/dist/components/login/login.js +11 -11
  733. package/dist/components/map/leaflet-utils.js +1 -1
  734. package/dist/components/map/map.component.d.ts +5 -0
  735. package/dist/components/map/map.component.js +5 -5
  736. package/dist/components/map/map.js +6 -6
  737. package/dist/components/menu/menu.component.js +2 -2
  738. package/dist/components/menu/menu.js +3 -3
  739. package/dist/components/menu-item/menu-item.component.js +7 -7
  740. package/dist/components/menu-item/menu-item.js +8 -8
  741. package/dist/components/option/option.component.js +4 -4
  742. package/dist/components/option/option.js +5 -5
  743. package/dist/components/pagination/pagination.component.js +4 -4
  744. package/dist/components/pagination/pagination.js +5 -5
  745. package/dist/components/plot/plot.component.js +2 -2
  746. package/dist/components/plot/plot.js +3 -3
  747. package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  748. package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  749. package/dist/components/plot-toolbar/plot-toolbar.component.d.ts +4 -0
  750. package/dist/components/plot-toolbar/plot-toolbar.component.js +16 -16
  751. package/dist/components/plot-toolbar/plot-toolbar.controller.js +2 -2
  752. package/dist/components/plot-toolbar/plot-toolbar.js +17 -17
  753. package/dist/components/plot-toolbar/plot-toolbar.styles.js +1 -1
  754. package/dist/components/popup/popup.component.js +2 -2
  755. package/dist/components/popup/popup.js +3 -3
  756. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  757. package/dist/components/progress-bar/progress-bar.js +3 -3
  758. package/dist/components/radio/radio.component.js +2 -2
  759. package/dist/components/radio/radio.js +3 -3
  760. package/dist/components/radio-group/radio-group.component.js +2 -2
  761. package/dist/components/radio-group/radio-group.js +3 -3
  762. package/dist/components/scroll-hint/scroll-hint.component.js +4 -4
  763. package/dist/components/scroll-hint/scroll-hint.js +5 -5
  764. package/dist/components/select/select.component.js +8 -8
  765. package/dist/components/select/select.js +9 -9
  766. package/dist/components/site-header/site-header.component.js +5 -5
  767. package/dist/components/site-header/site-header.js +5 -5
  768. package/dist/components/site-navigation/site-navigation.component.js +2 -2
  769. package/dist/components/site-navigation/site-navigation.js +2 -2
  770. package/dist/components/skeleton/skeleton.component.js +3 -3
  771. package/dist/components/skeleton/skeleton.js +4 -4
  772. package/dist/components/skeleton/skeleton.styles.js +1 -1
  773. package/dist/components/slider/slider.component.js +2 -2
  774. package/dist/components/slider/slider.js +3 -3
  775. package/dist/components/spatial-picker/spatial-picker.component.d.ts +11 -1
  776. package/dist/components/spatial-picker/spatial-picker.component.js +13 -13
  777. package/dist/components/spatial-picker/spatial-picker.js +14 -14
  778. package/dist/components/status-indicator/status-indicator.component.js +2 -2
  779. package/dist/components/status-indicator/status-indicator.js +3 -3
  780. package/dist/components/stepper/stepper.component.js +2 -2
  781. package/dist/components/stepper/stepper.js +3 -3
  782. package/dist/components/stepper-step/stepper-step.component.js +4 -4
  783. package/dist/components/stepper-step/stepper-step.js +5 -5
  784. package/dist/components/tab/tab.component.js +4 -4
  785. package/dist/components/tab/tab.js +5 -5
  786. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  787. package/dist/components/tab-panel/tab-panel.js +3 -3
  788. package/dist/components/tabs/tabs.component.js +4 -4
  789. package/dist/components/tabs/tabs.js +5 -5
  790. package/dist/components/tag/tag.component.js +4 -4
  791. package/dist/components/tag/tag.js +5 -5
  792. package/dist/components/textarea/textarea.component.js +2 -2
  793. package/dist/components/textarea/textarea.js +3 -3
  794. package/dist/components/time-average-map/time-average-map.component.js +24 -24
  795. package/dist/components/time-average-map/time-average-map.controller.js +2 -2
  796. package/dist/components/time-average-map/time-average-map.js +25 -25
  797. package/dist/components/time-series/time-series.component.d.ts +3 -0
  798. package/dist/components/time-series/time-series.component.js +24 -24
  799. package/dist/components/time-series/time-series.controller.js +2 -2
  800. package/dist/components/time-series/time-series.js +25 -25
  801. package/dist/components/toast/toast.component.js +4 -4
  802. package/dist/components/toast/toast.js +5 -5
  803. package/dist/components/toggle/toggle.component.js +2 -2
  804. package/dist/components/toggle/toggle.js +3 -3
  805. package/dist/components/tooltip/tooltip.component.js +3 -3
  806. package/dist/components/tooltip/tooltip.js +4 -4
  807. package/dist/components/variable-combobox/variable-combobox.component.js +9 -9
  808. package/dist/components/variable-combobox/variable-combobox.js +10 -10
  809. package/dist/components/variable-combobox/variable-combobox.styles.js +1 -1
  810. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +9 -9
  811. package/dist/components/variable-keyword-search/variable-keyword-search.js +10 -10
  812. package/dist/custom-elements.json +4190 -3701
  813. package/dist/events/events.d.ts +1 -0
  814. package/dist/events/terra-date-selection-invalid.d.ts +8 -0
  815. package/dist/metadata-catalog/types.d.ts +50 -0
  816. package/dist/react/accordion/index.js +6 -6
  817. package/dist/react/alert/index.js +4 -4
  818. package/dist/react/avatar/index.js +6 -6
  819. package/dist/react/badge/index.js +3 -3
  820. package/dist/react/breadcrumb/index.js +3 -3
  821. package/dist/react/breadcrumbs/index.js +3 -3
  822. package/dist/react/browse-variables/index.js +14 -14
  823. package/dist/react/button/index.js +6 -6
  824. package/dist/react/button-group/index.js +3 -3
  825. package/dist/react/caption/index.js +3 -3
  826. package/dist/react/card/index.js +3 -3
  827. package/dist/react/checkbox/index.js +6 -6
  828. package/dist/react/chip/index.js +3 -3
  829. package/dist/react/combobox/index.js +3 -3
  830. package/dist/react/data-access/index.js +28 -28
  831. package/dist/react/data-grid/index.js +4 -4
  832. package/dist/react/data-rods/index.d.ts +1 -14
  833. package/dist/react/data-rods/index.js +36 -36
  834. package/dist/react/data-subsetter/index.js +40 -39
  835. package/dist/react/data-subsetter-history/index.js +42 -41
  836. package/dist/react/date-picker/index.js +12 -12
  837. package/dist/react/date-range-slider/index.js +3 -3
  838. package/dist/react/dialog/index.js +8 -8
  839. package/dist/react/divider/index.js +3 -3
  840. package/dist/react/dropdown/index.js +4 -4
  841. package/dist/react/earthdata-login/index.js +14 -14
  842. package/dist/react/file-upload/index.js +3 -3
  843. package/dist/react/icon/index.js +4 -4
  844. package/dist/react/index.d.ts +13 -13
  845. package/dist/react/index.js +195 -195
  846. package/dist/react/input/index.js +6 -6
  847. package/dist/react/loader/index.js +3 -3
  848. package/dist/react/login/index.js +11 -11
  849. package/dist/react/map/index.js +6 -6
  850. package/dist/react/menu/index.js +3 -3
  851. package/dist/react/menu-item/index.js +8 -8
  852. package/dist/react/option/index.js +5 -5
  853. package/dist/react/pagination/index.js +5 -5
  854. package/dist/react/plot/index.js +3 -3
  855. package/dist/react/plot-toolbar/index.js +17 -17
  856. package/dist/react/popup/index.js +3 -3
  857. package/dist/react/progress-bar/index.js +3 -3
  858. package/dist/react/radio/index.js +3 -3
  859. package/dist/react/radio-group/index.js +3 -3
  860. package/dist/react/scroll-hint/index.js +5 -5
  861. package/dist/react/select/index.js +9 -9
  862. package/dist/react/site-header/index.js +6 -6
  863. package/dist/react/site-navigation/index.js +3 -3
  864. package/dist/react/skeleton/index.js +4 -4
  865. package/dist/react/slider/index.js +3 -3
  866. package/dist/react/spatial-picker/index.js +14 -14
  867. package/dist/react/status-indicator/index.js +3 -3
  868. package/dist/react/stepper/index.js +3 -3
  869. package/dist/react/stepper-step/index.js +5 -5
  870. package/dist/react/tab/index.js +5 -5
  871. package/dist/react/tab-panel/index.js +3 -3
  872. package/dist/react/tabs/index.js +5 -5
  873. package/dist/react/tag/index.js +5 -5
  874. package/dist/react/textarea/index.js +3 -3
  875. package/dist/react/time-average-map/index.js +25 -25
  876. package/dist/react/time-series/index.js +25 -25
  877. package/dist/react/toast/index.js +5 -5
  878. package/dist/react/toggle/index.js +3 -3
  879. package/dist/react/tooltip/index.js +4 -4
  880. package/dist/react/variable-combobox/index.js +10 -10
  881. package/dist/react/variable-keyword-search/index.js +10 -10
  882. package/dist/terra-ui-components.js +187 -187
  883. package/dist/terra_ui_components-0.0.148-py3-none-any.whl +0 -0
  884. package/dist/terra_ui_components-0.0.148.tar.gz +0 -0
  885. package/dist/types/vue/index.d.ts +496 -474
  886. package/dist/utilities/mimetypes.js +1 -1
  887. package/dist/vscode.html-custom-data.json +453 -440
  888. package/dist/web-types.json +1067 -1014
  889. package/package.json +1 -2
  890. package/cdn/chunks/chunk.26TEQ6WM.js +0 -158
  891. package/cdn/chunks/chunk.2FIXNDLC.js +0 -251
  892. package/cdn/chunks/chunk.2RPLIZVS.js +0 -67
  893. package/cdn/chunks/chunk.333RLFSA.js +0 -19
  894. package/cdn/chunks/chunk.34UNC3GQ.js +0 -19
  895. package/cdn/chunks/chunk.35A3RZ36.js +0 -19
  896. package/cdn/chunks/chunk.3BB6KOTU.js +0 -29
  897. package/cdn/chunks/chunk.3CBNAYQU.js +0 -74
  898. package/cdn/chunks/chunk.3CDNVAN6.js +0 -19
  899. package/cdn/chunks/chunk.3IZL7JFG.js +0 -19
  900. package/cdn/chunks/chunk.3NJN4KC3.js +0 -19
  901. package/cdn/chunks/chunk.3QAIAFO3.js +0 -2073
  902. package/cdn/chunks/chunk.3QXUJ74V.js +0 -33860
  903. package/cdn/chunks/chunk.45XFWGEL.js +0 -110
  904. package/cdn/chunks/chunk.46IUPYDY.js +0 -34
  905. package/cdn/chunks/chunk.4AESZBPS.js +0 -19
  906. package/cdn/chunks/chunk.4DSXPYCX.js +0 -240
  907. package/cdn/chunks/chunk.4HVT3AYY.js +0 -224
  908. package/cdn/chunks/chunk.4LQT63JV.js +0 -472
  909. package/cdn/chunks/chunk.4R66EEIQ.js +0 -491
  910. package/cdn/chunks/chunk.4S36TQZA.js +0 -32
  911. package/cdn/chunks/chunk.4UFYI2TK.js +0 -10718
  912. package/cdn/chunks/chunk.4VZUFBAT.js +0 -29
  913. package/cdn/chunks/chunk.5QKUGTZK.js +0 -19
  914. package/cdn/chunks/chunk.63OPLSTP.js +0 -132
  915. package/cdn/chunks/chunk.6DCM5OAX.js +0 -165
  916. package/cdn/chunks/chunk.6EUASDEF.js +0 -32
  917. package/cdn/chunks/chunk.6PDKWTOW.js +0 -279
  918. package/cdn/chunks/chunk.6USIKX2F.js +0 -56
  919. package/cdn/chunks/chunk.6ZKLPYZO.js +0 -225
  920. package/cdn/chunks/chunk.74MTSB4V.js +0 -189
  921. package/cdn/chunks/chunk.7KILO3Q2.js +0 -19
  922. package/cdn/chunks/chunk.7KK6F7D6.js +0 -19
  923. package/cdn/chunks/chunk.7M2J6PQV.js +0 -19
  924. package/cdn/chunks/chunk.7RCNCS4U.js +0 -198
  925. package/cdn/chunks/chunk.AH6W6EGS.js +0 -77
  926. package/cdn/chunks/chunk.AOMJDSJK.js +0 -19
  927. package/cdn/chunks/chunk.BELI5KYA.js +0 -37
  928. package/cdn/chunks/chunk.BFFHLV3I.js +0 -254
  929. package/cdn/chunks/chunk.BHGXXCYB.js +0 -357
  930. package/cdn/chunks/chunk.BKLEC3CU.js +0 -29
  931. package/cdn/chunks/chunk.C5KDVAED.js +0 -19
  932. package/cdn/chunks/chunk.C5XMJ6GC.js +0 -309
  933. package/cdn/chunks/chunk.C7HGTDOW.js +0 -29
  934. package/cdn/chunks/chunk.CG5GXLMN.js +0 -660
  935. package/cdn/chunks/chunk.COAFHV5O.js +0 -34
  936. package/cdn/chunks/chunk.CRIQ2HH3.js +0 -104
  937. package/cdn/chunks/chunk.CT74TCIR.js +0 -29
  938. package/cdn/chunks/chunk.CUQNHQ4C.js +0 -19
  939. package/cdn/chunks/chunk.CZF4J7JK.js +0 -151
  940. package/cdn/chunks/chunk.D75BRFV5.js +0 -231
  941. package/cdn/chunks/chunk.DANCFYIG.js +0 -29
  942. package/cdn/chunks/chunk.DEQWGUZ4.js +0 -32
  943. package/cdn/chunks/chunk.DNCSD3KI.js +0 -35
  944. package/cdn/chunks/chunk.DO4YHYLM.js +0 -226
  945. package/cdn/chunks/chunk.DRBMRRWZ.js +0 -372
  946. package/cdn/chunks/chunk.DSFRJYYP.js +0 -943
  947. package/cdn/chunks/chunk.DSYXR3BP.js +0 -299
  948. package/cdn/chunks/chunk.DWH7UJHQ.js +0 -33
  949. package/cdn/chunks/chunk.DWJN2RMV.js +0 -93
  950. package/cdn/chunks/chunk.EOPCPKE6.js +0 -19
  951. package/cdn/chunks/chunk.EQVTAI4H.js +0 -234
  952. package/cdn/chunks/chunk.F4RKWV6A.js +0 -33
  953. package/cdn/chunks/chunk.F73O5LKK.js +0 -134
  954. package/cdn/chunks/chunk.FAUYMYXO.js +0 -32
  955. package/cdn/chunks/chunk.FOACIGWR.js +0 -435
  956. package/cdn/chunks/chunk.FSSA437M.js +0 -19
  957. package/cdn/chunks/chunk.FT5GOSIZ.js +0 -48
  958. package/cdn/chunks/chunk.FTC6M36W.js +0 -32
  959. package/cdn/chunks/chunk.GDJPXXU2.js +0 -286
  960. package/cdn/chunks/chunk.GGXENRVM.js +0 -189
  961. package/cdn/chunks/chunk.GH3N6WLV.js +0 -19
  962. package/cdn/chunks/chunk.GS3E3TDU.js +0 -19
  963. package/cdn/chunks/chunk.GSJP6LKE.js +0 -78
  964. package/cdn/chunks/chunk.GY5STF6S.js +0 -32
  965. package/cdn/chunks/chunk.H33J7DDG.js +0 -30
  966. package/cdn/chunks/chunk.HL6HZSXT.js +0 -29
  967. package/cdn/chunks/chunk.HNPM3U57.js +0 -599
  968. package/cdn/chunks/chunk.HTQMUUU5.js +0 -92
  969. package/cdn/chunks/chunk.I3FHCOWV.js +0 -524
  970. package/cdn/chunks/chunk.I4SYW63O.js +0 -19
  971. package/cdn/chunks/chunk.I5GRYJHJ.js +0 -55346
  972. package/cdn/chunks/chunk.I7TO5DYG.js +0 -259
  973. package/cdn/chunks/chunk.IENWNMGK.js +0 -29
  974. package/cdn/chunks/chunk.II54QLOE.js +0 -134
  975. package/cdn/chunks/chunk.IIRL2FNO.js +0 -19
  976. package/cdn/chunks/chunk.IO62OT3T.js +0 -29
  977. package/cdn/chunks/chunk.IV3AD6YR.js +0 -477
  978. package/cdn/chunks/chunk.J2K53JZV.js +0 -34
  979. package/cdn/chunks/chunk.J32BQ36H.js +0 -19
  980. package/cdn/chunks/chunk.J43MPEAH.js +0 -32
  981. package/cdn/chunks/chunk.JA7WHI2E.js +0 -19
  982. package/cdn/chunks/chunk.JAXOIJPB.js +0 -36
  983. package/cdn/chunks/chunk.JGWY7JB7.js +0 -276
  984. package/cdn/chunks/chunk.JHEBRXRN.js +0 -99
  985. package/cdn/chunks/chunk.JLAMV75H.js +0 -19
  986. package/cdn/chunks/chunk.JNHT5IDD.js +0 -19
  987. package/cdn/chunks/chunk.JRQDMBDQ.js +0 -29
  988. package/cdn/chunks/chunk.JS5NFG3L.js +0 -615
  989. package/cdn/chunks/chunk.JW5SC6TB.js +0 -662
  990. package/cdn/chunks/chunk.JYDAF3OI.js +0 -99
  991. package/cdn/chunks/chunk.K2RPZYGD.js +0 -19
  992. package/cdn/chunks/chunk.K6SKQZRX.js +0 -157
  993. package/cdn/chunks/chunk.K7DWE6A2.js +0 -19
  994. package/cdn/chunks/chunk.KFWE3PI3.js +0 -29
  995. package/cdn/chunks/chunk.KG2ZEBJA.js +0 -19
  996. package/cdn/chunks/chunk.KP5INWSH.js +0 -29
  997. package/cdn/chunks/chunk.KRE6VDHG.js +0 -19
  998. package/cdn/chunks/chunk.KUMBN4KZ.js +0 -621
  999. package/cdn/chunks/chunk.KYET5TXI.js +0 -49
  1000. package/cdn/chunks/chunk.LEBRE2AX.js +0 -630
  1001. package/cdn/chunks/chunk.LF3HCT3R.js +0 -19
  1002. package/cdn/chunks/chunk.LMWA3TR5.js +0 -19
  1003. package/cdn/chunks/chunk.LQK4V62C.js +0 -29
  1004. package/cdn/chunks/chunk.M56CSDHS.js +0 -1966
  1005. package/cdn/chunks/chunk.MG44BWAJ.js +0 -29
  1006. package/cdn/chunks/chunk.MMP54S4L.js +0 -264
  1007. package/cdn/chunks/chunk.MN2PZAG7.js +0 -19
  1008. package/cdn/chunks/chunk.MRU3TO7V.js +0 -278
  1009. package/cdn/chunks/chunk.N5OIKLPM.js +0 -1811
  1010. package/cdn/chunks/chunk.NL7O5H6G.js +0 -29
  1011. package/cdn/chunks/chunk.NQBSBVGX.js +0 -29
  1012. package/cdn/chunks/chunk.NU3XX242.js +0 -93
  1013. package/cdn/chunks/chunk.O76ZUUDB.js +0 -19
  1014. package/cdn/chunks/chunk.OWWVZKC6.js +0 -62
  1015. package/cdn/chunks/chunk.OXAD7TJE.js +0 -19
  1016. package/cdn/chunks/chunk.OXFWDFQH.js +0 -36
  1017. package/cdn/chunks/chunk.P23GHIII.js +0 -29
  1018. package/cdn/chunks/chunk.P4QOVWCD.js +0 -538
  1019. package/cdn/chunks/chunk.P7YIMODT.js +0 -83
  1020. package/cdn/chunks/chunk.PD6PXDRN.js +0 -359
  1021. package/cdn/chunks/chunk.PMHWZDH2.js +0 -19
  1022. package/cdn/chunks/chunk.PNBW3TZS.js +0 -19
  1023. package/cdn/chunks/chunk.PSNRE2C3.js +0 -83
  1024. package/cdn/chunks/chunk.PSOU4Y7G.js +0 -284
  1025. package/cdn/chunks/chunk.Q2SEY4AZ.js +0 -33
  1026. package/cdn/chunks/chunk.Q6XHOSCO.js +0 -19
  1027. package/cdn/chunks/chunk.Q6ZGHQRK.js +0 -19
  1028. package/cdn/chunks/chunk.QDHDD2N5.js +0 -123
  1029. package/cdn/chunks/chunk.QJG3KXAL.js +0 -754
  1030. package/cdn/chunks/chunk.QWQNSHBX.js +0 -35
  1031. package/cdn/chunks/chunk.RQAS5OPB.js +0 -39
  1032. package/cdn/chunks/chunk.RTUVIFIB.js +0 -29
  1033. package/cdn/chunks/chunk.S4AGLUO5.js +0 -460
  1034. package/cdn/chunks/chunk.SB7UPBIM.js +0 -32
  1035. package/cdn/chunks/chunk.SHGCC64O.js +0 -60
  1036. package/cdn/chunks/chunk.SHJEJNKL.js +0 -29
  1037. package/cdn/chunks/chunk.SLV2OR4Q.js +0 -19
  1038. package/cdn/chunks/chunk.SP6FG3TT.js +0 -32
  1039. package/cdn/chunks/chunk.SQC7WP2K.js +0 -19
  1040. package/cdn/chunks/chunk.SR66RTLP.js +0 -29
  1041. package/cdn/chunks/chunk.SSLZPL2W.js +0 -19
  1042. package/cdn/chunks/chunk.SXYURTO3.js +0 -19
  1043. package/cdn/chunks/chunk.SZ7QDR65.js +0 -19
  1044. package/cdn/chunks/chunk.TGDEPCW7.js +0 -136
  1045. package/cdn/chunks/chunk.THNF6IDH.js +0 -19
  1046. package/cdn/chunks/chunk.TI2AV2RR.js +0 -19
  1047. package/cdn/chunks/chunk.TR63NOZP.js +0 -230
  1048. package/cdn/chunks/chunk.TSLZA2FP.js +0 -79
  1049. package/cdn/chunks/chunk.TTWXM2ZR.js +0 -35
  1050. package/cdn/chunks/chunk.TVMLBXLQ.js +0 -32
  1051. package/cdn/chunks/chunk.UAWQVKAK.js +0 -19
  1052. package/cdn/chunks/chunk.UGU3XYQD.js +0 -302
  1053. package/cdn/chunks/chunk.UMFK5I56.js +0 -19
  1054. package/cdn/chunks/chunk.UO5UHJ26.js +0 -29
  1055. package/cdn/chunks/chunk.UVKZZ2T6.js +0 -113
  1056. package/cdn/chunks/chunk.UZASZOT4.js +0 -19
  1057. package/cdn/chunks/chunk.V6NXXMUV.js +0 -19
  1058. package/cdn/chunks/chunk.VAJM46IT.js +0 -86
  1059. package/cdn/chunks/chunk.VAKXJJMW.js +0 -32
  1060. package/cdn/chunks/chunk.VEXXISSG.js +0 -170
  1061. package/cdn/chunks/chunk.VIH63JZW.js +0 -904
  1062. package/cdn/chunks/chunk.VTOLWHAC.js +0 -155
  1063. package/cdn/chunks/chunk.VXFQ6YXS.js +0 -36
  1064. package/cdn/chunks/chunk.VZLD5ALF.js +0 -33
  1065. package/cdn/chunks/chunk.W3MAHBWR.js +0 -19
  1066. package/cdn/chunks/chunk.W4AT2KM4.js +0 -229
  1067. package/cdn/chunks/chunk.W6TQ7PLD.js +0 -47
  1068. package/cdn/chunks/chunk.WDYBJ6MP.js +0 -19
  1069. package/cdn/chunks/chunk.WDYKT6BB.js +0 -106
  1070. package/cdn/chunks/chunk.WE4Y4OKP.js +0 -19
  1071. package/cdn/chunks/chunk.WJ6D57KB.js +0 -60
  1072. package/cdn/chunks/chunk.WRKHVFU4.js +0 -610
  1073. package/cdn/chunks/chunk.WSHPXHE4.js +0 -33
  1074. package/cdn/chunks/chunk.X5IFMJ7Z.js +0 -35
  1075. package/cdn/chunks/chunk.X756CPUC.js +0 -71
  1076. package/cdn/chunks/chunk.XAYWMZ7I.js +0 -32
  1077. package/cdn/chunks/chunk.XCA3QQDP.js +0 -36
  1078. package/cdn/chunks/chunk.XKUBPV5Q.js +0 -29
  1079. package/cdn/chunks/chunk.XLKYVRUZ.js +0 -29
  1080. package/cdn/chunks/chunk.XPIDY722.js +0 -29
  1081. package/cdn/chunks/chunk.XRDXKLB2.js +0 -19
  1082. package/cdn/chunks/chunk.XUWZKWEZ.js +0 -190
  1083. package/cdn/chunks/chunk.XYCI56NE.js +0 -89
  1084. package/cdn/chunks/chunk.XYPD5HVK.js +0 -32
  1085. package/cdn/chunks/chunk.Y5UU3CTS.js +0 -41
  1086. package/cdn/chunks/chunk.Y73EGWS7.js +0 -32
  1087. package/cdn/chunks/chunk.YEUJ4FIZ.js +0 -19
  1088. package/cdn/chunks/chunk.YJGQGHEJ.js +0 -19
  1089. package/cdn/chunks/chunk.YOLSEJL6.js +0 -29
  1090. package/cdn/chunks/chunk.YOTUTBEH.js +0 -29
  1091. package/cdn/chunks/chunk.YQIUUJXV.js +0 -29
  1092. package/cdn/chunks/chunk.YQTU2DAJ.js +0 -29
  1093. package/cdn/chunks/chunk.YSAISDDW.js +0 -29
  1094. package/cdn/chunks/chunk.YSEKNG3U.js +0 -19
  1095. package/cdn/chunks/chunk.YUGCZ7I7.js +0 -954
  1096. package/cdn/chunks/chunk.YXZOHD7K.js +0 -19
  1097. package/cdn/chunks/chunk.Z3SKKVNE.js +0 -188
  1098. package/cdn/chunks/chunk.ZEZ3WIPO.js +0 -32
  1099. package/cdn/chunks/chunk.ZFSZC5Z2.js +0 -37
  1100. package/cdn/chunks/chunk.ZJXUTHZT.js +0 -19
  1101. package/cdn/chunks/chunk.ZN5XZBHT.js +0 -19
  1102. package/cdn/chunks/chunk.ZPKTMYTG.js +0 -19
  1103. package/cdn/chunks/chunk.ZQVQ6FSW.js +0 -19
  1104. package/cdn/chunks/chunk.ZTXK4OVT.js +0 -19
  1105. package/dist/chunks/chunk.272C2YWD.js +0 -26
  1106. package/dist/chunks/chunk.2CYXSEIN.js +0 -252
  1107. package/dist/chunks/chunk.2DG3Q7IC.js +0 -21
  1108. package/dist/chunks/chunk.2H7Y4QZW.js +0 -591
  1109. package/dist/chunks/chunk.2HUN6GJ3.js +0 -25
  1110. package/dist/chunks/chunk.2LK4JESZ.js +0 -33
  1111. package/dist/chunks/chunk.2PS2PN6Q.js +0 -11
  1112. package/dist/chunks/chunk.2UBLLNCB.js +0 -39
  1113. package/dist/chunks/chunk.2VVD2A2K.js +0 -180
  1114. package/dist/chunks/chunk.2XMI7J7T.js +0 -11
  1115. package/dist/chunks/chunk.2Y2SR6DW.js +0 -214
  1116. package/dist/chunks/chunk.33XWRKO2.js +0 -21
  1117. package/dist/chunks/chunk.34S6BUWK.js +0 -97
  1118. package/dist/chunks/chunk.3M5K2VRJ.js +0 -241
  1119. package/dist/chunks/chunk.43FM3KSR.js +0 -25
  1120. package/dist/chunks/chunk.4BI42KGC.js +0 -21
  1121. package/dist/chunks/chunk.4QPRUZEC.js +0 -619
  1122. package/dist/chunks/chunk.566T2F6Y.js +0 -927
  1123. package/dist/chunks/chunk.5BITUPPF.js +0 -26
  1124. package/dist/chunks/chunk.5K55E6UH.js +0 -25
  1125. package/dist/chunks/chunk.5LGEYTNV.js +0 -86
  1126. package/dist/chunks/chunk.5MFCRVZF.js +0 -43
  1127. package/dist/chunks/chunk.5RA4RDAP.js +0 -29
  1128. package/dist/chunks/chunk.5WD4JMKK.js +0 -11
  1129. package/dist/chunks/chunk.632RS25N.js +0 -178
  1130. package/dist/chunks/chunk.6E2LZKYR.js +0 -21
  1131. package/dist/chunks/chunk.6E2QO3XK.js +0 -11
  1132. package/dist/chunks/chunk.6FZ2OXVK.js +0 -27
  1133. package/dist/chunks/chunk.7674U7FT.js +0 -215
  1134. package/dist/chunks/chunk.7G5DA24B.js +0 -21
  1135. package/dist/chunks/chunk.7JDN2WWK.js +0 -21
  1136. package/dist/chunks/chunk.7JL3JHA7.js +0 -67
  1137. package/dist/chunks/chunk.7MULIJ2V.js +0 -11
  1138. package/dist/chunks/chunk.7SAH6Z4T.js +0 -11
  1139. package/dist/chunks/chunk.A2INHFJK.js +0 -21
  1140. package/dist/chunks/chunk.ACQ4M2O6.js +0 -11
  1141. package/dist/chunks/chunk.ADJ5VE2P.js +0 -11
  1142. package/dist/chunks/chunk.AJVI74TO.js +0 -21
  1143. package/dist/chunks/chunk.ARSHNYXW.js +0 -451
  1144. package/dist/chunks/chunk.ATSVQANB.js +0 -21
  1145. package/dist/chunks/chunk.AZKZPA7C.js +0 -11
  1146. package/dist/chunks/chunk.B5AMVJI2.js +0 -11
  1147. package/dist/chunks/chunk.BC6A67OX.js +0 -57
  1148. package/dist/chunks/chunk.BFSJNBME.js +0 -89
  1149. package/dist/chunks/chunk.BHGMB774.js +0 -11
  1150. package/dist/chunks/chunk.BPL6QBOC.js +0 -11
  1151. package/dist/chunks/chunk.BTMCLVTO.js +0 -25
  1152. package/dist/chunks/chunk.BZ4EGENA.js +0 -11
  1153. package/dist/chunks/chunk.BZIMYDU3.js +0 -11
  1154. package/dist/chunks/chunk.C3XZFEXH.js +0 -21
  1155. package/dist/chunks/chunk.C5VYJNUD.js +0 -11
  1156. package/dist/chunks/chunk.C7NVT5BB.js +0 -11
  1157. package/dist/chunks/chunk.C7RRERDA.js +0 -121
  1158. package/dist/chunks/chunk.CB4BFMQ2.js +0 -213
  1159. package/dist/chunks/chunk.CCKUPM6P.js +0 -21
  1160. package/dist/chunks/chunk.D34OOYKG.js +0 -74
  1161. package/dist/chunks/chunk.D4N327EY.js +0 -11
  1162. package/dist/chunks/chunk.D6T2AM4K.js +0 -11
  1163. package/dist/chunks/chunk.DONCLRFH.js +0 -11
  1164. package/dist/chunks/chunk.DVUOT6X5.js +0 -288
  1165. package/dist/chunks/chunk.E73J7ZLS.js +0 -24
  1166. package/dist/chunks/chunk.EEXUEFRN.js +0 -11
  1167. package/dist/chunks/chunk.EIND5KV5.js +0 -733
  1168. package/dist/chunks/chunk.EYAQBN4W.js +0 -48
  1169. package/dist/chunks/chunk.F5ZRM4UT.js +0 -75
  1170. package/dist/chunks/chunk.FASDFTRM.js +0 -11
  1171. package/dist/chunks/chunk.FCTGPHU3.js +0 -345
  1172. package/dist/chunks/chunk.FE2YRT4I.js +0 -21
  1173. package/dist/chunks/chunk.FMKYICQO.js +0 -11
  1174. package/dist/chunks/chunk.FVXSKUHQ.js +0 -11
  1175. package/dist/chunks/chunk.G2CDB7TC.js +0 -422
  1176. package/dist/chunks/chunk.GHMLBVRL.js +0 -85
  1177. package/dist/chunks/chunk.GL7N4E5F.js +0 -11
  1178. package/dist/chunks/chunk.GNBUCAE6.js +0 -61
  1179. package/dist/chunks/chunk.GPYQWPH7.js +0 -24
  1180. package/dist/chunks/chunk.GUFOEB2X.js +0 -443
  1181. package/dist/chunks/chunk.GXHBB2BK.js +0 -11
  1182. package/dist/chunks/chunk.H2NGVL75.js +0 -262
  1183. package/dist/chunks/chunk.HB2GAHRY.js +0 -21
  1184. package/dist/chunks/chunk.HEHCI264.js +0 -937
  1185. package/dist/chunks/chunk.HFFC7CSH.js +0 -61
  1186. package/dist/chunks/chunk.HHRVCYCP.js +0 -21
  1187. package/dist/chunks/chunk.HMJLRO3D.js +0 -11
  1188. package/dist/chunks/chunk.HNTSD6YN.js +0 -11
  1189. package/dist/chunks/chunk.HTDDMELY.js +0 -472
  1190. package/dist/chunks/chunk.HXWXSALW.js +0 -21
  1191. package/dist/chunks/chunk.HY3XO5AM.js +0 -11
  1192. package/dist/chunks/chunk.I4ZGJAIX.js +0 -11
  1193. package/dist/chunks/chunk.I6KFGCKW.js +0 -25
  1194. package/dist/chunks/chunk.ICNQF3X6.js +0 -153
  1195. package/dist/chunks/chunk.IJ6ATH2G.js +0 -64
  1196. package/dist/chunks/chunk.IM2LRIG2.js +0 -145
  1197. package/dist/chunks/chunk.IU24O5FP.js +0 -11
  1198. package/dist/chunks/chunk.J4Y5WGFW.js +0 -143
  1199. package/dist/chunks/chunk.JF5XMQYM.js +0 -11
  1200. package/dist/chunks/chunk.JLZUVFCE.js +0 -287
  1201. package/dist/chunks/chunk.JX2ZA72Z.js +0 -220
  1202. package/dist/chunks/chunk.JXMVGVD3.js +0 -525
  1203. package/dist/chunks/chunk.JYE3UZ7F.js +0 -11
  1204. package/dist/chunks/chunk.K6BGAPBU.js +0 -28
  1205. package/dist/chunks/chunk.KDXR6RAM.js +0 -37
  1206. package/dist/chunks/chunk.KSCTOVEE.js +0 -24
  1207. package/dist/chunks/chunk.KUWB3YHJ.js +0 -220
  1208. package/dist/chunks/chunk.KVWBDTVE.js +0 -2062
  1209. package/dist/chunks/chunk.LPAGMHYK.js +0 -291
  1210. package/dist/chunks/chunk.LSQAN2LD.js +0 -1124
  1211. package/dist/chunks/chunk.LU6W37BH.js +0 -596
  1212. package/dist/chunks/chunk.LXK6XVBB.js +0 -21
  1213. package/dist/chunks/chunk.LYRQFZC4.js +0 -31
  1214. package/dist/chunks/chunk.M43H3QV7.js +0 -11
  1215. package/dist/chunks/chunk.M5WTUNKV.js +0 -409
  1216. package/dist/chunks/chunk.MFJTWHZU.js +0 -78
  1217. package/dist/chunks/chunk.MGURDS27.js +0 -11
  1218. package/dist/chunks/chunk.MLDZ7FRM.js +0 -11
  1219. package/dist/chunks/chunk.MP32V6JF.js +0 -11
  1220. package/dist/chunks/chunk.MQQMR33R.js +0 -48
  1221. package/dist/chunks/chunk.MRQ6SEQL.js +0 -11
  1222. package/dist/chunks/chunk.MYBSXZHT.js +0 -278
  1223. package/dist/chunks/chunk.N2AO3RT2.js +0 -21
  1224. package/dist/chunks/chunk.N5HDKOE2.js +0 -180
  1225. package/dist/chunks/chunk.NC25XWUR.js +0 -28
  1226. package/dist/chunks/chunk.NF6TS7VE.js +0 -247
  1227. package/dist/chunks/chunk.NLAMUPJI.js +0 -11
  1228. package/dist/chunks/chunk.NQUSYESD.js +0 -24
  1229. package/dist/chunks/chunk.NSKAS64G.js +0 -24
  1230. package/dist/chunks/chunk.NZ6XNFVY.js +0 -24
  1231. package/dist/chunks/chunk.NZI2QIFX.js +0 -11
  1232. package/dist/chunks/chunk.OA66EY7V.js +0 -24
  1233. package/dist/chunks/chunk.OPOM5NYB.js +0 -21
  1234. package/dist/chunks/chunk.OUX5ZAJF.js +0 -642
  1235. package/dist/chunks/chunk.OW63IENW.js +0 -11
  1236. package/dist/chunks/chunk.P4Q45ICU.js +0 -21
  1237. package/dist/chunks/chunk.PDVPPLE5.js +0 -214
  1238. package/dist/chunks/chunk.PEKVWKYT.js +0 -21
  1239. package/dist/chunks/chunk.PFOPI3VS.js +0 -180
  1240. package/dist/chunks/chunk.PG4X2ILS.js +0 -123
  1241. package/dist/chunks/chunk.PGYLMEJG.js +0 -11
  1242. package/dist/chunks/chunk.PHCONS2C.js +0 -609
  1243. package/dist/chunks/chunk.PHQ3RHOR.js +0 -21
  1244. package/dist/chunks/chunk.PMH2735I.js +0 -27
  1245. package/dist/chunks/chunk.PSH7C3UE.js +0 -25
  1246. package/dist/chunks/chunk.PX6C7WJR.js +0 -21
  1247. package/dist/chunks/chunk.Q3OACK3T.js +0 -101
  1248. package/dist/chunks/chunk.Q4F7GQU3.js +0 -11
  1249. package/dist/chunks/chunk.QB3XAEYL.js +0 -844
  1250. package/dist/chunks/chunk.QCFFEUZ5.js +0 -11
  1251. package/dist/chunks/chunk.QOVVZBY3.js +0 -21
  1252. package/dist/chunks/chunk.QT6YMUXC.js +0 -264
  1253. package/dist/chunks/chunk.QTHHBDBZ.js +0 -458
  1254. package/dist/chunks/chunk.QX46P4FI.js +0 -11
  1255. package/dist/chunks/chunk.RKMMXUAP.js +0 -112
  1256. package/dist/chunks/chunk.ROL2DCAI.js +0 -11
  1257. package/dist/chunks/chunk.ROTDM5PO.js +0 -345
  1258. package/dist/chunks/chunk.RQ27EUVN.js +0 -190
  1259. package/dist/chunks/chunk.RQQ26HU2.js +0 -1796
  1260. package/dist/chunks/chunk.RQQ4RAE2.js +0 -52
  1261. package/dist/chunks/chunk.RRXSF7XM.js +0 -11
  1262. package/dist/chunks/chunk.RUCPPCGA.js +0 -11
  1263. package/dist/chunks/chunk.RVD7MSQR.js +0 -27
  1264. package/dist/chunks/chunk.RXX63TG2.js +0 -24
  1265. package/dist/chunks/chunk.SAQ5NDKK.js +0 -11
  1266. package/dist/chunks/chunk.SBHGRKRD.js +0 -21
  1267. package/dist/chunks/chunk.SBP7DZY7.js +0 -20
  1268. package/dist/chunks/chunk.SH2IRK72.js +0 -28
  1269. package/dist/chunks/chunk.SJRFSZMI.js +0 -24
  1270. package/dist/chunks/chunk.SUZXJVRK.js +0 -11
  1271. package/dist/chunks/chunk.T2CPSS72.js +0 -24
  1272. package/dist/chunks/chunk.T6N4WCHK.js +0 -11
  1273. package/dist/chunks/chunk.TBBIOPLP.js +0 -11
  1274. package/dist/chunks/chunk.TJZCEVOT.js +0 -21
  1275. package/dist/chunks/chunk.TKHC4G3V.js +0 -29
  1276. package/dist/chunks/chunk.TNQZIZIY.js +0 -11
  1277. package/dist/chunks/chunk.TWJ4YDDO.js +0 -24
  1278. package/dist/chunks/chunk.TYK2UK63.js +0 -27
  1279. package/dist/chunks/chunk.U7XCMFST.js +0 -11
  1280. package/dist/chunks/chunk.UMIRLEHN.js +0 -11
  1281. package/dist/chunks/chunk.V2TFKPNC.js +0 -449
  1282. package/dist/chunks/chunk.VLTP62H6.js +0 -581
  1283. package/dist/chunks/chunk.VMYE2VST.js +0 -11
  1284. package/dist/chunks/chunk.W2XHRASZ.js +0 -93
  1285. package/dist/chunks/chunk.W76ILJ5S.js +0 -477
  1286. package/dist/chunks/chunk.WGW3TXWJ.js +0 -11
  1287. package/dist/chunks/chunk.WKH3Y2IJ.js +0 -355
  1288. package/dist/chunks/chunk.WMN2KKK6.js +0 -245
  1289. package/dist/chunks/chunk.WYF6KIZP.js +0 -21
  1290. package/dist/chunks/chunk.X44YYIHU.js +0 -24
  1291. package/dist/chunks/chunk.X5X4UZZJ.js +0 -11
  1292. package/dist/chunks/chunk.XC6VGXDZ.js +0 -78
  1293. package/dist/chunks/chunk.XEWYYXQO.js +0 -11
  1294. package/dist/chunks/chunk.XEZX22LQ.js +0 -28
  1295. package/dist/chunks/chunk.XJJJ5N44.js +0 -83
  1296. package/dist/chunks/chunk.XT7WLI7S.js +0 -24
  1297. package/dist/chunks/chunk.XUVQISFH.js +0 -21
  1298. package/dist/chunks/chunk.XWTM6QEP.js +0 -24
  1299. package/dist/chunks/chunk.XWUMRPTO.js +0 -21
  1300. package/dist/chunks/chunk.XXFWP5HJ.js +0 -124
  1301. package/dist/chunks/chunk.Y6KGVJTI.js +0 -271
  1302. package/dist/chunks/chunk.YB2HW4RD.js +0 -11
  1303. package/dist/chunks/chunk.YHNSW265.js +0 -229
  1304. package/dist/chunks/chunk.YHQMEGNP.js +0 -21
  1305. package/dist/chunks/chunk.YOEQGKZU.js +0 -214
  1306. package/dist/chunks/chunk.YZ7YDVM4.js +0 -161
  1307. package/dist/chunks/chunk.Z3NYHC6Y.js +0 -11
  1308. package/dist/chunks/chunk.Z6G2TOJC.js +0 -241
  1309. package/dist/chunks/chunk.ZHZTZFLC.js +0 -11
  1310. package/dist/chunks/chunk.ZLMZ6AJ4.js +0 -24
  1311. package/dist/chunks/chunk.ZMP2JJRB.js +0 -91
  1312. package/dist/chunks/chunk.ZWGUQYJA.js +0 -52
  1313. package/dist/terra_ui_components-0.0.146-py3-none-any.whl +0 -0
  1314. package/dist/terra_ui_components-0.0.146.tar.gz +0 -0
@@ -1,1796 +0,0 @@
1
- import {
2
- date_picker_styles_default
3
- } from "./chunk.4QPRUZEC.js";
4
- import {
5
- TerraInput
6
- } from "./chunk.LU6W37BH.js";
7
- import {
8
- TerraDropdown
9
- } from "./chunk.JXMVGVD3.js";
10
- import {
11
- TerraButton
12
- } from "./chunk.M5WTUNKV.js";
13
- import {
14
- watch
15
- } from "./chunk.NWXJOH5T.js";
16
- import {
17
- TerraElement,
18
- component_styles_default
19
- } from "./chunk.ARSHNYXW.js";
20
- import {
21
- __decorateClass
22
- } from "./chunk.SHKVBVTI.js";
23
-
24
- // src/components/date-picker/date-picker.component.ts
25
- import { property, state, query } from "lit/decorators.js";
26
- import { html } from "lit";
27
- import { createRef, ref } from "lit/directives/ref.js";
28
- import { isValid } from "date-fns";
29
- var TerraDatePicker = class extends TerraElement {
30
- constructor() {
31
- super();
32
- this.range = false;
33
- this.hideLabel = false;
34
- this.label = "Select Date";
35
- this.helpText = "";
36
- this.showPresets = false;
37
- this.presets = [];
38
- this.enableTime = false;
39
- this.inline = false;
40
- this.splitInputs = false;
41
- this.placeholder = "Select Date";
42
- this.startPlaceholder = "Start Date";
43
- this.endPlaceholder = "End Date";
44
- this.role = "group";
45
- this.ariaLabel = "Date picker";
46
- this.isOpen = false;
47
- this.leftMonth = /* @__PURE__ */ new Date();
48
- this.rightMonth = /* @__PURE__ */ new Date();
49
- this.selectedStart = null;
50
- this.selectedEnd = null;
51
- this.hoverDate = null;
52
- this.isSelectingRange = false;
53
- this.showLeftMonthDropdown = false;
54
- this.showRightMonthDropdown = false;
55
- this.startHour = 12;
56
- this.startMinute = 0;
57
- this.endHour = 12;
58
- this.endMinute = 0;
59
- this.timePeriod = "AM";
60
- this.endTimePeriod = "PM";
61
- this.selectedDates = {
62
- startDate: (/* @__PURE__ */ new Date()).toString(),
63
- endDate: (/* @__PURE__ */ new Date()).toString()
64
- };
65
- this.dropdownRef = createRef();
66
- this.DAYS = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"];
67
- this.MONTHS = [
68
- "January",
69
- "February",
70
- "March",
71
- "April",
72
- "May",
73
- "June",
74
- "July",
75
- "August",
76
- "September",
77
- "October",
78
- "November",
79
- "December"
80
- ];
81
- this.initializePresets();
82
- }
83
- /**
84
- * Parse a date string (YYYY-MM-DD) as a local date, avoiding timezone issues.
85
- * When you do `new Date("2024-03-20")`, JavaScript interprets it as UTC midnight,
86
- * which can cause off-by-one day errors when using getDate() in local timezone.
87
- * This function parses the date as a local date instead.
88
- */
89
- parseLocalDate(dateString) {
90
- const dateOnlyPattern = /^\d{4}-\d{2}-\d{2}$/;
91
- if (dateOnlyPattern.test(dateString)) {
92
- const [year, month, day] = dateString.split("-").map(Number);
93
- return new Date(year, month - 1, day);
94
- }
95
- return new Date(dateString);
96
- }
97
- /**
98
- * Check if two dates are in the same calendar month and year
99
- */
100
- isSameMonth(date1, date2) {
101
- return date1.getFullYear() === date2.getFullYear() && date1.getMonth() === date2.getMonth();
102
- }
103
- /**
104
- * Check if a date's month/year matches a given month Date
105
- */
106
- isDateInMonth(date, monthDate) {
107
- return date.getFullYear() === monthDate.getFullYear() && date.getMonth() === monthDate.getMonth();
108
- }
109
- getBounds() {
110
- const min = this.minDate ? this.parseLocalDate(this.minDate) : void 0;
111
- const max = this.maxDate ? this.parseLocalDate(this.maxDate) : void 0;
112
- return { min, max };
113
- }
114
- doesRangeOverlapBounds(range) {
115
- const { startDate, endDate } = range;
116
- const { min, max } = this.getBounds();
117
- if (!this.range) {
118
- if (!startDate)
119
- return false;
120
- if (min && startDate < min)
121
- return false;
122
- if (max && startDate > max)
123
- return false;
124
- return true;
125
- }
126
- const start = startDate != null ? startDate : /* @__PURE__ */ new Date(-864e13);
127
- const end = endDate != null ? endDate : /* @__PURE__ */ new Date(864e13);
128
- if (!min && !max)
129
- return true;
130
- const windowStart = min != null ? min : /* @__PURE__ */ new Date(-864e13);
131
- const windowEnd = max != null ? max : /* @__PURE__ */ new Date(864e13);
132
- return end >= windowStart && start <= windowEnd;
133
- }
134
- isPresetWithinBounds(range) {
135
- return this.doesRangeOverlapBounds(range);
136
- }
137
- get filteredPresets() {
138
- return (this.presets || []).filter(
139
- (preset) => this.isPresetWithinBounds(preset.getValue())
140
- );
141
- }
142
- open() {
143
- this.isOpen = true;
144
- if (this.maxDate && !this.selectedStart && !this.selectedEnd) {
145
- const max = this.parseLocalDate(this.maxDate);
146
- if (!isNaN(max.getTime())) {
147
- if (this.range) {
148
- this.rightMonth = new Date(max);
149
- const left = new Date(max);
150
- left.setMonth(left.getMonth() - 1);
151
- this.leftMonth = left;
152
- } else {
153
- this.leftMonth = new Date(max);
154
- }
155
- }
156
- }
157
- if (!this.inline && this.dropdownRef.value) {
158
- this.dropdownRef.value.show();
159
- }
160
- this.requestUpdate();
161
- }
162
- close() {
163
- this.isOpen = false;
164
- if (!this.inline && this.dropdownRef.value) {
165
- this.dropdownRef.value.hide();
166
- }
167
- this.requestUpdate();
168
- }
169
- setOpen(open) {
170
- if (open) {
171
- this.open();
172
- } else {
173
- this.close();
174
- }
175
- }
176
- handleInlineChange() {
177
- if (this.inline) {
178
- this.isOpen = true;
179
- if (this.dropdownRef.value) {
180
- this.dropdownRef.value.hide();
181
- }
182
- }
183
- }
184
- handleStartEndDateChange() {
185
- if (this.startDate) {
186
- const start = this.parseLocalDate(this.startDate);
187
- if (!isNaN(start.getTime())) {
188
- this.selectedStart = start;
189
- if (this.enableTime) {
190
- this.initializeTimeFromDate(start, true);
191
- }
192
- }
193
- } else {
194
- this.selectedStart = null;
195
- }
196
- if (this.range) {
197
- if (this.endDate) {
198
- const end = this.parseLocalDate(this.endDate);
199
- if (!isNaN(end.getTime())) {
200
- this.selectedEnd = end;
201
- if (this.enableTime) {
202
- this.initializeTimeFromDate(end, false);
203
- }
204
- }
205
- } else {
206
- this.selectedEnd = null;
207
- }
208
- if (this.selectedStart && this.selectedEnd) {
209
- const isSingleMonthRange = this.isSameMonth(
210
- this.selectedStart,
211
- this.selectedEnd
212
- );
213
- if (isSingleMonthRange) {
214
- if (this.isDateInMonth(this.selectedStart, this.leftMonth)) {
215
- this.leftMonth = new Date(this.selectedStart);
216
- if (this.isDateInMonth(this.selectedStart, this.rightMonth)) {
217
- this.rightMonth = new Date(this.selectedStart);
218
- this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
219
- }
220
- } else if (this.isDateInMonth(this.selectedStart, this.rightMonth)) {
221
- this.rightMonth = new Date(this.selectedStart);
222
- } else {
223
- this.leftMonth = new Date(this.selectedStart);
224
- }
225
- } else {
226
- this.leftMonth = new Date(this.selectedStart);
227
- this.rightMonth = new Date(this.selectedEnd);
228
- }
229
- } else if (this.selectedStart) {
230
- this.leftMonth = new Date(this.selectedStart);
231
- this.rightMonth = new Date(this.leftMonth);
232
- this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
233
- }
234
- } else {
235
- if (this.selectedStart) {
236
- this.leftMonth = new Date(this.selectedStart);
237
- }
238
- this.selectedEnd = null;
239
- }
240
- }
241
- initializePresets() {
242
- if (this.presets.length === 0) {
243
- this.presets = [
244
- {
245
- label: "Today",
246
- getValue: () => {
247
- const today = /* @__PURE__ */ new Date();
248
- return {
249
- startDate: today,
250
- endDate: this.range ? today : null
251
- };
252
- }
253
- },
254
- {
255
- label: "Yesterday",
256
- getValue: () => {
257
- const yesterday = /* @__PURE__ */ new Date();
258
- yesterday.setDate(yesterday.getDate() - 1);
259
- return {
260
- startDate: yesterday,
261
- endDate: this.range ? yesterday : null
262
- };
263
- }
264
- },
265
- {
266
- label: "Last 7 days",
267
- getValue: () => {
268
- const end = /* @__PURE__ */ new Date();
269
- const start = /* @__PURE__ */ new Date();
270
- start.setDate(start.getDate() - 6);
271
- return { startDate: start, endDate: end };
272
- }
273
- },
274
- {
275
- label: "Last 30 days",
276
- getValue: () => {
277
- const end = /* @__PURE__ */ new Date();
278
- const start = /* @__PURE__ */ new Date();
279
- start.setDate(start.getDate() - 29);
280
- return { startDate: start, endDate: end };
281
- }
282
- },
283
- {
284
- label: "Last 6 months",
285
- getValue: () => {
286
- const end = /* @__PURE__ */ new Date();
287
- const start = /* @__PURE__ */ new Date();
288
- start.setMonth(start.getMonth() - 6);
289
- return { startDate: start, endDate: end };
290
- }
291
- },
292
- {
293
- label: "Last year",
294
- getValue: () => {
295
- const end = /* @__PURE__ */ new Date();
296
- const start = /* @__PURE__ */ new Date();
297
- start.setFullYear(start.getFullYear() - 1);
298
- return { startDate: start, endDate: end };
299
- }
300
- },
301
- {
302
- label: "All time",
303
- getValue: () => {
304
- const { min, max } = this.getBounds();
305
- return {
306
- startDate: min || null,
307
- endDate: max || null
308
- };
309
- }
310
- }
311
- ];
312
- }
313
- }
314
- firstUpdated() {
315
- const params = new URLSearchParams(window.location.search);
316
- const timeStartParam = params.get("time_start") || this.startDate;
317
- const timeEndParam = params.get("time_end") || this.endDate;
318
- if (timeStartParam) {
319
- this.selectedStart = this.parseLocalDate(timeStartParam);
320
- this.leftMonth = new Date(this.selectedStart);
321
- if (this.enableTime) {
322
- this.initializeTimeFromDate(this.selectedStart, true);
323
- }
324
- }
325
- if (this.range && timeEndParam) {
326
- this.selectedEnd = this.parseLocalDate(timeEndParam);
327
- if (this.enableTime) {
328
- this.initializeTimeFromDate(this.selectedEnd, false);
329
- }
330
- if (this.selectedStart && this.selectedEnd) {
331
- const isSingleMonthRange = this.isSameMonth(
332
- this.selectedStart,
333
- this.selectedEnd
334
- );
335
- if (isSingleMonthRange) {
336
- this.rightMonth = new Date(this.selectedStart);
337
- this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
338
- } else {
339
- this.rightMonth = new Date(this.selectedEnd);
340
- }
341
- } else if (this.selectedEnd) {
342
- this.rightMonth = new Date(this.selectedEnd);
343
- }
344
- }
345
- if (this.range && !timeEndParam) {
346
- this.rightMonth = new Date(this.leftMonth);
347
- this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
348
- }
349
- if (this.inline) {
350
- this.isOpen = true;
351
- }
352
- }
353
- disconnectedCallback() {
354
- super.disconnectedCallback();
355
- }
356
- handleDropdownShow() {
357
- this.isOpen = true;
358
- }
359
- handleDropdownHide() {
360
- this.isOpen = false;
361
- }
362
- formatDisplayDate(date, isStart = true) {
363
- if (!date)
364
- return "";
365
- const format = this.displayFormat || (this.enableTime ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD");
366
- const year = date.getFullYear();
367
- const month = String(date.getMonth() + 1).padStart(2, "0");
368
- const day = String(date.getDate()).padStart(2, "0");
369
- let hours;
370
- let minutes;
371
- let seconds;
372
- if (this.enableTime) {
373
- const hour12 = isStart ? this.startHour : this.endHour;
374
- const period = isStart ? this.timePeriod : this.endTimePeriod;
375
- let hour24 = hour12;
376
- if (period === "PM" && hour12 !== 12) {
377
- hour24 = hour12 + 12;
378
- } else if (period === "AM" && hour12 === 12) {
379
- hour24 = 0;
380
- }
381
- hours = String(hour24).padStart(2, "0");
382
- minutes = String(isStart ? this.startMinute : this.endMinute).padStart(
383
- 2,
384
- "0"
385
- );
386
- seconds = "00";
387
- } else {
388
- hours = String(date.getHours()).padStart(2, "0");
389
- minutes = String(date.getMinutes()).padStart(2, "0");
390
- seconds = String(date.getSeconds()).padStart(2, "0");
391
- }
392
- return format.replace("YYYY", year.toString()).replace("MM", month).replace("DD", day).replace("HH", hours).replace("mm", minutes).replace("ss", seconds);
393
- }
394
- getDisplayValue() {
395
- if (this.range) {
396
- if (this.selectedStart && this.selectedEnd) {
397
- return `${this.formatDisplayDate(this.selectedStart, true)} \u2013 ${this.formatDisplayDate(this.selectedEnd, false)}`;
398
- } else if (this.selectedStart) {
399
- return this.formatDisplayDate(this.selectedStart, true);
400
- }
401
- return "";
402
- } else {
403
- return this.selectedStart ? this.formatDisplayDate(this.selectedStart, true) : "";
404
- }
405
- }
406
- getStartDateDisplayValue() {
407
- return this.selectedStart ? this.formatDisplayDate(this.selectedStart, true) : "";
408
- }
409
- getEndDateDisplayValue() {
410
- return this.selectedEnd ? this.formatDisplayDate(this.selectedEnd, false) : "";
411
- }
412
- parseAndFormatDate(dateStr) {
413
- const trimmed = dateStr.trim();
414
- if (!trimmed)
415
- return null;
416
- const dateOnlyPattern = /^\d{4}-\d{2}-\d{2}$/;
417
- let date;
418
- if (dateOnlyPattern.test(trimmed)) {
419
- date = this.parseLocalDate(trimmed);
420
- } else {
421
- date = new Date(trimmed);
422
- if (!isValid(date)) {
423
- return null;
424
- }
425
- }
426
- if (!isValid(date)) {
427
- return null;
428
- }
429
- const year = date.getFullYear();
430
- const month = date.getMonth() + 1;
431
- const day = date.getDate();
432
- return `${year}-${String(month).padStart(2, "0")}-${String(day).padStart(2, "0")}`;
433
- }
434
- handleInputBlur(event) {
435
- const input = event.target;
436
- const value = input.value || "";
437
- if (!value.trim()) {
438
- this.selectedStart = null;
439
- this.selectedEnd = null;
440
- input.setCustomValidity("");
441
- this.emitChange();
442
- return;
443
- }
444
- if (this.range) {
445
- const parts = value.split(" - ");
446
- if (parts.length !== 2) {
447
- input.setCustomValidity(
448
- "Date range must be in format: YYYY-MM-DD - YYYY-MM-DD"
449
- );
450
- return;
451
- }
452
- const startFormatted = this.parseAndFormatDate(parts[0]);
453
- const endFormatted = this.parseAndFormatDate(parts[1]);
454
- if (!startFormatted) {
455
- input.setCustomValidity("Invalid start date format");
456
- return;
457
- }
458
- if (!endFormatted) {
459
- input.setCustomValidity("Invalid end date format");
460
- return;
461
- }
462
- const start = this.parseLocalDate(startFormatted);
463
- const end = this.parseLocalDate(endFormatted);
464
- let finalStart = start;
465
- let finalEnd = end;
466
- if (start > end) {
467
- finalStart = end;
468
- finalEnd = start;
469
- }
470
- if (this.minDate) {
471
- const min = this.parseLocalDate(this.minDate);
472
- if (finalStart < min) {
473
- input.setCustomValidity(
474
- `Start date must be on or after ${this.minDate}`
475
- );
476
- return;
477
- }
478
- }
479
- if (this.maxDate) {
480
- const max = this.parseLocalDate(this.maxDate);
481
- if (finalEnd > max) {
482
- input.setCustomValidity(
483
- `End date must be on or before ${this.maxDate}`
484
- );
485
- return;
486
- }
487
- }
488
- this.selectedStart = finalStart;
489
- this.selectedEnd = finalEnd;
490
- this.updateMonthViews();
491
- input.setCustomValidity("");
492
- this.emitChange();
493
- } else {
494
- const formatted = this.parseAndFormatDate(value);
495
- if (!formatted) {
496
- input.setCustomValidity("Invalid date format");
497
- return;
498
- }
499
- const date = this.parseLocalDate(formatted);
500
- if (this.minDate) {
501
- const min = this.parseLocalDate(this.minDate);
502
- if (date < min) {
503
- input.setCustomValidity(
504
- `Date must be on or after ${this.minDate}`
505
- );
506
- return;
507
- }
508
- }
509
- if (this.maxDate) {
510
- const max = this.parseLocalDate(this.maxDate);
511
- if (date > max) {
512
- input.setCustomValidity(
513
- `Date must be on or before ${this.maxDate}`
514
- );
515
- return;
516
- }
517
- }
518
- this.selectedStart = date;
519
- this.selectedEnd = null;
520
- this.updateMonthViews();
521
- input.setCustomValidity("");
522
- this.emitChange();
523
- }
524
- }
525
- handleStartInputBlur(event) {
526
- const input = event.target;
527
- const value = input.value || "";
528
- if (!value.trim()) {
529
- this.selectedStart = null;
530
- input.setCustomValidity("");
531
- this.emitChange();
532
- return;
533
- }
534
- const formatted = this.parseAndFormatDate(value);
535
- if (!formatted) {
536
- input.setCustomValidity("Invalid date format");
537
- return;
538
- }
539
- const date = this.parseLocalDate(formatted);
540
- if (this.minDate) {
541
- const min = this.parseLocalDate(this.minDate);
542
- if (date < min) {
543
- input.setCustomValidity(`Date must be on or after ${this.minDate}`);
544
- return;
545
- }
546
- }
547
- if (this.maxDate) {
548
- const max = this.parseLocalDate(this.maxDate);
549
- if (date > max) {
550
- input.setCustomValidity(`Date must be on or before ${this.maxDate}`);
551
- return;
552
- }
553
- }
554
- if (this.selectedEnd && date > this.selectedEnd) {
555
- input.setCustomValidity("Start date must be before end date");
556
- return;
557
- }
558
- this.selectedStart = date;
559
- this.leftMonth = new Date(date);
560
- input.setCustomValidity("");
561
- this.emitChange();
562
- }
563
- handleEndInputBlur(event) {
564
- const input = event.target;
565
- const value = input.value || "";
566
- if (!value.trim()) {
567
- this.selectedEnd = null;
568
- input.setCustomValidity("");
569
- this.emitChange();
570
- return;
571
- }
572
- const formatted = this.parseAndFormatDate(value);
573
- if (!formatted) {
574
- input.setCustomValidity("Invalid date format");
575
- return;
576
- }
577
- const date = this.parseLocalDate(formatted);
578
- if (this.minDate) {
579
- const min = this.parseLocalDate(this.minDate);
580
- if (date < min) {
581
- input.setCustomValidity(`Date must be on or after ${this.minDate}`);
582
- return;
583
- }
584
- }
585
- if (this.maxDate) {
586
- const max = this.parseLocalDate(this.maxDate);
587
- if (date > max) {
588
- input.setCustomValidity(`Date must be on or before ${this.maxDate}`);
589
- return;
590
- }
591
- }
592
- if (this.selectedStart && date < this.selectedStart) {
593
- input.setCustomValidity("End date must be after start date");
594
- return;
595
- }
596
- this.selectedEnd = date;
597
- if (this.selectedStart && this.isSameMonth(this.selectedStart, this.selectedEnd)) {
598
- this.rightMonth = new Date(this.selectedStart);
599
- this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
600
- } else {
601
- this.rightMonth = new Date(date);
602
- }
603
- input.setCustomValidity("");
604
- this.emitChange();
605
- }
606
- updateMonthViews() {
607
- if (this.selectedStart) {
608
- this.leftMonth = new Date(this.selectedStart);
609
- if (this.range && this.selectedEnd) {
610
- if (this.isSameMonth(this.selectedStart, this.selectedEnd)) {
611
- this.rightMonth = new Date(this.selectedStart);
612
- this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
613
- } else {
614
- this.rightMonth = new Date(this.selectedEnd);
615
- }
616
- }
617
- }
618
- }
619
- handleKeydown(event) {
620
- if (event.key === " ") {
621
- event.stopPropagation();
622
- return;
623
- }
624
- if (event.key === "Enter") {
625
- event.preventDefault();
626
- this.handleInputBlur(event);
627
- }
628
- }
629
- previousMonth(isLeft) {
630
- if (isLeft) {
631
- const newMonth = new Date(this.leftMonth);
632
- newMonth.setMonth(newMonth.getMonth() - 1);
633
- this.leftMonth = newMonth;
634
- } else {
635
- const newMonth = new Date(this.rightMonth);
636
- newMonth.setMonth(newMonth.getMonth() - 1);
637
- this.rightMonth = newMonth;
638
- }
639
- }
640
- nextMonth(isLeft) {
641
- if (isLeft) {
642
- const newMonth = new Date(this.leftMonth);
643
- newMonth.setMonth(newMonth.getMonth() + 1);
644
- this.leftMonth = newMonth;
645
- } else {
646
- const newMonth = new Date(this.rightMonth);
647
- newMonth.setMonth(newMonth.getMonth() + 1);
648
- this.rightMonth = newMonth;
649
- }
650
- }
651
- toggleMonthDropdown(isLeft, event) {
652
- event.stopPropagation();
653
- if (isLeft) {
654
- this.showLeftMonthDropdown = !this.showLeftMonthDropdown;
655
- this.showRightMonthDropdown = false;
656
- } else {
657
- this.showRightMonthDropdown = !this.showRightMonthDropdown;
658
- this.showLeftMonthDropdown = false;
659
- }
660
- }
661
- selectMonth(month, isLeft) {
662
- if (isLeft) {
663
- const newMonth = new Date(this.leftMonth);
664
- newMonth.setMonth(month);
665
- this.leftMonth = newMonth;
666
- this.showLeftMonthDropdown = false;
667
- } else {
668
- const newMonth = new Date(this.rightMonth);
669
- newMonth.setMonth(month);
670
- this.rightMonth = newMonth;
671
- this.showRightMonthDropdown = false;
672
- }
673
- }
674
- changeYear(delta, isLeft) {
675
- if (isLeft) {
676
- const newMonth = new Date(this.leftMonth);
677
- newMonth.setFullYear(newMonth.getFullYear() + delta);
678
- this.leftMonth = newMonth;
679
- } else {
680
- const newMonth = new Date(this.rightMonth);
681
- newMonth.setFullYear(newMonth.getFullYear() + delta);
682
- this.rightMonth = newMonth;
683
- }
684
- }
685
- handleYearInput(event, isLeft) {
686
- const input = event.target;
687
- const year = parseInt(input.value, 10);
688
- if (!isNaN(year) && year >= 1900 && year <= 2100) {
689
- if (isLeft) {
690
- const newMonth = new Date(this.leftMonth);
691
- newMonth.setFullYear(year);
692
- this.leftMonth = newMonth;
693
- } else {
694
- const newMonth = new Date(this.rightMonth);
695
- newMonth.setFullYear(year);
696
- this.rightMonth = newMonth;
697
- }
698
- }
699
- }
700
- getDaysInMonth(date) {
701
- const year = date.getFullYear();
702
- const month = date.getMonth();
703
- const firstDay = new Date(year, month, 1);
704
- const lastDay = new Date(year, month + 1, 0);
705
- const days = [];
706
- const firstDayOfWeek = firstDay.getDay();
707
- for (let i = firstDayOfWeek - 1; i >= 0; i--) {
708
- const day = new Date(year, month, -i);
709
- days.push(day);
710
- }
711
- for (let i = 1; i <= lastDay.getDate(); i++) {
712
- days.push(new Date(year, month, i));
713
- }
714
- const remainingDays = 7 - days.length % 7;
715
- if (remainingDays < 7) {
716
- for (let i = 1; i <= remainingDays; i++) {
717
- days.push(new Date(year, month + 1, i));
718
- }
719
- }
720
- return days;
721
- }
722
- isSameDay(date1, date2) {
723
- if (!date1 || !date2)
724
- return false;
725
- return date1.getFullYear() === date2.getFullYear() && date1.getMonth() === date2.getMonth() && date1.getDate() === date2.getDate();
726
- }
727
- isInRange(date) {
728
- if (!this.selectedStart || !this.selectedEnd)
729
- return false;
730
- const time = date.getTime();
731
- return time >= this.selectedStart.getTime() && time <= this.selectedEnd.getTime();
732
- }
733
- isInHoverRange(date) {
734
- if (!this.range || !this.selectedStart || !this.hoverDate || this.selectedEnd)
735
- return false;
736
- const time = date.getTime();
737
- const start = Math.min(this.selectedStart.getTime(), this.hoverDate.getTime());
738
- const end = Math.max(this.selectedStart.getTime(), this.hoverDate.getTime());
739
- return time >= start && time <= end;
740
- }
741
- isDisabled(date) {
742
- if (this.minDate) {
743
- const min = this.parseLocalDate(this.minDate);
744
- const minMidnight = new Date(
745
- min.getFullYear(),
746
- min.getMonth(),
747
- min.getDate()
748
- );
749
- const dateMidnight = new Date(
750
- date.getFullYear(),
751
- date.getMonth(),
752
- date.getDate()
753
- );
754
- if (dateMidnight < minMidnight)
755
- return true;
756
- }
757
- if (this.maxDate) {
758
- const max = this.parseLocalDate(this.maxDate);
759
- const maxMidnight = new Date(
760
- max.getFullYear(),
761
- max.getMonth(),
762
- max.getDate()
763
- );
764
- const dateMidnight = new Date(
765
- date.getFullYear(),
766
- date.getMonth(),
767
- date.getDate()
768
- );
769
- if (dateMidnight > maxMidnight)
770
- return true;
771
- }
772
- return false;
773
- }
774
- selectDate(date) {
775
- if (this.isDisabled(date))
776
- return;
777
- if (this.range) {
778
- if (!this.selectedStart || this.selectedEnd) {
779
- this.selectedStart = date;
780
- this.selectedEnd = null;
781
- this.isSelectingRange = true;
782
- } else {
783
- if (date < this.selectedStart) {
784
- this.selectedEnd = this.selectedStart;
785
- this.selectedStart = date;
786
- } else {
787
- this.selectedEnd = date;
788
- }
789
- this.isSelectingRange = false;
790
- this.emitChange();
791
- if (!this.inline) {
792
- this.isOpen = false;
793
- }
794
- }
795
- } else {
796
- this.selectedStart = date;
797
- this.selectedEnd = null;
798
- this.emitChange();
799
- if (!this.inline) {
800
- this.isOpen = false;
801
- }
802
- }
803
- }
804
- handleDateHover(date) {
805
- if (this.range && this.selectedStart && !this.selectedEnd) {
806
- this.hoverDate = date;
807
- }
808
- }
809
- selectPreset(preset) {
810
- const { startDate, endDate } = preset.getValue();
811
- if (!this.isPresetWithinBounds({ startDate, endDate })) {
812
- return;
813
- }
814
- const { min, max } = this.getBounds();
815
- if (this.range) {
816
- let s = startDate;
817
- let e = endDate;
818
- if (s && min && s < min)
819
- s = new Date(min);
820
- if (s && max && s > max)
821
- s = new Date(max);
822
- if (e && min && e < min)
823
- e = new Date(min);
824
- if (e && max && e > max)
825
- e = new Date(max);
826
- if (s && e && e < s) {
827
- const tmp = s;
828
- s = e;
829
- e = tmp;
830
- }
831
- this.selectedStart = s;
832
- this.selectedEnd = e;
833
- } else {
834
- let s = startDate;
835
- if (s && min && s < min)
836
- s = new Date(min);
837
- if (s && max && s > max)
838
- s = new Date(max);
839
- this.selectedStart = s;
840
- this.selectedEnd = null;
841
- }
842
- if (this.selectedStart) {
843
- this.leftMonth = new Date(this.selectedStart);
844
- if (this.range && this.selectedEnd) {
845
- this.rightMonth = new Date(this.selectedEnd);
846
- }
847
- }
848
- this.emitChange();
849
- if (!this.range && !this.inline) {
850
- this.isOpen = false;
851
- }
852
- }
853
- emitChange() {
854
- let startDateTime = "";
855
- let endDateTime = "";
856
- if (this.selectedStart) {
857
- if (this.enableTime) {
858
- const startDate = new Date(this.selectedStart);
859
- let hours = this.startHour;
860
- if (this.timePeriod === "PM" && hours !== 12)
861
- hours += 12;
862
- if (this.timePeriod === "AM" && hours === 12)
863
- hours = 0;
864
- startDate.setHours(hours, this.startMinute, 0, 0);
865
- startDateTime = startDate.toISOString();
866
- } else {
867
- startDateTime = this.selectedStart.toISOString().split("T")[0];
868
- }
869
- }
870
- if (this.selectedEnd) {
871
- if (this.enableTime) {
872
- const endDate = new Date(this.selectedEnd);
873
- let hours = this.endHour;
874
- if (this.endTimePeriod === "PM" && hours !== 12)
875
- hours += 12;
876
- if (this.endTimePeriod === "AM" && hours === 12)
877
- hours = 0;
878
- endDate.setHours(hours, this.endMinute, 0, 0);
879
- endDateTime = endDate.toISOString();
880
- } else {
881
- endDateTime = this.selectedEnd.toISOString().split("T")[0];
882
- }
883
- }
884
- this.emit("terra-date-range-change", {
885
- detail: {
886
- startDate: startDateTime,
887
- endDate: endDateTime
888
- }
889
- });
890
- }
891
- initializeTimeFromDate(date, isStart) {
892
- let hours = date.getHours();
893
- const minutes = date.getMinutes();
894
- const period = hours >= 12 ? "PM" : "AM";
895
- if (hours === 0)
896
- hours = 12;
897
- else if (hours > 12)
898
- hours -= 12;
899
- if (isStart) {
900
- this.startHour = hours;
901
- this.startMinute = minutes;
902
- this.timePeriod = period;
903
- } else {
904
- this.endHour = hours;
905
- this.endMinute = minutes;
906
- this.endTimePeriod = period;
907
- }
908
- }
909
- changeTime(type, delta, isStart) {
910
- if (type === "hour") {
911
- if (isStart) {
912
- let newHour = this.startHour + delta;
913
- if (newHour > 12)
914
- newHour = 1;
915
- if (newHour < 1)
916
- newHour = 12;
917
- this.startHour = newHour;
918
- } else {
919
- let newHour = this.endHour + delta;
920
- if (newHour > 12)
921
- newHour = 1;
922
- if (newHour < 1)
923
- newHour = 12;
924
- this.endHour = newHour;
925
- }
926
- } else {
927
- if (isStart) {
928
- let newMinute = this.startMinute + delta;
929
- if (newMinute >= 60)
930
- newMinute = 0;
931
- if (newMinute < 0)
932
- newMinute = 59;
933
- this.startMinute = newMinute;
934
- } else {
935
- let newMinute = this.endMinute + delta;
936
- if (newMinute >= 60)
937
- newMinute = 0;
938
- if (newMinute < 0)
939
- newMinute = 59;
940
- this.endMinute = newMinute;
941
- }
942
- }
943
- }
944
- handleTimeInput(event, type, isStart) {
945
- const input = event.target;
946
- let value = parseInt(input.value, 10);
947
- if (type === "hour") {
948
- if (isNaN(value) || value < 1 || value > 12) {
949
- input.value = isStart ? this.startHour.toString().padStart(2, "0") : this.endHour.toString().padStart(2, "0");
950
- return;
951
- }
952
- if (isStart)
953
- this.startHour = value;
954
- else
955
- this.endHour = value;
956
- } else {
957
- if (isNaN(value) || value < 0 || value >= 60) {
958
- input.value = isStart ? this.startMinute.toString().padStart(2, "0") : this.endMinute.toString().padStart(2, "0");
959
- return;
960
- }
961
- if (isStart)
962
- this.startMinute = value;
963
- else
964
- this.endMinute = value;
965
- }
966
- }
967
- togglePeriod(isStart) {
968
- if (isStart) {
969
- this.timePeriod = this.timePeriod === "AM" ? "PM" : "AM";
970
- } else {
971
- this.endTimePeriod = this.endTimePeriod === "AM" ? "PM" : "AM";
972
- }
973
- }
974
- renderCalendar(month, isLeft = true) {
975
- const days = this.getDaysInMonth(month);
976
- const currentMonth = month.getMonth();
977
- const showDropdown = isLeft ? this.showLeftMonthDropdown : this.showRightMonthDropdown;
978
- return html`
979
- <div class="calendar">
980
- <div class="calendar__header">
981
- <button
982
- type="button"
983
- class="calendar__nav"
984
- @click=${() => this.previousMonth(isLeft)}
985
- >
986
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none">
987
- <path
988
- d="M10 12L6 8L10 4"
989
- stroke="currentColor"
990
- stroke-width="2"
991
- stroke-linecap="round"
992
- stroke-linejoin="round"
993
- />
994
- </svg>
995
- </button>
996
-
997
- <div class="calendar__month-year">
998
- <div class="calendar__month-dropdown-wrapper">
999
- <button
1000
- type="button"
1001
- class="calendar__month-button"
1002
- @click=${(e) => this.toggleMonthDropdown(isLeft, e)}
1003
- >
1004
- ${this.MONTHS[month.getMonth()]}
1005
- <svg
1006
- width="12"
1007
- height="12"
1008
- viewBox="0 0 12 12"
1009
- fill="none"
1010
- class="calendar__month-icon"
1011
- >
1012
- <path
1013
- d="M3 5L6 8L9 5"
1014
- stroke="currentColor"
1015
- stroke-width="1.5"
1016
- stroke-linecap="round"
1017
- stroke-linejoin="round"
1018
- />
1019
- </svg>
1020
- </button>
1021
-
1022
- ${showDropdown ? html`
1023
- <div class="calendar__month-dropdown">
1024
- ${this.MONTHS.map(
1025
- (monthName, index) => html`
1026
- <button
1027
- type="button"
1028
- class="calendar__month-option ${index === month.getMonth() ? "calendar__month-option--selected" : ""}"
1029
- @click=${() => this.selectMonth(
1030
- index,
1031
- isLeft
1032
- )}
1033
- >
1034
- ${index === month.getMonth() ? html`
1035
- <svg
1036
- width="16"
1037
- height="16"
1038
- viewBox="0 0 16 16"
1039
- fill="none"
1040
- class="calendar__month-check"
1041
- >
1042
- <path
1043
- d="M13 4L6 11L3 8"
1044
- stroke="currentColor"
1045
- stroke-width="2"
1046
- stroke-linecap="round"
1047
- stroke-linejoin="round"
1048
- />
1049
- </svg>
1050
- ` : ""}
1051
- ${monthName}
1052
- </button>
1053
- `
1054
- )}
1055
- </div>
1056
- ` : ""}
1057
- </div>
1058
-
1059
- <div class="calendar__year-input-wrapper">
1060
- <input
1061
- type="number"
1062
- class="calendar__year-input"
1063
- .value=${month.getFullYear().toString()}
1064
- @input=${(e) => this.handleYearInput(e, isLeft)}
1065
- @blur=${(e) => {
1066
- const input = e.target;
1067
- input.value = month.getFullYear().toString();
1068
- }}
1069
- min="1900"
1070
- max="2100"
1071
- />
1072
- <div class="calendar__year-spinners">
1073
- <button
1074
- type="button"
1075
- class="calendar__year-spinner calendar__year-spinner--up"
1076
- @click=${() => this.changeYear(1, isLeft)}
1077
- >
1078
- <svg
1079
- width="10"
1080
- height="10"
1081
- viewBox="0 0 10 10"
1082
- fill="none"
1083
- >
1084
- <path
1085
- d="M2 6L5 3L8 6"
1086
- stroke="currentColor"
1087
- stroke-width="1.5"
1088
- stroke-linecap="round"
1089
- stroke-linejoin="round"
1090
- />
1091
- </svg>
1092
- </button>
1093
- <button
1094
- type="button"
1095
- class="calendar__year-spinner calendar__year-spinner--down"
1096
- @click=${() => this.changeYear(-1, isLeft)}
1097
- >
1098
- <svg
1099
- width="10"
1100
- height="10"
1101
- viewBox="0 0 10 10"
1102
- fill="none"
1103
- >
1104
- <path
1105
- d="M2 4L5 7L8 4"
1106
- stroke="currentColor"
1107
- stroke-width="1.5"
1108
- stroke-linecap="round"
1109
- stroke-linejoin="round"
1110
- />
1111
- </svg>
1112
- </button>
1113
- </div>
1114
- </div>
1115
- </div>
1116
-
1117
- <button
1118
- type="button"
1119
- class="calendar__nav"
1120
- @click=${() => this.nextMonth(isLeft)}
1121
- >
1122
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none">
1123
- <path
1124
- d="M6 12L10 8L6 4"
1125
- stroke="currentColor"
1126
- stroke-width="2"
1127
- stroke-linecap="round"
1128
- stroke-linejoin="round"
1129
- />
1130
- </svg>
1131
- </button>
1132
- </div>
1133
- <div class="calendar__weekdays">
1134
- ${this.DAYS.map(
1135
- (day) => html`<div class="calendar__weekday">${day}</div>`
1136
- )}
1137
- </div>
1138
- <div class="calendar__days">
1139
- ${days.map((date) => {
1140
- const isCurrentMonth = date.getMonth() === currentMonth;
1141
- const isSelected = this.isSameDay(date, this.selectedStart) || this.isSameDay(date, this.selectedEnd);
1142
- const isStart = this.isSameDay(date, this.selectedStart);
1143
- const isEnd = this.isSameDay(date, this.selectedEnd);
1144
- const inRange = this.isInRange(date);
1145
- const inHoverRange = this.isInHoverRange(date);
1146
- const isDisabled = this.isDisabled(date);
1147
- return html`
1148
- <button
1149
- type="button"
1150
- class="calendar__day ${!isCurrentMonth ? "calendar__day--outside" : ""}
1151
- ${isSelected ? "calendar__day--selected" : ""}
1152
- ${isStart ? "calendar__day--start" : ""}
1153
- ${isEnd ? "calendar__day--end" : ""}
1154
- ${inRange ? "calendar__day--in-range" : ""}
1155
- ${inHoverRange ? "calendar__day--hover-range" : ""}
1156
- ${isDisabled ? "calendar__day--disabled" : ""}"
1157
- @click=${() => this.selectDate(date)}
1158
- @mouseenter=${() => this.handleDateHover(date)}
1159
- ?disabled=${isDisabled}
1160
- >
1161
- ${date.getDate()}
1162
- </button>
1163
- `;
1164
- })}
1165
- </div>
1166
- </div>
1167
- `;
1168
- }
1169
- renderTimePicker() {
1170
- if (!this.enableTime)
1171
- return "";
1172
- return html`
1173
- <div class="date-picker__time">
1174
- <div class="date-picker__time-section">
1175
- <div class="date-picker__time-inputs">
1176
- <div class="date-picker__time-input-group">
1177
- <input
1178
- type="number"
1179
- class="date-picker__time-input"
1180
- .value=${this.startHour.toString().padStart(2, "0")}
1181
- @input=${(e) => this.handleTimeInput(e, "hour", true)}
1182
- @blur=${(e) => {
1183
- const input = e.target;
1184
- input.value = this.startHour.toString().padStart(2, "0");
1185
- }}
1186
- min="1"
1187
- max="12"
1188
- />
1189
- <div class="date-picker__time-spinners">
1190
- <button
1191
- type="button"
1192
- class="date-picker__time-spinner"
1193
- @click=${() => this.changeTime("hour", 1, true)}
1194
- >
1195
- <svg
1196
- width="10"
1197
- height="10"
1198
- viewBox="0 0 10 10"
1199
- fill="none"
1200
- >
1201
- <path
1202
- d="M2 6L5 3L8 6"
1203
- stroke="currentColor"
1204
- stroke-width="1.5"
1205
- stroke-linecap="round"
1206
- stroke-linejoin="round"
1207
- />
1208
- </svg>
1209
- </button>
1210
- <button
1211
- type="button"
1212
- class="date-picker__time-spinner"
1213
- @click=${() => this.changeTime("hour", -1, true)}
1214
- >
1215
- <svg
1216
- width="10"
1217
- height="10"
1218
- viewBox="0 0 10 10"
1219
- fill="none"
1220
- >
1221
- <path
1222
- d="M2 4L5 7L8 4"
1223
- stroke="currentColor"
1224
- stroke-width="1.5"
1225
- stroke-linecap="round"
1226
- stroke-linejoin="round"
1227
- />
1228
- </svg>
1229
- </button>
1230
- </div>
1231
- </div>
1232
-
1233
- <span class="date-picker__time-separator">:</span>
1234
-
1235
- <div class="date-picker__time-input-group">
1236
- <input
1237
- type="number"
1238
- class="date-picker__time-input"
1239
- .value=${this.startMinute.toString().padStart(2, "0")}
1240
- @input=${(e) => this.handleTimeInput(e, "minute", true)}
1241
- @blur=${(e) => {
1242
- const input = e.target;
1243
- input.value = this.startMinute.toString().padStart(2, "0");
1244
- }}
1245
- min="0"
1246
- max="59"
1247
- />
1248
- <div class="date-picker__time-spinners">
1249
- <button
1250
- type="button"
1251
- class="date-picker__time-spinner"
1252
- @click=${() => this.changeTime("minute", 1, true)}
1253
- >
1254
- <svg
1255
- width="10"
1256
- height="10"
1257
- viewBox="0 0 10 10"
1258
- fill="none"
1259
- >
1260
- <path
1261
- d="M2 6L5 3L8 6"
1262
- stroke="currentColor"
1263
- stroke-width="1.5"
1264
- stroke-linecap="round"
1265
- stroke-linejoin="round"
1266
- />
1267
- </svg>
1268
- </button>
1269
- <button
1270
- type="button"
1271
- class="date-picker__time-spinner"
1272
- @click=${() => this.changeTime("minute", -1, true)}
1273
- >
1274
- <svg
1275
- width="10"
1276
- height="10"
1277
- viewBox="0 0 10 10"
1278
- fill="none"
1279
- >
1280
- <path
1281
- d="M2 4L5 7L8 4"
1282
- stroke="currentColor"
1283
- stroke-width="1.5"
1284
- stroke-linecap="round"
1285
- stroke-linejoin="round"
1286
- />
1287
- </svg>
1288
- </button>
1289
- </div>
1290
- </div>
1291
-
1292
- <button
1293
- type="button"
1294
- class="date-picker__time-period"
1295
- @click=${() => this.togglePeriod(true)}
1296
- >
1297
- ${this.timePeriod}
1298
- </button>
1299
- </div>
1300
- </div>
1301
-
1302
- ${this.range ? html`
1303
- <span class="date-picker__separator">–</span>
1304
-
1305
- <div class="date-picker__time-section">
1306
- <div class="date-picker__time-inputs">
1307
- <div class="date-picker__time-input-group">
1308
- <input
1309
- type="number"
1310
- class="date-picker__time-input"
1311
- .value=${this.endHour.toString().padStart(2, "0")}
1312
- @input=${(e) => this.handleTimeInput(e, "hour", false)}
1313
- @blur=${(e) => {
1314
- const input = e.target;
1315
- input.value = this.endHour.toString().padStart(2, "0");
1316
- }}
1317
- min="1"
1318
- max="12"
1319
- />
1320
- <div class="date-picker__time-spinners">
1321
- <button
1322
- type="button"
1323
- class="date-picker__time-spinner"
1324
- @click=${() => this.changeTime("hour", 1, false)}
1325
- >
1326
- <svg
1327
- width="10"
1328
- height="10"
1329
- viewBox="0 0 10 10"
1330
- fill="none"
1331
- >
1332
- <path
1333
- d="M2 6L5 3L8 6"
1334
- stroke="currentColor"
1335
- stroke-width="1.5"
1336
- stroke-linecap="round"
1337
- stroke-linejoin="round"
1338
- />
1339
- </svg>
1340
- </button>
1341
- <button
1342
- type="button"
1343
- class="date-picker__time-spinner"
1344
- @click=${() => this.changeTime("hour", -1, false)}
1345
- >
1346
- <svg
1347
- width="10"
1348
- height="10"
1349
- viewBox="0 0 10 10"
1350
- fill="none"
1351
- >
1352
- <path
1353
- d="M2 4L5 7L8 4"
1354
- stroke="currentColor"
1355
- stroke-width="1.5"
1356
- stroke-linecap="round"
1357
- stroke-linejoin="round"
1358
- />
1359
- </svg>
1360
- </button>
1361
- </div>
1362
- </div>
1363
-
1364
- <span class="date-picker__time-separator">:</span>
1365
-
1366
- <div class="date-picker__time-input-group">
1367
- <input
1368
- type="number"
1369
- class="date-picker__time-input"
1370
- .value=${this.endMinute.toString().padStart(2, "0")}
1371
- @input=${(e) => this.handleTimeInput(
1372
- e,
1373
- "minute",
1374
- false
1375
- )}
1376
- @blur=${(e) => {
1377
- const input = e.target;
1378
- input.value = this.endMinute.toString().padStart(2, "0");
1379
- }}
1380
- min="0"
1381
- max="59"
1382
- />
1383
- <div class="date-picker__time-spinners">
1384
- <button
1385
- type="button"
1386
- class="date-picker__time-spinner"
1387
- @click=${() => this.changeTime("minute", 1, false)}
1388
- >
1389
- <svg
1390
- width="10"
1391
- height="10"
1392
- viewBox="0 0 10 10"
1393
- fill="none"
1394
- >
1395
- <path
1396
- d="M2 6L5 3L8 6"
1397
- stroke="currentColor"
1398
- stroke-width="1.5"
1399
- stroke-linecap="round"
1400
- stroke-linejoin="round"
1401
- />
1402
- </svg>
1403
- </button>
1404
- <button
1405
- type="button"
1406
- class="date-picker__time-spinner"
1407
- @click=${() => this.changeTime(
1408
- "minute",
1409
- -1,
1410
- false
1411
- )}
1412
- >
1413
- <svg
1414
- width="10"
1415
- height="10"
1416
- viewBox="0 0 10 10"
1417
- fill="none"
1418
- >
1419
- <path
1420
- d="M2 4L5 7L8 4"
1421
- stroke="currentColor"
1422
- stroke-width="1.5"
1423
- stroke-linecap="round"
1424
- stroke-linejoin="round"
1425
- />
1426
- </svg>
1427
- </button>
1428
- </div>
1429
- </div>
1430
-
1431
- <button
1432
- type="button"
1433
- class="date-picker__time-period"
1434
- @click=${() => this.togglePeriod(false)}
1435
- >
1436
- ${this.endTimePeriod}
1437
- </button>
1438
- </div>
1439
- </div>
1440
- ` : ""}
1441
- </div>
1442
- `;
1443
- }
1444
- renderCalendarIcon() {
1445
- return html`
1446
- <svg
1447
- slot="suffix"
1448
- class="date-picker__icon"
1449
- width="20"
1450
- height="20"
1451
- viewBox="0 0 24 24"
1452
- fill="none"
1453
- stroke="currentColor"
1454
- stroke-width="2"
1455
- >
1456
- <rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect>
1457
- <line x1="16" y1="2" x2="16" y2="6"></line>
1458
- <line x1="8" y1="2" x2="8" y2="6"></line>
1459
- <line x1="3" y1="10" x2="21" y2="10"></line>
1460
- </svg>
1461
- `;
1462
- }
1463
- renderCalendarContent() {
1464
- return html`
1465
- <div class="date-picker__dropdown" part="calendar">
1466
- <div class="date-picker__content">
1467
- ${this.showPresets && this.filteredPresets.length > 0 ? html`
1468
- <div class="date-picker__sidebar" part="sidebar">
1469
- ${this.filteredPresets.map(
1470
- (preset) => html`
1471
- <button
1472
- type="button"
1473
- class="date-picker__preset"
1474
- @click=${() => this.selectPreset(preset)}
1475
- >
1476
- ${preset.label}
1477
- </button>
1478
- `
1479
- )}
1480
- </div>
1481
- ` : ""}
1482
-
1483
- <div class="date-picker__calendars">
1484
- ${this.renderCalendar(this.leftMonth, true)}
1485
- ${this.range ? this.renderCalendar(this.rightMonth, false) : ""}
1486
- </div>
1487
- </div>
1488
-
1489
- ${this.enableTime ? this.renderTimePicker() : ""}
1490
- </div>
1491
- `;
1492
- }
1493
- render() {
1494
- const showSplitInputs = this.range && this.splitInputs;
1495
- if (this.inline) {
1496
- return html`
1497
- <div
1498
- class="date-picker date-picker--inline ${showSplitInputs ? "date-picker--split-inputs" : ""}"
1499
- @click=${(e) => e.stopPropagation()}
1500
- >
1501
- ${showSplitInputs ? html`
1502
- <div class="date-picker__inputs">
1503
- <terra-input
1504
- .label=${this.startLabel || (this.label ? `${this.label} (Start)` : "Start Date")}
1505
- .hideLabel=${this.hideLabel}
1506
- .helpText=${this.helpText}
1507
- .value=${this.getStartDateDisplayValue()}
1508
- @terra-blur=${this.handleStartInputBlur}
1509
- @keydown=${this.handleKeydown}
1510
- placeholder=${this.startPlaceholder}
1511
- name="start-date"
1512
- >
1513
- ${this.renderCalendarIcon()}
1514
- </terra-input>
1515
- <terra-input
1516
- .label=${this.endLabel || (this.label ? `${this.label} (End)` : "End Date")}
1517
- .hideLabel=${this.hideLabel}
1518
- .helpText=${this.helpText}
1519
- .value=${this.getEndDateDisplayValue()}
1520
- @terra-blur=${this.handleEndInputBlur}
1521
- @keydown=${this.handleKeydown}
1522
- placeholder=${this.endPlaceholder}
1523
- name="end-date"
1524
- >
1525
- ${this.renderCalendarIcon()}
1526
- </terra-input>
1527
- </div>
1528
- ` : html`
1529
- <terra-input
1530
- .label=${this.label}
1531
- .hideLabel=${this.hideLabel}
1532
- .helpText=${this.helpText}
1533
- .value=${this.getDisplayValue()}
1534
- placeholder=${this.placeholder}
1535
- @terra-blur=${this.handleInputBlur}
1536
- @keydown=${this.handleKeydown}
1537
- name="date"
1538
- >
1539
- ${this.renderCalendarIcon()}
1540
- </terra-input>
1541
- `}
1542
-
1543
- <div class="date-picker__dropdown-wrapper">
1544
- <div
1545
- class="date-picker__dropdown date-picker__dropdown--inline"
1546
- part="calendar"
1547
- >
1548
- <div class="date-picker__content">
1549
- ${this.showPresets && this.filteredPresets.length > 0 ? html`
1550
- <div
1551
- class="date-picker__sidebar"
1552
- part="sidebar"
1553
- >
1554
- ${this.filteredPresets.map(
1555
- (preset) => html`
1556
- <button
1557
- type="button"
1558
- class="date-picker__preset"
1559
- @click=${() => this.selectPreset(
1560
- preset
1561
- )}
1562
- >
1563
- ${preset.label}
1564
- </button>
1565
- `
1566
- )}
1567
- </div>
1568
- ` : ""}
1569
-
1570
- <div class="date-picker__calendars">
1571
- ${this.renderCalendar(this.leftMonth, true)}
1572
- ${this.range ? this.renderCalendar(this.rightMonth, false) : ""}
1573
- </div>
1574
- </div>
1575
-
1576
- ${this.enableTime ? this.renderTimePicker() : ""}
1577
- </div>
1578
- </div>
1579
- </div>
1580
- `;
1581
- }
1582
- return html`
1583
- <div
1584
- class="date-picker ${showSplitInputs ? "date-picker--split-inputs" : ""}"
1585
- @click=${(e) => e.stopPropagation()}
1586
- >
1587
- ${showSplitInputs ? html`
1588
- <div class="date-picker__inputs">
1589
- <terra-dropdown
1590
- ${ref(this.dropdownRef)}
1591
- placement="bottom-start"
1592
- distance="4"
1593
- @terra-show=${this.handleDropdownShow}
1594
- @terra-hide=${this.handleDropdownHide}
1595
- hoist
1596
- >
1597
- <terra-input
1598
- slot="trigger"
1599
- .label=${this.startLabel || (this.label ? `${this.label} (Start)` : "Start Date")}
1600
- .hideLabel=${this.hideLabel}
1601
- .helpText=${this.helpText}
1602
- .value=${this.getStartDateDisplayValue()}
1603
- placeholder=${this.startPlaceholder}
1604
- @terra-blur=${this.handleStartInputBlur}
1605
- @keydown=${this.handleKeydown}
1606
- name="start-date"
1607
- >
1608
- ${this.renderCalendarIcon()}
1609
- </terra-input>
1610
- ${this.renderCalendarContent()}
1611
- </terra-dropdown>
1612
- <terra-dropdown
1613
- placement="bottom-start"
1614
- distance="4"
1615
- @terra-show=${this.handleDropdownShow}
1616
- @terra-hide=${this.handleDropdownHide}
1617
- hoist
1618
- >
1619
- <terra-input
1620
- slot="trigger"
1621
- .label=${this.endLabel || (this.label ? `${this.label} (End)` : "End Date")}
1622
- .hideLabel=${this.hideLabel}
1623
- .helpText=${this.helpText}
1624
- .value=${this.getEndDateDisplayValue()}
1625
- placeholder=${this.endPlaceholder}
1626
- @terra-blur=${this.handleEndInputBlur}
1627
- @keydown=${this.handleKeydown}
1628
- name="end-date"
1629
- >
1630
- ${this.renderCalendarIcon()}
1631
- </terra-input>
1632
- ${this.renderCalendarContent()}
1633
- </terra-dropdown>
1634
- </div>
1635
- ` : html`
1636
- <terra-dropdown
1637
- ${ref(this.dropdownRef)}
1638
- placement="bottom-start"
1639
- distance="4"
1640
- @terra-show=${this.handleDropdownShow}
1641
- @terra-hide=${this.handleDropdownHide}
1642
- hoist
1643
- >
1644
- <terra-input
1645
- slot="trigger"
1646
- .label=${this.label}
1647
- .hideLabel=${this.hideLabel}
1648
- .helpText=${this.helpText}
1649
- .value=${this.getDisplayValue()}
1650
- placeholder=${this.placeholder}
1651
- @terra-blur=${this.handleInputBlur}
1652
- @keydown=${this.handleKeydown}
1653
- name="date"
1654
- >
1655
- ${this.renderCalendarIcon()}
1656
- </terra-input>
1657
- ${this.renderCalendarContent()}
1658
- </terra-dropdown>
1659
- `}
1660
- </div>
1661
- `;
1662
- }
1663
- };
1664
- TerraDatePicker.styles = [component_styles_default, date_picker_styles_default];
1665
- TerraDatePicker.dependencies = {
1666
- "terra-button": TerraButton,
1667
- "terra-input": TerraInput,
1668
- "terra-dropdown": TerraDropdown
1669
- };
1670
- __decorateClass([
1671
- property()
1672
- ], TerraDatePicker.prototype, "id", 2);
1673
- __decorateClass([
1674
- property({ type: Boolean, reflect: true })
1675
- ], TerraDatePicker.prototype, "range", 2);
1676
- __decorateClass([
1677
- property({ attribute: "min-date", reflect: true })
1678
- ], TerraDatePicker.prototype, "minDate", 2);
1679
- __decorateClass([
1680
- property({ attribute: "max-date", reflect: true })
1681
- ], TerraDatePicker.prototype, "maxDate", 2);
1682
- __decorateClass([
1683
- property({ attribute: "start-date", reflect: true })
1684
- ], TerraDatePicker.prototype, "startDate", 2);
1685
- __decorateClass([
1686
- property({ attribute: "end-date", reflect: true })
1687
- ], TerraDatePicker.prototype, "endDate", 2);
1688
- __decorateClass([
1689
- property({ attribute: "hide-label", type: Boolean })
1690
- ], TerraDatePicker.prototype, "hideLabel", 2);
1691
- __decorateClass([
1692
- property()
1693
- ], TerraDatePicker.prototype, "label", 2);
1694
- __decorateClass([
1695
- property({ attribute: "help-text" })
1696
- ], TerraDatePicker.prototype, "helpText", 2);
1697
- __decorateClass([
1698
- property({ attribute: "start-label" })
1699
- ], TerraDatePicker.prototype, "startLabel", 2);
1700
- __decorateClass([
1701
- property({ attribute: "end-label" })
1702
- ], TerraDatePicker.prototype, "endLabel", 2);
1703
- __decorateClass([
1704
- property({ type: Boolean, attribute: "show-presets" })
1705
- ], TerraDatePicker.prototype, "showPresets", 2);
1706
- __decorateClass([
1707
- property({ type: Array })
1708
- ], TerraDatePicker.prototype, "presets", 2);
1709
- __decorateClass([
1710
- property({ type: Boolean, attribute: "enable-time" })
1711
- ], TerraDatePicker.prototype, "enableTime", 2);
1712
- __decorateClass([
1713
- property({ attribute: "display-format" })
1714
- ], TerraDatePicker.prototype, "displayFormat", 2);
1715
- __decorateClass([
1716
- property({ type: Boolean })
1717
- ], TerraDatePicker.prototype, "inline", 2);
1718
- __decorateClass([
1719
- property({ type: Boolean, attribute: "split-inputs" })
1720
- ], TerraDatePicker.prototype, "splitInputs", 2);
1721
- __decorateClass([
1722
- property()
1723
- ], TerraDatePicker.prototype, "placeholder", 2);
1724
- __decorateClass([
1725
- property()
1726
- ], TerraDatePicker.prototype, "startPlaceholder", 2);
1727
- __decorateClass([
1728
- property()
1729
- ], TerraDatePicker.prototype, "endPlaceholder", 2);
1730
- __decorateClass([
1731
- property({ reflect: true })
1732
- ], TerraDatePicker.prototype, "role", 2);
1733
- __decorateClass([
1734
- property({ reflect: true, attribute: "aria-label" })
1735
- ], TerraDatePicker.prototype, "ariaLabel", 2);
1736
- __decorateClass([
1737
- state()
1738
- ], TerraDatePicker.prototype, "isOpen", 2);
1739
- __decorateClass([
1740
- state()
1741
- ], TerraDatePicker.prototype, "leftMonth", 2);
1742
- __decorateClass([
1743
- state()
1744
- ], TerraDatePicker.prototype, "rightMonth", 2);
1745
- __decorateClass([
1746
- state()
1747
- ], TerraDatePicker.prototype, "selectedStart", 2);
1748
- __decorateClass([
1749
- state()
1750
- ], TerraDatePicker.prototype, "selectedEnd", 2);
1751
- __decorateClass([
1752
- state()
1753
- ], TerraDatePicker.prototype, "hoverDate", 2);
1754
- __decorateClass([
1755
- state()
1756
- ], TerraDatePicker.prototype, "isSelectingRange", 2);
1757
- __decorateClass([
1758
- state()
1759
- ], TerraDatePicker.prototype, "showLeftMonthDropdown", 2);
1760
- __decorateClass([
1761
- state()
1762
- ], TerraDatePicker.prototype, "showRightMonthDropdown", 2);
1763
- __decorateClass([
1764
- state()
1765
- ], TerraDatePicker.prototype, "startHour", 2);
1766
- __decorateClass([
1767
- state()
1768
- ], TerraDatePicker.prototype, "startMinute", 2);
1769
- __decorateClass([
1770
- state()
1771
- ], TerraDatePicker.prototype, "endHour", 2);
1772
- __decorateClass([
1773
- state()
1774
- ], TerraDatePicker.prototype, "endMinute", 2);
1775
- __decorateClass([
1776
- state()
1777
- ], TerraDatePicker.prototype, "timePeriod", 2);
1778
- __decorateClass([
1779
- state()
1780
- ], TerraDatePicker.prototype, "endTimePeriod", 2);
1781
- __decorateClass([
1782
- state()
1783
- ], TerraDatePicker.prototype, "selectedDates", 2);
1784
- __decorateClass([
1785
- query(".date-picker__dropdown")
1786
- ], TerraDatePicker.prototype, "dropdown", 2);
1787
- __decorateClass([
1788
- watch("inline")
1789
- ], TerraDatePicker.prototype, "handleInlineChange", 1);
1790
- __decorateClass([
1791
- watch(["startDate", "endDate"])
1792
- ], TerraDatePicker.prototype, "handleStartEndDateChange", 1);
1793
-
1794
- export {
1795
- TerraDatePicker
1796
- };