@nasa-terra/components 0.0.137 → 0.0.139

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1236) hide show
  1. package/cdn/chunks/chunk.2B6TL25H.js +19 -0
  2. package/cdn/chunks/chunk.2FIXNDLC.js +251 -0
  3. package/cdn/chunks/chunk.2JCOSZFR.js +904 -0
  4. package/cdn/chunks/chunk.2MHHVQSB.js +29 -0
  5. package/cdn/chunks/chunk.33ULU7GO.js +491 -0
  6. package/cdn/chunks/chunk.345AQZWM.js +19 -0
  7. package/cdn/chunks/chunk.34RZT4O6.js +29 -0
  8. package/cdn/chunks/chunk.3FBMVJTN.js +29 -0
  9. package/cdn/chunks/chunk.3JDGYF5R.js +36 -0
  10. package/cdn/chunks/chunk.3JUFEPIK.js +29 -0
  11. package/cdn/chunks/chunk.3KHAS7JP.js +19 -0
  12. package/cdn/chunks/chunk.3L5XNF4T.js +234 -0
  13. package/cdn/chunks/chunk.4B6VMFFW.js +19 -0
  14. package/cdn/chunks/chunk.4CH5UZQH.js +19 -0
  15. package/cdn/chunks/chunk.4CPFXOHY.js +19 -0
  16. package/cdn/chunks/chunk.4LE5R3PR.js +29 -0
  17. package/cdn/chunks/chunk.4N2A5YBK.js +472 -0
  18. package/cdn/chunks/chunk.4UFYI2TK.js +10718 -0
  19. package/cdn/chunks/chunk.5A3HYRPD.js +224 -0
  20. package/cdn/chunks/chunk.5BGHAY2N.js +35 -0
  21. package/cdn/chunks/chunk.5EJ2BIR7.js +32 -0
  22. package/cdn/chunks/chunk.5K7UOJJ2.js +32 -0
  23. package/cdn/chunks/chunk.5NWMRQKE.js +32 -0
  24. package/cdn/chunks/chunk.5SZU56B7.js +19 -0
  25. package/cdn/chunks/chunk.5ULQ5ZPE.js +19 -0
  26. package/cdn/chunks/chunk.5XFTJ654.js +132 -0
  27. package/cdn/chunks/chunk.6KNI6BO4.js +29 -0
  28. package/cdn/chunks/chunk.6LSZVT44.js +32 -0
  29. package/cdn/chunks/chunk.6P475YE7.js +32 -0
  30. package/cdn/chunks/chunk.6TK5NIXR.js +538 -0
  31. package/cdn/chunks/chunk.6VCBC23Q.js +19 -0
  32. package/cdn/chunks/chunk.6YF3W7LT.js +19 -0
  33. package/cdn/chunks/chunk.6YOCEYSK.js +32 -0
  34. package/cdn/chunks/chunk.77TXG6FM.js +188 -0
  35. package/cdn/chunks/chunk.7NFYZMNG.js +19 -0
  36. package/cdn/chunks/chunk.7PZGJRJ4.js +264 -0
  37. package/cdn/chunks/chunk.7RCNCS4U.js +198 -0
  38. package/cdn/chunks/chunk.A3HR5UMX.js +19 -0
  39. package/cdn/chunks/chunk.A44ASB2E.js +19 -0
  40. package/cdn/chunks/chunk.AHOS6VUF.js +155 -0
  41. package/cdn/chunks/chunk.AJW5O45L.js +29 -0
  42. package/cdn/chunks/chunk.APDRZBCN.js +34 -0
  43. package/cdn/chunks/chunk.AT7GXBD2.js +19 -0
  44. package/cdn/chunks/chunk.B7436PBE.js +99 -0
  45. package/cdn/chunks/chunk.BAXXFOKW.js +29 -0
  46. package/cdn/chunks/chunk.BEQD5VET.js +477 -0
  47. package/cdn/chunks/chunk.BGEG3ILU.js +19 -0
  48. package/cdn/chunks/chunk.BIL4QU4I.js +158 -0
  49. package/cdn/chunks/chunk.BKJBB7P6.js +19 -0
  50. package/cdn/chunks/chunk.BRFX2VMD.js +86 -0
  51. package/cdn/chunks/chunk.C2NSEJUB.js +29 -0
  52. package/cdn/chunks/chunk.C2OZB7DE.js +19 -0
  53. package/cdn/chunks/chunk.C5HGW4V2.js +276 -0
  54. package/cdn/chunks/chunk.C5XMJ6GC.js +309 -0
  55. package/cdn/chunks/chunk.C6LHPBOI.js +1966 -0
  56. package/cdn/chunks/chunk.CA7RFX6N.js +359 -0
  57. package/cdn/chunks/chunk.CGX2AIUE.js +29 -0
  58. package/cdn/chunks/chunk.CI2GQALQ.js +78 -0
  59. package/cdn/chunks/chunk.CQ424ME5.js +2073 -0
  60. package/cdn/chunks/chunk.CV5XFSGK.js +19 -0
  61. package/cdn/chunks/chunk.D5R3LEZU.js +49 -0
  62. package/cdn/chunks/chunk.D6CMNUDX.js +954 -0
  63. package/cdn/chunks/chunk.D6L5MXGZ.js +37 -0
  64. package/cdn/chunks/chunk.DAQXODMO.js +19 -0
  65. package/cdn/chunks/chunk.DCLC7OGT.js +29 -0
  66. package/cdn/chunks/chunk.DHNU3YDL.js +19 -0
  67. package/cdn/chunks/chunk.DJYUXTUP.js +1803 -0
  68. package/cdn/chunks/chunk.DLPRJG7W.js +32 -0
  69. package/cdn/chunks/chunk.DNWNXGQY.js +19 -0
  70. package/cdn/chunks/chunk.DYMNEARK.js +29 -0
  71. package/cdn/chunks/chunk.E3W5BATW.js +60 -0
  72. package/cdn/chunks/chunk.E6OTJQA2.js +615 -0
  73. package/cdn/chunks/chunk.EEL5QODT.js +41 -0
  74. package/cdn/chunks/chunk.EHOIWBWJ.js +302 -0
  75. package/cdn/chunks/chunk.EI2XTC4O.js +278 -0
  76. package/cdn/chunks/chunk.EQZREVVY.js +29 -0
  77. package/cdn/chunks/chunk.EVBUT74B.js +19 -0
  78. package/cdn/chunks/chunk.FBI2TYXB.js +19 -0
  79. package/cdn/chunks/chunk.FG2ISGVU.js +660 -0
  80. package/cdn/chunks/chunk.FLUN2UKH.js +372 -0
  81. package/cdn/chunks/chunk.FTQ5KMTQ.js +151 -0
  82. package/cdn/chunks/chunk.FU6DSPVY.js +657 -0
  83. package/cdn/chunks/chunk.G5YHIN6F.js +104 -0
  84. package/cdn/chunks/chunk.GDJPXXU2.js +286 -0
  85. package/cdn/chunks/chunk.GIFNSZH6.js +39 -0
  86. package/cdn/chunks/chunk.GJLQFN2E.js +29 -0
  87. package/cdn/chunks/chunk.GKLZDT4V.js +229 -0
  88. package/cdn/chunks/chunk.GR3J7ERT.js +19 -0
  89. package/cdn/chunks/chunk.GZI4VIBC.js +19 -0
  90. package/cdn/chunks/chunk.GZTLYMW7.js +29 -0
  91. package/cdn/chunks/chunk.H3I32IFN.js +19 -0
  92. package/cdn/chunks/chunk.HBVF6X6O.js +29 -0
  93. package/cdn/chunks/chunk.HPVMDHB6.js +19 -0
  94. package/cdn/chunks/chunk.HZR3QQV5.js +19 -0
  95. package/cdn/chunks/chunk.I33GZT57.js +19 -0
  96. package/cdn/chunks/chunk.I3MKG2KR.js +92 -0
  97. package/cdn/chunks/chunk.IDIC52JU.js +19 -0
  98. package/cdn/chunks/chunk.IMOHWICB.js +36 -0
  99. package/cdn/chunks/chunk.IN3SYHXS.js +19 -0
  100. package/cdn/chunks/chunk.ISFWCXRF.js +599 -0
  101. package/cdn/chunks/chunk.IZ3GPCEW.js +33860 -0
  102. package/cdn/chunks/chunk.IZV5Q7KV.js +74 -0
  103. package/cdn/chunks/chunk.J2K53JZV.js +34 -0
  104. package/cdn/chunks/chunk.J75QLCBQ.js +19 -0
  105. package/cdn/chunks/chunk.JAG3QJFT.js +134 -0
  106. package/cdn/chunks/chunk.JD3LSW7U.js +29 -0
  107. package/cdn/chunks/chunk.JGC7PGMS.js +19 -0
  108. package/cdn/chunks/chunk.JHZDDMUY.js +29 -0
  109. package/cdn/chunks/chunk.JLLXBG72.js +19 -0
  110. package/cdn/chunks/chunk.JNZU345Q.js +55346 -0
  111. package/cdn/chunks/chunk.JOH7WPM6.js +19 -0
  112. package/cdn/chunks/chunk.JOP5IKGK.js +29 -0
  113. package/cdn/chunks/chunk.JSLMWT5S.js +19 -0
  114. package/cdn/chunks/chunk.JX5TX7XM.js +524 -0
  115. package/cdn/chunks/chunk.KG6VRPUL.js +610 -0
  116. package/cdn/chunks/chunk.KH7BIODL.js +29 -0
  117. package/cdn/chunks/chunk.KLZ3WTOX.js +19 -0
  118. package/cdn/chunks/chunk.KQC463Q4.js +170 -0
  119. package/cdn/chunks/chunk.LDVBSHNI.js +29 -0
  120. package/cdn/chunks/chunk.LPESW6XC.js +19 -0
  121. package/cdn/chunks/chunk.LS7YQA7Q.js +19 -0
  122. package/cdn/chunks/chunk.LTJFOFDO.js +19 -0
  123. package/cdn/chunks/chunk.LTTBS7JX.js +259 -0
  124. package/cdn/chunks/chunk.LYIM3DGX.js +35 -0
  125. package/cdn/chunks/chunk.M3AZOEG5.js +33 -0
  126. package/cdn/chunks/chunk.MEMDT5D6.js +33 -0
  127. package/cdn/chunks/chunk.N2FBKLVM.js +36 -0
  128. package/cdn/chunks/chunk.NFP4XN3M.js +19 -0
  129. package/cdn/chunks/chunk.NJ37BF2N.js +29 -0
  130. package/cdn/chunks/chunk.NNJTL2WE.js +32 -0
  131. package/cdn/chunks/chunk.NOEET5Z4.js +32 -0
  132. package/cdn/chunks/chunk.NPTP4N36.js +165 -0
  133. package/cdn/chunks/chunk.O2MNTOTN.js +19 -0
  134. package/cdn/chunks/chunk.OD5OVBHN.js +19 -0
  135. package/cdn/chunks/chunk.OFE5O3W5.js +35 -0
  136. package/cdn/chunks/chunk.OLXTWZ2Y.js +19 -0
  137. package/cdn/chunks/chunk.OTPQCBBK.js +36 -0
  138. package/cdn/chunks/chunk.OVEGRLIS.js +19 -0
  139. package/cdn/chunks/chunk.OVTNQSJY.js +29 -0
  140. package/cdn/chunks/chunk.OW4UIENR.js +34 -0
  141. package/cdn/chunks/chunk.OWFXU56I.js +47 -0
  142. package/cdn/chunks/chunk.OZRSX7RA.js +230 -0
  143. package/cdn/chunks/chunk.PKYJISOI.js +67 -0
  144. package/cdn/chunks/chunk.PKYJN5TL.js +132 -0
  145. package/cdn/chunks/chunk.PMXXCLGN.js +99 -0
  146. package/cdn/chunks/chunk.QJG3KXAL.js +754 -0
  147. package/cdn/chunks/chunk.QQQCEJ3P.js +19 -0
  148. package/cdn/chunks/chunk.QTCUUPJT.js +32 -0
  149. package/cdn/chunks/chunk.QTWGHAMX.js +231 -0
  150. package/cdn/chunks/chunk.R62X6UTY.js +71 -0
  151. package/cdn/chunks/chunk.RBI4SUTP.js +29 -0
  152. package/cdn/chunks/chunk.RF5JQS6G.js +19 -0
  153. package/cdn/chunks/chunk.RI2OOOHA.js +35 -0
  154. package/cdn/chunks/chunk.RJDT2HQD.js +943 -0
  155. package/cdn/chunks/chunk.RPTJEEJR.js +19 -0
  156. package/cdn/chunks/chunk.RRWPHI7Y.js +19 -0
  157. package/cdn/chunks/chunk.S4AGLUO5.js +460 -0
  158. package/cdn/chunks/chunk.SACSIPDE.js +93 -0
  159. package/cdn/chunks/chunk.SBOWWLCP.js +29 -0
  160. package/cdn/chunks/chunk.SDD4Y6YW.js +29 -0
  161. package/cdn/chunks/chunk.SF5YSOET.js +621 -0
  162. package/cdn/chunks/chunk.SOGAAP43.js +29 -0
  163. package/cdn/chunks/chunk.T4J7SCOW.js +19 -0
  164. package/cdn/chunks/chunk.T6VYAQOK.js +284 -0
  165. package/cdn/chunks/chunk.T7Y2NRB3.js +19 -0
  166. package/cdn/chunks/chunk.TGEAFYSD.js +32 -0
  167. package/cdn/chunks/chunk.TLGEOSTJ.js +33 -0
  168. package/cdn/chunks/chunk.TRPJ2WOJ.js +60 -0
  169. package/cdn/chunks/chunk.TRRLACND.js +83 -0
  170. package/cdn/chunks/chunk.TTL2D2K3.js +33 -0
  171. package/cdn/chunks/chunk.TTZRS2Z2.js +32 -0
  172. package/cdn/chunks/chunk.TW2COE3D.js +113 -0
  173. package/cdn/chunks/chunk.U4BF3ZWF.js +190 -0
  174. package/cdn/chunks/chunk.UNEVE6A4.js +435 -0
  175. package/cdn/chunks/chunk.UPAWY7GC.js +62 -0
  176. package/cdn/chunks/chunk.UT54KXFP.js +19 -0
  177. package/cdn/chunks/chunk.UTEDJXOP.js +82 -0
  178. package/cdn/chunks/chunk.UUUUK3QA.js +123 -0
  179. package/cdn/chunks/chunk.UXIMEXHC.js +37 -0
  180. package/cdn/chunks/chunk.VIW62643.js +29 -0
  181. package/cdn/chunks/chunk.VM2TQ3LY.js +19 -0
  182. package/cdn/chunks/chunk.VOCQHX7F.js +32 -0
  183. package/cdn/chunks/chunk.VS2VJKT2.js +19 -0
  184. package/cdn/chunks/chunk.WLXVWP7V.js +19 -0
  185. package/cdn/chunks/chunk.WOEBW5PN.js +19 -0
  186. package/cdn/chunks/chunk.WSJODP2O.js +30 -0
  187. package/cdn/chunks/chunk.XQJPYZPB.js +32 -0
  188. package/cdn/chunks/chunk.XTDFLS7Z.js +33 -0
  189. package/cdn/chunks/chunk.XZQ44RGE.js +189 -0
  190. package/cdn/chunks/chunk.YH2RHLYO.js +19 -0
  191. package/cdn/chunks/chunk.YHFXH4XR.js +19 -0
  192. package/cdn/chunks/chunk.YID2PD4H.js +83 -0
  193. package/cdn/chunks/chunk.YJL3JAIE.js +19 -0
  194. package/cdn/chunks/chunk.YMBKFE6C.js +19 -0
  195. package/cdn/chunks/chunk.YQ73WBVE.js +29 -0
  196. package/cdn/chunks/chunk.YQF3O4M6.js +240 -0
  197. package/cdn/chunks/chunk.ZDTOKUHN.js +19 -0
  198. package/cdn/chunks/chunk.ZGAJXSLY.js +32 -0
  199. package/cdn/chunks/chunk.ZM3NLLMD.js +357 -0
  200. package/cdn/chunks/chunk.ZVC2TYWY.js +106 -0
  201. package/cdn/components/accordion/accordion.component.js +5 -5
  202. package/cdn/components/accordion/accordion.js +6 -6
  203. package/cdn/components/alert/alert.component.js +4 -4
  204. package/cdn/components/alert/alert.js +5 -5
  205. package/cdn/components/avatar/avatar.component.js +5 -5
  206. package/cdn/components/avatar/avatar.js +6 -6
  207. package/cdn/components/badge/badge.component.js +3 -3
  208. package/cdn/components/badge/badge.js +4 -4
  209. package/cdn/components/breadcrumb/breadcrumb.component.js +2 -2
  210. package/cdn/components/breadcrumb/breadcrumb.js +3 -3
  211. package/cdn/components/breadcrumbs/breadcrumbs.component.js +2 -2
  212. package/cdn/components/breadcrumbs/breadcrumbs.js +3 -3
  213. package/cdn/components/browse-variables/browse-variables.component.js +13 -13
  214. package/cdn/components/browse-variables/browse-variables.js +14 -14
  215. package/cdn/components/button/button.component.d.ts +6 -0
  216. package/cdn/components/button/button.component.js +6 -6
  217. package/cdn/components/button/button.js +7 -7
  218. package/cdn/components/button-group/button-group.component.js +2 -2
  219. package/cdn/components/button-group/button-group.js +3 -3
  220. package/cdn/components/caption/caption.component.js +2 -2
  221. package/cdn/components/caption/caption.js +3 -3
  222. package/cdn/components/card/card.component.js +2 -2
  223. package/cdn/components/card/card.js +3 -3
  224. package/cdn/components/checkbox/checkbox.component.js +6 -6
  225. package/cdn/components/checkbox/checkbox.js +7 -7
  226. package/cdn/components/chip/chip.component.d.ts +2 -0
  227. package/cdn/components/chip/chip.component.js +2 -2
  228. package/cdn/components/chip/chip.js +3 -3
  229. package/cdn/components/combobox/combobox.component.js +3 -3
  230. package/cdn/components/combobox/combobox.js +4 -4
  231. package/cdn/components/data-access/data-access.component.d.ts +3 -1
  232. package/cdn/components/data-access/data-access.component.js +27 -26
  233. package/cdn/components/data-access/data-access.controller.d.ts +8 -0
  234. package/cdn/components/data-access/data-access.controller.js +1 -1
  235. package/cdn/components/data-access/data-access.js +28 -27
  236. package/cdn/components/data-access/data-access.styles.js +1 -1
  237. package/cdn/components/data-access/notebooks/data-access-notebook.js +3 -77
  238. package/cdn/components/data-grid/data-grid.component.js +3 -3
  239. package/cdn/components/data-grid/data-grid.js +4 -4
  240. package/cdn/components/data-rods/data-rods.component.js +35 -35
  241. package/cdn/components/data-rods/data-rods.js +36 -36
  242. package/cdn/components/data-subsetter/data-subsetter.component.js +39 -38
  243. package/cdn/components/data-subsetter/data-subsetter.controller.js +1 -1
  244. package/cdn/components/data-subsetter/data-subsetter.js +40 -39
  245. package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  246. package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +40 -39
  247. package/cdn/components/data-subsetter-history/data-subsetter-history.js +41 -40
  248. package/cdn/components/date-picker/date-picker.component.js +11 -11
  249. package/cdn/components/date-picker/date-picker.js +12 -12
  250. package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
  251. package/cdn/components/date-range-slider/date-range-slider.js +3 -3
  252. package/cdn/components/dialog/dialog.component.js +8 -8
  253. package/cdn/components/dialog/dialog.js +9 -9
  254. package/cdn/components/divider/divider.component.js +2 -2
  255. package/cdn/components/divider/divider.js +3 -3
  256. package/cdn/components/dropdown/dropdown.component.js +4 -4
  257. package/cdn/components/dropdown/dropdown.js +5 -5
  258. package/cdn/components/earthdata-login/earthdata-login.component.js +13 -13
  259. package/cdn/components/earthdata-login/earthdata-login.js +14 -14
  260. package/cdn/components/file-upload/file-upload.component.js +2 -2
  261. package/cdn/components/file-upload/file-upload.js +3 -3
  262. package/cdn/components/icon/icon.component.js +4 -4
  263. package/cdn/components/icon/icon.js +5 -5
  264. package/cdn/components/input/input.component.js +6 -6
  265. package/cdn/components/input/input.js +7 -7
  266. package/cdn/components/loader/loader.component.js +2 -2
  267. package/cdn/components/loader/loader.js +3 -3
  268. package/cdn/components/login/login.component.js +11 -11
  269. package/cdn/components/login/login.js +12 -12
  270. package/cdn/components/map/leaflet-utils.d.ts +1 -0
  271. package/cdn/components/map/leaflet-utils.js +1 -1
  272. package/cdn/components/map/map.component.d.ts +4 -0
  273. package/cdn/components/map/map.component.js +5 -5
  274. package/cdn/components/map/map.js +6 -6
  275. package/cdn/components/menu/menu.component.js +2 -2
  276. package/cdn/components/menu/menu.js +3 -3
  277. package/cdn/components/menu-item/menu-item.component.js +8 -8
  278. package/cdn/components/menu-item/menu-item.js +9 -9
  279. package/cdn/components/menu-item/submenu-controller.js +1 -1
  280. package/cdn/components/option/option.component.js +5 -5
  281. package/cdn/components/option/option.js +6 -6
  282. package/cdn/components/pagination/pagination.component.js +5 -5
  283. package/cdn/components/pagination/pagination.js +6 -6
  284. package/cdn/components/plot/plot.component.js +3 -3
  285. package/cdn/components/plot/plot.js +4 -4
  286. package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  287. package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  288. package/cdn/components/plot-toolbar/plot-toolbar.component.js +13 -13
  289. package/cdn/components/plot-toolbar/plot-toolbar.js +14 -14
  290. package/cdn/components/popup/popup.component.js +2 -2
  291. package/cdn/components/popup/popup.js +3 -3
  292. package/cdn/components/progress-bar/progress-bar.component.js +2 -2
  293. package/cdn/components/progress-bar/progress-bar.js +3 -3
  294. package/cdn/components/radio/radio.component.js +3 -3
  295. package/cdn/components/radio/radio.js +4 -4
  296. package/cdn/components/radio-group/radio-group.component.js +3 -3
  297. package/cdn/components/radio-group/radio-group.js +4 -4
  298. package/cdn/components/scroll-hint/scroll-hint.component.js +5 -5
  299. package/cdn/components/scroll-hint/scroll-hint.js +6 -6
  300. package/cdn/components/select/select.component.js +9 -9
  301. package/cdn/components/select/select.js +10 -10
  302. package/cdn/components/site-header/site-header.component.js +6 -6
  303. package/cdn/components/site-header/site-header.js +6 -6
  304. package/cdn/components/site-navigation/site-navigation.component.js +2 -2
  305. package/cdn/components/site-navigation/site-navigation.js +2 -2
  306. package/cdn/components/skeleton/skeleton.component.js +2 -2
  307. package/cdn/components/skeleton/skeleton.js +3 -3
  308. package/cdn/components/slider/slider.component.js +2 -2
  309. package/cdn/components/slider/slider.js +3 -3
  310. package/cdn/components/spatial-picker/spatial-picker.component.d.ts +4 -0
  311. package/cdn/components/spatial-picker/spatial-picker.component.js +13 -13
  312. package/cdn/components/spatial-picker/spatial-picker.js +14 -14
  313. package/cdn/components/status-indicator/status-indicator.component.js +2 -2
  314. package/cdn/components/status-indicator/status-indicator.js +3 -3
  315. package/cdn/components/stepper/stepper.component.js +2 -2
  316. package/cdn/components/stepper/stepper.js +3 -3
  317. package/cdn/components/stepper-step/stepper-step.component.js +5 -5
  318. package/cdn/components/stepper-step/stepper-step.js +6 -6
  319. package/cdn/components/tab/tab.component.js +5 -5
  320. package/cdn/components/tab/tab.js +6 -6
  321. package/cdn/components/tab-panel/tab-panel.component.js +3 -3
  322. package/cdn/components/tab-panel/tab-panel.js +4 -4
  323. package/cdn/components/tabs/tabs.component.js +5 -5
  324. package/cdn/components/tabs/tabs.js +6 -6
  325. package/cdn/components/tag/tag.component.js +5 -5
  326. package/cdn/components/tag/tag.js +6 -6
  327. package/cdn/components/textarea/textarea.component.js +4 -4
  328. package/cdn/components/textarea/textarea.js +5 -5
  329. package/cdn/components/time-average-map/time-average-map.component.js +21 -21
  330. package/cdn/components/time-average-map/time-average-map.controller.js +2 -2
  331. package/cdn/components/time-average-map/time-average-map.js +22 -22
  332. package/cdn/components/time-series/time-series.component.js +22 -22
  333. package/cdn/components/time-series/time-series.controller.js +2 -2
  334. package/cdn/components/time-series/time-series.js +23 -23
  335. package/cdn/components/toast/toast.component.js +5 -5
  336. package/cdn/components/toast/toast.js +6 -6
  337. package/cdn/components/toggle/toggle.component.js +4 -4
  338. package/cdn/components/toggle/toggle.js +5 -5
  339. package/cdn/components/tooltip/tooltip.component.js +4 -4
  340. package/cdn/components/tooltip/tooltip.js +5 -5
  341. package/cdn/components/variable-combobox/variable-combobox.component.js +10 -10
  342. package/cdn/components/variable-combobox/variable-combobox.js +11 -11
  343. package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +10 -10
  344. package/cdn/components/variable-keyword-search/variable-keyword-search.js +11 -11
  345. package/cdn/custom-elements.json +4170 -4065
  346. package/cdn/react/accordion/index.js +6 -6
  347. package/cdn/react/alert/index.js +5 -5
  348. package/cdn/react/avatar/index.js +6 -6
  349. package/cdn/react/badge/index.js +4 -4
  350. package/cdn/react/breadcrumb/index.js +3 -3
  351. package/cdn/react/breadcrumbs/index.js +3 -3
  352. package/cdn/react/browse-variables/index.js +14 -14
  353. package/cdn/react/button/index.d.ts +12 -1
  354. package/cdn/react/button/index.js +7 -7
  355. package/cdn/react/button-group/index.js +3 -3
  356. package/cdn/react/caption/index.js +3 -3
  357. package/cdn/react/card/index.js +3 -3
  358. package/cdn/react/checkbox/index.js +7 -7
  359. package/cdn/react/chip/index.d.ts +8 -1
  360. package/cdn/react/chip/index.js +3 -3
  361. package/cdn/react/combobox/index.js +4 -4
  362. package/cdn/react/data-access/index.js +28 -27
  363. package/cdn/react/data-grid/index.js +4 -4
  364. package/cdn/react/data-rods/index.js +36 -36
  365. package/cdn/react/data-subsetter/index.js +40 -39
  366. package/cdn/react/data-subsetter-history/index.js +41 -40
  367. package/cdn/react/date-picker/index.js +12 -12
  368. package/cdn/react/date-range-slider/index.js +3 -3
  369. package/cdn/react/dialog/index.js +9 -9
  370. package/cdn/react/divider/index.js +3 -3
  371. package/cdn/react/dropdown/index.js +5 -5
  372. package/cdn/react/earthdata-login/index.js +14 -14
  373. package/cdn/react/file-upload/index.js +3 -3
  374. package/cdn/react/icon/index.js +5 -5
  375. package/cdn/react/index.d.ts +11 -11
  376. package/cdn/react/index.js +200 -199
  377. package/cdn/react/input/index.js +7 -7
  378. package/cdn/react/loader/index.js +3 -3
  379. package/cdn/react/login/index.js +12 -12
  380. package/cdn/react/map/index.js +6 -6
  381. package/cdn/react/menu/index.js +3 -3
  382. package/cdn/react/menu-item/index.js +9 -9
  383. package/cdn/react/option/index.js +6 -6
  384. package/cdn/react/pagination/index.js +6 -6
  385. package/cdn/react/plot/index.js +4 -4
  386. package/cdn/react/plot-toolbar/index.js +14 -14
  387. package/cdn/react/popup/index.js +3 -3
  388. package/cdn/react/progress-bar/index.js +3 -3
  389. package/cdn/react/radio/index.js +4 -4
  390. package/cdn/react/radio-group/index.js +4 -4
  391. package/cdn/react/scroll-hint/index.js +6 -6
  392. package/cdn/react/select/index.js +10 -10
  393. package/cdn/react/site-header/index.js +7 -7
  394. package/cdn/react/site-navigation/index.js +3 -3
  395. package/cdn/react/skeleton/index.js +3 -3
  396. package/cdn/react/slider/index.js +3 -3
  397. package/cdn/react/spatial-picker/index.js +14 -14
  398. package/cdn/react/status-indicator/index.js +3 -3
  399. package/cdn/react/stepper/index.js +3 -3
  400. package/cdn/react/stepper-step/index.js +6 -6
  401. package/cdn/react/tab/index.js +6 -6
  402. package/cdn/react/tab-panel/index.js +4 -4
  403. package/cdn/react/tabs/index.js +6 -6
  404. package/cdn/react/tag/index.js +6 -6
  405. package/cdn/react/textarea/index.js +5 -5
  406. package/cdn/react/time-average-map/index.js +22 -22
  407. package/cdn/react/time-series/index.js +23 -23
  408. package/cdn/react/toast/index.js +6 -6
  409. package/cdn/react/toggle/index.js +5 -5
  410. package/cdn/react/tooltip/index.js +5 -5
  411. package/cdn/react/variable-combobox/index.js +11 -11
  412. package/cdn/react/variable-keyword-search/index.js +11 -11
  413. package/cdn/terra-ui-components.js +192 -191
  414. package/cdn/types/vue/index.d.ts +541 -521
  415. package/cdn/utilities/mimetypes.js +1 -1
  416. package/cdn/vscode.html-custom-data.json +419 -404
  417. package/cdn/web-types.json +1120 -1062
  418. package/dist/chunks/chunk.23NLQYJ7.js +11 -0
  419. package/dist/chunks/chunk.2HXEBKDJ.js +11 -0
  420. package/dist/chunks/chunk.2TL5SGLD.js +11 -0
  421. package/dist/chunks/chunk.2VDXL62K.js +11 -0
  422. package/dist/chunks/chunk.2VHPJYJX.js +11 -0
  423. package/dist/chunks/chunk.3247IXNN.js +11 -0
  424. package/dist/chunks/chunk.3CINJNOA.js +24 -0
  425. package/dist/chunks/chunk.3GYL6ORG.js +21 -0
  426. package/dist/chunks/chunk.3ONUIWXV.js +29 -0
  427. package/dist/chunks/chunk.3QWCR7W7.js +24 -0
  428. package/dist/chunks/chunk.3SE6ZIME.js +11 -0
  429. package/dist/chunks/chunk.3UO4BPIZ.js +11 -0
  430. package/dist/chunks/chunk.3XFQA2XA.js +11 -0
  431. package/dist/chunks/chunk.45MY2TZ5.js +93 -0
  432. package/dist/chunks/chunk.47EHCMIS.js +11 -0
  433. package/dist/chunks/chunk.4IT7UTHS.js +21 -0
  434. package/dist/chunks/chunk.4JDUHDVS.js +525 -0
  435. package/dist/chunks/chunk.4WIFFN7U.js +89 -0
  436. package/dist/chunks/chunk.5CQ3UBKW.js +21 -0
  437. package/dist/chunks/chunk.5K55E6UH.js +25 -0
  438. package/dist/chunks/chunk.5KYQIBJW.js +11 -0
  439. package/dist/chunks/chunk.5OE6LILN.js +844 -0
  440. package/dist/chunks/chunk.5RCWRDS6.js +642 -0
  441. package/dist/chunks/chunk.65RMIPXH.js +21 -0
  442. package/dist/chunks/chunk.6E2CQRCE.js +291 -0
  443. package/dist/chunks/chunk.6FWNBIFP.js +21 -0
  444. package/dist/chunks/chunk.6JNRKHB4.js +25 -0
  445. package/dist/chunks/chunk.6L37ZKYY.js +28 -0
  446. package/dist/chunks/chunk.6TFGD3QA.js +180 -0
  447. package/dist/chunks/chunk.74BMSBNF.js +11 -0
  448. package/dist/chunks/chunk.7BLY6TM7.js +11 -0
  449. package/dist/chunks/chunk.7BOCHV2R.js +21 -0
  450. package/dist/chunks/chunk.7QALYCE5.js +11 -0
  451. package/dist/chunks/chunk.7VBFJCK4.js +21 -0
  452. package/dist/chunks/chunk.7WF6TPF6.js +11 -0
  453. package/dist/chunks/chunk.A56NOSXD.js +443 -0
  454. package/dist/chunks/chunk.ATQZRLHV.js +21 -0
  455. package/dist/chunks/chunk.AYGU6XYF.js +11 -0
  456. package/dist/chunks/chunk.B3DZ7FFL.js +271 -0
  457. package/dist/chunks/chunk.B5CILBXM.js +11 -0
  458. package/dist/chunks/chunk.B75DWB3E.js +21 -0
  459. package/dist/chunks/chunk.BH2KP7PZ.js +24 -0
  460. package/dist/chunks/chunk.BRJ7H3TE.js +25 -0
  461. package/dist/chunks/chunk.BRSGX5AM.js +11 -0
  462. package/dist/chunks/chunk.BSUXEC3M.js +143 -0
  463. package/dist/chunks/chunk.D2NEYV7K.js +262 -0
  464. package/dist/chunks/chunk.D2WXN4BG.js +11 -0
  465. package/dist/chunks/chunk.D5M6M4QG.js +11 -0
  466. package/dist/chunks/chunk.D67GQK4P.js +11 -0
  467. package/dist/chunks/chunk.D7UB7ALS.js +31 -0
  468. package/dist/chunks/chunk.DEO7CUOC.js +86 -0
  469. package/dist/chunks/chunk.DGI2HS6F.js +24 -0
  470. package/dist/chunks/chunk.DLLWR2VD.js +11 -0
  471. package/dist/chunks/chunk.DM52LQTY.js +11 -0
  472. package/dist/chunks/chunk.DQZBUH37.js +345 -0
  473. package/dist/chunks/chunk.DRBSI7XC.js +24 -0
  474. package/dist/chunks/chunk.DRS2JY44.js +67 -0
  475. package/dist/chunks/chunk.DZHKU3N5.js +245 -0
  476. package/dist/chunks/chunk.EIND5KV5.js +733 -0
  477. package/dist/chunks/chunk.EOUABBGI.js +123 -0
  478. package/dist/chunks/chunk.ESLNXPTJ.js +21 -0
  479. package/dist/chunks/chunk.EVTNY6AO.js +153 -0
  480. package/dist/chunks/chunk.FCVMQBC6.js +927 -0
  481. package/dist/chunks/chunk.FEL4RVQO.js +11 -0
  482. package/dist/chunks/chunk.FEORSNUI.js +220 -0
  483. package/dist/chunks/chunk.FGTNTIOR.js +21 -0
  484. package/dist/chunks/chunk.FIT2RVBA.js +180 -0
  485. package/dist/chunks/chunk.FLBPWUOX.js +11 -0
  486. package/dist/chunks/chunk.FLJ2EW3R.js +11 -0
  487. package/dist/chunks/chunk.FM6RMNPW.js +29 -0
  488. package/dist/chunks/chunk.FP2ZZ5E2.js +28 -0
  489. package/dist/chunks/chunk.FRFLTGR4.js +24 -0
  490. package/dist/chunks/chunk.FSKG5KRG.js +20 -0
  491. package/dist/chunks/chunk.GA27DR2B.js +220 -0
  492. package/dist/chunks/chunk.GHURD4CJ.js +11 -0
  493. package/dist/chunks/chunk.GSU5W4TG.js +1788 -0
  494. package/dist/chunks/chunk.HAQWUOM4.js +75 -0
  495. package/dist/chunks/chunk.HFFC7CSH.js +61 -0
  496. package/dist/chunks/chunk.HQVGLVRZ.js +52 -0
  497. package/dist/chunks/chunk.HRIOFO3J.js +25 -0
  498. package/dist/chunks/chunk.HT2SR5A4.js +21 -0
  499. package/dist/chunks/chunk.HV6RS7ZE.js +11 -0
  500. package/dist/chunks/chunk.HW7S6WES.js +11 -0
  501. package/dist/chunks/chunk.HXDEAUF3.js +11 -0
  502. package/dist/chunks/chunk.IACKHKNK.js +39 -0
  503. package/dist/chunks/chunk.ICKWGKAA.js +24 -0
  504. package/dist/chunks/chunk.IDSPFGMF.js +24 -0
  505. package/dist/chunks/chunk.IEWMER6A.js +27 -0
  506. package/dist/chunks/chunk.IG5E3PNG.js +145 -0
  507. package/dist/chunks/chunk.ILC2ULOI.js +91 -0
  508. package/dist/chunks/chunk.J22KHIHT.js +11 -0
  509. package/dist/chunks/chunk.J543UX5E.js +11 -0
  510. package/dist/chunks/chunk.JBAD2K7T.js +21 -0
  511. package/dist/chunks/chunk.JLZUVFCE.js +287 -0
  512. package/dist/chunks/chunk.JTBVF4U6.js +422 -0
  513. package/dist/chunks/chunk.K2SZX5IG.js +21 -0
  514. package/dist/chunks/chunk.K3AWJBDJ.js +21 -0
  515. package/dist/chunks/chunk.KE3MZQ6G.js +21 -0
  516. package/dist/chunks/chunk.KFBVHRHZ.js +11 -0
  517. package/dist/chunks/chunk.KMFDKQOL.js +83 -0
  518. package/dist/chunks/chunk.LFAE5YNF.js +11 -0
  519. package/dist/chunks/chunk.LFAOPKE4.js +21 -0
  520. package/dist/chunks/chunk.LLHM6XAL.js +11 -0
  521. package/dist/chunks/chunk.LOG6ATWX.js +609 -0
  522. package/dist/chunks/chunk.LOSJS73C.js +48 -0
  523. package/dist/chunks/chunk.LTYKZQRC.js +121 -0
  524. package/dist/chunks/chunk.LUHKHMDR.js +11 -0
  525. package/dist/chunks/chunk.LVEVEN6X.js +11 -0
  526. package/dist/chunks/chunk.M5JKEDTX.js +24 -0
  527. package/dist/chunks/chunk.MILX66GG.js +25 -0
  528. package/dist/chunks/chunk.MJAA2EKQ.js +214 -0
  529. package/dist/chunks/chunk.MJQNLZIJ.js +57 -0
  530. package/dist/chunks/chunk.MOVS4YNJ.js +24 -0
  531. package/dist/chunks/chunk.MU56K6DK.js +24 -0
  532. package/dist/chunks/chunk.MYBSXZHT.js +278 -0
  533. package/dist/chunks/chunk.N44PPT5L.js +74 -0
  534. package/dist/chunks/chunk.N7PWSHBL.js +24 -0
  535. package/dist/chunks/chunk.NAZZYKXP.js +11 -0
  536. package/dist/chunks/chunk.NDFKP43K.js +52 -0
  537. package/dist/chunks/chunk.NFRQWBWE.js +78 -0
  538. package/dist/chunks/chunk.NO5K5I44.js +27 -0
  539. package/dist/chunks/chunk.NP4VI55C.js +21 -0
  540. package/dist/chunks/chunk.NSUXBNRY.js +1124 -0
  541. package/dist/chunks/chunk.NYSYEO6S.js +477 -0
  542. package/dist/chunks/chunk.OKITA6RN.js +43 -0
  543. package/dist/chunks/chunk.ONVJYGXW.js +112 -0
  544. package/dist/chunks/chunk.OOZ35KRV.js +458 -0
  545. package/dist/chunks/chunk.OQMU445F.js +229 -0
  546. package/dist/chunks/chunk.PNYCPGP6.js +21 -0
  547. package/dist/chunks/chunk.PWY2KP3Q.js +581 -0
  548. package/dist/chunks/chunk.QFGNVANU.js +345 -0
  549. package/dist/chunks/chunk.QKEGFJMV.js +11 -0
  550. package/dist/chunks/chunk.QKFXTGWF.js +11 -0
  551. package/dist/chunks/chunk.QQEZTSC7.js +24 -0
  552. package/dist/chunks/chunk.QROD7XSA.js +21 -0
  553. package/dist/chunks/chunk.QWM7TR7V.js +11 -0
  554. package/dist/chunks/chunk.QWW2BYOP.js +21 -0
  555. package/dist/chunks/chunk.R45WTHZT.js +11 -0
  556. package/dist/chunks/chunk.R4VDG6AK.js +446 -0
  557. package/dist/chunks/chunk.R7XNQ3UF.js +11 -0
  558. package/dist/chunks/chunk.RE75I24N.js +11 -0
  559. package/dist/chunks/chunk.RI2R4X2H.js +11 -0
  560. package/dist/chunks/chunk.RKNRGTZP.js +27 -0
  561. package/dist/chunks/chunk.RKYRE5YW.js +64 -0
  562. package/dist/chunks/chunk.RMC5XGJR.js +937 -0
  563. package/dist/chunks/chunk.RNCN4M47.js +26 -0
  564. package/dist/chunks/chunk.RQ27EUVN.js +190 -0
  565. package/dist/chunks/chunk.RQLZOB4O.js +214 -0
  566. package/dist/chunks/chunk.S4FQNSDY.js +11 -0
  567. package/dist/chunks/chunk.S4RYPA4R.js +24 -0
  568. package/dist/chunks/chunk.S5DYKI6G.js +11 -0
  569. package/dist/chunks/chunk.S7FJE6DS.js +97 -0
  570. package/dist/chunks/chunk.SA6GMLYJ.js +11 -0
  571. package/dist/chunks/chunk.SD3BVNB4.js +11 -0
  572. package/dist/chunks/chunk.SVXJ6IWX.js +21 -0
  573. package/dist/chunks/chunk.T255GJVN.js +213 -0
  574. package/dist/chunks/chunk.T2UA4I4O.js +472 -0
  575. package/dist/chunks/chunk.TCOLWI6Z.js +21 -0
  576. package/dist/chunks/chunk.TD4HMCFI.js +21 -0
  577. package/dist/chunks/chunk.TPZRD4LL.js +11 -0
  578. package/dist/chunks/chunk.TQRJHVPX.js +27 -0
  579. package/dist/chunks/chunk.TRCVXOB3.js +25 -0
  580. package/dist/chunks/chunk.TRZ24D6C.js +28 -0
  581. package/dist/chunks/chunk.TU3Z4DM7.js +21 -0
  582. package/dist/chunks/chunk.U3XIKOX7.js +73 -0
  583. package/dist/chunks/chunk.UAQROBYW.js +21 -0
  584. package/dist/chunks/chunk.UGI4WX6F.js +11 -0
  585. package/dist/chunks/chunk.ULZ5HNOZ.js +11 -0
  586. package/dist/chunks/chunk.V2TFKPNC.js +449 -0
  587. package/dist/chunks/chunk.VPDGNTFF.js +11 -0
  588. package/dist/chunks/chunk.VPYT2IYR.js +11 -0
  589. package/dist/chunks/chunk.VQDCH34V.js +85 -0
  590. package/dist/chunks/chunk.VVCGM4BW.js +21 -0
  591. package/dist/chunks/chunk.VVQDHS65.js +2062 -0
  592. package/dist/chunks/chunk.W6TNURMD.js +24 -0
  593. package/dist/chunks/chunk.WIYDJCKH.js +11 -0
  594. package/dist/chunks/chunk.WP3THC5K.js +591 -0
  595. package/dist/chunks/chunk.WPKMKO7L.js +596 -0
  596. package/dist/chunks/chunk.WRZTYDD7.js +101 -0
  597. package/dist/chunks/chunk.X4LEFOTK.js +26 -0
  598. package/dist/chunks/chunk.X4T5FEVN.js +409 -0
  599. package/dist/chunks/chunk.X627CJ3G.js +161 -0
  600. package/dist/chunks/chunk.XBO7X2M2.js +11 -0
  601. package/dist/chunks/chunk.XE4T3WTA.js +120 -0
  602. package/dist/chunks/chunk.XJTJGJAK.js +21 -0
  603. package/dist/chunks/chunk.XSFRIUM5.js +355 -0
  604. package/dist/chunks/chunk.XWO3K7ZZ.js +11 -0
  605. package/dist/chunks/chunk.YS3LXZOQ.js +11 -0
  606. package/dist/chunks/chunk.YX54YA5F.js +247 -0
  607. package/dist/chunks/chunk.Z2UUIIRV.js +11 -0
  608. package/dist/chunks/chunk.Z35NQ7A7.js +33 -0
  609. package/dist/chunks/chunk.Z4UDKTEF.js +11 -0
  610. package/dist/chunks/chunk.Z6G2TOJC.js +241 -0
  611. package/dist/chunks/chunk.ZD56437X.js +180 -0
  612. package/dist/chunks/chunk.ZDZUNTE2.js +28 -0
  613. package/dist/chunks/chunk.ZIVBHHJU.js +21 -0
  614. package/dist/chunks/chunk.ZLAXCM2J.js +61 -0
  615. package/dist/chunks/chunk.ZP2DB3XG.js +264 -0
  616. package/dist/chunks/chunk.ZPH3RFHS.js +252 -0
  617. package/dist/chunks/chunk.ZXLL6LDL.js +11 -0
  618. package/dist/components/accordion/accordion.component.js +5 -5
  619. package/dist/components/accordion/accordion.js +6 -6
  620. package/dist/components/alert/alert.component.js +3 -3
  621. package/dist/components/alert/alert.js +4 -4
  622. package/dist/components/avatar/avatar.component.js +5 -5
  623. package/dist/components/avatar/avatar.js +6 -6
  624. package/dist/components/badge/badge.component.js +3 -3
  625. package/dist/components/badge/badge.js +4 -4
  626. package/dist/components/breadcrumb/breadcrumb.component.js +2 -2
  627. package/dist/components/breadcrumb/breadcrumb.js +3 -3
  628. package/dist/components/breadcrumbs/breadcrumbs.component.js +2 -2
  629. package/dist/components/breadcrumbs/breadcrumbs.js +3 -3
  630. package/dist/components/browse-variables/browse-variables.component.js +13 -13
  631. package/dist/components/browse-variables/browse-variables.js +14 -14
  632. package/dist/components/button/button.component.d.ts +6 -0
  633. package/dist/components/button/button.component.js +6 -6
  634. package/dist/components/button/button.js +7 -7
  635. package/dist/components/button-group/button-group.component.js +2 -2
  636. package/dist/components/button-group/button-group.js +3 -3
  637. package/dist/components/caption/caption.component.js +2 -2
  638. package/dist/components/caption/caption.js +3 -3
  639. package/dist/components/card/card.component.js +2 -2
  640. package/dist/components/card/card.js +3 -3
  641. package/dist/components/checkbox/checkbox.component.js +6 -6
  642. package/dist/components/checkbox/checkbox.js +7 -7
  643. package/dist/components/chip/chip.component.d.ts +2 -0
  644. package/dist/components/chip/chip.component.js +2 -2
  645. package/dist/components/chip/chip.js +3 -3
  646. package/dist/components/combobox/combobox.component.js +2 -2
  647. package/dist/components/combobox/combobox.js +3 -3
  648. package/dist/components/data-access/data-access.component.d.ts +3 -1
  649. package/dist/components/data-access/data-access.component.js +26 -25
  650. package/dist/components/data-access/data-access.controller.d.ts +8 -0
  651. package/dist/components/data-access/data-access.controller.js +1 -1
  652. package/dist/components/data-access/data-access.js +27 -26
  653. package/dist/components/data-access/data-access.styles.js +1 -1
  654. package/dist/components/data-access/notebooks/data-access-notebook.js +3 -70
  655. package/dist/components/data-grid/data-grid.component.js +3 -3
  656. package/dist/components/data-grid/data-grid.js +4 -4
  657. package/dist/components/data-rods/data-rods.component.js +34 -34
  658. package/dist/components/data-rods/data-rods.js +35 -35
  659. package/dist/components/data-subsetter/data-subsetter.component.js +38 -37
  660. package/dist/components/data-subsetter/data-subsetter.controller.js +1 -1
  661. package/dist/components/data-subsetter/data-subsetter.js +39 -38
  662. package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
  663. package/dist/components/data-subsetter-history/data-subsetter-history.component.js +39 -38
  664. package/dist/components/data-subsetter-history/data-subsetter-history.js +40 -39
  665. package/dist/components/date-picker/date-picker.component.js +11 -11
  666. package/dist/components/date-picker/date-picker.js +12 -12
  667. package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
  668. package/dist/components/date-range-slider/date-range-slider.js +3 -3
  669. package/dist/components/dialog/dialog.component.js +8 -8
  670. package/dist/components/dialog/dialog.js +9 -9
  671. package/dist/components/divider/divider.component.js +2 -2
  672. package/dist/components/divider/divider.js +3 -3
  673. package/dist/components/dropdown/dropdown.component.js +3 -3
  674. package/dist/components/dropdown/dropdown.js +4 -4
  675. package/dist/components/earthdata-login/earthdata-login.component.js +13 -13
  676. package/dist/components/earthdata-login/earthdata-login.js +14 -14
  677. package/dist/components/file-upload/file-upload.component.js +2 -2
  678. package/dist/components/file-upload/file-upload.js +3 -3
  679. package/dist/components/icon/icon.component.js +4 -4
  680. package/dist/components/icon/icon.js +5 -5
  681. package/dist/components/input/input.component.js +6 -6
  682. package/dist/components/input/input.js +7 -7
  683. package/dist/components/loader/loader.component.js +2 -2
  684. package/dist/components/loader/loader.js +3 -3
  685. package/dist/components/login/login.component.js +11 -11
  686. package/dist/components/login/login.js +12 -12
  687. package/dist/components/map/leaflet-utils.d.ts +1 -0
  688. package/dist/components/map/leaflet-utils.js +1 -1
  689. package/dist/components/map/map.component.d.ts +4 -0
  690. package/dist/components/map/map.component.js +4 -4
  691. package/dist/components/map/map.js +5 -5
  692. package/dist/components/menu/menu.component.js +2 -2
  693. package/dist/components/menu/menu.js +3 -3
  694. package/dist/components/menu-item/menu-item.component.js +8 -8
  695. package/dist/components/menu-item/menu-item.js +9 -9
  696. package/dist/components/option/option.component.js +5 -5
  697. package/dist/components/option/option.js +6 -6
  698. package/dist/components/pagination/pagination.component.js +5 -5
  699. package/dist/components/pagination/pagination.js +6 -6
  700. package/dist/components/plot/plot.component.js +2 -2
  701. package/dist/components/plot/plot.js +3 -3
  702. package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
  703. package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
  704. package/dist/components/plot-toolbar/plot-toolbar.component.js +13 -13
  705. package/dist/components/plot-toolbar/plot-toolbar.js +14 -14
  706. package/dist/components/popup/popup.component.js +2 -2
  707. package/dist/components/popup/popup.js +3 -3
  708. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  709. package/dist/components/progress-bar/progress-bar.js +3 -3
  710. package/dist/components/radio/radio.component.js +2 -2
  711. package/dist/components/radio/radio.js +3 -3
  712. package/dist/components/radio-group/radio-group.component.js +2 -2
  713. package/dist/components/radio-group/radio-group.js +3 -3
  714. package/dist/components/scroll-hint/scroll-hint.component.js +5 -5
  715. package/dist/components/scroll-hint/scroll-hint.js +6 -6
  716. package/dist/components/select/select.component.js +9 -9
  717. package/dist/components/select/select.js +10 -10
  718. package/dist/components/site-header/site-header.component.js +6 -6
  719. package/dist/components/site-header/site-header.js +6 -6
  720. package/dist/components/site-navigation/site-navigation.component.js +2 -2
  721. package/dist/components/site-navigation/site-navigation.js +2 -2
  722. package/dist/components/skeleton/skeleton.component.js +2 -2
  723. package/dist/components/skeleton/skeleton.js +3 -3
  724. package/dist/components/slider/slider.component.js +2 -2
  725. package/dist/components/slider/slider.js +3 -3
  726. package/dist/components/spatial-picker/spatial-picker.component.d.ts +4 -0
  727. package/dist/components/spatial-picker/spatial-picker.component.js +13 -13
  728. package/dist/components/spatial-picker/spatial-picker.js +14 -14
  729. package/dist/components/status-indicator/status-indicator.component.js +2 -2
  730. package/dist/components/status-indicator/status-indicator.js +3 -3
  731. package/dist/components/stepper/stepper.component.js +2 -2
  732. package/dist/components/stepper/stepper.js +3 -3
  733. package/dist/components/stepper-step/stepper-step.component.js +5 -5
  734. package/dist/components/stepper-step/stepper-step.js +6 -6
  735. package/dist/components/tab/tab.component.js +5 -5
  736. package/dist/components/tab/tab.js +6 -6
  737. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  738. package/dist/components/tab-panel/tab-panel.js +3 -3
  739. package/dist/components/tabs/tabs.component.js +5 -5
  740. package/dist/components/tabs/tabs.js +6 -6
  741. package/dist/components/tag/tag.component.js +5 -5
  742. package/dist/components/tag/tag.js +6 -6
  743. package/dist/components/textarea/textarea.component.js +2 -2
  744. package/dist/components/textarea/textarea.js +3 -3
  745. package/dist/components/time-average-map/time-average-map.component.js +21 -21
  746. package/dist/components/time-average-map/time-average-map.controller.js +2 -2
  747. package/dist/components/time-average-map/time-average-map.js +22 -22
  748. package/dist/components/time-series/time-series.component.js +22 -22
  749. package/dist/components/time-series/time-series.controller.js +2 -2
  750. package/dist/components/time-series/time-series.js +23 -23
  751. package/dist/components/toast/toast.component.js +4 -4
  752. package/dist/components/toast/toast.js +5 -5
  753. package/dist/components/toggle/toggle.component.js +2 -2
  754. package/dist/components/toggle/toggle.js +3 -3
  755. package/dist/components/tooltip/tooltip.component.js +3 -3
  756. package/dist/components/tooltip/tooltip.js +4 -4
  757. package/dist/components/variable-combobox/variable-combobox.component.js +10 -10
  758. package/dist/components/variable-combobox/variable-combobox.js +11 -11
  759. package/dist/components/variable-keyword-search/variable-keyword-search.component.js +10 -10
  760. package/dist/components/variable-keyword-search/variable-keyword-search.js +11 -11
  761. package/dist/custom-elements.json +4170 -4065
  762. package/dist/react/accordion/index.js +6 -6
  763. package/dist/react/alert/index.js +4 -4
  764. package/dist/react/avatar/index.js +6 -6
  765. package/dist/react/badge/index.js +4 -4
  766. package/dist/react/breadcrumb/index.js +3 -3
  767. package/dist/react/breadcrumbs/index.js +3 -3
  768. package/dist/react/browse-variables/index.js +14 -14
  769. package/dist/react/button/index.d.ts +12 -1
  770. package/dist/react/button/index.js +7 -7
  771. package/dist/react/button-group/index.js +3 -3
  772. package/dist/react/caption/index.js +3 -3
  773. package/dist/react/card/index.js +3 -3
  774. package/dist/react/checkbox/index.js +7 -7
  775. package/dist/react/chip/index.d.ts +8 -1
  776. package/dist/react/chip/index.js +3 -3
  777. package/dist/react/combobox/index.js +3 -3
  778. package/dist/react/data-access/index.js +27 -26
  779. package/dist/react/data-grid/index.js +4 -4
  780. package/dist/react/data-rods/index.js +35 -35
  781. package/dist/react/data-subsetter/index.js +39 -38
  782. package/dist/react/data-subsetter-history/index.js +40 -39
  783. package/dist/react/date-picker/index.js +12 -12
  784. package/dist/react/date-range-slider/index.js +3 -3
  785. package/dist/react/dialog/index.js +9 -9
  786. package/dist/react/divider/index.js +3 -3
  787. package/dist/react/dropdown/index.js +4 -4
  788. package/dist/react/earthdata-login/index.js +14 -14
  789. package/dist/react/file-upload/index.js +3 -3
  790. package/dist/react/icon/index.js +5 -5
  791. package/dist/react/index.d.ts +11 -11
  792. package/dist/react/index.js +199 -198
  793. package/dist/react/input/index.js +7 -7
  794. package/dist/react/loader/index.js +3 -3
  795. package/dist/react/login/index.js +12 -12
  796. package/dist/react/map/index.js +5 -5
  797. package/dist/react/menu/index.js +3 -3
  798. package/dist/react/menu-item/index.js +9 -9
  799. package/dist/react/option/index.js +6 -6
  800. package/dist/react/pagination/index.js +6 -6
  801. package/dist/react/plot/index.js +3 -3
  802. package/dist/react/plot-toolbar/index.js +14 -14
  803. package/dist/react/popup/index.js +3 -3
  804. package/dist/react/progress-bar/index.js +3 -3
  805. package/dist/react/radio/index.js +3 -3
  806. package/dist/react/radio-group/index.js +3 -3
  807. package/dist/react/scroll-hint/index.js +6 -6
  808. package/dist/react/select/index.js +10 -10
  809. package/dist/react/site-header/index.js +7 -7
  810. package/dist/react/site-navigation/index.js +3 -3
  811. package/dist/react/skeleton/index.js +3 -3
  812. package/dist/react/slider/index.js +3 -3
  813. package/dist/react/spatial-picker/index.js +14 -14
  814. package/dist/react/status-indicator/index.js +3 -3
  815. package/dist/react/stepper/index.js +3 -3
  816. package/dist/react/stepper-step/index.js +6 -6
  817. package/dist/react/tab/index.js +6 -6
  818. package/dist/react/tab-panel/index.js +3 -3
  819. package/dist/react/tabs/index.js +6 -6
  820. package/dist/react/tag/index.js +6 -6
  821. package/dist/react/textarea/index.js +3 -3
  822. package/dist/react/time-average-map/index.js +22 -22
  823. package/dist/react/time-series/index.js +23 -23
  824. package/dist/react/toast/index.js +5 -5
  825. package/dist/react/toggle/index.js +3 -3
  826. package/dist/react/tooltip/index.js +4 -4
  827. package/dist/react/variable-combobox/index.js +11 -11
  828. package/dist/react/variable-keyword-search/index.js +11 -11
  829. package/dist/terra-ui-components.js +190 -189
  830. package/dist/terra_ui_components-0.0.139-py3-none-any.whl +0 -0
  831. package/dist/terra_ui_components-0.0.139.tar.gz +0 -0
  832. package/dist/types/vue/index.d.ts +541 -521
  833. package/dist/utilities/mimetypes.js +1 -1
  834. package/dist/vscode.html-custom-data.json +419 -404
  835. package/dist/web-types.json +1120 -1062
  836. package/package.json +1 -1
  837. package/cdn/chunks/chunk.2BJAFBWO.js +0 -19
  838. package/cdn/chunks/chunk.2GAC47WU.js +0 -60
  839. package/cdn/chunks/chunk.2TIKI4CV.js +0 -19
  840. package/cdn/chunks/chunk.2ZOU3STC.js +0 -123
  841. package/cdn/chunks/chunk.3F6CWYXR.js +0 -19
  842. package/cdn/chunks/chunk.3HAVIA4W.js +0 -259
  843. package/cdn/chunks/chunk.3O4PB2H3.js +0 -35
  844. package/cdn/chunks/chunk.3ZEO3IMN.js +0 -19
  845. package/cdn/chunks/chunk.43THXYJW.js +0 -19
  846. package/cdn/chunks/chunk.46WRFWUK.js +0 -33860
  847. package/cdn/chunks/chunk.4HLNRBQ6.js +0 -19
  848. package/cdn/chunks/chunk.4M4GBWDC.js +0 -19
  849. package/cdn/chunks/chunk.4OX4HVMY.js +0 -264
  850. package/cdn/chunks/chunk.4TDBTQV5.js +0 -538
  851. package/cdn/chunks/chunk.5CVRWER5.js +0 -19
  852. package/cdn/chunks/chunk.5DCGCB6K.js +0 -113
  853. package/cdn/chunks/chunk.5DM4QTN6.js +0 -29
  854. package/cdn/chunks/chunk.5HPTDONM.js +0 -32
  855. package/cdn/chunks/chunk.5HPYINI7.js +0 -19
  856. package/cdn/chunks/chunk.5LT2TYTG.js +0 -19
  857. package/cdn/chunks/chunk.5TXVJNQV.js +0 -29
  858. package/cdn/chunks/chunk.5VW5EZXV.js +0 -29
  859. package/cdn/chunks/chunk.5XJNAHQJ.js +0 -134
  860. package/cdn/chunks/chunk.626R2KUA.js +0 -19
  861. package/cdn/chunks/chunk.673QBVIN.js +0 -33
  862. package/cdn/chunks/chunk.6A6JHLJE.js +0 -19
  863. package/cdn/chunks/chunk.6NDSKK4J.js +0 -19
  864. package/cdn/chunks/chunk.6OR5C5Q7.js +0 -19
  865. package/cdn/chunks/chunk.6P3Q5HQJ.js +0 -29
  866. package/cdn/chunks/chunk.6W6F4ROR.js +0 -19
  867. package/cdn/chunks/chunk.6YSPK4EH.js +0 -83
  868. package/cdn/chunks/chunk.7GN3VMLV.js +0 -19
  869. package/cdn/chunks/chunk.7SRQP2BN.js +0 -286
  870. package/cdn/chunks/chunk.A3BRXNHI.js +0 -610
  871. package/cdn/chunks/chunk.A5SALK4D.js +0 -158
  872. package/cdn/chunks/chunk.ADLLUIOF.js +0 -19
  873. package/cdn/chunks/chunk.AGZ2BKOZ.js +0 -460
  874. package/cdn/chunks/chunk.AHSH74RW.js +0 -36
  875. package/cdn/chunks/chunk.AK2A7B6Q.js +0 -104
  876. package/cdn/chunks/chunk.ANGKDJP4.js +0 -231
  877. package/cdn/chunks/chunk.ANSRCOVR.js +0 -19
  878. package/cdn/chunks/chunk.ATLDQ3WR.js +0 -33
  879. package/cdn/chunks/chunk.BC2GUXZ7.js +0 -32
  880. package/cdn/chunks/chunk.BC64ST5G.js +0 -29
  881. package/cdn/chunks/chunk.BFO6SZXZ.js +0 -29
  882. package/cdn/chunks/chunk.BPU7M7DV.js +0 -19
  883. package/cdn/chunks/chunk.BRQCSVCH.js +0 -2022
  884. package/cdn/chunks/chunk.BRYKXRCC.js +0 -55346
  885. package/cdn/chunks/chunk.BTL6NVN3.js +0 -41
  886. package/cdn/chunks/chunk.BVCX2RJT.js +0 -19
  887. package/cdn/chunks/chunk.BZ23ZYNY.js +0 -198
  888. package/cdn/chunks/chunk.CDC2B5IP.js +0 -29
  889. package/cdn/chunks/chunk.CI4UXPOP.js +0 -19
  890. package/cdn/chunks/chunk.COMG3MGR.js +0 -29
  891. package/cdn/chunks/chunk.CPDYZ3LO.js +0 -278
  892. package/cdn/chunks/chunk.CYMFPTYH.js +0 -32
  893. package/cdn/chunks/chunk.D4H2PCSX.js +0 -19
  894. package/cdn/chunks/chunk.DE2ZETA7.js +0 -93
  895. package/cdn/chunks/chunk.DEFAJGI7.js +0 -37
  896. package/cdn/chunks/chunk.DMS73IZ3.js +0 -188
  897. package/cdn/chunks/chunk.E2RHO7DN.js +0 -19
  898. package/cdn/chunks/chunk.ECGINNOY.js +0 -29
  899. package/cdn/chunks/chunk.EGQO2GDX.js +0 -62
  900. package/cdn/chunks/chunk.EIPX4NVH.js +0 -151
  901. package/cdn/chunks/chunk.EITFR5BT.js +0 -19
  902. package/cdn/chunks/chunk.EIYHG4QH.js +0 -99
  903. package/cdn/chunks/chunk.EVC6N4XS.js +0 -19
  904. package/cdn/chunks/chunk.EWPC57VY.js +0 -19
  905. package/cdn/chunks/chunk.EXKJLZ7J.js +0 -1803
  906. package/cdn/chunks/chunk.F4UOBQNN.js +0 -29
  907. package/cdn/chunks/chunk.F7YRE2LG.js +0 -165
  908. package/cdn/chunks/chunk.FBAXT3BK.js +0 -29
  909. package/cdn/chunks/chunk.FG3K3Q6V.js +0 -19
  910. package/cdn/chunks/chunk.FGZRXTZ6.js +0 -19
  911. package/cdn/chunks/chunk.FPNYUWK6.js +0 -67
  912. package/cdn/chunks/chunk.FQEKGVRO.js +0 -32
  913. package/cdn/chunks/chunk.FVZU57MN.js +0 -19
  914. package/cdn/chunks/chunk.FWVPXLAJ.js +0 -19
  915. package/cdn/chunks/chunk.G3FY5QP3.js +0 -32
  916. package/cdn/chunks/chunk.G4GEUX35.js +0 -29
  917. package/cdn/chunks/chunk.GH5IWK3V.js +0 -10710
  918. package/cdn/chunks/chunk.GLRK2CD2.js +0 -472
  919. package/cdn/chunks/chunk.GSFGAHJ7.js +0 -19
  920. package/cdn/chunks/chunk.GWWIQVTA.js +0 -234
  921. package/cdn/chunks/chunk.H226G54W.js +0 -621
  922. package/cdn/chunks/chunk.H4FNKBO5.js +0 -35
  923. package/cdn/chunks/chunk.HA6T6UQB.js +0 -19
  924. package/cdn/chunks/chunk.HFQ73YHH.js +0 -47
  925. package/cdn/chunks/chunk.HO2HLYL2.js +0 -29
  926. package/cdn/chunks/chunk.HSVOTNWM.js +0 -29
  927. package/cdn/chunks/chunk.HXZVFJ6H.js +0 -524
  928. package/cdn/chunks/chunk.IGEYXP3A.js +0 -99
  929. package/cdn/chunks/chunk.IT7T44HW.js +0 -83
  930. package/cdn/chunks/chunk.IWBJA6I7.js +0 -359
  931. package/cdn/chunks/chunk.IWCGYFDH.js +0 -32
  932. package/cdn/chunks/chunk.IYY3KFGU.js +0 -34
  933. package/cdn/chunks/chunk.J23RZN4H.js +0 -19
  934. package/cdn/chunks/chunk.J27ZRG2P.js +0 -19
  935. package/cdn/chunks/chunk.JBKZ2O54.js +0 -19
  936. package/cdn/chunks/chunk.JFBUXZDD.js +0 -35
  937. package/cdn/chunks/chunk.JNHX2WPA.js +0 -29
  938. package/cdn/chunks/chunk.JQB5OS27.js +0 -132
  939. package/cdn/chunks/chunk.JROEZ6BJ.js +0 -240
  940. package/cdn/chunks/chunk.JXS7CCSD.js +0 -39
  941. package/cdn/chunks/chunk.K4ZQ3QTB.js +0 -599
  942. package/cdn/chunks/chunk.K7U6WTEC.js +0 -754
  943. package/cdn/chunks/chunk.KAC36PWW.js +0 -19
  944. package/cdn/chunks/chunk.KAMBSWDB.js +0 -19
  945. package/cdn/chunks/chunk.KC4TKSAA.js +0 -36
  946. package/cdn/chunks/chunk.KEJNACA2.js +0 -19
  947. package/cdn/chunks/chunk.KHLSTEU5.js +0 -29
  948. package/cdn/chunks/chunk.KLVFSGNQ.js +0 -19
  949. package/cdn/chunks/chunk.L3AQPABK.js +0 -302
  950. package/cdn/chunks/chunk.L7S57B4M.js +0 -19
  951. package/cdn/chunks/chunk.LBTNI2V2.js +0 -71
  952. package/cdn/chunks/chunk.LFD6D7PW.js +0 -19
  953. package/cdn/chunks/chunk.LPQPN27D.js +0 -230
  954. package/cdn/chunks/chunk.LZ76ZLTY.js +0 -224
  955. package/cdn/chunks/chunk.M4RK2ABO.js +0 -106
  956. package/cdn/chunks/chunk.MSESXAV2.js +0 -276
  957. package/cdn/chunks/chunk.N5RUBOM2.js +0 -78
  958. package/cdn/chunks/chunk.N6XCHKIS.js +0 -32
  959. package/cdn/chunks/chunk.NABM5PIJ.js +0 -615
  960. package/cdn/chunks/chunk.NDGGHVRH.js +0 -30
  961. package/cdn/chunks/chunk.NDTHFW5R.js +0 -19
  962. package/cdn/chunks/chunk.NFXL4TXT.js +0 -19
  963. package/cdn/chunks/chunk.NRIGNA3S.js +0 -303
  964. package/cdn/chunks/chunk.NRZVOPL7.js +0 -74
  965. package/cdn/chunks/chunk.NXILKRTN.js +0 -19
  966. package/cdn/chunks/chunk.NZ6Z36KS.js +0 -655
  967. package/cdn/chunks/chunk.OJWEQA2L.js +0 -60
  968. package/cdn/chunks/chunk.OKTINZHU.js +0 -34
  969. package/cdn/chunks/chunk.OMDVVVMC.js +0 -19
  970. package/cdn/chunks/chunk.OQZZPFI4.js +0 -35
  971. package/cdn/chunks/chunk.OXNJKUQM.js +0 -32
  972. package/cdn/chunks/chunk.P7Q76NKD.js +0 -29
  973. package/cdn/chunks/chunk.PA6TODQZ.js +0 -189
  974. package/cdn/chunks/chunk.PDGPGRPX.js +0 -29
  975. package/cdn/chunks/chunk.PFEYSMVR.js +0 -467
  976. package/cdn/chunks/chunk.PG6A3YS2.js +0 -19
  977. package/cdn/chunks/chunk.PU2EA3F3.js +0 -33
  978. package/cdn/chunks/chunk.PU3V52T7.js +0 -19
  979. package/cdn/chunks/chunk.PYWQ4CJT.js +0 -132
  980. package/cdn/chunks/chunk.PZTPTQGC.js +0 -19
  981. package/cdn/chunks/chunk.QCBCEGHS.js +0 -36
  982. package/cdn/chunks/chunk.QCQ4X6JV.js +0 -29
  983. package/cdn/chunks/chunk.QGPOGCGC.js +0 -32
  984. package/cdn/chunks/chunk.QID257LE.js +0 -491
  985. package/cdn/chunks/chunk.QPKDJX5G.js +0 -239
  986. package/cdn/chunks/chunk.QWV6DSWO.js +0 -19
  987. package/cdn/chunks/chunk.R3J2I7S6.js +0 -29
  988. package/cdn/chunks/chunk.R3YYADTU.js +0 -19
  989. package/cdn/chunks/chunk.RAFPJ7SC.js +0 -357
  990. package/cdn/chunks/chunk.RHTNA6LR.js +0 -284
  991. package/cdn/chunks/chunk.RKNJJP3S.js +0 -32
  992. package/cdn/chunks/chunk.RTNYHC5I.js +0 -29
  993. package/cdn/chunks/chunk.RX5BQG6X.js +0 -29
  994. package/cdn/chunks/chunk.S5QKV4ZF.js +0 -19
  995. package/cdn/chunks/chunk.SI6XTPNR.js +0 -890
  996. package/cdn/chunks/chunk.SIOZ4BTY.js +0 -904
  997. package/cdn/chunks/chunk.SL2XAFXP.js +0 -86
  998. package/cdn/chunks/chunk.SMLEQ2LR.js +0 -29
  999. package/cdn/chunks/chunk.SO6HP2US.js +0 -92
  1000. package/cdn/chunks/chunk.SOAQHIJL.js +0 -29
  1001. package/cdn/chunks/chunk.SU6YFVSR.js +0 -32
  1002. package/cdn/chunks/chunk.TERI3VR7.js +0 -943
  1003. package/cdn/chunks/chunk.TKLCIMWL.js +0 -155
  1004. package/cdn/chunks/chunk.TPKKIYZX.js +0 -29
  1005. package/cdn/chunks/chunk.TRPIGGKJ.js +0 -29
  1006. package/cdn/chunks/chunk.TSDVLQNQ.js +0 -29
  1007. package/cdn/chunks/chunk.TSSH7OBI.js +0 -19
  1008. package/cdn/chunks/chunk.TVKZ73IC.js +0 -224
  1009. package/cdn/chunks/chunk.UGX6ENXK.js +0 -19
  1010. package/cdn/chunks/chunk.USXBU4V7.js +0 -32
  1011. package/cdn/chunks/chunk.UYMOTJH6.js +0 -657
  1012. package/cdn/chunks/chunk.V52XWSHA.js +0 -1966
  1013. package/cdn/chunks/chunk.VAVERUQY.js +0 -19
  1014. package/cdn/chunks/chunk.VD4J6NSJ.js +0 -435
  1015. package/cdn/chunks/chunk.VLZIIUK4.js +0 -49
  1016. package/cdn/chunks/chunk.VMZC6SWS.js +0 -19
  1017. package/cdn/chunks/chunk.VOQC3ZCU.js +0 -29
  1018. package/cdn/chunks/chunk.VSHI7QPJ.js +0 -19
  1019. package/cdn/chunks/chunk.W2UBFVIJ.js +0 -19
  1020. package/cdn/chunks/chunk.WO5IANXZ.js +0 -19
  1021. package/cdn/chunks/chunk.WZ4BJS34.js +0 -29
  1022. package/cdn/chunks/chunk.X3L6R75X.js +0 -29
  1023. package/cdn/chunks/chunk.XDHTVQJX.js +0 -32
  1024. package/cdn/chunks/chunk.XNSJOSHU.js +0 -29
  1025. package/cdn/chunks/chunk.XSRPSAPH.js +0 -170
  1026. package/cdn/chunks/chunk.XWVMUFJ7.js +0 -32
  1027. package/cdn/chunks/chunk.Y773DAY4.js +0 -19
  1028. package/cdn/chunks/chunk.YEN743LR.js +0 -37
  1029. package/cdn/chunks/chunk.YRXSN33E.js +0 -190
  1030. package/cdn/chunks/chunk.Z63QUAXL.js +0 -36
  1031. package/cdn/chunks/chunk.ZABMXOTM.js +0 -19
  1032. package/cdn/chunks/chunk.ZKEHTBR2.js +0 -29
  1033. package/cdn/chunks/chunk.ZOLJNM6R.js +0 -33
  1034. package/cdn/chunks/chunk.ZY2YLMTQ.js +0 -372
  1035. package/cdn/chunks/chunk.ZZF57TEN.js +0 -19
  1036. package/dist/chunks/chunk.2426R65J.js +0 -11
  1037. package/dist/chunks/chunk.24OZTGQ4.js +0 -24
  1038. package/dist/chunks/chunk.2IATTFYF.js +0 -21
  1039. package/dist/chunks/chunk.2KEWLVVS.js +0 -11
  1040. package/dist/chunks/chunk.2LMA4HXX.js +0 -75
  1041. package/dist/chunks/chunk.2MUR5ODC.js +0 -25
  1042. package/dist/chunks/chunk.2RD2YCMC.js +0 -21
  1043. package/dist/chunks/chunk.2RQ7TE6K.js +0 -11
  1044. package/dist/chunks/chunk.2T6RXP74.js +0 -21
  1045. package/dist/chunks/chunk.32WEZIMB.js +0 -11
  1046. package/dist/chunks/chunk.3DIKX4D7.js +0 -20
  1047. package/dist/chunks/chunk.3EDSDPZR.js +0 -11
  1048. package/dist/chunks/chunk.3HOMDURY.js +0 -11
  1049. package/dist/chunks/chunk.3KXECFSF.js +0 -11
  1050. package/dist/chunks/chunk.3L5Y4UAK.js +0 -422
  1051. package/dist/chunks/chunk.3SVH6OTG.js +0 -21
  1052. package/dist/chunks/chunk.3WACV45C.js +0 -93
  1053. package/dist/chunks/chunk.3WVTPAFC.js +0 -67
  1054. package/dist/chunks/chunk.3WZK4BGU.js +0 -21
  1055. package/dist/chunks/chunk.4MGGBJBD.js +0 -20
  1056. package/dist/chunks/chunk.4ND4FAJH.js +0 -11
  1057. package/dist/chunks/chunk.4OEGTTX7.js +0 -733
  1058. package/dist/chunks/chunk.4PYJR6WL.js +0 -21
  1059. package/dist/chunks/chunk.4RVH6XIJ.js +0 -581
  1060. package/dist/chunks/chunk.4SXKWAH4.js +0 -399
  1061. package/dist/chunks/chunk.4TNXG42V.js +0 -24
  1062. package/dist/chunks/chunk.53OX6PUP.js +0 -21
  1063. package/dist/chunks/chunk.54N7XEVF.js +0 -43
  1064. package/dist/chunks/chunk.552IT23D.js +0 -21
  1065. package/dist/chunks/chunk.5FWXTZMW.js +0 -11
  1066. package/dist/chunks/chunk.5IS5U42I.js +0 -78
  1067. package/dist/chunks/chunk.5IVEFQ73.js +0 -55
  1068. package/dist/chunks/chunk.6PEX3FEM.js +0 -278
  1069. package/dist/chunks/chunk.6RFDAONW.js +0 -21
  1070. package/dist/chunks/chunk.6US6YKKT.js +0 -21
  1071. package/dist/chunks/chunk.6WKLL2WM.js +0 -27
  1072. package/dist/chunks/chunk.6YXJFS7E.js +0 -39
  1073. package/dist/chunks/chunk.75FUVZDD.js +0 -11
  1074. package/dist/chunks/chunk.76HWX2PB.js +0 -25
  1075. package/dist/chunks/chunk.7DHRNNYP.js +0 -21
  1076. package/dist/chunks/chunk.7DL43QDS.js +0 -21
  1077. package/dist/chunks/chunk.7FQDY3NG.js +0 -21
  1078. package/dist/chunks/chunk.7J4CYUNW.js +0 -21
  1079. package/dist/chunks/chunk.7OSDR4DT.js +0 -27
  1080. package/dist/chunks/chunk.7S4Y7E54.js +0 -153
  1081. package/dist/chunks/chunk.7ULUL7UB.js +0 -214
  1082. package/dist/chunks/chunk.7WWNQP3F.js +0 -52
  1083. package/dist/chunks/chunk.7YFUO5H7.js +0 -11
  1084. package/dist/chunks/chunk.AAKINAHX.js +0 -91
  1085. package/dist/chunks/chunk.AGQSCMY3.js +0 -86
  1086. package/dist/chunks/chunk.ATRP3VPC.js +0 -61
  1087. package/dist/chunks/chunk.AZNKCI5A.js +0 -2008
  1088. package/dist/chunks/chunk.B7MLQJME.js +0 -11
  1089. package/dist/chunks/chunk.BAO2ISQ2.js +0 -180
  1090. package/dist/chunks/chunk.BEGIYBUS.js +0 -190
  1091. package/dist/chunks/chunk.BEWGTRTM.js +0 -21
  1092. package/dist/chunks/chunk.BFKPZ5KB.js +0 -11
  1093. package/dist/chunks/chunk.BVDQB3ON.js +0 -25
  1094. package/dist/chunks/chunk.BXCR6MKM.js +0 -24
  1095. package/dist/chunks/chunk.C2XCYTEU.js +0 -11
  1096. package/dist/chunks/chunk.CHQGRSSN.js +0 -11
  1097. package/dist/chunks/chunk.CMQFO2Y2.js +0 -11
  1098. package/dist/chunks/chunk.CXRPWR2F.js +0 -11
  1099. package/dist/chunks/chunk.CYD7QBKX.js +0 -11
  1100. package/dist/chunks/chunk.DCPS4G3B.js +0 -21
  1101. package/dist/chunks/chunk.DLTYQJNF.js +0 -247
  1102. package/dist/chunks/chunk.DMPS64FX.js +0 -24
  1103. package/dist/chunks/chunk.DWLH2GWC.js +0 -264
  1104. package/dist/chunks/chunk.DXHYGQDF.js +0 -11
  1105. package/dist/chunks/chunk.DZR4D6IU.js +0 -11
  1106. package/dist/chunks/chunk.E4GY4PFT.js +0 -11
  1107. package/dist/chunks/chunk.EEKCQQP5.js +0 -24
  1108. package/dist/chunks/chunk.EKGLR7QZ.js +0 -85
  1109. package/dist/chunks/chunk.EQMZWXBN.js +0 -11
  1110. package/dist/chunks/chunk.FAP5VEES.js +0 -11
  1111. package/dist/chunks/chunk.FFG3ZSYS.js +0 -21
  1112. package/dist/chunks/chunk.FIPOTDXT.js +0 -11
  1113. package/dist/chunks/chunk.FU2INUZZ.js +0 -97
  1114. package/dist/chunks/chunk.FXHQTN4J.js +0 -21
  1115. package/dist/chunks/chunk.G7YHGF6B.js +0 -52
  1116. package/dist/chunks/chunk.GHX6JKTO.js +0 -24
  1117. package/dist/chunks/chunk.GMJA54M4.js +0 -449
  1118. package/dist/chunks/chunk.GRHPMK76.js +0 -11
  1119. package/dist/chunks/chunk.GWTQ5TIL.js +0 -11
  1120. package/dist/chunks/chunk.H4CFFNY7.js +0 -11
  1121. package/dist/chunks/chunk.H55ETYZG.js +0 -24
  1122. package/dist/chunks/chunk.HIDHBTUK.js +0 -26
  1123. package/dist/chunks/chunk.HKEOMDWQ.js +0 -57
  1124. package/dist/chunks/chunk.HTOB5YHI.js +0 -11
  1125. package/dist/chunks/chunk.I73QP2WG.js +0 -89
  1126. package/dist/chunks/chunk.IGFE5OMC.js +0 -21
  1127. package/dist/chunks/chunk.IIP7XENC.js +0 -220
  1128. package/dist/chunks/chunk.IVICUROI.js +0 -245
  1129. package/dist/chunks/chunk.J3V3J6FF.js +0 -591
  1130. package/dist/chunks/chunk.J4RRQTQE.js +0 -291
  1131. package/dist/chunks/chunk.J6AHI4XH.js +0 -209
  1132. package/dist/chunks/chunk.JFAWDJ6T.js +0 -24
  1133. package/dist/chunks/chunk.JHOIM3AH.js +0 -11
  1134. package/dist/chunks/chunk.JLJEN3MG.js +0 -11
  1135. package/dist/chunks/chunk.JNKU5Q5C.js +0 -21
  1136. package/dist/chunks/chunk.JQLIWLBF.js +0 -11
  1137. package/dist/chunks/chunk.JTIG7LIG.js +0 -145
  1138. package/dist/chunks/chunk.JTZSYDBZ.js +0 -143
  1139. package/dist/chunks/chunk.JWU2CJKN.js +0 -21
  1140. package/dist/chunks/chunk.K2QMUUIL.js +0 -11
  1141. package/dist/chunks/chunk.K4EZCK76.js +0 -11
  1142. package/dist/chunks/chunk.KQZF6ECA.js +0 -11
  1143. package/dist/chunks/chunk.KXED5RDO.js +0 -24
  1144. package/dist/chunks/chunk.L5ZDLN66.js +0 -83
  1145. package/dist/chunks/chunk.LDZAANCW.js +0 -213
  1146. package/dist/chunks/chunk.LSRW6XH5.js +0 -27
  1147. package/dist/chunks/chunk.M25BNXYX.js +0 -446
  1148. package/dist/chunks/chunk.M7XZ2USH.js +0 -24
  1149. package/dist/chunks/chunk.MKBGUN2U.js +0 -28
  1150. package/dist/chunks/chunk.MPCO3AK6.js +0 -180
  1151. package/dist/chunks/chunk.N2DBICDG.js +0 -31
  1152. package/dist/chunks/chunk.N3KI7TGY.js +0 -11
  1153. package/dist/chunks/chunk.NEYNT6PS.js +0 -21
  1154. package/dist/chunks/chunk.NFYNX52D.js +0 -24
  1155. package/dist/chunks/chunk.NKYBMMY2.js +0 -11
  1156. package/dist/chunks/chunk.NPGHYBDT.js +0 -24
  1157. package/dist/chunks/chunk.NVCB6Y7O.js +0 -11
  1158. package/dist/chunks/chunk.NZ4IMOIQ.js +0 -24
  1159. package/dist/chunks/chunk.O7C53DXL.js +0 -11
  1160. package/dist/chunks/chunk.O7MF3O7H.js +0 -21
  1161. package/dist/chunks/chunk.OA7ZISO3.js +0 -29
  1162. package/dist/chunks/chunk.OGQB2AZY.js +0 -28
  1163. package/dist/chunks/chunk.OI6TWGD3.js +0 -11
  1164. package/dist/chunks/chunk.OQDJNDF7.js +0 -21
  1165. package/dist/chunks/chunk.OQSLB6CP.js +0 -477
  1166. package/dist/chunks/chunk.OTIBVSOZ.js +0 -48
  1167. package/dist/chunks/chunk.OVHY4CEQ.js +0 -28
  1168. package/dist/chunks/chunk.OYNKCPJD.js +0 -271
  1169. package/dist/chunks/chunk.P6AWD2KL.js +0 -11
  1170. package/dist/chunks/chunk.PFLNNFWL.js +0 -11
  1171. package/dist/chunks/chunk.PJZ3AGV2.js +0 -1124
  1172. package/dist/chunks/chunk.PMDGFZP5.js +0 -525
  1173. package/dist/chunks/chunk.PR6NXMKM.js +0 -596
  1174. package/dist/chunks/chunk.QBQEKK4N.js +0 -11
  1175. package/dist/chunks/chunk.QIBXPT7H.js +0 -609
  1176. package/dist/chunks/chunk.QR6MBPNF.js +0 -21
  1177. package/dist/chunks/chunk.R64NO63N.js +0 -120
  1178. package/dist/chunks/chunk.R6O6JG2L.js +0 -11
  1179. package/dist/chunks/chunk.R7A4A4XT.js +0 -472
  1180. package/dist/chunks/chunk.RAFZXIF4.js +0 -262
  1181. package/dist/chunks/chunk.RAUR5DNX.js +0 -844
  1182. package/dist/chunks/chunk.RI3VSFPZ.js +0 -220
  1183. package/dist/chunks/chunk.RWPWL7DO.js +0 -64
  1184. package/dist/chunks/chunk.S2QZFTNQ.js +0 -11
  1185. package/dist/chunks/chunk.S6KXROR3.js +0 -252
  1186. package/dist/chunks/chunk.SB7SK65W.js +0 -21
  1187. package/dist/chunks/chunk.SBQXHA4N.js +0 -279
  1188. package/dist/chunks/chunk.SEQTHRF4.js +0 -11
  1189. package/dist/chunks/chunk.SGMS4MGY.js +0 -74
  1190. package/dist/chunks/chunk.SO7HBYRG.js +0 -180
  1191. package/dist/chunks/chunk.SUEHXKVI.js +0 -458
  1192. package/dist/chunks/chunk.T7U33NR2.js +0 -21
  1193. package/dist/chunks/chunk.TI4PHSHN.js +0 -21
  1194. package/dist/chunks/chunk.TU44IQ3W.js +0 -443
  1195. package/dist/chunks/chunk.TUVZOKFF.js +0 -25
  1196. package/dist/chunks/chunk.TYG6OQTG.js +0 -229
  1197. package/dist/chunks/chunk.UA5CCCNW.js +0 -112
  1198. package/dist/chunks/chunk.UDHOUQYU.js +0 -11
  1199. package/dist/chunks/chunk.UP3EUANM.js +0 -26
  1200. package/dist/chunks/chunk.UZBNN6OH.js +0 -345
  1201. package/dist/chunks/chunk.V3OWPNEW.js +0 -121
  1202. package/dist/chunks/chunk.V4Q4SMBP.js +0 -11
  1203. package/dist/chunks/chunk.VBSKFOGI.js +0 -21
  1204. package/dist/chunks/chunk.VEEBK3BR.js +0 -11
  1205. package/dist/chunks/chunk.VHCPOUHN.js +0 -11
  1206. package/dist/chunks/chunk.VMMKDZZ5.js +0 -637
  1207. package/dist/chunks/chunk.VNIY4LMA.js +0 -11
  1208. package/dist/chunks/chunk.VSWHQLHN.js +0 -11
  1209. package/dist/chunks/chunk.VTE57C55.js +0 -24
  1210. package/dist/chunks/chunk.W3LC2QG2.js +0 -927
  1211. package/dist/chunks/chunk.W4GXZSQS.js +0 -874
  1212. package/dist/chunks/chunk.WBMGN2BP.js +0 -11
  1213. package/dist/chunks/chunk.WEZGLQOU.js +0 -11
  1214. package/dist/chunks/chunk.WFNM2234.js +0 -21
  1215. package/dist/chunks/chunk.WI2KVU46.js +0 -229
  1216. package/dist/chunks/chunk.WQK4NSPB.js +0 -161
  1217. package/dist/chunks/chunk.WZ3QCYDR.js +0 -11
  1218. package/dist/chunks/chunk.WZDSW6OR.js +0 -11
  1219. package/dist/chunks/chunk.X4FOEYTC.js +0 -28
  1220. package/dist/chunks/chunk.XBAEFASN.js +0 -33
  1221. package/dist/chunks/chunk.XBKQL5O2.js +0 -101
  1222. package/dist/chunks/chunk.XHEHPNOY.js +0 -11
  1223. package/dist/chunks/chunk.XQMGTEU2.js +0 -1788
  1224. package/dist/chunks/chunk.XUFLNF35.js +0 -27
  1225. package/dist/chunks/chunk.XVKPPLF7.js +0 -11
  1226. package/dist/chunks/chunk.Y2WHWGSZ.js +0 -21
  1227. package/dist/chunks/chunk.YMENYKFQ.js +0 -11
  1228. package/dist/chunks/chunk.YY5Q5XEE.js +0 -11
  1229. package/dist/chunks/chunk.Z7KKP434.js +0 -11
  1230. package/dist/chunks/chunk.ZARHT2OD.js +0 -29
  1231. package/dist/chunks/chunk.ZKLRB2JO.js +0 -123
  1232. package/dist/chunks/chunk.ZSZ4KJID.js +0 -345
  1233. package/dist/chunks/chunk.ZT7GABVO.js +0 -355
  1234. package/dist/chunks/chunk.ZXN6LIWR.js +0 -11
  1235. package/dist/terra_ui_components-0.0.137-py3-none-any.whl +0 -0
  1236. package/dist/terra_ui_components-0.0.137.tar.gz +0 -0
@@ -1,2008 +0,0 @@
1
- import {
2
- defaultSubsetFileMimeType,
3
- getFriendlyNameForMimeType
4
- } from "./chunk.4MGGBJBD.js";
5
- import {
6
- getNotebook
7
- } from "./chunk.SGMS4MGY.js";
8
- import {
9
- TerraLogin
10
- } from "./chunk.AAKINAHX.js";
11
- import {
12
- TerraDialog
13
- } from "./chunk.J3V3J6FF.js";
14
- import {
15
- DataSubsetterController
16
- } from "./chunk.WI2KVU46.js";
17
- import {
18
- data_subsetter_styles_default
19
- } from "./chunk.CYCA3NBR.js";
20
- import {
21
- AuthController
22
- } from "./chunk.DHM36JBP.js";
23
- import {
24
- TerraDataAccess,
25
- debounce
26
- } from "./chunk.W4GXZSQS.js";
27
- import {
28
- TerraMenu
29
- } from "./chunk.JTZSYDBZ.js";
30
- import {
31
- TerraMenuItem
32
- } from "./chunk.LDZAANCW.js";
33
- import {
34
- TerraDatePicker
35
- } from "./chunk.XQMGTEU2.js";
36
- import {
37
- TerraSpatialPicker
38
- } from "./chunk.VMMKDZZ5.js";
39
- import {
40
- TerraInput
41
- } from "./chunk.PR6NXMKM.js";
42
- import {
43
- TerraDropdown
44
- } from "./chunk.PMDGFZP5.js";
45
- import {
46
- TerraLoader
47
- } from "./chunk.R64NO63N.js";
48
- import {
49
- TerraButton
50
- } from "./chunk.4SXKWAH4.js";
51
- import {
52
- TerraAccordion
53
- } from "./chunk.5IS5U42I.js";
54
- import {
55
- TerraIcon
56
- } from "./chunk.7ULUL7UB.js";
57
- import {
58
- watch
59
- } from "./chunk.NWXJOH5T.js";
60
- import {
61
- getBasePath
62
- } from "./chunk.PBC3S6IG.js";
63
- import {
64
- TerraElement,
65
- component_styles_default
66
- } from "./chunk.M25BNXYX.js";
67
- import {
68
- __decorateClass,
69
- __privateAdd,
70
- __privateGet,
71
- __privateMethod,
72
- __spreadProps,
73
- __spreadValues
74
- } from "./chunk.SHKVBVTI.js";
75
-
76
- // src/components/data-subsetter/data-subsetter.component.ts
77
- import { html, nothing } from "lit";
78
- import { property, query, state } from "lit/decorators.js";
79
-
80
- // src/lib/jupyter.ts
81
- var JUPYTER_LITE_URL = "https://gesdisc.github.io/jupyterlite/lab/index.html";
82
- function openJupyterLiteWindow(readyCb) {
83
- const jupyterWindow = window.open(JUPYTER_LITE_URL, "_blank");
84
- if (!jupyterWindow) {
85
- console.error("Failed to open JupyterLite!");
86
- return;
87
- }
88
- window.addEventListener("message", (event) => readyCb(event, jupyterWindow), {
89
- once: true
90
- });
91
- return jupyterWindow;
92
- }
93
- function sendDataToJupyterNotebook(type, data) {
94
- openJupyterLiteWindow((event, jupyterWindow) => {
95
- var _a;
96
- if (((_a = event.data) == null ? void 0 : _a.type) !== "jupyterlite-ready") {
97
- return;
98
- }
99
- console.log("JupyterLite is ready!");
100
- jupyterWindow.postMessage(__spreadValues({ type }, data), "*");
101
- });
102
- }
103
-
104
- // src/components/data-subsetter/data-subsetter.component.ts
105
- 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, _handleDownloadSelect, handleDownloadSelect_fn, _downloadLinksAsTxt, downloadLinksAsTxt_fn, _downloadPythonScript, downloadPythonScript_fn, _downloadEarthdataDownload, downloadEarthdataDownload_fn, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn, _renderAvailableTemporalRangeSection, renderAvailableTemporalRangeSection_fn, _renderAvailableSpatialRangeSection, renderAvailableSpatialRangeSection_fn, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn;
106
- var TerraDataSubsetter = class extends TerraElement {
107
- constructor() {
108
- super(...arguments);
109
- __privateAdd(this, _renderFooterForDialog);
110
- __privateAdd(this, _renderSizeInfo);
111
- __privateAdd(this, _renderSubsetOptions);
112
- __privateAdd(this, _renderSearchForCollection);
113
- __privateAdd(this, _renderOutputFormatSelection);
114
- __privateAdd(this, _renderDateRangeSelection);
115
- __privateAdd(this, _getCollectionDateRange);
116
- __privateAdd(this, _handleRegionAccordionToggle);
117
- __privateAdd(this, _renderSpatialSelection);
118
- __privateAdd(this, _renderVariableSelection);
119
- __privateAdd(this, _filterVariableTree);
120
- __privateAdd(this, _handleVariableFilterChange);
121
- __privateAdd(this, _buildVariableTree);
122
- __privateAdd(this, _renderVariableTree);
123
- __privateAdd(this, _getAllGroupPaths);
124
- __privateAdd(this, _toggleGroupExpand);
125
- __privateAdd(this, _toggleExpandCollapseAll);
126
- __privateAdd(this, _toggleVariableSelection);
127
- __privateAdd(this, _markFieldTouched);
128
- __privateAdd(this, _renderJobStatus);
129
- __privateAdd(this, _renderSelectedParams);
130
- __privateAdd(this, _cancelJob);
131
- __privateAdd(this, _getData);
132
- __privateAdd(this, _touchAllFields);
133
- __privateAdd(this, _numberOfFilesFoundEstimate);
134
- __privateAdd(this, _getDocumentationLinks);
135
- __privateAdd(this, _getDataLinks);
136
- __privateAdd(this, _hasAtLeastOneSubsetOption);
137
- __privateAdd(this, _hasSpatialSubset);
138
- __privateAdd(this, _renderJobMessage);
139
- __privateAdd(this, _getJobMessageText);
140
- __privateAdd(this, _estimateJobSize);
141
- __privateAdd(this, _refineParameters);
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
- this.showCollectionSearch = true;
151
- this.showHistoryPanel = true;
152
- this.selectedVariables = [];
153
- this.expandedVariableGroups = /* @__PURE__ */ new Set();
154
- this.variableFilterText = "";
155
- this.touchedFields = /* @__PURE__ */ new Set();
156
- this.spatialSelection = null;
157
- this.selectedDateRange = {
158
- startDate: null,
159
- endDate: null
160
- };
161
- this.selectedFormat = defaultSubsetFileMimeType;
162
- this.cancelingGetData = false;
163
- this.selectedTab = "web-links";
164
- this.refineParameters = false;
165
- this.collectionSearchType = "all";
166
- this.collectionSearchLoading = false;
167
- this.collectionLoading = false;
168
- this.collectionAccordionOpen = true;
169
- this.dataAccessMode = "original";
170
- this.controller = new DataSubsetterController(this);
171
- __privateAdd(this, _authController, new AuthController(this));
172
- __privateAdd(this, _handleDateChange, (e) => {
173
- __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "date");
174
- this.selectedDateRange = __spreadProps(__spreadValues({}, this.selectedDateRange), {
175
- startDate: e.detail.startDate,
176
- endDate: e.detail.endDate
177
- });
178
- });
179
- __privateAdd(this, _resetDateRangeSelection, () => {
180
- this.selectedDateRange = { startDate: null, endDate: null };
181
- });
182
- __privateAdd(this, _resetFormatSelection, () => {
183
- this.selectedFormat = defaultSubsetFileMimeType;
184
- });
185
- __privateAdd(this, _handleSpatialChange, (e) => {
186
- __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "spatial");
187
- const round2 = (n) => parseFloat(Number(n).toFixed(2));
188
- if (e.detail.type === "bbox" /* BBOX */) {
189
- this.spatialSelection = {
190
- e: round2(e.detail.bounds.getNorthEast().lng),
191
- n: round2(e.detail.bounds.getNorthEast().lat),
192
- w: round2(e.detail.bounds.getSouthWest().lng),
193
- s: round2(e.detail.bounds.getSouthWest().lat)
194
- };
195
- } else if (e.detail.type === "point" /* POINT */) {
196
- this.spatialSelection = e.detail.latLng;
197
- } else {
198
- this.spatialSelection = null;
199
- }
200
- });
201
- __privateAdd(this, _resetSpatialSelection, () => {
202
- this.spatialSelection = null;
203
- });
204
- __privateAdd(this, _resetVariableSelection, () => {
205
- this.selectedVariables = [];
206
- });
207
- }
208
- jobIdChanged() {
209
- if (this.jobId) {
210
- this.controller.fetchJobByID(this.jobId);
211
- this.dataAccessMode = "subset";
212
- }
213
- }
214
- shortNameAndVersionChanged() {
215
- if (this.shortName && this.version) {
216
- this.collectionEntryId = `${this.shortName}_${this.version}`;
217
- }
218
- }
219
- firstUpdated() {
220
- if (this.collectionEntryId) {
221
- this.showCollectionSearch = false;
222
- }
223
- if (this.jobId) {
224
- this.controller.fetchJobByID(this.jobId);
225
- this.dataAccessMode = "subset";
226
- }
227
- if (this.showHistoryPanel) {
228
- this.renderHistoryPanel();
229
- }
230
- }
231
- collectionChanged() {
232
- const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
233
- this.selectedDateRange = { startDate, endDate };
234
- this.collectionLoading = false;
235
- this.collectionAccordionOpen = false;
236
- }
237
- render() {
238
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
239
- const showJobStatus = this.controller.currentJob && !this.refineParameters;
240
- const showMinimizeButton = showJobStatus && !!this.dialog;
241
- const title = (_c = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.EntryTitle) != null ? _c : "Download Data";
242
- const content = html`
243
- <div class="container">
244
- ${!this.dialog ? html`
245
- <div class="header">
246
- <h1>
247
- <svg
248
- class="download-icon"
249
- viewBox="0 0 24 24"
250
- fill="currentColor"
251
- >
252
- <path
253
- d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
254
- />
255
- </svg>
256
- ${title}
257
- </h1>
258
-
259
- ${showMinimizeButton ? html`<button
260
- class="minimize-btn"
261
- @click=${() => this.minimizeDialog()}
262
- >
263
- -
264
- </button>` : nothing}
265
- </div>
266
- ` : nothing}
267
- ${!this.jobId && ((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.services) == null ? void 0 : _e.length) ? html`
268
- <div class="section">
269
- ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
270
- </div>
271
- ` : nothing}
272
- ${this.dataAccessMode === "original" ? html`
273
- <div class="section">
274
- <terra-data-access
275
- short-name=${(_h = this.shortName) != null ? _h : (_g = (_f = this.collectionWithServices) == null ? void 0 : _f.collection) == null ? void 0 : _g.ShortName}
276
- version=${(_k = this.version) != null ? _k : (_j = (_i = this.collectionWithServices) == null ? void 0 : _i.collection) == null ? void 0 : _j.Version}
277
- ?footer-slot=${!!this.dialog}
278
- >
279
- ${this.dialog ? html`
280
- <div
281
- slot="footer"
282
- style="margin-top: 15px;"
283
- >
284
- <slot
285
- name="data-access-footer"
286
- ></slot>
287
- </div>
288
- ` : nothing}
289
- </terra-data-access>
290
- </div>
291
- ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
292
- </div>
293
- `;
294
- if (this.dialog) {
295
- return html`
296
- <terra-dialog id=${this.dialog} style="--title-font-size: 16px;">
297
- <span
298
- slot="label"
299
- style="display: flex; align-items: center; gap: 8px; color: #0066cc; font-weight: 600;"
300
- >
301
- <svg
302
- class="download-icon"
303
- viewBox="0 0 24 24"
304
- fill="currentColor"
305
- style="width: 16px; height: 16px; display: inline-block; vertical-align: middle; flex-shrink: 0;"
306
- >
307
- <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
308
- </svg>
309
- ${title}
310
- </span>
311
- ${showMinimizeButton ? html`
312
- <button
313
- slot="header-actions"
314
- class="minimize-btn"
315
- @click=${() => {
316
- var _a2;
317
- return (_a2 = this.dialogElement) == null ? void 0 : _a2.hide();
318
- }}
319
- aria-label="Minimize"
320
- >
321
- -
322
- </button>
323
- ` : nothing}
324
- ${content} ${__privateMethod(this, _renderFooterForDialog, renderFooterForDialog_fn).call(this)}
325
- </terra-dialog>
326
- `;
327
- }
328
- return html`
329
- <div class="container">
330
- <div class="header">
331
- <h1>
332
- <svg
333
- class="download-icon"
334
- viewBox="0 0 24 24"
335
- fill="currentColor"
336
- >
337
- <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
338
- </svg>
339
- ${title}
340
- </h1>
341
-
342
- ${showMinimizeButton ? html`<button
343
- class="minimize-btn"
344
- @click=${() => this.minimizeDialog()}
345
- >
346
- -
347
- </button>` : nothing}
348
- </div>
349
- ${!this.jobId && ((_m = (_l = this.collectionWithServices) == null ? void 0 : _l.services) == null ? void 0 : _m.length) ? html`
350
- <div class="section">
351
- ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
352
- </div>
353
- ` : nothing}
354
- ${this.dataAccessMode === "original" ? html`
355
- <div class="section">
356
- <terra-data-access
357
- short-name=${(_p = this.shortName) != null ? _p : (_o = (_n = this.collectionWithServices) == null ? void 0 : _n.collection) == null ? void 0 : _o.ShortName}
358
- version=${(_s = this.version) != null ? _s : (_r = (_q = this.collectionWithServices) == null ? void 0 : _q.collection) == null ? void 0 : _r.Version}
359
- ?footer-slot=${!!this.dialog}
360
- >
361
- ${this.dialog ? html`
362
- <div
363
- slot="footer"
364
- style="margin-top: 15px;"
365
- >
366
- <slot
367
- name="data-access-footer"
368
- ></slot>
369
- </div>
370
- ` : nothing}
371
- </terra-data-access>
372
- </div>
373
- ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
374
- </div>
375
- `;
376
- }
377
- minimizeDialog() {
378
- var _a;
379
- (_a = this.closest("terra-dialog")) == null ? void 0 : _a.hide();
380
- }
381
- handleCollectionSearch(searchTerm) {
382
- this.collectionSearchQuery = searchTerm;
383
- }
384
- isLatLng(value) {
385
- return value && typeof value.lat === "number" && typeof value.lng === "number";
386
- }
387
- isLatLngBounds(value) {
388
- return value && typeof value.getSouthWest === "function" && typeof value.getNorthEast === "function";
389
- }
390
- renderHistoryPanel() {
391
- const existingHistoryPanel = document.querySelector(
392
- "terra-data-subsetter-history"
393
- );
394
- if (!existingHistoryPanel) {
395
- const historyPanel = document.createElement(
396
- "terra-data-subsetter-history"
397
- );
398
- if (this.bearerToken) {
399
- historyPanel.setAttribute("bearer-token", this.bearerToken);
400
- }
401
- if (this.environment) {
402
- historyPanel.setAttribute("environment", this.environment);
403
- }
404
- document.body.appendChild(historyPanel);
405
- }
406
- }
407
- };
408
- _authController = new WeakMap();
409
- _renderFooterForDialog = new WeakSet();
410
- renderFooterForDialog_fn = function() {
411
- const showJobStatus = this.controller.currentJob && !this.refineParameters;
412
- if (showJobStatus && this.controller.currentJob) {
413
- return html`
414
- <div slot="footer" class="footer">
415
- ${this.controller.currentJob.status === "successful" /* SUCCESSFUL */ || this.controller.currentJob.status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? html`
416
- <div
417
- style="display: flex; align-items: center; gap: 8px;"
418
- >
419
- <terra-dropdown
420
- @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
421
- >
422
- <terra-button slot="trigger" caret>
423
- Download Options
424
- </terra-button>
425
- <terra-menu>
426
- <terra-menu-item value="file-list">
427
- <svg
428
- slot="prefix"
429
- viewBox="0 0 24 24"
430
- width="16"
431
- height="16"
432
- style="width: 16px; height: 16px;"
433
- >
434
- <path
435
- fill="currentColor"
436
- 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"
437
- />
438
- </svg>
439
- File List
440
- </terra-menu-item>
441
- <terra-menu-item value="python-script">
442
- <svg
443
- slot="prefix"
444
- viewBox="0 0 128 128"
445
- width="16"
446
- height="16"
447
- style="width: 16px; height: 16px;"
448
- >
449
- <path
450
- fill="currentColor"
451
- 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"
452
- ></path>
453
- </svg>
454
- Python Script
455
- </terra-menu-item>
456
- <terra-menu-item value="earthdata-download">
457
- <svg
458
- slot="prefix"
459
- viewBox="0 0 64 64"
460
- fill="none"
461
- width="16"
462
- height="16"
463
- style="width: 16px; height: 16px;"
464
- >
465
- <circle
466
- cx="32"
467
- cy="32"
468
- r="28"
469
- fill="currentColor"
470
- />
471
- <path
472
- d="M32 14v26M32 40l-9-9M32 40l9-9"
473
- stroke="#fff"
474
- stroke-width="4"
475
- stroke-linecap="round"
476
- stroke-linejoin="round"
477
- fill="none"
478
- />
479
- </svg>
480
- Earthdata Download
481
- </terra-menu-item>
482
- </terra-menu>
483
- </terra-dropdown>
484
-
485
- <terra-button
486
- outline
487
- @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
488
- >
489
- <terra-icon
490
- name="outline-code-bracket"
491
- library="heroicons"
492
- font-size="1.5em"
493
- style="margin-right: 5px;"
494
- ></terra-icon>
495
- Open in Jupyter Notebook
496
- </terra-button>
497
- </div>
498
- ` : nothing}
499
- ${this.controller.currentJob.status === "running" ? html`<button
500
- class="btn btn-success"
501
- @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
502
- ?disabled=${this.cancelingGetData}
503
- >
504
- ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
505
- </button>` : nothing}
506
-
507
- <div class="job-info">
508
- Job ID:
509
- <span class="job-id">
510
- ${this.bearerToken ? html`<a
511
- href="https://harmony.earthdata.nasa.gov/jobs/${this.controller.currentJob.jobID}"
512
- target="_blank"
513
- >${this.controller.currentJob.jobID}</a
514
- >` : this.controller.currentJob.jobID}
515
- </span>
516
- <span class="info-icon">?</span>
517
- </div>
518
- </div>
519
- `;
520
- } else if (this.dataAccessMode === "subset") {
521
- return html`
522
- <div slot="footer" class="footer">
523
- <button class="btn btn-secondary">Reset All</button>
524
- <button class="btn btn-primary" @click=${__privateMethod(this, _getData, getData_fn)}>
525
- Get Data
526
- </button>
527
- </div>
528
- `;
529
- }
530
- return nothing;
531
- };
532
- _renderSizeInfo = new WeakSet();
533
- renderSizeInfo_fn = function(estimates) {
534
- if (!__privateGet(this, _authController).state.isLoading && !__privateGet(this, _authController).state.user) {
535
- return html`
536
- <div class="size-info warning">
537
- <terra-login>
538
- <h2 slot="logged-out">Limited access as a guest.</h2>
539
-
540
- <p slot="logged-out">
541
- Your results will be capped at 10 links. Log in for full
542
- access to all data.
543
- </p>
544
- </terra-login>
545
- </div>
546
- `;
547
- }
548
- return html`<div
549
- class="size-info ${estimates.links >= 150 ? "warning" : "neutral"}"
550
- >
551
- <h2>Estimated size of results</h2>
552
- <div class="size-stats">
553
- ${estimates.days.toLocaleString()} days,
554
- ${estimates.links.toLocaleString()} links
555
- </div>
556
- ${estimates.links >= 150 ? html`<div class="size-warning">
557
- You are about to retrieve ${estimates.links.toLocaleString()}
558
- file links from the archive. You may
559
- <strong>speed up the request</strong> by limiting the scope of
560
- your search.
561
- </div>` : nothing}
562
- </div>`;
563
- };
564
- _renderSubsetOptions = new WeakSet();
565
- renderSubsetOptions_fn = function() {
566
- var _a, _b, _c, _d, _e, _f, _g, _h;
567
- const estimates = __privateMethod(this, _estimateJobSize, estimateJobSize_fn).call(this);
568
- const hasSubsetOption = __privateMethod(this, _hasAtLeastOneSubsetOption, hasAtLeastOneSubsetOption_fn).call(this);
569
- const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
570
- const temporalExtents = collection == null ? void 0 : collection.TemporalExtents;
571
- const spatialExtent = collection == null ? void 0 : collection.SpatialExtent;
572
- const showTemporalSection = temporalExtents && temporalExtents.length;
573
- const showSpatialSection = spatialExtent && ((_c = (_b = spatialExtent.HorizontalSpatialDomain) == null ? void 0 : _b.Geometry) == null ? void 0 : _c.BoundingRectangles);
574
- return html`
575
- ${this.dataAccessMode === "original" ? nothing : hasSubsetOption ? html`
576
- ${hasSubsetOption && estimates ? __privateMethod(this, _renderSizeInfo, renderSizeInfo_fn).call(this, estimates) : nothing}
577
- ${this.showCollectionSearch ? html`
578
- <div class="section">
579
- <h2 class="section-title">
580
- Select Data Collection
581
- <span class="help-icon">?</span>
582
- </h2>
583
-
584
- ${__privateMethod(this, _renderSearchForCollection, renderSearchForCollection_fn).call(this)}
585
- </div>
586
- ` : nothing}
587
- <div class="section">
588
- <h2 class="section-title">
589
- Subset Options
590
- <span class="help-icon">?</span>
591
- </h2>
592
- <p style="color: #666; margin-bottom: 16px;">
593
- Generate file links supporting geo-spatial search and
594
- crop, selection of variables and dimensions, selection
595
- of time of day, and data presentation, in netCDF or
596
- HDF-EOS5 formats.
597
- </p>
598
-
599
- ${((_d = this.collectionWithServices) == null ? void 0 : _d.temporalSubset) ? __privateMethod(this, _renderDateRangeSelection, renderDateRangeSelection_fn).call(this) : nothing}
600
- ${__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderSpatialSelection, renderSpatialSelection_fn).call(this) : nothing}
601
- ${((_e = this.collectionWithServices) == null ? void 0 : _e.variableSubset) ? __privateMethod(this, _renderVariableSelection, renderVariableSelection_fn).call(this) : nothing}
602
- </div>
603
- ` : html`
604
- ${showTemporalSection && !((_f = this.collectionWithServices) == null ? void 0 : _f.temporalSubset) ? __privateMethod(this, _renderAvailableTemporalRangeSection, renderAvailableTemporalRangeSection_fn).call(this) : nothing}
605
- ${showSpatialSection && !__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderAvailableSpatialRangeSection, renderAvailableSpatialRangeSection_fn).call(this) : nothing}
606
- `}
607
- ${((_h = (_g = this.collectionWithServices) == null ? void 0 : _g.outputFormats) == null ? void 0 : _h.length) && hasSubsetOption ? html`
608
- <div class="section">
609
- <h2 class="section-title">
610
- Output Format
611
- <span class="help-icon">?</span>
612
- </h2>
613
-
614
- ${__privateMethod(this, _renderOutputFormatSelection, renderOutputFormatSelection_fn).call(this)}
615
- </div>
616
- ` : nothing}
617
- ${!hasSubsetOption && estimates ? html`
618
- <div
619
- class="neutral-info"
620
- style="margin-top: 24px; padding: 16px 20px; border-radius: 6px; background: #f8f9fa; color: #555; border: 1px solid #ccc;"
621
- >
622
- <strong>Estimated result size:</strong><br />
623
- Your request will return approximately
624
- <b>${estimates.links.toLocaleString()}</b> files covering
625
- <b>${estimates.days.toLocaleString()}</b> days.
626
- </div>
627
- ` : nothing}
628
- ${this.dataAccessMode === "subset" && !this.dialog ? html`
629
- <div class="footer">
630
- <button class="btn btn-secondary">Reset All</button>
631
- <button class="btn btn-primary" @click=${__privateMethod(this, _getData, getData_fn)}>
632
- Get Data
633
- </button>
634
- </div>
635
- ` : nothing}
636
- `;
637
- };
638
- _renderSearchForCollection = new WeakSet();
639
- renderSearchForCollection_fn = function() {
640
- var _a, _b;
641
- let placeholder = "Search all types of resources (e.g. rainfall, GPM, hurricanes, etc.)";
642
- if (this.collectionSearchType === "collection") {
643
- placeholder = "Search collections (e.g. AQUA, GPM_3IMERGH, etc.)";
644
- }
645
- if (this.collectionSearchType === "variable") {
646
- placeholder = "Search variables (e.g. rainfall, hurricanes, etc.)";
647
- }
648
- return html`
649
- <terra-accordion .open=${this.collectionAccordionOpen}>
650
- <div slot="summary">
651
- <span class="accordion-title">Collection:</span>
652
- </div>
653
-
654
- <div
655
- slot="summary-right"
656
- style="display: flex; align-items: center; gap: 10px"
657
- >
658
- ${this.collectionEntryId ? html` <span
659
- class="accordion-value"
660
- id="selected-collection-display"
661
- >${this.collectionEntryId}</span
662
- >
663
-
664
- <button
665
- class="reset-btn"
666
- @click=${() => this.collectionEntryId = void 0}
667
- >
668
- Reset
669
- </button>` : nothing}
670
- </div>
671
-
672
- <div class="search-tabs-mini">
673
- <button
674
- class="search-tab-mini ${this.collectionSearchType === "all" ? "active" : ""}"
675
- @click=${() => this.collectionSearchType = "all"}
676
- >
677
- All
678
- </button>
679
- <button
680
- class="search-tab-mini ${this.collectionSearchType === "collection" ? "active" : ""}"
681
- @click=${() => this.collectionSearchType = "collection"}
682
- >
683
- Collections
684
- </button>
685
- <button
686
- class="search-tab-mini ${this.collectionSearchType === "variable" ? "active" : ""}"
687
- @click=${() => this.collectionSearchType = "variable"}
688
- >
689
- Variables
690
- </button>
691
- </div>
692
-
693
- <div class="search-container-mini">
694
- <input
695
- type="text"
696
- class="search-input-mini"
697
- id="search-input"
698
- placeholder=${placeholder}
699
- @input="${(e) => this.handleCollectionSearch(
700
- e.target.value
701
- )}"
702
- />
703
-
704
- <button class="search-button-mini">
705
- <svg
706
- class="search-icon-mini"
707
- viewBox="0 0 24 24"
708
- fill="currentColor"
709
- >
710
- <path
711
- 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"
712
- />
713
- </svg>
714
- Search
715
- </button>
716
- </div>
717
-
718
- <!-- TODO: it may be nice to have a quick search, perhaps by recent trends?
719
- <div class="quick-links-mini">
720
- <a href="#" class="quick-link-mini" onclick="quickSearch('GPM')"
721
- >GPM Precipitation</a
722
- >
723
- <a href="#" class="quick-link-mini" onclick="quickSearch('MODIS')"
724
- >MODIS Data</a
725
- >
726
- <a
727
- href="#"
728
- class="quick-link-mini"
729
- onclick="quickSearch('Landsat')"
730
- >Landsat Imagery</a
731
- >
732
- <a href="#" class="quick-link-mini" onclick="quickSearch('AIRS')"
733
- >Atmospheric Data</a
734
- >
735
- </div>
736
- -->
737
-
738
- <div id="search-results-section" class="search-results-section">
739
- ${this.collectionSearchLoading ? html`
740
- <div id="loading-mini" class="loading-mini">
741
- <div class="spinner-mini"></div>
742
- <div>Searching NASA CMR...</div>
743
- </div>
744
- ` : ((_a = this.collectionSearchResults) == null ? void 0 : _a.length) ? html` <div
745
- id="results-container-mini"
746
- class="results-container-mini"
747
- >
748
- ${(_b = this.collectionSearchResults) == null ? void 0 : _b.map(
749
- (item) => html`
750
- <div
751
- class="result-item-mini"
752
- @click=${() => {
753
- this.collectionEntryId = item.collectionEntryId;
754
- this.collectionAccordionOpen = false;
755
- this.collectionLoading = true;
756
- if (item.type === "variable") {
757
- this.selectedVariables = [
758
- {
759
- name: item.entryId,
760
- href: "",
761
- conceptId: item.conceptId
762
- }
763
- ];
764
- }
765
- this.requestUpdate();
766
- }}
767
- style="cursor: pointer;"
768
- >
769
- <div class="result-title-mini">
770
- ${item.title}
771
- </div>
772
- <div class="result-id-mini">
773
- ${item.entryId}
774
- </div>
775
- <div class="result-description-mini">
776
- ${item.summary || item.title}
777
- </div>
778
- <div class="result-meta-mini">
779
- <span>📅 2000-02-24 - ongoing</span>
780
- <span>🌍 Global</span>
781
- <span>🏢 ${item.provider}</span>
782
- ${item.type === "variable" ? html` <span
783
- >📊
784
- ${item.collectionEntryId}</span
785
- >` : nothing}
786
- <span class="tag-mini"
787
- >${item.type.toUpperCase()}</span
788
- >
789
- </div>
790
- </div>
791
- `
792
- )}
793
- </div>` : this.collectionSearchResults && this.collectionSearchResults.length === 0 ? html`<div id="no-results-mini" class="no-results-mini">
794
- <p>
795
- No results found for
796
- '${this.collectionSearchQuery}'. Try adjusting
797
- your search term.
798
- </p>
799
- </div>` : nothing}
800
- </div>
801
- </terra-accordion>
802
-
803
- ${this.collectionLoading ? html`
804
- <div
805
- class="collection-loading-bar"
806
- style="display: flex; align-items: center; gap: 10px; margin: 16px 0;"
807
- >
808
- <span
809
- class="loading-spinner"
810
- 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;"
811
- ></span>
812
- Retrieving collection, please wait...
813
- </div>
814
- <style>
815
- @keyframes spin {
816
- 0% {
817
- transform: rotate(0deg);
818
- }
819
- 100% {
820
- transform: rotate(360deg);
821
- }
822
- }
823
- </style>
824
- ` : nothing}
825
- `;
826
- };
827
- _renderOutputFormatSelection = new WeakSet();
828
- renderOutputFormatSelection_fn = function() {
829
- return html`
830
- <terra-accordion>
831
- <div slot="summary">
832
- <span class="accordion-title">File Format:</span>
833
- </div>
834
-
835
- <div
836
- slot="summary-right"
837
- style="display: flex; align-items: center; gap: 10px;"
838
- >
839
- <span>${getFriendlyNameForMimeType(this.selectedFormat)}</span>
840
-
841
- <button class="reset-btn" @click=${__privateGet(this, _resetFormatSelection)}>
842
- Reset
843
- </button>
844
- </div>
845
-
846
- <div class="accordion-content" style="margin-top: 12px;">
847
- ${(() => {
848
- var _a;
849
- const uniqueFormats = Array.from(
850
- new Set(((_a = this.collectionWithServices) == null ? void 0 : _a.outputFormats) || [])
851
- );
852
- return uniqueFormats.map(
853
- (format) => html`
854
- <label
855
- style="display: flex; align-items: center; gap: 8px; padding: 5px;"
856
- >
857
- <input
858
- type="radio"
859
- name="output-format"
860
- value="${format}"
861
- .checked=${this.selectedFormat === format}
862
- @change=${() => this.selectedFormat = format}
863
- />
864
- ${getFriendlyNameForMimeType(format)}
865
- </label>
866
- `
867
- );
868
- })()}
869
- </div>
870
- </terra-accordion>
871
- `;
872
- };
873
- _renderDateRangeSelection = new WeakSet();
874
- renderDateRangeSelection_fn = function() {
875
- var _a, _b;
876
- const { startDate: defaultStartDate, endDate: defaultEndDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
877
- const startDate = (_a = this.selectedDateRange.startDate) != null ? _a : defaultStartDate;
878
- const endDate = (_b = this.selectedDateRange.endDate) != null ? _b : defaultEndDate;
879
- const showError = this.touchedFields.has("date") && (!this.selectedDateRange.startDate || !this.selectedDateRange.endDate);
880
- return html`
881
- <terra-accordion>
882
- <div slot="summary">
883
- <span class="accordion-title">Refine Date Range:</span>
884
- </div>
885
-
886
- <div
887
- slot="summary-right"
888
- style="display: flex; align-items: center; gap: 10px;"
889
- >
890
- ${showError ? html`<span class="accordion-value error"
891
- >Please select a date range</span
892
- >` : this.touchedFields.has("date") && startDate && endDate ? html`<span class="accordion-value"
893
- >${startDate} to ${endDate}</span
894
- >` : nothing}
895
- <button class="reset-btn" @click=${__privateGet(this, _resetDateRangeSelection)}>
896
- Reset
897
- </button>
898
- </div>
899
-
900
- <div style="width: 300px">
901
- <terra-date-picker
902
- allow-input
903
- inline
904
- range
905
- split-inputs
906
- show-presets
907
- start-label="Start Date"
908
- end-label="End Date"
909
- .minDate=${defaultStartDate}
910
- .maxDate=${defaultEndDate}
911
- .startDate=${this.selectedDateRange.startDate}
912
- .endDate=${this.selectedDateRange.endDate}
913
- @terra-date-range-change=${__privateGet(this, _handleDateChange)}
914
- ></terra-date-picker>
915
- </div>
916
-
917
- <div
918
- style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
919
- >
920
- <span
921
- ><strong>Available Range:</strong> ${defaultStartDate} to
922
- ${defaultEndDate}</span
923
- >
924
- <span
925
- ><strong>Note:</strong> All dates and times are in UTC.</span
926
- >
927
- </div>
928
- </terra-accordion>
929
- `;
930
- };
931
- _handleDateChange = new WeakMap();
932
- _resetDateRangeSelection = new WeakMap();
933
- _resetFormatSelection = new WeakMap();
934
- _getCollectionDateRange = new WeakSet();
935
- getCollectionDateRange_fn = function() {
936
- var _a, _b;
937
- const temporalExtents = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.TemporalExtents;
938
- if (!temporalExtents || !temporalExtents.length)
939
- return {
940
- startDate: null,
941
- endDate: null
942
- };
943
- let minStart = null;
944
- let maxEnd = null;
945
- const today = /* @__PURE__ */ new Date();
946
- for (const temporal of temporalExtents) {
947
- for (const range of temporal.RangeDateTimes) {
948
- const start = new Date(range.BeginningDateTime);
949
- let end;
950
- if (temporal.EndsAtPresentFlag || !range.EndingDateTime) {
951
- end = today;
952
- } else {
953
- end = new Date(range.EndingDateTime);
954
- }
955
- if (!minStart || start < minStart)
956
- minStart = start;
957
- if (!maxEnd || end > maxEnd)
958
- maxEnd = end;
959
- }
960
- }
961
- return {
962
- startDate: minStart ? minStart.toISOString().slice(0, 10) : null,
963
- endDate: maxEnd ? maxEnd.toISOString().slice(0, 10) : null
964
- };
965
- };
966
- _handleRegionAccordionToggle = new WeakSet();
967
- handleRegionAccordionToggle_fn = function() {
968
- var _a;
969
- (_a = this.spatialPicker) == null ? void 0 : _a.invalidateSize();
970
- };
971
- _renderSpatialSelection = new WeakSet();
972
- renderSpatialSelection_fn = function() {
973
- var _a, _b, _c, _d, _e;
974
- const showError = this.touchedFields.has("spatial") && !this.spatialSelection;
975
- 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;
976
- if (boundingRects && !Array.isArray(boundingRects)) {
977
- boundingRects = [boundingRects];
978
- }
979
- let spatialString = "";
980
- if (this.isLatLng(this.spatialSelection)) {
981
- spatialString = `${this.spatialSelection.lat}, ${this.spatialSelection.lng}`;
982
- } else if (this.isLatLngBounds(this.spatialSelection)) {
983
- spatialString = `${this.spatialSelection.getSouthWest().lat}, ${this.spatialSelection.getSouthWest().lng}, ${this.spatialSelection.getNorthEast().lat}, ${this.spatialSelection.getNorthEast().lng}`;
984
- } else if (this.spatialSelection && "w" in this.spatialSelection && "s" in this.spatialSelection && "e" in this.spatialSelection && "n" in this.spatialSelection) {
985
- spatialString = `${this.spatialSelection.w}, ${this.spatialSelection.s}, ${this.spatialSelection.e}, ${this.spatialSelection.n}`;
986
- } else if (this.spatialSelection) {
987
- spatialString = this.spatialSelection;
988
- }
989
- return html`
990
- <terra-accordion
991
- @terra-accordion-toggle=${__privateMethod(this, _handleRegionAccordionToggle, handleRegionAccordionToggle_fn)}
992
- >
993
- <div slot="summary">
994
- <span class="accordion-title">Refine Region:</span>
995
- </div>
996
-
997
- <div
998
- slot="summary-right"
999
- style="display: flex; align-items: center; gap: 10px;"
1000
- >
1001
- ${showError ? html`<span class="accordion-value error"
1002
- >Please select a region</span
1003
- >` : spatialString ? html`<span class="accordion-value"
1004
- >${spatialString}</span
1005
- >` : nothing}
1006
- <button class="reset-btn" @click=${__privateGet(this, _resetSpatialSelection)}>
1007
- Reset
1008
- </button>
1009
- </div>
1010
- <div class="accordion-content">
1011
- <terra-spatial-picker
1012
- part="spatial-picker"
1013
- inline
1014
- hide-label
1015
- has-shape-selector
1016
- hide-point-selection
1017
- .initialValue=${spatialString}
1018
- @terra-map-change=${__privateGet(this, _handleSpatialChange)}
1019
- ></terra-spatial-picker>
1020
- ${boundingRects && Array.isArray(boundingRects) && boundingRects.length ? html`<div
1021
- style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
1022
- >
1023
- ${boundingRects.map(
1024
- (rect) => html`<div>
1025
- <strong>Available Range:</strong>
1026
- ${rect.WestBoundingCoordinate},
1027
- ${rect.SouthBoundingCoordinate},
1028
- ${rect.EastBoundingCoordinate},
1029
- ${rect.NorthBoundingCoordinate}
1030
- </div>`
1031
- )}
1032
- </div>` : nothing}
1033
- </div>
1034
- </terra-accordion>
1035
- `;
1036
- };
1037
- _handleSpatialChange = new WeakMap();
1038
- _resetSpatialSelection = new WeakMap();
1039
- _renderVariableSelection = new WeakSet();
1040
- renderVariableSelection_fn = function() {
1041
- var _a;
1042
- const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1043
- const showError = this.touchedFields.has("variables") && this.selectedVariables.length === 0;
1044
- const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1045
- const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1046
- const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1047
- return html`
1048
- <terra-accordion>
1049
- <div slot="summary">
1050
- <span class="accordion-title">Select Variables:</span>
1051
- </div>
1052
- <div
1053
- slot="summary-right"
1054
- style="display: flex; align-items: center; gap: 10px;"
1055
- >
1056
- ${showError ? html`<span class="accordion-value error"
1057
- >Please select at least one variable</span
1058
- >` : this.selectedVariables.length ? html`<span class="accordion-value"
1059
- >${this.selectedVariables.length} selected</span
1060
- >` : nothing}
1061
-
1062
- <button class="reset-btn" @click=${__privateGet(this, _resetVariableSelection)}>
1063
- Reset
1064
- </button>
1065
- </div>
1066
- <div class="accordion-content">
1067
- <terra-input
1068
- label="Filter variables"
1069
- placeholder="Search by variable name..."
1070
- .value=${this.variableFilterText}
1071
- @input=${(e) => {
1072
- const input = e.target;
1073
- this.variableFilterText = input.value;
1074
- __privateMethod(this, _handleVariableFilterChange, handleVariableFilterChange_fn).call(this);
1075
- }}
1076
- style="margin-bottom: 10px;"
1077
- ></terra-input>
1078
- <button
1079
- class="reset-btn"
1080
- style="margin-bottom: 10px;"
1081
- @click=${() => __privateMethod(this, _toggleExpandCollapseAll, toggleExpandCollapseAll_fn).call(this, tree)}
1082
- >
1083
- ${allExpanded ? "Collapse Tree" : "Expand Tree"}
1084
- </button>
1085
- ${variables.length === 0 ? html`<p style="color: #666; font-style: italic;">
1086
- No variables available for this collection.
1087
- </p>` : __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, __privateMethod(this, _filterVariableTree, filterVariableTree_fn).call(this, tree), [])}
1088
- </div>
1089
- </terra-accordion>
1090
- `;
1091
- };
1092
- _filterVariableTree = new WeakSet();
1093
- filterVariableTree_fn = function(tree) {
1094
- if (!this.variableFilterText.trim()) {
1095
- return tree;
1096
- }
1097
- const filterText = this.variableFilterText.toLowerCase().trim();
1098
- const filterNode = (node) => {
1099
- const result = {};
1100
- for (const [key, value] of Object.entries(node)) {
1101
- if (value.__isLeaf) {
1102
- const variableName = value.__variable.name.toLowerCase();
1103
- if (variableName.includes(filterText)) {
1104
- result[key] = value;
1105
- }
1106
- } else {
1107
- const filteredChildren = filterNode(value.__children);
1108
- if (Object.keys(filteredChildren).length > 0 || key.toLowerCase().includes(filterText)) {
1109
- result[key] = __spreadProps(__spreadValues({}, value), {
1110
- __children: filteredChildren
1111
- });
1112
- }
1113
- }
1114
- }
1115
- return result;
1116
- };
1117
- return filterNode(tree);
1118
- };
1119
- _handleVariableFilterChange = new WeakSet();
1120
- handleVariableFilterChange_fn = function() {
1121
- var _a;
1122
- if (!this.variableFilterText.trim()) {
1123
- return;
1124
- }
1125
- const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1126
- const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1127
- const filterText = this.variableFilterText.toLowerCase().trim();
1128
- const groupsToExpand = /* @__PURE__ */ new Set();
1129
- const findMatchingGroups = (node, path = []) => {
1130
- for (const [key, value] of Object.entries(node)) {
1131
- if (value.__isLeaf) {
1132
- const variableName = value.__variable.name.toLowerCase();
1133
- if (variableName.includes(filterText)) {
1134
- for (let i = 0; i < path.length; i++) {
1135
- const groupPath = path.slice(0, i + 1).join("/");
1136
- groupsToExpand.add(groupPath);
1137
- }
1138
- }
1139
- } else {
1140
- const groupPath = [...path, key].join("/");
1141
- findMatchingGroups(value.__children, [...path, key]);
1142
- if (key.toLowerCase().includes(filterText)) {
1143
- groupsToExpand.add(groupPath);
1144
- }
1145
- }
1146
- }
1147
- };
1148
- findMatchingGroups(tree);
1149
- if (groupsToExpand.size > 0) {
1150
- this.expandedVariableGroups = /* @__PURE__ */ new Set([
1151
- ...this.expandedVariableGroups,
1152
- ...groupsToExpand
1153
- ]);
1154
- }
1155
- };
1156
- _buildVariableTree = new WeakSet();
1157
- buildVariableTree_fn = function(variables) {
1158
- const root = {};
1159
- for (const v of variables) {
1160
- const parts = v.name.split("/");
1161
- let node = root;
1162
- for (let i = 0; i < parts.length; i++) {
1163
- const part = parts[i];
1164
- if (!node[part])
1165
- node[part] = { __children: {}, __isLeaf: false };
1166
- if (i === parts.length - 1) {
1167
- node[part].__isLeaf = true;
1168
- node[part].__variable = v;
1169
- }
1170
- node = node[part].__children;
1171
- }
1172
- }
1173
- return root;
1174
- };
1175
- _renderVariableTree = new WeakSet();
1176
- renderVariableTree_fn = function(node, path) {
1177
- return html`
1178
- <div style="margin-left: ${path.length * 20}px;">
1179
- ${Object.entries(node).map(([key, value]) => {
1180
- const groupPath = [...path, key].join("/");
1181
- if (value.__isLeaf) {
1182
- return html`
1183
- <div class="option-row">
1184
- <label class="checkbox-option">
1185
- <input
1186
- type="checkbox"
1187
- .checked=${this.selectedVariables.some(
1188
- (v) => v.name === value.__variable.name
1189
- )}
1190
- @change=${(e) => __privateMethod(this, _toggleVariableSelection, toggleVariableSelection_fn).call(this, e, value.__variable)}
1191
- />
1192
- <span>${key}</span>
1193
- </label>
1194
- </div>
1195
- `;
1196
- } else {
1197
- const expanded = this.expandedVariableGroups.has(groupPath);
1198
- return html`
1199
- <div class="option-row" style="align-items: flex-start;">
1200
- <span
1201
- style="cursor: pointer; display: flex; align-items: center;"
1202
- @click=${() => __privateMethod(this, _toggleGroupExpand, toggleGroupExpand_fn).call(this, groupPath)}
1203
- >
1204
- <terra-icon
1205
- library="heroicons"
1206
- name="${expanded ? "outline-minus-circle" : "outline-plus-circle"}"
1207
- style="margin-right: 4px;"
1208
- ></terra-icon>
1209
- <span style="font-weight: 500;">${key}</span>
1210
- </span>
1211
- </div>
1212
- ${expanded ? __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, value.__children, [
1213
- ...path,
1214
- key
1215
- ]) : ""}
1216
- `;
1217
- }
1218
- })}
1219
- </div>
1220
- `;
1221
- };
1222
- _getAllGroupPaths = new WeakSet();
1223
- getAllGroupPaths_fn = function(node, path = []) {
1224
- let groups = [];
1225
- for (const [key, value] of Object.entries(node)) {
1226
- if (!value.__isLeaf) {
1227
- const groupPath = [...path, key].join("/");
1228
- groups.push(groupPath);
1229
- groups = groups.concat(
1230
- __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, value.__children, [...path, key])
1231
- );
1232
- }
1233
- }
1234
- return groups;
1235
- };
1236
- _toggleGroupExpand = new WeakSet();
1237
- toggleGroupExpand_fn = function(groupPath) {
1238
- const set = new Set(this.expandedVariableGroups);
1239
- if (set.has(groupPath)) {
1240
- set.delete(groupPath);
1241
- } else {
1242
- set.add(groupPath);
1243
- }
1244
- this.expandedVariableGroups = set;
1245
- };
1246
- _toggleExpandCollapseAll = new WeakSet();
1247
- toggleExpandCollapseAll_fn = function(tree) {
1248
- const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1249
- const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1250
- if (allExpanded) {
1251
- this.expandedVariableGroups = /* @__PURE__ */ new Set();
1252
- } else {
1253
- this.expandedVariableGroups = new Set(allGroups);
1254
- }
1255
- };
1256
- _toggleVariableSelection = new WeakSet();
1257
- toggleVariableSelection_fn = function(e, variable) {
1258
- __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
1259
- const checked = e.target.checked;
1260
- if (checked) {
1261
- if (!this.selectedVariables.some((v) => v.name === variable.name)) {
1262
- this.selectedVariables = [...this.selectedVariables, variable];
1263
- }
1264
- } else {
1265
- this.selectedVariables = this.selectedVariables.filter(
1266
- (v) => v.name !== variable.name
1267
- );
1268
- }
1269
- };
1270
- _markFieldTouched = new WeakSet();
1271
- markFieldTouched_fn = function(field) {
1272
- this.touchedFields = new Set(this.touchedFields).add(field);
1273
- };
1274
- _resetVariableSelection = new WeakMap();
1275
- _renderJobStatus = new WeakSet();
1276
- renderJobStatus_fn = function() {
1277
- var _a, _b;
1278
- if (!((_a = this.controller.currentJob) == null ? void 0 : _a.jobID)) {
1279
- return html`<div class="results-section" id="job-status-section">
1280
- <h2 class="results-title">Results:</h2>
1281
-
1282
- <div class="progress-container">
1283
- <div class="progress-text">
1284
- <span class="spinner"></span>
1285
- <span class="status-running">Searching for data...</span>
1286
- </div>
1287
-
1288
- <div class="progress-bar">
1289
- <div class="progress-fill" style="width: 0%"></div>
1290
- </div>
1291
- </div>
1292
-
1293
- ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1294
- </div>`;
1295
- }
1296
- return html`
1297
- <div class="results-section" id="job-status-section">
1298
- <h2 class="results-title">Results:</h2>
1299
-
1300
- ${this.controller.currentJob.status !== "canceled" && this.controller.currentJob.status !== "failed" ? html` <div class="progress-container">
1301
- <div class="progress-text">
1302
- ${this.controller.currentJob.progress >= 100 ? html`
1303
- <span class="status-complete"
1304
- >✓ Search complete</span
1305
- >
1306
- ` : html`
1307
- <span class="spinner"></span>
1308
- <span class="status-running"
1309
- >Searching for data...
1310
- (${this.controller.currentJob.progress}%)</span
1311
- >
1312
- `}
1313
- </div>
1314
-
1315
- <div class="progress-bar">
1316
- <div
1317
- class="progress-fill"
1318
- style="width: ${this.controller.currentJob.progress}%"
1319
- ></div>
1320
- </div>
1321
- </div>` : nothing}
1322
-
1323
- <div class="search-status">
1324
- <span class="file-count"
1325
- >Found ${__privateMethod(this, _numberOfFilesFoundEstimate, numberOfFilesFoundEstimate_fn).call(this)} files</span
1326
- >
1327
- out of estimated
1328
- <span class="estimated-total"
1329
- >${this.controller.currentJob.numInputGranules.toLocaleString()}</span
1330
- >
1331
- </div>
1332
-
1333
- ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1334
- ${((_b = this.controller.currentJob.errors) == null ? void 0 : _b.length) ? html`
1335
- <terra-accordion>
1336
- <div slot="summary">
1337
- <span
1338
- class="accordion-title"
1339
- style="color: #dc3545;"
1340
- >Errors
1341
- (${this.controller.currentJob.errors.length})</span
1342
- >
1343
- </div>
1344
- <div class="accordion-content">
1345
- <ul
1346
- style="color: #dc3545; font-size: 14px; padding-left: 20px;"
1347
- >
1348
- ${this.controller.currentJob.errors.map(
1349
- (err) => html`
1350
- <li style="margin-bottom: 12px;">
1351
- <a
1352
- href="${err.url}"
1353
- target="_blank"
1354
- style="word-break: break-all; color: #dc3545; text-decoration: underline;"
1355
- >
1356
- ${err.url}
1357
- </a>
1358
- <div style="margin-top: 2px;">
1359
- ${err.message}
1360
- </div>
1361
- </li>
1362
- `
1363
- )}
1364
- </ul>
1365
- </div>
1366
- </terra-accordion>
1367
- ` : nothing}
1368
-
1369
- <div class="tabs">
1370
- <button
1371
- class="tab ${this.selectedTab === "web-links" ? "active" : ""}"
1372
- @click=${() => this.selectedTab = "web-links"}
1373
- >
1374
- Web Links
1375
- </button>
1376
-
1377
- <button
1378
- class="tab ${this.selectedTab === "selected-params" ? "active" : ""}"
1379
- @click=${() => this.selectedTab = "selected-params"}
1380
- >
1381
- Selected Parameters
1382
- </button>
1383
- </div>
1384
- <div
1385
- id="web-links"
1386
- class="tab-content ${this.selectedTab === "web-links" ? "active" : ""}"
1387
- >
1388
- ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).length ? html`
1389
- <div class="documentation-links">
1390
- ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).map(
1391
- (link) => html`
1392
- <a href="${link.href}" class="doc-link"
1393
- >${link.title}</a
1394
- >
1395
- `
1396
- )}
1397
- </div>
1398
- ` : nothing}
1399
-
1400
- <ul class="file-list">
1401
- ${__privateMethod(this, _getDataLinks, getDataLinks_fn).call(this).map(
1402
- (link) => html`
1403
- <li class="file-item">
1404
- <a
1405
- href="${link.href}"
1406
- class="file-link"
1407
- target="_blank"
1408
- >
1409
- ${link.title}
1410
- </a>
1411
- </li>
1412
- `
1413
- )}
1414
- </ul>
1415
- </div>
1416
-
1417
- <div
1418
- id="selected-params"
1419
- class="tab-content ${this.selectedTab === "selected-params" ? "active" : ""}"
1420
- >
1421
- ${__privateMethod(this, _renderSelectedParams, renderSelectedParams_fn).call(this)}
1422
- </div>
1423
- </div>
1424
-
1425
- ${!this.dialog ? html`
1426
- <div class="footer">
1427
- ${this.controller.currentJob.status === "successful" /* SUCCESSFUL */ || this.controller.currentJob.status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? html`
1428
- <div
1429
- style="display: flex; align-items: center; gap: 8px;"
1430
- >
1431
- <terra-dropdown
1432
- @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
1433
- >
1434
- <terra-button slot="trigger" caret>
1435
- Download Options
1436
- </terra-button>
1437
- <terra-menu>
1438
- <terra-menu-item value="file-list">
1439
- <svg
1440
- slot="prefix"
1441
- viewBox="0 0 24 24"
1442
- width="16"
1443
- height="16"
1444
- style="width: 16px; height: 16px;"
1445
- >
1446
- <path
1447
- fill="currentColor"
1448
- 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"
1449
- />
1450
- </svg>
1451
- File List
1452
- </terra-menu-item>
1453
- <terra-menu-item
1454
- value="python-script"
1455
- >
1456
- <svg
1457
- slot="prefix"
1458
- viewBox="0 0 128 128"
1459
- width="16"
1460
- height="16"
1461
- style="width: 16px; height: 16px;"
1462
- >
1463
- <path
1464
- fill="currentColor"
1465
- 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"
1466
- ></path>
1467
- </svg>
1468
- Python Script
1469
- </terra-menu-item>
1470
- <terra-menu-item
1471
- value="earthdata-download"
1472
- >
1473
- <svg
1474
- slot="prefix"
1475
- viewBox="0 0 64 64"
1476
- fill="none"
1477
- width="16"
1478
- height="16"
1479
- style="width: 16px; height: 16px;"
1480
- >
1481
- <circle
1482
- cx="32"
1483
- cy="32"
1484
- r="28"
1485
- fill="currentColor"
1486
- />
1487
- <path
1488
- d="M32 14v26M32 40l-9-9M32 40l9-9"
1489
- stroke="#fff"
1490
- stroke-width="4"
1491
- stroke-linecap="round"
1492
- stroke-linejoin="round"
1493
- fill="none"
1494
- />
1495
- </svg>
1496
- Earthdata Download
1497
- </terra-menu-item>
1498
- </terra-menu>
1499
- </terra-dropdown>
1500
-
1501
- <terra-button
1502
- outline
1503
- @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
1504
- >
1505
- <terra-icon
1506
- name="outline-code-bracket"
1507
- library="heroicons"
1508
- font-size="1.5em"
1509
- style="margin-right: 5px;"
1510
- ></terra-icon>
1511
- Open in Jupyter Notebook
1512
- </terra-button>
1513
- </div>
1514
- ` : nothing}
1515
- ${this.controller.currentJob.status === "running" ? html`<button
1516
- class="btn btn-success"
1517
- @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
1518
- ?disabled=${this.cancelingGetData}
1519
- >
1520
- ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
1521
- </button>` : nothing}
1522
-
1523
- <div class="job-info">
1524
- Job ID:
1525
- <span class="job-id">
1526
- ${this.bearerToken ? html`<a
1527
- href="https://harmony.earthdata.nasa.gov/jobs/${this.controller.currentJob.jobID}"
1528
- target="_blank"
1529
- >${this.controller.currentJob.jobID}</a
1530
- >` : this.controller.currentJob.jobID}
1531
- </span>
1532
- <span class="info-icon">?</span>
1533
- </div>
1534
- </div>
1535
- ` : nothing}
1536
- `;
1537
- };
1538
- _renderSelectedParams = new WeakSet();
1539
- renderSelectedParams_fn = function() {
1540
- var _a, _b;
1541
- const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
1542
- const variables = this.selectedVariables.length ? this.selectedVariables.map((v) => v.name) : ["All"];
1543
- const dateRange = this.selectedDateRange.startDate && this.selectedDateRange.endDate ? `${this.selectedDateRange.startDate} to ${this.selectedDateRange.endDate}` : "\u2014";
1544
- let spatial = "\u2014";
1545
- if (this.spatialSelection) {
1546
- if ("w" in this.spatialSelection) {
1547
- spatial = `Bounding Box: ${this.spatialSelection.w}, ${this.spatialSelection.s}, ${this.spatialSelection.e}, ${this.spatialSelection.n}`;
1548
- } else if ("lat" in this.spatialSelection && "lng" in this.spatialSelection) {
1549
- spatial = `Point: ${this.spatialSelection.lat}, ${this.spatialSelection.lng}`;
1550
- }
1551
- }
1552
- return html`
1553
- <dl class="params-summary">
1554
- <div>
1555
- <dt><strong>Dataset</strong></dt>
1556
- <dd>${(_b = collection == null ? void 0 : collection.EntryTitle) != null ? _b : "\u2014"}</dd>
1557
- </div>
1558
- <div>
1559
- <dt><strong>Variables</strong></dt>
1560
- <dd>${variables.map((v) => html`<div>${v}</div>`)}</dd>
1561
- </div>
1562
- <div>
1563
- <dt><strong>Date Range</strong></dt>
1564
- <dd>${dateRange}</dd>
1565
- </div>
1566
- <div>
1567
- <dt><strong>Spatial</strong></dt>
1568
- <dd>${spatial}</dd>
1569
- </div>
1570
- </dl>
1571
-
1572
- <terra-button @click=${__privateMethod(this, _refineParameters, refineParameters_fn)}
1573
- >Refine Parameters</terra-button
1574
- >
1575
- `;
1576
- };
1577
- _cancelJob = new WeakSet();
1578
- cancelJob_fn = function() {
1579
- this.cancelingGetData = true;
1580
- this.controller.cancelCurrentJob();
1581
- };
1582
- _getData = new WeakSet();
1583
- getData_fn = function() {
1584
- this.cancelingGetData = false;
1585
- __privateMethod(this, _touchAllFields, touchAllFields_fn).call(this);
1586
- this.controller.cancelCurrentJob();
1587
- this.controller.currentJob = null;
1588
- this.controller.jobStatusTask.run();
1589
- setTimeout(() => {
1590
- const el = this.renderRoot.querySelector("#job-status-section");
1591
- el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
1592
- }, 100);
1593
- this.refineParameters = false;
1594
- };
1595
- _touchAllFields = new WeakSet();
1596
- touchAllFields_fn = function() {
1597
- this.touchedFields = /* @__PURE__ */ new Set(["variables", "spatial"]);
1598
- };
1599
- _numberOfFilesFoundEstimate = new WeakSet();
1600
- numberOfFilesFoundEstimate_fn = function() {
1601
- return Math.floor(
1602
- this.controller.currentJob.numInputGranules * this.controller.currentJob.progress / 100
1603
- );
1604
- };
1605
- _getDocumentationLinks = new WeakSet();
1606
- getDocumentationLinks_fn = function() {
1607
- return this.controller.currentJob.links.filter(
1608
- (link) => link.rel === "stac-catalog-json"
1609
- );
1610
- };
1611
- _getDataLinks = new WeakSet();
1612
- getDataLinks_fn = function() {
1613
- return this.controller.currentJob.links.filter((link) => link.rel === "data");
1614
- };
1615
- _hasAtLeastOneSubsetOption = new WeakSet();
1616
- hasAtLeastOneSubsetOption_fn = function() {
1617
- var _a, _b, _c, _d;
1618
- 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);
1619
- };
1620
- _hasSpatialSubset = new WeakSet();
1621
- hasSpatialSubset_fn = function() {
1622
- var _a, _b;
1623
- return ((_a = this.collectionWithServices) == null ? void 0 : _a.bboxSubset) || ((_b = this.collectionWithServices) == null ? void 0 : _b.shapeSubset);
1624
- };
1625
- _renderJobMessage = new WeakSet();
1626
- renderJobMessage_fn = function() {
1627
- const warningStatuses = [
1628
- "canceled" /* CANCELED */,
1629
- "complete_with_errors" /* COMPLETE_WITH_ERRORS */,
1630
- "running_with_errors" /* RUNNING_WITH_ERRORS */
1631
- ];
1632
- const errorStatuses = ["failed" /* FAILED */];
1633
- let type = "normal";
1634
- if (warningStatuses.includes(this.controller.currentJob.status)) {
1635
- type = "warning";
1636
- } else if (errorStatuses.includes(this.controller.currentJob.status)) {
1637
- type = "error";
1638
- }
1639
- let color, bg;
1640
- if (type === "error") {
1641
- color = "#dc3545";
1642
- bg = "#f8d7da";
1643
- } else if (type === "warning") {
1644
- color = "#856404";
1645
- bg = "#fff3cd";
1646
- } else {
1647
- color = "#555";
1648
- bg = "#f8f9fa";
1649
- }
1650
- return html`
1651
- <div
1652
- style="
1653
- margin: 24px 0 16px 0;
1654
- padding: 16px 20px;
1655
- border-radius: 6px;
1656
- background: ${bg};
1657
- color: ${color};
1658
- border: 1px solid ${color}22;
1659
- "
1660
- >
1661
- ${__privateMethod(this, _getJobMessageText, getJobMessageText_fn).call(this)}
1662
- </div>
1663
- `;
1664
- };
1665
- _getJobMessageText = new WeakSet();
1666
- getJobMessageText_fn = function() {
1667
- var _a;
1668
- return (_a = this.controller.currentJob) == null ? void 0 : _a.message.replace(
1669
- /\b(The job|the job|job|Job)\b/g,
1670
- (match) => {
1671
- switch (match) {
1672
- case "The job":
1673
- return "Your request";
1674
- case "the job":
1675
- return "Your Request";
1676
- case "job":
1677
- return "request";
1678
- case "Job":
1679
- return "Request";
1680
- }
1681
- return match;
1682
- }
1683
- );
1684
- };
1685
- _estimateJobSize = new WeakSet();
1686
- estimateJobSize_fn = function() {
1687
- var _a, _b;
1688
- const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
1689
- if (!collection)
1690
- return;
1691
- const range = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
1692
- let startDate;
1693
- let endDate;
1694
- let links = (_b = collection.granuleCount) != null ? _b : 0;
1695
- if (this.selectedDateRange.startDate && this.selectedDateRange.endDate) {
1696
- startDate = this.selectedDateRange.startDate;
1697
- endDate = this.selectedDateRange.endDate;
1698
- } else {
1699
- startDate = range.startDate;
1700
- endDate = range.endDate;
1701
- }
1702
- if (!startDate || !endDate)
1703
- return;
1704
- const start = new Date(startDate);
1705
- const end = new Date(endDate);
1706
- const days = Math.floor((end.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24)) + 1;
1707
- if (range.startDate && range.endDate) {
1708
- const availableDaysInCollection = Math.floor(
1709
- (new Date(range.endDate).getTime() - new Date(range.startDate).getTime()) / (1e3 * 60 * 60 * 24)
1710
- ) + 1;
1711
- const granulesPerDay = links / availableDaysInCollection;
1712
- links = Math.ceil(days * granulesPerDay);
1713
- }
1714
- return { days, links };
1715
- };
1716
- _refineParameters = new WeakSet();
1717
- refineParameters_fn = function() {
1718
- this.refineParameters = true;
1719
- };
1720
- _handleDownloadSelect = new WeakSet();
1721
- handleDownloadSelect_fn = function(event) {
1722
- const item = event.detail.item;
1723
- const value = item.value || item.getTextLabel();
1724
- if (value === "file-list") {
1725
- __privateMethod(this, _downloadLinksAsTxt, downloadLinksAsTxt_fn).call(this, event);
1726
- } else if (value === "python-script") {
1727
- __privateMethod(this, _downloadPythonScript, downloadPythonScript_fn).call(this, event);
1728
- } else if (value === "earthdata-download") {
1729
- __privateMethod(this, _downloadEarthdataDownload, downloadEarthdataDownload_fn).call(this, event);
1730
- }
1731
- };
1732
- _downloadLinksAsTxt = new WeakSet();
1733
- downloadLinksAsTxt_fn = function(event) {
1734
- var _a;
1735
- event.stopPropagation();
1736
- if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
1737
- return;
1738
- }
1739
- const dataLinks = __privateMethod(this, _getDataLinks, getDataLinks_fn).call(this);
1740
- if (dataLinks.length === 0) {
1741
- return;
1742
- }
1743
- const content = dataLinks.map((link) => link.href).join("\n");
1744
- const blob = new Blob([content], { type: "text/plain" });
1745
- const url = URL.createObjectURL(blob);
1746
- const a = document.createElement("a");
1747
- a.href = url;
1748
- a.download = `subset_links_${this.controller.currentJob.jobID}.txt`;
1749
- document.body.appendChild(a);
1750
- a.click();
1751
- document.body.removeChild(a);
1752
- URL.revokeObjectURL(url);
1753
- };
1754
- _downloadPythonScript = new WeakSet();
1755
- downloadPythonScript_fn = async function(event) {
1756
- var _a, _b, _c;
1757
- event.stopPropagation();
1758
- if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
1759
- return;
1760
- }
1761
- const response = await fetch(
1762
- getBasePath("assets/data-subsetter/download_subset_files.py.txt")
1763
- );
1764
- if (!response.ok) {
1765
- alert(
1766
- "Sorry, there was a problem generating the Python script. We are investigating the issue.\nYou could try using the Jupyter Notebook in the meantime"
1767
- );
1768
- }
1769
- const content = (await response.text()).replace(/{{jobId}}/gi, this.controller.currentJob.jobID).replace(
1770
- /{{HARMONY_ENV}}/gi,
1771
- `Environment.${(_b = this.environment) == null ? void 0 : _b.toUpperCase()}`
1772
- ).replace(
1773
- /{{EARTHACCESS_ENV}}/gi,
1774
- `earthaccess.${(_c = this.environment) == null ? void 0 : _c.toUpperCase()}`
1775
- );
1776
- const blob = new Blob([content], { type: "text/plain" });
1777
- const url = URL.createObjectURL(blob);
1778
- const a = document.createElement("a");
1779
- a.href = url;
1780
- a.download = `download_subset_files_${this.controller.currentJob.jobID}.py`;
1781
- document.body.appendChild(a);
1782
- a.click();
1783
- document.body.removeChild(a);
1784
- URL.revokeObjectURL(url);
1785
- };
1786
- _downloadEarthdataDownload = new WeakSet();
1787
- downloadEarthdataDownload_fn = async function(event) {
1788
- var _a;
1789
- event.stopPropagation();
1790
- if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
1791
- return;
1792
- }
1793
- alert("Sorry, Earthdata Download is not currently supported");
1794
- };
1795
- _handleJupyterNotebookClick = new WeakSet();
1796
- handleJupyterNotebookClick_fn = function() {
1797
- var _a;
1798
- const notebook = getNotebook(this);
1799
- console.log("sending data to JupyterLite");
1800
- sendDataToJupyterNotebook("load-notebook", {
1801
- filename: `subset_${(_a = this.controller.currentJob) == null ? void 0 : _a.jobID}.ipynb`,
1802
- notebook,
1803
- bearerToken: this.bearerToken
1804
- });
1805
- };
1806
- _renderAvailableTemporalRangeSection = new WeakSet();
1807
- renderAvailableTemporalRangeSection_fn = function() {
1808
- const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
1809
- if (!startDate || !endDate)
1810
- return nothing;
1811
- return html`
1812
- <div class="section" style="margin-bottom: 16px;">
1813
- <h2 class="section-title">Available Date Range</h2>
1814
- <div style="color: #31708f; margin-top: 8px;">
1815
- <strong>${startDate}</strong> to <strong>${endDate}</strong>
1816
- </div>
1817
- <div style="font-size: 0.95em; color: #666;">
1818
- This collection does not support temporal subsetting.
1819
- </div>
1820
- </div>
1821
- `;
1822
- };
1823
- _renderAvailableSpatialRangeSection = new WeakSet();
1824
- renderAvailableSpatialRangeSection_fn = function() {
1825
- var _a, _b, _c, _d, _e;
1826
- 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;
1827
- if (!boundingRects || !Array.isArray(boundingRects) || !boundingRects.length)
1828
- return nothing;
1829
- return html`
1830
- <div class="section" style="margin-bottom: 16px;">
1831
- <h2 class="section-title">Available Spatial Area</h2>
1832
- <div style="color: #31708f; margin-top: 8px;">
1833
- ${boundingRects.map(
1834
- (rect) => html`<div>
1835
- <strong>Bounding Box:</strong>
1836
- ${rect.WestBoundingCoordinate},
1837
- ${rect.SouthBoundingCoordinate},
1838
- ${rect.EastBoundingCoordinate},
1839
- ${rect.NorthBoundingCoordinate}
1840
- </div>`
1841
- )}
1842
- </div>
1843
- <div style="font-size: 0.95em; color: #666;">
1844
- This collection does not support spatial subsetting.
1845
- </div>
1846
- </div>
1847
- `;
1848
- };
1849
- _renderDataAccessModeSelection = new WeakSet();
1850
- renderDataAccessModeSelection_fn = function() {
1851
- return html`
1852
- <div class="mode-selection">
1853
- <div class="mode-options">
1854
- <label
1855
- class="mode-option ${this.dataAccessMode === "original" ? "selected" : ""}"
1856
- >
1857
- <input
1858
- type="radio"
1859
- name="data-access-mode"
1860
- value="original"
1861
- .checked=${this.dataAccessMode === "original"}
1862
- @change=${() => this.dataAccessMode = "original"}
1863
- />
1864
- <div class="mode-content">
1865
- <div class="mode-title">Get Original Files</div>
1866
- <div class="mode-description">
1867
- Filter file links directly from the archive.
1868
- </div>
1869
- </div>
1870
- </label>
1871
-
1872
- <label
1873
- class="mode-option ${this.dataAccessMode === "subset" ? "selected" : ""}"
1874
- >
1875
- <input
1876
- type="radio"
1877
- name="data-access-mode"
1878
- value="subset"
1879
- .checked=${this.dataAccessMode === "subset"}
1880
- @change=${() => this.dataAccessMode = "subset"}
1881
- />
1882
- <div class="mode-content">
1883
- <div class="mode-title">Subset Data</div>
1884
- <div class="mode-description">
1885
- Subset the data to your specific needs.
1886
- </div>
1887
- </div>
1888
- </label>
1889
- </div>
1890
- </div>
1891
- `;
1892
- };
1893
- TerraDataSubsetter.styles = [component_styles_default, data_subsetter_styles_default];
1894
- TerraDataSubsetter.dependencies = {
1895
- "terra-accordion": TerraAccordion,
1896
- "terra-date-picker": TerraDatePicker,
1897
- "terra-icon": TerraIcon,
1898
- "terra-input": TerraInput,
1899
- "terra-spatial-picker": TerraSpatialPicker,
1900
- "terra-login": TerraLogin,
1901
- "terra-loader": TerraLoader,
1902
- "terra-data-access": TerraDataAccess,
1903
- "terra-dialog": TerraDialog,
1904
- "terra-dropdown": TerraDropdown,
1905
- "terra-menu": TerraMenu,
1906
- "terra-menu-item": TerraMenuItem,
1907
- "terra-button": TerraButton
1908
- };
1909
- __decorateClass([
1910
- property({ reflect: true, attribute: "collection-entry-id" })
1911
- ], TerraDataSubsetter.prototype, "collectionEntryId", 2);
1912
- __decorateClass([
1913
- property({ reflect: true, attribute: "short-name" })
1914
- ], TerraDataSubsetter.prototype, "shortName", 2);
1915
- __decorateClass([
1916
- property({ reflect: true, attribute: "version" })
1917
- ], TerraDataSubsetter.prototype, "version", 2);
1918
- __decorateClass([
1919
- property({ reflect: true, type: Boolean, attribute: "show-collection-search" })
1920
- ], TerraDataSubsetter.prototype, "showCollectionSearch", 2);
1921
- __decorateClass([
1922
- property({ reflect: true, type: Boolean, attribute: "show-history-panel" })
1923
- ], TerraDataSubsetter.prototype, "showHistoryPanel", 2);
1924
- __decorateClass([
1925
- property({ reflect: true, attribute: "job-id" })
1926
- ], TerraDataSubsetter.prototype, "jobId", 2);
1927
- __decorateClass([
1928
- property({ attribute: "bearer-token" })
1929
- ], TerraDataSubsetter.prototype, "bearerToken", 2);
1930
- __decorateClass([
1931
- property({ reflect: true })
1932
- ], TerraDataSubsetter.prototype, "dialog", 2);
1933
- __decorateClass([
1934
- state()
1935
- ], TerraDataSubsetter.prototype, "collectionWithServices", 2);
1936
- __decorateClass([
1937
- state()
1938
- ], TerraDataSubsetter.prototype, "selectedVariables", 2);
1939
- __decorateClass([
1940
- state()
1941
- ], TerraDataSubsetter.prototype, "expandedVariableGroups", 2);
1942
- __decorateClass([
1943
- state()
1944
- ], TerraDataSubsetter.prototype, "variableFilterText", 2);
1945
- __decorateClass([
1946
- state()
1947
- ], TerraDataSubsetter.prototype, "touchedFields", 2);
1948
- __decorateClass([
1949
- state()
1950
- ], TerraDataSubsetter.prototype, "spatialSelection", 2);
1951
- __decorateClass([
1952
- state()
1953
- ], TerraDataSubsetter.prototype, "selectedDateRange", 2);
1954
- __decorateClass([
1955
- state()
1956
- ], TerraDataSubsetter.prototype, "selectedFormat", 2);
1957
- __decorateClass([
1958
- state()
1959
- ], TerraDataSubsetter.prototype, "cancelingGetData", 2);
1960
- __decorateClass([
1961
- state()
1962
- ], TerraDataSubsetter.prototype, "selectedTab", 2);
1963
- __decorateClass([
1964
- state()
1965
- ], TerraDataSubsetter.prototype, "refineParameters", 2);
1966
- __decorateClass([
1967
- state()
1968
- ], TerraDataSubsetter.prototype, "collectionSearchType", 2);
1969
- __decorateClass([
1970
- state()
1971
- ], TerraDataSubsetter.prototype, "collectionSearchQuery", 2);
1972
- __decorateClass([
1973
- state()
1974
- ], TerraDataSubsetter.prototype, "collectionSearchLoading", 2);
1975
- __decorateClass([
1976
- state()
1977
- ], TerraDataSubsetter.prototype, "collectionSearchResults", 2);
1978
- __decorateClass([
1979
- state()
1980
- ], TerraDataSubsetter.prototype, "collectionLoading", 2);
1981
- __decorateClass([
1982
- state()
1983
- ], TerraDataSubsetter.prototype, "collectionAccordionOpen", 2);
1984
- __decorateClass([
1985
- state()
1986
- ], TerraDataSubsetter.prototype, "dataAccessMode", 2);
1987
- __decorateClass([
1988
- query('[part~="spatial-picker"]')
1989
- ], TerraDataSubsetter.prototype, "spatialPicker", 2);
1990
- __decorateClass([
1991
- query("terra-dialog")
1992
- ], TerraDataSubsetter.prototype, "dialogElement", 2);
1993
- __decorateClass([
1994
- watch(["jobId"], { waitUntilFirstUpdate: true })
1995
- ], TerraDataSubsetter.prototype, "jobIdChanged", 1);
1996
- __decorateClass([
1997
- watch(["shortName", "version"])
1998
- ], TerraDataSubsetter.prototype, "shortNameAndVersionChanged", 1);
1999
- __decorateClass([
2000
- watch(["collectionWithServices"])
2001
- ], TerraDataSubsetter.prototype, "collectionChanged", 1);
2002
- __decorateClass([
2003
- debounce(500)
2004
- ], TerraDataSubsetter.prototype, "handleCollectionSearch", 1);
2005
-
2006
- export {
2007
- TerraDataSubsetter
2008
- };