@nasa-terra/components 0.0.7 → 0.0.10

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 (368) hide show
  1. package/README.md +10 -3
  2. package/cdn/chunks/{chunk.RZV7PTZZ.js → chunk.3IJDKBGJ.js} +1 -1
  3. package/cdn/chunks/{chunk.XAVEBGFY.js → chunk.3W4F6TQ2.js} +1 -1
  4. package/cdn/chunks/{chunk.P3N5PW3F.js → chunk.4AB3LJPJ.js} +42 -13
  5. package/cdn/chunks/chunk.5FZY6SGS.js +61 -0
  6. package/{dist/chunks/chunk.CNBF6GCR.js → cdn/chunks/chunk.5NV6P6GX.js} +1 -1
  7. package/cdn/chunks/{chunk.6TG7HJRE.js → chunk.5VDHK5K4.js} +14 -15
  8. package/cdn/chunks/{chunk.URIOYHEA.js → chunk.765C5WRO.js} +24 -46
  9. package/cdn/chunks/{chunk.5DPGWL3Y.js → chunk.7JHEI2UU.js} +10 -14
  10. package/cdn/chunks/{chunk.L4ODCAGX.js → chunk.7PMR7OPB.js} +1 -1
  11. package/cdn/chunks/chunk.7QABLDUG.js +57 -0
  12. package/{dist/chunks/chunk.4EEBFDHS.js → cdn/chunks/chunk.7UW6DDQF.js} +1 -1
  13. package/cdn/chunks/chunk.AC5MB5SX.js +128 -0
  14. package/cdn/chunks/{chunk.CGUXXQTT.js → chunk.AMMVA664.js} +1 -1
  15. package/cdn/chunks/chunk.BJDFUSWQ.js +226 -0
  16. package/cdn/chunks/{chunk.CPNLKTGF.js → chunk.CBQITJPW.js} +1 -1
  17. package/cdn/chunks/{chunk.UBYAPUL3.js → chunk.CCSPQ6IM.js} +8 -10
  18. package/cdn/chunks/chunk.CNP3J6CH.js +128 -0
  19. package/cdn/chunks/chunk.E7365JGL.js +21 -0
  20. package/cdn/chunks/{chunk.PTWY7M47.js → chunk.EZSX4R2K.js} +5 -1
  21. package/cdn/chunks/{chunk.GMWFNQ7Q.js → chunk.FCJIZOLN.js} +3 -2
  22. package/cdn/chunks/{chunk.R2AQMZE4.js → chunk.GCXPHNE2.js} +1 -1
  23. package/cdn/chunks/chunk.HSQGU4NR.js +25 -0
  24. package/cdn/chunks/{chunk.LO2CROCV.js → chunk.HZX5FZ7S.js} +5 -5
  25. package/cdn/chunks/{chunk.DSTVDF3E.js → chunk.IOAVHFTX.js} +1 -1
  26. package/{dist/chunks/chunk.TWKECPWO.js → cdn/chunks/chunk.K6SRYMW6.js} +1 -1
  27. package/{dist/chunks/chunk.MMDLLVXS.js → cdn/chunks/chunk.KNCEBCFL.js} +1 -1
  28. package/cdn/chunks/{chunk.SVBGCTUY.js → chunk.L577HM7J.js} +1 -1
  29. package/cdn/chunks/chunk.LVWJBUI5.js +396 -0
  30. package/cdn/chunks/{chunk.UUZHIWQZ.js → chunk.M2O4PUUH.js} +2 -2
  31. package/cdn/chunks/{chunk.5M6EGBKK.js → chunk.MVSG72ZT.js} +1 -1
  32. package/cdn/chunks/{chunk.IKBILRIY.js → chunk.NYEDLELY.js} +37 -18
  33. package/cdn/chunks/chunk.O7AXAEKY.js +23 -0
  34. package/{dist/chunks/chunk.N6PKYR5K.js → cdn/chunks/chunk.ODMCICTE.js} +1 -1
  35. package/cdn/chunks/{chunk.2BF5ZHP6.js → chunk.OEXEZBPR.js} +21 -28
  36. package/cdn/chunks/{chunk.IKYLG6LM.js → chunk.OHLHIF2S.js} +1 -1
  37. package/cdn/chunks/{chunk.WY4A6BXW.js → chunk.OYIXDSOR.js} +1 -1
  38. package/cdn/chunks/{chunk.GCC4YOMG.js → chunk.OZ7XA7RU.js} +1 -1
  39. package/cdn/chunks/chunk.PROUWLVJ.js +11 -0
  40. package/cdn/chunks/chunk.PS4NQOAX.js +198 -0
  41. package/cdn/chunks/chunk.Q4J4A5QN.js +11 -0
  42. package/cdn/chunks/{chunk.ZKRXIISK.js → chunk.SWEK2UAG.js} +19 -81
  43. package/cdn/chunks/chunk.TNP7NVU5.js +159 -0
  44. package/{dist/chunks/chunk.UNE3VYFP.js → cdn/chunks/chunk.TSJ2SKIK.js} +1 -1
  45. package/cdn/chunks/chunk.TZK42POE.js +55 -0
  46. package/cdn/chunks/{chunk.IBV3HXI5.js → chunk.USC76EZL.js} +26 -92
  47. package/cdn/chunks/chunk.UTSV66LS.js +339 -0
  48. package/cdn/chunks/{chunk.MCDYUBW2.js → chunk.V56TFUPC.js} +1 -1
  49. package/{dist/chunks/chunk.SDJHA4XN.js → cdn/chunks/chunk.VAGPCL2W.js} +1 -1
  50. package/cdn/chunks/{chunk.6TP5NQZR.js → chunk.VV4LJOBN.js} +3 -4
  51. package/cdn/chunks/{chunk.5EDEDCDT.js → chunk.W56IQXUC.js} +410 -112
  52. package/cdn/chunks/chunk.WD2DJJFP.js +38 -0
  53. package/cdn/chunks/{chunk.4GVU47B6.js → chunk.WTMN7OUL.js} +11 -6
  54. package/cdn/chunks/chunk.XDHNAOF7.js +53 -0
  55. package/{dist/chunks/chunk.CM3WMTBC.js → cdn/chunks/chunk.XF5FTC6G.js} +1 -1
  56. package/{dist/chunks/chunk.N7ULTEAO.js → cdn/chunks/chunk.XYVCCSE4.js} +1 -1
  57. package/cdn/chunks/{chunk.YW2OER7Y.js → chunk.Y4WP4EBM.js} +38 -20
  58. package/cdn/chunks/{chunk.ZMTQ4YE2.js → chunk.YPSUCRGF.js} +1 -1
  59. package/cdn/chunks/{chunk.NTB4EIFE.js → chunk.YVG2XG3L.js} +197 -162
  60. package/cdn/components/browse-variables/browse-variables.component.d.ts +28 -0
  61. package/cdn/components/browse-variables/browse-variables.component.js +15 -0
  62. package/cdn/components/browse-variables/browse-variables.controller.d.ts +11 -0
  63. package/cdn/components/browse-variables/browse-variables.controller.js +10 -0
  64. package/cdn/components/browse-variables/browse-variables.d.ts +8 -0
  65. package/cdn/components/browse-variables/browse-variables.js +16 -0
  66. package/cdn/components/browse-variables/browse-variables.styles.d.ts +2 -0
  67. package/cdn/components/browse-variables/browse-variables.styles.js +9 -0
  68. package/cdn/components/browse-variables/browse-variables.types.d.ts +49 -0
  69. package/cdn/components/browse-variables/browse-variables.types.js +0 -0
  70. package/cdn/components/browse-variables/repositories/giovanni.repository.d.ts +7 -0
  71. package/cdn/components/browse-variables/repositories/giovanni.repository.js +7 -0
  72. package/cdn/components/button/button.component.d.ts +6 -4
  73. package/cdn/components/button/button.component.js +4 -4
  74. package/cdn/components/button/button.js +5 -5
  75. package/cdn/components/button/button.styles.js +1 -1
  76. package/cdn/components/chip/chip.component.js +3 -3
  77. package/cdn/components/chip/chip.js +4 -4
  78. package/cdn/components/chip/chip.styles.js +1 -1
  79. package/cdn/components/combobox/combobox.component.js +5 -5
  80. package/cdn/components/combobox/combobox.js +6 -6
  81. package/cdn/components/combobox/combobox.styles.js +1 -1
  82. package/cdn/components/date-range-slider/date-range-slider.component.js +3 -3
  83. package/cdn/components/date-range-slider/date-range-slider.js +4 -4
  84. package/cdn/components/date-range-slider/date-range-slider.styles.js +1 -1
  85. package/cdn/components/giovanni-search/giovanni-search.component.d.ts +69 -0
  86. package/cdn/components/giovanni-search/giovanni-search.component.js +35 -0
  87. package/cdn/components/giovanni-search/giovanni-search.controller.d.ts +11 -0
  88. package/cdn/components/giovanni-search/giovanni-search.controller.js +9 -0
  89. package/cdn/components/giovanni-search/giovanni-search.d.ts +8 -0
  90. package/cdn/components/giovanni-search/giovanni-search.js +36 -0
  91. package/cdn/components/giovanni-search/giovanni-search.styles.d.ts +2 -0
  92. package/cdn/components/giovanni-search/giovanni-search.styles.js +9 -0
  93. package/cdn/components/giovanni-search/giovanni-search.types.d.ts +4 -0
  94. package/cdn/components/giovanni-search/giovanni-search.types.js +0 -0
  95. package/cdn/components/giovanni-search/lib.d.ts +6 -0
  96. package/cdn/components/giovanni-search/lib.js +15 -0
  97. package/cdn/components/icon/icon.component.js +5 -5
  98. package/cdn/components/icon/icon.js +6 -6
  99. package/cdn/components/icon/library.js +2 -2
  100. package/cdn/components/loader/loader.component.d.ts +5 -10
  101. package/cdn/components/loader/loader.component.js +3 -3
  102. package/cdn/components/loader/loader.js +4 -4
  103. package/cdn/components/loader/loader.styles.js +1 -1
  104. package/cdn/components/map/map.component.js +3 -3
  105. package/cdn/components/map/map.js +4 -4
  106. package/cdn/components/map/map.styles.js +1 -1
  107. package/cdn/components/plot/plot.component.d.ts +3 -12
  108. package/cdn/components/plot/plot.component.js +3 -3
  109. package/cdn/components/plot/plot.js +4 -4
  110. package/cdn/components/plot/plot.styles.js +1 -1
  111. package/cdn/components/plot/plot.types.d.ts +8 -0
  112. package/cdn/components/plot/plot.types.js +0 -0
  113. package/cdn/components/spatial-picker/spatial-picker.component.js +5 -5
  114. package/cdn/components/spatial-picker/spatial-picker.js +6 -6
  115. package/cdn/components/spatial-picker/spatial-picker.styles.js +1 -1
  116. package/cdn/components/time-series/time-series.component.d.ts +24 -1
  117. package/cdn/components/time-series/time-series.component.js +38 -38
  118. package/cdn/components/time-series/time-series.controller.d.ts +1 -1
  119. package/cdn/components/time-series/time-series.controller.js +2 -2
  120. package/cdn/components/time-series/time-series.js +39 -39
  121. package/cdn/components/time-series/time-series.styles.js +1 -1
  122. package/cdn/components/time-series/time-series.types.d.ts +1 -0
  123. package/cdn/components/variable-combobox/lib.d.ts +1 -1
  124. package/cdn/components/variable-combobox/lib.js +1 -1
  125. package/cdn/components/variable-combobox/variable-combobox.component.d.ts +1 -1
  126. package/cdn/components/variable-combobox/variable-combobox.component.js +17 -17
  127. package/cdn/components/variable-combobox/variable-combobox.controller.d.ts +1 -18
  128. package/cdn/components/variable-combobox/variable-combobox.controller.js +3 -3
  129. package/cdn/components/variable-combobox/variable-combobox.js +18 -18
  130. package/cdn/components/variable-combobox/variable-combobox.styles.js +1 -1
  131. package/cdn/components/variable-combobox/variable-combobox.types.d.ts +18 -0
  132. package/cdn/components/variable-combobox/variable-combobox.types.js +0 -0
  133. package/cdn/custom-elements.json +1346 -773
  134. package/cdn/events/events.d.ts +4 -2
  135. package/cdn/events/terra-combobox-change.d.ts +5 -2
  136. package/cdn/events/terra-giovanni-search-change.d.ts +6 -0
  137. package/cdn/events/terra-search.d.ts +6 -0
  138. package/cdn/react/browse-variables/index.d.ts +11 -0
  139. package/cdn/react/browse-variables/index.js +16 -0
  140. package/cdn/react/button/index.js +5 -5
  141. package/cdn/react/chip/index.js +4 -4
  142. package/cdn/react/combobox/index.js +6 -6
  143. package/cdn/react/date-range-slider/index.js +4 -4
  144. package/cdn/react/giovanni-search/index.d.ts +29 -0
  145. package/cdn/react/giovanni-search/index.js +36 -0
  146. package/cdn/react/icon/index.js +6 -6
  147. package/cdn/react/index.d.ts +4 -2
  148. package/cdn/react/index.js +74 -58
  149. package/cdn/react/loader/index.js +4 -4
  150. package/cdn/react/map/index.js +4 -4
  151. package/cdn/react/plot/index.js +4 -4
  152. package/cdn/react/spatial-picker/index.js +6 -6
  153. package/cdn/react/time-series/index.js +39 -39
  154. package/cdn/react/variable-combobox/index.js +18 -18
  155. package/cdn/terra-ui-components.d.ts +2 -0
  156. package/cdn/terra-ui-components.js +80 -64
  157. package/cdn/themes/horizon-dark.css +33 -0
  158. package/cdn/themes/horizon-dark.styles.d.ts +2 -0
  159. package/cdn/themes/horizon-dark.styles.js +37 -0
  160. package/cdn/themes/horizon.css +114 -333
  161. package/cdn/themes/horizon.styles.js +113 -330
  162. package/cdn/types/vue/index.d.ts +170 -95
  163. package/cdn/utilities/animation.js +2 -2
  164. package/cdn/utilities/icon-library.js +2 -2
  165. package/cdn/vscode.html-custom-data.json +184 -121
  166. package/cdn/web-types.json +345 -223
  167. package/{cdn/chunks/chunk.CDPMV7DB.js → dist/chunks/chunk.2AH2DRFK.js} +1 -1
  168. package/dist/chunks/chunk.3WWANPMA.js +327 -0
  169. package/dist/chunks/{chunk.WVHQFXLD.js → chunk.45IL4VM3.js} +4 -5
  170. package/dist/chunks/{chunk.33I7MBZO.js → chunk.4QQE24PP.js} +1 -1
  171. package/dist/chunks/{chunk.IEHDLSGA.js → chunk.4VZN3W62.js} +26 -49
  172. package/dist/chunks/{chunk.665T4BPT.js → chunk.57CUGLEH.js} +2 -2
  173. package/dist/chunks/{chunk.OU4UPMYR.js → chunk.62YHGVQN.js} +11 -6
  174. package/{cdn/chunks/chunk.BX66TSQY.js → dist/chunks/chunk.63K6ZAUR.js} +1 -1
  175. package/dist/chunks/{chunk.FFZEV52Q.js → chunk.6HZV77W5.js} +10 -12
  176. package/dist/chunks/{chunk.6EFMX2ZD.js → chunk.6IQY5DUY.js} +1 -1
  177. package/dist/chunks/chunk.6LKFAV2F.js +55 -0
  178. package/dist/chunks/{chunk.Y72ZRL5L.js → chunk.76XK3OGD.js} +20 -27
  179. package/dist/chunks/{chunk.7LODXAV5.js → chunk.7EIEDJ2L.js} +1 -1
  180. package/dist/chunks/{chunk.CL62YJ3N.js → chunk.7OKJDEHN.js} +37 -18
  181. package/dist/chunks/{chunk.JFU3ZCDL.js → chunk.7WL3WWGJ.js} +26 -92
  182. package/dist/chunks/{chunk.QJIYDTLQ.js → chunk.A2E2GJZC.js} +1 -1
  183. package/{cdn/chunks/chunk.LNNGJCX4.js → dist/chunks/chunk.A3YWS6R6.js} +1 -1
  184. package/dist/chunks/{chunk.SHS42OAD.js → chunk.APJOA6RL.js} +197 -162
  185. package/dist/chunks/chunk.BMQ6OBQO.js +11 -0
  186. package/dist/chunks/chunk.CETYO6UP.js +120 -0
  187. package/dist/chunks/chunk.CL7IMQRK.js +50 -0
  188. package/dist/chunks/{chunk.YNMQZYQL.js → chunk.CT5MMA3G.js} +1 -1
  189. package/{cdn/chunks/chunk.2MYFC7LM.js → dist/chunks/chunk.D36ZJXGZ.js} +1 -1
  190. package/dist/chunks/{chunk.XIRKMIAU.js → chunk.DHBVKEBZ.js} +5 -5
  191. package/dist/chunks/{chunk.FYST4D4G.js → chunk.DS3DCGZJ.js} +1 -1
  192. package/dist/chunks/{chunk.3ZGFXEAJ.js → chunk.EDWXEF4C.js} +1 -1
  193. package/dist/chunks/chunk.EGZMQ7T7.js +35 -0
  194. package/dist/chunks/{chunk.52JSYSOV.js → chunk.EP3UVTII.js} +1 -1
  195. package/dist/chunks/chunk.EQN5HVOY.js +193 -0
  196. package/dist/chunks/chunk.FNGOLJO3.js +569 -0
  197. package/dist/chunks/chunk.G6IVJK35.js +25 -0
  198. package/dist/chunks/chunk.GHDRVO5M.js +125 -0
  199. package/dist/chunks/{chunk.RYPAZDXE.js → chunk.GKBF7QGR.js} +13 -0
  200. package/dist/chunks/chunk.GR7XHOA3.js +52 -0
  201. package/dist/chunks/{chunk.7I7C7JJF.js → chunk.GUX23M43.js} +1 -1
  202. package/{cdn/chunks/chunk.NFSGAK6D.js → dist/chunks/chunk.IKXIOXNP.js} +1 -1
  203. package/{cdn/chunks/chunk.4OMMI4NC.js → dist/chunks/chunk.J5H3VO4T.js} +1 -1
  204. package/dist/chunks/{chunk.RP6DCD5M.js → chunk.KU2GHEQC.js} +42 -13
  205. package/dist/chunks/{chunk.N2DS7NLI.js → chunk.KZ3ISS6V.js} +38 -20
  206. package/dist/chunks/{chunk.XB7LBTTU.js → chunk.MBUQ6RGQ.js} +1 -1
  207. package/dist/chunks/{chunk.TNACYALO.js → chunk.NAR6P3PM.js} +1 -1
  208. package/dist/chunks/{chunk.VEURJQW5.js → chunk.NBTXGDYY.js} +1 -1
  209. package/dist/chunks/chunk.NU7T7O37.js +11 -0
  210. package/dist/chunks/{chunk.OUOWGBKV.js → chunk.NYK5LTIB.js} +1 -1
  211. package/dist/chunks/{chunk.UU46CLE7.js → chunk.O2VVO7UI.js} +11 -15
  212. package/dist/chunks/chunk.O7AXAEKY.js +23 -0
  213. package/dist/chunks/{chunk.C5OZDL3F.js → chunk.PBEAZMSE.js} +10 -11
  214. package/dist/chunks/chunk.QEMJLGM4.js +58 -0
  215. package/{cdn/chunks/chunk.7VBMSUOT.js → dist/chunks/chunk.QFDWDOGH.js} +1 -1
  216. package/dist/chunks/{chunk.T322FDKI.js → chunk.QK5OWFVO.js} +19 -81
  217. package/dist/chunks/{chunk.PFSWFOXD.js → chunk.R2NW6QOY.js} +1 -1
  218. package/dist/chunks/{chunk.OQE2USZJ.js → chunk.RWULTAWI.js} +1 -1
  219. package/dist/chunks/chunk.TRSW2E4E.js +223 -0
  220. package/dist/chunks/{chunk.7C4FMTCE.js → chunk.UPYPNGJF.js} +1 -1
  221. package/dist/chunks/chunk.UPZNWZOP.js +156 -0
  222. package/dist/chunks/chunk.VDU7JJBS.js +390 -0
  223. package/dist/chunks/{chunk.NYBJ252W.js → chunk.VN4FDFT7.js} +1 -1
  224. package/dist/chunks/{chunk.GBVXVADE.js → chunk.VUIXHR4Y.js} +5 -4
  225. package/dist/chunks/{chunk.BLNUBLUS.js → chunk.W7JRXR2Y.js} +5 -1
  226. package/dist/chunks/{chunk.ZK7QVWBI.js → chunk.Y6OL24QM.js} +1 -1
  227. package/{cdn/chunks/chunk.AG72D4AT.js → dist/chunks/chunk.YIQPXMOR.js} +1 -1
  228. package/dist/chunks/{chunk.EYUPYDT4.js → chunk.YOWSDNNI.js} +7 -7
  229. package/dist/chunks/chunk.ZKAF7B56.js +21 -0
  230. package/{cdn/chunks/chunk.CLFLLHS3.js → dist/chunks/chunk.ZLX3YIA5.js} +1 -1
  231. package/dist/components/browse-variables/browse-variables.component.d.ts +28 -0
  232. package/dist/components/browse-variables/browse-variables.component.js +11 -0
  233. package/dist/components/browse-variables/browse-variables.controller.d.ts +11 -0
  234. package/dist/components/browse-variables/browse-variables.controller.js +8 -0
  235. package/dist/components/browse-variables/browse-variables.d.ts +8 -0
  236. package/dist/components/browse-variables/browse-variables.js +12 -0
  237. package/dist/components/browse-variables/browse-variables.styles.d.ts +2 -0
  238. package/dist/components/browse-variables/browse-variables.styles.js +7 -0
  239. package/dist/components/browse-variables/browse-variables.types.d.ts +49 -0
  240. package/dist/components/browse-variables/browse-variables.types.js +0 -0
  241. package/dist/components/browse-variables/repositories/giovanni.repository.d.ts +7 -0
  242. package/dist/components/browse-variables/repositories/giovanni.repository.js +7 -0
  243. package/dist/components/button/button.component.d.ts +6 -4
  244. package/dist/components/button/button.component.js +6 -6
  245. package/dist/components/button/button.js +7 -7
  246. package/dist/components/button/button.styles.js +2 -2
  247. package/dist/components/chip/chip.component.js +4 -4
  248. package/dist/components/chip/chip.js +5 -5
  249. package/dist/components/chip/chip.styles.js +2 -2
  250. package/dist/components/combobox/combobox.component.js +5 -5
  251. package/dist/components/combobox/combobox.js +6 -6
  252. package/dist/components/combobox/combobox.styles.js +2 -2
  253. package/dist/components/combobox/lib.js +1 -1
  254. package/dist/components/combobox/type.js +1 -1
  255. package/dist/components/date-range-slider/date-range-slider.component.js +5 -5
  256. package/dist/components/date-range-slider/date-range-slider.js +6 -6
  257. package/dist/components/date-range-slider/date-range-slider.styles.js +2 -2
  258. package/dist/components/date-range-slider/noui-slider-utilities.js +1 -1
  259. package/dist/components/giovanni-search/giovanni-search.component.d.ts +69 -0
  260. package/dist/components/giovanni-search/giovanni-search.component.js +23 -0
  261. package/dist/components/giovanni-search/giovanni-search.controller.d.ts +11 -0
  262. package/dist/components/giovanni-search/giovanni-search.controller.js +7 -0
  263. package/dist/components/giovanni-search/giovanni-search.d.ts +8 -0
  264. package/dist/components/giovanni-search/giovanni-search.js +24 -0
  265. package/dist/components/giovanni-search/giovanni-search.styles.d.ts +2 -0
  266. package/dist/components/giovanni-search/giovanni-search.styles.js +7 -0
  267. package/dist/components/giovanni-search/giovanni-search.types.d.ts +4 -0
  268. package/dist/components/giovanni-search/giovanni-search.types.js +0 -0
  269. package/dist/components/giovanni-search/lib.d.ts +6 -0
  270. package/dist/components/giovanni-search/lib.js +13 -0
  271. package/dist/components/icon/icon.component.js +6 -6
  272. package/dist/components/icon/icon.js +7 -7
  273. package/dist/components/icon/icon.styles.js +1 -1
  274. package/dist/components/icon/library.default.js +1 -1
  275. package/dist/components/icon/library.heroicons.js +1 -1
  276. package/dist/components/icon/library.js +3 -3
  277. package/dist/components/loader/loader.component.d.ts +5 -10
  278. package/dist/components/loader/loader.component.js +4 -4
  279. package/dist/components/loader/loader.js +5 -5
  280. package/dist/components/loader/loader.styles.js +2 -2
  281. package/dist/components/map/leaflet-draw.styles.js +1 -1
  282. package/dist/components/map/leaflet-utils.js +2 -2
  283. package/dist/components/map/leaflet.styles.js +1 -1
  284. package/dist/components/map/map.component.js +6 -6
  285. package/dist/components/map/map.controller.js +1 -1
  286. package/dist/components/map/map.js +7 -7
  287. package/dist/components/map/map.styles.js +2 -2
  288. package/dist/components/plot/plot.component.d.ts +3 -12
  289. package/dist/components/plot/plot.component.js +5 -5
  290. package/dist/components/plot/plot.js +6 -6
  291. package/dist/components/plot/plot.styles.js +2 -2
  292. package/dist/components/plot/plot.types.d.ts +8 -0
  293. package/dist/components/plot/plot.types.js +0 -0
  294. package/dist/components/spatial-picker/spatial-picker.component.js +8 -8
  295. package/dist/components/spatial-picker/spatial-picker.js +9 -9
  296. package/dist/components/spatial-picker/spatial-picker.styles.js +2 -2
  297. package/dist/components/time-series/time-series.component.d.ts +24 -1
  298. package/dist/components/time-series/time-series.component.js +32 -32
  299. package/dist/components/time-series/time-series.controller.d.ts +1 -1
  300. package/dist/components/time-series/time-series.controller.js +2 -2
  301. package/dist/components/time-series/time-series.js +33 -33
  302. package/dist/components/time-series/time-series.styles.js +2 -2
  303. package/dist/components/time-series/time-series.types.d.ts +1 -0
  304. package/dist/components/variable-combobox/lib.d.ts +1 -1
  305. package/dist/components/variable-combobox/lib.js +2 -2
  306. package/dist/components/variable-combobox/variable-combobox.component.d.ts +1 -1
  307. package/dist/components/variable-combobox/variable-combobox.component.js +15 -15
  308. package/dist/components/variable-combobox/variable-combobox.controller.d.ts +1 -18
  309. package/dist/components/variable-combobox/variable-combobox.controller.js +3 -3
  310. package/dist/components/variable-combobox/variable-combobox.js +16 -16
  311. package/dist/components/variable-combobox/variable-combobox.styles.js +2 -2
  312. package/dist/components/variable-combobox/variable-combobox.types.d.ts +18 -0
  313. package/dist/components/variable-combobox/variable-combobox.types.js +0 -0
  314. package/dist/custom-elements.json +1346 -773
  315. package/dist/events/events.d.ts +4 -2
  316. package/dist/events/terra-combobox-change.d.ts +5 -2
  317. package/dist/events/terra-giovanni-search-change.d.ts +6 -0
  318. package/dist/events/terra-search.d.ts +6 -0
  319. package/dist/react/browse-variables/index.d.ts +11 -0
  320. package/dist/react/browse-variables/index.js +12 -0
  321. package/dist/react/button/index.js +7 -7
  322. package/dist/react/chip/index.js +5 -5
  323. package/dist/react/combobox/index.js +6 -6
  324. package/dist/react/date-range-slider/index.js +6 -6
  325. package/dist/react/giovanni-search/index.d.ts +29 -0
  326. package/dist/react/giovanni-search/index.js +24 -0
  327. package/dist/react/icon/index.js +7 -7
  328. package/dist/react/index.d.ts +4 -2
  329. package/dist/react/index.js +70 -54
  330. package/dist/react/loader/index.js +5 -5
  331. package/dist/react/map/index.js +7 -7
  332. package/dist/react/plot/index.js +6 -6
  333. package/dist/react/spatial-picker/index.js +9 -9
  334. package/dist/react/time-series/index.js +33 -33
  335. package/dist/react/variable-combobox/index.js +16 -16
  336. package/dist/terra-ui-components-autoloader.js +1 -1
  337. package/dist/terra-ui-components.d.ts +2 -0
  338. package/dist/terra-ui-components.js +76 -60
  339. package/dist/themes/horizon-dark.css +33 -0
  340. package/dist/themes/horizon-dark.styles.d.ts +2 -0
  341. package/dist/themes/horizon-dark.styles.js +37 -0
  342. package/dist/themes/horizon.css +114 -333
  343. package/dist/themes/horizon.styles.js +113 -330
  344. package/dist/types/vue/index.d.ts +170 -95
  345. package/dist/utilities/animation-registry.js +1 -1
  346. package/dist/utilities/animation.js +1 -1
  347. package/dist/utilities/base-path.js +1 -1
  348. package/dist/utilities/date.js +1 -1
  349. package/dist/utilities/form.js +3 -3
  350. package/dist/utilities/icon-library.js +3 -3
  351. package/dist/vscode.html-custom-data.json +184 -121
  352. package/dist/web-types.json +345 -223
  353. package/package.json +4 -3
  354. package/cdn/chunks/chunk.FDOXEWGR.js +0 -96
  355. package/cdn/chunks/chunk.L7XOR6JZ.js +0 -83
  356. package/cdn/chunks/chunk.SBDX4GGT.js +0 -66
  357. package/cdn/chunks/chunk.THBBULDA.js +0 -108
  358. package/cdn/chunks/chunk.UOFDZJYP.js +0 -116
  359. package/dist/chunks/chunk.GPUFE4ML.js +0 -63
  360. package/dist/chunks/chunk.IBEKZVOY.js +0 -80
  361. package/dist/chunks/chunk.RFKXBNLY.js +0 -102
  362. package/dist/chunks/chunk.S3WKONT5.js +0 -274
  363. package/dist/chunks/chunk.XW5YT7AB.js +0 -89
  364. package/dist/chunks/chunk.ZCNMYQP2.js +0 -113
  365. package/{dist/chunks/chunk.MDRUDBRH.js → cdn/chunks/chunk.7DOMZGX7.js} +3 -3
  366. package/cdn/chunks/{chunk.7R2BPQLY.js → chunk.ABHIFWYD.js} +3 -3
  367. package/cdn/chunks/{chunk.LQCRC4E2.js → chunk.SBAGQQ5L.js} +3 -3
  368. package/{cdn/chunks/chunk.MDRUDBRH.js → dist/chunks/chunk.7DOMZGX7.js} +3 -3
@@ -0,0 +1,569 @@
1
+ import {
2
+ TerraVariableCombobox
3
+ } from "./chunk.76XK3OGD.js";
4
+ import {
5
+ spatial_picker_default
6
+ } from "./chunk.J5H3VO4T.js";
7
+ import {
8
+ TimeSeriesController
9
+ } from "./chunk.EP3UVTII.js";
10
+ import {
11
+ time_series_styles_default
12
+ } from "./chunk.GHDRVO5M.js";
13
+ import {
14
+ TerraPlot
15
+ } from "./chunk.4VZN3W62.js";
16
+ import {
17
+ TerraLoader
18
+ } from "./chunk.CETYO6UP.js";
19
+ import {
20
+ TerraIcon
21
+ } from "./chunk.YOWSDNNI.js";
22
+ import {
23
+ TerraButton
24
+ } from "./chunk.KU2GHEQC.js";
25
+ import {
26
+ TerraDateRangeSlider
27
+ } from "./chunk.VUIXHR4Y.js";
28
+ import {
29
+ watch
30
+ } from "./chunk.Y6OL24QM.js";
31
+ import {
32
+ TerraElement,
33
+ component_styles_default
34
+ } from "./chunk.VDU7JJBS.js";
35
+ import {
36
+ __decorateClass,
37
+ __privateAdd,
38
+ __privateGet,
39
+ __privateMethod
40
+ } from "./chunk.GKBF7QGR.js";
41
+
42
+ // src/components/time-series/time-series.component.ts
43
+ import { TaskStatus } from "@lit/task";
44
+ import dayjs from "dayjs";
45
+ import timezone from "dayjs/plugin/timezone.js";
46
+ import utc from "dayjs/plugin/utc.js";
47
+ import { html } from "lit";
48
+ import { property, query, state } from "lit/decorators.js";
49
+ import { cache } from "lit/directives/cache.js";
50
+ import { downloadImage } from "plotly.js-dist-min";
51
+ dayjs.extend(utc);
52
+ dayjs.extend(timezone);
53
+ dayjs.tz.setDefault("Etc/GMT");
54
+ var _timeSeriesController, _adaptPropertyToController, adaptPropertyToController_fn, _maybeSliceTimeForStartEnd, maybeSliceTimeForStartEnd_fn, _handleVariableChange, handleVariableChange_fn, _handleMapChange, handleMapChange_fn, _handleDateRangeSliderChangeEvent, handleDateRangeSliderChangeEvent_fn, _abortDataLoad, abortDataLoad_fn, _downloadCSV, downloadCSV_fn, _convertToCSV, convertToCSV_fn, _downloadPNG, downloadPNG_fn, _handleActiveMenuItem, handleActiveMenuItem_fn;
55
+ var TerraTimeSeries = class extends TerraElement {
56
+ constructor() {
57
+ super(...arguments);
58
+ __privateAdd(this, _adaptPropertyToController);
59
+ /**
60
+ * The Collection Beginning DateTime changes when a new collection is selected.
61
+ * We want to auto-select a reasonable slice of time and send a request to the data API, the
62
+ * same as if the user moved the time slider.
63
+ * However, if the component has the startDate or endDate set externally, don't override that;
64
+ * this is an init-only action.
65
+ */
66
+ __privateAdd(this, _maybeSliceTimeForStartEnd);
67
+ __privateAdd(this, _handleVariableChange);
68
+ __privateAdd(this, _handleMapChange);
69
+ /**
70
+ * anytime the date range slider changes, update the start and end date
71
+ */
72
+ __privateAdd(this, _handleDateRangeSliderChangeEvent);
73
+ /**
74
+ * aborts the underlying data loading task, which cancels the network request
75
+ */
76
+ __privateAdd(this, _abortDataLoad);
77
+ /**
78
+ * TODO:
79
+ * [x] re-enable downloads here
80
+ * [x] get live data from Giovanni
81
+ * [x] display required information in information menuitem
82
+ * [x] ask about adding help links
83
+ * [ ] see what can be simplified from downloadCSV
84
+ */
85
+ __privateAdd(this, _downloadCSV);
86
+ __privateAdd(this, _convertToCSV);
87
+ __privateAdd(this, _downloadPNG);
88
+ __privateAdd(this, _handleActiveMenuItem);
89
+ __privateAdd(this, _timeSeriesController, new TimeSeriesController(this));
90
+ this.activeMenuItem = null;
91
+ }
92
+ handleCollectionUpdate(_oldValue, newValue) {
93
+ __privateMethod(this, _adaptPropertyToController, adaptPropertyToController_fn).call(this, "collection", newValue);
94
+ }
95
+ handlevariableUpdate(_oldValue, newValue) {
96
+ __privateMethod(this, _adaptPropertyToController, adaptPropertyToController_fn).call(this, "variable", newValue);
97
+ }
98
+ handleStartDateUpdate(_oldValue, newValue) {
99
+ __privateMethod(this, _adaptPropertyToController, adaptPropertyToController_fn).call(this, "startDate", newValue);
100
+ }
101
+ handleEndDateUpdate(_oldValue, newValue) {
102
+ __privateMethod(this, _adaptPropertyToController, adaptPropertyToController_fn).call(this, "endDate", newValue);
103
+ }
104
+ handleLocationUpdate(_oldValue, newValue) {
105
+ __privateMethod(this, _adaptPropertyToController, adaptPropertyToController_fn).call(this, "location", newValue);
106
+ }
107
+ handleFocus(_oldValue, newValue) {
108
+ if (newValue === null) {
109
+ return;
110
+ }
111
+ this.menu.focus();
112
+ }
113
+ render() {
114
+ var _a;
115
+ return html`
116
+ <terra-variable-combobox
117
+ exportparts="base:variable-combobox__base, combobox:variable-combobox__combobox, button:variable-combobox__button, listbox:variable-combobox__listbox"
118
+ value=${`${this.collection}_${this.variable}`}
119
+ @terra-combobox-change="${__privateMethod(this, _handleVariableChange, handleVariableChange_fn)}"
120
+ ></terra-variable-combobox>
121
+
122
+ <terra-spatial-picker
123
+ initial-value=${this.location}
124
+ exportparts="map:spatial-picker__map, leaflet-bbox:spatial-picker__leaflet-bbox, leaflet-point:spatial-picker__leaflet-point"
125
+ label="Select Point"
126
+ @terra-map-change=${__privateMethod(this, _handleMapChange, handleMapChange_fn)}
127
+ ></terra-spatial-picker>
128
+
129
+ <div class="plot-container">
130
+ ${cache(
131
+ this.variable ? html`
132
+ <header>
133
+ <h2 class="title">
134
+ ${this.variableLongName}
135
+ </h2>
136
+
137
+ <div class="toggles">
138
+ <terra-button
139
+ circle
140
+ outline
141
+ aria-expanded=${this.activeMenuItem === "information"}
142
+ aria-controls="menu"
143
+ aria-haspopup="true"
144
+ class="toggle"
145
+ @click=${__privateMethod(this, _handleActiveMenuItem, handleActiveMenuItem_fn)}
146
+ data-menu-name="information"
147
+ >
148
+ <span class="sr-only">Information for ${this.variableLongName}</span>
149
+
150
+ <terra-icon
151
+ name="outline-information-circle"
152
+ library="heroicons"
153
+ font-size="1.5em"
154
+ ></terra-icon>
155
+ </terra-button>
156
+
157
+ <terra-button
158
+ circle
159
+ outline
160
+ aria-expanded=${this.activeMenuItem === "download"}
161
+ aria-controls="menu"
162
+ aria-haspopup="true"
163
+ class="toggle"
164
+ @click=${__privateMethod(this, _handleActiveMenuItem, handleActiveMenuItem_fn)}
165
+ data-menu-name="download"
166
+ >
167
+ <span class="sr-only">Download options for ${this.variableLongName}</span>
168
+
169
+ <terra-icon
170
+ name="outline-arrow-down-tray"
171
+ library="heroicons"
172
+ font-size="1.5em"
173
+ ></terra-icon>
174
+ </terra-button>
175
+
176
+ <terra-button
177
+ circle
178
+ outline
179
+ aria-expanded=${this.activeMenuItem === "help"}
180
+ aria-controls="menu"
181
+ aria-haspopup="true"
182
+ class="toggle"
183
+ @click=${__privateMethod(this, _handleActiveMenuItem, handleActiveMenuItem_fn)}
184
+ data-menu-name="help"
185
+ >
186
+ <span class="sr-only">Help link for ${this.variableLongName}</span>
187
+
188
+ <terra-icon
189
+ name="outline-question-mark-circle"
190
+ library="heroicons"
191
+ font-size="1.5em"
192
+ ></terra-icon>
193
+ </terra-button>
194
+ </div>
195
+ </header>
196
+
197
+ <menu
198
+ role="menu"
199
+ id="menu"
200
+ data-expanded=${this.activeMenuItem !== null}
201
+ tabindex="-1"
202
+ >
203
+ <li
204
+ role="menuitem"
205
+ ?hidden=${this.activeMenuItem !== "information"}
206
+ >
207
+ <h3 class="sr-only">Information</h3>
208
+
209
+ <dl>
210
+ <dt>Variable Longname</dt>
211
+ <dd>${this.variableLongName}</dd>
212
+
213
+ <dt>Variable Shortname</dt>
214
+ <dd>${this.variable}</dd>
215
+
216
+ <dt>Units</dt>
217
+ <dd>
218
+ <code>${this.units}</code>
219
+ </dd>
220
+
221
+ <dt>Dataset Information</dt>
222
+ <dd>
223
+ <a
224
+ href=${this.datasetLandingPage}
225
+ rel="noopener noreffer"
226
+ target="_blank"
227
+ >Dataset Summary
228
+
229
+ <terra-icon
230
+ name="outline-arrow-top-right-on-square"
231
+ library="heroicons"
232
+ ></terra-icon>
233
+ </a>
234
+ </dd>
235
+
236
+ <dt>Variable Information</dt>
237
+ <dd>
238
+ <a
239
+ href=${this.variableLandingPage}
240
+ rel="noopener noreffer"
241
+ target="_blank"
242
+ >Variable Glossary
243
+
244
+ <terra-icon
245
+ name="outline-arrow-top-right-on-square"
246
+ library="heroicons"
247
+ ></terra-icon>
248
+ </a>
249
+ </dd>
250
+ </dl>
251
+ </li>
252
+
253
+ <li
254
+ role="menuitem"
255
+ ?hidden=${this.activeMenuItem !== "download"}
256
+ >
257
+ <h3 class="sr-only">Download Options</h3>
258
+
259
+ <p>
260
+ This plot can be downloaded as either a
261
+ <abbr title="Portable Network Graphic"
262
+ >PNG</abbr
263
+ >
264
+ image or
265
+ <abbr title="Comma-Separated Value"
266
+ >CSV</abbr
267
+ >
268
+ data.
269
+ </p>
270
+
271
+ <terra-button
272
+ outline
273
+ variant="default"
274
+ @click=${__privateMethod(this, _downloadPNG, downloadPNG_fn)}
275
+ >
276
+ <span class="sr-only"
277
+ >Download Plot Data as
278
+ </span>
279
+ PNG
280
+ <terra-icon
281
+ slot="prefix"
282
+ name="outline-photo"
283
+ library="heroicons"
284
+ font-size="1.5em"
285
+ ></terra-icon>
286
+ </terra-button>
287
+
288
+ <terra-button
289
+ outline
290
+ variant="default"
291
+ @click=${__privateMethod(this, _downloadCSV, downloadCSV_fn)}
292
+ >
293
+ <span class="sr-only"
294
+ >Download Plot Data as
295
+ </span>
296
+ CSV
297
+ <terra-icon
298
+ slot="prefix"
299
+ name="outline-document-chart-bar"
300
+ library="heroicons"
301
+ font-size="1.5em"
302
+ ></terra-icon>
303
+ </terra-button>
304
+ </li>
305
+
306
+ <li
307
+ role="menuitem"
308
+ ?hidden=${this.activeMenuItem !== "help"}
309
+ >
310
+ <h3 class="sr-only">Help Links</h3>
311
+ <ul>
312
+ <li>
313
+ <a href="https://forum.earthdata.nasa.gov/viewforum.php?f=7&DAAC=3" rel"noopener noreffer">Earthdata User Forum
314
+ <terra-icon
315
+ name="outline-arrow-top-right-on-square"
316
+ library="heroicons"
317
+ ></terra-icon>
318
+ </a>
319
+ </li>
320
+ </ul>
321
+ </li>
322
+ </menu>
323
+ ` : html`<div class="spacer"></div>`
324
+ )}
325
+
326
+ <terra-plot
327
+ exportparts="base:plot__base, plot-title:plot__title"
328
+ .data=${(_a = __privateGet(this, _timeSeriesController).lastTaskValue) != null ? _a : __privateGet(this, _timeSeriesController).emptyPlotData}
329
+ .layout="${{
330
+ xaxis: {
331
+ title: "Time",
332
+ showgrid: false,
333
+ zeroline: false
334
+ },
335
+ yaxis: {
336
+ title: this.variableLongName && this.units ? `${this.variableLongName}, ${this.units}` : null,
337
+ showline: false
338
+ },
339
+ title: {
340
+ text: this.collection && this.location ? `${this.collection} @ ${this.location}` : null
341
+ }
342
+ }}"
343
+ .config=${{
344
+ displayModeBar: true,
345
+ displaylogo: false,
346
+ modeBarButtonsToRemove: ["toImage", "zoom2d", "resetScale2d"],
347
+ responsive: true
348
+ }}
349
+ ></terra-plot>
350
+ </div>
351
+
352
+ <terra-date-range-slider
353
+ exportparts="slider:date-range-slider__slider"
354
+ min-date=${this.collectionBeginningDateTime}
355
+ max-date=${this.collectionEndingDateTime}
356
+ start-date=${this.startDate}
357
+ end-date=${this.endDate}
358
+ @terra-date-range-change="${__privateMethod(this, _handleDateRangeSliderChangeEvent, handleDateRangeSliderChangeEvent_fn)}"
359
+ ></terra-date-range-slider>
360
+
361
+ <dialog
362
+ ?open=${__privateGet(this, _timeSeriesController).task.status === TaskStatus.PENDING}
363
+ >
364
+ <terra-loader indeterminate></terra-loader>
365
+ <p>Plotting ${this.collection} ${this.variable}&hellip;</p>
366
+ <terra-button @click=${__privateMethod(this, _abortDataLoad, abortDataLoad_fn)}>Cancel</terra-button>
367
+ </dialog>
368
+ `;
369
+ }
370
+ };
371
+ _timeSeriesController = new WeakMap();
372
+ _adaptPropertyToController = new WeakSet();
373
+ adaptPropertyToController_fn = function(property2, value) {
374
+ switch (property2) {
375
+ case "startDate":
376
+ case "endDate":
377
+ __privateGet(this, _timeSeriesController)[property2] = dayjs.utc(value).toDate();
378
+ break;
379
+ case "location":
380
+ const [lat, lon] = value.split(",");
381
+ __privateGet(this, _timeSeriesController)[property2] = `${lon},%20${lat}`;
382
+ break;
383
+ default:
384
+ __privateGet(this, _timeSeriesController)[property2] = value;
385
+ break;
386
+ }
387
+ __privateGet(this, _timeSeriesController).task.run();
388
+ };
389
+ _maybeSliceTimeForStartEnd = new WeakSet();
390
+ maybeSliceTimeForStartEnd_fn = function() {
391
+ const hasExternallySetDates = !!this.startDate || !!this.endDate;
392
+ const hasBothDatesFromCollection = !!this.collectionBeginningDateTime && !!this.collectionEndingDateTime;
393
+ if (hasExternallySetDates || !hasBothDatesFromCollection) {
394
+ return;
395
+ }
396
+ const diff = Math.abs(
397
+ new Date(this.collectionEndingDateTime).getTime() - new Date(this.collectionBeginningDateTime).getTime()
398
+ );
399
+ const threeQuarterRange = Math.floor(diff * 0.75);
400
+ const startDate = Math.abs(
401
+ new Date(this.collectionBeginningDateTime).getTime() + threeQuarterRange
402
+ );
403
+ this.startDate = dayjs.utc(startDate).format();
404
+ this.endDate = dayjs.utc(this.collectionEndingDateTime).format();
405
+ };
406
+ _handleVariableChange = new WeakSet();
407
+ handleVariableChange_fn = function(event) {
408
+ this.collectionBeginningDateTime = dayjs.utc().format(event.detail.collectionBeginningDateTime);
409
+ this.collectionEndingDateTime = dayjs.utc().format(event.detail.collectionEndingDateTime);
410
+ __privateMethod(this, _maybeSliceTimeForStartEnd, maybeSliceTimeForStartEnd_fn).call(this);
411
+ this.collection = `${event.detail.collectionShortName}_${event.detail.collectionVersion}`;
412
+ this.datasetLandingPage = event.detail.datasetLandingPage;
413
+ this.units = event.detail.units;
414
+ this.variable = event.detail.name;
415
+ this.variableLandingPage = event.detail.variableLandingPage;
416
+ this.variableLongName = event.detail.longName;
417
+ };
418
+ _handleMapChange = new WeakSet();
419
+ handleMapChange_fn = function(event) {
420
+ const type = event.detail.geoJson.geometry.type;
421
+ if (type === "Point") {
422
+ const { latLng } = event.detail;
423
+ this.location = `${latLng.lat.toFixed(4)},${latLng.lng.toFixed(4)}`;
424
+ }
425
+ };
426
+ _handleDateRangeSliderChangeEvent = new WeakSet();
427
+ handleDateRangeSliderChangeEvent_fn = function(event) {
428
+ this.startDate = event.detail.startDate;
429
+ this.endDate = event.detail.endDate;
430
+ };
431
+ _abortDataLoad = new WeakSet();
432
+ abortDataLoad_fn = function() {
433
+ var _a;
434
+ (_a = __privateGet(this, _timeSeriesController).task) == null ? void 0 : _a.abort();
435
+ };
436
+ _downloadCSV = new WeakSet();
437
+ downloadCSV_fn = function(_event) {
438
+ var _a;
439
+ const controllerData = (_a = __privateGet(this, _timeSeriesController).lastTaskValue) != null ? _a : __privateGet(this, _timeSeriesController).emptyPlotData;
440
+ let plotData = [];
441
+ controllerData.forEach((plot, index) => {
442
+ plotData[index] = plot;
443
+ });
444
+ const csvData = plotData.map((trace) => {
445
+ return trace.x.map((x, i) => {
446
+ return {
447
+ x,
448
+ y: trace.y[i]
449
+ };
450
+ });
451
+ }).flat();
452
+ const csv = __privateMethod(this, _convertToCSV, convertToCSV_fn).call(this, csvData);
453
+ csv;
454
+ };
455
+ _convertToCSV = new WeakSet();
456
+ convertToCSV_fn = function(data) {
457
+ const header = Object.keys(data[0]).join(",") + "\n";
458
+ const rows = data.map((obj) => Object.values(obj).join(",")).join("\n");
459
+ return header + rows;
460
+ };
461
+ _downloadPNG = new WeakSet();
462
+ downloadPNG_fn = function(_event) {
463
+ var _a;
464
+ downloadImage((_a = this.plot) == null ? void 0 : _a.base, {
465
+ filename: `${this.collection}_${this.variable}`,
466
+ format: "png",
467
+ width: 1920,
468
+ height: 1080
469
+ });
470
+ };
471
+ _handleActiveMenuItem = new WeakSet();
472
+ handleActiveMenuItem_fn = function(event) {
473
+ const button = event.currentTarget;
474
+ const menuName = button.dataset.menuName;
475
+ this.activeMenuItem = menuName === this.activeMenuItem ? null : menuName;
476
+ };
477
+ TerraTimeSeries.styles = [component_styles_default, time_series_styles_default];
478
+ TerraTimeSeries.dependencies = {
479
+ "terra-plot": TerraPlot,
480
+ "terra-date-range-slider": TerraDateRangeSlider,
481
+ "terra-spatial-picker": spatial_picker_default,
482
+ "terra-variable-combobox": TerraVariableCombobox,
483
+ "terra-loader": TerraLoader,
484
+ "terra-icon": TerraIcon,
485
+ "terra-button": TerraButton
486
+ };
487
+ __decorateClass([
488
+ property({ reflect: true })
489
+ ], TerraTimeSeries.prototype, "collection", 2);
490
+ __decorateClass([
491
+ property({ reflect: true })
492
+ ], TerraTimeSeries.prototype, "datasetLandingPage", 2);
493
+ __decorateClass([
494
+ property({ reflect: true })
495
+ ], TerraTimeSeries.prototype, "variable", 2);
496
+ __decorateClass([
497
+ property({ reflect: true })
498
+ ], TerraTimeSeries.prototype, "variableLandingPage", 2);
499
+ __decorateClass([
500
+ property({ reflect: true })
501
+ ], TerraTimeSeries.prototype, "variableLongName", 2);
502
+ __decorateClass([
503
+ property({
504
+ attribute: "start-date",
505
+ reflect: true
506
+ })
507
+ ], TerraTimeSeries.prototype, "startDate", 2);
508
+ __decorateClass([
509
+ property({
510
+ attribute: "end-date",
511
+ reflect: true
512
+ })
513
+ ], TerraTimeSeries.prototype, "endDate", 2);
514
+ __decorateClass([
515
+ property({
516
+ reflect: true
517
+ })
518
+ ], TerraTimeSeries.prototype, "location", 2);
519
+ __decorateClass([
520
+ property({
521
+ reflect: true
522
+ })
523
+ ], TerraTimeSeries.prototype, "units", 2);
524
+ __decorateClass([
525
+ query("terra-date-range-slider")
526
+ ], TerraTimeSeries.prototype, "dateRangeSlider", 2);
527
+ __decorateClass([
528
+ query("terra-plot")
529
+ ], TerraTimeSeries.prototype, "plot", 2);
530
+ __decorateClass([
531
+ query("terra-spatial-picker")
532
+ ], TerraTimeSeries.prototype, "spatialPicker", 2);
533
+ __decorateClass([
534
+ query("terra-variable-combobo")
535
+ ], TerraTimeSeries.prototype, "variableCombobox", 2);
536
+ __decorateClass([
537
+ query("#menu")
538
+ ], TerraTimeSeries.prototype, "menu", 2);
539
+ __decorateClass([
540
+ state()
541
+ ], TerraTimeSeries.prototype, "collectionBeginningDateTime", 2);
542
+ __decorateClass([
543
+ state()
544
+ ], TerraTimeSeries.prototype, "collectionEndingDateTime", 2);
545
+ __decorateClass([
546
+ state()
547
+ ], TerraTimeSeries.prototype, "activeMenuItem", 2);
548
+ __decorateClass([
549
+ watch("collection")
550
+ ], TerraTimeSeries.prototype, "handleCollectionUpdate", 1);
551
+ __decorateClass([
552
+ watch("variable")
553
+ ], TerraTimeSeries.prototype, "handlevariableUpdate", 1);
554
+ __decorateClass([
555
+ watch("startDate")
556
+ ], TerraTimeSeries.prototype, "handleStartDateUpdate", 1);
557
+ __decorateClass([
558
+ watch("endDate")
559
+ ], TerraTimeSeries.prototype, "handleEndDateUpdate", 1);
560
+ __decorateClass([
561
+ watch("location")
562
+ ], TerraTimeSeries.prototype, "handleLocationUpdate", 1);
563
+ __decorateClass([
564
+ watch("activeMenuItem")
565
+ ], TerraTimeSeries.prototype, "handleFocus", 1);
566
+
567
+ export {
568
+ TerraTimeSeries
569
+ };
@@ -0,0 +1,25 @@
1
+ import {
2
+ TerraGiovanniSearch
3
+ } from "./chunk.3WWANPMA.js";
4
+
5
+ // src/react/giovanni-search/index.ts
6
+ import * as React from "react";
7
+ import { createComponent } from "@lit/react";
8
+ import "@lit/react";
9
+ var tagName = "terra-giovanni-search";
10
+ TerraGiovanniSearch.define("terra-giovanni-search");
11
+ var reactWrapper = createComponent({
12
+ tagName,
13
+ elementClass: TerraGiovanniSearch,
14
+ react: React,
15
+ events: {
16
+ onTerraGiovanniSearchChange: "terra-giovanni-search-change",
17
+ onTerraSearch: "terra-search"
18
+ },
19
+ displayName: "TerraGiovanniSearch"
20
+ });
21
+ var giovanni_search_default = reactWrapper;
22
+
23
+ export {
24
+ giovanni_search_default
25
+ };