@nasa-terra/components 0.0.192 → 0.0.194
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/chunks/chunk.25HPLSXK.js +19 -0
- package/cdn/chunks/chunk.27SIDXC6.js +19 -0
- package/cdn/chunks/chunk.2GBZA7X6.js +29 -0
- package/cdn/chunks/chunk.2JBOUVTP.js +19 -0
- package/cdn/chunks/chunk.2JSCXQW7.js +34 -0
- package/cdn/chunks/chunk.2R35TCCR.js +104 -0
- package/cdn/chunks/chunk.2VWO27MZ.js +29 -0
- package/cdn/chunks/chunk.3CKFHNXJ.js +29 -0
- package/cdn/chunks/chunk.3EIEZGDZ.js +33 -0
- package/cdn/chunks/chunk.3GKNYXW2.js +151 -0
- package/cdn/chunks/chunk.3LHCEEXB.js +29 -0
- package/cdn/chunks/chunk.3MOJVWIF.js +19 -0
- package/cdn/chunks/chunk.3NMZ6KCW.js +19 -0
- package/cdn/chunks/chunk.3PZGPPLB.js +32 -0
- package/cdn/chunks/chunk.3VVCAJUS.js +29 -0
- package/cdn/chunks/chunk.42HYQORC.js +19 -0
- package/cdn/chunks/chunk.4RFHOHAW.js +19 -0
- package/cdn/chunks/chunk.4USDETUT.js +19 -0
- package/cdn/chunks/chunk.4ZUHP7DV.js +19 -0
- package/cdn/chunks/chunk.54QUDEQS.js +19 -0
- package/cdn/chunks/chunk.56ESMRJG.js +19 -0
- package/cdn/chunks/chunk.57PNGTGL.js +19 -0
- package/cdn/chunks/chunk.5AHVOWBD.js +47 -0
- package/cdn/chunks/chunk.5AQTORKZ.js +19 -0
- package/cdn/chunks/chunk.5ELVELDK.js +32 -0
- package/cdn/chunks/chunk.5JA573P2.js +231 -0
- package/cdn/chunks/chunk.5JZJ5AAG.js +19 -0
- package/cdn/chunks/chunk.5OUTFWGD.js +29 -0
- package/cdn/chunks/chunk.5PBKRZ33.js +493 -0
- package/cdn/chunks/chunk.5SYNPWHT.js +29 -0
- package/cdn/chunks/chunk.62N5Y2AB.js +19 -0
- package/cdn/chunks/chunk.64NUK4JL.js +29 -0
- package/cdn/chunks/chunk.66YTCHG3.js +32 -0
- package/cdn/chunks/chunk.6EBUIW4K.js +19 -0
- package/cdn/chunks/chunk.6F5WC2OW.js +82 -0
- package/cdn/chunks/chunk.6OMLNJTP.js +60 -0
- package/cdn/chunks/chunk.6TECKHZT.js +524 -0
- package/cdn/chunks/chunk.76YRBNB2.js +19 -0
- package/cdn/chunks/chunk.7C6GWOGP.js +19 -0
- package/cdn/chunks/chunk.7RXZ4DIZ.js +29 -0
- package/cdn/chunks/chunk.ACQCJRMW.js +33 -0
- package/cdn/chunks/chunk.ACXZHLNE.js +19 -0
- package/cdn/chunks/chunk.AD6R4VZ6.js +188 -0
- package/cdn/chunks/chunk.AFCKIMUZ.js +19 -0
- package/cdn/chunks/chunk.AJT4ZPZJ.js +33 -0
- package/cdn/chunks/chunk.AO22HKLW.js +19 -0
- package/cdn/chunks/chunk.AUXD4HEQ.js +92 -0
- package/cdn/chunks/chunk.BBBW7QJ4.js +29 -0
- package/cdn/chunks/chunk.BOIW6W57.js +32 -0
- package/cdn/chunks/chunk.BRQHBE2V.js +19 -0
- package/cdn/chunks/chunk.BRZW6LTV.js +19 -0
- package/cdn/chunks/chunk.C2ATZQ5F.js +29 -0
- package/cdn/chunks/chunk.CAKC3UCR.js +39 -0
- package/cdn/chunks/chunk.CAMTWMJT.js +29 -0
- package/cdn/chunks/chunk.CDWI63JL.js +29 -0
- package/cdn/chunks/chunk.CIEAG7S4.js +19 -0
- package/cdn/chunks/chunk.CPGK37L6.js +19 -0
- package/cdn/chunks/chunk.CPRCJFA2.js +19 -0
- package/cdn/chunks/chunk.CQNTYZDU.js +34 -0
- package/cdn/chunks/chunk.D2JCOO4N.js +19 -0
- package/cdn/chunks/chunk.D3BXGIH4.js +29 -0
- package/cdn/chunks/chunk.D3SUQHML.js +161 -0
- package/cdn/chunks/chunk.D47AKNJC.js +35 -0
- package/cdn/chunks/chunk.D5YCEDW5.js +19 -0
- package/cdn/chunks/chunk.DDZ3RNNW.js +62 -0
- package/cdn/chunks/chunk.DFNIXOB6.js +83 -0
- package/cdn/chunks/chunk.DJZRENBK.js +610 -0
- package/cdn/chunks/chunk.DRA5MV4R.js +19 -0
- package/cdn/chunks/chunk.DREWQEIG.js +19 -0
- package/cdn/chunks/chunk.EDE6XYWP.js +19 -0
- package/cdn/chunks/chunk.EIKDPG3G.js +32 -0
- package/cdn/chunks/chunk.EM46QCN4.js +165 -0
- package/cdn/chunks/chunk.ENESQRWD.js +293 -0
- package/cdn/chunks/chunk.EORFZZMW.js +19 -0
- package/cdn/chunks/chunk.ESMKHLKZ.js +36 -0
- package/cdn/chunks/chunk.EU3PNTIG.js +19 -0
- package/cdn/chunks/chunk.EURF434X.js +19 -0
- package/cdn/chunks/chunk.EUSE5BHV.js +538 -0
- package/cdn/chunks/chunk.EVMCVKQH.js +19 -0
- package/cdn/chunks/chunk.EZMQUKZA.js +35 -0
- package/cdn/chunks/chunk.F3ZA2EFX.js +19 -0
- package/cdn/chunks/chunk.FLOBTPDY.js +49 -0
- package/cdn/chunks/chunk.FMMWQRF6.js +616 -0
- package/cdn/chunks/chunk.FTO5YA7A.js +29 -0
- package/cdn/chunks/chunk.FUQGB4UU.js +32 -0
- package/cdn/chunks/chunk.FZODCTQW.js +29 -0
- package/cdn/chunks/chunk.GM5OAPMU.js +599 -0
- package/cdn/chunks/chunk.GPBWYPVI.js +29 -0
- package/cdn/chunks/chunk.H5JXHH2F.js +294 -0
- package/cdn/chunks/chunk.HBVEZIU6.js +19 -0
- package/cdn/chunks/chunk.HDSP7ASR.js +32 -0
- package/cdn/chunks/chunk.HT74GBHV.js +19 -0
- package/cdn/chunks/chunk.HV4ZOPDY.js +158 -0
- package/cdn/chunks/chunk.HWOTHK3U.js +330 -0
- package/cdn/chunks/chunk.I6H2QL7V.js +19 -0
- package/cdn/chunks/chunk.IAR6FJQ6.js +170 -0
- package/cdn/chunks/chunk.ID4RKLO7.js +132 -0
- package/cdn/chunks/chunk.IFAC3FEC.js +33 -0
- package/cdn/chunks/chunk.IFRZKWBI.js +19 -0
- package/cdn/chunks/chunk.IGNHRKWM.js +310 -0
- package/cdn/chunks/chunk.IH3AXGEW.js +29 -0
- package/cdn/chunks/chunk.INNEOUXN.js +234 -0
- package/cdn/chunks/chunk.IZYJIYRD.js +230 -0
- package/cdn/chunks/chunk.J2JFFPZR.js +29 -0
- package/cdn/chunks/chunk.J2SEB2ET.js +41 -0
- package/cdn/chunks/chunk.JAI2Q27H.js +537 -0
- package/cdn/chunks/chunk.JBH5HRD4.js +136 -0
- package/cdn/chunks/chunk.JFMPGJP3.js +1197 -0
- package/cdn/chunks/chunk.JPATOQ2E.js +19 -0
- package/cdn/chunks/chunk.JY73LTVA.js +19 -0
- package/cdn/chunks/chunk.K43ZWHFO.js +359 -0
- package/cdn/chunks/chunk.K6OTID57.js +32 -0
- package/cdn/chunks/chunk.K6V3EHME.js +99 -0
- package/cdn/chunks/chunk.KIKNUHHR.js +36 -0
- package/cdn/chunks/chunk.L67ZDXTQ.js +60 -0
- package/cdn/chunks/chunk.LARZNDXR.js +19 -0
- package/cdn/chunks/chunk.LEWORS2G.js +19 -0
- package/cdn/chunks/chunk.LIJL3O5C.js +29 -0
- package/cdn/chunks/chunk.LJ2VRPGW.js +37 -0
- package/cdn/chunks/chunk.LPYJTSID.js +19 -0
- package/cdn/chunks/chunk.LSDG52RS.js +19 -0
- package/cdn/chunks/chunk.LVDHTFCM.js +19 -0
- package/cdn/chunks/chunk.LYK67ADV.js +29 -0
- package/cdn/chunks/chunk.M2X5WZYA.js +195 -0
- package/cdn/chunks/chunk.M6QWSQ6R.js +32 -0
- package/cdn/chunks/chunk.MBUMDZWN.js +273 -0
- package/cdn/chunks/chunk.MH3KE4F4.js +904 -0
- package/cdn/chunks/chunk.MKRIP4AB.js +32 -0
- package/cdn/chunks/chunk.ML55JOKI.js +443 -0
- package/cdn/chunks/chunk.MNT7EW6Z.js +19 -0
- package/cdn/chunks/chunk.MQKU3QFL.js +19 -0
- package/cdn/chunks/chunk.N2XXN3TR.js +56075 -0
- package/cdn/chunks/chunk.N3RUN4BC.js +589 -0
- package/cdn/chunks/chunk.NARFBXIM.js +19 -0
- package/cdn/chunks/chunk.NDZ465WZ.js +29 -0
- package/cdn/chunks/chunk.NN5FLRAE.js +294 -0
- package/cdn/chunks/chunk.NR67OQKA.js +29 -0
- package/cdn/chunks/chunk.NVERX3HX.js +37 -0
- package/cdn/chunks/chunk.OBYBLUJW.js +29 -0
- package/cdn/chunks/chunk.OK7OTDZR.js +99 -0
- package/cdn/chunks/chunk.OMH5KBUQ.js +19 -0
- package/cdn/chunks/chunk.OZPPRU7T.js +32 -0
- package/cdn/chunks/chunk.PNLVMKMG.js +30 -0
- package/cdn/chunks/chunk.POXKPQPI.js +138 -0
- package/cdn/chunks/chunk.PVE72XKV.js +19 -0
- package/cdn/chunks/chunk.PWWCCXHW.js +86 -0
- package/cdn/chunks/chunk.PYLMFAYG.js +29 -0
- package/cdn/chunks/chunk.Q3MBVDWM.js +155 -0
- package/cdn/chunks/chunk.QGJV6ODQ.js +19 -0
- package/cdn/chunks/chunk.QNA6DNPH.js +190 -0
- package/cdn/chunks/chunk.R6TZC2LN.js +259 -0
- package/cdn/chunks/chunk.RA34EXZV.js +266 -0
- package/cdn/chunks/chunk.RBJVGVK2.js +19 -0
- package/cdn/chunks/chunk.RBRCQLSM.js +224 -0
- package/cdn/chunks/chunk.RSYNB7LT.js +2546 -0
- package/cdn/chunks/chunk.RTDUSEHR.js +113 -0
- package/cdn/chunks/chunk.RU5LYEYT.js +35 -0
- package/cdn/chunks/chunk.RYI43APZ.js +1975 -0
- package/cdn/chunks/chunk.S6VAJR4I.js +29 -0
- package/cdn/chunks/chunk.S7E3FO44.js +46 -0
- package/cdn/chunks/chunk.SAJCA6BZ.js +33 -0
- package/cdn/chunks/chunk.SF66BMUX.js +93 -0
- package/cdn/chunks/chunk.SFU6B27K.js +134 -0
- package/cdn/chunks/chunk.SPWNS6NM.js +29 -0
- package/cdn/chunks/chunk.SSIULMP4.js +19 -0
- package/cdn/chunks/chunk.SWSXHVIH.js +135 -0
- package/cdn/chunks/chunk.T23GTDT7.js +36 -0
- package/cdn/chunks/chunk.TESOH43L.js +19 -0
- package/cdn/chunks/chunk.TLZRGNQD.js +19 -0
- package/cdn/chunks/chunk.U2AACUWF.js +19 -0
- package/cdn/chunks/chunk.U7TCD5P2.js +960 -0
- package/cdn/chunks/chunk.UCT3XAKW.js +658 -0
- package/cdn/chunks/chunk.UUADHMC4.js +276 -0
- package/cdn/chunks/chunk.UYMVPCQM.js +539 -0
- package/cdn/chunks/chunk.UZNUBRSO.js +278 -0
- package/cdn/chunks/chunk.VEA2ZOY3.js +377 -0
- package/cdn/chunks/chunk.VLH4EKCR.js +29 -0
- package/cdn/chunks/chunk.VY3MFEXW.js +29 -0
- package/cdn/chunks/chunk.W36ELLE3.js +32 -0
- package/cdn/chunks/chunk.W4C6XLXC.js +36 -0
- package/cdn/chunks/chunk.WFUSNOGC.js +78 -0
- package/cdn/chunks/chunk.WGY4VUHI.js +35 -0
- package/cdn/chunks/chunk.WTFB42FU.js +663 -0
- package/cdn/chunks/chunk.X2BIJLHO.js +101 -0
- package/cdn/chunks/chunk.XA2U365T.js +110 -0
- package/cdn/chunks/chunk.XBS3GWMX.js +478 -0
- package/cdn/chunks/chunk.XFSSGWZP.js +19 -0
- package/cdn/chunks/chunk.XTH2GCFE.js +123 -0
- package/cdn/chunks/chunk.Y6HDWQ4L.js +19 -0
- package/cdn/chunks/chunk.YAQXBTU6.js +36 -0
- package/cdn/chunks/chunk.YHDOC5KN.js +32 -0
- package/cdn/chunks/chunk.YMWIHREQ.js +74 -0
- package/cdn/chunks/chunk.YQDAO5XG.js +915 -0
- package/cdn/chunks/chunk.YS5YJL73.js +29 -0
- package/cdn/chunks/chunk.YVHY3OAP.js +35 -0
- package/cdn/chunks/chunk.Z4WUWYUD.js +71 -0
- package/cdn/chunks/chunk.ZAM5GOI5.js +19 -0
- package/cdn/chunks/chunk.ZCHJKRIE.js +19 -0
- package/cdn/chunks/chunk.ZFVISD6K.js +357 -0
- package/cdn/chunks/chunk.ZITP6N3P.js +68 -0
- package/cdn/chunks/chunk.ZK2F6XLW.js +2690 -0
- package/cdn/chunks/chunk.ZKOQMCU6.js +32 -0
- package/cdn/chunks/chunk.ZTZDXMQ6.js +19 -0
- package/cdn/chunks/chunk.ZWLHZBEM.js +1259 -0
- package/cdn/components/accordion/accordion.component.js +3 -3
- package/cdn/components/accordion/accordion.js +4 -4
- package/cdn/components/alert/alert.component.js +2 -2
- package/cdn/components/alert/alert.js +3 -3
- package/cdn/components/avatar/avatar.component.js +3 -3
- package/cdn/components/avatar/avatar.js +4 -4
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/banner/banner.component.js +2 -2
- package/cdn/components/banner/banner.js +3 -3
- 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.js +13 -13
- package/cdn/components/browse-variables/browse-variables.controller.js +3 -3
- package/cdn/components/browse-variables/browse-variables.js +14 -14
- package/cdn/components/button/button.component.js +3 -3
- package/cdn/components/button/button.js +4 -4
- 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 +3 -3
- package/cdn/components/checkbox/checkbox.js +4 -4
- package/cdn/components/chip/chip.component.js +2 -2
- package/cdn/components/chip/chip.js +3 -3
- package/cdn/components/combobox/combobox.component.js +2 -2
- package/cdn/components/combobox/combobox.js +3 -3
- package/cdn/components/data-access/data-access.component.js +17 -17
- package/cdn/components/data-access/data-access.js +18 -18
- package/cdn/components/data-grid/data-grid.component.js +3 -3
- package/cdn/components/data-grid/data-grid.js +4 -4
- package/cdn/components/data-rods/data-rods.component.d.ts +2 -0
- package/cdn/components/data-rods/data-rods.component.js +25 -25
- package/cdn/components/data-rods/data-rods.js +26 -26
- package/cdn/components/data-subsetter/data-subsetter.component.d.ts +1 -0
- package/cdn/components/data-subsetter/data-subsetter.component.js +26 -26
- package/cdn/components/data-subsetter/data-subsetter.js +27 -27
- package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
- package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +27 -27
- package/cdn/components/data-subsetter-history/data-subsetter-history.js +28 -28
- package/cdn/components/date-picker/date-picker.component.js +8 -8
- package/cdn/components/date-picker/date-picker.js +9 -9
- package/cdn/components/date-range-slider/date-range-slider.component.js +4 -4
- package/cdn/components/date-range-slider/date-range-slider.js +5 -5
- package/cdn/components/dialog/dialog.component.js +4 -4
- package/cdn/components/dialog/dialog.js +5 -5
- 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 +10 -10
- package/cdn/components/earthdata-login/earthdata-login.js +11 -11
- 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 +8 -8
- package/cdn/components/harmony-history/harmony-history.js +9 -9
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/input/input.component.js +3 -3
- package/cdn/components/input/input.js +4 -4
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/login/login.component.js +8 -8
- package/cdn/components/login/login.js +9 -9
- package/cdn/components/map/map.component.js +2 -2
- package/cdn/components/map/map.js +3 -3
- 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 +5 -5
- package/cdn/components/menu-item/menu-item.js +6 -6
- package/cdn/components/option/option.component.js +3 -3
- package/cdn/components/option/option.js +4 -4
- package/cdn/components/pagination/pagination.component.js +3 -3
- package/cdn/components/pagination/pagination.js +4 -4
- package/cdn/components/plot/plot.component.js +2 -2
- package/cdn/components/plot/plot.js +3 -3
- 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 +11 -11
- package/cdn/components/plot-toolbar/plot-toolbar.js +12 -12
- 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 +2 -2
- package/cdn/components/radio/radio.js +3 -3
- 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 +3 -3
- package/cdn/components/scroll-hint/scroll-hint.js +4 -4
- package/cdn/components/select/select.component.js +5 -5
- package/cdn/components/select/select.js +6 -6
- package/cdn/components/site-header/site-header.component.js +3 -3
- package/cdn/components/site-header/site-header.js +3 -3
- 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 +7 -7
- package/cdn/components/spatial-picker/spatial-picker.js +8 -8
- 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.js +2 -2
- package/cdn/components/stepper/stepper.js +3 -3
- package/cdn/components/stepper-step/stepper-step.component.js +3 -3
- package/cdn/components/stepper-step/stepper-step.js +4 -4
- package/cdn/components/tab/tab.component.js +3 -3
- package/cdn/components/tab/tab.js +4 -4
- 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 +3 -3
- package/cdn/components/tabs/tabs.js +4 -4
- package/cdn/components/tag/tag.component.js +3 -3
- package/cdn/components/tag/tag.js +4 -4
- package/cdn/components/textarea/textarea.component.js +2 -2
- package/cdn/components/textarea/textarea.js +3 -3
- package/cdn/components/time-average-map/time-average-map.component.js +17 -17
- package/cdn/components/time-average-map/time-average-map.controller.js +3 -3
- package/cdn/components/time-average-map/time-average-map.js +18 -18
- package/cdn/components/time-series/time-series-cache.service.js +1 -1
- package/cdn/components/time-series/time-series.component.d.ts +3 -0
- package/cdn/components/time-series/time-series.component.js +18 -18
- package/cdn/components/time-series/time-series.controller.js +4 -4
- package/cdn/components/time-series/time-series.js +19 -19
- package/cdn/components/toast/toast.component.js +3 -3
- package/cdn/components/toast/toast.js +4 -4
- package/cdn/components/toggle/toggle.component.js +2 -2
- package/cdn/components/toggle/toggle.js +3 -3
- package/cdn/components/tooltip/tooltip.component.js +3 -3
- package/cdn/components/tooltip/tooltip.js +4 -4
- package/cdn/components/variable-combobox/variable-combobox.component.js +6 -6
- package/cdn/components/variable-combobox/variable-combobox.js +7 -7
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +6 -6
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +7 -7
- package/cdn/custom-elements.json +314 -203
- package/cdn/events/events.d.ts +2 -0
- package/cdn/events/terra-time-series-chunk-progress-change.d.ts +11 -0
- package/cdn/events/terra-time-series-loading-change.d.ts +10 -0
- package/cdn/react/accordion/index.js +4 -4
- package/cdn/react/alert/index.js +3 -3
- package/cdn/react/avatar/index.js +4 -4
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/banner/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +3 -3
- package/cdn/react/breadcrumbs/index.js +3 -3
- package/cdn/react/browse-variables/index.js +14 -14
- package/cdn/react/button/index.js +4 -4
- 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 +4 -4
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +3 -3
- package/cdn/react/data-access/index.js +18 -18
- package/cdn/react/data-grid/index.js +4 -4
- package/cdn/react/data-rods/index.js +26 -26
- package/cdn/react/data-subsetter/index.js +27 -27
- package/cdn/react/data-subsetter-history/index.js +28 -28
- package/cdn/react/date-picker/index.js +9 -9
- package/cdn/react/date-range-slider/index.js +5 -5
- package/cdn/react/dialog/index.js +5 -5
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/dropdown/index.js +4 -4
- package/cdn/react/earthdata-login/index.js +11 -11
- package/cdn/react/file-upload/index.js +3 -3
- package/cdn/react/harmony-history/index.js +9 -9
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/index.d.ts +1 -1
- package/cdn/react/index.js +145 -145
- package/cdn/react/input/index.js +4 -4
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +9 -9
- package/cdn/react/map/index.js +3 -3
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +6 -6
- package/cdn/react/option/index.js +4 -4
- package/cdn/react/pagination/index.js +4 -4
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/plot-toolbar/index.js +12 -12
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +3 -3
- package/cdn/react/radio/index.js +3 -3
- package/cdn/react/radio-group/index.js +3 -3
- package/cdn/react/scroll-hint/index.js +4 -4
- package/cdn/react/select/index.js +6 -6
- package/cdn/react/site-header/index.js +4 -4
- 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 +8 -8
- package/cdn/react/status-indicator/index.js +3 -3
- package/cdn/react/stepper/index.js +3 -3
- package/cdn/react/stepper-step/index.js +4 -4
- package/cdn/react/tab/index.js +4 -4
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/tabs/index.js +4 -4
- package/cdn/react/tag/index.js +4 -4
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/time-average-map/index.js +18 -18
- package/cdn/react/time-series/index.d.ts +8 -0
- package/cdn/react/time-series/index.js +19 -19
- package/cdn/react/toast/index.js +4 -4
- package/cdn/react/toggle/index.js +3 -3
- package/cdn/react/tooltip/index.js +4 -4
- package/cdn/react/variable-combobox/index.js +7 -7
- package/cdn/react/variable-keyword-search/index.js +7 -7
- package/cdn/terra-ui-components.js +137 -137
- package/cdn/types/vue/index.d.ts +137 -129
- package/cdn/utilities/date.d.ts +1 -1
- package/cdn/utilities/date.js +2 -2
- package/cdn/utilities/variable-task.js +3 -3
- package/cdn/vscode.html-custom-data.json +42 -42
- package/cdn/web-types.json +207 -188
- package/dist/chunks/chunk.26KXEWMN.js +16 -0
- package/dist/chunks/chunk.2AQNNAKL.js +1 -0
- package/dist/chunks/chunk.2FH6MYZZ.js +154 -0
- package/dist/chunks/chunk.2HOQQP26.js +23 -0
- package/dist/chunks/chunk.2IV72XUL.js +127 -0
- package/dist/chunks/chunk.2YTDL5KY.js +1 -0
- package/dist/chunks/chunk.33BFN23F.js +1 -0
- package/dist/chunks/chunk.35TL2DA6.js +75 -0
- package/dist/chunks/chunk.3FMYX3E6.js +1 -0
- package/dist/chunks/chunk.3G3L327Q.js +12 -0
- package/dist/chunks/chunk.3JUE7LKC.js +1 -0
- package/dist/chunks/chunk.3MYOC5J2.js +1 -0
- package/dist/chunks/chunk.3UXNICM5.js +1 -0
- package/dist/chunks/chunk.3UYB6TPT.js +33 -0
- package/dist/chunks/chunk.45QRM7RA.js +39 -0
- package/dist/chunks/chunk.4KYB4FL4.js +1 -0
- package/dist/chunks/chunk.4X7V4TVM.js +1 -0
- package/dist/chunks/chunk.4Z54QKZJ.js +14 -0
- package/dist/chunks/chunk.4ZBS5PPG.js +43 -0
- package/dist/chunks/chunk.54PML2SA.js +47 -0
- package/dist/chunks/chunk.5IKNWT5H.js +1 -0
- package/dist/chunks/chunk.5THA7JYX.js +1 -0
- package/dist/chunks/chunk.5V7VFGD5.js +61 -0
- package/dist/chunks/chunk.62SHHUCR.js +1 -0
- package/dist/chunks/chunk.65LT476V.js +1 -0
- package/dist/chunks/chunk.6EVIJKKN.js +1 -0
- package/dist/chunks/chunk.6FWVT5YS.js +780 -0
- package/dist/chunks/chunk.6NRGGCAP.js +41 -0
- package/dist/chunks/chunk.6QFWASSC.js +1 -0
- package/dist/chunks/chunk.72Q4Y2S2.js +8 -0
- package/dist/chunks/chunk.72VGTCIQ.js +1 -0
- package/dist/chunks/chunk.75SIW5FR.js +1 -0
- package/dist/chunks/chunk.75UNUTC7.js +1 -0
- package/dist/chunks/chunk.7DBXIKTC.js +300 -0
- package/dist/chunks/chunk.7MP72TZP.js +1 -0
- package/dist/chunks/chunk.7MYAWNRA.js +64 -0
- package/dist/chunks/chunk.7RB7NZHP.js +1 -0
- package/dist/chunks/chunk.A4TVOKKY.js +4 -0
- package/dist/chunks/chunk.ACCIF3CW.js +1 -0
- package/dist/chunks/chunk.AFGADJNK.js +1 -0
- package/dist/chunks/chunk.AIVIE5YC.js +1 -0
- package/dist/chunks/chunk.ATB2QRYD.js +1 -0
- package/dist/chunks/chunk.AXHBILJ4.js +300 -0
- package/dist/chunks/chunk.B2T3E3EN.js +1 -0
- package/dist/chunks/chunk.C62YPWNU.js +1 -0
- package/dist/chunks/chunk.C6AKU7WM.js +24 -0
- package/dist/chunks/chunk.C7E3R5KU.js +1 -0
- package/dist/chunks/chunk.CEHKBT6Q.js +1 -0
- package/dist/chunks/chunk.CHAY5OT7.js +35 -0
- package/dist/chunks/chunk.CTISMZYA.js +17 -0
- package/dist/chunks/chunk.CY5SBRKH.js +148 -0
- package/dist/chunks/chunk.CYECGPCS.js +1 -0
- package/dist/chunks/chunk.CZAJYJ7Y.js +1 -0
- package/dist/chunks/chunk.DADDNQLP.js +1 -0
- package/dist/chunks/chunk.DGC76RUW.js +43 -0
- package/dist/chunks/chunk.DN4QUBZT.js +1 -0
- package/dist/chunks/chunk.DPCU4QNO.js +1 -0
- package/dist/chunks/chunk.DQUUBGXN.js +65 -0
- package/dist/chunks/chunk.DTGRYWDW.js +1 -0
- package/dist/chunks/chunk.DTK4KP3A.js +1 -0
- package/dist/chunks/chunk.DWUSSCJJ.js +1 -0
- package/dist/chunks/chunk.E2CO7WAC.js +1 -0
- package/dist/chunks/chunk.E5J45IZ7.js +1 -0
- package/dist/chunks/chunk.E6QEYMFV.js +1 -0
- package/dist/chunks/chunk.EGGMNU3M.js +1 -0
- package/dist/chunks/chunk.EIXQWEAM.js +2 -0
- package/dist/chunks/chunk.EKTAW2GT.js +1 -0
- package/dist/chunks/chunk.EMPODODW.js +1 -0
- package/dist/chunks/chunk.EUVWT4QC.js +1 -0
- package/dist/chunks/chunk.EVUZHRXP.js +1 -0
- package/dist/chunks/chunk.F2565BRS.js +1 -0
- package/dist/chunks/chunk.FDEYULXK.js +9 -0
- package/dist/chunks/chunk.FRPWAKUG.js +1 -0
- package/dist/chunks/chunk.FWOBNCDE.js +1 -0
- package/dist/chunks/chunk.FWQ7SHUK.js +1 -0
- package/dist/chunks/chunk.G27RDTEA.js +1 -0
- package/dist/chunks/chunk.G335JMUG.js +11 -0
- package/dist/chunks/chunk.GFEVBXEL.js +1 -0
- package/dist/chunks/chunk.GIQVOBK7.js +1 -0
- package/dist/chunks/chunk.GLZKR6B5.js +1 -0
- package/dist/chunks/chunk.GODNPIQP.js +11 -0
- package/dist/chunks/chunk.GPNEDD5P.js +1 -0
- package/dist/chunks/chunk.GPYZTBOY.js +1 -0
- package/dist/chunks/chunk.GRK5N5A6.js +1 -0
- package/dist/chunks/chunk.GSHBEMLU.js +1 -0
- package/dist/chunks/chunk.GTEDR4QW.js +35 -0
- package/dist/chunks/chunk.GUF6ZBAS.js +26 -0
- package/dist/chunks/chunk.GUXZYNLH.js +1 -0
- package/dist/chunks/chunk.HETQFJKA.js +37 -0
- package/dist/chunks/chunk.HFOE6H7K.js +1 -0
- package/dist/chunks/chunk.HKVMHATQ.js +1 -0
- package/dist/chunks/chunk.HLDG5CW2.js +1 -0
- package/dist/chunks/chunk.HQH7ECRG.js +9 -0
- package/dist/chunks/chunk.HTATUAK5.js +1 -0
- package/dist/chunks/chunk.HWZU5KAS.js +1 -0
- package/dist/chunks/chunk.I5QWDHQJ.js +1 -0
- package/dist/chunks/chunk.I6ERW6PJ.js +1 -0
- package/dist/chunks/chunk.IC6VHV7M.js +1 -0
- package/dist/chunks/chunk.IDZK2LDN.js +1 -0
- package/dist/chunks/chunk.IL4QZ3ZM.js +1 -0
- package/dist/chunks/chunk.INUW5PQ4.js +6 -0
- package/dist/chunks/chunk.IUKZUZN7.js +1 -0
- package/dist/chunks/chunk.IZHIRL3X.js +1 -0
- package/dist/chunks/chunk.J5CDDE2J.js +1 -0
- package/dist/chunks/chunk.J6S26VCB.js +30 -0
- package/dist/chunks/chunk.JB2RNZRH.js +1 -0
- package/dist/chunks/chunk.JEML32HW.js +1 -0
- package/dist/chunks/chunk.JLHERDSR.js +1 -0
- package/dist/chunks/chunk.JM2I74WK.js +1 -0
- package/dist/chunks/chunk.JQCR6OBC.js +1 -0
- package/dist/chunks/chunk.JSHDLVPL.js +1 -0
- package/dist/chunks/chunk.JWBNPKSD.js +74 -0
- package/dist/chunks/chunk.KHDCXDVC.js +1 -0
- package/dist/chunks/chunk.L27PY7AR.js +1 -0
- package/dist/chunks/chunk.L4SJSJJH.js +1 -0
- package/dist/chunks/chunk.LMLDHGQC.js +27 -0
- package/dist/chunks/chunk.LMUNJ5G5.js +1 -0
- package/dist/chunks/chunk.LNGCGZML.js +145 -0
- package/dist/chunks/chunk.M6TRKIQH.js +1 -0
- package/dist/chunks/chunk.MG7I2BHN.js +5 -0
- package/dist/chunks/chunk.MGRDBN66.js +1 -0
- package/dist/chunks/chunk.MJL3WV7Q.js +55 -0
- package/dist/chunks/chunk.MPV52EDT.js +1 -0
- package/dist/chunks/chunk.MTMYGCXE.js +1 -0
- package/dist/chunks/chunk.MVH4BD5E.js +1 -0
- package/dist/chunks/chunk.N2J4ZXBP.js +1 -0
- package/dist/chunks/chunk.NSXOOZRJ.js +122 -0
- package/dist/chunks/chunk.O33GZXIW.js +19 -0
- package/dist/chunks/chunk.O5E2D7VI.js +80 -0
- package/dist/chunks/chunk.O5FM57JC.js +1 -0
- package/dist/chunks/chunk.OBDWHYK6.js +1 -0
- package/dist/chunks/chunk.OD4TBRCI.js +20 -0
- package/dist/chunks/chunk.OHUBKCFW.js +1 -0
- package/dist/chunks/chunk.OK25GRRM.js +1 -0
- package/dist/chunks/chunk.OUXNGODQ.js +55 -0
- package/dist/chunks/chunk.OYBESMEM.js +55 -0
- package/dist/chunks/chunk.OZGKOS7X.js +38 -0
- package/dist/chunks/chunk.OZHGY63Y.js +113 -0
- package/dist/chunks/chunk.P7GHJ7JX.js +1 -0
- package/dist/chunks/chunk.PLUPSVTL.js +1 -0
- package/dist/chunks/chunk.POQML7RV.js +1 -0
- package/dist/chunks/chunk.PUPEOSOS.js +1 -0
- package/dist/chunks/chunk.PWWWIMDG.js +1 -0
- package/dist/chunks/chunk.Q2AK6YWC.js +1 -0
- package/dist/chunks/chunk.QASYGJ27.js +1 -0
- package/dist/chunks/chunk.QBNYAZEC.js +5 -0
- package/dist/chunks/chunk.QGXUQL5S.js +1 -0
- package/dist/chunks/chunk.QHJOOSNB.js +1 -0
- package/dist/chunks/chunk.QHOKD4JQ.js +1 -0
- package/dist/chunks/chunk.QJFTPHPW.js +30 -0
- package/dist/chunks/chunk.QNDVROWC.js +100 -0
- package/dist/chunks/chunk.QQHOPHO5.js +1 -0
- package/dist/chunks/chunk.QUEQ5PKP.js +1 -0
- package/dist/chunks/chunk.R45UUT4V.js +1 -0
- package/dist/chunks/chunk.RBS4URTQ.js +1 -0
- package/dist/chunks/chunk.RCEQNCD4.js +1 -0
- package/dist/chunks/chunk.RF5XHFQ3.js +20 -0
- package/dist/chunks/chunk.RLKWWOLF.js +1 -0
- package/dist/chunks/chunk.RMUOTOM3.js +1 -0
- package/dist/chunks/chunk.RNPNGSH7.js +157 -0
- package/dist/chunks/chunk.RT4QYORC.js +26 -0
- package/dist/chunks/chunk.SDWVM2SO.js +1 -0
- package/dist/chunks/chunk.SLP6CFPP.js +1182 -0
- package/dist/chunks/chunk.SMTUPE7E.js +1 -0
- package/dist/chunks/chunk.SPD5O5GO.js +1 -0
- package/dist/chunks/chunk.SPGRHFBJ.js +1 -0
- package/dist/chunks/chunk.THXTTTK2.js +1 -0
- package/dist/chunks/chunk.TJVIISBO.js +1 -0
- package/dist/chunks/chunk.TLQJK44I.js +1 -0
- package/dist/chunks/chunk.U75IFYWR.js +1 -0
- package/dist/chunks/chunk.UBF6BPEZ.js +121 -0
- package/dist/chunks/chunk.ULOHDMHW.js +1 -0
- package/dist/chunks/chunk.UN5LAOCO.js +1 -0
- package/dist/chunks/chunk.UXWER3LW.js +1 -0
- package/dist/chunks/chunk.UZT5IB54.js +62 -0
- package/dist/chunks/chunk.V7Z7GMTQ.js +1 -0
- package/dist/chunks/chunk.VG3AZDMP.js +1 -0
- package/dist/chunks/chunk.WDUVKDPP.js +99 -0
- package/dist/chunks/chunk.WMQPWMUX.js +115 -0
- package/dist/chunks/chunk.WN3SDNIM.js +1 -0
- package/dist/chunks/chunk.WTXOFBLG.js +25 -0
- package/dist/chunks/chunk.X36ZL2LL.js +1 -0
- package/dist/chunks/chunk.XGH7TABE.js +1 -0
- package/dist/chunks/chunk.XOG3BCPQ.js +1 -0
- package/dist/chunks/chunk.XTX4TR6R.js +1 -0
- package/dist/chunks/chunk.XWAIVPGA.js +8 -0
- package/dist/chunks/chunk.XXIFAJRB.js +1 -0
- package/dist/chunks/chunk.Y6UXJUWB.js +22 -0
- package/dist/chunks/chunk.YCOSKKGZ.js +67 -0
- package/dist/chunks/chunk.YDK4KHPK.js +1 -0
- package/dist/chunks/chunk.YDO3U6BD.js +572 -0
- package/dist/chunks/chunk.YG7VEWC4.js +1 -0
- package/dist/chunks/chunk.YH3IQ333.js +1 -0
- package/dist/chunks/chunk.YS7FAJWI.js +1 -0
- package/dist/chunks/chunk.YUPDTNHJ.js +1 -0
- package/dist/chunks/chunk.YVTC325R.js +48 -0
- package/dist/chunks/chunk.YYB5PPWG.js +1 -0
- package/dist/chunks/chunk.YYETMKDA.js +1 -0
- package/dist/chunks/chunk.Z4FLHWPR.js +1 -0
- package/dist/chunks/chunk.Z5WIAHFZ.js +280 -0
- package/dist/chunks/chunk.ZDAPP3SH.js +1 -0
- package/dist/chunks/chunk.ZEEJTZFK.js +1 -0
- package/dist/chunks/chunk.ZUGFTVEB.js +1 -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.js +1 -1
- package/dist/components/browse-variables/browse-variables.controller.js +1 -1
- package/dist/components/browse-variables/browse-variables.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.d.ts +2 -0
- 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 +1 -0
- 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/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.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/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/map.component.js +1 -1
- package/dist/components/map/map.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/status-indicator/status-indicator.component.js +1 -1
- package/dist/components/status-indicator/status-indicator.js +1 -1
- package/dist/components/stepper/stepper.component.js +1 -1
- package/dist/components/stepper/stepper.js +1 -1
- package/dist/components/stepper-step/stepper-step.component.js +1 -1
- package/dist/components/stepper-step/stepper-step.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-cache.service.js +1 -1
- package/dist/components/time-series/time-series.component.d.ts +3 -0
- 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-keyword-search/variable-keyword-search.component.js +1 -1
- package/dist/components/variable-keyword-search/variable-keyword-search.js +1 -1
- package/dist/custom-elements.json +314 -203
- package/dist/events/events.d.ts +2 -0
- package/dist/events/terra-time-series-chunk-progress-change.d.ts +11 -0
- package/dist/events/terra-time-series-loading-change.d.ts +10 -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.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 +1 -1
- 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.d.ts +8 -0
- 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.193-py3-none-any.whl +0 -0
- package/dist/terra_ui_components-0.0.193.tar.gz +0 -0
- package/dist/types/vue/index.d.ts +137 -129
- package/dist/utilities/date.d.ts +1 -1
- package/dist/utilities/date.js +1 -1
- package/dist/utilities/variable-task.js +1 -1
- package/dist/vscode.html-custom-data.json +42 -42
- package/dist/web-types.json +207 -188
- package/package.json +1 -1
- package/cdn/chunks/chunk.245STXLU.js +0 -266
- package/cdn/chunks/chunk.24INYUDF.js +0 -538
- package/cdn/chunks/chunk.26GHOZ7N.js +0 -32
- package/cdn/chunks/chunk.27WWEW6V.js +0 -104
- package/cdn/chunks/chunk.2ANSTQHT.js +0 -36
- package/cdn/chunks/chunk.2GKHFPDG.js +0 -599
- package/cdn/chunks/chunk.2KXNVEBU.js +0 -32
- package/cdn/chunks/chunk.2NRXB43M.js +0 -19
- package/cdn/chunks/chunk.2YVP3FRZ.js +0 -231
- package/cdn/chunks/chunk.3HMD5G6A.js +0 -443
- package/cdn/chunks/chunk.3JLTI64D.js +0 -19
- package/cdn/chunks/chunk.3OZIDRVV.js +0 -29
- package/cdn/chunks/chunk.3REYIBPS.js +0 -34
- package/cdn/chunks/chunk.3W7NW4IP.js +0 -29
- package/cdn/chunks/chunk.44A2OFJE.js +0 -32
- package/cdn/chunks/chunk.45RJD3VV.js +0 -151
- package/cdn/chunks/chunk.4E6YUD2P.js +0 -294
- package/cdn/chunks/chunk.4M4SA4VL.js +0 -155
- package/cdn/chunks/chunk.4MXAJRHY.js +0 -663
- package/cdn/chunks/chunk.4OEMN3MA.js +0 -190
- package/cdn/chunks/chunk.4V3MHTHA.js +0 -19
- package/cdn/chunks/chunk.4WNBCYY4.js +0 -134
- package/cdn/chunks/chunk.4Y35UDBM.js +0 -35
- package/cdn/chunks/chunk.53PUY3ZS.js +0 -110
- package/cdn/chunks/chunk.56S57ULO.js +0 -158
- package/cdn/chunks/chunk.5MJBTEGL.js +0 -49
- package/cdn/chunks/chunk.5QSRCR4F.js +0 -19
- package/cdn/chunks/chunk.5ZXZFXF3.js +0 -19
- package/cdn/chunks/chunk.64L3DD6Q.js +0 -19
- package/cdn/chunks/chunk.6A2ZNIEO.js +0 -19
- package/cdn/chunks/chunk.6GG7OO3R.js +0 -19
- package/cdn/chunks/chunk.6RVIWT4A.js +0 -188
- package/cdn/chunks/chunk.7IQDUVYV.js +0 -33
- package/cdn/chunks/chunk.7M4SKAG4.js +0 -19
- package/cdn/chunks/chunk.7NJYVBGM.js +0 -47
- package/cdn/chunks/chunk.7WSYDEHF.js +0 -19
- package/cdn/chunks/chunk.7XJKHZU3.js +0 -39
- package/cdn/chunks/chunk.A5N5AY4C.js +0 -29
- package/cdn/chunks/chunk.AOCK57QX.js +0 -32
- package/cdn/chunks/chunk.AUTKKBC5.js +0 -241
- package/cdn/chunks/chunk.AZ6WPUFH.js +0 -19
- package/cdn/chunks/chunk.B5S3NM7F.js +0 -19
- package/cdn/chunks/chunk.B7WNQ5PO.js +0 -29
- package/cdn/chunks/chunk.BAQHLVAK.js +0 -19
- package/cdn/chunks/chunk.BH4BHYZF.js +0 -19
- package/cdn/chunks/chunk.BJ5T462Y.js +0 -123
- package/cdn/chunks/chunk.BPVSVPVN.js +0 -19
- package/cdn/chunks/chunk.BTKS3XOS.js +0 -19
- package/cdn/chunks/chunk.BUNK6WCA.js +0 -19
- package/cdn/chunks/chunk.BX4SOFZN.js +0 -29
- package/cdn/chunks/chunk.BXX2TOJD.js +0 -377
- package/cdn/chunks/chunk.C5SUSFPR.js +0 -19
- package/cdn/chunks/chunk.C6YX7LF2.js +0 -19
- package/cdn/chunks/chunk.CFW3RCL2.js +0 -32
- package/cdn/chunks/chunk.CQER7LGP.js +0 -135
- package/cdn/chunks/chunk.CQNIDQAS.js +0 -29
- package/cdn/chunks/chunk.CSUI7ZCT.js +0 -658
- package/cdn/chunks/chunk.CSVBPSJG.js +0 -893
- package/cdn/chunks/chunk.CWCAKMDC.js +0 -29
- package/cdn/chunks/chunk.DPW4KE3J.js +0 -35
- package/cdn/chunks/chunk.DTOJJOLD.js +0 -19
- package/cdn/chunks/chunk.DVTAL6AU.js +0 -539
- package/cdn/chunks/chunk.E2WN7IE3.js +0 -29
- package/cdn/chunks/chunk.EAQXXCFO.js +0 -19
- package/cdn/chunks/chunk.ET5DXSTJ.js +0 -230
- package/cdn/chunks/chunk.EYJ7P7C5.js +0 -19
- package/cdn/chunks/chunk.FIEZKD4M.js +0 -170
- package/cdn/chunks/chunk.FLXIUURB.js +0 -330
- package/cdn/chunks/chunk.FRXDO4TZ.js +0 -29
- package/cdn/chunks/chunk.FSSESF75.js +0 -19
- package/cdn/chunks/chunk.FST3PZ4D.js +0 -2546
- package/cdn/chunks/chunk.FT3IPXUI.js +0 -32
- package/cdn/chunks/chunk.G3CPLL72.js +0 -19
- package/cdn/chunks/chunk.G6PX4ZZR.js +0 -78
- package/cdn/chunks/chunk.GLC3GLWY.js +0 -359
- package/cdn/chunks/chunk.GQYYZEYB.js +0 -29
- package/cdn/chunks/chunk.H5WQMCJJ.js +0 -234
- package/cdn/chunks/chunk.H6IRY4OL.js +0 -1197
- package/cdn/chunks/chunk.HJMZJ4N5.js +0 -32
- package/cdn/chunks/chunk.HLQ3QMJC.js +0 -19
- package/cdn/chunks/chunk.HMPCGKTE.js +0 -224
- package/cdn/chunks/chunk.HTXCIC4D.js +0 -19
- package/cdn/chunks/chunk.HWGUV5FW.js +0 -41
- package/cdn/chunks/chunk.I2DUTZ2T.js +0 -33
- package/cdn/chunks/chunk.IG3H5AIK.js +0 -60
- package/cdn/chunks/chunk.IJM6CDFW.js +0 -19
- package/cdn/chunks/chunk.IQYQG42U.js +0 -19
- package/cdn/chunks/chunk.IUXV7RBL.js +0 -29
- package/cdn/chunks/chunk.IXHOSB76.js +0 -19
- package/cdn/chunks/chunk.IYDWKATS.js +0 -904
- package/cdn/chunks/chunk.JFLGXCKZ.js +0 -19
- package/cdn/chunks/chunk.JGY4EGZC.js +0 -60
- package/cdn/chunks/chunk.JLQCZDIY.js +0 -29
- package/cdn/chunks/chunk.K3RQ7AFD.js +0 -19
- package/cdn/chunks/chunk.K4PU2JQ6.js +0 -138
- package/cdn/chunks/chunk.K4ZAN4CN.js +0 -35
- package/cdn/chunks/chunk.K7U7MVEQ.js +0 -56075
- package/cdn/chunks/chunk.KRUULCP6.js +0 -35
- package/cdn/chunks/chunk.KTQLYAOB.js +0 -2615
- package/cdn/chunks/chunk.L2R7AMTX.js +0 -19
- package/cdn/chunks/chunk.L7FYC6LU.js +0 -32
- package/cdn/chunks/chunk.LCZ7CTUM.js +0 -19
- package/cdn/chunks/chunk.LDXOXMSA.js +0 -19
- package/cdn/chunks/chunk.LG32OSKX.js +0 -68
- package/cdn/chunks/chunk.LJIY5NZ2.js +0 -30
- package/cdn/chunks/chunk.LWNGQ3V4.js +0 -29
- package/cdn/chunks/chunk.LYQ6YFGG.js +0 -99
- package/cdn/chunks/chunk.MA5VVFFT.js +0 -29
- package/cdn/chunks/chunk.MHATFZ67.js +0 -19
- package/cdn/chunks/chunk.MRFDIT24.js +0 -29
- package/cdn/chunks/chunk.MRRU67I2.js +0 -29
- package/cdn/chunks/chunk.N6YE5MVP.js +0 -29
- package/cdn/chunks/chunk.N73S5M22.js +0 -32
- package/cdn/chunks/chunk.N74CAU67.js +0 -32
- package/cdn/chunks/chunk.NBVZOPJI.js +0 -616
- package/cdn/chunks/chunk.NDSC57Q5.js +0 -19
- package/cdn/chunks/chunk.NQHSSDFG.js +0 -19
- package/cdn/chunks/chunk.NUWLRNQB.js +0 -161
- package/cdn/chunks/chunk.O5JW24LZ.js +0 -36
- package/cdn/chunks/chunk.OG47UMA5.js +0 -1259
- package/cdn/chunks/chunk.OK2FJZAC.js +0 -29
- package/cdn/chunks/chunk.OQOUFXO5.js +0 -19
- package/cdn/chunks/chunk.OQXKI5GJ.js +0 -86
- package/cdn/chunks/chunk.P2M4CQ5P.js +0 -33
- package/cdn/chunks/chunk.P5TSNROJ.js +0 -537
- package/cdn/chunks/chunk.P7CV4I3K.js +0 -74
- package/cdn/chunks/chunk.PHUBZRQC.js +0 -83
- package/cdn/chunks/chunk.PILWENSQ.js +0 -92
- package/cdn/chunks/chunk.PJ3IJJYS.js +0 -19
- package/cdn/chunks/chunk.PP3XLO5P.js +0 -34
- package/cdn/chunks/chunk.PRQLTMQC.js +0 -136
- package/cdn/chunks/chunk.PTCT3TYT.js +0 -357
- package/cdn/chunks/chunk.PUQV3TET.js +0 -99
- package/cdn/chunks/chunk.PUS7Y5TV.js +0 -1975
- package/cdn/chunks/chunk.PYFO4TDY.js +0 -71
- package/cdn/chunks/chunk.Q4J6KRAB.js +0 -310
- package/cdn/chunks/chunk.Q6EGX4BU.js +0 -19
- package/cdn/chunks/chunk.QB6OILCE.js +0 -19
- package/cdn/chunks/chunk.QL6AJSHA.js +0 -19
- package/cdn/chunks/chunk.QLVPPBKP.js +0 -19
- package/cdn/chunks/chunk.QS2PWRLO.js +0 -293
- package/cdn/chunks/chunk.QZTA6VVX.js +0 -32
- package/cdn/chunks/chunk.R2AKYP36.js +0 -19
- package/cdn/chunks/chunk.RBZCWRRQ.js +0 -29
- package/cdn/chunks/chunk.RD6K7VHR.js +0 -19
- package/cdn/chunks/chunk.REPAPQYQ.js +0 -19
- package/cdn/chunks/chunk.RERDMEOR.js +0 -195
- package/cdn/chunks/chunk.RII5KPMA.js +0 -19
- package/cdn/chunks/chunk.RLWFZOAQ.js +0 -32
- package/cdn/chunks/chunk.RR7Z7BPS.js +0 -19
- package/cdn/chunks/chunk.RRZ6U2ME.js +0 -19
- package/cdn/chunks/chunk.RXWLUABB.js +0 -47
- package/cdn/chunks/chunk.S62TAS73.js +0 -276
- package/cdn/chunks/chunk.SPZEQOKO.js +0 -93
- package/cdn/chunks/chunk.SQIH7CTF.js +0 -19
- package/cdn/chunks/chunk.SSV6F5FN.js +0 -259
- package/cdn/chunks/chunk.STFEACGD.js +0 -19
- package/cdn/chunks/chunk.SZE3XMGB.js +0 -29
- package/cdn/chunks/chunk.T4HBNQKM.js +0 -29
- package/cdn/chunks/chunk.TE3JDUXK.js +0 -36
- package/cdn/chunks/chunk.TGHIEUXU.js +0 -32
- package/cdn/chunks/chunk.TKSEPVAL.js +0 -1697
- package/cdn/chunks/chunk.TNMUVPYV.js +0 -29
- package/cdn/chunks/chunk.TQQ2KJQP.js +0 -493
- package/cdn/chunks/chunk.TV5IMGDS.js +0 -82
- package/cdn/chunks/chunk.U3IBIDXE.js +0 -19
- package/cdn/chunks/chunk.U7Y67S2C.js +0 -19
- package/cdn/chunks/chunk.UCCUOTF6.js +0 -19
- package/cdn/chunks/chunk.UDACLO72.js +0 -33
- package/cdn/chunks/chunk.UKAWFAYP.js +0 -524
- package/cdn/chunks/chunk.UTYHZRYG.js +0 -113
- package/cdn/chunks/chunk.UWCPGTVV.js +0 -32
- package/cdn/chunks/chunk.UWRZGIR3.js +0 -551
- package/cdn/chunks/chunk.UZPINX4J.js +0 -610
- package/cdn/chunks/chunk.V3MUNLZP.js +0 -29
- package/cdn/chunks/chunk.V6KFRX6Q.js +0 -19
- package/cdn/chunks/chunk.V6YORIDQ.js +0 -132
- package/cdn/chunks/chunk.VB3KDLU6.js +0 -29
- package/cdn/chunks/chunk.VDXXAQWU.js +0 -29
- package/cdn/chunks/chunk.VGKRX5H5.js +0 -278
- package/cdn/chunks/chunk.VHVI2N6K.js +0 -34
- package/cdn/chunks/chunk.VWXS72MS.js +0 -19
- package/cdn/chunks/chunk.VY4A7VXP.js +0 -19
- package/cdn/chunks/chunk.W5OQMP5C.js +0 -29
- package/cdn/chunks/chunk.W7YINCCY.js +0 -29
- package/cdn/chunks/chunk.WTF7NFZZ.js +0 -36
- package/cdn/chunks/chunk.X27AII7Z.js +0 -19
- package/cdn/chunks/chunk.X6F5AXSA.js +0 -62
- package/cdn/chunks/chunk.XB4O6ZSP.js +0 -139
- package/cdn/chunks/chunk.XBQ73UMK.js +0 -37
- package/cdn/chunks/chunk.XE4NOQA4.js +0 -19
- package/cdn/chunks/chunk.XHVFPYZC.js +0 -19
- package/cdn/chunks/chunk.XLP5YNJK.js +0 -19
- package/cdn/chunks/chunk.XOOKGSCN.js +0 -35
- package/cdn/chunks/chunk.XRKVQYVI.js +0 -294
- package/cdn/chunks/chunk.XTQYMH4X.js +0 -915
- package/cdn/chunks/chunk.XVNO5RTC.js +0 -478
- package/cdn/chunks/chunk.XWUX5XJQ.js +0 -19
- package/cdn/chunks/chunk.XZFUPKPW.js +0 -29
- package/cdn/chunks/chunk.Y4MUXZI3.js +0 -33
- package/cdn/chunks/chunk.Z5JWSUN3.js +0 -19
- package/cdn/chunks/chunk.ZJZ2OUC4.js +0 -37
- package/cdn/chunks/chunk.ZSNXJ3BL.js +0 -29
- package/cdn/chunks/chunk.ZZATCATC.js +0 -29
- package/dist/chunks/chunk.2D55HJ64.js +0 -1
- package/dist/chunks/chunk.2GO7TMLP.js +0 -1
- package/dist/chunks/chunk.2GYNGU2K.js +0 -1
- package/dist/chunks/chunk.2HHUVNE2.js +0 -1
- package/dist/chunks/chunk.2IJJATB5.js +0 -1
- package/dist/chunks/chunk.2PPDUXC4.js +0 -1
- package/dist/chunks/chunk.2TZJ5OSU.js +0 -121
- package/dist/chunks/chunk.33ODMKXB.js +0 -1
- package/dist/chunks/chunk.37B2FLZJ.js +0 -1
- package/dist/chunks/chunk.3G3CSN3G.js +0 -1
- package/dist/chunks/chunk.3GT4NYNA.js +0 -1
- package/dist/chunks/chunk.3OLIE46J.js +0 -19
- package/dist/chunks/chunk.3S6SXGFQ.js +0 -1
- package/dist/chunks/chunk.3UX5QRYF.js +0 -1
- package/dist/chunks/chunk.43SHAFPE.js +0 -1
- package/dist/chunks/chunk.47FP7IRS.js +0 -1
- package/dist/chunks/chunk.4CAGPPMV.js +0 -38
- package/dist/chunks/chunk.4CI5DWX7.js +0 -1
- package/dist/chunks/chunk.4SKNFNU3.js +0 -1
- package/dist/chunks/chunk.4YQGPE6J.js +0 -64
- package/dist/chunks/chunk.567W2YB4.js +0 -1
- package/dist/chunks/chunk.57KBJQ5Z.js +0 -1
- package/dist/chunks/chunk.5OO3UVJO.js +0 -1
- package/dist/chunks/chunk.5TSON4Q5.js +0 -1
- package/dist/chunks/chunk.5UG7GGUP.js +0 -1
- package/dist/chunks/chunk.5XVYJITF.js +0 -1
- package/dist/chunks/chunk.6QTDPCVI.js +0 -1
- package/dist/chunks/chunk.6UWS4R34.js +0 -8
- package/dist/chunks/chunk.766PN3VI.js +0 -1
- package/dist/chunks/chunk.7IS3PQKN.js +0 -1
- package/dist/chunks/chunk.7JD2UT6A.js +0 -1
- package/dist/chunks/chunk.7VFYUGD6.js +0 -1
- package/dist/chunks/chunk.7X2NWNZP.js +0 -55
- package/dist/chunks/chunk.ACFE5TVJ.js +0 -25
- package/dist/chunks/chunk.AD4SBK65.js +0 -1
- package/dist/chunks/chunk.AHFV6WBO.js +0 -113
- package/dist/chunks/chunk.AN2CNNH3.js +0 -20
- package/dist/chunks/chunk.B2I3FFIQ.js +0 -1
- package/dist/chunks/chunk.BAGXAJKO.js +0 -1
- package/dist/chunks/chunk.BAYWCQTO.js +0 -1
- package/dist/chunks/chunk.BK6SKY54.js +0 -1
- package/dist/chunks/chunk.BOBV4O46.js +0 -75
- package/dist/chunks/chunk.BT6QLSOO.js +0 -1
- package/dist/chunks/chunk.BV6IZ2QN.js +0 -127
- package/dist/chunks/chunk.BVG7OM4Q.js +0 -1
- package/dist/chunks/chunk.BWCJXCND.js +0 -1
- package/dist/chunks/chunk.CD6I4VZO.js +0 -1
- package/dist/chunks/chunk.CF6D473M.js +0 -280
- package/dist/chunks/chunk.CQLL2YKN.js +0 -26
- package/dist/chunks/chunk.CW47XTQB.js +0 -1
- package/dist/chunks/chunk.D4KXKEFI.js +0 -1
- package/dist/chunks/chunk.DF6IRZMZ.js +0 -1157
- package/dist/chunks/chunk.E76UUHH4.js +0 -1
- package/dist/chunks/chunk.EM4IAMRI.js +0 -1
- package/dist/chunks/chunk.ENQAS3E3.js +0 -39
- package/dist/chunks/chunk.ENXCABUB.js +0 -1
- package/dist/chunks/chunk.EQHUPMJQ.js +0 -1
- package/dist/chunks/chunk.EQJX6O4V.js +0 -572
- package/dist/chunks/chunk.F3PXS6XR.js +0 -1
- package/dist/chunks/chunk.FAWTVVL4.js +0 -1
- package/dist/chunks/chunk.FJIJEA4W.js +0 -11
- package/dist/chunks/chunk.FRY7JWSR.js +0 -1
- package/dist/chunks/chunk.FSHYXKJI.js +0 -300
- package/dist/chunks/chunk.G7H6WIM7.js +0 -1
- package/dist/chunks/chunk.GJG2G54S.js +0 -62
- package/dist/chunks/chunk.GKYP6GCC.js +0 -1
- package/dist/chunks/chunk.GQZN3IYC.js +0 -1
- package/dist/chunks/chunk.GUKZS6H7.js +0 -1
- package/dist/chunks/chunk.GUQPQH73.js +0 -55
- package/dist/chunks/chunk.H4TEESQU.js +0 -1
- package/dist/chunks/chunk.HEEYAQNP.js +0 -1
- package/dist/chunks/chunk.HJIPLW5J.js +0 -37
- package/dist/chunks/chunk.HLKDWTZV.js +0 -41
- package/dist/chunks/chunk.HVO4YL55.js +0 -4
- package/dist/chunks/chunk.HXJR743G.js +0 -1
- package/dist/chunks/chunk.HY6RFKDY.js +0 -1
- package/dist/chunks/chunk.HZGAYAHT.js +0 -1
- package/dist/chunks/chunk.I3GHWZC4.js +0 -16
- package/dist/chunks/chunk.I6BL3WPE.js +0 -1
- package/dist/chunks/chunk.IHP65UGR.js +0 -33
- package/dist/chunks/chunk.IOFVAK65.js +0 -2
- package/dist/chunks/chunk.ISBUK3L4.js +0 -1
- package/dist/chunks/chunk.IWQ6YFE2.js +0 -145
- package/dist/chunks/chunk.JDE47ALB.js +0 -1
- package/dist/chunks/chunk.JDUOQDJ3.js +0 -100
- package/dist/chunks/chunk.JE6M4M4S.js +0 -65
- package/dist/chunks/chunk.JUJ7Y22D.js +0 -74
- package/dist/chunks/chunk.JZYLEEB7.js +0 -1
- package/dist/chunks/chunk.K6T46UOF.js +0 -1
- package/dist/chunks/chunk.KG5CMWFL.js +0 -1
- package/dist/chunks/chunk.KGXZLDN7.js +0 -1
- package/dist/chunks/chunk.KIZLB2ZY.js +0 -1
- package/dist/chunks/chunk.KMMLLCHB.js +0 -1
- package/dist/chunks/chunk.KPNCPULO.js +0 -1
- package/dist/chunks/chunk.KQD2HFDR.js +0 -1
- package/dist/chunks/chunk.KRHZH55I.js +0 -1
- package/dist/chunks/chunk.KTSFHPUH.js +0 -26
- package/dist/chunks/chunk.L2WWAWYC.js +0 -1
- package/dist/chunks/chunk.L3PZPPIQ.js +0 -1
- package/dist/chunks/chunk.L45W3S3B.js +0 -1
- package/dist/chunks/chunk.LFEM3FJX.js +0 -1
- package/dist/chunks/chunk.LH7RWUQZ.js +0 -24
- package/dist/chunks/chunk.LL6BEIZA.js +0 -5
- package/dist/chunks/chunk.LLZSYM64.js +0 -1
- package/dist/chunks/chunk.LM4RHNKJ.js +0 -30
- package/dist/chunks/chunk.LVWUQXWQ.js +0 -1
- package/dist/chunks/chunk.MBFAWLMY.js +0 -9
- package/dist/chunks/chunk.MDEHAIAG.js +0 -1
- package/dist/chunks/chunk.MK6COBAF.js +0 -43
- package/dist/chunks/chunk.MPM3TXSL.js +0 -80
- package/dist/chunks/chunk.NBJ7ET7E.js +0 -1
- package/dist/chunks/chunk.NCDC7TOR.js +0 -1
- package/dist/chunks/chunk.NEY2SQ2K.js +0 -14
- package/dist/chunks/chunk.NJJIUYH6.js +0 -12
- package/dist/chunks/chunk.NXGSNQLW.js +0 -1
- package/dist/chunks/chunk.O6Q5WBJ5.js +0 -55
- package/dist/chunks/chunk.OCUTIAAQ.js +0 -1
- package/dist/chunks/chunk.OFMDUJXM.js +0 -1
- package/dist/chunks/chunk.OGQQV2BX.js +0 -1
- package/dist/chunks/chunk.P5WP3ZNR.js +0 -1
- package/dist/chunks/chunk.PALWDZSA.js +0 -1
- package/dist/chunks/chunk.PJQAURNT.js +0 -1
- package/dist/chunks/chunk.PX2P3YX5.js +0 -142
- package/dist/chunks/chunk.PYEHMPWX.js +0 -6
- package/dist/chunks/chunk.Q3LRI55J.js +0 -11
- package/dist/chunks/chunk.QDUXLZXC.js +0 -51
- package/dist/chunks/chunk.QEKD7PQ4.js +0 -1
- package/dist/chunks/chunk.QFFYKOAS.js +0 -1
- package/dist/chunks/chunk.QH2WOGME.js +0 -1
- package/dist/chunks/chunk.QLEWT4JQ.js +0 -23
- package/dist/chunks/chunk.QMFEAVMN.js +0 -17
- package/dist/chunks/chunk.QV2ZY4DD.js +0 -1
- package/dist/chunks/chunk.QV5ITZ7D.js +0 -1
- package/dist/chunks/chunk.R5PRDVSU.js +0 -48
- package/dist/chunks/chunk.R6Q4JCND.js +0 -1
- package/dist/chunks/chunk.REKMTQRY.js +0 -1
- package/dist/chunks/chunk.RJML3ZEW.js +0 -1
- package/dist/chunks/chunk.ROCTMAMM.js +0 -1
- package/dist/chunks/chunk.RTXL2G7J.js +0 -99
- package/dist/chunks/chunk.S74OFI5C.js +0 -1
- package/dist/chunks/chunk.SBMSU6KI.js +0 -35
- package/dist/chunks/chunk.SGESE6DO.js +0 -1
- package/dist/chunks/chunk.SIB5Q6QQ.js +0 -1
- package/dist/chunks/chunk.SNMZJK77.js +0 -1
- package/dist/chunks/chunk.SP77OFFN.js +0 -1
- package/dist/chunks/chunk.STV7F7TN.js +0 -1
- package/dist/chunks/chunk.SU44CMPF.js +0 -1
- package/dist/chunks/chunk.SXBEKR3M.js +0 -1
- package/dist/chunks/chunk.SYEGBJVG.js +0 -157
- package/dist/chunks/chunk.T7WOIW6P.js +0 -1
- package/dist/chunks/chunk.TAQPGW7M.js +0 -1
- package/dist/chunks/chunk.TEOQ7XY3.js +0 -67
- package/dist/chunks/chunk.TGY77T44.js +0 -122
- package/dist/chunks/chunk.TPV33XNJ.js +0 -1
- package/dist/chunks/chunk.TTSYVAEW.js +0 -1
- package/dist/chunks/chunk.TVO3XZ2N.js +0 -1
- package/dist/chunks/chunk.TXOI254L.js +0 -47
- package/dist/chunks/chunk.TYI6WGK7.js +0 -1
- package/dist/chunks/chunk.U3F7WCPA.js +0 -1
- package/dist/chunks/chunk.U465JMCV.js +0 -1
- package/dist/chunks/chunk.U6HUBMNB.js +0 -1
- package/dist/chunks/chunk.UEIOQPHW.js +0 -9
- package/dist/chunks/chunk.UKUWK3UY.js +0 -1
- package/dist/chunks/chunk.UKWCOY7A.js +0 -1
- package/dist/chunks/chunk.UNRENVA4.js +0 -1
- package/dist/chunks/chunk.UOWK4M4L.js +0 -1
- package/dist/chunks/chunk.V242FK7Q.js +0 -1
- package/dist/chunks/chunk.V4CGJNAJ.js +0 -30
- package/dist/chunks/chunk.VDIB3NRZ.js +0 -1
- package/dist/chunks/chunk.VFE2HBPZ.js +0 -20
- package/dist/chunks/chunk.VP5IYIOB.js +0 -8
- package/dist/chunks/chunk.W2QZOO6Z.js +0 -1
- package/dist/chunks/chunk.W6SU4PRC.js +0 -1
- package/dist/chunks/chunk.W7H2V3HN.js +0 -27
- package/dist/chunks/chunk.WAD5F7IY.js +0 -1
- package/dist/chunks/chunk.WEMSJJQN.js +0 -300
- package/dist/chunks/chunk.WFNB4UWK.js +0 -1
- package/dist/chunks/chunk.WGWLPC2C.js +0 -1
- package/dist/chunks/chunk.WLSBHYJK.js +0 -780
- package/dist/chunks/chunk.WNP2BTB4.js +0 -43
- package/dist/chunks/chunk.WOPNQVFQ.js +0 -5
- package/dist/chunks/chunk.WRJYRBGT.js +0 -1
- package/dist/chunks/chunk.WZVYVECU.js +0 -1
- package/dist/chunks/chunk.X3JEFEVB.js +0 -1
- package/dist/chunks/chunk.X5PXI5E6.js +0 -1
- package/dist/chunks/chunk.X74ZBUDB.js +0 -22
- package/dist/chunks/chunk.XB3O7ORG.js +0 -1
- package/dist/chunks/chunk.XFH26EMI.js +0 -1
- package/dist/chunks/chunk.XTDTWZSX.js +0 -1
- package/dist/chunks/chunk.XYMWO3Y6.js +0 -1
- package/dist/chunks/chunk.Y2G3I3B3.js +0 -35
- package/dist/chunks/chunk.Y4SZNHG5.js +0 -1
- package/dist/chunks/chunk.Y4U7SQM2.js +0 -1
- package/dist/chunks/chunk.Y5FRCL7O.js +0 -1
- package/dist/chunks/chunk.Y5HJPERY.js +0 -1
- package/dist/chunks/chunk.YKDLYMHH.js +0 -115
- package/dist/chunks/chunk.YN3KH4A6.js +0 -1
- package/dist/chunks/chunk.YN755QKE.js +0 -154
- package/dist/chunks/chunk.YZLKAK5D.js +0 -1
- package/dist/chunks/chunk.Z44ETYQS.js +0 -1
- package/dist/chunks/chunk.Z5S2XQG5.js +0 -1
- package/dist/chunks/chunk.ZAZOHAFA.js +0 -1
- package/dist/chunks/chunk.ZUHRBHV4.js +0 -1
- package/dist/terra_ui_components-0.0.191-py3-none-any.whl +0 -0
- package/dist/terra_ui_components-0.0.191.tar.gz +0 -0
|
@@ -0,0 +1,1259 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TimeAvgMapController
|
|
3
|
+
} from "./chunk.HWOTHK3U.js";
|
|
4
|
+
import {
|
|
5
|
+
time_average_map_styles_default
|
|
6
|
+
} from "./chunk.GGTQYGC5.js";
|
|
7
|
+
import {
|
|
8
|
+
getFetchVariableTask
|
|
9
|
+
} from "./chunk.SWSXHVIH.js";
|
|
10
|
+
import {
|
|
11
|
+
getVariableEntryId
|
|
12
|
+
} from "./chunk.QS6LI65N.js";
|
|
13
|
+
import {
|
|
14
|
+
TerraPlotToolbar
|
|
15
|
+
} from "./chunk.JFMPGJP3.js";
|
|
16
|
+
import {
|
|
17
|
+
TerraPlot
|
|
18
|
+
} from "./chunk.D3SUQHML.js";
|
|
19
|
+
import {
|
|
20
|
+
extractHarmonyError,
|
|
21
|
+
formatHarmonyErrorMessage
|
|
22
|
+
} from "./chunk.BD3FY2DX.js";
|
|
23
|
+
import {
|
|
24
|
+
AuthController
|
|
25
|
+
} from "./chunk.P34Y4ETY.js";
|
|
26
|
+
import {
|
|
27
|
+
s
|
|
28
|
+
} from "./chunk.BQDEKCXK.js";
|
|
29
|
+
import {
|
|
30
|
+
GeoJSON_default,
|
|
31
|
+
Graticule_default,
|
|
32
|
+
Map_default,
|
|
33
|
+
OSM_default,
|
|
34
|
+
WebGLTile_default
|
|
35
|
+
} from "./chunk.PTK3X5ML.js";
|
|
36
|
+
import {
|
|
37
|
+
Draw_default,
|
|
38
|
+
Feature_default,
|
|
39
|
+
Point_default,
|
|
40
|
+
Stroke_default,
|
|
41
|
+
Style_default,
|
|
42
|
+
Vector_default,
|
|
43
|
+
Vector_default2,
|
|
44
|
+
View_default
|
|
45
|
+
} from "./chunk.4B5TLXQ3.js";
|
|
46
|
+
import {
|
|
47
|
+
getLength,
|
|
48
|
+
toLonLat,
|
|
49
|
+
transformExtent
|
|
50
|
+
} from "./chunk.RCPXD7AS.js";
|
|
51
|
+
import {
|
|
52
|
+
h
|
|
53
|
+
} from "./chunk.ASJLND3B.js";
|
|
54
|
+
import {
|
|
55
|
+
QueryClientMixin
|
|
56
|
+
} from "./chunk.DOUWGQFH.js";
|
|
57
|
+
import {
|
|
58
|
+
TerraLoader
|
|
59
|
+
} from "./chunk.JBH5HRD4.js";
|
|
60
|
+
import {
|
|
61
|
+
formatDate
|
|
62
|
+
} from "./chunk.X2BIJLHO.js";
|
|
63
|
+
import {
|
|
64
|
+
TerraButton
|
|
65
|
+
} from "./chunk.XBS3GWMX.js";
|
|
66
|
+
import {
|
|
67
|
+
TerraIcon
|
|
68
|
+
} from "./chunk.IZYJIYRD.js";
|
|
69
|
+
import {
|
|
70
|
+
TerraAlert
|
|
71
|
+
} from "./chunk.RA34EXZV.js";
|
|
72
|
+
import {
|
|
73
|
+
watch
|
|
74
|
+
} from "./chunk.MPVZOQYA.js";
|
|
75
|
+
import {
|
|
76
|
+
TerraElement,
|
|
77
|
+
component_styles_default,
|
|
78
|
+
n,
|
|
79
|
+
r
|
|
80
|
+
} from "./chunk.WTFB42FU.js";
|
|
81
|
+
import {
|
|
82
|
+
A,
|
|
83
|
+
b
|
|
84
|
+
} from "./chunk.RRCYT4LP.js";
|
|
85
|
+
import {
|
|
86
|
+
__decorateClass,
|
|
87
|
+
__privateAdd,
|
|
88
|
+
__privateGet,
|
|
89
|
+
__privateMethod,
|
|
90
|
+
__privateSet,
|
|
91
|
+
init_buffer,
|
|
92
|
+
init_dirname,
|
|
93
|
+
init_process
|
|
94
|
+
} from "./chunk.ZEOVK2FE.js";
|
|
95
|
+
|
|
96
|
+
// src/components/time-average-map/time-average-map.component.ts
|
|
97
|
+
init_dirname();
|
|
98
|
+
init_buffer();
|
|
99
|
+
init_process();
|
|
100
|
+
var _controller, _map, _gtLayer, _geoTiffGraticuleLayer, _statesLayer, _bordersLayer, _vectorSource, _vectorLayer, _draw, _graticuleLayer, _handleMapError, _handleExportImage, _drawLegend, drawLegend_fn, _getMapTitleText, getMapTitleText_fn, _wrapText, wrapText_fn, _handleOpacityChange, handleOpacityChange_fn, _handleColorMapChange, handleColorMapChange_fn, _abortJobStatusTask, abortJobStatusTask_fn, _getNumberOfPoints, getNumberOfPoints_fn, _quantizeLineString, quantizeLineString_fn, _minifyMapPopover, minifyMapPopover_fn, _cleanUpMap, cleanUpMap_fn, _getRasterValueAtCoordinate, getRasterValueAtCoordinate_fn, _handleCheckBoxToggle, handleCheckBoxToggle_fn, _isVariableNotFound, isVariableNotFound_fn, _getErrorMessage, getErrorMessage_fn;
|
|
101
|
+
var TerraTimeAverageMap = class extends QueryClientMixin(TerraElement) {
|
|
102
|
+
constructor() {
|
|
103
|
+
super(...arguments);
|
|
104
|
+
__privateAdd(this, _drawLegend);
|
|
105
|
+
__privateAdd(this, _getMapTitleText);
|
|
106
|
+
__privateAdd(this, _wrapText);
|
|
107
|
+
__privateAdd(this, _handleOpacityChange);
|
|
108
|
+
__privateAdd(this, _handleColorMapChange);
|
|
109
|
+
__privateAdd(this, _abortJobStatusTask);
|
|
110
|
+
__privateAdd(this, _getNumberOfPoints);
|
|
111
|
+
__privateAdd(this, _quantizeLineString);
|
|
112
|
+
__privateAdd(this, _minifyMapPopover);
|
|
113
|
+
__privateAdd(this, _cleanUpMap);
|
|
114
|
+
__privateAdd(this, _getRasterValueAtCoordinate);
|
|
115
|
+
__privateAdd(this, _handleCheckBoxToggle);
|
|
116
|
+
__privateAdd(this, _isVariableNotFound);
|
|
117
|
+
__privateAdd(this, _getErrorMessage);
|
|
118
|
+
this.long_name = "";
|
|
119
|
+
this.colorMapName = "viridis";
|
|
120
|
+
this.opacity = 1;
|
|
121
|
+
this.cache = false;
|
|
122
|
+
this.showHelp = true;
|
|
123
|
+
this.pixelValue = "N/A";
|
|
124
|
+
this.pixelCoordinates = "N/A";
|
|
125
|
+
this.metadata = {};
|
|
126
|
+
this.toggleState = false;
|
|
127
|
+
this.minimized = false;
|
|
128
|
+
this.noDataValue = -9999;
|
|
129
|
+
this.min = "0";
|
|
130
|
+
this.max = "1";
|
|
131
|
+
this.legendValues = [];
|
|
132
|
+
this.timeAverageMapError = null;
|
|
133
|
+
__privateAdd(this, _controller, new TimeAvgMapController(this));
|
|
134
|
+
__privateAdd(this, _map, null);
|
|
135
|
+
__privateAdd(this, _gtLayer, null);
|
|
136
|
+
__privateAdd(this, _geoTiffGraticuleLayer, null);
|
|
137
|
+
__privateAdd(this, _statesLayer, null);
|
|
138
|
+
__privateAdd(this, _bordersLayer, null);
|
|
139
|
+
__privateAdd(this, _vectorSource, null);
|
|
140
|
+
__privateAdd(this, _vectorLayer, null);
|
|
141
|
+
__privateAdd(this, _draw, null);
|
|
142
|
+
__privateAdd(this, _graticuleLayer, null);
|
|
143
|
+
this._authController = new AuthController(this);
|
|
144
|
+
this.colormaps = [
|
|
145
|
+
"jet",
|
|
146
|
+
"hsv",
|
|
147
|
+
"hot",
|
|
148
|
+
"cool",
|
|
149
|
+
"spring",
|
|
150
|
+
"summer",
|
|
151
|
+
"autumn",
|
|
152
|
+
"winter",
|
|
153
|
+
"bone",
|
|
154
|
+
"copper",
|
|
155
|
+
"greys",
|
|
156
|
+
"YIGnBu",
|
|
157
|
+
"greens",
|
|
158
|
+
"YIOrRd",
|
|
159
|
+
"bluered",
|
|
160
|
+
"RdBu",
|
|
161
|
+
"picnic",
|
|
162
|
+
"rainbow",
|
|
163
|
+
"portland",
|
|
164
|
+
"blackbody",
|
|
165
|
+
"earth",
|
|
166
|
+
"electric",
|
|
167
|
+
"viridis",
|
|
168
|
+
"inferno",
|
|
169
|
+
"magma",
|
|
170
|
+
"plasma",
|
|
171
|
+
"warm",
|
|
172
|
+
"cool",
|
|
173
|
+
"bathymetry",
|
|
174
|
+
"cdom",
|
|
175
|
+
"chlorophyll",
|
|
176
|
+
"density",
|
|
177
|
+
"fressurface-blue",
|
|
178
|
+
"freesurface-red",
|
|
179
|
+
"oxygen",
|
|
180
|
+
"par",
|
|
181
|
+
"phase",
|
|
182
|
+
"salinity",
|
|
183
|
+
"temperature",
|
|
184
|
+
"turbidity",
|
|
185
|
+
"velocity-blue",
|
|
186
|
+
"velocity-green",
|
|
187
|
+
"cubhelix"
|
|
188
|
+
];
|
|
189
|
+
this.plotData = {};
|
|
190
|
+
this.layout = {};
|
|
191
|
+
/**
|
|
192
|
+
* anytime the collection or variable changes, we'll fetch the variable from the catalog to get all of it's metadata
|
|
193
|
+
*/
|
|
194
|
+
this._fetchVariableTask = getFetchVariableTask(this, false);
|
|
195
|
+
__privateAdd(this, _handleMapError, (event) => {
|
|
196
|
+
const { status, code, message, context } = event.detail;
|
|
197
|
+
this.timeAverageMapError = {
|
|
198
|
+
code: code || String(status),
|
|
199
|
+
message,
|
|
200
|
+
context
|
|
201
|
+
};
|
|
202
|
+
});
|
|
203
|
+
__privateAdd(this, _handleExportImage, async (event) => {
|
|
204
|
+
var _a;
|
|
205
|
+
if (!__privateGet(this, _map)) {
|
|
206
|
+
console.warn("Map not initialized, cannot export image");
|
|
207
|
+
return;
|
|
208
|
+
}
|
|
209
|
+
const format = ((_a = event.detail) == null ? void 0 : _a.format) || "png";
|
|
210
|
+
try {
|
|
211
|
+
await new Promise((resolve) => {
|
|
212
|
+
__privateGet(this, _map).once("rendercomplete", () => {
|
|
213
|
+
resolve();
|
|
214
|
+
});
|
|
215
|
+
__privateGet(this, _map).render();
|
|
216
|
+
});
|
|
217
|
+
const mapElement = __privateGet(this, _map).getViewport();
|
|
218
|
+
const mapSize = __privateGet(this, _map).getSize();
|
|
219
|
+
if (!mapSize) {
|
|
220
|
+
console.warn("Map size is not available");
|
|
221
|
+
return;
|
|
222
|
+
}
|
|
223
|
+
const mapWidth = mapSize[0];
|
|
224
|
+
const mapHeight = mapSize[1];
|
|
225
|
+
const allCanvases = Array.from(
|
|
226
|
+
mapElement.querySelectorAll("canvas")
|
|
227
|
+
);
|
|
228
|
+
const svgs = Array.from(
|
|
229
|
+
mapElement.querySelectorAll("svg")
|
|
230
|
+
);
|
|
231
|
+
if (allCanvases.length === 0 && svgs.length === 0) {
|
|
232
|
+
console.warn("Could not find map canvas or SVG elements");
|
|
233
|
+
return;
|
|
234
|
+
}
|
|
235
|
+
const finalCanvas = document.createElement("canvas");
|
|
236
|
+
const ctx = finalCanvas.getContext("2d");
|
|
237
|
+
if (!ctx) {
|
|
238
|
+
console.warn("Could not get canvas context");
|
|
239
|
+
return;
|
|
240
|
+
}
|
|
241
|
+
const textHeight = 80;
|
|
242
|
+
finalCanvas.width = mapWidth;
|
|
243
|
+
finalCanvas.height = mapHeight + textHeight;
|
|
244
|
+
ctx.fillStyle = "#ffffff";
|
|
245
|
+
ctx.fillRect(0, 0, finalCanvas.width, finalCanvas.height);
|
|
246
|
+
for (const canvas of allCanvases) {
|
|
247
|
+
ctx.drawImage(
|
|
248
|
+
canvas,
|
|
249
|
+
0,
|
|
250
|
+
0,
|
|
251
|
+
canvas.width,
|
|
252
|
+
canvas.height,
|
|
253
|
+
0,
|
|
254
|
+
textHeight,
|
|
255
|
+
mapWidth,
|
|
256
|
+
mapHeight
|
|
257
|
+
);
|
|
258
|
+
}
|
|
259
|
+
for (const svg of svgs) {
|
|
260
|
+
try {
|
|
261
|
+
const clonedSvg = svg.cloneNode(true);
|
|
262
|
+
if (!clonedSvg.hasAttribute("width")) {
|
|
263
|
+
clonedSvg.setAttribute("width", String(mapWidth));
|
|
264
|
+
}
|
|
265
|
+
if (!clonedSvg.hasAttribute("height")) {
|
|
266
|
+
clonedSvg.setAttribute("height", String(mapHeight));
|
|
267
|
+
}
|
|
268
|
+
const svgData = new XMLSerializer().serializeToString(clonedSvg);
|
|
269
|
+
const svgBlob = new Blob([svgData], {
|
|
270
|
+
type: "image/svg+xml;charset=utf-8"
|
|
271
|
+
});
|
|
272
|
+
const url = URL.createObjectURL(svgBlob);
|
|
273
|
+
const img = new Image();
|
|
274
|
+
await new Promise((resolve, reject) => {
|
|
275
|
+
img.onload = () => {
|
|
276
|
+
ctx.drawImage(img, 0, textHeight, mapWidth, mapHeight);
|
|
277
|
+
URL.revokeObjectURL(url);
|
|
278
|
+
resolve();
|
|
279
|
+
};
|
|
280
|
+
img.onerror = () => {
|
|
281
|
+
URL.revokeObjectURL(url);
|
|
282
|
+
reject(new Error("Failed to load SVG image"));
|
|
283
|
+
};
|
|
284
|
+
img.src = url;
|
|
285
|
+
});
|
|
286
|
+
} catch (error) {
|
|
287
|
+
console.warn("Failed to render SVG layer:", error);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
const textY = 30;
|
|
291
|
+
const lineHeight = 25;
|
|
292
|
+
ctx.fillStyle = "#000000";
|
|
293
|
+
ctx.font = "bold 18px Arial, sans-serif";
|
|
294
|
+
ctx.textAlign = "left";
|
|
295
|
+
ctx.textBaseline = "top";
|
|
296
|
+
const titleText = __privateMethod(this, _getMapTitleText, getMapTitleText_fn).call(this);
|
|
297
|
+
const lines = __privateMethod(this, _wrapText, wrapText_fn).call(this, ctx, titleText, mapWidth - 40, 16);
|
|
298
|
+
lines.forEach((line, index) => {
|
|
299
|
+
ctx.fillText(line, 20, textY + index * lineHeight);
|
|
300
|
+
});
|
|
301
|
+
await __privateMethod(this, _drawLegend, drawLegend_fn).call(this, ctx, textHeight);
|
|
302
|
+
const mimeType = format === "jpg" ? "image/jpeg" : "image/png";
|
|
303
|
+
const fileExtension = format === "jpg" ? "jpg" : "png";
|
|
304
|
+
const quality = format === "jpg" ? 0.92 : void 0;
|
|
305
|
+
finalCanvas.toBlob(
|
|
306
|
+
(blob) => {
|
|
307
|
+
if (!blob) {
|
|
308
|
+
console.warn("Failed to create blob from canvas");
|
|
309
|
+
return;
|
|
310
|
+
}
|
|
311
|
+
const url = URL.createObjectURL(blob);
|
|
312
|
+
const a = document.createElement("a");
|
|
313
|
+
const locationStr = this.location ? `_${this.location.replace(/,/g, "_")}` : "";
|
|
314
|
+
const dateRange = this.startDate && this.endDate ? `_${this.startDate.split("T")[0]}_to_${this.endDate.split("T")[0]}` : "";
|
|
315
|
+
const variableEntryId = getVariableEntryId(this);
|
|
316
|
+
const filename = `${variableEntryId || "map"}${locationStr}${dateRange}.${fileExtension}`;
|
|
317
|
+
a.href = url;
|
|
318
|
+
a.download = filename;
|
|
319
|
+
a.style.display = "none";
|
|
320
|
+
document.body.appendChild(a);
|
|
321
|
+
a.click();
|
|
322
|
+
document.body.removeChild(a);
|
|
323
|
+
URL.revokeObjectURL(url);
|
|
324
|
+
},
|
|
325
|
+
mimeType,
|
|
326
|
+
quality
|
|
327
|
+
);
|
|
328
|
+
} catch (error) {
|
|
329
|
+
console.error("Error exporting map as PNG:", error);
|
|
330
|
+
}
|
|
331
|
+
});
|
|
332
|
+
}
|
|
333
|
+
handlePropertyChange() {
|
|
334
|
+
if (!this.startDate || !this.endDate || !this.location || !this.catalogVariable) {
|
|
335
|
+
return;
|
|
336
|
+
}
|
|
337
|
+
__privateGet(this, _controller).jobStatusTask.run();
|
|
338
|
+
}
|
|
339
|
+
handlePlotOptionsChange() {
|
|
340
|
+
this.emit("terra-plot-options-change", {
|
|
341
|
+
detail: {
|
|
342
|
+
colorMapName: this.colorMapName,
|
|
343
|
+
opacity: this.opacity
|
|
344
|
+
}
|
|
345
|
+
});
|
|
346
|
+
}
|
|
347
|
+
connectedCallback() {
|
|
348
|
+
super.connectedCallback();
|
|
349
|
+
this.addEventListener(
|
|
350
|
+
"terra-time-average-map-error",
|
|
351
|
+
__privateGet(this, _handleMapError)
|
|
352
|
+
);
|
|
353
|
+
this.addEventListener(
|
|
354
|
+
"terra-plot-toolbar-export-image",
|
|
355
|
+
__privateGet(this, _handleExportImage)
|
|
356
|
+
);
|
|
357
|
+
}
|
|
358
|
+
async firstUpdated() {
|
|
359
|
+
this.intializeMap();
|
|
360
|
+
this._fetchVariableTask.run();
|
|
361
|
+
}
|
|
362
|
+
updated(changedProps) {
|
|
363
|
+
var _a, _b, _c, _d;
|
|
364
|
+
super.updated(changedProps);
|
|
365
|
+
const taskStatus = (_b = (_a = __privateGet(this, _controller)) == null ? void 0 : _a.jobStatusTask) == null ? void 0 : _b.status;
|
|
366
|
+
if (taskStatus === s.PENDING && this.timeAverageMapError) {
|
|
367
|
+
this.timeAverageMapError = null;
|
|
368
|
+
}
|
|
369
|
+
if (taskStatus === s.ERROR && !this.timeAverageMapError) {
|
|
370
|
+
const taskError = (_d = (_c = __privateGet(this, _controller)) == null ? void 0 : _c.jobStatusTask) == null ? void 0 : _d.error;
|
|
371
|
+
if (taskError) {
|
|
372
|
+
const errorDetails = extractHarmonyError(taskError);
|
|
373
|
+
if (errorDetails.isCancellation) {
|
|
374
|
+
return;
|
|
375
|
+
}
|
|
376
|
+
this.timeAverageMapError = {
|
|
377
|
+
code: errorDetails.code,
|
|
378
|
+
message: errorDetails.message,
|
|
379
|
+
context: errorDetails.context
|
|
380
|
+
};
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
disconnectedCallback() {
|
|
385
|
+
super.disconnectedCallback();
|
|
386
|
+
this.removeEventListener(
|
|
387
|
+
"terra-time-average-map-error",
|
|
388
|
+
__privateGet(this, _handleMapError)
|
|
389
|
+
);
|
|
390
|
+
this.removeEventListener(
|
|
391
|
+
"terra-plot-toolbar-export-image",
|
|
392
|
+
__privateGet(this, _handleExportImage)
|
|
393
|
+
);
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* Captures the current map view as a thumbnail Blob (JPEG, 200×200).
|
|
397
|
+
* Composites all OpenLayers canvas layers without text overlay or legend.
|
|
398
|
+
* Returns undefined if the map is not ready.
|
|
399
|
+
*/
|
|
400
|
+
async captureMapThumbnail(thumbWidth = 200, thumbHeight = 200) {
|
|
401
|
+
if (!__privateGet(this, _map)) {
|
|
402
|
+
return void 0;
|
|
403
|
+
}
|
|
404
|
+
const map = __privateGet(this, _map);
|
|
405
|
+
try {
|
|
406
|
+
await new Promise((resolve) => {
|
|
407
|
+
map.once("rendercomplete", () => resolve());
|
|
408
|
+
map.render();
|
|
409
|
+
});
|
|
410
|
+
const mapElement = map.getViewport();
|
|
411
|
+
const mapSize = map.getSize();
|
|
412
|
+
if (!mapSize)
|
|
413
|
+
return void 0;
|
|
414
|
+
const [mapWidth, mapHeight] = mapSize;
|
|
415
|
+
const allCanvases = Array.from(
|
|
416
|
+
mapElement.querySelectorAll("canvas")
|
|
417
|
+
);
|
|
418
|
+
if (allCanvases.length === 0)
|
|
419
|
+
return void 0;
|
|
420
|
+
const composite = document.createElement("canvas");
|
|
421
|
+
composite.width = mapWidth;
|
|
422
|
+
composite.height = mapHeight;
|
|
423
|
+
const ctx = composite.getContext("2d");
|
|
424
|
+
if (!ctx)
|
|
425
|
+
return void 0;
|
|
426
|
+
for (const canvas of allCanvases) {
|
|
427
|
+
if (canvas.width > 0 && canvas.height > 0) {
|
|
428
|
+
ctx.drawImage(canvas, 0, 0, mapWidth, mapHeight);
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
const thumb = document.createElement("canvas");
|
|
432
|
+
thumb.width = thumbWidth;
|
|
433
|
+
thumb.height = thumbHeight;
|
|
434
|
+
const thumbCtx = thumb.getContext("2d");
|
|
435
|
+
if (!thumbCtx)
|
|
436
|
+
return void 0;
|
|
437
|
+
thumbCtx.drawImage(composite, 0, 0, thumbWidth, thumbHeight);
|
|
438
|
+
return new Promise(
|
|
439
|
+
(resolve, reject) => thumb.toBlob(
|
|
440
|
+
(b2) => b2 ? resolve(b2) : reject(new Error("toBlob failed")),
|
|
441
|
+
"image/jpeg",
|
|
442
|
+
0.8
|
|
443
|
+
)
|
|
444
|
+
);
|
|
445
|
+
} catch (error) {
|
|
446
|
+
console.error("Failed to capture map thumbnail", error);
|
|
447
|
+
return void 0;
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
async updateGeoTIFFLayer(blob) {
|
|
451
|
+
var _a;
|
|
452
|
+
const blobUrl = URL.createObjectURL(blob);
|
|
453
|
+
const { default: GeoTIFF } = await import("./GeoTIFF.NRJSPXBW.js");
|
|
454
|
+
const gtSource = new GeoTIFF({
|
|
455
|
+
sources: [
|
|
456
|
+
{
|
|
457
|
+
url: blobUrl,
|
|
458
|
+
bands: [1],
|
|
459
|
+
nodata: this.noDataValue
|
|
460
|
+
}
|
|
461
|
+
],
|
|
462
|
+
wrapX: true,
|
|
463
|
+
// Enable wrapping so GeoTIFF is always visible when scrolling
|
|
464
|
+
interpolate: false,
|
|
465
|
+
normalize: false
|
|
466
|
+
});
|
|
467
|
+
__privateSet(this, _gtLayer, new WebGLTile_default({
|
|
468
|
+
source: gtSource
|
|
469
|
+
}));
|
|
470
|
+
if (__privateGet(this, _map)) {
|
|
471
|
+
__privateGet(this, _map).addLayer(__privateGet(this, _gtLayer));
|
|
472
|
+
await this.addSupportingLayersForGeoTIFF(gtSource);
|
|
473
|
+
}
|
|
474
|
+
this.metadata = await this.fetchGeotiffMetadata(gtSource);
|
|
475
|
+
this.long_name = (_a = this.metadata["long_name"]) != null ? _a : "";
|
|
476
|
+
if (__privateGet(this, _map) && __privateGet(this, _gtLayer)) {
|
|
477
|
+
this.renderPixelValues(__privateGet(this, _map), __privateGet(this, _gtLayer));
|
|
478
|
+
this.applyColorToLayer(gtSource, this.colorMapName);
|
|
479
|
+
setTimeout(async () => {
|
|
480
|
+
var _a2;
|
|
481
|
+
try {
|
|
482
|
+
const view = await ((_a2 = __privateGet(this, _gtLayer).getSource()) == null ? void 0 : _a2.getView());
|
|
483
|
+
const transformedExtent = transformExtent(
|
|
484
|
+
view.extent,
|
|
485
|
+
view.projection,
|
|
486
|
+
__privateGet(this, _map).getView().getProjection()
|
|
487
|
+
);
|
|
488
|
+
__privateGet(this, _map).getView().fit(transformedExtent, {
|
|
489
|
+
padding: [50, 50, 50, 50],
|
|
490
|
+
duration: 300
|
|
491
|
+
});
|
|
492
|
+
} catch (error) {
|
|
493
|
+
console.warn("Failed to fit map to GeoTIFF extent:", error);
|
|
494
|
+
}
|
|
495
|
+
}, 500);
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
intializeMap() {
|
|
499
|
+
var _a, _b, _c;
|
|
500
|
+
const baseLayer = new WebGLTile_default({
|
|
501
|
+
source: new OSM_default()
|
|
502
|
+
});
|
|
503
|
+
__privateSet(this, _graticuleLayer, new Graticule_default({
|
|
504
|
+
strokeStyle: new Stroke_default({
|
|
505
|
+
color: "rgba(0,0,0,0.2)",
|
|
506
|
+
width: 2,
|
|
507
|
+
lineDash: [0.5, 4]
|
|
508
|
+
}),
|
|
509
|
+
showLabels: true,
|
|
510
|
+
wrapX: false
|
|
511
|
+
}));
|
|
512
|
+
__privateSet(this, _map, new Map_default({
|
|
513
|
+
target: (_b = (_a = this.shadowRoot) == null ? void 0 : _a.getElementById("map")) != null ? _b : void 0,
|
|
514
|
+
layers: [baseLayer, __privateGet(this, _graticuleLayer)],
|
|
515
|
+
view: new View_default({
|
|
516
|
+
center: [0, 0],
|
|
517
|
+
zoom: 2,
|
|
518
|
+
projection: "EPSG:3857"
|
|
519
|
+
})
|
|
520
|
+
}));
|
|
521
|
+
if (__privateGet(this, _map)) {
|
|
522
|
+
const resizeObserver = new ResizeObserver(() => {
|
|
523
|
+
var _a2;
|
|
524
|
+
(_a2 = __privateGet(this, _map)) == null ? void 0 : _a2.updateSize();
|
|
525
|
+
});
|
|
526
|
+
const mapElement = (_c = this.shadowRoot) == null ? void 0 : _c.getElementById("map");
|
|
527
|
+
if (mapElement) {
|
|
528
|
+
resizeObserver.observe(mapElement);
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
async addSupportingLayersForGeoTIFF(gtSource) {
|
|
533
|
+
if (!__privateGet(this, _map)) {
|
|
534
|
+
return;
|
|
535
|
+
}
|
|
536
|
+
if (__privateGet(this, _geoTiffGraticuleLayer)) {
|
|
537
|
+
__privateGet(this, _map).removeLayer(__privateGet(this, _geoTiffGraticuleLayer));
|
|
538
|
+
__privateSet(this, _geoTiffGraticuleLayer, null);
|
|
539
|
+
}
|
|
540
|
+
if (__privateGet(this, _statesLayer)) {
|
|
541
|
+
__privateGet(this, _map).removeLayer(__privateGet(this, _statesLayer));
|
|
542
|
+
__privateSet(this, _statesLayer, null);
|
|
543
|
+
}
|
|
544
|
+
if (__privateGet(this, _bordersLayer)) {
|
|
545
|
+
__privateGet(this, _map).removeLayer(__privateGet(this, _bordersLayer));
|
|
546
|
+
__privateSet(this, _bordersLayer, null);
|
|
547
|
+
}
|
|
548
|
+
let geoTiffExtent;
|
|
549
|
+
try {
|
|
550
|
+
const view = await gtSource.getView();
|
|
551
|
+
if (view == null ? void 0 : view.extent) {
|
|
552
|
+
geoTiffExtent = transformExtent(
|
|
553
|
+
view.extent,
|
|
554
|
+
view.projection,
|
|
555
|
+
__privateGet(this, _map).getView().getProjection()
|
|
556
|
+
);
|
|
557
|
+
}
|
|
558
|
+
} catch (error) {
|
|
559
|
+
console.warn("Could not get GeoTIFF extent for border clipping:", error);
|
|
560
|
+
}
|
|
561
|
+
__privateSet(this, _geoTiffGraticuleLayer, new Graticule_default({
|
|
562
|
+
extent: geoTiffExtent,
|
|
563
|
+
strokeStyle: new Stroke_default({
|
|
564
|
+
color: "rgba(0,0,0,0.5)",
|
|
565
|
+
width: 2,
|
|
566
|
+
lineDash: [0.5, 4]
|
|
567
|
+
}),
|
|
568
|
+
showLabels: true,
|
|
569
|
+
wrapX: false
|
|
570
|
+
}));
|
|
571
|
+
__privateGet(this, _map).addLayer(__privateGet(this, _geoTiffGraticuleLayer));
|
|
572
|
+
const statesVectorSource = new Vector_default({
|
|
573
|
+
url: "https://raw.githubusercontent.com/martynafford/natural-earth-geojson/refs/heads/master/10m/cultural/ne_10m_admin_1_states_provinces.json",
|
|
574
|
+
format: new GeoJSON_default()
|
|
575
|
+
});
|
|
576
|
+
__privateSet(this, _statesLayer, new Vector_default2({
|
|
577
|
+
source: statesVectorSource,
|
|
578
|
+
extent: geoTiffExtent,
|
|
579
|
+
style: new Style_default({
|
|
580
|
+
stroke: new Stroke_default({
|
|
581
|
+
color: "#222222",
|
|
582
|
+
width: 0.75
|
|
583
|
+
})
|
|
584
|
+
})
|
|
585
|
+
}));
|
|
586
|
+
__privateGet(this, _map).addLayer(__privateGet(this, _statesLayer));
|
|
587
|
+
const vectorSource = new Vector_default({
|
|
588
|
+
url: "https://raw.githubusercontent.com/nvkelso/natural-earth-vector/master/geojson/ne_10m_admin_0_countries.geojson",
|
|
589
|
+
format: new GeoJSON_default()
|
|
590
|
+
});
|
|
591
|
+
__privateSet(this, _bordersLayer, new Vector_default2({
|
|
592
|
+
source: vectorSource,
|
|
593
|
+
extent: geoTiffExtent,
|
|
594
|
+
style: new Style_default({
|
|
595
|
+
stroke: new Stroke_default({
|
|
596
|
+
color: "#000000",
|
|
597
|
+
width: 1
|
|
598
|
+
})
|
|
599
|
+
})
|
|
600
|
+
}));
|
|
601
|
+
__privateGet(this, _map).addLayer(__privateGet(this, _bordersLayer));
|
|
602
|
+
}
|
|
603
|
+
async fetchGeotiffMetadata(gtSource) {
|
|
604
|
+
var _a;
|
|
605
|
+
await gtSource.getView();
|
|
606
|
+
const internal = gtSource;
|
|
607
|
+
const gtImage = internal.sourceImagery_[0][0];
|
|
608
|
+
const gtMetadata = (_a = gtImage.fileDirectory) == null ? void 0 : _a.GDAL_METADATA;
|
|
609
|
+
const parser = new DOMParser();
|
|
610
|
+
const xmlDoc = parser.parseFromString(gtMetadata, "application/xml");
|
|
611
|
+
const items = xmlDoc.querySelectorAll("Item");
|
|
612
|
+
const dataObj = {};
|
|
613
|
+
for (let i = 0; i < items.length; i++) {
|
|
614
|
+
const item = items[i];
|
|
615
|
+
const name = item.getAttribute("name");
|
|
616
|
+
const value = item.textContent ? item.textContent.trim() : "";
|
|
617
|
+
if (name) {
|
|
618
|
+
dataObj[name] = value;
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
console.log("Data obj: ", dataObj);
|
|
622
|
+
return dataObj;
|
|
623
|
+
}
|
|
624
|
+
renderPixelValues(map, gtLayer) {
|
|
625
|
+
map.on("pointermove", (event) => {
|
|
626
|
+
let data = gtLayer.getData(event.pixel);
|
|
627
|
+
const coordinate = toLonLat(event.coordinate);
|
|
628
|
+
if (!data || !(data instanceof Uint8Array || data instanceof Uint8ClampedArray || data instanceof Float32Array) || isNaN(data[0]) || data[0] === 0) {
|
|
629
|
+
data = null;
|
|
630
|
+
}
|
|
631
|
+
const val = data ? Number(data[0]).toExponential(3) : "N/A";
|
|
632
|
+
const coordStr = coordinate.map((c) => c.toFixed(3)).join(", ");
|
|
633
|
+
this.pixelValue = val;
|
|
634
|
+
this.pixelCoordinates = coordStr;
|
|
635
|
+
});
|
|
636
|
+
}
|
|
637
|
+
// Get the fill value from the GeoTIFF file
|
|
638
|
+
getNoDataValue(gtSource) {
|
|
639
|
+
let ndv = this.noDataValue;
|
|
640
|
+
if (gtSource == null) {
|
|
641
|
+
return ndv;
|
|
642
|
+
}
|
|
643
|
+
gtSource.getView().then(() => {
|
|
644
|
+
var _a, _b;
|
|
645
|
+
const gtImage = gtSource.sourceImagery_[0][0];
|
|
646
|
+
ndv = parseFloat(
|
|
647
|
+
(_b = (_a = gtImage.fileDirectory) == null ? void 0 : _a.GDAL_NODATA) != null ? _b : this.noDataValue.toString()
|
|
648
|
+
);
|
|
649
|
+
});
|
|
650
|
+
return ndv;
|
|
651
|
+
}
|
|
652
|
+
async getMinMax(gtSource) {
|
|
653
|
+
await gtSource.getView();
|
|
654
|
+
const gtImage = gtSource.sourceImagery_[0][0];
|
|
655
|
+
const rasterData = await gtImage.readRasters({ samples: [0] });
|
|
656
|
+
const pixels = rasterData[0];
|
|
657
|
+
let min = Infinity;
|
|
658
|
+
let max = -Infinity;
|
|
659
|
+
for (let i = 0; i < pixels.length; i++) {
|
|
660
|
+
const val = pixels[i];
|
|
661
|
+
if (!isNaN(val) && val !== this.getNoDataValue(gtSource)) {
|
|
662
|
+
if (val < min)
|
|
663
|
+
min = val;
|
|
664
|
+
if (val > max)
|
|
665
|
+
max = val;
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
return { min, max };
|
|
669
|
+
}
|
|
670
|
+
// Referencing workshop example from https://openlayers.org/workshop/en/cog/colormap.html
|
|
671
|
+
async getColorStops(name, min, max, steps, reverse) {
|
|
672
|
+
const delta = (max - min) / (steps - 1);
|
|
673
|
+
const stops = new Array(steps * 2);
|
|
674
|
+
const { default: colormap } = await import("./colormap.BMZ7G2OU.js");
|
|
675
|
+
const colors = colormap({
|
|
676
|
+
colormap: name,
|
|
677
|
+
nshades: steps,
|
|
678
|
+
format: "rgba"
|
|
679
|
+
});
|
|
680
|
+
const dataVals = [];
|
|
681
|
+
if (reverse) {
|
|
682
|
+
colors.reverse();
|
|
683
|
+
}
|
|
684
|
+
for (let i = 0; i < steps; i++) {
|
|
685
|
+
stops[i * 2] = min + i * delta;
|
|
686
|
+
stops[i * 2 + 1] = colors[i];
|
|
687
|
+
dataVals.push((min + i * delta).toExponential(2));
|
|
688
|
+
}
|
|
689
|
+
this.generatePalette(colors, dataVals, min, max);
|
|
690
|
+
return stops;
|
|
691
|
+
}
|
|
692
|
+
generatePalette(clrs, dv, min, max) {
|
|
693
|
+
this.legendValues = [];
|
|
694
|
+
for (let i = clrs.length - 1; i > 0; i--) {
|
|
695
|
+
const curVal = parseFloat(dv[i]);
|
|
696
|
+
if (curVal >= min && curVal <= max) {
|
|
697
|
+
this.legendValues.push({ value: dv[i], rgb: clrs[i] });
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
this.min = min.toExponential(3);
|
|
701
|
+
this.max = max.toExponential(3);
|
|
702
|
+
}
|
|
703
|
+
async applyColorToLayer(gtSource, color) {
|
|
704
|
+
var _a;
|
|
705
|
+
var { min, max } = await this.getMinMax(gtSource);
|
|
706
|
+
let gtStyle = {
|
|
707
|
+
color: [
|
|
708
|
+
"case",
|
|
709
|
+
["==", ["band", 2], 0],
|
|
710
|
+
[0, 0, 0, 0],
|
|
711
|
+
[
|
|
712
|
+
"interpolate",
|
|
713
|
+
["linear"],
|
|
714
|
+
["band", 1],
|
|
715
|
+
...await this.getColorStops(color, min, max, 72, false)
|
|
716
|
+
]
|
|
717
|
+
]
|
|
718
|
+
};
|
|
719
|
+
(_a = __privateGet(this, _gtLayer)) == null ? void 0 : _a.setStyle(gtStyle);
|
|
720
|
+
}
|
|
721
|
+
render() {
|
|
722
|
+
var _a, _b, _c, _d;
|
|
723
|
+
return b`
|
|
724
|
+
${__privateMethod(this, _isVariableNotFound, isVariableNotFound_fn).call(this) ? b`
|
|
725
|
+
<terra-alert
|
|
726
|
+
class="no-data-alert"
|
|
727
|
+
variant="danger"
|
|
728
|
+
open
|
|
729
|
+
closable
|
|
730
|
+
>
|
|
731
|
+
<terra-icon
|
|
732
|
+
slot="icon"
|
|
733
|
+
name="outline-exclamation-triangle"
|
|
734
|
+
library="heroicons"
|
|
735
|
+
></terra-icon>
|
|
736
|
+
The selected variable was not found in the catalog
|
|
737
|
+
</terra-alert>
|
|
738
|
+
` : ""}
|
|
739
|
+
${this.timeAverageMapError ? b`
|
|
740
|
+
<terra-alert
|
|
741
|
+
class="error-alert"
|
|
742
|
+
variant="danger"
|
|
743
|
+
open
|
|
744
|
+
closable
|
|
745
|
+
@terra-after-hide=${() => this.timeAverageMapError = null}
|
|
746
|
+
>
|
|
747
|
+
<terra-icon
|
|
748
|
+
slot="icon"
|
|
749
|
+
name="outline-exclamation-triangle"
|
|
750
|
+
library="heroicons"
|
|
751
|
+
></terra-icon>
|
|
752
|
+
${__privateMethod(this, _getErrorMessage, getErrorMessage_fn).call(this, this.timeAverageMapError)}
|
|
753
|
+
</terra-alert>
|
|
754
|
+
` : ""}
|
|
755
|
+
<div class="toolbar-container">
|
|
756
|
+
${h(
|
|
757
|
+
this.catalogVariable ? b`<terra-plot-toolbar
|
|
758
|
+
dataType="geotiff"
|
|
759
|
+
.catalogVariable=${this.catalogVariable}
|
|
760
|
+
.timeSeriesData=${(_a = __privateGet(this, _controller).jobStatusTask) == null ? void 0 : _a.value}
|
|
761
|
+
.location=${this.location}
|
|
762
|
+
.startDate=${this.startDate}
|
|
763
|
+
.endDate=${this.endDate}
|
|
764
|
+
.cacheKey=${__privateGet(this, _controller).getCacheKey()}
|
|
765
|
+
.variableEntryId=${getVariableEntryId(this)}
|
|
766
|
+
@show-opacity-value=${__privateMethod(this, _handleOpacityChange, handleOpacityChange_fn)}
|
|
767
|
+
@show-color-map=${__privateMethod(this, _handleColorMapChange, handleColorMapChange_fn)}
|
|
768
|
+
@show-check-box-toggle=${__privateMethod(this, _handleCheckBoxToggle, handleCheckBoxToggle_fn)}
|
|
769
|
+
.pixelValue=${this.pixelValue}
|
|
770
|
+
.pixelCoordinates=${this.pixelCoordinates}
|
|
771
|
+
show-date-range
|
|
772
|
+
.colormaps=${this.colormaps}
|
|
773
|
+
.colorMapName=${this.colorMapName}
|
|
774
|
+
.opacity=${this.opacity}
|
|
775
|
+
.showHelp=${this.showHelp}
|
|
776
|
+
></terra-plot-toolbar>` : b`<div class="spacer"></div>`
|
|
777
|
+
)}
|
|
778
|
+
</div>
|
|
779
|
+
|
|
780
|
+
<div class="map-container">
|
|
781
|
+
<div id="map">
|
|
782
|
+
<div id="settings">
|
|
783
|
+
<div>
|
|
784
|
+
<strong>Value:</strong>
|
|
785
|
+
<span id="pixelValue">${this.pixelValue}</span>
|
|
786
|
+
</div>
|
|
787
|
+
|
|
788
|
+
<div>
|
|
789
|
+
<strong>Coordinate: </strong>
|
|
790
|
+
<span id="cursorCoordinates"
|
|
791
|
+
>${this.pixelCoordinates}</span
|
|
792
|
+
>
|
|
793
|
+
</div>
|
|
794
|
+
</div>
|
|
795
|
+
|
|
796
|
+
<div id="legend">
|
|
797
|
+
<div class="stats" id="statsMax">${this.max}</div>
|
|
798
|
+
<div class="palette">
|
|
799
|
+
${this.legendValues.map(
|
|
800
|
+
(value) => b`
|
|
801
|
+
<div
|
|
802
|
+
class="color-box"
|
|
803
|
+
style="background-color: rgba(${value.rgb})"
|
|
804
|
+
title="${value.value}"
|
|
805
|
+
></div>
|
|
806
|
+
`
|
|
807
|
+
)}
|
|
808
|
+
</div>
|
|
809
|
+
<div class="stats" id="statsMin">${this.min}</div>
|
|
810
|
+
</div>
|
|
811
|
+
</div>
|
|
812
|
+
</div>
|
|
813
|
+
|
|
814
|
+
${this.harmonyJobId ? b`
|
|
815
|
+
<div class="harmony-job-link">
|
|
816
|
+
<a
|
|
817
|
+
href=${`https://harmony${this.environment === "uat" /* UAT */ ? ".uat" : ""}.earthdata.nasa.gov/jobs/${this.harmonyJobId}`}
|
|
818
|
+
target="_blank"
|
|
819
|
+
rel="noopener noreferrer"
|
|
820
|
+
>
|
|
821
|
+
Request Status: ${this.harmonyJobId}
|
|
822
|
+
</a>
|
|
823
|
+
</div>
|
|
824
|
+
` : A}
|
|
825
|
+
|
|
826
|
+
<!-- Floating Popover for Plot -->
|
|
827
|
+
${this.toggleState && this.plotData && Object.keys(this.plotData).length && this.layout && Object.keys(this.layout).length ? b`
|
|
828
|
+
<div class="plot-popover ${this.minimized ? "minimized" : ""}">
|
|
829
|
+
<terra-plot
|
|
830
|
+
style="display: ${this.minimized ? "none" : "block"}"
|
|
831
|
+
.data=${this.plotData}
|
|
832
|
+
plotTitle="Data Profile"
|
|
833
|
+
.layout=${this.layout}
|
|
834
|
+
>
|
|
835
|
+
</terra-plot>
|
|
836
|
+
|
|
837
|
+
<terra-button
|
|
838
|
+
class="minify-btn"
|
|
839
|
+
@click=${__privateMethod(this, _minifyMapPopover, minifyMapPopover_fn)}
|
|
840
|
+
>
|
|
841
|
+
${this.minimized ? "Restore" : "Minimize"}
|
|
842
|
+
</terra-button>
|
|
843
|
+
</div>
|
|
844
|
+
` : null}
|
|
845
|
+
|
|
846
|
+
<dialog
|
|
847
|
+
?open=${((_c = (_b = __privateGet(this, _controller)) == null ? void 0 : _b.jobStatusTask) == null ? void 0 : _c.status) === s.PENDING}
|
|
848
|
+
>
|
|
849
|
+
<terra-loader indeterminate variant="orbit"></terra-loader>
|
|
850
|
+
<p>Plotting ${(_d = this.catalogVariable) == null ? void 0 : _d.dataFieldId}…</p>
|
|
851
|
+
<terra-button @click=${__privateMethod(this, _abortJobStatusTask, abortJobStatusTask_fn)}>Cancel</terra-button>
|
|
852
|
+
</dialog>
|
|
853
|
+
`;
|
|
854
|
+
}
|
|
855
|
+
};
|
|
856
|
+
_controller = new WeakMap();
|
|
857
|
+
_map = new WeakMap();
|
|
858
|
+
_gtLayer = new WeakMap();
|
|
859
|
+
_geoTiffGraticuleLayer = new WeakMap();
|
|
860
|
+
_statesLayer = new WeakMap();
|
|
861
|
+
_bordersLayer = new WeakMap();
|
|
862
|
+
_vectorSource = new WeakMap();
|
|
863
|
+
_vectorLayer = new WeakMap();
|
|
864
|
+
_draw = new WeakMap();
|
|
865
|
+
_graticuleLayer = new WeakMap();
|
|
866
|
+
_handleMapError = new WeakMap();
|
|
867
|
+
_handleExportImage = new WeakMap();
|
|
868
|
+
_drawLegend = new WeakSet();
|
|
869
|
+
drawLegend_fn = async function(ctx, textHeight) {
|
|
870
|
+
var _a, _b;
|
|
871
|
+
const legendElement = (_a = this.shadowRoot) == null ? void 0 : _a.getElementById("legend");
|
|
872
|
+
if (!legendElement) {
|
|
873
|
+
return;
|
|
874
|
+
}
|
|
875
|
+
const mapContainer = (_b = this.shadowRoot) == null ? void 0 : _b.getElementById("map");
|
|
876
|
+
if (!mapContainer) {
|
|
877
|
+
return;
|
|
878
|
+
}
|
|
879
|
+
const legendRect = legendElement.getBoundingClientRect();
|
|
880
|
+
const mapRect = mapContainer.getBoundingClientRect();
|
|
881
|
+
const legendX = legendRect.left - mapRect.left;
|
|
882
|
+
const legendY = legendRect.top - mapRect.top + textHeight;
|
|
883
|
+
const legendWidth = legendRect.width;
|
|
884
|
+
const legendHeight = legendRect.height;
|
|
885
|
+
ctx.fillStyle = "#ffffff";
|
|
886
|
+
ctx.fillRect(legendX, legendY, legendWidth, legendHeight);
|
|
887
|
+
ctx.strokeStyle = "#cccccc";
|
|
888
|
+
ctx.lineWidth = 1;
|
|
889
|
+
ctx.strokeRect(legendX, legendY, legendWidth, legendHeight);
|
|
890
|
+
const computedStyle = window.getComputedStyle(legendElement);
|
|
891
|
+
const fontSize = parseFloat(computedStyle.fontSize) || 12;
|
|
892
|
+
const fontFamily = computedStyle.fontFamily || "monospace";
|
|
893
|
+
const padding = parseFloat(computedStyle.padding) || 8;
|
|
894
|
+
const statsMax = legendElement.querySelector("#statsMax");
|
|
895
|
+
if (statsMax) {
|
|
896
|
+
ctx.fillStyle = "#000000";
|
|
897
|
+
ctx.font = `${fontSize}px ${fontFamily}`;
|
|
898
|
+
ctx.textAlign = "center";
|
|
899
|
+
ctx.textBaseline = "top";
|
|
900
|
+
ctx.fillText(
|
|
901
|
+
statsMax.textContent || "",
|
|
902
|
+
legendX + legendWidth / 2,
|
|
903
|
+
legendY + padding
|
|
904
|
+
);
|
|
905
|
+
}
|
|
906
|
+
const palette = legendElement.querySelector(".palette");
|
|
907
|
+
if (palette) {
|
|
908
|
+
const paletteRect = palette.getBoundingClientRect();
|
|
909
|
+
const paletteX = paletteRect.left - mapRect.left;
|
|
910
|
+
const paletteY = paletteRect.top - mapRect.top + textHeight;
|
|
911
|
+
const paletteWidth = paletteRect.width;
|
|
912
|
+
const colorDivs = Array.from(
|
|
913
|
+
palette.querySelectorAll("div")
|
|
914
|
+
);
|
|
915
|
+
let currentY = paletteY;
|
|
916
|
+
for (const div of colorDivs) {
|
|
917
|
+
const divRect = div.getBoundingClientRect();
|
|
918
|
+
const divHeight = divRect.height;
|
|
919
|
+
const style = div.getAttribute("style") || "";
|
|
920
|
+
const bgColorMatch = style.match(
|
|
921
|
+
/background-color:\s*rgba?\(([^)]+)\)/
|
|
922
|
+
);
|
|
923
|
+
if (bgColorMatch) {
|
|
924
|
+
const colorStr = bgColorMatch[1];
|
|
925
|
+
const [r2, g, b2, a = 1] = colorStr.split(",").map((s2) => parseFloat(s2.trim()));
|
|
926
|
+
ctx.fillStyle = `rgba(${r2}, ${g}, ${b2}, ${a})`;
|
|
927
|
+
ctx.fillRect(paletteX, currentY, paletteWidth, divHeight);
|
|
928
|
+
}
|
|
929
|
+
currentY += divHeight;
|
|
930
|
+
}
|
|
931
|
+
}
|
|
932
|
+
const statsMin = legendElement.querySelector("#statsMin");
|
|
933
|
+
if (statsMin) {
|
|
934
|
+
ctx.fillStyle = "#000000";
|
|
935
|
+
ctx.font = `${fontSize}px ${fontFamily}`;
|
|
936
|
+
ctx.textAlign = "center";
|
|
937
|
+
ctx.textBaseline = "bottom";
|
|
938
|
+
ctx.fillText(
|
|
939
|
+
statsMin.textContent || "",
|
|
940
|
+
legendX + legendWidth / 2,
|
|
941
|
+
legendY + legendHeight - padding
|
|
942
|
+
);
|
|
943
|
+
}
|
|
944
|
+
};
|
|
945
|
+
_getMapTitleText = new WeakSet();
|
|
946
|
+
getMapTitleText_fn = function() {
|
|
947
|
+
if (!this.catalogVariable) {
|
|
948
|
+
return "Time Averaged Map";
|
|
949
|
+
}
|
|
950
|
+
const parts = [];
|
|
951
|
+
parts.push("Time Averaged Map of");
|
|
952
|
+
if (this.catalogVariable.dataFieldLongName) {
|
|
953
|
+
parts.push(this.catalogVariable.dataFieldLongName);
|
|
954
|
+
}
|
|
955
|
+
if (this.catalogVariable.dataProductTimeInterval && this.catalogVariable.dataProductTimeInterval.toLowerCase() !== "not applicable") {
|
|
956
|
+
parts.push(this.catalogVariable.dataProductTimeInterval);
|
|
957
|
+
}
|
|
958
|
+
if (this.catalogVariable.dataProductSpatialResolution && this.catalogVariable.dataProductSpatialResolution.toLowerCase() !== "not applicable") {
|
|
959
|
+
parts.push(this.catalogVariable.dataProductSpatialResolution);
|
|
960
|
+
}
|
|
961
|
+
if (this.catalogVariable.dataProductShortName) {
|
|
962
|
+
let datasetInfo = `[${this.catalogVariable.dataProductShortName}`;
|
|
963
|
+
if (this.catalogVariable.dataProductVersion) {
|
|
964
|
+
datasetInfo += ` v${this.catalogVariable.dataProductVersion}`;
|
|
965
|
+
}
|
|
966
|
+
datasetInfo += "]";
|
|
967
|
+
parts.push(datasetInfo);
|
|
968
|
+
}
|
|
969
|
+
if (this.startDate && this.endDate) {
|
|
970
|
+
const startFormatted = formatDate(this.startDate);
|
|
971
|
+
const endFormatted = formatDate(this.endDate);
|
|
972
|
+
parts.push(`over ${startFormatted} - ${endFormatted}`);
|
|
973
|
+
}
|
|
974
|
+
return parts.join(" ");
|
|
975
|
+
};
|
|
976
|
+
_wrapText = new WeakSet();
|
|
977
|
+
wrapText_fn = function(ctx, text, maxWidth, fontSize) {
|
|
978
|
+
ctx.font = `bold ${fontSize}px Arial, sans-serif`;
|
|
979
|
+
const words = text.split(" ");
|
|
980
|
+
const lines = [];
|
|
981
|
+
let currentLine = words[0];
|
|
982
|
+
for (let i = 1; i < words.length; i++) {
|
|
983
|
+
const word = words[i];
|
|
984
|
+
const width = ctx.measureText(currentLine + " " + word).width;
|
|
985
|
+
if (width < maxWidth) {
|
|
986
|
+
currentLine += " " + word;
|
|
987
|
+
} else {
|
|
988
|
+
lines.push(currentLine);
|
|
989
|
+
currentLine = word;
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
lines.push(currentLine);
|
|
993
|
+
return lines;
|
|
994
|
+
};
|
|
995
|
+
_handleOpacityChange = new WeakSet();
|
|
996
|
+
handleOpacityChange_fn = function(e) {
|
|
997
|
+
this.opacity = e.detail;
|
|
998
|
+
if (__privateGet(this, _gtLayer)) {
|
|
999
|
+
__privateGet(this, _gtLayer).setOpacity(this.opacity);
|
|
1000
|
+
}
|
|
1001
|
+
};
|
|
1002
|
+
_handleColorMapChange = new WeakSet();
|
|
1003
|
+
handleColorMapChange_fn = function(e) {
|
|
1004
|
+
const selectedColormap = e.detail;
|
|
1005
|
+
if (__privateGet(this, _gtLayer) && __privateGet(this, _gtLayer).getSource()) {
|
|
1006
|
+
this.colorMapName = selectedColormap;
|
|
1007
|
+
this.applyColorToLayer(__privateGet(this, _gtLayer).getSource(), this.colorMapName);
|
|
1008
|
+
}
|
|
1009
|
+
};
|
|
1010
|
+
_abortJobStatusTask = new WeakSet();
|
|
1011
|
+
abortJobStatusTask_fn = function() {
|
|
1012
|
+
var _a;
|
|
1013
|
+
(_a = __privateGet(this, _controller).jobStatusTask) == null ? void 0 : _a.abort("Cancelled time averaged map request");
|
|
1014
|
+
};
|
|
1015
|
+
_getNumberOfPoints = new WeakSet();
|
|
1016
|
+
getNumberOfPoints_fn = function(line) {
|
|
1017
|
+
const length = getLength(line);
|
|
1018
|
+
let pointCount;
|
|
1019
|
+
if (length > 100) {
|
|
1020
|
+
pointCount = length / 1e3 / 60;
|
|
1021
|
+
} else {
|
|
1022
|
+
pointCount = length / 10;
|
|
1023
|
+
}
|
|
1024
|
+
return Math.max(2, Math.round(pointCount));
|
|
1025
|
+
};
|
|
1026
|
+
_quantizeLineString = new WeakSet();
|
|
1027
|
+
quantizeLineString_fn = function(geo) {
|
|
1028
|
+
const numPoints = __privateMethod(this, _getNumberOfPoints, getNumberOfPoints_fn).call(this, geo);
|
|
1029
|
+
const points = [];
|
|
1030
|
+
for (let i = 0; i <= numPoints; i++) {
|
|
1031
|
+
const fraction = i / numPoints;
|
|
1032
|
+
points.push(geo.getCoordinateAt(fraction));
|
|
1033
|
+
}
|
|
1034
|
+
return points;
|
|
1035
|
+
};
|
|
1036
|
+
_minifyMapPopover = new WeakSet();
|
|
1037
|
+
minifyMapPopover_fn = function() {
|
|
1038
|
+
this.minimized = !this.minimized;
|
|
1039
|
+
};
|
|
1040
|
+
_cleanUpMap = new WeakSet();
|
|
1041
|
+
cleanUpMap_fn = function() {
|
|
1042
|
+
var _a;
|
|
1043
|
+
this.toggleState = false;
|
|
1044
|
+
if (__privateGet(this, _map) && __privateGet(this, _draw) && __privateGet(this, _vectorLayer)) {
|
|
1045
|
+
__privateGet(this, _map).removeInteraction(__privateGet(this, _draw));
|
|
1046
|
+
__privateGet(this, _map).removeLayer(__privateGet(this, _vectorLayer));
|
|
1047
|
+
}
|
|
1048
|
+
(_a = __privateGet(this, _vectorSource)) == null ? void 0 : _a.clear();
|
|
1049
|
+
__privateSet(this, _draw, null);
|
|
1050
|
+
__privateSet(this, _vectorLayer, null);
|
|
1051
|
+
__privateSet(this, _vectorSource, null);
|
|
1052
|
+
};
|
|
1053
|
+
_getRasterValueAtCoordinate = new WeakSet();
|
|
1054
|
+
getRasterValueAtCoordinate_fn = function(coord) {
|
|
1055
|
+
if (!__privateGet(this, _map) || !__privateGet(this, _gtLayer))
|
|
1056
|
+
return NaN;
|
|
1057
|
+
const pixel = __privateGet(this, _map).getPixelFromCoordinate(coord);
|
|
1058
|
+
if (!pixel)
|
|
1059
|
+
return NaN;
|
|
1060
|
+
const data = __privateGet(this, _gtLayer).getData(pixel);
|
|
1061
|
+
if (!data)
|
|
1062
|
+
return NaN;
|
|
1063
|
+
if (data instanceof Uint8Array || data instanceof Uint8ClampedArray || data instanceof Float32Array) {
|
|
1064
|
+
return !isNaN(data[0]) ? data[0] : NaN;
|
|
1065
|
+
}
|
|
1066
|
+
if (data instanceof DataView) {
|
|
1067
|
+
const val = data.getFloat32(0, true);
|
|
1068
|
+
return !isNaN(val) ? val : NaN;
|
|
1069
|
+
}
|
|
1070
|
+
return NaN;
|
|
1071
|
+
};
|
|
1072
|
+
_handleCheckBoxToggle = new WeakSet();
|
|
1073
|
+
handleCheckBoxToggle_fn = function(e) {
|
|
1074
|
+
var isToggled = e.detail;
|
|
1075
|
+
if (isToggled) {
|
|
1076
|
+
this.toggleState = isToggled;
|
|
1077
|
+
__privateSet(this, _vectorSource, new Vector_default({ wrapX: false }));
|
|
1078
|
+
__privateSet(this, _vectorLayer, new Vector_default2({
|
|
1079
|
+
source: __privateGet(this, _vectorSource)
|
|
1080
|
+
}));
|
|
1081
|
+
__privateSet(this, _draw, new Draw_default({
|
|
1082
|
+
source: __privateGet(this, _vectorSource),
|
|
1083
|
+
type: "LineString"
|
|
1084
|
+
}));
|
|
1085
|
+
if (__privateGet(this, _map)) {
|
|
1086
|
+
__privateGet(this, _map).addLayer(__privateGet(this, _vectorLayer));
|
|
1087
|
+
__privateGet(this, _map).addInteraction(__privateGet(this, _draw));
|
|
1088
|
+
__privateGet(this, _draw).on("drawend", (event) => {
|
|
1089
|
+
var _a;
|
|
1090
|
+
const line = event.feature.getGeometry();
|
|
1091
|
+
const coords = __privateMethod(this, _quantizeLineString, quantizeLineString_fn).call(this, line);
|
|
1092
|
+
const pointFeatures = coords.map(
|
|
1093
|
+
(coord) => new Feature_default({
|
|
1094
|
+
geometry: new Point_default(coord)
|
|
1095
|
+
})
|
|
1096
|
+
);
|
|
1097
|
+
(_a = __privateGet(this, _vectorSource)) == null ? void 0 : _a.addFeatures(pointFeatures);
|
|
1098
|
+
const rasterValues = coords.map(
|
|
1099
|
+
(coord) => __privateMethod(this, _getRasterValueAtCoordinate, getRasterValueAtCoordinate_fn).call(this, coord)
|
|
1100
|
+
);
|
|
1101
|
+
const xValues = coords.map((_, index) => index);
|
|
1102
|
+
const lonLatCoords = coords.map((coord) => {
|
|
1103
|
+
const [lon, lat] = toLonLat(coord);
|
|
1104
|
+
const val = __privateMethod(this, _getRasterValueAtCoordinate, getRasterValueAtCoordinate_fn).call(this, coord);
|
|
1105
|
+
const rastervalue = !isNaN(val) ? val.toExponential(4) : "N/A";
|
|
1106
|
+
return [
|
|
1107
|
+
parseFloat(lon.toFixed(2)),
|
|
1108
|
+
parseFloat(lat.toFixed(2)),
|
|
1109
|
+
rastervalue
|
|
1110
|
+
];
|
|
1111
|
+
});
|
|
1112
|
+
const hoverTexts = lonLatCoords.map((coord, idx) => {
|
|
1113
|
+
const x = idx;
|
|
1114
|
+
const value = coord[2];
|
|
1115
|
+
return `Index: ${x}<br>Value: ${value}<br>Coordinates: [${coord[0]}, ${coord[1]}]`;
|
|
1116
|
+
});
|
|
1117
|
+
this.plotData = [
|
|
1118
|
+
{
|
|
1119
|
+
x: xValues,
|
|
1120
|
+
y: rasterValues,
|
|
1121
|
+
text: hoverTexts,
|
|
1122
|
+
hoverinfo: "text",
|
|
1123
|
+
type: "scatter",
|
|
1124
|
+
mode: "lines+markers",
|
|
1125
|
+
line: { color: "blue" }
|
|
1126
|
+
}
|
|
1127
|
+
];
|
|
1128
|
+
this.layout = {
|
|
1129
|
+
title: "Data Profile",
|
|
1130
|
+
xaxis: {
|
|
1131
|
+
title: "Point Index"
|
|
1132
|
+
},
|
|
1133
|
+
yaxis: {
|
|
1134
|
+
title: `Cloud Coverage (${this.metadata["units"]})`,
|
|
1135
|
+
tickformat: ".2e"
|
|
1136
|
+
}
|
|
1137
|
+
};
|
|
1138
|
+
});
|
|
1139
|
+
}
|
|
1140
|
+
} else {
|
|
1141
|
+
__privateMethod(this, _cleanUpMap, cleanUpMap_fn).call(this);
|
|
1142
|
+
}
|
|
1143
|
+
};
|
|
1144
|
+
_isVariableNotFound = new WeakSet();
|
|
1145
|
+
isVariableNotFound_fn = function() {
|
|
1146
|
+
const variableTaskStatus = this._fetchVariableTask.status;
|
|
1147
|
+
if (variableTaskStatus !== s.COMPLETE) {
|
|
1148
|
+
return false;
|
|
1149
|
+
}
|
|
1150
|
+
const hasVariableRequest = Boolean(this.collection && this.variable);
|
|
1151
|
+
return hasVariableRequest && !this.catalogVariable;
|
|
1152
|
+
};
|
|
1153
|
+
_getErrorMessage = new WeakSet();
|
|
1154
|
+
getErrorMessage_fn = function(error) {
|
|
1155
|
+
return formatHarmonyErrorMessage(error);
|
|
1156
|
+
};
|
|
1157
|
+
TerraTimeAverageMap.styles = [component_styles_default, time_average_map_styles_default];
|
|
1158
|
+
TerraTimeAverageMap.dependencies = {
|
|
1159
|
+
"terra-button": TerraButton,
|
|
1160
|
+
"terra-icon": TerraIcon,
|
|
1161
|
+
"terra-plot-toolbar": TerraPlotToolbar,
|
|
1162
|
+
"terra-loader": TerraLoader,
|
|
1163
|
+
"terra-plot": TerraPlot,
|
|
1164
|
+
"terra-alert": TerraAlert
|
|
1165
|
+
};
|
|
1166
|
+
__decorateClass([
|
|
1167
|
+
n({ reflect: true })
|
|
1168
|
+
], TerraTimeAverageMap.prototype, "collection", 2);
|
|
1169
|
+
__decorateClass([
|
|
1170
|
+
n({ reflect: true })
|
|
1171
|
+
], TerraTimeAverageMap.prototype, "variable", 2);
|
|
1172
|
+
__decorateClass([
|
|
1173
|
+
n({ attribute: "start-date", reflect: true })
|
|
1174
|
+
], TerraTimeAverageMap.prototype, "startDate", 2);
|
|
1175
|
+
__decorateClass([
|
|
1176
|
+
n({ attribute: "end-date", reflect: true })
|
|
1177
|
+
], TerraTimeAverageMap.prototype, "endDate", 2);
|
|
1178
|
+
__decorateClass([
|
|
1179
|
+
n({ reflect: true })
|
|
1180
|
+
], TerraTimeAverageMap.prototype, "location", 2);
|
|
1181
|
+
__decorateClass([
|
|
1182
|
+
n({ attribute: "bearer-token", reflect: false })
|
|
1183
|
+
], TerraTimeAverageMap.prototype, "bearerToken", 2);
|
|
1184
|
+
__decorateClass([
|
|
1185
|
+
n({ type: String })
|
|
1186
|
+
], TerraTimeAverageMap.prototype, "long_name", 2);
|
|
1187
|
+
__decorateClass([
|
|
1188
|
+
n({ type: String, attribute: "color-map-name", reflect: true })
|
|
1189
|
+
], TerraTimeAverageMap.prototype, "colorMapName", 2);
|
|
1190
|
+
__decorateClass([
|
|
1191
|
+
n({ type: Number })
|
|
1192
|
+
], TerraTimeAverageMap.prototype, "opacity", 2);
|
|
1193
|
+
__decorateClass([
|
|
1194
|
+
n({ attribute: "application-id" })
|
|
1195
|
+
], TerraTimeAverageMap.prototype, "applicationId", 2);
|
|
1196
|
+
__decorateClass([
|
|
1197
|
+
n({ type: Boolean })
|
|
1198
|
+
], TerraTimeAverageMap.prototype, "cache", 2);
|
|
1199
|
+
__decorateClass([
|
|
1200
|
+
n({ attribute: "job-id" })
|
|
1201
|
+
], TerraTimeAverageMap.prototype, "jobId", 2);
|
|
1202
|
+
__decorateClass([
|
|
1203
|
+
n({ type: Boolean, attribute: "show-help" })
|
|
1204
|
+
], TerraTimeAverageMap.prototype, "showHelp", 2);
|
|
1205
|
+
__decorateClass([
|
|
1206
|
+
r()
|
|
1207
|
+
], TerraTimeAverageMap.prototype, "catalogVariable", 2);
|
|
1208
|
+
__decorateClass([
|
|
1209
|
+
r()
|
|
1210
|
+
], TerraTimeAverageMap.prototype, "pixelValue", 2);
|
|
1211
|
+
__decorateClass([
|
|
1212
|
+
r()
|
|
1213
|
+
], TerraTimeAverageMap.prototype, "pixelCoordinates", 2);
|
|
1214
|
+
__decorateClass([
|
|
1215
|
+
r()
|
|
1216
|
+
], TerraTimeAverageMap.prototype, "metadata", 2);
|
|
1217
|
+
__decorateClass([
|
|
1218
|
+
r()
|
|
1219
|
+
], TerraTimeAverageMap.prototype, "toggleState", 2);
|
|
1220
|
+
__decorateClass([
|
|
1221
|
+
r()
|
|
1222
|
+
], TerraTimeAverageMap.prototype, "minimized", 2);
|
|
1223
|
+
__decorateClass([
|
|
1224
|
+
r()
|
|
1225
|
+
], TerraTimeAverageMap.prototype, "noDataValue", 2);
|
|
1226
|
+
__decorateClass([
|
|
1227
|
+
r()
|
|
1228
|
+
], TerraTimeAverageMap.prototype, "min", 2);
|
|
1229
|
+
__decorateClass([
|
|
1230
|
+
r()
|
|
1231
|
+
], TerraTimeAverageMap.prototype, "max", 2);
|
|
1232
|
+
__decorateClass([
|
|
1233
|
+
r()
|
|
1234
|
+
], TerraTimeAverageMap.prototype, "legendValues", 2);
|
|
1235
|
+
__decorateClass([
|
|
1236
|
+
r()
|
|
1237
|
+
], TerraTimeAverageMap.prototype, "timeAverageMapError", 2);
|
|
1238
|
+
__decorateClass([
|
|
1239
|
+
r()
|
|
1240
|
+
], TerraTimeAverageMap.prototype, "colormaps", 2);
|
|
1241
|
+
__decorateClass([
|
|
1242
|
+
r()
|
|
1243
|
+
], TerraTimeAverageMap.prototype, "plotData", 2);
|
|
1244
|
+
__decorateClass([
|
|
1245
|
+
r()
|
|
1246
|
+
], TerraTimeAverageMap.prototype, "layout", 2);
|
|
1247
|
+
__decorateClass([
|
|
1248
|
+
r()
|
|
1249
|
+
], TerraTimeAverageMap.prototype, "harmonyJobId", 2);
|
|
1250
|
+
__decorateClass([
|
|
1251
|
+
watch(["startDate", "endDate", "location", "catalogVariable"])
|
|
1252
|
+
], TerraTimeAverageMap.prototype, "handlePropertyChange", 1);
|
|
1253
|
+
__decorateClass([
|
|
1254
|
+
watch(["colorMapName", "opacity"])
|
|
1255
|
+
], TerraTimeAverageMap.prototype, "handlePlotOptionsChange", 1);
|
|
1256
|
+
|
|
1257
|
+
export {
|
|
1258
|
+
TerraTimeAverageMap
|
|
1259
|
+
};
|