@nasa-terra/components 0.0.64 → 0.0.66

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 (238) hide show
  1. package/cdn/chunks/{chunk.RLZRFF3I.js → chunk.2A2HFMGZ.js} +1 -1
  2. package/cdn/chunks/{chunk.LSITBA74.js → chunk.2QANHSCY.js} +1 -1
  3. package/cdn/chunks/{chunk.IVH6LMFP.js → chunk.2VDC2CLR.js} +1 -1
  4. package/cdn/chunks/{chunk.IGWX4N7H.js → chunk.3MIPIE6V.js} +1 -1
  5. package/cdn/chunks/{chunk.R5KSJUJS.js → chunk.5EPVHMFA.js} +1 -1
  6. package/cdn/chunks/{chunk.K5KGOR5O.js → chunk.5HS2P4QF.js} +1 -1
  7. package/cdn/chunks/{chunk.QBCKG623.js → chunk.5JKUUXXD.js} +1 -1
  8. package/cdn/chunks/{chunk.EJSPSGLJ.js → chunk.5JLTH2LZ.js} +26 -1
  9. package/cdn/chunks/{chunk.RKI4MNB2.js → chunk.5QLXSATY.js} +13 -13
  10. package/cdn/chunks/{chunk.2UXI7L3Z.js → chunk.6ZUOFZAK.js} +1 -1
  11. package/cdn/chunks/{chunk.R7LPV4MK.js → chunk.76RNZX2A.js} +1 -1
  12. package/cdn/chunks/{chunk.ZQQJXV5V.js → chunk.7IQH7BQC.js} +1 -1
  13. package/cdn/chunks/{chunk.7CI746RD.js → chunk.AOJTBQKP.js} +1 -1
  14. package/cdn/chunks/{chunk.BOZ7KL3G.js → chunk.BI76W67M.js} +1 -1
  15. package/cdn/chunks/{chunk.ORTTHTRR.js → chunk.BOGE65ZY.js} +1 -1
  16. package/cdn/chunks/{chunk.4IW2ACWY.js → chunk.C7NEKS3B.js} +2 -2
  17. package/cdn/chunks/{chunk.2IQ72HC2.js → chunk.CQUNIMB6.js} +1 -1
  18. package/cdn/chunks/{chunk.JFEIADEF.js → chunk.DV54QIG7.js} +2 -2
  19. package/cdn/chunks/{chunk.WZ6P7TO4.js → chunk.DYOCIII6.js} +4 -4
  20. package/cdn/chunks/{chunk.QD6G5X25.js → chunk.E7LVY6QB.js} +1 -1
  21. package/cdn/chunks/{chunk.OAXQ6WW5.js → chunk.EXIJCLV5.js} +1 -1
  22. package/cdn/chunks/{chunk.JJMS4YQI.js → chunk.FHFFLCE4.js} +7 -7
  23. package/cdn/chunks/{chunk.LRZRZOOA.js → chunk.FP5FRSMY.js} +5 -5
  24. package/cdn/chunks/{chunk.XOXD2WOT.js → chunk.FRSCLRYD.js} +1 -1
  25. package/cdn/chunks/{chunk.II36YEIQ.js → chunk.FUKHJNAX.js} +9 -6
  26. package/cdn/chunks/{chunk.755FQY3M.js → chunk.H6F3VHB2.js} +12 -12
  27. package/cdn/chunks/{chunk.JLDKV2NB.js → chunk.HZHS4RMI.js} +1 -1
  28. package/cdn/chunks/{chunk.JSIXNCNG.js → chunk.JDQ6TQCQ.js} +19 -14
  29. package/cdn/chunks/{chunk.6YDRYXMY.js → chunk.JIBQZDEG.js} +1 -1
  30. package/cdn/chunks/{chunk.JQICLV3P.js → chunk.K3JEGUHG.js} +3 -3
  31. package/cdn/chunks/{chunk.TTKA3KTH.js → chunk.M7WGJM54.js} +1 -1
  32. package/cdn/chunks/{chunk.U5556MHN.js → chunk.MOVW5G4G.js} +6 -6
  33. package/cdn/chunks/{chunk.ZH356JFJ.js → chunk.N2TTTIPA.js} +12 -12
  34. package/cdn/chunks/{chunk.CX2OWDSZ.js → chunk.N5GAZEUH.js} +1 -1
  35. package/cdn/chunks/{chunk.KX4K43F2.js → chunk.NC5TCHFE.js} +2 -2
  36. package/cdn/chunks/{chunk.JE2LZVOP.js → chunk.OC666EPD.js} +1 -1
  37. package/cdn/chunks/{chunk.Y6ERTCCJ.js → chunk.PDR3XIUD.js} +6 -0
  38. package/cdn/chunks/{chunk.CZ5CHJEV.js → chunk.QB7GRCXW.js} +1 -1
  39. package/cdn/chunks/{chunk.DWB4WJKI.js → chunk.QJ4KM4TA.js} +1 -1
  40. package/cdn/chunks/{chunk.FYCYWJW7.js → chunk.QVZIEWRW.js} +1 -1
  41. package/cdn/chunks/{chunk.CH7CM4WG.js → chunk.R4TNI2PU.js} +3 -3
  42. package/cdn/chunks/{chunk.W7KGG72U.js → chunk.SIQLNOLM.js} +1 -1
  43. package/cdn/chunks/{chunk.OOJ6KQXC.js → chunk.SUU6GE6N.js} +1 -1
  44. package/cdn/chunks/{chunk.AEDS2IVC.js → chunk.T27OOS5L.js} +1 -1
  45. package/cdn/chunks/{chunk.XQ7X7Y6Z.js → chunk.T2KAO3UD.js} +1 -1
  46. package/cdn/chunks/{chunk.V32IK76Z.js → chunk.T37LTQ4C.js} +14 -9
  47. package/cdn/chunks/{chunk.77BTAFB3.js → chunk.TAW4DCZW.js} +1 -1
  48. package/cdn/chunks/{chunk.NYOIWW7M.js → chunk.TIANXDJM.js} +7 -7
  49. package/cdn/chunks/{chunk.ZPQV5GSR.js → chunk.VON4E7FJ.js} +1 -1
  50. package/cdn/chunks/{chunk.4IPMV6FL.js → chunk.WN54FAZ2.js} +1 -1
  51. package/cdn/chunks/{chunk.A3W72BHN.js → chunk.YQK5E5T2.js} +1 -1
  52. package/cdn/chunks/{chunk.XSJ76IQS.js → chunk.ZDCD6475.js} +1 -1
  53. package/cdn/chunks/{chunk.WTOBFIYB.js → chunk.ZVC7SBSS.js} +31 -7
  54. package/cdn/components/accordion/accordion.component.js +3 -3
  55. package/cdn/components/accordion/accordion.js +4 -4
  56. package/cdn/components/alert/alert.component.js +2 -2
  57. package/cdn/components/alert/alert.js +3 -3
  58. package/cdn/components/browse-variables/browse-variables.component.d.ts +1 -0
  59. package/cdn/components/browse-variables/browse-variables.component.js +11 -11
  60. package/cdn/components/browse-variables/browse-variables.controller.js +2 -2
  61. package/cdn/components/browse-variables/browse-variables.js +12 -12
  62. package/cdn/components/button/button.component.js +2 -2
  63. package/cdn/components/button/button.js +3 -3
  64. package/cdn/components/chip/chip.component.js +2 -2
  65. package/cdn/components/chip/chip.js +3 -3
  66. package/cdn/components/combobox/combobox.component.js +4 -4
  67. package/cdn/components/combobox/combobox.js +5 -5
  68. package/cdn/components/data-rods/data-rods.component.js +26 -26
  69. package/cdn/components/data-rods/data-rods.js +27 -27
  70. package/cdn/components/data-subsetter/data-subsetter.component.js +21 -21
  71. package/cdn/components/data-subsetter/data-subsetter.controller.js +2 -2
  72. package/cdn/components/data-subsetter/data-subsetter.js +22 -22
  73. package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +25 -25
  74. package/cdn/components/data-subsetter-history/data-subsetter-history.js +26 -26
  75. package/cdn/components/date-picker/date-picker.component.js +3 -3
  76. package/cdn/components/date-picker/date-picker.js +4 -4
  77. package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
  78. package/cdn/components/date-range-slider/date-range-slider.js +3 -3
  79. package/cdn/components/dialog/dialog.component.js +2 -2
  80. package/cdn/components/dialog/dialog.js +3 -3
  81. package/cdn/components/icon/icon.component.js +2 -2
  82. package/cdn/components/icon/icon.js +3 -3
  83. package/cdn/components/loader/loader.component.js +2 -2
  84. package/cdn/components/loader/loader.js +3 -3
  85. package/cdn/components/login/login.component.js +9 -9
  86. package/cdn/components/login/login.js +10 -10
  87. package/cdn/components/map/leaflet-utils.js +1 -1
  88. package/cdn/components/map/map.component.js +6 -5
  89. package/cdn/components/map/map.js +7 -6
  90. package/cdn/components/plot/plot.component.js +3 -3
  91. package/cdn/components/plot/plot.js +4 -4
  92. package/cdn/components/plot-toolbar/plot-toolbar.component.d.ts +1 -0
  93. package/cdn/components/plot-toolbar/plot-toolbar.component.js +5 -5
  94. package/cdn/components/plot-toolbar/plot-toolbar.js +6 -6
  95. package/cdn/components/skeleton/skeleton.component.js +2 -2
  96. package/cdn/components/skeleton/skeleton.js +3 -3
  97. package/cdn/components/spatial-picker/spatial-picker.component.d.ts +2 -0
  98. package/cdn/components/spatial-picker/spatial-picker.component.js +7 -7
  99. package/cdn/components/spatial-picker/spatial-picker.js +8 -8
  100. package/cdn/components/spatial-picker/spatial-picker.styles.js +1 -1
  101. package/cdn/components/time-average-map/time-average-map.component.js +9 -9
  102. package/cdn/components/time-average-map/time-average-map.controller.js +2 -2
  103. package/cdn/components/time-average-map/time-average-map.js +10 -10
  104. package/cdn/components/time-series/time-series.component.d.ts +1 -0
  105. package/cdn/components/time-series/time-series.component.js +13 -13
  106. package/cdn/components/time-series/time-series.controller.js +2 -2
  107. package/cdn/components/time-series/time-series.js +14 -14
  108. package/cdn/components/variable-combobox/variable-combobox.component.js +6 -6
  109. package/cdn/components/variable-combobox/variable-combobox.js +7 -7
  110. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +7 -7
  111. package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +1 -1
  112. package/cdn/components/variable-keyword-search/variable-keyword-search.js +8 -8
  113. package/cdn/custom-elements.json +1759 -1712
  114. package/cdn/react/index.d.ts +6 -6
  115. package/cdn/terra-ui-components.js +91 -91
  116. package/cdn/types/vue/index.d.ts +225 -219
  117. package/cdn/vscode.html-custom-data.json +158 -157
  118. package/cdn/web-types.json +318 -308
  119. package/dist/chunks/{chunk.ME2IKNPM.js → chunk.2KHKJBOB.js} +1 -1
  120. package/dist/chunks/{chunk.KVIEDTRG.js → chunk.2OOE2V74.js} +1 -1
  121. package/dist/chunks/{chunk.U5L2QSBL.js → chunk.2RUMLCNG.js} +1 -1
  122. package/dist/chunks/{chunk.S2BPUSXT.js → chunk.34ZROIP4.js} +1 -1
  123. package/dist/chunks/{chunk.WFLLPBSK.js → chunk.3JVESZWK.js} +1 -1
  124. package/dist/chunks/{chunk.7E2HKL6U.js → chunk.5PBPZZYM.js} +1 -1
  125. package/dist/chunks/{chunk.2NH3CZZZ.js → chunk.6HUNVCKY.js} +26 -1
  126. package/dist/chunks/{chunk.OKEYDVUM.js → chunk.6MTPABT6.js} +1 -1
  127. package/dist/chunks/{chunk.AQOGDZ4T.js → chunk.7RT5CEB6.js} +6 -0
  128. package/dist/chunks/{chunk.LX25FOB6.js → chunk.7SZ5FLBG.js} +5 -5
  129. package/dist/chunks/{chunk.I2YZYT2B.js → chunk.AKP5NSM6.js} +14 -9
  130. package/dist/chunks/{chunk.4FSARFIO.js → chunk.AP4TJGMK.js} +1 -1
  131. package/dist/chunks/{chunk.Q5FXU5CD.js → chunk.BT3OM7YW.js} +1 -1
  132. package/dist/chunks/{chunk.TCQUNRTZ.js → chunk.CTYCOFYG.js} +1 -1
  133. package/dist/chunks/{chunk.XUTN7WYX.js → chunk.DBWZYUMX.js} +1 -1
  134. package/dist/chunks/{chunk.OGC7AJP3.js → chunk.EOUI57NU.js} +1 -1
  135. package/dist/chunks/{chunk.PRFLPUK5.js → chunk.ETL6SVKH.js} +3 -3
  136. package/dist/chunks/{chunk.NFPUQWGV.js → chunk.FHX7T2OA.js} +13 -13
  137. package/dist/chunks/{chunk.Q4PPKP6U.js → chunk.GM6TGL7L.js} +1 -1
  138. package/dist/chunks/{chunk.3P5AXHYE.js → chunk.HRP2UCAE.js} +1 -1
  139. package/dist/chunks/{chunk.EO3NQW6Q.js → chunk.I52J3GOW.js} +2 -2
  140. package/dist/chunks/{chunk.WDQG7CSH.js → chunk.JGUDK23O.js} +5 -5
  141. package/dist/chunks/{chunk.ONCAHBEI.js → chunk.JLB3AJLB.js} +7 -7
  142. package/dist/chunks/{chunk.OC4QTK6B.js → chunk.JLXWDK6Q.js} +1 -1
  143. package/dist/chunks/{chunk.OUNZ45XC.js → chunk.KB7DEF3R.js} +1 -1
  144. package/dist/chunks/{chunk.AHRF7VBU.js → chunk.KRJLTCAP.js} +6 -3
  145. package/dist/chunks/{chunk.3DPKZNWN.js → chunk.MHGQR4W2.js} +1 -1
  146. package/dist/chunks/{chunk.FBDSOFND.js → chunk.MQJRL4UB.js} +1 -1
  147. package/dist/chunks/{chunk.AG3VYRFO.js → chunk.N5RBPPIG.js} +1 -1
  148. package/dist/chunks/{chunk.IZOH52KU.js → chunk.N7QDVMX3.js} +1 -1
  149. package/dist/chunks/{chunk.6RWPBX4B.js → chunk.NGMZML6J.js} +1 -1
  150. package/dist/chunks/{chunk.AHOG6HKX.js → chunk.OO7FUQ6P.js} +1 -1
  151. package/dist/chunks/{chunk.2LTBYPN4.js → chunk.PE7UEIVX.js} +31 -7
  152. package/dist/chunks/{chunk.RVTURMO5.js → chunk.PSJFGFBP.js} +3 -3
  153. package/dist/chunks/{chunk.LBKVB3EI.js → chunk.QCPKB2RQ.js} +1 -1
  154. package/dist/chunks/{chunk.POXSSDZR.js → chunk.QFYOTBLT.js} +15 -10
  155. package/dist/chunks/{chunk.NQJU5RSP.js → chunk.QXGOVVWV.js} +1 -1
  156. package/dist/chunks/{chunk.57AS3PVY.js → chunk.RG376NBJ.js} +1 -1
  157. package/dist/chunks/{chunk.VKHUWPJF.js → chunk.S4SOS6YI.js} +1 -1
  158. package/dist/chunks/{chunk.5ACVPMQS.js → chunk.SC2Q3UUF.js} +1 -1
  159. package/dist/chunks/{chunk.7SX5EJUZ.js → chunk.V5URSACK.js} +1 -1
  160. package/dist/chunks/{chunk.4EQ45IC6.js → chunk.VNUPHGI3.js} +9 -9
  161. package/dist/chunks/{chunk.QY2D5MZY.js → chunk.VUC6OYZI.js} +1 -1
  162. package/dist/chunks/{chunk.KQEF5XW2.js → chunk.WOD3IAR2.js} +1 -1
  163. package/dist/chunks/{chunk.RMYFG5HS.js → chunk.XNHODSUI.js} +1 -1
  164. package/dist/chunks/{chunk.IAA33R4X.js → chunk.XPEGNLOR.js} +2 -2
  165. package/dist/chunks/{chunk.XUI4GSXF.js → chunk.XYWAGUD5.js} +1 -1
  166. package/dist/chunks/{chunk.UI7LI6ME.js → chunk.Y2LZH62Y.js} +1 -1
  167. package/dist/chunks/{chunk.WKPYLGNW.js → chunk.Y54UJLRZ.js} +1 -1
  168. package/dist/chunks/{chunk.33FZQUN2.js → chunk.YLMWEEA2.js} +2 -2
  169. package/dist/chunks/{chunk.STHFWPXN.js → chunk.YO2CHERX.js} +1 -1
  170. package/dist/chunks/{chunk.RN6T4OBF.js → chunk.YW6MGSTP.js} +1 -1
  171. package/dist/chunks/{chunk.5IYMVP3K.js → chunk.Z3HX7EEA.js} +11 -11
  172. package/dist/components/accordion/accordion.component.js +3 -3
  173. package/dist/components/accordion/accordion.js +4 -4
  174. package/dist/components/alert/alert.component.js +2 -2
  175. package/dist/components/alert/alert.js +3 -3
  176. package/dist/components/browse-variables/browse-variables.component.d.ts +1 -0
  177. package/dist/components/browse-variables/browse-variables.component.js +10 -10
  178. package/dist/components/browse-variables/browse-variables.controller.js +1 -1
  179. package/dist/components/browse-variables/browse-variables.js +11 -11
  180. package/dist/components/button/button.component.js +2 -2
  181. package/dist/components/button/button.js +3 -3
  182. package/dist/components/chip/chip.component.js +2 -2
  183. package/dist/components/chip/chip.js +3 -3
  184. package/dist/components/combobox/combobox.component.js +2 -2
  185. package/dist/components/combobox/combobox.js +3 -3
  186. package/dist/components/data-rods/data-rods.component.js +24 -24
  187. package/dist/components/data-rods/data-rods.js +25 -25
  188. package/dist/components/data-subsetter/data-subsetter.component.js +20 -20
  189. package/dist/components/data-subsetter/data-subsetter.js +21 -21
  190. package/dist/components/data-subsetter-history/data-subsetter-history.component.js +24 -24
  191. package/dist/components/data-subsetter-history/data-subsetter-history.js +25 -25
  192. package/dist/components/date-picker/date-picker.component.js +3 -3
  193. package/dist/components/date-picker/date-picker.js +4 -4
  194. package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
  195. package/dist/components/date-range-slider/date-range-slider.js +3 -3
  196. package/dist/components/dialog/dialog.component.js +2 -2
  197. package/dist/components/dialog/dialog.js +3 -3
  198. package/dist/components/icon/icon.component.js +2 -2
  199. package/dist/components/icon/icon.js +3 -3
  200. package/dist/components/loader/loader.component.js +2 -2
  201. package/dist/components/loader/loader.js +3 -3
  202. package/dist/components/login/login.component.js +9 -9
  203. package/dist/components/login/login.js +10 -10
  204. package/dist/components/map/leaflet-utils.js +1 -1
  205. package/dist/components/map/map.component.js +6 -5
  206. package/dist/components/map/map.js +7 -6
  207. package/dist/components/plot/plot.component.js +2 -2
  208. package/dist/components/plot/plot.js +3 -3
  209. package/dist/components/plot-toolbar/plot-toolbar.component.d.ts +1 -0
  210. package/dist/components/plot-toolbar/plot-toolbar.component.js +4 -4
  211. package/dist/components/plot-toolbar/plot-toolbar.js +5 -5
  212. package/dist/components/skeleton/skeleton.component.js +2 -2
  213. package/dist/components/skeleton/skeleton.js +3 -3
  214. package/dist/components/spatial-picker/spatial-picker.component.d.ts +2 -0
  215. package/dist/components/spatial-picker/spatial-picker.component.js +7 -7
  216. package/dist/components/spatial-picker/spatial-picker.js +8 -8
  217. package/dist/components/spatial-picker/spatial-picker.styles.js +1 -1
  218. package/dist/components/time-average-map/time-average-map.component.js +6 -6
  219. package/dist/components/time-average-map/time-average-map.js +7 -7
  220. package/dist/components/time-series/time-series.component.d.ts +1 -0
  221. package/dist/components/time-series/time-series.component.js +10 -10
  222. package/dist/components/time-series/time-series.js +11 -11
  223. package/dist/components/variable-combobox/variable-combobox.component.js +6 -6
  224. package/dist/components/variable-combobox/variable-combobox.js +7 -7
  225. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +6 -6
  226. package/dist/components/variable-keyword-search/variable-keyword-search.js +7 -7
  227. package/dist/custom-elements.json +1759 -1712
  228. package/dist/react/index.d.ts +6 -6
  229. package/dist/terra-ui-components.js +87 -87
  230. package/dist/{terra_ui_components-0.0.64-py3-none-any.whl → terra_ui_components-0.0.66-py3-none-any.whl} +0 -0
  231. package/dist/{terra_ui_components-0.0.64.tar.gz → terra_ui_components-0.0.66.tar.gz} +0 -0
  232. package/dist/types/vue/index.d.ts +225 -219
  233. package/dist/vscode.html-custom-data.json +158 -157
  234. package/dist/web-types.json +318 -308
  235. package/package.json +1 -1
  236. package/cdn/chunks/{chunk.U5XB7PAD.js → chunk.2UIKXGCO.js} +3 -3
  237. package/cdn/chunks/{chunk.665QSS6M.js → chunk.FK35YOPT.js} +4 -4
  238. package/cdn/chunks/{chunk.ICVN26UP.js → chunk.PI4LM4FQ.js} +3 -3
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraChip
3
- } from "./chunk.S2BPUSXT.js";
3
+ } from "./chunk.34ZROIP4.js";
4
4
 
5
5
  // src/components/chip/chip.ts
6
6
  var chip_default = TerraChip;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraIcon
3
- } from "./chunk.LBKVB3EI.js";
3
+ } from "./chunk.QCPKB2RQ.js";
4
4
 
5
5
  // src/components/icon/icon.ts
6
6
  var icon_default = TerraIcon;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraTimeAverageMap
3
- } from "./chunk.LX25FOB6.js";
3
+ } from "./chunk.7SZ5FLBG.js";
4
4
 
5
5
  // src/components/time-average-map/time-average-map.ts
6
6
  var time_average_map_default = TerraTimeAverageMap;
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  TerraElement,
6
6
  component_styles_default
7
- } from "./chunk.3DPKZNWN.js";
7
+ } from "./chunk.MHGQR4W2.js";
8
8
  import {
9
9
  __decorateClass,
10
10
  __privateAdd,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraDateRangeSlider
3
- } from "./chunk.Q4PPKP6U.js";
3
+ } from "./chunk.GM6TGL7L.js";
4
4
 
5
5
  // src/components/date-range-slider/date-range-slider.ts
6
6
  var date_range_slider_default = TerraDateRangeSlider;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraTimeSeries
3
- } from "./chunk.POXSSDZR.js";
3
+ } from "./chunk.QFYOTBLT.js";
4
4
 
5
5
  // src/components/time-series/time-series.ts
6
6
  var time_series_default = TerraTimeSeries;
@@ -10,9 +10,14 @@ import {
10
10
 
11
11
  // src/components/browse-variables/browse-variables.controller.ts
12
12
  import { Task } from "@lit/task";
13
- var _host, _catalog, _getCatalogRepository, getCatalogRepository_fn;
13
+ var _host, _catalog, _selectVariables, selectVariables_fn, _getCatalogRepository, getCatalogRepository_fn;
14
14
  var BrowseVariablesController = class {
15
+ // TODO: fix this type, it should be VariableCatalogInterface
15
16
  constructor(host) {
17
+ /**
18
+ * Selects variables from the search response that are in the selectedVariableEntryIds list
19
+ */
20
+ __privateAdd(this, _selectVariables);
16
21
  __privateAdd(this, _getCatalogRepository);
17
22
  __privateAdd(this, _host, void 0);
18
23
  __privateAdd(this, _catalog, void 0);
@@ -27,6 +32,7 @@ var BrowseVariablesController = class {
27
32
  signal
28
33
  }
29
34
  );
35
+ __privateMethod(this, _selectVariables, selectVariables_fn).call(this, searchResponse);
30
36
  return searchResponse;
31
37
  },
32
38
  args: () => [__privateGet(this, _host).searchQuery, __privateGet(this, _host).selectedFacets]
@@ -50,6 +56,25 @@ var BrowseVariablesController = class {
50
56
  };
51
57
  _host = new WeakMap();
52
58
  _catalog = new WeakMap();
59
+ _selectVariables = new WeakSet();
60
+ selectVariables_fn = async function(searchResponse) {
61
+ if (!__privateGet(this, _host).selectedVariableEntryIds || __privateGet(this, _host).selectedVariables.length > 0) {
62
+ return;
63
+ }
64
+ const variableEntryIds = __privateGet(this, _host).selectedVariableEntryIds.split(",");
65
+ const variables = searchResponse.variables.filter((variable) => {
66
+ return variableEntryIds.includes(variable.dataFieldId) || variableEntryIds.includes(
67
+ `${variable.dataProductShortName}_${variable.dataProductVersion}_${variable.dataFieldShortName}`
68
+ );
69
+ });
70
+ const missingVariableIds = variableEntryIds.filter(
71
+ (id) => !variables.some((variable) => variable.dataFieldId === id)
72
+ );
73
+ const missingVariables = await Promise.all(
74
+ missingVariableIds.map((id) => __privateGet(this, _catalog).getVariable(id))
75
+ );
76
+ __privateGet(this, _host).selectedVariables = [...variables, ...missingVariables];
77
+ };
53
78
  _getCatalogRepository = new WeakSet();
54
79
  getCatalogRepository_fn = function() {
55
80
  if (__privateGet(this, _host).catalog === "giovanni") {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraMap
3
- } from "./chunk.NFPUQWGV.js";
3
+ } from "./chunk.FHX7T2OA.js";
4
4
 
5
5
  // src/components/map/map.ts
6
6
  var map_default = TerraMap;
@@ -59,6 +59,12 @@ var spatial_picker_styles_default = css`
59
59
  height: 1rem;
60
60
  width: 1rem;
61
61
  }
62
+
63
+ .spatial-picker__error {
64
+ color: #a94442;
65
+ font-size: 0.8rem;
66
+ padding: 10px;
67
+ }
62
68
  `;
63
69
 
64
70
  export {
@@ -6,26 +6,26 @@ import {
6
6
  } from "./chunk.VSZLMYWV.js";
7
7
  import {
8
8
  TerraPlotToolbar
9
- } from "./chunk.AHRF7VBU.js";
9
+ } from "./chunk.KRJLTCAP.js";
10
10
  import {
11
11
  AuthController
12
- } from "./chunk.4FSARFIO.js";
12
+ } from "./chunk.AP4TJGMK.js";
13
13
  import {
14
14
  GiovanniVariableCatalog
15
15
  } from "./chunk.2OG44KDU.js";
16
16
  import {
17
17
  TerraButton
18
- } from "./chunk.TCQUNRTZ.js";
18
+ } from "./chunk.CTYCOFYG.js";
19
19
  import {
20
20
  TerraIcon
21
- } from "./chunk.LBKVB3EI.js";
21
+ } from "./chunk.QCPKB2RQ.js";
22
22
  import {
23
23
  watch
24
24
  } from "./chunk.DTUHBE3U.js";
25
25
  import {
26
26
  TerraElement,
27
27
  component_styles_default
28
- } from "./chunk.3DPKZNWN.js";
28
+ } from "./chunk.MHGQR4W2.js";
29
29
  import {
30
30
  __decorateClass,
31
31
  __privateAdd,
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  TerraVariableKeywordSearch
3
- } from "./chunk.RVTURMO5.js";
3
+ } from "./chunk.PSJFGFBP.js";
4
4
  import {
5
5
  TerraSkeleton
6
- } from "./chunk.AG3VYRFO.js";
6
+ } from "./chunk.N5RBPPIG.js";
7
7
  import {
8
8
  getRandomIntInclusive
9
9
  } from "./chunk.UZAIWUWC.js";
10
10
  import {
11
11
  TerraLoader
12
- } from "./chunk.IZOH52KU.js";
12
+ } from "./chunk.N7QDVMX3.js";
13
13
  import {
14
14
  BrowseVariablesController
15
- } from "./chunk.2NH3CZZZ.js";
15
+ } from "./chunk.6HUNVCKY.js";
16
16
  import {
17
17
  browse_variables_styles_default
18
18
  } from "./chunk.NMWP5DQX.js";
19
19
  import {
20
20
  TerraButton
21
- } from "./chunk.TCQUNRTZ.js";
21
+ } from "./chunk.CTYCOFYG.js";
22
22
  import {
23
23
  TerraIcon
24
- } from "./chunk.LBKVB3EI.js";
24
+ } from "./chunk.QCPKB2RQ.js";
25
25
  import {
26
26
  watch
27
27
  } from "./chunk.DTUHBE3U.js";
28
28
  import {
29
29
  TerraElement,
30
30
  component_styles_default
31
- } from "./chunk.3DPKZNWN.js";
31
+ } from "./chunk.MHGQR4W2.js";
32
32
  import {
33
33
  __decorateClass,
34
34
  __objRest,
@@ -274,7 +274,8 @@ renderFacet_fn = function(facetKey, title, fields, open) {
274
274
  @change=${() => __privateMethod(this, _selectFacetField, selectFacetField_fn).call(this, facetKey, field.name)}
275
275
  ?checked=${(_a = this.selectedFacets[facetKey]) == null ? void 0 : _a.includes(field.name)}
276
276
  />
277
- ${field.name} (${field.count})</label
277
+ ${field.name}
278
+ <!-- TODO: add count back in once we aren't filtering by Cloud Giovanni Catalog (or Cloud Giovanni supports all variables)(${field.count})--></label
278
279
  >
279
280
  </div>
280
281
  ` : nothing;
@@ -298,8 +299,9 @@ renderVariablesBrowse_fn = function() {
298
299
  ];
299
300
  return html`<div class="scrollable variables-container">
300
301
  <header>
302
+ <!-- TODO: add back in once we aren't filtering by Cloud Giovanni Catalog (or Cloud Giovanni supports all variables)
301
303
  Showing ${__privateGet(this, _controller).total} variables
302
- ${this.searchQuery ? `associated with '${this.searchQuery}'` : ""}
304
+ ${this.searchQuery ? `associated with '${this.searchQuery}'` : ""}-->
303
305
  <!-- Sorting and Grouping feature still needs a UI / UX feature discussion.
304
306
  <menu>
305
307
  <li>
@@ -472,6 +474,9 @@ TerraBrowseVariables.dependencies = {
472
474
  __decorateClass([
473
475
  property()
474
476
  ], TerraBrowseVariables.prototype, "catalog", 2);
477
+ __decorateClass([
478
+ property({ attribute: "selected-variable-entry-ids", reflect: true })
479
+ ], TerraBrowseVariables.prototype, "selectedVariableEntryIds", 2);
475
480
  __decorateClass([
476
481
  state()
477
482
  ], TerraBrowseVariables.prototype, "searchQuery", 2);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  authService
3
- } from "./chunk.3DPKZNWN.js";
3
+ } from "./chunk.MHGQR4W2.js";
4
4
  import {
5
5
  __privateAdd,
6
6
  __privateGet,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraVariableKeywordSearch
3
- } from "./chunk.RVTURMO5.js";
3
+ } from "./chunk.PSJFGFBP.js";
4
4
 
5
5
  // src/components/variable-keyword-search/variable-keyword-search.ts
6
6
  var variable_keyword_search_default = TerraVariableKeywordSearch;
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  TerraElement,
16
16
  component_styles_default
17
- } from "./chunk.3DPKZNWN.js";
17
+ } from "./chunk.MHGQR4W2.js";
18
18
  import {
19
19
  __decorateClass,
20
20
  __privateAdd,
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  TerraElement,
9
9
  component_styles_default
10
- } from "./chunk.3DPKZNWN.js";
10
+ } from "./chunk.MHGQR4W2.js";
11
11
  import {
12
12
  alert_styles_default
13
13
  } from "./chunk.YXLIUMJM.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraPlot
3
- } from "./chunk.OC4QTK6B.js";
3
+ } from "./chunk.JLXWDK6Q.js";
4
4
 
5
5
  // src/components/plot/plot.ts
6
6
  var plot_default = TerraPlot;
@@ -14,17 +14,17 @@ import {
14
14
  } from "./chunk.FRSW4UHB.js";
15
15
  import {
16
16
  icon_default
17
- } from "./chunk.KVIEDTRG.js";
17
+ } from "./chunk.2OOE2V74.js";
18
18
  import {
19
19
  button_default
20
- } from "./chunk.6RWPBX4B.js";
20
+ } from "./chunk.NGMZML6J.js";
21
21
  import {
22
22
  watch
23
23
  } from "./chunk.DTUHBE3U.js";
24
24
  import {
25
25
  TerraElement,
26
26
  component_styles_default
27
- } from "./chunk.3DPKZNWN.js";
27
+ } from "./chunk.MHGQR4W2.js";
28
28
  import {
29
29
  __decorateClass,
30
30
  __privateAdd,
@@ -1,3 +1,9 @@
1
+ import {
2
+ Leaflet
3
+ } from "./chunk.XPEGNLOR.js";
4
+ import {
5
+ leaflet_styles_default
6
+ } from "./chunk.HNQMK3PU.js";
1
7
  import {
2
8
  MapController
3
9
  } from "./chunk.JY5KBXRE.js";
@@ -7,19 +13,13 @@ import {
7
13
  import {
8
14
  leaflet_draw_styles_default
9
15
  } from "./chunk.445A7YVG.js";
10
- import {
11
- Leaflet
12
- } from "./chunk.IAA33R4X.js";
13
- import {
14
- leaflet_styles_default
15
- } from "./chunk.HNQMK3PU.js";
16
16
  import {
17
17
  watch
18
18
  } from "./chunk.DTUHBE3U.js";
19
19
  import {
20
20
  TerraElement,
21
21
  component_styles_default
22
- } from "./chunk.3DPKZNWN.js";
22
+ } from "./chunk.MHGQR4W2.js";
23
23
  import {
24
24
  __decorateClass,
25
25
  __privateAdd,
@@ -69,14 +69,14 @@ var TerraMap = class extends TerraElement {
69
69
  hideBoundingBoxDrawTool: this.hideBoundingBoxSelection,
70
70
  hidePointSelectionDrawTool: this.hidePointSelection
71
71
  });
72
- this.map.on(
73
- "draw",
74
- (layer) => this.emit("terra-map-change", {
72
+ this.map.on("draw", (layer) => {
73
+ this.emit("terra-map-change", {
75
74
  detail: __spreadValues({
76
- cause: "draw"
75
+ cause: "draw",
76
+ type: "latLng" in layer ? "point" /* POINT */ : "bounds" in layer ? "bbox" /* BBOX */ : void 0
77
77
  }, layer)
78
- })
79
- );
78
+ });
79
+ });
80
80
  this.map.on(
81
81
  "clear",
82
82
  (_e) => this.emit("terra-map-change", {
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  TerraElement,
15
15
  component_styles_default
16
- } from "./chunk.3DPKZNWN.js";
16
+ } from "./chunk.MHGQR4W2.js";
17
17
  import {
18
18
  __decorateClass
19
19
  } from "./chunk.TVFCHGU3.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraDialog
3
- } from "./chunk.RMYFG5HS.js";
3
+ } from "./chunk.XNHODSUI.js";
4
4
 
5
5
  // src/components/dialog/dialog.ts
6
6
  var dialog_default = TerraDialog;
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  TerraIcon
3
- } from "./chunk.LBKVB3EI.js";
3
+ } from "./chunk.QCPKB2RQ.js";
4
4
  import {
5
5
  accordion_styles_default
6
6
  } from "./chunk.MQOXBVDK.js";
7
7
  import {
8
8
  TerraElement,
9
9
  component_styles_default
10
- } from "./chunk.3DPKZNWN.js";
10
+ } from "./chunk.MHGQR4W2.js";
11
11
  import {
12
12
  __decorateClass
13
13
  } from "./chunk.TVFCHGU3.js";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  loader_default
3
- } from "./chunk.WKPYLGNW.js";
3
+ } from "./chunk.Y54UJLRZ.js";
4
4
  import {
5
5
  login_styles_default
6
6
  } from "./chunk.TCEJ3MS6.js";
7
7
  import {
8
8
  AuthController
9
- } from "./chunk.4FSARFIO.js";
9
+ } from "./chunk.AP4TJGMK.js";
10
10
  import {
11
11
  icon_default
12
- } from "./chunk.KVIEDTRG.js";
12
+ } from "./chunk.2OOE2V74.js";
13
13
  import {
14
14
  button_default
15
- } from "./chunk.6RWPBX4B.js";
15
+ } from "./chunk.NGMZML6J.js";
16
16
  import {
17
17
  TerraElement,
18
18
  component_styles_default
19
- } from "./chunk.3DPKZNWN.js";
19
+ } from "./chunk.MHGQR4W2.js";
20
20
  import {
21
21
  __decorateClass,
22
22
  __privateAdd,
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  TerraDialog
3
- } from "./chunk.RMYFG5HS.js";
4
- import {
5
- TerraDataSubsetter
6
- } from "./chunk.5IYMVP3K.js";
3
+ } from "./chunk.XNHODSUI.js";
7
4
  import {
8
5
  DataSubsetterHistoryController
9
6
  } from "./chunk.GXQRUGWI.js";
10
7
  import {
11
8
  data_subsetter_history_styles_default
12
9
  } from "./chunk.7674U7FT.js";
10
+ import {
11
+ TerraDataSubsetter
12
+ } from "./chunk.Z3HX7EEA.js";
13
13
  import {
14
14
  AuthController
15
- } from "./chunk.4FSARFIO.js";
15
+ } from "./chunk.AP4TJGMK.js";
16
16
  import {
17
17
  TerraIcon
18
- } from "./chunk.LBKVB3EI.js";
18
+ } from "./chunk.QCPKB2RQ.js";
19
19
  import {
20
20
  TerraElement,
21
21
  component_styles_default
22
- } from "./chunk.3DPKZNWN.js";
22
+ } from "./chunk.MHGQR4W2.js";
23
23
  import {
24
24
  __decorateClass,
25
25
  __privateAdd,
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  TerraElement,
9
9
  component_styles_default
10
- } from "./chunk.3DPKZNWN.js";
10
+ } from "./chunk.MHGQR4W2.js";
11
11
  import {
12
12
  __decorateClass,
13
13
  __privateAdd,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraDatePicker
3
- } from "./chunk.33FZQUN2.js";
3
+ } from "./chunk.YLMWEEA2.js";
4
4
 
5
5
  // src/components/date-picker/date-picker.ts
6
6
  var date_picker_default = TerraDatePicker;
@@ -7,17 +7,17 @@ import {
7
7
  } from "./chunk.EC75KAKW.js";
8
8
  import {
9
9
  TerraButton
10
- } from "./chunk.TCQUNRTZ.js";
10
+ } from "./chunk.CTYCOFYG.js";
11
11
  import {
12
12
  TerraIcon
13
- } from "./chunk.LBKVB3EI.js";
13
+ } from "./chunk.QCPKB2RQ.js";
14
14
  import {
15
15
  watch
16
16
  } from "./chunk.DTUHBE3U.js";
17
17
  import {
18
18
  TerraElement,
19
19
  component_styles_default
20
- } from "./chunk.3DPKZNWN.js";
20
+ } from "./chunk.MHGQR4W2.js";
21
21
  import {
22
22
  __decorateClass,
23
23
  __privateAdd,
@@ -52,6 +52,9 @@ var TerraPlotToolbar = class extends TerraElement {
52
52
  }
53
53
  this.menu.focus();
54
54
  }
55
+ closeMenu() {
56
+ this.activeMenuItem = null;
57
+ }
55
58
  render() {
56
59
  return cache(
57
60
  !this.catalogVariable ? html`<div class="spacer"></div>` : html` <header>
@@ -520,7 +520,7 @@ var TerraElement = class extends LitElement {
520
520
  };
521
521
  /* eslint-disable */
522
522
  // @ts-expect-error This is auto-injected at build time.
523
- TerraElement.version = "0.0.64";
523
+ TerraElement.version = "0.0.66";
524
524
  TerraElement.dependencies = {};
525
525
  __decorateClass([
526
526
  property()
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraAlert
3
- } from "./chunk.XUTN7WYX.js";
3
+ } from "./chunk.DBWZYUMX.js";
4
4
 
5
5
  // src/components/alert/alert.ts
6
6
  var alert_default = TerraAlert;
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  TerraElement,
9
9
  component_styles_default
10
- } from "./chunk.3DPKZNWN.js";
10
+ } from "./chunk.MHGQR4W2.js";
11
11
  import {
12
12
  __decorateClass
13
13
  } from "./chunk.TVFCHGU3.js";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  TerraElement,
6
6
  component_styles_default
7
- } from "./chunk.3DPKZNWN.js";
7
+ } from "./chunk.MHGQR4W2.js";
8
8
  import {
9
9
  __decorateClass
10
10
  } from "./chunk.TVFCHGU3.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraButton
3
- } from "./chunk.TCQUNRTZ.js";
3
+ } from "./chunk.CTYCOFYG.js";
4
4
 
5
5
  // src/components/button/button.ts
6
6
  var button_default = TerraButton;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraDataRods
3
- } from "./chunk.4EQ45IC6.js";
3
+ } from "./chunk.VNUPHGI3.js";
4
4
 
5
5
  // src/components/data-rods/data-rods.ts
6
6
  var data_rods_default = TerraDataRods;
@@ -1,17 +1,17 @@
1
- import {
2
- spatial_picker_styles_default
3
- } from "./chunk.AQOGDZ4T.js";
4
1
  import {
5
2
  TerraMap
6
- } from "./chunk.NFPUQWGV.js";
3
+ } from "./chunk.FHX7T2OA.js";
7
4
  import {
8
5
  StringifyBoundingBox,
9
6
  parseBoundingBox
10
- } from "./chunk.IAA33R4X.js";
7
+ } from "./chunk.XPEGNLOR.js";
8
+ import {
9
+ spatial_picker_styles_default
10
+ } from "./chunk.7RT5CEB6.js";
11
11
  import {
12
12
  TerraElement,
13
13
  component_styles_default
14
- } from "./chunk.3DPKZNWN.js";
14
+ } from "./chunk.MHGQR4W2.js";
15
15
  import {
16
16
  __decorateClass
17
17
  } from "./chunk.TVFCHGU3.js";
@@ -35,8 +35,24 @@ var TerraSpatialPicker = class extends TerraElement {
35
35
  this.isExpanded = false;
36
36
  this.inline = false;
37
37
  this.showMapOnFocus = false;
38
+ this.error = "";
39
+ }
40
+ setValue(value) {
41
+ try {
42
+ this.mapValue = parseBoundingBox(value);
43
+ this.error = "";
44
+ this._emitMapChange();
45
+ } catch (error) {
46
+ this.error = error instanceof Error ? error.message : "Invalid spatial area (format: LAT, LNG or LAT, LNG, LAT, LNG)";
47
+ }
38
48
  }
39
49
  _blur(e) {
50
+ try {
51
+ this.mapValue = this.spatialInput.value ? parseBoundingBox(this.spatialInput.value) : [];
52
+ this.error = "";
53
+ } catch (error) {
54
+ this.error = error instanceof Error ? error.message : "Invalid spatial area (format: LAT, LNG or LAT, LNG, LAT, LNG)";
55
+ }
40
56
  this._emitMapChange();
41
57
  const relatedTarget = e.relatedTarget;
42
58
  if (!(relatedTarget == null ? void 0 : relatedTarget.closest("terra-map"))) {
@@ -52,7 +68,11 @@ var TerraSpatialPicker = class extends TerraElement {
52
68
  this.isExpanded = !this.isExpanded;
53
69
  }
54
70
  _emitMapChange() {
55
- const layer = this.map.getDrawLayer();
71
+ var _a;
72
+ const layer = (_a = this.map) == null ? void 0 : _a.getDrawLayer();
73
+ if (!layer) {
74
+ return;
75
+ }
56
76
  if ("getLatLng" in layer) {
57
77
  this.mapValue = layer.getLatLng();
58
78
  this.emit("terra-map-change", {
@@ -172,6 +192,7 @@ var TerraSpatialPicker = class extends TerraElement {
172
192
  </svg>
173
193
  </terra-button>
174
194
  </div>
195
+ ${this.error ? html`<div class="spatial-picker__error">${this.error}</div>` : nothing}
175
196
  ${expanded ? html`<div
176
197
  style="${this.inline ? "position: static; width: 100%;" : ""}"
177
198
  >
@@ -237,6 +258,9 @@ __decorateClass([
237
258
  __decorateClass([
238
259
  state()
239
260
  ], TerraSpatialPicker.prototype, "mapValue", 2);
261
+ __decorateClass([
262
+ state()
263
+ ], TerraSpatialPicker.prototype, "error", 2);
240
264
  __decorateClass([
241
265
  query(".spatial-picker__input")
242
266
  ], TerraSpatialPicker.prototype, "spatialInput", 2);
@@ -11,17 +11,17 @@ import {
11
11
  } from "./chunk.YY65ZHR5.js";
12
12
  import {
13
13
  icon_default
14
- } from "./chunk.KVIEDTRG.js";
14
+ } from "./chunk.2OOE2V74.js";
15
15
  import {
16
16
  button_default
17
- } from "./chunk.6RWPBX4B.js";
17
+ } from "./chunk.NGMZML6J.js";
18
18
  import {
19
19
  watch
20
20
  } from "./chunk.DTUHBE3U.js";
21
21
  import {
22
22
  TerraElement,
23
23
  component_styles_default
24
- } from "./chunk.3DPKZNWN.js";
24
+ } from "./chunk.MHGQR4W2.js";
25
25
  import {
26
26
  __decorateClass,
27
27
  __privateAdd,