@nasa-terra/components 0.0.43 → 0.0.44

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 (329) hide show
  1. package/cdn/chunks/{chunk.KJ4BZBTX.js → chunk.27EMK3NO.js} +16 -4
  2. package/cdn/chunks/chunk.2BFX62WX.js +21 -0
  3. package/cdn/chunks/{chunk.CH45CXZY.js → chunk.2ZL3QN2E.js} +1 -1
  4. package/cdn/chunks/{chunk.L5Q6MO7Q.js → chunk.3I2TF7C4.js} +1 -1
  5. package/cdn/chunks/{chunk.XAQF3BDY.js → chunk.4DO5RUBU.js} +1 -1
  6. package/cdn/chunks/{chunk.SNULTXLY.js → chunk.4UYNOT7W.js} +1 -1
  7. package/{dist/chunks/chunk.CPI32ZAZ.js → cdn/chunks/chunk.4VENQJPO.js} +1 -1
  8. package/cdn/chunks/{chunk.XTDVJMOY.js → chunk.4YMYCX75.js} +1 -1
  9. package/cdn/chunks/{chunk.S4INEVCC.js → chunk.5BHGM65J.js} +10 -10
  10. package/cdn/chunks/{chunk.ZJAN35CA.js → chunk.5BZ4EDIL.js} +1 -1
  11. package/cdn/chunks/{chunk.2GGZHPMT.js → chunk.6EHGJWBN.js} +10 -10
  12. package/cdn/chunks/{chunk.MUAWDIKB.js → chunk.6NEMJOXS.js} +2 -2
  13. package/cdn/chunks/{chunk.FBCYHMRV.js → chunk.6UN7FSXA.js} +4 -4
  14. package/cdn/chunks/chunk.754XAIN7.js +39 -0
  15. package/{dist/chunks/chunk.LNGXE27U.js → cdn/chunks/chunk.7MU72IVZ.js} +1 -1
  16. package/cdn/chunks/{chunk.BKOLMPIY.js → chunk.ALXMBVVZ.js} +3 -3
  17. package/cdn/chunks/{chunk.4XFHUWXK.js → chunk.BW6HVRN4.js} +1 -1
  18. package/{dist/chunks/chunk.FLB4JM62.js → cdn/chunks/chunk.BXSJFGGP.js} +1 -1
  19. package/cdn/chunks/{chunk.OGI7F4SN.js → chunk.CN4PWRCO.js} +1 -1
  20. package/cdn/chunks/chunk.CXMIJOGY.js +11 -0
  21. package/cdn/chunks/chunk.E32UNFUD.js +187 -0
  22. package/{dist/chunks/chunk.V7QPBR74.js → cdn/chunks/chunk.EABPJM4K.js} +1 -1
  23. package/cdn/chunks/{chunk.3JPFQJXJ.js → chunk.EDHE5LYN.js} +9 -9
  24. package/cdn/chunks/{chunk.RGXPGRGO.js → chunk.EMBXVUIE.js} +1 -1
  25. package/cdn/chunks/{chunk.UJXGVWQA.js → chunk.EWAYMWRC.js} +1 -1
  26. package/cdn/chunks/{chunk.7HEVEWEJ.js → chunk.G3KUAHGF.js} +15 -15
  27. package/{dist/chunks/chunk.5SCGJTRA.js → cdn/chunks/chunk.GCAMRTXJ.js} +1 -1
  28. package/cdn/chunks/{chunk.RBDPBQSI.js → chunk.GL6JG3XV.js} +1 -1
  29. package/cdn/chunks/{chunk.WI5HA4EV.js → chunk.GYLB33OZ.js} +1 -1
  30. package/{dist/chunks/chunk.4CGQC6VG.js → cdn/chunks/chunk.GZHR4GPY.js} +1 -1
  31. package/cdn/chunks/{chunk.IAPB27AW.js → chunk.H23L4QKO.js} +6 -6
  32. package/cdn/chunks/{chunk.5TCPFCD2.js → chunk.HD45UIMB.js} +7 -7
  33. package/{dist/chunks/chunk.N2FQ2MRM.js → cdn/chunks/chunk.HWTTKAUR.js} +1 -1
  34. package/cdn/chunks/{chunk.ANZFZPPU.js → chunk.IL7RNVV6.js} +84 -27
  35. package/{dist/chunks/chunk.H7YVB7XB.js → cdn/chunks/chunk.JACHBLN5.js} +1 -1
  36. package/{dist/chunks/chunk.T6R6HWM7.js → cdn/chunks/chunk.JQETEJPO.js} +1 -1
  37. package/cdn/chunks/{chunk.TY7DVGTP.js → chunk.K23IQJ74.js} +5 -5
  38. package/cdn/chunks/{chunk.BPNFS4ED.js → chunk.K6GAF43H.js} +1 -1
  39. package/cdn/chunks/{chunk.JZBUILMZ.js → chunk.KIR56MAA.js} +50 -6
  40. package/cdn/chunks/{chunk.NL52F475.js → chunk.KK22KVB3.js} +1 -1
  41. package/cdn/chunks/{chunk.QUT2NHTH.js → chunk.KTWUFC2X.js} +1 -1
  42. package/cdn/chunks/{chunk.FROJF7FV.js → chunk.KXV2VFRZ.js} +2 -2
  43. package/cdn/chunks/{chunk.XGH62P7U.js → chunk.LIQO4PBF.js} +1 -1
  44. package/{dist/chunks/chunk.AFI6EDPJ.js → cdn/chunks/chunk.LJJH36WV.js} +1 -1
  45. package/cdn/chunks/{chunk.4T3FDB6X.js → chunk.MV5I3VKS.js} +1 -1
  46. package/cdn/chunks/{chunk.E6NS2XK6.js → chunk.OEZDKHKJ.js} +1 -1
  47. package/cdn/chunks/{chunk.XJVNZTEE.js → chunk.OW6RZGKY.js} +1 -1
  48. package/cdn/chunks/{chunk.GGDBLPBD.js → chunk.PKYRPEMV.js} +1 -1
  49. package/{dist/chunks/chunk.WSTFOCG3.js → cdn/chunks/chunk.QRIUCU7O.js} +1 -1
  50. package/{dist/chunks/chunk.YS5RGF3Z.js → cdn/chunks/chunk.QY4XLR3T.js} +1 -1
  51. package/cdn/chunks/{chunk.HNZE7Q25.js → chunk.RMO3MGXB.js} +1 -1
  52. package/cdn/chunks/{chunk.D2R6EOTB.js → chunk.SRPUN5BY.js} +1 -1
  53. package/{dist/chunks/chunk.QIA6DTTP.js → cdn/chunks/chunk.SUGFD7E6.js} +1 -1
  54. package/cdn/chunks/chunk.TIU73DG7.js +601 -0
  55. package/cdn/chunks/{chunk.Q6QGJGPK.js → chunk.UKALN6V5.js} +1 -1
  56. package/cdn/chunks/{chunk.ESMJ3XDS.js → chunk.USSYORDO.js} +1 -1
  57. package/cdn/chunks/{chunk.HY2OIJPI.js → chunk.UZCXIGUR.js} +1 -1
  58. package/cdn/chunks/{chunk.HPB6CXCO.js → chunk.VSQYJO47.js} +1 -1
  59. package/cdn/chunks/{chunk.D7BYLJCK.js → chunk.WMCV5DKE.js} +10 -10
  60. package/cdn/chunks/{chunk.ELAWVWEZ.js → chunk.XO3SOVHY.js} +2 -29
  61. package/cdn/chunks/chunk.XU3NXPIM.js +193 -0
  62. package/cdn/chunks/{chunk.T6H2MZZI.js → chunk.Y7I2RXN6.js} +1 -10
  63. package/cdn/chunks/{chunk.ZU6ADSVN.js → chunk.YCRGAL67.js} +1 -1
  64. package/cdn/chunks/chunk.YIABHSHN.js +505 -0
  65. package/cdn/chunks/{chunk.WQQBVCL5.js → chunk.ZHZZPGPK.js} +1 -1
  66. package/{dist/chunks/chunk.37HULH6M.js → cdn/chunks/chunk.ZXAVHSML.js} +1 -1
  67. package/cdn/chunks/{chunk.KAY2II66.js → chunk.ZY5TXYJA.js} +1 -1
  68. package/cdn/components/browse-variables/browse-variables.component.js +22 -21
  69. package/cdn/components/browse-variables/browse-variables.controller.js +4 -2
  70. package/cdn/components/browse-variables/browse-variables.js +23 -22
  71. package/cdn/components/browse-variables/browse-variables.types.d.ts +8 -0
  72. package/cdn/components/button/button.component.js +3 -3
  73. package/cdn/components/button/button.js +4 -4
  74. package/cdn/components/chip/chip.component.js +2 -2
  75. package/cdn/components/chip/chip.js +3 -3
  76. package/cdn/components/combobox/combobox.component.js +5 -5
  77. package/cdn/components/combobox/combobox.js +6 -6
  78. package/cdn/components/data-rods/data-rods.component.d.ts +57 -0
  79. package/cdn/components/data-rods/data-rods.component.js +62 -0
  80. package/cdn/components/data-rods/data-rods.d.ts +8 -0
  81. package/cdn/components/data-rods/data-rods.js +63 -0
  82. package/cdn/components/data-rods/data-rods.styles.d.ts +2 -0
  83. package/cdn/components/data-rods/data-rods.styles.js +9 -0
  84. package/cdn/components/date-picker/date-picker.component.js +2 -2
  85. package/cdn/components/date-picker/date-picker.js +3 -3
  86. package/cdn/components/date-range-slider/date-range-slider.component.js +5 -6
  87. package/cdn/components/date-range-slider/date-range-slider.js +6 -7
  88. package/cdn/components/dialog/dialog.component.js +2 -2
  89. package/cdn/components/dialog/dialog.js +3 -3
  90. package/cdn/components/icon/icon.component.js +4 -4
  91. package/cdn/components/icon/icon.js +5 -5
  92. package/cdn/components/icon/library.js +2 -2
  93. package/cdn/components/loader/loader.component.js +2 -2
  94. package/cdn/components/loader/loader.js +3 -3
  95. package/cdn/components/login/login.component.js +12 -12
  96. package/cdn/components/login/login.js +13 -13
  97. package/cdn/components/map/leaflet-draw.styles.js +1 -1
  98. package/cdn/components/map/leaflet-utils.js +1 -1
  99. package/cdn/components/map/map.component.js +6 -6
  100. package/cdn/components/map/map.js +7 -7
  101. package/cdn/components/plot/plot.component.js +2 -2
  102. package/cdn/components/plot/plot.js +3 -3
  103. package/cdn/components/skeleton/skeleton.component.js +4 -4
  104. package/cdn/components/skeleton/skeleton.js +5 -5
  105. package/cdn/components/spatial-picker/spatial-picker.component.d.ts +8 -0
  106. package/cdn/components/spatial-picker/spatial-picker.component.js +7 -7
  107. package/cdn/components/spatial-picker/spatial-picker.js +8 -8
  108. package/cdn/components/time-series/time-series.component.d.ts +8 -49
  109. package/cdn/components/time-series/time-series.component.js +16 -39
  110. package/cdn/components/time-series/time-series.controller.d.ts +6 -9
  111. package/cdn/components/time-series/time-series.controller.js +3 -3
  112. package/cdn/components/time-series/time-series.js +17 -40
  113. package/cdn/components/time-series/time-series.styles.js +1 -1
  114. package/cdn/components/time-series/time-series.types.d.ts +1 -1
  115. package/cdn/components/variable-combobox/lib.js +1 -1
  116. package/cdn/components/variable-combobox/variable-combobox.component.js +13 -13
  117. package/cdn/components/variable-combobox/variable-combobox.controller.js +3 -3
  118. package/cdn/components/variable-combobox/variable-combobox.js +14 -14
  119. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +16 -14
  120. package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +4 -2
  121. package/cdn/components/variable-keyword-search/variable-keyword-search.js +17 -15
  122. package/cdn/custom-elements.json +1644 -1603
  123. package/cdn/events/terra-time-series-data-change.d.ts +2 -2
  124. package/cdn/react/browse-variables/index.js +23 -22
  125. package/cdn/react/button/index.js +4 -4
  126. package/cdn/react/chip/index.js +3 -3
  127. package/cdn/react/combobox/index.js +6 -6
  128. package/cdn/react/data-rods/index.d.ts +9 -0
  129. package/cdn/react/data-rods/index.js +63 -0
  130. package/cdn/react/date-picker/index.js +3 -3
  131. package/cdn/react/date-range-slider/index.js +6 -7
  132. package/cdn/react/dialog/index.js +3 -3
  133. package/cdn/react/icon/index.js +5 -5
  134. package/cdn/react/index.d.ts +4 -3
  135. package/cdn/react/index.js +89 -85
  136. package/cdn/react/loader/index.js +3 -3
  137. package/cdn/react/login/index.js +13 -13
  138. package/cdn/react/map/index.js +7 -7
  139. package/cdn/react/plot/index.js +3 -3
  140. package/cdn/react/skeleton/index.js +5 -5
  141. package/cdn/react/spatial-picker/index.js +8 -8
  142. package/cdn/react/time-series/index.d.ts +0 -2
  143. package/cdn/react/time-series/index.js +17 -40
  144. package/cdn/react/variable-combobox/index.js +14 -14
  145. package/cdn/react/variable-keyword-search/index.js +17 -15
  146. package/cdn/terra-ui-components.d.ts +1 -0
  147. package/cdn/terra-ui-components.js +86 -81
  148. package/cdn/types/vue/index.d.ts +140 -121
  149. package/cdn/utilities/animation.js +2 -2
  150. package/cdn/utilities/date.d.ts +8 -0
  151. package/cdn/utilities/date.js +5 -2
  152. package/cdn/utilities/icon-library.js +2 -2
  153. package/cdn/variable-catalog/giovanni-variable-catalog.d.ts +4 -0
  154. package/cdn/variable-catalog/queries.d.ts +1 -0
  155. package/cdn/variable-catalog/types.d.ts +15 -0
  156. package/cdn/vscode.html-custom-data.json +130 -89
  157. package/cdn/web-types.json +266 -219
  158. package/{cdn/chunks/chunk.GZEUJ2JS.js → dist/chunks/chunk.32RDASOD.js} +1 -1
  159. package/dist/chunks/{chunk.M6QZS4UJ.js → chunk.33MT36PS.js} +3 -3
  160. package/{cdn/chunks/chunk.RJCMYVMK.js → dist/chunks/chunk.352OXOVF.js} +1 -1
  161. package/dist/chunks/{chunk.4AOEB4BK.js → chunk.3B622XLR.js} +2 -2
  162. package/{cdn/chunks/chunk.YYL6BIZT.js → dist/chunks/chunk.52RLSCIQ.js} +1 -1
  163. package/dist/chunks/{chunk.E4LMDFCL.js → chunk.56MFLZCU.js} +1 -1
  164. package/dist/chunks/{chunk.O5QN7EQO.js → chunk.5BT6LJZ6.js} +1 -1
  165. package/{cdn/chunks/chunk.CANVOVRP.js → dist/chunks/chunk.5DABND4A.js} +1 -1
  166. package/{cdn/chunks/chunk.5HHHG4SV.js → dist/chunks/chunk.6MJHY2LT.js} +1 -1
  167. package/dist/chunks/chunk.7JBFBZ5C.js +27 -0
  168. package/dist/chunks/{chunk.MILUFBKY.js → chunk.7MYJSSR2.js} +1 -1
  169. package/dist/chunks/{chunk.WAIWLZ6Z.js → chunk.7OWQQEAP.js} +83 -26
  170. package/{cdn/chunks/chunk.YUAVRIVY.js → dist/chunks/chunk.A47KLFGG.js} +1 -1
  171. package/{cdn/chunks/chunk.LFJJNF7C.js → dist/chunks/chunk.A7Q6OO46.js} +1 -1
  172. package/dist/chunks/{chunk.X4377OEL.js → chunk.ABNZX7AU.js} +6 -6
  173. package/dist/chunks/{chunk.NL2R2NSO.js → chunk.AY7TGBWI.js} +2 -31
  174. package/dist/chunks/{chunk.6YWP3FBT.js → chunk.C6ZJJG4V.js} +1 -1
  175. package/{cdn/chunks/chunk.7BF65WWU.js → dist/chunks/chunk.CHZXTZZ6.js} +1 -1
  176. package/dist/chunks/{chunk.GHEMW42S.js → chunk.CKS4QWQE.js} +1 -1
  177. package/dist/chunks/{chunk.TWPOB6FJ.js → chunk.CTKWZYCZ.js} +1 -1
  178. package/dist/chunks/{chunk.ENYPV32S.js → chunk.DCR4GMG7.js} +6 -6
  179. package/dist/chunks/{chunk.RXZPXAB4.js → chunk.DIKJ5W4E.js} +50 -6
  180. package/dist/chunks/{chunk.OFKYTBNH.js → chunk.E2DOVBIM.js} +1 -1
  181. package/dist/chunks/{chunk.SZGKWCF3.js → chunk.EBTGXENT.js} +1 -1
  182. package/dist/chunks/{chunk.KD3R2URP.js → chunk.EDJCUWA4.js} +1 -1
  183. package/dist/chunks/{chunk.MZHCB5V5.js → chunk.ESECO74J.js} +1 -1
  184. package/dist/chunks/{chunk.YQPJQSUN.js → chunk.FJY7NGMR.js} +1 -1
  185. package/dist/chunks/{chunk.KOMSLHFU.js → chunk.HKMS63V6.js} +1 -1
  186. package/{cdn/chunks/chunk.BRFSUY5D.js → dist/chunks/chunk.IEQVLL66.js} +1 -1
  187. package/dist/chunks/{chunk.7P5EOY66.js → chunk.IQ2JFSLH.js} +4 -4
  188. package/dist/chunks/{chunk.5EHGVGXV.js → chunk.K2IRF2QI.js} +1 -10
  189. package/dist/chunks/{chunk.FAYNPOTP.js → chunk.KGKLK3DV.js} +1 -1
  190. package/dist/chunks/{chunk.QM5FOCP6.js → chunk.KKSEBQNV.js} +1 -1
  191. package/dist/chunks/chunk.LCOAWJU6.js +588 -0
  192. package/dist/chunks/{chunk.JFAR45NP.js → chunk.LF3ESETA.js} +1 -1
  193. package/dist/chunks/{chunk.JGX3UBBP.js → chunk.LFVSYBJ6.js} +1 -1
  194. package/dist/chunks/{chunk.5AOSWMDT.js → chunk.LFZXSVJS.js} +1 -1
  195. package/dist/chunks/{chunk.NDYEIMNI.js → chunk.LJOF4Z47.js} +7 -7
  196. package/dist/chunks/{chunk.OMJNBUCH.js → chunk.M4PEGCWF.js} +12 -12
  197. package/dist/chunks/{chunk.JTXEL73L.js → chunk.M7XZCYLE.js} +1 -1
  198. package/dist/chunks/{chunk.67I5KKLX.js → chunk.MHW3M233.js} +1 -1
  199. package/dist/chunks/{chunk.QDWCCDUY.js → chunk.MXH5Q7I5.js} +1 -1
  200. package/dist/chunks/{chunk.HJTPJ2RC.js → chunk.NJ5NIZJK.js} +1 -1
  201. package/dist/chunks/{chunk.4XAV4ODI.js → chunk.NR52OX3V.js} +1 -1
  202. package/dist/chunks/{chunk.UPG6O57L.js → chunk.OYJLDWJF.js} +1 -1
  203. package/dist/chunks/{chunk.AAWOHDFX.js → chunk.P442U2FF.js} +16 -4
  204. package/{cdn/chunks/chunk.3GLWKAG4.js → dist/chunks/chunk.PGUBFDZW.js} +1 -1
  205. package/{cdn/chunks/chunk.HWT242NM.js → dist/chunks/chunk.QK4DTBQI.js} +1 -1
  206. package/dist/chunks/{chunk.TCMWMNOB.js → chunk.QKGUST2I.js} +5 -5
  207. package/{cdn/chunks/chunk.TVULBZN7.js → dist/chunks/chunk.RC5E6NBB.js} +1 -1
  208. package/dist/chunks/chunk.ROVNWARW.js +21 -0
  209. package/{cdn/chunks/chunk.7SSKWW2H.js → dist/chunks/chunk.SL3QWNRH.js} +1 -1
  210. package/dist/chunks/chunk.TFI3UXXB.js +193 -0
  211. package/dist/chunks/chunk.UDS7BHM7.js +180 -0
  212. package/dist/chunks/{chunk.W2CS6IVI.js → chunk.UHD5HEEK.js} +1 -1
  213. package/{cdn/chunks/chunk.MNRRHWDX.js → dist/chunks/chunk.ULVN2SXP.js} +1 -1
  214. package/dist/chunks/chunk.UOP2MA5G.js +11 -0
  215. package/dist/chunks/{chunk.5LMWCV76.js → chunk.V3YFBP3T.js} +1 -1
  216. package/dist/chunks/{chunk.MS3DCXPP.js → chunk.V626KHDN.js} +1 -1
  217. package/dist/chunks/{chunk.H22DYLKA.js → chunk.VHF2RWLV.js} +5 -5
  218. package/dist/chunks/{chunk.QHNJQDE5.js → chunk.VYB75K7O.js} +1 -1
  219. package/dist/chunks/{chunk.E4PWWMRO.js → chunk.WRORP5RY.js} +1 -1
  220. package/dist/chunks/{chunk.XR6W57RO.js → chunk.XU3O2MRF.js} +1 -1
  221. package/dist/chunks/{chunk.ZLAVT4EU.js → chunk.YELLRFJE.js} +7 -7
  222. package/dist/chunks/chunk.ZIB2YERI.js +36 -0
  223. package/dist/chunks/{chunk.OOLLCVNR.js → chunk.ZWQU3GYF.js} +1 -1
  224. package/dist/components/browse-variables/browse-variables.component.js +18 -17
  225. package/dist/components/browse-variables/browse-variables.controller.js +4 -2
  226. package/dist/components/browse-variables/browse-variables.js +19 -18
  227. package/dist/components/browse-variables/browse-variables.types.d.ts +8 -0
  228. package/dist/components/button/button.component.js +2 -2
  229. package/dist/components/button/button.js +3 -3
  230. package/dist/components/chip/chip.component.js +2 -2
  231. package/dist/components/chip/chip.js +3 -3
  232. package/dist/components/combobox/combobox.component.js +2 -2
  233. package/dist/components/combobox/combobox.js +3 -3
  234. package/dist/components/data-rods/data-rods.component.d.ts +57 -0
  235. package/dist/components/data-rods/data-rods.component.js +47 -0
  236. package/dist/components/data-rods/data-rods.d.ts +8 -0
  237. package/dist/components/data-rods/data-rods.js +48 -0
  238. package/dist/components/data-rods/data-rods.styles.d.ts +2 -0
  239. package/dist/components/data-rods/data-rods.styles.js +7 -0
  240. package/dist/components/date-picker/date-picker.component.js +2 -2
  241. package/dist/components/date-picker/date-picker.js +3 -3
  242. package/dist/components/date-range-slider/date-range-slider.component.js +4 -4
  243. package/dist/components/date-range-slider/date-range-slider.js +5 -5
  244. package/dist/components/dialog/dialog.component.js +2 -2
  245. package/dist/components/dialog/dialog.js +3 -3
  246. package/dist/components/icon/icon.component.js +4 -4
  247. package/dist/components/icon/icon.js +5 -5
  248. package/dist/components/icon/library.js +2 -2
  249. package/dist/components/loader/loader.component.js +2 -2
  250. package/dist/components/loader/loader.js +3 -3
  251. package/dist/components/login/login.component.js +10 -10
  252. package/dist/components/login/login.js +11 -11
  253. package/dist/components/map/leaflet-draw.styles.js +1 -1
  254. package/dist/components/map/leaflet-utils.js +1 -1
  255. package/dist/components/map/map.component.js +5 -5
  256. package/dist/components/map/map.js +6 -6
  257. package/dist/components/plot/plot.component.js +2 -2
  258. package/dist/components/plot/plot.js +3 -3
  259. package/dist/components/skeleton/skeleton.component.js +2 -2
  260. package/dist/components/skeleton/skeleton.js +3 -3
  261. package/dist/components/spatial-picker/spatial-picker.component.d.ts +8 -0
  262. package/dist/components/spatial-picker/spatial-picker.component.js +6 -6
  263. package/dist/components/spatial-picker/spatial-picker.js +7 -7
  264. package/dist/components/time-series/time-series.component.d.ts +8 -49
  265. package/dist/components/time-series/time-series.component.js +13 -31
  266. package/dist/components/time-series/time-series.controller.d.ts +6 -9
  267. package/dist/components/time-series/time-series.controller.js +2 -1
  268. package/dist/components/time-series/time-series.js +14 -32
  269. package/dist/components/time-series/time-series.styles.js +1 -1
  270. package/dist/components/time-series/time-series.types.d.ts +1 -1
  271. package/dist/components/variable-combobox/lib.js +1 -1
  272. package/dist/components/variable-combobox/variable-combobox.component.js +10 -10
  273. package/dist/components/variable-combobox/variable-combobox.controller.js +2 -2
  274. package/dist/components/variable-combobox/variable-combobox.js +11 -11
  275. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +13 -11
  276. package/dist/components/variable-keyword-search/variable-keyword-search.controller.js +3 -1
  277. package/dist/components/variable-keyword-search/variable-keyword-search.js +14 -12
  278. package/dist/custom-elements.json +1644 -1603
  279. package/dist/events/terra-time-series-data-change.d.ts +2 -2
  280. package/dist/react/browse-variables/index.js +19 -18
  281. package/dist/react/button/index.js +3 -3
  282. package/dist/react/chip/index.js +3 -3
  283. package/dist/react/combobox/index.js +3 -3
  284. package/dist/react/data-rods/index.d.ts +9 -0
  285. package/dist/react/data-rods/index.js +48 -0
  286. package/dist/react/date-picker/index.js +3 -3
  287. package/dist/react/date-range-slider/index.js +5 -5
  288. package/dist/react/dialog/index.js +3 -3
  289. package/dist/react/icon/index.js +5 -5
  290. package/dist/react/index.d.ts +4 -3
  291. package/dist/react/index.js +83 -78
  292. package/dist/react/loader/index.js +3 -3
  293. package/dist/react/login/index.js +11 -11
  294. package/dist/react/map/index.js +6 -6
  295. package/dist/react/plot/index.js +3 -3
  296. package/dist/react/skeleton/index.js +3 -3
  297. package/dist/react/spatial-picker/index.js +7 -7
  298. package/dist/react/time-series/index.d.ts +0 -2
  299. package/dist/react/time-series/index.js +14 -32
  300. package/dist/react/variable-combobox/index.js +11 -11
  301. package/dist/react/variable-keyword-search/index.js +14 -12
  302. package/dist/terra-ui-components.d.ts +1 -0
  303. package/dist/terra-ui-components.js +79 -73
  304. package/dist/{terra_ui_components-0.0.43-py3-none-any.whl → terra_ui_components-0.0.44-py3-none-any.whl} +0 -0
  305. package/dist/{terra_ui_components-0.0.43.tar.gz → terra_ui_components-0.0.44.tar.gz} +0 -0
  306. package/dist/types/vue/index.d.ts +140 -121
  307. package/dist/utilities/date.d.ts +8 -0
  308. package/dist/utilities/date.js +5 -1
  309. package/dist/utilities/icon-library.js +2 -2
  310. package/dist/variable-catalog/giovanni-variable-catalog.d.ts +4 -0
  311. package/dist/variable-catalog/queries.d.ts +1 -0
  312. package/dist/variable-catalog/types.d.ts +15 -0
  313. package/dist/vscode.html-custom-data.json +130 -89
  314. package/dist/web-types.json +266 -219
  315. package/package.json +1 -1
  316. package/cdn/chunks/chunk.46IWBVYP.js +0 -13
  317. package/cdn/chunks/chunk.FRHQ2JZY.js +0 -30
  318. package/cdn/chunks/chunk.GD2FHNDE.js +0 -1131
  319. package/cdn/chunks/chunk.TNVTVMRS.js +0 -36
  320. package/cdn/components/browse-variables/repositories/giovanni.repository.d.ts +0 -8
  321. package/cdn/components/browse-variables/repositories/giovanni.repository.js +0 -7
  322. package/dist/chunks/chunk.4TEZ5QPN.js +0 -671
  323. package/dist/chunks/chunk.OIDMX5LU.js +0 -10
  324. package/dist/chunks/chunk.TNVTVMRS.js +0 -36
  325. package/dist/components/browse-variables/repositories/giovanni.repository.d.ts +0 -8
  326. package/dist/components/browse-variables/repositories/giovanni.repository.js +0 -7
  327. package/cdn/chunks/{chunk.7DOMZGX7.js → chunk.MDRUDBRH.js} +3 -3
  328. package/cdn/chunks/{chunk.LOCO37M5.js → chunk.X2C7E56W.js} +3 -3
  329. package/dist/chunks/{chunk.7DOMZGX7.js → chunk.MDRUDBRH.js} +3 -3
@@ -1,7 +1,6 @@
1
1
  import {
2
- getGraphQLClient,
3
- gql
4
- } from "./chunk.MERDVJWH.js";
2
+ GiovanniVariableCatalog
3
+ } from "./chunk.XU3NXPIM.js";
5
4
  import {
6
5
  h,
7
6
  s
@@ -12,32 +11,6 @@ import {
12
11
  __privateSet
13
12
  } from "./chunk.6JHIJHTB.js";
14
13
 
15
- // src/variable-catalog/queries.ts
16
- var GET_SEARCH_KEYWORDS = gql`
17
- query {
18
- aesirKeywords {
19
- id
20
- }
21
- }
22
- `;
23
-
24
- // src/variable-catalog/giovanni-variable-catalog.ts
25
- var GiovanniVariableCatalog = class {
26
- async getSearchKeywords() {
27
- const client = await getGraphQLClient();
28
- const response = await client.query({
29
- query: GET_SEARCH_KEYWORDS,
30
- fetchPolicy: "cache-first"
31
- });
32
- if (response.errors) {
33
- throw new Error(
34
- `Failed to fetch search keywords: ${response.errors[0].message}`
35
- );
36
- }
37
- return response.data.aesirKeywords;
38
- }
39
- };
40
-
41
14
  // src/components/variable-keyword-search/variable-keyword-search.controller.ts
42
15
  var _apiTask;
43
16
  var FetchController = class {
@@ -0,0 +1,193 @@
1
+ import {
2
+ getGraphQLClient,
3
+ gql
4
+ } from "./chunk.MERDVJWH.js";
5
+ import {
6
+ getUTCDate
7
+ } from "./chunk.YIABHSHN.js";
8
+ import {
9
+ __privateAdd,
10
+ __privateMethod,
11
+ __spreadProps,
12
+ __spreadValues
13
+ } from "./chunk.6JHIJHTB.js";
14
+
15
+ // src/variable-catalog/queries.ts
16
+ var GET_SEARCH_KEYWORDS = gql`
17
+ query {
18
+ aesirKeywords {
19
+ id
20
+ }
21
+ }
22
+ `;
23
+ var GET_VARIABLES = gql`
24
+ query GetVariables(
25
+ $q: String
26
+ $includeFields: String
27
+ $rows: String
28
+ $filter: FilterInput
29
+ $variableEntryIds: [String]
30
+ ) {
31
+ getVariables(
32
+ q: $q
33
+ includeFields: $includeFields
34
+ rows: $rows
35
+ filter: $filter
36
+ variableEntryIds: $variableEntryIds
37
+ ) {
38
+ count
39
+ total
40
+ variables {
41
+ dataFieldId
42
+ dataProductShortName
43
+ dataProductVersion
44
+ dataFieldShortName
45
+ dataFieldAccessName
46
+ dataFieldLongName
47
+ dataProductLongName
48
+ dataProductTimeInterval
49
+ dataProductWest
50
+ dataProductSouth
51
+ dataProductEast
52
+ dataProductNorth
53
+ dataProductSpatialResolution
54
+ dataProductBeginDateTime
55
+ dataProductEndDateTime
56
+ dataFieldKeywords
57
+ dataFieldUnits
58
+ dataProductDescriptionUrl
59
+ dataFieldDescriptionUrl
60
+ }
61
+ facets {
62
+ category
63
+ values {
64
+ name
65
+ count
66
+ }
67
+ }
68
+ }
69
+ }
70
+ `;
71
+
72
+ // src/variable-catalog/giovanni-variable-catalog.ts
73
+ var _adaptVariablesForResponse, adaptVariablesForResponse_fn, _getReasonableInitialStartAndEndDateTime, getReasonableInitialStartAndEndDateTime_fn;
74
+ var GiovanniVariableCatalog = class {
75
+ constructor() {
76
+ __privateAdd(this, _adaptVariablesForResponse);
77
+ /**
78
+ * Get reasonable initial start and end date
79
+ *
80
+ * When we load a variable into a plot, we may want to show the user some initial data while they change the date
81
+ * This function returns a reasonable slice of time that components can choose to use
82
+ */
83
+ __privateAdd(this, _getReasonableInitialStartAndEndDateTime);
84
+ }
85
+ async getSearchKeywords() {
86
+ const client = await getGraphQLClient();
87
+ const response = await client.query({
88
+ query: GET_SEARCH_KEYWORDS,
89
+ fetchPolicy: "cache-first"
90
+ });
91
+ if (response.errors) {
92
+ throw new Error(
93
+ `Failed to fetch search keywords: ${response.errors[0].message}`
94
+ );
95
+ }
96
+ return response.data.aesirKeywords;
97
+ }
98
+ async searchVariablesAndFacets(query, selectedFacets, options) {
99
+ const client = await getGraphQLClient();
100
+ const response = await client.query({
101
+ query: GET_VARIABLES,
102
+ variables: {
103
+ q: query,
104
+ filter: selectedFacets
105
+ },
106
+ context: {
107
+ fetchOptions: {
108
+ signal: options == null ? void 0 : options.signal
109
+ }
110
+ }
111
+ });
112
+ if (response.errors) {
113
+ throw new Error(
114
+ `Failed to fetch variables: ${response.errors[0].message}`
115
+ );
116
+ }
117
+ const { variables, facets, total } = response.data.getVariables;
118
+ const facetsByCategory = {
119
+ depths: [],
120
+ disciplines: [],
121
+ measurements: [],
122
+ observations: [],
123
+ platformInstruments: [],
124
+ portals: [],
125
+ spatialResolutions: [],
126
+ specialFeatures: [],
127
+ temporalResolutions: [],
128
+ wavelengths: []
129
+ };
130
+ facets.forEach((facet) => {
131
+ const category = facet.category;
132
+ if (category in facetsByCategory) {
133
+ facetsByCategory[category] = facet.values;
134
+ }
135
+ });
136
+ return {
137
+ variables: __privateMethod(this, _adaptVariablesForResponse, adaptVariablesForResponse_fn).call(this, variables),
138
+ facetsByCategory,
139
+ total
140
+ };
141
+ }
142
+ async getVariable(variableEntryId, options) {
143
+ const client = await getGraphQLClient();
144
+ const response = await client.query({
145
+ query: GET_VARIABLES,
146
+ variables: {
147
+ variableEntryIds: [variableEntryId]
148
+ },
149
+ context: {
150
+ fetchOptions: {
151
+ signal: options == null ? void 0 : options.signal
152
+ }
153
+ }
154
+ });
155
+ if (response.errors) {
156
+ throw new Error(`Failed to fetch variable: ${response.errors[0].message}`);
157
+ }
158
+ const { variables } = response.data.getVariables;
159
+ return variables.length ? __privateMethod(this, _adaptVariablesForResponse, adaptVariablesForResponse_fn).call(this, variables)[0] : null;
160
+ }
161
+ };
162
+ _adaptVariablesForResponse = new WeakSet();
163
+ adaptVariablesForResponse_fn = function(variables) {
164
+ return variables.map((variable) => {
165
+ const exampleInitialDates = __privateMethod(this, _getReasonableInitialStartAndEndDateTime, getReasonableInitialStartAndEndDateTime_fn).call(this, variable);
166
+ return __spreadProps(__spreadValues({}, variable), {
167
+ exampleInitialStartDate: exampleInitialDates == null ? void 0 : exampleInitialDates.exampleInitialStartDate,
168
+ exampleInitialEndDate: exampleInitialDates == null ? void 0 : exampleInitialDates.exampleInitialEndDate,
169
+ dataFieldShortName: !variable.dataFieldShortName || variable.dataFieldShortName == "" ? variable.dataFieldAccessName : variable.dataFieldShortName
170
+ });
171
+ });
172
+ };
173
+ _getReasonableInitialStartAndEndDateTime = new WeakSet();
174
+ getReasonableInitialStartAndEndDateTime_fn = function(variable) {
175
+ if (!(variable == null ? void 0 : variable.dataProductBeginDateTime) || !(variable == null ? void 0 : variable.dataProductEndDateTime)) {
176
+ return;
177
+ }
178
+ const diff = Math.abs(
179
+ new Date(variable.dataProductEndDateTime).getTime() - new Date(variable.dataProductBeginDateTime).getTime()
180
+ );
181
+ const threeQuarterRange = Math.floor(diff * 0.75);
182
+ const startDate = Math.abs(
183
+ new Date(variable.dataProductBeginDateTime).getTime() + threeQuarterRange
184
+ );
185
+ return {
186
+ exampleInitialStartDate: getUTCDate(startDate),
187
+ exampleInitialEndDate: getUTCDate(variable.dataProductEndDateTime)
188
+ };
189
+ };
190
+
191
+ export {
192
+ GiovanniVariableCatalog
193
+ };
@@ -74,6 +74,7 @@ var time_series_styles_default = i`
74
74
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
75
75
  width: max-content;
76
76
  min-width: 20ch;
77
+ max-width: 100%;
77
78
  padding: 1em;
78
79
  display: none;
79
80
  }
@@ -102,16 +103,6 @@ var time_series_styles_default = i`
102
103
  text-wrap: balance;
103
104
  }
104
105
 
105
- terra-date-range-slider {
106
- grid-column: 1 / 3;
107
- padding-block-start: 2rem;
108
- }
109
-
110
- terra-spatial-picker::part(leaflet-bbox),
111
- terra-spatial-picker::part(leaflet-edit) {
112
- display: none;
113
- }
114
-
115
106
  terra-plot::part(plot-title) {
116
107
  opacity: 0;
117
108
  z-index: 0 !important;
@@ -64,7 +64,7 @@ function cherryPickDocInfo(docs) {
64
64
  collectionLongName: doc["Collection.LongName"],
65
65
  collectionShortName: doc["Collection.ShortName"],
66
66
  collectionVersion: doc["Collection.Version"],
67
- entryId: `${doc["Collection.ShortName"]}_${doc["Collection.Version"]}_${doc["Variable.Name"]}`,
67
+ entryId: doc["Variable.Id"],
68
68
  longName: doc["Variable.LongName"],
69
69
  name: doc["Variable.Name"],
70
70
  standardName: doc["Variable.StandardName"],