@nasa-terra/components 0.0.40 → 0.0.42

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 (324) hide show
  1. package/cdn/chunks/{chunk.SA43RGL2.js → chunk.2CTTMUXP.js} +1 -1
  2. package/cdn/chunks/{chunk.QCK7PTWV.js → chunk.2FFSUM6T.js} +1 -1
  3. package/cdn/chunks/{chunk.SD6M3CDE.js → chunk.2FXAUYYA.js} +1 -1
  4. package/{dist/chunks/chunk.EHQXGUIL.js → cdn/chunks/chunk.34XJ2YRL.js} +1 -1
  5. package/cdn/chunks/chunk.4MAXR3UU.js +104 -0
  6. package/{dist/chunks/chunk.HCIAUFW5.js → cdn/chunks/chunk.5QZWD4FU.js} +1 -1
  7. package/cdn/chunks/{chunk.MR27IH5Z.js → chunk.6JHIJHTB.js} +9 -1
  8. package/cdn/chunks/{chunk.CBV7M6CJ.js → chunk.6MMTW476.js} +1 -1
  9. package/cdn/chunks/{chunk.DWBE36BH.js → chunk.7FWVJMKC.js} +1 -1
  10. package/cdn/chunks/{chunk.Z7YAZ5EU.js → chunk.7X3DAFOG.js} +1 -1
  11. package/cdn/chunks/{chunk.LLGXVXUH.js → chunk.ANZFZPPU.js} +1 -1
  12. package/cdn/chunks/{chunk.CE7EKFM6.js → chunk.AT5FYE4Q.js} +9 -9
  13. package/cdn/chunks/{chunk.GJXX5TSE.js → chunk.BKOLMPIY.js} +2 -2
  14. package/{dist/chunks/chunk.S5E5TLJZ.js → cdn/chunks/chunk.BUT7KX24.js} +1 -1
  15. package/cdn/chunks/{chunk.ZV2BS5ID.js → chunk.CBRTMMKP.js} +7 -7
  16. package/cdn/chunks/{chunk.FXBYPZFG.js → chunk.E3ITP3CP.js} +1 -1
  17. package/cdn/chunks/{chunk.BWPJFRNN.js → chunk.ELAWVWEZ.js} +33 -13
  18. package/{dist/chunks/chunk.H2GZTZSG.js → cdn/chunks/chunk.FBNX5AYN.js} +1 -1
  19. package/{dist/chunks/chunk.ZRHAV2UE.js → cdn/chunks/chunk.FEPSAY5T.js} +1 -1
  20. package/cdn/chunks/{chunk.7UMCACKG.js → chunk.FET2REAS.js} +1 -1
  21. package/{dist/chunks/chunk.J33BMUDH.js → cdn/chunks/chunk.FGHWBPQ7.js} +1 -1
  22. package/cdn/chunks/{chunk.XZ5MBSWL.js → chunk.FP62TI7I.js} +1 -1
  23. package/cdn/chunks/{chunk.QVY2EVVB.js → chunk.GYNEPFEG.js} +3 -3
  24. package/{dist/chunks/chunk.XSOYZVEM.js → cdn/chunks/chunk.HWDI2BHO.js} +1 -1
  25. package/cdn/chunks/{chunk.3XSEBVBX.js → chunk.I44MNS72.js} +11 -11
  26. package/cdn/chunks/{chunk.G6GWAAJQ.js → chunk.ISDS7VRC.js} +7 -7
  27. package/cdn/chunks/{chunk.OXWLSTHY.js → chunk.JETSWMHY.js} +1 -1
  28. package/cdn/chunks/{chunk.N6A4S5YI.js → chunk.JPF7QPZA.js} +1 -1
  29. package/cdn/chunks/{chunk.VMGDCNZ6.js → chunk.JQ2ZRSPI.js} +4 -4
  30. package/{dist/chunks/chunk.MQIAGQXS.js → cdn/chunks/chunk.L63KIY6U.js} +1 -1
  31. package/cdn/chunks/{chunk.EQRD35IH.js → chunk.LLG5WQWA.js} +3 -3
  32. package/cdn/chunks/{chunk.WTPVOF7N.js → chunk.LOCO37M5.js} +2 -2
  33. package/cdn/chunks/{chunk.3O3GJEBJ.js → chunk.LS57LJUC.js} +11 -10
  34. package/cdn/chunks/chunk.M4BZHL67.js +21 -0
  35. package/cdn/chunks/{chunk.M6CYVVLQ.js → chunk.M5AL5OZ6.js} +5 -5
  36. package/cdn/chunks/{chunk.AWLC4U5W.js → chunk.M6BKA6P4.js} +1 -1
  37. package/cdn/chunks/chunk.MERDVJWH.js +15814 -0
  38. package/cdn/chunks/{chunk.DMMKUXEG.js → chunk.MLEE3KVC.js} +1 -1
  39. package/cdn/chunks/{chunk.4BM5VFHP.js → chunk.MUAWDIKB.js} +6 -17
  40. package/{dist/chunks/chunk.RGLEASJA.js → cdn/chunks/chunk.MX22SNRS.js} +1 -1
  41. package/cdn/chunks/{chunk.EC6GICQ5.js → chunk.NR6DJDMD.js} +5 -5
  42. package/{dist/chunks/chunk.FSILQ47R.js → cdn/chunks/chunk.NRWL7454.js} +1 -1
  43. package/{dist/chunks/chunk.75WTRCUN.js → cdn/chunks/chunk.OODF3EN7.js} +1 -1
  44. package/cdn/chunks/{chunk.SUZLO32F.js → chunk.OZMD6UWV.js} +1 -1
  45. package/cdn/chunks/{chunk.BPRRLOHA.js → chunk.QCZTZ2G4.js} +3 -3
  46. package/{dist/chunks/chunk.QEQQECDM.js → cdn/chunks/chunk.QIYZLBZL.js} +1 -1
  47. package/{dist/chunks/chunk.DHSHH44R.js → cdn/chunks/chunk.QMFOPTPG.js} +1 -1
  48. package/cdn/chunks/{chunk.U7L2FN7F.js → chunk.QZV6EAIM.js} +1 -1
  49. package/{dist/chunks/chunk.FUMHGO4K.js → cdn/chunks/chunk.RGSWH76U.js} +1 -1
  50. package/cdn/chunks/{chunk.4DNNJHBI.js → chunk.RWSWLUWX.js} +1 -1
  51. package/cdn/chunks/{chunk.Y3KSWO6F.js → chunk.S65EWDQW.js} +14 -14
  52. package/{dist/chunks/chunk.7ZSDMNY5.js → cdn/chunks/chunk.SMJEL5SP.js} +1 -1
  53. package/cdn/chunks/{chunk.2IBDQF7X.js → chunk.SNULTXLY.js} +3 -3
  54. package/{dist/chunks/chunk.D3IGIATM.js → cdn/chunks/chunk.TNVTVMRS.js} +1 -1
  55. package/cdn/chunks/{chunk.4K74IELA.js → chunk.TS6P5KMM.js} +1 -1
  56. package/cdn/chunks/{chunk.YDH7ETD6.js → chunk.TYD6OMVH.js} +1 -1
  57. package/cdn/chunks/{chunk.JBTSRWMM.js → chunk.U76BSYRS.js} +3 -3
  58. package/{dist/chunks/chunk.V747WCNA.js → cdn/chunks/chunk.VV63KQST.js} +1 -1
  59. package/cdn/chunks/{chunk.5KQNUXNC.js → chunk.WNKY3U3X.js} +3 -3
  60. package/cdn/chunks/{chunk.SREFGYKJ.js → chunk.WQDJNX2I.js} +1 -1
  61. package/cdn/chunks/{chunk.NP7P4Z44.js → chunk.WW7H6ZTG.js} +4 -4
  62. package/cdn/chunks/{chunk.CUBY224G.js → chunk.XB3OTEJA.js} +16 -12
  63. package/cdn/chunks/{chunk.25U3NR72.js → chunk.XG2SIOK7.js} +10 -16
  64. package/cdn/chunks/{chunk.TZG7EZIX.js → chunk.XQ3A36HQ.js} +1 -1
  65. package/cdn/chunks/{chunk.5LUW7D6O.js → chunk.XZGF7NVJ.js} +1 -1
  66. package/{dist/chunks/chunk.55V55APE.js → cdn/chunks/chunk.YV37V6WL.js} +1 -1
  67. package/{dist/chunks/chunk.NDY2MFKP.js → cdn/chunks/chunk.Z7PF6UJR.js} +1 -1
  68. package/cdn/chunks/{chunk.BDG35LJJ.js → chunk.ZQK7G6LH.js} +8 -8
  69. package/cdn/chunks/{chunk.JXGOY6TG.js → chunk.ZU6ADSVN.js} +1 -1
  70. package/cdn/components/browse-variables/browse-variables.component.js +21 -20
  71. package/cdn/components/browse-variables/browse-variables.controller.js +3 -3
  72. package/cdn/components/browse-variables/browse-variables.js +22 -21
  73. package/cdn/components/browse-variables/browse-variables.styles.js +1 -1
  74. package/cdn/components/browse-variables/repositories/giovanni.repository.js +2 -2
  75. package/cdn/components/button/button.component.js +6 -6
  76. package/cdn/components/button/button.js +7 -7
  77. package/cdn/components/button/button.styles.js +1 -1
  78. package/cdn/components/chip/chip.component.js +4 -4
  79. package/cdn/components/chip/chip.js +5 -5
  80. package/cdn/components/chip/chip.styles.js +1 -1
  81. package/cdn/components/combobox/combobox.component.js +6 -6
  82. package/cdn/components/combobox/combobox.js +7 -7
  83. package/cdn/components/combobox/combobox.styles.js +1 -1
  84. package/cdn/components/combobox/lib.js +1 -1
  85. package/cdn/components/combobox/type.js +1 -1
  86. package/cdn/components/date-picker/date-picker.component.js +4 -4
  87. package/cdn/components/date-picker/date-picker.js +5 -5
  88. package/cdn/components/date-picker/date-picker.styles.js +1 -1
  89. package/cdn/components/date-range-slider/date-range-slider.component.js +6 -6
  90. package/cdn/components/date-range-slider/date-range-slider.js +7 -7
  91. package/cdn/components/date-range-slider/date-range-slider.styles.js +1 -1
  92. package/cdn/components/date-range-slider/noui-slider-utilities.js +1 -1
  93. package/cdn/components/dialog/dialog.component.js +4 -4
  94. package/cdn/components/dialog/dialog.js +5 -5
  95. package/cdn/components/dialog/dialog.styles.js +1 -1
  96. package/cdn/components/icon/icon.component.js +7 -7
  97. package/cdn/components/icon/icon.js +8 -8
  98. package/cdn/components/icon/icon.styles.js +1 -1
  99. package/cdn/components/icon/library.default.js +1 -1
  100. package/cdn/components/icon/library.heroicons.js +1 -1
  101. package/cdn/components/icon/library.js +3 -3
  102. package/cdn/components/loader/loader.component.js +4 -4
  103. package/cdn/components/loader/loader.js +5 -5
  104. package/cdn/components/loader/loader.styles.js +1 -1
  105. package/cdn/components/login/login.component.js +14 -14
  106. package/cdn/components/login/login.js +15 -15
  107. package/cdn/components/login/login.styles.js +1 -1
  108. package/cdn/components/map/leaflet-draw.styles.js +1 -1
  109. package/cdn/components/map/leaflet-utils.d.ts +1 -1
  110. package/cdn/components/map/leaflet-utils.js +4 -2
  111. package/cdn/components/map/leaflet.styles.js +1 -1
  112. package/cdn/components/map/map.component.d.ts +2 -1
  113. package/cdn/components/map/map.component.js +9 -7
  114. package/cdn/components/map/map.controller.d.ts +1 -1
  115. package/cdn/components/map/map.controller.js +4 -2
  116. package/cdn/components/map/map.js +10 -8
  117. package/cdn/components/map/map.styles.js +1 -1
  118. package/cdn/components/plot/plot.component.js +5 -5
  119. package/cdn/components/plot/plot.js +6 -6
  120. package/cdn/components/plot/plot.styles.js +1 -1
  121. package/cdn/components/skeleton/skeleton.component.js +5 -5
  122. package/cdn/components/skeleton/skeleton.js +6 -6
  123. package/cdn/components/skeleton/skeleton.styles.js +1 -1
  124. package/cdn/components/spatial-picker/spatial-picker.component.js +10 -8
  125. package/cdn/components/spatial-picker/spatial-picker.js +11 -9
  126. package/cdn/components/spatial-picker/spatial-picker.styles.js +1 -1
  127. package/cdn/components/time-series/time-series.component.js +30 -28
  128. package/cdn/components/time-series/time-series.controller.js +2 -2
  129. package/cdn/components/time-series/time-series.js +31 -29
  130. package/cdn/components/time-series/time-series.styles.js +1 -1
  131. package/cdn/components/variable-combobox/lib.js +2 -2
  132. package/cdn/components/variable-combobox/variable-combobox.component.js +15 -15
  133. package/cdn/components/variable-combobox/variable-combobox.controller.js +3 -3
  134. package/cdn/components/variable-combobox/variable-combobox.js +16 -16
  135. package/cdn/components/variable-combobox/variable-combobox.styles.js +1 -1
  136. package/cdn/components/variable-keyword-search/lib.js +1 -1
  137. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +15 -14
  138. package/cdn/components/variable-keyword-search/variable-keyword-search.controller.d.ts +5 -4
  139. package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +3 -2
  140. package/cdn/components/variable-keyword-search/variable-keyword-search.js +16 -15
  141. package/cdn/components/variable-keyword-search/variable-keyword-search.styles.js +1 -1
  142. package/cdn/custom-elements.json +1126 -1126
  143. package/cdn/geojson/giovanni-geojson.d.ts +5 -0
  144. package/cdn/geojson/queries.d.ts +2 -0
  145. package/cdn/geojson/types.d.ts +73 -0
  146. package/cdn/lib/graphql-client.d.ts +2 -0
  147. package/cdn/react/browse-variables/index.js +22 -21
  148. package/cdn/react/button/index.js +7 -7
  149. package/cdn/react/chip/index.js +5 -5
  150. package/cdn/react/combobox/index.js +7 -7
  151. package/cdn/react/date-picker/index.js +5 -5
  152. package/cdn/react/date-range-slider/index.js +7 -7
  153. package/cdn/react/dialog/index.js +5 -5
  154. package/cdn/react/icon/index.js +8 -8
  155. package/cdn/react/index.d.ts +2 -2
  156. package/cdn/react/index.js +69 -67
  157. package/cdn/react/loader/index.js +5 -5
  158. package/cdn/react/login/index.js +15 -15
  159. package/cdn/react/map/index.js +10 -8
  160. package/cdn/react/plot/index.js +6 -6
  161. package/cdn/react/skeleton/index.js +6 -6
  162. package/cdn/react/spatial-picker/index.js +11 -9
  163. package/cdn/react/time-series/index.js +31 -29
  164. package/cdn/react/variable-combobox/index.js +16 -16
  165. package/cdn/react/variable-keyword-search/index.js +16 -15
  166. package/cdn/terra-ui-components-autoloader.js +1 -1
  167. package/cdn/terra-ui-components.js +70 -68
  168. package/cdn/types/vue/index.d.ts +57 -57
  169. package/cdn/utilities/animation-registry.js +1 -1
  170. package/cdn/utilities/animation.js +3 -3
  171. package/cdn/utilities/base-path.js +1 -1
  172. package/cdn/utilities/date.js +1 -1
  173. package/cdn/utilities/form.js +3 -3
  174. package/cdn/utilities/icon-library.js +3 -3
  175. package/cdn/utilities/number.js +1 -1
  176. package/cdn/variable-catalog/giovanni-variable-catalog.d.ts +4 -0
  177. package/cdn/variable-catalog/queries.d.ts +1 -0
  178. package/cdn/variable-catalog/types.d.ts +10 -0
  179. package/cdn/vscode.html-custom-data.json +85 -85
  180. package/cdn/web-types.json +109 -109
  181. package/{cdn/chunks/chunk.OZLHUWHZ.js → dist/chunks/chunk.37TB25W5.js} +1 -1
  182. package/dist/chunks/{chunk.UBBSTKSW.js → chunk.4ZCXZZM3.js} +5 -16
  183. package/dist/chunks/{chunk.PZ74PH5L.js → chunk.57H323P7.js} +1 -1
  184. package/dist/chunks/{chunk.YY2NUPBF.js → chunk.5AOSWMDT.js} +1 -1
  185. package/dist/chunks/chunk.5BT4MERK.js +21 -0
  186. package/dist/chunks/{chunk.ROKXES2M.js → chunk.5C3BK3DD.js} +13 -9
  187. package/dist/chunks/{chunk.W3JB6EN2.js → chunk.6BC7KDU7.js} +4 -4
  188. package/dist/chunks/{chunk.E2OGXHG2.js → chunk.6CVD44CG.js} +1 -1
  189. package/dist/chunks/{chunk.57IHZ3U7.js → chunk.6Z52LJYO.js} +1 -1
  190. package/dist/chunks/{chunk.UEEVZ7FV.js → chunk.77WVGP37.js} +1 -1
  191. package/dist/chunks/{chunk.FXXWVDU7.js → chunk.7CW7OYAA.js} +1 -1
  192. package/dist/chunks/{chunk.KCG2W75N.js → chunk.7QFQWJUX.js} +1 -1
  193. package/dist/chunks/{chunk.NGGIBOGM.js → chunk.7V3PWSYC.js} +4 -4
  194. package/dist/chunks/{chunk.VEWSPG7S.js → chunk.7YA6YPDX.js} +1 -1
  195. package/dist/chunks/chunk.ACUTOX6G.js +104 -0
  196. package/dist/chunks/{chunk.4AD5NHEX.js → chunk.AVJCKEOG.js} +1 -1
  197. package/dist/chunks/{chunk.ZTJWLDIP.js → chunk.AVOXIWLL.js} +1 -1
  198. package/dist/chunks/{chunk.HMLHIPUF.js → chunk.BHWE3JOV.js} +3 -3
  199. package/dist/chunks/{chunk.GPXKIUEG.js → chunk.BNFTF3AF.js} +1 -1
  200. package/dist/chunks/{chunk.2M6WN77B.js → chunk.CEE5JWEL.js} +7 -13
  201. package/dist/chunks/{chunk.IRMROGM5.js → chunk.CJXBG2L2.js} +1 -1
  202. package/dist/chunks/{chunk.ZK6BXJM2.js → chunk.D3CNBHKN.js} +1 -1
  203. package/dist/chunks/{chunk.ZY7333SG.js → chunk.DQAA5TRV.js} +1 -1
  204. package/dist/chunks/{chunk.26GCBU6L.js → chunk.DTUQ7OVY.js} +1 -1
  205. package/dist/chunks/{chunk.ZS53CVPI.js → chunk.EUQOUY73.js} +1 -1
  206. package/dist/chunks/{chunk.A2VBIBDB.js → chunk.FUNHBD3Q.js} +1 -1
  207. package/{cdn/chunks/chunk.56MSIBJC.js → dist/chunks/chunk.GSKVFMKR.js} +1 -1
  208. package/{cdn/chunks/chunk.FZ7VVHRU.js → dist/chunks/chunk.H4IGXIVH.js} +1 -1
  209. package/{cdn/chunks/chunk.6VPPNRMC.js → dist/chunks/chunk.H6OKMLB5.js} +1 -1
  210. package/dist/chunks/{chunk.MBEJXOQR.js → chunk.HPH7B5RV.js} +5 -4
  211. package/{cdn/chunks/chunk.5O3N4YQB.js → dist/chunks/chunk.IYIJ4JHT.js} +1 -1
  212. package/{cdn/chunks/chunk.RBUWWPTA.js → dist/chunks/chunk.J4TUNVY6.js} +1 -1
  213. package/dist/chunks/{chunk.T3YDWJBU.js → chunk.JGRZMEMQ.js} +34 -12
  214. package/dist/chunks/{chunk.DIU4FMUD.js → chunk.JOL2QHUX.js} +1 -1
  215. package/dist/chunks/{chunk.WZZS6KZX.js → chunk.K2UQ5J5Y.js} +1 -1
  216. package/dist/chunks/{chunk.P4CJWP6V.js → chunk.KNYS36RI.js} +6 -6
  217. package/dist/chunks/{chunk.MRIC7GU3.js → chunk.KXVLGKFP.js} +1 -1
  218. package/{cdn/chunks/chunk.XSRLMKQS.js → dist/chunks/chunk.LDXJZ2B3.js} +1 -1
  219. package/dist/chunks/{chunk.Z2ELMSYN.js → chunk.M6QZS4UJ.js} +1 -1
  220. package/{cdn/chunks/chunk.CB4NTZIT.js → dist/chunks/chunk.M6R5AG7U.js} +1 -1
  221. package/dist/chunks/{chunk.PYQF2X37.js → chunk.MC6B7NQH.js} +1 -1
  222. package/{cdn/chunks/chunk.SQHR3ZCR.js → dist/chunks/chunk.MIMZJ6IP.js} +1 -1
  223. package/{cdn/chunks/chunk.QORWAVV6.js → dist/chunks/chunk.MQVOSN5I.js} +1 -1
  224. package/{cdn/chunks/chunk.GZUF7R2X.js → dist/chunks/chunk.MZLJ2SW2.js} +1 -1
  225. package/{cdn/chunks/chunk.L5OP3IFK.js → dist/chunks/chunk.NOK72OMX.js} +1 -1
  226. package/{cdn/chunks/chunk.2XYNLO3T.js → dist/chunks/chunk.NS2XBY2W.js} +1 -1
  227. package/dist/chunks/{chunk.6NFTQBAG.js → chunk.P53EA62V.js} +8 -8
  228. package/dist/chunks/{chunk.6OHX7MFV.js → chunk.P7N5DB3S.js} +1 -1
  229. package/{cdn/chunks/chunk.3L732GCE.js → dist/chunks/chunk.PL2E7TDA.js} +1 -1
  230. package/dist/chunks/{chunk.OBSBNTPE.js → chunk.QWGGWP3G.js} +1 -1
  231. package/dist/chunks/{chunk.27RXIW7H.js → chunk.RNKJDMGE.js} +1 -1
  232. package/dist/chunks/{chunk.FNVJAT2N.js → chunk.SDW6HUGX.js} +1 -1
  233. package/{cdn/chunks/chunk.D3IGIATM.js → dist/chunks/chunk.TNVTVMRS.js} +1 -1
  234. package/{cdn/chunks/chunk.7T5YSU5Z.js → dist/chunks/chunk.TPITM5XY.js} +1 -1
  235. package/dist/chunks/{chunk.ORBMIL2S.js → chunk.TQBOEKS6.js} +1 -1
  236. package/{cdn/chunks/chunk.QCAHWIQS.js → dist/chunks/chunk.TRBPFDIW.js} +1 -1
  237. package/dist/chunks/chunk.XWRIA5G5.js +63 -0
  238. package/{cdn/chunks/chunk.BET4SRAZ.js → dist/chunks/chunk.YXL3ZYZS.js} +1 -1
  239. package/dist/chunks/{chunk.Q6ULCJ5A.js → chunk.ZAG3VX64.js} +5 -5
  240. package/{cdn/chunks/chunk.YGW24TS3.js → dist/chunks/chunk.ZUEBNW2J.js} +1 -1
  241. package/dist/components/browse-variables/browse-variables.component.js +15 -14
  242. package/dist/components/browse-variables/browse-variables.controller.js +2 -2
  243. package/dist/components/browse-variables/browse-variables.js +16 -15
  244. package/dist/components/browse-variables/repositories/giovanni.repository.js +1 -1
  245. package/dist/components/button/button.component.js +2 -2
  246. package/dist/components/button/button.js +3 -3
  247. package/dist/components/chip/chip.component.js +2 -2
  248. package/dist/components/chip/chip.js +3 -3
  249. package/dist/components/combobox/combobox.component.js +2 -2
  250. package/dist/components/combobox/combobox.js +3 -3
  251. package/dist/components/date-picker/date-picker.component.js +2 -2
  252. package/dist/components/date-picker/date-picker.js +3 -3
  253. package/dist/components/date-range-slider/date-range-slider.component.js +3 -3
  254. package/dist/components/date-range-slider/date-range-slider.js +4 -4
  255. package/dist/components/dialog/dialog.component.js +2 -2
  256. package/dist/components/dialog/dialog.js +3 -3
  257. package/dist/components/icon/icon.component.js +4 -4
  258. package/dist/components/icon/icon.js +5 -5
  259. package/dist/components/icon/library.js +2 -2
  260. package/dist/components/loader/loader.component.js +2 -2
  261. package/dist/components/loader/loader.js +3 -3
  262. package/dist/components/login/login.component.js +10 -10
  263. package/dist/components/login/login.js +11 -11
  264. package/dist/components/map/leaflet-utils.d.ts +1 -1
  265. package/dist/components/map/leaflet-utils.js +3 -1
  266. package/dist/components/map/map.component.d.ts +2 -1
  267. package/dist/components/map/map.component.js +6 -4
  268. package/dist/components/map/map.controller.d.ts +1 -1
  269. package/dist/components/map/map.controller.js +3 -1
  270. package/dist/components/map/map.js +7 -5
  271. package/dist/components/plot/plot.component.js +2 -2
  272. package/dist/components/plot/plot.js +3 -3
  273. package/dist/components/skeleton/skeleton.component.js +2 -2
  274. package/dist/components/skeleton/skeleton.js +3 -3
  275. package/dist/components/spatial-picker/spatial-picker.component.js +7 -5
  276. package/dist/components/spatial-picker/spatial-picker.js +8 -6
  277. package/dist/components/time-series/time-series.component.js +21 -19
  278. package/dist/components/time-series/time-series.js +22 -20
  279. package/dist/components/variable-combobox/variable-combobox.component.js +9 -9
  280. package/dist/components/variable-combobox/variable-combobox.controller.js +1 -1
  281. package/dist/components/variable-combobox/variable-combobox.js +10 -10
  282. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +10 -9
  283. package/dist/components/variable-keyword-search/variable-keyword-search.controller.d.ts +5 -4
  284. package/dist/components/variable-keyword-search/variable-keyword-search.controller.js +2 -1
  285. package/dist/components/variable-keyword-search/variable-keyword-search.js +11 -10
  286. package/dist/custom-elements.json +1126 -1126
  287. package/dist/geojson/giovanni-geojson.d.ts +5 -0
  288. package/dist/geojson/queries.d.ts +2 -0
  289. package/dist/geojson/types.d.ts +73 -0
  290. package/dist/lib/graphql-client.d.ts +2 -0
  291. package/dist/react/browse-variables/index.js +16 -15
  292. package/dist/react/button/index.js +3 -3
  293. package/dist/react/chip/index.js +3 -3
  294. package/dist/react/combobox/index.js +3 -3
  295. package/dist/react/date-picker/index.js +3 -3
  296. package/dist/react/date-range-slider/index.js +4 -4
  297. package/dist/react/dialog/index.js +3 -3
  298. package/dist/react/icon/index.js +5 -5
  299. package/dist/react/index.d.ts +2 -2
  300. package/dist/react/index.js +59 -57
  301. package/dist/react/loader/index.js +3 -3
  302. package/dist/react/login/index.js +11 -11
  303. package/dist/react/map/index.js +7 -5
  304. package/dist/react/plot/index.js +3 -3
  305. package/dist/react/skeleton/index.js +3 -3
  306. package/dist/react/spatial-picker/index.js +8 -6
  307. package/dist/react/time-series/index.js +22 -20
  308. package/dist/react/variable-combobox/index.js +10 -10
  309. package/dist/react/variable-keyword-search/index.js +11 -10
  310. package/dist/terra-ui-components.js +57 -55
  311. package/dist/{terra_ui_components-0.0.40-py3-none-any.whl → terra_ui_components-0.0.42-py3-none-any.whl} +0 -0
  312. package/dist/{terra_ui_components-0.0.40.tar.gz → terra_ui_components-0.0.42.tar.gz} +0 -0
  313. package/dist/types/vue/index.d.ts +57 -57
  314. package/dist/utilities/icon-library.js +2 -2
  315. package/dist/variable-catalog/giovanni-variable-catalog.d.ts +4 -0
  316. package/dist/variable-catalog/queries.d.ts +1 -0
  317. package/dist/variable-catalog/types.d.ts +10 -0
  318. package/dist/vscode.html-custom-data.json +85 -85
  319. package/dist/web-types.json +109 -109
  320. package/package.json +5 -1
  321. package/cdn/chunks/chunk.SBTMIM4P.js +0 -26
  322. package/dist/chunks/chunk.SBTMIM4P.js +0 -26
  323. package/cdn/chunks/{chunk.7DOMZGX7.js → chunk.MDRUDBRH.js} +3 -3
  324. package/dist/chunks/{chunk.7DOMZGX7.js → chunk.MDRUDBRH.js} +3 -3
@@ -1,102 +1,34 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@nasa-terra/components",
4
- "version": "0.0.40",
4
+ "version": "0.0.42",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [
9
9
  {
10
- "name": "terra-combobox",
11
- "description": "Fuzzy-search for combobox with list autocomplete.\n---\n\n\n### **CSS Properties:**\n - **--host-height** - The height of the host element. _(default: undefined)_\n- **--help-height** - The height of the search help element. _(default: undefined)_\n- **--label-height** - The height of the input's label element. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - A `search` element, the component's base.\n- **combobox** - An `input` element used for searching.\n- **button** - A `button` used for toggling the listbox's visibility.\n- **listbox** - A `ul` that holds the clickable options.",
10
+ "name": "terra-browse-variables",
11
+ "description": "Browse through the NASA CMR or Giovanni catalogs.\n---\n",
12
12
  "doc-url": "",
13
13
  "attributes": [
14
14
  {
15
- "name": "label",
16
- "description": "Label the combobox with this.",
17
- "value": { "type": "string", "default": "'Search for Items'" }
18
- },
19
- {
20
- "name": "name",
21
- "description": "name the combobox with this.",
22
- "value": { "type": "string", "default": "'Item'" }
23
- },
24
- {
25
- "name": "placeholder",
26
- "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
27
- "value": { "type": "string" }
28
- },
29
- {
30
- "name": "hide-help",
31
- "description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
32
- "value": { "type": "boolean", "default": "false" }
33
- },
34
- {
35
- "name": "hide-label",
36
- "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
37
- "value": { "type": "boolean", "default": "false" }
38
- },
39
- {
40
- "name": "status",
41
- "description": "status of the content",
42
- "value": {
43
- "type": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'",
44
- "default": "'INITIAL'"
45
- }
46
- },
47
- {
48
- "name": "content",
49
- "description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
50
- "value": {
51
- "type": "Content",
52
- "default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }"
53
- }
15
+ "name": "catalog",
16
+ "description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
17
+ "value": { "type": "'giovanni'", "default": "'giovanni'" }
54
18
  }
55
19
  ],
56
20
  "events": [],
57
21
  "js": {
58
22
  "properties": [
59
23
  {
60
- "name": "label",
61
- "description": "Label the combobox with this.",
62
- "type": "string"
63
- },
64
- {
65
- "name": "name",
66
- "description": "name the combobox with this.",
67
- "type": "string"
68
- },
69
- {
70
- "name": "placeholder",
71
- "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
72
- "type": "string"
73
- },
74
- {
75
- "name": "hideHelp",
76
- "description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
77
- "type": "boolean"
78
- },
79
- {
80
- "name": "hideLabel",
81
- "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
82
- "type": "boolean"
83
- },
84
- {
85
- "name": "status",
86
- "description": "status of the content",
87
- "type": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
88
- },
89
- {
90
- "name": "content",
91
- "description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
92
- "type": "Content"
24
+ "name": "catalog",
25
+ "description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
26
+ "type": "'giovanni'"
93
27
  },
94
- { "name": "isExpanded", "type": "boolean" },
95
- { "name": "query" },
96
- {
97
- "name": "searchResults",
98
- "type": "GroupedListItem[] | ListItem[]"
99
- }
28
+ { "name": "searchQuery", "type": "string" },
29
+ { "name": "selectedFacets", "type": "SelectedFacets" },
30
+ { "name": "selectedVariables", "type": "Variable[]" },
31
+ { "name": "showVariablesBrowse", "type": "boolean" }
100
32
  ],
101
33
  "events": []
102
34
  }
@@ -378,33 +310,6 @@
378
310
  "events": []
379
311
  }
380
312
  },
381
- {
382
- "name": "terra-browse-variables",
383
- "description": "Browse through the NASA CMR or Giovanni catalogs.\n---\n",
384
- "doc-url": "",
385
- "attributes": [
386
- {
387
- "name": "catalog",
388
- "description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
389
- "value": { "type": "'giovanni'", "default": "'giovanni'" }
390
- }
391
- ],
392
- "events": [],
393
- "js": {
394
- "properties": [
395
- {
396
- "name": "catalog",
397
- "description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
398
- "type": "'giovanni'"
399
- },
400
- { "name": "searchQuery", "type": "string" },
401
- { "name": "selectedFacets", "type": "SelectedFacets" },
402
- { "name": "selectedVariables", "type": "Variable[]" },
403
- { "name": "showVariablesBrowse", "type": "boolean" }
404
- ],
405
- "events": []
406
- }
407
- },
408
313
  {
409
314
  "name": "terra-chip",
410
315
  "description": "Used for contacts and tags\n---\n\n\n### **Slots:**\n - _default_ - The chip's label.",
@@ -528,6 +433,101 @@
528
433
  "events": []
529
434
  }
530
435
  },
436
+ {
437
+ "name": "terra-combobox",
438
+ "description": "Fuzzy-search for combobox with list autocomplete.\n---\n\n\n### **CSS Properties:**\n - **--host-height** - The height of the host element. _(default: undefined)_\n- **--help-height** - The height of the search help element. _(default: undefined)_\n- **--label-height** - The height of the input's label element. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - A `search` element, the component's base.\n- **combobox** - An `input` element used for searching.\n- **button** - A `button` used for toggling the listbox's visibility.\n- **listbox** - A `ul` that holds the clickable options.",
439
+ "doc-url": "",
440
+ "attributes": [
441
+ {
442
+ "name": "label",
443
+ "description": "Label the combobox with this.",
444
+ "value": { "type": "string", "default": "'Search for Items'" }
445
+ },
446
+ {
447
+ "name": "name",
448
+ "description": "name the combobox with this.",
449
+ "value": { "type": "string", "default": "'Item'" }
450
+ },
451
+ {
452
+ "name": "placeholder",
453
+ "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
454
+ "value": { "type": "string" }
455
+ },
456
+ {
457
+ "name": "hide-help",
458
+ "description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
459
+ "value": { "type": "boolean", "default": "false" }
460
+ },
461
+ {
462
+ "name": "hide-label",
463
+ "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
464
+ "value": { "type": "boolean", "default": "false" }
465
+ },
466
+ {
467
+ "name": "status",
468
+ "description": "status of the content",
469
+ "value": {
470
+ "type": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'",
471
+ "default": "'INITIAL'"
472
+ }
473
+ },
474
+ {
475
+ "name": "content",
476
+ "description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
477
+ "value": {
478
+ "type": "Content",
479
+ "default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }"
480
+ }
481
+ }
482
+ ],
483
+ "events": [],
484
+ "js": {
485
+ "properties": [
486
+ {
487
+ "name": "label",
488
+ "description": "Label the combobox with this.",
489
+ "type": "string"
490
+ },
491
+ {
492
+ "name": "name",
493
+ "description": "name the combobox with this.",
494
+ "type": "string"
495
+ },
496
+ {
497
+ "name": "placeholder",
498
+ "description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
499
+ "type": "string"
500
+ },
501
+ {
502
+ "name": "hideHelp",
503
+ "description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
504
+ "type": "boolean"
505
+ },
506
+ {
507
+ "name": "hideLabel",
508
+ "description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
509
+ "type": "boolean"
510
+ },
511
+ {
512
+ "name": "status",
513
+ "description": "status of the content",
514
+ "type": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
515
+ },
516
+ {
517
+ "name": "content",
518
+ "description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
519
+ "type": "Content"
520
+ },
521
+ { "name": "isExpanded", "type": "boolean" },
522
+ { "name": "query" },
523
+ {
524
+ "name": "searchResults",
525
+ "type": "GroupedListItem[] | ListItem[]"
526
+ }
527
+ ],
528
+ "events": []
529
+ }
530
+ },
531
531
  {
532
532
  "name": "terra-date-range-slider",
533
533
  "description": "Short summary of the component's intended use.\n---\n\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
@@ -892,7 +892,7 @@
892
892
  {
893
893
  "name": "shapes",
894
894
  "description": "List of geojson shapes",
895
- "type": "any"
895
+ "type": "ShapeFilesResponse"
896
896
  },
897
897
  { "name": "_mapController", "type": "MapController" }
898
898
  ],
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraSkeleton
3
- } from "./chunk.VMGDCNZ6.js";
3
+ } from "./chunk.D3CNBHKN.js";
4
4
 
5
5
  // src/react/skeleton/index.ts
6
6
  import * as React from "react";
@@ -1,3 +1,6 @@
1
+ import {
2
+ GiovanniGeoJsonShapes
3
+ } from "./chunk.ACUTOX6G.js";
1
4
  import {
2
5
  __spreadValues
3
6
  } from "./chunk.TVFCHGU3.js";
@@ -48,6 +51,7 @@ var Leaflet = class {
48
51
  this.listeners = [];
49
52
  this.isMapReady = false;
50
53
  this.handleShapeSelect = this.handleShapeSelect.bind(this);
54
+ this.geoJsonRepository = new GiovanniGeoJsonShapes();
51
55
  }
52
56
  // map initialization function
53
57
  initializeMap(container, options) {
@@ -212,28 +216,13 @@ var Leaflet = class {
212
216
  });
213
217
  return transformedShapes;
214
218
  }
215
- async fetchSelectedShape(query) {
216
- const url = new URL(
217
- "https://windmill-load-balancer-641499207.us-east-1.elb.amazonaws.com/api/r/giovanni/geojson"
218
- );
219
- const [key, value] = query.split("=");
220
- if (key && value) {
221
- url.searchParams.append(key, value);
222
- }
223
- const data = await fetch(url.toString(), {
224
- method: "GET",
225
- mode: "cors"
226
- });
227
- const shape = await data.json();
228
- return shape;
229
- }
230
219
  async handleShapeSelect(event) {
231
220
  var _a;
232
221
  event.preventDefault();
233
222
  const selectedShape = event.target.value;
234
223
  if (!selectedShape)
235
224
  return;
236
- const shapeGeoJson = await this.fetchSelectedShape(selectedShape);
225
+ const shapeGeoJson = await this.geoJsonRepository.getGeoJson(selectedShape);
237
226
  if ((_a = this.selectedGeoJson) == null ? void 0 : _a.hasLayer) {
238
227
  this.selectedGeoJson.remove();
239
228
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraDateRangeSlider
3
- } from "./chunk.NGGIBOGM.js";
3
+ } from "./chunk.7V3PWSYC.js";
4
4
 
5
5
  // src/react/date-range-slider/index.ts
6
6
  import * as React from "react";
@@ -22,7 +22,7 @@ var FetchController = class {
22
22
  __privateSet(this, _apiTask, new Task(host, {
23
23
  task: async () => {
24
24
  const response = await fetch(
25
- "https://windmill-load-balancer-641499207.us-east-1.elb.amazonaws.com/api/r/website/data-rods-variables",
25
+ "https://lb.gesdisc.eosdis.nasa.gov/windmill/api/r/website/data-rods-variables",
26
26
  {
27
27
  headers: __spreadValues({
28
28
  Accept: "application/json"
@@ -0,0 +1,21 @@
1
+ import {
2
+ GiovanniGeoJsonShapes
3
+ } from "./chunk.ACUTOX6G.js";
4
+
5
+ // src/components/map/map.controller.ts
6
+ var MapController = class {
7
+ constructor(host) {
8
+ this.host = host;
9
+ this.geoJsonShapes = new GiovanniGeoJsonShapes();
10
+ this.host.addController(this);
11
+ }
12
+ async hostConnected() {
13
+ if (this.host.hasShapeSelector) {
14
+ this.host.shapes = await this.geoJsonShapes.getShapeFiles();
15
+ }
16
+ }
17
+ };
18
+
19
+ export {
20
+ MapController
21
+ };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  TerraVariableKeywordSearch
3
- } from "./chunk.MBEJXOQR.js";
3
+ } from "./chunk.HPH7B5RV.js";
4
4
  import {
5
5
  TerraSkeleton
6
- } from "./chunk.ZK6BXJM2.js";
6
+ } from "./chunk.D3CNBHKN.js";
7
7
  import {
8
8
  getRandomIntInclusive
9
9
  } from "./chunk.7PAVW6KC.js";
10
10
  import {
11
11
  TerraLoader
12
- } from "./chunk.E2OGXHG2.js";
12
+ } from "./chunk.6CVD44CG.js";
13
13
  import {
14
14
  TerraIcon
15
- } from "./chunk.Q6ULCJ5A.js";
15
+ } from "./chunk.ZAG3VX64.js";
16
16
  import {
17
17
  BrowseVariablesController
18
- } from "./chunk.Z2ELMSYN.js";
18
+ } from "./chunk.M6QZS4UJ.js";
19
19
  import {
20
20
  browse_variables_styles_default
21
21
  } from "./chunk.DNBZHQCS.js";
22
22
  import {
23
23
  TerraButton
24
- } from "./chunk.6OHX7MFV.js";
24
+ } from "./chunk.P7N5DB3S.js";
25
25
  import {
26
26
  watch
27
27
  } from "./chunk.SK7IZCKP.js";
28
28
  import {
29
29
  TerraElement,
30
30
  component_styles_default
31
- } from "./chunk.KCG2W75N.js";
31
+ } from "./chunk.7QFQWJUX.js";
32
32
  import {
33
33
  __decorateClass,
34
34
  __objRest,
@@ -99,6 +99,7 @@ var TerraBrowseVariables = class extends TerraElement {
99
99
  handleSearch(e) {
100
100
  this.selectedFacets = {};
101
101
  this.searchQuery = e.detail;
102
+ this.showVariablesBrowse = true;
102
103
  }
103
104
  render() {
104
105
  const showLoader = __privateGet(this, _controller).task.status === TaskStatus.PENDING && // only show the loader when doing a fetch
@@ -389,6 +390,7 @@ renderVariablesBrowse_fn = function() {
389
390
  const input = e.currentTarget;
390
391
  __privateMethod(this, _handleVariableSelection, handleVariableSelection_fn).call(this, variable, input.checked);
391
392
  }}
393
+ style="display: none;"
392
394
  />
393
395
  <strong
394
396
  >${variable.dataFieldLongName}</strong
@@ -428,8 +430,10 @@ renderVariablesBrowse_fn = function() {
428
430
  </sl-drawer>
429
431
 
430
432
  <terra-button
431
- @click=${(_event) => {
432
- const drawer = this.renderRoot.querySelector(
433
+ @click=${(event) => {
434
+ var _a;
435
+ const button = event.currentTarget;
436
+ const drawer = (_a = button.closest(".variable")) == null ? void 0 : _a.querySelector(
433
437
  "sl-drawer"
434
438
  );
435
439
  drawer.show();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  FetchController
3
- } from "./chunk.YY2NUPBF.js";
3
+ } from "./chunk.5AOSWMDT.js";
4
4
  import {
5
5
  variable_combobox_styles_default
6
6
  } from "./chunk.HJGC45MW.js";
@@ -14,17 +14,17 @@ import {
14
14
  } from "./chunk.5LMWCV76.js";
15
15
  import {
16
16
  icon_default
17
- } from "./chunk.FNVJAT2N.js";
17
+ } from "./chunk.SDW6HUGX.js";
18
18
  import {
19
19
  button_default
20
- } from "./chunk.V747WCNA.js";
20
+ } from "./chunk.YXL3ZYZS.js";
21
21
  import {
22
22
  watch
23
23
  } from "./chunk.SK7IZCKP.js";
24
24
  import {
25
25
  TerraElement,
26
26
  component_styles_default
27
- } from "./chunk.KCG2W75N.js";
27
+ } from "./chunk.7QFQWJUX.js";
28
28
  import {
29
29
  __decorateClass,
30
30
  __privateAdd,
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  TerraElement,
6
6
  component_styles_default
7
- } from "./chunk.KCG2W75N.js";
7
+ } from "./chunk.7QFQWJUX.js";
8
8
  import {
9
9
  __decorateClass
10
10
  } from "./chunk.TVFCHGU3.js";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  TerraElement,
6
6
  component_styles_default
7
- } from "./chunk.KCG2W75N.js";
7
+ } from "./chunk.7QFQWJUX.js";
8
8
  import {
9
9
  __decorateClass,
10
10
  __privateAdd,
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  TerraElement,
6
6
  component_styles_default
7
- } from "./chunk.KCG2W75N.js";
7
+ } from "./chunk.7QFQWJUX.js";
8
8
  import {
9
9
  __decorateClass
10
10
  } from "./chunk.TVFCHGU3.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraCombobox
3
- } from "./chunk.MRIC7GU3.js";
3
+ } from "./chunk.KXVLGKFP.js";
4
4
 
5
5
  // src/components/combobox/combobox.ts
6
6
  var combobox_default = TerraCombobox;
@@ -360,7 +360,7 @@ var TerraElement = class extends LitElement {
360
360
  };
361
361
  /* eslint-disable */
362
362
  // @ts-expect-error This is auto-injected at build time.
363
- TerraElement.version = "0.0.40";
363
+ TerraElement.version = "0.0.42";
364
364
  TerraElement.dependencies = {};
365
365
  __decorateClass([
366
366
  property()
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  isValidDate
3
3
  } from "./chunk.OIDMX5LU.js";
4
- import {
5
- date_range_slider_styles_default
6
- } from "./chunk.62YHGVQN.js";
7
4
  import {
8
5
  mergeTooltips
9
6
  } from "./chunk.KW4TJM4C.js";
7
+ import {
8
+ date_range_slider_styles_default
9
+ } from "./chunk.62YHGVQN.js";
10
10
  import {
11
11
  watch
12
12
  } from "./chunk.SK7IZCKP.js";
13
13
  import {
14
14
  TerraElement,
15
15
  component_styles_default
16
- } from "./chunk.KCG2W75N.js";
16
+ } from "./chunk.7QFQWJUX.js";
17
17
  import {
18
18
  __decorateClass
19
19
  } from "./chunk.TVFCHGU3.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraDatePicker
3
- } from "./chunk.UEEVZ7FV.js";
3
+ } from "./chunk.77WVGP37.js";
4
4
 
5
5
  // src/components/date-picker/date-picker.ts
6
6
  var date_picker_default = TerraDatePicker;
@@ -0,0 +1,104 @@
1
+ import {
2
+ getGraphQLClient
3
+ } from "./chunk.XWRIA5G5.js";
4
+
5
+ // src/geojson/queries.ts
6
+ import { gql } from "@apollo/client";
7
+ var GET_SHAPE_FILES = gql`
8
+ query {
9
+ shapeFiles {
10
+ categories {
11
+ shapefileID
12
+ title
13
+ sourceName
14
+ sourceURL
15
+ shapes {
16
+ name
17
+ shapeID
18
+ shapefileID
19
+ }
20
+ }
21
+ }
22
+ }
23
+ `;
24
+ var GET_GEOJSON_SHAPE = gql`
25
+ query GetGeoJsonShape($shape: String!) {
26
+ getGeoJsonShape(shape: $shape) {
27
+ type
28
+ features {
29
+ type
30
+ geometry {
31
+ type
32
+ coordinates
33
+ }
34
+ properties {
35
+ TYPE
36
+ RIVER
37
+ USE_1
38
+ USE_2
39
+ USE_3
40
+ ELEV_M
41
+ COUNTRY
42
+ GLWD_ID
43
+ LAT_DEG
44
+ VOL_SRC
45
+ AREA_SKM
46
+ DAM_NAME
47
+ DAM_YEAR
48
+ LONG_DEG
49
+ LRS_AREA
50
+ PERIM_KM
51
+ POLY_SRC
52
+ gShapeID
53
+ LAKE_NAME
54
+ LRS_CATCH
55
+ MGLD_AREA
56
+ MGLD_TYPE
57
+ NEAR_CITY
58
+ SEC_CNTRY
59
+ CATCH_TSKM
60
+ DAM_HEIGHT
61
+ INFLOW_CMS
62
+ LRS_AR_SRC
63
+ VOLUME_CKM
64
+ }
65
+ }
66
+ }
67
+ }
68
+ `;
69
+
70
+ // src/geojson/giovanni-geojson.ts
71
+ var GiovanniGeoJsonShapes = class {
72
+ async getShapeFiles() {
73
+ const client = await getGraphQLClient();
74
+ const response = await client.query({
75
+ query: GET_SHAPE_FILES,
76
+ fetchPolicy: "cache-first"
77
+ });
78
+ if (response.errors) {
79
+ throw new Error(
80
+ `Failed to fetch shape files: ${response.errors[0].message}`
81
+ );
82
+ }
83
+ return response.data.shapeFiles;
84
+ }
85
+ async getGeoJson(query) {
86
+ const client = await getGraphQLClient();
87
+ const shapeId = query.replace("shape=", "");
88
+ const response = await client.query({
89
+ query: GET_GEOJSON_SHAPE,
90
+ variables: {
91
+ shape: shapeId
92
+ },
93
+ fetchPolicy: "cache-first"
94
+ });
95
+ if (response.errors) {
96
+ throw new Error(`Failed to fetch GeoJSON: ${response.errors[0].message}`);
97
+ }
98
+ return response.data.getGeoJsonShape;
99
+ }
100
+ };
101
+
102
+ export {
103
+ GiovanniGeoJsonShapes
104
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraButton
3
- } from "./chunk.6OHX7MFV.js";
3
+ } from "./chunk.P7N5DB3S.js";
4
4
 
5
5
  // src/react/button/index.ts
6
6
  import * as React from "react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TerraVariableKeywordSearch
3
- } from "./chunk.MBEJXOQR.js";
3
+ } from "./chunk.HPH7B5RV.js";
4
4
 
5
5
  // src/components/variable-keyword-search/variable-keyword-search.ts
6
6
  var variable_keyword_search_default = TerraVariableKeywordSearch;