@nasa-terra/components 0.0.181 → 0.0.182

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 (1236) hide show
  1. package/cdn/chunks/chunk.27H6Y66N.js +19 -0
  2. package/cdn/chunks/chunk.2JCGLAAZ.js +19 -0
  3. package/cdn/chunks/chunk.2NDZGMG2.js +33 -0
  4. package/cdn/chunks/chunk.2YBP736T.js +161 -0
  5. package/cdn/chunks/chunk.3465UHBW.js +125 -0
  6. package/cdn/chunks/chunk.3E3PL47L.js +19 -0
  7. package/cdn/chunks/chunk.3RT5OMRR.js +19 -0
  8. package/cdn/chunks/chunk.3S6TXNYN.js +357 -0
  9. package/cdn/chunks/chunk.3TNPXGSN.js +29 -0
  10. package/cdn/chunks/chunk.3U3QMVU3.js +35 -0
  11. package/cdn/chunks/chunk.3XHMRHX4.js +19 -0
  12. package/cdn/chunks/chunk.45J3MZ3A.js +205 -0
  13. package/cdn/chunks/chunk.4A2AWXGY.js +29 -0
  14. package/cdn/chunks/chunk.4CRAZGX7.js +19 -0
  15. package/cdn/chunks/chunk.4EHEYIXJ.js +29 -0
  16. package/cdn/chunks/chunk.4JH2XUDX.js +32 -0
  17. package/cdn/chunks/chunk.4M4OKGDE.js +19 -0
  18. package/cdn/chunks/chunk.4TR3C3XT.js +19 -0
  19. package/cdn/chunks/chunk.4YHMBW3P.js +188 -0
  20. package/cdn/chunks/chunk.4YNI6KD4.js +19 -0
  21. package/cdn/chunks/chunk.53SX2HQI.js +30 -0
  22. package/cdn/chunks/chunk.54XCTTO5.js +19 -0
  23. package/cdn/chunks/chunk.56MUPGEK.js +32 -0
  24. package/cdn/chunks/chunk.5EAUYTIJ.js +19 -0
  25. package/cdn/chunks/chunk.5I3VER3F.js +19 -0
  26. package/cdn/chunks/chunk.5KYNNL32.js +32 -0
  27. package/cdn/chunks/chunk.5MIFCXBI.js +29 -0
  28. package/cdn/chunks/chunk.62ZIBC6B.js +19 -0
  29. package/cdn/chunks/chunk.653O7V4M.js +599 -0
  30. package/cdn/chunks/chunk.67TYJBGE.js +19 -0
  31. package/cdn/chunks/chunk.6CQFWVR6.js +29 -0
  32. package/cdn/chunks/chunk.6QSUPLGB.js +29 -0
  33. package/cdn/chunks/chunk.6TITQBN5.js +86 -0
  34. package/cdn/chunks/chunk.77Y544HC.js +19 -0
  35. package/cdn/chunks/chunk.7ASKZORP.js +33 -0
  36. package/cdn/chunks/chunk.7BHCY74I.js +33 -0
  37. package/cdn/chunks/chunk.7CTLZBMK.js +99 -0
  38. package/cdn/chunks/chunk.7GWSNU54.js +19 -0
  39. package/cdn/chunks/chunk.7PYSPYWO.js +19 -0
  40. package/cdn/chunks/chunk.7QYAG5RH.js +19 -0
  41. package/cdn/chunks/chunk.7VNZMOKC.js +56075 -0
  42. package/cdn/chunks/chunk.7YI473J2.js +39 -0
  43. package/cdn/chunks/chunk.7YXZ4PLT.js +359 -0
  44. package/cdn/chunks/chunk.7ZVYIV7K.js +662 -0
  45. package/cdn/chunks/chunk.ACJHUN64.js +19 -0
  46. package/cdn/chunks/chunk.ACVD4RLC.js +538 -0
  47. package/cdn/chunks/chunk.AFRV7PHS.js +19 -0
  48. package/cdn/chunks/chunk.AG3OHBNW.js +32 -0
  49. package/cdn/chunks/chunk.AMEOWPTV.js +29 -0
  50. package/cdn/chunks/chunk.AN25EHYN.js +19 -0
  51. package/cdn/chunks/chunk.APOEQA6N.js +157 -0
  52. package/cdn/chunks/chunk.AQHIU4QQ.js +19 -0
  53. package/cdn/chunks/chunk.AW7RGJQF.js +237 -0
  54. package/cdn/chunks/chunk.AXHE75CH.js +1211 -0
  55. package/cdn/chunks/chunk.B7OA73S6.js +19 -0
  56. package/cdn/chunks/chunk.BCQ2ITZO.js +33 -0
  57. package/cdn/chunks/chunk.BEMRQEFJ.js +29 -0
  58. package/cdn/chunks/chunk.BEWDP23N.js +29 -0
  59. package/cdn/chunks/chunk.BVACLOKI.js +110 -0
  60. package/cdn/chunks/chunk.BYUN5CQ7.js +34 -0
  61. package/cdn/chunks/chunk.CL66DXQH.js +19 -0
  62. package/cdn/chunks/chunk.CLOSWCHA.js +279 -0
  63. package/cdn/chunks/chunk.CMWLAYXG.js +19 -0
  64. package/cdn/chunks/chunk.CU6Y4S4O.js +134 -0
  65. package/cdn/chunks/chunk.DCABAUTG.js +29 -0
  66. package/cdn/chunks/chunk.DCDKEGGF.js +60 -0
  67. package/cdn/chunks/chunk.DHUO654N.js +19 -0
  68. package/cdn/chunks/chunk.DHZRFA4Q.js +71 -0
  69. package/cdn/chunks/chunk.DKR37O6M.js +99 -0
  70. package/cdn/chunks/chunk.E5INDWJO.js +231 -0
  71. package/cdn/chunks/chunk.EB57UDHS.js +29 -0
  72. package/cdn/chunks/chunk.EHXDAY7E.js +29 -0
  73. package/cdn/chunks/chunk.EJC7WV7R.js +19 -0
  74. package/cdn/chunks/chunk.EPEVTPDD.js +29 -0
  75. package/cdn/chunks/chunk.ESBUSULS.js +658 -0
  76. package/cdn/chunks/chunk.EWQBAXSZ.js +514 -0
  77. package/cdn/chunks/chunk.EXWRYIIG.js +34 -0
  78. package/cdn/chunks/chunk.F7RM6CKI.js +19 -0
  79. package/cdn/chunks/chunk.FEU2ZHGK.js +136 -0
  80. package/cdn/chunks/chunk.FKESQTK7.js +62 -0
  81. package/cdn/chunks/chunk.FQW6VWTA.js +29 -0
  82. package/cdn/chunks/chunk.FVNPWS7L.js +29 -0
  83. package/cdn/chunks/chunk.FZSG2R6K.js +36 -0
  84. package/cdn/chunks/chunk.G6UY4GIZ.js +610 -0
  85. package/cdn/chunks/chunk.GAF2R7BX.js +19 -0
  86. package/cdn/chunks/chunk.GH3O32TH.js +616 -0
  87. package/cdn/chunks/chunk.GHQXXUOZ.js +19 -0
  88. package/cdn/chunks/chunk.GLLNU6QT.js +276 -0
  89. package/cdn/chunks/chunk.GN5JXOUJ.js +19 -0
  90. package/cdn/chunks/chunk.GN7JEDN2.js +234 -0
  91. package/cdn/chunks/chunk.GPPIIBI2.js +19 -0
  92. package/cdn/chunks/chunk.GU2TJT7Q.js +19 -0
  93. package/cdn/chunks/chunk.GUW2SGCI.js +493 -0
  94. package/cdn/chunks/chunk.H64ZXOYB.js +473 -0
  95. package/cdn/chunks/chunk.HA4DY4XJ.js +35 -0
  96. package/cdn/chunks/chunk.HARGEVGT.js +36 -0
  97. package/cdn/chunks/chunk.HO6Z2DWH.js +29 -0
  98. package/cdn/chunks/chunk.HQYWW5B6.js +32 -0
  99. package/cdn/chunks/chunk.I6FQTBRX.js +32 -0
  100. package/cdn/chunks/chunk.IARTVWTE.js +19 -0
  101. package/cdn/chunks/chunk.IFBDVPXH.js +1975 -0
  102. package/cdn/chunks/chunk.IFN7JOYQ.js +34 -0
  103. package/cdn/chunks/chunk.IJMKGIXM.js +224 -0
  104. package/cdn/chunks/chunk.IKTRYO23.js +29 -0
  105. package/cdn/chunks/chunk.INTWBGMN.js +92 -0
  106. package/cdn/chunks/chunk.ISR3MVUO.js +19 -0
  107. package/cdn/chunks/chunk.ITFVYNFS.js +104 -0
  108. package/cdn/chunks/chunk.J3JP6ALM.js +1184 -0
  109. package/cdn/chunks/chunk.J5HCHNS6.js +29 -0
  110. package/cdn/chunks/chunk.JCDZ72UU.js +29 -0
  111. package/cdn/chunks/chunk.JLIH4UDK.js +29 -0
  112. package/cdn/chunks/chunk.JLKIJ7LH.js +113 -0
  113. package/cdn/chunks/chunk.JSYNLIEX.js +288 -0
  114. package/cdn/chunks/chunk.JWN5RFZR.js +29 -0
  115. package/cdn/chunks/chunk.JZEMAEKF.js +542 -0
  116. package/cdn/chunks/chunk.K4DUOTZR.js +19 -0
  117. package/cdn/chunks/chunk.K4XDAFMU.js +904 -0
  118. package/cdn/chunks/chunk.KAO2PZDB.js +975 -0
  119. package/cdn/chunks/chunk.KIWNTLEB.js +3452 -0
  120. package/cdn/chunks/chunk.KJ5MDHOB.js +19 -0
  121. package/cdn/chunks/chunk.KM6WWUYU.js +77 -0
  122. package/cdn/chunks/chunk.KNFKQMZL.js +37 -0
  123. package/cdn/chunks/chunk.KPL5WVGQ.js +443 -0
  124. package/cdn/chunks/chunk.KXIMRSUN.js +49 -0
  125. package/cdn/chunks/chunk.KXPMQRAG.js +19 -0
  126. package/cdn/chunks/chunk.L2SHDSJB.js +36 -0
  127. package/cdn/chunks/chunk.L3PHK56S.js +19 -0
  128. package/cdn/chunks/chunk.L4UIOAJ6.js +19 -0
  129. package/cdn/chunks/chunk.L6QGKCD7.js +106 -0
  130. package/cdn/chunks/chunk.LVROX2ZC.js +32 -0
  131. package/cdn/chunks/chunk.M5K77MVA.js +19 -0
  132. package/cdn/chunks/chunk.M65VG5RW.js +472 -0
  133. package/cdn/chunks/chunk.MG53IOR7.js +123 -0
  134. package/cdn/chunks/chunk.MZC6KDXV.js +417 -0
  135. package/cdn/chunks/chunk.MZX3RGLE.js +189 -0
  136. package/cdn/chunks/chunk.N23A2TLL.js +155 -0
  137. package/cdn/chunks/chunk.N35W2LNG.js +190 -0
  138. package/cdn/chunks/chunk.NDP3WIKQ.js +19 -0
  139. package/cdn/chunks/chunk.O3DIP4UG.js +81 -0
  140. package/cdn/chunks/chunk.O3REVIRV.js +19 -0
  141. package/cdn/chunks/chunk.O6EPXMCN.js +32 -0
  142. package/cdn/chunks/chunk.OE3SG35G.js +372 -0
  143. package/cdn/chunks/chunk.OH4XSXGH.js +35 -0
  144. package/cdn/chunks/chunk.OLZPMQEW.js +60 -0
  145. package/cdn/chunks/chunk.OXV3VH7N.js +264 -0
  146. package/cdn/chunks/chunk.P6HJOUWE.js +32 -0
  147. package/cdn/chunks/chunk.PHTZBZS3.js +19 -0
  148. package/cdn/chunks/chunk.PJUJ4YID.js +29 -0
  149. package/cdn/chunks/chunk.PXVXOSWN.js +32 -0
  150. package/cdn/chunks/chunk.PZUVUD4C.js +93 -0
  151. package/cdn/chunks/chunk.Q6MUWVO4.js +310 -0
  152. package/cdn/chunks/chunk.Q7SMQGGV.js +32 -0
  153. package/cdn/chunks/chunk.QCZATBDS.js +19 -0
  154. package/cdn/chunks/chunk.QMC7DUVJ.js +151 -0
  155. package/cdn/chunks/chunk.QR25OOSG.js +83 -0
  156. package/cdn/chunks/chunk.R5WMOIJK.js +19 -0
  157. package/cdn/chunks/chunk.R7TKEPVG.js +165 -0
  158. package/cdn/chunks/chunk.RKSUZJZ6.js +68 -0
  159. package/cdn/chunks/chunk.RQWWWR7J.js +19 -0
  160. package/cdn/chunks/chunk.RWBA2MGO.js +19 -0
  161. package/cdn/chunks/chunk.RY5SOLET.js +132 -0
  162. package/cdn/chunks/chunk.RY7CXQXT.js +36 -0
  163. package/cdn/chunks/chunk.S3QWAZET.js +230 -0
  164. package/cdn/chunks/chunk.S7K4YQO5.js +29 -0
  165. package/cdn/chunks/chunk.SFTDPOR4.js +293 -0
  166. package/cdn/chunks/chunk.SQFLMSG5.js +37 -0
  167. package/cdn/chunks/chunk.TDT5Q3JF.js +29 -0
  168. package/cdn/chunks/chunk.TEOWGCS6.js +259 -0
  169. package/cdn/chunks/chunk.TKGLHWZN.js +19 -0
  170. package/cdn/chunks/chunk.TMZ3GMSL.js +134 -0
  171. package/cdn/chunks/chunk.TOQTKNTX.js +19 -0
  172. package/cdn/chunks/chunk.UERLDTQZ.js +29 -0
  173. package/cdn/chunks/chunk.UEUZKV5K.js +32 -0
  174. package/cdn/chunks/chunk.V4VJ4UT2.js +29 -0
  175. package/cdn/chunks/chunk.V5DBQVJ5.js +19 -0
  176. package/cdn/chunks/chunk.V5OO2XEE.js +33 -0
  177. package/cdn/chunks/chunk.VECOM4X2.js +19 -0
  178. package/cdn/chunks/chunk.VGXUJ5AG.js +19 -0
  179. package/cdn/chunks/chunk.VHMUJ6SG.js +2244 -0
  180. package/cdn/chunks/chunk.VJKPC2DS.js +29 -0
  181. package/cdn/chunks/chunk.VS4OOTZG.js +524 -0
  182. package/cdn/chunks/chunk.VUKYQOBK.js +350 -0
  183. package/cdn/chunks/chunk.W67YDC4P.js +19 -0
  184. package/cdn/chunks/chunk.W7N4JADB.js +915 -0
  185. package/cdn/chunks/chunk.WA3LBDSM.js +19 -0
  186. package/cdn/chunks/chunk.WDQXQ2MJ.js +19 -0
  187. package/cdn/chunks/chunk.WE35UV4V.js +41 -0
  188. package/cdn/chunks/chunk.WEO6T7Q7.js +32 -0
  189. package/cdn/chunks/chunk.WIBZBHVO.js +29 -0
  190. package/cdn/chunks/chunk.WLINE26F.js +19 -0
  191. package/cdn/chunks/chunk.WODOIA57.js +278 -0
  192. package/cdn/chunks/chunk.WUA2GRUX.js +19 -0
  193. package/cdn/chunks/chunk.WXQGG4OH.js +74 -0
  194. package/cdn/chunks/chunk.X76BZAG2.js +29 -0
  195. package/cdn/chunks/chunk.XCZDPAFQ.js +285 -0
  196. package/cdn/chunks/chunk.XPO6CGIX.js +32 -0
  197. package/cdn/chunks/chunk.XSBBTQKS.js +19 -0
  198. package/cdn/chunks/chunk.XUC2AP34.js +47 -0
  199. package/cdn/chunks/chunk.XUZNRU2A.js +35 -0
  200. package/cdn/chunks/chunk.XY2BAW25.js +82 -0
  201. package/cdn/chunks/chunk.Y73I7UWA.js +19 -0
  202. package/cdn/chunks/chunk.YBQIGWAG.js +2547 -0
  203. package/cdn/chunks/chunk.YOBKY3PV.js +29 -0
  204. package/cdn/chunks/chunk.YYHCRDOA.js +93 -0
  205. package/cdn/chunks/chunk.Z66NGM6N.js +78 -0
  206. package/cdn/chunks/chunk.ZGM73SI6.js +19 -0
  207. package/cdn/chunks/chunk.ZIBQ3RIQ.js +477 -0
  208. package/cdn/chunks/chunk.ZO4JZI7Q.js +19 -0
  209. package/cdn/components/accordion/accordion.component.js +5 -5
  210. package/cdn/components/accordion/accordion.js +6 -6
  211. package/cdn/components/alert/alert.component.js +3 -3
  212. package/cdn/components/alert/alert.js +4 -4
  213. package/cdn/components/avatar/avatar.component.js +7 -7
  214. package/cdn/components/avatar/avatar.js +8 -8
  215. package/cdn/components/badge/badge.component.js +2 -2
  216. package/cdn/components/badge/badge.js +3 -3
  217. package/cdn/components/breadcrumb/breadcrumb.component.js +2 -2
  218. package/cdn/components/breadcrumb/breadcrumb.js +3 -3
  219. package/cdn/components/breadcrumbs/breadcrumbs.component.js +2 -2
  220. package/cdn/components/breadcrumbs/breadcrumbs.js +3 -3
  221. package/cdn/components/browse-variables/browse-variables.component.js +17 -17
  222. package/cdn/components/browse-variables/browse-variables.js +18 -18
  223. package/cdn/components/button/button.component.js +7 -7
  224. package/cdn/components/button/button.js +8 -8
  225. package/cdn/components/button-group/button-group.component.js +2 -2
  226. package/cdn/components/button-group/button-group.js +3 -3
  227. package/cdn/components/caption/caption.component.js +2 -2
  228. package/cdn/components/caption/caption.js +3 -3
  229. package/cdn/components/card/card.component.js +2 -2
  230. package/cdn/components/card/card.js +3 -3
  231. package/cdn/components/checkbox/checkbox.component.js +8 -8
  232. package/cdn/components/checkbox/checkbox.js +9 -9
  233. package/cdn/components/chip/chip.component.js +2 -2
  234. package/cdn/components/chip/chip.js +3 -3
  235. package/cdn/components/combobox/combobox.component.js +6 -6
  236. package/cdn/components/combobox/combobox.js +7 -7
  237. package/cdn/components/data-access/data-access.component.js +29 -29
  238. package/cdn/components/data-access/data-access.js +30 -30
  239. package/cdn/components/data-grid/data-grid.component.js +5 -5
  240. package/cdn/components/data-grid/data-grid.js +6 -6
  241. package/cdn/components/data-rods/data-rods.component.js +38 -38
  242. package/cdn/components/data-rods/data-rods.js +39 -39
  243. package/cdn/components/data-subsetter/data-subsetter.component.js +40 -40
  244. package/cdn/components/data-subsetter/data-subsetter.js +41 -41
  245. package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  246. package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +41 -41
  247. package/cdn/components/data-subsetter-history/data-subsetter-history.js +42 -42
  248. package/cdn/components/date-picker/date-picker.component.js +14 -14
  249. package/cdn/components/date-picker/date-picker.js +15 -15
  250. package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
  251. package/cdn/components/date-range-slider/date-range-slider.js +3 -3
  252. package/cdn/components/dialog/dialog.component.js +9 -9
  253. package/cdn/components/dialog/dialog.js +10 -10
  254. package/cdn/components/divider/divider.component.js +2 -2
  255. package/cdn/components/divider/divider.js +3 -3
  256. package/cdn/components/dropdown/dropdown.component.js +3 -3
  257. package/cdn/components/dropdown/dropdown.js +4 -4
  258. package/cdn/components/earthdata-login/earthdata-login.component.js +15 -15
  259. package/cdn/components/earthdata-login/earthdata-login.js +16 -16
  260. package/cdn/components/file-upload/file-upload.component.js +2 -2
  261. package/cdn/components/file-upload/file-upload.js +3 -3
  262. package/cdn/components/harmony-history/harmony-history.component.js +13 -13
  263. package/cdn/components/harmony-history/harmony-history.js +14 -14
  264. package/cdn/components/icon/icon.component.js +3 -3
  265. package/cdn/components/icon/icon.js +4 -4
  266. package/cdn/components/input/input.component.js +8 -8
  267. package/cdn/components/input/input.js +9 -9
  268. package/cdn/components/loader/loader.component.js +2 -2
  269. package/cdn/components/loader/loader.js +3 -3
  270. package/cdn/components/login/login.component.js +12 -12
  271. package/cdn/components/login/login.js +13 -13
  272. package/cdn/components/map/map.component.js +4 -4
  273. package/cdn/components/map/map.js +5 -5
  274. package/cdn/components/menu/menu.component.js +2 -2
  275. package/cdn/components/menu/menu.js +3 -3
  276. package/cdn/components/menu-item/menu-item.component.js +11 -11
  277. package/cdn/components/menu-item/menu-item.js +12 -12
  278. package/cdn/components/menu-item/submenu-controller.js +3 -3
  279. package/cdn/components/option/option.component.js +6 -6
  280. package/cdn/components/option/option.js +7 -7
  281. package/cdn/components/pagination/pagination.component.js +6 -6
  282. package/cdn/components/pagination/pagination.js +7 -7
  283. package/cdn/components/plot/plot.component.js +2 -2
  284. package/cdn/components/plot/plot.js +3 -3
  285. package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  286. package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  287. package/cdn/components/plot-toolbar/plot-toolbar.component.js +12 -12
  288. package/cdn/components/plot-toolbar/plot-toolbar.js +13 -13
  289. package/cdn/components/popup/popup.component.js +2 -2
  290. package/cdn/components/popup/popup.js +3 -3
  291. package/cdn/components/progress-bar/progress-bar.component.js +2 -2
  292. package/cdn/components/progress-bar/progress-bar.js +3 -3
  293. package/cdn/components/radio/radio.component.js +4 -4
  294. package/cdn/components/radio/radio.js +5 -5
  295. package/cdn/components/radio-group/radio-group.component.js +2 -2
  296. package/cdn/components/radio-group/radio-group.js +3 -3
  297. package/cdn/components/scroll-hint/scroll-hint.component.js +4 -4
  298. package/cdn/components/scroll-hint/scroll-hint.js +5 -5
  299. package/cdn/components/select/select.component.js +10 -10
  300. package/cdn/components/select/select.js +11 -11
  301. package/cdn/components/site-header/site-header.component.js +5 -5
  302. package/cdn/components/site-header/site-header.js +5 -5
  303. package/cdn/components/site-navigation/site-navigation.component.js +2 -2
  304. package/cdn/components/site-navigation/site-navigation.js +2 -2
  305. package/cdn/components/skeleton/skeleton.component.js +2 -2
  306. package/cdn/components/skeleton/skeleton.js +3 -3
  307. package/cdn/components/slider/slider.component.js +2 -2
  308. package/cdn/components/slider/slider.js +3 -3
  309. package/cdn/components/spatial-picker/spatial-picker.component.js +15 -15
  310. package/cdn/components/spatial-picker/spatial-picker.js +16 -16
  311. package/cdn/components/status-indicator/status-indicator.component.js +2 -2
  312. package/cdn/components/status-indicator/status-indicator.js +3 -3
  313. package/cdn/components/stepper/stepper.component.js +2 -2
  314. package/cdn/components/stepper/stepper.js +3 -3
  315. package/cdn/components/stepper-step/stepper-step.component.js +6 -6
  316. package/cdn/components/stepper-step/stepper-step.js +7 -7
  317. package/cdn/components/tab/tab.component.js +6 -6
  318. package/cdn/components/tab/tab.js +7 -7
  319. package/cdn/components/tab-panel/tab-panel.component.js +2 -2
  320. package/cdn/components/tab-panel/tab-panel.js +3 -3
  321. package/cdn/components/tabs/tabs.component.js +6 -6
  322. package/cdn/components/tabs/tabs.js +7 -7
  323. package/cdn/components/tag/tag.component.js +6 -6
  324. package/cdn/components/tag/tag.js +7 -7
  325. package/cdn/components/textarea/textarea.component.js +4 -4
  326. package/cdn/components/textarea/textarea.js +5 -5
  327. package/cdn/components/time-average-map/time-average-map.component.d.ts +6 -0
  328. package/cdn/components/time-average-map/time-average-map.component.js +24 -24
  329. package/cdn/components/time-average-map/time-average-map.controller.js +5 -5
  330. package/cdn/components/time-average-map/time-average-map.js +25 -25
  331. package/cdn/components/time-series/time-series.component.d.ts +6 -0
  332. package/cdn/components/time-series/time-series.component.js +24 -24
  333. package/cdn/components/time-series/time-series.controller.js +5 -5
  334. package/cdn/components/time-series/time-series.js +25 -25
  335. package/cdn/components/toast/toast.component.js +4 -4
  336. package/cdn/components/toast/toast.js +5 -5
  337. package/cdn/components/toggle/toggle.component.js +4 -4
  338. package/cdn/components/toggle/toggle.js +5 -5
  339. package/cdn/components/tooltip/tooltip.component.js +3 -3
  340. package/cdn/components/tooltip/tooltip.js +4 -4
  341. package/cdn/components/variable-combobox/lib.js +3 -3
  342. package/cdn/components/variable-combobox/variable-combobox.component.js +15 -15
  343. package/cdn/components/variable-combobox/variable-combobox.controller.js +4 -4
  344. package/cdn/components/variable-combobox/variable-combobox.js +16 -16
  345. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +11 -11
  346. package/cdn/components/variable-keyword-search/variable-keyword-search.js +12 -12
  347. package/cdn/custom-elements.json +173 -135
  348. package/cdn/react/accordion/index.js +6 -6
  349. package/cdn/react/alert/index.js +4 -4
  350. package/cdn/react/avatar/index.js +8 -8
  351. package/cdn/react/badge/index.js +3 -3
  352. package/cdn/react/breadcrumb/index.js +3 -3
  353. package/cdn/react/breadcrumbs/index.js +3 -3
  354. package/cdn/react/browse-variables/index.js +18 -18
  355. package/cdn/react/button/index.js +8 -8
  356. package/cdn/react/button-group/index.js +3 -3
  357. package/cdn/react/caption/index.js +3 -3
  358. package/cdn/react/card/index.js +3 -3
  359. package/cdn/react/checkbox/index.js +9 -9
  360. package/cdn/react/chip/index.js +3 -3
  361. package/cdn/react/combobox/index.js +7 -7
  362. package/cdn/react/data-access/index.js +30 -30
  363. package/cdn/react/data-grid/index.js +6 -6
  364. package/cdn/react/data-rods/index.js +39 -39
  365. package/cdn/react/data-subsetter/index.js +41 -41
  366. package/cdn/react/data-subsetter-history/index.js +42 -42
  367. package/cdn/react/date-picker/index.js +15 -15
  368. package/cdn/react/date-range-slider/index.js +3 -3
  369. package/cdn/react/dialog/index.js +10 -10
  370. package/cdn/react/divider/index.js +3 -3
  371. package/cdn/react/dropdown/index.js +4 -4
  372. package/cdn/react/earthdata-login/index.js +16 -16
  373. package/cdn/react/file-upload/index.js +3 -3
  374. package/cdn/react/harmony-history/index.js +14 -14
  375. package/cdn/react/icon/index.js +4 -4
  376. package/cdn/react/index.d.ts +1 -1
  377. package/cdn/react/index.js +158 -158
  378. package/cdn/react/input/index.js +9 -9
  379. package/cdn/react/loader/index.js +3 -3
  380. package/cdn/react/login/index.js +13 -13
  381. package/cdn/react/map/index.js +5 -5
  382. package/cdn/react/menu/index.js +3 -3
  383. package/cdn/react/menu-item/index.js +12 -12
  384. package/cdn/react/option/index.js +7 -7
  385. package/cdn/react/pagination/index.js +7 -7
  386. package/cdn/react/plot/index.js +3 -3
  387. package/cdn/react/plot-toolbar/index.js +13 -13
  388. package/cdn/react/popup/index.js +3 -3
  389. package/cdn/react/progress-bar/index.js +3 -3
  390. package/cdn/react/radio/index.js +5 -5
  391. package/cdn/react/radio-group/index.js +3 -3
  392. package/cdn/react/scroll-hint/index.js +5 -5
  393. package/cdn/react/select/index.js +11 -11
  394. package/cdn/react/site-header/index.js +6 -6
  395. package/cdn/react/site-navigation/index.js +3 -3
  396. package/cdn/react/skeleton/index.js +3 -3
  397. package/cdn/react/slider/index.js +3 -3
  398. package/cdn/react/spatial-picker/index.js +16 -16
  399. package/cdn/react/status-indicator/index.js +3 -3
  400. package/cdn/react/stepper/index.js +3 -3
  401. package/cdn/react/stepper-step/index.js +7 -7
  402. package/cdn/react/tab/index.js +7 -7
  403. package/cdn/react/tab-panel/index.js +3 -3
  404. package/cdn/react/tabs/index.js +7 -7
  405. package/cdn/react/tag/index.js +7 -7
  406. package/cdn/react/textarea/index.js +5 -5
  407. package/cdn/react/time-average-map/index.js +25 -25
  408. package/cdn/react/time-series/index.js +25 -25
  409. package/cdn/react/toast/index.js +5 -5
  410. package/cdn/react/toggle/index.js +5 -5
  411. package/cdn/react/tooltip/index.js +4 -4
  412. package/cdn/react/variable-combobox/index.js +16 -16
  413. package/cdn/react/variable-keyword-search/index.js +12 -12
  414. package/cdn/terra-ui-components.js +154 -154
  415. package/cdn/types/vue/index.d.ts +58 -50
  416. package/cdn/vscode.html-custom-data.json +33 -23
  417. package/cdn/web-types.json +130 -110
  418. package/dist/chunks/chunk.25IJTRN2.js +35 -0
  419. package/dist/chunks/chunk.26TIQ67V.js +1 -0
  420. package/dist/chunks/chunk.2QS2GW24.js +1 -0
  421. package/dist/chunks/chunk.2W4QHF33.js +100 -0
  422. package/dist/chunks/chunk.35AKYR3R.js +1 -0
  423. package/dist/chunks/chunk.3A7J6DJT.js +1 -0
  424. package/dist/chunks/chunk.3AWO3Q45.js +1 -0
  425. package/dist/chunks/chunk.3IP76OK4.js +1 -0
  426. package/dist/chunks/chunk.3NZFQPY5.js +1 -0
  427. package/dist/chunks/chunk.443D6GCI.js +1 -0
  428. package/dist/chunks/chunk.46MIWFWF.js +121 -0
  429. package/dist/chunks/chunk.4CPC6T4W.js +23 -0
  430. package/dist/chunks/chunk.4EI5AQ55.js +47 -0
  431. package/dist/chunks/chunk.4MF3EOIE.js +1 -0
  432. package/dist/chunks/chunk.4R54XEI5.js +14 -0
  433. package/dist/chunks/chunk.52AIVMJA.js +20 -0
  434. package/dist/chunks/chunk.52DDN5Y5.js +1 -0
  435. package/dist/chunks/chunk.5AT7REMR.js +1 -0
  436. package/dist/chunks/chunk.5AYLTPSG.js +55 -0
  437. package/dist/chunks/chunk.5NVT3NMG.js +1 -0
  438. package/dist/chunks/chunk.5ZJ22MI2.js +1 -0
  439. package/dist/chunks/chunk.63XFDLLU.js +22 -0
  440. package/dist/chunks/chunk.67ZMDEXW.js +1 -0
  441. package/dist/chunks/chunk.6BU2ZYA2.js +1 -0
  442. package/dist/chunks/chunk.6C2DLXBV.js +1 -0
  443. package/dist/chunks/chunk.6DUHY2K7.js +1 -0
  444. package/dist/chunks/chunk.6RGAOWQL.js +1 -0
  445. package/dist/chunks/chunk.6XHS36ZS.js +1 -0
  446. package/dist/chunks/chunk.6YC7NU6R.js +1 -0
  447. package/dist/chunks/chunk.74OC24MY.js +1 -0
  448. package/dist/chunks/chunk.76MUDXWL.js +1 -0
  449. package/dist/chunks/chunk.7M4J27XW.js +9 -0
  450. package/dist/chunks/chunk.7YKWHD3Q.js +1 -0
  451. package/dist/chunks/chunk.ADD22LT5.js +1 -0
  452. package/dist/chunks/chunk.ADOJGUIM.js +1 -0
  453. package/dist/chunks/chunk.ADRI7S3D.js +1 -0
  454. package/dist/chunks/chunk.AJTT6ZVS.js +1 -0
  455. package/dist/chunks/chunk.ALLTKOK5.js +55 -0
  456. package/dist/chunks/chunk.ALWXS4EN.js +1 -0
  457. package/dist/chunks/chunk.AOG74ZOR.js +1 -0
  458. package/dist/chunks/chunk.AXW6QQ5G.js +1 -0
  459. package/dist/chunks/chunk.BDUWGLTX.js +1 -0
  460. package/dist/chunks/chunk.BHTVOOL3.js +1 -0
  461. package/dist/chunks/chunk.BNL5MQSM.js +67 -0
  462. package/dist/chunks/chunk.BPGBHDOI.js +1 -0
  463. package/dist/chunks/chunk.BPHQBSYM.js +1 -0
  464. package/dist/chunks/chunk.BR23Z5K4.js +1 -0
  465. package/dist/chunks/chunk.BXSXRNLA.js +9 -0
  466. package/dist/chunks/chunk.CARZD2IC.js +1 -0
  467. package/dist/chunks/chunk.CMJJA2FU.js +280 -0
  468. package/dist/chunks/chunk.CNGKS3CF.js +74 -0
  469. package/dist/chunks/chunk.CSD2H2XD.js +1 -0
  470. package/dist/chunks/chunk.CWW64TWB.js +1 -0
  471. package/dist/chunks/chunk.D4AQVUAD.js +1 -0
  472. package/dist/chunks/chunk.DDT4SEKP.js +1 -0
  473. package/dist/chunks/chunk.DN2W7CXP.js +25 -0
  474. package/dist/chunks/chunk.DNECT5E5.js +1 -0
  475. package/dist/chunks/chunk.DSKRM2DE.js +1 -0
  476. package/dist/chunks/chunk.E2WOMCTG.js +115 -0
  477. package/dist/chunks/chunk.E74KOQ6O.js +37 -0
  478. package/dist/chunks/chunk.EB7RTWHA.js +1 -0
  479. package/dist/chunks/chunk.EHNN7VF7.js +1 -0
  480. package/dist/chunks/chunk.EKZ44GOI.js +300 -0
  481. package/dist/chunks/chunk.EKZZOM3I.js +1 -0
  482. package/dist/chunks/chunk.ELYC43YZ.js +1 -0
  483. package/dist/chunks/chunk.EMUOCMNG.js +1 -0
  484. package/dist/chunks/chunk.EQ77DEN3.js +1 -0
  485. package/dist/chunks/chunk.EVAOZTKK.js +37 -0
  486. package/dist/chunks/chunk.EXISX4DM.js +1 -0
  487. package/dist/chunks/chunk.EY7CGJXP.js +16 -0
  488. package/dist/chunks/chunk.F5XNFJYR.js +17 -0
  489. package/dist/chunks/chunk.FGAFF4GY.js +8 -0
  490. package/dist/chunks/chunk.FQ6VIV6W.js +1 -0
  491. package/dist/chunks/chunk.FT7HZOCQ.js +145 -0
  492. package/dist/chunks/chunk.FXGSYMQ5.js +1 -0
  493. package/dist/chunks/chunk.G3TKMUU4.js +1 -0
  494. package/dist/chunks/chunk.G7EZQRZI.js +26 -0
  495. package/dist/chunks/chunk.GHVDYLX5.js +1 -0
  496. package/dist/chunks/chunk.GIZLZV63.js +1 -0
  497. package/dist/chunks/chunk.H2SGQQPI.js +126 -0
  498. package/dist/chunks/chunk.H4FARZ53.js +1 -0
  499. package/dist/chunks/chunk.H6PC5SSG.js +8 -0
  500. package/dist/chunks/chunk.HDPC44EI.js +1 -0
  501. package/dist/chunks/chunk.HJJKMAXZ.js +1 -0
  502. package/dist/chunks/chunk.HRG3YIXF.js +1 -0
  503. package/dist/chunks/chunk.HTTWDTCN.js +1 -0
  504. package/dist/chunks/chunk.I6KMV3PH.js +1 -0
  505. package/dist/chunks/chunk.IAZ53T5N.js +1 -0
  506. package/dist/chunks/chunk.IECIA36P.js +1 -0
  507. package/dist/chunks/chunk.IFRRAZJZ.js +1 -0
  508. package/dist/chunks/chunk.ILWARFBK.js +80 -0
  509. package/dist/chunks/chunk.IO5RP4LZ.js +43 -0
  510. package/dist/chunks/chunk.ITLR4NVV.js +1 -0
  511. package/dist/chunks/chunk.J6LC4XO6.js +1 -0
  512. package/dist/chunks/chunk.JFAE577A.js +1 -0
  513. package/dist/chunks/chunk.JHNY5UC5.js +1 -0
  514. package/dist/chunks/chunk.JIFY72GY.js +1 -0
  515. package/dist/chunks/chunk.JMHCKJE6.js +12 -0
  516. package/dist/chunks/chunk.JPCSPQ7M.js +122 -0
  517. package/dist/chunks/chunk.JUBS77KN.js +1 -0
  518. package/dist/chunks/chunk.JVNL2XTU.js +5 -0
  519. package/dist/chunks/chunk.K3NTQ4JF.js +1 -0
  520. package/dist/chunks/chunk.K3RQUNKR.js +1 -0
  521. package/dist/chunks/chunk.K6EEJAT5.js +1 -0
  522. package/dist/chunks/chunk.KBQI5V5Q.js +749 -0
  523. package/dist/chunks/chunk.KNYMQKW4.js +1 -0
  524. package/dist/chunks/chunk.KPFWB2YA.js +1 -0
  525. package/dist/chunks/chunk.KRWSFDPL.js +1 -0
  526. package/dist/chunks/chunk.KVHJU4LP.js +1 -0
  527. package/dist/chunks/chunk.KYXMELYH.js +1 -0
  528. package/dist/chunks/chunk.L745Y2S6.js +1 -0
  529. package/dist/chunks/chunk.LA4EE2OS.js +26 -0
  530. package/dist/chunks/chunk.LBOZG7DZ.js +1 -0
  531. package/dist/chunks/chunk.LCC2VNUN.js +1 -0
  532. package/dist/chunks/chunk.LFGMVPWO.js +6 -0
  533. package/dist/chunks/chunk.LPNUA4MS.js +43 -0
  534. package/dist/chunks/chunk.MAZZVNDV.js +55 -0
  535. package/dist/chunks/chunk.MFSYNWGZ.js +1 -0
  536. package/dist/chunks/chunk.MJISDOIT.js +1 -0
  537. package/dist/chunks/chunk.MNSPDFPW.js +1 -0
  538. package/dist/chunks/chunk.MSFH4A6C.js +1 -0
  539. package/dist/chunks/chunk.MWN6SUCO.js +1 -0
  540. package/dist/chunks/chunk.N6MMAM36.js +1 -0
  541. package/dist/chunks/chunk.NBONFMWU.js +1 -0
  542. package/dist/chunks/chunk.NDMEGIXT.js +1 -0
  543. package/dist/chunks/chunk.NH6VLJ6J.js +1 -0
  544. package/dist/chunks/chunk.NRKQII5L.js +1 -0
  545. package/dist/chunks/chunk.NV3RRECJ.js +5 -0
  546. package/dist/chunks/chunk.NW7UERHZ.js +99 -0
  547. package/dist/chunks/chunk.O3T4ATYT.js +1 -0
  548. package/dist/chunks/chunk.OGQJXR3F.js +1 -0
  549. package/dist/chunks/chunk.OJGU37E3.js +1 -0
  550. package/dist/chunks/chunk.OQULIOOE.js +1 -0
  551. package/dist/chunks/chunk.OTF3DTPS.js +299 -0
  552. package/dist/chunks/chunk.OTK4YHSY.js +1 -0
  553. package/dist/chunks/chunk.OZ4SZSLD.js +1 -0
  554. package/dist/chunks/chunk.PA77JIJB.js +1 -0
  555. package/dist/chunks/chunk.PAOPYU6H.js +48 -0
  556. package/dist/chunks/chunk.PPSCVLKZ.js +566 -0
  557. package/dist/chunks/chunk.PQWOPKO5.js +1 -0
  558. package/dist/chunks/chunk.PZM3CPCG.js +64 -0
  559. package/dist/chunks/chunk.Q6QIRUFF.js +35 -0
  560. package/dist/chunks/chunk.QLI6APTM.js +1 -0
  561. package/dist/chunks/chunk.QNHHTCKA.js +20 -0
  562. package/dist/chunks/chunk.QP47LYRE.js +1 -0
  563. package/dist/chunks/chunk.QS53EJDR.js +1 -0
  564. package/dist/chunks/chunk.QTWF2WDX.js +1 -0
  565. package/dist/chunks/chunk.QUWBD3SD.js +2 -0
  566. package/dist/chunks/chunk.RMKTIRLM.js +1 -0
  567. package/dist/chunks/chunk.ROGSTGQT.js +1 -0
  568. package/dist/chunks/chunk.S3EEI23E.js +1 -0
  569. package/dist/chunks/chunk.SATJQMPW.js +1 -0
  570. package/dist/chunks/chunk.SDHUSIQJ.js +1 -0
  571. package/dist/chunks/chunk.SEODWXYC.js +38 -0
  572. package/dist/chunks/chunk.T3F226QD.js +24 -0
  573. package/dist/chunks/chunk.T7B46YQE.js +1 -0
  574. package/dist/chunks/chunk.T7GB532E.js +101 -0
  575. package/dist/chunks/chunk.TKOSJQ55.js +33 -0
  576. package/dist/chunks/chunk.TLQME5TY.js +1 -0
  577. package/dist/chunks/chunk.TQGIFDYA.js +65 -0
  578. package/dist/chunks/chunk.TRPU5KOO.js +1 -0
  579. package/dist/chunks/chunk.TSTFRNHO.js +30 -0
  580. package/dist/chunks/chunk.TSVYBK3W.js +1 -0
  581. package/dist/chunks/chunk.UFDERNNG.js +140 -0
  582. package/dist/chunks/chunk.V2RCW5GT.js +1 -0
  583. package/dist/chunks/chunk.VIXBKCRX.js +1 -0
  584. package/dist/chunks/chunk.VPN54IEF.js +1 -0
  585. package/dist/chunks/chunk.VRH7V55E.js +1 -0
  586. package/dist/chunks/chunk.VRMDJLQD.js +1157 -0
  587. package/dist/chunks/chunk.W6XVQOLT.js +1 -0
  588. package/dist/chunks/chunk.WCR7D3KN.js +49 -0
  589. package/dist/chunks/chunk.WETDUXP5.js +1 -0
  590. package/dist/chunks/chunk.WKXYY2SS.js +1 -0
  591. package/dist/chunks/chunk.WLKVTAB4.js +1 -0
  592. package/dist/chunks/chunk.WNYSCJWU.js +1 -0
  593. package/dist/chunks/chunk.WSSQCROT.js +62 -0
  594. package/dist/chunks/chunk.WSV3Y476.js +1 -0
  595. package/dist/chunks/chunk.WUMKEMAE.js +1 -0
  596. package/dist/chunks/chunk.WUQDOY44.js +1 -0
  597. package/dist/chunks/chunk.WYFUGJYX.js +1 -0
  598. package/dist/chunks/chunk.WZJ6BLFI.js +154 -0
  599. package/dist/chunks/chunk.XA74HUUF.js +11 -0
  600. package/dist/chunks/chunk.XAR5NYEQ.js +19 -0
  601. package/dist/chunks/chunk.XBLQSPUU.js +39 -0
  602. package/dist/chunks/chunk.XOZSKLSU.js +1 -0
  603. package/dist/chunks/chunk.XQ2DODLW.js +1 -0
  604. package/dist/chunks/chunk.XUXVJHWD.js +1 -0
  605. package/dist/chunks/chunk.XW6P4ZVZ.js +75 -0
  606. package/dist/chunks/chunk.XWN6PMIT.js +1 -0
  607. package/dist/chunks/chunk.Y4NGZVLV.js +157 -0
  608. package/dist/chunks/chunk.YITLAPOA.js +1 -0
  609. package/dist/chunks/chunk.YSFPB4SY.js +1 -0
  610. package/dist/chunks/chunk.YVJLNJOM.js +1 -0
  611. package/dist/chunks/chunk.ZAZLZRKQ.js +1 -0
  612. package/dist/chunks/chunk.ZFBM4OFX.js +1 -0
  613. package/dist/chunks/chunk.ZGKHSKIP.js +1 -0
  614. package/dist/chunks/chunk.ZJOXNJ4J.js +30 -0
  615. package/dist/chunks/chunk.ZJQMVD74.js +4 -0
  616. package/dist/chunks/chunk.ZKKAJVQK.js +11 -0
  617. package/dist/chunks/chunk.ZVQU27UY.js +1 -0
  618. package/dist/components/accordion/accordion.component.js +1 -1
  619. package/dist/components/accordion/accordion.js +1 -1
  620. package/dist/components/alert/alert.component.js +1 -1
  621. package/dist/components/alert/alert.js +1 -1
  622. package/dist/components/avatar/avatar.component.js +1 -1
  623. package/dist/components/avatar/avatar.js +1 -1
  624. package/dist/components/badge/badge.component.js +1 -1
  625. package/dist/components/badge/badge.js +1 -1
  626. package/dist/components/breadcrumb/breadcrumb.component.js +1 -1
  627. package/dist/components/breadcrumb/breadcrumb.js +1 -1
  628. package/dist/components/breadcrumbs/breadcrumbs.component.js +1 -1
  629. package/dist/components/breadcrumbs/breadcrumbs.js +1 -1
  630. package/dist/components/browse-variables/browse-variables.component.js +1 -1
  631. package/dist/components/browse-variables/browse-variables.js +1 -1
  632. package/dist/components/button/button.component.js +1 -1
  633. package/dist/components/button/button.js +1 -1
  634. package/dist/components/button-group/button-group.component.js +1 -1
  635. package/dist/components/button-group/button-group.js +1 -1
  636. package/dist/components/caption/caption.component.js +1 -1
  637. package/dist/components/caption/caption.js +1 -1
  638. package/dist/components/card/card.component.js +1 -1
  639. package/dist/components/card/card.js +1 -1
  640. package/dist/components/checkbox/checkbox.component.js +1 -1
  641. package/dist/components/checkbox/checkbox.js +1 -1
  642. package/dist/components/chip/chip.component.js +1 -1
  643. package/dist/components/chip/chip.js +1 -1
  644. package/dist/components/combobox/combobox.component.js +1 -1
  645. package/dist/components/combobox/combobox.js +1 -1
  646. package/dist/components/data-access/data-access.component.js +1 -1
  647. package/dist/components/data-access/data-access.js +1 -1
  648. package/dist/components/data-grid/data-grid.component.js +1 -1
  649. package/dist/components/data-grid/data-grid.js +1 -1
  650. package/dist/components/data-rods/data-rods.component.js +1 -1
  651. package/dist/components/data-rods/data-rods.js +1 -1
  652. package/dist/components/data-subsetter/data-subsetter.component.js +1 -1
  653. package/dist/components/data-subsetter/data-subsetter.js +1 -1
  654. package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  655. package/dist/components/data-subsetter-history/data-subsetter-history.component.js +1 -1
  656. package/dist/components/data-subsetter-history/data-subsetter-history.js +1 -1
  657. package/dist/components/date-picker/date-picker.component.js +1 -1
  658. package/dist/components/date-picker/date-picker.js +1 -1
  659. package/dist/components/date-range-slider/date-range-slider.component.js +1 -1
  660. package/dist/components/date-range-slider/date-range-slider.js +1 -1
  661. package/dist/components/dialog/dialog.component.js +1 -1
  662. package/dist/components/dialog/dialog.js +1 -1
  663. package/dist/components/divider/divider.component.js +1 -1
  664. package/dist/components/divider/divider.js +1 -1
  665. package/dist/components/dropdown/dropdown.component.js +1 -1
  666. package/dist/components/dropdown/dropdown.js +1 -1
  667. package/dist/components/earthdata-login/earthdata-login.component.js +1 -1
  668. package/dist/components/earthdata-login/earthdata-login.js +1 -1
  669. package/dist/components/file-upload/file-upload.component.js +1 -1
  670. package/dist/components/file-upload/file-upload.js +1 -1
  671. package/dist/components/harmony-history/harmony-history.component.js +1 -1
  672. package/dist/components/harmony-history/harmony-history.js +1 -1
  673. package/dist/components/icon/icon.component.js +1 -1
  674. package/dist/components/icon/icon.js +1 -1
  675. package/dist/components/input/input.component.js +1 -1
  676. package/dist/components/input/input.js +1 -1
  677. package/dist/components/loader/loader.component.js +1 -1
  678. package/dist/components/loader/loader.js +1 -1
  679. package/dist/components/login/login.component.js +1 -1
  680. package/dist/components/login/login.js +1 -1
  681. package/dist/components/map/map.component.js +1 -1
  682. package/dist/components/map/map.js +1 -1
  683. package/dist/components/menu/menu.component.js +1 -1
  684. package/dist/components/menu/menu.js +1 -1
  685. package/dist/components/menu-item/menu-item.component.js +1 -1
  686. package/dist/components/menu-item/menu-item.js +1 -1
  687. package/dist/components/option/option.component.js +1 -1
  688. package/dist/components/option/option.js +1 -1
  689. package/dist/components/pagination/pagination.component.js +1 -1
  690. package/dist/components/pagination/pagination.js +1 -1
  691. package/dist/components/plot/plot.component.js +1 -1
  692. package/dist/components/plot/plot.js +1 -1
  693. package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  694. package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  695. package/dist/components/plot-toolbar/plot-toolbar.component.js +1 -1
  696. package/dist/components/plot-toolbar/plot-toolbar.js +1 -1
  697. package/dist/components/popup/popup.component.js +1 -1
  698. package/dist/components/popup/popup.js +1 -1
  699. package/dist/components/progress-bar/progress-bar.component.js +1 -1
  700. package/dist/components/progress-bar/progress-bar.js +1 -1
  701. package/dist/components/radio/radio.component.js +1 -1
  702. package/dist/components/radio/radio.js +1 -1
  703. package/dist/components/radio-group/radio-group.component.js +1 -1
  704. package/dist/components/radio-group/radio-group.js +1 -1
  705. package/dist/components/scroll-hint/scroll-hint.component.js +1 -1
  706. package/dist/components/scroll-hint/scroll-hint.js +1 -1
  707. package/dist/components/select/select.component.js +1 -1
  708. package/dist/components/select/select.js +1 -1
  709. package/dist/components/site-header/site-header.component.js +1 -1
  710. package/dist/components/site-header/site-header.js +1 -1
  711. package/dist/components/site-navigation/site-navigation.component.js +1 -1
  712. package/dist/components/site-navigation/site-navigation.js +1 -1
  713. package/dist/components/skeleton/skeleton.component.js +1 -1
  714. package/dist/components/skeleton/skeleton.js +1 -1
  715. package/dist/components/slider/slider.component.js +1 -1
  716. package/dist/components/slider/slider.js +1 -1
  717. package/dist/components/spatial-picker/spatial-picker.component.js +1 -1
  718. package/dist/components/spatial-picker/spatial-picker.js +1 -1
  719. package/dist/components/status-indicator/status-indicator.component.js +1 -1
  720. package/dist/components/status-indicator/status-indicator.js +1 -1
  721. package/dist/components/stepper/stepper.component.js +1 -1
  722. package/dist/components/stepper/stepper.js +1 -1
  723. package/dist/components/stepper-step/stepper-step.component.js +1 -1
  724. package/dist/components/stepper-step/stepper-step.js +1 -1
  725. package/dist/components/tab/tab.component.js +1 -1
  726. package/dist/components/tab/tab.js +1 -1
  727. package/dist/components/tab-panel/tab-panel.component.js +1 -1
  728. package/dist/components/tab-panel/tab-panel.js +1 -1
  729. package/dist/components/tabs/tabs.component.js +1 -1
  730. package/dist/components/tabs/tabs.js +1 -1
  731. package/dist/components/tag/tag.component.js +1 -1
  732. package/dist/components/tag/tag.js +1 -1
  733. package/dist/components/textarea/textarea.component.js +1 -1
  734. package/dist/components/textarea/textarea.js +1 -1
  735. package/dist/components/time-average-map/time-average-map.component.d.ts +6 -0
  736. package/dist/components/time-average-map/time-average-map.component.js +1 -1
  737. package/dist/components/time-average-map/time-average-map.controller.js +1 -1
  738. package/dist/components/time-average-map/time-average-map.js +1 -1
  739. package/dist/components/time-series/time-series.component.d.ts +6 -0
  740. package/dist/components/time-series/time-series.component.js +1 -1
  741. package/dist/components/time-series/time-series.controller.js +1 -1
  742. package/dist/components/time-series/time-series.js +1 -1
  743. package/dist/components/toast/toast.component.js +1 -1
  744. package/dist/components/toast/toast.js +1 -1
  745. package/dist/components/toggle/toggle.component.js +1 -1
  746. package/dist/components/toggle/toggle.js +1 -1
  747. package/dist/components/tooltip/tooltip.component.js +1 -1
  748. package/dist/components/tooltip/tooltip.js +1 -1
  749. package/dist/components/variable-combobox/variable-combobox.component.js +1 -1
  750. package/dist/components/variable-combobox/variable-combobox.js +1 -1
  751. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +1 -1
  752. package/dist/components/variable-keyword-search/variable-keyword-search.js +1 -1
  753. package/dist/custom-elements.json +173 -135
  754. package/dist/react/accordion/index.js +1 -1
  755. package/dist/react/alert/index.js +1 -1
  756. package/dist/react/avatar/index.js +1 -1
  757. package/dist/react/badge/index.js +1 -1
  758. package/dist/react/breadcrumb/index.js +1 -1
  759. package/dist/react/breadcrumbs/index.js +1 -1
  760. package/dist/react/browse-variables/index.js +1 -1
  761. package/dist/react/button/index.js +1 -1
  762. package/dist/react/button-group/index.js +1 -1
  763. package/dist/react/caption/index.js +1 -1
  764. package/dist/react/card/index.js +1 -1
  765. package/dist/react/checkbox/index.js +1 -1
  766. package/dist/react/chip/index.js +1 -1
  767. package/dist/react/combobox/index.js +1 -1
  768. package/dist/react/data-access/index.js +1 -1
  769. package/dist/react/data-grid/index.js +1 -1
  770. package/dist/react/data-rods/index.js +1 -1
  771. package/dist/react/data-subsetter/index.js +1 -1
  772. package/dist/react/data-subsetter-history/index.js +1 -1
  773. package/dist/react/date-picker/index.js +1 -1
  774. package/dist/react/date-range-slider/index.js +1 -1
  775. package/dist/react/dialog/index.js +1 -1
  776. package/dist/react/divider/index.js +1 -1
  777. package/dist/react/dropdown/index.js +1 -1
  778. package/dist/react/earthdata-login/index.js +1 -1
  779. package/dist/react/file-upload/index.js +1 -1
  780. package/dist/react/harmony-history/index.js +1 -1
  781. package/dist/react/icon/index.js +1 -1
  782. package/dist/react/index.d.ts +1 -1
  783. package/dist/react/index.js +1 -1
  784. package/dist/react/input/index.js +1 -1
  785. package/dist/react/loader/index.js +1 -1
  786. package/dist/react/login/index.js +1 -1
  787. package/dist/react/map/index.js +1 -1
  788. package/dist/react/menu/index.js +1 -1
  789. package/dist/react/menu-item/index.js +1 -1
  790. package/dist/react/option/index.js +1 -1
  791. package/dist/react/pagination/index.js +1 -1
  792. package/dist/react/plot/index.js +1 -1
  793. package/dist/react/plot-toolbar/index.js +1 -1
  794. package/dist/react/popup/index.js +1 -1
  795. package/dist/react/progress-bar/index.js +1 -1
  796. package/dist/react/radio/index.js +1 -1
  797. package/dist/react/radio-group/index.js +1 -1
  798. package/dist/react/scroll-hint/index.js +1 -1
  799. package/dist/react/select/index.js +1 -1
  800. package/dist/react/site-header/index.js +1 -1
  801. package/dist/react/site-navigation/index.js +1 -1
  802. package/dist/react/skeleton/index.js +1 -1
  803. package/dist/react/slider/index.js +1 -1
  804. package/dist/react/spatial-picker/index.js +1 -1
  805. package/dist/react/status-indicator/index.js +1 -1
  806. package/dist/react/stepper/index.js +1 -1
  807. package/dist/react/stepper-step/index.js +1 -1
  808. package/dist/react/tab/index.js +1 -1
  809. package/dist/react/tab-panel/index.js +1 -1
  810. package/dist/react/tabs/index.js +1 -1
  811. package/dist/react/tag/index.js +1 -1
  812. package/dist/react/textarea/index.js +1 -1
  813. package/dist/react/time-average-map/index.js +1 -1
  814. package/dist/react/time-series/index.js +1 -1
  815. package/dist/react/toast/index.js +1 -1
  816. package/dist/react/toggle/index.js +1 -1
  817. package/dist/react/tooltip/index.js +1 -1
  818. package/dist/react/variable-combobox/index.js +1 -1
  819. package/dist/react/variable-keyword-search/index.js +1 -1
  820. package/dist/terra-ui-components.js +1 -1
  821. package/dist/terra_ui_components-0.0.181-py3-none-any.whl +0 -0
  822. package/dist/terra_ui_components-0.0.181.tar.gz +0 -0
  823. package/dist/types/vue/index.d.ts +58 -50
  824. package/dist/vscode.html-custom-data.json +33 -23
  825. package/dist/web-types.json +130 -110
  826. package/package.json +1 -1
  827. package/cdn/chunks/chunk.2DWOHXBK.js +0 -19
  828. package/cdn/chunks/chunk.2ND5H65H.js +0 -357
  829. package/cdn/chunks/chunk.2NYU2KVG.js +0 -41
  830. package/cdn/chunks/chunk.2Y5YYW4R.js +0 -2244
  831. package/cdn/chunks/chunk.35CHAEJK.js +0 -19
  832. package/cdn/chunks/chunk.3OFBDOEM.js +0 -32
  833. package/cdn/chunks/chunk.3QZNL3QN.js +0 -477
  834. package/cdn/chunks/chunk.3RQ3EY2O.js +0 -32
  835. package/cdn/chunks/chunk.3Y7HZ5CS.js +0 -110
  836. package/cdn/chunks/chunk.45VJVUYK.js +0 -34
  837. package/cdn/chunks/chunk.47Q7XTJE.js +0 -514
  838. package/cdn/chunks/chunk.4DZW7OYM.js +0 -189
  839. package/cdn/chunks/chunk.4HIIVOOA.js +0 -19
  840. package/cdn/chunks/chunk.4IWGQ3QM.js +0 -34
  841. package/cdn/chunks/chunk.4MF2CVEK.js +0 -19
  842. package/cdn/chunks/chunk.4MLYEWPE.js +0 -19
  843. package/cdn/chunks/chunk.4NU6XC7B.js +0 -616
  844. package/cdn/chunks/chunk.4QUFZHF6.js +0 -19
  845. package/cdn/chunks/chunk.4SNGWC6U.js +0 -19
  846. package/cdn/chunks/chunk.55F4UQSA.js +0 -62
  847. package/cdn/chunks/chunk.5BFFURMO.js +0 -151
  848. package/cdn/chunks/chunk.5C3JGD4D.js +0 -19
  849. package/cdn/chunks/chunk.5D66GYVU.js +0 -29
  850. package/cdn/chunks/chunk.5IGCBQF2.js +0 -29
  851. package/cdn/chunks/chunk.5Q3ESWK2.js +0 -29
  852. package/cdn/chunks/chunk.63GR7COJ.js +0 -310
  853. package/cdn/chunks/chunk.63OVZYG7.js +0 -134
  854. package/cdn/chunks/chunk.6DLL4PEH.js +0 -29
  855. package/cdn/chunks/chunk.6FVRJALX.js +0 -472
  856. package/cdn/chunks/chunk.6X5DB5KR.js +0 -56075
  857. package/cdn/chunks/chunk.6ZCOQKCQ.js +0 -19
  858. package/cdn/chunks/chunk.73E43E5H.js +0 -19
  859. package/cdn/chunks/chunk.73ZJ52GL.js +0 -237
  860. package/cdn/chunks/chunk.746HHL7J.js +0 -39
  861. package/cdn/chunks/chunk.765GMYVH.js +0 -19
  862. package/cdn/chunks/chunk.7MKFJACQ.js +0 -19
  863. package/cdn/chunks/chunk.7TSAQ7F7.js +0 -19
  864. package/cdn/chunks/chunk.7W7LCLU5.js +0 -443
  865. package/cdn/chunks/chunk.AGUPZDXW.js +0 -19
  866. package/cdn/chunks/chunk.ANTYCNBS.js +0 -234
  867. package/cdn/chunks/chunk.ANY6ZBQZ.js +0 -1207
  868. package/cdn/chunks/chunk.AODMPEAA.js +0 -32
  869. package/cdn/chunks/chunk.ASJLND3B.js +0 -77
  870. package/cdn/chunks/chunk.AYENYRMH.js +0 -19
  871. package/cdn/chunks/chunk.B6THN23F.js +0 -19
  872. package/cdn/chunks/chunk.BCNBUAWM.js +0 -36
  873. package/cdn/chunks/chunk.BOPH3VGD.js +0 -19
  874. package/cdn/chunks/chunk.BUHSAHXI.js +0 -538
  875. package/cdn/chunks/chunk.BWWU3UOU.js +0 -293
  876. package/cdn/chunks/chunk.BYWARBVO.js +0 -35
  877. package/cdn/chunks/chunk.C2ZPLW2A.js +0 -19
  878. package/cdn/chunks/chunk.CD75NGST.js +0 -35
  879. package/cdn/chunks/chunk.CIVGGIRX.js +0 -473
  880. package/cdn/chunks/chunk.CUK563TP.js +0 -32
  881. package/cdn/chunks/chunk.CWBT2ALZ.js +0 -29
  882. package/cdn/chunks/chunk.CY34MSDE.js +0 -123
  883. package/cdn/chunks/chunk.D7FSLFUL.js +0 -904
  884. package/cdn/chunks/chunk.DEDLPLON.js +0 -47
  885. package/cdn/chunks/chunk.DHRENFRE.js +0 -285
  886. package/cdn/chunks/chunk.DNHL2E5Q.js +0 -19
  887. package/cdn/chunks/chunk.DSYH36LJ.js +0 -19
  888. package/cdn/chunks/chunk.DXWMVI4V.js +0 -29
  889. package/cdn/chunks/chunk.DYDZ3LJN.js +0 -165
  890. package/cdn/chunks/chunk.DYMGURNK.js +0 -359
  891. package/cdn/chunks/chunk.E25SYMSA.js +0 -190
  892. package/cdn/chunks/chunk.EDYR7OMS.js +0 -19
  893. package/cdn/chunks/chunk.EEN2PM7M.js +0 -29
  894. package/cdn/chunks/chunk.ERWXE4KH.js +0 -493
  895. package/cdn/chunks/chunk.ETE5JGX3.js +0 -32
  896. package/cdn/chunks/chunk.EUV33A5J.js +0 -132
  897. package/cdn/chunks/chunk.F6ZY7PEP.js +0 -29
  898. package/cdn/chunks/chunk.F7QE3QNK.js +0 -93
  899. package/cdn/chunks/chunk.FEXGBRTJ.js +0 -29
  900. package/cdn/chunks/chunk.FFGQUMMS.js +0 -99
  901. package/cdn/chunks/chunk.FFRZZJF3.js +0 -19
  902. package/cdn/chunks/chunk.FH7JIHQ5.js +0 -32
  903. package/cdn/chunks/chunk.FSRWOJNJ.js +0 -29
  904. package/cdn/chunks/chunk.FYEAHT4C.js +0 -19
  905. package/cdn/chunks/chunk.G6PPVFZP.js +0 -19
  906. package/cdn/chunks/chunk.G7ARINSA.js +0 -19
  907. package/cdn/chunks/chunk.GCDBZ3W7.js +0 -599
  908. package/cdn/chunks/chunk.GMDJOE3D.js +0 -610
  909. package/cdn/chunks/chunk.GOKKW2WL.js +0 -35
  910. package/cdn/chunks/chunk.GPLYMDPJ.js +0 -33
  911. package/cdn/chunks/chunk.GQ57E6W4.js +0 -19
  912. package/cdn/chunks/chunk.GRKM53EG.js +0 -36
  913. package/cdn/chunks/chunk.HAEGIPB7.js +0 -32
  914. package/cdn/chunks/chunk.HJDMWAVV.js +0 -33
  915. package/cdn/chunks/chunk.HK3NF22B.js +0 -19
  916. package/cdn/chunks/chunk.HMDDYPZM.js +0 -29
  917. package/cdn/chunks/chunk.I3XWIX6E.js +0 -32
  918. package/cdn/chunks/chunk.I5G3F6D4.js +0 -19
  919. package/cdn/chunks/chunk.IJ7RWFE2.js +0 -19
  920. package/cdn/chunks/chunk.JIUL3OL6.js +0 -29
  921. package/cdn/chunks/chunk.JIY4UZ2J.js +0 -99
  922. package/cdn/chunks/chunk.JKURDNA4.js +0 -161
  923. package/cdn/chunks/chunk.JS5OOQLY.js +0 -125
  924. package/cdn/chunks/chunk.K2P3VBHL.js +0 -19
  925. package/cdn/chunks/chunk.K2UWIYQ2.js +0 -82
  926. package/cdn/chunks/chunk.KAPIG3C4.js +0 -32
  927. package/cdn/chunks/chunk.KKZLSSED.js +0 -29
  928. package/cdn/chunks/chunk.KOA6BIWM.js +0 -29
  929. package/cdn/chunks/chunk.KSVL4NCO.js +0 -68
  930. package/cdn/chunks/chunk.KSXGXCJD.js +0 -278
  931. package/cdn/chunks/chunk.KVMARFYP.js +0 -34
  932. package/cdn/chunks/chunk.KVXRPLPX.js +0 -29
  933. package/cdn/chunks/chunk.LA5VODPG.js +0 -106
  934. package/cdn/chunks/chunk.LEUFWZLL.js +0 -29
  935. package/cdn/chunks/chunk.LFHHJTEK.js +0 -19
  936. package/cdn/chunks/chunk.LG3OAUSC.js +0 -19
  937. package/cdn/chunks/chunk.LG5C4AHH.js +0 -224
  938. package/cdn/chunks/chunk.LJGNFTUU.js +0 -19
  939. package/cdn/chunks/chunk.LPIUMZT6.js +0 -29
  940. package/cdn/chunks/chunk.LRZIT4M2.js +0 -157
  941. package/cdn/chunks/chunk.M7VLA6HV.js +0 -113
  942. package/cdn/chunks/chunk.MAHUWVEN.js +0 -279
  943. package/cdn/chunks/chunk.MB2OLLCZ.js +0 -19
  944. package/cdn/chunks/chunk.MJUD6H2O.js +0 -60
  945. package/cdn/chunks/chunk.MK76WXRC.js +0 -32
  946. package/cdn/chunks/chunk.MX22XUB3.js +0 -29
  947. package/cdn/chunks/chunk.N466UPRW.js +0 -86
  948. package/cdn/chunks/chunk.N4WZUEQD.js +0 -205
  949. package/cdn/chunks/chunk.N55ZUY7F.js +0 -19
  950. package/cdn/chunks/chunk.NCFSJVEZ.js +0 -19
  951. package/cdn/chunks/chunk.NQ7HNAO3.js +0 -19
  952. package/cdn/chunks/chunk.O43CCSUG.js +0 -29
  953. package/cdn/chunks/chunk.O5VR4XW3.js +0 -19
  954. package/cdn/chunks/chunk.OAR4VKWQ.js +0 -19
  955. package/cdn/chunks/chunk.OFMIOABD.js +0 -19
  956. package/cdn/chunks/chunk.OJT6BD3G.js +0 -915
  957. package/cdn/chunks/chunk.OKJYOJFO.js +0 -37
  958. package/cdn/chunks/chunk.OL7XRVJD.js +0 -19
  959. package/cdn/chunks/chunk.OSBHMGAB.js +0 -136
  960. package/cdn/chunks/chunk.PFIB3T6I.js +0 -19
  961. package/cdn/chunks/chunk.PHEAH3PP.js +0 -19
  962. package/cdn/chunks/chunk.PK2YWTXR.js +0 -104
  963. package/cdn/chunks/chunk.PLWNLNYY.js +0 -19
  964. package/cdn/chunks/chunk.PNBVXM3Y.js +0 -2547
  965. package/cdn/chunks/chunk.PQPZKAOJ.js +0 -231
  966. package/cdn/chunks/chunk.PSGY75G2.js +0 -32
  967. package/cdn/chunks/chunk.QCHUEPMQ.js +0 -29
  968. package/cdn/chunks/chunk.QDINN7DO.js +0 -32
  969. package/cdn/chunks/chunk.QKKAIJRP.js +0 -3451
  970. package/cdn/chunks/chunk.QLPYQ5QM.js +0 -19
  971. package/cdn/chunks/chunk.QPZ3OXHJ.js +0 -188
  972. package/cdn/chunks/chunk.QRJLBELU.js +0 -230
  973. package/cdn/chunks/chunk.R2VK36KK.js +0 -29
  974. package/cdn/chunks/chunk.RCSM7Z5E.js +0 -19
  975. package/cdn/chunks/chunk.RISDH34C.js +0 -350
  976. package/cdn/chunks/chunk.RSUJRQLT.js +0 -1975
  977. package/cdn/chunks/chunk.S2BYBA42.js +0 -32
  978. package/cdn/chunks/chunk.S3S7RGFN.js +0 -29
  979. package/cdn/chunks/chunk.S3XNEX7Q.js +0 -29
  980. package/cdn/chunks/chunk.SCBSBLIF.js +0 -19
  981. package/cdn/chunks/chunk.SGQIYGS7.js +0 -83
  982. package/cdn/chunks/chunk.SJFGHGKH.js +0 -264
  983. package/cdn/chunks/chunk.SR53QDBY.js +0 -19
  984. package/cdn/chunks/chunk.SRLCDKSU.js +0 -19
  985. package/cdn/chunks/chunk.SV2PUNIH.js +0 -19
  986. package/cdn/chunks/chunk.T5BE45M3.js +0 -19
  987. package/cdn/chunks/chunk.T6YZOAIS.js +0 -29
  988. package/cdn/chunks/chunk.TBLE2KGA.js +0 -29
  989. package/cdn/chunks/chunk.TKWMC5YI.js +0 -854
  990. package/cdn/chunks/chunk.TOYEA3BN.js +0 -92
  991. package/cdn/chunks/chunk.TU4BBVTN.js +0 -19
  992. package/cdn/chunks/chunk.TUJY2RG5.js +0 -19
  993. package/cdn/chunks/chunk.TY4WIMYJ.js +0 -658
  994. package/cdn/chunks/chunk.UHX3667N.js +0 -19
  995. package/cdn/chunks/chunk.USXZCB3X.js +0 -524
  996. package/cdn/chunks/chunk.UZKLGTZL.js +0 -29
  997. package/cdn/chunks/chunk.V3V7RRLU.js +0 -49
  998. package/cdn/chunks/chunk.VA5AUQXO.js +0 -19
  999. package/cdn/chunks/chunk.VFSDKRWK.js +0 -259
  1000. package/cdn/chunks/chunk.VJZNIJEP.js +0 -60
  1001. package/cdn/chunks/chunk.VO4X552X.js +0 -36
  1002. package/cdn/chunks/chunk.VRUAG7OU.js +0 -19
  1003. package/cdn/chunks/chunk.VTCUUKPV.js +0 -19
  1004. package/cdn/chunks/chunk.VTTODZFG.js +0 -33
  1005. package/cdn/chunks/chunk.VVKYAGA2.js +0 -134
  1006. package/cdn/chunks/chunk.VXY726KB.js +0 -29
  1007. package/cdn/chunks/chunk.VZEACDBX.js +0 -19
  1008. package/cdn/chunks/chunk.W2GF7BXP.js +0 -71
  1009. package/cdn/chunks/chunk.W5J7BIAV.js +0 -19
  1010. package/cdn/chunks/chunk.WCOFECTA.js +0 -37
  1011. package/cdn/chunks/chunk.WG4VDVEI.js +0 -81
  1012. package/cdn/chunks/chunk.WNOGT4FJ.js +0 -300
  1013. package/cdn/chunks/chunk.WT7GDDLE.js +0 -19
  1014. package/cdn/chunks/chunk.WTXVDBRE.js +0 -538
  1015. package/cdn/chunks/chunk.WWLOI3XF.js +0 -74
  1016. package/cdn/chunks/chunk.XQO3ZO7J.js +0 -662
  1017. package/cdn/chunks/chunk.XUBCJIWF.js +0 -32
  1018. package/cdn/chunks/chunk.XVECFU6I.js +0 -276
  1019. package/cdn/chunks/chunk.XZ6LSQ2S.js +0 -29
  1020. package/cdn/chunks/chunk.YDWBYNL7.js +0 -19
  1021. package/cdn/chunks/chunk.YGZ7GOSX.js +0 -35
  1022. package/cdn/chunks/chunk.YIGURDHN.js +0 -30
  1023. package/cdn/chunks/chunk.YJA73KAA.js +0 -78
  1024. package/cdn/chunks/chunk.YJWB5W4S.js +0 -29
  1025. package/cdn/chunks/chunk.YPYN4V4T.js +0 -93
  1026. package/cdn/chunks/chunk.YYDMU76Q.js +0 -372
  1027. package/cdn/chunks/chunk.YYVIS6D4.js +0 -36
  1028. package/cdn/chunks/chunk.Z45L4FIP.js +0 -1184
  1029. package/cdn/chunks/chunk.ZC2YQQZ3.js +0 -33
  1030. package/cdn/chunks/chunk.ZFOTRE5C.js +0 -19
  1031. package/cdn/chunks/chunk.ZKC2RGQN.js +0 -33
  1032. package/cdn/chunks/chunk.ZTRMYR7K.js +0 -29
  1033. package/cdn/chunks/chunk.ZVIECZDH.js +0 -155
  1034. package/cdn/chunks/chunk.ZZFZ22B2.js +0 -288
  1035. package/dist/chunks/chunk.244CTE3T.js +0 -1
  1036. package/dist/chunks/chunk.27Y756GG.js +0 -1
  1037. package/dist/chunks/chunk.2BHAYNPS.js +0 -33
  1038. package/dist/chunks/chunk.2C5SN5KH.js +0 -74
  1039. package/dist/chunks/chunk.2ENSAFQB.js +0 -1
  1040. package/dist/chunks/chunk.2IEYXOYV.js +0 -1
  1041. package/dist/chunks/chunk.2MLS3BXA.js +0 -1
  1042. package/dist/chunks/chunk.2OO26QIR.js +0 -126
  1043. package/dist/chunks/chunk.2P4DDFRQ.js +0 -1
  1044. package/dist/chunks/chunk.2UQEJRIQ.js +0 -1
  1045. package/dist/chunks/chunk.2UZ2VECA.js +0 -1
  1046. package/dist/chunks/chunk.36AZ2XCI.js +0 -1
  1047. package/dist/chunks/chunk.37QTJ25S.js +0 -1
  1048. package/dist/chunks/chunk.3B4QPUAN.js +0 -1
  1049. package/dist/chunks/chunk.3DFIUNAQ.js +0 -1
  1050. package/dist/chunks/chunk.3IDBLCMG.js +0 -1
  1051. package/dist/chunks/chunk.3MBQYZVW.js +0 -1
  1052. package/dist/chunks/chunk.3MIQ6XNR.js +0 -1
  1053. package/dist/chunks/chunk.3VXALYKM.js +0 -1
  1054. package/dist/chunks/chunk.423GIWLL.js +0 -1
  1055. package/dist/chunks/chunk.4CN24QEJ.js +0 -20
  1056. package/dist/chunks/chunk.4E4ZURVB.js +0 -1
  1057. package/dist/chunks/chunk.4EMIESAS.js +0 -1
  1058. package/dist/chunks/chunk.4SHUUZJ2.js +0 -1
  1059. package/dist/chunks/chunk.4SOONPCJ.js +0 -1
  1060. package/dist/chunks/chunk.53R5NBAZ.js +0 -1
  1061. package/dist/chunks/chunk.55RZU5QQ.js +0 -5
  1062. package/dist/chunks/chunk.5BVXDE6L.js +0 -1
  1063. package/dist/chunks/chunk.5CBU7CVX.js +0 -35
  1064. package/dist/chunks/chunk.5DPPXATR.js +0 -1
  1065. package/dist/chunks/chunk.5FHR3PRK.js +0 -1
  1066. package/dist/chunks/chunk.5JBQBY62.js +0 -39
  1067. package/dist/chunks/chunk.5MBY6WKW.js +0 -1
  1068. package/dist/chunks/chunk.5QVSLO3V.js +0 -280
  1069. package/dist/chunks/chunk.5SB77RHW.js +0 -1
  1070. package/dist/chunks/chunk.5T6SIPN2.js +0 -1
  1071. package/dist/chunks/chunk.5YXQRHD5.js +0 -1
  1072. package/dist/chunks/chunk.64Q7BMHI.js +0 -1
  1073. package/dist/chunks/chunk.6GKKK7NJ.js +0 -1
  1074. package/dist/chunks/chunk.6UKNMXZJ.js +0 -1
  1075. package/dist/chunks/chunk.6XF647QW.js +0 -1
  1076. package/dist/chunks/chunk.76DTOJU7.js +0 -16
  1077. package/dist/chunks/chunk.76G4XANJ.js +0 -1
  1078. package/dist/chunks/chunk.7I5677S3.js +0 -154
  1079. package/dist/chunks/chunk.7MBGEUE4.js +0 -1
  1080. package/dist/chunks/chunk.7RCZODIH.js +0 -1
  1081. package/dist/chunks/chunk.A26JWAE2.js +0 -1
  1082. package/dist/chunks/chunk.AAY4R5IR.js +0 -11
  1083. package/dist/chunks/chunk.ACHFH4Q5.js +0 -1
  1084. package/dist/chunks/chunk.AP6WOLOM.js +0 -1
  1085. package/dist/chunks/chunk.AQ25ZIGD.js +0 -1
  1086. package/dist/chunks/chunk.ARVXHRR4.js +0 -1
  1087. package/dist/chunks/chunk.B5J6EQBL.js +0 -1
  1088. package/dist/chunks/chunk.BARYZDDP.js +0 -1
  1089. package/dist/chunks/chunk.BCYULSBS.js +0 -19
  1090. package/dist/chunks/chunk.BF6REXY3.js +0 -1
  1091. package/dist/chunks/chunk.BNV4KROE.js +0 -1
  1092. package/dist/chunks/chunk.BPWHAHIU.js +0 -1
  1093. package/dist/chunks/chunk.BQ7I5O2H.js +0 -62
  1094. package/dist/chunks/chunk.BWAKPSV4.js +0 -38
  1095. package/dist/chunks/chunk.C2Z2P4HZ.js +0 -1
  1096. package/dist/chunks/chunk.C7QR4SPF.js +0 -1
  1097. package/dist/chunks/chunk.CL3UPHCV.js +0 -145
  1098. package/dist/chunks/chunk.CQXIUSH7.js +0 -1
  1099. package/dist/chunks/chunk.CZZ63EKR.js +0 -1
  1100. package/dist/chunks/chunk.DMPAY35P.js +0 -115
  1101. package/dist/chunks/chunk.E47M7NVI.js +0 -55
  1102. package/dist/chunks/chunk.E6LODOVJ.js +0 -65
  1103. package/dist/chunks/chunk.EDADTX5Q.js +0 -1
  1104. package/dist/chunks/chunk.EDBJ4VFC.js +0 -1
  1105. package/dist/chunks/chunk.EJOLVPRS.js +0 -1
  1106. package/dist/chunks/chunk.EKDZB5S2.js +0 -1
  1107. package/dist/chunks/chunk.ELUBODMC.js +0 -12
  1108. package/dist/chunks/chunk.ETE4SEGE.js +0 -1
  1109. package/dist/chunks/chunk.EZI7VJCI.js +0 -1
  1110. package/dist/chunks/chunk.FB2U5ODR.js +0 -1
  1111. package/dist/chunks/chunk.FEZWYWLM.js +0 -1
  1112. package/dist/chunks/chunk.FM53AQRR.js +0 -5
  1113. package/dist/chunks/chunk.FNBTJL76.js +0 -55
  1114. package/dist/chunks/chunk.FSSL6ZLQ.js +0 -35
  1115. package/dist/chunks/chunk.G6R7GCGB.js +0 -1
  1116. package/dist/chunks/chunk.GPI7PCGX.js +0 -1
  1117. package/dist/chunks/chunk.GQIIFJUH.js +0 -1
  1118. package/dist/chunks/chunk.HBIKGPFF.js +0 -1
  1119. package/dist/chunks/chunk.HOADB2CO.js +0 -67
  1120. package/dist/chunks/chunk.HUZMK2VQ.js +0 -1
  1121. package/dist/chunks/chunk.HZRKVYQY.js +0 -1
  1122. package/dist/chunks/chunk.I5P6RFB4.js +0 -1
  1123. package/dist/chunks/chunk.IWYCR2FE.js +0 -1
  1124. package/dist/chunks/chunk.IWZF7C67.js +0 -1
  1125. package/dist/chunks/chunk.J5THC22T.js +0 -1
  1126. package/dist/chunks/chunk.JB4B7N5B.js +0 -1
  1127. package/dist/chunks/chunk.JIPQ7AV4.js +0 -1
  1128. package/dist/chunks/chunk.JLC7KOHX.js +0 -1
  1129. package/dist/chunks/chunk.JLS55DD4.js +0 -121
  1130. package/dist/chunks/chunk.JOGU5BJB.js +0 -1
  1131. package/dist/chunks/chunk.JRVMPEDZ.js +0 -1
  1132. package/dist/chunks/chunk.JZSTMBRE.js +0 -55
  1133. package/dist/chunks/chunk.K3PIEJHK.js +0 -23
  1134. package/dist/chunks/chunk.KAF7DE46.js +0 -1
  1135. package/dist/chunks/chunk.KBH7XUJ2.js +0 -1
  1136. package/dist/chunks/chunk.KWCBIL2K.js +0 -11
  1137. package/dist/chunks/chunk.L5XSUU23.js +0 -9
  1138. package/dist/chunks/chunk.LBG47EHU.js +0 -80
  1139. package/dist/chunks/chunk.LC4ZSYI5.js +0 -9
  1140. package/dist/chunks/chunk.LHGSX2EB.js +0 -1
  1141. package/dist/chunks/chunk.LHSPDFX4.js +0 -1
  1142. package/dist/chunks/chunk.LVPW3I5Y.js +0 -1
  1143. package/dist/chunks/chunk.LXRYB5BK.js +0 -1
  1144. package/dist/chunks/chunk.M7AHS3AH.js +0 -1
  1145. package/dist/chunks/chunk.MJVP52R5.js +0 -43
  1146. package/dist/chunks/chunk.MKVYWZTL.js +0 -99
  1147. package/dist/chunks/chunk.MU3VKJWB.js +0 -1
  1148. package/dist/chunks/chunk.MXOPVRH6.js +0 -1
  1149. package/dist/chunks/chunk.N3AEF5KW.js +0 -1
  1150. package/dist/chunks/chunk.NFM5IDJR.js +0 -24
  1151. package/dist/chunks/chunk.NI5IMMU6.js +0 -1
  1152. package/dist/chunks/chunk.NJTQ2K6F.js +0 -48
  1153. package/dist/chunks/chunk.NORSDIMU.js +0 -8
  1154. package/dist/chunks/chunk.NSHMVB5U.js +0 -1
  1155. package/dist/chunks/chunk.NZRBH2FO.js +0 -1
  1156. package/dist/chunks/chunk.NZW4RZY3.js +0 -1
  1157. package/dist/chunks/chunk.O2HBLJZB.js +0 -1
  1158. package/dist/chunks/chunk.O3JBMOQJ.js +0 -749
  1159. package/dist/chunks/chunk.O7IVXZBJ.js +0 -1
  1160. package/dist/chunks/chunk.OAYJFXJ7.js +0 -37
  1161. package/dist/chunks/chunk.OBKNMV5D.js +0 -1
  1162. package/dist/chunks/chunk.ODZ5RFHN.js +0 -25
  1163. package/dist/chunks/chunk.OGQJH54I.js +0 -1
  1164. package/dist/chunks/chunk.OILCN37O.js +0 -299
  1165. package/dist/chunks/chunk.OWXXS6QM.js +0 -100
  1166. package/dist/chunks/chunk.PABCKGCM.js +0 -140
  1167. package/dist/chunks/chunk.PAEUAUNV.js +0 -8
  1168. package/dist/chunks/chunk.PBRI7B7A.js +0 -20
  1169. package/dist/chunks/chunk.PDXLX5LB.js +0 -22
  1170. package/dist/chunks/chunk.PM4ZLX54.js +0 -1
  1171. package/dist/chunks/chunk.PNFIHG3Z.js +0 -1
  1172. package/dist/chunks/chunk.QBZ3RHNB.js +0 -49
  1173. package/dist/chunks/chunk.QC2EZC4J.js +0 -101
  1174. package/dist/chunks/chunk.QMLZIOGK.js +0 -1
  1175. package/dist/chunks/chunk.QQO5GUXS.js +0 -1
  1176. package/dist/chunks/chunk.QUPFWO2W.js +0 -1
  1177. package/dist/chunks/chunk.QXFOLPTE.js +0 -157
  1178. package/dist/chunks/chunk.QZB7YAW4.js +0 -1
  1179. package/dist/chunks/chunk.RBE5AOEF.js +0 -2
  1180. package/dist/chunks/chunk.RIHKWEWK.js +0 -1
  1181. package/dist/chunks/chunk.RJSNPXT4.js +0 -1
  1182. package/dist/chunks/chunk.RM5PZL2E.js +0 -1
  1183. package/dist/chunks/chunk.RTZZX2UG.js +0 -30
  1184. package/dist/chunks/chunk.S3WSRAXA.js +0 -1
  1185. package/dist/chunks/chunk.SAYRRMRN.js +0 -1
  1186. package/dist/chunks/chunk.SDEKZ7EH.js +0 -1
  1187. package/dist/chunks/chunk.SJW4CYVO.js +0 -1
  1188. package/dist/chunks/chunk.SLEOS424.js +0 -1
  1189. package/dist/chunks/chunk.T6M2XKVT.js +0 -1
  1190. package/dist/chunks/chunk.TOHRQWOJ.js +0 -43
  1191. package/dist/chunks/chunk.TQUTGUIU.js +0 -1
  1192. package/dist/chunks/chunk.TTVYXNEX.js +0 -1
  1193. package/dist/chunks/chunk.TZPFDI45.js +0 -1
  1194. package/dist/chunks/chunk.U2FNXZ4T.js +0 -1157
  1195. package/dist/chunks/chunk.U2GOK43S.js +0 -14
  1196. package/dist/chunks/chunk.U2S27E26.js +0 -1
  1197. package/dist/chunks/chunk.UEJTWT4H.js +0 -1
  1198. package/dist/chunks/chunk.UHWXDO2X.js +0 -1
  1199. package/dist/chunks/chunk.UIJRLYJ5.js +0 -300
  1200. package/dist/chunks/chunk.UIKMEY7L.js +0 -1
  1201. package/dist/chunks/chunk.UOPZ7IQO.js +0 -1
  1202. package/dist/chunks/chunk.UQXFJXT2.js +0 -566
  1203. package/dist/chunks/chunk.USZXOQ5W.js +0 -1
  1204. package/dist/chunks/chunk.UYGW5SAC.js +0 -37
  1205. package/dist/chunks/chunk.UZ4RSTT6.js +0 -64
  1206. package/dist/chunks/chunk.V6OBKZEU.js +0 -1
  1207. package/dist/chunks/chunk.V6ZDTBMM.js +0 -1
  1208. package/dist/chunks/chunk.VBIWDPIC.js +0 -6
  1209. package/dist/chunks/chunk.VZTQF4OE.js +0 -1
  1210. package/dist/chunks/chunk.W753QEWS.js +0 -122
  1211. package/dist/chunks/chunk.W7RCZIAS.js +0 -30
  1212. package/dist/chunks/chunk.WGADCB3O.js +0 -4
  1213. package/dist/chunks/chunk.WGYVWH4N.js +0 -1
  1214. package/dist/chunks/chunk.WKLFO4CV.js +0 -1
  1215. package/dist/chunks/chunk.WPYM7UE2.js +0 -75
  1216. package/dist/chunks/chunk.WT6GZVYY.js +0 -1
  1217. package/dist/chunks/chunk.X6YUDBBQ.js +0 -1
  1218. package/dist/chunks/chunk.XIJIRCHU.js +0 -1
  1219. package/dist/chunks/chunk.Y5KEEPVM.js +0 -1
  1220. package/dist/chunks/chunk.YE2XHS7U.js +0 -1
  1221. package/dist/chunks/chunk.YID2VH6X.js +0 -17
  1222. package/dist/chunks/chunk.YQG4O6JG.js +0 -1
  1223. package/dist/chunks/chunk.YS7ZNM77.js +0 -1
  1224. package/dist/chunks/chunk.YSJ2VJE5.js +0 -1
  1225. package/dist/chunks/chunk.YVP42OKY.js +0 -26
  1226. package/dist/chunks/chunk.Z25SA46F.js +0 -1
  1227. package/dist/chunks/chunk.ZDHEJXMO.js +0 -1
  1228. package/dist/chunks/chunk.ZEIMRQG5.js +0 -1
  1229. package/dist/chunks/chunk.ZF3CXW3V.js +0 -1
  1230. package/dist/chunks/chunk.ZFIDO76G.js +0 -1
  1231. package/dist/chunks/chunk.ZHOOI52R.js +0 -1
  1232. package/dist/chunks/chunk.ZIOKLPTQ.js +0 -47
  1233. package/dist/chunks/chunk.ZS3U4XEF.js +0 -26
  1234. package/dist/chunks/chunk.ZTYZ7EWT.js +0 -1
  1235. package/dist/terra_ui_components-0.0.180-py3-none-any.whl +0 -0
  1236. package/dist/terra_ui_components-0.0.180.tar.gz +0 -0
@@ -1,2547 +0,0 @@
1
- import {
2
- KnownFeatureFlags,
3
- isFeatureEnabled
4
- } from "./chunk.S6KQAZNG.js";
5
- import {
6
- convertVariableEntryIdToGiovanniFormat
7
- } from "./chunk.FXO66O5A.js";
8
- import {
9
- getNotebook
10
- } from "./chunk.K2UWIYQ2.js";
11
- import {
12
- TerraLogin
13
- } from "./chunk.JIY4UZ2J.js";
14
- import {
15
- TerraDialog
16
- } from "./chunk.4NU6XC7B.js";
17
- import {
18
- data_subsetter_styles_default
19
- } from "./chunk.GPQPCP6B.js";
20
- import {
21
- TerraDataAccess,
22
- debounce
23
- } from "./chunk.OJT6BD3G.js";
24
- import {
25
- TerraSlider
26
- } from "./chunk.7W7LCLU5.js";
27
- import {
28
- TerraMenuItem
29
- } from "./chunk.LG5C4AHH.js";
30
- import {
31
- TerraMenu
32
- } from "./chunk.5BFFURMO.js";
33
- import {
34
- TerraDatePicker
35
- } from "./chunk.2Y5YYW4R.js";
36
- import {
37
- HarmonyRequestController
38
- } from "./chunk.JS5OOQLY.js";
39
- import {
40
- HarmonyRequest
41
- } from "./chunk.RISDH34C.js";
42
- import {
43
- AuthController
44
- } from "./chunk.7DYV7ZXX.js";
45
- import {
46
- CollectionController
47
- } from "./chunk.6FVRJALX.js";
48
- import {
49
- TerraSpatialPicker
50
- } from "./chunk.47Q7XTJE.js";
51
- import {
52
- QueryClientMixin
53
- } from "./chunk.N4WZUEQD.js";
54
- import {
55
- TerraInput
56
- } from "./chunk.GMDJOE3D.js";
57
- import {
58
- TerraDropdown
59
- } from "./chunk.BUHSAHXI.js";
60
- import {
61
- TerraLoader
62
- } from "./chunk.OSBHMGAB.js";
63
- import {
64
- TerraButton
65
- } from "./chunk.3QZNL3QN.js";
66
- import {
67
- getUTCDate
68
- } from "./chunk.TKSEPVAL.js";
69
- import {
70
- TerraAccordion
71
- } from "./chunk.N466UPRW.js";
72
- import {
73
- TerraIcon
74
- } from "./chunk.QRJLBELU.js";
75
- import {
76
- getBasePath
77
- } from "./chunk.ZQVMOVOT.js";
78
- import {
79
- TerraAlert
80
- } from "./chunk.SJFGHGKH.js";
81
- import {
82
- watch
83
- } from "./chunk.MPVZOQYA.js";
84
- import {
85
- TerraElement,
86
- component_styles_default,
87
- e,
88
- n,
89
- r
90
- } from "./chunk.XQO3ZO7J.js";
91
- import {
92
- A,
93
- b
94
- } from "./chunk.RRCYT4LP.js";
95
- import {
96
- __decorateClass,
97
- __privateAdd,
98
- __privateGet,
99
- __privateMethod,
100
- __spreadProps,
101
- __spreadValues,
102
- init_buffer,
103
- init_dirname,
104
- init_process
105
- } from "./chunk.ZEOVK2FE.js";
106
-
107
- // src/components/data-subsetter/data-subsetter.component.ts
108
- init_dirname();
109
- init_buffer();
110
- init_process();
111
-
112
- // src/lib/jupyter.ts
113
- init_dirname();
114
- init_buffer();
115
- init_process();
116
- var JUPYTER_LITE_URL = "https://gesdisc.github.io/jupyterlite/lab/index.html";
117
- function openJupyterLiteWindow(readyCb) {
118
- const jupyterWindow = window.open(JUPYTER_LITE_URL, "_blank");
119
- if (!jupyterWindow) {
120
- console.error("Failed to open JupyterLite!");
121
- return;
122
- }
123
- window.addEventListener("message", (event) => readyCb(event, jupyterWindow), {
124
- once: true
125
- });
126
- return jupyterWindow;
127
- }
128
- function sendDataToJupyterNotebook(type, data) {
129
- openJupyterLiteWindow((event, jupyterWindow) => {
130
- var _a;
131
- if (((_a = event.data) == null ? void 0 : _a.type) !== "jupyterlite-ready") {
132
- return;
133
- }
134
- console.log("JupyterLite is ready!");
135
- jupyterWindow.postMessage(__spreadValues({ type }, data), "*");
136
- });
137
- }
138
-
139
- // src/services/cmr-variable.service.ts
140
- init_dirname();
141
- init_buffer();
142
- init_process();
143
- var CmrVariableService = class {
144
- /**
145
- * given a name and a list of variables, return the variable with the matching name
146
- */
147
- getVariableByName(name, variables) {
148
- var _a;
149
- if (!variables || !((_a = variables.items) == null ? void 0 : _a.length)) {
150
- return;
151
- }
152
- return variables.items.find((variable) => variable.umm.Name === name);
153
- }
154
- /**
155
- * given a variable, return the variable's display label
156
- * ex: Shortname = LongName (Units)
157
- */
158
- getVariableDisplayLabel(variable) {
159
- const { Name = "", LongName = "", Units = "" } = variable.umm;
160
- return `${Name}${Name && LongName && Name !== LongName ? ` = ${LongName}` : ""}${Units ? ` (${Units})` : ""}`;
161
- }
162
- };
163
- var cmrVariableService = new CmrVariableService();
164
- var cmr_variable_service_default = cmrVariableService;
165
-
166
- // src/components/data-subsetter/data-subsetter.component.ts
167
- var defaultOutputFormat = {
168
- key: "application/x-netcdf4",
169
- label: "NetCDF",
170
- description: "Download data in NetCDF format"
171
- };
172
- var _collectionController, _authController, _harmonyRequestController, _renderFooterForDialog, renderFooterForDialog_fn, _renderSizeInfo, renderSizeInfo_fn, _renderSubsetOptions, renderSubsetOptions_fn, _resetAllParameters, _renderSearchForCollection, renderSearchForCollection_fn, _renderOutputFormatSelection, renderOutputFormatSelection_fn, _renderDateRangeSelection, renderDateRangeSelection_fn, _handleDateChange, _resetDateRangeSelection, _resetFormatSelection, _getCollectionDateRange, getCollectionDateRange_fn, _renderSpatialSelection, renderSpatialSelection_fn, _handleSpatialChange, _resetSpatialSelection, _renderVariableSelection, renderVariableSelection_fn, _renderDimensionGroup, renderDimensionGroup_fn, _setDimensionValue, setDimensionValue_fn, _renderDimensionSelection, renderDimensionSelection_fn, _filterVariableTree, filterVariableTree_fn, _handleVariableFilterChange, handleVariableFilterChange_fn, _buildVariableTree, buildVariableTree_fn, _renderVariableTree, renderVariableTree_fn, _getAllGroupPaths, getAllGroupPaths_fn, _toggleGroupExpand, toggleGroupExpand_fn, _toggleExpandCollapseAll, toggleExpandCollapseAll_fn, _toggleVariableSelection, toggleVariableSelection_fn, _markFieldTouched, markFieldTouched_fn, _resetVariableSelection, _resetDimensionSelection, resetDimensionSelection_fn, _isDimensionExcluded, isDimensionExcluded_fn, _getCommonSelectableDimensions, getCommonSelectableDimensions_fn, _renderJobStatus, renderJobStatus_fn, _renderSelectedParams, renderSelectedParams_fn, _cancelJob, cancelJob_fn, _getData, getData_fn, _touchAllFields, touchAllFields_fn, _numberOfFilesFoundEstimate, numberOfFilesFoundEstimate_fn, _getDocumentationLinks, getDocumentationLinks_fn, _getDataLinks, getDataLinks_fn, _hasAtLeastOneSubsetOption, hasAtLeastOneSubsetOption_fn, _hasSpatialSubset, hasSpatialSubset_fn, _renderJobMessage, renderJobMessage_fn, _getJobMessageText, getJobMessageText_fn, _estimateJobSize, estimateJobSize_fn, _refineParameters, refineParameters_fn, _backToSubsetOptions, backToSubsetOptions_fn, _viewRunningJob, viewRunningJob_fn, _handleDownloadSelect, handleDownloadSelect_fn, _downloadLinksAsTxt, downloadLinksAsTxt_fn, _downloadPythonScript, downloadPythonScript_fn, _downloadEarthdataDownload, downloadEarthdataDownload_fn, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn, _renderAvailableTemporalRangeSection, renderAvailableTemporalRangeSection_fn, _renderAvailableSpatialRangeSection, renderAvailableSpatialRangeSection_fn, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn, _getGiovanniValidationError, getGiovanniValidationError_fn;
173
- var TerraDataSubsetter = class extends QueryClientMixin(TerraElement) {
174
- constructor() {
175
- super(...arguments);
176
- __privateAdd(this, _renderFooterForDialog);
177
- __privateAdd(this, _renderSizeInfo);
178
- __privateAdd(this, _renderSubsetOptions);
179
- __privateAdd(this, _renderSearchForCollection);
180
- __privateAdd(this, _renderOutputFormatSelection);
181
- __privateAdd(this, _renderDateRangeSelection);
182
- __privateAdd(this, _getCollectionDateRange);
183
- __privateAdd(this, _renderSpatialSelection);
184
- __privateAdd(this, _renderVariableSelection);
185
- __privateAdd(this, _renderDimensionGroup);
186
- __privateAdd(this, _setDimensionValue);
187
- __privateAdd(this, _renderDimensionSelection);
188
- __privateAdd(this, _filterVariableTree);
189
- __privateAdd(this, _handleVariableFilterChange);
190
- __privateAdd(this, _buildVariableTree);
191
- __privateAdd(this, _renderVariableTree);
192
- __privateAdd(this, _getAllGroupPaths);
193
- __privateAdd(this, _toggleGroupExpand);
194
- __privateAdd(this, _toggleExpandCollapseAll);
195
- __privateAdd(this, _toggleVariableSelection);
196
- __privateAdd(this, _markFieldTouched);
197
- __privateAdd(this, _resetDimensionSelection);
198
- __privateAdd(this, _isDimensionExcluded);
199
- __privateAdd(this, _getCommonSelectableDimensions);
200
- __privateAdd(this, _renderJobStatus);
201
- __privateAdd(this, _renderSelectedParams);
202
- __privateAdd(this, _cancelJob);
203
- __privateAdd(this, _getData);
204
- __privateAdd(this, _touchAllFields);
205
- __privateAdd(this, _numberOfFilesFoundEstimate);
206
- __privateAdd(this, _getDocumentationLinks);
207
- __privateAdd(this, _getDataLinks);
208
- __privateAdd(this, _hasAtLeastOneSubsetOption);
209
- __privateAdd(this, _hasSpatialSubset);
210
- __privateAdd(this, _renderJobMessage);
211
- __privateAdd(this, _getJobMessageText);
212
- __privateAdd(this, _estimateJobSize);
213
- __privateAdd(this, _refineParameters);
214
- __privateAdd(this, _backToSubsetOptions);
215
- __privateAdd(this, _viewRunningJob);
216
- __privateAdd(this, _handleDownloadSelect);
217
- __privateAdd(this, _downloadLinksAsTxt);
218
- __privateAdd(this, _downloadPythonScript);
219
- __privateAdd(this, _downloadEarthdataDownload);
220
- __privateAdd(this, _handleJupyterNotebookClick);
221
- __privateAdd(this, _renderAvailableTemporalRangeSection);
222
- __privateAdd(this, _renderAvailableSpatialRangeSection);
223
- __privateAdd(this, _renderDataAccessModeSelection);
224
- __privateAdd(this, _getGiovanniValidationError);
225
- this.showCollectionSearch = true;
226
- this.showHistoryPanel = true;
227
- this.isHistoryView = false;
228
- this.selectedVariables = [];
229
- this.selectedDimensionIndexes = {};
230
- this.expandedVariableGroups = /* @__PURE__ */ new Set();
231
- this.variableFilterText = "";
232
- this.touchedFields = /* @__PURE__ */ new Set();
233
- this.selectedDateRange = {
234
- startDate: null,
235
- endDate: null
236
- };
237
- this.selectedFormat = defaultOutputFormat;
238
- this.cancelingGetData = false;
239
- this.selectedTab = "web-links";
240
- this.refineParameters = false;
241
- this.collectionSearchType = "all";
242
- this.collectionSearchLoading = false;
243
- this.collectionLoading = false;
244
- this.collectionAccordionOpen = true;
245
- this.dataAccessMode = "original";
246
- __privateAdd(this, _collectionController, new CollectionController(this, {
247
- getCollectionEntryId: () => this.collectionEntryId,
248
- getBearerToken: () => this.bearerToken
249
- }));
250
- __privateAdd(this, _authController, new AuthController(this));
251
- __privateAdd(this, _harmonyRequestController, new HarmonyRequestController(this));
252
- __privateAdd(this, _resetAllParameters, () => {
253
- this.selectedVariables = [];
254
- if (__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this)) {
255
- __privateGet(this, _resetSpatialSelection).call(this);
256
- }
257
- this.selectedDateRange = {
258
- startDate: null,
259
- endDate: null
260
- };
261
- this.touchedFields = /* @__PURE__ */ new Set();
262
- this.validationError = void 0;
263
- this.expandedVariableGroups = /* @__PURE__ */ new Set();
264
- this.requestUpdate();
265
- });
266
- __privateAdd(this, _handleDateChange, (e2) => {
267
- __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "date");
268
- this.selectedDateRange = __spreadProps(__spreadValues({}, this.selectedDateRange), {
269
- startDate: e2.detail.startDate,
270
- endDate: e2.detail.endDate
271
- });
272
- });
273
- __privateAdd(this, _resetDateRangeSelection, () => {
274
- this.selectedDateRange = { startDate: null, endDate: null };
275
- });
276
- __privateAdd(this, _resetFormatSelection, () => {
277
- var _a;
278
- if ((_a = this.collectionWithServices) == null ? void 0 : _a.configuredOutputFormats.length) {
279
- const netcdfFormat = this.collectionWithServices.configuredOutputFormats.find(
280
- (f) => f.key === "application/x-netcdf4" || f.key === "application/netcdf"
281
- );
282
- this.selectedFormat = netcdfFormat || this.collectionWithServices.configuredOutputFormats[0];
283
- } else {
284
- this.selectedFormat = defaultOutputFormat;
285
- }
286
- });
287
- __privateAdd(this, _handleSpatialChange, (e2) => {
288
- __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "spatial");
289
- if (e2.detail.type === "point" /* POINT */) {
290
- this.spatialSelection = e2.detail.latLng;
291
- } else if (e2.detail.type === "bbox" /* BBOX */) {
292
- this.spatialSelection = e2.detail.bounds;
293
- } else {
294
- this.spatialSelection = void 0;
295
- }
296
- });
297
- /**
298
- * resets the spatial selection back to the bounds of the collection
299
- */
300
- __privateAdd(this, _resetSpatialSelection, () => {
301
- this.spatialSelection = void 0;
302
- this.spatialPicker.clear();
303
- __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "spatial");
304
- });
305
- __privateAdd(this, _resetVariableSelection, () => {
306
- this.selectedVariables = [];
307
- __privateMethod(this, _resetDimensionSelection, resetDimensionSelection_fn).call(this);
308
- });
309
- }
310
- jobIdChanged() {
311
- if (this.jobId) {
312
- __privateGet(this, _harmonyRequestController).startPollForJobStatus(this.jobId);
313
- this.dataAccessMode = "subset";
314
- }
315
- }
316
- shortNameAndVersionChanged() {
317
- if (this.shortName && this.version) {
318
- this.collectionEntryId = `${this.shortName}_${this.version}`;
319
- }
320
- }
321
- collectionEntryIdChanged() {
322
- if (this.collectionEntryId) {
323
- this.showCollectionSearch = false;
324
- } else {
325
- this.showCollectionSearch = true;
326
- }
327
- }
328
- firstUpdated() {
329
- if (this.collectionEntryId) {
330
- this.showCollectionSearch = false;
331
- }
332
- if (this.jobId) {
333
- __privateGet(this, _harmonyRequestController).startPollForJobStatus(this.jobId);
334
- this.dataAccessMode = "subset";
335
- }
336
- this.renderHistoryPanel();
337
- }
338
- updated(changedProps) {
339
- var _a, _b, _c;
340
- super.updated(changedProps);
341
- const newCollectionInfo = __privateGet(this, _collectionController).collectionInfo;
342
- if (newCollectionInfo !== this.collectionWithServices) {
343
- this.collectionWithServices = newCollectionInfo;
344
- }
345
- const sampling = (_a = __privateGet(this, _collectionController).sampling) == null ? void 0 : _a.data;
346
- if ((sampling == null ? void 0 : sampling.minDate) !== this.granuleMinDate) {
347
- this.granuleMinDate = sampling == null ? void 0 : sampling.minDate;
348
- }
349
- if ((sampling == null ? void 0 : sampling.maxDate) !== this.granuleMaxDate) {
350
- this.granuleMaxDate = sampling == null ? void 0 : sampling.maxDate;
351
- }
352
- const newGiovanni = __privateGet(this, _collectionController).giovanniVariables;
353
- if (newGiovanni.size !== ((_c = (_b = this.giovanniConfiguredVariables) == null ? void 0 : _b.size) != null ? _c : 0)) {
354
- this.giovanniConfiguredVariables = newGiovanni;
355
- }
356
- }
357
- /** True if the collection contains sub-daily granules. Used by DataSubsetterController to format dates. */
358
- get isSubDaily() {
359
- return __privateGet(this, _collectionController).isSubDaily;
360
- }
361
- collectionChanged() {
362
- const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
363
- this.selectedDateRange = { startDate, endDate };
364
- __privateGet(this, _resetFormatSelection).call(this);
365
- this.collectionLoading = false;
366
- this.collectionAccordionOpen = false;
367
- }
368
- granuleDatesChanged() {
369
- const newRange = __spreadValues(__spreadValues({}, this.granuleMinDate && { startDate: this.granuleMinDate }), this.granuleMaxDate && { endDate: this.granuleMaxDate });
370
- if (Object.keys(newRange).length > 0) {
371
- this.selectedDateRange = __spreadValues(__spreadValues({}, this.selectedDateRange), newRange);
372
- }
373
- }
374
- selectedFormatChanged() {
375
- if (this.selectedFormat.isGiovanniFormat && this.selectedVariables.length > 1) {
376
- this.selectedVariables = [this.selectedVariables[0]];
377
- }
378
- }
379
- showDialog() {
380
- var _a;
381
- (_a = this.dialogElement) == null ? void 0 : _a.show();
382
- }
383
- render() {
384
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
385
- const showJobStatus = __privateGet(this, _harmonyRequestController).jobId && !this.refineParameters;
386
- const showMinimizeButton = showJobStatus && !!this.dialog;
387
- const title = (_c = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.EntryTitle) != null ? _c : "Download Data";
388
- if (!this.collectionWithServices) {
389
- if (__privateGet(this, _collectionController).hasCapabilitiesError) {
390
- return b`
391
- <terra-alert open variant="danger" appearance="white">
392
- Failed to find the requested collection.
393
- </terra-alert>
394
- `;
395
- }
396
- }
397
- const content = b`
398
- <div class="container">
399
- ${!this.dialog ? b`
400
- <div class="header">
401
- <h1>
402
- <svg
403
- class="download-icon"
404
- viewBox="0 0 24 24"
405
- fill="currentColor"
406
- >
407
- <path
408
- d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
409
- />
410
- </svg>
411
- ${title}
412
- </h1>
413
-
414
- ${showMinimizeButton ? b`<button
415
- class="minimize-btn"
416
- @click=${() => this.minimizeDialog()}
417
- >
418
- -
419
- </button>` : A}
420
- </div>
421
- ` : A}
422
- ${!this.isHistoryView && ((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.services) == null ? void 0 : _e.length) ? b`
423
- <div class="section">
424
- ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
425
- </div>
426
- ` : A}
427
- ${this.dataAccessMode === "original" ? b`
428
- <div class="section">
429
- <terra-data-access
430
- short-name=${(_h = this.shortName) != null ? _h : (_g = (_f = this.collectionWithServices) == null ? void 0 : _f.collection) == null ? void 0 : _g.ShortName}
431
- version=${(_k = this.version) != null ? _k : (_j = (_i = this.collectionWithServices) == null ? void 0 : _i.collection) == null ? void 0 : _j.Version}
432
- ?footer-slot=${!!this.dialog}
433
- >
434
- ${this.dialog ? b`
435
- <div
436
- slot="footer"
437
- style="margin-top: 15px;"
438
- >
439
- <slot
440
- name="data-access-footer"
441
- ></slot>
442
- </div>
443
- ` : A}
444
- </terra-data-access>
445
- </div>
446
- ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
447
- </div>
448
- `;
449
- if (this.dialog) {
450
- return b`
451
- <terra-dialog id=${this.dialog} style="--title-font-size: 16px;">
452
- <span
453
- slot="label"
454
- style="display: flex; align-items: center; gap: 8px; color: #0066cc; font-weight: 600;"
455
- >
456
- <svg
457
- class="download-icon"
458
- viewBox="0 0 24 24"
459
- fill="currentColor"
460
- style="width: 16px; height: 16px; display: inline-block; vertical-align: middle; flex-shrink: 0;"
461
- >
462
- <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
463
- </svg>
464
- ${title}
465
- </span>
466
- ${showMinimizeButton ? b`
467
- <button
468
- slot="header-actions"
469
- class="minimize-btn"
470
- @click=${() => {
471
- var _a2;
472
- return (_a2 = this.dialogElement) == null ? void 0 : _a2.hide();
473
- }}
474
- aria-label="Minimize"
475
- >
476
- -
477
- </button>
478
- ` : A}
479
- <slot name="dialog-header-content"></slot>
480
- ${content} ${__privateMethod(this, _renderFooterForDialog, renderFooterForDialog_fn).call(this)}
481
- </terra-dialog>
482
- `;
483
- }
484
- return b`
485
- <div class="container">
486
- <div class="header">
487
- <h1>
488
- <svg
489
- class="download-icon"
490
- viewBox="0 0 24 24"
491
- fill="currentColor"
492
- >
493
- <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
494
- </svg>
495
- ${title}
496
- </h1>
497
-
498
- ${showMinimizeButton ? b`<button
499
- class="minimize-btn"
500
- @click=${() => this.minimizeDialog()}
501
- >
502
- -
503
- </button>` : A}
504
- </div>
505
- ${!this.isHistoryView && ((_m = (_l = this.collectionWithServices) == null ? void 0 : _l.services) == null ? void 0 : _m.length) ? b`
506
- <div class="section">
507
- ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
508
- </div>
509
- ` : A}
510
- ${this.dataAccessMode === "original" ? b`
511
- <div class="section">
512
- <terra-data-access
513
- short-name=${(_p = this.shortName) != null ? _p : (_o = (_n = this.collectionWithServices) == null ? void 0 : _n.collection) == null ? void 0 : _o.ShortName}
514
- version=${(_s = this.version) != null ? _s : (_r = (_q = this.collectionWithServices) == null ? void 0 : _q.collection) == null ? void 0 : _r.Version}
515
- ?footer-slot=${!!this.dialog}
516
- >
517
- ${this.dialog ? b`
518
- <div
519
- slot="footer"
520
- style="margin-top: 15px;"
521
- >
522
- <slot
523
- name="data-access-footer"
524
- ></slot>
525
- </div>
526
- ` : A}
527
- </terra-data-access>
528
- </div>
529
- ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
530
- </div>
531
- `;
532
- }
533
- minimizeDialog() {
534
- var _a;
535
- (_a = this.closest("terra-dialog")) == null ? void 0 : _a.hide();
536
- }
537
- handleCollectionSearch(searchTerm) {
538
- this.collectionSearchQuery = searchTerm;
539
- }
540
- renderHistoryPanel() {
541
- const existingHistoryPanel = document.querySelector(
542
- "terra-data-subsetter-history"
543
- );
544
- if (!existingHistoryPanel && this.bearerToken) {
545
- const historyPanel = document.createElement(
546
- "terra-data-subsetter-history"
547
- );
548
- if (this.bearerToken) {
549
- historyPanel.setAttribute("bearer-token", this.bearerToken);
550
- }
551
- if (this.environment) {
552
- historyPanel.setAttribute("environment", this.environment);
553
- }
554
- document.body.appendChild(historyPanel);
555
- }
556
- }
557
- };
558
- _collectionController = new WeakMap();
559
- _authController = new WeakMap();
560
- _harmonyRequestController = new WeakMap();
561
- _renderFooterForDialog = new WeakSet();
562
- renderFooterForDialog_fn = function() {
563
- const showJobStatus = __privateGet(this, _harmonyRequestController).jobId && !this.refineParameters;
564
- if (showJobStatus && __privateGet(this, _harmonyRequestController).jobId) {
565
- return b`
566
- <div slot="footer" class="footer">
567
- ${__privateGet(this, _harmonyRequestController).status === "successful" /* SUCCESSFUL */ || __privateGet(this, _harmonyRequestController).status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? b`
568
- <div
569
- style="display: flex; align-items: center; gap: 8px;"
570
- >
571
- <terra-dropdown
572
- @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
573
- >
574
- <terra-button slot="trigger" caret>
575
- Download Options
576
- </terra-button>
577
- <terra-menu>
578
- <terra-menu-item value="file-list">
579
- <svg
580
- slot="prefix"
581
- viewBox="0 0 24 24"
582
- width="16"
583
- height="16"
584
- style="width: 16px; height: 16px;"
585
- >
586
- <path
587
- fill="currentColor"
588
- d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"
589
- />
590
- </svg>
591
- File List
592
- </terra-menu-item>
593
- <terra-menu-item value="python-script">
594
- <svg
595
- slot="prefix"
596
- viewBox="0 0 128 128"
597
- width="16"
598
- height="16"
599
- style="width: 16px; height: 16px;"
600
- >
601
- <path
602
- fill="currentColor"
603
- d="M49.33 62h29.159C86.606 62 93 55.132 93 46.981V19.183c0-7.912-6.632-13.856-14.555-15.176-5.014-.835-10.195-1.215-15.187-1.191-4.99.023-9.612.448-13.805 1.191C37.098 6.188 35 10.758 35 19.183V30h29v4H23.776c-8.484 0-15.914 5.108-18.237 14.811-2.681 11.12-2.8 17.919 0 29.53C7.614 86.983 12.569 93 21.054 93H31V79.952C31 70.315 39.428 62 49.33 62zm-1.838-39.11c-3.026 0-5.478-2.479-5.478-5.545 0-3.079 2.451-5.581 5.478-5.581 3.015 0 5.479 2.502 5.479 5.581-.001 3.066-2.465 5.545-5.479 5.545zm74.789 25.921C120.183 40.363 116.178 34 107.682 34H97v12.981C97 57.031 88.206 65 78.489 65H49.33C41.342 65 35 72.326 35 80.326v27.8c0 7.91 6.745 12.564 14.462 14.834 9.242 2.717 17.994 3.208 29.051 0C85.862 120.831 93 116.549 93 108.126V97H64v-4h43.682c8.484 0 11.647-5.776 14.599-14.66 3.047-9.145 2.916-17.799 0-29.529zm-41.955 55.606c3.027 0 5.479 2.479 5.479 5.547 0 3.076-2.451 5.579-5.479 5.579-3.015 0-5.478-2.502-5.478-5.579 0-3.068 2.463-5.547 5.478-5.547z"
604
- ></path>
605
- </svg>
606
- Python Script
607
- </terra-menu-item>
608
- <terra-menu-item value="earthdata-download">
609
- <svg
610
- slot="prefix"
611
- viewBox="0 0 64 64"
612
- fill="none"
613
- width="16"
614
- height="16"
615
- style="width: 16px; height: 16px;"
616
- >
617
- <circle
618
- cx="32"
619
- cy="32"
620
- r="28"
621
- fill="currentColor"
622
- />
623
- <path
624
- d="M32 14v26M32 40l-9-9M32 40l9-9"
625
- stroke="#fff"
626
- stroke-width="4"
627
- stroke-linecap="round"
628
- stroke-linejoin="round"
629
- fill="none"
630
- />
631
- </svg>
632
- Earthdata Download
633
- </terra-menu-item>
634
- </terra-menu>
635
- </terra-dropdown>
636
-
637
- <!--
638
- <terra-button
639
- outline
640
- @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
641
- >
642
- <terra-icon
643
- name="outline-code-bracket"
644
- library="heroicons"
645
- font-size="1.5em"
646
- style="margin-right: 5px;"
647
- ></terra-icon>
648
- Open in Jupyter Notebook
649
- </terra-button>
650
- -->
651
- </div>
652
- ` : A}
653
- ${__privateGet(this, _harmonyRequestController).status === "running" /* RUNNING */ ? b`<button
654
- class="btn btn-success"
655
- @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
656
- ?disabled=${this.cancelingGetData}
657
- >
658
- ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
659
- </button>` : A}
660
-
661
- <div class="job-info">
662
- Job ID:
663
- <span class="job-id">
664
- ${this.bearerToken ? b`<a
665
- href="https://harmony.earthdata.nasa.gov/jobs/${__privateGet(this, _harmonyRequestController).jobId}"
666
- target="_blank"
667
- >${__privateGet(this, _harmonyRequestController).jobId}</a
668
- >` : __privateGet(this, _harmonyRequestController).jobId}
669
- </span>
670
- <span class="info-icon">?</span>
671
- </div>
672
- </div>
673
- `;
674
- } else if (this.dataAccessMode === "subset") {
675
- return b`
676
- <div slot="footer" class="footer">
677
- <button class="btn btn-secondary" @click=${__privateGet(this, _resetAllParameters)}>Reset All</button>
678
- <div>
679
- <button class="btn btn-primary" @click=${__privateMethod(this, _getData, getData_fn)}>
680
- Get Data
681
- </button>
682
- ${this.jobId ? b`
683
- <terra-button
684
- variant="default"
685
- @click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
686
- >
687
- View Running Job
688
- </terra-button>
689
- ` : A}
690
- </div>
691
- </div>
692
- </div>
693
- </div>
694
- `;
695
- }
696
- return A;
697
- };
698
- _renderSizeInfo = new WeakSet();
699
- renderSizeInfo_fn = function(estimates) {
700
- if (!__privateGet(this, _authController).state.isLoading && !__privateGet(this, _authController).state.user) {
701
- return b`
702
- <div class="size-info warning">
703
- <terra-login>
704
- <h2 slot="logged-out">Limited access as a guest.</h2>
705
-
706
- <p slot="logged-out">
707
- Your results will be capped at 10 links. Log in for full
708
- access to all data.
709
- </p>
710
- </terra-login>
711
- </div>
712
- `;
713
- }
714
- return b`<div
715
- class="size-info ${estimates.links >= 150 ? "warning" : "neutral"}"
716
- >
717
- <h2>Estimated size of results</h2>
718
- <div class="size-stats">
719
- ${estimates.days.toLocaleString()} days,
720
- ${estimates.links.toLocaleString()} links
721
- </div>
722
- ${estimates.links >= 150 ? b`<div class="size-warning">
723
- You are about to retrieve ${estimates.links.toLocaleString()}
724
- file links from the archive. You may
725
- <strong>speed up the request</strong> by limiting the scope of
726
- your search.
727
- </div>` : A}
728
- </div>`;
729
- };
730
- _renderSubsetOptions = new WeakSet();
731
- renderSubsetOptions_fn = function() {
732
- var _a, _b, _c, _d, _e, _f, _g, _h, _i;
733
- const estimates = __privateMethod(this, _estimateJobSize, estimateJobSize_fn).call(this);
734
- const hasSubsetOption = __privateMethod(this, _hasAtLeastOneSubsetOption, hasAtLeastOneSubsetOption_fn).call(this);
735
- const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
736
- const temporalExtents = collection == null ? void 0 : collection.TemporalExtents;
737
- const spatialExtent = collection == null ? void 0 : collection.SpatialExtent;
738
- const showTemporalSection = temporalExtents == null ? void 0 : temporalExtents.length;
739
- const showSpatialSection = (_c = (_b = spatialExtent == null ? void 0 : spatialExtent.HorizontalSpatialDomain) == null ? void 0 : _b.Geometry) == null ? void 0 : _c.BoundingRectangles;
740
- return b`
741
- ${this.dataAccessMode === "original" ? A : hasSubsetOption ? b`
742
- ${hasSubsetOption && estimates ? __privateMethod(this, _renderSizeInfo, renderSizeInfo_fn).call(this, estimates) : A}
743
- ${this.showCollectionSearch ? b`
744
- <div class="section">
745
- <h2 class="section-title">
746
- Select Data Collection
747
- </h2>
748
-
749
- ${__privateMethod(this, _renderSearchForCollection, renderSearchForCollection_fn).call(this)}
750
- </div>
751
- ` : A}
752
- ${((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.summary.outputFormats) == null ? void 0 : _e.length) && hasSubsetOption ? b`
753
- <div class="section">
754
- <h2 class="section-title">Output Format</h2>
755
-
756
- ${__privateMethod(this, _renderOutputFormatSelection, renderOutputFormatSelection_fn).call(this)}
757
- </div>
758
- ` : A}
759
- <div class="section">
760
- <h2 class="section-title">Subset Options</h2>
761
- <p style="color: #666; margin-bottom: 16px;">
762
- Generate file links that support spatial subsetting,
763
- date/time range selection, and variable selection.
764
- </p>
765
-
766
- ${((_f = this.collectionWithServices) == null ? void 0 : _f.summary.subsetting.temporal) ? __privateMethod(this, _renderDateRangeSelection, renderDateRangeSelection_fn).call(this) : A}
767
- ${__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderSpatialSelection, renderSpatialSelection_fn).call(this) : A}
768
- ${((_g = this.collectionWithServices) == null ? void 0 : _g.summary.subsetting.variable) ? __privateMethod(this, _renderVariableSelection, renderVariableSelection_fn).call(this) : A}
769
- ${((_h = this.collectionWithServices) == null ? void 0 : _h.summary.subsetting.variable) && isFeatureEnabled(
770
- KnownFeatureFlags.DIMENSION_SUBSET,
771
- this.features
772
- ) ? __privateMethod(this, _renderDimensionSelection, renderDimensionSelection_fn).call(this) : A}
773
- </div>
774
- ` : b`
775
- ${showTemporalSection && !((_i = this.collectionWithServices) == null ? void 0 : _i.summary.subsetting.temporal) ? __privateMethod(this, _renderAvailableTemporalRangeSection, renderAvailableTemporalRangeSection_fn).call(this) : A}
776
- ${showSpatialSection && !__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderAvailableSpatialRangeSection, renderAvailableSpatialRangeSection_fn).call(this) : A}
777
- `}
778
- ${!hasSubsetOption && estimates ? b`
779
- <div
780
- class="neutral-info"
781
- style="margin-top: 24px; padding: 16px 20px; border-radius: 6px; background: #f8f9fa; color: #555; border: 1px solid #ccc;"
782
- >
783
- <strong>Estimated result size:</strong><br />
784
- Your request will return approximately
785
- <b>${estimates.links.toLocaleString()}</b> files covering
786
- <b>${estimates.days.toLocaleString()}</b> days.
787
- </div>
788
- ` : A}
789
- ${this.dataAccessMode === "subset" && !this.dialog ? b`
790
- <div class="footer">
791
- <button class="btn btn-secondary" @click=${__privateGet(this, _resetAllParameters)}>Reset All</button>
792
- <div>
793
- <button
794
- class="btn btn-primary"
795
- @click=${__privateMethod(this, _getData, getData_fn)}
796
- >
797
- Get Data
798
- </button>
799
- ${this.jobId ? b`
800
- <terra-button
801
- variant="default"
802
- @click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
803
- >
804
- View Running Job
805
- </terra-button>
806
- ` : A}
807
- </div>
808
- </div>
809
- </div>
810
- </div>
811
- ` : A}
812
- `;
813
- };
814
- _resetAllParameters = new WeakMap();
815
- _renderSearchForCollection = new WeakSet();
816
- renderSearchForCollection_fn = function() {
817
- var _a, _b;
818
- let placeholder = "Search all types of resources (e.g. rainfall, GPM, hurricanes, etc.)";
819
- if (this.collectionSearchType === "collection") {
820
- placeholder = "Search collections (e.g. AQUA, GPM_3IMERGH, etc.)";
821
- }
822
- if (this.collectionSearchType === "variable") {
823
- placeholder = "Search variables (e.g. rainfall, hurricanes, etc.)";
824
- }
825
- return b`
826
- <terra-accordion .open=${this.collectionAccordionOpen}>
827
- <div slot="summary">
828
- <span class="accordion-title">Collection:</span>
829
- </div>
830
-
831
- <div
832
- slot="summary-right"
833
- style="display: flex; align-items: center; gap: 10px"
834
- >
835
- ${this.collectionEntryId ? b` <span
836
- class="accordion-value"
837
- id="selected-collection-display"
838
- >${this.collectionEntryId}</span
839
- >
840
-
841
- <button
842
- class="reset-btn"
843
- @click=${() => this.collectionEntryId = void 0}
844
- >
845
- Reset
846
- </button>` : A}
847
- </div>
848
-
849
- <div class="search-tabs-mini">
850
- <button
851
- class="search-tab-mini ${this.collectionSearchType === "all" ? "active" : ""}"
852
- @click=${() => this.collectionSearchType = "all"}
853
- >
854
- All
855
- </button>
856
- <button
857
- class="search-tab-mini ${this.collectionSearchType === "collection" ? "active" : ""}"
858
- @click=${() => this.collectionSearchType = "collection"}
859
- >
860
- Collections
861
- </button>
862
- <button
863
- class="search-tab-mini ${this.collectionSearchType === "variable" ? "active" : ""}"
864
- @click=${() => this.collectionSearchType = "variable"}
865
- >
866
- Variables
867
- </button>
868
- </div>
869
-
870
- <div class="search-container-mini">
871
- <input
872
- type="text"
873
- class="search-input-mini"
874
- id="search-input"
875
- placeholder=${placeholder}
876
- @input="${(e2) => this.handleCollectionSearch(
877
- e2.target.value
878
- )}"
879
- />
880
-
881
- <button class="search-button-mini">
882
- <svg
883
- class="search-icon-mini"
884
- viewBox="0 0 24 24"
885
- fill="currentColor"
886
- >
887
- <path
888
- d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"
889
- />
890
- </svg>
891
- Search
892
- </button>
893
- </div>
894
-
895
- <!-- TODO: it may be nice to have a quick search, perhaps by recent trends?
896
- <div class="quick-links-mini">
897
- <a href="#" class="quick-link-mini" onclick="quickSearch('GPM')"
898
- >GPM Precipitation</a
899
- >
900
- <a href="#" class="quick-link-mini" onclick="quickSearch('MODIS')"
901
- >MODIS Data</a
902
- >
903
- <a
904
- href="#"
905
- class="quick-link-mini"
906
- onclick="quickSearch('Landsat')"
907
- >Landsat Imagery</a
908
- >
909
- <a href="#" class="quick-link-mini" onclick="quickSearch('AIRS')"
910
- >Atmospheric Data</a
911
- >
912
- </div>
913
- -->
914
-
915
- <div id="search-results-section" class="search-results-section">
916
- ${this.collectionSearchLoading ? b`
917
- <div id="loading-mini" class="loading-mini">
918
- <div class="spinner-mini"></div>
919
- <div>Searching NASA CMR...</div>
920
- </div>
921
- ` : ((_a = this.collectionSearchResults) == null ? void 0 : _a.length) ? b` <div
922
- id="results-container-mini"
923
- class="results-container-mini"
924
- >
925
- ${(_b = this.collectionSearchResults) == null ? void 0 : _b.map(
926
- (item) => b`
927
- <div
928
- class="result-item-mini"
929
- @click=${() => {
930
- this.collectionEntryId = item.collectionEntryId;
931
- this.collectionAccordionOpen = false;
932
- this.collectionLoading = true;
933
- if (item.type === "variable") {
934
- this.selectedVariables = [
935
- {
936
- name: item.entryId,
937
- href: "",
938
- conceptId: item.conceptId
939
- }
940
- ];
941
- }
942
- this.requestUpdate();
943
- }}
944
- style="cursor: pointer;"
945
- >
946
- <div class="result-title-mini">
947
- ${item.title}
948
- </div>
949
- <div class="result-id-mini">
950
- ${item.entryId}
951
- </div>
952
- <div class="result-description-mini">
953
- ${item.summary || item.title}
954
- </div>
955
- <div class="result-meta-mini">
956
- <span>📅 2000-02-24 - ongoing</span>
957
- <span>🌍 Global</span>
958
- <span>🏢 ${item.provider}</span>
959
- ${item.type === "variable" ? b` <span
960
- >📊
961
- ${item.collectionEntryId}</span
962
- >` : A}
963
- <span class="tag-mini"
964
- >${item.type.toUpperCase()}</span
965
- >
966
- </div>
967
- </div>
968
- `
969
- )}
970
- </div>` : this.collectionSearchResults && this.collectionSearchResults.length === 0 ? b`<div id="no-results-mini" class="no-results-mini">
971
- <p>
972
- No results found for
973
- '${this.collectionSearchQuery}'. Try adjusting
974
- your search term.
975
- </p>
976
- </div>` : A}
977
- </div>
978
- </terra-accordion>
979
-
980
- ${this.collectionLoading ? b`
981
- <div
982
- class="collection-loading-bar"
983
- style="display: flex; align-items: center; gap: 10px; margin: 16px 0;"
984
- >
985
- <span
986
- class="loading-spinner"
987
- style="width: 20px; height: 20px; border: 3px solid #ccc; border-top: 3px solid #31708f; border-radius: 50%; display: inline-block; animation: spin 1s linear infinite;"
988
- ></span>
989
- Retrieving collection, please wait...
990
- </div>
991
- <style>
992
- @keyframes spin {
993
- 0% {
994
- transform: rotate(0deg);
995
- }
996
- 100% {
997
- transform: rotate(360deg);
998
- }
999
- }
1000
- </style>
1001
- ` : A}
1002
- `;
1003
- };
1004
- _renderOutputFormatSelection = new WeakSet();
1005
- renderOutputFormatSelection_fn = function() {
1006
- return b`
1007
- <terra-accordion>
1008
- <div slot="summary">
1009
- <span class="accordion-title">File Format:</span>
1010
- </div>
1011
-
1012
- <div
1013
- slot="summary-right"
1014
- style="display: flex; align-items: center; gap: 10px;"
1015
- >
1016
- <span>${this.selectedFormat.label}</span>
1017
-
1018
- <button class="reset-btn" @click=${__privateGet(this, _resetFormatSelection)}>
1019
- Reset
1020
- </button>
1021
- </div>
1022
-
1023
- <div class="accordion-content" style="margin-top: 12px;">
1024
- ${(() => {
1025
- var _a;
1026
- return (((_a = this.collectionWithServices) == null ? void 0 : _a.configuredOutputFormats) || []).map(
1027
- (format) => b`
1028
- <label
1029
- style="display: flex; align-items: center; gap: 8px; padding: 5px;"
1030
- >
1031
- <input
1032
- type="radio"
1033
- name="output-format"
1034
- value="${format}"
1035
- .checked=${this.selectedFormat === format}
1036
- @change=${() => this.selectedFormat = format}
1037
- />
1038
- ${format.label}
1039
- </label>
1040
- `
1041
- );
1042
- })()}
1043
- </div>
1044
- </terra-accordion>
1045
- `;
1046
- };
1047
- _renderDateRangeSelection = new WeakSet();
1048
- renderDateRangeSelection_fn = function() {
1049
- var _a, _b, _c, _d, _e, _f, _g, _h;
1050
- const { startDate: defaultStartDate, endDate: defaultEndDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
1051
- const startDate = (_b = (_a = this.selectedDateRange.startDate) != null ? _a : this.granuleMinDate) != null ? _b : defaultStartDate;
1052
- const endDate = (_d = (_c = this.selectedDateRange.endDate) != null ? _c : this.granuleMaxDate) != null ? _d : defaultEndDate;
1053
- const showError = this.touchedFields.has("date") && (!this.selectedDateRange.startDate || !this.selectedDateRange.endDate);
1054
- return b`
1055
- <terra-accordion>
1056
- <div slot="summary">
1057
- <span class="accordion-title">Refine Date Range:</span>
1058
- </div>
1059
-
1060
- <div
1061
- slot="summary-right"
1062
- style="display: flex; align-items: center; gap: 10px;"
1063
- >
1064
- ${showError ? b`<span class="accordion-value error"
1065
- >Please select a date range</span
1066
- >` : this.touchedFields.has("date") && startDate && endDate ? b`<span class="accordion-value"
1067
- >${startDate} to ${endDate}</span
1068
- >` : A}
1069
- <button class="reset-btn" @click=${__privateGet(this, _resetDateRangeSelection)}>
1070
- Reset
1071
- </button>
1072
- </div>
1073
-
1074
- <div style="width: 300px">
1075
- <terra-date-picker
1076
- allow-input
1077
- inline
1078
- range
1079
- split-inputs
1080
- show-presets
1081
- ?enable-time=${this.isSubDaily}
1082
- start-label="Start Date"
1083
- end-label="End Date"
1084
- .minDate=${(_e = this.granuleMinDate) != null ? _e : defaultStartDate}
1085
- .maxDate=${(_f = this.granuleMaxDate) != null ? _f : defaultEndDate}
1086
- .startDate=${(_g = this.selectedDateRange.startDate) != null ? _g : this.granuleMinDate}
1087
- .endDate=${(_h = this.selectedDateRange.endDate) != null ? _h : this.granuleMaxDate}
1088
- .useEndOfDay=${!this.selectedFormat.isGiovanniFormat}
1089
- @terra-date-range-change=${__privateGet(this, _handleDateChange)}
1090
- ></terra-date-picker>
1091
- </div>
1092
-
1093
- <div
1094
- style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
1095
- >
1096
- <span
1097
- ><strong>Available Range:</strong> ${defaultStartDate} to
1098
- ${defaultEndDate}</span
1099
- >
1100
- ${this.isSubDaily ? b`<span
1101
- ><strong>Note:</strong> All dates and times are in
1102
- UTC.</span
1103
- >` : A}
1104
- </div>
1105
- </terra-accordion>
1106
- `;
1107
- };
1108
- _handleDateChange = new WeakMap();
1109
- _resetDateRangeSelection = new WeakMap();
1110
- _resetFormatSelection = new WeakMap();
1111
- _getCollectionDateRange = new WeakSet();
1112
- getCollectionDateRange_fn = function() {
1113
- var _a, _b;
1114
- const samplingMinDate = this.granuleMinDate;
1115
- const samplingMaxDate = this.granuleMaxDate;
1116
- if (samplingMinDate && samplingMaxDate) {
1117
- return {
1118
- startDate: samplingMinDate.slice(0, 10),
1119
- endDate: samplingMaxDate.slice(0, 10)
1120
- };
1121
- }
1122
- const temporalExtents = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.TemporalExtents;
1123
- if (!(temporalExtents == null ? void 0 : temporalExtents.length))
1124
- return {
1125
- startDate: null,
1126
- endDate: null
1127
- };
1128
- let minStart = null;
1129
- let maxEnd = null;
1130
- const today = /* @__PURE__ */ new Date();
1131
- for (const temporal of temporalExtents) {
1132
- for (const range of temporal.RangeDateTimes || []) {
1133
- const start = new Date(range.BeginningDateTime);
1134
- let end;
1135
- if (temporal.EndsAtPresentFlag || !range.EndingDateTime) {
1136
- end = today;
1137
- } else {
1138
- end = new Date(range.EndingDateTime);
1139
- }
1140
- if (!minStart || start < minStart)
1141
- minStart = start;
1142
- if (!maxEnd || end > maxEnd)
1143
- maxEnd = end;
1144
- }
1145
- }
1146
- return {
1147
- startDate: minStart ? minStart.toISOString().slice(0, 10) : null,
1148
- endDate: maxEnd ? maxEnd.toISOString().slice(0, 10) : null
1149
- };
1150
- };
1151
- _renderSpatialSelection = new WeakSet();
1152
- renderSpatialSelection_fn = function() {
1153
- var _a, _b;
1154
- const showError = this.touchedFields.has("spatial") && !this.spatialSelection;
1155
- const spatialString = (_b = (_a = this.spatialSelection) == null ? void 0 : _a.toString()) != null ? _b : this.spatialSelection;
1156
- return b`
1157
- <terra-accordion>
1158
- <div slot="summary">
1159
- <span class="accordion-title">Refine Region:</span>
1160
- </div>
1161
-
1162
- <div
1163
- slot="summary-right"
1164
- style="display: flex; align-items: center; gap: 10px;"
1165
- >
1166
- ${showError ? b`<span class="accordion-value error"
1167
- >Please select a region</span
1168
- >` : spatialString ? b`<span class="accordion-value"
1169
- >${spatialString}</span
1170
- >` : A}
1171
- <button class="reset-btn" @click=${__privateGet(this, _resetSpatialSelection)}>
1172
- Reset
1173
- </button>
1174
- </div>
1175
- <div class="accordion-content">
1176
- <terra-spatial-picker
1177
- part="spatial-picker"
1178
- inline
1179
- hide-label
1180
- .spatialConstraints=${__privateGet(this, _collectionController).spatialConstraints || "-180, -90, 180, 90"}
1181
- .initialValue=${spatialString}
1182
- @terra-map-change=${__privateGet(this, _handleSpatialChange)}
1183
- ></terra-spatial-picker>
1184
- <div
1185
- style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
1186
- >
1187
- <span
1188
- ><strong>Available Range:</strong> ${__privateGet(this, _collectionController).spatialConstraints}</span
1189
- >
1190
- </div>
1191
- </div>
1192
- </terra-accordion>
1193
- `;
1194
- };
1195
- _handleSpatialChange = new WeakMap();
1196
- _resetSpatialSelection = new WeakMap();
1197
- _renderVariableSelection = new WeakSet();
1198
- renderVariableSelection_fn = function() {
1199
- var _a;
1200
- const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1201
- const giovanniError = this.touchedFields.has("variables") && __privateMethod(this, _getGiovanniValidationError, getGiovanniValidationError_fn).call(this);
1202
- const basicError = this.touchedFields.has("variables") && this.selectedVariables.length === 0;
1203
- const showError = giovanniError || basicError;
1204
- const errorMessage = giovanniError || (basicError ? "Please select at least one variable" : "");
1205
- const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1206
- const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1207
- const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1208
- return b`
1209
- <terra-accordion>
1210
- <div slot="summary">
1211
- <span class="accordion-title">Select Variables:</span>
1212
- </div>
1213
- <div
1214
- slot="summary-right"
1215
- style="display: flex; align-items: center; gap: 10px;"
1216
- >
1217
- ${showError ? b`<span class="accordion-value error"
1218
- >${errorMessage}</span
1219
- >` : this.selectedVariables.length ? b`<span class="accordion-value"
1220
- >${this.selectedVariables.length} selected</span
1221
- >` : A}
1222
-
1223
- <button class="reset-btn" @click=${__privateGet(this, _resetVariableSelection)}>
1224
- Reset
1225
- </button>
1226
- </div>
1227
- <div class="accordion-content">
1228
- <terra-input
1229
- label="Filter variables"
1230
- placeholder="Search by variable name..."
1231
- .value=${this.variableFilterText}
1232
- @input=${(e2) => {
1233
- const input = e2.target;
1234
- this.variableFilterText = input.value;
1235
- __privateMethod(this, _handleVariableFilterChange, handleVariableFilterChange_fn).call(this);
1236
- }}
1237
- style="margin-bottom: 10px;"
1238
- ></terra-input>
1239
- <button
1240
- class="reset-btn"
1241
- style="margin-bottom: 10px;"
1242
- @click=${() => __privateMethod(this, _toggleExpandCollapseAll, toggleExpandCollapseAll_fn).call(this, tree)}
1243
- >
1244
- ${allExpanded ? "Collapse Tree" : "Expand Tree"}
1245
- </button>
1246
-
1247
- ${this.selectedFormat.isGiovanniFormat && this.giovanniConfiguredVariables ? b`
1248
- <terra-alert
1249
- open
1250
- appearance="white"
1251
- style="margin: 10px 0"
1252
- >
1253
- <terra-icon
1254
- slot="icon"
1255
- name="outline-information-circle"
1256
- library="heroicons"
1257
- ></terra-icon>
1258
- Only certain variables are supported for the
1259
- selected output format. (Giovanni service)
1260
- </terra-alert>
1261
- ` : A}
1262
- ${variables.length === 0 ? b`<p style="color: #666; font-style: italic;">
1263
- No variables available for this collection.
1264
- </p>` : __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, __privateMethod(this, _filterVariableTree, filterVariableTree_fn).call(this, tree), [])}
1265
- </div>
1266
- </terra-accordion>
1267
- `;
1268
- };
1269
- _renderDimensionGroup = new WeakSet();
1270
- renderDimensionGroup_fn = function(dim) {
1271
- var _a, _b, _c, _d, _e, _f;
1272
- const currentValue = (_a = this.selectedDimensionIndexes[dim.name]) != null ? _a : 1;
1273
- const dimensions = ((_f = (_e = (_d = (_c = (_b = __privateGet(this, _collectionController).gesDiscCollection) == null ? void 0 : _b.data) == null ? void 0 : _c.services) == null ? void 0 : _d.subset) == null ? void 0 : _e.find(
1274
- (s) => s.dimensions && s.dimensions.length > 0
1275
- )) == null ? void 0 : _f.dimensions) || [];
1276
- return b`
1277
- <div style="margin-bottom: 16px;">
1278
- <div
1279
- style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px;"
1280
- >
1281
- <span style="font-weight: 600; margin-bottom: 44px"
1282
- >Dimension: ${dim.name}</span
1283
- >
1284
- </div>
1285
- <terra-slider
1286
- class="dimension-slider"
1287
- mode="range"
1288
- min="1"
1289
- .max=${dim.size}
1290
- step="1"
1291
- .startValue=${currentValue.start}
1292
- .endValue=${currentValue.end}
1293
- has-tooltips
1294
- show-inputs
1295
- hide-label
1296
- .formatTooltip=${dimensions.length > 0 ? (value) => {
1297
- const found = dimensions.find(
1298
- (d) => String(d.value) === String(value)
1299
- );
1300
- return found ? found.label : String(value);
1301
- } : A}
1302
- @terra-slider-change=${(event) => {
1303
- if ("startValue" in event.detail) {
1304
- const { startValue, endValue } = event.detail;
1305
- __privateMethod(this, _setDimensionValue, setDimensionValue_fn).call(this, dim.name, startValue, endValue);
1306
- }
1307
- }}
1308
- ></terra-slider>
1309
- </div>
1310
- `;
1311
- };
1312
- _setDimensionValue = new WeakSet();
1313
- setDimensionValue_fn = function(dimName, startValue, endValue) {
1314
- const dimensions = __privateMethod(this, _getCommonSelectableDimensions, getCommonSelectableDimensions_fn).call(this);
1315
- const found = dimensions.find((d) => d.name === dimName);
1316
- if (!found) {
1317
- return;
1318
- }
1319
- const normalizedStartValue = Math.min(
1320
- Math.max(Math.round(startValue), 1),
1321
- found.size
1322
- );
1323
- const normalizedEndValue = Math.min(
1324
- Math.max(Math.round(endValue != null ? endValue : startValue), 1),
1325
- found.size
1326
- );
1327
- if (normalizedStartValue <= 1 && normalizedEndValue >= found.size) {
1328
- delete this.selectedDimensionIndexes[dimName];
1329
- return;
1330
- }
1331
- this.selectedDimensionIndexes = __spreadProps(__spreadValues({}, this.selectedDimensionIndexes), {
1332
- [dimName]: { start: normalizedStartValue, end: normalizedEndValue }
1333
- });
1334
- };
1335
- _renderDimensionSelection = new WeakSet();
1336
- renderDimensionSelection_fn = function() {
1337
- const dimensions = __privateMethod(this, _getCommonSelectableDimensions, getCommonSelectableDimensions_fn).call(this);
1338
- if (!dimensions.length) {
1339
- return A;
1340
- }
1341
- const selectedCount = Object.keys(this.selectedDimensionIndexes).length;
1342
- return b`
1343
- <terra-accordion>
1344
- <div slot="summary">
1345
- <span class="accordion-title">Select Dimensions:</span>
1346
- </div>
1347
- <div
1348
- slot="summary-right"
1349
- style="display: flex; align-items: center; gap: 10px;"
1350
- >
1351
- ${selectedCount ? b`<span class="accordion-value"
1352
- >${selectedCount}
1353
- dimension${selectedCount === 1 ? "" : "s"}
1354
- selected</span
1355
- >` : A}
1356
- <button class="reset-btn" @click=${__privateMethod(this, _resetDimensionSelection, resetDimensionSelection_fn)}>
1357
- Reset
1358
- </button>
1359
- </div>
1360
- <div class="accordion-content">
1361
- ${dimensions.map((dim) => __privateMethod(this, _renderDimensionGroup, renderDimensionGroup_fn).call(this, dim))}
1362
- </div>
1363
- </terra-accordion>
1364
- `;
1365
- };
1366
- _filterVariableTree = new WeakSet();
1367
- filterVariableTree_fn = function(tree) {
1368
- if (!this.variableFilterText.trim()) {
1369
- return tree;
1370
- }
1371
- const filterText = this.variableFilterText.toLowerCase().trim();
1372
- const filterNode = (node) => {
1373
- const result = {};
1374
- for (const [key, value] of Object.entries(node)) {
1375
- if (value.__isLeaf) {
1376
- const variableName = value.__variable.name.toLowerCase();
1377
- if (variableName.includes(filterText)) {
1378
- result[key] = value;
1379
- }
1380
- } else {
1381
- const filteredChildren = filterNode(value.__children);
1382
- if (Object.keys(filteredChildren).length > 0 || key.toLowerCase().includes(filterText)) {
1383
- result[key] = __spreadProps(__spreadValues({}, value), {
1384
- __children: filteredChildren
1385
- });
1386
- }
1387
- }
1388
- }
1389
- return result;
1390
- };
1391
- return filterNode(tree);
1392
- };
1393
- _handleVariableFilterChange = new WeakSet();
1394
- handleVariableFilterChange_fn = function() {
1395
- var _a;
1396
- if (!this.variableFilterText.trim()) {
1397
- return;
1398
- }
1399
- const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1400
- const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1401
- const filterText = this.variableFilterText.toLowerCase().trim();
1402
- const groupsToExpand = /* @__PURE__ */ new Set();
1403
- const findMatchingGroups = (node, path = []) => {
1404
- for (const [key, value] of Object.entries(node)) {
1405
- if (value.__isLeaf) {
1406
- const variableName = value.__variable.name.toLowerCase();
1407
- if (variableName.includes(filterText)) {
1408
- for (let i = 0; i < path.length; i++) {
1409
- const groupPath = path.slice(0, i + 1).join("/");
1410
- groupsToExpand.add(groupPath);
1411
- }
1412
- }
1413
- } else {
1414
- const groupPath = [...path, key].join("/");
1415
- findMatchingGroups(value.__children, [...path, key]);
1416
- if (key.toLowerCase().includes(filterText)) {
1417
- groupsToExpand.add(groupPath);
1418
- }
1419
- }
1420
- }
1421
- };
1422
- findMatchingGroups(tree);
1423
- if (groupsToExpand.size > 0) {
1424
- this.expandedVariableGroups = /* @__PURE__ */ new Set([
1425
- ...this.expandedVariableGroups,
1426
- ...groupsToExpand
1427
- ]);
1428
- }
1429
- };
1430
- _buildVariableTree = new WeakSet();
1431
- buildVariableTree_fn = function(variables) {
1432
- let filteredVariables = variables;
1433
- if (this.selectedFormat.isGiovanniFormat && this.giovanniConfiguredVariables) {
1434
- filteredVariables = variables.filter((v) => {
1435
- var _a, _b, _c;
1436
- const shortName = (_a = this.collectionWithServices) == null ? void 0 : _a.shortName;
1437
- const version = (_c = (_b = this.collectionWithServices) == null ? void 0 : _b.collection) == null ? void 0 : _c.Version;
1438
- if (!shortName || !version) {
1439
- return false;
1440
- }
1441
- const giovanniVariableName = convertVariableEntryIdToGiovanniFormat(
1442
- shortName,
1443
- version,
1444
- v.name
1445
- );
1446
- return this.giovanniConfiguredVariables.has(giovanniVariableName);
1447
- });
1448
- }
1449
- const root = {};
1450
- for (const v of filteredVariables) {
1451
- const parts = v.name.split("/");
1452
- let node = root;
1453
- for (let i = 0; i < parts.length; i++) {
1454
- const part = parts[i];
1455
- if (!node[part])
1456
- node[part] = { __children: {}, __isLeaf: false };
1457
- if (i === parts.length - 1) {
1458
- node[part].__isLeaf = true;
1459
- node[part].__variable = v;
1460
- }
1461
- node = node[part].__children;
1462
- }
1463
- }
1464
- return root;
1465
- };
1466
- _renderVariableTree = new WeakSet();
1467
- renderVariableTree_fn = function(node, path) {
1468
- const isGiovanni = this.selectedFormat.isGiovanniFormat;
1469
- return b`
1470
- <div style="margin-left: ${path.length * 20}px;">
1471
- ${Object.entries(node).map(([key, value]) => {
1472
- var _a;
1473
- const groupPath = [...path, key].join("/");
1474
- if (value.__isLeaf) {
1475
- const ummVar = cmr_variable_service_default.getVariableByName(
1476
- key,
1477
- (_a = __privateGet(this, _collectionController).variables) == null ? void 0 : _a.data
1478
- );
1479
- const variableLabel = ummVar ? cmr_variable_service_default.getVariableDisplayLabel(ummVar) : key;
1480
- return b`
1481
- <div class="option-row">
1482
- <label class="checkbox-option">
1483
- <input
1484
- type="${isGiovanni ? "radio" : "checkbox"}"
1485
- name="${isGiovanni ? "variable-selection" : ""}"
1486
- .checked=${this.selectedVariables.some(
1487
- (v) => v.name === value.__variable.name
1488
- )}
1489
- @change=${(e2) => __privateMethod(this, _toggleVariableSelection, toggleVariableSelection_fn).call(this, e2, value.__variable)}
1490
- />
1491
- <span>${variableLabel}</span>
1492
- </label>
1493
- </div>
1494
- `;
1495
- } else {
1496
- const expanded = this.expandedVariableGroups.has(groupPath);
1497
- return b`
1498
- <div class="option-row" style="align-items: flex-start;">
1499
- <span
1500
- style="cursor: pointer; display: flex; align-items: center;"
1501
- @click=${() => __privateMethod(this, _toggleGroupExpand, toggleGroupExpand_fn).call(this, groupPath)}
1502
- >
1503
- <terra-icon
1504
- library="heroicons"
1505
- name="${expanded ? "outline-minus-circle" : "outline-plus-circle"}"
1506
- style="margin-right: 4px;"
1507
- ></terra-icon>
1508
- <span style="font-weight: 500;">${key}</span>
1509
- </span>
1510
- </div>
1511
- ${expanded ? __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, value.__children, [
1512
- ...path,
1513
- key
1514
- ]) : ""}
1515
- `;
1516
- }
1517
- })}
1518
- </div>
1519
- `;
1520
- };
1521
- _getAllGroupPaths = new WeakSet();
1522
- getAllGroupPaths_fn = function(node, path = []) {
1523
- let groups = [];
1524
- for (const [key, value] of Object.entries(node)) {
1525
- if (!value.__isLeaf) {
1526
- const groupPath = [...path, key].join("/");
1527
- groups.push(groupPath);
1528
- groups = groups.concat(
1529
- __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, value.__children, [...path, key])
1530
- );
1531
- }
1532
- }
1533
- return groups;
1534
- };
1535
- _toggleGroupExpand = new WeakSet();
1536
- toggleGroupExpand_fn = function(groupPath) {
1537
- const set = new Set(this.expandedVariableGroups);
1538
- if (set.has(groupPath)) {
1539
- set.delete(groupPath);
1540
- } else {
1541
- set.add(groupPath);
1542
- }
1543
- this.expandedVariableGroups = set;
1544
- };
1545
- _toggleExpandCollapseAll = new WeakSet();
1546
- toggleExpandCollapseAll_fn = function(tree) {
1547
- const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1548
- const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1549
- if (allExpanded) {
1550
- this.expandedVariableGroups = /* @__PURE__ */ new Set();
1551
- } else {
1552
- this.expandedVariableGroups = new Set(allGroups);
1553
- }
1554
- };
1555
- _toggleVariableSelection = new WeakSet();
1556
- toggleVariableSelection_fn = function(e2, variable) {
1557
- __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
1558
- const checked = e2.target.checked;
1559
- if (this.selectedFormat.isGiovanniFormat) {
1560
- if (checked) {
1561
- this.selectedVariables = [variable];
1562
- }
1563
- } else {
1564
- if (checked) {
1565
- if (!this.selectedVariables.some((v) => v.name === variable.name)) {
1566
- this.selectedVariables = [...this.selectedVariables, variable];
1567
- }
1568
- } else {
1569
- this.selectedVariables = this.selectedVariables.filter(
1570
- (v) => v.name !== variable.name
1571
- );
1572
- }
1573
- }
1574
- };
1575
- _markFieldTouched = new WeakSet();
1576
- markFieldTouched_fn = function(field) {
1577
- this.touchedFields = new Set(this.touchedFields).add(field);
1578
- };
1579
- _resetVariableSelection = new WeakMap();
1580
- _resetDimensionSelection = new WeakSet();
1581
- resetDimensionSelection_fn = function() {
1582
- this.selectedDimensionIndexes = {};
1583
- };
1584
- _isDimensionExcluded = new WeakSet();
1585
- isDimensionExcluded_fn = function(dim) {
1586
- var _a, _b, _c;
1587
- const normalizedName = (_b = (_a = dim.Name) == null ? void 0 : _a.toLowerCase()) != null ? _b : "";
1588
- const normalizedType = ((_c = dim.Type) != null ? _c : "").toLowerCase();
1589
- return ["time", "latitude", "longitude", "lat", "lon", "x", "y"].some(
1590
- (value) => normalizedName.includes(value) || normalizedType.includes(value)
1591
- );
1592
- };
1593
- _getCommonSelectableDimensions = new WeakSet();
1594
- getCommonSelectableDimensions_fn = function() {
1595
- var _a, _b;
1596
- const variables = (_a = __privateGet(this, _collectionController).variables) == null ? void 0 : _a.data;
1597
- if (!variables) {
1598
- console.log("no variables found, cannot determine dimensions");
1599
- return [];
1600
- }
1601
- const allUmmVars = (_b = variables.items) != null ? _b : [];
1602
- if (!allUmmVars.length) {
1603
- return [];
1604
- }
1605
- const allDimensionSets = allUmmVars.map(
1606
- (v) => {
1607
- var _a2;
1608
- return (_a2 = v.umm.Dimensions) != null ? _a2 : [];
1609
- }
1610
- );
1611
- if (!allDimensionSets.length) {
1612
- return [];
1613
- }
1614
- const allDimensionNames = Array.from(
1615
- new Set(allDimensionSets.flatMap((dimSet) => dimSet.map((dim) => dim.Name)))
1616
- );
1617
- const filteredCommon = allDimensionNames.map((name) => {
1618
- var _a2, _b2;
1619
- const dims = allDimensionSets.map((set) => set.find((dim) => dim.Name === name)).filter((d) => Boolean(d));
1620
- if (!dims.length) {
1621
- return null;
1622
- }
1623
- const validSizes = dims.filter((dim) => dim.Size !== void 0 && dim.Size !== "Varies").map((dim) => Number(dim.Size)).filter((size2) => Number.isFinite(size2) && size2 > 0);
1624
- if (!validSizes.length) {
1625
- return null;
1626
- }
1627
- const size = Math.min(...validSizes);
1628
- return {
1629
- name,
1630
- type: (_b2 = (_a2 = dims[0]) == null ? void 0 : _a2.Type) != null ? _b2 : "OTHER",
1631
- size
1632
- };
1633
- }).filter(
1634
- (entry) => Boolean(entry)
1635
- ).filter(
1636
- (entry) => !__privateMethod(this, _isDimensionExcluded, isDimensionExcluded_fn).call(this, {
1637
- Name: entry.name,
1638
- Type: entry.type
1639
- })
1640
- );
1641
- return filteredCommon;
1642
- };
1643
- _renderJobStatus = new WeakSet();
1644
- renderJobStatus_fn = function() {
1645
- var _a, _b, _c, _d, _e;
1646
- if (!__privateGet(this, _harmonyRequestController).jobId) {
1647
- return b`<div class="results-section" id="job-status-section">
1648
- <div
1649
- style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1650
- >
1651
- <h2 class="results-title" style="margin: 0;">Results:</h2>
1652
- ${!this.isHistoryView ? b`
1653
- <terra-button
1654
- variant="default"
1655
- size="small"
1656
- @click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
1657
- >
1658
- ← Back to Subset Options
1659
- </terra-button>
1660
- ` : A}
1661
- </div>
1662
-
1663
- <div class="progress-container">
1664
- <div class="progress-text">
1665
- <span class="spinner"></span>
1666
- <span class="status-running">Searching for data...</span>
1667
- </div>
1668
-
1669
- <div class="progress-bar">
1670
- <div class="progress-fill" style="width: 0%"></div>
1671
- </div>
1672
- </div>
1673
-
1674
- ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1675
- </div>`;
1676
- }
1677
- return b`
1678
- <div class="results-section" id="job-status-section">
1679
- <div
1680
- style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1681
- >
1682
- <h2 class="results-title" style="margin: 0;">Results:</h2>
1683
- ${!this.isHistoryView ? b`
1684
- <terra-button
1685
- variant="default"
1686
- size="small"
1687
- @click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
1688
- >
1689
- ← Back to Subset Options
1690
- </terra-button>
1691
- ` : A}
1692
- </div>
1693
-
1694
- ${__privateGet(this, _harmonyRequestController).status !== "canceled" && __privateGet(this, _harmonyRequestController).status !== "failed" ? b` <div class="progress-container">
1695
- <div class="progress-text">
1696
- ${__privateGet(this, _harmonyRequestController).progress >= 100 ? b`
1697
- <span class="status-complete"
1698
- >✓ Search complete</span
1699
- >
1700
- ` : b`
1701
- <span class="spinner"></span>
1702
- <span class="status-running"
1703
- >Searching for data...
1704
- (${__privateGet(this, _harmonyRequestController).progress}%)</span
1705
- >
1706
- `}
1707
- </div>
1708
-
1709
- <div class="progress-bar">
1710
- <div
1711
- class="progress-fill"
1712
- style="width: ${__privateGet(this, _harmonyRequestController).progress}%"
1713
- ></div>
1714
- </div>
1715
- </div>` : A}
1716
-
1717
- <div class="search-status">
1718
- <span class="file-count"
1719
- >Found ${__privateMethod(this, _numberOfFilesFoundEstimate, numberOfFilesFoundEstimate_fn).call(this)} files</span
1720
- >
1721
- out of estimated
1722
- <span class="estimated-total"
1723
- >${(_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.numInputGranules.toLocaleString()}</span
1724
- >
1725
- </div>
1726
-
1727
- ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1728
- ${((_c = (_b = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _b.errors) == null ? void 0 : _c.length) ? b`
1729
- <terra-accordion>
1730
- <div slot="summary">
1731
- <span
1732
- class="accordion-title"
1733
- style="color: #dc3545;"
1734
- >Errors
1735
- (${(_d = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _d.errors.length})</span
1736
- >
1737
- </div>
1738
- <div class="accordion-content">
1739
- <ul
1740
- style="color: #dc3545; font-size: 14px; padding-left: 20px;"
1741
- >
1742
- ${(_e = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _e.errors.map(
1743
- (err) => b`
1744
- <li style="margin-bottom: 12px;">
1745
- <a
1746
- href="${err.url}"
1747
- target="_blank"
1748
- style="word-break: break-all; color: #dc3545; text-decoration: underline;"
1749
- >
1750
- ${err.url}
1751
- </a>
1752
- <div style="margin-top: 2px;">
1753
- ${err.message}
1754
- </div>
1755
- </li>
1756
- `
1757
- )}
1758
- </ul>
1759
- </div>
1760
- </terra-accordion>
1761
- ` : A}
1762
-
1763
- <div class="tabs">
1764
- <button
1765
- class="tab ${this.selectedTab === "web-links" ? "active" : ""}"
1766
- @click=${() => this.selectedTab = "web-links"}
1767
- >
1768
- Web Links
1769
- </button>
1770
-
1771
- ${!this.isHistoryView ? b`
1772
- <button
1773
- class="tab ${this.selectedTab === "selected-params" ? "active" : ""}"
1774
- @click=${() => this.selectedTab = "selected-params"}
1775
- >
1776
- Selected Parameters
1777
- </button>
1778
- ` : A}
1779
- </div>
1780
- <div
1781
- id="web-links"
1782
- class="tab-content ${this.selectedTab === "web-links" ? "active" : ""}"
1783
- >
1784
- ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).length ? b`
1785
- <div class="documentation-links">
1786
- ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).map(
1787
- (link) => b`
1788
- <a href="${link.href}" class="doc-link"
1789
- >${link.title}</a
1790
- >
1791
- `
1792
- )}
1793
- </div>
1794
- ` : A}
1795
-
1796
- <ul class="file-list">
1797
- ${__privateMethod(this, _getDataLinks, getDataLinks_fn).call(this).map(
1798
- (link) => b`
1799
- <li class="file-item">
1800
- <a
1801
- href="${link.href}"
1802
- class="file-link"
1803
- target="_blank"
1804
- >
1805
- ${link.title}
1806
- </a>
1807
- </li>
1808
- `
1809
- )}
1810
- </ul>
1811
- </div>
1812
-
1813
- <div
1814
- id="selected-params"
1815
- class="tab-content ${this.selectedTab === "selected-params" ? "active" : ""}"
1816
- >
1817
- ${__privateMethod(this, _renderSelectedParams, renderSelectedParams_fn).call(this)}
1818
- </div>
1819
- </div>
1820
-
1821
- ${!this.dialog ? b`
1822
- <div class="footer">
1823
- ${__privateGet(this, _harmonyRequestController).status === "successful" /* SUCCESSFUL */ || __privateGet(this, _harmonyRequestController).status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? b`
1824
- <div
1825
- style="display: flex; align-items: center; gap: 8px;"
1826
- >
1827
- <terra-dropdown
1828
- @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
1829
- >
1830
- <terra-button slot="trigger" caret>
1831
- Download Options
1832
- </terra-button>
1833
- <terra-menu>
1834
- <terra-menu-item value="file-list">
1835
- <svg
1836
- slot="prefix"
1837
- viewBox="0 0 24 24"
1838
- width="16"
1839
- height="16"
1840
- style="width: 16px; height: 16px;"
1841
- >
1842
- <path
1843
- fill="currentColor"
1844
- d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"
1845
- />
1846
- </svg>
1847
- File List
1848
- </terra-menu-item>
1849
- <terra-menu-item
1850
- value="python-script"
1851
- >
1852
- <svg
1853
- slot="prefix"
1854
- viewBox="0 0 128 128"
1855
- width="16"
1856
- height="16"
1857
- style="width: 16px; height: 16px;"
1858
- >
1859
- <path
1860
- fill="currentColor"
1861
- d="M49.33 62h29.159C86.606 62 93 55.132 93 46.981V19.183c0-7.912-6.632-13.856-14.555-15.176-5.014-.835-10.195-1.215-15.187-1.191-4.99.023-9.612.448-13.805 1.191C37.098 6.188 35 10.758 35 19.183V30h29v4H23.776c-8.484 0-15.914 5.108-18.237 14.811-2.681 11.12-2.8 17.919 0 29.53C7.614 86.983 12.569 93 21.054 93H31V79.952C31 70.315 39.428 62 49.33 62zm-1.838-39.11c-3.026 0-5.478-2.479-5.478-5.545 0-3.079 2.451-5.581 5.478-5.581 3.015 0 5.479 2.502 5.479 5.581-.001 3.066-2.465 5.545-5.479 5.545zm74.789 25.921C120.183 40.363 116.178 34 107.682 34H97v12.981C97 57.031 88.206 65 78.489 65H49.33C41.342 65 35 72.326 35 80.326v27.8c0 7.91 6.745 12.564 14.462 14.834 9.242 2.717 17.994 3.208 29.051 0C85.862 120.831 93 116.549 93 108.126V97H64v-4h43.682c8.484 0 11.647-5.776 14.599-14.66 3.047-9.145 2.916-17.799 0-29.529zm-41.955 55.606c3.027 0 5.479 2.479 5.479 5.547 0 3.076-2.451 5.579-5.479 5.579-3.015 0-5.478-2.502-5.478-5.579 0-3.068 2.463-5.547 5.478-5.547z"
1862
- ></path>
1863
- </svg>
1864
- Python Script
1865
- </terra-menu-item>
1866
- <terra-menu-item
1867
- value="earthdata-download"
1868
- >
1869
- <svg
1870
- slot="prefix"
1871
- viewBox="0 0 64 64"
1872
- fill="none"
1873
- width="16"
1874
- height="16"
1875
- style="width: 16px; height: 16px;"
1876
- >
1877
- <circle
1878
- cx="32"
1879
- cy="32"
1880
- r="28"
1881
- fill="currentColor"
1882
- />
1883
- <path
1884
- d="M32 14v26M32 40l-9-9M32 40l9-9"
1885
- stroke="#fff"
1886
- stroke-width="4"
1887
- stroke-linecap="round"
1888
- stroke-linejoin="round"
1889
- fill="none"
1890
- />
1891
- </svg>
1892
- Earthdata Download
1893
- </terra-menu-item>
1894
- </terra-menu>
1895
- </terra-dropdown>
1896
-
1897
- <!--
1898
- <terra-button
1899
- outline
1900
- @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
1901
- >
1902
- <terra-icon
1903
- name="outline-code-bracket"
1904
- library="heroicons"
1905
- font-size="1.5em"
1906
- style="margin-right: 5px;"
1907
- ></terra-icon>
1908
- Open in Jupyter Notebook
1909
- </terra-button>
1910
- --></div>
1911
- ` : A}
1912
- ${__privateGet(this, _harmonyRequestController).status === "running" /* RUNNING */ ? b`<button
1913
- class="btn btn-success"
1914
- @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
1915
- ?disabled=${this.cancelingGetData}
1916
- >
1917
- ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
1918
- </button>` : A}
1919
-
1920
- <div class="job-info">
1921
- Job ID:
1922
- <span class="job-id">
1923
- ${this.bearerToken ? b`<a
1924
- href="https://harmony.earthdata.nasa.gov/jobs/${__privateGet(this, _harmonyRequestController).jobId}"
1925
- target="_blank"
1926
- >${__privateGet(this, _harmonyRequestController).jobId}</a
1927
- >` : __privateGet(this, _harmonyRequestController).jobId}
1928
- </span>
1929
- <span class="info-icon">?</span>
1930
- </div>
1931
- </div>
1932
- ` : A}
1933
- `;
1934
- };
1935
- _renderSelectedParams = new WeakSet();
1936
- renderSelectedParams_fn = function() {
1937
- var _a, _b, _c, _d;
1938
- const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
1939
- const variables = this.selectedVariables.length ? this.selectedVariables.map((v) => v.name) : ["All"];
1940
- const dateRange = this.selectedDateRange.startDate && this.selectedDateRange.endDate ? `${this.selectedDateRange.startDate} to ${this.selectedDateRange.endDate}` : "\u2014";
1941
- const spatial = (_c = (_b = this.spatialSelection) == null ? void 0 : _b.toString()) != null ? _c : "-";
1942
- return b`
1943
- <dl class="params-summary">
1944
- <div>
1945
- <dt><strong>Dataset</strong></dt>
1946
- <dd>${(_d = collection == null ? void 0 : collection.EntryTitle) != null ? _d : "\u2014"}</dd>
1947
- </div>
1948
- <div>
1949
- <dt><strong>Variables</strong></dt>
1950
- <dd>${variables.map((v) => b`<div>${v}</div>`)}</dd>
1951
- </div>
1952
- <div>
1953
- <dt><strong>Dimensions</strong></dt>
1954
- <dd>
1955
- ${Object.entries(this.selectedDimensionIndexes).length ? Object.entries(this.selectedDimensionIndexes).map(
1956
- ([dimName, value]) => b`<div>
1957
- <strong>${dimName}:</strong> ${value}
1958
- </div>`
1959
- ) : "\u2014"}
1960
- </dd>
1961
- </div>
1962
- <div>
1963
- <dt><strong>Date Range</strong></dt>
1964
- <dd>${dateRange}</dd>
1965
- </div>
1966
- <div>
1967
- <dt><strong>Spatial</strong></dt>
1968
- <dd>${spatial}</dd>
1969
- </div>
1970
- </dl>
1971
-
1972
- <terra-button @click=${__privateMethod(this, _refineParameters, refineParameters_fn)}
1973
- >Refine Parameters</terra-button
1974
- >
1975
- `;
1976
- };
1977
- _cancelJob = new WeakSet();
1978
- cancelJob_fn = async function() {
1979
- if (!this.jobId) {
1980
- return;
1981
- }
1982
- this.cancelingGetData = true;
1983
- try {
1984
- await __privateGet(this, _harmonyRequestController).cancelJob({
1985
- jobId: this.jobId,
1986
- options: { bearerToken: this.bearerToken }
1987
- });
1988
- } finally {
1989
- this.cancelingGetData = false;
1990
- }
1991
- };
1992
- _getData = new WeakSet();
1993
- getData_fn = async function() {
1994
- var _a;
1995
- const validationError = __privateMethod(this, _getGiovanniValidationError, getGiovanniValidationError_fn).call(this);
1996
- if (validationError) {
1997
- this.validationError = validationError;
1998
- __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
1999
- return;
2000
- }
2001
- this.validationError = void 0;
2002
- this.cancelingGetData = false;
2003
- __privateMethod(this, _touchAllFields, touchAllFields_fn).call(this);
2004
- const variables = this.selectedFormat.isGiovanniFormat ? this.selectedVariables.map(
2005
- (v) => {
2006
- var _a2, _b, _c;
2007
- return (
2008
- // the Giovanni variable catalog uses different variable entry ids, we need to support them
2009
- // ex. CMR: M2T1NXSLV_5.2.14 in Giovanni uses underscores: M2T1NXSLV_5_2_14
2010
- convertVariableEntryIdToGiovanniFormat(
2011
- (_a2 = this.collectionWithServices.shortName) != null ? _a2 : "",
2012
- (_c = (_b = this.collectionWithServices.collection) == null ? void 0 : _b.Version) != null ? _c : "",
2013
- v.name
2014
- )
2015
- );
2016
- }
2017
- ) : this.selectedVariables.map((v) => v.conceptId);
2018
- const harmonyRequest = new HarmonyRequest({
2019
- collectionConceptId: this.collectionWithServices.conceptId,
2020
- variables,
2021
- location: this.spatialSelection
2022
- });
2023
- if (((_a = this.collectionWithServices) == null ? void 0 : _a.summary.subsetting.temporal) && this.selectedDateRange.startDate && this.selectedDateRange.endDate) {
2024
- harmonyRequest.startDate(
2025
- this.isSubDaily ? this.selectedDateRange.startDate : getUTCDate(this.selectedDateRange.startDate).toISOString()
2026
- );
2027
- harmonyRequest.endDate(
2028
- this.isSubDaily ? this.selectedDateRange.endDate : getUTCDate(this.selectedDateRange.endDate).toISOString()
2029
- );
2030
- }
2031
- if (this.selectedFormat) {
2032
- harmonyRequest.format(
2033
- this.selectedFormat.isGiovanniFormat ? "text/csv" : this.selectedFormat.key
2034
- );
2035
- }
2036
- if (this.selectedFormat.key === "text/csv") {
2037
- harmonyRequest.average("area");
2038
- }
2039
- if (this.selectedFormat.key === "image/tiff") {
2040
- harmonyRequest.average("time");
2041
- }
2042
- if (Object.keys(this.selectedDimensionIndexes).length) {
2043
- Object.entries(this.selectedDimensionIndexes).forEach(
2044
- ([dimName, { start, end }]) => {
2045
- harmonyRequest.dimension({
2046
- name: dimName,
2047
- min: start,
2048
- max: end
2049
- });
2050
- }
2051
- );
2052
- }
2053
- harmonyRequest.label("terra-data-subsetter");
2054
- console.log("Creating Harmony job with request:", harmonyRequest);
2055
- const job = await __privateGet(this, _harmonyRequestController).startJob({
2056
- harmonyRequest,
2057
- options: { bearerToken: this.bearerToken }
2058
- });
2059
- this.jobId = job.jobID;
2060
- setTimeout(() => {
2061
- const el = this.renderRoot.querySelector("#job-status-section");
2062
- el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
2063
- }, 100);
2064
- this.refineParameters = false;
2065
- this.isHistoryView = false;
2066
- };
2067
- _touchAllFields = new WeakSet();
2068
- touchAllFields_fn = function() {
2069
- this.touchedFields = /* @__PURE__ */ new Set(["variables", "spatial"]);
2070
- };
2071
- _numberOfFilesFoundEstimate = new WeakSet();
2072
- numberOfFilesFoundEstimate_fn = function() {
2073
- return Math.floor(
2074
- __privateGet(this, _harmonyRequestController).data.numInputGranules * __privateGet(this, _harmonyRequestController).progress / 100
2075
- );
2076
- };
2077
- _getDocumentationLinks = new WeakSet();
2078
- getDocumentationLinks_fn = function() {
2079
- return __privateGet(this, _harmonyRequestController).data.links.filter(
2080
- (link) => link.rel === "stac-catalog-json"
2081
- );
2082
- };
2083
- _getDataLinks = new WeakSet();
2084
- getDataLinks_fn = function() {
2085
- return __privateGet(this, _harmonyRequestController).data.links.filter(
2086
- (link) => link.rel === "data"
2087
- );
2088
- };
2089
- _hasAtLeastOneSubsetOption = new WeakSet();
2090
- hasAtLeastOneSubsetOption_fn = function() {
2091
- var _a, _b, _c, _d;
2092
- return ((_a = this.collectionWithServices) == null ? void 0 : _a.summary.subsetting.bbox) || ((_b = this.collectionWithServices) == null ? void 0 : _b.summary.subsetting.shape) || ((_c = this.collectionWithServices) == null ? void 0 : _c.summary.subsetting.variable) || ((_d = this.collectionWithServices) == null ? void 0 : _d.summary.subsetting.temporal);
2093
- };
2094
- _hasSpatialSubset = new WeakSet();
2095
- hasSpatialSubset_fn = function() {
2096
- var _a, _b;
2097
- return ((_a = this.collectionWithServices) == null ? void 0 : _a.summary.subsetting.bbox) || ((_b = this.collectionWithServices) == null ? void 0 : _b.summary.subsetting.shape);
2098
- };
2099
- _renderJobMessage = new WeakSet();
2100
- renderJobMessage_fn = function() {
2101
- const warningStatuses = [
2102
- "canceled" /* CANCELED */,
2103
- "complete_with_errors" /* COMPLETE_WITH_ERRORS */,
2104
- "running_with_errors" /* RUNNING_WITH_ERRORS */
2105
- ];
2106
- const errorStatuses = ["failed" /* FAILED */];
2107
- let type = "normal";
2108
- if (warningStatuses.includes(__privateGet(this, _harmonyRequestController).data.status)) {
2109
- type = "warning";
2110
- } else if (errorStatuses.includes(__privateGet(this, _harmonyRequestController).data.status)) {
2111
- type = "error";
2112
- }
2113
- let color, bg;
2114
- if (type === "error") {
2115
- color = "#dc3545";
2116
- bg = "#f8d7da";
2117
- } else if (type === "warning") {
2118
- color = "#856404";
2119
- bg = "#fff3cd";
2120
- } else {
2121
- color = "#555";
2122
- bg = "#f8f9fa";
2123
- }
2124
- return b`
2125
- <div
2126
- style="
2127
- margin: 24px 0 16px 0;
2128
- padding: 16px 20px;
2129
- border-radius: 6px;
2130
- background: ${bg};
2131
- color: ${color};
2132
- border: 1px solid ${color}22;
2133
- "
2134
- >
2135
- ${__privateMethod(this, _getJobMessageText, getJobMessageText_fn).call(this)}
2136
- </div>
2137
- `;
2138
- };
2139
- _getJobMessageText = new WeakSet();
2140
- getJobMessageText_fn = function() {
2141
- var _a;
2142
- return (_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.message.replace(
2143
- /\b(The job|the job|job|Job)\b/g,
2144
- (match) => {
2145
- switch (match) {
2146
- case "The job":
2147
- return "Your request";
2148
- case "the job":
2149
- return "Your Request";
2150
- case "job":
2151
- return "request";
2152
- case "Job":
2153
- return "Request";
2154
- }
2155
- return match;
2156
- }
2157
- );
2158
- };
2159
- _estimateJobSize = new WeakSet();
2160
- estimateJobSize_fn = function() {
2161
- var _a, _b, _c, _d, _e;
2162
- if (!((_a = this.collectionWithServices) == null ? void 0 : _a.granuleCount))
2163
- return;
2164
- const range = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
2165
- let startDate;
2166
- let endDate;
2167
- let links = (_c = (_b = this.collectionWithServices) == null ? void 0 : _b.granuleCount) != null ? _c : 0;
2168
- if (this.selectedDateRange.startDate && this.selectedDateRange.endDate) {
2169
- startDate = this.selectedDateRange.startDate;
2170
- endDate = this.selectedDateRange.endDate;
2171
- } else {
2172
- startDate = (_d = this.granuleMinDate) != null ? _d : range.startDate;
2173
- endDate = (_e = this.granuleMaxDate) != null ? _e : range.endDate;
2174
- }
2175
- if (!startDate || !endDate)
2176
- return;
2177
- const start = new Date(startDate);
2178
- const end = new Date(endDate);
2179
- const days = Math.floor((end.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24)) + 1;
2180
- if (range.startDate && range.endDate) {
2181
- const availableDaysInCollection = Math.floor(
2182
- (new Date(range.endDate).getTime() - new Date(range.startDate).getTime()) / (1e3 * 60 * 60 * 24)
2183
- ) + 1;
2184
- const granulesPerDay = links / availableDaysInCollection;
2185
- links = Math.ceil(days * granulesPerDay);
2186
- }
2187
- return { days, links };
2188
- };
2189
- _refineParameters = new WeakSet();
2190
- refineParameters_fn = function() {
2191
- this.refineParameters = true;
2192
- };
2193
- _backToSubsetOptions = new WeakSet();
2194
- backToSubsetOptions_fn = function() {
2195
- this.refineParameters = true;
2196
- setTimeout(() => {
2197
- const container = this.renderRoot.querySelector(".container");
2198
- container == null ? void 0 : container.scrollIntoView({ behavior: "smooth", block: "start" });
2199
- }, 100);
2200
- };
2201
- _viewRunningJob = new WeakSet();
2202
- viewRunningJob_fn = function() {
2203
- this.refineParameters = false;
2204
- setTimeout(() => {
2205
- const el = this.renderRoot.querySelector("#job-status-section");
2206
- el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
2207
- }, 100);
2208
- };
2209
- _handleDownloadSelect = new WeakSet();
2210
- handleDownloadSelect_fn = function(event) {
2211
- const item = event.detail.item;
2212
- const value = item.value || item.getTextLabel();
2213
- if (value === "file-list") {
2214
- __privateMethod(this, _downloadLinksAsTxt, downloadLinksAsTxt_fn).call(this, event);
2215
- } else if (value === "python-script") {
2216
- __privateMethod(this, _downloadPythonScript, downloadPythonScript_fn).call(this, event);
2217
- } else if (value === "earthdata-download") {
2218
- __privateMethod(this, _downloadEarthdataDownload, downloadEarthdataDownload_fn).call(this, event);
2219
- }
2220
- };
2221
- _downloadLinksAsTxt = new WeakSet();
2222
- downloadLinksAsTxt_fn = function(event) {
2223
- var _a;
2224
- event.stopPropagation();
2225
- if (!((_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links)) {
2226
- return;
2227
- }
2228
- const dataLinks = __privateMethod(this, _getDataLinks, getDataLinks_fn).call(this);
2229
- if (dataLinks.length === 0) {
2230
- return;
2231
- }
2232
- const content = dataLinks.map((link) => link.href).join("\n");
2233
- const blob = new Blob([content], { type: "text/plain" });
2234
- const url = URL.createObjectURL(blob);
2235
- const a = document.createElement("a");
2236
- a.href = url;
2237
- a.download = `subset_links_${__privateGet(this, _harmonyRequestController).jobId}.txt`;
2238
- document.body.appendChild(a);
2239
- a.click();
2240
- document.body.removeChild(a);
2241
- URL.revokeObjectURL(url);
2242
- };
2243
- _downloadPythonScript = new WeakSet();
2244
- downloadPythonScript_fn = async function(event) {
2245
- var _a, _b, _c, _d;
2246
- event.stopPropagation();
2247
- if (!((_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links)) {
2248
- return;
2249
- }
2250
- const response = await fetch(
2251
- getBasePath("assets/data-subsetter/download_subset_files.py.txt")
2252
- );
2253
- if (!response.ok) {
2254
- alert(
2255
- "Sorry, there was a problem generating the Python script. We are investigating the issue.\nYou could try using the Jupyter Notebook in the meantime"
2256
- );
2257
- }
2258
- const content = (await response.text()).replace(/{{jobId}}/gi, (_b = __privateGet(this, _harmonyRequestController).jobId) != null ? _b : "").replace(
2259
- /{{HARMONY_ENV}}/gi,
2260
- `Environment.${(_c = this.environment) == null ? void 0 : _c.toUpperCase()}`
2261
- ).replace(
2262
- /{{EARTHACCESS_ENV}}/gi,
2263
- `earthaccess.${(_d = this.environment) == null ? void 0 : _d.toUpperCase()}`
2264
- );
2265
- const blob = new Blob([content], { type: "text/plain" });
2266
- const url = URL.createObjectURL(blob);
2267
- const a = document.createElement("a");
2268
- a.href = url;
2269
- a.download = `download_subset_files_${__privateGet(this, _harmonyRequestController).jobId}.py`;
2270
- document.body.appendChild(a);
2271
- a.click();
2272
- document.body.removeChild(a);
2273
- URL.revokeObjectURL(url);
2274
- };
2275
- _downloadEarthdataDownload = new WeakSet();
2276
- downloadEarthdataDownload_fn = async function(event) {
2277
- var _a;
2278
- event.stopPropagation();
2279
- if (!((_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links)) {
2280
- return;
2281
- }
2282
- alert("Sorry, Earthdata Download is not currently supported");
2283
- };
2284
- _handleJupyterNotebookClick = new WeakSet();
2285
- handleJupyterNotebookClick_fn = function() {
2286
- const notebook = getNotebook(this);
2287
- sendDataToJupyterNotebook("load-notebook", {
2288
- filename: `subset_${__privateGet(this, _harmonyRequestController).jobId}.ipynb`,
2289
- notebook,
2290
- bearerToken: this.bearerToken
2291
- });
2292
- };
2293
- _renderAvailableTemporalRangeSection = new WeakSet();
2294
- renderAvailableTemporalRangeSection_fn = function() {
2295
- const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
2296
- if (!startDate || !endDate)
2297
- return A;
2298
- return b`
2299
- <div class="section" style="margin-bottom: 16px;">
2300
- <h2 class="section-title">Available Date Range</h2>
2301
- <div style="color: #31708f; margin-top: 8px;">
2302
- <strong>${startDate}</strong> to <strong>${endDate}</strong>
2303
- </div>
2304
- <div style="font-size: 0.95em; color: #666;">
2305
- This collection does not support temporal subsetting.
2306
- </div>
2307
- </div>
2308
- `;
2309
- };
2310
- _renderAvailableSpatialRangeSection = new WeakSet();
2311
- renderAvailableSpatialRangeSection_fn = function() {
2312
- var _a, _b, _c, _d, _e;
2313
- const boundingRects = (_e = (_d = (_c = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.SpatialExtent) == null ? void 0 : _c.HorizontalSpatialDomain) == null ? void 0 : _d.Geometry) == null ? void 0 : _e.BoundingRectangles;
2314
- if (!boundingRects || !Array.isArray(boundingRects) || !boundingRects.length)
2315
- return A;
2316
- return b`
2317
- <div class="section" style="margin-bottom: 16px;">
2318
- <h2 class="section-title">Available Spatial Area</h2>
2319
- <div style="color: #31708f; margin-top: 8px;">
2320
- ${boundingRects.map(
2321
- (rect) => b`<div>
2322
- <strong>Bounding Box:</strong>
2323
- ${rect.WestBoundingCoordinate},
2324
- ${rect.SouthBoundingCoordinate},
2325
- ${rect.EastBoundingCoordinate},
2326
- ${rect.NorthBoundingCoordinate}
2327
- </div>`
2328
- )}
2329
- </div>
2330
- <div style="font-size: 0.95em; color: #666;">
2331
- This collection does not support spatial subsetting.
2332
- </div>
2333
- </div>
2334
- `;
2335
- };
2336
- _renderDataAccessModeSelection = new WeakSet();
2337
- renderDataAccessModeSelection_fn = function() {
2338
- if (!__privateGet(this, _collectionController).hasGranules) {
2339
- return A;
2340
- }
2341
- return b`
2342
- <div class="mode-selection">
2343
- <div class="mode-options">
2344
- <label
2345
- class="mode-option ${this.dataAccessMode === "original" ? "selected" : ""}"
2346
- >
2347
- <input
2348
- type="radio"
2349
- name="data-access-mode"
2350
- value="original"
2351
- .checked=${this.dataAccessMode === "original"}
2352
- @change=${() => this.dataAccessMode = "original"}
2353
- />
2354
- <div class="mode-content">
2355
- <div class="mode-title">Get Original Files</div>
2356
- <div class="mode-description">
2357
- Filter file links directly from the archive.
2358
- </div>
2359
- </div>
2360
- </label>
2361
-
2362
- <label
2363
- class="mode-option ${this.dataAccessMode === "subset" ? "selected" : ""}"
2364
- >
2365
- <input
2366
- type="radio"
2367
- name="data-access-mode"
2368
- value="subset"
2369
- .checked=${this.dataAccessMode === "subset"}
2370
- @change=${() => this.dataAccessMode = "subset"}
2371
- />
2372
- <div class="mode-content">
2373
- <div class="mode-title">Transform Data</div>
2374
- <div class="mode-description">
2375
- Transform the data to your specific needs.
2376
- </div>
2377
- </div>
2378
- </label>
2379
- </div>
2380
- </div>
2381
- `;
2382
- };
2383
- _getGiovanniValidationError = new WeakSet();
2384
- getGiovanniValidationError_fn = function() {
2385
- if (!this.selectedFormat.isGiovanniFormat) {
2386
- return null;
2387
- }
2388
- if (this.selectedVariables.length === 0) {
2389
- return "Please select a variable to subset.";
2390
- }
2391
- if (this.selectedVariables.length > 1) {
2392
- return "The selected format only supports subsetting one variable at a time.";
2393
- }
2394
- return null;
2395
- };
2396
- TerraDataSubsetter.styles = [component_styles_default, data_subsetter_styles_default];
2397
- TerraDataSubsetter.dependencies = {
2398
- "terra-accordion": TerraAccordion,
2399
- "terra-date-picker": TerraDatePicker,
2400
- "terra-icon": TerraIcon,
2401
- "terra-input": TerraInput,
2402
- "terra-spatial-picker": TerraSpatialPicker,
2403
- "terra-login": TerraLogin,
2404
- "terra-loader": TerraLoader,
2405
- "terra-data-access": TerraDataAccess,
2406
- "terra-dialog": TerraDialog,
2407
- "terra-dropdown": TerraDropdown,
2408
- "terra-menu": TerraMenu,
2409
- "terra-menu-item": TerraMenuItem,
2410
- "terra-button": TerraButton,
2411
- "terra-alert": TerraAlert,
2412
- "terra-slider": TerraSlider
2413
- };
2414
- __decorateClass([
2415
- n({ reflect: true, attribute: "collection-entry-id" })
2416
- ], TerraDataSubsetter.prototype, "collectionEntryId", 2);
2417
- __decorateClass([
2418
- n({ reflect: true, attribute: "short-name" })
2419
- ], TerraDataSubsetter.prototype, "shortName", 2);
2420
- __decorateClass([
2421
- n({ reflect: true, attribute: "version" })
2422
- ], TerraDataSubsetter.prototype, "version", 2);
2423
- __decorateClass([
2424
- n({
2425
- reflect: true,
2426
- type: Boolean,
2427
- attribute: "show-collection-search"
2428
- })
2429
- ], TerraDataSubsetter.prototype, "showCollectionSearch", 2);
2430
- __decorateClass([
2431
- n({ reflect: true, type: Boolean, attribute: "show-history-panel" })
2432
- ], TerraDataSubsetter.prototype, "showHistoryPanel", 2);
2433
- __decorateClass([
2434
- n({ reflect: true, attribute: "job-id" })
2435
- ], TerraDataSubsetter.prototype, "jobId", 2);
2436
- __decorateClass([
2437
- n({ attribute: "bearer-token" })
2438
- ], TerraDataSubsetter.prototype, "bearerToken", 2);
2439
- __decorateClass([
2440
- n()
2441
- ], TerraDataSubsetter.prototype, "features", 2);
2442
- __decorateClass([
2443
- n({ reflect: true })
2444
- ], TerraDataSubsetter.prototype, "dialog", 2);
2445
- __decorateClass([
2446
- n({ reflect: true, type: Boolean, attribute: "is-history-view" })
2447
- ], TerraDataSubsetter.prototype, "isHistoryView", 2);
2448
- __decorateClass([
2449
- r()
2450
- ], TerraDataSubsetter.prototype, "collectionWithServices", 2);
2451
- __decorateClass([
2452
- r()
2453
- ], TerraDataSubsetter.prototype, "selectedVariables", 2);
2454
- __decorateClass([
2455
- r()
2456
- ], TerraDataSubsetter.prototype, "selectedDimensionIndexes", 2);
2457
- __decorateClass([
2458
- r()
2459
- ], TerraDataSubsetter.prototype, "expandedVariableGroups", 2);
2460
- __decorateClass([
2461
- r()
2462
- ], TerraDataSubsetter.prototype, "variableFilterText", 2);
2463
- __decorateClass([
2464
- r()
2465
- ], TerraDataSubsetter.prototype, "touchedFields", 2);
2466
- __decorateClass([
2467
- r()
2468
- ], TerraDataSubsetter.prototype, "spatialSelection", 2);
2469
- __decorateClass([
2470
- r()
2471
- ], TerraDataSubsetter.prototype, "selectedDateRange", 2);
2472
- __decorateClass([
2473
- r()
2474
- ], TerraDataSubsetter.prototype, "selectedFormat", 2);
2475
- __decorateClass([
2476
- r()
2477
- ], TerraDataSubsetter.prototype, "cancelingGetData", 2);
2478
- __decorateClass([
2479
- r()
2480
- ], TerraDataSubsetter.prototype, "selectedTab", 2);
2481
- __decorateClass([
2482
- r()
2483
- ], TerraDataSubsetter.prototype, "refineParameters", 2);
2484
- __decorateClass([
2485
- r()
2486
- ], TerraDataSubsetter.prototype, "collectionSearchType", 2);
2487
- __decorateClass([
2488
- r()
2489
- ], TerraDataSubsetter.prototype, "collectionSearchQuery", 2);
2490
- __decorateClass([
2491
- r()
2492
- ], TerraDataSubsetter.prototype, "collectionSearchLoading", 2);
2493
- __decorateClass([
2494
- r()
2495
- ], TerraDataSubsetter.prototype, "collectionSearchResults", 2);
2496
- __decorateClass([
2497
- r()
2498
- ], TerraDataSubsetter.prototype, "collectionLoading", 2);
2499
- __decorateClass([
2500
- r()
2501
- ], TerraDataSubsetter.prototype, "collectionAccordionOpen", 2);
2502
- __decorateClass([
2503
- r()
2504
- ], TerraDataSubsetter.prototype, "dataAccessMode", 2);
2505
- __decorateClass([
2506
- r()
2507
- ], TerraDataSubsetter.prototype, "validationError", 2);
2508
- __decorateClass([
2509
- r()
2510
- ], TerraDataSubsetter.prototype, "granuleMinDate", 2);
2511
- __decorateClass([
2512
- r()
2513
- ], TerraDataSubsetter.prototype, "granuleMaxDate", 2);
2514
- __decorateClass([
2515
- r()
2516
- ], TerraDataSubsetter.prototype, "giovanniConfiguredVariables", 2);
2517
- __decorateClass([
2518
- e('[part~="spatial-picker"]')
2519
- ], TerraDataSubsetter.prototype, "spatialPicker", 2);
2520
- __decorateClass([
2521
- e("terra-dialog")
2522
- ], TerraDataSubsetter.prototype, "dialogElement", 2);
2523
- __decorateClass([
2524
- watch(["jobId"], { waitUntilFirstUpdate: true })
2525
- ], TerraDataSubsetter.prototype, "jobIdChanged", 1);
2526
- __decorateClass([
2527
- watch(["shortName", "version"])
2528
- ], TerraDataSubsetter.prototype, "shortNameAndVersionChanged", 1);
2529
- __decorateClass([
2530
- watch("collectionEntryId", { waitUntilFirstUpdate: true })
2531
- ], TerraDataSubsetter.prototype, "collectionEntryIdChanged", 1);
2532
- __decorateClass([
2533
- watch(["collectionWithServices"])
2534
- ], TerraDataSubsetter.prototype, "collectionChanged", 1);
2535
- __decorateClass([
2536
- watch(["granuleMinDate", "granuleMaxDate"])
2537
- ], TerraDataSubsetter.prototype, "granuleDatesChanged", 1);
2538
- __decorateClass([
2539
- watch("selectedFormat")
2540
- ], TerraDataSubsetter.prototype, "selectedFormatChanged", 1);
2541
- __decorateClass([
2542
- debounce(500)
2543
- ], TerraDataSubsetter.prototype, "handleCollectionSearch", 1);
2544
-
2545
- export {
2546
- TerraDataSubsetter
2547
- };