@nasa-terra/components 0.0.43 → 0.0.45

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 (330) hide show
  1. package/cdn/chunks/{chunk.KJ4BZBTX.js → chunk.27EMK3NO.js} +16 -4
  2. package/cdn/chunks/{chunk.OGI7F4SN.js → chunk.2BBYUVXZ.js} +1 -1
  3. package/cdn/chunks/{chunk.JZBUILMZ.js → chunk.2JVFCPZQ.js} +50 -6
  4. package/cdn/chunks/{chunk.5TCPFCD2.js → chunk.2XTKUKIB.js} +7 -7
  5. package/{dist/chunks/chunk.V7QPBR74.js → cdn/chunks/chunk.3S6YU4GV.js} +1 -1
  6. package/cdn/chunks/{chunk.ESMJ3XDS.js → chunk.4IAWGN7F.js} +1 -1
  7. package/cdn/chunks/{chunk.SNULTXLY.js → chunk.4UYNOT7W.js} +1 -1
  8. package/cdn/chunks/{chunk.ZJAN35CA.js → chunk.4Z4SJPRM.js} +1 -1
  9. package/{dist/chunks/chunk.4CGQC6VG.js → cdn/chunks/chunk.6EHV6K3S.js} +1 -1
  10. package/cdn/chunks/{chunk.MUAWDIKB.js → chunk.6NEMJOXS.js} +2 -2
  11. package/cdn/chunks/chunk.754XAIN7.js +39 -0
  12. package/cdn/chunks/{chunk.4T3FDB6X.js → chunk.AIVF2LYW.js} +1 -1
  13. package/cdn/chunks/{chunk.BKOLMPIY.js → chunk.ALXMBVVZ.js} +3 -3
  14. package/{dist/chunks/chunk.WSTFOCG3.js → cdn/chunks/chunk.BIBODSR4.js} +1 -1
  15. package/{dist/chunks/chunk.5SCGJTRA.js → cdn/chunks/chunk.BSPUHX7G.js} +1 -1
  16. package/cdn/chunks/{chunk.FROJF7FV.js → chunk.CZILWG23.js} +2 -2
  17. package/cdn/chunks/{chunk.GGDBLPBD.js → chunk.DDY3FGPF.js} +1 -1
  18. package/cdn/chunks/{chunk.WQQBVCL5.js → chunk.DF3GGEJ5.js} +1 -1
  19. package/cdn/chunks/{chunk.NL52F475.js → chunk.DWZFUOHR.js} +1 -1
  20. package/cdn/chunks/{chunk.RGXPGRGO.js → chunk.EBWKHD35.js} +1 -1
  21. package/cdn/chunks/{chunk.HY2OIJPI.js → chunk.EDZIBUTU.js} +1 -1
  22. package/cdn/chunks/{chunk.XJVNZTEE.js → chunk.FE7PKR4T.js} +1 -1
  23. package/cdn/chunks/{chunk.TY7DVGTP.js → chunk.FKZEIUI7.js} +5 -5
  24. package/cdn/chunks/{chunk.UJXGVWQA.js → chunk.FM3UWDOB.js} +1 -1
  25. package/cdn/chunks/{chunk.2GGZHPMT.js → chunk.HEVFNGHQ.js} +8 -8
  26. package/{dist/chunks/chunk.FLB4JM62.js → cdn/chunks/chunk.HFCQI2MX.js} +1 -1
  27. package/cdn/chunks/chunk.HSD63J4K.js +11 -0
  28. package/cdn/chunks/{chunk.ANZFZPPU.js → chunk.IL7RNVV6.js} +84 -27
  29. package/cdn/chunks/{chunk.FBCYHMRV.js → chunk.J53H64HP.js} +6 -6
  30. package/cdn/chunks/{chunk.BPNFS4ED.js → chunk.K6GAF43H.js} +1 -1
  31. package/cdn/chunks/{chunk.XGH62P7U.js → chunk.KDZX6267.js} +1 -1
  32. package/cdn/chunks/{chunk.KAY2II66.js → chunk.KP4VCTRF.js} +1 -1
  33. package/cdn/chunks/{chunk.WI5HA4EV.js → chunk.LSHZ2GJS.js} +1 -1
  34. package/cdn/chunks/{chunk.XAQF3BDY.js → chunk.LW4FDJZV.js} +1 -1
  35. package/cdn/chunks/{chunk.RBDPBQSI.js → chunk.NZQLJJWI.js} +1 -1
  36. package/{dist/chunks/chunk.T6R6HWM7.js → cdn/chunks/chunk.O73IBY6C.js} +1 -1
  37. package/{dist/chunks/chunk.N2FQ2MRM.js → cdn/chunks/chunk.QI4CW6SZ.js} +1 -1
  38. package/cdn/chunks/{chunk.HPB6CXCO.js → chunk.QWNJZLAC.js} +1 -1
  39. package/cdn/chunks/{chunk.7HEVEWEJ.js → chunk.RCPEY33L.js} +15 -15
  40. package/cdn/chunks/{chunk.Q6QGJGPK.js → chunk.REGE7WJB.js} +1 -1
  41. package/cdn/chunks/{chunk.IAPB27AW.js → chunk.RN6XJ3EC.js} +6 -6
  42. package/{dist/chunks/chunk.QIA6DTTP.js → cdn/chunks/chunk.SLY7YUFC.js} +1 -1
  43. package/cdn/chunks/chunk.SVB6CWAO.js +187 -0
  44. package/{dist/chunks/chunk.H7YVB7XB.js → cdn/chunks/chunk.T6GXXTCR.js} +1 -1
  45. package/cdn/chunks/chunk.TEWFW2B2.js +21 -0
  46. package/{dist/chunks/chunk.YS5RGF3Z.js → cdn/chunks/chunk.TWMOVOPK.js} +1 -1
  47. package/cdn/chunks/{chunk.XTDVJMOY.js → chunk.U5KI6JRO.js} +1 -1
  48. package/cdn/chunks/{chunk.HNZE7Q25.js → chunk.UOAXJTR4.js} +1 -1
  49. package/cdn/chunks/chunk.UQYGB6XL.js +660 -0
  50. package/cdn/chunks/{chunk.3JPFQJXJ.js → chunk.VD37HWZF.js} +10 -10
  51. package/cdn/chunks/{chunk.D7BYLJCK.js → chunk.VV7CXX5L.js} +12 -12
  52. package/cdn/chunks/{chunk.D2R6EOTB.js → chunk.VWQZIINL.js} +1 -1
  53. package/{dist/chunks/chunk.CPI32ZAZ.js → cdn/chunks/chunk.XGF2P4YV.js} +1 -1
  54. package/cdn/chunks/{chunk.ELAWVWEZ.js → chunk.XO3SOVHY.js} +2 -29
  55. package/cdn/chunks/{chunk.E6NS2XK6.js → chunk.XSXK5XPO.js} +1 -1
  56. package/cdn/chunks/chunk.XU3NXPIM.js +193 -0
  57. package/{dist/chunks/chunk.LNGXE27U.js → cdn/chunks/chunk.Y6FGE5IT.js} +1 -1
  58. package/cdn/chunks/{chunk.T6H2MZZI.js → chunk.Y7I2RXN6.js} +1 -10
  59. package/cdn/chunks/{chunk.S4INEVCC.js → chunk.Y7P4LXE6.js} +11 -11
  60. package/cdn/chunks/{chunk.ZU6ADSVN.js → chunk.YCRGAL67.js} +1 -1
  61. package/{dist/chunks/chunk.AFI6EDPJ.js → cdn/chunks/chunk.YDTFMWV3.js} +1 -1
  62. package/cdn/chunks/{chunk.L5Q6MO7Q.js → chunk.YHH2QGV3.js} +1 -1
  63. package/cdn/chunks/chunk.YIABHSHN.js +505 -0
  64. package/cdn/chunks/{chunk.4XFHUWXK.js → chunk.YZXMJRFT.js} +1 -1
  65. package/{dist/chunks/chunk.37HULH6M.js → cdn/chunks/chunk.ZPUZYX2F.js} +1 -1
  66. package/cdn/chunks/{chunk.QUT2NHTH.js → chunk.ZROILKPX.js} +1 -1
  67. package/cdn/chunks/{chunk.CH45CXZY.js → chunk.ZX2ZNCYX.js} +1 -1
  68. package/cdn/components/browse-variables/browse-variables.component.js +23 -22
  69. package/cdn/components/browse-variables/browse-variables.controller.js +4 -2
  70. package/cdn/components/browse-variables/browse-variables.js +24 -23
  71. package/cdn/components/browse-variables/browse-variables.types.d.ts +8 -0
  72. package/cdn/components/button/button.component.js +4 -4
  73. package/cdn/components/button/button.js +5 -5
  74. package/cdn/components/chip/chip.component.js +2 -2
  75. package/cdn/components/chip/chip.js +3 -3
  76. package/cdn/components/combobox/combobox.component.js +5 -5
  77. package/cdn/components/combobox/combobox.js +6 -6
  78. package/cdn/components/data-rods/data-rods.component.d.ts +57 -0
  79. package/cdn/components/data-rods/data-rods.component.js +62 -0
  80. package/cdn/components/data-rods/data-rods.d.ts +8 -0
  81. package/cdn/components/data-rods/data-rods.js +63 -0
  82. package/cdn/components/data-rods/data-rods.styles.d.ts +2 -0
  83. package/cdn/components/data-rods/data-rods.styles.js +9 -0
  84. package/cdn/components/date-picker/date-picker.component.js +2 -2
  85. package/cdn/components/date-picker/date-picker.js +3 -3
  86. package/cdn/components/date-range-slider/date-range-slider.component.js +5 -6
  87. package/cdn/components/date-range-slider/date-range-slider.js +6 -7
  88. package/cdn/components/dialog/dialog.component.js +2 -2
  89. package/cdn/components/dialog/dialog.js +3 -3
  90. package/cdn/components/icon/icon.component.js +4 -4
  91. package/cdn/components/icon/icon.js +5 -5
  92. package/cdn/components/icon/library.js +2 -2
  93. package/cdn/components/loader/loader.component.js +2 -2
  94. package/cdn/components/loader/loader.js +3 -3
  95. package/cdn/components/login/login.component.js +13 -13
  96. package/cdn/components/login/login.js +14 -14
  97. package/cdn/components/map/leaflet-draw.styles.js +1 -1
  98. package/cdn/components/map/leaflet-utils.js +1 -1
  99. package/cdn/components/map/map.component.js +6 -6
  100. package/cdn/components/map/map.js +7 -7
  101. package/cdn/components/plot/plot.component.js +2 -2
  102. package/cdn/components/plot/plot.js +3 -3
  103. package/cdn/components/skeleton/skeleton.component.js +4 -4
  104. package/cdn/components/skeleton/skeleton.js +5 -5
  105. package/cdn/components/spatial-picker/spatial-picker.component.d.ts +8 -0
  106. package/cdn/components/spatial-picker/spatial-picker.component.js +7 -7
  107. package/cdn/components/spatial-picker/spatial-picker.js +8 -8
  108. package/cdn/components/time-series/time-series.component.d.ts +8 -49
  109. package/cdn/components/time-series/time-series.component.js +17 -40
  110. package/cdn/components/time-series/time-series.controller.d.ts +6 -9
  111. package/cdn/components/time-series/time-series.controller.js +3 -3
  112. package/cdn/components/time-series/time-series.js +18 -41
  113. package/cdn/components/time-series/time-series.styles.js +1 -1
  114. package/cdn/components/time-series/time-series.types.d.ts +1 -1
  115. package/cdn/components/variable-combobox/lib.js +1 -1
  116. package/cdn/components/variable-combobox/variable-combobox.component.js +14 -14
  117. package/cdn/components/variable-combobox/variable-combobox.controller.js +3 -3
  118. package/cdn/components/variable-combobox/variable-combobox.js +15 -15
  119. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +17 -15
  120. package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +4 -2
  121. package/cdn/components/variable-keyword-search/variable-keyword-search.js +18 -16
  122. package/cdn/custom-elements.json +1524 -1479
  123. package/cdn/events/terra-time-series-data-change.d.ts +2 -2
  124. package/cdn/react/browse-variables/index.js +24 -23
  125. package/cdn/react/button/index.js +5 -5
  126. package/cdn/react/chip/index.js +3 -3
  127. package/cdn/react/combobox/index.js +6 -6
  128. package/cdn/react/data-rods/index.d.ts +9 -0
  129. package/cdn/react/data-rods/index.js +63 -0
  130. package/cdn/react/date-picker/index.js +3 -3
  131. package/cdn/react/date-range-slider/index.js +6 -7
  132. package/cdn/react/dialog/index.js +3 -3
  133. package/cdn/react/icon/index.js +5 -5
  134. package/cdn/react/index.d.ts +5 -4
  135. package/cdn/react/index.js +87 -83
  136. package/cdn/react/loader/index.js +3 -3
  137. package/cdn/react/login/index.js +14 -14
  138. package/cdn/react/map/index.js +7 -7
  139. package/cdn/react/plot/index.js +3 -3
  140. package/cdn/react/skeleton/index.js +5 -5
  141. package/cdn/react/spatial-picker/index.js +8 -8
  142. package/cdn/react/time-series/index.d.ts +0 -2
  143. package/cdn/react/time-series/index.js +18 -41
  144. package/cdn/react/variable-combobox/index.js +15 -15
  145. package/cdn/react/variable-keyword-search/index.js +18 -16
  146. package/cdn/terra-ui-components.d.ts +1 -0
  147. package/cdn/terra-ui-components.js +91 -86
  148. package/cdn/types/vue/index.d.ts +97 -78
  149. package/cdn/utilities/animation.js +2 -2
  150. package/cdn/utilities/date.d.ts +8 -0
  151. package/cdn/utilities/date.js +5 -2
  152. package/cdn/utilities/icon-library.js +2 -2
  153. package/cdn/variable-catalog/giovanni-variable-catalog.d.ts +4 -0
  154. package/cdn/variable-catalog/queries.d.ts +1 -0
  155. package/cdn/variable-catalog/types.d.ts +15 -0
  156. package/cdn/vscode.html-custom-data.json +146 -105
  157. package/cdn/web-types.json +306 -259
  158. package/dist/chunks/{chunk.FAYNPOTP.js → chunk.2R2CMZU5.js} +1 -1
  159. package/dist/chunks/{chunk.M6QZS4UJ.js → chunk.33MT36PS.js} +3 -3
  160. package/dist/chunks/{chunk.4AOEB4BK.js → chunk.3B622XLR.js} +2 -2
  161. package/dist/chunks/{chunk.E4PWWMRO.js → chunk.3C5R6F2R.js} +1 -1
  162. package/{cdn/chunks/chunk.HWT242NM.js → dist/chunks/chunk.3CTBJXJY.js} +1 -1
  163. package/dist/chunks/{chunk.GHEMW42S.js → chunk.44QP2ERH.js} +1 -1
  164. package/dist/chunks/{chunk.KOMSLHFU.js → chunk.47RYAEL6.js} +1 -1
  165. package/dist/chunks/chunk.4AMT22AE.js +11 -0
  166. package/dist/chunks/{chunk.TWPOB6FJ.js → chunk.6DOKSRWY.js} +1 -1
  167. package/{cdn/chunks/chunk.7BF65WWU.js → dist/chunks/chunk.6XHLGITH.js} +1 -1
  168. package/dist/chunks/{chunk.JTXEL73L.js → chunk.75SJTCIV.js} +1 -1
  169. package/dist/chunks/chunk.7JBFBZ5C.js +27 -0
  170. package/dist/chunks/{chunk.WAIWLZ6Z.js → chunk.7OWQQEAP.js} +83 -26
  171. package/dist/chunks/{chunk.TCMWMNOB.js → chunk.7ZF43BLB.js} +5 -5
  172. package/dist/chunks/{chunk.W2CS6IVI.js → chunk.7ZPJWNP3.js} +1 -1
  173. package/dist/chunks/{chunk.YQPJQSUN.js → chunk.A7QBYP2G.js} +1 -1
  174. package/dist/chunks/{chunk.NL2R2NSO.js → chunk.AY7TGBWI.js} +2 -31
  175. package/{cdn/chunks/chunk.TVULBZN7.js → dist/chunks/chunk.BA5UHVQA.js} +1 -1
  176. package/dist/chunks/{chunk.HJTPJ2RC.js → chunk.BMR2MSLS.js} +1 -1
  177. package/dist/chunks/{chunk.ENYPV32S.js → chunk.CBBRYITQ.js} +6 -6
  178. package/{cdn/chunks/chunk.7SSKWW2H.js → dist/chunks/chunk.CBPNOBYV.js} +1 -1
  179. package/dist/chunks/{chunk.7P5EOY66.js → chunk.DKAE3S5I.js} +4 -4
  180. package/dist/chunks/{chunk.H22DYLKA.js → chunk.DUGMF3IG.js} +5 -5
  181. package/{cdn/chunks/chunk.YUAVRIVY.js → dist/chunks/chunk.EDRHDXR5.js} +1 -1
  182. package/dist/chunks/{chunk.JGX3UBBP.js → chunk.EQN4RFGU.js} +1 -1
  183. package/dist/chunks/{chunk.67I5KKLX.js → chunk.GIJRARNO.js} +1 -1
  184. package/dist/chunks/{chunk.MILUFBKY.js → chunk.H4HQMP7O.js} +1 -1
  185. package/{cdn/chunks/chunk.CANVOVRP.js → dist/chunks/chunk.HHQCCB7G.js} +1 -1
  186. package/dist/chunks/{chunk.4XAV4ODI.js → chunk.HO7IFKH7.js} +1 -1
  187. package/dist/chunks/{chunk.XR6W57RO.js → chunk.I2NF2HZM.js} +1 -1
  188. package/dist/chunks/{chunk.5EHGVGXV.js → chunk.K2IRF2QI.js} +1 -10
  189. package/dist/chunks/{chunk.MZHCB5V5.js → chunk.K4PW2RMT.js} +1 -1
  190. package/{cdn/chunks/chunk.YYL6BIZT.js → dist/chunks/chunk.KB7LV3EL.js} +1 -1
  191. package/dist/chunks/{chunk.ZLAVT4EU.js → chunk.LE33GS2U.js} +7 -7
  192. package/dist/chunks/{chunk.5AOSWMDT.js → chunk.LFZXSVJS.js} +1 -1
  193. package/{cdn/chunks/chunk.GZEUJ2JS.js → dist/chunks/chunk.LO5DQW6B.js} +1 -1
  194. package/dist/chunks/{chunk.QDWCCDUY.js → chunk.LYNMSIPM.js} +1 -1
  195. package/dist/chunks/{chunk.MS3DCXPP.js → chunk.MEPZIAGL.js} +1 -1
  196. package/{cdn/chunks/chunk.5HHHG4SV.js → dist/chunks/chunk.MLOEWNPV.js} +1 -1
  197. package/dist/chunks/{chunk.JFAR45NP.js → chunk.MS6UNHXS.js} +1 -1
  198. package/dist/chunks/{chunk.RXZPXAB4.js → chunk.MUOIGLIS.js} +50 -6
  199. package/dist/chunks/{chunk.KD3R2URP.js → chunk.NHJ3EBNG.js} +1 -1
  200. package/dist/chunks/{chunk.QHNJQDE5.js → chunk.NHW27P5N.js} +1 -1
  201. package/{cdn/chunks/chunk.MNRRHWDX.js → dist/chunks/chunk.NWOLKB4W.js} +1 -1
  202. package/{cdn/chunks/chunk.LFJJNF7C.js → dist/chunks/chunk.NY5ELIGL.js} +1 -1
  203. package/{cdn/chunks/chunk.BRFSUY5D.js → dist/chunks/chunk.NZCOLBOI.js} +1 -1
  204. package/dist/chunks/{chunk.O5QN7EQO.js → chunk.O4UZCLJJ.js} +1 -1
  205. package/dist/chunks/{chunk.AAWOHDFX.js → chunk.P442U2FF.js} +16 -4
  206. package/{cdn/chunks/chunk.RJCMYVMK.js → dist/chunks/chunk.Q6DRT4JH.js} +1 -1
  207. package/dist/chunks/chunk.QW3YB4FP.js +647 -0
  208. package/{cdn/chunks/chunk.3GLWKAG4.js → dist/chunks/chunk.RMHKCYA6.js} +1 -1
  209. package/dist/chunks/{chunk.UPG6O57L.js → chunk.RT2CYLEI.js} +1 -1
  210. package/dist/chunks/{chunk.OOLLCVNR.js → chunk.S2YNNRAG.js} +1 -1
  211. package/dist/chunks/chunk.TFI3UXXB.js +193 -0
  212. package/dist/chunks/{chunk.E4LMDFCL.js → chunk.TY6D5XAZ.js} +1 -1
  213. package/dist/chunks/chunk.V3AQ3G4R.js +21 -0
  214. package/dist/chunks/{chunk.5LMWCV76.js → chunk.V3YFBP3T.js} +1 -1
  215. package/dist/chunks/chunk.VFU2O56V.js +180 -0
  216. package/dist/chunks/{chunk.OMJNBUCH.js → chunk.VQIZ36B7.js} +12 -12
  217. package/dist/chunks/{chunk.SZGKWCF3.js → chunk.WAHH4JE5.js} +1 -1
  218. package/dist/chunks/{chunk.OFKYTBNH.js → chunk.WW7KBC2J.js} +4 -4
  219. package/dist/chunks/{chunk.QM5FOCP6.js → chunk.XMJAGELF.js} +1 -1
  220. package/dist/chunks/{chunk.6YWP3FBT.js → chunk.YNJTPABM.js} +1 -1
  221. package/dist/chunks/{chunk.NDYEIMNI.js → chunk.Z7YYSHP5.js} +8 -8
  222. package/dist/chunks/chunk.ZIB2YERI.js +36 -0
  223. package/dist/chunks/{chunk.X4377OEL.js → chunk.ZMMA3LHG.js} +6 -6
  224. package/dist/components/browse-variables/browse-variables.component.js +19 -18
  225. package/dist/components/browse-variables/browse-variables.controller.js +4 -2
  226. package/dist/components/browse-variables/browse-variables.js +20 -19
  227. package/dist/components/browse-variables/browse-variables.types.d.ts +8 -0
  228. package/dist/components/button/button.component.js +3 -3
  229. package/dist/components/button/button.js +4 -4
  230. package/dist/components/chip/chip.component.js +2 -2
  231. package/dist/components/chip/chip.js +3 -3
  232. package/dist/components/combobox/combobox.component.js +3 -3
  233. package/dist/components/combobox/combobox.js +4 -4
  234. package/dist/components/data-rods/data-rods.component.d.ts +57 -0
  235. package/dist/components/data-rods/data-rods.component.js +47 -0
  236. package/dist/components/data-rods/data-rods.d.ts +8 -0
  237. package/dist/components/data-rods/data-rods.js +48 -0
  238. package/dist/components/data-rods/data-rods.styles.d.ts +2 -0
  239. package/dist/components/data-rods/data-rods.styles.js +7 -0
  240. package/dist/components/date-picker/date-picker.component.js +2 -2
  241. package/dist/components/date-picker/date-picker.js +3 -3
  242. package/dist/components/date-range-slider/date-range-slider.component.js +4 -4
  243. package/dist/components/date-range-slider/date-range-slider.js +5 -5
  244. package/dist/components/dialog/dialog.component.js +2 -2
  245. package/dist/components/dialog/dialog.js +3 -3
  246. package/dist/components/icon/icon.component.js +4 -4
  247. package/dist/components/icon/icon.js +5 -5
  248. package/dist/components/icon/library.js +2 -2
  249. package/dist/components/loader/loader.component.js +2 -2
  250. package/dist/components/loader/loader.js +3 -3
  251. package/dist/components/login/login.component.js +11 -11
  252. package/dist/components/login/login.js +12 -12
  253. package/dist/components/map/leaflet-draw.styles.js +1 -1
  254. package/dist/components/map/leaflet-utils.js +1 -1
  255. package/dist/components/map/map.component.js +5 -5
  256. package/dist/components/map/map.js +6 -6
  257. package/dist/components/plot/plot.component.js +2 -2
  258. package/dist/components/plot/plot.js +3 -3
  259. package/dist/components/skeleton/skeleton.component.js +2 -2
  260. package/dist/components/skeleton/skeleton.js +3 -3
  261. package/dist/components/spatial-picker/spatial-picker.component.d.ts +8 -0
  262. package/dist/components/spatial-picker/spatial-picker.component.js +6 -6
  263. package/dist/components/spatial-picker/spatial-picker.js +7 -7
  264. package/dist/components/time-series/time-series.component.d.ts +8 -49
  265. package/dist/components/time-series/time-series.component.js +14 -32
  266. package/dist/components/time-series/time-series.controller.d.ts +6 -9
  267. package/dist/components/time-series/time-series.controller.js +2 -1
  268. package/dist/components/time-series/time-series.js +15 -33
  269. package/dist/components/time-series/time-series.styles.js +1 -1
  270. package/dist/components/time-series/time-series.types.d.ts +1 -1
  271. package/dist/components/variable-combobox/lib.js +1 -1
  272. package/dist/components/variable-combobox/variable-combobox.component.js +11 -11
  273. package/dist/components/variable-combobox/variable-combobox.controller.js +2 -2
  274. package/dist/components/variable-combobox/variable-combobox.js +12 -12
  275. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +14 -12
  276. package/dist/components/variable-keyword-search/variable-keyword-search.controller.js +3 -1
  277. package/dist/components/variable-keyword-search/variable-keyword-search.js +15 -13
  278. package/dist/custom-elements.json +1524 -1479
  279. package/dist/events/terra-time-series-data-change.d.ts +2 -2
  280. package/dist/react/browse-variables/index.js +20 -19
  281. package/dist/react/button/index.js +4 -4
  282. package/dist/react/chip/index.js +3 -3
  283. package/dist/react/combobox/index.js +4 -4
  284. package/dist/react/data-rods/index.d.ts +9 -0
  285. package/dist/react/data-rods/index.js +48 -0
  286. package/dist/react/date-picker/index.js +3 -3
  287. package/dist/react/date-range-slider/index.js +5 -5
  288. package/dist/react/dialog/index.js +3 -3
  289. package/dist/react/icon/index.js +5 -5
  290. package/dist/react/index.d.ts +5 -4
  291. package/dist/react/index.js +81 -76
  292. package/dist/react/loader/index.js +3 -3
  293. package/dist/react/login/index.js +12 -12
  294. package/dist/react/map/index.js +6 -6
  295. package/dist/react/plot/index.js +3 -3
  296. package/dist/react/skeleton/index.js +3 -3
  297. package/dist/react/spatial-picker/index.js +7 -7
  298. package/dist/react/time-series/index.d.ts +0 -2
  299. package/dist/react/time-series/index.js +15 -33
  300. package/dist/react/variable-combobox/index.js +12 -12
  301. package/dist/react/variable-keyword-search/index.js +15 -13
  302. package/dist/terra-ui-components.d.ts +1 -0
  303. package/dist/terra-ui-components.js +84 -78
  304. package/dist/terra_ui_components-0.0.45-py3-none-any.whl +0 -0
  305. package/dist/{terra_ui_components-0.0.43.tar.gz → terra_ui_components-0.0.45.tar.gz} +0 -0
  306. package/dist/types/vue/index.d.ts +97 -78
  307. package/dist/utilities/date.d.ts +8 -0
  308. package/dist/utilities/date.js +5 -1
  309. package/dist/utilities/icon-library.js +2 -2
  310. package/dist/variable-catalog/giovanni-variable-catalog.d.ts +4 -0
  311. package/dist/variable-catalog/queries.d.ts +1 -0
  312. package/dist/variable-catalog/types.d.ts +15 -0
  313. package/dist/vscode.html-custom-data.json +146 -105
  314. package/dist/web-types.json +306 -259
  315. package/package.json +1 -1
  316. package/cdn/chunks/chunk.46IWBVYP.js +0 -13
  317. package/cdn/chunks/chunk.FRHQ2JZY.js +0 -30
  318. package/cdn/chunks/chunk.GD2FHNDE.js +0 -1131
  319. package/cdn/chunks/chunk.TNVTVMRS.js +0 -36
  320. package/cdn/components/browse-variables/repositories/giovanni.repository.d.ts +0 -8
  321. package/cdn/components/browse-variables/repositories/giovanni.repository.js +0 -7
  322. package/dist/chunks/chunk.4TEZ5QPN.js +0 -671
  323. package/dist/chunks/chunk.OIDMX5LU.js +0 -10
  324. package/dist/chunks/chunk.TNVTVMRS.js +0 -36
  325. package/dist/components/browse-variables/repositories/giovanni.repository.d.ts +0 -8
  326. package/dist/components/browse-variables/repositories/giovanni.repository.js +0 -7
  327. package/dist/terra_ui_components-0.0.43-py3-none-any.whl +0 -0
  328. package/cdn/chunks/{chunk.7DOMZGX7.js → chunk.MDRUDBRH.js} +3 -3
  329. package/cdn/chunks/{chunk.LOCO37M5.js → chunk.X2C7E56W.js} +3 -3
  330. package/dist/chunks/{chunk.7DOMZGX7.js → chunk.MDRUDBRH.js} +3 -3
@@ -0,0 +1,647 @@
1
+ import {
2
+ TimeSeriesController
3
+ } from "./chunk.7OWQQEAP.js";
4
+ import {
5
+ time_series_styles_default
6
+ } from "./chunk.K2IRF2QI.js";
7
+ import {
8
+ TerraPlot
9
+ } from "./chunk.XMJAGELF.js";
10
+ import {
11
+ TerraLoader
12
+ } from "./chunk.MEPZIAGL.js";
13
+ import {
14
+ TerraIcon
15
+ } from "./chunk.7ZF43BLB.js";
16
+ import {
17
+ GiovanniVariableCatalog
18
+ } from "./chunk.TFI3UXXB.js";
19
+ import {
20
+ TerraButton
21
+ } from "./chunk.DKAE3S5I.js";
22
+ import {
23
+ watch
24
+ } from "./chunk.SK7IZCKP.js";
25
+ import {
26
+ TerraElement,
27
+ component_styles_default
28
+ } from "./chunk.NHW27P5N.js";
29
+ import {
30
+ __decorateClass,
31
+ __privateAdd,
32
+ __privateGet,
33
+ __privateMethod,
34
+ __privateSet
35
+ } from "./chunk.TVFCHGU3.js";
36
+
37
+ // src/components/time-series/time-series.component.ts
38
+ import { cache } from "lit/directives/cache.js";
39
+ import { downloadImage } from "plotly.js-dist-min";
40
+ import { html } from "lit";
41
+ import { property, query, state } from "lit/decorators.js";
42
+ import { Task, TaskStatus } from "@lit/task";
43
+ var _timeSeriesController, _catalog, _fetchVariableTask, _confirmDataPointWarning, confirmDataPointWarning_fn, _cancelDataPointWarning, cancelDataPointWarning_fn, _abortDataLoad, abortDataLoad_fn, _downloadCSV, downloadCSV_fn, _convertToCSV, convertToCSV_fn, _downloadPNG, downloadPNG_fn, _handleActiveMenuItem, handleActiveMenuItem_fn, _handleMenuLeave, handleMenuLeave_fn, _getVariableEntryId, getVariableEntryId_fn, _getYAxisLabel, getYAxisLabel_fn, _renderInfoPanel, renderInfoPanel_fn, _renderDownloadPanel, renderDownloadPanel_fn, _renderHelpPanel, renderHelpPanel_fn, _renderJupyterNotebookPanel, renderJupyterNotebookPanel_fn, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn;
44
+ var TerraTimeSeries = class extends TerraElement {
45
+ constructor() {
46
+ super(...arguments);
47
+ __privateAdd(this, _confirmDataPointWarning);
48
+ __privateAdd(this, _cancelDataPointWarning);
49
+ /**
50
+ * aborts the underlying data loading task, which cancels the network request
51
+ */
52
+ __privateAdd(this, _abortDataLoad);
53
+ __privateAdd(this, _downloadCSV);
54
+ __privateAdd(this, _convertToCSV);
55
+ __privateAdd(this, _downloadPNG);
56
+ __privateAdd(this, _handleActiveMenuItem);
57
+ __privateAdd(this, _handleMenuLeave);
58
+ __privateAdd(this, _getVariableEntryId);
59
+ __privateAdd(this, _getYAxisLabel);
60
+ __privateAdd(this, _renderInfoPanel);
61
+ __privateAdd(this, _renderDownloadPanel);
62
+ __privateAdd(this, _renderHelpPanel);
63
+ __privateAdd(this, _renderJupyterNotebookPanel);
64
+ __privateAdd(this, _handleJupyterNotebookClick);
65
+ __privateAdd(this, _timeSeriesController, void 0);
66
+ this.showDataPointWarning = false;
67
+ this.estimatedDataPoints = 0;
68
+ this.activeMenuItem = null;
69
+ __privateAdd(this, _catalog, new GiovanniVariableCatalog());
70
+ // @ts-expect-error
71
+ __privateAdd(this, _fetchVariableTask, new Task(this, {
72
+ task: async (_args, { signal }) => {
73
+ var _a, _b, _c, _d;
74
+ const variableEntryId = __privateMethod(this, _getVariableEntryId, getVariableEntryId_fn).call(this);
75
+ console.debug("fetch variable ", variableEntryId);
76
+ if (!variableEntryId) {
77
+ return;
78
+ }
79
+ const variable = await __privateGet(this, _catalog).getVariable(variableEntryId, {
80
+ signal
81
+ });
82
+ console.debug("found variable ", variable);
83
+ if (!variable) {
84
+ return;
85
+ }
86
+ this.startDate = (_b = this.startDate) != null ? _b : (_a = variable.exampleInitialStartDate) == null ? void 0 : _a.toISOString();
87
+ this.endDate = (_d = this.endDate) != null ? _d : (_c = variable.exampleInitialEndDate) == null ? void 0 : _c.toISOString();
88
+ this.catalogVariable = variable;
89
+ },
90
+ args: () => [this.variableEntryId, this.collection, this.variable]
91
+ }));
92
+ }
93
+ handleFocus(_oldValue, newValue) {
94
+ if (newValue === null) {
95
+ return;
96
+ }
97
+ this.menu.focus();
98
+ }
99
+ connectedCallback() {
100
+ super.connectedCallback();
101
+ __privateSet(this, _timeSeriesController, new TimeSeriesController(this, this.bearerToken));
102
+ if (!document.getElementById("terra-jupyterlite-warmup-iframe")) {
103
+ const iframe = document.createElement("iframe");
104
+ iframe.id = "terra-jupyterlite-warmup-iframe";
105
+ iframe.src = "https://gesdisc.github.io/jupyterlite/lab/index.html?path=warmup.ipynb";
106
+ iframe.style.cssText = "width:1px; height:1px; opacity:0.01; pointer-events: none; border: 0; position: fixed; top: 0; left: 0;";
107
+ iframe.title = "Notebook Warm-Up Frame";
108
+ iframe.setAttribute("aria-hidden", "true");
109
+ document.body.appendChild(iframe);
110
+ }
111
+ }
112
+ render() {
113
+ var _a, _b;
114
+ return html`
115
+ <div class="plot-container">
116
+ ${cache(
117
+ this.catalogVariable ? html`
118
+ <header>
119
+ <h2 class="title">
120
+ ${this.catalogVariable.dataFieldLongName}
121
+ </h2>
122
+
123
+ <div class="toggles">
124
+ <terra-button
125
+ circle
126
+ outline
127
+ aria-expanded=${this.activeMenuItem === "information"}
128
+ aria-controls="menu"
129
+ aria-haspopup="true"
130
+ class="toggle"
131
+ @mouseenter=${__privateMethod(this, _handleActiveMenuItem, handleActiveMenuItem_fn)}
132
+ data-menu-name="information"
133
+ >
134
+ <span class="sr-only"
135
+ >Information for
136
+ ${this.catalogVariable.dataFieldLongName}</span
137
+ >
138
+
139
+ <terra-icon
140
+ name="outline-information-circle"
141
+ library="heroicons"
142
+ font-size="1.5em"
143
+ ></terra-icon>
144
+ </terra-button>
145
+
146
+ <terra-button
147
+ circle
148
+ outline
149
+ aria-expanded=${this.activeMenuItem === "download"}
150
+ aria-controls="menu"
151
+ aria-haspopup="true"
152
+ class="toggle"
153
+ @mouseenter=${__privateMethod(this, _handleActiveMenuItem, handleActiveMenuItem_fn)}
154
+ data-menu-name="download"
155
+ >
156
+ <span class="sr-only"
157
+ >Download options for
158
+ ${this.catalogVariable.dataFieldLongName}</span
159
+ >
160
+
161
+ <terra-icon
162
+ name="outline-arrow-down-tray"
163
+ library="heroicons"
164
+ font-size="1.5em"
165
+ ></terra-icon>
166
+ </terra-button>
167
+
168
+ <terra-button
169
+ circle
170
+ outline
171
+ aria-expanded=${this.activeMenuItem === "help"}
172
+ aria-controls="menu"
173
+ aria-haspopup="true"
174
+ class="toggle"
175
+ @mouseenter=${__privateMethod(this, _handleActiveMenuItem, handleActiveMenuItem_fn)}
176
+ data-menu-name="help"
177
+ >
178
+ <span class="sr-only"
179
+ >Help link for
180
+ ${this.catalogVariable.dataFieldLongName}</span
181
+ >
182
+
183
+ <terra-icon
184
+ name="outline-question-mark-circle"
185
+ library="heroicons"
186
+ font-size="1.5em"
187
+ ></terra-icon>
188
+ </terra-button>
189
+
190
+ <terra-button
191
+ circle
192
+ outline
193
+ aria-expanded=${this.activeMenuItem === "jupyter"}
194
+ aria-controls="menu"
195
+ aria-haspopup="true"
196
+ class="toggle"
197
+ @mouseenter=${__privateMethod(this, _handleActiveMenuItem, handleActiveMenuItem_fn)}
198
+ data-menu-name="jupyter"
199
+ >
200
+ <span class="sr-only"
201
+ >Open in Jupyter Notebook for
202
+ ${this.catalogVariable.dataFieldLongName}</span
203
+ >
204
+
205
+ <terra-icon
206
+ name="outline-code-bracket-square"
207
+ library="heroicons"
208
+ font-size="1.5em"
209
+ ></terra-icon>
210
+ </terra-button>
211
+ </div>
212
+
213
+ <menu
214
+ role="menu"
215
+ id="menu"
216
+ data-expanded=${this.activeMenuItem !== null}
217
+ tabindex="-1"
218
+ @mouseleave=${__privateMethod(this, _handleMenuLeave, handleMenuLeave_fn)}
219
+ >
220
+ <li
221
+ role="menuitem"
222
+ ?hidden=${this.activeMenuItem !== "information"}
223
+ >
224
+ ${__privateMethod(this, _renderInfoPanel, renderInfoPanel_fn).call(this)}
225
+ </li>
226
+
227
+ <li
228
+ role="menuitem"
229
+ ?hidden=${this.activeMenuItem !== "download"}
230
+ >
231
+ ${__privateMethod(this, _renderDownloadPanel, renderDownloadPanel_fn).call(this)}
232
+ </li>
233
+
234
+ <li
235
+ role="menuitem"
236
+ ?hidden=${this.activeMenuItem !== "help"}
237
+ >
238
+ ${__privateMethod(this, _renderHelpPanel, renderHelpPanel_fn).call(this)}
239
+ </li>
240
+
241
+ <li
242
+ role="menuitem"
243
+ ?hidden=${this.activeMenuItem !== "jupyter"}
244
+ >
245
+ ${__privateMethod(this, _renderJupyterNotebookPanel, renderJupyterNotebookPanel_fn).call(this)}
246
+ </li>
247
+ </menu>
248
+ </header>
249
+ ` : html`<div class="spacer"></div>`
250
+ )}
251
+
252
+ <terra-plot
253
+ exportparts="base:plot__base, plot-title:plot__title"
254
+ .data=${(_a = __privateGet(this, _timeSeriesController).lastTaskValue) != null ? _a : __privateGet(this, _timeSeriesController).emptyPlotData}
255
+ .layout="${{
256
+ xaxis: {
257
+ title: "Time",
258
+ showgrid: false,
259
+ zeroline: false
260
+ },
261
+ yaxis: {
262
+ title: __privateMethod(this, _getYAxisLabel, getYAxisLabel_fn).call(this),
263
+ showline: false
264
+ },
265
+ title: {
266
+ text: this.catalogVariable && this.location ? `${this.catalogVariable.dataProductShortName} @ ${this.location}` : null
267
+ }
268
+ }}"
269
+ .config=${{
270
+ displayModeBar: true,
271
+ displaylogo: false,
272
+ modeBarButtonsToRemove: ["toImage", "zoom2d", "resetScale2d"],
273
+ responsive: true
274
+ }}
275
+ ></terra-plot>
276
+ </div>
277
+
278
+ <!-- DATE RANGE SLIDER WAS HERE -->
279
+
280
+ <dialog
281
+ ?open=${__privateGet(this, _timeSeriesController).task.status === TaskStatus.PENDING}
282
+ >
283
+ <terra-loader indeterminate></terra-loader>
284
+ <p>Plotting ${(_b = this.catalogVariable) == null ? void 0 : _b.dataFieldId}&hellip;</p>
285
+ <terra-button @click=${__privateMethod(this, _abortDataLoad, abortDataLoad_fn)}>Cancel</terra-button>
286
+ </dialog>
287
+
288
+ <dialog ?open=${this.showDataPointWarning} class="quota-dialog">
289
+ <h2>This is a large request</h2>
290
+
291
+ <p>
292
+ You are requesting approximately
293
+ ${this.estimatedDataPoints.toLocaleString()} data points.
294
+ </p>
295
+
296
+ <p>
297
+ Requesting large amounts of data may cause you to reach your
298
+ monthly quota limit.
299
+ </p>
300
+
301
+ <p>Would you still like to proceed with this request?</p>
302
+
303
+ <div class="dialog-buttons">
304
+ <terra-button
305
+ @click=${__privateMethod(this, _cancelDataPointWarning, cancelDataPointWarning_fn)}
306
+ variant="default"
307
+ >
308
+ Cancel
309
+ </terra-button>
310
+
311
+ <terra-button
312
+ @click=${__privateMethod(this, _confirmDataPointWarning, confirmDataPointWarning_fn)}
313
+ variant="primary"
314
+ >
315
+ Proceed
316
+ </terra-button>
317
+ </div>
318
+ </dialog>
319
+ `;
320
+ }
321
+ };
322
+ _timeSeriesController = new WeakMap();
323
+ _catalog = new WeakMap();
324
+ _fetchVariableTask = new WeakMap();
325
+ _confirmDataPointWarning = new WeakSet();
326
+ confirmDataPointWarning_fn = function() {
327
+ __privateGet(this, _timeSeriesController).confirmDataPointWarning();
328
+ __privateGet(this, _timeSeriesController).task.run();
329
+ };
330
+ _cancelDataPointWarning = new WeakSet();
331
+ cancelDataPointWarning_fn = function() {
332
+ this.showDataPointWarning = false;
333
+ };
334
+ _abortDataLoad = new WeakSet();
335
+ abortDataLoad_fn = function() {
336
+ var _a;
337
+ (_a = __privateGet(this, _timeSeriesController).task) == null ? void 0 : _a.abort();
338
+ };
339
+ _downloadCSV = new WeakSet();
340
+ downloadCSV_fn = function(_event) {
341
+ var _a, _b;
342
+ const controllerData = (_a = __privateGet(this, _timeSeriesController).lastTaskValue) != null ? _a : __privateGet(this, _timeSeriesController).emptyPlotData;
343
+ let plotData = [];
344
+ controllerData.forEach((plot, index) => {
345
+ plotData[index] = plot;
346
+ });
347
+ const csvData = plotData.map((trace) => {
348
+ return trace.x.map((x, i) => {
349
+ return {
350
+ x,
351
+ y: trace.y[i]
352
+ };
353
+ });
354
+ }).flat();
355
+ const csv = __privateMethod(this, _convertToCSV, convertToCSV_fn).call(this, csvData);
356
+ const blob = new Blob([csv], { type: "text/csv;charset=utf-8;" });
357
+ const url = URL.createObjectURL(blob);
358
+ const link = document.createElement("a");
359
+ link.setAttribute("href", url);
360
+ const variableName = ((_b = this.catalogVariable) == null ? void 0 : _b.dataFieldId) || "time-series-data";
361
+ const locationStr = this.location ? `_${this.location.replace(/,/g, "_")}` : "";
362
+ const dateRange = this.startDate && this.endDate ? `_${this.startDate.split("T")[0]}_to_${this.endDate.split("T")[0]}` : "";
363
+ const filename = `${variableName}${locationStr}${dateRange}.csv`;
364
+ link.setAttribute("download", filename);
365
+ link.style.visibility = "hidden";
366
+ document.body.appendChild(link);
367
+ link.click();
368
+ document.body.removeChild(link);
369
+ };
370
+ _convertToCSV = new WeakSet();
371
+ convertToCSV_fn = function(data) {
372
+ const header = Object.keys(data[0]).join(",") + "\n";
373
+ const rows = data.map((obj) => Object.values(obj).join(",")).join("\n");
374
+ return header + rows;
375
+ };
376
+ _downloadPNG = new WeakSet();
377
+ downloadPNG_fn = function(_event) {
378
+ var _a;
379
+ downloadImage((_a = this.plot) == null ? void 0 : _a.base, {
380
+ filename: this.catalogVariable.dataFieldId,
381
+ format: "png",
382
+ width: 1920,
383
+ height: 1080
384
+ });
385
+ };
386
+ _handleActiveMenuItem = new WeakSet();
387
+ handleActiveMenuItem_fn = function(event) {
388
+ const button = event.currentTarget;
389
+ const menuName = button.dataset.menuName;
390
+ this.activeMenuItem = menuName;
391
+ };
392
+ _handleMenuLeave = new WeakSet();
393
+ handleMenuLeave_fn = function() {
394
+ this.activeMenuItem = null;
395
+ };
396
+ _getVariableEntryId = new WeakSet();
397
+ getVariableEntryId_fn = function() {
398
+ var _a;
399
+ if (!this.variableEntryId && !(this.collection && this.variable)) {
400
+ return;
401
+ }
402
+ return (_a = this.variableEntryId) != null ? _a : `${this.collection}_${this.variable}`;
403
+ };
404
+ _getYAxisLabel = new WeakSet();
405
+ getYAxisLabel_fn = function() {
406
+ if (!this.catalogVariable) {
407
+ return;
408
+ }
409
+ return [
410
+ this.catalogVariable.dataFieldLongName,
411
+ this.catalogVariable.dataFieldUnits
412
+ ].filter(Boolean).join(", ");
413
+ };
414
+ _renderInfoPanel = new WeakSet();
415
+ renderInfoPanel_fn = function() {
416
+ var _a;
417
+ return html`
418
+ <h3 class="sr-only">Information</h3>
419
+
420
+ <dl>
421
+ <dt>Variable Longname</dt>
422
+ <dd>${this.catalogVariable.dataFieldLongName}</dd>
423
+
424
+ <dt>Variable Shortname</dt>
425
+ <dd>
426
+ ${(_a = this.catalogVariable.dataFieldShortName) != null ? _a : this.catalogVariable.dataFieldAccessName}
427
+ </dd>
428
+
429
+ <dt>Units</dt>
430
+ <dd>
431
+ <code>${this.catalogVariable.dataFieldUnits}</code>
432
+ </dd>
433
+
434
+ <dt>Dataset Information</dt>
435
+ <dd>
436
+ <a
437
+ href=${this.catalogVariable.dataProductDescriptionUrl}
438
+ rel="noopener noreffer"
439
+ target="_blank"
440
+ >${this.catalogVariable.dataProductLongName}
441
+
442
+ <terra-icon
443
+ name="outline-arrow-top-right-on-square"
444
+ library="heroicons"
445
+ ></terra-icon>
446
+ </a>
447
+ </dd>
448
+
449
+ <dt>Variable Information</dt>
450
+ <dd>
451
+ <a
452
+ href=${this.catalogVariable.dataFieldDescriptionUrl}
453
+ rel="noopener noreffer"
454
+ target="_blank"
455
+ >Variable Glossary
456
+
457
+ <terra-icon
458
+ name="outline-arrow-top-right-on-square"
459
+ library="heroicons"
460
+ ></terra-icon>
461
+ </a>
462
+ </dd>
463
+ </dl>
464
+ `;
465
+ };
466
+ _renderDownloadPanel = new WeakSet();
467
+ renderDownloadPanel_fn = function() {
468
+ return html`
469
+ <h3 class="sr-only">Download Options</h3>
470
+
471
+ <p>
472
+ This plot can be downloaded as either a
473
+ <abbr title="Portable Network Graphic">PNG</abbr>
474
+ image or
475
+ <abbr title="Comma-Separated Value">CSV</abbr>
476
+ data.
477
+ </p>
478
+
479
+ <terra-button outline variant="default" @click=${__privateMethod(this, _downloadPNG, downloadPNG_fn)}>
480
+ <span class="sr-only">Download Plot Data as </span>
481
+ PNG
482
+ <terra-icon
483
+ slot="prefix"
484
+ name="outline-photo"
485
+ library="heroicons"
486
+ font-size="1.5em"
487
+ ></terra-icon>
488
+ </terra-button>
489
+
490
+ <terra-button outline variant="default" @click=${__privateMethod(this, _downloadCSV, downloadCSV_fn)}>
491
+ <span class="sr-only">Download Plot Data as </span>
492
+ CSV
493
+ <terra-icon
494
+ slot="prefix"
495
+ name="outline-document-chart-bar"
496
+ library="heroicons"
497
+ font-size="1.5em"
498
+ ></terra-icon>
499
+ </terra-button>
500
+ `;
501
+ };
502
+ _renderHelpPanel = new WeakSet();
503
+ renderHelpPanel_fn = function() {
504
+ return html`
505
+ <h3 class="sr-only">Help Links</h3>
506
+ <ul>
507
+ <li>
508
+ <a href="https://forum.earthdata.nasa.gov/viewforum.php?f=7&DAAC=3" rel"noopener noreffer">Earthdata User Forum
509
+ <terra-icon
510
+ name="outline-arrow-top-right-on-square"
511
+ library="heroicons"
512
+ ></terra-icon>
513
+ </a>
514
+ </li>
515
+ </ul>
516
+ `;
517
+ };
518
+ _renderJupyterNotebookPanel = new WeakSet();
519
+ renderJupyterNotebookPanel_fn = function() {
520
+ return html`
521
+ <h3 class="sr-only">Jupyter Notebook Options</h3>
522
+ <p>Open this plot in a Jupyter Notebook to explore the data further.</p>
523
+ <a
524
+ href="#"
525
+ @click=${(e) => {
526
+ e.preventDefault();
527
+ __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this);
528
+ }}
529
+ >
530
+ Open in Jupyter Notebook
531
+ <terra-icon
532
+ name="outline-arrow-top-right-on-square"
533
+ library="heroicons"
534
+ ></terra-icon>
535
+ </a>
536
+ `;
537
+ };
538
+ _handleJupyterNotebookClick = new WeakSet();
539
+ handleJupyterNotebookClick_fn = function() {
540
+ const jupyterLiteUrl = "https://gesdisc.github.io/jupyterlite/lab/index.html";
541
+ const jupyterWindow = window.open(jupyterLiteUrl, "_blank");
542
+ if (!jupyterWindow) {
543
+ console.error("Failed to open JupyterLite!");
544
+ return;
545
+ }
546
+ setTimeout(() => {
547
+ const notebook = [
548
+ {
549
+ id: "2733501b-0de4-4067-8aff-864e1b4c76cb",
550
+ cell_type: "code",
551
+ source: "%pip install -q terra_ui_components",
552
+ metadata: {
553
+ trusted: true
554
+ },
555
+ outputs: [],
556
+ execution_count: null
557
+ },
558
+ {
559
+ id: "870c1384-e706-48ee-ba07-fd552a949869",
560
+ cell_type: "code",
561
+ source: `from terra_ui_components import TerraTimeSeries
562
+ timeseries = TerraTimeSeries()
563
+
564
+ timeseries.variableEntryId = '${this.variableEntryId}'
565
+ timeseries.startDate = '${this.startDate}'
566
+ timeseries.endDate = '${this.endDate}'
567
+ timeseries.location = '${this.location}'
568
+
569
+ timeseries`,
570
+ metadata: {
571
+ trusted: true
572
+ },
573
+ outputs: [],
574
+ execution_count: null
575
+ }
576
+ ];
577
+ jupyterWindow.postMessage(
578
+ {
579
+ type: "load-notebook",
580
+ filename: "from_uui.ipynb",
581
+ notebook
582
+ },
583
+ "*"
584
+ );
585
+ }, 500);
586
+ };
587
+ TerraTimeSeries.styles = [component_styles_default, time_series_styles_default];
588
+ TerraTimeSeries.dependencies = {
589
+ "terra-plot": TerraPlot,
590
+ "terra-loader": TerraLoader,
591
+ "terra-icon": TerraIcon,
592
+ "terra-button": TerraButton
593
+ };
594
+ __decorateClass([
595
+ property({ attribute: "variable-entry-id", reflect: true })
596
+ ], TerraTimeSeries.prototype, "variableEntryId", 2);
597
+ __decorateClass([
598
+ property({ reflect: true })
599
+ ], TerraTimeSeries.prototype, "collection", 2);
600
+ __decorateClass([
601
+ property({ reflect: true })
602
+ ], TerraTimeSeries.prototype, "variable", 2);
603
+ __decorateClass([
604
+ property({
605
+ attribute: "start-date",
606
+ reflect: true
607
+ })
608
+ ], TerraTimeSeries.prototype, "startDate", 2);
609
+ __decorateClass([
610
+ property({
611
+ attribute: "end-date",
612
+ reflect: true
613
+ })
614
+ ], TerraTimeSeries.prototype, "endDate", 2);
615
+ __decorateClass([
616
+ property({
617
+ reflect: true
618
+ })
619
+ ], TerraTimeSeries.prototype, "location", 2);
620
+ __decorateClass([
621
+ property({ attribute: "bearer-token", reflect: false })
622
+ ], TerraTimeSeries.prototype, "bearerToken", 2);
623
+ __decorateClass([
624
+ query("terra-plot")
625
+ ], TerraTimeSeries.prototype, "plot", 2);
626
+ __decorateClass([
627
+ query("#menu")
628
+ ], TerraTimeSeries.prototype, "menu", 2);
629
+ __decorateClass([
630
+ state()
631
+ ], TerraTimeSeries.prototype, "catalogVariable", 2);
632
+ __decorateClass([
633
+ state()
634
+ ], TerraTimeSeries.prototype, "showDataPointWarning", 2);
635
+ __decorateClass([
636
+ state()
637
+ ], TerraTimeSeries.prototype, "estimatedDataPoints", 2);
638
+ __decorateClass([
639
+ state()
640
+ ], TerraTimeSeries.prototype, "activeMenuItem", 2);
641
+ __decorateClass([
642
+ watch("activeMenuItem")
643
+ ], TerraTimeSeries.prototype, "handleFocus", 1);
644
+
645
+ export {
646
+ TerraTimeSeries
647
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraVariableKeywordSearch
3
- } from "./chunk.S4INEVCC.js";
3
+ } from "./chunk.LE33GS2U.js";
4
4
 
5
5
  // src/react/variable-keyword-search/index.ts
6
6
  import * as React from "react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraSpatialPicker
3
- } from "./chunk.RXZPXAB4.js";
3
+ } from "./chunk.MUOIGLIS.js";
4
4
 
5
5
  // src/components/spatial-picker/spatial-picker.ts
6
6
  var spatial_picker_default = TerraSpatialPicker;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraSpatialPicker
3
- } from "./chunk.RXZPXAB4.js";
3
+ } from "./chunk.MUOIGLIS.js";
4
4
 
5
5
  // src/react/spatial-picker/index.ts
6
6
  import * as React from "react";