@nasa-terra/components 0.0.167 → 0.0.168

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 (1286) hide show
  1. package/cdn/chunks/chunk.23Y7QMN5.js +753 -0
  2. package/cdn/chunks/chunk.252UGE6N.js +83 -0
  3. package/cdn/chunks/chunk.2EOILFQB.js +29 -0
  4. package/cdn/chunks/chunk.2EZ2LX7J.js +36 -0
  5. package/cdn/chunks/chunk.2JDVFGVM.js +29 -0
  6. package/cdn/chunks/chunk.2L3G2ZYT.js +32 -0
  7. package/cdn/chunks/chunk.2NM4U2LU.js +187 -0
  8. package/cdn/chunks/chunk.32QIZ3CY.js +19 -0
  9. package/cdn/chunks/chunk.37MXREIV.js +19 -0
  10. package/cdn/chunks/chunk.3CSJL7J2.js +302 -0
  11. package/cdn/chunks/chunk.3DEAXFWU.js +36 -0
  12. package/cdn/chunks/chunk.3DRAPGCR.js +19 -0
  13. package/cdn/chunks/chunk.3EGYC4UH.js +29 -0
  14. package/cdn/chunks/chunk.3ELOOPZC.js +538 -0
  15. package/cdn/chunks/chunk.3FFHAUQ7.js +19 -0
  16. package/cdn/chunks/chunk.3PZB6AVW.js +283 -0
  17. package/cdn/chunks/chunk.454OK36W.js +19 -0
  18. package/cdn/chunks/chunk.45XFWGEL.js +110 -0
  19. package/cdn/chunks/chunk.4IOFYK2F.js +288 -0
  20. package/cdn/chunks/chunk.4MQ7H7CX.js +19 -0
  21. package/cdn/chunks/chunk.4RSZ2OBQ.js +524 -0
  22. package/cdn/chunks/chunk.4SKPUBEA.js +19 -0
  23. package/cdn/chunks/chunk.55FIZU5U.js +35 -0
  24. package/cdn/chunks/chunk.5AQICZZL.js +35 -0
  25. package/cdn/chunks/chunk.5OE7GWMD.js +599 -0
  26. package/cdn/chunks/chunk.5XTCLNLO.js +610 -0
  27. package/cdn/chunks/chunk.62X7SZ2F.js +123 -0
  28. package/cdn/chunks/chunk.63MNRJW7.js +19 -0
  29. package/cdn/chunks/chunk.6CURGMM6.js +510 -0
  30. package/cdn/chunks/chunk.6FNKR3O7.js +29 -0
  31. package/cdn/chunks/chunk.6GTGMOY6.js +19 -0
  32. package/cdn/chunks/chunk.6HCE5G2V.js +36 -0
  33. package/cdn/chunks/chunk.6NHCD6UN.js +19 -0
  34. package/cdn/chunks/chunk.6PDKWTOW.js +279 -0
  35. package/cdn/chunks/chunk.6TIV4MKY.js +55346 -0
  36. package/cdn/chunks/chunk.6VM33JRP.js +32 -0
  37. package/cdn/chunks/chunk.74RZ4VRO.js +33 -0
  38. package/cdn/chunks/chunk.7L4RT6QQ.js +19 -0
  39. package/cdn/chunks/chunk.7VAWPCVB.js +278 -0
  40. package/cdn/chunks/chunk.A32THQXW.js +19 -0
  41. package/cdn/chunks/chunk.AEHTLUJA.js +99 -0
  42. package/cdn/chunks/chunk.AEZFOM27.js +19 -0
  43. package/cdn/chunks/chunk.AH6W6EGS.js +77 -0
  44. package/cdn/chunks/chunk.AY4NF2HB.js +19 -0
  45. package/cdn/chunks/chunk.B4NPSLHT.js +259 -0
  46. package/cdn/chunks/chunk.B4XACQ5E.js +19 -0
  47. package/cdn/chunks/chunk.B5VDVEYN.js +19 -0
  48. package/cdn/chunks/chunk.BDFSCDHG.js +32 -0
  49. package/cdn/chunks/chunk.BFNY5GH4.js +29 -0
  50. package/cdn/chunks/chunk.BIWAQAE5.js +33 -0
  51. package/cdn/chunks/chunk.BP2XEH4Z.js +71 -0
  52. package/cdn/chunks/chunk.BSITYHX6.js +29 -0
  53. package/cdn/chunks/chunk.CCW2WFCG.js +19 -0
  54. package/cdn/chunks/chunk.CEE5OQDS.js +62 -0
  55. package/cdn/chunks/chunk.CHDWVVLW.js +19 -0
  56. package/cdn/chunks/chunk.CI6LWSO7.js +29 -0
  57. package/cdn/chunks/chunk.CNEFZTCX.js +1224 -0
  58. package/cdn/chunks/chunk.CNLQ4XUE.js +47 -0
  59. package/cdn/chunks/chunk.CTANM47O.js +19 -0
  60. package/cdn/chunks/chunk.CXQOVGV4.js +372 -0
  61. package/cdn/chunks/chunk.DAXSZ2IJ.js +93 -0
  62. package/cdn/chunks/chunk.DNEDXGD3.js +188 -0
  63. package/cdn/chunks/chunk.DRCDC73I.js +477 -0
  64. package/cdn/chunks/chunk.DUXFSD4C.js +49 -0
  65. package/cdn/chunks/chunk.DXIJ7CG3.js +68 -0
  66. package/cdn/chunks/chunk.EA37D2QP.js +29 -0
  67. package/cdn/chunks/chunk.EAT6PD7V.js +2225 -0
  68. package/cdn/chunks/chunk.ECNBOR2W.js +621 -0
  69. package/cdn/chunks/chunk.EFDI6WO3.js +662 -0
  70. package/cdn/chunks/chunk.ELMFDV2G.js +247 -0
  71. package/cdn/chunks/chunk.EMLWKMPU.js +616 -0
  72. package/cdn/chunks/chunk.ERFCXYF7.js +19 -0
  73. package/cdn/chunks/chunk.ET7XCOPF.js +29 -0
  74. package/cdn/chunks/chunk.EW5HEQP5.js +19 -0
  75. package/cdn/chunks/chunk.EWBLDHXB.js +29 -0
  76. package/cdn/chunks/chunk.F73O5LKK.js +134 -0
  77. package/cdn/chunks/chunk.FAMK6EJN.js +19 -0
  78. package/cdn/chunks/chunk.FJEMKM6L.js +99 -0
  79. package/cdn/chunks/chunk.FJQIFYK2.js +287 -0
  80. package/cdn/chunks/chunk.FLJROCEJ.js +19 -0
  81. package/cdn/chunks/chunk.FMQPLJEY.js +19 -0
  82. package/cdn/chunks/chunk.FMYBYUZO.js +29 -0
  83. package/cdn/chunks/chunk.FWOITR7Y.js +19 -0
  84. package/cdn/chunks/chunk.GDFY67YB.js +151 -0
  85. package/cdn/chunks/chunk.GLN3TMVD.js +731 -0
  86. package/cdn/chunks/chunk.GTP5VR76.js +190 -0
  87. package/cdn/chunks/chunk.GUUSY6A3.js +19 -0
  88. package/cdn/chunks/chunk.GVI2UZCY.js +1048 -0
  89. package/cdn/chunks/chunk.GZMSG46L.js +34 -0
  90. package/cdn/chunks/chunk.H23RSP46.js +29 -0
  91. package/cdn/chunks/chunk.H4NW2JKR.js +276 -0
  92. package/cdn/chunks/chunk.H6OGE6KW.js +19 -0
  93. package/cdn/chunks/chunk.HGDCOEDY.js +373 -0
  94. package/cdn/chunks/chunk.HJLJPXTA.js +19 -0
  95. package/cdn/chunks/chunk.HJOYWWGK.js +19 -0
  96. package/cdn/chunks/chunk.HLRS32JB.js +19 -0
  97. package/cdn/chunks/chunk.HSCW5NVO.js +19 -0
  98. package/cdn/chunks/chunk.I2PSEXWT.js +99 -0
  99. package/cdn/chunks/chunk.IAYL5MLB.js +60 -0
  100. package/cdn/chunks/chunk.IGYZHZJI.js +78 -0
  101. package/cdn/chunks/chunk.IRYCSXE5.js +39 -0
  102. package/cdn/chunks/chunk.ISBKM2OB.js +238 -0
  103. package/cdn/chunks/chunk.IUK7T5HL.js +33868 -0
  104. package/cdn/chunks/chunk.IZOAITBI.js +19 -0
  105. package/cdn/chunks/chunk.JA6I3G4U.js +19 -0
  106. package/cdn/chunks/chunk.JCS7F5UC.js +29 -0
  107. package/cdn/chunks/chunk.JHMYPKEY.js +37 -0
  108. package/cdn/chunks/chunk.K3PNC4X7.js +19 -0
  109. package/cdn/chunks/chunk.K65R5XPV.js +19 -0
  110. package/cdn/chunks/chunk.K6SKQZRX.js +157 -0
  111. package/cdn/chunks/chunk.K7EC2QO6.js +145 -0
  112. package/cdn/chunks/chunk.K7QRFF5V.js +134 -0
  113. package/cdn/chunks/chunk.KAB4FTOC.js +19 -0
  114. package/cdn/chunks/chunk.KDVDB76W.js +155 -0
  115. package/cdn/chunks/chunk.KEDEH6QG.js +230 -0
  116. package/cdn/chunks/chunk.KF3MFMQB.js +234 -0
  117. package/cdn/chunks/chunk.KG66FNGO.js +19 -0
  118. package/cdn/chunks/chunk.KGWHWMEB.js +19 -0
  119. package/cdn/chunks/chunk.KPL3Z2VG.js +19 -0
  120. package/cdn/chunks/chunk.KQS44SVL.js +19 -0
  121. package/cdn/chunks/chunk.KRQJE5S5.js +29 -0
  122. package/cdn/chunks/chunk.KTOMYNZW.js +2313 -0
  123. package/cdn/chunks/chunk.KXQTCZIS.js +1010 -0
  124. package/cdn/chunks/chunk.L4KEM2GN.js +32 -0
  125. package/cdn/chunks/chunk.LBABTGAS.js +146 -0
  126. package/cdn/chunks/chunk.LMVBC5KL.js +239 -0
  127. package/cdn/chunks/chunk.LTRHOGG3.js +435 -0
  128. package/cdn/chunks/chunk.M4BPQG63.js +19 -0
  129. package/cdn/chunks/chunk.M4OIO6T3.js +29 -0
  130. package/cdn/chunks/chunk.MVJCA6VM.js +74 -0
  131. package/cdn/chunks/chunk.MVXUXM2U.js +19 -0
  132. package/cdn/chunks/chunk.N3ZGHEYP.js +29 -0
  133. package/cdn/chunks/chunk.N664SCJY.js +19 -0
  134. package/cdn/chunks/chunk.NPVYF6MU.js +29 -0
  135. package/cdn/chunks/chunk.NU3XX242.js +93 -0
  136. package/cdn/chunks/chunk.NX5ANPIE.js +93 -0
  137. package/cdn/chunks/chunk.OGLWCOZI.js +264 -0
  138. package/cdn/chunks/chunk.OIVFB25S.js +30 -0
  139. package/cdn/chunks/chunk.OWZEOKXJ.js +19 -0
  140. package/cdn/chunks/chunk.OZPBFWKU.js +19 -0
  141. package/cdn/chunks/chunk.PDOV4E5N.js +375 -0
  142. package/cdn/chunks/chunk.PMEODL6X.js +29 -0
  143. package/cdn/chunks/chunk.PR6QIRSZ.js +231 -0
  144. package/cdn/chunks/chunk.PURENJG4.js +34 -0
  145. package/cdn/chunks/chunk.Q6UTO6SN.js +36 -0
  146. package/cdn/chunks/chunk.Q7TRLP7J.js +19 -0
  147. package/cdn/chunks/chunk.QDD544ZD.js +33 -0
  148. package/cdn/chunks/chunk.QPXIPFRL.js +35 -0
  149. package/cdn/chunks/chunk.QZBI4K63.js +19 -0
  150. package/cdn/chunks/chunk.QZGHTLKR.js +19 -0
  151. package/cdn/chunks/chunk.R2LK7SNC.js +56 -0
  152. package/cdn/chunks/chunk.R3YTDGUB.js +19 -0
  153. package/cdn/chunks/chunk.R6QV5QO3.js +158 -0
  154. package/cdn/chunks/chunk.R7TV4NMV.js +132 -0
  155. package/cdn/chunks/chunk.REXNVFCL.js +19 -0
  156. package/cdn/chunks/chunk.REZSSCPA.js +32 -0
  157. package/cdn/chunks/chunk.RFPUOSJ7.js +29 -0
  158. package/cdn/chunks/chunk.RMBF3K4K.js +224 -0
  159. package/cdn/chunks/chunk.RUKCVHGU.js +29 -0
  160. package/cdn/chunks/chunk.RYF6C5TO.js +41 -0
  161. package/cdn/chunks/chunk.S25LVDIJ.js +32 -0
  162. package/cdn/chunks/chunk.S2F2564D.js +77 -0
  163. package/cdn/chunks/chunk.S4M6B4JV.js +32 -0
  164. package/cdn/chunks/chunk.SEQFSNN4.js +33 -0
  165. package/cdn/chunks/chunk.SKN5DDDY.js +86 -0
  166. package/cdn/chunks/chunk.SQHONKOR.js +32 -0
  167. package/cdn/chunks/chunk.SSJIUJKZ.js +29 -0
  168. package/cdn/chunks/chunk.SZMZY44Z.js +189 -0
  169. package/cdn/chunks/chunk.T2RI44PG.js +60 -0
  170. package/cdn/chunks/chunk.TFYBBM76.js +19 -0
  171. package/cdn/chunks/chunk.THXFMXA5.js +35 -0
  172. package/cdn/chunks/chunk.TSLXKTQM.js +493 -0
  173. package/cdn/chunks/chunk.TSLZA2FP.js +79 -0
  174. package/cdn/chunks/chunk.TW3MCJVJ.js +357 -0
  175. package/cdn/chunks/chunk.U5KXLZPV.js +29 -0
  176. package/cdn/chunks/chunk.UNGD4CCD.js +359 -0
  177. package/cdn/chunks/chunk.URQ7BAE3.js +19 -0
  178. package/cdn/chunks/chunk.UTIZIYUN.js +19 -0
  179. package/cdn/chunks/chunk.UWGWX7NW.js +29 -0
  180. package/cdn/chunks/chunk.VDCJEORC.js +29 -0
  181. package/cdn/chunks/chunk.VHMLHAMS.js +29 -0
  182. package/cdn/chunks/chunk.VJ5JPJBT.js +32 -0
  183. package/cdn/chunks/chunk.VOZIXD43.js +1966 -0
  184. package/cdn/chunks/chunk.VUNJL3W6.js +19 -0
  185. package/cdn/chunks/chunk.VVRDVZEI.js +904 -0
  186. package/cdn/chunks/chunk.W2QGGLTM.js +19 -0
  187. package/cdn/chunks/chunk.W7KGVFJQ.js +52 -0
  188. package/cdn/chunks/chunk.WGXAEJ6H.js +37 -0
  189. package/cdn/chunks/chunk.X5F62XDZ.js +29 -0
  190. package/cdn/chunks/chunk.X7QAUBX7.js +29 -0
  191. package/cdn/chunks/chunk.XIIE3UD2.js +19 -0
  192. package/cdn/chunks/chunk.XMKX67TX.js +33 -0
  193. package/cdn/chunks/chunk.XPIKH2P4.js +32 -0
  194. package/cdn/chunks/chunk.XTDXEXUZ.js +29 -0
  195. package/cdn/chunks/chunk.XTWPVKRT.js +19 -0
  196. package/cdn/chunks/chunk.XXFXPR2M.js +19 -0
  197. package/cdn/chunks/chunk.XXYJ7BMK.js +32 -0
  198. package/cdn/chunks/chunk.Y5NSJ47F.js +293 -0
  199. package/cdn/chunks/chunk.YBB7K7LI.js +113 -0
  200. package/cdn/chunks/chunk.YCCLUWEU.js +104 -0
  201. package/cdn/chunks/chunk.YFMGE2QU.js +19 -0
  202. package/cdn/chunks/chunk.YN54GYMH.js +136 -0
  203. package/cdn/chunks/chunk.YPIC6IGT.js +32 -0
  204. package/cdn/chunks/chunk.YYAKN7E2.js +19 -0
  205. package/cdn/chunks/chunk.Z4HRJAKR.js +33 -0
  206. package/cdn/chunks/chunk.ZJTIOQU3.js +19 -0
  207. package/cdn/chunks/chunk.ZQIDUKGV.js +32 -0
  208. package/cdn/chunks/chunk.ZVJGSTHG.js +29 -0
  209. package/cdn/chunks/chunk.ZWFKNNQM.js +29 -0
  210. package/cdn/chunks/chunk.ZXILWKOH.js +165 -0
  211. package/cdn/chunks/chunk.ZY7M4I26.js +32 -0
  212. package/cdn/components/accordion/accordion.component.js +5 -5
  213. package/cdn/components/accordion/accordion.js +6 -6
  214. package/cdn/components/alert/alert.component.js +3 -3
  215. package/cdn/components/alert/alert.js +4 -4
  216. package/cdn/components/avatar/avatar.component.js +7 -7
  217. package/cdn/components/avatar/avatar.js +8 -8
  218. package/cdn/components/badge/badge.component.js +2 -2
  219. package/cdn/components/badge/badge.js +3 -3
  220. package/cdn/components/breadcrumb/breadcrumb.component.js +2 -2
  221. package/cdn/components/breadcrumb/breadcrumb.js +3 -3
  222. package/cdn/components/breadcrumbs/breadcrumbs.component.js +2 -2
  223. package/cdn/components/breadcrumbs/breadcrumbs.js +3 -3
  224. package/cdn/components/browse-variables/browse-variables.component.js +18 -18
  225. package/cdn/components/browse-variables/browse-variables.controller.js +3 -3
  226. package/cdn/components/browse-variables/browse-variables.js +19 -19
  227. package/cdn/components/button/button.component.js +7 -7
  228. package/cdn/components/button/button.js +8 -8
  229. package/cdn/components/button-group/button-group.component.js +2 -2
  230. package/cdn/components/button-group/button-group.js +3 -3
  231. package/cdn/components/caption/caption.component.js +2 -2
  232. package/cdn/components/caption/caption.js +3 -3
  233. package/cdn/components/card/card.component.js +2 -2
  234. package/cdn/components/card/card.js +3 -3
  235. package/cdn/components/checkbox/checkbox.component.js +8 -8
  236. package/cdn/components/checkbox/checkbox.js +9 -9
  237. package/cdn/components/chip/chip.component.js +2 -2
  238. package/cdn/components/chip/chip.js +3 -3
  239. package/cdn/components/combobox/combobox.component.d.ts +1 -4
  240. package/cdn/components/combobox/combobox.component.js +6 -6
  241. package/cdn/components/combobox/combobox.js +7 -7
  242. package/cdn/components/data-access/data-access.component.d.ts +3 -2
  243. package/cdn/components/data-access/data-access.component.js +28 -30
  244. package/cdn/components/data-access/data-access.controller.js +3 -3
  245. package/cdn/components/data-access/data-access.js +29 -31
  246. package/cdn/components/data-access/data-access.styles.js +1 -1
  247. package/cdn/components/data-grid/data-grid.component.js +5 -5
  248. package/cdn/components/data-grid/data-grid.js +6 -6
  249. package/cdn/components/data-rods/data-rods.component.js +39 -39
  250. package/cdn/components/data-rods/data-rods.js +40 -40
  251. package/cdn/components/data-subsetter/data-subsetter.component.d.ts +1 -2
  252. package/cdn/components/data-subsetter/data-subsetter.component.js +45 -45
  253. package/cdn/components/data-subsetter/data-subsetter.controller.d.ts +1 -3
  254. package/cdn/components/data-subsetter/data-subsetter.controller.js +3 -3
  255. package/cdn/components/data-subsetter/data-subsetter.js +46 -46
  256. package/cdn/components/data-subsetter/data-subsetter.styles.js +1 -1
  257. package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +46 -46
  258. package/cdn/components/data-subsetter-history/data-subsetter-history.js +47 -47
  259. package/cdn/components/date-picker/date-picker.component.d.ts +0 -4
  260. package/cdn/components/date-picker/date-picker.component.js +14 -14
  261. package/cdn/components/date-picker/date-picker.js +15 -15
  262. package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
  263. package/cdn/components/date-range-slider/date-range-slider.js +3 -3
  264. package/cdn/components/dialog/dialog.component.js +10 -10
  265. package/cdn/components/dialog/dialog.js +11 -11
  266. package/cdn/components/dialog/dialog.styles.js +1 -1
  267. package/cdn/components/divider/divider.component.js +2 -2
  268. package/cdn/components/divider/divider.js +3 -3
  269. package/cdn/components/dropdown/dropdown.component.js +3 -3
  270. package/cdn/components/dropdown/dropdown.js +4 -4
  271. package/cdn/components/earthdata-login/earthdata-login.component.js +15 -15
  272. package/cdn/components/earthdata-login/earthdata-login.js +16 -16
  273. package/cdn/components/file-upload/file-upload.component.js +2 -2
  274. package/cdn/components/file-upload/file-upload.js +3 -3
  275. package/cdn/components/icon/icon.component.js +3 -3
  276. package/cdn/components/icon/icon.js +4 -4
  277. package/cdn/components/input/input.component.js +8 -8
  278. package/cdn/components/input/input.js +9 -9
  279. package/cdn/components/loader/loader.component.js +2 -2
  280. package/cdn/components/loader/loader.js +3 -3
  281. package/cdn/components/login/login.component.js +12 -12
  282. package/cdn/components/login/login.js +13 -13
  283. package/cdn/components/map/leaflet-utils.d.ts +1 -1
  284. package/cdn/components/map/map.component.js +4 -4
  285. package/cdn/components/map/map.js +5 -5
  286. package/cdn/components/menu/menu.component.js +2 -2
  287. package/cdn/components/menu/menu.js +3 -3
  288. package/cdn/components/menu-item/menu-item.component.js +11 -11
  289. package/cdn/components/menu-item/menu-item.js +12 -12
  290. package/cdn/components/menu-item/submenu-controller.js +3 -3
  291. package/cdn/components/option/option.component.js +6 -6
  292. package/cdn/components/option/option.js +7 -7
  293. package/cdn/components/pagination/pagination.component.js +6 -6
  294. package/cdn/components/pagination/pagination.js +7 -7
  295. package/cdn/components/plot/plot.component.js +2 -2
  296. package/cdn/components/plot/plot.js +3 -3
  297. package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  298. package/cdn/components/plot-toolbar/plot-toolbar.component.d.ts +8 -0
  299. package/cdn/components/plot-toolbar/plot-toolbar.component.js +15 -15
  300. package/cdn/components/plot-toolbar/plot-toolbar.controller.js +3 -3
  301. package/cdn/components/plot-toolbar/plot-toolbar.js +16 -16
  302. package/cdn/components/plot-toolbar/plot-toolbar.styles.js +1 -1
  303. package/cdn/components/popup/popup.component.js +2 -2
  304. package/cdn/components/popup/popup.js +3 -3
  305. package/cdn/components/progress-bar/progress-bar.component.js +2 -2
  306. package/cdn/components/progress-bar/progress-bar.js +3 -3
  307. package/cdn/components/radio/radio.component.js +4 -4
  308. package/cdn/components/radio/radio.js +5 -5
  309. package/cdn/components/radio-group/radio-group.component.js +2 -2
  310. package/cdn/components/radio-group/radio-group.js +3 -3
  311. package/cdn/components/scroll-hint/scroll-hint.component.js +4 -4
  312. package/cdn/components/scroll-hint/scroll-hint.js +5 -5
  313. package/cdn/components/select/select.component.js +10 -10
  314. package/cdn/components/select/select.js +11 -11
  315. package/cdn/components/site-header/site-header.component.js +5 -5
  316. package/cdn/components/site-header/site-header.js +5 -5
  317. package/cdn/components/site-navigation/site-navigation.component.js +2 -2
  318. package/cdn/components/site-navigation/site-navigation.js +2 -2
  319. package/cdn/components/skeleton/skeleton.component.js +2 -2
  320. package/cdn/components/skeleton/skeleton.js +3 -3
  321. package/cdn/components/slider/slider.component.js +2 -2
  322. package/cdn/components/slider/slider.js +3 -3
  323. package/cdn/components/spatial-picker/spatial-picker.component.js +15 -15
  324. package/cdn/components/spatial-picker/spatial-picker.js +16 -16
  325. package/cdn/components/status-indicator/status-indicator.component.js +2 -2
  326. package/cdn/components/status-indicator/status-indicator.js +3 -3
  327. package/cdn/components/stepper/stepper.component.js +2 -2
  328. package/cdn/components/stepper/stepper.js +3 -3
  329. package/cdn/components/stepper-step/stepper-step.component.js +6 -6
  330. package/cdn/components/stepper-step/stepper-step.js +7 -7
  331. package/cdn/components/tab/tab.component.js +6 -6
  332. package/cdn/components/tab/tab.js +7 -7
  333. package/cdn/components/tab-panel/tab-panel.component.js +2 -2
  334. package/cdn/components/tab-panel/tab-panel.js +3 -3
  335. package/cdn/components/tabs/tabs.component.js +6 -6
  336. package/cdn/components/tabs/tabs.js +7 -7
  337. package/cdn/components/tag/tag.component.js +6 -6
  338. package/cdn/components/tag/tag.js +7 -7
  339. package/cdn/components/textarea/textarea.component.js +4 -4
  340. package/cdn/components/textarea/textarea.js +5 -5
  341. package/cdn/components/time-average-map/time-average-map.component.d.ts +4 -0
  342. package/cdn/components/time-average-map/time-average-map.component.js +23 -23
  343. package/cdn/components/time-average-map/time-average-map.js +24 -24
  344. package/cdn/components/time-series/time-series.component.d.ts +4 -0
  345. package/cdn/components/time-series/time-series.component.js +24 -24
  346. package/cdn/components/time-series/time-series.controller.d.ts +2 -0
  347. package/cdn/components/time-series/time-series.controller.js +1 -1
  348. package/cdn/components/time-series/time-series.js +25 -25
  349. package/cdn/components/toast/toast.component.js +4 -4
  350. package/cdn/components/toast/toast.js +5 -5
  351. package/cdn/components/toggle/toggle.component.js +4 -4
  352. package/cdn/components/toggle/toggle.js +5 -5
  353. package/cdn/components/tooltip/tooltip.component.js +3 -3
  354. package/cdn/components/tooltip/tooltip.js +4 -4
  355. package/cdn/components/variable-combobox/lib.js +3 -3
  356. package/cdn/components/variable-combobox/variable-combobox.component.d.ts +1 -4
  357. package/cdn/components/variable-combobox/variable-combobox.component.js +15 -15
  358. package/cdn/components/variable-combobox/variable-combobox.controller.js +4 -4
  359. package/cdn/components/variable-combobox/variable-combobox.js +16 -16
  360. package/cdn/components/variable-keyword-search/variable-keyword-search.component.d.ts +1 -4
  361. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +14 -14
  362. package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +3 -3
  363. package/cdn/components/variable-keyword-search/variable-keyword-search.js +15 -15
  364. package/cdn/custom-elements.json +3761 -3571
  365. package/cdn/internal/animate.d.ts +3 -3
  366. package/cdn/metadata-catalog/cmr-catalog.d.ts +1 -2
  367. package/cdn/metadata-catalog/queries.d.ts +0 -1
  368. package/cdn/metadata-catalog/types.d.ts +0 -13
  369. package/cdn/react/accordion/index.js +6 -6
  370. package/cdn/react/alert/index.js +4 -4
  371. package/cdn/react/avatar/index.js +8 -8
  372. package/cdn/react/badge/index.js +3 -3
  373. package/cdn/react/breadcrumb/index.js +3 -3
  374. package/cdn/react/breadcrumbs/index.js +3 -3
  375. package/cdn/react/browse-variables/index.js +19 -19
  376. package/cdn/react/button/index.js +8 -8
  377. package/cdn/react/button-group/index.js +3 -3
  378. package/cdn/react/caption/index.js +3 -3
  379. package/cdn/react/card/index.js +3 -3
  380. package/cdn/react/checkbox/index.js +9 -9
  381. package/cdn/react/chip/index.js +3 -3
  382. package/cdn/react/combobox/index.js +7 -7
  383. package/cdn/react/data-access/index.js +29 -31
  384. package/cdn/react/data-grid/index.js +6 -6
  385. package/cdn/react/data-rods/index.js +40 -40
  386. package/cdn/react/data-subsetter/index.js +46 -46
  387. package/cdn/react/data-subsetter-history/index.js +47 -47
  388. package/cdn/react/date-picker/index.js +15 -15
  389. package/cdn/react/date-range-slider/index.js +3 -3
  390. package/cdn/react/dialog/index.js +11 -11
  391. package/cdn/react/divider/index.js +3 -3
  392. package/cdn/react/dropdown/index.js +4 -4
  393. package/cdn/react/earthdata-login/index.js +16 -16
  394. package/cdn/react/file-upload/index.js +3 -3
  395. package/cdn/react/icon/index.js +4 -4
  396. package/cdn/react/index.d.ts +12 -12
  397. package/cdn/react/index.js +195 -195
  398. package/cdn/react/input/index.js +9 -9
  399. package/cdn/react/loader/index.js +3 -3
  400. package/cdn/react/login/index.js +13 -13
  401. package/cdn/react/map/index.js +5 -5
  402. package/cdn/react/menu/index.js +3 -3
  403. package/cdn/react/menu-item/index.js +12 -12
  404. package/cdn/react/option/index.js +7 -7
  405. package/cdn/react/pagination/index.js +7 -7
  406. package/cdn/react/plot/index.js +3 -3
  407. package/cdn/react/plot-toolbar/index.js +16 -16
  408. package/cdn/react/popup/index.js +3 -3
  409. package/cdn/react/progress-bar/index.js +3 -3
  410. package/cdn/react/radio/index.js +5 -5
  411. package/cdn/react/radio-group/index.js +3 -3
  412. package/cdn/react/scroll-hint/index.js +5 -5
  413. package/cdn/react/select/index.js +11 -11
  414. package/cdn/react/site-header/index.js +6 -6
  415. package/cdn/react/site-navigation/index.js +3 -3
  416. package/cdn/react/skeleton/index.js +3 -3
  417. package/cdn/react/slider/index.js +3 -3
  418. package/cdn/react/spatial-picker/index.js +16 -16
  419. package/cdn/react/status-indicator/index.js +3 -3
  420. package/cdn/react/stepper/index.js +3 -3
  421. package/cdn/react/stepper-step/index.js +7 -7
  422. package/cdn/react/tab/index.js +7 -7
  423. package/cdn/react/tab-panel/index.js +3 -3
  424. package/cdn/react/tabs/index.js +7 -7
  425. package/cdn/react/tag/index.js +7 -7
  426. package/cdn/react/textarea/index.js +5 -5
  427. package/cdn/react/time-average-map/index.js +24 -24
  428. package/cdn/react/time-series/index.js +25 -25
  429. package/cdn/react/toast/index.js +5 -5
  430. package/cdn/react/toggle/index.js +5 -5
  431. package/cdn/react/tooltip/index.js +4 -4
  432. package/cdn/react/variable-combobox/index.js +16 -16
  433. package/cdn/react/variable-keyword-search/index.js +15 -15
  434. package/cdn/terra-ui-components.js +179 -179
  435. package/cdn/types/vue/index.d.ts +672 -660
  436. package/cdn/utilities/mimetypes.d.ts +1 -1
  437. package/cdn/utilities/mimetypes.js +1 -1
  438. package/cdn/vscode.html-custom-data.json +426 -420
  439. package/cdn/web-types.json +1843 -1819
  440. package/dist/chunks/chunk.24OUPU3M.js +11 -0
  441. package/dist/chunks/chunk.27DLDZRC.js +592 -0
  442. package/dist/chunks/chunk.27ZGJEQD.js +27 -0
  443. package/dist/chunks/chunk.2FA2ZTXQ.js +84 -0
  444. package/dist/chunks/chunk.2GRUF276.js +24 -0
  445. package/dist/chunks/chunk.2JLEP7WV.js +135 -0
  446. package/dist/chunks/chunk.2NRFZ47T.js +11 -0
  447. package/dist/chunks/chunk.2SIQORSU.js +11 -0
  448. package/dist/chunks/chunk.2TGXHKAI.js +272 -0
  449. package/dist/chunks/chunk.2THVKQ5L.js +11 -0
  450. package/dist/chunks/chunk.2V7VZS6J.js +11 -0
  451. package/dist/chunks/chunk.32A4WH7Z.js +75 -0
  452. package/dist/chunks/chunk.3BHLAU66.js +52 -0
  453. package/dist/chunks/chunk.3EDT5J7B.js +89 -0
  454. package/dist/chunks/chunk.3EYKE3JS.js +11 -0
  455. package/dist/chunks/chunk.3M3KNL75.js +21 -0
  456. package/dist/chunks/chunk.3RQVQAGK.js +11 -0
  457. package/dist/chunks/chunk.3ZEB7QXJ.js +11 -0
  458. package/dist/chunks/chunk.43FGBKHG.js +33 -0
  459. package/dist/chunks/chunk.4BRHJBL7.js +362 -0
  460. package/dist/chunks/chunk.4F7AA6DJ.js +21 -0
  461. package/dist/chunks/chunk.4FQI6MU7.js +11 -0
  462. package/dist/chunks/chunk.4I7LRDSH.js +11 -0
  463. package/dist/chunks/chunk.4RZNR2FI.js +345 -0
  464. package/dist/chunks/chunk.4SS2YLXK.js +143 -0
  465. package/dist/chunks/chunk.4WCKEOKQ.js +720 -0
  466. package/dist/chunks/chunk.56ULBDL2.js +86 -0
  467. package/dist/chunks/chunk.5E3P26FR.js +11 -0
  468. package/dist/chunks/chunk.5GYDMDO6.js +58 -0
  469. package/dist/chunks/chunk.5TOBG3PN.js +43 -0
  470. package/dist/chunks/chunk.5UJ6U4QS.js +11 -0
  471. package/dist/chunks/chunk.5WJFIGWI.js +11 -0
  472. package/dist/chunks/chunk.5WKFEMNK.js +477 -0
  473. package/dist/chunks/chunk.66DRHHUE.js +21 -0
  474. package/dist/chunks/chunk.66DVJ54D.js +11 -0
  475. package/dist/chunks/chunk.6J4SJUQD.js +11 -0
  476. package/dist/chunks/chunk.6JWHPMOL.js +43 -0
  477. package/dist/chunks/chunk.6K2Y2GYL.js +101 -0
  478. package/dist/chunks/chunk.6MTJ3VPC.js +24 -0
  479. package/dist/chunks/chunk.6N4RPWIM.js +11 -0
  480. package/dist/chunks/chunk.6OWWYTVJ.js +139 -0
  481. package/dist/chunks/chunk.742W6GK2.js +474 -0
  482. package/dist/chunks/chunk.752P3GIC.js +24 -0
  483. package/dist/chunks/chunk.76KTIECS.js +180 -0
  484. package/dist/chunks/chunk.7XJW4S4P.js +124 -0
  485. package/dist/chunks/chunk.7ZDP2Z2N.js +11 -0
  486. package/dist/chunks/chunk.A2CP2ORP.js +11 -0
  487. package/dist/chunks/chunk.AOYF3DUM.js +11 -0
  488. package/dist/chunks/chunk.AWHGXGTV.js +21 -0
  489. package/dist/chunks/chunk.AZ6MIDIS.js +272 -0
  490. package/dist/chunks/chunk.B62HKUKO.js +21 -0
  491. package/dist/chunks/chunk.BADHWJPB.js +230 -0
  492. package/dist/chunks/chunk.BDWRY4GP.js +220 -0
  493. package/dist/chunks/chunk.BIEJHJO7.js +11 -0
  494. package/dist/chunks/chunk.BJDVG6P4.js +234 -0
  495. package/dist/chunks/chunk.BK5Z4YJ4.js +180 -0
  496. package/dist/chunks/chunk.BL7XCQXM.js +11 -0
  497. package/dist/chunks/chunk.BLQXQDQX.js +21 -0
  498. package/dist/chunks/chunk.BRTFMFWV.js +21 -0
  499. package/dist/chunks/chunk.BUPVVW3W.js +1132 -0
  500. package/dist/chunks/chunk.BW7THSVO.js +11 -0
  501. package/dist/chunks/chunk.CCLPFOB3.js +123 -0
  502. package/dist/chunks/chunk.CERMDF55.js +176 -0
  503. package/dist/chunks/chunk.CFMNI7WZ.js +21 -0
  504. package/dist/chunks/chunk.CNRYTQDJ.js +39 -0
  505. package/dist/chunks/chunk.CRU7J26Q.js +11 -0
  506. package/dist/chunks/chunk.CUXW4JWZ.js +230 -0
  507. package/dist/chunks/chunk.DAPUAE2W.js +11 -0
  508. package/dist/chunks/chunk.DCJYE5I5.js +21 -0
  509. package/dist/chunks/chunk.DDFKXN5R.js +31 -0
  510. package/dist/chunks/chunk.DJEWWK3X.js +112 -0
  511. package/dist/chunks/chunk.DJI4FFDV.js +11 -0
  512. package/dist/chunks/chunk.DSUCX4Z7.js +25 -0
  513. package/dist/chunks/chunk.DVVFEQUO.js +64 -0
  514. package/dist/chunks/chunk.DYA2VN4U.js +153 -0
  515. package/dist/chunks/chunk.DYYZ47NF.js +21 -0
  516. package/dist/chunks/chunk.DZDLX7IE.js +21 -0
  517. package/dist/chunks/chunk.DZMUUWCK.js +11 -0
  518. package/dist/chunks/chunk.EFYNU3VS.js +11 -0
  519. package/dist/chunks/chunk.EKDIFOBY.js +21 -0
  520. package/dist/chunks/chunk.ERYTQX7O.js +409 -0
  521. package/dist/chunks/chunk.F246HIQT.js +24 -0
  522. package/dist/chunks/chunk.F36W3ZSS.js +11 -0
  523. package/dist/chunks/chunk.F57E2W2V.js +443 -0
  524. package/dist/chunks/chunk.FCM3IOMZ.js +21 -0
  525. package/dist/chunks/chunk.FDJNP5R4.js +27 -0
  526. package/dist/chunks/chunk.FF53Q6W3.js +1208 -0
  527. package/dist/chunks/chunk.FIF2MCFJ.js +48 -0
  528. package/dist/chunks/chunk.FTB5KNZB.js +24 -0
  529. package/dist/chunks/chunk.FU7A4FOK.js +11 -0
  530. package/dist/chunks/chunk.GE3TZOSP.js +525 -0
  531. package/dist/chunks/chunk.GGHM2ORF.js +11 -0
  532. package/dist/chunks/chunk.GQNGIBTB.js +11 -0
  533. package/dist/chunks/chunk.GSA27X2D.js +21 -0
  534. package/dist/chunks/chunk.GYL6BFFP.js +262 -0
  535. package/dist/chunks/chunk.H2MBHUPL.js +24 -0
  536. package/dist/chunks/chunk.H2WY7DAL.js +11 -0
  537. package/dist/chunks/chunk.H2XHTQQ5.js +11 -0
  538. package/dist/chunks/chunk.HK55NVNB.js +355 -0
  539. package/dist/chunks/chunk.HKDQPBSM.js +11 -0
  540. package/dist/chunks/chunk.HXXX3WG4.js +24 -0
  541. package/dist/chunks/chunk.HZ6JYZOS.js +21 -0
  542. package/dist/chunks/chunk.I6HRQ7BI.js +291 -0
  543. package/dist/chunks/chunk.IBD4WCHU.js +11 -0
  544. package/dist/chunks/chunk.IC47ABF6.js +21 -0
  545. package/dist/chunks/chunk.IFPDAG23.js +247 -0
  546. package/dist/chunks/chunk.IG6D3LN3.js +21 -0
  547. package/dist/chunks/chunk.INWDQT67.js +732 -0
  548. package/dist/chunks/chunk.J47JV43P.js +21 -0
  549. package/dist/chunks/chunk.J6DKL22O.js +277 -0
  550. package/dist/chunks/chunk.J7TQ5VU7.js +21 -0
  551. package/dist/chunks/chunk.JGDCDSXF.js +24 -0
  552. package/dist/chunks/chunk.JISZZIY6.js +11 -0
  553. package/dist/chunks/chunk.KDB2QSPF.js +24 -0
  554. package/dist/chunks/chunk.KIXOO4EH.js +67 -0
  555. package/dist/chunks/chunk.KMREWMRD.js +596 -0
  556. package/dist/chunks/chunk.KOEUC6ET.js +28 -0
  557. package/dist/chunks/chunk.LAKLSG4Z.js +11 -0
  558. package/dist/chunks/chunk.LB47F3RB.js +11 -0
  559. package/dist/chunks/chunk.LCJA35A7.js +11 -0
  560. package/dist/chunks/chunk.LHLBHXSV.js +280 -0
  561. package/dist/chunks/chunk.LMPTA2Q5.js +24 -0
  562. package/dist/chunks/chunk.LR2FE7AH.js +2210 -0
  563. package/dist/chunks/chunk.LY6TPOZN.js +220 -0
  564. package/dist/chunks/chunk.LYAKY2WI.js +451 -0
  565. package/dist/chunks/chunk.MCMZ4DIE.js +28 -0
  566. package/dist/chunks/chunk.MMM66EPJ.js +11 -0
  567. package/dist/chunks/chunk.MMTZYMPU.js +365 -0
  568. package/dist/chunks/chunk.MRSQP7SI.js +25 -0
  569. package/dist/chunks/chunk.MUQXNDWN.js +24 -0
  570. package/dist/chunks/chunk.MUY72VZR.js +11 -0
  571. package/dist/chunks/chunk.MVN6T74P.js +844 -0
  572. package/dist/chunks/chunk.N6JYCYID.js +93 -0
  573. package/dist/chunks/chunk.NLLDRHSK.js +121 -0
  574. package/dist/chunks/chunk.NM76AHE2.js +11 -0
  575. package/dist/chunks/chunk.NN6PWE3I.js +11 -0
  576. package/dist/chunks/chunk.NOXAFGIG.js +11 -0
  577. package/dist/chunks/chunk.NPCWIIEB.js +21 -0
  578. package/dist/chunks/chunk.NRSI3X33.js +214 -0
  579. package/dist/chunks/chunk.NWIFEABM.js +11 -0
  580. package/dist/chunks/chunk.OFUJJYKR.js +1037 -0
  581. package/dist/chunks/chunk.OIOUPXC2.js +11 -0
  582. package/dist/chunks/chunk.OONXRBPP.js +29 -0
  583. package/dist/chunks/chunk.OX4K4WBJ.js +21 -0
  584. package/dist/chunks/chunk.P3L56RV6.js +609 -0
  585. package/dist/chunks/chunk.P4BTWA2W.js +21 -0
  586. package/dist/chunks/chunk.P4ZDDW4G.js +28 -0
  587. package/dist/chunks/chunk.PFGBQERM.js +21 -0
  588. package/dist/chunks/chunk.PGI6Y6XX.js +11 -0
  589. package/dist/chunks/chunk.PKY4HI7D.js +11 -0
  590. package/dist/chunks/chunk.PLWUHER3.js +145 -0
  591. package/dist/chunks/chunk.PWV2GJ2N.js +20 -0
  592. package/dist/chunks/chunk.Q6UE7CB3.js +345 -0
  593. package/dist/chunks/chunk.QMIM3IJI.js +25 -0
  594. package/dist/chunks/chunk.QRQVRNJ5.js +264 -0
  595. package/dist/chunks/chunk.QWU7AETL.js +24 -0
  596. package/dist/chunks/chunk.R4UJIP5M.js +245 -0
  597. package/dist/chunks/chunk.R7CH4GEF.js +11 -0
  598. package/dist/chunks/chunk.RJXGHV3H.js +422 -0
  599. package/dist/chunks/chunk.RO4MUFVF.js +67 -0
  600. package/dist/chunks/chunk.S32V67GZ.js +21 -0
  601. package/dist/chunks/chunk.SCL5FPJJ.js +2300 -0
  602. package/dist/chunks/chunk.SDGFPCNY.js +91 -0
  603. package/dist/chunks/chunk.SDXWOLQ6.js +21 -0
  604. package/dist/chunks/chunk.SFWH4DII.js +11 -0
  605. package/dist/chunks/chunk.SN6CIOZP.js +27 -0
  606. package/dist/chunks/chunk.SQNS52ZF.js +213 -0
  607. package/dist/chunks/chunk.SQTPDBCR.js +11 -0
  608. package/dist/chunks/chunk.SSHMXW5U.js +11 -0
  609. package/dist/chunks/chunk.SU5KHWCD.js +48 -0
  610. package/dist/chunks/chunk.T223WBAQ.js +21 -0
  611. package/dist/chunks/chunk.T56TY5P7.js +21 -0
  612. package/dist/chunks/chunk.TDGZ6OPW.js +11 -0
  613. package/dist/chunks/chunk.TE3CIFY7.js +26 -0
  614. package/dist/chunks/chunk.TIOJMUOV.js +11 -0
  615. package/dist/chunks/chunk.TNZV7XBJ.js +26 -0
  616. package/dist/chunks/chunk.TPA3DCUZ.js +61 -0
  617. package/dist/chunks/chunk.TQJAEQE6.js +21 -0
  618. package/dist/chunks/chunk.UCFN6F25.js +28 -0
  619. package/dist/chunks/chunk.UL4RQWJX.js +85 -0
  620. package/dist/chunks/chunk.UUXKARKT.js +21 -0
  621. package/dist/chunks/chunk.V2XBKPRQ.js +27 -0
  622. package/dist/chunks/chunk.VACHNSPR.js +11 -0
  623. package/dist/chunks/chunk.VCKWK6GT.js +252 -0
  624. package/dist/chunks/chunk.WAFNLNJE.js +24 -0
  625. package/dist/chunks/chunk.WHWHHPLW.js +11 -0
  626. package/dist/chunks/chunk.WOETQGVS.js +78 -0
  627. package/dist/chunks/chunk.WOIION27.js +180 -0
  628. package/dist/chunks/chunk.WTCGTFM3.js +11 -0
  629. package/dist/chunks/chunk.X7F7KL27.js +993 -0
  630. package/dist/chunks/chunk.XMED5IBJ.js +11 -0
  631. package/dist/chunks/chunk.XPKNM3ZS.js +11 -0
  632. package/dist/chunks/chunk.XR75EBXL.js +24 -0
  633. package/dist/chunks/chunk.XZTZVISY.js +91 -0
  634. package/dist/chunks/chunk.YIEHHT2Q.js +25 -0
  635. package/dist/chunks/chunk.YK6QWZB4.js +495 -0
  636. package/dist/chunks/chunk.YP7A53W7.js +29 -0
  637. package/dist/chunks/chunk.YWQPHIEL.js +21 -0
  638. package/dist/chunks/chunk.YWSI4MWA.js +52 -0
  639. package/dist/chunks/chunk.ZACK7NIG.js +11 -0
  640. package/dist/chunks/chunk.ZALJYVCQ.js +581 -0
  641. package/dist/chunks/chunk.ZHOSMWID.js +24 -0
  642. package/dist/chunks/chunk.ZP4HN5XA.js +25 -0
  643. package/dist/chunks/chunk.ZPE4K33Y.js +11 -0
  644. package/dist/components/accordion/accordion.component.js +5 -5
  645. package/dist/components/accordion/accordion.js +6 -6
  646. package/dist/components/alert/alert.component.js +3 -3
  647. package/dist/components/alert/alert.js +4 -4
  648. package/dist/components/avatar/avatar.component.js +5 -5
  649. package/dist/components/avatar/avatar.js +6 -6
  650. package/dist/components/badge/badge.component.js +2 -2
  651. package/dist/components/badge/badge.js +3 -3
  652. package/dist/components/breadcrumb/breadcrumb.component.js +2 -2
  653. package/dist/components/breadcrumb/breadcrumb.js +3 -3
  654. package/dist/components/breadcrumbs/breadcrumbs.component.js +2 -2
  655. package/dist/components/breadcrumbs/breadcrumbs.js +3 -3
  656. package/dist/components/browse-variables/browse-variables.component.js +15 -15
  657. package/dist/components/browse-variables/browse-variables.controller.js +3 -3
  658. package/dist/components/browse-variables/browse-variables.js +16 -16
  659. package/dist/components/button/button.component.js +5 -5
  660. package/dist/components/button/button.js +6 -6
  661. package/dist/components/button-group/button-group.component.js +2 -2
  662. package/dist/components/button-group/button-group.js +3 -3
  663. package/dist/components/caption/caption.component.js +2 -2
  664. package/dist/components/caption/caption.js +3 -3
  665. package/dist/components/card/card.component.js +2 -2
  666. package/dist/components/card/card.js +3 -3
  667. package/dist/components/checkbox/checkbox.component.js +5 -5
  668. package/dist/components/checkbox/checkbox.js +6 -6
  669. package/dist/components/chip/chip.component.js +2 -2
  670. package/dist/components/chip/chip.js +3 -3
  671. package/dist/components/combobox/combobox.component.d.ts +1 -4
  672. package/dist/components/combobox/combobox.component.js +2 -2
  673. package/dist/components/combobox/combobox.js +3 -3
  674. package/dist/components/data-access/data-access.component.d.ts +3 -2
  675. package/dist/components/data-access/data-access.component.js +22 -24
  676. package/dist/components/data-access/data-access.controller.js +3 -3
  677. package/dist/components/data-access/data-access.js +23 -25
  678. package/dist/components/data-access/data-access.styles.js +1 -1
  679. package/dist/components/data-grid/data-grid.component.js +3 -3
  680. package/dist/components/data-grid/data-grid.js +4 -4
  681. package/dist/components/data-rods/data-rods.component.js +31 -31
  682. package/dist/components/data-rods/data-rods.js +32 -32
  683. package/dist/components/data-subsetter/data-subsetter.component.d.ts +1 -2
  684. package/dist/components/data-subsetter/data-subsetter.component.js +39 -39
  685. package/dist/components/data-subsetter/data-subsetter.controller.d.ts +1 -3
  686. package/dist/components/data-subsetter/data-subsetter.controller.js +3 -3
  687. package/dist/components/data-subsetter/data-subsetter.js +40 -40
  688. package/dist/components/data-subsetter/data-subsetter.styles.js +1 -1
  689. package/dist/components/data-subsetter-history/data-subsetter-history.component.js +40 -40
  690. package/dist/components/data-subsetter-history/data-subsetter-history.js +41 -41
  691. package/dist/components/date-picker/date-picker.component.d.ts +0 -4
  692. package/dist/components/date-picker/date-picker.component.js +10 -10
  693. package/dist/components/date-picker/date-picker.js +11 -11
  694. package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
  695. package/dist/components/date-range-slider/date-range-slider.js +3 -3
  696. package/dist/components/dialog/dialog.component.js +8 -8
  697. package/dist/components/dialog/dialog.js +9 -9
  698. package/dist/components/dialog/dialog.styles.js +1 -1
  699. package/dist/components/divider/divider.component.js +2 -2
  700. package/dist/components/divider/divider.js +3 -3
  701. package/dist/components/dropdown/dropdown.component.js +3 -3
  702. package/dist/components/dropdown/dropdown.js +4 -4
  703. package/dist/components/earthdata-login/earthdata-login.component.js +12 -12
  704. package/dist/components/earthdata-login/earthdata-login.js +13 -13
  705. package/dist/components/file-upload/file-upload.component.js +2 -2
  706. package/dist/components/file-upload/file-upload.js +3 -3
  707. package/dist/components/icon/icon.component.js +3 -3
  708. package/dist/components/icon/icon.js +4 -4
  709. package/dist/components/input/input.component.js +5 -5
  710. package/dist/components/input/input.js +6 -6
  711. package/dist/components/loader/loader.component.js +2 -2
  712. package/dist/components/loader/loader.js +3 -3
  713. package/dist/components/login/login.component.js +10 -10
  714. package/dist/components/login/login.js +11 -11
  715. package/dist/components/map/leaflet-utils.d.ts +1 -1
  716. package/dist/components/map/map.component.js +2 -2
  717. package/dist/components/map/map.js +3 -3
  718. package/dist/components/menu/menu.component.js +2 -2
  719. package/dist/components/menu/menu.js +3 -3
  720. package/dist/components/menu-item/menu-item.component.js +7 -7
  721. package/dist/components/menu-item/menu-item.js +8 -8
  722. package/dist/components/option/option.component.js +4 -4
  723. package/dist/components/option/option.js +5 -5
  724. package/dist/components/pagination/pagination.component.js +4 -4
  725. package/dist/components/pagination/pagination.js +5 -5
  726. package/dist/components/plot/plot.component.js +2 -2
  727. package/dist/components/plot/plot.js +3 -3
  728. package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  729. package/dist/components/plot-toolbar/plot-toolbar.component.d.ts +8 -0
  730. package/dist/components/plot-toolbar/plot-toolbar.component.js +12 -12
  731. package/dist/components/plot-toolbar/plot-toolbar.controller.js +3 -3
  732. package/dist/components/plot-toolbar/plot-toolbar.js +13 -13
  733. package/dist/components/plot-toolbar/plot-toolbar.styles.js +1 -1
  734. package/dist/components/popup/popup.component.js +2 -2
  735. package/dist/components/popup/popup.js +3 -3
  736. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  737. package/dist/components/progress-bar/progress-bar.js +3 -3
  738. package/dist/components/radio/radio.component.js +2 -2
  739. package/dist/components/radio/radio.js +3 -3
  740. package/dist/components/radio-group/radio-group.component.js +2 -2
  741. package/dist/components/radio-group/radio-group.js +3 -3
  742. package/dist/components/scroll-hint/scroll-hint.component.js +4 -4
  743. package/dist/components/scroll-hint/scroll-hint.js +5 -5
  744. package/dist/components/select/select.component.js +8 -8
  745. package/dist/components/select/select.js +9 -9
  746. package/dist/components/site-header/site-header.component.js +5 -5
  747. package/dist/components/site-header/site-header.js +5 -5
  748. package/dist/components/site-navigation/site-navigation.component.js +2 -2
  749. package/dist/components/site-navigation/site-navigation.js +2 -2
  750. package/dist/components/skeleton/skeleton.component.js +2 -2
  751. package/dist/components/skeleton/skeleton.js +3 -3
  752. package/dist/components/slider/slider.component.js +2 -2
  753. package/dist/components/slider/slider.js +3 -3
  754. package/dist/components/spatial-picker/spatial-picker.component.js +10 -10
  755. package/dist/components/spatial-picker/spatial-picker.js +11 -11
  756. package/dist/components/status-indicator/status-indicator.component.js +2 -2
  757. package/dist/components/status-indicator/status-indicator.js +3 -3
  758. package/dist/components/stepper/stepper.component.js +2 -2
  759. package/dist/components/stepper/stepper.js +3 -3
  760. package/dist/components/stepper-step/stepper-step.component.js +4 -4
  761. package/dist/components/stepper-step/stepper-step.js +5 -5
  762. package/dist/components/tab/tab.component.js +4 -4
  763. package/dist/components/tab/tab.js +5 -5
  764. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  765. package/dist/components/tab-panel/tab-panel.js +3 -3
  766. package/dist/components/tabs/tabs.component.js +4 -4
  767. package/dist/components/tabs/tabs.js +5 -5
  768. package/dist/components/tag/tag.component.js +4 -4
  769. package/dist/components/tag/tag.js +5 -5
  770. package/dist/components/textarea/textarea.component.js +2 -2
  771. package/dist/components/textarea/textarea.js +3 -3
  772. package/dist/components/time-average-map/time-average-map.component.d.ts +4 -0
  773. package/dist/components/time-average-map/time-average-map.component.js +20 -20
  774. package/dist/components/time-average-map/time-average-map.js +21 -21
  775. package/dist/components/time-series/time-series.component.d.ts +4 -0
  776. package/dist/components/time-series/time-series.component.js +21 -21
  777. package/dist/components/time-series/time-series.controller.d.ts +2 -0
  778. package/dist/components/time-series/time-series.controller.js +1 -1
  779. package/dist/components/time-series/time-series.js +22 -22
  780. package/dist/components/toast/toast.component.js +4 -4
  781. package/dist/components/toast/toast.js +5 -5
  782. package/dist/components/toggle/toggle.component.js +2 -2
  783. package/dist/components/toggle/toggle.js +3 -3
  784. package/dist/components/tooltip/tooltip.component.js +3 -3
  785. package/dist/components/tooltip/tooltip.js +4 -4
  786. package/dist/components/variable-combobox/variable-combobox.component.d.ts +1 -4
  787. package/dist/components/variable-combobox/variable-combobox.component.js +8 -8
  788. package/dist/components/variable-combobox/variable-combobox.js +9 -9
  789. package/dist/components/variable-keyword-search/variable-keyword-search.component.d.ts +1 -4
  790. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +11 -11
  791. package/dist/components/variable-keyword-search/variable-keyword-search.controller.js +3 -3
  792. package/dist/components/variable-keyword-search/variable-keyword-search.js +12 -12
  793. package/dist/custom-elements.json +3761 -3571
  794. package/dist/internal/animate.d.ts +3 -3
  795. package/dist/metadata-catalog/cmr-catalog.d.ts +1 -2
  796. package/dist/metadata-catalog/queries.d.ts +0 -1
  797. package/dist/metadata-catalog/types.d.ts +0 -13
  798. package/dist/react/accordion/index.js +6 -6
  799. package/dist/react/alert/index.js +4 -4
  800. package/dist/react/avatar/index.js +6 -6
  801. package/dist/react/badge/index.js +3 -3
  802. package/dist/react/breadcrumb/index.js +3 -3
  803. package/dist/react/breadcrumbs/index.js +3 -3
  804. package/dist/react/browse-variables/index.js +16 -16
  805. package/dist/react/button/index.js +6 -6
  806. package/dist/react/button-group/index.js +3 -3
  807. package/dist/react/caption/index.js +3 -3
  808. package/dist/react/card/index.js +3 -3
  809. package/dist/react/checkbox/index.js +6 -6
  810. package/dist/react/chip/index.js +3 -3
  811. package/dist/react/combobox/index.js +3 -3
  812. package/dist/react/data-access/index.js +23 -25
  813. package/dist/react/data-grid/index.js +4 -4
  814. package/dist/react/data-rods/index.js +32 -32
  815. package/dist/react/data-subsetter/index.js +40 -40
  816. package/dist/react/data-subsetter-history/index.js +41 -41
  817. package/dist/react/date-picker/index.js +11 -11
  818. package/dist/react/date-range-slider/index.js +3 -3
  819. package/dist/react/dialog/index.js +9 -9
  820. package/dist/react/divider/index.js +3 -3
  821. package/dist/react/dropdown/index.js +4 -4
  822. package/dist/react/earthdata-login/index.js +13 -13
  823. package/dist/react/file-upload/index.js +3 -3
  824. package/dist/react/icon/index.js +4 -4
  825. package/dist/react/index.d.ts +12 -12
  826. package/dist/react/index.js +187 -187
  827. package/dist/react/input/index.js +6 -6
  828. package/dist/react/loader/index.js +3 -3
  829. package/dist/react/login/index.js +11 -11
  830. package/dist/react/map/index.js +3 -3
  831. package/dist/react/menu/index.js +3 -3
  832. package/dist/react/menu-item/index.js +8 -8
  833. package/dist/react/option/index.js +5 -5
  834. package/dist/react/pagination/index.js +5 -5
  835. package/dist/react/plot/index.js +3 -3
  836. package/dist/react/plot-toolbar/index.js +13 -13
  837. package/dist/react/popup/index.js +3 -3
  838. package/dist/react/progress-bar/index.js +3 -3
  839. package/dist/react/radio/index.js +3 -3
  840. package/dist/react/radio-group/index.js +3 -3
  841. package/dist/react/scroll-hint/index.js +5 -5
  842. package/dist/react/select/index.js +9 -9
  843. package/dist/react/site-header/index.js +6 -6
  844. package/dist/react/site-navigation/index.js +3 -3
  845. package/dist/react/skeleton/index.js +3 -3
  846. package/dist/react/slider/index.js +3 -3
  847. package/dist/react/spatial-picker/index.js +11 -11
  848. package/dist/react/status-indicator/index.js +3 -3
  849. package/dist/react/stepper/index.js +3 -3
  850. package/dist/react/stepper-step/index.js +5 -5
  851. package/dist/react/tab/index.js +5 -5
  852. package/dist/react/tab-panel/index.js +3 -3
  853. package/dist/react/tabs/index.js +5 -5
  854. package/dist/react/tag/index.js +5 -5
  855. package/dist/react/textarea/index.js +3 -3
  856. package/dist/react/time-average-map/index.js +21 -21
  857. package/dist/react/time-series/index.js +22 -22
  858. package/dist/react/toast/index.js +5 -5
  859. package/dist/react/toggle/index.js +3 -3
  860. package/dist/react/tooltip/index.js +4 -4
  861. package/dist/react/variable-combobox/index.js +9 -9
  862. package/dist/react/variable-keyword-search/index.js +12 -12
  863. package/dist/terra-ui-components.js +171 -171
  864. package/dist/terra_ui_components-0.0.167-py3-none-any.whl +0 -0
  865. package/dist/terra_ui_components-0.0.167.tar.gz +0 -0
  866. package/dist/types/vue/index.d.ts +672 -660
  867. package/dist/utilities/mimetypes.d.ts +1 -1
  868. package/dist/utilities/mimetypes.js +1 -1
  869. package/dist/vscode.html-custom-data.json +426 -420
  870. package/dist/web-types.json +1843 -1819
  871. package/package.json +1 -1
  872. package/cdn/chunks/chunk.22JAM2GR.js +0 -149
  873. package/cdn/chunks/chunk.2KSTLEEW.js +0 -19
  874. package/cdn/chunks/chunk.2MOKVZJ5.js +0 -110
  875. package/cdn/chunks/chunk.2MRTLI7C.js +0 -29
  876. package/cdn/chunks/chunk.2OYHOPUN.js +0 -29
  877. package/cdn/chunks/chunk.2W6MOIKV.js +0 -36
  878. package/cdn/chunks/chunk.2ZAILZIZ.js +0 -29
  879. package/cdn/chunks/chunk.34GKSDDH.js +0 -29
  880. package/cdn/chunks/chunk.35NWYWPA.js +0 -610
  881. package/cdn/chunks/chunk.3DZICDY5.js +0 -19
  882. package/cdn/chunks/chunk.3EEC7I6T.js +0 -77
  883. package/cdn/chunks/chunk.3HQ5B2XG.js +0 -60
  884. package/cdn/chunks/chunk.3KF4JV5X.js +0 -19
  885. package/cdn/chunks/chunk.3OCLA6PR.js +0 -113
  886. package/cdn/chunks/chunk.3PYSUHMX.js +0 -74
  887. package/cdn/chunks/chunk.3RYHRIU7.js +0 -47
  888. package/cdn/chunks/chunk.3SO4K6Y3.js +0 -355
  889. package/cdn/chunks/chunk.3T7254VH.js +0 -1002
  890. package/cdn/chunks/chunk.3X2FJVEK.js +0 -99
  891. package/cdn/chunks/chunk.3YIIQKB4.js +0 -29
  892. package/cdn/chunks/chunk.4E526L3E.js +0 -29
  893. package/cdn/chunks/chunk.4JULN6G5.js +0 -29
  894. package/cdn/chunks/chunk.56M3T4SS.js +0 -19
  895. package/cdn/chunks/chunk.5RFPNO6G.js +0 -19
  896. package/cdn/chunks/chunk.5RYT4QNM.js +0 -157
  897. package/cdn/chunks/chunk.5VTC5O3H.js +0 -29
  898. package/cdn/chunks/chunk.5XLABLQB.js +0 -276
  899. package/cdn/chunks/chunk.66SSQP45.js +0 -19
  900. package/cdn/chunks/chunk.67XHQN22.js +0 -19
  901. package/cdn/chunks/chunk.6JBKCS52.js +0 -83
  902. package/cdn/chunks/chunk.6JIAMAMY.js +0 -29
  903. package/cdn/chunks/chunk.6TBKK4LM.js +0 -493
  904. package/cdn/chunks/chunk.6Y4YTK5P.js +0 -238
  905. package/cdn/chunks/chunk.77XDQUES.js +0 -19
  906. package/cdn/chunks/chunk.7FSPBN74.js +0 -99
  907. package/cdn/chunks/chunk.7PS6V6WS.js +0 -1966
  908. package/cdn/chunks/chunk.7SUZRUNK.js +0 -19
  909. package/cdn/chunks/chunk.7T52ILDL.js +0 -599
  910. package/cdn/chunks/chunk.7VUN6GFK.js +0 -29
  911. package/cdn/chunks/chunk.AFC2HLIY.js +0 -19
  912. package/cdn/chunks/chunk.AOBU6O57.js +0 -990
  913. package/cdn/chunks/chunk.AQ3JLCWN.js +0 -165
  914. package/cdn/chunks/chunk.ATCGQBQH.js +0 -19
  915. package/cdn/chunks/chunk.B3EEU2CI.js +0 -29
  916. package/cdn/chunks/chunk.B4TQIGEX.js +0 -19
  917. package/cdn/chunks/chunk.B526UDNH.js +0 -29
  918. package/cdn/chunks/chunk.BFVSGVAT.js +0 -19
  919. package/cdn/chunks/chunk.BJF5R6JW.js +0 -190
  920. package/cdn/chunks/chunk.BMK7DPMC.js +0 -19
  921. package/cdn/chunks/chunk.BNPVRBVC.js +0 -123
  922. package/cdn/chunks/chunk.BPUKB6TK.js +0 -29
  923. package/cdn/chunks/chunk.BRIHWEDS.js +0 -29
  924. package/cdn/chunks/chunk.BUGYJIDA.js +0 -29
  925. package/cdn/chunks/chunk.BY3XMPVV.js +0 -731
  926. package/cdn/chunks/chunk.C4QTAT3W.js +0 -32
  927. package/cdn/chunks/chunk.C7BHHMPD.js +0 -29
  928. package/cdn/chunks/chunk.CCYPCKYP.js +0 -29
  929. package/cdn/chunks/chunk.CE7S2HSD.js +0 -19
  930. package/cdn/chunks/chunk.CHP6L4IZ.js +0 -29
  931. package/cdn/chunks/chunk.CNFKSV5Y.js +0 -41
  932. package/cdn/chunks/chunk.CNQ5DP2Y.js +0 -19
  933. package/cdn/chunks/chunk.CR32YRI3.js +0 -32
  934. package/cdn/chunks/chunk.CV3BFVNC.js +0 -224
  935. package/cdn/chunks/chunk.DBV4CPVA.js +0 -93
  936. package/cdn/chunks/chunk.DKXKWPJK.js +0 -189
  937. package/cdn/chunks/chunk.DLQNZ2FX.js +0 -201
  938. package/cdn/chunks/chunk.DQKC3KIY.js +0 -19
  939. package/cdn/chunks/chunk.DVUHMHS7.js +0 -77
  940. package/cdn/chunks/chunk.DYNAESKX.js +0 -32
  941. package/cdn/chunks/chunk.DZJULA3U.js +0 -33858
  942. package/cdn/chunks/chunk.EEBXXJ5S.js +0 -19
  943. package/cdn/chunks/chunk.EGTBQ75C.js +0 -279
  944. package/cdn/chunks/chunk.ERLTY6RD.js +0 -32
  945. package/cdn/chunks/chunk.ERM35NF4.js +0 -93
  946. package/cdn/chunks/chunk.ESRB43Y5.js +0 -616
  947. package/cdn/chunks/chunk.F4EH5N56.js +0 -33
  948. package/cdn/chunks/chunk.FLBSTQ3K.js +0 -19
  949. package/cdn/chunks/chunk.FPAJGJR7.js +0 -35
  950. package/cdn/chunks/chunk.FQMP346K.js +0 -19
  951. package/cdn/chunks/chunk.FXITFED3.js +0 -37
  952. package/cdn/chunks/chunk.FXM6K5HM.js +0 -217
  953. package/cdn/chunks/chunk.G6Z24R6Y.js +0 -19
  954. package/cdn/chunks/chunk.GCKUWBFX.js +0 -477
  955. package/cdn/chunks/chunk.GEBLYMYM.js +0 -264
  956. package/cdn/chunks/chunk.GN2ZQBKO.js +0 -34
  957. package/cdn/chunks/chunk.HFTGBEXB.js +0 -188
  958. package/cdn/chunks/chunk.HHPVOMGD.js +0 -278
  959. package/cdn/chunks/chunk.HPJ222W5.js +0 -33
  960. package/cdn/chunks/chunk.HV5AHGSZ.js +0 -288
  961. package/cdn/chunks/chunk.HXT3MQZB.js +0 -86
  962. package/cdn/chunks/chunk.HYTFGYES.js +0 -524
  963. package/cdn/chunks/chunk.HZLKJ66W.js +0 -29
  964. package/cdn/chunks/chunk.I6RAXH53.js +0 -19
  965. package/cdn/chunks/chunk.IJQLOBAC.js +0 -132
  966. package/cdn/chunks/chunk.ISYLWUTX.js +0 -19
  967. package/cdn/chunks/chunk.ITCNMUXT.js +0 -56
  968. package/cdn/chunks/chunk.IWVNVNRD.js +0 -134
  969. package/cdn/chunks/chunk.J3Z3NPJ4.js +0 -134
  970. package/cdn/chunks/chunk.J6VLXGTF.js +0 -36
  971. package/cdn/chunks/chunk.J7I3DOXG.js +0 -272
  972. package/cdn/chunks/chunk.JBRXER73.js +0 -19
  973. package/cdn/chunks/chunk.JGEML6NJ.js +0 -30
  974. package/cdn/chunks/chunk.JK27J74D.js +0 -62
  975. package/cdn/chunks/chunk.K7YIOV7T.js +0 -19
  976. package/cdn/chunks/chunk.KCZYTXMI.js +0 -39
  977. package/cdn/chunks/chunk.KD6G7ERX.js +0 -68
  978. package/cdn/chunks/chunk.KGCLCQ7X.js +0 -60
  979. package/cdn/chunks/chunk.KILIHVMF.js +0 -32
  980. package/cdn/chunks/chunk.KMCDDWE5.js +0 -35
  981. package/cdn/chunks/chunk.KU5FXVEU.js +0 -19
  982. package/cdn/chunks/chunk.KWBRNY25.js +0 -19
  983. package/cdn/chunks/chunk.KXBA6WIZ.js +0 -904
  984. package/cdn/chunks/chunk.L2NSE4OV.js +0 -19
  985. package/cdn/chunks/chunk.L4G7AM4D.js +0 -19
  986. package/cdn/chunks/chunk.LCNNIIGG.js +0 -372
  987. package/cdn/chunks/chunk.LE77IFIT.js +0 -29
  988. package/cdn/chunks/chunk.LJV444BY.js +0 -19
  989. package/cdn/chunks/chunk.LPUGYJQ6.js +0 -19
  990. package/cdn/chunks/chunk.MGD4I7TI.js +0 -33
  991. package/cdn/chunks/chunk.MGVK6RY6.js +0 -19
  992. package/cdn/chunks/chunk.MSKQVFVO.js +0 -36
  993. package/cdn/chunks/chunk.MYXC7VZK.js +0 -19
  994. package/cdn/chunks/chunk.N2ZLSKRS.js +0 -19
  995. package/cdn/chunks/chunk.N7Y6PI75.js +0 -19
  996. package/cdn/chunks/chunk.NBYFCLIA.js +0 -230
  997. package/cdn/chunks/chunk.NCSQNVLT.js +0 -34
  998. package/cdn/chunks/chunk.NKVAAAFV.js +0 -19
  999. package/cdn/chunks/chunk.NLM2F46S.js +0 -37
  1000. package/cdn/chunks/chunk.NQ6WTKJ5.js +0 -39
  1001. package/cdn/chunks/chunk.NRJZH24F.js +0 -19
  1002. package/cdn/chunks/chunk.NT5A6ZHT.js +0 -136
  1003. package/cdn/chunks/chunk.NYZK4RJY.js +0 -19
  1004. package/cdn/chunks/chunk.O22V5PWM.js +0 -35
  1005. package/cdn/chunks/chunk.O45AJCZN.js +0 -32
  1006. package/cdn/chunks/chunk.O5BUI6HD.js +0 -499
  1007. package/cdn/chunks/chunk.OBIYKNGD.js +0 -36
  1008. package/cdn/chunks/chunk.OE32JNHX.js +0 -2290
  1009. package/cdn/chunks/chunk.OE6QBUL3.js +0 -151
  1010. package/cdn/chunks/chunk.OIBHUA2X.js +0 -33
  1011. package/cdn/chunks/chunk.ONZYR5V7.js +0 -19
  1012. package/cdn/chunks/chunk.OTBLJV2P.js +0 -19
  1013. package/cdn/chunks/chunk.OWBCL4YY.js +0 -92
  1014. package/cdn/chunks/chunk.OWOOYBL5.js +0 -621
  1015. package/cdn/chunks/chunk.OYDCM6EP.js +0 -19
  1016. package/cdn/chunks/chunk.P4OWV3H2.js +0 -412
  1017. package/cdn/chunks/chunk.PLP3BQV2.js +0 -29
  1018. package/cdn/chunks/chunk.PMUKNJQB.js +0 -357
  1019. package/cdn/chunks/chunk.PUDKOG7O.js +0 -19
  1020. package/cdn/chunks/chunk.PVPOTYBO.js +0 -29
  1021. package/cdn/chunks/chunk.Q67OTTO2.js +0 -145
  1022. package/cdn/chunks/chunk.QB7PKQGX.js +0 -32
  1023. package/cdn/chunks/chunk.QHPWQ6EU.js +0 -234
  1024. package/cdn/chunks/chunk.QIALAQUY.js +0 -19
  1025. package/cdn/chunks/chunk.QMAOK6H7.js +0 -287
  1026. package/cdn/chunks/chunk.QN47HJMJ.js +0 -99
  1027. package/cdn/chunks/chunk.QPO4FJDV.js +0 -19
  1028. package/cdn/chunks/chunk.QTCDR4K5.js +0 -19
  1029. package/cdn/chunks/chunk.R2CKSIEB.js +0 -302
  1030. package/cdn/chunks/chunk.R3ELIEXH.js +0 -158
  1031. package/cdn/chunks/chunk.RESQSJZW.js +0 -19
  1032. package/cdn/chunks/chunk.RLB5ZGN3.js +0 -2243
  1033. package/cdn/chunks/chunk.RPIMP5VU.js +0 -29
  1034. package/cdn/chunks/chunk.RRIBXI6T.js +0 -662
  1035. package/cdn/chunks/chunk.RVVT6D2O.js +0 -32
  1036. package/cdn/chunks/chunk.RWRHKJV7.js +0 -29
  1037. package/cdn/chunks/chunk.S6HRHLBY.js +0 -29
  1038. package/cdn/chunks/chunk.SBRPQN46.js +0 -239
  1039. package/cdn/chunks/chunk.SBV4CE52.js +0 -293
  1040. package/cdn/chunks/chunk.SCVPK7ZI.js +0 -19
  1041. package/cdn/chunks/chunk.SGVXOEMD.js +0 -359
  1042. package/cdn/chunks/chunk.SOL4KQRB.js +0 -32
  1043. package/cdn/chunks/chunk.STIIRCSR.js +0 -32
  1044. package/cdn/chunks/chunk.SVWVRXE5.js +0 -19
  1045. package/cdn/chunks/chunk.T4EQTEDI.js +0 -79
  1046. package/cdn/chunks/chunk.TAVW4BSX.js +0 -231
  1047. package/cdn/chunks/chunk.TCVQUZH3.js +0 -19
  1048. package/cdn/chunks/chunk.TGA7THVX.js +0 -32
  1049. package/cdn/chunks/chunk.TLGXE7WV.js +0 -52
  1050. package/cdn/chunks/chunk.TO3IZDTY.js +0 -435
  1051. package/cdn/chunks/chunk.TU5LEWLH.js +0 -78
  1052. package/cdn/chunks/chunk.UCYLBWS6.js +0 -19
  1053. package/cdn/chunks/chunk.UGVKO2F3.js +0 -29
  1054. package/cdn/chunks/chunk.UMXEOKQR.js +0 -29
  1055. package/cdn/chunks/chunk.UQ3KQHGM.js +0 -29
  1056. package/cdn/chunks/chunk.UXW4BGB3.js +0 -35
  1057. package/cdn/chunks/chunk.UZO2S5ZV.js +0 -55346
  1058. package/cdn/chunks/chunk.UZUUSYPD.js +0 -19
  1059. package/cdn/chunks/chunk.V5RXILK4.js +0 -19
  1060. package/cdn/chunks/chunk.VKGMZPCA.js +0 -19
  1061. package/cdn/chunks/chunk.VMITYTMW.js +0 -29
  1062. package/cdn/chunks/chunk.VOHWSUS6.js +0 -19
  1063. package/cdn/chunks/chunk.VRFTM5EZ.js +0 -33
  1064. package/cdn/chunks/chunk.VW4JRARC.js +0 -19
  1065. package/cdn/chunks/chunk.W2L4LFHP.js +0 -538
  1066. package/cdn/chunks/chunk.WIHIKDOO.js +0 -19
  1067. package/cdn/chunks/chunk.WIVXANPA.js +0 -1056
  1068. package/cdn/chunks/chunk.WJ4RUTUN.js +0 -19
  1069. package/cdn/chunks/chunk.WUS3RA7A.js +0 -259
  1070. package/cdn/chunks/chunk.XHDWZUS3.js +0 -19
  1071. package/cdn/chunks/chunk.XXKZMY2K.js +0 -19
  1072. package/cdn/chunks/chunk.XZVBKL46.js +0 -104
  1073. package/cdn/chunks/chunk.YI5QUNXX.js +0 -19
  1074. package/cdn/chunks/chunk.YIJM5IYA.js +0 -32
  1075. package/cdn/chunks/chunk.YIYWTQKE.js +0 -32
  1076. package/cdn/chunks/chunk.YLEDVKIQ.js +0 -155
  1077. package/cdn/chunks/chunk.YQWDPYX2.js +0 -71
  1078. package/cdn/chunks/chunk.YTSNCCCN.js +0 -752
  1079. package/cdn/chunks/chunk.YTZMHMX3.js +0 -29
  1080. package/cdn/chunks/chunk.Z2DAFDC2.js +0 -49
  1081. package/cdn/chunks/chunk.Z4LEEFSD.js +0 -19
  1082. package/cdn/chunks/chunk.ZGA7FO7P.js +0 -32
  1083. package/dist/chunks/chunk.2HPCVNQL.js +0 -21
  1084. package/dist/chunks/chunk.2OT2UXF4.js +0 -11
  1085. package/dist/chunks/chunk.32NG2VNQ.js +0 -11
  1086. package/dist/chunks/chunk.36JXOS6Y.js +0 -21
  1087. package/dist/chunks/chunk.3CCSEGFN.js +0 -21
  1088. package/dist/chunks/chunk.3GSDEVDN.js +0 -52
  1089. package/dist/chunks/chunk.3JAVPASP.js +0 -609
  1090. package/dist/chunks/chunk.3NOU5S4K.js +0 -91
  1091. package/dist/chunks/chunk.3RMARKUW.js +0 -24
  1092. package/dist/chunks/chunk.3SVUDGSO.js +0 -11
  1093. package/dist/chunks/chunk.3WCZNEVP.js +0 -52
  1094. package/dist/chunks/chunk.3XVU2CMW.js +0 -25
  1095. package/dist/chunks/chunk.42RWQXVF.js +0 -11
  1096. package/dist/chunks/chunk.44B2QB57.js +0 -11
  1097. package/dist/chunks/chunk.44C2RMYG.js +0 -345
  1098. package/dist/chunks/chunk.4KI6GHHX.js +0 -11
  1099. package/dist/chunks/chunk.4TO6RQDT.js +0 -11
  1100. package/dist/chunks/chunk.4UBHRRUU.js +0 -220
  1101. package/dist/chunks/chunk.4YCY2DV3.js +0 -21
  1102. package/dist/chunks/chunk.4YYCBOVI.js +0 -11
  1103. package/dist/chunks/chunk.524NKNPG.js +0 -39
  1104. package/dist/chunks/chunk.5EJAFKZ7.js +0 -21
  1105. package/dist/chunks/chunk.5V4FAK7C.js +0 -11
  1106. package/dist/chunks/chunk.5YSU3HL7.js +0 -33
  1107. package/dist/chunks/chunk.64SWCNHI.js +0 -262
  1108. package/dist/chunks/chunk.6AVQFT4P.js +0 -48
  1109. package/dist/chunks/chunk.6ITSS4GH.js +0 -11
  1110. package/dist/chunks/chunk.6KCKKNYD.js +0 -48
  1111. package/dist/chunks/chunk.6QSTETYN.js +0 -11
  1112. package/dist/chunks/chunk.6TW6DP7W.js +0 -11
  1113. package/dist/chunks/chunk.74HB6B26.js +0 -27
  1114. package/dist/chunks/chunk.7FZCDHMN.js +0 -11
  1115. package/dist/chunks/chunk.7MXXFSLC.js +0 -24
  1116. package/dist/chunks/chunk.7QOQXG7V.js +0 -280
  1117. package/dist/chunks/chunk.A54SXMF6.js +0 -11
  1118. package/dist/chunks/chunk.A75XMZQF.js +0 -91
  1119. package/dist/chunks/chunk.A7AZEOWS.js +0 -21
  1120. package/dist/chunks/chunk.ABJSJSVR.js +0 -451
  1121. package/dist/chunks/chunk.ACW2XVAY.js +0 -29
  1122. package/dist/chunks/chunk.AJY5IKAP.js +0 -596
  1123. package/dist/chunks/chunk.ANAQ3U23.js +0 -11
  1124. package/dist/chunks/chunk.ANLBJK37.js +0 -25
  1125. package/dist/chunks/chunk.AYMNVM3K.js +0 -422
  1126. package/dist/chunks/chunk.AYXVVA52.js +0 -24
  1127. package/dist/chunks/chunk.B7H4U76E.js +0 -21
  1128. package/dist/chunks/chunk.BBCOXXME.js +0 -75
  1129. package/dist/chunks/chunk.BENDF532.js +0 -11
  1130. package/dist/chunks/chunk.BRDHFOSA.js +0 -11
  1131. package/dist/chunks/chunk.C24Z45OK.js +0 -58
  1132. package/dist/chunks/chunk.C5ZKA7VW.js +0 -25
  1133. package/dist/chunks/chunk.CBMMWN53.js +0 -11
  1134. package/dist/chunks/chunk.CIDFDZRW.js +0 -230
  1135. package/dist/chunks/chunk.CTUS2BRJ.js +0 -21
  1136. package/dist/chunks/chunk.CVM4QQIH.js +0 -11
  1137. package/dist/chunks/chunk.CWP2OCTX.js +0 -28
  1138. package/dist/chunks/chunk.DBWF2K7N.js +0 -24
  1139. package/dist/chunks/chunk.DFOY2RXN.js +0 -121
  1140. package/dist/chunks/chunk.DKRMDAXH.js +0 -21
  1141. package/dist/chunks/chunk.DLG3ISTI.js +0 -345
  1142. package/dist/chunks/chunk.DO6GYJM7.js +0 -344
  1143. package/dist/chunks/chunk.DS2GXZ4J.js +0 -64
  1144. package/dist/chunks/chunk.EFW6UAEH.js +0 -11
  1145. package/dist/chunks/chunk.ENBFHQ3L.js +0 -291
  1146. package/dist/chunks/chunk.EPPQF7KD.js +0 -24
  1147. package/dist/chunks/chunk.EQ6VDEGW.js +0 -11
  1148. package/dist/chunks/chunk.ET4GP57T.js +0 -213
  1149. package/dist/chunks/chunk.ETNOCBXV.js +0 -259
  1150. package/dist/chunks/chunk.F5A3CI7J.js +0 -21
  1151. package/dist/chunks/chunk.F6YXPWWD.js +0 -11
  1152. package/dist/chunks/chunk.FDY3GDIO.js +0 -21
  1153. package/dist/chunks/chunk.FGIV23AN.js +0 -29
  1154. package/dist/chunks/chunk.FKS74UUE.js +0 -21
  1155. package/dist/chunks/chunk.FQFJCEW7.js +0 -402
  1156. package/dist/chunks/chunk.FQJUCC6Z.js +0 -180
  1157. package/dist/chunks/chunk.FTQDFGAR.js +0 -28
  1158. package/dist/chunks/chunk.GRBQETKI.js +0 -21
  1159. package/dist/chunks/chunk.GT6B4BF3.js +0 -11
  1160. package/dist/chunks/chunk.GTMUZKD3.js +0 -11
  1161. package/dist/chunks/chunk.HARVA2IP.js +0 -21
  1162. package/dist/chunks/chunk.HK5E3MB4.js +0 -11
  1163. package/dist/chunks/chunk.HOMKMLDI.js +0 -986
  1164. package/dist/chunks/chunk.HSGP3NJV.js +0 -112
  1165. package/dist/chunks/chunk.HUDMN5IZ.js +0 -11
  1166. package/dist/chunks/chunk.HWE36KUL.js +0 -214
  1167. package/dist/chunks/chunk.IJQWDDTY.js +0 -21
  1168. package/dist/chunks/chunk.IKMWLDCT.js +0 -21
  1169. package/dist/chunks/chunk.IP6RYMMF.js +0 -11
  1170. package/dist/chunks/chunk.IW47OQDJ.js +0 -27
  1171. package/dist/chunks/chunk.IYF6RYNW.js +0 -11
  1172. package/dist/chunks/chunk.JCQVYTHW.js +0 -21
  1173. package/dist/chunks/chunk.JHMPD5S3.js +0 -11
  1174. package/dist/chunks/chunk.JK62FCBM.js +0 -277
  1175. package/dist/chunks/chunk.JTJTZNBC.js +0 -11
  1176. package/dist/chunks/chunk.K66DWQG7.js +0 -474
  1177. package/dist/chunks/chunk.K6WBYPK4.js +0 -2228
  1178. package/dist/chunks/chunk.K7B5G7VZ.js +0 -484
  1179. package/dist/chunks/chunk.K7QSTEOZ.js +0 -11
  1180. package/dist/chunks/chunk.KTF6ZVQC.js +0 -247
  1181. package/dist/chunks/chunk.KW76EJFU.js +0 -2277
  1182. package/dist/chunks/chunk.LENFD4DV.js +0 -844
  1183. package/dist/chunks/chunk.LIJJ2CVM.js +0 -21
  1184. package/dist/chunks/chunk.LPCY54WK.js +0 -11
  1185. package/dist/chunks/chunk.LPYTOTCB.js +0 -124
  1186. package/dist/chunks/chunk.MFCOSXFW.js +0 -21
  1187. package/dist/chunks/chunk.MGDJ2LD5.js +0 -220
  1188. package/dist/chunks/chunk.MICLMHWK.js +0 -11
  1189. package/dist/chunks/chunk.MNZZPXWB.js +0 -11
  1190. package/dist/chunks/chunk.MQVNIT4S.js +0 -973
  1191. package/dist/chunks/chunk.MTAR5BJL.js +0 -153
  1192. package/dist/chunks/chunk.MZ4FDVFI.js +0 -139
  1193. package/dist/chunks/chunk.N363OJZ2.js +0 -89
  1194. package/dist/chunks/chunk.NLK5RRJT.js +0 -11
  1195. package/dist/chunks/chunk.NUD2D7OX.js +0 -11
  1196. package/dist/chunks/chunk.NXYNTUNF.js +0 -24
  1197. package/dist/chunks/chunk.NY5YVZRV.js +0 -11
  1198. package/dist/chunks/chunk.NZNBKBV5.js +0 -11
  1199. package/dist/chunks/chunk.OHLDTKQU.js +0 -21
  1200. package/dist/chunks/chunk.OIS2I2WX.js +0 -11
  1201. package/dist/chunks/chunk.OKCQAPIO.js +0 -11
  1202. package/dist/chunks/chunk.ON3YVM46.js +0 -138
  1203. package/dist/chunks/chunk.ORHU4TOP.js +0 -25
  1204. package/dist/chunks/chunk.OVF3LEJ5.js +0 -61
  1205. package/dist/chunks/chunk.OVYETBCA.js +0 -11
  1206. package/dist/chunks/chunk.OYOOZ5CY.js +0 -20
  1207. package/dist/chunks/chunk.PHNX45ET.js +0 -93
  1208. package/dist/chunks/chunk.PNW5CV46.js +0 -11
  1209. package/dist/chunks/chunk.POB3HHX4.js +0 -11
  1210. package/dist/chunks/chunk.PUQIBC6P.js +0 -525
  1211. package/dist/chunks/chunk.PX7JSWL7.js +0 -67
  1212. package/dist/chunks/chunk.QHDDMY67.js +0 -21
  1213. package/dist/chunks/chunk.QP5XM7WT.js +0 -720
  1214. package/dist/chunks/chunk.QQMW6GT2.js +0 -1045
  1215. package/dist/chunks/chunk.QQWZTESV.js +0 -21
  1216. package/dist/chunks/chunk.QVJT4Q7B.js +0 -24
  1217. package/dist/chunks/chunk.QXGAOOH7.js +0 -206
  1218. package/dist/chunks/chunk.R4KWN2HX.js +0 -443
  1219. package/dist/chunks/chunk.RBEXUNHZ.js +0 -581
  1220. package/dist/chunks/chunk.REHHQZMY.js +0 -11
  1221. package/dist/chunks/chunk.RJRVYB3F.js +0 -83
  1222. package/dist/chunks/chunk.RNNZRROI.js +0 -85
  1223. package/dist/chunks/chunk.RQHF447H.js +0 -123
  1224. package/dist/chunks/chunk.RWTN6VR5.js +0 -11
  1225. package/dist/chunks/chunk.RYP4SV66.js +0 -11
  1226. package/dist/chunks/chunk.S5JREWKQ.js +0 -21
  1227. package/dist/chunks/chunk.S65PVGZW.js +0 -11
  1228. package/dist/chunks/chunk.SJVXFIWD.js +0 -43
  1229. package/dist/chunks/chunk.SMIEZHJ2.js +0 -11
  1230. package/dist/chunks/chunk.SWGKKZUD.js +0 -27
  1231. package/dist/chunks/chunk.SYBFIXLK.js +0 -11
  1232. package/dist/chunks/chunk.SZAADZKK.js +0 -252
  1233. package/dist/chunks/chunk.T7XC2TPO.js +0 -43
  1234. package/dist/chunks/chunk.TFN2HUUW.js +0 -78
  1235. package/dist/chunks/chunk.TJ5S7Y7N.js +0 -11
  1236. package/dist/chunks/chunk.TKTDW7K4.js +0 -592
  1237. package/dist/chunks/chunk.TXGZZ232.js +0 -26
  1238. package/dist/chunks/chunk.U22BJ3HS.js +0 -24
  1239. package/dist/chunks/chunk.U6JA4K4J.js +0 -24
  1240. package/dist/chunks/chunk.UCXSNYW7.js +0 -24
  1241. package/dist/chunks/chunk.UHIHGVN4.js +0 -31
  1242. package/dist/chunks/chunk.ULEUXMBD.js +0 -731
  1243. package/dist/chunks/chunk.UNJJ4K5X.js +0 -24
  1244. package/dist/chunks/chunk.UNO3VVAK.js +0 -11
  1245. package/dist/chunks/chunk.UU2S72KN.js +0 -30
  1246. package/dist/chunks/chunk.V7PI7GT2.js +0 -21
  1247. package/dist/chunks/chunk.VBCVUNIU.js +0 -67
  1248. package/dist/chunks/chunk.VBWBPTPK.js +0 -230
  1249. package/dist/chunks/chunk.VIBAVNO2.js +0 -11
  1250. package/dist/chunks/chunk.VOGQH6VT.js +0 -28
  1251. package/dist/chunks/chunk.VWZX32FU.js +0 -145
  1252. package/dist/chunks/chunk.VYXIWUES.js +0 -11
  1253. package/dist/chunks/chunk.W52CDXRW.js +0 -11
  1254. package/dist/chunks/chunk.WBEYZIEP.js +0 -24
  1255. package/dist/chunks/chunk.WFDKB6ZX.js +0 -21
  1256. package/dist/chunks/chunk.WHFZNJAZ.js +0 -409
  1257. package/dist/chunks/chunk.WJT6IE7Z.js +0 -28
  1258. package/dist/chunks/chunk.WPBID72S.js +0 -11
  1259. package/dist/chunks/chunk.WPUBNP6J.js +0 -355
  1260. package/dist/chunks/chunk.WUSLL2E3.js +0 -86
  1261. package/dist/chunks/chunk.WWDJTRJH.js +0 -264
  1262. package/dist/chunks/chunk.X4HRSJ4F.js +0 -11
  1263. package/dist/chunks/chunk.XA65IBXV.js +0 -11
  1264. package/dist/chunks/chunk.XB6CG3ZS.js +0 -24
  1265. package/dist/chunks/chunk.XC6HL6VP.js +0 -101
  1266. package/dist/chunks/chunk.XHJJAZ6W.js +0 -11
  1267. package/dist/chunks/chunk.XIFDLBOB.js +0 -25
  1268. package/dist/chunks/chunk.XIXMPQO2.js +0 -21
  1269. package/dist/chunks/chunk.XMGVOXBG.js +0 -11
  1270. package/dist/chunks/chunk.XQHIGAKF.js +0 -1122
  1271. package/dist/chunks/chunk.XQVFPFWL.js +0 -245
  1272. package/dist/chunks/chunk.XYQ5OEQP.js +0 -190
  1273. package/dist/chunks/chunk.YDUPN3OG.js +0 -180
  1274. package/dist/chunks/chunk.YEL7UCDK.js +0 -477
  1275. package/dist/chunks/chunk.YIGP5HKO.js +0 -26
  1276. package/dist/chunks/chunk.YLUFHBYX.js +0 -21
  1277. package/dist/chunks/chunk.YP3AWZ7P.js +0 -11
  1278. package/dist/chunks/chunk.YY5TU7AJ.js +0 -21
  1279. package/dist/chunks/chunk.Z7RT3KHG.js +0 -24
  1280. package/dist/chunks/chunk.ZDDLFJFZ.js +0 -27
  1281. package/dist/chunks/chunk.ZHCDFME3.js +0 -272
  1282. package/dist/chunks/chunk.ZJISEOPZ.js +0 -11
  1283. package/dist/chunks/chunk.ZKLP6636.js +0 -180
  1284. package/dist/chunks/chunk.ZLLSS62V.js +0 -21
  1285. package/dist/chunks/chunk.ZLZJXLHD.js +0 -21
  1286. package/dist/chunks/chunk.ZVEB7QG2.js +0 -143
@@ -1,2290 +0,0 @@
1
- import {
2
- defaultSubsetFileMimeType,
3
- getFriendlyNameForMimeType
4
- } from "./chunk.KCZYTXMI.js";
5
- import {
6
- getNotebook
7
- } from "./chunk.QZA56TJF.js";
8
- import {
9
- TerraLogin
10
- } from "./chunk.7FSPBN74.js";
11
- import {
12
- TerraDialog
13
- } from "./chunk.ESRB43Y5.js";
14
- import {
15
- DataSubsetterController
16
- } from "./chunk.P4OWV3H2.js";
17
- import {
18
- convertVariableEntryIdToGiovanniFormat
19
- } from "./chunk.VHQQMEMZ.js";
20
- import {
21
- data_subsetter_styles_default
22
- } from "./chunk.WIVXANPA.js";
23
- import {
24
- extractHarmonyError
25
- } from "./chunk.JDBB7GR4.js";
26
- import {
27
- AuthController
28
- } from "./chunk.PBKMNUYF.js";
29
- import {
30
- TerraDataAccess,
31
- debounce,
32
- sendDataToJupyterNotebook
33
- } from "./chunk.AOBU6O57.js";
34
- import {
35
- TerraMenuItem
36
- } from "./chunk.CV3BFVNC.js";
37
- import {
38
- TerraMenu
39
- } from "./chunk.OE6QBUL3.js";
40
- import {
41
- TerraDatePicker
42
- } from "./chunk.RLB5ZGN3.js";
43
- import {
44
- TerraSpatialPicker
45
- } from "./chunk.BY3XMPVV.js";
46
- import {
47
- TerraInput
48
- } from "./chunk.35NWYWPA.js";
49
- import {
50
- TerraDropdown
51
- } from "./chunk.W2L4LFHP.js";
52
- import {
53
- TerraLoader
54
- } from "./chunk.NT5A6ZHT.js";
55
- import {
56
- TerraButton
57
- } from "./chunk.GCKUWBFX.js";
58
- import {
59
- s
60
- } from "./chunk.WQPCK3PB.js";
61
- import {
62
- TerraAlert
63
- } from "./chunk.GEBLYMYM.js";
64
- import {
65
- TerraAccordion
66
- } from "./chunk.HXT3MQZB.js";
67
- import {
68
- TerraIcon
69
- } from "./chunk.NBYFCLIA.js";
70
- import {
71
- watch
72
- } from "./chunk.5WMSKURU.js";
73
- import {
74
- TerraElement,
75
- component_styles_default,
76
- e,
77
- n,
78
- r
79
- } from "./chunk.RRIBXI6T.js";
80
- import {
81
- getBasePath
82
- } from "./chunk.STI7JX26.js";
83
- import {
84
- E,
85
- x
86
- } from "./chunk.3ZQGAH53.js";
87
- import {
88
- __decorateClass,
89
- __privateAdd,
90
- __privateGet,
91
- __privateMethod,
92
- __spreadProps,
93
- __spreadValues,
94
- init_buffer,
95
- init_dirname,
96
- init_process
97
- } from "./chunk.CZA6CSBG.js";
98
-
99
- // src/components/data-subsetter/data-subsetter.component.ts
100
- init_dirname();
101
- init_buffer();
102
- init_process();
103
- var _authController, _renderFooterForDialog, renderFooterForDialog_fn, _renderSizeInfo, renderSizeInfo_fn, _renderSubsetOptions, renderSubsetOptions_fn, _renderSearchForCollection, renderSearchForCollection_fn, _renderOutputFormatSelection, renderOutputFormatSelection_fn, _renderDateRangeSelection, renderDateRangeSelection_fn, _handleDateChange, _resetDateRangeSelection, _resetFormatSelection, _getCollectionDateRange, getCollectionDateRange_fn, _handleRegionAccordionToggle, handleRegionAccordionToggle_fn, _renderSpatialSelection, renderSpatialSelection_fn, _handleSpatialChange, _resetSpatialSelection, _renderVariableSelection, renderVariableSelection_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, _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, _isGiovanniFormat, isGiovanniFormat_fn, _getGiovanniValidationError, getGiovanniValidationError_fn;
104
- var TerraDataSubsetter = class extends TerraElement {
105
- constructor() {
106
- super(...arguments);
107
- __privateAdd(this, _renderFooterForDialog);
108
- __privateAdd(this, _renderSizeInfo);
109
- __privateAdd(this, _renderSubsetOptions);
110
- __privateAdd(this, _renderSearchForCollection);
111
- __privateAdd(this, _renderOutputFormatSelection);
112
- __privateAdd(this, _renderDateRangeSelection);
113
- __privateAdd(this, _getCollectionDateRange);
114
- __privateAdd(this, _handleRegionAccordionToggle);
115
- __privateAdd(this, _renderSpatialSelection);
116
- __privateAdd(this, _renderVariableSelection);
117
- __privateAdd(this, _filterVariableTree);
118
- __privateAdd(this, _handleVariableFilterChange);
119
- __privateAdd(this, _buildVariableTree);
120
- __privateAdd(this, _renderVariableTree);
121
- __privateAdd(this, _getAllGroupPaths);
122
- __privateAdd(this, _toggleGroupExpand);
123
- __privateAdd(this, _toggleExpandCollapseAll);
124
- __privateAdd(this, _toggleVariableSelection);
125
- __privateAdd(this, _markFieldTouched);
126
- __privateAdd(this, _renderJobStatus);
127
- __privateAdd(this, _renderSelectedParams);
128
- __privateAdd(this, _cancelJob);
129
- __privateAdd(this, _getData);
130
- __privateAdd(this, _touchAllFields);
131
- __privateAdd(this, _numberOfFilesFoundEstimate);
132
- __privateAdd(this, _getDocumentationLinks);
133
- __privateAdd(this, _getDataLinks);
134
- __privateAdd(this, _hasAtLeastOneSubsetOption);
135
- __privateAdd(this, _hasSpatialSubset);
136
- __privateAdd(this, _renderJobMessage);
137
- __privateAdd(this, _getJobMessageText);
138
- __privateAdd(this, _estimateJobSize);
139
- __privateAdd(this, _refineParameters);
140
- __privateAdd(this, _backToSubsetOptions);
141
- __privateAdd(this, _viewRunningJob);
142
- __privateAdd(this, _handleDownloadSelect);
143
- __privateAdd(this, _downloadLinksAsTxt);
144
- __privateAdd(this, _downloadPythonScript);
145
- __privateAdd(this, _downloadEarthdataDownload);
146
- __privateAdd(this, _handleJupyterNotebookClick);
147
- __privateAdd(this, _renderAvailableTemporalRangeSection);
148
- __privateAdd(this, _renderAvailableSpatialRangeSection);
149
- __privateAdd(this, _renderDataAccessModeSelection);
150
- __privateAdd(this, _isGiovanniFormat);
151
- __privateAdd(this, _getGiovanniValidationError);
152
- this.showCollectionSearch = true;
153
- this.showHistoryPanel = true;
154
- this.isHistoryView = false;
155
- this.selectedVariables = [];
156
- this.expandedVariableGroups = /* @__PURE__ */ new Set();
157
- this.variableFilterText = "";
158
- this.touchedFields = /* @__PURE__ */ new Set();
159
- this.spatialSelection = null;
160
- this.selectedDateRange = {
161
- startDate: null,
162
- endDate: null
163
- };
164
- this.selectedFormat = defaultSubsetFileMimeType;
165
- this.cancelingGetData = false;
166
- this.selectedTab = "web-links";
167
- this.refineParameters = false;
168
- this.collectionSearchType = "all";
169
- this.collectionSearchLoading = false;
170
- this.collectionLoading = false;
171
- this.collectionAccordionOpen = true;
172
- this.dataAccessMode = "original";
173
- this.controller = new DataSubsetterController(this);
174
- __privateAdd(this, _authController, new AuthController(this));
175
- __privateAdd(this, _handleDateChange, (e2) => {
176
- __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "date");
177
- this.selectedDateRange = __spreadProps(__spreadValues({}, this.selectedDateRange), {
178
- startDate: e2.detail.startDate,
179
- endDate: e2.detail.endDate
180
- });
181
- });
182
- __privateAdd(this, _resetDateRangeSelection, () => {
183
- this.selectedDateRange = { startDate: null, endDate: null };
184
- });
185
- __privateAdd(this, _resetFormatSelection, () => {
186
- var _a, _b;
187
- if ((_b = (_a = this.collectionWithServices) == null ? void 0 : _a.outputFormats) == null ? void 0 : _b.length) {
188
- const netcdfFormat = this.collectionWithServices.outputFormats.find(
189
- (format) => format === "application/x-netcdf4" || format === "application/netcdf"
190
- );
191
- this.selectedFormat = netcdfFormat || this.collectionWithServices.outputFormats[0];
192
- } else {
193
- this.selectedFormat = defaultSubsetFileMimeType;
194
- }
195
- });
196
- __privateAdd(this, _handleSpatialChange, (e2) => {
197
- __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "spatial");
198
- const round2 = (n2) => parseFloat(Number(n2).toFixed(2));
199
- if (e2.detail.type === "bbox" /* BBOX */) {
200
- this.spatialSelection = {
201
- e: round2(e2.detail.bounds.getNorthEast().lng),
202
- n: round2(e2.detail.bounds.getNorthEast().lat),
203
- w: round2(e2.detail.bounds.getSouthWest().lng),
204
- s: round2(e2.detail.bounds.getSouthWest().lat)
205
- };
206
- } else if (e2.detail.type === "point" /* POINT */) {
207
- this.spatialSelection = e2.detail.latLng;
208
- } else {
209
- this.spatialSelection = null;
210
- }
211
- });
212
- __privateAdd(this, _resetSpatialSelection, () => {
213
- this.spatialSelection = null;
214
- });
215
- __privateAdd(this, _resetVariableSelection, () => {
216
- this.selectedVariables = [];
217
- });
218
- }
219
- jobIdChanged() {
220
- if (this.jobId) {
221
- this.controller.fetchJobByID(this.jobId);
222
- this.dataAccessMode = "subset";
223
- }
224
- }
225
- shortNameAndVersionChanged() {
226
- if (this.shortName && this.version) {
227
- this.collectionEntryId = `${this.shortName}_${this.version}`;
228
- }
229
- }
230
- collectionEntryIdChanged() {
231
- if (this.collectionEntryId) {
232
- this.showCollectionSearch = false;
233
- } else {
234
- this.showCollectionSearch = true;
235
- }
236
- }
237
- firstUpdated() {
238
- if (this.collectionEntryId) {
239
- this.showCollectionSearch = false;
240
- }
241
- if (this.jobId) {
242
- this.controller.fetchJobByID(this.jobId);
243
- this.dataAccessMode = "subset";
244
- }
245
- this.renderHistoryPanel();
246
- }
247
- updated(changedProps) {
248
- var _a, _b, _c, _d;
249
- super.updated(changedProps);
250
- const taskStatus = (_b = (_a = this.controller) == null ? void 0 : _a.jobStatusTask) == null ? void 0 : _b.status;
251
- if (taskStatus === s.ERROR) {
252
- const taskError = (_d = (_c = this.controller) == null ? void 0 : _c.jobStatusTask) == null ? void 0 : _d.error;
253
- if (taskError) {
254
- const errorDetails = extractHarmonyError(taskError);
255
- if (errorDetails.isCancellation) {
256
- return;
257
- }
258
- if (this.controller.currentJob) {
259
- this.controller.currentJob = __spreadProps(__spreadValues({}, this.controller.currentJob), {
260
- status: "failed" /* FAILED */,
261
- message: errorDetails.message || "Failed to create subset job"
262
- });
263
- }
264
- }
265
- }
266
- }
267
- collectionChanged() {
268
- var _a;
269
- const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
270
- this.selectedDateRange = { startDate, endDate };
271
- const formats = Array.from(
272
- new Set(((_a = this.collectionWithServices) == null ? void 0 : _a.outputFormats) || [])
273
- );
274
- const hasNetcdf4 = formats.includes("application/x-netcdf4");
275
- const hasNetcdfClassic = formats.includes("application/netcdf");
276
- let displayFormats = formats;
277
- if (hasNetcdf4 && hasNetcdfClassic) {
278
- displayFormats = formats.filter((f) => f !== "application/netcdf");
279
- }
280
- if (displayFormats.length === 1) {
281
- this.selectedFormat = displayFormats[0];
282
- } else {
283
- this.selectedFormat = displayFormats.find((f) => f === "application/x-netcdf4") || displayFormats[0];
284
- }
285
- this.collectionLoading = false;
286
- this.collectionAccordionOpen = false;
287
- }
288
- granuleDatesChanged() {
289
- const newRange = __spreadValues(__spreadValues({}, this.granuleMinDate && { startDate: this.granuleMinDate }), this.granuleMaxDate && { endDate: this.granuleMaxDate });
290
- if (Object.keys(newRange).length > 0) {
291
- this.selectedDateRange = __spreadValues(__spreadValues({}, this.selectedDateRange), newRange);
292
- }
293
- }
294
- selectedFormatChanged() {
295
- if (__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this) && this.selectedVariables.length > 1) {
296
- this.selectedVariables = [this.selectedVariables[0]];
297
- }
298
- }
299
- showDialog() {
300
- var _a;
301
- (_a = this.dialogElement) == null ? void 0 : _a.show();
302
- }
303
- render() {
304
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
305
- const showJobStatus = this.controller.currentJob && !this.refineParameters;
306
- const showMinimizeButton = showJobStatus && !!this.dialog;
307
- const title = (_c = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.EntryTitle) != null ? _c : "Download Data";
308
- if (!this.collectionWithServices) {
309
- if (this.controller.fetchCollectionTask.status === s.ERROR) {
310
- return x`
311
- <terra-alert open variant="danger" appearance="white">
312
- Failed to find the requested collection.
313
- </terra-alert>
314
- `;
315
- }
316
- }
317
- const content = x`
318
- <div class="container">
319
- ${!this.dialog ? x`
320
- <div class="header">
321
- <h1>
322
- <svg
323
- class="download-icon"
324
- viewBox="0 0 24 24"
325
- fill="currentColor"
326
- >
327
- <path
328
- d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
329
- />
330
- </svg>
331
- ${title}
332
- </h1>
333
-
334
- ${showMinimizeButton ? x`<button
335
- class="minimize-btn"
336
- @click=${() => this.minimizeDialog()}
337
- >
338
- -
339
- </button>` : E}
340
- </div>
341
- ` : E}
342
- ${!this.isHistoryView && ((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.services) == null ? void 0 : _e.length) ? x`
343
- <div class="section">
344
- ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
345
- </div>
346
- ` : E}
347
- ${this.dataAccessMode === "original" ? x`
348
- <div class="section">
349
- <terra-data-access
350
- short-name=${(_h = this.shortName) != null ? _h : (_g = (_f = this.collectionWithServices) == null ? void 0 : _f.collection) == null ? void 0 : _g.ShortName}
351
- version=${(_k = this.version) != null ? _k : (_j = (_i = this.collectionWithServices) == null ? void 0 : _i.collection) == null ? void 0 : _j.Version}
352
- ?footer-slot=${!!this.dialog}
353
- >
354
- ${this.dialog ? x`
355
- <div
356
- slot="footer"
357
- style="margin-top: 15px;"
358
- >
359
- <slot
360
- name="data-access-footer"
361
- ></slot>
362
- </div>
363
- ` : E}
364
- </terra-data-access>
365
- </div>
366
- ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
367
- </div>
368
- `;
369
- if (this.dialog) {
370
- return x`
371
- <terra-dialog id=${this.dialog} style="--title-font-size: 16px;">
372
- <span
373
- slot="label"
374
- style="display: flex; align-items: center; gap: 8px; color: #0066cc; font-weight: 600;"
375
- >
376
- <svg
377
- class="download-icon"
378
- viewBox="0 0 24 24"
379
- fill="currentColor"
380
- style="width: 16px; height: 16px; display: inline-block; vertical-align: middle; flex-shrink: 0;"
381
- >
382
- <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
383
- </svg>
384
- ${title}
385
- </span>
386
- ${showMinimizeButton ? x`
387
- <button
388
- slot="header-actions"
389
- class="minimize-btn"
390
- @click=${() => {
391
- var _a2;
392
- return (_a2 = this.dialogElement) == null ? void 0 : _a2.hide();
393
- }}
394
- aria-label="Minimize"
395
- >
396
- -
397
- </button>
398
- ` : E}
399
- ${content} ${__privateMethod(this, _renderFooterForDialog, renderFooterForDialog_fn).call(this)}
400
- </terra-dialog>
401
- `;
402
- }
403
- return x`
404
- <div class="container">
405
- <div class="header">
406
- <h1>
407
- <svg
408
- class="download-icon"
409
- viewBox="0 0 24 24"
410
- fill="currentColor"
411
- >
412
- <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
413
- </svg>
414
- ${title}
415
- </h1>
416
-
417
- ${showMinimizeButton ? x`<button
418
- class="minimize-btn"
419
- @click=${() => this.minimizeDialog()}
420
- >
421
- -
422
- </button>` : E}
423
- </div>
424
- ${!this.isHistoryView && ((_m = (_l = this.collectionWithServices) == null ? void 0 : _l.services) == null ? void 0 : _m.length) ? x`
425
- <div class="section">
426
- ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
427
- </div>
428
- ` : E}
429
- ${this.dataAccessMode === "original" ? x`
430
- <div class="section">
431
- <terra-data-access
432
- short-name=${(_p = this.shortName) != null ? _p : (_o = (_n = this.collectionWithServices) == null ? void 0 : _n.collection) == null ? void 0 : _o.ShortName}
433
- version=${(_s = this.version) != null ? _s : (_r = (_q = this.collectionWithServices) == null ? void 0 : _q.collection) == null ? void 0 : _r.Version}
434
- ?footer-slot=${!!this.dialog}
435
- >
436
- ${this.dialog ? x`
437
- <div
438
- slot="footer"
439
- style="margin-top: 15px;"
440
- >
441
- <slot
442
- name="data-access-footer"
443
- ></slot>
444
- </div>
445
- ` : E}
446
- </terra-data-access>
447
- </div>
448
- ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
449
- </div>
450
- `;
451
- }
452
- minimizeDialog() {
453
- var _a;
454
- (_a = this.closest("terra-dialog")) == null ? void 0 : _a.hide();
455
- }
456
- handleCollectionSearch(searchTerm) {
457
- this.collectionSearchQuery = searchTerm;
458
- }
459
- isLatLng(value) {
460
- return value && typeof value.lat === "number" && typeof value.lng === "number";
461
- }
462
- isLatLngBounds(value) {
463
- return value && typeof value.getSouthWest === "function" && typeof value.getNorthEast === "function";
464
- }
465
- renderHistoryPanel() {
466
- const existingHistoryPanel = document.querySelector(
467
- "terra-data-subsetter-history"
468
- );
469
- if (!existingHistoryPanel && this.bearerToken) {
470
- const historyPanel = document.createElement(
471
- "terra-data-subsetter-history"
472
- );
473
- if (this.bearerToken) {
474
- historyPanel.setAttribute("bearer-token", this.bearerToken);
475
- }
476
- if (this.environment) {
477
- historyPanel.setAttribute("environment", this.environment);
478
- }
479
- document.body.appendChild(historyPanel);
480
- }
481
- }
482
- };
483
- _authController = new WeakMap();
484
- _renderFooterForDialog = new WeakSet();
485
- renderFooterForDialog_fn = function() {
486
- const showJobStatus = this.controller.currentJob && !this.refineParameters;
487
- if (showJobStatus && this.controller.currentJob) {
488
- return x`
489
- <div slot="footer" class="footer">
490
- ${this.controller.currentJob.status === "successful" /* SUCCESSFUL */ || this.controller.currentJob.status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? x`
491
- <div
492
- style="display: flex; align-items: center; gap: 8px;"
493
- >
494
- <terra-dropdown
495
- @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
496
- >
497
- <terra-button slot="trigger" caret>
498
- Download Options
499
- </terra-button>
500
- <terra-menu>
501
- <terra-menu-item value="file-list">
502
- <svg
503
- slot="prefix"
504
- viewBox="0 0 24 24"
505
- width="16"
506
- height="16"
507
- style="width: 16px; height: 16px;"
508
- >
509
- <path
510
- fill="currentColor"
511
- 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"
512
- />
513
- </svg>
514
- File List
515
- </terra-menu-item>
516
- <terra-menu-item value="python-script">
517
- <svg
518
- slot="prefix"
519
- viewBox="0 0 128 128"
520
- width="16"
521
- height="16"
522
- style="width: 16px; height: 16px;"
523
- >
524
- <path
525
- fill="currentColor"
526
- 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"
527
- ></path>
528
- </svg>
529
- Python Script
530
- </terra-menu-item>
531
- <terra-menu-item value="earthdata-download">
532
- <svg
533
- slot="prefix"
534
- viewBox="0 0 64 64"
535
- fill="none"
536
- width="16"
537
- height="16"
538
- style="width: 16px; height: 16px;"
539
- >
540
- <circle
541
- cx="32"
542
- cy="32"
543
- r="28"
544
- fill="currentColor"
545
- />
546
- <path
547
- d="M32 14v26M32 40l-9-9M32 40l9-9"
548
- stroke="#fff"
549
- stroke-width="4"
550
- stroke-linecap="round"
551
- stroke-linejoin="round"
552
- fill="none"
553
- />
554
- </svg>
555
- Earthdata Download
556
- </terra-menu-item>
557
- </terra-menu>
558
- </terra-dropdown>
559
-
560
- <!--
561
- <terra-button
562
- outline
563
- @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
564
- >
565
- <terra-icon
566
- name="outline-code-bracket"
567
- library="heroicons"
568
- font-size="1.5em"
569
- style="margin-right: 5px;"
570
- ></terra-icon>
571
- Open in Jupyter Notebook
572
- </terra-button>
573
- -->
574
- </div>
575
- ` : E}
576
- ${this.controller.currentJob.status === "running" ? x`<button
577
- class="btn btn-success"
578
- @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
579
- ?disabled=${this.cancelingGetData}
580
- >
581
- ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
582
- </button>` : E}
583
-
584
- <div class="job-info">
585
- Job ID:
586
- <span class="job-id">
587
- ${this.bearerToken ? x`<a
588
- href="https://harmony.earthdata.nasa.gov/jobs/${this.controller.currentJob.jobID}"
589
- target="_blank"
590
- >${this.controller.currentJob.jobID}</a
591
- >` : this.controller.currentJob.jobID}
592
- </span>
593
- <span class="info-icon">?</span>
594
- </div>
595
- </div>
596
- `;
597
- } else if (this.dataAccessMode === "subset") {
598
- return x`
599
- <div slot="footer" class="footer">
600
- <button class="btn btn-secondary">Reset All</button>
601
- <div>
602
- <button class="btn btn-primary" @click=${__privateMethod(this, _getData, getData_fn)}>
603
- Get Data
604
- </button>
605
- ${this.jobId ? x`
606
- <terra-button
607
- variant="default"
608
- @click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
609
- >
610
- View Running Job
611
- </terra-button>
612
- ` : E}
613
- </div>
614
- </div>
615
- </div>
616
- </div>
617
- `;
618
- }
619
- return E;
620
- };
621
- _renderSizeInfo = new WeakSet();
622
- renderSizeInfo_fn = function(estimates) {
623
- if (!__privateGet(this, _authController).state.isLoading && !__privateGet(this, _authController).state.user) {
624
- return x`
625
- <div class="size-info warning">
626
- <terra-login>
627
- <h2 slot="logged-out">Limited access as a guest.</h2>
628
-
629
- <p slot="logged-out">
630
- Your results will be capped at 10 links. Log in for full
631
- access to all data.
632
- </p>
633
- </terra-login>
634
- </div>
635
- `;
636
- }
637
- return x`<div
638
- class="size-info ${estimates.links >= 150 ? "warning" : "neutral"}"
639
- >
640
- <h2>Estimated size of results</h2>
641
- <div class="size-stats">
642
- ${estimates.days.toLocaleString()} days,
643
- ${estimates.links.toLocaleString()} links
644
- </div>
645
- ${estimates.links >= 150 ? x`<div class="size-warning">
646
- You are about to retrieve ${estimates.links.toLocaleString()}
647
- file links from the archive. You may
648
- <strong>speed up the request</strong> by limiting the scope of
649
- your search.
650
- </div>` : E}
651
- </div>`;
652
- };
653
- _renderSubsetOptions = new WeakSet();
654
- renderSubsetOptions_fn = function() {
655
- var _a, _b, _c, _d, _e, _f, _g, _h;
656
- const estimates = __privateMethod(this, _estimateJobSize, estimateJobSize_fn).call(this);
657
- const hasSubsetOption = __privateMethod(this, _hasAtLeastOneSubsetOption, hasAtLeastOneSubsetOption_fn).call(this);
658
- const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
659
- const temporalExtents = collection == null ? void 0 : collection.TemporalExtents;
660
- const spatialExtent = collection == null ? void 0 : collection.SpatialExtent;
661
- const showTemporalSection = temporalExtents && temporalExtents.length;
662
- const showSpatialSection = spatialExtent && ((_c = (_b = spatialExtent.HorizontalSpatialDomain) == null ? void 0 : _b.Geometry) == null ? void 0 : _c.BoundingRectangles);
663
- return x`
664
- ${this.dataAccessMode === "original" ? E : hasSubsetOption ? x`
665
- ${hasSubsetOption && estimates ? __privateMethod(this, _renderSizeInfo, renderSizeInfo_fn).call(this, estimates) : E}
666
- ${this.showCollectionSearch ? x`
667
- <div class="section">
668
- <h2 class="section-title">
669
- Select Data Collection
670
- </h2>
671
-
672
- ${__privateMethod(this, _renderSearchForCollection, renderSearchForCollection_fn).call(this)}
673
- </div>
674
- ` : E}
675
- ${((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.outputFormats) == null ? void 0 : _e.length) && hasSubsetOption ? x`
676
- <div class="section">
677
- <h2 class="section-title">Output Format</h2>
678
-
679
- ${__privateMethod(this, _renderOutputFormatSelection, renderOutputFormatSelection_fn).call(this)}
680
- </div>
681
- ` : E}
682
- <div class="section">
683
- <h2 class="section-title">Subset Options</h2>
684
- <p style="color: #666; margin-bottom: 16px;">
685
- Generate file links that support spatial subsetting,
686
- date/time range selection, and variable selection.
687
- </p>
688
-
689
- ${((_f = this.collectionWithServices) == null ? void 0 : _f.temporalSubset) ? __privateMethod(this, _renderDateRangeSelection, renderDateRangeSelection_fn).call(this) : E}
690
- ${__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderSpatialSelection, renderSpatialSelection_fn).call(this) : E}
691
- ${((_g = this.collectionWithServices) == null ? void 0 : _g.variableSubset) ? __privateMethod(this, _renderVariableSelection, renderVariableSelection_fn).call(this) : E}
692
- </div>
693
- ` : x`
694
- ${showTemporalSection && !((_h = this.collectionWithServices) == null ? void 0 : _h.temporalSubset) ? __privateMethod(this, _renderAvailableTemporalRangeSection, renderAvailableTemporalRangeSection_fn).call(this) : E}
695
- ${showSpatialSection && !__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderAvailableSpatialRangeSection, renderAvailableSpatialRangeSection_fn).call(this) : E}
696
- `}
697
- ${!hasSubsetOption && estimates ? x`
698
- <div
699
- class="neutral-info"
700
- style="margin-top: 24px; padding: 16px 20px; border-radius: 6px; background: #f8f9fa; color: #555; border: 1px solid #ccc;"
701
- >
702
- <strong>Estimated result size:</strong><br />
703
- Your request will return approximately
704
- <b>${estimates.links.toLocaleString()}</b> files covering
705
- <b>${estimates.days.toLocaleString()}</b> days.
706
- </div>
707
- ` : E}
708
- ${this.dataAccessMode === "subset" && !this.dialog ? x`
709
- <div class="footer">
710
- <button class="btn btn-secondary">Reset All</button>
711
- <div>
712
- <button
713
- class="btn btn-primary"
714
- @click=${__privateMethod(this, _getData, getData_fn)}
715
- >
716
- Get Data
717
- </button>
718
- ${this.jobId ? x`
719
- <terra-button
720
- variant="default"
721
- @click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
722
- >
723
- View Running Job
724
- </terra-button>
725
- ` : E}
726
- </div>
727
- </div>
728
- </div>
729
- </div>
730
- ` : E}
731
- `;
732
- };
733
- _renderSearchForCollection = new WeakSet();
734
- renderSearchForCollection_fn = function() {
735
- var _a, _b;
736
- let placeholder = "Search all types of resources (e.g. rainfall, GPM, hurricanes, etc.)";
737
- if (this.collectionSearchType === "collection") {
738
- placeholder = "Search collections (e.g. AQUA, GPM_3IMERGH, etc.)";
739
- }
740
- if (this.collectionSearchType === "variable") {
741
- placeholder = "Search variables (e.g. rainfall, hurricanes, etc.)";
742
- }
743
- return x`
744
- <terra-accordion .open=${this.collectionAccordionOpen}>
745
- <div slot="summary">
746
- <span class="accordion-title">Collection:</span>
747
- </div>
748
-
749
- <div
750
- slot="summary-right"
751
- style="display: flex; align-items: center; gap: 10px"
752
- >
753
- ${this.collectionEntryId ? x` <span
754
- class="accordion-value"
755
- id="selected-collection-display"
756
- >${this.collectionEntryId}</span
757
- >
758
-
759
- <button
760
- class="reset-btn"
761
- @click=${() => this.collectionEntryId = void 0}
762
- >
763
- Reset
764
- </button>` : E}
765
- </div>
766
-
767
- <div class="search-tabs-mini">
768
- <button
769
- class="search-tab-mini ${this.collectionSearchType === "all" ? "active" : ""}"
770
- @click=${() => this.collectionSearchType = "all"}
771
- >
772
- All
773
- </button>
774
- <button
775
- class="search-tab-mini ${this.collectionSearchType === "collection" ? "active" : ""}"
776
- @click=${() => this.collectionSearchType = "collection"}
777
- >
778
- Collections
779
- </button>
780
- <button
781
- class="search-tab-mini ${this.collectionSearchType === "variable" ? "active" : ""}"
782
- @click=${() => this.collectionSearchType = "variable"}
783
- >
784
- Variables
785
- </button>
786
- </div>
787
-
788
- <div class="search-container-mini">
789
- <input
790
- type="text"
791
- class="search-input-mini"
792
- id="search-input"
793
- placeholder=${placeholder}
794
- @input="${(e2) => this.handleCollectionSearch(
795
- e2.target.value
796
- )}"
797
- />
798
-
799
- <button class="search-button-mini">
800
- <svg
801
- class="search-icon-mini"
802
- viewBox="0 0 24 24"
803
- fill="currentColor"
804
- >
805
- <path
806
- 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"
807
- />
808
- </svg>
809
- Search
810
- </button>
811
- </div>
812
-
813
- <!-- TODO: it may be nice to have a quick search, perhaps by recent trends?
814
- <div class="quick-links-mini">
815
- <a href="#" class="quick-link-mini" onclick="quickSearch('GPM')"
816
- >GPM Precipitation</a
817
- >
818
- <a href="#" class="quick-link-mini" onclick="quickSearch('MODIS')"
819
- >MODIS Data</a
820
- >
821
- <a
822
- href="#"
823
- class="quick-link-mini"
824
- onclick="quickSearch('Landsat')"
825
- >Landsat Imagery</a
826
- >
827
- <a href="#" class="quick-link-mini" onclick="quickSearch('AIRS')"
828
- >Atmospheric Data</a
829
- >
830
- </div>
831
- -->
832
-
833
- <div id="search-results-section" class="search-results-section">
834
- ${this.collectionSearchLoading ? x`
835
- <div id="loading-mini" class="loading-mini">
836
- <div class="spinner-mini"></div>
837
- <div>Searching NASA CMR...</div>
838
- </div>
839
- ` : ((_a = this.collectionSearchResults) == null ? void 0 : _a.length) ? x` <div
840
- id="results-container-mini"
841
- class="results-container-mini"
842
- >
843
- ${(_b = this.collectionSearchResults) == null ? void 0 : _b.map(
844
- (item) => x`
845
- <div
846
- class="result-item-mini"
847
- @click=${() => {
848
- this.collectionEntryId = item.collectionEntryId;
849
- this.collectionAccordionOpen = false;
850
- this.collectionLoading = true;
851
- if (item.type === "variable") {
852
- this.selectedVariables = [
853
- {
854
- name: item.entryId,
855
- href: "",
856
- conceptId: item.conceptId
857
- }
858
- ];
859
- }
860
- this.requestUpdate();
861
- }}
862
- style="cursor: pointer;"
863
- >
864
- <div class="result-title-mini">
865
- ${item.title}
866
- </div>
867
- <div class="result-id-mini">
868
- ${item.entryId}
869
- </div>
870
- <div class="result-description-mini">
871
- ${item.summary || item.title}
872
- </div>
873
- <div class="result-meta-mini">
874
- <span>📅 2000-02-24 - ongoing</span>
875
- <span>🌍 Global</span>
876
- <span>🏢 ${item.provider}</span>
877
- ${item.type === "variable" ? x` <span
878
- >📊
879
- ${item.collectionEntryId}</span
880
- >` : E}
881
- <span class="tag-mini"
882
- >${item.type.toUpperCase()}</span
883
- >
884
- </div>
885
- </div>
886
- `
887
- )}
888
- </div>` : this.collectionSearchResults && this.collectionSearchResults.length === 0 ? x`<div id="no-results-mini" class="no-results-mini">
889
- <p>
890
- No results found for
891
- '${this.collectionSearchQuery}'. Try adjusting
892
- your search term.
893
- </p>
894
- </div>` : E}
895
- </div>
896
- </terra-accordion>
897
-
898
- ${this.collectionLoading ? x`
899
- <div
900
- class="collection-loading-bar"
901
- style="display: flex; align-items: center; gap: 10px; margin: 16px 0;"
902
- >
903
- <span
904
- class="loading-spinner"
905
- 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;"
906
- ></span>
907
- Retrieving collection, please wait...
908
- </div>
909
- <style>
910
- @keyframes spin {
911
- 0% {
912
- transform: rotate(0deg);
913
- }
914
- 100% {
915
- transform: rotate(360deg);
916
- }
917
- }
918
- </style>
919
- ` : E}
920
- `;
921
- };
922
- _renderOutputFormatSelection = new WeakSet();
923
- renderOutputFormatSelection_fn = function() {
924
- var _a, _b;
925
- const hasGiovanniService = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.services) == null ? void 0 : _b.some(
926
- (s2) => s2.name.indexOf("giovanni") !== -1
927
- );
928
- return x`
929
- <terra-accordion>
930
- <div slot="summary">
931
- <span class="accordion-title">File Format:</span>
932
- </div>
933
-
934
- <div
935
- slot="summary-right"
936
- style="display: flex; align-items: center; gap: 10px;"
937
- >
938
- <span
939
- >${getFriendlyNameForMimeType(
940
- this.selectedFormat,
941
- hasGiovanniService
942
- )}</span
943
- >
944
-
945
- <button class="reset-btn" @click=${__privateGet(this, _resetFormatSelection)}>
946
- Reset
947
- </button>
948
- </div>
949
-
950
- <div class="accordion-content" style="margin-top: 12px;">
951
- ${(() => {
952
- var _a2;
953
- const allFormats = ((_a2 = this.collectionWithServices) == null ? void 0 : _a2.outputFormats) || [];
954
- const uniqueFormats = Array.from(new Set(allFormats));
955
- const hasNetcdf4 = uniqueFormats.includes(
956
- "application/x-netcdf4"
957
- );
958
- const hasNetcdfClassic = uniqueFormats.includes("application/netcdf");
959
- let displayFormats = uniqueFormats;
960
- if (hasNetcdf4 && hasNetcdfClassic) {
961
- displayFormats = uniqueFormats.filter(
962
- (f) => f !== "application/netcdf"
963
- );
964
- }
965
- return displayFormats.map(
966
- (format) => x`
967
- <label
968
- style="display: flex; align-items: center; gap: 8px; padding: 5px;"
969
- >
970
- <input
971
- type="radio"
972
- name="output-format"
973
- value="${format}"
974
- .checked=${this.selectedFormat === format}
975
- @change=${() => this.selectedFormat = format}
976
- />
977
- ${getFriendlyNameForMimeType(
978
- format,
979
- hasGiovanniService
980
- )}
981
- </label>
982
- `
983
- );
984
- })()}
985
- </div>
986
- </terra-accordion>
987
- `;
988
- };
989
- _renderDateRangeSelection = new WeakSet();
990
- renderDateRangeSelection_fn = function() {
991
- var _a, _b, _c, _d, _e, _f, _g, _h;
992
- const { startDate: defaultStartDate, endDate: defaultEndDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
993
- const startDate = (_b = (_a = this.selectedDateRange.startDate) != null ? _a : this.granuleMinDate) != null ? _b : defaultStartDate;
994
- const endDate = (_d = (_c = this.selectedDateRange.endDate) != null ? _c : this.granuleMaxDate) != null ? _d : defaultEndDate;
995
- const showError = this.touchedFields.has("date") && (!this.selectedDateRange.startDate || !this.selectedDateRange.endDate);
996
- return x`
997
- <terra-accordion>
998
- <div slot="summary">
999
- <span class="accordion-title">Refine Date Range:</span>
1000
- </div>
1001
-
1002
- <div
1003
- slot="summary-right"
1004
- style="display: flex; align-items: center; gap: 10px;"
1005
- >
1006
- ${showError ? x`<span class="accordion-value error"
1007
- >Please select a date range</span
1008
- >` : this.touchedFields.has("date") && startDate && endDate ? x`<span class="accordion-value"
1009
- >${startDate} to ${endDate}</span
1010
- >` : E}
1011
- <button class="reset-btn" @click=${__privateGet(this, _resetDateRangeSelection)}>
1012
- Reset
1013
- </button>
1014
- </div>
1015
-
1016
- <div style="width: 300px">
1017
- <terra-date-picker
1018
- allow-input
1019
- inline
1020
- range
1021
- split-inputs
1022
- show-presets
1023
- ?enable-time=${this.controller.isSubDaily}
1024
- start-label="Start Date"
1025
- end-label="End Date"
1026
- .minDate=${(_e = this.granuleMinDate) != null ? _e : defaultStartDate}
1027
- .maxDate=${(_f = this.granuleMaxDate) != null ? _f : defaultEndDate}
1028
- .startDate=${(_g = this.selectedDateRange.startDate) != null ? _g : this.granuleMinDate}
1029
- .endDate=${(_h = this.selectedDateRange.endDate) != null ? _h : this.granuleMaxDate}
1030
- .useEndOfDay=${__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this) ? false : true}
1031
- @terra-date-range-change=${__privateGet(this, _handleDateChange)}
1032
- ></terra-date-picker>
1033
- </div>
1034
-
1035
- <div
1036
- style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
1037
- >
1038
- <span
1039
- ><strong>Available Range:</strong> ${defaultStartDate} to
1040
- ${defaultEndDate}</span
1041
- >
1042
- ${this.controller.isSubDaily ? x`<span
1043
- ><strong>Note:</strong> All dates and times are in
1044
- UTC.</span
1045
- >` : E}
1046
- </div>
1047
- </terra-accordion>
1048
- `;
1049
- };
1050
- _handleDateChange = new WeakMap();
1051
- _resetDateRangeSelection = new WeakMap();
1052
- _resetFormatSelection = new WeakMap();
1053
- _getCollectionDateRange = new WeakSet();
1054
- getCollectionDateRange_fn = function() {
1055
- var _a, _b;
1056
- const samplingMinDate = this.controller.granuleMinDate;
1057
- const samplingMaxDate = this.controller.granuleMaxDate;
1058
- if (samplingMinDate && samplingMaxDate) {
1059
- return {
1060
- startDate: samplingMinDate.slice(0, 10),
1061
- endDate: samplingMaxDate.slice(0, 10)
1062
- };
1063
- }
1064
- const temporalExtents = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.TemporalExtents;
1065
- if (!temporalExtents || !temporalExtents.length)
1066
- return {
1067
- startDate: null,
1068
- endDate: null
1069
- };
1070
- let minStart = null;
1071
- let maxEnd = null;
1072
- const today = /* @__PURE__ */ new Date();
1073
- for (const temporal of temporalExtents) {
1074
- for (const range of temporal.RangeDateTimes) {
1075
- const start = new Date(range.BeginningDateTime);
1076
- let end;
1077
- if (temporal.EndsAtPresentFlag || !range.EndingDateTime) {
1078
- end = today;
1079
- } else {
1080
- end = new Date(range.EndingDateTime);
1081
- }
1082
- if (!minStart || start < minStart)
1083
- minStart = start;
1084
- if (!maxEnd || end > maxEnd)
1085
- maxEnd = end;
1086
- }
1087
- }
1088
- return {
1089
- startDate: minStart ? minStart.toISOString().slice(0, 10) : null,
1090
- endDate: maxEnd ? maxEnd.toISOString().slice(0, 10) : null
1091
- };
1092
- };
1093
- _handleRegionAccordionToggle = new WeakSet();
1094
- handleRegionAccordionToggle_fn = function() {
1095
- var _a;
1096
- (_a = this.spatialPicker) == null ? void 0 : _a.invalidateSize();
1097
- };
1098
- _renderSpatialSelection = new WeakSet();
1099
- renderSpatialSelection_fn = function() {
1100
- var _a, _b, _c, _d, _e;
1101
- const showError = this.touchedFields.has("spatial") && !this.spatialSelection;
1102
- let 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;
1103
- if (boundingRects && !Array.isArray(boundingRects)) {
1104
- boundingRects = [boundingRects];
1105
- }
1106
- let spatialString = "";
1107
- if (this.isLatLng(this.spatialSelection)) {
1108
- spatialString = `${this.spatialSelection.lat}, ${this.spatialSelection.lng}`;
1109
- } else if (this.isLatLngBounds(this.spatialSelection)) {
1110
- spatialString = `${this.spatialSelection.getSouthWest().lat}, ${this.spatialSelection.getSouthWest().lng}, ${this.spatialSelection.getNorthEast().lat}, ${this.spatialSelection.getNorthEast().lng}`;
1111
- } else if (this.spatialSelection && "w" in this.spatialSelection && "s" in this.spatialSelection && "e" in this.spatialSelection && "n" in this.spatialSelection) {
1112
- spatialString = `${this.spatialSelection.w}, ${this.spatialSelection.s}, ${this.spatialSelection.e}, ${this.spatialSelection.n}`;
1113
- } else if (this.spatialSelection) {
1114
- spatialString = this.spatialSelection;
1115
- }
1116
- return x`
1117
- <terra-accordion
1118
- @terra-accordion-toggle=${__privateMethod(this, _handleRegionAccordionToggle, handleRegionAccordionToggle_fn)}
1119
- >
1120
- <div slot="summary">
1121
- <span class="accordion-title">Refine Region:</span>
1122
- </div>
1123
-
1124
- <div
1125
- slot="summary-right"
1126
- style="display: flex; align-items: center; gap: 10px;"
1127
- >
1128
- ${showError ? x`<span class="accordion-value error"
1129
- >Please select a region</span
1130
- >` : spatialString ? x`<span class="accordion-value"
1131
- >${spatialString}</span
1132
- >` : E}
1133
- <button class="reset-btn" @click=${__privateGet(this, _resetSpatialSelection)}>
1134
- Reset
1135
- </button>
1136
- </div>
1137
- <div class="accordion-content">
1138
- <terra-spatial-picker
1139
- part="spatial-picker"
1140
- inline
1141
- hide-label
1142
- hide-point-selection
1143
- no-world-wrap
1144
- .spatialConstraints=${this.controller.spatialConstraints || "-180, -90, 180, 90"}
1145
- .initialValue=${spatialString}
1146
- @terra-map-change=${__privateGet(this, _handleSpatialChange)}
1147
- ></terra-spatial-picker>
1148
- <div
1149
- style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
1150
- >
1151
- <span
1152
- ><strong>Available Range:</strong> ${this.controller.spatialConstraints}</span
1153
- >
1154
- </div>
1155
- </div>
1156
- </terra-accordion>
1157
- `;
1158
- };
1159
- _handleSpatialChange = new WeakMap();
1160
- _resetSpatialSelection = new WeakMap();
1161
- _renderVariableSelection = new WeakSet();
1162
- renderVariableSelection_fn = function() {
1163
- var _a;
1164
- const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1165
- const giovanniError = this.touchedFields.has("variables") && __privateMethod(this, _getGiovanniValidationError, getGiovanniValidationError_fn).call(this);
1166
- const basicError = this.touchedFields.has("variables") && this.selectedVariables.length === 0;
1167
- const showError = giovanniError || basicError;
1168
- const errorMessage = giovanniError || (basicError ? "Please select at least one variable" : "");
1169
- const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1170
- const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1171
- const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1172
- return x`
1173
- <terra-accordion>
1174
- <div slot="summary">
1175
- <span class="accordion-title">Select Variables:</span>
1176
- </div>
1177
- <div
1178
- slot="summary-right"
1179
- style="display: flex; align-items: center; gap: 10px;"
1180
- >
1181
- ${showError ? x`<span class="accordion-value error"
1182
- >${errorMessage}</span
1183
- >` : this.selectedVariables.length ? x`<span class="accordion-value"
1184
- >${this.selectedVariables.length} selected</span
1185
- >` : E}
1186
-
1187
- <button class="reset-btn" @click=${__privateGet(this, _resetVariableSelection)}>
1188
- Reset
1189
- </button>
1190
- </div>
1191
- <div class="accordion-content">
1192
- <terra-input
1193
- label="Filter variables"
1194
- placeholder="Search by variable name..."
1195
- .value=${this.variableFilterText}
1196
- @input=${(e2) => {
1197
- const input = e2.target;
1198
- this.variableFilterText = input.value;
1199
- __privateMethod(this, _handleVariableFilterChange, handleVariableFilterChange_fn).call(this);
1200
- }}
1201
- style="margin-bottom: 10px;"
1202
- ></terra-input>
1203
- <button
1204
- class="reset-btn"
1205
- style="margin-bottom: 10px;"
1206
- @click=${() => __privateMethod(this, _toggleExpandCollapseAll, toggleExpandCollapseAll_fn).call(this, tree)}
1207
- >
1208
- ${allExpanded ? "Collapse Tree" : "Expand Tree"}
1209
- </button>
1210
-
1211
- ${__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this) && this.giovanniConfiguredVariables ? x`
1212
- <terra-alert
1213
- open
1214
- appearance="white"
1215
- style="margin: 10px 0"
1216
- >
1217
- <terra-icon
1218
- slot="icon"
1219
- name="outline-information-circle"
1220
- library="heroicons"
1221
- ></terra-icon>
1222
- Only certain variables are supported for the
1223
- selected output format. (Giovanni service)
1224
- </terra-alert>
1225
- ` : E}
1226
- ${variables.length === 0 ? x`<p style="color: #666; font-style: italic;">
1227
- No variables available for this collection.
1228
- </p>` : __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, __privateMethod(this, _filterVariableTree, filterVariableTree_fn).call(this, tree), [])}
1229
- </div>
1230
- </terra-accordion>
1231
- `;
1232
- };
1233
- _filterVariableTree = new WeakSet();
1234
- filterVariableTree_fn = function(tree) {
1235
- if (!this.variableFilterText.trim()) {
1236
- return tree;
1237
- }
1238
- const filterText = this.variableFilterText.toLowerCase().trim();
1239
- const filterNode = (node) => {
1240
- const result = {};
1241
- for (const [key, value] of Object.entries(node)) {
1242
- if (value.__isLeaf) {
1243
- const variableName = value.__variable.name.toLowerCase();
1244
- if (variableName.includes(filterText)) {
1245
- result[key] = value;
1246
- }
1247
- } else {
1248
- const filteredChildren = filterNode(value.__children);
1249
- if (Object.keys(filteredChildren).length > 0 || key.toLowerCase().includes(filterText)) {
1250
- result[key] = __spreadProps(__spreadValues({}, value), {
1251
- __children: filteredChildren
1252
- });
1253
- }
1254
- }
1255
- }
1256
- return result;
1257
- };
1258
- return filterNode(tree);
1259
- };
1260
- _handleVariableFilterChange = new WeakSet();
1261
- handleVariableFilterChange_fn = function() {
1262
- var _a;
1263
- if (!this.variableFilterText.trim()) {
1264
- return;
1265
- }
1266
- const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1267
- const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1268
- const filterText = this.variableFilterText.toLowerCase().trim();
1269
- const groupsToExpand = /* @__PURE__ */ new Set();
1270
- const findMatchingGroups = (node, path = []) => {
1271
- for (const [key, value] of Object.entries(node)) {
1272
- if (value.__isLeaf) {
1273
- const variableName = value.__variable.name.toLowerCase();
1274
- if (variableName.includes(filterText)) {
1275
- for (let i = 0; i < path.length; i++) {
1276
- const groupPath = path.slice(0, i + 1).join("/");
1277
- groupsToExpand.add(groupPath);
1278
- }
1279
- }
1280
- } else {
1281
- const groupPath = [...path, key].join("/");
1282
- findMatchingGroups(value.__children, [...path, key]);
1283
- if (key.toLowerCase().includes(filterText)) {
1284
- groupsToExpand.add(groupPath);
1285
- }
1286
- }
1287
- }
1288
- };
1289
- findMatchingGroups(tree);
1290
- if (groupsToExpand.size > 0) {
1291
- this.expandedVariableGroups = /* @__PURE__ */ new Set([
1292
- ...this.expandedVariableGroups,
1293
- ...groupsToExpand
1294
- ]);
1295
- }
1296
- };
1297
- _buildVariableTree = new WeakSet();
1298
- buildVariableTree_fn = function(variables) {
1299
- let filteredVariables = variables;
1300
- if (__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this) && this.giovanniConfiguredVariables) {
1301
- const originalCount = variables.length;
1302
- filteredVariables = variables.filter((v) => {
1303
- var _a, _b, _c;
1304
- const shortName = (_a = this.collectionWithServices) == null ? void 0 : _a.shortName;
1305
- const version = (_c = (_b = this.collectionWithServices) == null ? void 0 : _b.collection) == null ? void 0 : _c.Version;
1306
- if (!shortName || !version) {
1307
- return false;
1308
- }
1309
- const giovanniVariableName = convertVariableEntryIdToGiovanniFormat(
1310
- shortName,
1311
- version,
1312
- v.name
1313
- );
1314
- return this.giovanniConfiguredVariables.has(giovanniVariableName);
1315
- });
1316
- console.log(
1317
- `Filtered ${originalCount - filteredVariables.length} variables for Giovanni format. Showing ${filteredVariables.length} of ${originalCount}.`
1318
- );
1319
- }
1320
- const root = {};
1321
- for (const v of filteredVariables) {
1322
- const parts = v.name.split("/");
1323
- let node = root;
1324
- for (let i = 0; i < parts.length; i++) {
1325
- const part = parts[i];
1326
- if (!node[part])
1327
- node[part] = { __children: {}, __isLeaf: false };
1328
- if (i === parts.length - 1) {
1329
- node[part].__isLeaf = true;
1330
- node[part].__variable = v;
1331
- }
1332
- node = node[part].__children;
1333
- }
1334
- }
1335
- return root;
1336
- };
1337
- _renderVariableTree = new WeakSet();
1338
- renderVariableTree_fn = function(node, path) {
1339
- const isGiovanni = __privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this);
1340
- return x`
1341
- <div style="margin-left: ${path.length * 20}px;">
1342
- ${Object.entries(node).map(([key, value]) => {
1343
- var _a;
1344
- const groupPath = [...path, key].join("/");
1345
- if (value.__isLeaf) {
1346
- const variableDetail = (_a = this.variableDetails) == null ? void 0 : _a.find(
1347
- (d) => d.name === value.__variable.name && d.longName !== value.__variable.name
1348
- );
1349
- const variableName = (variableDetail == null ? void 0 : variableDetail.longName) ? `${key} = ${variableDetail.longName}${variableDetail.units ? ` (${variableDetail.units})` : ""}` : key;
1350
- return x`
1351
- <div class="option-row">
1352
- <label class="checkbox-option">
1353
- <input
1354
- type="${isGiovanni ? "radio" : "checkbox"}"
1355
- name="${isGiovanni ? "variable-selection" : ""}"
1356
- .checked=${this.selectedVariables.some(
1357
- (v) => v.name === value.__variable.name
1358
- )}
1359
- @change=${(e2) => __privateMethod(this, _toggleVariableSelection, toggleVariableSelection_fn).call(this, e2, value.__variable)}
1360
- />
1361
- <span>${variableName}</span>
1362
- </label>
1363
- </div>
1364
- `;
1365
- } else {
1366
- const expanded = this.expandedVariableGroups.has(groupPath);
1367
- return x`
1368
- <div class="option-row" style="align-items: flex-start;">
1369
- <span
1370
- style="cursor: pointer; display: flex; align-items: center;"
1371
- @click=${() => __privateMethod(this, _toggleGroupExpand, toggleGroupExpand_fn).call(this, groupPath)}
1372
- >
1373
- <terra-icon
1374
- library="heroicons"
1375
- name="${expanded ? "outline-minus-circle" : "outline-plus-circle"}"
1376
- style="margin-right: 4px;"
1377
- ></terra-icon>
1378
- <span style="font-weight: 500;">${key}</span>
1379
- </span>
1380
- </div>
1381
- ${expanded ? __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, value.__children, [
1382
- ...path,
1383
- key
1384
- ]) : ""}
1385
- `;
1386
- }
1387
- })}
1388
- </div>
1389
- `;
1390
- };
1391
- _getAllGroupPaths = new WeakSet();
1392
- getAllGroupPaths_fn = function(node, path = []) {
1393
- let groups = [];
1394
- for (const [key, value] of Object.entries(node)) {
1395
- if (!value.__isLeaf) {
1396
- const groupPath = [...path, key].join("/");
1397
- groups.push(groupPath);
1398
- groups = groups.concat(
1399
- __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, value.__children, [...path, key])
1400
- );
1401
- }
1402
- }
1403
- return groups;
1404
- };
1405
- _toggleGroupExpand = new WeakSet();
1406
- toggleGroupExpand_fn = function(groupPath) {
1407
- const set = new Set(this.expandedVariableGroups);
1408
- if (set.has(groupPath)) {
1409
- set.delete(groupPath);
1410
- } else {
1411
- set.add(groupPath);
1412
- }
1413
- this.expandedVariableGroups = set;
1414
- };
1415
- _toggleExpandCollapseAll = new WeakSet();
1416
- toggleExpandCollapseAll_fn = function(tree) {
1417
- const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1418
- const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1419
- if (allExpanded) {
1420
- this.expandedVariableGroups = /* @__PURE__ */ new Set();
1421
- } else {
1422
- this.expandedVariableGroups = new Set(allGroups);
1423
- }
1424
- };
1425
- _toggleVariableSelection = new WeakSet();
1426
- toggleVariableSelection_fn = function(e2, variable) {
1427
- __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
1428
- const checked = e2.target.checked;
1429
- if (__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this)) {
1430
- if (checked) {
1431
- this.selectedVariables = [variable];
1432
- }
1433
- } else {
1434
- if (checked) {
1435
- if (!this.selectedVariables.some((v) => v.name === variable.name)) {
1436
- this.selectedVariables = [...this.selectedVariables, variable];
1437
- }
1438
- } else {
1439
- this.selectedVariables = this.selectedVariables.filter(
1440
- (v) => v.name !== variable.name
1441
- );
1442
- }
1443
- }
1444
- };
1445
- _markFieldTouched = new WeakSet();
1446
- markFieldTouched_fn = function(field) {
1447
- this.touchedFields = new Set(this.touchedFields).add(field);
1448
- };
1449
- _resetVariableSelection = new WeakMap();
1450
- _renderJobStatus = new WeakSet();
1451
- renderJobStatus_fn = function() {
1452
- var _a, _b;
1453
- if (!((_a = this.controller.currentJob) == null ? void 0 : _a.jobID)) {
1454
- return x`<div class="results-section" id="job-status-section">
1455
- <div
1456
- style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1457
- >
1458
- <h2 class="results-title" style="margin: 0;">Results:</h2>
1459
- ${!this.isHistoryView ? x`
1460
- <terra-button
1461
- variant="default"
1462
- size="small"
1463
- @click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
1464
- >
1465
- ← Back to Subset Options
1466
- </terra-button>
1467
- ` : E}
1468
- </div>
1469
-
1470
- <div class="progress-container">
1471
- <div class="progress-text">
1472
- <span class="spinner"></span>
1473
- <span class="status-running">Searching for data...</span>
1474
- </div>
1475
-
1476
- <div class="progress-bar">
1477
- <div class="progress-fill" style="width: 0%"></div>
1478
- </div>
1479
- </div>
1480
-
1481
- ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1482
- </div>`;
1483
- }
1484
- return x`
1485
- <div class="results-section" id="job-status-section">
1486
- <div
1487
- style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
1488
- >
1489
- <h2 class="results-title" style="margin: 0;">Results:</h2>
1490
- ${!this.isHistoryView ? x`
1491
- <terra-button
1492
- variant="default"
1493
- size="small"
1494
- @click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
1495
- >
1496
- ← Back to Subset Options
1497
- </terra-button>
1498
- ` : E}
1499
- </div>
1500
-
1501
- ${this.controller.currentJob.status !== "canceled" && this.controller.currentJob.status !== "failed" ? x` <div class="progress-container">
1502
- <div class="progress-text">
1503
- ${this.controller.currentJob.progress >= 100 ? x`
1504
- <span class="status-complete"
1505
- >✓ Search complete</span
1506
- >
1507
- ` : x`
1508
- <span class="spinner"></span>
1509
- <span class="status-running"
1510
- >Searching for data...
1511
- (${this.controller.currentJob.progress}%)</span
1512
- >
1513
- `}
1514
- </div>
1515
-
1516
- <div class="progress-bar">
1517
- <div
1518
- class="progress-fill"
1519
- style="width: ${this.controller.currentJob.progress}%"
1520
- ></div>
1521
- </div>
1522
- </div>` : E}
1523
-
1524
- <div class="search-status">
1525
- <span class="file-count"
1526
- >Found ${__privateMethod(this, _numberOfFilesFoundEstimate, numberOfFilesFoundEstimate_fn).call(this)} files</span
1527
- >
1528
- out of estimated
1529
- <span class="estimated-total"
1530
- >${this.controller.currentJob.numInputGranules.toLocaleString()}</span
1531
- >
1532
- </div>
1533
-
1534
- ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1535
- ${((_b = this.controller.currentJob.errors) == null ? void 0 : _b.length) ? x`
1536
- <terra-accordion>
1537
- <div slot="summary">
1538
- <span
1539
- class="accordion-title"
1540
- style="color: #dc3545;"
1541
- >Errors
1542
- (${this.controller.currentJob.errors.length})</span
1543
- >
1544
- </div>
1545
- <div class="accordion-content">
1546
- <ul
1547
- style="color: #dc3545; font-size: 14px; padding-left: 20px;"
1548
- >
1549
- ${this.controller.currentJob.errors.map(
1550
- (err) => x`
1551
- <li style="margin-bottom: 12px;">
1552
- <a
1553
- href="${err.url}"
1554
- target="_blank"
1555
- style="word-break: break-all; color: #dc3545; text-decoration: underline;"
1556
- >
1557
- ${err.url}
1558
- </a>
1559
- <div style="margin-top: 2px;">
1560
- ${err.message}
1561
- </div>
1562
- </li>
1563
- `
1564
- )}
1565
- </ul>
1566
- </div>
1567
- </terra-accordion>
1568
- ` : E}
1569
-
1570
- <div class="tabs">
1571
- <button
1572
- class="tab ${this.selectedTab === "web-links" ? "active" : ""}"
1573
- @click=${() => this.selectedTab = "web-links"}
1574
- >
1575
- Web Links
1576
- </button>
1577
-
1578
- ${!this.isHistoryView ? x`
1579
- <button
1580
- class="tab ${this.selectedTab === "selected-params" ? "active" : ""}"
1581
- @click=${() => this.selectedTab = "selected-params"}
1582
- >
1583
- Selected Parameters
1584
- </button>
1585
- ` : E}
1586
- </div>
1587
- <div
1588
- id="web-links"
1589
- class="tab-content ${this.selectedTab === "web-links" ? "active" : ""}"
1590
- >
1591
- ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).length ? x`
1592
- <div class="documentation-links">
1593
- ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).map(
1594
- (link) => x`
1595
- <a href="${link.href}" class="doc-link"
1596
- >${link.title}</a
1597
- >
1598
- `
1599
- )}
1600
- </div>
1601
- ` : E}
1602
-
1603
- <ul class="file-list">
1604
- ${__privateMethod(this, _getDataLinks, getDataLinks_fn).call(this).map(
1605
- (link) => x`
1606
- <li class="file-item">
1607
- <a
1608
- href="${link.href}"
1609
- class="file-link"
1610
- target="_blank"
1611
- >
1612
- ${link.title}
1613
- </a>
1614
- </li>
1615
- `
1616
- )}
1617
- </ul>
1618
- </div>
1619
-
1620
- <div
1621
- id="selected-params"
1622
- class="tab-content ${this.selectedTab === "selected-params" ? "active" : ""}"
1623
- >
1624
- ${__privateMethod(this, _renderSelectedParams, renderSelectedParams_fn).call(this)}
1625
- </div>
1626
- </div>
1627
-
1628
- ${!this.dialog ? x`
1629
- <div class="footer">
1630
- ${this.controller.currentJob.status === "successful" /* SUCCESSFUL */ || this.controller.currentJob.status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? x`
1631
- <div
1632
- style="display: flex; align-items: center; gap: 8px;"
1633
- >
1634
- <terra-dropdown
1635
- @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
1636
- >
1637
- <terra-button slot="trigger" caret>
1638
- Download Options
1639
- </terra-button>
1640
- <terra-menu>
1641
- <terra-menu-item value="file-list">
1642
- <svg
1643
- slot="prefix"
1644
- viewBox="0 0 24 24"
1645
- width="16"
1646
- height="16"
1647
- style="width: 16px; height: 16px;"
1648
- >
1649
- <path
1650
- fill="currentColor"
1651
- 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"
1652
- />
1653
- </svg>
1654
- File List
1655
- </terra-menu-item>
1656
- <terra-menu-item
1657
- value="python-script"
1658
- >
1659
- <svg
1660
- slot="prefix"
1661
- viewBox="0 0 128 128"
1662
- width="16"
1663
- height="16"
1664
- style="width: 16px; height: 16px;"
1665
- >
1666
- <path
1667
- fill="currentColor"
1668
- 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"
1669
- ></path>
1670
- </svg>
1671
- Python Script
1672
- </terra-menu-item>
1673
- <terra-menu-item
1674
- value="earthdata-download"
1675
- >
1676
- <svg
1677
- slot="prefix"
1678
- viewBox="0 0 64 64"
1679
- fill="none"
1680
- width="16"
1681
- height="16"
1682
- style="width: 16px; height: 16px;"
1683
- >
1684
- <circle
1685
- cx="32"
1686
- cy="32"
1687
- r="28"
1688
- fill="currentColor"
1689
- />
1690
- <path
1691
- d="M32 14v26M32 40l-9-9M32 40l9-9"
1692
- stroke="#fff"
1693
- stroke-width="4"
1694
- stroke-linecap="round"
1695
- stroke-linejoin="round"
1696
- fill="none"
1697
- />
1698
- </svg>
1699
- Earthdata Download
1700
- </terra-menu-item>
1701
- </terra-menu>
1702
- </terra-dropdown>
1703
-
1704
- <!--
1705
- <terra-button
1706
- outline
1707
- @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
1708
- >
1709
- <terra-icon
1710
- name="outline-code-bracket"
1711
- library="heroicons"
1712
- font-size="1.5em"
1713
- style="margin-right: 5px;"
1714
- ></terra-icon>
1715
- Open in Jupyter Notebook
1716
- </terra-button>
1717
- --></div>
1718
- ` : E}
1719
- ${this.controller.currentJob.status === "running" ? x`<button
1720
- class="btn btn-success"
1721
- @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
1722
- ?disabled=${this.cancelingGetData}
1723
- >
1724
- ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
1725
- </button>` : E}
1726
-
1727
- <div class="job-info">
1728
- Job ID:
1729
- <span class="job-id">
1730
- ${this.bearerToken ? x`<a
1731
- href="https://harmony.earthdata.nasa.gov/jobs/${this.controller.currentJob.jobID}"
1732
- target="_blank"
1733
- >${this.controller.currentJob.jobID}</a
1734
- >` : this.controller.currentJob.jobID}
1735
- </span>
1736
- <span class="info-icon">?</span>
1737
- </div>
1738
- </div>
1739
- ` : E}
1740
- `;
1741
- };
1742
- _renderSelectedParams = new WeakSet();
1743
- renderSelectedParams_fn = function() {
1744
- var _a, _b;
1745
- const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
1746
- const variables = this.selectedVariables.length ? this.selectedVariables.map((v) => v.name) : ["All"];
1747
- const dateRange = this.selectedDateRange.startDate && this.selectedDateRange.endDate ? `${this.selectedDateRange.startDate} to ${this.selectedDateRange.endDate}` : "\u2014";
1748
- let spatial = "\u2014";
1749
- if (this.spatialSelection) {
1750
- if ("w" in this.spatialSelection) {
1751
- spatial = `Bounding Box: ${this.spatialSelection.w}, ${this.spatialSelection.s}, ${this.spatialSelection.e}, ${this.spatialSelection.n}`;
1752
- } else if ("lat" in this.spatialSelection && "lng" in this.spatialSelection) {
1753
- spatial = `Point: ${this.spatialSelection.lat}, ${this.spatialSelection.lng}`;
1754
- }
1755
- }
1756
- return x`
1757
- <dl class="params-summary">
1758
- <div>
1759
- <dt><strong>Dataset</strong></dt>
1760
- <dd>${(_b = collection == null ? void 0 : collection.EntryTitle) != null ? _b : "\u2014"}</dd>
1761
- </div>
1762
- <div>
1763
- <dt><strong>Variables</strong></dt>
1764
- <dd>${variables.map((v) => x`<div>${v}</div>`)}</dd>
1765
- </div>
1766
- <div>
1767
- <dt><strong>Date Range</strong></dt>
1768
- <dd>${dateRange}</dd>
1769
- </div>
1770
- <div>
1771
- <dt><strong>Spatial</strong></dt>
1772
- <dd>${spatial}</dd>
1773
- </div>
1774
- </dl>
1775
-
1776
- <terra-button @click=${__privateMethod(this, _refineParameters, refineParameters_fn)}
1777
- >Refine Parameters</terra-button
1778
- >
1779
- `;
1780
- };
1781
- _cancelJob = new WeakSet();
1782
- cancelJob_fn = function() {
1783
- this.cancelingGetData = true;
1784
- this.controller.cancelCurrentJob();
1785
- };
1786
- _getData = new WeakSet();
1787
- getData_fn = function() {
1788
- const validationError = __privateMethod(this, _getGiovanniValidationError, getGiovanniValidationError_fn).call(this);
1789
- if (validationError) {
1790
- this.validationError = validationError;
1791
- __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
1792
- return;
1793
- }
1794
- this.validationError = void 0;
1795
- this.cancelingGetData = false;
1796
- __privateMethod(this, _touchAllFields, touchAllFields_fn).call(this);
1797
- this.controller.cancelCurrentJob();
1798
- this.controller.currentJob = null;
1799
- this.jobId = void 0;
1800
- this.controller.jobStatusTask.run().then(() => {
1801
- var _a;
1802
- if ((_a = this.controller.currentJob) == null ? void 0 : _a.jobID) {
1803
- this.jobId = this.controller.currentJob.jobID;
1804
- }
1805
- });
1806
- setTimeout(() => {
1807
- const el = this.renderRoot.querySelector("#job-status-section");
1808
- el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
1809
- }, 100);
1810
- this.refineParameters = false;
1811
- this.isHistoryView = false;
1812
- };
1813
- _touchAllFields = new WeakSet();
1814
- touchAllFields_fn = function() {
1815
- this.touchedFields = /* @__PURE__ */ new Set(["variables", "spatial"]);
1816
- };
1817
- _numberOfFilesFoundEstimate = new WeakSet();
1818
- numberOfFilesFoundEstimate_fn = function() {
1819
- return Math.floor(
1820
- this.controller.currentJob.numInputGranules * this.controller.currentJob.progress / 100
1821
- );
1822
- };
1823
- _getDocumentationLinks = new WeakSet();
1824
- getDocumentationLinks_fn = function() {
1825
- return this.controller.currentJob.links.filter(
1826
- (link) => link.rel === "stac-catalog-json"
1827
- );
1828
- };
1829
- _getDataLinks = new WeakSet();
1830
- getDataLinks_fn = function() {
1831
- return this.controller.currentJob.links.filter((link) => link.rel === "data");
1832
- };
1833
- _hasAtLeastOneSubsetOption = new WeakSet();
1834
- hasAtLeastOneSubsetOption_fn = function() {
1835
- var _a, _b, _c, _d;
1836
- return ((_a = this.collectionWithServices) == null ? void 0 : _a.bboxSubset) || ((_b = this.collectionWithServices) == null ? void 0 : _b.shapeSubset) || ((_c = this.collectionWithServices) == null ? void 0 : _c.variableSubset) || ((_d = this.collectionWithServices) == null ? void 0 : _d.temporalSubset);
1837
- };
1838
- _hasSpatialSubset = new WeakSet();
1839
- hasSpatialSubset_fn = function() {
1840
- var _a, _b;
1841
- return ((_a = this.collectionWithServices) == null ? void 0 : _a.bboxSubset) || ((_b = this.collectionWithServices) == null ? void 0 : _b.shapeSubset);
1842
- };
1843
- _renderJobMessage = new WeakSet();
1844
- renderJobMessage_fn = function() {
1845
- const warningStatuses = [
1846
- "canceled" /* CANCELED */,
1847
- "complete_with_errors" /* COMPLETE_WITH_ERRORS */,
1848
- "running_with_errors" /* RUNNING_WITH_ERRORS */
1849
- ];
1850
- const errorStatuses = ["failed" /* FAILED */];
1851
- let type = "normal";
1852
- if (warningStatuses.includes(this.controller.currentJob.status)) {
1853
- type = "warning";
1854
- } else if (errorStatuses.includes(this.controller.currentJob.status)) {
1855
- type = "error";
1856
- }
1857
- let color, bg;
1858
- if (type === "error") {
1859
- color = "#dc3545";
1860
- bg = "#f8d7da";
1861
- } else if (type === "warning") {
1862
- color = "#856404";
1863
- bg = "#fff3cd";
1864
- } else {
1865
- color = "#555";
1866
- bg = "#f8f9fa";
1867
- }
1868
- return x`
1869
- <div
1870
- style="
1871
- margin: 24px 0 16px 0;
1872
- padding: 16px 20px;
1873
- border-radius: 6px;
1874
- background: ${bg};
1875
- color: ${color};
1876
- border: 1px solid ${color}22;
1877
- "
1878
- >
1879
- ${__privateMethod(this, _getJobMessageText, getJobMessageText_fn).call(this)}
1880
- </div>
1881
- `;
1882
- };
1883
- _getJobMessageText = new WeakSet();
1884
- getJobMessageText_fn = function() {
1885
- var _a;
1886
- return (_a = this.controller.currentJob) == null ? void 0 : _a.message.replace(
1887
- /\b(The job|the job|job|Job)\b/g,
1888
- (match) => {
1889
- switch (match) {
1890
- case "The job":
1891
- return "Your request";
1892
- case "the job":
1893
- return "Your Request";
1894
- case "job":
1895
- return "request";
1896
- case "Job":
1897
- return "Request";
1898
- }
1899
- return match;
1900
- }
1901
- );
1902
- };
1903
- _estimateJobSize = new WeakSet();
1904
- estimateJobSize_fn = function() {
1905
- var _a, _b, _c, _d;
1906
- const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
1907
- if (!collection)
1908
- return;
1909
- const range = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
1910
- let startDate;
1911
- let endDate;
1912
- let links = (_b = collection.granuleCount) != null ? _b : 0;
1913
- if (this.selectedDateRange.startDate && this.selectedDateRange.endDate) {
1914
- startDate = this.selectedDateRange.startDate;
1915
- endDate = this.selectedDateRange.endDate;
1916
- } else {
1917
- startDate = (_c = this.granuleMinDate) != null ? _c : range.startDate;
1918
- endDate = (_d = this.granuleMaxDate) != null ? _d : range.endDate;
1919
- }
1920
- if (!startDate || !endDate)
1921
- return;
1922
- const start = new Date(startDate);
1923
- const end = new Date(endDate);
1924
- const days = Math.floor((end.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24)) + 1;
1925
- if (range.startDate && range.endDate) {
1926
- const availableDaysInCollection = Math.floor(
1927
- (new Date(range.endDate).getTime() - new Date(range.startDate).getTime()) / (1e3 * 60 * 60 * 24)
1928
- ) + 1;
1929
- const granulesPerDay = links / availableDaysInCollection;
1930
- links = Math.ceil(days * granulesPerDay);
1931
- }
1932
- return { days, links };
1933
- };
1934
- _refineParameters = new WeakSet();
1935
- refineParameters_fn = function() {
1936
- this.refineParameters = true;
1937
- };
1938
- _backToSubsetOptions = new WeakSet();
1939
- backToSubsetOptions_fn = function() {
1940
- this.refineParameters = true;
1941
- setTimeout(() => {
1942
- const container = this.renderRoot.querySelector(".container");
1943
- container == null ? void 0 : container.scrollIntoView({ behavior: "smooth", block: "start" });
1944
- }, 100);
1945
- };
1946
- _viewRunningJob = new WeakSet();
1947
- viewRunningJob_fn = function() {
1948
- this.refineParameters = false;
1949
- setTimeout(() => {
1950
- const el = this.renderRoot.querySelector("#job-status-section");
1951
- el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
1952
- }, 100);
1953
- };
1954
- _handleDownloadSelect = new WeakSet();
1955
- handleDownloadSelect_fn = function(event) {
1956
- const item = event.detail.item;
1957
- const value = item.value || item.getTextLabel();
1958
- if (value === "file-list") {
1959
- __privateMethod(this, _downloadLinksAsTxt, downloadLinksAsTxt_fn).call(this, event);
1960
- } else if (value === "python-script") {
1961
- __privateMethod(this, _downloadPythonScript, downloadPythonScript_fn).call(this, event);
1962
- } else if (value === "earthdata-download") {
1963
- __privateMethod(this, _downloadEarthdataDownload, downloadEarthdataDownload_fn).call(this, event);
1964
- }
1965
- };
1966
- _downloadLinksAsTxt = new WeakSet();
1967
- downloadLinksAsTxt_fn = function(event) {
1968
- var _a;
1969
- event.stopPropagation();
1970
- if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
1971
- return;
1972
- }
1973
- const dataLinks = __privateMethod(this, _getDataLinks, getDataLinks_fn).call(this);
1974
- if (dataLinks.length === 0) {
1975
- return;
1976
- }
1977
- const content = dataLinks.map((link) => link.href).join("\n");
1978
- const blob = new Blob([content], { type: "text/plain" });
1979
- const url = URL.createObjectURL(blob);
1980
- const a = document.createElement("a");
1981
- a.href = url;
1982
- a.download = `subset_links_${this.controller.currentJob.jobID}.txt`;
1983
- document.body.appendChild(a);
1984
- a.click();
1985
- document.body.removeChild(a);
1986
- URL.revokeObjectURL(url);
1987
- };
1988
- _downloadPythonScript = new WeakSet();
1989
- downloadPythonScript_fn = async function(event) {
1990
- var _a, _b, _c;
1991
- event.stopPropagation();
1992
- if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
1993
- return;
1994
- }
1995
- const response = await fetch(
1996
- getBasePath("assets/data-subsetter/download_subset_files.py.txt")
1997
- );
1998
- if (!response.ok) {
1999
- alert(
2000
- "Sorry, there was a problem generating the Python script. We are investigating the issue.\nYou could try using the Jupyter Notebook in the meantime"
2001
- );
2002
- }
2003
- const content = (await response.text()).replace(/{{jobId}}/gi, this.controller.currentJob.jobID).replace(
2004
- /{{HARMONY_ENV}}/gi,
2005
- `Environment.${(_b = this.environment) == null ? void 0 : _b.toUpperCase()}`
2006
- ).replace(
2007
- /{{EARTHACCESS_ENV}}/gi,
2008
- `earthaccess.${(_c = this.environment) == null ? void 0 : _c.toUpperCase()}`
2009
- );
2010
- const blob = new Blob([content], { type: "text/plain" });
2011
- const url = URL.createObjectURL(blob);
2012
- const a = document.createElement("a");
2013
- a.href = url;
2014
- a.download = `download_subset_files_${this.controller.currentJob.jobID}.py`;
2015
- document.body.appendChild(a);
2016
- a.click();
2017
- document.body.removeChild(a);
2018
- URL.revokeObjectURL(url);
2019
- };
2020
- _downloadEarthdataDownload = new WeakSet();
2021
- downloadEarthdataDownload_fn = async function(event) {
2022
- var _a;
2023
- event.stopPropagation();
2024
- if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
2025
- return;
2026
- }
2027
- alert("Sorry, Earthdata Download is not currently supported");
2028
- };
2029
- _handleJupyterNotebookClick = new WeakSet();
2030
- handleJupyterNotebookClick_fn = function() {
2031
- var _a;
2032
- const notebook = getNotebook(this);
2033
- console.log("sending data to JupyterLite");
2034
- sendDataToJupyterNotebook("load-notebook", {
2035
- filename: `subset_${(_a = this.controller.currentJob) == null ? void 0 : _a.jobID}.ipynb`,
2036
- notebook,
2037
- bearerToken: this.bearerToken
2038
- });
2039
- };
2040
- _renderAvailableTemporalRangeSection = new WeakSet();
2041
- renderAvailableTemporalRangeSection_fn = function() {
2042
- const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
2043
- if (!startDate || !endDate)
2044
- return E;
2045
- return x`
2046
- <div class="section" style="margin-bottom: 16px;">
2047
- <h2 class="section-title">Available Date Range</h2>
2048
- <div style="color: #31708f; margin-top: 8px;">
2049
- <strong>${startDate}</strong> to <strong>${endDate}</strong>
2050
- </div>
2051
- <div style="font-size: 0.95em; color: #666;">
2052
- This collection does not support temporal subsetting.
2053
- </div>
2054
- </div>
2055
- `;
2056
- };
2057
- _renderAvailableSpatialRangeSection = new WeakSet();
2058
- renderAvailableSpatialRangeSection_fn = function() {
2059
- var _a, _b, _c, _d, _e;
2060
- 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;
2061
- if (!boundingRects || !Array.isArray(boundingRects) || !boundingRects.length)
2062
- return E;
2063
- return x`
2064
- <div class="section" style="margin-bottom: 16px;">
2065
- <h2 class="section-title">Available Spatial Area</h2>
2066
- <div style="color: #31708f; margin-top: 8px;">
2067
- ${boundingRects.map(
2068
- (rect) => x`<div>
2069
- <strong>Bounding Box:</strong>
2070
- ${rect.WestBoundingCoordinate},
2071
- ${rect.SouthBoundingCoordinate},
2072
- ${rect.EastBoundingCoordinate},
2073
- ${rect.NorthBoundingCoordinate}
2074
- </div>`
2075
- )}
2076
- </div>
2077
- <div style="font-size: 0.95em; color: #666;">
2078
- This collection does not support spatial subsetting.
2079
- </div>
2080
- </div>
2081
- `;
2082
- };
2083
- _renderDataAccessModeSelection = new WeakSet();
2084
- renderDataAccessModeSelection_fn = function() {
2085
- if (!this.controller.hasGranules) {
2086
- return E;
2087
- }
2088
- return x`
2089
- <div class="mode-selection">
2090
- <div class="mode-options">
2091
- <label
2092
- class="mode-option ${this.dataAccessMode === "original" ? "selected" : ""}"
2093
- >
2094
- <input
2095
- type="radio"
2096
- name="data-access-mode"
2097
- value="original"
2098
- .checked=${this.dataAccessMode === "original"}
2099
- @change=${() => this.dataAccessMode = "original"}
2100
- />
2101
- <div class="mode-content">
2102
- <div class="mode-title">Get Original Files</div>
2103
- <div class="mode-description">
2104
- Filter file links directly from the archive.
2105
- </div>
2106
- </div>
2107
- </label>
2108
-
2109
- <label
2110
- class="mode-option ${this.dataAccessMode === "subset" ? "selected" : ""}"
2111
- >
2112
- <input
2113
- type="radio"
2114
- name="data-access-mode"
2115
- value="subset"
2116
- .checked=${this.dataAccessMode === "subset"}
2117
- @change=${() => this.dataAccessMode = "subset"}
2118
- />
2119
- <div class="mode-content">
2120
- <div class="mode-title">Subset Data</div>
2121
- <div class="mode-description">
2122
- Subset the data to your specific needs.
2123
- </div>
2124
- </div>
2125
- </label>
2126
- </div>
2127
- </div>
2128
- `;
2129
- };
2130
- _isGiovanniFormat = new WeakSet();
2131
- isGiovanniFormat_fn = function() {
2132
- return this.selectedFormat === "text/csv" || this.selectedFormat === "image/tiff";
2133
- };
2134
- _getGiovanniValidationError = new WeakSet();
2135
- getGiovanniValidationError_fn = function() {
2136
- if (!__privateMethod(this, _isGiovanniFormat, isGiovanniFormat_fn).call(this)) {
2137
- return null;
2138
- }
2139
- if (this.selectedVariables.length === 0) {
2140
- return "Please select a variable to subset.";
2141
- }
2142
- if (this.selectedVariables.length > 1) {
2143
- return "The selected format only supports subsetting one variable at a time.";
2144
- }
2145
- return null;
2146
- };
2147
- TerraDataSubsetter.styles = [component_styles_default, data_subsetter_styles_default];
2148
- TerraDataSubsetter.dependencies = {
2149
- "terra-accordion": TerraAccordion,
2150
- "terra-date-picker": TerraDatePicker,
2151
- "terra-icon": TerraIcon,
2152
- "terra-input": TerraInput,
2153
- "terra-spatial-picker": TerraSpatialPicker,
2154
- "terra-login": TerraLogin,
2155
- "terra-loader": TerraLoader,
2156
- "terra-data-access": TerraDataAccess,
2157
- "terra-dialog": TerraDialog,
2158
- "terra-dropdown": TerraDropdown,
2159
- "terra-menu": TerraMenu,
2160
- "terra-menu-item": TerraMenuItem,
2161
- "terra-button": TerraButton,
2162
- "terra-alert": TerraAlert
2163
- };
2164
- __decorateClass([
2165
- n({ reflect: true, attribute: "collection-entry-id" })
2166
- ], TerraDataSubsetter.prototype, "collectionEntryId", 2);
2167
- __decorateClass([
2168
- n({ reflect: true, attribute: "short-name" })
2169
- ], TerraDataSubsetter.prototype, "shortName", 2);
2170
- __decorateClass([
2171
- n({ reflect: true, attribute: "version" })
2172
- ], TerraDataSubsetter.prototype, "version", 2);
2173
- __decorateClass([
2174
- n({ reflect: true, type: Boolean, attribute: "show-collection-search" })
2175
- ], TerraDataSubsetter.prototype, "showCollectionSearch", 2);
2176
- __decorateClass([
2177
- n({ reflect: true, type: Boolean, attribute: "show-history-panel" })
2178
- ], TerraDataSubsetter.prototype, "showHistoryPanel", 2);
2179
- __decorateClass([
2180
- n({ reflect: true, attribute: "job-id" })
2181
- ], TerraDataSubsetter.prototype, "jobId", 2);
2182
- __decorateClass([
2183
- n({ attribute: "bearer-token" })
2184
- ], TerraDataSubsetter.prototype, "bearerToken", 2);
2185
- __decorateClass([
2186
- n({ reflect: true })
2187
- ], TerraDataSubsetter.prototype, "dialog", 2);
2188
- __decorateClass([
2189
- n({ reflect: true, type: Boolean, attribute: "is-history-view" })
2190
- ], TerraDataSubsetter.prototype, "isHistoryView", 2);
2191
- __decorateClass([
2192
- r()
2193
- ], TerraDataSubsetter.prototype, "collectionWithServices", 2);
2194
- __decorateClass([
2195
- r()
2196
- ], TerraDataSubsetter.prototype, "variableDetails", 2);
2197
- __decorateClass([
2198
- r()
2199
- ], TerraDataSubsetter.prototype, "selectedVariables", 2);
2200
- __decorateClass([
2201
- r()
2202
- ], TerraDataSubsetter.prototype, "expandedVariableGroups", 2);
2203
- __decorateClass([
2204
- r()
2205
- ], TerraDataSubsetter.prototype, "variableFilterText", 2);
2206
- __decorateClass([
2207
- r()
2208
- ], TerraDataSubsetter.prototype, "touchedFields", 2);
2209
- __decorateClass([
2210
- r()
2211
- ], TerraDataSubsetter.prototype, "spatialSelection", 2);
2212
- __decorateClass([
2213
- r()
2214
- ], TerraDataSubsetter.prototype, "selectedDateRange", 2);
2215
- __decorateClass([
2216
- r()
2217
- ], TerraDataSubsetter.prototype, "selectedFormat", 2);
2218
- __decorateClass([
2219
- r()
2220
- ], TerraDataSubsetter.prototype, "cancelingGetData", 2);
2221
- __decorateClass([
2222
- r()
2223
- ], TerraDataSubsetter.prototype, "selectedTab", 2);
2224
- __decorateClass([
2225
- r()
2226
- ], TerraDataSubsetter.prototype, "refineParameters", 2);
2227
- __decorateClass([
2228
- r()
2229
- ], TerraDataSubsetter.prototype, "collectionSearchType", 2);
2230
- __decorateClass([
2231
- r()
2232
- ], TerraDataSubsetter.prototype, "collectionSearchQuery", 2);
2233
- __decorateClass([
2234
- r()
2235
- ], TerraDataSubsetter.prototype, "collectionSearchLoading", 2);
2236
- __decorateClass([
2237
- r()
2238
- ], TerraDataSubsetter.prototype, "collectionSearchResults", 2);
2239
- __decorateClass([
2240
- r()
2241
- ], TerraDataSubsetter.prototype, "collectionLoading", 2);
2242
- __decorateClass([
2243
- r()
2244
- ], TerraDataSubsetter.prototype, "collectionAccordionOpen", 2);
2245
- __decorateClass([
2246
- r()
2247
- ], TerraDataSubsetter.prototype, "dataAccessMode", 2);
2248
- __decorateClass([
2249
- r()
2250
- ], TerraDataSubsetter.prototype, "validationError", 2);
2251
- __decorateClass([
2252
- r()
2253
- ], TerraDataSubsetter.prototype, "granuleMinDate", 2);
2254
- __decorateClass([
2255
- r()
2256
- ], TerraDataSubsetter.prototype, "granuleMaxDate", 2);
2257
- __decorateClass([
2258
- r()
2259
- ], TerraDataSubsetter.prototype, "giovanniConfiguredVariables", 2);
2260
- __decorateClass([
2261
- e('[part~="spatial-picker"]')
2262
- ], TerraDataSubsetter.prototype, "spatialPicker", 2);
2263
- __decorateClass([
2264
- e("terra-dialog")
2265
- ], TerraDataSubsetter.prototype, "dialogElement", 2);
2266
- __decorateClass([
2267
- watch(["jobId"], { waitUntilFirstUpdate: true })
2268
- ], TerraDataSubsetter.prototype, "jobIdChanged", 1);
2269
- __decorateClass([
2270
- watch(["shortName", "version"])
2271
- ], TerraDataSubsetter.prototype, "shortNameAndVersionChanged", 1);
2272
- __decorateClass([
2273
- watch("collectionEntryId", { waitUntilFirstUpdate: true })
2274
- ], TerraDataSubsetter.prototype, "collectionEntryIdChanged", 1);
2275
- __decorateClass([
2276
- watch(["collectionWithServices"])
2277
- ], TerraDataSubsetter.prototype, "collectionChanged", 1);
2278
- __decorateClass([
2279
- watch(["granuleMinDate", "granuleMaxDate"])
2280
- ], TerraDataSubsetter.prototype, "granuleDatesChanged", 1);
2281
- __decorateClass([
2282
- watch("selectedFormat")
2283
- ], TerraDataSubsetter.prototype, "selectedFormatChanged", 1);
2284
- __decorateClass([
2285
- debounce(500)
2286
- ], TerraDataSubsetter.prototype, "handleCollectionSearch", 1);
2287
-
2288
- export {
2289
- TerraDataSubsetter
2290
- };