@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,2022 +0,0 @@
1
- import {
2
- defaultSubsetFileMimeType,
3
- getFriendlyNameForMimeType
4
- } from "./chunk.PDGPGRPX.js";
5
- import {
6
- getNotebook
7
- } from "./chunk.IT7T44HW.js";
8
- import {
9
- TerraLogin
10
- } from "./chunk.EIYHG4QH.js";
11
- import {
12
- TerraDialog
13
- } from "./chunk.NABM5PIJ.js";
14
- import {
15
- DataSubsetterController
16
- } from "./chunk.QPKDJX5G.js";
17
- import {
18
- data_subsetter_styles_default
19
- } from "./chunk.F3RTIMRW.js";
20
- import {
21
- AuthController
22
- } from "./chunk.PBKMNUYF.js";
23
- import {
24
- TerraDataAccess,
25
- debounce
26
- } from "./chunk.SI6XTPNR.js";
27
- import {
28
- TerraMenu
29
- } from "./chunk.EIPX4NVH.js";
30
- import {
31
- TerraMenuItem
32
- } from "./chunk.LZ76ZLTY.js";
33
- import {
34
- TerraDatePicker
35
- } from "./chunk.EXKJLZ7J.js";
36
- import {
37
- TerraSpatialPicker
38
- } from "./chunk.NZ6Z36KS.js";
39
- import {
40
- TerraInput
41
- } from "./chunk.A3BRXNHI.js";
42
- import {
43
- TerraDropdown
44
- } from "./chunk.4TDBTQV5.js";
45
- import {
46
- TerraLoader
47
- } from "./chunk.PYWQ4CJT.js";
48
- import {
49
- TerraButton
50
- } from "./chunk.PFEYSMVR.js";
51
- import {
52
- TerraAccordion
53
- } from "./chunk.SL2XAFXP.js";
54
- import {
55
- TerraIcon
56
- } from "./chunk.LPQPN27D.js";
57
- import {
58
- watch
59
- } from "./chunk.5WMSKURU.js";
60
- import {
61
- getBasePath
62
- } from "./chunk.STI7JX26.js";
63
- import {
64
- TerraElement,
65
- component_styles_default,
66
- e,
67
- n,
68
- r
69
- } from "./chunk.UYMOTJH6.js";
70
- import {
71
- E,
72
- x
73
- } from "./chunk.3ZQGAH53.js";
74
- import {
75
- __decorateClass,
76
- __privateAdd,
77
- __privateGet,
78
- __privateMethod,
79
- __spreadProps,
80
- __spreadValues,
81
- init_buffer,
82
- init_dirname,
83
- init_process
84
- } from "./chunk.CZA6CSBG.js";
85
-
86
- // src/components/data-subsetter/data-subsetter.component.ts
87
- init_dirname();
88
- init_buffer();
89
- init_process();
90
-
91
- // src/lib/jupyter.ts
92
- init_dirname();
93
- init_buffer();
94
- init_process();
95
- var JUPYTER_LITE_URL = "https://gesdisc.github.io/jupyterlite/lab/index.html";
96
- function openJupyterLiteWindow(readyCb) {
97
- const jupyterWindow = window.open(JUPYTER_LITE_URL, "_blank");
98
- if (!jupyterWindow) {
99
- console.error("Failed to open JupyterLite!");
100
- return;
101
- }
102
- window.addEventListener("message", (event) => readyCb(event, jupyterWindow), {
103
- once: true
104
- });
105
- return jupyterWindow;
106
- }
107
- function sendDataToJupyterNotebook(type, data) {
108
- openJupyterLiteWindow((event, jupyterWindow) => {
109
- var _a;
110
- if (((_a = event.data) == null ? void 0 : _a.type) !== "jupyterlite-ready") {
111
- return;
112
- }
113
- console.log("JupyterLite is ready!");
114
- jupyterWindow.postMessage(__spreadValues({ type }, data), "*");
115
- });
116
- }
117
-
118
- // src/components/data-subsetter/data-subsetter.component.ts
119
- 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;
120
- var TerraDataSubsetter = class extends TerraElement {
121
- constructor() {
122
- super(...arguments);
123
- __privateAdd(this, _renderFooterForDialog);
124
- __privateAdd(this, _renderSizeInfo);
125
- __privateAdd(this, _renderSubsetOptions);
126
- __privateAdd(this, _renderSearchForCollection);
127
- __privateAdd(this, _renderOutputFormatSelection);
128
- __privateAdd(this, _renderDateRangeSelection);
129
- __privateAdd(this, _getCollectionDateRange);
130
- __privateAdd(this, _handleRegionAccordionToggle);
131
- __privateAdd(this, _renderSpatialSelection);
132
- __privateAdd(this, _renderVariableSelection);
133
- __privateAdd(this, _filterVariableTree);
134
- __privateAdd(this, _handleVariableFilterChange);
135
- __privateAdd(this, _buildVariableTree);
136
- __privateAdd(this, _renderVariableTree);
137
- __privateAdd(this, _getAllGroupPaths);
138
- __privateAdd(this, _toggleGroupExpand);
139
- __privateAdd(this, _toggleExpandCollapseAll);
140
- __privateAdd(this, _toggleVariableSelection);
141
- __privateAdd(this, _markFieldTouched);
142
- __privateAdd(this, _renderJobStatus);
143
- __privateAdd(this, _renderSelectedParams);
144
- __privateAdd(this, _cancelJob);
145
- __privateAdd(this, _getData);
146
- __privateAdd(this, _touchAllFields);
147
- __privateAdd(this, _numberOfFilesFoundEstimate);
148
- __privateAdd(this, _getDocumentationLinks);
149
- __privateAdd(this, _getDataLinks);
150
- __privateAdd(this, _hasAtLeastOneSubsetOption);
151
- __privateAdd(this, _hasSpatialSubset);
152
- __privateAdd(this, _renderJobMessage);
153
- __privateAdd(this, _getJobMessageText);
154
- __privateAdd(this, _estimateJobSize);
155
- __privateAdd(this, _refineParameters);
156
- __privateAdd(this, _handleDownloadSelect);
157
- __privateAdd(this, _downloadLinksAsTxt);
158
- __privateAdd(this, _downloadPythonScript);
159
- __privateAdd(this, _downloadEarthdataDownload);
160
- __privateAdd(this, _handleJupyterNotebookClick);
161
- __privateAdd(this, _renderAvailableTemporalRangeSection);
162
- __privateAdd(this, _renderAvailableSpatialRangeSection);
163
- __privateAdd(this, _renderDataAccessModeSelection);
164
- this.showCollectionSearch = true;
165
- this.showHistoryPanel = true;
166
- this.selectedVariables = [];
167
- this.expandedVariableGroups = /* @__PURE__ */ new Set();
168
- this.variableFilterText = "";
169
- this.touchedFields = /* @__PURE__ */ new Set();
170
- this.spatialSelection = null;
171
- this.selectedDateRange = {
172
- startDate: null,
173
- endDate: null
174
- };
175
- this.selectedFormat = defaultSubsetFileMimeType;
176
- this.cancelingGetData = false;
177
- this.selectedTab = "web-links";
178
- this.refineParameters = false;
179
- this.collectionSearchType = "all";
180
- this.collectionSearchLoading = false;
181
- this.collectionLoading = false;
182
- this.collectionAccordionOpen = true;
183
- this.dataAccessMode = "original";
184
- this.controller = new DataSubsetterController(this);
185
- __privateAdd(this, _authController, new AuthController(this));
186
- __privateAdd(this, _handleDateChange, (e2) => {
187
- __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "date");
188
- this.selectedDateRange = __spreadProps(__spreadValues({}, this.selectedDateRange), {
189
- startDate: e2.detail.startDate,
190
- endDate: e2.detail.endDate
191
- });
192
- });
193
- __privateAdd(this, _resetDateRangeSelection, () => {
194
- this.selectedDateRange = { startDate: null, endDate: null };
195
- });
196
- __privateAdd(this, _resetFormatSelection, () => {
197
- this.selectedFormat = defaultSubsetFileMimeType;
198
- });
199
- __privateAdd(this, _handleSpatialChange, (e2) => {
200
- __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "spatial");
201
- const round2 = (n2) => parseFloat(Number(n2).toFixed(2));
202
- if (e2.detail.type === "bbox" /* BBOX */) {
203
- this.spatialSelection = {
204
- e: round2(e2.detail.bounds.getNorthEast().lng),
205
- n: round2(e2.detail.bounds.getNorthEast().lat),
206
- w: round2(e2.detail.bounds.getSouthWest().lng),
207
- s: round2(e2.detail.bounds.getSouthWest().lat)
208
- };
209
- } else if (e2.detail.type === "point" /* POINT */) {
210
- this.spatialSelection = e2.detail.latLng;
211
- } else {
212
- this.spatialSelection = null;
213
- }
214
- });
215
- __privateAdd(this, _resetSpatialSelection, () => {
216
- this.spatialSelection = null;
217
- });
218
- __privateAdd(this, _resetVariableSelection, () => {
219
- this.selectedVariables = [];
220
- });
221
- }
222
- jobIdChanged() {
223
- if (this.jobId) {
224
- this.controller.fetchJobByID(this.jobId);
225
- this.dataAccessMode = "subset";
226
- }
227
- }
228
- shortNameAndVersionChanged() {
229
- if (this.shortName && this.version) {
230
- this.collectionEntryId = `${this.shortName}_${this.version}`;
231
- }
232
- }
233
- firstUpdated() {
234
- if (this.collectionEntryId) {
235
- this.showCollectionSearch = false;
236
- }
237
- if (this.jobId) {
238
- this.controller.fetchJobByID(this.jobId);
239
- this.dataAccessMode = "subset";
240
- }
241
- if (this.showHistoryPanel) {
242
- this.renderHistoryPanel();
243
- }
244
- }
245
- collectionChanged() {
246
- const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
247
- this.selectedDateRange = { startDate, endDate };
248
- this.collectionLoading = false;
249
- this.collectionAccordionOpen = false;
250
- }
251
- render() {
252
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
253
- const showJobStatus = this.controller.currentJob && !this.refineParameters;
254
- const showMinimizeButton = showJobStatus && !!this.dialog;
255
- const title = (_c = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.EntryTitle) != null ? _c : "Download Data";
256
- const content = x`
257
- <div class="container">
258
- ${!this.dialog ? x`
259
- <div class="header">
260
- <h1>
261
- <svg
262
- class="download-icon"
263
- viewBox="0 0 24 24"
264
- fill="currentColor"
265
- >
266
- <path
267
- d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
268
- />
269
- </svg>
270
- ${title}
271
- </h1>
272
-
273
- ${showMinimizeButton ? x`<button
274
- class="minimize-btn"
275
- @click=${() => this.minimizeDialog()}
276
- >
277
- -
278
- </button>` : E}
279
- </div>
280
- ` : E}
281
- ${!this.jobId && ((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.services) == null ? void 0 : _e.length) ? x`
282
- <div class="section">
283
- ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
284
- </div>
285
- ` : E}
286
- ${this.dataAccessMode === "original" ? x`
287
- <div class="section">
288
- <terra-data-access
289
- short-name=${(_h = this.shortName) != null ? _h : (_g = (_f = this.collectionWithServices) == null ? void 0 : _f.collection) == null ? void 0 : _g.ShortName}
290
- version=${(_k = this.version) != null ? _k : (_j = (_i = this.collectionWithServices) == null ? void 0 : _i.collection) == null ? void 0 : _j.Version}
291
- ?footer-slot=${!!this.dialog}
292
- >
293
- ${this.dialog ? x`
294
- <div
295
- slot="footer"
296
- style="margin-top: 15px;"
297
- >
298
- <slot
299
- name="data-access-footer"
300
- ></slot>
301
- </div>
302
- ` : E}
303
- </terra-data-access>
304
- </div>
305
- ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
306
- </div>
307
- `;
308
- if (this.dialog) {
309
- return x`
310
- <terra-dialog id=${this.dialog} style="--title-font-size: 16px;">
311
- <span
312
- slot="label"
313
- style="display: flex; align-items: center; gap: 8px; color: #0066cc; font-weight: 600;"
314
- >
315
- <svg
316
- class="download-icon"
317
- viewBox="0 0 24 24"
318
- fill="currentColor"
319
- style="width: 16px; height: 16px; display: inline-block; vertical-align: middle; flex-shrink: 0;"
320
- >
321
- <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
322
- </svg>
323
- ${title}
324
- </span>
325
- ${showMinimizeButton ? x`
326
- <button
327
- slot="header-actions"
328
- class="minimize-btn"
329
- @click=${() => {
330
- var _a2;
331
- return (_a2 = this.dialogElement) == null ? void 0 : _a2.hide();
332
- }}
333
- aria-label="Minimize"
334
- >
335
- -
336
- </button>
337
- ` : E}
338
- ${content} ${__privateMethod(this, _renderFooterForDialog, renderFooterForDialog_fn).call(this)}
339
- </terra-dialog>
340
- `;
341
- }
342
- return x`
343
- <div class="container">
344
- <div class="header">
345
- <h1>
346
- <svg
347
- class="download-icon"
348
- viewBox="0 0 24 24"
349
- fill="currentColor"
350
- >
351
- <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
352
- </svg>
353
- ${title}
354
- </h1>
355
-
356
- ${showMinimizeButton ? x`<button
357
- class="minimize-btn"
358
- @click=${() => this.minimizeDialog()}
359
- >
360
- -
361
- </button>` : E}
362
- </div>
363
- ${!this.jobId && ((_m = (_l = this.collectionWithServices) == null ? void 0 : _l.services) == null ? void 0 : _m.length) ? x`
364
- <div class="section">
365
- ${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
366
- </div>
367
- ` : E}
368
- ${this.dataAccessMode === "original" ? x`
369
- <div class="section">
370
- <terra-data-access
371
- short-name=${(_p = this.shortName) != null ? _p : (_o = (_n = this.collectionWithServices) == null ? void 0 : _n.collection) == null ? void 0 : _o.ShortName}
372
- version=${(_s = this.version) != null ? _s : (_r = (_q = this.collectionWithServices) == null ? void 0 : _q.collection) == null ? void 0 : _r.Version}
373
- ?footer-slot=${!!this.dialog}
374
- >
375
- ${this.dialog ? x`
376
- <div
377
- slot="footer"
378
- style="margin-top: 15px;"
379
- >
380
- <slot
381
- name="data-access-footer"
382
- ></slot>
383
- </div>
384
- ` : E}
385
- </terra-data-access>
386
- </div>
387
- ` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
388
- </div>
389
- `;
390
- }
391
- minimizeDialog() {
392
- var _a;
393
- (_a = this.closest("terra-dialog")) == null ? void 0 : _a.hide();
394
- }
395
- handleCollectionSearch(searchTerm) {
396
- this.collectionSearchQuery = searchTerm;
397
- }
398
- isLatLng(value) {
399
- return value && typeof value.lat === "number" && typeof value.lng === "number";
400
- }
401
- isLatLngBounds(value) {
402
- return value && typeof value.getSouthWest === "function" && typeof value.getNorthEast === "function";
403
- }
404
- renderHistoryPanel() {
405
- const existingHistoryPanel = document.querySelector(
406
- "terra-data-subsetter-history"
407
- );
408
- if (!existingHistoryPanel) {
409
- const historyPanel = document.createElement(
410
- "terra-data-subsetter-history"
411
- );
412
- if (this.bearerToken) {
413
- historyPanel.setAttribute("bearer-token", this.bearerToken);
414
- }
415
- if (this.environment) {
416
- historyPanel.setAttribute("environment", this.environment);
417
- }
418
- document.body.appendChild(historyPanel);
419
- }
420
- }
421
- };
422
- _authController = new WeakMap();
423
- _renderFooterForDialog = new WeakSet();
424
- renderFooterForDialog_fn = function() {
425
- const showJobStatus = this.controller.currentJob && !this.refineParameters;
426
- if (showJobStatus && this.controller.currentJob) {
427
- return x`
428
- <div slot="footer" class="footer">
429
- ${this.controller.currentJob.status === "successful" /* SUCCESSFUL */ || this.controller.currentJob.status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? x`
430
- <div
431
- style="display: flex; align-items: center; gap: 8px;"
432
- >
433
- <terra-dropdown
434
- @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
435
- >
436
- <terra-button slot="trigger" caret>
437
- Download Options
438
- </terra-button>
439
- <terra-menu>
440
- <terra-menu-item value="file-list">
441
- <svg
442
- slot="prefix"
443
- viewBox="0 0 24 24"
444
- width="16"
445
- height="16"
446
- style="width: 16px; height: 16px;"
447
- >
448
- <path
449
- fill="currentColor"
450
- 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"
451
- />
452
- </svg>
453
- File List
454
- </terra-menu-item>
455
- <terra-menu-item value="python-script">
456
- <svg
457
- slot="prefix"
458
- viewBox="0 0 128 128"
459
- width="16"
460
- height="16"
461
- style="width: 16px; height: 16px;"
462
- >
463
- <path
464
- fill="currentColor"
465
- 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"
466
- ></path>
467
- </svg>
468
- Python Script
469
- </terra-menu-item>
470
- <terra-menu-item value="earthdata-download">
471
- <svg
472
- slot="prefix"
473
- viewBox="0 0 64 64"
474
- fill="none"
475
- width="16"
476
- height="16"
477
- style="width: 16px; height: 16px;"
478
- >
479
- <circle
480
- cx="32"
481
- cy="32"
482
- r="28"
483
- fill="currentColor"
484
- />
485
- <path
486
- d="M32 14v26M32 40l-9-9M32 40l9-9"
487
- stroke="#fff"
488
- stroke-width="4"
489
- stroke-linecap="round"
490
- stroke-linejoin="round"
491
- fill="none"
492
- />
493
- </svg>
494
- Earthdata Download
495
- </terra-menu-item>
496
- </terra-menu>
497
- </terra-dropdown>
498
-
499
- <terra-button
500
- outline
501
- @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
502
- >
503
- <terra-icon
504
- name="outline-code-bracket"
505
- library="heroicons"
506
- font-size="1.5em"
507
- style="margin-right: 5px;"
508
- ></terra-icon>
509
- Open in Jupyter Notebook
510
- </terra-button>
511
- </div>
512
- ` : E}
513
- ${this.controller.currentJob.status === "running" ? x`<button
514
- class="btn btn-success"
515
- @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
516
- ?disabled=${this.cancelingGetData}
517
- >
518
- ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
519
- </button>` : E}
520
-
521
- <div class="job-info">
522
- Job ID:
523
- <span class="job-id">
524
- ${this.bearerToken ? x`<a
525
- href="https://harmony.earthdata.nasa.gov/jobs/${this.controller.currentJob.jobID}"
526
- target="_blank"
527
- >${this.controller.currentJob.jobID}</a
528
- >` : this.controller.currentJob.jobID}
529
- </span>
530
- <span class="info-icon">?</span>
531
- </div>
532
- </div>
533
- `;
534
- } else if (this.dataAccessMode === "subset") {
535
- return x`
536
- <div slot="footer" class="footer">
537
- <button class="btn btn-secondary">Reset All</button>
538
- <button class="btn btn-primary" @click=${__privateMethod(this, _getData, getData_fn)}>
539
- Get Data
540
- </button>
541
- </div>
542
- `;
543
- }
544
- return E;
545
- };
546
- _renderSizeInfo = new WeakSet();
547
- renderSizeInfo_fn = function(estimates) {
548
- if (!__privateGet(this, _authController).state.isLoading && !__privateGet(this, _authController).state.user) {
549
- return x`
550
- <div class="size-info warning">
551
- <terra-login>
552
- <h2 slot="logged-out">Limited access as a guest.</h2>
553
-
554
- <p slot="logged-out">
555
- Your results will be capped at 10 links. Log in for full
556
- access to all data.
557
- </p>
558
- </terra-login>
559
- </div>
560
- `;
561
- }
562
- return x`<div
563
- class="size-info ${estimates.links >= 150 ? "warning" : "neutral"}"
564
- >
565
- <h2>Estimated size of results</h2>
566
- <div class="size-stats">
567
- ${estimates.days.toLocaleString()} days,
568
- ${estimates.links.toLocaleString()} links
569
- </div>
570
- ${estimates.links >= 150 ? x`<div class="size-warning">
571
- You are about to retrieve ${estimates.links.toLocaleString()}
572
- file links from the archive. You may
573
- <strong>speed up the request</strong> by limiting the scope of
574
- your search.
575
- </div>` : E}
576
- </div>`;
577
- };
578
- _renderSubsetOptions = new WeakSet();
579
- renderSubsetOptions_fn = function() {
580
- var _a, _b, _c, _d, _e, _f, _g, _h;
581
- const estimates = __privateMethod(this, _estimateJobSize, estimateJobSize_fn).call(this);
582
- const hasSubsetOption = __privateMethod(this, _hasAtLeastOneSubsetOption, hasAtLeastOneSubsetOption_fn).call(this);
583
- const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
584
- const temporalExtents = collection == null ? void 0 : collection.TemporalExtents;
585
- const spatialExtent = collection == null ? void 0 : collection.SpatialExtent;
586
- const showTemporalSection = temporalExtents && temporalExtents.length;
587
- const showSpatialSection = spatialExtent && ((_c = (_b = spatialExtent.HorizontalSpatialDomain) == null ? void 0 : _b.Geometry) == null ? void 0 : _c.BoundingRectangles);
588
- return x`
589
- ${this.dataAccessMode === "original" ? E : hasSubsetOption ? x`
590
- ${hasSubsetOption && estimates ? __privateMethod(this, _renderSizeInfo, renderSizeInfo_fn).call(this, estimates) : E}
591
- ${this.showCollectionSearch ? x`
592
- <div class="section">
593
- <h2 class="section-title">
594
- Select Data Collection
595
- <span class="help-icon">?</span>
596
- </h2>
597
-
598
- ${__privateMethod(this, _renderSearchForCollection, renderSearchForCollection_fn).call(this)}
599
- </div>
600
- ` : E}
601
- <div class="section">
602
- <h2 class="section-title">
603
- Subset Options
604
- <span class="help-icon">?</span>
605
- </h2>
606
- <p style="color: #666; margin-bottom: 16px;">
607
- Generate file links supporting geo-spatial search and
608
- crop, selection of variables and dimensions, selection
609
- of time of day, and data presentation, in netCDF or
610
- HDF-EOS5 formats.
611
- </p>
612
-
613
- ${((_d = this.collectionWithServices) == null ? void 0 : _d.temporalSubset) ? __privateMethod(this, _renderDateRangeSelection, renderDateRangeSelection_fn).call(this) : E}
614
- ${__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderSpatialSelection, renderSpatialSelection_fn).call(this) : E}
615
- ${((_e = this.collectionWithServices) == null ? void 0 : _e.variableSubset) ? __privateMethod(this, _renderVariableSelection, renderVariableSelection_fn).call(this) : E}
616
- </div>
617
- ` : x`
618
- ${showTemporalSection && !((_f = this.collectionWithServices) == null ? void 0 : _f.temporalSubset) ? __privateMethod(this, _renderAvailableTemporalRangeSection, renderAvailableTemporalRangeSection_fn).call(this) : E}
619
- ${showSpatialSection && !__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderAvailableSpatialRangeSection, renderAvailableSpatialRangeSection_fn).call(this) : E}
620
- `}
621
- ${((_h = (_g = this.collectionWithServices) == null ? void 0 : _g.outputFormats) == null ? void 0 : _h.length) && hasSubsetOption ? x`
622
- <div class="section">
623
- <h2 class="section-title">
624
- Output Format
625
- <span class="help-icon">?</span>
626
- </h2>
627
-
628
- ${__privateMethod(this, _renderOutputFormatSelection, renderOutputFormatSelection_fn).call(this)}
629
- </div>
630
- ` : E}
631
- ${!hasSubsetOption && estimates ? x`
632
- <div
633
- class="neutral-info"
634
- style="margin-top: 24px; padding: 16px 20px; border-radius: 6px; background: #f8f9fa; color: #555; border: 1px solid #ccc;"
635
- >
636
- <strong>Estimated result size:</strong><br />
637
- Your request will return approximately
638
- <b>${estimates.links.toLocaleString()}</b> files covering
639
- <b>${estimates.days.toLocaleString()}</b> days.
640
- </div>
641
- ` : E}
642
- ${this.dataAccessMode === "subset" && !this.dialog ? x`
643
- <div class="footer">
644
- <button class="btn btn-secondary">Reset All</button>
645
- <button class="btn btn-primary" @click=${__privateMethod(this, _getData, getData_fn)}>
646
- Get Data
647
- </button>
648
- </div>
649
- ` : E}
650
- `;
651
- };
652
- _renderSearchForCollection = new WeakSet();
653
- renderSearchForCollection_fn = function() {
654
- var _a, _b;
655
- let placeholder = "Search all types of resources (e.g. rainfall, GPM, hurricanes, etc.)";
656
- if (this.collectionSearchType === "collection") {
657
- placeholder = "Search collections (e.g. AQUA, GPM_3IMERGH, etc.)";
658
- }
659
- if (this.collectionSearchType === "variable") {
660
- placeholder = "Search variables (e.g. rainfall, hurricanes, etc.)";
661
- }
662
- return x`
663
- <terra-accordion .open=${this.collectionAccordionOpen}>
664
- <div slot="summary">
665
- <span class="accordion-title">Collection:</span>
666
- </div>
667
-
668
- <div
669
- slot="summary-right"
670
- style="display: flex; align-items: center; gap: 10px"
671
- >
672
- ${this.collectionEntryId ? x` <span
673
- class="accordion-value"
674
- id="selected-collection-display"
675
- >${this.collectionEntryId}</span
676
- >
677
-
678
- <button
679
- class="reset-btn"
680
- @click=${() => this.collectionEntryId = void 0}
681
- >
682
- Reset
683
- </button>` : E}
684
- </div>
685
-
686
- <div class="search-tabs-mini">
687
- <button
688
- class="search-tab-mini ${this.collectionSearchType === "all" ? "active" : ""}"
689
- @click=${() => this.collectionSearchType = "all"}
690
- >
691
- All
692
- </button>
693
- <button
694
- class="search-tab-mini ${this.collectionSearchType === "collection" ? "active" : ""}"
695
- @click=${() => this.collectionSearchType = "collection"}
696
- >
697
- Collections
698
- </button>
699
- <button
700
- class="search-tab-mini ${this.collectionSearchType === "variable" ? "active" : ""}"
701
- @click=${() => this.collectionSearchType = "variable"}
702
- >
703
- Variables
704
- </button>
705
- </div>
706
-
707
- <div class="search-container-mini">
708
- <input
709
- type="text"
710
- class="search-input-mini"
711
- id="search-input"
712
- placeholder=${placeholder}
713
- @input="${(e2) => this.handleCollectionSearch(
714
- e2.target.value
715
- )}"
716
- />
717
-
718
- <button class="search-button-mini">
719
- <svg
720
- class="search-icon-mini"
721
- viewBox="0 0 24 24"
722
- fill="currentColor"
723
- >
724
- <path
725
- 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"
726
- />
727
- </svg>
728
- Search
729
- </button>
730
- </div>
731
-
732
- <!-- TODO: it may be nice to have a quick search, perhaps by recent trends?
733
- <div class="quick-links-mini">
734
- <a href="#" class="quick-link-mini" onclick="quickSearch('GPM')"
735
- >GPM Precipitation</a
736
- >
737
- <a href="#" class="quick-link-mini" onclick="quickSearch('MODIS')"
738
- >MODIS Data</a
739
- >
740
- <a
741
- href="#"
742
- class="quick-link-mini"
743
- onclick="quickSearch('Landsat')"
744
- >Landsat Imagery</a
745
- >
746
- <a href="#" class="quick-link-mini" onclick="quickSearch('AIRS')"
747
- >Atmospheric Data</a
748
- >
749
- </div>
750
- -->
751
-
752
- <div id="search-results-section" class="search-results-section">
753
- ${this.collectionSearchLoading ? x`
754
- <div id="loading-mini" class="loading-mini">
755
- <div class="spinner-mini"></div>
756
- <div>Searching NASA CMR...</div>
757
- </div>
758
- ` : ((_a = this.collectionSearchResults) == null ? void 0 : _a.length) ? x` <div
759
- id="results-container-mini"
760
- class="results-container-mini"
761
- >
762
- ${(_b = this.collectionSearchResults) == null ? void 0 : _b.map(
763
- (item) => x`
764
- <div
765
- class="result-item-mini"
766
- @click=${() => {
767
- this.collectionEntryId = item.collectionEntryId;
768
- this.collectionAccordionOpen = false;
769
- this.collectionLoading = true;
770
- if (item.type === "variable") {
771
- this.selectedVariables = [
772
- {
773
- name: item.entryId,
774
- href: "",
775
- conceptId: item.conceptId
776
- }
777
- ];
778
- }
779
- this.requestUpdate();
780
- }}
781
- style="cursor: pointer;"
782
- >
783
- <div class="result-title-mini">
784
- ${item.title}
785
- </div>
786
- <div class="result-id-mini">
787
- ${item.entryId}
788
- </div>
789
- <div class="result-description-mini">
790
- ${item.summary || item.title}
791
- </div>
792
- <div class="result-meta-mini">
793
- <span>📅 2000-02-24 - ongoing</span>
794
- <span>🌍 Global</span>
795
- <span>🏢 ${item.provider}</span>
796
- ${item.type === "variable" ? x` <span
797
- >📊
798
- ${item.collectionEntryId}</span
799
- >` : E}
800
- <span class="tag-mini"
801
- >${item.type.toUpperCase()}</span
802
- >
803
- </div>
804
- </div>
805
- `
806
- )}
807
- </div>` : this.collectionSearchResults && this.collectionSearchResults.length === 0 ? x`<div id="no-results-mini" class="no-results-mini">
808
- <p>
809
- No results found for
810
- '${this.collectionSearchQuery}'. Try adjusting
811
- your search term.
812
- </p>
813
- </div>` : E}
814
- </div>
815
- </terra-accordion>
816
-
817
- ${this.collectionLoading ? x`
818
- <div
819
- class="collection-loading-bar"
820
- style="display: flex; align-items: center; gap: 10px; margin: 16px 0;"
821
- >
822
- <span
823
- class="loading-spinner"
824
- 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;"
825
- ></span>
826
- Retrieving collection, please wait...
827
- </div>
828
- <style>
829
- @keyframes spin {
830
- 0% {
831
- transform: rotate(0deg);
832
- }
833
- 100% {
834
- transform: rotate(360deg);
835
- }
836
- }
837
- </style>
838
- ` : E}
839
- `;
840
- };
841
- _renderOutputFormatSelection = new WeakSet();
842
- renderOutputFormatSelection_fn = function() {
843
- return x`
844
- <terra-accordion>
845
- <div slot="summary">
846
- <span class="accordion-title">File Format:</span>
847
- </div>
848
-
849
- <div
850
- slot="summary-right"
851
- style="display: flex; align-items: center; gap: 10px;"
852
- >
853
- <span>${getFriendlyNameForMimeType(this.selectedFormat)}</span>
854
-
855
- <button class="reset-btn" @click=${__privateGet(this, _resetFormatSelection)}>
856
- Reset
857
- </button>
858
- </div>
859
-
860
- <div class="accordion-content" style="margin-top: 12px;">
861
- ${(() => {
862
- var _a;
863
- const uniqueFormats = Array.from(
864
- new Set(((_a = this.collectionWithServices) == null ? void 0 : _a.outputFormats) || [])
865
- );
866
- return uniqueFormats.map(
867
- (format) => x`
868
- <label
869
- style="display: flex; align-items: center; gap: 8px; padding: 5px;"
870
- >
871
- <input
872
- type="radio"
873
- name="output-format"
874
- value="${format}"
875
- .checked=${this.selectedFormat === format}
876
- @change=${() => this.selectedFormat = format}
877
- />
878
- ${getFriendlyNameForMimeType(format)}
879
- </label>
880
- `
881
- );
882
- })()}
883
- </div>
884
- </terra-accordion>
885
- `;
886
- };
887
- _renderDateRangeSelection = new WeakSet();
888
- renderDateRangeSelection_fn = function() {
889
- var _a, _b;
890
- const { startDate: defaultStartDate, endDate: defaultEndDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
891
- const startDate = (_a = this.selectedDateRange.startDate) != null ? _a : defaultStartDate;
892
- const endDate = (_b = this.selectedDateRange.endDate) != null ? _b : defaultEndDate;
893
- const showError = this.touchedFields.has("date") && (!this.selectedDateRange.startDate || !this.selectedDateRange.endDate);
894
- return x`
895
- <terra-accordion>
896
- <div slot="summary">
897
- <span class="accordion-title">Refine Date Range:</span>
898
- </div>
899
-
900
- <div
901
- slot="summary-right"
902
- style="display: flex; align-items: center; gap: 10px;"
903
- >
904
- ${showError ? x`<span class="accordion-value error"
905
- >Please select a date range</span
906
- >` : this.touchedFields.has("date") && startDate && endDate ? x`<span class="accordion-value"
907
- >${startDate} to ${endDate}</span
908
- >` : E}
909
- <button class="reset-btn" @click=${__privateGet(this, _resetDateRangeSelection)}>
910
- Reset
911
- </button>
912
- </div>
913
-
914
- <div style="width: 300px">
915
- <terra-date-picker
916
- allow-input
917
- inline
918
- range
919
- split-inputs
920
- show-presets
921
- start-label="Start Date"
922
- end-label="End Date"
923
- .minDate=${defaultStartDate}
924
- .maxDate=${defaultEndDate}
925
- .startDate=${this.selectedDateRange.startDate}
926
- .endDate=${this.selectedDateRange.endDate}
927
- @terra-date-range-change=${__privateGet(this, _handleDateChange)}
928
- ></terra-date-picker>
929
- </div>
930
-
931
- <div
932
- style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
933
- >
934
- <span
935
- ><strong>Available Range:</strong> ${defaultStartDate} to
936
- ${defaultEndDate}</span
937
- >
938
- <span
939
- ><strong>Note:</strong> All dates and times are in UTC.</span
940
- >
941
- </div>
942
- </terra-accordion>
943
- `;
944
- };
945
- _handleDateChange = new WeakMap();
946
- _resetDateRangeSelection = new WeakMap();
947
- _resetFormatSelection = new WeakMap();
948
- _getCollectionDateRange = new WeakSet();
949
- getCollectionDateRange_fn = function() {
950
- var _a, _b;
951
- const temporalExtents = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.TemporalExtents;
952
- if (!temporalExtents || !temporalExtents.length)
953
- return {
954
- startDate: null,
955
- endDate: null
956
- };
957
- let minStart = null;
958
- let maxEnd = null;
959
- const today = /* @__PURE__ */ new Date();
960
- for (const temporal of temporalExtents) {
961
- for (const range of temporal.RangeDateTimes) {
962
- const start = new Date(range.BeginningDateTime);
963
- let end;
964
- if (temporal.EndsAtPresentFlag || !range.EndingDateTime) {
965
- end = today;
966
- } else {
967
- end = new Date(range.EndingDateTime);
968
- }
969
- if (!minStart || start < minStart)
970
- minStart = start;
971
- if (!maxEnd || end > maxEnd)
972
- maxEnd = end;
973
- }
974
- }
975
- return {
976
- startDate: minStart ? minStart.toISOString().slice(0, 10) : null,
977
- endDate: maxEnd ? maxEnd.toISOString().slice(0, 10) : null
978
- };
979
- };
980
- _handleRegionAccordionToggle = new WeakSet();
981
- handleRegionAccordionToggle_fn = function() {
982
- var _a;
983
- (_a = this.spatialPicker) == null ? void 0 : _a.invalidateSize();
984
- };
985
- _renderSpatialSelection = new WeakSet();
986
- renderSpatialSelection_fn = function() {
987
- var _a, _b, _c, _d, _e;
988
- const showError = this.touchedFields.has("spatial") && !this.spatialSelection;
989
- 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;
990
- if (boundingRects && !Array.isArray(boundingRects)) {
991
- boundingRects = [boundingRects];
992
- }
993
- let spatialString = "";
994
- if (this.isLatLng(this.spatialSelection)) {
995
- spatialString = `${this.spatialSelection.lat}, ${this.spatialSelection.lng}`;
996
- } else if (this.isLatLngBounds(this.spatialSelection)) {
997
- spatialString = `${this.spatialSelection.getSouthWest().lat}, ${this.spatialSelection.getSouthWest().lng}, ${this.spatialSelection.getNorthEast().lat}, ${this.spatialSelection.getNorthEast().lng}`;
998
- } else if (this.spatialSelection && "w" in this.spatialSelection && "s" in this.spatialSelection && "e" in this.spatialSelection && "n" in this.spatialSelection) {
999
- spatialString = `${this.spatialSelection.w}, ${this.spatialSelection.s}, ${this.spatialSelection.e}, ${this.spatialSelection.n}`;
1000
- } else if (this.spatialSelection) {
1001
- spatialString = this.spatialSelection;
1002
- }
1003
- return x`
1004
- <terra-accordion
1005
- @terra-accordion-toggle=${__privateMethod(this, _handleRegionAccordionToggle, handleRegionAccordionToggle_fn)}
1006
- >
1007
- <div slot="summary">
1008
- <span class="accordion-title">Refine Region:</span>
1009
- </div>
1010
-
1011
- <div
1012
- slot="summary-right"
1013
- style="display: flex; align-items: center; gap: 10px;"
1014
- >
1015
- ${showError ? x`<span class="accordion-value error"
1016
- >Please select a region</span
1017
- >` : spatialString ? x`<span class="accordion-value"
1018
- >${spatialString}</span
1019
- >` : E}
1020
- <button class="reset-btn" @click=${__privateGet(this, _resetSpatialSelection)}>
1021
- Reset
1022
- </button>
1023
- </div>
1024
- <div class="accordion-content">
1025
- <terra-spatial-picker
1026
- part="spatial-picker"
1027
- inline
1028
- hide-label
1029
- has-shape-selector
1030
- hide-point-selection
1031
- .initialValue=${spatialString}
1032
- @terra-map-change=${__privateGet(this, _handleSpatialChange)}
1033
- ></terra-spatial-picker>
1034
- ${boundingRects && Array.isArray(boundingRects) && boundingRects.length ? x`<div
1035
- style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
1036
- >
1037
- ${boundingRects.map(
1038
- (rect) => x`<div>
1039
- <strong>Available Range:</strong>
1040
- ${rect.WestBoundingCoordinate},
1041
- ${rect.SouthBoundingCoordinate},
1042
- ${rect.EastBoundingCoordinate},
1043
- ${rect.NorthBoundingCoordinate}
1044
- </div>`
1045
- )}
1046
- </div>` : E}
1047
- </div>
1048
- </terra-accordion>
1049
- `;
1050
- };
1051
- _handleSpatialChange = new WeakMap();
1052
- _resetSpatialSelection = new WeakMap();
1053
- _renderVariableSelection = new WeakSet();
1054
- renderVariableSelection_fn = function() {
1055
- var _a;
1056
- const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1057
- const showError = this.touchedFields.has("variables") && this.selectedVariables.length === 0;
1058
- const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1059
- const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1060
- const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1061
- return x`
1062
- <terra-accordion>
1063
- <div slot="summary">
1064
- <span class="accordion-title">Select Variables:</span>
1065
- </div>
1066
- <div
1067
- slot="summary-right"
1068
- style="display: flex; align-items: center; gap: 10px;"
1069
- >
1070
- ${showError ? x`<span class="accordion-value error"
1071
- >Please select at least one variable</span
1072
- >` : this.selectedVariables.length ? x`<span class="accordion-value"
1073
- >${this.selectedVariables.length} selected</span
1074
- >` : E}
1075
-
1076
- <button class="reset-btn" @click=${__privateGet(this, _resetVariableSelection)}>
1077
- Reset
1078
- </button>
1079
- </div>
1080
- <div class="accordion-content">
1081
- <terra-input
1082
- label="Filter variables"
1083
- placeholder="Search by variable name..."
1084
- .value=${this.variableFilterText}
1085
- @input=${(e2) => {
1086
- const input = e2.target;
1087
- this.variableFilterText = input.value;
1088
- __privateMethod(this, _handleVariableFilterChange, handleVariableFilterChange_fn).call(this);
1089
- }}
1090
- style="margin-bottom: 10px;"
1091
- ></terra-input>
1092
- <button
1093
- class="reset-btn"
1094
- style="margin-bottom: 10px;"
1095
- @click=${() => __privateMethod(this, _toggleExpandCollapseAll, toggleExpandCollapseAll_fn).call(this, tree)}
1096
- >
1097
- ${allExpanded ? "Collapse Tree" : "Expand Tree"}
1098
- </button>
1099
- ${variables.length === 0 ? x`<p style="color: #666; font-style: italic;">
1100
- No variables available for this collection.
1101
- </p>` : __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, __privateMethod(this, _filterVariableTree, filterVariableTree_fn).call(this, tree), [])}
1102
- </div>
1103
- </terra-accordion>
1104
- `;
1105
- };
1106
- _filterVariableTree = new WeakSet();
1107
- filterVariableTree_fn = function(tree) {
1108
- if (!this.variableFilterText.trim()) {
1109
- return tree;
1110
- }
1111
- const filterText = this.variableFilterText.toLowerCase().trim();
1112
- const filterNode = (node) => {
1113
- const result = {};
1114
- for (const [key, value] of Object.entries(node)) {
1115
- if (value.__isLeaf) {
1116
- const variableName = value.__variable.name.toLowerCase();
1117
- if (variableName.includes(filterText)) {
1118
- result[key] = value;
1119
- }
1120
- } else {
1121
- const filteredChildren = filterNode(value.__children);
1122
- if (Object.keys(filteredChildren).length > 0 || key.toLowerCase().includes(filterText)) {
1123
- result[key] = __spreadProps(__spreadValues({}, value), {
1124
- __children: filteredChildren
1125
- });
1126
- }
1127
- }
1128
- }
1129
- return result;
1130
- };
1131
- return filterNode(tree);
1132
- };
1133
- _handleVariableFilterChange = new WeakSet();
1134
- handleVariableFilterChange_fn = function() {
1135
- var _a;
1136
- if (!this.variableFilterText.trim()) {
1137
- return;
1138
- }
1139
- const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
1140
- const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
1141
- const filterText = this.variableFilterText.toLowerCase().trim();
1142
- const groupsToExpand = /* @__PURE__ */ new Set();
1143
- const findMatchingGroups = (node, path = []) => {
1144
- for (const [key, value] of Object.entries(node)) {
1145
- if (value.__isLeaf) {
1146
- const variableName = value.__variable.name.toLowerCase();
1147
- if (variableName.includes(filterText)) {
1148
- for (let i = 0; i < path.length; i++) {
1149
- const groupPath = path.slice(0, i + 1).join("/");
1150
- groupsToExpand.add(groupPath);
1151
- }
1152
- }
1153
- } else {
1154
- const groupPath = [...path, key].join("/");
1155
- findMatchingGroups(value.__children, [...path, key]);
1156
- if (key.toLowerCase().includes(filterText)) {
1157
- groupsToExpand.add(groupPath);
1158
- }
1159
- }
1160
- }
1161
- };
1162
- findMatchingGroups(tree);
1163
- if (groupsToExpand.size > 0) {
1164
- this.expandedVariableGroups = /* @__PURE__ */ new Set([
1165
- ...this.expandedVariableGroups,
1166
- ...groupsToExpand
1167
- ]);
1168
- }
1169
- };
1170
- _buildVariableTree = new WeakSet();
1171
- buildVariableTree_fn = function(variables) {
1172
- const root = {};
1173
- for (const v of variables) {
1174
- const parts = v.name.split("/");
1175
- let node = root;
1176
- for (let i = 0; i < parts.length; i++) {
1177
- const part = parts[i];
1178
- if (!node[part])
1179
- node[part] = { __children: {}, __isLeaf: false };
1180
- if (i === parts.length - 1) {
1181
- node[part].__isLeaf = true;
1182
- node[part].__variable = v;
1183
- }
1184
- node = node[part].__children;
1185
- }
1186
- }
1187
- return root;
1188
- };
1189
- _renderVariableTree = new WeakSet();
1190
- renderVariableTree_fn = function(node, path) {
1191
- return x`
1192
- <div style="margin-left: ${path.length * 20}px;">
1193
- ${Object.entries(node).map(([key, value]) => {
1194
- const groupPath = [...path, key].join("/");
1195
- if (value.__isLeaf) {
1196
- return x`
1197
- <div class="option-row">
1198
- <label class="checkbox-option">
1199
- <input
1200
- type="checkbox"
1201
- .checked=${this.selectedVariables.some(
1202
- (v) => v.name === value.__variable.name
1203
- )}
1204
- @change=${(e2) => __privateMethod(this, _toggleVariableSelection, toggleVariableSelection_fn).call(this, e2, value.__variable)}
1205
- />
1206
- <span>${key}</span>
1207
- </label>
1208
- </div>
1209
- `;
1210
- } else {
1211
- const expanded = this.expandedVariableGroups.has(groupPath);
1212
- return x`
1213
- <div class="option-row" style="align-items: flex-start;">
1214
- <span
1215
- style="cursor: pointer; display: flex; align-items: center;"
1216
- @click=${() => __privateMethod(this, _toggleGroupExpand, toggleGroupExpand_fn).call(this, groupPath)}
1217
- >
1218
- <terra-icon
1219
- library="heroicons"
1220
- name="${expanded ? "outline-minus-circle" : "outline-plus-circle"}"
1221
- style="margin-right: 4px;"
1222
- ></terra-icon>
1223
- <span style="font-weight: 500;">${key}</span>
1224
- </span>
1225
- </div>
1226
- ${expanded ? __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, value.__children, [
1227
- ...path,
1228
- key
1229
- ]) : ""}
1230
- `;
1231
- }
1232
- })}
1233
- </div>
1234
- `;
1235
- };
1236
- _getAllGroupPaths = new WeakSet();
1237
- getAllGroupPaths_fn = function(node, path = []) {
1238
- let groups = [];
1239
- for (const [key, value] of Object.entries(node)) {
1240
- if (!value.__isLeaf) {
1241
- const groupPath = [...path, key].join("/");
1242
- groups.push(groupPath);
1243
- groups = groups.concat(
1244
- __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, value.__children, [...path, key])
1245
- );
1246
- }
1247
- }
1248
- return groups;
1249
- };
1250
- _toggleGroupExpand = new WeakSet();
1251
- toggleGroupExpand_fn = function(groupPath) {
1252
- const set = new Set(this.expandedVariableGroups);
1253
- if (set.has(groupPath)) {
1254
- set.delete(groupPath);
1255
- } else {
1256
- set.add(groupPath);
1257
- }
1258
- this.expandedVariableGroups = set;
1259
- };
1260
- _toggleExpandCollapseAll = new WeakSet();
1261
- toggleExpandCollapseAll_fn = function(tree) {
1262
- const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
1263
- const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
1264
- if (allExpanded) {
1265
- this.expandedVariableGroups = /* @__PURE__ */ new Set();
1266
- } else {
1267
- this.expandedVariableGroups = new Set(allGroups);
1268
- }
1269
- };
1270
- _toggleVariableSelection = new WeakSet();
1271
- toggleVariableSelection_fn = function(e2, variable) {
1272
- __privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
1273
- const checked = e2.target.checked;
1274
- if (checked) {
1275
- if (!this.selectedVariables.some((v) => v.name === variable.name)) {
1276
- this.selectedVariables = [...this.selectedVariables, variable];
1277
- }
1278
- } else {
1279
- this.selectedVariables = this.selectedVariables.filter(
1280
- (v) => v.name !== variable.name
1281
- );
1282
- }
1283
- };
1284
- _markFieldTouched = new WeakSet();
1285
- markFieldTouched_fn = function(field) {
1286
- this.touchedFields = new Set(this.touchedFields).add(field);
1287
- };
1288
- _resetVariableSelection = new WeakMap();
1289
- _renderJobStatus = new WeakSet();
1290
- renderJobStatus_fn = function() {
1291
- var _a, _b;
1292
- if (!((_a = this.controller.currentJob) == null ? void 0 : _a.jobID)) {
1293
- return x`<div class="results-section" id="job-status-section">
1294
- <h2 class="results-title">Results:</h2>
1295
-
1296
- <div class="progress-container">
1297
- <div class="progress-text">
1298
- <span class="spinner"></span>
1299
- <span class="status-running">Searching for data...</span>
1300
- </div>
1301
-
1302
- <div class="progress-bar">
1303
- <div class="progress-fill" style="width: 0%"></div>
1304
- </div>
1305
- </div>
1306
-
1307
- ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1308
- </div>`;
1309
- }
1310
- return x`
1311
- <div class="results-section" id="job-status-section">
1312
- <h2 class="results-title">Results:</h2>
1313
-
1314
- ${this.controller.currentJob.status !== "canceled" && this.controller.currentJob.status !== "failed" ? x` <div class="progress-container">
1315
- <div class="progress-text">
1316
- ${this.controller.currentJob.progress >= 100 ? x`
1317
- <span class="status-complete"
1318
- >✓ Search complete</span
1319
- >
1320
- ` : x`
1321
- <span class="spinner"></span>
1322
- <span class="status-running"
1323
- >Searching for data...
1324
- (${this.controller.currentJob.progress}%)</span
1325
- >
1326
- `}
1327
- </div>
1328
-
1329
- <div class="progress-bar">
1330
- <div
1331
- class="progress-fill"
1332
- style="width: ${this.controller.currentJob.progress}%"
1333
- ></div>
1334
- </div>
1335
- </div>` : E}
1336
-
1337
- <div class="search-status">
1338
- <span class="file-count"
1339
- >Found ${__privateMethod(this, _numberOfFilesFoundEstimate, numberOfFilesFoundEstimate_fn).call(this)} files</span
1340
- >
1341
- out of estimated
1342
- <span class="estimated-total"
1343
- >${this.controller.currentJob.numInputGranules.toLocaleString()}</span
1344
- >
1345
- </div>
1346
-
1347
- ${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
1348
- ${((_b = this.controller.currentJob.errors) == null ? void 0 : _b.length) ? x`
1349
- <terra-accordion>
1350
- <div slot="summary">
1351
- <span
1352
- class="accordion-title"
1353
- style="color: #dc3545;"
1354
- >Errors
1355
- (${this.controller.currentJob.errors.length})</span
1356
- >
1357
- </div>
1358
- <div class="accordion-content">
1359
- <ul
1360
- style="color: #dc3545; font-size: 14px; padding-left: 20px;"
1361
- >
1362
- ${this.controller.currentJob.errors.map(
1363
- (err) => x`
1364
- <li style="margin-bottom: 12px;">
1365
- <a
1366
- href="${err.url}"
1367
- target="_blank"
1368
- style="word-break: break-all; color: #dc3545; text-decoration: underline;"
1369
- >
1370
- ${err.url}
1371
- </a>
1372
- <div style="margin-top: 2px;">
1373
- ${err.message}
1374
- </div>
1375
- </li>
1376
- `
1377
- )}
1378
- </ul>
1379
- </div>
1380
- </terra-accordion>
1381
- ` : E}
1382
-
1383
- <div class="tabs">
1384
- <button
1385
- class="tab ${this.selectedTab === "web-links" ? "active" : ""}"
1386
- @click=${() => this.selectedTab = "web-links"}
1387
- >
1388
- Web Links
1389
- </button>
1390
-
1391
- <button
1392
- class="tab ${this.selectedTab === "selected-params" ? "active" : ""}"
1393
- @click=${() => this.selectedTab = "selected-params"}
1394
- >
1395
- Selected Parameters
1396
- </button>
1397
- </div>
1398
- <div
1399
- id="web-links"
1400
- class="tab-content ${this.selectedTab === "web-links" ? "active" : ""}"
1401
- >
1402
- ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).length ? x`
1403
- <div class="documentation-links">
1404
- ${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).map(
1405
- (link) => x`
1406
- <a href="${link.href}" class="doc-link"
1407
- >${link.title}</a
1408
- >
1409
- `
1410
- )}
1411
- </div>
1412
- ` : E}
1413
-
1414
- <ul class="file-list">
1415
- ${__privateMethod(this, _getDataLinks, getDataLinks_fn).call(this).map(
1416
- (link) => x`
1417
- <li class="file-item">
1418
- <a
1419
- href="${link.href}"
1420
- class="file-link"
1421
- target="_blank"
1422
- >
1423
- ${link.title}
1424
- </a>
1425
- </li>
1426
- `
1427
- )}
1428
- </ul>
1429
- </div>
1430
-
1431
- <div
1432
- id="selected-params"
1433
- class="tab-content ${this.selectedTab === "selected-params" ? "active" : ""}"
1434
- >
1435
- ${__privateMethod(this, _renderSelectedParams, renderSelectedParams_fn).call(this)}
1436
- </div>
1437
- </div>
1438
-
1439
- ${!this.dialog ? x`
1440
- <div class="footer">
1441
- ${this.controller.currentJob.status === "successful" /* SUCCESSFUL */ || this.controller.currentJob.status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? x`
1442
- <div
1443
- style="display: flex; align-items: center; gap: 8px;"
1444
- >
1445
- <terra-dropdown
1446
- @terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
1447
- >
1448
- <terra-button slot="trigger" caret>
1449
- Download Options
1450
- </terra-button>
1451
- <terra-menu>
1452
- <terra-menu-item value="file-list">
1453
- <svg
1454
- slot="prefix"
1455
- viewBox="0 0 24 24"
1456
- width="16"
1457
- height="16"
1458
- style="width: 16px; height: 16px;"
1459
- >
1460
- <path
1461
- fill="currentColor"
1462
- 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"
1463
- />
1464
- </svg>
1465
- File List
1466
- </terra-menu-item>
1467
- <terra-menu-item
1468
- value="python-script"
1469
- >
1470
- <svg
1471
- slot="prefix"
1472
- viewBox="0 0 128 128"
1473
- width="16"
1474
- height="16"
1475
- style="width: 16px; height: 16px;"
1476
- >
1477
- <path
1478
- fill="currentColor"
1479
- 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"
1480
- ></path>
1481
- </svg>
1482
- Python Script
1483
- </terra-menu-item>
1484
- <terra-menu-item
1485
- value="earthdata-download"
1486
- >
1487
- <svg
1488
- slot="prefix"
1489
- viewBox="0 0 64 64"
1490
- fill="none"
1491
- width="16"
1492
- height="16"
1493
- style="width: 16px; height: 16px;"
1494
- >
1495
- <circle
1496
- cx="32"
1497
- cy="32"
1498
- r="28"
1499
- fill="currentColor"
1500
- />
1501
- <path
1502
- d="M32 14v26M32 40l-9-9M32 40l9-9"
1503
- stroke="#fff"
1504
- stroke-width="4"
1505
- stroke-linecap="round"
1506
- stroke-linejoin="round"
1507
- fill="none"
1508
- />
1509
- </svg>
1510
- Earthdata Download
1511
- </terra-menu-item>
1512
- </terra-menu>
1513
- </terra-dropdown>
1514
-
1515
- <terra-button
1516
- outline
1517
- @click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
1518
- >
1519
- <terra-icon
1520
- name="outline-code-bracket"
1521
- library="heroicons"
1522
- font-size="1.5em"
1523
- style="margin-right: 5px;"
1524
- ></terra-icon>
1525
- Open in Jupyter Notebook
1526
- </terra-button>
1527
- </div>
1528
- ` : E}
1529
- ${this.controller.currentJob.status === "running" ? x`<button
1530
- class="btn btn-success"
1531
- @click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
1532
- ?disabled=${this.cancelingGetData}
1533
- >
1534
- ${this.cancelingGetData ? "Canceling..." : "Cancel request"}
1535
- </button>` : E}
1536
-
1537
- <div class="job-info">
1538
- Job ID:
1539
- <span class="job-id">
1540
- ${this.bearerToken ? x`<a
1541
- href="https://harmony.earthdata.nasa.gov/jobs/${this.controller.currentJob.jobID}"
1542
- target="_blank"
1543
- >${this.controller.currentJob.jobID}</a
1544
- >` : this.controller.currentJob.jobID}
1545
- </span>
1546
- <span class="info-icon">?</span>
1547
- </div>
1548
- </div>
1549
- ` : E}
1550
- `;
1551
- };
1552
- _renderSelectedParams = new WeakSet();
1553
- renderSelectedParams_fn = function() {
1554
- var _a, _b;
1555
- const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
1556
- const variables = this.selectedVariables.length ? this.selectedVariables.map((v) => v.name) : ["All"];
1557
- const dateRange = this.selectedDateRange.startDate && this.selectedDateRange.endDate ? `${this.selectedDateRange.startDate} to ${this.selectedDateRange.endDate}` : "\u2014";
1558
- let spatial = "\u2014";
1559
- if (this.spatialSelection) {
1560
- if ("w" in this.spatialSelection) {
1561
- spatial = `Bounding Box: ${this.spatialSelection.w}, ${this.spatialSelection.s}, ${this.spatialSelection.e}, ${this.spatialSelection.n}`;
1562
- } else if ("lat" in this.spatialSelection && "lng" in this.spatialSelection) {
1563
- spatial = `Point: ${this.spatialSelection.lat}, ${this.spatialSelection.lng}`;
1564
- }
1565
- }
1566
- return x`
1567
- <dl class="params-summary">
1568
- <div>
1569
- <dt><strong>Dataset</strong></dt>
1570
- <dd>${(_b = collection == null ? void 0 : collection.EntryTitle) != null ? _b : "\u2014"}</dd>
1571
- </div>
1572
- <div>
1573
- <dt><strong>Variables</strong></dt>
1574
- <dd>${variables.map((v) => x`<div>${v}</div>`)}</dd>
1575
- </div>
1576
- <div>
1577
- <dt><strong>Date Range</strong></dt>
1578
- <dd>${dateRange}</dd>
1579
- </div>
1580
- <div>
1581
- <dt><strong>Spatial</strong></dt>
1582
- <dd>${spatial}</dd>
1583
- </div>
1584
- </dl>
1585
-
1586
- <terra-button @click=${__privateMethod(this, _refineParameters, refineParameters_fn)}
1587
- >Refine Parameters</terra-button
1588
- >
1589
- `;
1590
- };
1591
- _cancelJob = new WeakSet();
1592
- cancelJob_fn = function() {
1593
- this.cancelingGetData = true;
1594
- this.controller.cancelCurrentJob();
1595
- };
1596
- _getData = new WeakSet();
1597
- getData_fn = function() {
1598
- this.cancelingGetData = false;
1599
- __privateMethod(this, _touchAllFields, touchAllFields_fn).call(this);
1600
- this.controller.cancelCurrentJob();
1601
- this.controller.currentJob = null;
1602
- this.controller.jobStatusTask.run();
1603
- setTimeout(() => {
1604
- const el = this.renderRoot.querySelector("#job-status-section");
1605
- el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
1606
- }, 100);
1607
- this.refineParameters = false;
1608
- };
1609
- _touchAllFields = new WeakSet();
1610
- touchAllFields_fn = function() {
1611
- this.touchedFields = /* @__PURE__ */ new Set(["variables", "spatial"]);
1612
- };
1613
- _numberOfFilesFoundEstimate = new WeakSet();
1614
- numberOfFilesFoundEstimate_fn = function() {
1615
- return Math.floor(
1616
- this.controller.currentJob.numInputGranules * this.controller.currentJob.progress / 100
1617
- );
1618
- };
1619
- _getDocumentationLinks = new WeakSet();
1620
- getDocumentationLinks_fn = function() {
1621
- return this.controller.currentJob.links.filter(
1622
- (link) => link.rel === "stac-catalog-json"
1623
- );
1624
- };
1625
- _getDataLinks = new WeakSet();
1626
- getDataLinks_fn = function() {
1627
- return this.controller.currentJob.links.filter((link) => link.rel === "data");
1628
- };
1629
- _hasAtLeastOneSubsetOption = new WeakSet();
1630
- hasAtLeastOneSubsetOption_fn = function() {
1631
- var _a, _b, _c, _d;
1632
- 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);
1633
- };
1634
- _hasSpatialSubset = new WeakSet();
1635
- hasSpatialSubset_fn = function() {
1636
- var _a, _b;
1637
- return ((_a = this.collectionWithServices) == null ? void 0 : _a.bboxSubset) || ((_b = this.collectionWithServices) == null ? void 0 : _b.shapeSubset);
1638
- };
1639
- _renderJobMessage = new WeakSet();
1640
- renderJobMessage_fn = function() {
1641
- const warningStatuses = [
1642
- "canceled" /* CANCELED */,
1643
- "complete_with_errors" /* COMPLETE_WITH_ERRORS */,
1644
- "running_with_errors" /* RUNNING_WITH_ERRORS */
1645
- ];
1646
- const errorStatuses = ["failed" /* FAILED */];
1647
- let type = "normal";
1648
- if (warningStatuses.includes(this.controller.currentJob.status)) {
1649
- type = "warning";
1650
- } else if (errorStatuses.includes(this.controller.currentJob.status)) {
1651
- type = "error";
1652
- }
1653
- let color, bg;
1654
- if (type === "error") {
1655
- color = "#dc3545";
1656
- bg = "#f8d7da";
1657
- } else if (type === "warning") {
1658
- color = "#856404";
1659
- bg = "#fff3cd";
1660
- } else {
1661
- color = "#555";
1662
- bg = "#f8f9fa";
1663
- }
1664
- return x`
1665
- <div
1666
- style="
1667
- margin: 24px 0 16px 0;
1668
- padding: 16px 20px;
1669
- border-radius: 6px;
1670
- background: ${bg};
1671
- color: ${color};
1672
- border: 1px solid ${color}22;
1673
- "
1674
- >
1675
- ${__privateMethod(this, _getJobMessageText, getJobMessageText_fn).call(this)}
1676
- </div>
1677
- `;
1678
- };
1679
- _getJobMessageText = new WeakSet();
1680
- getJobMessageText_fn = function() {
1681
- var _a;
1682
- return (_a = this.controller.currentJob) == null ? void 0 : _a.message.replace(
1683
- /\b(The job|the job|job|Job)\b/g,
1684
- (match) => {
1685
- switch (match) {
1686
- case "The job":
1687
- return "Your request";
1688
- case "the job":
1689
- return "Your Request";
1690
- case "job":
1691
- return "request";
1692
- case "Job":
1693
- return "Request";
1694
- }
1695
- return match;
1696
- }
1697
- );
1698
- };
1699
- _estimateJobSize = new WeakSet();
1700
- estimateJobSize_fn = function() {
1701
- var _a, _b;
1702
- const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
1703
- if (!collection)
1704
- return;
1705
- const range = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
1706
- let startDate;
1707
- let endDate;
1708
- let links = (_b = collection.granuleCount) != null ? _b : 0;
1709
- if (this.selectedDateRange.startDate && this.selectedDateRange.endDate) {
1710
- startDate = this.selectedDateRange.startDate;
1711
- endDate = this.selectedDateRange.endDate;
1712
- } else {
1713
- startDate = range.startDate;
1714
- endDate = range.endDate;
1715
- }
1716
- if (!startDate || !endDate)
1717
- return;
1718
- const start = new Date(startDate);
1719
- const end = new Date(endDate);
1720
- const days = Math.floor((end.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24)) + 1;
1721
- if (range.startDate && range.endDate) {
1722
- const availableDaysInCollection = Math.floor(
1723
- (new Date(range.endDate).getTime() - new Date(range.startDate).getTime()) / (1e3 * 60 * 60 * 24)
1724
- ) + 1;
1725
- const granulesPerDay = links / availableDaysInCollection;
1726
- links = Math.ceil(days * granulesPerDay);
1727
- }
1728
- return { days, links };
1729
- };
1730
- _refineParameters = new WeakSet();
1731
- refineParameters_fn = function() {
1732
- this.refineParameters = true;
1733
- };
1734
- _handleDownloadSelect = new WeakSet();
1735
- handleDownloadSelect_fn = function(event) {
1736
- const item = event.detail.item;
1737
- const value = item.value || item.getTextLabel();
1738
- if (value === "file-list") {
1739
- __privateMethod(this, _downloadLinksAsTxt, downloadLinksAsTxt_fn).call(this, event);
1740
- } else if (value === "python-script") {
1741
- __privateMethod(this, _downloadPythonScript, downloadPythonScript_fn).call(this, event);
1742
- } else if (value === "earthdata-download") {
1743
- __privateMethod(this, _downloadEarthdataDownload, downloadEarthdataDownload_fn).call(this, event);
1744
- }
1745
- };
1746
- _downloadLinksAsTxt = new WeakSet();
1747
- downloadLinksAsTxt_fn = function(event) {
1748
- var _a;
1749
- event.stopPropagation();
1750
- if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
1751
- return;
1752
- }
1753
- const dataLinks = __privateMethod(this, _getDataLinks, getDataLinks_fn).call(this);
1754
- if (dataLinks.length === 0) {
1755
- return;
1756
- }
1757
- const content = dataLinks.map((link) => link.href).join("\n");
1758
- const blob = new Blob([content], { type: "text/plain" });
1759
- const url = URL.createObjectURL(blob);
1760
- const a = document.createElement("a");
1761
- a.href = url;
1762
- a.download = `subset_links_${this.controller.currentJob.jobID}.txt`;
1763
- document.body.appendChild(a);
1764
- a.click();
1765
- document.body.removeChild(a);
1766
- URL.revokeObjectURL(url);
1767
- };
1768
- _downloadPythonScript = new WeakSet();
1769
- downloadPythonScript_fn = async function(event) {
1770
- var _a, _b, _c;
1771
- event.stopPropagation();
1772
- if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
1773
- return;
1774
- }
1775
- const response = await fetch(
1776
- getBasePath("assets/data-subsetter/download_subset_files.py.txt")
1777
- );
1778
- if (!response.ok) {
1779
- alert(
1780
- "Sorry, there was a problem generating the Python script. We are investigating the issue.\nYou could try using the Jupyter Notebook in the meantime"
1781
- );
1782
- }
1783
- const content = (await response.text()).replace(/{{jobId}}/gi, this.controller.currentJob.jobID).replace(
1784
- /{{HARMONY_ENV}}/gi,
1785
- `Environment.${(_b = this.environment) == null ? void 0 : _b.toUpperCase()}`
1786
- ).replace(
1787
- /{{EARTHACCESS_ENV}}/gi,
1788
- `earthaccess.${(_c = this.environment) == null ? void 0 : _c.toUpperCase()}`
1789
- );
1790
- const blob = new Blob([content], { type: "text/plain" });
1791
- const url = URL.createObjectURL(blob);
1792
- const a = document.createElement("a");
1793
- a.href = url;
1794
- a.download = `download_subset_files_${this.controller.currentJob.jobID}.py`;
1795
- document.body.appendChild(a);
1796
- a.click();
1797
- document.body.removeChild(a);
1798
- URL.revokeObjectURL(url);
1799
- };
1800
- _downloadEarthdataDownload = new WeakSet();
1801
- downloadEarthdataDownload_fn = async function(event) {
1802
- var _a;
1803
- event.stopPropagation();
1804
- if (!((_a = this.controller.currentJob) == null ? void 0 : _a.links)) {
1805
- return;
1806
- }
1807
- alert("Sorry, Earthdata Download is not currently supported");
1808
- };
1809
- _handleJupyterNotebookClick = new WeakSet();
1810
- handleJupyterNotebookClick_fn = function() {
1811
- var _a;
1812
- const notebook = getNotebook(this);
1813
- console.log("sending data to JupyterLite");
1814
- sendDataToJupyterNotebook("load-notebook", {
1815
- filename: `subset_${(_a = this.controller.currentJob) == null ? void 0 : _a.jobID}.ipynb`,
1816
- notebook,
1817
- bearerToken: this.bearerToken
1818
- });
1819
- };
1820
- _renderAvailableTemporalRangeSection = new WeakSet();
1821
- renderAvailableTemporalRangeSection_fn = function() {
1822
- const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
1823
- if (!startDate || !endDate)
1824
- return E;
1825
- return x`
1826
- <div class="section" style="margin-bottom: 16px;">
1827
- <h2 class="section-title">Available Date Range</h2>
1828
- <div style="color: #31708f; margin-top: 8px;">
1829
- <strong>${startDate}</strong> to <strong>${endDate}</strong>
1830
- </div>
1831
- <div style="font-size: 0.95em; color: #666;">
1832
- This collection does not support temporal subsetting.
1833
- </div>
1834
- </div>
1835
- `;
1836
- };
1837
- _renderAvailableSpatialRangeSection = new WeakSet();
1838
- renderAvailableSpatialRangeSection_fn = function() {
1839
- var _a, _b, _c, _d, _e;
1840
- 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;
1841
- if (!boundingRects || !Array.isArray(boundingRects) || !boundingRects.length)
1842
- return E;
1843
- return x`
1844
- <div class="section" style="margin-bottom: 16px;">
1845
- <h2 class="section-title">Available Spatial Area</h2>
1846
- <div style="color: #31708f; margin-top: 8px;">
1847
- ${boundingRects.map(
1848
- (rect) => x`<div>
1849
- <strong>Bounding Box:</strong>
1850
- ${rect.WestBoundingCoordinate},
1851
- ${rect.SouthBoundingCoordinate},
1852
- ${rect.EastBoundingCoordinate},
1853
- ${rect.NorthBoundingCoordinate}
1854
- </div>`
1855
- )}
1856
- </div>
1857
- <div style="font-size: 0.95em; color: #666;">
1858
- This collection does not support spatial subsetting.
1859
- </div>
1860
- </div>
1861
- `;
1862
- };
1863
- _renderDataAccessModeSelection = new WeakSet();
1864
- renderDataAccessModeSelection_fn = function() {
1865
- return x`
1866
- <div class="mode-selection">
1867
- <div class="mode-options">
1868
- <label
1869
- class="mode-option ${this.dataAccessMode === "original" ? "selected" : ""}"
1870
- >
1871
- <input
1872
- type="radio"
1873
- name="data-access-mode"
1874
- value="original"
1875
- .checked=${this.dataAccessMode === "original"}
1876
- @change=${() => this.dataAccessMode = "original"}
1877
- />
1878
- <div class="mode-content">
1879
- <div class="mode-title">Get Original Files</div>
1880
- <div class="mode-description">
1881
- Filter file links directly from the archive.
1882
- </div>
1883
- </div>
1884
- </label>
1885
-
1886
- <label
1887
- class="mode-option ${this.dataAccessMode === "subset" ? "selected" : ""}"
1888
- >
1889
- <input
1890
- type="radio"
1891
- name="data-access-mode"
1892
- value="subset"
1893
- .checked=${this.dataAccessMode === "subset"}
1894
- @change=${() => this.dataAccessMode = "subset"}
1895
- />
1896
- <div class="mode-content">
1897
- <div class="mode-title">Subset Data</div>
1898
- <div class="mode-description">
1899
- Subset the data to your specific needs.
1900
- </div>
1901
- </div>
1902
- </label>
1903
- </div>
1904
- </div>
1905
- `;
1906
- };
1907
- TerraDataSubsetter.styles = [component_styles_default, data_subsetter_styles_default];
1908
- TerraDataSubsetter.dependencies = {
1909
- "terra-accordion": TerraAccordion,
1910
- "terra-date-picker": TerraDatePicker,
1911
- "terra-icon": TerraIcon,
1912
- "terra-input": TerraInput,
1913
- "terra-spatial-picker": TerraSpatialPicker,
1914
- "terra-login": TerraLogin,
1915
- "terra-loader": TerraLoader,
1916
- "terra-data-access": TerraDataAccess,
1917
- "terra-dialog": TerraDialog,
1918
- "terra-dropdown": TerraDropdown,
1919
- "terra-menu": TerraMenu,
1920
- "terra-menu-item": TerraMenuItem,
1921
- "terra-button": TerraButton
1922
- };
1923
- __decorateClass([
1924
- n({ reflect: true, attribute: "collection-entry-id" })
1925
- ], TerraDataSubsetter.prototype, "collectionEntryId", 2);
1926
- __decorateClass([
1927
- n({ reflect: true, attribute: "short-name" })
1928
- ], TerraDataSubsetter.prototype, "shortName", 2);
1929
- __decorateClass([
1930
- n({ reflect: true, attribute: "version" })
1931
- ], TerraDataSubsetter.prototype, "version", 2);
1932
- __decorateClass([
1933
- n({ reflect: true, type: Boolean, attribute: "show-collection-search" })
1934
- ], TerraDataSubsetter.prototype, "showCollectionSearch", 2);
1935
- __decorateClass([
1936
- n({ reflect: true, type: Boolean, attribute: "show-history-panel" })
1937
- ], TerraDataSubsetter.prototype, "showHistoryPanel", 2);
1938
- __decorateClass([
1939
- n({ reflect: true, attribute: "job-id" })
1940
- ], TerraDataSubsetter.prototype, "jobId", 2);
1941
- __decorateClass([
1942
- n({ attribute: "bearer-token" })
1943
- ], TerraDataSubsetter.prototype, "bearerToken", 2);
1944
- __decorateClass([
1945
- n({ reflect: true })
1946
- ], TerraDataSubsetter.prototype, "dialog", 2);
1947
- __decorateClass([
1948
- r()
1949
- ], TerraDataSubsetter.prototype, "collectionWithServices", 2);
1950
- __decorateClass([
1951
- r()
1952
- ], TerraDataSubsetter.prototype, "selectedVariables", 2);
1953
- __decorateClass([
1954
- r()
1955
- ], TerraDataSubsetter.prototype, "expandedVariableGroups", 2);
1956
- __decorateClass([
1957
- r()
1958
- ], TerraDataSubsetter.prototype, "variableFilterText", 2);
1959
- __decorateClass([
1960
- r()
1961
- ], TerraDataSubsetter.prototype, "touchedFields", 2);
1962
- __decorateClass([
1963
- r()
1964
- ], TerraDataSubsetter.prototype, "spatialSelection", 2);
1965
- __decorateClass([
1966
- r()
1967
- ], TerraDataSubsetter.prototype, "selectedDateRange", 2);
1968
- __decorateClass([
1969
- r()
1970
- ], TerraDataSubsetter.prototype, "selectedFormat", 2);
1971
- __decorateClass([
1972
- r()
1973
- ], TerraDataSubsetter.prototype, "cancelingGetData", 2);
1974
- __decorateClass([
1975
- r()
1976
- ], TerraDataSubsetter.prototype, "selectedTab", 2);
1977
- __decorateClass([
1978
- r()
1979
- ], TerraDataSubsetter.prototype, "refineParameters", 2);
1980
- __decorateClass([
1981
- r()
1982
- ], TerraDataSubsetter.prototype, "collectionSearchType", 2);
1983
- __decorateClass([
1984
- r()
1985
- ], TerraDataSubsetter.prototype, "collectionSearchQuery", 2);
1986
- __decorateClass([
1987
- r()
1988
- ], TerraDataSubsetter.prototype, "collectionSearchLoading", 2);
1989
- __decorateClass([
1990
- r()
1991
- ], TerraDataSubsetter.prototype, "collectionSearchResults", 2);
1992
- __decorateClass([
1993
- r()
1994
- ], TerraDataSubsetter.prototype, "collectionLoading", 2);
1995
- __decorateClass([
1996
- r()
1997
- ], TerraDataSubsetter.prototype, "collectionAccordionOpen", 2);
1998
- __decorateClass([
1999
- r()
2000
- ], TerraDataSubsetter.prototype, "dataAccessMode", 2);
2001
- __decorateClass([
2002
- e('[part~="spatial-picker"]')
2003
- ], TerraDataSubsetter.prototype, "spatialPicker", 2);
2004
- __decorateClass([
2005
- e("terra-dialog")
2006
- ], TerraDataSubsetter.prototype, "dialogElement", 2);
2007
- __decorateClass([
2008
- watch(["jobId"], { waitUntilFirstUpdate: true })
2009
- ], TerraDataSubsetter.prototype, "jobIdChanged", 1);
2010
- __decorateClass([
2011
- watch(["shortName", "version"])
2012
- ], TerraDataSubsetter.prototype, "shortNameAndVersionChanged", 1);
2013
- __decorateClass([
2014
- watch(["collectionWithServices"])
2015
- ], TerraDataSubsetter.prototype, "collectionChanged", 1);
2016
- __decorateClass([
2017
- debounce(500)
2018
- ], TerraDataSubsetter.prototype, "handleCollectionSearch", 1);
2019
-
2020
- export {
2021
- TerraDataSubsetter
2022
- };