@nasa-terra/components 0.0.200 → 0.0.202
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.
- package/cdn/apis/harmony.api.d.ts +7 -0
- package/cdn/chunks/chunk.26WIFY7V.js +19 -0
- package/cdn/chunks/chunk.2GA4CWAO.js +19 -0
- package/cdn/chunks/chunk.2HOYW6MS.js +49 -0
- package/cdn/chunks/chunk.2MS5ABFB.js +19 -0
- package/cdn/chunks/chunk.2OMLOQMV.js +925 -0
- package/cdn/chunks/chunk.2PRHFH3T.js +19 -0
- package/cdn/chunks/chunk.2UHL5P6K.js +29 -0
- package/cdn/chunks/chunk.2VP477VG.js +19 -0
- package/cdn/chunks/chunk.33R27RVH.js +132 -0
- package/cdn/chunks/chunk.34BJZDYA.js +537 -0
- package/cdn/chunks/chunk.3AHQKBOX.js +29 -0
- package/cdn/chunks/chunk.3AZSMAQH.js +158 -0
- package/cdn/chunks/chunk.3G5XI66I.js +35 -0
- package/cdn/chunks/chunk.3KKU7VXW.js +19 -0
- package/cdn/chunks/chunk.3SQV2QZD.js +29 -0
- package/cdn/chunks/chunk.3YE4RI37.js +377 -0
- package/cdn/chunks/chunk.3ZKU6WYW.js +71 -0
- package/cdn/chunks/chunk.47AEJXKW.js +231 -0
- package/cdn/chunks/chunk.4USNEUUH.js +278 -0
- package/cdn/chunks/chunk.4UTDVHGR.js +37 -0
- package/cdn/chunks/chunk.4ZYLJ7D3.js +82 -0
- package/cdn/chunks/chunk.55OQIAKO.js +29 -0
- package/cdn/chunks/chunk.5ESGWJLA.js +106 -0
- package/cdn/chunks/chunk.5EX3Z4DK.js +19 -0
- package/cdn/chunks/chunk.5I7B4IIZ.js +592 -0
- package/cdn/chunks/chunk.5KPNIIGS.js +604 -0
- package/cdn/chunks/chunk.5MEL64GJ.js +19 -0
- package/cdn/chunks/chunk.5OZWDB5C.js +19 -0
- package/cdn/chunks/chunk.5VJNHYYD.js +171 -0
- package/cdn/chunks/chunk.5XNHMOAV.js +136 -0
- package/cdn/chunks/chunk.6AQLHC6W.js +32 -0
- package/cdn/chunks/chunk.6IN6IQWI.js +230 -0
- package/cdn/chunks/chunk.6RSIQP5A.js +34 -0
- package/cdn/chunks/chunk.6ULJR6ZE.js +155 -0
- package/cdn/chunks/chunk.6XYGFWIA.js +19 -0
- package/cdn/chunks/chunk.7A4LM7IX.js +32 -0
- package/cdn/chunks/chunk.7F73VUIV.js +556 -0
- package/cdn/chunks/chunk.7HMHLQLZ.js +29 -0
- package/cdn/chunks/chunk.7XXQMVFX.js +104 -0
- package/cdn/chunks/chunk.A7O62RXN.js +29 -0
- package/cdn/chunks/chunk.APOEQA6N.js +157 -0
- package/cdn/chunks/chunk.AVPLP47V.js +190 -0
- package/cdn/chunks/chunk.BCMV5FPA.js +35 -0
- package/cdn/chunks/chunk.BFWPKDGX.js +277 -0
- package/cdn/chunks/chunk.BIR4JWJE.js +29 -0
- package/cdn/chunks/chunk.BJ7UKTWC.js +19 -0
- package/cdn/chunks/chunk.BJVIJ7BT.js +19 -0
- package/cdn/chunks/chunk.BUB7FPJ5.js +19 -0
- package/cdn/chunks/chunk.BVACLOKI.js +110 -0
- package/cdn/chunks/chunk.BVHMTI75.js +35 -0
- package/cdn/chunks/chunk.BYNNIM7J.js +310 -0
- package/cdn/chunks/chunk.CLOSWCHA.js +279 -0
- package/cdn/chunks/chunk.CPKXJI47.js +19 -0
- package/cdn/chunks/chunk.CTYJ2G2V.js +56075 -0
- package/cdn/chunks/chunk.CVPDIZ7K.js +224 -0
- package/cdn/chunks/chunk.DEHKVV4T.js +303 -0
- package/cdn/chunks/chunk.DIVDM5FL.js +29 -0
- package/cdn/chunks/chunk.DKJIIJCV.js +33 -0
- package/cdn/chunks/chunk.DLCXOQQB.js +83 -0
- package/cdn/chunks/chunk.DNWADQ5W.js +2546 -0
- package/cdn/chunks/chunk.DNZMWTWS.js +29 -0
- package/cdn/chunks/chunk.DOEGMJOZ.js +904 -0
- package/cdn/chunks/chunk.DU5T3TJE.js +19 -0
- package/cdn/chunks/chunk.DX5Y5JD2.js +19 -0
- package/cdn/chunks/chunk.DZVQRJHX.js +298 -0
- package/cdn/chunks/chunk.E6YEHXRQ.js +538 -0
- package/cdn/chunks/chunk.ECYELSFF.js +19 -0
- package/cdn/chunks/chunk.EHANRIPJ.js +29 -0
- package/cdn/chunks/chunk.EM7J56W4.js +478 -0
- package/cdn/chunks/chunk.EV4WF34M.js +1018 -0
- package/cdn/chunks/chunk.EW6F2GQY.js +29 -0
- package/cdn/chunks/chunk.F3WCMGTZ.js +36 -0
- package/cdn/chunks/chunk.F5BJYKTF.js +19 -0
- package/cdn/chunks/chunk.FFR22MCX.js +19 -0
- package/cdn/chunks/chunk.FH3P6CF5.js +19 -0
- package/cdn/chunks/chunk.FJSK6GY3.js +29 -0
- package/cdn/chunks/chunk.FNBRNK7F.js +37 -0
- package/cdn/chunks/chunk.FPG5SQ2I.js +35 -0
- package/cdn/chunks/chunk.FVOVPQKA.js +60 -0
- package/cdn/chunks/chunk.FYKDZ4XF.js +19 -0
- package/cdn/chunks/chunk.G2RISDFV.js +29 -0
- package/cdn/chunks/chunk.G4A6CMDQ.js +65 -0
- package/cdn/chunks/chunk.G6K6BXYG.js +134 -0
- package/cdn/chunks/chunk.GAI2J6ZS.js +37 -0
- package/cdn/chunks/chunk.GG4KL7GW.js +29 -0
- package/cdn/chunks/chunk.GGLVZVB5.js +33 -0
- package/cdn/chunks/chunk.GLYBW7KG.js +138 -0
- package/cdn/chunks/chunk.GQQ3K6N5.js +29 -0
- package/cdn/chunks/chunk.GRJVGKG7.js +19 -0
- package/cdn/chunks/chunk.GYLCUVEW.js +32 -0
- package/cdn/chunks/chunk.HOSUC6BD.js +29 -0
- package/cdn/chunks/chunk.HSOOL4RW.js +266 -0
- package/cdn/chunks/chunk.I4LPZIIK.js +789 -0
- package/cdn/chunks/chunk.IFH52YEF.js +29 -0
- package/cdn/chunks/chunk.IQZTU2J4.js +19 -0
- package/cdn/chunks/chunk.IRINNT4H.js +19 -0
- package/cdn/chunks/chunk.IUEFLVQW.js +93 -0
- package/cdn/chunks/chunk.J3B2QGRM.js +92 -0
- package/cdn/chunks/chunk.J6KAYZPW.js +524 -0
- package/cdn/chunks/chunk.JAOHMVHU.js +33 -0
- package/cdn/chunks/chunk.JDYJT6FG.js +113 -0
- package/cdn/chunks/chunk.JGAX4GO7.js +19 -0
- package/cdn/chunks/chunk.JNGYHT6A.js +32 -0
- package/cdn/chunks/chunk.JSANBP7K.js +367 -0
- package/cdn/chunks/chunk.JVYWBJQZ.js +19 -0
- package/cdn/chunks/chunk.JXGYRXMB.js +364 -0
- package/cdn/chunks/chunk.JXHGDIHB.js +348 -0
- package/cdn/chunks/chunk.JXK3FZE4.js +19 -0
- package/cdn/chunks/chunk.K5AO7XP2.js +151 -0
- package/cdn/chunks/chunk.KACXPSGJ.js +631 -0
- package/cdn/chunks/chunk.KFKCR6QA.js +168 -0
- package/cdn/chunks/chunk.KLFMBNVE.js +19 -0
- package/cdn/chunks/chunk.KM6WWUYU.js +77 -0
- package/cdn/chunks/chunk.KPYXFXJQ.js +29 -0
- package/cdn/chunks/chunk.KQYGVB55.js +41 -0
- package/cdn/chunks/chunk.KVUF6LF4.js +47 -0
- package/cdn/chunks/chunk.KW56O2IH.js +19 -0
- package/cdn/chunks/chunk.KW65NRUO.js +357 -0
- package/cdn/chunks/chunk.L4XZB6ZY.js +19 -0
- package/cdn/chunks/chunk.L6EUQYXA.js +74 -0
- package/cdn/chunks/chunk.L6GXBCP7.js +19 -0
- package/cdn/chunks/chunk.LEIC7FZG.js +1697 -0
- package/cdn/chunks/chunk.LEV3NGRX.js +123 -0
- package/cdn/chunks/chunk.LFXWUWSU.js +32 -0
- package/cdn/chunks/chunk.LJ7VHJSX.js +39 -0
- package/cdn/chunks/chunk.LJPWAEWA.js +32 -0
- package/cdn/chunks/chunk.LL62QDQM.js +32 -0
- package/cdn/chunks/chunk.LNSFXPSI.js +19 -0
- package/cdn/chunks/chunk.LSIA3HEA.js +36 -0
- package/cdn/chunks/chunk.LWTBWDXM.js +978 -0
- package/cdn/chunks/chunk.MCHI55B3.js +32 -0
- package/cdn/chunks/chunk.MCVMPMS7.js +19 -0
- package/cdn/chunks/chunk.MHCN3GKD.js +29 -0
- package/cdn/chunks/chunk.MKNOJ7CM.js +62 -0
- package/cdn/chunks/chunk.MZ5FELAW.js +36 -0
- package/cdn/chunks/chunk.N5OWLRQR.js +32 -0
- package/cdn/chunks/chunk.N7A5RE4M.js +610 -0
- package/cdn/chunks/chunk.N7BFGJYR.js +19 -0
- package/cdn/chunks/chunk.NK547YK2.js +37 -0
- package/cdn/chunks/chunk.NKA5YELN.js +19 -0
- package/cdn/chunks/chunk.NKKB3FX7.js +32 -0
- package/cdn/chunks/chunk.NMJFHBS5.js +417 -0
- package/cdn/chunks/chunk.NUFNV5DK.js +188 -0
- package/cdn/chunks/chunk.NUFZV7LP.js +33 -0
- package/cdn/chunks/chunk.NWYFMEJU.js +196 -0
- package/cdn/chunks/chunk.NY7IV7XN.js +29 -0
- package/cdn/chunks/chunk.NZE5IKJW.js +195 -0
- package/cdn/chunks/chunk.O2NDUKFH.js +29 -0
- package/cdn/chunks/chunk.OD2DZWMX.js +2911 -0
- package/cdn/chunks/chunk.OKFWUYLX.js +29 -0
- package/cdn/chunks/chunk.OT4YPSAD.js +19 -0
- package/cdn/chunks/chunk.OXCDRW3M.js +19 -0
- package/cdn/chunks/chunk.P5BFYTDM.js +234 -0
- package/cdn/chunks/chunk.P6ZFLSLA.js +1197 -0
- package/cdn/chunks/chunk.PB3Y6MQO.js +19 -0
- package/cdn/chunks/chunk.PKQP2MA2.js +60 -0
- package/cdn/chunks/chunk.PS562SMS.js +19 -0
- package/cdn/chunks/chunk.PZUVUD4C.js +93 -0
- package/cdn/chunks/chunk.QKNOTJCL.js +32 -0
- package/cdn/chunks/chunk.QM6JTIZV.js +19 -0
- package/cdn/chunks/chunk.QU7NYKM3.js +129 -0
- package/cdn/chunks/chunk.QUUHCJTG.js +19 -0
- package/cdn/chunks/chunk.RONK5ODL.js +19 -0
- package/cdn/chunks/chunk.RTC75E45.js +86 -0
- package/cdn/chunks/chunk.RZ4HFXEJ.js +672 -0
- package/cdn/chunks/chunk.SI7ZBJ26.js +32 -0
- package/cdn/chunks/chunk.SK2V5P52.js +33 -0
- package/cdn/chunks/chunk.SMSLR2AT.js +19 -0
- package/cdn/chunks/chunk.SNK5SHN5.js +162 -0
- package/cdn/chunks/chunk.SQ7L6KKX.js +19 -0
- package/cdn/chunks/chunk.SWK2BPWD.js +110 -0
- package/cdn/chunks/chunk.TUCSU6CG.js +293 -0
- package/cdn/chunks/chunk.TXB5M54T.js +29 -0
- package/cdn/chunks/chunk.TZEIENKR.js +19 -0
- package/cdn/chunks/chunk.U3GLETYN.js +32 -0
- package/cdn/chunks/chunk.U6OGFCQE.js +19 -0
- package/cdn/chunks/chunk.UCLX6LR3.js +29 -0
- package/cdn/chunks/chunk.UE5XH2VP.js +29 -0
- package/cdn/chunks/chunk.UFDANYS3.js +259 -0
- package/cdn/chunks/chunk.UJ2RMY3E.js +35 -0
- package/cdn/chunks/chunk.UMWYLPSI.js +19 -0
- package/cdn/chunks/chunk.UQVJF6VD.js +19 -0
- package/cdn/chunks/chunk.UUTUP2GS.js +56 -0
- package/cdn/chunks/chunk.UVJ7UDD7.js +29 -0
- package/cdn/chunks/chunk.V4T6KDXQ.js +36 -0
- package/cdn/chunks/chunk.VFNOOS3R.js +19 -0
- package/cdn/chunks/chunk.VKPVDKVG.js +30 -0
- package/cdn/chunks/chunk.VT7CU5GG.js +29 -0
- package/cdn/chunks/chunk.VUXNHYPK.js +19 -0
- package/cdn/chunks/chunk.VV7XEX5X.js +29 -0
- package/cdn/chunks/chunk.VZBWM3DN.js +4735 -0
- package/cdn/chunks/chunk.W3R3ZNBA.js +276 -0
- package/cdn/chunks/chunk.W5SOJEYN.js +543 -0
- package/cdn/chunks/chunk.WFSXAREE.js +51 -0
- package/cdn/chunks/chunk.WIJP5EMP.js +19 -0
- package/cdn/chunks/chunk.WRRUKGNP.js +19 -0
- package/cdn/chunks/chunk.WUEOPDUB.js +19 -0
- package/cdn/chunks/chunk.WWNFEPX7.js +1975 -0
- package/cdn/chunks/chunk.WZO7QXTZ.js +19 -0
- package/cdn/chunks/chunk.X33YQMXQ.js +117 -0
- package/cdn/chunks/chunk.XF5YT4NV.js +363 -0
- package/cdn/chunks/chunk.XHQZAOGE.js +32 -0
- package/cdn/chunks/chunk.XJKX5QJ7.js +19 -0
- package/cdn/chunks/chunk.XLY7H4ZC.js +19 -0
- package/cdn/chunks/chunk.XSNLMGTR.js +29 -0
- package/cdn/chunks/chunk.XT5DOVMF.js +443 -0
- package/cdn/chunks/chunk.XVM2NRZZ.js +19 -0
- package/cdn/chunks/chunk.XXQNALY7.js +29 -0
- package/cdn/chunks/chunk.Y4GV74E5.js +121 -0
- package/cdn/chunks/chunk.YAXJK6UB.js +19 -0
- package/cdn/chunks/chunk.YIX4KI4Q.js +19 -0
- package/cdn/chunks/chunk.YMFQOE6M.js +36 -0
- package/cdn/chunks/chunk.YOR3HFUL.js +34 -0
- package/cdn/chunks/chunk.YPCSP3D3.js +19 -0
- package/cdn/chunks/chunk.YZHPA7ZJ.js +624 -0
- package/cdn/chunks/chunk.Z45IXDIV.js +540 -0
- package/cdn/chunks/chunk.ZAHCQGUA.js +19 -0
- package/cdn/chunks/chunk.ZENSAK4S.js +68 -0
- package/cdn/chunks/chunk.ZFNIC34O.js +19 -0
- package/cdn/chunks/chunk.ZFYQAHEP.js +19 -0
- package/cdn/chunks/chunk.ZG5ZKC6Y.js +81 -0
- package/cdn/chunks/chunk.ZIKKX7BH.js +437 -0
- package/cdn/components/accordion/accordion.component.js +6 -6
- package/cdn/components/accordion/accordion.js +7 -7
- package/cdn/components/alert/alert.component.js +3 -3
- package/cdn/components/alert/alert.js +4 -4
- package/cdn/components/avatar/avatar.component.js +9 -9
- package/cdn/components/avatar/avatar.js +10 -10
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/banner/banner.component.js +3 -3
- package/cdn/components/banner/banner.js +4 -4
- package/cdn/components/breadcrumb/breadcrumb.component.js +2 -2
- package/cdn/components/breadcrumb/breadcrumb.js +3 -3
- package/cdn/components/breadcrumbs/breadcrumbs.component.js +2 -2
- package/cdn/components/breadcrumbs/breadcrumbs.js +3 -3
- package/cdn/components/browse-variables/browse-variables.component.d.ts +15 -0
- package/cdn/components/browse-variables/browse-variables.component.js +23 -19
- package/cdn/components/browse-variables/browse-variables.js +24 -20
- package/cdn/components/browse-variables/browse-variables.styles.js +1 -1
- package/cdn/components/button/button.component.js +9 -9
- package/cdn/components/button/button.js +10 -10
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/caption/caption.component.js +2 -2
- package/cdn/components/caption/caption.js +3 -3
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +10 -10
- package/cdn/components/checkbox/checkbox.js +11 -11
- package/cdn/components/chip/chip.component.js +2 -2
- package/cdn/components/chip/chip.js +3 -3
- package/cdn/components/combobox/combobox.component.js +7 -7
- package/cdn/components/combobox/combobox.js +8 -8
- package/cdn/components/data-access/data-access.component.js +44 -44
- package/cdn/components/data-access/data-access.js +45 -45
- package/cdn/components/data-grid/data-grid.component.js +5 -5
- package/cdn/components/data-grid/data-grid.js +6 -6
- package/cdn/components/data-rods/data-rods.component.js +54 -54
- package/cdn/components/data-rods/data-rods.js +55 -55
- package/cdn/components/data-subsetter/data-subsetter.component.d.ts +4 -1
- package/cdn/components/data-subsetter/data-subsetter.component.js +59 -59
- package/cdn/components/data-subsetter/data-subsetter.js +60 -60
- package/cdn/components/data-subsetter/data-subsetter.styles.js +1 -1
- package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
- package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +60 -60
- package/cdn/components/data-subsetter-history/data-subsetter-history.js +61 -61
- package/cdn/components/date-picker/date-picker.component.js +16 -16
- package/cdn/components/date-picker/date-picker.js +17 -17
- package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
- package/cdn/components/date-range-slider/date-range-slider.js +3 -3
- package/cdn/components/dialog/dialog.component.js +10 -10
- package/cdn/components/dialog/dialog.js +11 -11
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/dropdown/dropdown.component.js +3 -3
- package/cdn/components/dropdown/dropdown.js +4 -4
- package/cdn/components/earthdata-login/earthdata-login.component.js +17 -17
- package/cdn/components/earthdata-login/earthdata-login.js +18 -18
- package/cdn/components/file-upload/file-upload.component.d.ts +1 -0
- package/cdn/components/file-upload/file-upload.component.js +2 -2
- package/cdn/components/file-upload/file-upload.js +3 -3
- package/cdn/components/harmony-history/harmony-history.component.js +16 -16
- package/cdn/components/harmony-history/harmony-history.js +17 -17
- package/cdn/components/icon/icon.component.js +5 -5
- package/cdn/components/icon/icon.js +6 -6
- package/cdn/components/icon/library.js +2 -2
- package/cdn/components/input/input.component.js +10 -10
- package/cdn/components/input/input.js +11 -11
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/login/login.component.js +14 -14
- package/cdn/components/login/login.js +15 -15
- package/cdn/components/map/controls/draw-toolbar.control.js +3 -3
- package/cdn/components/map/layers/borders.layer.js +2 -2
- package/cdn/components/map/map.component.js +13 -13
- package/cdn/components/map/map.js +14 -14
- package/cdn/components/map/map.service.js +8 -8
- package/cdn/components/map/models/LatLng.d.ts +6 -0
- package/cdn/components/map/models/LatLng.js +1 -1
- package/cdn/components/map/models/LatLngBounds.d.ts +5 -0
- package/cdn/components/map/models/LatLngBounds.js +2 -2
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +13 -13
- package/cdn/components/menu-item/menu-item.js +14 -14
- package/cdn/components/menu-item/submenu-controller.js +3 -3
- package/cdn/components/option/option.component.js +8 -8
- package/cdn/components/option/option.js +9 -9
- package/cdn/components/pagination/pagination.component.js +8 -8
- package/cdn/components/pagination/pagination.js +9 -9
- package/cdn/components/plot/plot.component.js +3 -3
- package/cdn/components/plot/plot.js +4 -4
- package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
- package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
- package/cdn/components/plot-toolbar/plot-toolbar.component.js +26 -26
- package/cdn/components/plot-toolbar/plot-toolbar.js +27 -27
- package/cdn/components/popup/popup.component.js +2 -2
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +2 -2
- package/cdn/components/progress-bar/progress-bar.js +3 -3
- package/cdn/components/radio/radio.component.js +4 -4
- package/cdn/components/radio/radio.js +5 -5
- package/cdn/components/radio-group/radio-group.component.js +2 -2
- package/cdn/components/radio-group/radio-group.js +3 -3
- package/cdn/components/scroll-hint/scroll-hint.component.js +8 -8
- package/cdn/components/scroll-hint/scroll-hint.js +9 -9
- package/cdn/components/select/select.component.js +11 -11
- package/cdn/components/select/select.js +12 -12
- package/cdn/components/site-header/site-header.component.js +7 -7
- package/cdn/components/site-header/site-header.js +7 -7
- package/cdn/components/site-navigation/site-navigation.component.js +2 -2
- package/cdn/components/site-navigation/site-navigation.js +2 -2
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/slider/slider.component.js +2 -2
- package/cdn/components/slider/slider.js +3 -3
- package/cdn/components/spatial-picker/spatial-picker.component.js +27 -27
- package/cdn/components/spatial-picker/spatial-picker.js +28 -28
- package/cdn/components/spatial-picker/spatial-picker.service.js +3 -3
- package/cdn/components/status-indicator/status-indicator.component.js +2 -2
- package/cdn/components/status-indicator/status-indicator.js +3 -3
- package/cdn/components/stepper/stepper.component.d.ts +8 -0
- package/cdn/components/stepper/stepper.component.js +3 -3
- package/cdn/components/stepper/stepper.js +4 -4
- package/cdn/components/stepper/stepper.styles.js +1 -1
- package/cdn/components/stepper-step/stepper-step.component.d.ts +6 -0
- package/cdn/components/stepper-step/stepper-step.component.js +9 -9
- package/cdn/components/stepper-step/stepper-step.js +10 -10
- package/cdn/components/stepper-step/stepper-step.styles.js +1 -1
- package/cdn/components/tab/tab.component.js +8 -8
- package/cdn/components/tab/tab.js +9 -9
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/tabs/tabs.component.js +8 -8
- package/cdn/components/tabs/tabs.js +9 -9
- package/cdn/components/tag/tag.component.js +8 -8
- package/cdn/components/tag/tag.js +9 -9
- package/cdn/components/textarea/textarea.component.js +4 -4
- package/cdn/components/textarea/textarea.js +5 -5
- package/cdn/components/time-average-map/time-average-map.component.js +37 -37
- package/cdn/components/time-average-map/time-average-map.controller.js +7 -7
- package/cdn/components/time-average-map/time-average-map.js +38 -38
- package/cdn/components/time-series/time-series.component.js +38 -38
- package/cdn/components/time-series/time-series.controller.js +7 -7
- package/cdn/components/time-series/time-series.js +39 -39
- package/cdn/components/toast/toast.component.js +4 -4
- package/cdn/components/toast/toast.js +5 -5
- package/cdn/components/toggle/toggle.component.js +4 -4
- package/cdn/components/toggle/toggle.js +5 -5
- package/cdn/components/tooltip/tooltip.component.js +3 -3
- package/cdn/components/tooltip/tooltip.js +4 -4
- package/cdn/components/variable-combobox/lib.js +3 -3
- package/cdn/components/variable-combobox/variable-combobox.component.js +20 -20
- package/cdn/components/variable-combobox/variable-combobox.controller.js +4 -4
- package/cdn/components/variable-combobox/variable-combobox.js +21 -21
- package/cdn/components/variable-combobox/variable-combobox.styles.js +1 -1
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +13 -13
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +14 -14
- package/cdn/controllers/harmony-request.controller.d.ts +2 -1
- package/cdn/custom-elements.json +7891 -7687
- package/cdn/lib/harmony/harmony.request.d.ts +11 -1
- package/cdn/queries/harmony.queries.d.ts +14 -0
- package/cdn/react/accordion/index.js +7 -7
- package/cdn/react/alert/index.js +4 -4
- package/cdn/react/avatar/index.js +10 -10
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/banner/index.js +4 -4
- package/cdn/react/breadcrumb/index.js +3 -3
- package/cdn/react/breadcrumbs/index.js +3 -3
- package/cdn/react/browse-variables/index.d.ts +2 -0
- package/cdn/react/browse-variables/index.js +24 -20
- package/cdn/react/button/index.js +10 -10
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/caption/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/checkbox/index.js +11 -11
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +8 -8
- package/cdn/react/data-access/index.js +45 -45
- package/cdn/react/data-grid/index.js +6 -6
- package/cdn/react/data-rods/index.js +55 -55
- package/cdn/react/data-subsetter/index.js +60 -60
- package/cdn/react/data-subsetter-history/index.js +61 -61
- package/cdn/react/date-picker/index.js +17 -17
- package/cdn/react/date-range-slider/index.js +3 -3
- package/cdn/react/dialog/index.js +11 -11
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/dropdown/index.js +4 -4
- package/cdn/react/earthdata-login/index.js +18 -18
- package/cdn/react/file-upload/index.js +3 -3
- package/cdn/react/harmony-history/index.js +17 -17
- package/cdn/react/icon/index.js +6 -6
- package/cdn/react/index.d.ts +22 -22
- package/cdn/react/index.js +241 -241
- package/cdn/react/input/index.js +11 -11
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +15 -15
- package/cdn/react/map/index.js +14 -14
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +14 -14
- package/cdn/react/option/index.js +9 -9
- package/cdn/react/pagination/index.js +9 -9
- package/cdn/react/plot/index.js +4 -4
- package/cdn/react/plot-toolbar/index.js +27 -27
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +3 -3
- package/cdn/react/radio/index.js +5 -5
- package/cdn/react/radio-group/index.js +3 -3
- package/cdn/react/scroll-hint/index.js +9 -9
- package/cdn/react/select/index.js +12 -12
- package/cdn/react/site-header/index.js +8 -8
- package/cdn/react/site-navigation/index.js +3 -3
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/slider/index.js +3 -3
- package/cdn/react/spatial-picker/index.js +28 -28
- package/cdn/react/status-indicator/index.js +3 -3
- package/cdn/react/stepper/index.js +4 -4
- package/cdn/react/stepper-step/index.js +10 -10
- package/cdn/react/tab/index.js +9 -9
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/tabs/index.js +9 -9
- package/cdn/react/tag/index.js +9 -9
- package/cdn/react/textarea/index.js +5 -5
- package/cdn/react/time-average-map/index.js +38 -38
- package/cdn/react/time-series/index.js +39 -39
- package/cdn/react/toast/index.js +5 -5
- package/cdn/react/toggle/index.js +5 -5
- package/cdn/react/tooltip/index.js +4 -4
- package/cdn/react/variable-combobox/index.js +21 -21
- package/cdn/react/variable-keyword-search/index.js +14 -14
- package/cdn/terra-ui-components.js +230 -230
- package/cdn/themes/horizon.css +1 -1
- package/cdn/themes/horizon.styles.js +1 -1
- package/cdn/types/vue/index.d.ts +851 -841
- package/cdn/utilities/icon-library.js +2 -2
- package/cdn/vscode.html-custom-data.json +660 -659
- package/cdn/web-types.json +1957 -1933
- package/dist/apis/harmony.api.d.ts +7 -0
- package/dist/chunks/chunk.224RQGIQ.js +1 -0
- package/dist/chunks/chunk.23AJO5JN.js +1 -0
- package/dist/chunks/chunk.255AACF5.js +1 -0
- package/dist/chunks/chunk.2JIESSDW.js +1 -0
- package/dist/chunks/chunk.2JSRPRFD.js +1 -0
- package/dist/chunks/chunk.2WX6SQIN.js +1 -0
- package/dist/chunks/chunk.32QRSPS4.js +1 -0
- package/dist/chunks/chunk.3473E453.js +25 -0
- package/dist/chunks/chunk.3G5RMVYE.js +1 -0
- package/dist/chunks/chunk.3OLVJCSH.js +11 -0
- package/dist/chunks/chunk.3V5SLRI5.js +100 -0
- package/dist/chunks/chunk.3XRCUOUJ.js +5 -0
- package/dist/chunks/chunk.3Y6WWRX4.js +1 -0
- package/dist/chunks/chunk.4233YNTB.js +16 -0
- package/dist/chunks/chunk.46TLZFOW.js +1 -0
- package/dist/chunks/chunk.4GXEPG2P.js +1 -0
- package/dist/chunks/chunk.4PNNISNN.js +12 -0
- package/dist/chunks/chunk.4QXBDSLM.js +1 -0
- package/dist/chunks/chunk.4SEOBTSU.js +1 -0
- package/dist/chunks/chunk.4TPII7LG.js +1 -0
- package/dist/chunks/chunk.4WQ7VATR.js +1 -0
- package/dist/chunks/chunk.5K3WI2JJ.js +1 -0
- package/dist/chunks/chunk.5L32MMBB.js +1 -0
- package/dist/chunks/chunk.5MQKZTT2.js +1 -0
- package/dist/chunks/chunk.5P7CYUKX.js +1 -0
- package/dist/chunks/chunk.5RAKMWTT.js +1 -0
- package/dist/chunks/chunk.65Q3F3LJ.js +1 -0
- package/dist/chunks/chunk.6UGTTIL7.js +22 -0
- package/dist/chunks/chunk.74H67OO2.js +1 -0
- package/dist/chunks/chunk.75FLVY74.js +1 -0
- package/dist/chunks/chunk.77RIUMEQ.js +1 -0
- package/dist/chunks/chunk.7EG5USIU.js +17 -0
- package/dist/chunks/chunk.7IPNSQO2.js +1 -0
- package/dist/chunks/chunk.7JR6HYAR.js +1 -0
- package/dist/chunks/chunk.7KS523XQ.js +1 -0
- package/dist/chunks/chunk.7NHLPVYX.js +1 -0
- package/dist/chunks/chunk.7OHXT3IB.js +125 -0
- package/dist/chunks/chunk.7S5GHPMV.js +1 -0
- package/dist/chunks/chunk.A3HVUSWF.js +2 -0
- package/dist/chunks/chunk.ALBESADY.js +9 -0
- package/dist/chunks/chunk.AMTFHH3Q.js +1 -0
- package/dist/chunks/chunk.AQ5MV2PT.js +1 -0
- package/dist/chunks/chunk.ATKXVJOW.js +1 -0
- package/dist/chunks/chunk.B3MAWEN3.js +1 -0
- package/dist/chunks/chunk.B4E5VH3P.js +1 -0
- package/dist/chunks/chunk.B64IWXB6.js +1 -0
- package/dist/chunks/chunk.B6W7HFEB.js +1 -0
- package/dist/chunks/chunk.B7BKAZPP.js +1 -0
- package/dist/chunks/chunk.BBSZLWRW.js +1 -0
- package/dist/chunks/chunk.BFQBOANQ.js +1 -0
- package/dist/chunks/chunk.BJUETMM7.js +1 -0
- package/dist/chunks/chunk.BKTDTLSZ.js +356 -0
- package/dist/chunks/chunk.BLSN7TN3.js +1 -0
- package/dist/chunks/chunk.BM4VCIE3.js +1 -0
- package/dist/chunks/chunk.C5I3XGMY.js +64 -0
- package/dist/chunks/chunk.CK3QZMBE.js +20 -0
- package/dist/chunks/chunk.CM5PJDTJ.js +1 -0
- package/dist/chunks/chunk.CPE2JWFP.js +1 -0
- package/dist/chunks/chunk.CSI5FZUQ.js +1 -0
- package/dist/chunks/chunk.CWCJ7NPX.js +39 -0
- package/dist/chunks/chunk.D2BO7SXC.js +572 -0
- package/dist/chunks/chunk.D7CTZNLO.js +1 -0
- package/dist/chunks/chunk.DASVSHE2.js +122 -0
- package/dist/chunks/chunk.DBYNAZJ5.js +1 -0
- package/dist/chunks/chunk.DDLNROG2.js +1 -0
- package/dist/chunks/chunk.DQRYUPZU.js +1 -0
- package/dist/chunks/chunk.DX7K7LQL.js +1 -0
- package/dist/chunks/chunk.E322JSYC.js +1 -0
- package/dist/chunks/chunk.E3IZSCAQ.js +1 -0
- package/dist/chunks/chunk.E4TPOBZZ.js +26 -0
- package/dist/chunks/chunk.E5ZOHYTS.js +13 -0
- package/dist/chunks/chunk.EDO3KNNV.js +1 -0
- package/dist/chunks/chunk.EENXQ7FB.js +39 -0
- package/dist/chunks/chunk.EKBFKFVE.js +1 -0
- package/dist/chunks/chunk.EKPDUNBI.js +1 -0
- package/dist/chunks/chunk.ES3HNM2X.js +1 -0
- package/dist/chunks/chunk.EVHJJHLC.js +5 -0
- package/dist/chunks/chunk.EXCWGDK5.js +1 -0
- package/dist/chunks/chunk.F323KAPC.js +1 -0
- package/dist/chunks/chunk.F726CW4Q.js +1 -0
- package/dist/chunks/chunk.F76PQOT5.js +1 -0
- package/dist/chunks/chunk.FAWWXCJS.js +1 -0
- package/dist/chunks/chunk.FL7S7XOW.js +1 -0
- package/dist/chunks/chunk.FLRYZC3Y.js +1 -0
- package/dist/chunks/chunk.FMHRQDVQ.js +1 -0
- package/dist/chunks/chunk.FPOJCR2I.js +1 -0
- package/dist/chunks/chunk.G32X765Q.js +1 -0
- package/dist/chunks/chunk.G7C3NVYN.js +1 -0
- package/dist/chunks/chunk.GACVGPS5.js +1 -0
- package/dist/chunks/chunk.GFSY3DK7.js +1 -0
- package/dist/chunks/chunk.GJXW4PLR.js +43 -0
- package/dist/chunks/chunk.GMPJDMFO.js +1 -0
- package/dist/chunks/chunk.GZFHZRBN.js +19 -0
- package/dist/chunks/chunk.HE72A6CI.js +1 -0
- package/dist/chunks/chunk.HFUDHMSV.js +121 -0
- package/dist/chunks/chunk.HKUZZUCQ.js +157 -0
- package/dist/chunks/chunk.HLRVGPJI.js +1 -0
- package/dist/chunks/chunk.HM3GGGSZ.js +80 -0
- package/dist/chunks/chunk.HMJSVFLA.js +2 -0
- package/dist/chunks/chunk.HSPY2KHW.js +1 -0
- package/dist/chunks/chunk.HSU3GORK.js +1 -0
- package/dist/chunks/chunk.HZJALTAY.js +47 -0
- package/dist/chunks/chunk.I76ZGR5O.js +1 -0
- package/dist/chunks/chunk.IHH5IUXO.js +145 -0
- package/dist/chunks/chunk.II3GLGL3.js +1 -0
- package/dist/chunks/chunk.IIJNFZVF.js +35 -0
- package/dist/chunks/chunk.IV5N3NC3.js +1 -0
- package/dist/chunks/chunk.J6WCYCRH.js +1 -0
- package/dist/chunks/chunk.JF4PHYCT.js +1 -0
- package/dist/chunks/chunk.JHTKTEXH.js +1 -0
- package/dist/chunks/chunk.JHU4BG26.js +113 -0
- package/dist/chunks/chunk.JHZGV3DO.js +1 -0
- package/dist/chunks/chunk.JRRXWQNN.js +30 -0
- package/dist/chunks/chunk.JU3GZHPF.js +1 -0
- package/dist/chunks/chunk.JVZDQGJM.js +1 -0
- package/dist/chunks/chunk.K45NIOAW.js +37 -0
- package/dist/chunks/chunk.KC7KA2T7.js +55 -0
- package/dist/chunks/chunk.KCUVHJLC.js +1 -0
- package/dist/chunks/chunk.KEOX3HYL.js +6 -0
- package/dist/chunks/chunk.KOKSE6TG.js +1 -0
- package/dist/chunks/chunk.KTO4CWMX.js +1 -0
- package/dist/chunks/chunk.LVJYASQH.js +41 -0
- package/dist/chunks/chunk.M2V3P4RJ.js +35 -0
- package/dist/chunks/chunk.M3R3ADJT.js +1 -0
- package/dist/chunks/chunk.MD3WWSWH.js +1 -0
- package/dist/chunks/chunk.MGAR4A2C.js +1 -0
- package/dist/chunks/chunk.MHOPPG2L.js +27 -0
- package/dist/chunks/chunk.MHRETNDL.js +1 -0
- package/dist/chunks/chunk.MP2PA6I2.js +1 -0
- package/dist/chunks/chunk.MSTQMCZU.js +1 -0
- package/dist/chunks/chunk.MVZAQH35.js +1 -0
- package/dist/chunks/chunk.N6Y6OHJ2.js +1 -0
- package/dist/chunks/chunk.NEIV46YH.js +6 -0
- package/dist/chunks/chunk.NIKXQX3G.js +1 -0
- package/dist/chunks/chunk.NN26JW46.js +1 -0
- package/dist/chunks/chunk.NPVMA3OB.js +1 -0
- package/dist/chunks/chunk.OFQCUCKL.js +1 -0
- package/dist/chunks/chunk.OO3D3KYA.js +1 -0
- package/dist/chunks/chunk.OREQUNFN.js +1 -0
- package/dist/chunks/chunk.ORWDKUUV.js +1 -0
- package/dist/chunks/chunk.OSDEVN34.js +1001 -0
- package/dist/chunks/chunk.PLRFVB2T.js +523 -0
- package/dist/chunks/chunk.PMHKDAX4.js +14 -0
- package/dist/chunks/chunk.PMJBCFBC.js +4 -0
- package/dist/chunks/chunk.PPO2L3BE.js +24 -0
- package/dist/chunks/chunk.PQC63KGW.js +1 -0
- package/dist/chunks/chunk.PX6KXK37.js +112 -0
- package/dist/chunks/chunk.Q4V6CU45.js +1 -0
- package/dist/chunks/chunk.QD4WEVFW.js +1 -0
- package/dist/chunks/chunk.QFRJ47QK.js +1 -0
- package/dist/chunks/chunk.QGUTUAAS.js +55 -0
- package/dist/chunks/chunk.QVACFQ6X.js +1 -0
- package/dist/chunks/chunk.RAGUMQ4A.js +55 -0
- package/dist/chunks/chunk.RDSM7QJJ.js +1 -0
- package/dist/chunks/chunk.RJDX64F6.js +1 -0
- package/dist/chunks/chunk.RNK2SP3V.js +300 -0
- package/dist/chunks/chunk.RONKZSI5.js +1 -0
- package/dist/chunks/chunk.RQ3QRNRD.js +1 -0
- package/dist/chunks/chunk.RQHOJJUK.js +41 -0
- package/dist/chunks/chunk.RZC34L3A.js +26 -0
- package/dist/chunks/chunk.S5NWLDV6.js +1 -0
- package/dist/chunks/chunk.S6DL72MM.js +30 -0
- package/dist/chunks/chunk.S7X6AHZ3.js +11 -0
- package/dist/chunks/chunk.SUB7TSSV.js +1 -0
- package/dist/chunks/chunk.SWS3QDB5.js +8 -0
- package/dist/chunks/chunk.T37ISYQF.js +9 -0
- package/dist/chunks/chunk.TCE5GLO5.js +176 -0
- package/dist/chunks/chunk.TFQQDQPV.js +280 -0
- package/dist/chunks/chunk.TFVCIEQV.js +1 -0
- package/dist/chunks/chunk.TLCZPOGI.js +48 -0
- package/dist/chunks/chunk.TTHCQTJ5.js +1 -0
- package/dist/chunks/chunk.TWJJEPQI.js +1 -0
- package/dist/chunks/chunk.TXJOFCEB.js +20 -0
- package/dist/chunks/chunk.TYNOXO54.js +1 -0
- package/dist/chunks/chunk.TZ7VJYIG.js +1 -0
- package/dist/chunks/chunk.U423CTVK.js +1 -0
- package/dist/chunks/chunk.UDYMR57E.js +1 -0
- package/dist/chunks/chunk.UGALPERB.js +43 -0
- package/dist/chunks/chunk.UIR62OUZ.js +62 -0
- package/dist/chunks/chunk.UMFR3QZQ.js +1 -0
- package/dist/chunks/chunk.UWDWRAHZ.js +65 -0
- package/dist/chunks/chunk.V7NXYMPF.js +1 -0
- package/dist/chunks/chunk.VAMOIXWY.js +1 -0
- package/dist/chunks/chunk.VHVKDUXK.js +154 -0
- package/dist/chunks/chunk.VJ3TYI65.js +61 -0
- package/dist/chunks/chunk.VJ4PWETP.js +1 -0
- package/dist/chunks/chunk.VWWZFJJ3.js +1 -0
- package/dist/chunks/chunk.VYTCCGU7.js +74 -0
- package/dist/chunks/chunk.W2GWFBVH.js +1 -0
- package/dist/chunks/chunk.WFO7B4CB.js +1 -0
- package/dist/chunks/chunk.WKMUXXFT.js +1 -0
- package/dist/chunks/chunk.WO2UTEZC.js +4 -0
- package/dist/chunks/chunk.WT7V4Q75.js +67 -0
- package/dist/chunks/chunk.X4CA6KJW.js +1237 -0
- package/dist/chunks/chunk.XCGCQBTO.js +75 -0
- package/dist/chunks/chunk.XEXMENPB.js +780 -0
- package/dist/chunks/chunk.XLWUUG42.js +1 -0
- package/dist/chunks/chunk.XVIMCVSP.js +1 -0
- package/dist/chunks/chunk.XYM23MGW.js +1 -0
- package/dist/chunks/chunk.Y3ORBJE7.js +99 -0
- package/dist/chunks/chunk.Y4XLYB7I.js +33 -0
- package/dist/chunks/chunk.YP2AC3MD.js +1 -0
- package/dist/chunks/chunk.YXOAWWRW.js +350 -0
- package/dist/chunks/chunk.ZC3HYGTS.js +1 -0
- package/dist/chunks/chunk.ZCSONYDN.js +1 -0
- package/dist/chunks/chunk.ZDT2WOI7.js +23 -0
- package/dist/chunks/chunk.ZFNXPSQV.js +1 -0
- package/dist/chunks/chunk.ZGEMTZQ4.js +1 -0
- package/dist/chunks/chunk.ZJ4RZQYD.js +1 -0
- package/dist/chunks/chunk.ZJANM2QG.js +1 -0
- package/dist/chunks/chunk.ZN4K6E24.js +1 -0
- package/dist/chunks/chunk.ZRMNGS5U.js +1 -0
- package/dist/chunks/chunk.ZWWZUICO.js +1 -0
- package/dist/chunks/chunk.ZYGLUFVQ.js +148 -0
- package/dist/components/accordion/accordion.component.js +1 -1
- package/dist/components/accordion/accordion.js +1 -1
- package/dist/components/alert/alert.component.js +1 -1
- package/dist/components/alert/alert.js +1 -1
- package/dist/components/avatar/avatar.component.js +1 -1
- package/dist/components/avatar/avatar.js +1 -1
- package/dist/components/badge/badge.component.js +1 -1
- package/dist/components/badge/badge.js +1 -1
- package/dist/components/banner/banner.component.js +1 -1
- package/dist/components/banner/banner.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.component.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.component.js +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.js +1 -1
- package/dist/components/browse-variables/browse-variables.component.d.ts +15 -0
- package/dist/components/browse-variables/browse-variables.component.js +1 -1
- package/dist/components/browse-variables/browse-variables.js +1 -1
- package/dist/components/browse-variables/browse-variables.styles.js +1 -1
- package/dist/components/button/button.component.js +1 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/button-group/button-group.component.js +1 -1
- package/dist/components/button-group/button-group.js +1 -1
- package/dist/components/caption/caption.component.js +1 -1
- package/dist/components/caption/caption.js +1 -1
- package/dist/components/card/card.component.js +1 -1
- package/dist/components/card/card.js +1 -1
- package/dist/components/checkbox/checkbox.component.js +1 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/chip/chip.component.js +1 -1
- package/dist/components/chip/chip.js +1 -1
- package/dist/components/combobox/combobox.component.js +1 -1
- package/dist/components/combobox/combobox.js +1 -1
- package/dist/components/data-access/data-access.component.js +1 -1
- package/dist/components/data-access/data-access.js +1 -1
- package/dist/components/data-grid/data-grid.component.js +1 -1
- package/dist/components/data-grid/data-grid.js +1 -1
- package/dist/components/data-rods/data-rods.component.js +1 -1
- package/dist/components/data-rods/data-rods.js +1 -1
- package/dist/components/data-subsetter/data-subsetter.component.d.ts +4 -1
- package/dist/components/data-subsetter/data-subsetter.component.js +1 -1
- package/dist/components/data-subsetter/data-subsetter.js +1 -1
- package/dist/components/data-subsetter/data-subsetter.styles.js +1 -1
- package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
- package/dist/components/data-subsetter-history/data-subsetter-history.component.js +1 -1
- package/dist/components/data-subsetter-history/data-subsetter-history.js +1 -1
- package/dist/components/date-picker/date-picker.component.js +1 -1
- package/dist/components/date-picker/date-picker.js +1 -1
- package/dist/components/date-range-slider/date-range-slider.component.js +1 -1
- package/dist/components/date-range-slider/date-range-slider.js +1 -1
- package/dist/components/dialog/dialog.component.js +1 -1
- package/dist/components/dialog/dialog.js +1 -1
- package/dist/components/divider/divider.component.js +1 -1
- package/dist/components/divider/divider.js +1 -1
- package/dist/components/dropdown/dropdown.component.js +1 -1
- package/dist/components/dropdown/dropdown.js +1 -1
- package/dist/components/earthdata-login/earthdata-login.component.js +1 -1
- package/dist/components/earthdata-login/earthdata-login.js +1 -1
- package/dist/components/file-upload/file-upload.component.d.ts +1 -0
- package/dist/components/file-upload/file-upload.component.js +1 -1
- package/dist/components/file-upload/file-upload.js +1 -1
- package/dist/components/harmony-history/harmony-history.component.js +1 -1
- package/dist/components/harmony-history/harmony-history.js +1 -1
- package/dist/components/icon/icon.component.js +1 -1
- package/dist/components/icon/icon.js +1 -1
- package/dist/components/icon/library.js +1 -1
- package/dist/components/input/input.component.js +1 -1
- package/dist/components/input/input.js +1 -1
- package/dist/components/loader/loader.component.js +1 -1
- package/dist/components/loader/loader.js +1 -1
- package/dist/components/login/login.component.js +1 -1
- package/dist/components/login/login.js +1 -1
- package/dist/components/map/controls/draw-toolbar.control.js +1 -1
- package/dist/components/map/map.component.js +1 -1
- package/dist/components/map/map.js +1 -1
- package/dist/components/map/map.service.js +1 -1
- package/dist/components/map/models/LatLng.d.ts +6 -0
- package/dist/components/map/models/LatLng.js +1 -1
- package/dist/components/map/models/LatLngBounds.d.ts +5 -0
- package/dist/components/map/models/LatLngBounds.js +1 -1
- package/dist/components/menu/menu.component.js +1 -1
- package/dist/components/menu/menu.js +1 -1
- package/dist/components/menu-item/menu-item.component.js +1 -1
- package/dist/components/menu-item/menu-item.js +1 -1
- package/dist/components/option/option.component.js +1 -1
- package/dist/components/option/option.js +1 -1
- package/dist/components/pagination/pagination.component.js +1 -1
- package/dist/components/pagination/pagination.js +1 -1
- package/dist/components/plot/plot.component.js +1 -1
- package/dist/components/plot/plot.js +1 -1
- package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
- package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
- package/dist/components/plot-toolbar/plot-toolbar.component.js +1 -1
- package/dist/components/plot-toolbar/plot-toolbar.js +1 -1
- package/dist/components/popup/popup.component.js +1 -1
- package/dist/components/popup/popup.js +1 -1
- package/dist/components/progress-bar/progress-bar.component.js +1 -1
- package/dist/components/progress-bar/progress-bar.js +1 -1
- package/dist/components/radio/radio.component.js +1 -1
- package/dist/components/radio/radio.js +1 -1
- package/dist/components/radio-group/radio-group.component.js +1 -1
- package/dist/components/radio-group/radio-group.js +1 -1
- package/dist/components/scroll-hint/scroll-hint.component.js +1 -1
- package/dist/components/scroll-hint/scroll-hint.js +1 -1
- package/dist/components/select/select.component.js +1 -1
- package/dist/components/select/select.js +1 -1
- package/dist/components/site-header/site-header.component.js +1 -1
- package/dist/components/site-header/site-header.js +1 -1
- package/dist/components/site-navigation/site-navigation.component.js +1 -1
- package/dist/components/site-navigation/site-navigation.js +1 -1
- package/dist/components/skeleton/skeleton.component.js +1 -1
- package/dist/components/skeleton/skeleton.js +1 -1
- package/dist/components/slider/slider.component.js +1 -1
- package/dist/components/slider/slider.js +1 -1
- package/dist/components/spatial-picker/spatial-picker.component.js +1 -1
- package/dist/components/spatial-picker/spatial-picker.js +1 -1
- package/dist/components/spatial-picker/spatial-picker.service.js +1 -1
- package/dist/components/status-indicator/status-indicator.component.js +1 -1
- package/dist/components/status-indicator/status-indicator.js +1 -1
- package/dist/components/stepper/stepper.component.d.ts +8 -0
- package/dist/components/stepper/stepper.component.js +1 -1
- package/dist/components/stepper/stepper.js +1 -1
- package/dist/components/stepper/stepper.styles.js +1 -1
- package/dist/components/stepper-step/stepper-step.component.d.ts +6 -0
- package/dist/components/stepper-step/stepper-step.component.js +1 -1
- package/dist/components/stepper-step/stepper-step.js +1 -1
- package/dist/components/stepper-step/stepper-step.styles.js +1 -1
- package/dist/components/tab/tab.component.js +1 -1
- package/dist/components/tab/tab.js +1 -1
- package/dist/components/tab-panel/tab-panel.component.js +1 -1
- package/dist/components/tab-panel/tab-panel.js +1 -1
- package/dist/components/tabs/tabs.component.js +1 -1
- package/dist/components/tabs/tabs.js +1 -1
- package/dist/components/tag/tag.component.js +1 -1
- package/dist/components/tag/tag.js +1 -1
- package/dist/components/textarea/textarea.component.js +1 -1
- package/dist/components/textarea/textarea.js +1 -1
- package/dist/components/time-average-map/time-average-map.component.js +1 -1
- package/dist/components/time-average-map/time-average-map.controller.js +1 -1
- package/dist/components/time-average-map/time-average-map.js +1 -1
- package/dist/components/time-series/time-series.component.js +1 -1
- package/dist/components/time-series/time-series.controller.js +1 -1
- package/dist/components/time-series/time-series.js +1 -1
- package/dist/components/toast/toast.component.js +1 -1
- package/dist/components/toast/toast.js +1 -1
- package/dist/components/toggle/toggle.component.js +1 -1
- package/dist/components/toggle/toggle.js +1 -1
- package/dist/components/tooltip/tooltip.component.js +1 -1
- package/dist/components/tooltip/tooltip.js +1 -1
- package/dist/components/variable-combobox/variable-combobox.component.js +1 -1
- package/dist/components/variable-combobox/variable-combobox.js +1 -1
- package/dist/components/variable-combobox/variable-combobox.styles.js +1 -1
- package/dist/components/variable-keyword-search/variable-keyword-search.component.js +1 -1
- package/dist/components/variable-keyword-search/variable-keyword-search.js +1 -1
- package/dist/controllers/harmony-request.controller.d.ts +2 -1
- package/dist/custom-elements.json +7891 -7687
- package/dist/lib/harmony/harmony.request.d.ts +11 -1
- package/dist/queries/harmony.queries.d.ts +14 -0
- package/dist/react/accordion/index.js +1 -1
- package/dist/react/alert/index.js +1 -1
- package/dist/react/avatar/index.js +1 -1
- package/dist/react/badge/index.js +1 -1
- package/dist/react/banner/index.js +1 -1
- package/dist/react/breadcrumb/index.js +1 -1
- package/dist/react/breadcrumbs/index.js +1 -1
- package/dist/react/browse-variables/index.d.ts +2 -0
- package/dist/react/browse-variables/index.js +1 -1
- package/dist/react/button/index.js +1 -1
- package/dist/react/button-group/index.js +1 -1
- package/dist/react/caption/index.js +1 -1
- package/dist/react/card/index.js +1 -1
- package/dist/react/checkbox/index.js +1 -1
- package/dist/react/chip/index.js +1 -1
- package/dist/react/combobox/index.js +1 -1
- package/dist/react/data-access/index.js +1 -1
- package/dist/react/data-grid/index.js +1 -1
- package/dist/react/data-rods/index.js +1 -1
- package/dist/react/data-subsetter/index.js +1 -1
- package/dist/react/data-subsetter-history/index.js +1 -1
- package/dist/react/date-picker/index.js +1 -1
- package/dist/react/date-range-slider/index.js +1 -1
- package/dist/react/dialog/index.js +1 -1
- package/dist/react/divider/index.js +1 -1
- package/dist/react/dropdown/index.js +1 -1
- package/dist/react/earthdata-login/index.js +1 -1
- package/dist/react/file-upload/index.js +1 -1
- package/dist/react/harmony-history/index.js +1 -1
- package/dist/react/icon/index.js +1 -1
- package/dist/react/index.d.ts +22 -22
- package/dist/react/index.js +1 -1
- package/dist/react/input/index.js +1 -1
- package/dist/react/loader/index.js +1 -1
- package/dist/react/login/index.js +1 -1
- package/dist/react/map/index.js +1 -1
- package/dist/react/menu/index.js +1 -1
- package/dist/react/menu-item/index.js +1 -1
- package/dist/react/option/index.js +1 -1
- package/dist/react/pagination/index.js +1 -1
- package/dist/react/plot/index.js +1 -1
- package/dist/react/plot-toolbar/index.js +1 -1
- package/dist/react/popup/index.js +1 -1
- package/dist/react/progress-bar/index.js +1 -1
- package/dist/react/radio/index.js +1 -1
- package/dist/react/radio-group/index.js +1 -1
- package/dist/react/scroll-hint/index.js +1 -1
- package/dist/react/select/index.js +1 -1
- package/dist/react/site-header/index.js +1 -1
- package/dist/react/site-navigation/index.js +1 -1
- package/dist/react/skeleton/index.js +1 -1
- package/dist/react/slider/index.js +1 -1
- package/dist/react/spatial-picker/index.js +1 -1
- package/dist/react/status-indicator/index.js +1 -1
- package/dist/react/stepper/index.js +1 -1
- package/dist/react/stepper-step/index.js +1 -1
- package/dist/react/tab/index.js +1 -1
- package/dist/react/tab-panel/index.js +1 -1
- package/dist/react/tabs/index.js +1 -1
- package/dist/react/tag/index.js +1 -1
- package/dist/react/textarea/index.js +1 -1
- package/dist/react/time-average-map/index.js +1 -1
- package/dist/react/time-series/index.js +1 -1
- package/dist/react/toast/index.js +1 -1
- package/dist/react/toggle/index.js +1 -1
- package/dist/react/tooltip/index.js +1 -1
- package/dist/react/variable-combobox/index.js +1 -1
- package/dist/react/variable-keyword-search/index.js +1 -1
- package/dist/terra-ui-components.js +1 -1
- package/dist/terra_ui_components-0.0.202-py3-none-any.whl +0 -0
- package/dist/terra_ui_components-0.0.202.tar.gz +0 -0
- package/dist/themes/horizon.css +1 -1
- package/dist/themes/horizon.styles.js +1 -1
- package/dist/types/vue/index.d.ts +851 -841
- package/dist/utilities/icon-library.js +1 -1
- package/dist/vscode.html-custom-data.json +660 -659
- package/dist/web-types.json +1957 -1933
- package/package.json +72 -69
- package/cdn/chunks/chunk.22K3ASXQ.js +0 -62
- package/cdn/chunks/chunk.22YYG5T3.js +0 -364
- package/cdn/chunks/chunk.237CAJ4E.js +0 -234
- package/cdn/chunks/chunk.2AGOVOKY.js +0 -19
- package/cdn/chunks/chunk.2AQ4DWRT.js +0 -138
- package/cdn/chunks/chunk.2EKZ6PMU.js +0 -19
- package/cdn/chunks/chunk.2IMFMBAO.js +0 -19
- package/cdn/chunks/chunk.2SRKUJIF.js +0 -158
- package/cdn/chunks/chunk.2TM7BKAY.js +0 -543
- package/cdn/chunks/chunk.33YJP7MI.js +0 -113
- package/cdn/chunks/chunk.35B4WZA2.js +0 -19
- package/cdn/chunks/chunk.35FW6JQN.js +0 -610
- package/cdn/chunks/chunk.37ZSWJEY.js +0 -925
- package/cdn/chunks/chunk.3UIHCWKZ.js +0 -29
- package/cdn/chunks/chunk.3Y7HZ5CS.js +0 -110
- package/cdn/chunks/chunk.4GFUIW55.js +0 -29
- package/cdn/chunks/chunk.4HTEUTHY.js +0 -19
- package/cdn/chunks/chunk.4L7AK4GX.js +0 -74
- package/cdn/chunks/chunk.4QAPEPKV.js +0 -19
- package/cdn/chunks/chunk.53B2ADK3.js +0 -56075
- package/cdn/chunks/chunk.55WRSCJY.js +0 -978
- package/cdn/chunks/chunk.5HZOFXIW.js +0 -32
- package/cdn/chunks/chunk.5I7EJKUF.js +0 -29
- package/cdn/chunks/chunk.5WY6U6ZD.js +0 -19
- package/cdn/chunks/chunk.5YAN7WHN.js +0 -394
- package/cdn/chunks/chunk.5YMEJ2HW.js +0 -29
- package/cdn/chunks/chunk.5YMVKN3L.js +0 -19
- package/cdn/chunks/chunk.645RP6PO.js +0 -19
- package/cdn/chunks/chunk.67I6N5T3.js +0 -32
- package/cdn/chunks/chunk.6EZRRDKD.js +0 -29
- package/cdn/chunks/chunk.6LTZG5BR.js +0 -19
- package/cdn/chunks/chunk.6UWDJWHZ.js +0 -29
- package/cdn/chunks/chunk.6X6QHOXA.js +0 -41
- package/cdn/chunks/chunk.72YPZG3A.js +0 -1975
- package/cdn/chunks/chunk.76WTRGHU.js +0 -19
- package/cdn/chunks/chunk.7EJFTCTS.js +0 -592
- package/cdn/chunks/chunk.7FWVTECG.js +0 -155
- package/cdn/chunks/chunk.7NPZ3NNG.js +0 -33
- package/cdn/chunks/chunk.7P7YF5AG.js +0 -19
- package/cdn/chunks/chunk.7X22RVNF.js +0 -672
- package/cdn/chunks/chunk.A35DYTQA.js +0 -29
- package/cdn/chunks/chunk.A4SDQO2B.js +0 -32
- package/cdn/chunks/chunk.A57F3Z5Z.js +0 -106
- package/cdn/chunks/chunk.ACQ5NFZO.js +0 -371
- package/cdn/chunks/chunk.AFEHLJOD.js +0 -230
- package/cdn/chunks/chunk.AFJNRCDT.js +0 -71
- package/cdn/chunks/chunk.AHX4FQI7.js +0 -51
- package/cdn/chunks/chunk.AKEAFDB3.js +0 -128
- package/cdn/chunks/chunk.ALCZPQMP.js +0 -33
- package/cdn/chunks/chunk.AOQ45IKG.js +0 -19
- package/cdn/chunks/chunk.AQFFDCEY.js +0 -19
- package/cdn/chunks/chunk.AQSGAQTF.js +0 -29
- package/cdn/chunks/chunk.ASJLND3B.js +0 -77
- package/cdn/chunks/chunk.AV6EWZUQ.js +0 -19
- package/cdn/chunks/chunk.B2HOZPO6.js +0 -56
- package/cdn/chunks/chunk.B35FANVS.js +0 -29
- package/cdn/chunks/chunk.B42N7DPY.js +0 -30
- package/cdn/chunks/chunk.B4MS6VWQ.js +0 -195
- package/cdn/chunks/chunk.BHUAEKJD.js +0 -276
- package/cdn/chunks/chunk.BOL5PXSR.js +0 -19
- package/cdn/chunks/chunk.BT7RVB7W.js +0 -657
- package/cdn/chunks/chunk.BTW6CCUL.js +0 -259
- package/cdn/chunks/chunk.BY4TY5YO.js +0 -278
- package/cdn/chunks/chunk.C47DI5S4.js +0 -443
- package/cdn/chunks/chunk.CF5UIDMB.js +0 -60
- package/cdn/chunks/chunk.CNWAUC6R.js +0 -19
- package/cdn/chunks/chunk.CR6J5O3B.js +0 -19
- package/cdn/chunks/chunk.CROGJ6YF.js +0 -128
- package/cdn/chunks/chunk.CUOL7ZLU.js +0 -29
- package/cdn/chunks/chunk.CXU7UUG5.js +0 -29
- package/cdn/chunks/chunk.D45EUIAY.js +0 -298
- package/cdn/chunks/chunk.D7LXSRPA.js +0 -47
- package/cdn/chunks/chunk.DJBUFBVH.js +0 -35
- package/cdn/chunks/chunk.DQSN2HRA.js +0 -19
- package/cdn/chunks/chunk.DUQOT6LG.js +0 -19
- package/cdn/chunks/chunk.E3EZQDS2.js +0 -19
- package/cdn/chunks/chunk.E5G62PCF.js +0 -293
- package/cdn/chunks/chunk.EBLLWPKJ.js +0 -29
- package/cdn/chunks/chunk.ELNFMESU.js +0 -224
- package/cdn/chunks/chunk.ELP4G37Y.js +0 -19
- package/cdn/chunks/chunk.ESAVXMOK.js +0 -29
- package/cdn/chunks/chunk.EVXCDWEK.js +0 -19
- package/cdn/chunks/chunk.EZGCGYHR.js +0 -32
- package/cdn/chunks/chunk.F7QE3QNK.js +0 -93
- package/cdn/chunks/chunk.FF6RYBZH.js +0 -83
- package/cdn/chunks/chunk.FKMWKHU4.js +0 -19
- package/cdn/chunks/chunk.FOMOMN2R.js +0 -93
- package/cdn/chunks/chunk.FPRDZO74.js +0 -377
- package/cdn/chunks/chunk.FWOG7W7G.js +0 -19
- package/cdn/chunks/chunk.GBIRPGIZ.js +0 -19
- package/cdn/chunks/chunk.GCCNVPUP.js +0 -33
- package/cdn/chunks/chunk.GEXMYKN6.js +0 -19
- package/cdn/chunks/chunk.GLV7IM44.js +0 -29
- package/cdn/chunks/chunk.GTSD3RXV.js +0 -32
- package/cdn/chunks/chunk.GUK7VMT5.js +0 -190
- package/cdn/chunks/chunk.GWKH3CLP.js +0 -19
- package/cdn/chunks/chunk.GYZOSZRQ.js +0 -36
- package/cdn/chunks/chunk.H4HEB4ER.js +0 -110
- package/cdn/chunks/chunk.H55WHCAH.js +0 -29
- package/cdn/chunks/chunk.H7PFNRZC.js +0 -19
- package/cdn/chunks/chunk.HBG4C57A.js +0 -34
- package/cdn/chunks/chunk.HT4VXYXY.js +0 -37
- package/cdn/chunks/chunk.HTY4OINL.js +0 -19
- package/cdn/chunks/chunk.HYPSB6EN.js +0 -524
- package/cdn/chunks/chunk.HYZPA7O5.js +0 -36
- package/cdn/chunks/chunk.HZDP5DDD.js +0 -19
- package/cdn/chunks/chunk.I7HUTXHU.js +0 -479
- package/cdn/chunks/chunk.IH6V43NT.js +0 -19
- package/cdn/chunks/chunk.ISUXVNMN.js +0 -19
- package/cdn/chunks/chunk.ITK2GQEZ.js +0 -1002
- package/cdn/chunks/chunk.IU46TB7O.js +0 -132
- package/cdn/chunks/chunk.JDOWPVSJ.js +0 -32
- package/cdn/chunks/chunk.JQIQYHYS.js +0 -34
- package/cdn/chunks/chunk.JX3LVSGD.js +0 -19
- package/cdn/chunks/chunk.JXSV4XD4.js +0 -303
- package/cdn/chunks/chunk.JYQEDEGJ.js +0 -19
- package/cdn/chunks/chunk.K3IZCOE2.js +0 -19
- package/cdn/chunks/chunk.K4LUO6QF.js +0 -36
- package/cdn/chunks/chunk.KBT6IPHV.js +0 -19
- package/cdn/chunks/chunk.KC4U5UVG.js +0 -68
- package/cdn/chunks/chunk.KG5LAQGX.js +0 -37
- package/cdn/chunks/chunk.KMER3IDE.js +0 -29
- package/cdn/chunks/chunk.KYRAV2AH.js +0 -277
- package/cdn/chunks/chunk.L4JZ24PE.js +0 -19
- package/cdn/chunks/chunk.L77N7C7E.js +0 -171
- package/cdn/chunks/chunk.LNV4U7DG.js +0 -29
- package/cdn/chunks/chunk.LPJQVIZJ.js +0 -29
- package/cdn/chunks/chunk.LRZIT4M2.js +0 -157
- package/cdn/chunks/chunk.LY2GSFDD.js +0 -32
- package/cdn/chunks/chunk.LZXHPGRW.js +0 -19
- package/cdn/chunks/chunk.M3TPDRI3.js +0 -616
- package/cdn/chunks/chunk.MAHUWVEN.js +0 -279
- package/cdn/chunks/chunk.MN6ZUUP5.js +0 -19
- package/cdn/chunks/chunk.MPYGI52D.js +0 -19
- package/cdn/chunks/chunk.MT33TVQC.js +0 -60
- package/cdn/chunks/chunk.MTZHUNOJ.js +0 -29
- package/cdn/chunks/chunk.MVVUX7LF.js +0 -359
- package/cdn/chunks/chunk.MWW325LP.js +0 -2546
- package/cdn/chunks/chunk.MXPYZ4NU.js +0 -19
- package/cdn/chunks/chunk.MYWP2D5C.js +0 -19
- package/cdn/chunks/chunk.MZKFJYOZ.js +0 -49
- package/cdn/chunks/chunk.N37FLG5H.js +0 -29
- package/cdn/chunks/chunk.N43SVPNI.js +0 -151
- package/cdn/chunks/chunk.N6AJA3G4.js +0 -19
- package/cdn/chunks/chunk.NDALC32H.js +0 -604
- package/cdn/chunks/chunk.NQ7ZT5GF.js +0 -35
- package/cdn/chunks/chunk.NQLIIDC4.js +0 -81
- package/cdn/chunks/chunk.NRP27IFE.js +0 -357
- package/cdn/chunks/chunk.NV5HIRCL.js +0 -4735
- package/cdn/chunks/chunk.NVVFTXBE.js +0 -82
- package/cdn/chunks/chunk.NWRNR2NO.js +0 -19
- package/cdn/chunks/chunk.NYAS4VCX.js +0 -538
- package/cdn/chunks/chunk.OMJXPU5O.js +0 -33
- package/cdn/chunks/chunk.OOCN2MEO.js +0 -104
- package/cdn/chunks/chunk.OPR25IBK.js +0 -29
- package/cdn/chunks/chunk.PF6HHPHM.js +0 -1691
- package/cdn/chunks/chunk.PGGR7VBX.js +0 -134
- package/cdn/chunks/chunk.PN4ABUFE.js +0 -35
- package/cdn/chunks/chunk.PPFZCYHA.js +0 -19
- package/cdn/chunks/chunk.PRTHW3YW.js +0 -32
- package/cdn/chunks/chunk.PTZIASYI.js +0 -29
- package/cdn/chunks/chunk.PY3TJXZ7.js +0 -30
- package/cdn/chunks/chunk.QAQMCUVV.js +0 -19
- package/cdn/chunks/chunk.QJORI76J.js +0 -29
- package/cdn/chunks/chunk.QYUFONQI.js +0 -78
- package/cdn/chunks/chunk.RSRIVUCO.js +0 -36
- package/cdn/chunks/chunk.RXWFFS6L.js +0 -29
- package/cdn/chunks/chunk.S3YL7XMD.js +0 -19
- package/cdn/chunks/chunk.S7YJPZDB.js +0 -35
- package/cdn/chunks/chunk.SC5DKRCX.js +0 -29
- package/cdn/chunks/chunk.SGEP3FXE.js +0 -136
- package/cdn/chunks/chunk.SLDQHSC6.js +0 -19
- package/cdn/chunks/chunk.SMASZ43V.js +0 -29
- package/cdn/chunks/chunk.SRZ5LTBO.js +0 -37
- package/cdn/chunks/chunk.SSDQIIOR.js +0 -19
- package/cdn/chunks/chunk.SSOM7RQK.js +0 -32
- package/cdn/chunks/chunk.SSWHJUU4.js +0 -32
- package/cdn/chunks/chunk.SU5BQLHH.js +0 -36
- package/cdn/chunks/chunk.SVAVLXQ2.js +0 -19
- package/cdn/chunks/chunk.TAGA7EGX.js +0 -348
- package/cdn/chunks/chunk.TINZXT55.js +0 -367
- package/cdn/chunks/chunk.TJAMJ3MW.js +0 -19
- package/cdn/chunks/chunk.U2SQXRXV.js +0 -29
- package/cdn/chunks/chunk.U2TL6OCG.js +0 -19
- package/cdn/chunks/chunk.UA5BJAJD.js +0 -32
- package/cdn/chunks/chunk.UB2WIHOB.js +0 -33
- package/cdn/chunks/chunk.UIVZN63B.js +0 -19
- package/cdn/chunks/chunk.UJ6CLNLP.js +0 -29
- package/cdn/chunks/chunk.UTV4V2OE.js +0 -478
- package/cdn/chunks/chunk.UW7PP2PX.js +0 -19
- package/cdn/chunks/chunk.V7DC2HOO.js +0 -188
- package/cdn/chunks/chunk.VE66D7IC.js +0 -19
- package/cdn/chunks/chunk.VF5XGLA6.js +0 -19
- package/cdn/chunks/chunk.VGWHMGE2.js +0 -162
- package/cdn/chunks/chunk.VLTCS4SJ.js +0 -29
- package/cdn/chunks/chunk.VSIX6Q6J.js +0 -231
- package/cdn/chunks/chunk.W2IPAMIN.js +0 -416
- package/cdn/chunks/chunk.WL2A23LE.js +0 -19
- package/cdn/chunks/chunk.WLU62KO7.js +0 -537
- package/cdn/chunks/chunk.WQOSNK27.js +0 -99
- package/cdn/chunks/chunk.WTXOXZ7B.js +0 -29
- package/cdn/chunks/chunk.XOQLFJ47.js +0 -631
- package/cdn/chunks/chunk.XP4TBHBK.js +0 -19
- package/cdn/chunks/chunk.XRQAIKYE.js +0 -310
- package/cdn/chunks/chunk.XZ7PWZVI.js +0 -266
- package/cdn/chunks/chunk.XZPHDJEG.js +0 -86
- package/cdn/chunks/chunk.Y3EV6C6T.js +0 -27
- package/cdn/chunks/chunk.Y4UTWYK7.js +0 -19
- package/cdn/chunks/chunk.Y6XPBZIT.js +0 -1197
- package/cdn/chunks/chunk.Y7XP7KYY.js +0 -19
- package/cdn/chunks/chunk.YCPFQYZ4.js +0 -2781
- package/cdn/chunks/chunk.YPPH22LC.js +0 -168
- package/cdn/chunks/chunk.YXBSUHVR.js +0 -39
- package/cdn/chunks/chunk.Z4GIIMIT.js +0 -32
- package/cdn/chunks/chunk.ZCBSCQDJ.js +0 -904
- package/cdn/chunks/chunk.ZCYCGN4E.js +0 -32
- package/cdn/chunks/chunk.ZERLGTGY.js +0 -19
- package/cdn/chunks/chunk.ZGOGAQSH.js +0 -32
- package/cdn/chunks/chunk.ZLEY6EQQ.js +0 -123
- package/cdn/chunks/chunk.ZV34U2K5.js +0 -19
- package/cdn/chunks/chunk.ZWGXUP6E.js +0 -35
- package/cdn/chunks/chunk.ZY5VE52C.js +0 -92
- package/dist/chunks/chunk.2CRFHCUV.js +0 -22
- package/dist/chunks/chunk.2DKGDYTF.js +0 -1
- package/dist/chunks/chunk.2ESMQYVF.js +0 -1
- package/dist/chunks/chunk.2GTYM73W.js +0 -41
- package/dist/chunks/chunk.2MCIVOCH.js +0 -1
- package/dist/chunks/chunk.2TEQHV6L.js +0 -280
- package/dist/chunks/chunk.3XXPZXA4.js +0 -1
- package/dist/chunks/chunk.42DJXYDW.js +0 -1
- package/dist/chunks/chunk.4ELXGK2Z.js +0 -1
- package/dist/chunks/chunk.4FPDNZFX.js +0 -23
- package/dist/chunks/chunk.4HUDFTIJ.js +0 -1
- package/dist/chunks/chunk.4I4QZ5VT.js +0 -1
- package/dist/chunks/chunk.4J4YPWYR.js +0 -1
- package/dist/chunks/chunk.4MHLU2UG.js +0 -1
- package/dist/chunks/chunk.4MLVZOVY.js +0 -5
- package/dist/chunks/chunk.4RFUYJZR.js +0 -6
- package/dist/chunks/chunk.4YZRJ6SW.js +0 -8
- package/dist/chunks/chunk.5BIASLJU.js +0 -1
- package/dist/chunks/chunk.5EHI56PN.js +0 -1
- package/dist/chunks/chunk.5KSUTJT4.js +0 -1
- package/dist/chunks/chunk.5TIIL5N2.js +0 -1
- package/dist/chunks/chunk.5V5KTY3D.js +0 -1
- package/dist/chunks/chunk.5YJXFKWN.js +0 -176
- package/dist/chunks/chunk.65Z4JL5X.js +0 -35
- package/dist/chunks/chunk.67W7E3EQ.js +0 -1
- package/dist/chunks/chunk.6CB64B2U.js +0 -1
- package/dist/chunks/chunk.6CYXCDFU.js +0 -1
- package/dist/chunks/chunk.6ECFMEPZ.js +0 -1
- package/dist/chunks/chunk.6H7GBCHK.js +0 -1
- package/dist/chunks/chunk.6KCJFKJJ.js +0 -24
- package/dist/chunks/chunk.6NMFAJUY.js +0 -1
- package/dist/chunks/chunk.6UFB3UHW.js +0 -1
- package/dist/chunks/chunk.6YCD322Y.js +0 -1
- package/dist/chunks/chunk.6ZKAGXYF.js +0 -1
- package/dist/chunks/chunk.72I3GVSW.js +0 -99
- package/dist/chunks/chunk.74T7SQEP.js +0 -113
- package/dist/chunks/chunk.7CNB7PBM.js +0 -1
- package/dist/chunks/chunk.7GTYKWFY.js +0 -1
- package/dist/chunks/chunk.7REAYBDC.js +0 -1
- package/dist/chunks/chunk.7XLMISB3.js +0 -4
- package/dist/chunks/chunk.7YVK2KAH.js +0 -16
- package/dist/chunks/chunk.7ZWLPBZ2.js +0 -1
- package/dist/chunks/chunk.ABNG2MMS.js +0 -1
- package/dist/chunks/chunk.ABOMZZ5W.js +0 -1
- package/dist/chunks/chunk.AHQRG65K.js +0 -350
- package/dist/chunks/chunk.AJORM3JY.js +0 -299
- package/dist/chunks/chunk.ATX7REBU.js +0 -1
- package/dist/chunks/chunk.AUCKD6VQ.js +0 -26
- package/dist/chunks/chunk.AWRW7MMY.js +0 -1
- package/dist/chunks/chunk.AZZW4HXP.js +0 -1
- package/dist/chunks/chunk.B37PAYRF.js +0 -26
- package/dist/chunks/chunk.B5WI74JH.js +0 -1
- package/dist/chunks/chunk.BDNESHTZ.js +0 -1
- package/dist/chunks/chunk.BEJQIPA3.js +0 -1
- package/dist/chunks/chunk.BPWU4HLE.js +0 -1
- package/dist/chunks/chunk.C24G2IKI.js +0 -9
- package/dist/chunks/chunk.C72MEN4K.js +0 -1
- package/dist/chunks/chunk.CAMF5ULQ.js +0 -1
- package/dist/chunks/chunk.CHJBPRAW.js +0 -1
- package/dist/chunks/chunk.CR6A4NHN.js +0 -39
- package/dist/chunks/chunk.CXJA6HBX.js +0 -35
- package/dist/chunks/chunk.D7OJXCTX.js +0 -11
- package/dist/chunks/chunk.DAUE6BIF.js +0 -37
- package/dist/chunks/chunk.DIL2BMCN.js +0 -1
- package/dist/chunks/chunk.DQK2UXR4.js +0 -47
- package/dist/chunks/chunk.DTPW7HGE.js +0 -1
- package/dist/chunks/chunk.DZFGS2F6.js +0 -1
- package/dist/chunks/chunk.E3YBU7VY.js +0 -1
- package/dist/chunks/chunk.E4TZK6WJ.js +0 -1
- package/dist/chunks/chunk.E5WOJ3PK.js +0 -2
- package/dist/chunks/chunk.EAPRKWW2.js +0 -20
- package/dist/chunks/chunk.EG7SPBRG.js +0 -1
- package/dist/chunks/chunk.EIJJC5B2.js +0 -1
- package/dist/chunks/chunk.EKNHAXS5.js +0 -1
- package/dist/chunks/chunk.EM3LS6OR.js +0 -1
- package/dist/chunks/chunk.EMXIBRS4.js +0 -1
- package/dist/chunks/chunk.ERBLNOPF.js +0 -780
- package/dist/chunks/chunk.EWB3NYCM.js +0 -1
- package/dist/chunks/chunk.EXABIDHR.js +0 -1
- package/dist/chunks/chunk.F7RVHCEK.js +0 -62
- package/dist/chunks/chunk.FAHKHSCZ.js +0 -1
- package/dist/chunks/chunk.FNZNA3S7.js +0 -74
- package/dist/chunks/chunk.FVA5GL7Q.js +0 -43
- package/dist/chunks/chunk.GCNLLJCR.js +0 -1
- package/dist/chunks/chunk.GQHSSWB5.js +0 -1
- package/dist/chunks/chunk.GVWSI2VA.js +0 -55
- package/dist/chunks/chunk.H5IHSMIW.js +0 -1
- package/dist/chunks/chunk.H742VBGY.js +0 -1
- package/dist/chunks/chunk.HKUBTRPD.js +0 -1
- package/dist/chunks/chunk.HKWG237B.js +0 -1
- package/dist/chunks/chunk.HL5D2TYJ.js +0 -1
- package/dist/chunks/chunk.HNQ3NJOC.js +0 -1
- package/dist/chunks/chunk.HSSHJEF7.js +0 -1
- package/dist/chunks/chunk.HVKQOUEK.js +0 -1
- package/dist/chunks/chunk.HZOOFT3Z.js +0 -1
- package/dist/chunks/chunk.IBZ74ROK.js +0 -1
- package/dist/chunks/chunk.IEENQ4UI.js +0 -1
- package/dist/chunks/chunk.IJVMESW7.js +0 -1
- package/dist/chunks/chunk.IKHT7VYP.js +0 -1
- package/dist/chunks/chunk.IRKRVHUS.js +0 -75
- package/dist/chunks/chunk.ISMI3XBI.js +0 -1
- package/dist/chunks/chunk.J4SQCN5S.js +0 -1
- package/dist/chunks/chunk.JBA4XHXB.js +0 -1
- package/dist/chunks/chunk.JDK4TOCT.js +0 -1
- package/dist/chunks/chunk.JR4SV4AJ.js +0 -80
- package/dist/chunks/chunk.JUYXCY7U.js +0 -1
- package/dist/chunks/chunk.JVK5XH2Z.js +0 -1
- package/dist/chunks/chunk.KHENOYII.js +0 -1
- package/dist/chunks/chunk.KPEX4DLT.js +0 -33
- package/dist/chunks/chunk.KQETTTFA.js +0 -1
- package/dist/chunks/chunk.KRQB5VTT.js +0 -1
- package/dist/chunks/chunk.KVM555JK.js +0 -1
- package/dist/chunks/chunk.KVWVUH5W.js +0 -19
- package/dist/chunks/chunk.KYYIY3VW.js +0 -1
- package/dist/chunks/chunk.L265LOLF.js +0 -1
- package/dist/chunks/chunk.L5AER4HL.js +0 -111
- package/dist/chunks/chunk.L7UI364Z.js +0 -985
- package/dist/chunks/chunk.LELQ3MLG.js +0 -122
- package/dist/chunks/chunk.LMSK5NZM.js +0 -43
- package/dist/chunks/chunk.LNZCRC25.js +0 -1
- package/dist/chunks/chunk.LRZ3UVGV.js +0 -1
- package/dist/chunks/chunk.LW4GPYOC.js +0 -1
- package/dist/chunks/chunk.LXQROJE2.js +0 -354
- package/dist/chunks/chunk.LXUBL7WM.js +0 -1
- package/dist/chunks/chunk.MEAK3R6S.js +0 -1
- package/dist/chunks/chunk.MGTW3UKR.js +0 -6
- package/dist/chunks/chunk.MI6ETUDG.js +0 -8
- package/dist/chunks/chunk.MKP24AIE.js +0 -1
- package/dist/chunks/chunk.MLW7OO6S.js +0 -1
- package/dist/chunks/chunk.MPGGFMBM.js +0 -154
- package/dist/chunks/chunk.MQXM5OIU.js +0 -1
- package/dist/chunks/chunk.MRG32HPF.js +0 -572
- package/dist/chunks/chunk.MSW6PNGT.js +0 -1
- package/dist/chunks/chunk.MVIOASOW.js +0 -1
- package/dist/chunks/chunk.MYBTQYE2.js +0 -1
- package/dist/chunks/chunk.NCSTNLHF.js +0 -1
- package/dist/chunks/chunk.NHLOAWLZ.js +0 -1
- package/dist/chunks/chunk.NM25YKOZ.js +0 -1
- package/dist/chunks/chunk.NNMEQPYF.js +0 -1
- package/dist/chunks/chunk.NRLOR4RH.js +0 -14
- package/dist/chunks/chunk.NVJPTRSH.js +0 -55
- package/dist/chunks/chunk.NVZD36RJ.js +0 -1
- package/dist/chunks/chunk.NYPAUATV.js +0 -1
- package/dist/chunks/chunk.O5J725ZK.js +0 -1
- package/dist/chunks/chunk.OPNWS6JR.js +0 -1
- package/dist/chunks/chunk.ORCMYTT7.js +0 -25
- package/dist/chunks/chunk.OWZWK64C.js +0 -1
- package/dist/chunks/chunk.OXIQHXEA.js +0 -1
- package/dist/chunks/chunk.P4FS7V3Q.js +0 -48
- package/dist/chunks/chunk.P66PH4HE.js +0 -12
- package/dist/chunks/chunk.PG3MVCO7.js +0 -64
- package/dist/chunks/chunk.PPNJDKQY.js +0 -1
- package/dist/chunks/chunk.PRRB6QHI.js +0 -67
- package/dist/chunks/chunk.PTZQ2Q4Y.js +0 -1
- package/dist/chunks/chunk.PVOR5CHG.js +0 -1
- package/dist/chunks/chunk.Q3BZF2QB.js +0 -145
- package/dist/chunks/chunk.QFTS2Y7T.js +0 -1
- package/dist/chunks/chunk.QJFDXLKO.js +0 -55
- package/dist/chunks/chunk.QJJS46NW.js +0 -1
- package/dist/chunks/chunk.QJZ7DNM2.js +0 -1
- package/dist/chunks/chunk.QMX7Q3SG.js +0 -1
- package/dist/chunks/chunk.R3MHM2PW.js +0 -1
- package/dist/chunks/chunk.R6V7TXMZ.js +0 -30
- package/dist/chunks/chunk.RADCYW3L.js +0 -1
- package/dist/chunks/chunk.RINSXPBE.js +0 -1
- package/dist/chunks/chunk.RNECMNQO.js +0 -1
- package/dist/chunks/chunk.RRKWNEL7.js +0 -13
- package/dist/chunks/chunk.S4CD7KZC.js +0 -1
- package/dist/chunks/chunk.SUIFXJ7I.js +0 -4
- package/dist/chunks/chunk.T2CPBC4R.js +0 -1
- package/dist/chunks/chunk.TAQ6A3B7.js +0 -2
- package/dist/chunks/chunk.TCBHHMAF.js +0 -30
- package/dist/chunks/chunk.TEINAKZU.js +0 -125
- package/dist/chunks/chunk.TKX2MEYT.js +0 -1
- package/dist/chunks/chunk.TLCAPP5P.js +0 -1
- package/dist/chunks/chunk.TUFCG7OE.js +0 -1
- package/dist/chunks/chunk.TULLW62S.js +0 -1
- package/dist/chunks/chunk.UHN4YWEW.js +0 -148
- package/dist/chunks/chunk.URWWKHIG.js +0 -1
- package/dist/chunks/chunk.USS474XK.js +0 -1
- package/dist/chunks/chunk.UVOP5UMS.js +0 -5
- package/dist/chunks/chunk.UZ2Q2O6L.js +0 -1
- package/dist/chunks/chunk.VAIPQDUH.js +0 -1
- package/dist/chunks/chunk.VHRRMUNG.js +0 -17
- package/dist/chunks/chunk.VQRNQT7I.js +0 -157
- package/dist/chunks/chunk.VRF47KVU.js +0 -1
- package/dist/chunks/chunk.VXN7TL2I.js +0 -1
- package/dist/chunks/chunk.VXQXB23S.js +0 -1
- package/dist/chunks/chunk.VZDGZU7R.js +0 -20
- package/dist/chunks/chunk.VZJ3CHHD.js +0 -1
- package/dist/chunks/chunk.W5WASIVZ.js +0 -1
- package/dist/chunks/chunk.WBGNKXCG.js +0 -1
- package/dist/chunks/chunk.WDWQLUEK.js +0 -61
- package/dist/chunks/chunk.WJDOBCXK.js +0 -300
- package/dist/chunks/chunk.WSBEZGR7.js +0 -1
- package/dist/chunks/chunk.WUCBUYBR.js +0 -1
- package/dist/chunks/chunk.WUGT5ECK.js +0 -1
- package/dist/chunks/chunk.X2TBH63H.js +0 -9
- package/dist/chunks/chunk.X6ESAQVU.js +0 -27
- package/dist/chunks/chunk.XLAJCD5W.js +0 -1
- package/dist/chunks/chunk.XTEJMVEU.js +0 -41
- package/dist/chunks/chunk.Y3DXVGV3.js +0 -1
- package/dist/chunks/chunk.YAVNESAE.js +0 -1
- package/dist/chunks/chunk.YPX3GEDB.js +0 -1
- package/dist/chunks/chunk.YWBN56UR.js +0 -1
- package/dist/chunks/chunk.YZVMLY7K.js +0 -1
- package/dist/chunks/chunk.ZGUIKRKT.js +0 -65
- package/dist/chunks/chunk.ZHCPQCAT.js +0 -100
- package/dist/chunks/chunk.ZIZYD6CK.js +0 -1
- package/dist/chunks/chunk.ZLHKXQMP.js +0 -1198
- package/dist/chunks/chunk.ZOWAJRXH.js +0 -11
- package/dist/chunks/chunk.ZQZFLK2U.js +0 -1
- package/dist/chunks/chunk.ZTPG767K.js +0 -1
- package/dist/chunks/chunk.ZYYOFHS4.js +0 -121
- package/dist/terra_ui_components-0.0.200-py3-none-any.whl +0 -0
- package/dist/terra_ui_components-0.0.200.tar.gz +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk.FVA5GL7Q.js";var n=e;e.define("terra-menu-item");export{n as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk.KPEX4DLT.js";var i=e;e.define("terra-chip");export{i as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk.UHN4YWEW.js";import*as r from"react";import{createComponent as t}from"@lit/react";import"@lit/react";var a="terra-time-series";e.define("terra-time-series");var n=t({tagName:a,elementClass:e,react:r,events:{onTerraTimeSeriesLoadingChange:"terra-time-series-loading-change",onTerraDateRangeChange:"terra-date-range-change",onTerraTimeSeriesDataChange:"terra-time-series-data-change",onTerraHarmonyJobStatusUpdate:"terra-harmony-job-status-update",onTerraTimeSeriesChunkProgressChange:"terra-time-series-chunk-progress-change"},displayName:"TerraTimeSeries"}),g=n;export{g as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk.CR6A4NHN.js";import*as t from"react";import{createComponent as r}from"@lit/react";import"@lit/react";var a="terra-tag";e.define("terra-tag");var o=r({tagName:a,elementClass:e,react:t,events:{onTerraClick:"terra-click"},displayName:"TerraTag"}),v=o;export{v as a};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{a as S}from"./chunk.BBZZL7GF.js";import{a as C}from"./chunk.5TIIL5N2.js";import{a as $}from"./chunk.JOM4G2YE.js";import{a as y}from"./chunk.7ZWLPBZ2.js";import{a as M}from"./chunk.VXN7TL2I.js";import{a as f,c as b}from"./chunk.WJDOBCXK.js";import{e as r,f as o,g as u,i as c}from"./chunk.INFVQQSJ.js";import{html as a}from"lit";import{property as l}from"lit/decorators.js";var t,n,k,e=class extends b{constructor(){super(...arguments);u(this,n);this.buttonLabel="Earthdata Login";u(this,t,new $(this))}login(){if(this.onLoginClick){this.onLoginClick();return}o(this,t).login()}logout(){o(this,t).logout()}render(){var s;if((s=o(this,t).state.user)!=null&&s.uid){let i=this.querySelector('template[slot="logged-in"]');return a`${i?i.content.cloneNode(!0):a`<slot name="logged-in" .user=${o(this,t).state.user}
|
|
2
|
-
>${c(this,n,k).call(this,this.loggedInMessage)}</slot
|
|
3
|
-
>`}`}return o(this,t).state.isLoading?a`<slot name="loading">${this.loadingMessage}</slot>`:a` <slot name="logged-out">${this.loggedOutMessage}</slot
|
|
4
|
-
><terra-button @click=${this.login}> ${this.buttonLabel}</terra-button>`}};t=new WeakMap,n=new WeakSet,k=function(s){var i,g,m,d,p,h;return(s!=null?s:"").replace("{username}",(g=(i=o(this,t).state.user)==null?void 0:i.uid)!=null?g:"").replace("{first_name}",(d=(m=o(this,t).state.user)==null?void 0:m.first_name)!=null?d:"").replace("{last_name}",(h=(p=o(this,t).state.user)==null?void 0:p.last_name)!=null?h:"")},e.dependencies={"terra-button":M,"terra-icon":y,"terra-loader":C},e.styles=[f,S],r([l({attribute:"button-label"})],e.prototype,"buttonLabel",2),r([l({attribute:"logged-in-message"})],e.prototype,"loggedInMessage",2),r([l({attribute:"logged-out-message"})],e.prototype,"loggedOutMessage",2),r([l({attribute:"loading-message"})],e.prototype,"loadingMessage",2),r([l({attribute:!1})],e.prototype,"onLoginClick",2);export{e as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as g}from"./chunk.W5WASIVZ.js";import{a as l}from"./chunk.BDNESHTZ.js";var f=class s{static parse(t){let r=t.split(",").map(n=>n.trim()).map(Number);if(r.some(isNaN))throw new Error("All coordinate values must be valid numbers.");if(r.length===2)return new l(r[0],r[1]);if(r.length===4)return new g(r);throw new Error("Input must contain exactly 2 values (point) or 4 values (bounding box).")}static validateRanges(t){if(!t)return null;if(typeof t=="string"&&(t=s.parse(t)),t instanceof l)return t.lat<-90||t.lat>90?`Latitude ${t.lat} is out of range (-90 to 90).`:t.lng<-180||t.lng>180?`Longitude ${t.lng} is out of range (-180 to 180).`:null;let e=[["South",t.getSouth(),-90,90],["North",t.getNorth(),-90,90],["West",t.getWest(),-180,180],["East",t.getEast(),-180,180]];for(let[r,n,o,i]of e)if(n<o||n>i)return`${r} value ${n} is out of range (${o} to ${i}).`;return null}static validateAllowedType(t,e){let r=t instanceof l,n=t instanceof g;return r&&!e.allowPoint?e.allowBbox?"Point selection is disabled. Enter a bounding box (west, south, east, north).":"Must be a valid bounding box (west, south, east, north).":n&&!e.allowBbox?e.allowPoint?"Bounding box selection is disabled. Enter a point (lat, lng).":"Must be a valid point (lat, lng).":null}static validateConstraints(t,e){if(!e)return null;let r=e.split(",").map(u=>parseFloat(u.trim()));if(r.length!==4||r.some(isNaN))return null;let[n,o,i,a]=r;return n===-180&&o===-90&&i===180&&a===90?null:t instanceof l?t.lat>=o&&t.lat<=a&&t.lng>=n&&t.lng<=i?null:"Selected point is outside the allowed spatial extent.":t instanceof g?t.getSouth()>=o&&t.getNorth()<=a&&t.getWest()>=n&&t.getEast()<=i?null:"Selected area extends outside the allowed spatial extent.":null}static serialize(t){return t?typeof t=="string"?t:t instanceof l?`${t.lat.toFixed(2)}, ${t.lng.toFixed(2)}`:[t.getWest(),t.getSouth(),t.getEast(),t.getNorth()].map(e=>e.toFixed(2)).join(", "):""}static validate(t,e,r){let n;try{n=s.parse(t)}catch(a){return{ok:!1,error:`Invalid format. ${s.formatHint(e)}`}}let o=s.validateRanges(n);if(o)return{ok:!1,error:o};let i=s.validateAllowedType(n,e);if(i)return{ok:!1,error:i};if(r){let a=s.validateConstraints(n,r);if(a)return{ok:!1,error:a}}return{ok:!0,value:n,serialized:s.serialize(n)}}static formatHint(t){return t.allowPoint&&t.allowBbox?"Enter a point (lat, lng) or bounding box (west, south, east, north).":t.allowPoint?"Enter a point (lat, lng).":t.allowBbox?"Enter a bounding box (west, south, east, north).":""}};export{f as a};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{c as Lt}from"./chunk.V7Z7GMTQ.js";import{a as Rt}from"./chunk.VZJ3CHHD.js";import{b as mt}from"./chunk.E5WOJ3PK.js";import{b as vt}from"./chunk.DSWDVHOD.js";import{b as Mt}from"./chunk.HZOOFT3Z.js";import{c as kt,d as Ct,e as Pt}from"./chunk.7XLMISB3.js";import{a as Q}from"./chunk.W5WASIVZ.js";import{a as dt}from"./chunk.BDNESHTZ.js";import{b as W,c as ht,d as ct}from"./chunk.QGXUQL5S.js";import{a as P,b as $,f as m,g as u,h as M,i as l}from"./chunk.INFVQQSJ.js";var _t=2e5,H=1e3*60*60,R=H*24;function ee(k){switch(k){case"half-hourly":return H/2;case"hourly":return H;case"3-hourly":return H*3;case"8-daily":return R*8;case"daily":return R;case"weekly":return R*7;case"monthly":return R*30;default:throw new Error(`Unsupported time interval: ${k}`)}}function ut(k,e,s){let r=s.getTime()-e.getTime();switch(k){case"half-hourly":return Math.floor(r/(H/2))+1;case"hourly":return Math.floor(r/H)+1;case"3-hourly":return Math.floor(r/(H*3))+1;case"8-daily":return Math.floor(r/(R*8))+1;case"daily":return Math.floor(r/R)+1;case"weekly":return Math.floor(r/(R*7))+1;case"monthly":return Math.floor(r/(R*30))+1;default:throw new Error(`Unsupported time interval: ${k}`)}}function Vt(k,e,s){if(ut(k,e,s)<=_t)return[{start:e,end:s}];let h=[],n=ee(k),i=n*(_t-1),o=e.getTime(),d=s.getTime();for(;o<=d;){let a=Math.min(o+i,d);if(h.push({start:new Date(o),end:new Date(a)}),a>=d)break;let t=a+n;if(t<=o)break;o=t}return h}import{initialState as ae,Task as jt}from"@lit/task";import*as Ot from"plotly.js-dist-min";var re=5e4,se="https://lpo4uv7f0h.execute-api.us-east-1.amazonaws.com/default/harmony-link-proxy",Ft=300,oe=1e4,ie=4,xt={type:"scatter",mode:"lines"},x,w,Z,N,B,U,C,K,ft,L,F,tt,qt,et,$t,z,pt,Y,bt,at,Wt,rt,Jt,_,J,st,Bt,G,gt,ot,Kt,it,zt,nt,Yt,lt,Gt,O,X,T,I,Ut=class{constructor(e){u(this,K);u(this,L);u(this,tt);u(this,et);u(this,z);u(this,Y);u(this,at);u(this,rt);u(this,_);u(this,st);u(this,G);u(this,ot);u(this,it);u(this,nt);u(this,lt);u(this,O);u(this,T);u(this,x,!1);u(this,w,new Lt);u(this,Z,new Pt);u(this,N,void 0);u(this,B,void 0);u(this,U,void 0);u(this,C,void 0);this.emptyPlotData=[$(P({},xt),{x:[],y:[]})];this.host=e,M(this,U,new Mt(this.host,{getCollectionEntryId:()=>l(this,ot,Kt).call(this),getBearerToken:()=>this.host.bearerToken})),M(this,C,new Rt(this.host)),new jt(e,{task:async(s,{signal:r})=>{var y;let{jobId:h}=this.host;if(!h||!this.host.bearerToken||this.host.startDate&&this.host.endDate&&this.host.location)return;let n=await Ct.getJobStatus(h,{bearerToken:this.host.bearerToken,signal:r}),i=mt.fromUrl(n.request),{startDate:o,endDate:d,location:a,variables:t,variableConceptIds:c}=i.options;if(o&&(this.host.startDate=o),d&&(this.host.endDate=d),a instanceof dt)this.host.location=`${a.lat},${a.lng}`;else if(a instanceof Q){let[p,D,b,E]=[a.getWest(),a.getSouth(),a.getEast(),a.getNorth()];this.host.location=`${p},${D},${b},${E}`}let f=(y=t==null?void 0:t[0])!=null?y:c==null?void 0:c[0];f&&!this.host.variableEntryId&&(this.host.variableEntryId=f),this.host.requestUpdate()},args:()=>[this.host.jobId,this.host.bearerToken]}),this.task=new jt(e,{task:async(s,{signal:r})=>{var o,d;if(console.log("Fetching time series data",{variables:l(this,L,F).call(this),startDate:this.host.startDate,endDate:this.host.endDate,location:this.host.location}),!l(this,L,F).call(this).length||!this.host.startDate||!this.host.endDate||!this.host.location)return console.log("Requirements not met to fetch the time series data "),l(this,L,F).call(this).map(t=>t.dataFieldId).join("|")!==m(this,B)&&(this.lastTaskValue=void 0),ae;let h=l(this,L,F).call(this),n=await Promise.all(h.map(async a=>{var f;let t=await l(this,tt,qt).call(this,r,a),c=l(this,_,J).call(this,t.data,(f=t.metadata)==null?void 0:f.undef);return{variable:a,timeSeries:t,filteredData:c}}));this.metadata=(o=n[0])==null?void 0:o.timeSeries.metadata,M(this,B,l(this,L,F).call(this).map(a=>a.dataFieldId).join("|")),this.lastTaskValue=n.map(({variable:a,filteredData:t})=>{var c,f;return $(P({},xt),{name:(f=(c=a.dataFieldLongName)!=null?c:a.dataFieldShortName)!=null?f:a.dataFieldId,hovertemplate:a.dataFieldUnits?`%{x}<br>%{y} ${a.dataFieldUnits}<extra>%{fullData.name}</extra>`:"%{x}<br>%{y}<extra>%{fullData.name}</extra>",x:t.map(y=>y.timestamp),y:t.map(y=>y.value)})});let i=n[0];return i?(this.host.emit("terra-time-series-data-change",{detail:{data:i.timeSeries,variable:i.variable,series:n.map(({variable:a,timeSeries:t})=>({variable:a,data:t})),startDate:ht(this.host.startDate),endDate:ht(this.host.endDate),location:this.host.location}}),m(this,N)&&l(this,lt,Gt).call(this,m(this,N)).catch(console.error),this.lastTaskValue):(d=this.lastTaskValue)!=null?d:this.emptyPlotData},args:()=>[this.host.catalogVariable,this.host.catalogVariables,this.host.startDate,this.host.endDate,this.host.location]})}render(e){return this.task.render(e)}async cancelJob(){let e=m(this,C).jobId;if(e&&e!=="new")try{await m(this,C).cancelJob({jobId:e,options:{bearerToken:this.host.bearerToken}})}catch(s){console.warn("Failed to cancel Harmony job",s)}this.task.abort("Cancelled time series request")}getCacheKey(){return!this.host.location||!this.host.catalogVariable?"":this.getCacheKeyForVariable(this.host.catalogVariable)}getCacheKeyForVariable(e){return m(this,w).getCacheKeyForVariable(e.dataFieldId,this.host.location,this.host.environment)}confirmDataPointWarning(){M(this,x,!0),this.host.showDataPointWarning=!1}};x=new WeakMap,w=new WeakMap,Z=new WeakMap,N=new WeakMap,B=new WeakMap,U=new WeakMap,C=new WeakMap,K=new WeakSet,ft=function(e,s){this.host.dispatchEvent(new CustomEvent("terra-time-series-chunk-progress-change",{detail:{currentChunk:e,totalChunks:s},bubbles:!0,composed:!0}))},L=new WeakSet,F=function(){var e;return(e=this.host.catalogVariables)!=null&&e.length?this.host.catalogVariables:this.host.catalogVariable?[this.host.catalogVariable]:[]},tt=new WeakSet,qt=async function(e,s){var wt,yt,Dt,Tt,St;let r=this.host.startDate,h=this.host.endDate;if(!r||!h)throw new Error("Start and end date are required to fetch time series data");let n=g=>/T\d{2}:\d{2}/.test(g),i=W(r),o=W(h,!n(h)),d=this.getCacheKeyForVariable(s),a=s.dataFieldId;if(console.log("Loading time series for variable",s,this.host.startDate,this.host.endDate,this.host.location),this.host.jobId){let g=await l(this,Y,bt).call(this,this.host.jobId,e);if(g.status==="failed"){let S=g.message||((yt=(wt=g.errors)==null?void 0:wt[0])==null?void 0:yt.message)||"The subset job failed",v=new Error(S);throw l(this,T,I).call(this,v,g.errors),v}if(g.status==="complete_with_errors"&&g.errors&&g.errors.length>0){let S=g.errors[0].message||"The subset job completed with errors",v=new Error(S);throw l(this,T,I).call(this,v,g.errors),v}let A=(Dt=g.links.find(S=>S.rel==="data"))==null?void 0:Dt.href;if(!A){let S=new Error("No data link found for Harmony job");throw l(this,T,I).call(this,S,g.errors),S}return M(this,N,this.host.jobId),l(this,z,pt).call(this,A,e)}let t=this.host.cache?await m(this,w).getValidCacheEntry(d):void 0,c=t!=null&&t.startDate?W(t.startDate):void 0,f=t!=null&&t.endDate?W(t.endDate,!0):void 0;if(console.log("Existing data?",t?"Yes":"No"),console.log("Is date range contained?",c&&f?ct(i,o,c,f):!1),console.log("Is cache valid?",m(this,w).isCacheValid(t)),t&&c&&f&&ct(i,o,c,f)&&m(this,w).isCacheValid(t)){console.log("Returning existing data from cache ",this.getCacheKey());let g=(Tt=t.metadata)==null?void 0:Tt.undef,A=l(this,_,J).call(this,t.data,g),S=$(P({},t),{data:A});return m(this,w).getDataInRange(S,i,o)}let y=m(this,w).calculateDataGaps(i,o,t);if(y.length===0&&t){let g=l(this,_,J).call(this,t.data,(St=t.metadata)==null?void 0:St.undef),A=$(P({},t),{data:g});return m(this,w).getDataInRange(A,i,o)}let p=(t==null?void 0:t.data)||[],D=(t==null?void 0:t.metadata)||{},b=y;for(let g=0;g<ie&&b.length>0;g++){let S=(p.length?l(this,G,gt).call(this,p):t!=null&&t.data?l(this,G,gt).call(this,t.data):null)||s.dataProductTimeInterval||"daily",v=[];for(let V of b){let j=Vt(S,V.start,V.end);v.push(...j)}let It=v.length>1,Xt=p.length;try{for(let[V,j]of v.entries()){It&&l(this,K,ft).call(this,V+1,v.length);let Et=await l(this,et,$t).call(this,a,j.start,j.end,e,s);p=[...p,...Et.data],D=P(P({},D),Et.metadata),p=m(this,w).deduplicateByTimestamp(p),this.host.cache&&await m(this,w).storeConsolidatedData({cacheKey:d,variableEntryId:a,environment:this.host.environment,metadata:D,data:p})}}finally{It&&l(this,K,ft).call(this,0,0)}if(p.length===Xt)break;let q=[...p].sort((V,j)=>new Date(V.timestamp).getTime()-new Date(j.timestamp).getTime()),Zt=q.length>0?{variableEntryId:a,key:d,startDate:q[0].timestamp,endDate:q[q.length-1].timestamp,cachedAt:Date.now(),metadata:D,data:q,environment:this.host.environment}:void 0;b=m(this,w).calculateDataGaps(i,o,Zt)}let E={metadata:D,data:p};this.host.cache&&await m(this,w).storeConsolidatedData({cacheKey:d,variableEntryId:a,environment:this.host.environment,metadata:E.metadata,data:p,requestedStartDate:i,requestedEndDate:o});let Qt=l(this,_,J).call(this,p,D==null?void 0:D.undef);return m(this,w).getDataInRange({metadata:E.metadata,data:Qt},i,o)},et=new WeakSet,$t=async function(e,s,r,h,n){var y,p,D;if(!m(this,x)&&!l(this,st,Bt).call(this,n,s,r))throw new Error("User cancelled data point warning");M(this,x,!1);let i=l(this,nt,Yt).call(this),o=i instanceof Q,d=await l(this,it,zt).call(this,h),a=new mt({collectionConceptId:d,location:i}).variable(e).dateRange(s.toISOString(),r.toISOString()).format("text/csv").label("terra-time-series");this.host.applicationId&&a.label(this.host.applicationId),a.addLabelsFromVariable(n),o&&a.average("area");let t;try{let b=await m(this,C).startJob({harmonyRequest:a,options:{signal:h,bearerToken:this.host.bearerToken,environment:this.host.environment}});t=b.jobID,M(this,N,t),this.host.emit("terra-harmony-job-status-update",{detail:b})}catch(b){throw l(this,T,I).call(this,b),b}let c=await l(this,Y,bt).call(this,t,h);if(c.status==="failed"){let b=c.message||((p=(y=c.errors)==null?void 0:y[0])==null?void 0:p.message)||"The subset job failed",E=new Error(b);throw l(this,T,I).call(this,E,c.errors),E}if(c.status==="complete_with_errors"&&c.errors&&c.errors.length>0){let b=c.errors[0].message||"The subset job completed with errors",E=new Error(b);throw l(this,T,I).call(this,E,c.errors),E}let f=(D=c.links.find(b=>b.rel==="data"))==null?void 0:D.href;if(!f){let b=new Error("No data link found for Harmony job");throw l(this,T,I).call(this,b,c.errors),b}return l(this,z,pt).call(this,f,h)},z=new WeakSet,pt=async function(e,s){let r=e.replace("proxy-timeseries","timeseries"),h=`${se}?url=${encodeURIComponent(r)}`,n=await fetch(h,{signal:s,headers:P({},this.host.bearerToken?{Authorization:`Bearer ${this.host.bearerToken}`}:{})});if(!n.ok){let i=new Error(`Failed to fetch subset job link contents: ${n.statusText}`);throw l(this,T,I).call(this,i),i}return l(this,at,Wt).call(this,await n.text())},Y=new WeakSet,bt=async function(e,s){for(m(this,C).startPollForJobStatus(e,{bearerToken:this.host.bearerToken});;){if(s.aborted)throw new Error("Job polling was aborted");let r=m(this,C).data;if(r&&this.host.emit("terra-harmony-job-status-update",{detail:r}),(r==null?void 0:r.jobID)===e&&kt.has(r.status))return r;await l(this,O,X).call(this,Ft,s)}},at=new WeakSet,Wt=function(e){let s=e.split(`
|
|
2
|
-
`).map(o=>o.trim()).filter(Boolean),r={},h=[],n=!1,i=[];for(let o of s)if(n){let d=o.split(",");if(d.length===i.length){let a=[];for(let c=0;c<i.length;c++)a.push(d[c].trim());let t=l(this,rt,Jt).call(this,a[0]);h.push({timestamp:t,value:a[1]})}}else{if(o.startsWith("Timestamp (UTC)")||o.startsWith("time,")){i=o.split(",").map(t=>t.trim()),n=!0;continue}let[d,a]=o.split(",");d&&a!==void 0&&(r[d.trim()]=a.trim())}return{metadata:r,data:h}},rt=new WeakSet,Jt=function(e){try{let s=new Date(e);return Number.isNaN(s.getTime())?(console.warn("Invalid timestamp:",e),e):s.toISOString()}catch(s){return console.warn("Failed to normalize timestamp:",e,s),e}},_=new WeakSet,J=function(e,s){return s?e.filter(r=>{let h=r.value.trim(),n=String(s).trim();if(h===n)return!1;let i=parseFloat(h),o=parseFloat(n);return!(!Number.isNaN(i)&&!Number.isNaN(o)&&i===o)}):e},st=new WeakSet,Bt=function(e,s,r){return this.host.estimatedDataPoints=ut(e.dataProductTimeInterval,s,r),this.host.estimatedDataPoints<re,!0},G=new WeakSet,gt=function(e){if(e.length<2)return null;let s=[...e].sort((a,t)=>new Date(a.timestamp).getTime()-new Date(t.timestamp).getTime()),r=[];for(let a=1;a<Math.min(s.length,100);a++){let t=new Date(s[a-1].timestamp).getTime(),f=new Date(s[a].timestamp).getTime()-t;f>0&&r.push(f)}if(r.length===0)return null;let h=new Map;r.forEach(a=>{let t=Math.round(a/6e4)*6e4;h.set(t,(h.get(t)||0)+1)});let n=0,i=0;h.forEach((a,t)=>{a>i&&(i=a,n=t)});let o=1e3*60*60,d=o*24;return n<=o/2+6e4?"half-hourly":n<=o+6e4?"hourly":n<=o*3+6e4?"3-hourly":n<=d+6e4?"daily":n<=d*7+6e4?"weekly":"daily"},ot=new WeakSet,Kt=function(){if(this.host.collection)return this.host.collection;let e=this.host.catalogVariable;if(e)return`${e.dataProductShortName}_${e.dataProductVersion}`},it=new WeakSet,zt=async function(e){var h;let s=Date.now();for(;Date.now()-s<oe;){if(e.aborted)throw new Error("Request aborted while waiting for collection metadata");let n=m(this,U).conceptId;if(n)return n;if((h=m(this,U).collection)!=null&&h.isError){let i=new Error("Unable to load collection metadata needed for Harmony requests");throw l(this,T,I).call(this,i),i}await l(this,O,X).call(this,Ft,e)}let r=new Error("Timed out waiting for collection metadata needed for Harmony requests");throw l(this,T,I).call(this,r),r},nt=new WeakSet,Yt=function(){var i;let e=decodeURIComponent((i=this.host.location)!=null?i:""),s=e.split(",").map(o=>o.trim()),r=s.map(o=>Number(o));if(s.some(o=>o.length===0)||r.some(o=>Number.isNaN(o))){let o=new Error('Invalid location format. Expected "lat,lon" or "west,south,east,north".');throw this.host.dispatchEvent(new CustomEvent("terra-time-series-error",{detail:{status:400,code:"INVALID_LOCATION",message:o.message,context:e},bubbles:!0,composed:!0})),o}if(r.length===2)return new dt(r[0],r[1]);if(r.length===4)return new Q(r);let n=new Error('Invalid location format. Expected "lat,lon" or "west,south,east,north".');throw this.host.dispatchEvent(new CustomEvent("terra-time-series-error",{detail:{status:400,code:"INVALID_LOCATION",message:n.message,context:e},bubbles:!0,composed:!0})),n},lt=new WeakSet,Gt=async function(e,s=1e3,r=200,h=200){var i;await l(this,O,X).call(this,s);let n=(i=this.host.plot)==null?void 0:i.base;if(n)try{let o=await Ot.toImage(n,{format:"jpeg",width:500,height:500}),d=new Image;d.src=o,await d.decode();let a=document.createElement("canvas");a.width=r,a.height=h;let t=a.getContext("2d");if(!t)return;t.drawImage(d,0,0,r,h);let c=await new Promise((f,y)=>a.toBlob(p=>p?f(p):y(new Error("toBlob failed")),"image/jpeg",.8));await m(this,Z).store(e,c)}catch(o){console.error("Failed to capture time series thumbnail",o)}},O=new WeakSet,X=function(e,s){return new Promise((r,h)=>{let n=setTimeout(()=>{s&&s.removeEventListener("abort",i),r()},e),i=()=>{clearTimeout(n),h(new Error("Operation aborted"))};s&&s.addEventListener("abort",i,{once:!0})})},T=new WeakSet,I=function(e,s){let r=vt(e,s);this.host.dispatchEvent(new CustomEvent("terra-time-series-error",{detail:r,bubbles:!0,composed:!0}))};export{xt as a,Ut as b};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import{a as m}from"./chunk.WUGT5ECK.js";import{a as n}from"./chunk.P5Z2X5RJ.js";import{a as s}from"./chunk.J5Q4TWEG.js";import{a as o,c as l}from"./chunk.WJDOBCXK.js";import{e}from"./chunk.INFVQQSJ.js";import{classMap as c}from"lit/directives/class-map.js";import{html as a}from"lit";import{property as r,state as d}from"lit/decorators.js";var i=class extends l{constructor(){super(...arguments);this.hasError=!1;this.image="";this.label="";this.initials="";this.loading="eager";this.shape="circle"}handleImageChange(){this.hasError=!1}handleImageLoadError(){this.hasError=!0,this.emit("terra-error")}render(){let h=a`
|
|
2
|
-
<img
|
|
3
|
-
part="image"
|
|
4
|
-
class="avatar__image"
|
|
5
|
-
src="${this.image}"
|
|
6
|
-
loading="${this.loading}"
|
|
7
|
-
alt=""
|
|
8
|
-
@error="${this.handleImageLoadError}"
|
|
9
|
-
/>
|
|
10
|
-
`,t=a``;return this.initials?t=a`<div part="initials" class="avatar__initials">
|
|
11
|
-
${this.initials}
|
|
12
|
-
</div>`:t=a`
|
|
13
|
-
<div part="icon" class="avatar__icon" aria-hidden="true">
|
|
14
|
-
<slot name="icon">
|
|
15
|
-
<terra-icon
|
|
16
|
-
name="solid-user"
|
|
17
|
-
library="heroicons"
|
|
18
|
-
></terra-icon>
|
|
19
|
-
</slot>
|
|
20
|
-
</div>
|
|
21
|
-
`,a`
|
|
22
|
-
<div
|
|
23
|
-
part="base"
|
|
24
|
-
class=${c({avatar:!0,"avatar--circle":this.shape==="circle","avatar--rounded":this.shape==="rounded","avatar--square":this.shape==="square"})}
|
|
25
|
-
role="img"
|
|
26
|
-
aria-label=${this.label}
|
|
27
|
-
>
|
|
28
|
-
${this.image&&!this.hasError?h:t}
|
|
29
|
-
</div>
|
|
30
|
-
`}};i.styles=[o,n],i.dependencies={"terra-icon":m},e([d()],i.prototype,"hasError",2),e([r()],i.prototype,"image",2),e([r()],i.prototype,"label",2),e([r()],i.prototype,"initials",2),e([r()],i.prototype,"loading",2),e([r({reflect:!0})],i.prototype,"shape",2),e([s("image")],i.prototype,"handleImageChange",1);export{i as a};
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import{a as Et}from"./chunk.KRQB5VTT.js";import{a as $t}from"./chunk.AYEBTFZT.js";import{a as Dt}from"./chunk.3XI2E7JG.js";import{a as nt}from"./chunk.EL5HO6Y2.js";import{a as wt}from"./chunk.YZVMLY7K.js";import{a as Vt}from"./chunk.MRG32HPF.js";import{b as xt,c as Ct}from"./chunk.DSWDVHOD.js";import{a as St}from"./chunk.JOM4G2YE.js";import{a as vt}from"./chunk.XTEJMVEU.js";import{a as bt}from"./chunk.QDFHF7LY.js";import{a as yt}from"./chunk.ZGUIKRKT.js";import{c as rt}from"./chunk.QGXUQL5S.js";import{a as ft}from"./chunk.P4FS7V3Q.js";import{a as gt}from"./chunk.WUGT5ECK.js";import{a as ut}from"./chunk.DAUE6BIF.js";import{a as it}from"./chunk.J5Q4TWEG.js";import{a as dt,b as pt,c as mt}from"./chunk.WJDOBCXK.js";import{e as d,f as c,g,h as M,i as b}from"./chunk.INFVQQSJ.js";import{html as N,nothing as Jt}from"lit";import{property as C,query as Wt,state as v}from"lit/decorators.js";import"ol";import Yt from"ol/layer/WebGLTile.js";import Xt from"ol/layer/Vector.js";import Kt from"ol/source/Vector.js";import Qt from"ol/interaction/Draw.js";import Zt from"ol/geom/Point.js";import{getLength as te}from"ol/sphere.js";import ee from"ol/Feature.js";import{TaskStatus as T}from"@lit/task";import{cache as ae}from"lit/directives/cache.js";import{toLonLat as oe}from"ol/proj.js";var $,y,E,P,L,B,G,z,q,Lt,H,It,J,Mt,W,Nt,Y,Rt,X,kt,K,Ft,Q,Pt,Z,jt,tt,Bt,O,st,et,Gt,at,zt,ot,Ot,s=class extends bt(mt){constructor(){super(...arguments);g(this,q);g(this,H);g(this,J);g(this,W);g(this,Y);g(this,X);g(this,K);g(this,Q);g(this,Z);g(this,tt);g(this,O);g(this,et);g(this,at);g(this,ot);this.long_name="";this.colorMapName="viridis";this.opacity=1;this.noCache=!1;this.showHelp=!0;this.pixelValue="N/A";this.pixelCoordinates="N/A";this.metadata={};this.toggleState=!1;this.minimized=!1;this.noDataValue=-9999;this.min="0";this.max="1";this.legendValues=[];this.timeAverageMapError=null;g(this,$,new Et(this));g(this,y,null);g(this,E,null);g(this,P,null);g(this,L,null);this._authController=new St(this);this.colormaps=["jet","hsv","hot","cool","spring","summer","autumn","winter","bone","copper","greys","YIGnBu","greens","YIOrRd","bluered","RdBu","picnic","rainbow","portland","blackbody","earth","electric","viridis","inferno","magma","plasma","warm","cool","bathymetry","cdom","chlorophyll","density","fressurface-blue","freesurface-red","oxygen","par","phase","salinity","temperature","turbidity","velocity-blue","velocity-green","cubhelix"];this.plotData={};this.layout={};this._fetchVariableTask=Dt(this,!1);g(this,B,t=>{let{status:e,code:a,message:i,context:o}=t.detail;this.timeAverageMapError={code:a||String(e),message:i,context:o}});g(this,G,t=>{if(!c(this,y))return;let e=c(this,y).getData(t.detail.pixel),[a,i]=t.detail.coordinate;(!e||!(e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Float32Array)||isNaN(e[0])||e[0]===0)&&(e=null),this.pixelValue=e?Number(e[0]).toExponential(3):"N/A",this.pixelCoordinates=[a,i].map(o=>o.toFixed(3)).join(", ")});g(this,z,async t=>{var a,i;if(!this.innerMap){console.warn("Map not initialized, cannot export image");return}let e=((a=t.detail)==null?void 0:a.format)||"png";try{await this.innerMap.renderComplete();let o=this.innerMap.getSize();if(!o){console.warn("Map size is not available");return}let n=o[0],r=o[1],{canvases:h,svgs:m}=(i=this.innerMap.getCanvasElements())!=null?i:{canvases:[],svgs:[]};if(h.length===0&&m.length===0){console.warn("Could not find map canvas or SVG elements");return}let u=document.createElement("canvas"),l=u.getContext("2d");if(!l){console.warn("Could not get canvas context");return}let p=80;u.width=n,u.height=r+p,l.fillStyle="#ffffff",l.fillRect(0,0,u.width,u.height);for(let w of h)l.drawImage(w,0,0,w.width,w.height,0,p,n,r);for(let w of m)try{let x=w.cloneNode(!0);x.hasAttribute("width")||x.setAttribute("width",String(n)),x.hasAttribute("height")||x.setAttribute("height",String(r));let D=new XMLSerializer().serializeToString(x),j=new Blob([D],{type:"image/svg+xml;charset=utf-8"}),R=URL.createObjectURL(j),I=new Image;await new Promise((F,lt)=>{I.onload=()=>{l.drawImage(I,0,p,n,r),URL.revokeObjectURL(R),F()},I.onerror=()=>{URL.revokeObjectURL(R),lt(new Error("Failed to load SVG image"))},I.src=R})}catch(x){console.warn("Failed to render SVG layer:",x)}let f=30,V=25;l.fillStyle="#000000",l.font="bold 18px Arial, sans-serif",l.textAlign="left",l.textBaseline="top";let S=b(this,H,It).call(this);b(this,J,Mt).call(this,l,S,n-40,16).forEach((w,x)=>{l.fillText(w,20,f+x*V)}),await b(this,q,Lt).call(this,l,p);let U=e==="jpg"?"image/jpeg":"image/png",_=e==="jpg"?"jpg":"png",A=e==="jpg"?.92:void 0;u.toBlob(w=>{if(!w){console.warn("Failed to create blob from canvas");return}let x=URL.createObjectURL(w),D=document.createElement("a"),j=this.location?`_${this.location.replace(/,/g,"_")}`:"",R=this.startDate&&this.endDate?`_${this.startDate.split("T")[0]}_to_${this.endDate.split("T")[0]}`:"",F=`${nt(this)||"map"}${j}${R}.${_}`;D.href=x,D.download=F,D.style.display="none",document.body.appendChild(D),D.click(),document.body.removeChild(D),URL.revokeObjectURL(x)},U,A)}catch(o){console.error("Error exporting map as PNG:",o)}})}set cache(t){console.warn("<terra-time-average-map> `cache` is deprecated and enabled by default; use `no-cache` to disable caching instead."),this.noCache=!t}get cache(){return!this.noCache}handlePropertyChange(){!this.startDate||!this.endDate||!this.location||!this.catalogVariable||c(this,$).jobStatusTask.run()}handlePlotOptionsChange(){this.emit("terra-plot-options-change",{detail:{colorMapName:this.colorMapName,opacity:this.opacity}})}connectedCallback(){super.connectedCallback(),this.addEventListener("terra-time-average-map-error",c(this,B)),this.addEventListener("terra-plot-toolbar-export-image",c(this,z)),this.addEventListener("terra-map-pointer-move",c(this,G))}async firstUpdated(){this._fetchVariableTask.run()}updated(t){var a,i,o,n;super.updated(t);let e=(i=(a=c(this,$))==null?void 0:a.jobStatusTask)==null?void 0:i.status;if(e===T.PENDING&&this.timeAverageMapError&&(this.timeAverageMapError=null),e===T.ERROR&&!this.timeAverageMapError){let r=(n=(o=c(this,$))==null?void 0:o.jobStatusTask)==null?void 0:n.error;if(r){let h=xt(r);if(h.isCancellation)return;this.timeAverageMapError={code:h.code,message:h.message,context:h.context}}}}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("terra-time-average-map-error",c(this,B)),this.removeEventListener("terra-plot-toolbar-export-image",c(this,z)),this.removeEventListener("terra-map-pointer-move",c(this,G))}async captureMapThumbnail(t=200,e=200){var a,i;if(this.innerMap)try{await this.innerMap.renderComplete();let o=this.innerMap.getSize();if(!o)return;let[n,r]=o,h=(i=(a=this.innerMap.getCanvasElements())==null?void 0:a.canvases)!=null?i:[];if(h.length===0)return;let m=document.createElement("canvas");m.width=n,m.height=r;let u=m.getContext("2d");if(!u)return;for(let f of h)f.width>0&&f.height>0&&u.drawImage(f,0,0,n,r);let l=document.createElement("canvas");l.width=t,l.height=e;let p=l.getContext("2d");return p?(p.drawImage(m,0,0,t,e),new Promise((f,V)=>l.toBlob(S=>S?f(S):V(new Error("toBlob failed")),"image/jpeg",.8))):void 0}catch(o){console.error("Failed to capture map thumbnail",o);return}}async updateGeoTIFFLayer(t){var o,n;let e=URL.createObjectURL(t),{default:a}=await import("ol/source/GeoTIFF.js"),i=new a({sources:[{url:e,bands:[1],nodata:this.noDataValue}],wrapX:!0,interpolate:!1,normalize:!1});if(M(this,y,new Yt({source:i})),this.innerMap&&(this.innerMap.removeLayer("geotiff"),this.innerMap.addLayer(c(this,y),{name:"geotiff"})),this.metadata=await this.fetchGeotiffMetadata(i),this.long_name=(o=this.metadata.long_name)!=null?o:"",this.innerMap&&c(this,y)){this.applyColorToLayer(i,this.colorMapName);try{let r=await((n=c(this,y).getSource())==null?void 0:n.getView());r!=null&&r.extent&&r.projection&&this.innerMap.fitToExtent(r.extent,{projection:r.projection,padding:[50,50,50,50],duration:300})}catch(r){console.warn("Failed to fit map to GeoTIFF extent:",r)}}}async fetchGeotiffMetadata(t){var m;await t.getView();let i=(m=t.sourceImagery_[0][0].fileDirectory)==null?void 0:m.GDAL_METADATA,r=new DOMParser().parseFromString(i,"application/xml").querySelectorAll("Item"),h={};for(let u=0;u<r.length;u++){let l=r[u],p=l.getAttribute("name"),f=l.textContent?l.textContent.trim():"";p&&(h[p]=f)}return console.log("Data obj: ",h),h}getNoDataValue(t){let e=this.noDataValue;return t==null||t.getView().then(()=>{var i,o;let a=t.sourceImagery_[0][0];e=parseFloat((o=(i=a.fileDirectory)==null?void 0:i.GDAL_NODATA)!=null?o:this.noDataValue.toString())}),e}async getMinMax(t){await t.getView();let i=(await t.sourceImagery_[0][0].readRasters({samples:[0]}))[0],o=1/0,n=-1/0;for(let r=0;r<i.length;r++){let h=i[r];!isNaN(h)&&h!==this.getNoDataValue(t)&&(h<o&&(o=h),h>n&&(n=h))}return{min:o,max:n}}async getColorStops(t,e,a,i,o){let n=(a-e)/(i-1),r=new Array(i*2),{default:h}=await import("colormap"),m=h({colormap:t,nshades:i,format:"rgba"}),u=[];o&&m.reverse();for(let l=0;l<i;l++)r[l*2]=e+l*n,r[l*2+1]=m[l],u.push((e+l*n).toExponential(2));return this.generatePalette(m,u,e,a),r}generatePalette(t,e,a,i){this.legendValues=[];for(let o=t.length-1;o>0;o--){let n=parseFloat(e[o]);n>=a&&n<=i&&this.legendValues.push({value:e[o],rgb:t[o]})}this.min=a.toExponential(3),this.max=i.toExponential(3)}async applyColorToLayer(t,e){var n;var{min:a,max:i}=await this.getMinMax(t);let o={color:["case",["==",["band",2],0],[0,0,0,0],["interpolate",["linear"],["band",1],...await this.getColorStops(e,a,i,72,!1)]]};(n=c(this,y))==null||n.setStyle(o)}render(){var t,e,a,i;return N`
|
|
2
|
-
${b(this,at,zt).call(this)?N`
|
|
3
|
-
<terra-alert
|
|
4
|
-
class="no-data-alert"
|
|
5
|
-
variant="danger"
|
|
6
|
-
open
|
|
7
|
-
closable
|
|
8
|
-
>
|
|
9
|
-
<terra-icon
|
|
10
|
-
slot="icon"
|
|
11
|
-
name="outline-exclamation-triangle"
|
|
12
|
-
library="heroicons"
|
|
13
|
-
></terra-icon>
|
|
14
|
-
The selected variable was not found in the catalog
|
|
15
|
-
</terra-alert>
|
|
16
|
-
`:""}
|
|
17
|
-
${this.timeAverageMapError?N`
|
|
18
|
-
<terra-alert
|
|
19
|
-
class="error-alert"
|
|
20
|
-
variant="danger"
|
|
21
|
-
open
|
|
22
|
-
closable
|
|
23
|
-
@terra-after-hide=${()=>this.timeAverageMapError=null}
|
|
24
|
-
>
|
|
25
|
-
<terra-icon
|
|
26
|
-
slot="icon"
|
|
27
|
-
name="outline-exclamation-triangle"
|
|
28
|
-
library="heroicons"
|
|
29
|
-
></terra-icon>
|
|
30
|
-
${b(this,ot,Ot).call(this,this.timeAverageMapError)}
|
|
31
|
-
</terra-alert>
|
|
32
|
-
`:""}
|
|
33
|
-
<div class="toolbar-container">
|
|
34
|
-
${ae(this.catalogVariable?N`<terra-plot-toolbar
|
|
35
|
-
dataType="geotiff"
|
|
36
|
-
.catalogVariable=${this.catalogVariable}
|
|
37
|
-
.timeSeriesData=${(t=c(this,$).jobStatusTask)==null?void 0:t.value}
|
|
38
|
-
.location=${this.location}
|
|
39
|
-
.startDate=${this.startDate}
|
|
40
|
-
.endDate=${this.endDate}
|
|
41
|
-
.cacheKey=${c(this,$).getCacheKey()}
|
|
42
|
-
.variableEntryId=${nt(this)}
|
|
43
|
-
@show-opacity-value=${b(this,W,Nt)}
|
|
44
|
-
@show-color-map=${b(this,Y,Rt)}
|
|
45
|
-
@show-check-box-toggle=${b(this,et,Gt)}
|
|
46
|
-
.pixelValue=${this.pixelValue}
|
|
47
|
-
.pixelCoordinates=${this.pixelCoordinates}
|
|
48
|
-
show-date-range
|
|
49
|
-
.colormaps=${this.colormaps}
|
|
50
|
-
.colorMapName=${this.colorMapName}
|
|
51
|
-
.opacity=${this.opacity}
|
|
52
|
-
.showHelp=${this.showHelp}
|
|
53
|
-
></terra-plot-toolbar>`:N`<div class="spacer"></div>`)}
|
|
54
|
-
</div>
|
|
55
|
-
|
|
56
|
-
<div class="map-container">
|
|
57
|
-
<terra-map fill show-graticule></terra-map>
|
|
58
|
-
|
|
59
|
-
<div id="settings">
|
|
60
|
-
<div>
|
|
61
|
-
<strong>Value:</strong>
|
|
62
|
-
<span id="pixelValue">${this.pixelValue}</span>
|
|
63
|
-
</div>
|
|
64
|
-
|
|
65
|
-
<div>
|
|
66
|
-
<strong>Coordinate: </strong>
|
|
67
|
-
<span id="cursorCoordinates">${this.pixelCoordinates}</span>
|
|
68
|
-
</div>
|
|
69
|
-
</div>
|
|
70
|
-
|
|
71
|
-
<div id="legend">
|
|
72
|
-
<div class="stats" id="statsMax">${this.max}</div>
|
|
73
|
-
<div class="palette">
|
|
74
|
-
${this.legendValues.map(o=>N`
|
|
75
|
-
<div
|
|
76
|
-
class="color-box"
|
|
77
|
-
style="background-color: rgba(${o.rgb})"
|
|
78
|
-
title="${o.value}"
|
|
79
|
-
></div>
|
|
80
|
-
`)}
|
|
81
|
-
</div>
|
|
82
|
-
<div class="stats" id="statsMin">${this.min}</div>
|
|
83
|
-
</div>
|
|
84
|
-
</div>
|
|
85
|
-
|
|
86
|
-
${this.harmonyJobId?N`
|
|
87
|
-
<div class="harmony-job-link">
|
|
88
|
-
<a
|
|
89
|
-
href=${`https://harmony${this.environment==="uat"?".uat":""}.earthdata.nasa.gov/jobs/${this.harmonyJobId}`}
|
|
90
|
-
target="_blank"
|
|
91
|
-
rel="noopener noreferrer"
|
|
92
|
-
>
|
|
93
|
-
Request Status: ${this.harmonyJobId}
|
|
94
|
-
</a>
|
|
95
|
-
</div>
|
|
96
|
-
`:Jt}
|
|
97
|
-
|
|
98
|
-
<!-- Floating Popover for Plot -->
|
|
99
|
-
${this.toggleState&&this.plotData&&Object.keys(this.plotData).length&&this.layout&&Object.keys(this.layout).length?N`
|
|
100
|
-
<div class="plot-popover ${this.minimized?"minimized":""}">
|
|
101
|
-
<terra-plot
|
|
102
|
-
style="display: ${this.minimized?"none":"block"}"
|
|
103
|
-
.data=${this.plotData}
|
|
104
|
-
plotTitle="Data Profile"
|
|
105
|
-
.layout=${this.layout}
|
|
106
|
-
>
|
|
107
|
-
</terra-plot>
|
|
108
|
-
|
|
109
|
-
<terra-button
|
|
110
|
-
class="minify-btn"
|
|
111
|
-
@click=${b(this,Z,jt)}
|
|
112
|
-
>
|
|
113
|
-
${this.minimized?"Restore":"Minimize"}
|
|
114
|
-
</terra-button>
|
|
115
|
-
</div>
|
|
116
|
-
`:null}
|
|
117
|
-
|
|
118
|
-
<dialog
|
|
119
|
-
?open=${((a=(e=c(this,$))==null?void 0:e.jobStatusTask)==null?void 0:a.status)===T.PENDING}
|
|
120
|
-
>
|
|
121
|
-
<terra-loader indeterminate variant="orbit"></terra-loader>
|
|
122
|
-
<p>Plotting ${(i=this.catalogVariable)==null?void 0:i.dataFieldId}…</p>
|
|
123
|
-
<terra-button @click=${b(this,X,kt)}>Cancel</terra-button>
|
|
124
|
-
</dialog>
|
|
125
|
-
`}};$=new WeakMap,y=new WeakMap,E=new WeakMap,P=new WeakMap,L=new WeakMap,B=new WeakMap,G=new WeakMap,z=new WeakMap,q=new WeakSet,Lt=async function(t,e){var _,A;let a=(_=this.shadowRoot)==null?void 0:_.getElementById("legend");if(!a)return;let i=(A=this.shadowRoot)==null?void 0:A.querySelector(".map-container");if(!i)return;let o=a.getBoundingClientRect(),n=i.getBoundingClientRect(),r=o.left-n.left,h=o.top-n.top+e,m=o.width,u=o.height;t.fillStyle="#ffffff",t.fillRect(r,h,m,u),t.strokeStyle="#cccccc",t.lineWidth=1,t.strokeRect(r,h,m,u);let l=window.getComputedStyle(a),p=parseFloat(l.fontSize)||12,f=l.fontFamily||"monospace",V=parseFloat(l.padding)||8,S=a.querySelector("#statsMax");S&&(t.fillStyle="#000000",t.font=`${p}px ${f}`,t.textAlign="center",t.textBaseline="top",t.fillText(S.textContent||"",r+m/2,h+V));let k=a.querySelector(".palette");if(k){let w=k.getBoundingClientRect(),x=w.left-n.left,D=w.top-n.top+e,j=w.width,R=Array.from(k.querySelectorAll("div")),I=D;for(let F of R){let ct=F.getBoundingClientRect().height,ht=(F.getAttribute("style")||"").match(/background-color:\s*rgba?\(([^)]+)\)/);if(ht){let Ut=ht[1],[_t,At,Tt,qt=1]=Ut.split(",").map(Ht=>parseFloat(Ht.trim()));t.fillStyle=`rgba(${_t}, ${At}, ${Tt}, ${qt})`,t.fillRect(x,I,j,ct)}I+=ct}}let U=a.querySelector("#statsMin");U&&(t.fillStyle="#000000",t.font=`${p}px ${f}`,t.textAlign="center",t.textBaseline="bottom",t.fillText(U.textContent||"",r+m/2,h+u-V))},H=new WeakSet,It=function(){if(!this.catalogVariable)return"Time Averaged Map";let t=[];if(t.push("Time Averaged Map of"),this.catalogVariable.dataFieldLongName&&t.push(this.catalogVariable.dataFieldLongName),this.catalogVariable.dataProductTimeInterval&&this.catalogVariable.dataProductTimeInterval.toLowerCase()!=="not applicable"&&t.push(this.catalogVariable.dataProductTimeInterval),this.catalogVariable.dataProductSpatialResolution&&this.catalogVariable.dataProductSpatialResolution.toLowerCase()!=="not applicable"&&t.push(this.catalogVariable.dataProductSpatialResolution),this.catalogVariable.dataProductShortName){let e=`[${this.catalogVariable.dataProductShortName}`;this.catalogVariable.dataProductVersion&&(e+=` v${this.catalogVariable.dataProductVersion}`),e+="]",t.push(e)}if(this.startDate&&this.endDate){let e=rt(this.startDate),a=rt(this.endDate);t.push(`over ${e} - ${a}`)}return t.join(" ")},J=new WeakSet,Mt=function(t,e,a,i){t.font=`bold ${i}px Arial, sans-serif`;let o=e.split(" "),n=[],r=o[0];for(let h=1;h<o.length;h++){let m=o[h];t.measureText(r+" "+m).width<a?r+=" "+m:(n.push(r),r=m)}return n.push(r),n},W=new WeakSet,Nt=function(t){this.opacity=t.detail,c(this,y)&&c(this,y).setOpacity(this.opacity)},Y=new WeakSet,Rt=function(t){let e=t.detail;c(this,y)&&c(this,y).getSource()&&(this.colorMapName=e,this.applyColorToLayer(c(this,y).getSource(),this.colorMapName))},X=new WeakSet,kt=function(){c(this,$).cancelJob()},K=new WeakSet,Ft=function(t){let e=te(t),a;return e>100?a=e/1e3/60:a=e/10,Math.max(2,Math.round(a))},Q=new WeakSet,Pt=function(t){let e=b(this,K,Ft).call(this,t),a=[];for(let i=0;i<=e;i++){let o=i/e;a.push(t.getCoordinateAt(o))}return a},Z=new WeakSet,jt=function(){this.minimized=!this.minimized},tt=new WeakSet,Bt=function(){var t;this.toggleState=!1,this.innerMap&&c(this,L)&&(this.innerMap.removeInteraction(c(this,L)),this.innerMap.removeLayer("profile-line")),(t=c(this,E))==null||t.clear(),M(this,L,null),M(this,P,null),M(this,E,null)},O=new WeakSet,st=function(t){if(!this.innerMap||!c(this,y))return NaN;let e=this.innerMap.getPixelFromCoordinate(t);if(!e)return NaN;let a=c(this,y).getData(e);if(!a)return NaN;if(a instanceof Uint8Array||a instanceof Uint8ClampedArray||a instanceof Float32Array)return isNaN(a[0])?NaN:a[0];if(a instanceof DataView){let i=a.getFloat32(0,!0);return isNaN(i)?NaN:i}return NaN},et=new WeakSet,Gt=function(t){var e=t.detail;e?(this.toggleState=e,M(this,E,new Kt({wrapX:!1})),M(this,P,new Xt({source:c(this,E)})),M(this,L,new Qt({source:c(this,E),type:"LineString"})),this.innerMap&&(this.innerMap.addLayer(c(this,P),{name:"profile-line",position:"top"}),this.innerMap.addInteraction(c(this,L)),c(this,L).on("drawend",a=>{var l;let i=a.feature.getGeometry(),o=b(this,Q,Pt).call(this,i),n=o.map(p=>new ee({geometry:new Zt(p)}));(l=c(this,E))==null||l.addFeatures(n);let r=o.map(p=>b(this,O,st).call(this,p)),h=o.map((p,f)=>f),u=o.map(p=>{let[f,V]=oe(p),S=b(this,O,st).call(this,p),k=isNaN(S)?"N/A":S.toExponential(4);return[parseFloat(f.toFixed(2)),parseFloat(V.toFixed(2)),k]}).map((p,f)=>{let V=f,S=p[2];return`Index: ${V}<br>Value: ${S}<br>Coordinates: [${p[0]}, ${p[1]}]`});this.plotData=[{x:h,y:r,text:u,hoverinfo:"text",type:"scatter",mode:"lines+markers",line:{color:"blue"}}],this.layout={title:"Data Profile",xaxis:{title:"Point Index"},yaxis:{title:`Cloud Coverage (${this.metadata.units})`,tickformat:".2e"}}}))):b(this,tt,Bt).call(this)},at=new WeakSet,zt=function(){return this._fetchVariableTask.status!==T.COMPLETE?!1:!!(this.collection&&this.variable)&&!this.catalogVariable},ot=new WeakSet,Ot=function(t){return Ct(t)},s.styles=[dt,$t],s.dependencies={"terra-button":ft,"terra-icon":gt,"terra-plot-toolbar":Vt,"terra-loader":yt,"terra-plot":wt,"terra-alert":ut,"terra-map":vt},d([C({reflect:!0})],s.prototype,"collection",2),d([C({reflect:!0})],s.prototype,"variable",2),d([C({attribute:"start-date",reflect:!0})],s.prototype,"startDate",2),d([C({attribute:"end-date",reflect:!0})],s.prototype,"endDate",2),d([C({reflect:!0})],s.prototype,"location",2),d([C({attribute:"bearer-token",reflect:!1,converter:pt})],s.prototype,"bearerToken",2),d([C({type:String})],s.prototype,"long_name",2),d([C({type:String,attribute:"color-map-name",reflect:!0})],s.prototype,"colorMapName",2),d([C({type:Number})],s.prototype,"opacity",2),d([C({attribute:"application-id"})],s.prototype,"applicationId",2),d([C({type:Boolean,attribute:"no-cache"})],s.prototype,"noCache",2),d([C({type:Boolean})],s.prototype,"cache",1),d([C({attribute:"job-id"})],s.prototype,"jobId",2),d([C({type:Boolean,attribute:"show-help"})],s.prototype,"showHelp",2),d([v()],s.prototype,"catalogVariable",2),d([v()],s.prototype,"pixelValue",2),d([v()],s.prototype,"pixelCoordinates",2),d([v()],s.prototype,"metadata",2),d([v()],s.prototype,"toggleState",2),d([v()],s.prototype,"minimized",2),d([v()],s.prototype,"noDataValue",2),d([v()],s.prototype,"min",2),d([v()],s.prototype,"max",2),d([v()],s.prototype,"legendValues",2),d([v()],s.prototype,"timeAverageMapError",2),d([Wt("terra-map")],s.prototype,"innerMap",2),d([v()],s.prototype,"colormaps",2),d([v()],s.prototype,"plotData",2),d([v()],s.prototype,"layout",2),d([v()],s.prototype,"harmonyJobId",2),d([it(["startDate","endDate","location","catalogVariable"])],s.prototype,"handlePropertyChange",1),d([it(["colorMapName","opacity"])],s.prototype,"handlePlotOptionsChange",1);export{s as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e}from"./chunk.2TEQHV6L.js";import*as a from"react";import{createComponent as t}from"@lit/react";var r="terra-data-access";e.define("terra-data-access");var o=t({tagName:r,elementClass:e,react:a,events:{},displayName:"TerraDataAccess"}),d=o;export{d as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as a}from"./chunk.2TEQHV6L.js";var s=a;a.define("terra-data-access");export{s as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk.DQK2UXR4.js";import*as r from"react";import{createComponent as t}from"@lit/react";import"@lit/react";var n="terra-toggle";e.define("terra-toggle");var a=t({tagName:n,elementClass:e,react:r,events:{onTerraBlur:"terra-blur",onTerraChange:"terra-change",onTerraInput:"terra-input",onTerraFocus:"terra-focus",onTerraInvalid:"terra-invalid"},displayName:"TerraToggle"}),E=a;export{E as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as o}from"./chunk.Q3BZF2QB.js";var m=o;o.define("terra-combobox");export{m as a};
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
import{b as U}from"./chunk.TAQ6A3B7.js";import{a as W}from"./chunk.JA3TOBR2.js";import{a as Y}from"./chunk.3XI2E7JG.js";import{a as G}from"./chunk.YZVMLY7K.js";import{a as S}from"./chunk.MRG32HPF.js";import{b as H,c as j}from"./chunk.DSWDVHOD.js";import{a as J}from"./chunk.JOM4G2YE.js";import{a as F}from"./chunk.QDFHF7LY.js";import{a as _}from"./chunk.ZGUIKRKT.js";import{c as L}from"./chunk.QGXUQL5S.js";import{a as O}from"./chunk.P4FS7V3Q.js";import{a as R}from"./chunk.WUGT5ECK.js";import{a as M}from"./chunk.DAUE6BIF.js";import{a as A,b as N,c as B}from"./chunk.WJDOBCXK.js";import{e,f as i,g as l,h as q,i as u}from"./chunk.INFVQQSJ.js";import{html as d,nothing as z}from"lit";import{property as s,query as K,state as g}from"lit/decorators.js";import{TaskStatus as b}from"@lit/task";import{cache as it}from"lit/directives/cache.js";var st={fromAttribute:p=>{if(!p)return[];try{let f=JSON.parse(p);if(Array.isArray(f))return f.map(r=>String(r).trim()).filter(Boolean)}catch(f){}return p.split(",").map(f=>f.trim()).filter(Boolean)},toAttribute:p=>p!=null&&p.length?JSON.stringify(p):null},n,m,y,v,E,Q,k,X,$,Z,D,T,x,tt,C,et,P,at,V,rt,w,ot,t=class extends F(B){constructor(){super(...arguments);l(this,E);l(this,k);l(this,$);l(this,D);l(this,x);l(this,C);l(this,P);l(this,V);l(this,w);l(this,n,new U(this));this.variableEntryIds=[];this.showCitation=!1;this.showHelp=!0;this.disableAutoFetch=!1;this.mobileView=!1;this.hideToolbar=!1;this.cache=!1;this.catalogVariables=[];this.quotaExceededOpen=!1;this.timeSeriesError=null;this.showDataPointWarning=!1;this.estimatedDataPoints=0;l(this,m,!1);this._authController=new J(this);this._fetchVariableTask=Y(this);l(this,y,r=>{let{status:a,code:o,message:c,context:h}=r.detail;this.timeSeriesError={code:o||String(a),message:c,context:h},a===429&&(this.quotaExceededOpen=!0)});l(this,v,r=>{let{currentChunk:a,totalChunks:o}=r.detail;this.chunkProgress=a>0&&o>1?{currentChunk:a,totalChunks:o}:void 0})}connectedCallback(){super.connectedCallback(),this.addEventListener("terra-time-series-error",i(this,y)),this.addEventListener("terra-time-series-chunk-progress-change",i(this,v))}updated(r){super.updated(r);let a=i(this,n).task.status,o=a===b.PENDING||this._fetchVariableTask.status===b.PENDING;if(o!==i(this,m)&&(q(this,m,o),this.dispatchEvent(new CustomEvent("terra-time-series-loading-change",{detail:{loading:o},bubbles:!0,composed:!0}))),a===b.PENDING&&this.timeSeriesError&&(this.timeSeriesError=null),a===b.ERROR&&!this.timeSeriesError){let c=i(this,n).task.error;if(c){let h=H(c);if(h.isCancellation)return;this.timeSeriesError={code:h.code,message:h.message,context:h.context}}}}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("terra-time-series-error",i(this,y)),this.removeEventListener("terra-time-series-chunk-progress-change",i(this,v))}render(){var r,a,o;return d`
|
|
2
|
-
<div class="plot-container" @mouseleave=${u(this,D,T)}>
|
|
3
|
-
${this.quotaExceededOpen?d`
|
|
4
|
-
<terra-alert
|
|
5
|
-
variant="warning"
|
|
6
|
-
duration="10000"
|
|
7
|
-
open=${this.quotaExceededOpen}
|
|
8
|
-
closable
|
|
9
|
-
@terra-after-hide=${()=>this.quotaExceededOpen=!1}
|
|
10
|
-
>
|
|
11
|
-
<terra-icon
|
|
12
|
-
slot="icon"
|
|
13
|
-
name="outline-exclamation-triangle"
|
|
14
|
-
library="heroicons"
|
|
15
|
-
></terra-icon>
|
|
16
|
-
You've exceeded your request quota. Please
|
|
17
|
-
<a
|
|
18
|
-
href="https://disc.gsfc.nasa.gov/information/documents?title=Contact%20Us"
|
|
19
|
-
>contact the help desk</a
|
|
20
|
-
>
|
|
21
|
-
for further assistance.
|
|
22
|
-
</terra-alert>
|
|
23
|
-
`:""}
|
|
24
|
-
${this.hideToolbar?z:it(this.catalogVariable?d`<terra-plot-toolbar
|
|
25
|
-
.catalogVariable=${this.catalogVariable}
|
|
26
|
-
.plot=${this.plot}
|
|
27
|
-
.timeSeriesData=${(r=i(this,n).lastTaskValue)!=null?r:i(this,n).emptyPlotData}
|
|
28
|
-
.location=${this.location}
|
|
29
|
-
.startDate=${this.startDate}
|
|
30
|
-
.endDate=${this.endDate}
|
|
31
|
-
.cacheKey=${i(this,n).getCacheKey()}
|
|
32
|
-
.variableEntryId=${this.variableEntryId}
|
|
33
|
-
.showCitation=${this.showCitation}
|
|
34
|
-
.showHelp=${this.showHelp}
|
|
35
|
-
.mobileView=${this.mobileView}
|
|
36
|
-
.productLabel=${this.productLabel}
|
|
37
|
-
show-location
|
|
38
|
-
>
|
|
39
|
-
<slot name="help-links" slot="help-links"></slot>
|
|
40
|
-
</terra-plot-toolbar>`:d`<div class="spacer"></div>`)}
|
|
41
|
-
${u(this,C,et).call(this)?d`
|
|
42
|
-
<terra-alert
|
|
43
|
-
class="no-data-alert"
|
|
44
|
-
variant="warning"
|
|
45
|
-
open
|
|
46
|
-
closable
|
|
47
|
-
>
|
|
48
|
-
<terra-icon
|
|
49
|
-
slot="icon"
|
|
50
|
-
name="outline-information-circle"
|
|
51
|
-
library="heroicons"
|
|
52
|
-
></terra-icon>
|
|
53
|
-
We couldn't find available data for your selection. Try
|
|
54
|
-
widening your area or changing the date range to find
|
|
55
|
-
more results.
|
|
56
|
-
</terra-alert>
|
|
57
|
-
`:""}
|
|
58
|
-
${u(this,P,at).call(this)?d`
|
|
59
|
-
<terra-alert
|
|
60
|
-
class="no-data-alert"
|
|
61
|
-
variant="danger"
|
|
62
|
-
open
|
|
63
|
-
closable
|
|
64
|
-
>
|
|
65
|
-
<terra-icon
|
|
66
|
-
slot="icon"
|
|
67
|
-
name="outline-exclamation-triangle"
|
|
68
|
-
library="heroicons"
|
|
69
|
-
></terra-icon>
|
|
70
|
-
The selected variable was not found in the catalog
|
|
71
|
-
</terra-alert>
|
|
72
|
-
`:""}
|
|
73
|
-
${this.timeSeriesError?d`
|
|
74
|
-
<terra-alert
|
|
75
|
-
class="error-alert"
|
|
76
|
-
variant="danger"
|
|
77
|
-
open
|
|
78
|
-
closable
|
|
79
|
-
@terra-after-hide=${()=>this.timeSeriesError=null}
|
|
80
|
-
>
|
|
81
|
-
<terra-icon
|
|
82
|
-
slot="icon"
|
|
83
|
-
name="outline-exclamation-triangle"
|
|
84
|
-
library="heroicons"
|
|
85
|
-
></terra-icon>
|
|
86
|
-
${u(this,V,rt).call(this,this.timeSeriesError)}
|
|
87
|
-
</terra-alert>
|
|
88
|
-
`:""}
|
|
89
|
-
|
|
90
|
-
<terra-plot
|
|
91
|
-
exportparts="base:plot__base, plot-title:plot__title"
|
|
92
|
-
.data=${(a=i(this,n).lastTaskValue)!=null?a:i(this,n).emptyPlotData}
|
|
93
|
-
.layout="${{xaxis:{title:"Time",showgrid:!1,zeroline:!1,range:this.startDate&&this.endDate?[this.startDate,this.endDate]:void 0},yaxis:{title:u(this,x,tt).call(this),showline:!1},title:{text:this.catalogVariable&&this.location?`${this.catalogVariable.dataProductShortName}${this.catalogVariables.length>1?` (${this.catalogVariables.length} variables)`:""} @ ${this.location}`:null}}}"
|
|
94
|
-
.config=${{displayModeBar:!0,displaylogo:!1,modeBarButtonsToRemove:["toImage","zoom2d","resetScale2d"],responsive:!0}}
|
|
95
|
-
@terra-plot-relayout=${u(this,w,ot)}
|
|
96
|
-
></terra-plot>
|
|
97
|
-
</div>
|
|
98
|
-
|
|
99
|
-
<dialog
|
|
100
|
-
?open=${i(this,n).task.status===b.PENDING||this._fetchVariableTask.status===b.PENDING}
|
|
101
|
-
>
|
|
102
|
-
<terra-loader indeterminate></terra-loader>
|
|
103
|
-
|
|
104
|
-
${i(this,n).task.status===b.PENDING?d`
|
|
105
|
-
<p>
|
|
106
|
-
${this.catalogVariables.length>1?`Plotting ${this.catalogVariables.length} variables\u2026`:`Plotting ${(o=this.catalogVariable)==null?void 0:o.dataFieldId}\u2026`}
|
|
107
|
-
</p>
|
|
108
|
-
${this.chunkProgress?d`<p>
|
|
109
|
-
Fetching chunk ${this.chunkProgress.currentChunk}
|
|
110
|
-
of ${this.chunkProgress.totalChunks}…
|
|
111
|
-
</p>`:z}
|
|
112
|
-
`:d`<p>Preparing plot…</p>`}
|
|
113
|
-
|
|
114
|
-
<terra-button @click=${u(this,$,Z)}>Cancel</terra-button>
|
|
115
|
-
</dialog>
|
|
116
|
-
|
|
117
|
-
<dialog ?open=${this.showDataPointWarning} class="quota-dialog">
|
|
118
|
-
<h2>This is a large request</h2>
|
|
119
|
-
|
|
120
|
-
<p>
|
|
121
|
-
You are requesting approximately
|
|
122
|
-
${this.estimatedDataPoints.toLocaleString()} data points.
|
|
123
|
-
</p>
|
|
124
|
-
|
|
125
|
-
<p>
|
|
126
|
-
Requesting large amounts of data may cause you to reach your
|
|
127
|
-
monthly quota limit.
|
|
128
|
-
</p>
|
|
129
|
-
|
|
130
|
-
<p>Would you still like to proceed with this request?</p>
|
|
131
|
-
|
|
132
|
-
<div class="dialog-buttons">
|
|
133
|
-
<terra-button
|
|
134
|
-
@click=${u(this,k,X)}
|
|
135
|
-
variant="default"
|
|
136
|
-
>
|
|
137
|
-
Cancel
|
|
138
|
-
</terra-button>
|
|
139
|
-
|
|
140
|
-
<terra-button
|
|
141
|
-
@click=${u(this,E,Q)}
|
|
142
|
-
variant="primary"
|
|
143
|
-
>
|
|
144
|
-
Proceed
|
|
145
|
-
</terra-button>
|
|
146
|
-
</div>
|
|
147
|
-
</dialog>
|
|
148
|
-
`}};n=new WeakMap,m=new WeakMap,y=new WeakMap,v=new WeakMap,E=new WeakSet,Q=function(){i(this,n).confirmDataPointWarning(),i(this,n).task.run()},k=new WeakSet,X=function(){this.showDataPointWarning=!1},$=new WeakSet,Z=function(){i(this,n).cancelJob()},D=new WeakSet,T=function(r){var o;if(this.mobileView)return;let a=r.relatedTarget;this.contains(a)||(o=this.plotToolbar)==null||o.closeMenu()},x=new WeakSet,tt=function(){var o;let r=(this.catalogVariables.length?this.catalogVariables.map(c=>c.dataFieldUnits):[(o=this.catalogVariable)==null?void 0:o.dataFieldUnits]).filter(Boolean),a=[...new Set(r)];if(a.length)return a.join(", ")},C=new WeakSet,et=function(){var I;if(i(this,n).task.status!==b.COMPLETE)return!1;let a=(I=i(this,n).lastTaskValue)!=null?I:i(this,n).emptyPlotData;if(a.length===0)return!0;let o=a[0],c="x"in o?o.x:void 0,h="y"in o?o.y:void 0;return!!(!c||!h||Array.isArray(c)&&c.length===0||Array.isArray(h)&&h.length===0)},P=new WeakSet,at=function(){return this._fetchVariableTask.status!==b.COMPLETE?!1:!!(this.variableEntryId||this.variableEntryIds.length||this.collection&&this.variable)&&!this.catalogVariable},V=new WeakSet,rt=function(r){return j(r)},w=new WeakSet,ot=function(r){if(this.disableAutoFetch)return;let a=!1;r.detail.xAxisMin&&(this.startDate=L(r.detail.xAxisMin),a=!0),r.detail.xAxisMax&&(this.endDate=L(r.detail.xAxisMax),a=!0),a&&this.dispatchEvent(new CustomEvent("terra-date-range-change",{detail:{startDate:this.startDate,endDate:this.endDate},bubbles:!0,composed:!0}))},t.styles=[A,W],t.dependencies={"terra-plot":G,"terra-loader":_,"terra-icon":R,"terra-button":O,"terra-alert":M,"terra-plot-toolbar":S},e([s({attribute:"variable-entry-id",reflect:!0})],t.prototype,"variableEntryId",2),e([s({attribute:"variable-entry-ids",converter:st})],t.prototype,"variableEntryIds",2),e([s({reflect:!0})],t.prototype,"collection",2),e([s({reflect:!0})],t.prototype,"variable",2),e([s({attribute:"start-date",reflect:!0})],t.prototype,"startDate",2),e([s({attribute:"end-date",reflect:!0})],t.prototype,"endDate",2),e([s({reflect:!0})],t.prototype,"location",2),e([s({type:Boolean,attribute:"show-citation"})],t.prototype,"showCitation",2),e([s({type:Boolean,attribute:"show-help"})],t.prototype,"showHelp",2),e([s({attribute:"application-citation"})],t.prototype,"applicationCitation",2),e([s({type:Boolean,attribute:"disable-auto-fetch"})],t.prototype,"disableAutoFetch",2),e([s({attribute:"bearer-token",reflect:!1,converter:N})],t.prototype,"bearerToken",2),e([s({attribute:"mobile-view",type:Boolean,reflect:!0})],t.prototype,"mobileView",2),e([s({attribute:"hide-toolbar",type:Boolean,reflect:!0})],t.prototype,"hideToolbar",2),e([s({attribute:"product-label",reflect:!0})],t.prototype,"productLabel",2),e([s({attribute:"application-id"})],t.prototype,"applicationId",2),e([s({type:Boolean})],t.prototype,"cache",2),e([s({attribute:"job-id"})],t.prototype,"jobId",2),e([K("terra-plot")],t.prototype,"plot",2),e([K("terra-plot-toolbar")],t.prototype,"plotToolbar",2),e([g()],t.prototype,"catalogVariable",2),e([g()],t.prototype,"catalogVariables",2),e([g()],t.prototype,"quotaExceededOpen",2),e([g()],t.prototype,"timeSeriesError",2),e([g()],t.prototype,"showDataPointWarning",2),e([g()],t.prototype,"estimatedDataPoints",2),e([g()],t.prototype,"chunkProgress",2);export{t as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk.UHN4YWEW.js";var m=e;e.define("terra-time-series");export{m as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk.EAPRKWW2.js";var t=e;e.define("terra-popup");export{t as a};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{a as u}from"./chunk.MOTKVAC5.js";import{a as c}from"./chunk.IYLOXJSX.js";import{a as s,c as y}from"./chunk.QGXUQL5S.js";import{a as m}from"./chunk.J5Q4TWEG.js";import{a as h,c as p}from"./chunk.WJDOBCXK.js";import{e as i}from"./chunk.INFVQQSJ.js";import{property as a,query as b}from"lit/decorators.js";import{html as M}from"lit";import D,{PipsMode as x}from"nouislider";var e=class extends p{constructor(){super(...arguments);this.timeScale="daily";this.disabled=!1;this.hasPips=!0}updateSlider(){this.renderSlider()}disabledChanged(){var t,r,o,n;this.disabled?(r=(t=this.slider)==null?void 0:t.noUiSlider)==null||r.disable():(n=(o=this.slider)==null?void 0:o.noUiSlider)==null||n.enable()}firstUpdated(){this.renderSlider()}renderSlider(){var l;if(!this.slider)return;if((l=this.slider.noUiSlider)==null||l.destroy(),!s(this.minDate)||!s(this.maxDate)){this.renderEmptySlider(),this.minDate&&!s(this.minDate)&&console.error("Invalid min date provided"),this.maxDate&&!s(this.maxDate)&&console.error("Invalid max date provided");return}let t=new Date(this.minDate),r=new Date(this.maxDate),o=new Date(s(this.startDate)?this.startDate:this.minDate),n=new Date(s(this.endDate)?this.endDate:this.maxDate);t.setUTCHours(0,0,0,0),o.setUTCHours(0,0,0,0),r.setUTCHours(23,59,59,999),n.setUTCHours(23,59,59,999);let f={range:{min:t.getTime(),max:r.getTime()},behaviour:"drag",step:this._getStep(),start:[o.getTime(),n.getTime()],tooltips:[!0,!0],connect:!0,pips:{mode:x.Range,density:-1,format:this._getSliderFormatter()},format:this._getSliderFormatter()};D.create(this.slider,f),c(this.slider),this.slider.noUiSlider.on("change",d=>{this.emit("terra-date-range-change",{detail:{startDate:this._formatDate(d[0]),endDate:this._formatDate(d[1])}})})}renderEmptySlider(){D.create(this.slider,{start:[0,0],range:{min:0,max:0}})}_getStep(){switch(this.timeScale){case"half-hourly":return 30*6e4;case"hourly":return 36e5;default:return 864e5}}_getSliderFormatter(){return{to:t=>this._formatDate(t),from:t=>Number(t)}}_formatDate(t){let r=this.timeScale==="daily"?"yyyy-MM-dd":"yyyy-MM-dd HH:mm";return y(new Date(t),r)}render(){let t=`container${this.hasPips?" hasPips":""}`;return M`
|
|
2
|
-
<div class="${t}">
|
|
3
|
-
<div part="slider"></div>
|
|
4
|
-
</div>
|
|
5
|
-
`}};e.styles=[h,u],i([b('[part~="slider"]')],e.prototype,"slider",2),i([a({attribute:"time-scale"})],e.prototype,"timeScale",2),i([a({attribute:"min-date"})],e.prototype,"minDate",2),i([a({attribute:"max-date"})],e.prototype,"maxDate",2),i([a({attribute:"start-date"})],e.prototype,"startDate",2),i([a({attribute:"end-date"})],e.prototype,"endDate",2),i([a({type:Boolean,reflect:!0})],e.prototype,"disabled",2),i([a({type:Boolean,reflect:!0,attribute:"has-pips"})],e.prototype,"hasPips",2),i([m(["startDate","endDate","minDate","maxDate"])],e.prototype,"updateSlider",1),i([m("disabled")],e.prototype,"disabledChanged",1);export{e as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk.CXJA6HBX.js";import*as t from"react";import{createComponent as r}from"@lit/react";import"@lit/react";var o="terra-tooltip";e.define("terra-tooltip");var a=r({tagName:o,elementClass:e,react:t,events:{onTerraShow:"terra-show",onTerraAfterShow:"terra-after-show",onTerraHide:"terra-hide",onTerraAfterHide:"terra-after-hide"},displayName:"TerraTooltip"}),i=a;export{i as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk.MI6ETUDG.js";var o=e;e.define("terra-stepper");export{o as a};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import{a as c}from"./chunk.XOXHOZNI.js";import{a as s}from"./chunk.DAUE6BIF.js";import{a as m,c as u}from"./chunk.WJDOBCXK.js";import{e as i}from"./chunk.INFVQQSJ.js";import{html as f}from"lit";import{property as n}from"lit/decorators.js";var a=class extends u{constructor(){super(...arguments);this.variant="information";this.duration=3e3;this.closable=!0}get alert(){return this.shadowRoot?this.shadowRoot.querySelector("terra-alert"):null}firstUpdated(){let t=this.alert;t&&(t.addEventListener("terra-show",()=>this.emit("terra-show")),t.addEventListener("terra-after-show",()=>this.emit("terra-after-show")),t.addEventListener("terra-hide",()=>this.emit("terra-hide")),t.addEventListener("terra-after-hide",()=>this.emit("terra-after-hide")))}async toast(){return new Promise(async t=>{await this.updateComplete,this.shadowRoot||await this.updateComplete;let r=this.alert;if(r||(await customElements.whenDefined("terra-alert"),await this.updateComplete,r=this.alert),!r){t();return}await r.updateComplete;let e=s.toastStack;e.parentElement===null&&document.body.append(e),e.appendChild(this),requestAnimationFrame(async()=>{this.clientWidth,await this.updateComplete,await r.updateComplete,r.open||await r.show()}),this.addEventListener("terra-after-hide",()=>{e.contains(this)&&e.removeChild(this),t(),e.querySelector("terra-toast")===null&&e.querySelector("terra-alert")===null&&e.remove()},{once:!0})})}async show(){await this.updateComplete;let t=this.alert;if(!t)throw new Error("TerraToast: Alert element not found");return await t.updateComplete,t.show()}async hide(){await this.updateComplete;let t=this.alert;if(!t)throw new Error("TerraToast: Alert element not found");return await t.updateComplete,t.hide()}static async notify(t,r="information",e,p=3e3){let l=h=>{let d=document.createElement("div");return d.textContent=h,d.innerHTML},o=Object.assign(document.createElement("terra-toast"),{variant:r,duration:p,closable:!0,innerHTML:e?`
|
|
2
|
-
<terra-icon name="${e}" slot="icon" library="heroicons"></terra-icon>
|
|
3
|
-
${l(t)}
|
|
4
|
-
`:l(t)});return document.body.append(o),await customElements.whenDefined("terra-toast"),await o.updateComplete,o.toast()}render(){return f`
|
|
5
|
-
<terra-alert
|
|
6
|
-
part="base"
|
|
7
|
-
exportparts="base:base__base, icon:base__icon, message:base__message"
|
|
8
|
-
variant=${this.variant}
|
|
9
|
-
duration=${this.duration}
|
|
10
|
-
closable=${this.closable}
|
|
11
|
-
countdown=${this.countdown||""}
|
|
12
|
-
appearance="filled"
|
|
13
|
-
>
|
|
14
|
-
<slot name="icon" slot="icon"></slot>
|
|
15
|
-
<slot></slot>
|
|
16
|
-
</terra-alert>
|
|
17
|
-
`}};a.styles=[m,c],a.dependencies={"terra-alert":s},i([n({reflect:!0})],a.prototype,"variant",2),i([n({type:Number})],a.prototype,"duration",2),i([n({type:Boolean,reflect:!0})],a.prototype,"closable",2),i([n({type:String,reflect:!0})],a.prototype,"countdown",2);export{a};
|