@nasa-terra/components 0.0.201 → 0.0.202
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/apis/harmony.api.d.ts +7 -0
- package/cdn/chunks/chunk.26WIFY7V.js +19 -0
- package/cdn/chunks/chunk.2GA4CWAO.js +19 -0
- package/cdn/chunks/chunk.2HOYW6MS.js +49 -0
- package/cdn/chunks/chunk.2MS5ABFB.js +19 -0
- package/cdn/chunks/chunk.2OMLOQMV.js +925 -0
- package/cdn/chunks/chunk.2PRHFH3T.js +19 -0
- package/cdn/chunks/chunk.2UHL5P6K.js +29 -0
- package/cdn/chunks/chunk.2VP477VG.js +19 -0
- package/cdn/chunks/chunk.33R27RVH.js +132 -0
- package/cdn/chunks/chunk.34BJZDYA.js +537 -0
- package/cdn/chunks/chunk.3AHQKBOX.js +29 -0
- package/cdn/chunks/chunk.3AZSMAQH.js +158 -0
- package/cdn/chunks/chunk.3G5XI66I.js +35 -0
- package/cdn/chunks/chunk.3KKU7VXW.js +19 -0
- package/cdn/chunks/chunk.3SQV2QZD.js +29 -0
- package/cdn/chunks/chunk.3YE4RI37.js +377 -0
- package/cdn/chunks/chunk.3ZKU6WYW.js +71 -0
- package/cdn/chunks/chunk.47AEJXKW.js +231 -0
- package/cdn/chunks/chunk.4USNEUUH.js +278 -0
- package/cdn/chunks/chunk.4UTDVHGR.js +37 -0
- package/cdn/chunks/chunk.4ZYLJ7D3.js +82 -0
- package/cdn/chunks/chunk.55OQIAKO.js +29 -0
- package/cdn/chunks/chunk.5ESGWJLA.js +106 -0
- package/cdn/chunks/chunk.5EX3Z4DK.js +19 -0
- package/cdn/chunks/chunk.5I7B4IIZ.js +592 -0
- package/cdn/chunks/chunk.5KPNIIGS.js +604 -0
- package/cdn/chunks/chunk.5MEL64GJ.js +19 -0
- package/cdn/chunks/chunk.5OZWDB5C.js +19 -0
- package/cdn/chunks/chunk.5XNHMOAV.js +136 -0
- package/cdn/chunks/chunk.6AQLHC6W.js +32 -0
- package/cdn/chunks/chunk.6IN6IQWI.js +230 -0
- package/cdn/chunks/chunk.6RSIQP5A.js +34 -0
- package/cdn/chunks/chunk.6ULJR6ZE.js +155 -0
- package/cdn/chunks/chunk.6XYGFWIA.js +19 -0
- package/cdn/chunks/chunk.7A4LM7IX.js +32 -0
- package/cdn/chunks/chunk.7F73VUIV.js +556 -0
- package/cdn/chunks/chunk.7HMHLQLZ.js +29 -0
- package/cdn/chunks/chunk.7XXQMVFX.js +104 -0
- package/cdn/chunks/chunk.A7O62RXN.js +29 -0
- package/cdn/chunks/chunk.AVPLP47V.js +190 -0
- package/cdn/chunks/chunk.BCMV5FPA.js +35 -0
- package/cdn/chunks/chunk.BFWPKDGX.js +277 -0
- package/cdn/chunks/chunk.BIR4JWJE.js +29 -0
- package/cdn/chunks/chunk.BJ7UKTWC.js +19 -0
- package/cdn/chunks/chunk.BJVIJ7BT.js +19 -0
- package/cdn/chunks/chunk.BUB7FPJ5.js +19 -0
- package/cdn/chunks/chunk.BVHMTI75.js +35 -0
- package/cdn/chunks/chunk.BYNNIM7J.js +310 -0
- package/cdn/chunks/chunk.BZFJ6XDH.js +38 -0
- package/cdn/chunks/chunk.CPKXJI47.js +19 -0
- package/cdn/chunks/chunk.CTYJ2G2V.js +56075 -0
- package/cdn/chunks/chunk.CVPDIZ7K.js +224 -0
- package/cdn/chunks/chunk.DEHKVV4T.js +303 -0
- package/cdn/chunks/chunk.DIVDM5FL.js +29 -0
- package/cdn/chunks/chunk.DKJIIJCV.js +33 -0
- package/cdn/chunks/chunk.DLCXOQQB.js +83 -0
- package/cdn/chunks/chunk.DNWADQ5W.js +2546 -0
- package/cdn/chunks/chunk.DNZMWTWS.js +29 -0
- package/cdn/chunks/chunk.DOEGMJOZ.js +904 -0
- package/cdn/chunks/chunk.DU5T3TJE.js +19 -0
- package/cdn/chunks/chunk.DX5Y5JD2.js +19 -0
- package/cdn/chunks/chunk.DZVQRJHX.js +298 -0
- package/cdn/chunks/chunk.E6YEHXRQ.js +538 -0
- package/cdn/chunks/chunk.ECYELSFF.js +19 -0
- package/cdn/chunks/chunk.EHANRIPJ.js +29 -0
- package/cdn/chunks/chunk.EM7J56W4.js +478 -0
- package/cdn/chunks/chunk.EV4WF34M.js +1018 -0
- package/cdn/chunks/chunk.EW6F2GQY.js +29 -0
- package/cdn/chunks/chunk.F3WCMGTZ.js +36 -0
- package/cdn/chunks/chunk.F5BJYKTF.js +19 -0
- package/cdn/chunks/chunk.FFR22MCX.js +19 -0
- package/cdn/chunks/chunk.FH3P6CF5.js +19 -0
- package/cdn/chunks/chunk.FJSK6GY3.js +29 -0
- package/cdn/chunks/chunk.FNBRNK7F.js +37 -0
- package/cdn/chunks/chunk.FPG5SQ2I.js +35 -0
- package/cdn/chunks/chunk.FVOVPQKA.js +60 -0
- package/cdn/chunks/chunk.FYKDZ4XF.js +19 -0
- package/cdn/chunks/chunk.G2RISDFV.js +29 -0
- package/cdn/chunks/chunk.G4A6CMDQ.js +65 -0
- package/cdn/chunks/chunk.G6K6BXYG.js +134 -0
- package/cdn/chunks/chunk.GAI2J6ZS.js +37 -0
- package/cdn/chunks/chunk.GG4KL7GW.js +29 -0
- package/cdn/chunks/chunk.GGLVZVB5.js +33 -0
- package/cdn/chunks/chunk.GLYBW7KG.js +138 -0
- package/cdn/chunks/chunk.GQQ3K6N5.js +29 -0
- package/cdn/chunks/chunk.GRJVGKG7.js +19 -0
- package/cdn/chunks/chunk.GYLCUVEW.js +32 -0
- package/cdn/chunks/chunk.HOSUC6BD.js +29 -0
- package/cdn/chunks/chunk.HSOOL4RW.js +266 -0
- package/cdn/chunks/chunk.I4LPZIIK.js +789 -0
- package/cdn/chunks/chunk.IFH52YEF.js +29 -0
- package/cdn/chunks/chunk.IQZTU2J4.js +19 -0
- package/cdn/chunks/chunk.IRINNT4H.js +19 -0
- package/cdn/chunks/chunk.IUEFLVQW.js +93 -0
- package/cdn/chunks/chunk.J3B2QGRM.js +92 -0
- package/cdn/chunks/chunk.J6KAYZPW.js +524 -0
- package/cdn/chunks/chunk.JAOHMVHU.js +33 -0
- package/cdn/chunks/chunk.JDYJT6FG.js +113 -0
- package/cdn/chunks/chunk.JGAX4GO7.js +19 -0
- package/cdn/chunks/chunk.JNGYHT6A.js +32 -0
- package/cdn/chunks/chunk.JSANBP7K.js +367 -0
- package/cdn/chunks/chunk.JVYWBJQZ.js +19 -0
- package/cdn/chunks/chunk.JXGYRXMB.js +364 -0
- package/cdn/chunks/chunk.JXHGDIHB.js +348 -0
- package/cdn/chunks/chunk.JXK3FZE4.js +19 -0
- package/cdn/chunks/chunk.K5AO7XP2.js +151 -0
- package/cdn/chunks/chunk.KACXPSGJ.js +631 -0
- package/cdn/chunks/chunk.KFKCR6QA.js +168 -0
- package/cdn/chunks/chunk.KLFMBNVE.js +19 -0
- package/cdn/chunks/chunk.KPYXFXJQ.js +29 -0
- package/cdn/chunks/chunk.KQYGVB55.js +41 -0
- package/cdn/chunks/chunk.KVUF6LF4.js +47 -0
- package/cdn/chunks/chunk.KW56O2IH.js +19 -0
- package/cdn/chunks/chunk.KW65NRUO.js +357 -0
- package/cdn/chunks/chunk.L4XZB6ZY.js +19 -0
- package/cdn/chunks/chunk.L6EUQYXA.js +74 -0
- package/cdn/chunks/chunk.L6GXBCP7.js +19 -0
- package/cdn/chunks/chunk.LEIC7FZG.js +1697 -0
- package/cdn/chunks/chunk.LEV3NGRX.js +123 -0
- package/cdn/chunks/chunk.LFXWUWSU.js +32 -0
- package/cdn/chunks/chunk.LJ7VHJSX.js +39 -0
- package/cdn/chunks/chunk.LJPWAEWA.js +32 -0
- package/cdn/chunks/chunk.LL62QDQM.js +32 -0
- package/cdn/chunks/chunk.LNSFXPSI.js +19 -0
- package/cdn/chunks/chunk.LSIA3HEA.js +36 -0
- package/cdn/chunks/chunk.LWTBWDXM.js +978 -0
- package/cdn/chunks/chunk.MCHI55B3.js +32 -0
- package/cdn/chunks/chunk.MCVMPMS7.js +19 -0
- package/cdn/chunks/chunk.MHCN3GKD.js +29 -0
- package/cdn/chunks/chunk.MKNOJ7CM.js +62 -0
- package/cdn/chunks/chunk.MZ5FELAW.js +36 -0
- package/cdn/chunks/chunk.N5OWLRQR.js +32 -0
- package/cdn/chunks/chunk.N7A5RE4M.js +610 -0
- package/cdn/chunks/chunk.N7BFGJYR.js +19 -0
- package/cdn/chunks/chunk.NK547YK2.js +37 -0
- package/cdn/chunks/chunk.NKA5YELN.js +19 -0
- package/cdn/chunks/chunk.NKKB3FX7.js +32 -0
- package/cdn/chunks/chunk.NMJFHBS5.js +417 -0
- package/cdn/chunks/chunk.NUFNV5DK.js +188 -0
- package/cdn/chunks/chunk.NUFZV7LP.js +33 -0
- package/cdn/chunks/chunk.NWYFMEJU.js +196 -0
- package/cdn/chunks/chunk.NY7IV7XN.js +29 -0
- package/cdn/chunks/chunk.NZE5IKJW.js +195 -0
- package/cdn/chunks/chunk.O2NDUKFH.js +29 -0
- package/cdn/chunks/chunk.OD2DZWMX.js +2911 -0
- package/cdn/chunks/chunk.OKFWUYLX.js +29 -0
- package/cdn/chunks/chunk.OT4YPSAD.js +19 -0
- package/cdn/chunks/chunk.OXCDRW3M.js +19 -0
- package/cdn/chunks/chunk.P5BFYTDM.js +234 -0
- package/cdn/chunks/chunk.P6ZFLSLA.js +1197 -0
- package/cdn/chunks/chunk.PB3Y6MQO.js +19 -0
- package/cdn/chunks/chunk.PKQP2MA2.js +60 -0
- package/cdn/chunks/chunk.PS562SMS.js +19 -0
- package/cdn/chunks/chunk.QKNOTJCL.js +32 -0
- package/cdn/chunks/chunk.QM6JTIZV.js +19 -0
- package/cdn/chunks/chunk.QU7NYKM3.js +129 -0
- package/cdn/chunks/chunk.QUUHCJTG.js +19 -0
- package/cdn/chunks/chunk.RONK5ODL.js +19 -0
- package/cdn/chunks/chunk.RTC75E45.js +86 -0
- package/cdn/chunks/chunk.RZ4HFXEJ.js +672 -0
- package/cdn/chunks/chunk.SI7ZBJ26.js +32 -0
- package/cdn/chunks/chunk.SK2V5P52.js +33 -0
- package/cdn/chunks/chunk.SMSLR2AT.js +19 -0
- package/cdn/chunks/chunk.SNK5SHN5.js +162 -0
- package/cdn/chunks/chunk.SQ7L6KKX.js +19 -0
- package/cdn/chunks/chunk.SWK2BPWD.js +110 -0
- package/cdn/chunks/chunk.TUCSU6CG.js +293 -0
- package/cdn/chunks/chunk.TXB5M54T.js +29 -0
- package/cdn/chunks/chunk.TZEIENKR.js +19 -0
- package/cdn/chunks/chunk.U3GLETYN.js +32 -0
- package/cdn/chunks/chunk.U6OGFCQE.js +19 -0
- package/cdn/chunks/chunk.UCLX6LR3.js +29 -0
- package/cdn/chunks/chunk.UE5XH2VP.js +29 -0
- package/cdn/chunks/chunk.UFDANYS3.js +259 -0
- package/cdn/chunks/chunk.UJ2RMY3E.js +35 -0
- package/cdn/chunks/chunk.UMWYLPSI.js +19 -0
- package/cdn/chunks/chunk.UQVJF6VD.js +19 -0
- package/cdn/chunks/chunk.UUTUP2GS.js +56 -0
- package/cdn/chunks/chunk.UVJ7UDD7.js +29 -0
- package/cdn/chunks/chunk.V4T6KDXQ.js +36 -0
- package/cdn/chunks/chunk.VFNOOS3R.js +19 -0
- package/cdn/chunks/chunk.VKPVDKVG.js +30 -0
- package/cdn/chunks/chunk.VT7CU5GG.js +29 -0
- package/cdn/chunks/chunk.VUXNHYPK.js +19 -0
- package/cdn/chunks/chunk.VV7XEX5X.js +29 -0
- package/cdn/chunks/chunk.VZBWM3DN.js +4735 -0
- package/cdn/chunks/chunk.W3R3ZNBA.js +276 -0
- package/cdn/chunks/chunk.W5SOJEYN.js +543 -0
- package/cdn/chunks/chunk.WIJP5EMP.js +19 -0
- package/cdn/chunks/chunk.WRRUKGNP.js +19 -0
- package/cdn/chunks/chunk.WUEOPDUB.js +19 -0
- package/cdn/chunks/chunk.WWNFEPX7.js +1975 -0
- package/cdn/chunks/chunk.WZO7QXTZ.js +19 -0
- package/cdn/chunks/chunk.X33YQMXQ.js +117 -0
- package/cdn/chunks/chunk.XF5YT4NV.js +363 -0
- package/cdn/chunks/chunk.XHQZAOGE.js +32 -0
- package/cdn/chunks/chunk.XJKX5QJ7.js +19 -0
- package/cdn/chunks/chunk.XLY7H4ZC.js +19 -0
- package/cdn/chunks/chunk.XSNLMGTR.js +29 -0
- package/cdn/chunks/chunk.XT5DOVMF.js +443 -0
- package/cdn/chunks/chunk.XVM2NRZZ.js +19 -0
- package/cdn/chunks/chunk.XXQNALY7.js +29 -0
- package/cdn/chunks/chunk.Y4GV74E5.js +121 -0
- package/cdn/chunks/chunk.YAXJK6UB.js +19 -0
- package/cdn/chunks/chunk.YIX4KI4Q.js +19 -0
- package/cdn/chunks/chunk.YMFQOE6M.js +36 -0
- package/cdn/chunks/chunk.YOR3HFUL.js +34 -0
- package/cdn/chunks/chunk.YPCSP3D3.js +19 -0
- package/cdn/chunks/chunk.YZHPA7ZJ.js +624 -0
- package/cdn/chunks/chunk.Z45IXDIV.js +540 -0
- package/cdn/chunks/chunk.ZAHCQGUA.js +19 -0
- package/cdn/chunks/chunk.ZENSAK4S.js +68 -0
- package/cdn/chunks/chunk.ZFNIC34O.js +19 -0
- package/cdn/chunks/chunk.ZFYQAHEP.js +19 -0
- package/cdn/chunks/chunk.ZIKKX7BH.js +437 -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.d.ts +15 -0
- package/cdn/components/browse-variables/browse-variables.component.js +16 -12
- package/cdn/components/browse-variables/browse-variables.js +17 -13
- package/cdn/components/browse-variables/browse-variables.styles.js +1 -1
- package/cdn/components/button/button.component.js +4 -4
- package/cdn/components/button/button.js +5 -5
- 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 +36 -36
- package/cdn/components/data-access/data-access.js +37 -37
- 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.js +43 -43
- package/cdn/components/data-rods/data-rods.js +44 -44
- package/cdn/components/data-subsetter/data-subsetter.component.d.ts +3 -0
- package/cdn/components/data-subsetter/data-subsetter.component.js +47 -47
- package/cdn/components/data-subsetter/data-subsetter.js +48 -48
- package/cdn/components/data-subsetter/data-subsetter.styles.js +1 -1
- package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
- package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +48 -48
- package/cdn/components/data-subsetter-history/data-subsetter-history.js +49 -49
- package/cdn/components/date-picker/date-picker.component.js +9 -9
- package/cdn/components/date-picker/date-picker.js +10 -10
- package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
- package/cdn/components/date-range-slider/date-range-slider.js +3 -3
- package/cdn/components/dialog/dialog.component.js +5 -5
- package/cdn/components/dialog/dialog.js +6 -6
- 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 +11 -11
- package/cdn/components/earthdata-login/earthdata-login.js +12 -12
- package/cdn/components/file-upload/file-upload.component.d.ts +1 -0
- package/cdn/components/file-upload/file-upload.component.js +2 -2
- package/cdn/components/file-upload/file-upload.js +3 -3
- package/cdn/components/harmony-history/harmony-history.component.js +10 -10
- package/cdn/components/harmony-history/harmony-history.js +11 -11
- 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 +9 -9
- package/cdn/components/login/login.js +10 -10
- package/cdn/components/map/controls/draw-toolbar.control.js +3 -3
- package/cdn/components/map/layers/borders.layer.js +2 -2
- package/cdn/components/map/layers/labels.layer.js +2 -2
- package/cdn/components/map/map.component.js +11 -11
- package/cdn/components/map/map.js +12 -12
- package/cdn/components/map/map.service.js +8 -8
- package/cdn/components/map/models/LatLng.d.ts +6 -0
- package/cdn/components/map/models/LatLng.js +1 -1
- package/cdn/components/map/models/LatLngBounds.d.ts +5 -0
- package/cdn/components/map/models/LatLngBounds.js +2 -2
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +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 +19 -19
- package/cdn/components/plot-toolbar/plot-toolbar.js +20 -20
- 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 +19 -19
- package/cdn/components/spatial-picker/spatial-picker.js +20 -20
- package/cdn/components/spatial-picker/spatial-picker.service.js +3 -3
- package/cdn/components/status-indicator/status-indicator.component.js +2 -2
- package/cdn/components/status-indicator/status-indicator.js +3 -3
- package/cdn/components/stepper/stepper.component.d.ts +8 -0
- package/cdn/components/stepper/stepper.component.js +3 -3
- package/cdn/components/stepper/stepper.js +4 -4
- package/cdn/components/stepper/stepper.styles.js +1 -1
- package/cdn/components/stepper-step/stepper-step.component.d.ts +6 -0
- package/cdn/components/stepper-step/stepper-step.component.js +4 -4
- package/cdn/components/stepper-step/stepper-step.js +5 -5
- package/cdn/components/stepper-step/stepper-step.styles.js +1 -1
- 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 +28 -28
- package/cdn/components/time-average-map/time-average-map.controller.js +7 -7
- package/cdn/components/time-average-map/time-average-map.js +29 -29
- package/cdn/components/time-series/time-series.component.js +28 -28
- package/cdn/components/time-series/time-series.controller.js +7 -7
- package/cdn/components/time-series/time-series.js +29 -29
- 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 +10 -10
- package/cdn/components/variable-combobox/variable-combobox.js +11 -11
- package/cdn/components/variable-combobox/variable-combobox.styles.js +1 -1
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +7 -7
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +8 -8
- package/cdn/controllers/harmony-request.controller.d.ts +2 -1
- package/cdn/custom-elements.json +9195 -8991
- package/cdn/lib/harmony/harmony.request.d.ts +11 -1
- package/cdn/queries/harmony.queries.d.ts +14 -0
- package/cdn/react/accordion/index.js +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.d.ts +2 -0
- package/cdn/react/browse-variables/index.js +17 -13
- package/cdn/react/button/index.js +5 -5
- 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 +37 -37
- package/cdn/react/data-grid/index.js +4 -4
- package/cdn/react/data-rods/index.js +44 -44
- package/cdn/react/data-subsetter/index.js +48 -48
- package/cdn/react/data-subsetter-history/index.js +49 -49
- package/cdn/react/date-picker/index.js +10 -10
- package/cdn/react/date-range-slider/index.js +3 -3
- package/cdn/react/dialog/index.js +6 -6
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/dropdown/index.js +4 -4
- package/cdn/react/earthdata-login/index.js +12 -12
- package/cdn/react/file-upload/index.js +3 -3
- package/cdn/react/harmony-history/index.js +11 -11
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/index.d.ts +30 -30
- package/cdn/react/index.js +215 -215
- package/cdn/react/input/index.js +4 -4
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +10 -10
- package/cdn/react/map/index.js +12 -12
- 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 +20 -20
- 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 +20 -20
- package/cdn/react/status-indicator/index.js +3 -3
- package/cdn/react/stepper/index.js +4 -4
- package/cdn/react/stepper-step/index.js +5 -5
- 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 +29 -29
- package/cdn/react/time-series/index.js +29 -29
- 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 +11 -11
- package/cdn/react/variable-keyword-search/index.js +8 -8
- package/cdn/terra-ui-components.js +194 -194
- package/cdn/themes/horizon.css +1 -1
- package/cdn/themes/horizon.styles.js +1 -1
- package/cdn/types/vue/index.d.ts +993 -983
- package/cdn/vscode.html-custom-data.json +821 -820
- package/cdn/web-types.json +2388 -2364
- package/dist/apis/harmony.api.d.ts +7 -0
- package/dist/chunks/chunk.224RQGIQ.js +1 -0
- package/dist/chunks/chunk.23AJO5JN.js +1 -0
- package/dist/chunks/chunk.255AACF5.js +1 -0
- package/dist/chunks/chunk.2JIESSDW.js +1 -0
- package/dist/chunks/chunk.2JSRPRFD.js +1 -0
- package/dist/chunks/chunk.2WX6SQIN.js +1 -0
- package/dist/chunks/chunk.32QRSPS4.js +1 -0
- package/dist/chunks/chunk.3473E453.js +25 -0
- package/dist/chunks/chunk.3G5RMVYE.js +1 -0
- package/dist/chunks/chunk.3OLVJCSH.js +11 -0
- package/dist/chunks/chunk.3V5SLRI5.js +100 -0
- package/dist/chunks/chunk.3XRCUOUJ.js +5 -0
- package/dist/chunks/chunk.4233YNTB.js +16 -0
- package/dist/chunks/chunk.46TLZFOW.js +1 -0
- package/dist/chunks/chunk.4GXEPG2P.js +1 -0
- package/dist/chunks/chunk.4PNNISNN.js +12 -0
- package/dist/chunks/chunk.4QXBDSLM.js +1 -0
- package/dist/chunks/chunk.4SEOBTSU.js +1 -0
- package/dist/chunks/chunk.4TPII7LG.js +1 -0
- package/dist/chunks/chunk.4WQ7VATR.js +1 -0
- package/dist/chunks/chunk.5K3WI2JJ.js +1 -0
- package/dist/chunks/chunk.5L32MMBB.js +1 -0
- package/dist/chunks/chunk.5MQKZTT2.js +1 -0
- package/dist/chunks/chunk.5P7CYUKX.js +1 -0
- package/dist/chunks/chunk.5RAKMWTT.js +1 -0
- package/dist/chunks/chunk.65Q3F3LJ.js +1 -0
- package/dist/chunks/chunk.6UGTTIL7.js +22 -0
- package/dist/chunks/chunk.74H67OO2.js +1 -0
- package/dist/chunks/chunk.75FLVY74.js +1 -0
- package/dist/chunks/chunk.77RIUMEQ.js +1 -0
- package/dist/chunks/chunk.7EG5USIU.js +17 -0
- package/dist/chunks/chunk.7IPNSQO2.js +1 -0
- package/dist/chunks/chunk.7JR6HYAR.js +1 -0
- package/dist/chunks/chunk.7KS523XQ.js +1 -0
- package/dist/chunks/chunk.7NHLPVYX.js +1 -0
- package/dist/chunks/chunk.7OHXT3IB.js +125 -0
- package/dist/chunks/chunk.7S5GHPMV.js +1 -0
- package/dist/chunks/chunk.A3HVUSWF.js +2 -0
- package/dist/chunks/chunk.ALBESADY.js +9 -0
- package/dist/chunks/chunk.AMTFHH3Q.js +1 -0
- package/dist/chunks/chunk.AQ5MV2PT.js +1 -0
- package/dist/chunks/chunk.ATKXVJOW.js +1 -0
- package/dist/chunks/chunk.B3MAWEN3.js +1 -0
- package/dist/chunks/chunk.B4E5VH3P.js +1 -0
- package/dist/chunks/chunk.B64IWXB6.js +1 -0
- package/dist/chunks/chunk.B6W7HFEB.js +1 -0
- package/dist/chunks/chunk.B7BKAZPP.js +1 -0
- package/dist/chunks/chunk.BBSZLWRW.js +1 -0
- package/dist/chunks/chunk.BFQBOANQ.js +1 -0
- package/dist/chunks/chunk.BJUETMM7.js +1 -0
- package/dist/chunks/chunk.BKTDTLSZ.js +356 -0
- package/dist/chunks/chunk.BLSN7TN3.js +1 -0
- package/dist/chunks/chunk.BM4VCIE3.js +1 -0
- package/dist/chunks/chunk.C5I3XGMY.js +64 -0
- package/dist/chunks/chunk.CK3QZMBE.js +20 -0
- package/dist/chunks/chunk.CM5PJDTJ.js +1 -0
- package/dist/chunks/chunk.CPE2JWFP.js +1 -0
- package/dist/chunks/chunk.CSI5FZUQ.js +1 -0
- package/dist/chunks/chunk.CWCJ7NPX.js +39 -0
- package/dist/chunks/chunk.D2BO7SXC.js +572 -0
- package/dist/chunks/chunk.D7CTZNLO.js +1 -0
- package/dist/chunks/chunk.DASVSHE2.js +122 -0
- package/dist/chunks/chunk.DBYNAZJ5.js +1 -0
- package/dist/chunks/chunk.DDLNROG2.js +1 -0
- package/dist/chunks/chunk.DQRYUPZU.js +1 -0
- package/dist/chunks/chunk.DX7K7LQL.js +1 -0
- package/dist/chunks/chunk.E322JSYC.js +1 -0
- package/dist/chunks/chunk.E3IZSCAQ.js +1 -0
- package/dist/chunks/chunk.E4TPOBZZ.js +26 -0
- package/dist/chunks/chunk.E5ZOHYTS.js +13 -0
- package/dist/chunks/chunk.EDO3KNNV.js +1 -0
- package/dist/chunks/chunk.EENXQ7FB.js +39 -0
- package/dist/chunks/chunk.EKBFKFVE.js +1 -0
- package/dist/chunks/chunk.EKPDUNBI.js +1 -0
- package/dist/chunks/chunk.ES3HNM2X.js +1 -0
- package/dist/chunks/chunk.EVHJJHLC.js +5 -0
- package/dist/chunks/chunk.EXCWGDK5.js +1 -0
- package/dist/chunks/chunk.F323KAPC.js +1 -0
- package/dist/chunks/chunk.F726CW4Q.js +1 -0
- package/dist/chunks/chunk.F76PQOT5.js +1 -0
- package/dist/chunks/chunk.FAWWXCJS.js +1 -0
- package/dist/chunks/chunk.FL7S7XOW.js +1 -0
- package/dist/chunks/chunk.FLRYZC3Y.js +1 -0
- package/dist/chunks/chunk.FMHRQDVQ.js +1 -0
- package/dist/chunks/chunk.FPOJCR2I.js +1 -0
- package/dist/chunks/chunk.G32X765Q.js +1 -0
- package/dist/chunks/chunk.G7C3NVYN.js +1 -0
- package/dist/chunks/chunk.GACVGPS5.js +1 -0
- package/dist/chunks/chunk.GFSY3DK7.js +1 -0
- package/dist/chunks/chunk.GJXW4PLR.js +43 -0
- package/dist/chunks/chunk.GMPJDMFO.js +1 -0
- package/dist/chunks/chunk.GZFHZRBN.js +19 -0
- package/dist/chunks/chunk.HE72A6CI.js +1 -0
- package/dist/chunks/chunk.HFUDHMSV.js +121 -0
- package/dist/chunks/chunk.HKUZZUCQ.js +157 -0
- package/dist/chunks/chunk.HLRVGPJI.js +1 -0
- package/dist/chunks/chunk.HM3GGGSZ.js +80 -0
- package/dist/chunks/chunk.HMJSVFLA.js +2 -0
- package/dist/chunks/chunk.HSPY2KHW.js +1 -0
- package/dist/chunks/chunk.HSU3GORK.js +1 -0
- package/dist/chunks/chunk.HZJALTAY.js +47 -0
- package/dist/chunks/chunk.I76ZGR5O.js +1 -0
- package/dist/chunks/chunk.IHH5IUXO.js +145 -0
- package/dist/chunks/chunk.II3GLGL3.js +1 -0
- package/dist/chunks/chunk.IIJNFZVF.js +35 -0
- package/dist/chunks/chunk.IV5N3NC3.js +1 -0
- package/dist/chunks/chunk.J6WCYCRH.js +1 -0
- package/dist/chunks/chunk.JF4PHYCT.js +1 -0
- package/dist/chunks/chunk.JHTKTEXH.js +1 -0
- package/dist/chunks/chunk.JHU4BG26.js +113 -0
- package/dist/chunks/chunk.JHZGV3DO.js +1 -0
- package/dist/chunks/chunk.JRRXWQNN.js +30 -0
- package/dist/chunks/chunk.JU3GZHPF.js +1 -0
- package/dist/chunks/chunk.JVZDQGJM.js +1 -0
- package/dist/chunks/chunk.K45NIOAW.js +37 -0
- package/dist/chunks/chunk.KC7KA2T7.js +55 -0
- package/dist/chunks/chunk.KCUVHJLC.js +1 -0
- package/dist/chunks/chunk.KEOX3HYL.js +6 -0
- package/dist/chunks/chunk.KOKSE6TG.js +1 -0
- package/dist/chunks/chunk.KTO4CWMX.js +1 -0
- package/dist/chunks/chunk.LVJYASQH.js +41 -0
- package/dist/chunks/chunk.M2V3P4RJ.js +35 -0
- package/dist/chunks/chunk.M3R3ADJT.js +1 -0
- package/dist/chunks/chunk.MD3WWSWH.js +1 -0
- package/dist/chunks/chunk.MGAR4A2C.js +1 -0
- package/dist/chunks/chunk.MHOPPG2L.js +27 -0
- package/dist/chunks/chunk.MHRETNDL.js +1 -0
- package/dist/chunks/chunk.MP2PA6I2.js +1 -0
- package/dist/chunks/chunk.MSTQMCZU.js +1 -0
- package/dist/chunks/chunk.MVZAQH35.js +1 -0
- package/dist/chunks/chunk.N6Y6OHJ2.js +1 -0
- package/dist/chunks/chunk.NEIV46YH.js +6 -0
- package/dist/chunks/chunk.NIKXQX3G.js +1 -0
- package/dist/chunks/chunk.NN26JW46.js +1 -0
- package/dist/chunks/chunk.NPVMA3OB.js +1 -0
- package/dist/chunks/chunk.OFQCUCKL.js +1 -0
- package/dist/chunks/chunk.OO3D3KYA.js +1 -0
- package/dist/chunks/chunk.OREQUNFN.js +1 -0
- package/dist/chunks/chunk.ORWDKUUV.js +1 -0
- package/dist/chunks/chunk.OSDEVN34.js +1001 -0
- package/dist/chunks/chunk.PLRFVB2T.js +523 -0
- package/dist/chunks/chunk.PMHKDAX4.js +14 -0
- package/dist/chunks/chunk.PMJBCFBC.js +4 -0
- package/dist/chunks/chunk.PPO2L3BE.js +24 -0
- package/dist/chunks/chunk.PQC63KGW.js +1 -0
- package/dist/chunks/chunk.PX6KXK37.js +112 -0
- package/dist/chunks/chunk.Q4V6CU45.js +1 -0
- package/dist/chunks/chunk.QD4WEVFW.js +1 -0
- package/dist/chunks/chunk.QFRJ47QK.js +1 -0
- package/dist/chunks/chunk.QGUTUAAS.js +55 -0
- package/dist/chunks/chunk.QVACFQ6X.js +1 -0
- package/dist/chunks/chunk.RAGUMQ4A.js +55 -0
- package/dist/chunks/chunk.RDSM7QJJ.js +1 -0
- package/dist/chunks/chunk.RJDX64F6.js +1 -0
- package/dist/chunks/chunk.RNK2SP3V.js +300 -0
- package/dist/chunks/chunk.RONKZSI5.js +1 -0
- package/dist/chunks/chunk.RQ3QRNRD.js +1 -0
- package/dist/chunks/chunk.RQHOJJUK.js +41 -0
- package/dist/chunks/chunk.RZC34L3A.js +26 -0
- package/dist/chunks/chunk.S5NWLDV6.js +1 -0
- package/dist/chunks/chunk.S6DL72MM.js +30 -0
- package/dist/chunks/chunk.S7X6AHZ3.js +11 -0
- package/dist/chunks/chunk.SUB7TSSV.js +1 -0
- package/dist/chunks/chunk.SWS3QDB5.js +8 -0
- package/dist/chunks/chunk.T37ISYQF.js +9 -0
- package/dist/chunks/chunk.TCE5GLO5.js +176 -0
- package/dist/chunks/chunk.TFQQDQPV.js +280 -0
- package/dist/chunks/chunk.TFVCIEQV.js +1 -0
- package/dist/chunks/chunk.TLCZPOGI.js +48 -0
- package/dist/chunks/chunk.TTHCQTJ5.js +1 -0
- package/dist/chunks/chunk.TWJJEPQI.js +1 -0
- package/dist/chunks/chunk.TXJOFCEB.js +20 -0
- package/dist/chunks/chunk.TYNOXO54.js +1 -0
- package/dist/chunks/chunk.TZ7VJYIG.js +1 -0
- package/dist/chunks/chunk.U423CTVK.js +1 -0
- package/dist/chunks/chunk.UDYMR57E.js +1 -0
- package/dist/chunks/chunk.UGALPERB.js +43 -0
- package/dist/chunks/chunk.UIR62OUZ.js +62 -0
- package/dist/chunks/chunk.UMFR3QZQ.js +1 -0
- package/dist/chunks/chunk.UWDWRAHZ.js +65 -0
- package/dist/chunks/chunk.V7NXYMPF.js +1 -0
- package/dist/chunks/chunk.VAMOIXWY.js +1 -0
- package/dist/chunks/chunk.VHVKDUXK.js +154 -0
- package/dist/chunks/chunk.VJ3TYI65.js +61 -0
- package/dist/chunks/chunk.VJ4PWETP.js +1 -0
- package/dist/chunks/chunk.VWWZFJJ3.js +1 -0
- package/dist/chunks/chunk.VYTCCGU7.js +74 -0
- package/dist/chunks/chunk.W2GWFBVH.js +1 -0
- package/dist/chunks/chunk.WFO7B4CB.js +1 -0
- package/dist/chunks/chunk.WKMUXXFT.js +1 -0
- package/dist/chunks/chunk.WO2UTEZC.js +4 -0
- package/dist/chunks/chunk.WT7V4Q75.js +67 -0
- package/dist/chunks/chunk.X4CA6KJW.js +1237 -0
- package/dist/chunks/chunk.XCGCQBTO.js +75 -0
- package/dist/chunks/chunk.XEXMENPB.js +780 -0
- package/dist/chunks/chunk.XLWUUG42.js +1 -0
- package/dist/chunks/chunk.XVIMCVSP.js +1 -0
- package/dist/chunks/chunk.XYM23MGW.js +1 -0
- package/dist/chunks/chunk.Y3ORBJE7.js +99 -0
- package/dist/chunks/chunk.Y4XLYB7I.js +33 -0
- package/dist/chunks/chunk.YP2AC3MD.js +1 -0
- package/dist/chunks/chunk.YXOAWWRW.js +350 -0
- package/dist/chunks/chunk.ZC3HYGTS.js +1 -0
- package/dist/chunks/chunk.ZCSONYDN.js +1 -0
- package/dist/chunks/chunk.ZDT2WOI7.js +23 -0
- package/dist/chunks/chunk.ZFNXPSQV.js +1 -0
- package/dist/chunks/chunk.ZGEMTZQ4.js +1 -0
- package/dist/chunks/chunk.ZJ4RZQYD.js +1 -0
- package/dist/chunks/chunk.ZJANM2QG.js +1 -0
- package/dist/chunks/chunk.ZN4K6E24.js +1 -0
- package/dist/chunks/chunk.ZRMNGS5U.js +1 -0
- package/dist/chunks/chunk.ZWWZUICO.js +1 -0
- package/dist/chunks/chunk.ZYGLUFVQ.js +148 -0
- package/dist/components/accordion/accordion.component.js +1 -1
- package/dist/components/accordion/accordion.js +1 -1
- package/dist/components/alert/alert.component.js +1 -1
- package/dist/components/alert/alert.js +1 -1
- package/dist/components/avatar/avatar.component.js +1 -1
- package/dist/components/avatar/avatar.js +1 -1
- package/dist/components/badge/badge.component.js +1 -1
- package/dist/components/badge/badge.js +1 -1
- package/dist/components/banner/banner.component.js +1 -1
- package/dist/components/banner/banner.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.component.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.component.js +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.js +1 -1
- package/dist/components/browse-variables/browse-variables.component.d.ts +15 -0
- package/dist/components/browse-variables/browse-variables.component.js +1 -1
- package/dist/components/browse-variables/browse-variables.js +1 -1
- package/dist/components/browse-variables/browse-variables.styles.js +1 -1
- package/dist/components/button/button.component.js +1 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/button-group/button-group.component.js +1 -1
- package/dist/components/button-group/button-group.js +1 -1
- package/dist/components/caption/caption.component.js +1 -1
- package/dist/components/caption/caption.js +1 -1
- package/dist/components/card/card.component.js +1 -1
- package/dist/components/card/card.js +1 -1
- package/dist/components/checkbox/checkbox.component.js +1 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/chip/chip.component.js +1 -1
- package/dist/components/chip/chip.js +1 -1
- package/dist/components/combobox/combobox.component.js +1 -1
- package/dist/components/combobox/combobox.js +1 -1
- package/dist/components/data-access/data-access.component.js +1 -1
- package/dist/components/data-access/data-access.js +1 -1
- package/dist/components/data-grid/data-grid.component.js +1 -1
- package/dist/components/data-grid/data-grid.js +1 -1
- package/dist/components/data-rods/data-rods.component.js +1 -1
- package/dist/components/data-rods/data-rods.js +1 -1
- package/dist/components/data-subsetter/data-subsetter.component.d.ts +3 -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/data-subsetter.styles.js +1 -1
- package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
- package/dist/components/data-subsetter-history/data-subsetter-history.component.js +1 -1
- package/dist/components/data-subsetter-history/data-subsetter-history.js +1 -1
- package/dist/components/date-picker/date-picker.component.js +1 -1
- package/dist/components/date-picker/date-picker.js +1 -1
- package/dist/components/date-range-slider/date-range-slider.component.js +1 -1
- package/dist/components/date-range-slider/date-range-slider.js +1 -1
- package/dist/components/dialog/dialog.component.js +1 -1
- package/dist/components/dialog/dialog.js +1 -1
- package/dist/components/divider/divider.component.js +1 -1
- package/dist/components/divider/divider.js +1 -1
- package/dist/components/dropdown/dropdown.component.js +1 -1
- package/dist/components/dropdown/dropdown.js +1 -1
- package/dist/components/earthdata-login/earthdata-login.component.js +1 -1
- package/dist/components/earthdata-login/earthdata-login.js +1 -1
- package/dist/components/file-upload/file-upload.component.d.ts +1 -0
- package/dist/components/file-upload/file-upload.component.js +1 -1
- package/dist/components/file-upload/file-upload.js +1 -1
- package/dist/components/harmony-history/harmony-history.component.js +1 -1
- package/dist/components/harmony-history/harmony-history.js +1 -1
- package/dist/components/icon/icon.component.js +1 -1
- package/dist/components/icon/icon.js +1 -1
- package/dist/components/input/input.component.js +1 -1
- package/dist/components/input/input.js +1 -1
- package/dist/components/loader/loader.component.js +1 -1
- package/dist/components/loader/loader.js +1 -1
- package/dist/components/login/login.component.js +1 -1
- package/dist/components/login/login.js +1 -1
- package/dist/components/map/controls/draw-toolbar.control.js +1 -1
- package/dist/components/map/map.component.js +1 -1
- package/dist/components/map/map.js +1 -1
- package/dist/components/map/map.service.js +1 -1
- package/dist/components/map/models/LatLng.d.ts +6 -0
- package/dist/components/map/models/LatLng.js +1 -1
- package/dist/components/map/models/LatLngBounds.d.ts +5 -0
- package/dist/components/map/models/LatLngBounds.js +1 -1
- package/dist/components/menu/menu.component.js +1 -1
- package/dist/components/menu/menu.js +1 -1
- package/dist/components/menu-item/menu-item.component.js +1 -1
- package/dist/components/menu-item/menu-item.js +1 -1
- package/dist/components/option/option.component.js +1 -1
- package/dist/components/option/option.js +1 -1
- package/dist/components/pagination/pagination.component.js +1 -1
- package/dist/components/pagination/pagination.js +1 -1
- package/dist/components/plot/plot.component.js +1 -1
- package/dist/components/plot/plot.js +1 -1
- package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
- package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
- package/dist/components/plot-toolbar/plot-toolbar.component.js +1 -1
- package/dist/components/plot-toolbar/plot-toolbar.js +1 -1
- package/dist/components/popup/popup.component.js +1 -1
- package/dist/components/popup/popup.js +1 -1
- package/dist/components/progress-bar/progress-bar.component.js +1 -1
- package/dist/components/progress-bar/progress-bar.js +1 -1
- package/dist/components/radio/radio.component.js +1 -1
- package/dist/components/radio/radio.js +1 -1
- package/dist/components/radio-group/radio-group.component.js +1 -1
- package/dist/components/radio-group/radio-group.js +1 -1
- package/dist/components/scroll-hint/scroll-hint.component.js +1 -1
- package/dist/components/scroll-hint/scroll-hint.js +1 -1
- package/dist/components/select/select.component.js +1 -1
- package/dist/components/select/select.js +1 -1
- package/dist/components/site-header/site-header.component.js +1 -1
- package/dist/components/site-header/site-header.js +1 -1
- package/dist/components/site-navigation/site-navigation.component.js +1 -1
- package/dist/components/site-navigation/site-navigation.js +1 -1
- package/dist/components/skeleton/skeleton.component.js +1 -1
- package/dist/components/skeleton/skeleton.js +1 -1
- package/dist/components/slider/slider.component.js +1 -1
- package/dist/components/slider/slider.js +1 -1
- package/dist/components/spatial-picker/spatial-picker.component.js +1 -1
- package/dist/components/spatial-picker/spatial-picker.js +1 -1
- package/dist/components/spatial-picker/spatial-picker.service.js +1 -1
- package/dist/components/status-indicator/status-indicator.component.js +1 -1
- package/dist/components/status-indicator/status-indicator.js +1 -1
- package/dist/components/stepper/stepper.component.d.ts +8 -0
- package/dist/components/stepper/stepper.component.js +1 -1
- package/dist/components/stepper/stepper.js +1 -1
- package/dist/components/stepper/stepper.styles.js +1 -1
- package/dist/components/stepper-step/stepper-step.component.d.ts +6 -0
- package/dist/components/stepper-step/stepper-step.component.js +1 -1
- package/dist/components/stepper-step/stepper-step.js +1 -1
- package/dist/components/stepper-step/stepper-step.styles.js +1 -1
- package/dist/components/tab/tab.component.js +1 -1
- package/dist/components/tab/tab.js +1 -1
- package/dist/components/tab-panel/tab-panel.component.js +1 -1
- package/dist/components/tab-panel/tab-panel.js +1 -1
- package/dist/components/tabs/tabs.component.js +1 -1
- package/dist/components/tabs/tabs.js +1 -1
- package/dist/components/tag/tag.component.js +1 -1
- package/dist/components/tag/tag.js +1 -1
- package/dist/components/textarea/textarea.component.js +1 -1
- package/dist/components/textarea/textarea.js +1 -1
- package/dist/components/time-average-map/time-average-map.component.js +1 -1
- package/dist/components/time-average-map/time-average-map.controller.js +1 -1
- package/dist/components/time-average-map/time-average-map.js +1 -1
- package/dist/components/time-series/time-series.component.js +1 -1
- package/dist/components/time-series/time-series.controller.js +1 -1
- package/dist/components/time-series/time-series.js +1 -1
- package/dist/components/toast/toast.component.js +1 -1
- package/dist/components/toast/toast.js +1 -1
- package/dist/components/toggle/toggle.component.js +1 -1
- package/dist/components/toggle/toggle.js +1 -1
- package/dist/components/tooltip/tooltip.component.js +1 -1
- package/dist/components/tooltip/tooltip.js +1 -1
- package/dist/components/variable-combobox/variable-combobox.component.js +1 -1
- package/dist/components/variable-combobox/variable-combobox.js +1 -1
- package/dist/components/variable-combobox/variable-combobox.styles.js +1 -1
- package/dist/components/variable-keyword-search/variable-keyword-search.component.js +1 -1
- package/dist/components/variable-keyword-search/variable-keyword-search.js +1 -1
- package/dist/controllers/harmony-request.controller.d.ts +2 -1
- package/dist/custom-elements.json +9195 -8991
- package/dist/lib/harmony/harmony.request.d.ts +11 -1
- package/dist/queries/harmony.queries.d.ts +14 -0
- package/dist/react/accordion/index.js +1 -1
- package/dist/react/alert/index.js +1 -1
- package/dist/react/avatar/index.js +1 -1
- package/dist/react/badge/index.js +1 -1
- package/dist/react/banner/index.js +1 -1
- package/dist/react/breadcrumb/index.js +1 -1
- package/dist/react/breadcrumbs/index.js +1 -1
- package/dist/react/browse-variables/index.d.ts +2 -0
- package/dist/react/browse-variables/index.js +1 -1
- package/dist/react/button/index.js +1 -1
- package/dist/react/button-group/index.js +1 -1
- package/dist/react/caption/index.js +1 -1
- package/dist/react/card/index.js +1 -1
- package/dist/react/checkbox/index.js +1 -1
- package/dist/react/chip/index.js +1 -1
- package/dist/react/combobox/index.js +1 -1
- package/dist/react/data-access/index.js +1 -1
- package/dist/react/data-grid/index.js +1 -1
- package/dist/react/data-rods/index.js +1 -1
- package/dist/react/data-subsetter/index.js +1 -1
- package/dist/react/data-subsetter-history/index.js +1 -1
- package/dist/react/date-picker/index.js +1 -1
- package/dist/react/date-range-slider/index.js +1 -1
- package/dist/react/dialog/index.js +1 -1
- package/dist/react/divider/index.js +1 -1
- package/dist/react/dropdown/index.js +1 -1
- package/dist/react/earthdata-login/index.js +1 -1
- package/dist/react/file-upload/index.js +1 -1
- package/dist/react/harmony-history/index.js +1 -1
- package/dist/react/icon/index.js +1 -1
- package/dist/react/index.d.ts +30 -30
- package/dist/react/index.js +1 -1
- package/dist/react/input/index.js +1 -1
- package/dist/react/loader/index.js +1 -1
- package/dist/react/login/index.js +1 -1
- package/dist/react/map/index.js +1 -1
- package/dist/react/menu/index.js +1 -1
- package/dist/react/menu-item/index.js +1 -1
- package/dist/react/option/index.js +1 -1
- package/dist/react/pagination/index.js +1 -1
- package/dist/react/plot/index.js +1 -1
- package/dist/react/plot-toolbar/index.js +1 -1
- package/dist/react/popup/index.js +1 -1
- package/dist/react/progress-bar/index.js +1 -1
- package/dist/react/radio/index.js +1 -1
- package/dist/react/radio-group/index.js +1 -1
- package/dist/react/scroll-hint/index.js +1 -1
- package/dist/react/select/index.js +1 -1
- package/dist/react/site-header/index.js +1 -1
- package/dist/react/site-navigation/index.js +1 -1
- package/dist/react/skeleton/index.js +1 -1
- package/dist/react/slider/index.js +1 -1
- package/dist/react/spatial-picker/index.js +1 -1
- package/dist/react/status-indicator/index.js +1 -1
- package/dist/react/stepper/index.js +1 -1
- package/dist/react/stepper-step/index.js +1 -1
- package/dist/react/tab/index.js +1 -1
- package/dist/react/tab-panel/index.js +1 -1
- package/dist/react/tabs/index.js +1 -1
- package/dist/react/tag/index.js +1 -1
- package/dist/react/textarea/index.js +1 -1
- package/dist/react/time-average-map/index.js +1 -1
- package/dist/react/time-series/index.js +1 -1
- package/dist/react/toast/index.js +1 -1
- package/dist/react/toggle/index.js +1 -1
- package/dist/react/tooltip/index.js +1 -1
- package/dist/react/variable-combobox/index.js +1 -1
- package/dist/react/variable-keyword-search/index.js +1 -1
- package/dist/terra-ui-components.js +1 -1
- package/dist/terra_ui_components-0.0.202-py3-none-any.whl +0 -0
- package/dist/terra_ui_components-0.0.202.tar.gz +0 -0
- package/dist/themes/horizon.css +1 -1
- package/dist/themes/horizon.styles.js +1 -1
- package/dist/types/vue/index.d.ts +993 -983
- package/dist/vscode.html-custom-data.json +821 -820
- package/dist/web-types.json +2388 -2364
- package/package.json +72 -69
- package/cdn/chunks/chunk.2AZHW3NI.js +0 -62
- package/cdn/chunks/chunk.2GMJRLYQ.js +0 -604
- package/cdn/chunks/chunk.2QUVRAPY.js +0 -19
- package/cdn/chunks/chunk.2RIKRQ4D.js +0 -19
- package/cdn/chunks/chunk.2RWUR2JL.js +0 -2546
- package/cdn/chunks/chunk.2TQCFJVQ.js +0 -29
- package/cdn/chunks/chunk.3256UFRN.js +0 -19
- package/cdn/chunks/chunk.37QVOESQ.js +0 -29
- package/cdn/chunks/chunk.3INLH7LI.js +0 -19
- package/cdn/chunks/chunk.3PO7VXAW.js +0 -138
- package/cdn/chunks/chunk.3TFI26OB.js +0 -49
- package/cdn/chunks/chunk.3VHEYP2M.js +0 -92
- package/cdn/chunks/chunk.3VP3WQPD.js +0 -364
- package/cdn/chunks/chunk.4ANCA534.js +0 -19
- package/cdn/chunks/chunk.4IZ5QWCL.js +0 -592
- package/cdn/chunks/chunk.4QPOAJXP.js +0 -29
- package/cdn/chunks/chunk.4RKSH72J.js +0 -19
- package/cdn/chunks/chunk.4WUKLOQ3.js +0 -36
- package/cdn/chunks/chunk.4WZ65Q23.js +0 -74
- package/cdn/chunks/chunk.53W5YWTO.js +0 -158
- package/cdn/chunks/chunk.55WRSCJY.js +0 -978
- package/cdn/chunks/chunk.57DIZPDI.js +0 -29
- package/cdn/chunks/chunk.5DHLUBMH.js +0 -19
- package/cdn/chunks/chunk.5GXIKSYC.js +0 -657
- package/cdn/chunks/chunk.5JPWHGTQ.js +0 -29
- package/cdn/chunks/chunk.5LFN6KT3.js +0 -416
- package/cdn/chunks/chunk.5TICVM3P.js +0 -19
- package/cdn/chunks/chunk.5YAN7WHN.js +0 -394
- package/cdn/chunks/chunk.6CELGCID.js +0 -155
- package/cdn/chunks/chunk.6DHAZ6DZ.js +0 -29
- package/cdn/chunks/chunk.6T4SSHKA.js +0 -32
- package/cdn/chunks/chunk.6UXUUG3J.js +0 -29
- package/cdn/chunks/chunk.6YTKJIW2.js +0 -443
- package/cdn/chunks/chunk.6ZQMKTYA.js +0 -19
- package/cdn/chunks/chunk.72ZIJXV2.js +0 -29
- package/cdn/chunks/chunk.7HFVI6VA.js +0 -29
- package/cdn/chunks/chunk.7NVKHDK7.js +0 -34
- package/cdn/chunks/chunk.7P4E5GVO.js +0 -78
- package/cdn/chunks/chunk.ABNQAMWH.js +0 -29
- package/cdn/chunks/chunk.ACQ5NFZO.js +0 -371
- package/cdn/chunks/chunk.AKEAFDB3.js +0 -128
- package/cdn/chunks/chunk.ALANM6HV.js +0 -29
- package/cdn/chunks/chunk.APRNEJDQ.js +0 -230
- package/cdn/chunks/chunk.AXFNHOSM.js +0 -377
- package/cdn/chunks/chunk.B2HOZPO6.js +0 -56
- package/cdn/chunks/chunk.B2YIDU6U.js +0 -29
- package/cdn/chunks/chunk.B42N7DPY.js +0 -30
- package/cdn/chunks/chunk.BD4TYZWL.js +0 -29
- package/cdn/chunks/chunk.BPF4UJ52.js +0 -134
- package/cdn/chunks/chunk.BRQN3F2C.js +0 -29
- package/cdn/chunks/chunk.BYQ7ST2W.js +0 -36
- package/cdn/chunks/chunk.BZE5ZJ7T.js +0 -123
- package/cdn/chunks/chunk.C3CXYQKB.js +0 -33
- package/cdn/chunks/chunk.CCXE3ZLE.js +0 -19
- package/cdn/chunks/chunk.CFT6E372.js +0 -19
- package/cdn/chunks/chunk.CLNHUTGL.js +0 -29
- package/cdn/chunks/chunk.CONT7QQX.js +0 -29
- package/cdn/chunks/chunk.CROGJ6YF.js +0 -128
- package/cdn/chunks/chunk.DDBQOGIU.js +0 -19
- package/cdn/chunks/chunk.DIPU6IVU.js +0 -19
- package/cdn/chunks/chunk.DLCPWY67.js +0 -190
- package/cdn/chunks/chunk.DVMT42BQ.js +0 -19
- package/cdn/chunks/chunk.DZ3OSXLA.js +0 -4735
- package/cdn/chunks/chunk.E2ZS4UCS.js +0 -32
- package/cdn/chunks/chunk.EBQRJIE5.js +0 -60
- package/cdn/chunks/chunk.ECFWW5YT.js +0 -93
- package/cdn/chunks/chunk.EQS2M33G.js +0 -19
- package/cdn/chunks/chunk.EQWU6TVV.js +0 -32
- package/cdn/chunks/chunk.F3CODGFM.js +0 -616
- package/cdn/chunks/chunk.F3JEW22I.js +0 -231
- package/cdn/chunks/chunk.FDRGXPIF.js +0 -19
- package/cdn/chunks/chunk.FJCZ7YZ4.js +0 -33
- package/cdn/chunks/chunk.FKBBPBGA.js +0 -19
- package/cdn/chunks/chunk.FPUUQBZB.js +0 -19
- package/cdn/chunks/chunk.FQM5CI7F.js +0 -113
- package/cdn/chunks/chunk.G352BK7Q.js +0 -60
- package/cdn/chunks/chunk.G5NIUPHF.js +0 -33
- package/cdn/chunks/chunk.GOVZIEZD.js +0 -19
- package/cdn/chunks/chunk.GP723IDG.js +0 -36
- package/cdn/chunks/chunk.GWUHRDWF.js +0 -29
- package/cdn/chunks/chunk.GX64WIPT.js +0 -19
- package/cdn/chunks/chunk.HB4UBTFX.js +0 -68
- package/cdn/chunks/chunk.HITOJASR.js +0 -19
- package/cdn/chunks/chunk.HLNDVCZM.js +0 -37
- package/cdn/chunks/chunk.HS75CIWK.js +0 -276
- package/cdn/chunks/chunk.HSMS2PHV.js +0 -32
- package/cdn/chunks/chunk.HT4VXYXY.js +0 -37
- package/cdn/chunks/chunk.I4ACRUKD.js +0 -293
- package/cdn/chunks/chunk.I4SNTEYK.js +0 -19
- package/cdn/chunks/chunk.I5LNSGSR.js +0 -33
- package/cdn/chunks/chunk.I7HUTXHU.js +0 -479
- package/cdn/chunks/chunk.IQFL4UVO.js +0 -904
- package/cdn/chunks/chunk.ISZYSNVF.js +0 -672
- package/cdn/chunks/chunk.ITHFDF55.js +0 -278
- package/cdn/chunks/chunk.ITK2GQEZ.js +0 -1002
- package/cdn/chunks/chunk.IUZGXCFV.js +0 -36
- package/cdn/chunks/chunk.IYPNNII2.js +0 -29
- package/cdn/chunks/chunk.J35CXQX4.js +0 -35
- package/cdn/chunks/chunk.JKELJKO6.js +0 -110
- package/cdn/chunks/chunk.JLBHVHJZ.js +0 -19
- package/cdn/chunks/chunk.JXSV4XD4.js +0 -303
- package/cdn/chunks/chunk.KD5JYCKL.js +0 -543
- package/cdn/chunks/chunk.KJPGPJFX.js +0 -71
- package/cdn/chunks/chunk.KKPE3KJC.js +0 -19
- package/cdn/chunks/chunk.KL5PSKJ3.js +0 -19
- package/cdn/chunks/chunk.KNVPVYYS.js +0 -29
- package/cdn/chunks/chunk.KQHMVEVR.js +0 -19
- package/cdn/chunks/chunk.KS4PDYVB.js +0 -19
- package/cdn/chunks/chunk.KTNBBFGU.js +0 -37
- package/cdn/chunks/chunk.LA3ELYF2.js +0 -19
- package/cdn/chunks/chunk.LBDJC6N7.js +0 -162
- package/cdn/chunks/chunk.LH3S2EVK.js +0 -82
- package/cdn/chunks/chunk.LIPFUNWP.js +0 -38
- package/cdn/chunks/chunk.LYBKYZKO.js +0 -29
- package/cdn/chunks/chunk.LZVY5UIW.js +0 -33
- package/cdn/chunks/chunk.ME4DWNTC.js +0 -32
- package/cdn/chunks/chunk.MHWLH2X2.js +0 -32
- package/cdn/chunks/chunk.MHZAMQFI.js +0 -19
- package/cdn/chunks/chunk.MMXLHYWT.js +0 -19
- package/cdn/chunks/chunk.MY2CZEMK.js +0 -19
- package/cdn/chunks/chunk.N6FMFL73.js +0 -19
- package/cdn/chunks/chunk.NDOUQ2RH.js +0 -266
- package/cdn/chunks/chunk.NEYV3XJQ.js +0 -35
- package/cdn/chunks/chunk.NK2VQYCD.js +0 -19
- package/cdn/chunks/chunk.NLGMTKSB.js +0 -29
- package/cdn/chunks/chunk.NQAEXDQX.js +0 -19
- package/cdn/chunks/chunk.O4MJ2UGE.js +0 -104
- package/cdn/chunks/chunk.OF2T7LUM.js +0 -537
- package/cdn/chunks/chunk.OF6PNEJD.js +0 -32
- package/cdn/chunks/chunk.OIH73AFM.js +0 -234
- package/cdn/chunks/chunk.OLXQEEYH.js +0 -19
- package/cdn/chunks/chunk.OO4PLPM5.js +0 -35
- package/cdn/chunks/chunk.OSW2S3HY.js +0 -29
- package/cdn/chunks/chunk.OZNAXXFV.js +0 -83
- package/cdn/chunks/chunk.P2RIMCQC.js +0 -19
- package/cdn/chunks/chunk.P5SSS2YU.js +0 -19
- package/cdn/chunks/chunk.PC5Q3XD2.js +0 -32
- package/cdn/chunks/chunk.PCBCYIUF.js +0 -359
- package/cdn/chunks/chunk.PEVHCSWS.js +0 -259
- package/cdn/chunks/chunk.PF6HHPHM.js +0 -1691
- package/cdn/chunks/chunk.PGBGELPU.js +0 -19
- package/cdn/chunks/chunk.Q37FMCC3.js +0 -19
- package/cdn/chunks/chunk.QBJMGAXS.js +0 -36
- package/cdn/chunks/chunk.QDBZMPOJ.js +0 -34
- package/cdn/chunks/chunk.QE27S3FT.js +0 -99
- package/cdn/chunks/chunk.QIF6JAMD.js +0 -32
- package/cdn/chunks/chunk.QK5H576L.js +0 -19
- package/cdn/chunks/chunk.QKRKOCEG.js +0 -19
- package/cdn/chunks/chunk.QOCVNKUN.js +0 -19
- package/cdn/chunks/chunk.QU5D626U.js +0 -2785
- package/cdn/chunks/chunk.QUHOX7DO.js +0 -132
- package/cdn/chunks/chunk.QZ742FD3.js +0 -136
- package/cdn/chunks/chunk.R22WNQCM.js +0 -47
- package/cdn/chunks/chunk.RE2CJ7YH.js +0 -19
- package/cdn/chunks/chunk.RFMVAVIU.js +0 -19
- package/cdn/chunks/chunk.S5GCTGG7.js +0 -1197
- package/cdn/chunks/chunk.S7XSFZJS.js +0 -19
- package/cdn/chunks/chunk.SDL6C2BY.js +0 -29
- package/cdn/chunks/chunk.SG346VAC.js +0 -19
- package/cdn/chunks/chunk.SJJJM2KO.js +0 -1975
- package/cdn/chunks/chunk.SOZG2CSG.js +0 -35
- package/cdn/chunks/chunk.SVX6KHIC.js +0 -19
- package/cdn/chunks/chunk.SXAPJEFP.js +0 -19
- package/cdn/chunks/chunk.T3ZZETWY.js +0 -29
- package/cdn/chunks/chunk.T77IGYGR.js +0 -277
- package/cdn/chunks/chunk.T77TS7NG.js +0 -29
- package/cdn/chunks/chunk.TAGA7EGX.js +0 -348
- package/cdn/chunks/chunk.TINZXT55.js +0 -367
- package/cdn/chunks/chunk.TKLGDSNB.js +0 -32
- package/cdn/chunks/chunk.TOZVAUH5.js +0 -32
- package/cdn/chunks/chunk.TTA6HRE7.js +0 -195
- package/cdn/chunks/chunk.TUA7GHST.js +0 -41
- package/cdn/chunks/chunk.TYYRLI6T.js +0 -224
- package/cdn/chunks/chunk.UCEUICXD.js +0 -32
- package/cdn/chunks/chunk.UTIEUVYR.js +0 -29
- package/cdn/chunks/chunk.UYJBFTUW.js +0 -32
- package/cdn/chunks/chunk.V2BU4ULP.js +0 -19
- package/cdn/chunks/chunk.VPJPXQTQ.js +0 -86
- package/cdn/chunks/chunk.VPKGODYM.js +0 -29
- package/cdn/chunks/chunk.VTAXQ44I.js +0 -19
- package/cdn/chunks/chunk.VVRBAIQH.js +0 -298
- package/cdn/chunks/chunk.W3V3JBEX.js +0 -610
- package/cdn/chunks/chunk.WBDZUWI4.js +0 -39
- package/cdn/chunks/chunk.WBPEC2QG.js +0 -30
- package/cdn/chunks/chunk.WE64K3PB.js +0 -19
- package/cdn/chunks/chunk.WGWOVD57.js +0 -19
- package/cdn/chunks/chunk.WN3NVSSV.js +0 -19
- package/cdn/chunks/chunk.WTQZTCXG.js +0 -29
- package/cdn/chunks/chunk.X3EOJIS4.js +0 -19
- package/cdn/chunks/chunk.XIZSOVIX.js +0 -538
- package/cdn/chunks/chunk.XUSCJW4Z.js +0 -19
- package/cdn/chunks/chunk.XXKTPJUJ.js +0 -32
- package/cdn/chunks/chunk.Y24AJWBF.js +0 -188
- package/cdn/chunks/chunk.Y3EV6C6T.js +0 -27
- package/cdn/chunks/chunk.Y47VOCWI.js +0 -19
- package/cdn/chunks/chunk.Y4AR4VW3.js +0 -19
- package/cdn/chunks/chunk.YERKS624.js +0 -478
- package/cdn/chunks/chunk.YLAYVE6G.js +0 -19
- package/cdn/chunks/chunk.YLO4GLWT.js +0 -29
- package/cdn/chunks/chunk.YMLP3KAW.js +0 -56075
- package/cdn/chunks/chunk.YNFYX3XA.js +0 -524
- package/cdn/chunks/chunk.YPPH22LC.js +0 -168
- package/cdn/chunks/chunk.YVFRSQES.js +0 -357
- package/cdn/chunks/chunk.Z4Q5VENB.js +0 -106
- package/cdn/chunks/chunk.Z7XRAEG4.js +0 -631
- package/cdn/chunks/chunk.ZAECK6UU.js +0 -19
- package/cdn/chunks/chunk.ZAL2LRND.js +0 -310
- package/cdn/chunks/chunk.ZB55PYP4.js +0 -35
- package/cdn/chunks/chunk.ZB55WF62.js +0 -19
- package/cdn/chunks/chunk.ZBPPZNDS.js +0 -19
- package/cdn/chunks/chunk.ZEF6TAO2.js +0 -925
- package/cdn/chunks/chunk.ZK2VIBZG.js +0 -19
- package/cdn/chunks/chunk.ZPKUIM2L.js +0 -151
- package/cdn/chunks/chunk.ZX757SO6.js +0 -29
- package/cdn/chunks/chunk.ZZY7TXJ7.js +0 -19
- package/dist/chunks/chunk.23NZQGRT.js +0 -26
- package/dist/chunks/chunk.25LMYNO6.js +0 -1
- package/dist/chunks/chunk.2AFZ4ARB.js +0 -1
- package/dist/chunks/chunk.2GLLXBJI.js +0 -1
- package/dist/chunks/chunk.2HEYUFOC.js +0 -1
- package/dist/chunks/chunk.2HRPOSAW.js +0 -5
- package/dist/chunks/chunk.2HYEGGTW.js +0 -17
- package/dist/chunks/chunk.2JC7JHZQ.js +0 -1
- package/dist/chunks/chunk.2RX4X5D6.js +0 -26
- package/dist/chunks/chunk.34NWE6KP.js +0 -1
- package/dist/chunks/chunk.35CT445R.js +0 -1
- package/dist/chunks/chunk.36DCFNTD.js +0 -24
- package/dist/chunks/chunk.37FNACA5.js +0 -1
- package/dist/chunks/chunk.3E7UOH46.js +0 -148
- package/dist/chunks/chunk.3EIUZOLJ.js +0 -1
- package/dist/chunks/chunk.3KWNJCLE.js +0 -1
- package/dist/chunks/chunk.3QTUEAKY.js +0 -1
- package/dist/chunks/chunk.4EHWIMWP.js +0 -65
- package/dist/chunks/chunk.4GSSSX5K.js +0 -1
- package/dist/chunks/chunk.4INVPZ4B.js +0 -1
- package/dist/chunks/chunk.4RSDXTE3.js +0 -1
- package/dist/chunks/chunk.5AGEL4Y7.js +0 -1
- package/dist/chunks/chunk.5AY4IN2U.js +0 -64
- package/dist/chunks/chunk.5ELCXOSZ.js +0 -20
- package/dist/chunks/chunk.5J4GWMK2.js +0 -5
- package/dist/chunks/chunk.5LCXFZBL.js +0 -1
- package/dist/chunks/chunk.5PUJ3GGM.js +0 -1
- package/dist/chunks/chunk.5WUDBUFM.js +0 -121
- package/dist/chunks/chunk.6AE62EEA.js +0 -1
- package/dist/chunks/chunk.6KBVEVQN.js +0 -1
- package/dist/chunks/chunk.6XPB3NC3.js +0 -1
- package/dist/chunks/chunk.723PPKYV.js +0 -100
- package/dist/chunks/chunk.72J3EWDY.js +0 -1
- package/dist/chunks/chunk.7DH5DXSD.js +0 -1
- package/dist/chunks/chunk.7DL3RYTX.js +0 -1
- package/dist/chunks/chunk.7NEQBVYI.js +0 -1
- package/dist/chunks/chunk.7WW4MTNQ.js +0 -1
- package/dist/chunks/chunk.7XLMISB3.js +0 -4
- package/dist/chunks/chunk.ACP4UQR3.js +0 -1
- package/dist/chunks/chunk.AD4FEYOU.js +0 -1
- package/dist/chunks/chunk.AE7IKEFE.js +0 -154
- package/dist/chunks/chunk.AEWY4FNM.js +0 -572
- package/dist/chunks/chunk.AHQRG65K.js +0 -350
- package/dist/chunks/chunk.ANQY2H66.js +0 -1
- package/dist/chunks/chunk.ASPHVAUZ.js +0 -1
- package/dist/chunks/chunk.ATX7REBU.js +0 -1
- package/dist/chunks/chunk.AVGVZ2NM.js +0 -1
- package/dist/chunks/chunk.AYLNZ7NR.js +0 -1
- package/dist/chunks/chunk.BDNESHTZ.js +0 -1
- package/dist/chunks/chunk.BHKRAHOT.js +0 -1
- package/dist/chunks/chunk.BKHW3UZ4.js +0 -300
- package/dist/chunks/chunk.BLDN6BDB.js +0 -1
- package/dist/chunks/chunk.BZ6AZX3T.js +0 -37
- package/dist/chunks/chunk.C7IF2K5M.js +0 -11
- package/dist/chunks/chunk.CJSMISIQ.js +0 -1
- package/dist/chunks/chunk.D7IDH3Z5.js +0 -1
- package/dist/chunks/chunk.DBE5GOUX.js +0 -1
- package/dist/chunks/chunk.DDYKQXQN.js +0 -1
- package/dist/chunks/chunk.DFMIH7QL.js +0 -1
- package/dist/chunks/chunk.DGQ7WR3U.js +0 -113
- package/dist/chunks/chunk.DJ2CW4TV.js +0 -1
- package/dist/chunks/chunk.DKJTLO5D.js +0 -75
- package/dist/chunks/chunk.DNBYCX26.js +0 -25
- package/dist/chunks/chunk.DXHQDWDZ.js +0 -1
- package/dist/chunks/chunk.DXT5TH6L.js +0 -1
- package/dist/chunks/chunk.E5WOJ3PK.js +0 -2
- package/dist/chunks/chunk.EIG27QDJ.js +0 -1
- package/dist/chunks/chunk.ENJASLZC.js +0 -8
- package/dist/chunks/chunk.ENMFKETX.js +0 -1
- package/dist/chunks/chunk.F2SOOHUF.js +0 -74
- package/dist/chunks/chunk.F4CXK4DV.js +0 -1
- package/dist/chunks/chunk.FFPGMQBG.js +0 -1
- package/dist/chunks/chunk.FICO2IEF.js +0 -1
- package/dist/chunks/chunk.FIQBMJKB.js +0 -1
- package/dist/chunks/chunk.FLCVB7ZG.js +0 -1
- package/dist/chunks/chunk.FQJUY2WN.js +0 -280
- package/dist/chunks/chunk.FQLSPKU6.js +0 -1
- package/dist/chunks/chunk.FSWZFV6X.js +0 -1
- package/dist/chunks/chunk.FWGKOYZ6.js +0 -1
- package/dist/chunks/chunk.FWRWPBEA.js +0 -1
- package/dist/chunks/chunk.G5O2UXZR.js +0 -1
- package/dist/chunks/chunk.GTIKA77C.js +0 -47
- package/dist/chunks/chunk.H2CFP3PQ.js +0 -11
- package/dist/chunks/chunk.H6EXXHNP.js +0 -20
- package/dist/chunks/chunk.H7OSGJDN.js +0 -1
- package/dist/chunks/chunk.HHF3GJJX.js +0 -22
- package/dist/chunks/chunk.HJCUJPX6.js +0 -1
- package/dist/chunks/chunk.HPNZH3Q4.js +0 -1
- package/dist/chunks/chunk.HQJSNJAI.js +0 -1
- package/dist/chunks/chunk.HSWO7GTZ.js +0 -1
- package/dist/chunks/chunk.HWRLJA2Z.js +0 -1
- package/dist/chunks/chunk.HZOOFT3Z.js +0 -1
- package/dist/chunks/chunk.IBLMNONH.js +0 -1
- package/dist/chunks/chunk.IEU7YQG3.js +0 -1
- package/dist/chunks/chunk.IOKUMDKC.js +0 -33
- package/dist/chunks/chunk.IUULTT4O.js +0 -1
- package/dist/chunks/chunk.J2P5LTLJ.js +0 -1
- package/dist/chunks/chunk.JL7WMXDP.js +0 -1
- package/dist/chunks/chunk.JO2E3V6R.js +0 -1
- package/dist/chunks/chunk.JO2SKBWZ.js +0 -1
- package/dist/chunks/chunk.JQMXDI64.js +0 -1
- package/dist/chunks/chunk.JRVIE4XW.js +0 -1
- package/dist/chunks/chunk.JYAJJ7JB.js +0 -299
- package/dist/chunks/chunk.JYD4MT2X.js +0 -1
- package/dist/chunks/chunk.JYIZZOBA.js +0 -35
- package/dist/chunks/chunk.K5ZNB5TT.js +0 -48
- package/dist/chunks/chunk.KA7VO4CD.js +0 -80
- package/dist/chunks/chunk.KF74PACJ.js +0 -1
- package/dist/chunks/chunk.KHWI5BDR.js +0 -43
- package/dist/chunks/chunk.KQBQJYII.js +0 -1
- package/dist/chunks/chunk.KQJYCLV5.js +0 -1
- package/dist/chunks/chunk.KRQB5VTT.js +0 -1
- package/dist/chunks/chunk.L5AER4HL.js +0 -111
- package/dist/chunks/chunk.L7UI364Z.js +0 -985
- package/dist/chunks/chunk.LJ5UQBNV.js +0 -1
- package/dist/chunks/chunk.LLARUBYC.js +0 -1
- package/dist/chunks/chunk.LN3N6D2E.js +0 -1
- package/dist/chunks/chunk.LO72HFZE.js +0 -1
- package/dist/chunks/chunk.LURRF4YZ.js +0 -67
- package/dist/chunks/chunk.LXQROJE2.js +0 -354
- package/dist/chunks/chunk.M3B5KKI4.js +0 -1
- package/dist/chunks/chunk.M3MZFHHD.js +0 -1
- package/dist/chunks/chunk.MBS3RFJM.js +0 -6
- package/dist/chunks/chunk.MEXCND7E.js +0 -1
- package/dist/chunks/chunk.MGTW3UKR.js +0 -6
- package/dist/chunks/chunk.MHUPHWBX.js +0 -1
- package/dist/chunks/chunk.MJGXOZUM.js +0 -1
- package/dist/chunks/chunk.MMI6AZ5X.js +0 -1
- package/dist/chunks/chunk.MOLG5UGC.js +0 -780
- package/dist/chunks/chunk.MRQ3S2IU.js +0 -1
- package/dist/chunks/chunk.MSVNGRIO.js +0 -125
- package/dist/chunks/chunk.MYLEMOHI.js +0 -1
- package/dist/chunks/chunk.N72KUAUG.js +0 -1
- package/dist/chunks/chunk.NIUAZKZN.js +0 -1
- package/dist/chunks/chunk.NLDEYHPE.js +0 -1
- package/dist/chunks/chunk.NQKLAIZQ.js +0 -145
- package/dist/chunks/chunk.NRZIMG2K.js +0 -1
- package/dist/chunks/chunk.NUODI7BE.js +0 -4
- package/dist/chunks/chunk.OCFFVU5H.js +0 -1
- package/dist/chunks/chunk.OCSCHASD.js +0 -1
- package/dist/chunks/chunk.OGRY2QIP.js +0 -35
- package/dist/chunks/chunk.OM5CHL6K.js +0 -9
- package/dist/chunks/chunk.OSPWVWNF.js +0 -1
- package/dist/chunks/chunk.OWCIKVBX.js +0 -1
- package/dist/chunks/chunk.P2B7S4YB.js +0 -1
- package/dist/chunks/chunk.P2NDCMFN.js +0 -1
- package/dist/chunks/chunk.P34K4PMK.js +0 -1
- package/dist/chunks/chunk.PB4GFMCH.js +0 -41
- package/dist/chunks/chunk.PLVS2WBF.js +0 -43
- package/dist/chunks/chunk.PSIIGWKB.js +0 -1
- package/dist/chunks/chunk.Q6BMULA4.js +0 -1
- package/dist/chunks/chunk.QM7VCIXI.js +0 -1
- package/dist/chunks/chunk.QMJFLZ67.js +0 -30
- package/dist/chunks/chunk.QVWZX4VS.js +0 -157
- package/dist/chunks/chunk.RH4Y7BEE.js +0 -176
- package/dist/chunks/chunk.RL342FCW.js +0 -1
- package/dist/chunks/chunk.RPAY7BUI.js +0 -16
- package/dist/chunks/chunk.RRIGLMOB.js +0 -1
- package/dist/chunks/chunk.RRKWNEL7.js +0 -13
- package/dist/chunks/chunk.RVUFNTS3.js +0 -1
- package/dist/chunks/chunk.RXOHRFRL.js +0 -1
- package/dist/chunks/chunk.S3GPO3V7.js +0 -61
- package/dist/chunks/chunk.S5NYSCGF.js +0 -1
- package/dist/chunks/chunk.S775HGVI.js +0 -99
- package/dist/chunks/chunk.S77XG6XL.js +0 -1
- package/dist/chunks/chunk.SDHMCRSG.js +0 -27
- package/dist/chunks/chunk.SEM4QPEU.js +0 -1
- package/dist/chunks/chunk.SJAXMDBS.js +0 -1
- package/dist/chunks/chunk.SJKQOS3L.js +0 -1
- package/dist/chunks/chunk.STLGBPK5.js +0 -1
- package/dist/chunks/chunk.SUFVBKJY.js +0 -62
- package/dist/chunks/chunk.T2CPBC4R.js +0 -1
- package/dist/chunks/chunk.TAQ6A3B7.js +0 -2
- package/dist/chunks/chunk.TCEAZ4JD.js +0 -1
- package/dist/chunks/chunk.THEACYHF.js +0 -1198
- package/dist/chunks/chunk.TO3S7ZON.js +0 -39
- package/dist/chunks/chunk.TO4KVUBA.js +0 -1
- package/dist/chunks/chunk.TWIM575W.js +0 -1
- package/dist/chunks/chunk.TWLFGEFK.js +0 -55
- package/dist/chunks/chunk.UMD3436Z.js +0 -12
- package/dist/chunks/chunk.UU4IVFR3.js +0 -1
- package/dist/chunks/chunk.UV2UYKDE.js +0 -8
- package/dist/chunks/chunk.V73XUHPZ.js +0 -23
- package/dist/chunks/chunk.VAQBINGF.js +0 -1
- package/dist/chunks/chunk.VCBTYTPZ.js +0 -1
- package/dist/chunks/chunk.VFKKJ5TJ.js +0 -9
- package/dist/chunks/chunk.VWLW5SEW.js +0 -14
- package/dist/chunks/chunk.VZB2WNDD.js +0 -30
- package/dist/chunks/chunk.VZFZW3SJ.js +0 -1
- package/dist/chunks/chunk.VZJ3CHHD.js +0 -1
- package/dist/chunks/chunk.W56HBYGO.js +0 -1
- package/dist/chunks/chunk.W5WASIVZ.js +0 -1
- package/dist/chunks/chunk.WNWQ5G7U.js +0 -1
- package/dist/chunks/chunk.WPQSWSZ4.js +0 -1
- package/dist/chunks/chunk.WUAWBIQL.js +0 -1
- package/dist/chunks/chunk.WYT63XP5.js +0 -55
- package/dist/chunks/chunk.WZ5IMSXC.js +0 -1
- package/dist/chunks/chunk.XB4MSOLC.js +0 -1
- package/dist/chunks/chunk.XIKMUJ5L.js +0 -1
- package/dist/chunks/chunk.XOXJ7JGG.js +0 -1
- package/dist/chunks/chunk.YDZMQWAK.js +0 -1
- package/dist/chunks/chunk.YJ5Y66AW.js +0 -1
- package/dist/chunks/chunk.YO5HSONL.js +0 -41
- package/dist/chunks/chunk.YXMQUC6E.js +0 -1
- package/dist/chunks/chunk.YYB5UKM4.js +0 -122
- package/dist/chunks/chunk.Z2JKVUIQ.js +0 -1
- package/dist/chunks/chunk.Z33BUAHI.js +0 -1
- package/dist/chunks/chunk.ZHYG6CFC.js +0 -19
- package/dist/chunks/chunk.ZKBWQ2BW.js +0 -1
- package/dist/chunks/chunk.ZMFVMONQ.js +0 -1
- package/dist/chunks/chunk.ZNXXCV5Y.js +0 -1
- package/dist/chunks/chunk.ZSH7I5S5.js +0 -55
- package/dist/chunks/chunk.ZVWBJCKO.js +0 -1
- package/dist/terra_ui_components-0.0.201-py3-none-any.whl +0 -0
- package/dist/terra_ui_components-0.0.201.tar.gz +0 -0
|
@@ -1,978 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
time_series_cache_service_default
|
|
3
|
-
} from "./chunk.EM46QCN4.js";
|
|
4
|
-
import {
|
|
5
|
-
require_plotly_min
|
|
6
|
-
} from "./chunk.NPCTDW7V.js";
|
|
7
|
-
import {
|
|
8
|
-
HarmonyRequestController
|
|
9
|
-
} from "./chunk.CROGJ6YF.js";
|
|
10
|
-
import {
|
|
11
|
-
HarmonyRequest
|
|
12
|
-
} from "./chunk.5YAN7WHN.js";
|
|
13
|
-
import {
|
|
14
|
-
extractHarmonyError
|
|
15
|
-
} from "./chunk.USKVG5GU.js";
|
|
16
|
-
import {
|
|
17
|
-
h,
|
|
18
|
-
i
|
|
19
|
-
} from "./chunk.BQDEKCXK.js";
|
|
20
|
-
import {
|
|
21
|
-
CollectionController
|
|
22
|
-
} from "./chunk.JXSV4XD4.js";
|
|
23
|
-
import {
|
|
24
|
-
FINAL_STATUSES,
|
|
25
|
-
ThumbnailService,
|
|
26
|
-
harmonyApi
|
|
27
|
-
} from "./chunk.I7HUTXHU.js";
|
|
28
|
-
import {
|
|
29
|
-
LatLngBounds
|
|
30
|
-
} from "./chunk.B2HOZPO6.js";
|
|
31
|
-
import {
|
|
32
|
-
LatLng
|
|
33
|
-
} from "./chunk.Y3EV6C6T.js";
|
|
34
|
-
import {
|
|
35
|
-
formatDate,
|
|
36
|
-
getUTCDate,
|
|
37
|
-
isDateRangeContained
|
|
38
|
-
} from "./chunk.X2BIJLHO.js";
|
|
39
|
-
import {
|
|
40
|
-
__privateAdd,
|
|
41
|
-
__privateGet,
|
|
42
|
-
__privateMethod,
|
|
43
|
-
__privateSet,
|
|
44
|
-
__spreadProps,
|
|
45
|
-
__spreadValues,
|
|
46
|
-
__toESM,
|
|
47
|
-
init_buffer,
|
|
48
|
-
init_dirname,
|
|
49
|
-
init_process
|
|
50
|
-
} from "./chunk.ZEOVK2FE.js";
|
|
51
|
-
|
|
52
|
-
// src/components/time-series/time-series.controller.ts
|
|
53
|
-
init_dirname();
|
|
54
|
-
init_buffer();
|
|
55
|
-
init_process();
|
|
56
|
-
|
|
57
|
-
// src/lib/dataset.ts
|
|
58
|
-
init_dirname();
|
|
59
|
-
init_buffer();
|
|
60
|
-
init_process();
|
|
61
|
-
|
|
62
|
-
// src/types.ts
|
|
63
|
-
init_dirname();
|
|
64
|
-
init_buffer();
|
|
65
|
-
init_process();
|
|
66
|
-
|
|
67
|
-
// src/lib/dataset.ts
|
|
68
|
-
var MAX_DATAPOINTS_PER_REQUEST = 2e5;
|
|
69
|
-
var MILLIS_IN_HOUR = 1e3 * 60 * 60;
|
|
70
|
-
var MILLIS_IN_DAY = MILLIS_IN_HOUR * 24;
|
|
71
|
-
function getIntervalMs(timeInterval) {
|
|
72
|
-
switch (timeInterval) {
|
|
73
|
-
case "half-hourly" /* HalfHourly */:
|
|
74
|
-
return MILLIS_IN_HOUR / 2;
|
|
75
|
-
case "hourly" /* Hourly */:
|
|
76
|
-
return MILLIS_IN_HOUR;
|
|
77
|
-
case "3-hourly" /* ThreeHourly */:
|
|
78
|
-
return MILLIS_IN_HOUR * 3;
|
|
79
|
-
case "8-daily" /* EightDaily */:
|
|
80
|
-
return MILLIS_IN_DAY * 8;
|
|
81
|
-
case "daily" /* Daily */:
|
|
82
|
-
return MILLIS_IN_DAY;
|
|
83
|
-
case "weekly" /* Weekly */:
|
|
84
|
-
return MILLIS_IN_DAY * 7;
|
|
85
|
-
case "monthly" /* Monthly */:
|
|
86
|
-
return MILLIS_IN_DAY * 30;
|
|
87
|
-
default:
|
|
88
|
-
throw new Error(`Unsupported time interval: ${timeInterval}`);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
function calculateDataPoints(timeInterval, startDate, endDate) {
|
|
92
|
-
const diffMs = endDate.getTime() - startDate.getTime();
|
|
93
|
-
switch (timeInterval) {
|
|
94
|
-
case "half-hourly" /* HalfHourly */:
|
|
95
|
-
return Math.floor(diffMs / (MILLIS_IN_HOUR / 2)) + 1;
|
|
96
|
-
case "hourly" /* Hourly */:
|
|
97
|
-
return Math.floor(diffMs / MILLIS_IN_HOUR) + 1;
|
|
98
|
-
case "3-hourly" /* ThreeHourly */:
|
|
99
|
-
return Math.floor(diffMs / (MILLIS_IN_HOUR * 3)) + 1;
|
|
100
|
-
case "8-daily" /* EightDaily */:
|
|
101
|
-
return Math.floor(diffMs / (MILLIS_IN_DAY * 8)) + 1;
|
|
102
|
-
case "daily" /* Daily */:
|
|
103
|
-
return Math.floor(diffMs / MILLIS_IN_DAY) + 1;
|
|
104
|
-
case "weekly" /* Weekly */:
|
|
105
|
-
return Math.floor(diffMs / (MILLIS_IN_DAY * 7)) + 1;
|
|
106
|
-
case "monthly" /* Monthly */:
|
|
107
|
-
return Math.floor(diffMs / (MILLIS_IN_DAY * 30)) + 1;
|
|
108
|
-
default:
|
|
109
|
-
throw new Error(`Unsupported time interval: ${timeInterval}`);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
function calculateDateChunks(timeInterval, startDate, endDate) {
|
|
113
|
-
const totalDataPoints = calculateDataPoints(timeInterval, startDate, endDate);
|
|
114
|
-
if (totalDataPoints <= MAX_DATAPOINTS_PER_REQUEST) {
|
|
115
|
-
return [{ start: startDate, end: endDate }];
|
|
116
|
-
}
|
|
117
|
-
const chunks = [];
|
|
118
|
-
const intervalMs = getIntervalMs(timeInterval);
|
|
119
|
-
const maxChunkSpanMs = intervalMs * (MAX_DATAPOINTS_PER_REQUEST - 1);
|
|
120
|
-
let chunkStartMs = startDate.getTime();
|
|
121
|
-
const endMs = endDate.getTime();
|
|
122
|
-
while (chunkStartMs <= endMs) {
|
|
123
|
-
const chunkEndMs = Math.min(chunkStartMs + maxChunkSpanMs, endMs);
|
|
124
|
-
chunks.push({
|
|
125
|
-
start: new Date(chunkStartMs),
|
|
126
|
-
end: new Date(chunkEndMs)
|
|
127
|
-
});
|
|
128
|
-
if (chunkEndMs >= endMs) {
|
|
129
|
-
break;
|
|
130
|
-
}
|
|
131
|
-
const nextChunkStartMs = chunkEndMs + intervalMs;
|
|
132
|
-
if (nextChunkStartMs <= chunkStartMs) {
|
|
133
|
-
break;
|
|
134
|
-
}
|
|
135
|
-
chunkStartMs = nextChunkStartMs;
|
|
136
|
-
}
|
|
137
|
-
return chunks;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
// src/components/time-series/time-series.controller.ts
|
|
141
|
-
var Plotly = __toESM(require_plotly_min(), 1);
|
|
142
|
-
var NUM_DATAPOINTS_TO_WARN_USER = 5e4;
|
|
143
|
-
var HARMONY_LINK_PROXY_URL = "https://lpo4uv7f0h.execute-api.us-east-1.amazonaws.com/default/harmony-link-proxy";
|
|
144
|
-
var HARMONY_STATUS_WAIT_INTERVAL_MS = 300;
|
|
145
|
-
var MAX_CONCEPT_ID_WAIT_MS = 1e4;
|
|
146
|
-
var MAX_GAP_FILL_PASSES = 4;
|
|
147
|
-
var plotlyDefaultData = {
|
|
148
|
-
// holds the default Plotly configuration options.
|
|
149
|
-
// see https://plotly.com/javascript/time-series/
|
|
150
|
-
type: "scatter",
|
|
151
|
-
mode: "lines"
|
|
152
|
-
};
|
|
153
|
-
var _userConfirmedWarning, _cacheService, _thumbnailService, _lastHarmonyJobId, _lastFetchedVariableIds, _collectionController, _harmonyRequestController, _emitChunkProgress, emitChunkProgress_fn, _getRequestedVariables, getRequestedVariables_fn, _loadTimeSeries, loadTimeSeries_fn, _fetchTimeSeriesChunk, fetchTimeSeriesChunk_fn, _fetchHarmonyDataLink, fetchHarmonyDataLink_fn, _waitForHarmonyJob, waitForHarmonyJob_fn, _parseTimeSeriesCsv, parseTimeSeriesCsv_fn, _normalizeTimestamp, normalizeTimestamp_fn, _filterFillValues, filterFillValues_fn, _checkDataPointLimits, checkDataPointLimits_fn, _detectTimeInterval, detectTimeInterval_fn, _getCollectionEntryId, getCollectionEntryId_fn, _waitForCollectionConceptId, waitForCollectionConceptId_fn, _parseLocationInput, parseLocationInput_fn, _capturePlotThumbnail, capturePlotThumbnail_fn, _sleep, sleep_fn, _handleHarmonyError, handleHarmonyError_fn;
|
|
154
|
-
var TimeSeriesController = class {
|
|
155
|
-
constructor(host) {
|
|
156
|
-
__privateAdd(this, _emitChunkProgress);
|
|
157
|
-
__privateAdd(this, _getRequestedVariables);
|
|
158
|
-
__privateAdd(this, _loadTimeSeries);
|
|
159
|
-
/**
|
|
160
|
-
* Fetches a single chunk of time series data
|
|
161
|
-
*/
|
|
162
|
-
__privateAdd(this, _fetchTimeSeriesChunk);
|
|
163
|
-
__privateAdd(this, _fetchHarmonyDataLink);
|
|
164
|
-
__privateAdd(this, _waitForHarmonyJob);
|
|
165
|
-
/**
|
|
166
|
-
* the data we receive for the time series is in CSV format, but with metadata at the top
|
|
167
|
-
* this function parses the CSV data and returns an object of the metadata and the data
|
|
168
|
-
*/
|
|
169
|
-
__privateAdd(this, _parseTimeSeriesCsv);
|
|
170
|
-
/**
|
|
171
|
-
* Normalizes timestamp format to be consistent between point-based and area-averaged data
|
|
172
|
-
* Point-based data format: "2013-11-28 23:30"
|
|
173
|
-
* Area-averaged data format: "2009-01-01T00:30:00.000000000"
|
|
174
|
-
* This function converts both formats to ISO 8601 format while preserving full time resolution
|
|
175
|
-
*/
|
|
176
|
-
__privateAdd(this, _normalizeTimestamp);
|
|
177
|
-
/**
|
|
178
|
-
* Filters out fill values from time series data
|
|
179
|
-
*/
|
|
180
|
-
__privateAdd(this, _filterFillValues);
|
|
181
|
-
/**
|
|
182
|
-
* Checks if the current date range will exceed data point limits
|
|
183
|
-
* Returns true if it's safe to proceed, false if confirmation is needed
|
|
184
|
-
*/
|
|
185
|
-
__privateAdd(this, _checkDataPointLimits);
|
|
186
|
-
/**
|
|
187
|
-
* Detects the actual time interval from the data by analyzing timestamp differences
|
|
188
|
-
* Returns the detected TimeInterval or null if unable to determine
|
|
189
|
-
*/
|
|
190
|
-
__privateAdd(this, _detectTimeInterval);
|
|
191
|
-
__privateAdd(this, _getCollectionEntryId);
|
|
192
|
-
__privateAdd(this, _waitForCollectionConceptId);
|
|
193
|
-
__privateAdd(this, _parseLocationInput);
|
|
194
|
-
__privateAdd(this, _capturePlotThumbnail);
|
|
195
|
-
__privateAdd(this, _sleep);
|
|
196
|
-
/**
|
|
197
|
-
* Handles errors from Harmony GraphQL operations and dispatches them as events
|
|
198
|
-
*/
|
|
199
|
-
__privateAdd(this, _handleHarmonyError);
|
|
200
|
-
__privateAdd(this, _userConfirmedWarning, false);
|
|
201
|
-
__privateAdd(this, _cacheService, new time_series_cache_service_default());
|
|
202
|
-
__privateAdd(this, _thumbnailService, new ThumbnailService());
|
|
203
|
-
__privateAdd(this, _lastHarmonyJobId, void 0);
|
|
204
|
-
__privateAdd(this, _lastFetchedVariableIds, void 0);
|
|
205
|
-
__privateAdd(this, _collectionController, void 0);
|
|
206
|
-
__privateAdd(this, _harmonyRequestController, void 0);
|
|
207
|
-
this.emptyPlotData = [
|
|
208
|
-
__spreadProps(__spreadValues({}, plotlyDefaultData), {
|
|
209
|
-
x: [],
|
|
210
|
-
y: []
|
|
211
|
-
})
|
|
212
|
-
];
|
|
213
|
-
this.host = host;
|
|
214
|
-
__privateSet(this, _collectionController, new CollectionController(this.host, {
|
|
215
|
-
getCollectionEntryId: () => __privateMethod(this, _getCollectionEntryId, getCollectionEntryId_fn).call(this),
|
|
216
|
-
getBearerToken: () => this.host.bearerToken
|
|
217
|
-
}));
|
|
218
|
-
__privateSet(this, _harmonyRequestController, new HarmonyRequestController(this.host));
|
|
219
|
-
new h(host, {
|
|
220
|
-
task: async (_args, { signal }) => {
|
|
221
|
-
var _a;
|
|
222
|
-
const { jobId } = this.host;
|
|
223
|
-
if (!jobId || !this.host.bearerToken || this.host.startDate && this.host.endDate && this.host.location) {
|
|
224
|
-
return;
|
|
225
|
-
}
|
|
226
|
-
const jobStatus = await harmonyApi.getJobStatus(jobId, {
|
|
227
|
-
bearerToken: this.host.bearerToken,
|
|
228
|
-
signal
|
|
229
|
-
});
|
|
230
|
-
const parsed = HarmonyRequest.fromUrl(jobStatus.request);
|
|
231
|
-
const {
|
|
232
|
-
startDate,
|
|
233
|
-
endDate,
|
|
234
|
-
location,
|
|
235
|
-
variables,
|
|
236
|
-
variableConceptIds
|
|
237
|
-
} = parsed.options;
|
|
238
|
-
if (startDate)
|
|
239
|
-
this.host.startDate = startDate;
|
|
240
|
-
if (endDate)
|
|
241
|
-
this.host.endDate = endDate;
|
|
242
|
-
if (location instanceof LatLng) {
|
|
243
|
-
this.host.location = `${location.lat},${location.lng}`;
|
|
244
|
-
} else if (location instanceof LatLngBounds) {
|
|
245
|
-
const [w, s, e, n] = [
|
|
246
|
-
location.getWest(),
|
|
247
|
-
location.getSouth(),
|
|
248
|
-
location.getEast(),
|
|
249
|
-
location.getNorth()
|
|
250
|
-
];
|
|
251
|
-
this.host.location = `${w},${s},${e},${n}`;
|
|
252
|
-
}
|
|
253
|
-
const variableId = (_a = variables == null ? void 0 : variables[0]) != null ? _a : variableConceptIds == null ? void 0 : variableConceptIds[0];
|
|
254
|
-
if (variableId && !this.host.variableEntryId) {
|
|
255
|
-
this.host.variableEntryId = variableId;
|
|
256
|
-
}
|
|
257
|
-
this.host.requestUpdate();
|
|
258
|
-
},
|
|
259
|
-
args: () => [this.host.jobId, this.host.bearerToken]
|
|
260
|
-
});
|
|
261
|
-
this.task = new h(host, {
|
|
262
|
-
// passing the signal in so the fetch request will be aborted when the task is aborted
|
|
263
|
-
task: async (_args, { signal }) => {
|
|
264
|
-
var _a, _b;
|
|
265
|
-
console.log("Fetching time series data", {
|
|
266
|
-
variables: __privateMethod(this, _getRequestedVariables, getRequestedVariables_fn).call(this),
|
|
267
|
-
startDate: this.host.startDate,
|
|
268
|
-
endDate: this.host.endDate,
|
|
269
|
-
location: this.host.location
|
|
270
|
-
});
|
|
271
|
-
if (!__privateMethod(this, _getRequestedVariables, getRequestedVariables_fn).call(this).length || !this.host.startDate || !this.host.endDate || !this.host.location) {
|
|
272
|
-
console.log("Requirements not met to fetch the time series data ");
|
|
273
|
-
const currentVariableIds = __privateMethod(this, _getRequestedVariables, getRequestedVariables_fn).call(this).map((v) => v.dataFieldId).join("|");
|
|
274
|
-
if (currentVariableIds !== __privateGet(this, _lastFetchedVariableIds)) {
|
|
275
|
-
this.lastTaskValue = void 0;
|
|
276
|
-
}
|
|
277
|
-
return i;
|
|
278
|
-
}
|
|
279
|
-
const requestedVariables = __privateMethod(this, _getRequestedVariables, getRequestedVariables_fn).call(this);
|
|
280
|
-
const seriesResults = await Promise.all(
|
|
281
|
-
requestedVariables.map(async (variable) => {
|
|
282
|
-
var _a2;
|
|
283
|
-
const timeSeries = await __privateMethod(this, _loadTimeSeries, loadTimeSeries_fn).call(this, signal, variable);
|
|
284
|
-
const filteredData = __privateMethod(this, _filterFillValues, filterFillValues_fn).call(this, timeSeries.data, (_a2 = timeSeries.metadata) == null ? void 0 : _a2.undef);
|
|
285
|
-
return {
|
|
286
|
-
variable,
|
|
287
|
-
timeSeries,
|
|
288
|
-
filteredData
|
|
289
|
-
};
|
|
290
|
-
})
|
|
291
|
-
);
|
|
292
|
-
this.metadata = (_a = seriesResults[0]) == null ? void 0 : _a.timeSeries.metadata;
|
|
293
|
-
__privateSet(this, _lastFetchedVariableIds, __privateMethod(this, _getRequestedVariables, getRequestedVariables_fn).call(this).map((v) => v.dataFieldId).join("|"));
|
|
294
|
-
this.lastTaskValue = seriesResults.map(
|
|
295
|
-
({ variable, filteredData }) => {
|
|
296
|
-
var _a2, _b2;
|
|
297
|
-
return __spreadProps(__spreadValues({}, plotlyDefaultData), {
|
|
298
|
-
name: (_b2 = (_a2 = variable.dataFieldLongName) != null ? _a2 : variable.dataFieldShortName) != null ? _b2 : variable.dataFieldId,
|
|
299
|
-
hovertemplate: variable.dataFieldUnits ? `%{x}<br>%{y} ${variable.dataFieldUnits}<extra>%{fullData.name}</extra>` : "%{x}<br>%{y}<extra>%{fullData.name}</extra>",
|
|
300
|
-
x: filteredData.map((row) => row.timestamp),
|
|
301
|
-
y: filteredData.map((row) => row.value)
|
|
302
|
-
});
|
|
303
|
-
}
|
|
304
|
-
);
|
|
305
|
-
const firstSeries = seriesResults[0];
|
|
306
|
-
if (!firstSeries) {
|
|
307
|
-
return (_b = this.lastTaskValue) != null ? _b : this.emptyPlotData;
|
|
308
|
-
}
|
|
309
|
-
this.host.emit("terra-time-series-data-change", {
|
|
310
|
-
detail: {
|
|
311
|
-
data: firstSeries.timeSeries,
|
|
312
|
-
variable: firstSeries.variable,
|
|
313
|
-
series: seriesResults.map(({ variable, timeSeries }) => ({
|
|
314
|
-
variable,
|
|
315
|
-
data: timeSeries
|
|
316
|
-
})),
|
|
317
|
-
startDate: formatDate(this.host.startDate),
|
|
318
|
-
endDate: formatDate(this.host.endDate),
|
|
319
|
-
location: this.host.location
|
|
320
|
-
}
|
|
321
|
-
});
|
|
322
|
-
if (__privateGet(this, _lastHarmonyJobId)) {
|
|
323
|
-
__privateMethod(this, _capturePlotThumbnail, capturePlotThumbnail_fn).call(this, __privateGet(this, _lastHarmonyJobId)).catch(
|
|
324
|
-
console.error
|
|
325
|
-
);
|
|
326
|
-
}
|
|
327
|
-
return this.lastTaskValue;
|
|
328
|
-
},
|
|
329
|
-
args: () => [
|
|
330
|
-
this.host.catalogVariable,
|
|
331
|
-
this.host.catalogVariables,
|
|
332
|
-
this.host.startDate,
|
|
333
|
-
this.host.endDate,
|
|
334
|
-
this.host.location
|
|
335
|
-
]
|
|
336
|
-
});
|
|
337
|
-
}
|
|
338
|
-
render(renderFunctions) {
|
|
339
|
-
return this.task.render(renderFunctions);
|
|
340
|
-
}
|
|
341
|
-
/**
|
|
342
|
-
* Cancels the in-flight Harmony job server-side (best-effort) and aborts
|
|
343
|
-
* the local data-loading task.
|
|
344
|
-
*/
|
|
345
|
-
async cancelJob() {
|
|
346
|
-
const jobId = __privateGet(this, _harmonyRequestController).jobId;
|
|
347
|
-
if (jobId && jobId !== "new") {
|
|
348
|
-
try {
|
|
349
|
-
await __privateGet(this, _harmonyRequestController).cancelJob({
|
|
350
|
-
jobId,
|
|
351
|
-
options: { bearerToken: this.host.bearerToken }
|
|
352
|
-
});
|
|
353
|
-
} catch (error) {
|
|
354
|
-
console.warn("Failed to cancel Harmony job", error);
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
this.task.abort("Cancelled time series request");
|
|
358
|
-
}
|
|
359
|
-
/**
|
|
360
|
-
* Gets the cache key for the current time series data
|
|
361
|
-
*/
|
|
362
|
-
getCacheKey() {
|
|
363
|
-
if (!this.host.location || !this.host.catalogVariable) {
|
|
364
|
-
return "";
|
|
365
|
-
}
|
|
366
|
-
return this.getCacheKeyForVariable(this.host.catalogVariable);
|
|
367
|
-
}
|
|
368
|
-
getCacheKeyForVariable(catalogVariable) {
|
|
369
|
-
return __privateGet(this, _cacheService).getCacheKeyForVariable(
|
|
370
|
-
catalogVariable.dataFieldId,
|
|
371
|
-
this.host.location,
|
|
372
|
-
this.host.environment
|
|
373
|
-
);
|
|
374
|
-
}
|
|
375
|
-
/**
|
|
376
|
-
* Called when the user confirms the data point warning
|
|
377
|
-
*/
|
|
378
|
-
confirmDataPointWarning() {
|
|
379
|
-
__privateSet(this, _userConfirmedWarning, true);
|
|
380
|
-
this.host.showDataPointWarning = false;
|
|
381
|
-
}
|
|
382
|
-
};
|
|
383
|
-
_userConfirmedWarning = new WeakMap();
|
|
384
|
-
_cacheService = new WeakMap();
|
|
385
|
-
_thumbnailService = new WeakMap();
|
|
386
|
-
_lastHarmonyJobId = new WeakMap();
|
|
387
|
-
_lastFetchedVariableIds = new WeakMap();
|
|
388
|
-
_collectionController = new WeakMap();
|
|
389
|
-
_harmonyRequestController = new WeakMap();
|
|
390
|
-
_emitChunkProgress = new WeakSet();
|
|
391
|
-
emitChunkProgress_fn = function(currentChunk, totalChunks) {
|
|
392
|
-
this.host.dispatchEvent(
|
|
393
|
-
new CustomEvent("terra-time-series-chunk-progress-change", {
|
|
394
|
-
detail: {
|
|
395
|
-
currentChunk,
|
|
396
|
-
totalChunks
|
|
397
|
-
},
|
|
398
|
-
bubbles: true,
|
|
399
|
-
composed: true
|
|
400
|
-
})
|
|
401
|
-
);
|
|
402
|
-
};
|
|
403
|
-
_getRequestedVariables = new WeakSet();
|
|
404
|
-
getRequestedVariables_fn = function() {
|
|
405
|
-
var _a;
|
|
406
|
-
if ((_a = this.host.catalogVariables) == null ? void 0 : _a.length) {
|
|
407
|
-
return this.host.catalogVariables;
|
|
408
|
-
}
|
|
409
|
-
if (this.host.catalogVariable) {
|
|
410
|
-
return [this.host.catalogVariable];
|
|
411
|
-
}
|
|
412
|
-
return [];
|
|
413
|
-
};
|
|
414
|
-
_loadTimeSeries = new WeakSet();
|
|
415
|
-
loadTimeSeries_fn = async function(signal, catalogVariable) {
|
|
416
|
-
var _a, _b, _c, _d, _e;
|
|
417
|
-
const hostStartDate = this.host.startDate;
|
|
418
|
-
const hostEndDate = this.host.endDate;
|
|
419
|
-
if (!hostStartDate || !hostEndDate) {
|
|
420
|
-
throw new Error(
|
|
421
|
-
"Start and end date are required to fetch time series data"
|
|
422
|
-
);
|
|
423
|
-
}
|
|
424
|
-
const hasTimeComponent = (dateStr) => /T\d{2}:\d{2}/.test(dateStr);
|
|
425
|
-
const startDate = getUTCDate(hostStartDate);
|
|
426
|
-
const endDate = getUTCDate(hostEndDate, !hasTimeComponent(hostEndDate));
|
|
427
|
-
const cacheKey = this.getCacheKeyForVariable(catalogVariable);
|
|
428
|
-
const variableEntryId = catalogVariable.dataFieldId;
|
|
429
|
-
console.log(
|
|
430
|
-
"Loading time series for variable",
|
|
431
|
-
catalogVariable,
|
|
432
|
-
this.host.startDate,
|
|
433
|
-
this.host.endDate,
|
|
434
|
-
this.host.location
|
|
435
|
-
);
|
|
436
|
-
if (this.host.jobId) {
|
|
437
|
-
const jobStatus = await __privateMethod(this, _waitForHarmonyJob, waitForHarmonyJob_fn).call(this, this.host.jobId, signal);
|
|
438
|
-
if (jobStatus.status === "failed" /* FAILED */) {
|
|
439
|
-
const errorMessage = jobStatus.message || ((_b = (_a = jobStatus.errors) == null ? void 0 : _a[0]) == null ? void 0 : _b.message) || "The subset job failed";
|
|
440
|
-
const error = new Error(errorMessage);
|
|
441
|
-
__privateMethod(this, _handleHarmonyError, handleHarmonyError_fn).call(this, error, jobStatus.errors);
|
|
442
|
-
throw error;
|
|
443
|
-
}
|
|
444
|
-
if (jobStatus.status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ && jobStatus.errors && jobStatus.errors.length > 0) {
|
|
445
|
-
const errorMessage = jobStatus.errors[0].message || "The subset job completed with errors";
|
|
446
|
-
const error = new Error(errorMessage);
|
|
447
|
-
__privateMethod(this, _handleHarmonyError, handleHarmonyError_fn).call(this, error, jobStatus.errors);
|
|
448
|
-
throw error;
|
|
449
|
-
}
|
|
450
|
-
const dataLink = (_c = jobStatus.links.find((link) => link.rel === "data")) == null ? void 0 : _c.href;
|
|
451
|
-
if (!dataLink) {
|
|
452
|
-
const error = new Error("No data link found for Harmony job");
|
|
453
|
-
__privateMethod(this, _handleHarmonyError, handleHarmonyError_fn).call(this, error, jobStatus.errors);
|
|
454
|
-
throw error;
|
|
455
|
-
}
|
|
456
|
-
__privateSet(this, _lastHarmonyJobId, this.host.jobId);
|
|
457
|
-
return __privateMethod(this, _fetchHarmonyDataLink, fetchHarmonyDataLink_fn).call(this, dataLink, signal);
|
|
458
|
-
}
|
|
459
|
-
const existingTerraData = this.host.cache ? await __privateGet(this, _cacheService).getValidCacheEntry(cacheKey) : void 0;
|
|
460
|
-
const existingStartDate = (existingTerraData == null ? void 0 : existingTerraData.startDate) ? getUTCDate(existingTerraData.startDate) : void 0;
|
|
461
|
-
const existingEndDate = (existingTerraData == null ? void 0 : existingTerraData.endDate) ? getUTCDate(existingTerraData.endDate, true) : void 0;
|
|
462
|
-
console.log("Existing data?", existingTerraData ? "Yes" : "No");
|
|
463
|
-
console.log(
|
|
464
|
-
"Is date range contained?",
|
|
465
|
-
existingStartDate && existingEndDate ? isDateRangeContained(
|
|
466
|
-
startDate,
|
|
467
|
-
endDate,
|
|
468
|
-
existingStartDate,
|
|
469
|
-
existingEndDate
|
|
470
|
-
) : false
|
|
471
|
-
);
|
|
472
|
-
console.log(
|
|
473
|
-
"Is cache valid?",
|
|
474
|
-
__privateGet(this, _cacheService).isCacheValid(existingTerraData)
|
|
475
|
-
);
|
|
476
|
-
if (existingTerraData && existingStartDate && existingEndDate && isDateRangeContained(
|
|
477
|
-
startDate,
|
|
478
|
-
endDate,
|
|
479
|
-
existingStartDate,
|
|
480
|
-
existingEndDate
|
|
481
|
-
) && __privateGet(this, _cacheService).isCacheValid(existingTerraData)) {
|
|
482
|
-
console.log("Returning existing data from cache ", this.getCacheKey());
|
|
483
|
-
const fillValue = (_d = existingTerraData.metadata) == null ? void 0 : _d.undef;
|
|
484
|
-
const filteredData2 = __privateMethod(this, _filterFillValues, filterFillValues_fn).call(this, existingTerraData.data, fillValue);
|
|
485
|
-
const filteredTimeSeries = __spreadProps(__spreadValues({}, existingTerraData), {
|
|
486
|
-
data: filteredData2
|
|
487
|
-
});
|
|
488
|
-
return __privateGet(this, _cacheService).getDataInRange(
|
|
489
|
-
filteredTimeSeries,
|
|
490
|
-
startDate,
|
|
491
|
-
endDate
|
|
492
|
-
);
|
|
493
|
-
}
|
|
494
|
-
const dataGaps = __privateGet(this, _cacheService).calculateDataGaps(
|
|
495
|
-
startDate,
|
|
496
|
-
endDate,
|
|
497
|
-
existingTerraData
|
|
498
|
-
);
|
|
499
|
-
if (dataGaps.length === 0 && existingTerraData) {
|
|
500
|
-
const filteredData2 = __privateMethod(this, _filterFillValues, filterFillValues_fn).call(this, existingTerraData.data, (_e = existingTerraData.metadata) == null ? void 0 : _e.undef);
|
|
501
|
-
const filteredTimeSeries = __spreadProps(__spreadValues({}, existingTerraData), {
|
|
502
|
-
data: filteredData2
|
|
503
|
-
});
|
|
504
|
-
return __privateGet(this, _cacheService).getDataInRange(
|
|
505
|
-
filteredTimeSeries,
|
|
506
|
-
startDate,
|
|
507
|
-
endDate
|
|
508
|
-
);
|
|
509
|
-
}
|
|
510
|
-
let allData = (existingTerraData == null ? void 0 : existingTerraData.data) || [];
|
|
511
|
-
let metadata = (existingTerraData == null ? void 0 : existingTerraData.metadata) || {};
|
|
512
|
-
let pendingGaps = dataGaps;
|
|
513
|
-
for (let pass = 0; pass < MAX_GAP_FILL_PASSES && pendingGaps.length > 0; pass++) {
|
|
514
|
-
const detectedInterval = allData.length ? __privateMethod(this, _detectTimeInterval, detectTimeInterval_fn).call(this, allData) : (existingTerraData == null ? void 0 : existingTerraData.data) ? __privateMethod(this, _detectTimeInterval, detectTimeInterval_fn).call(this, existingTerraData.data) : null;
|
|
515
|
-
const timeInterval = detectedInterval || catalogVariable.dataProductTimeInterval || "daily" /* Daily */;
|
|
516
|
-
const allChunks = [];
|
|
517
|
-
for (const gap of pendingGaps) {
|
|
518
|
-
const chunks = calculateDateChunks(timeInterval, gap.start, gap.end);
|
|
519
|
-
allChunks.push(...chunks);
|
|
520
|
-
}
|
|
521
|
-
const shouldReportChunkProgress = allChunks.length > 1;
|
|
522
|
-
const previousDataLength = allData.length;
|
|
523
|
-
try {
|
|
524
|
-
for (const [index, chunk] of allChunks.entries()) {
|
|
525
|
-
if (shouldReportChunkProgress) {
|
|
526
|
-
__privateMethod(this, _emitChunkProgress, emitChunkProgress_fn).call(this, index + 1, allChunks.length);
|
|
527
|
-
}
|
|
528
|
-
const result = await __privateMethod(this, _fetchTimeSeriesChunk, fetchTimeSeriesChunk_fn).call(this, variableEntryId, chunk.start, chunk.end, signal, catalogVariable);
|
|
529
|
-
allData = [...allData, ...result.data];
|
|
530
|
-
metadata = __spreadValues(__spreadValues({}, metadata), result.metadata);
|
|
531
|
-
allData = __privateGet(this, _cacheService).deduplicateByTimestamp(allData);
|
|
532
|
-
if (this.host.cache) {
|
|
533
|
-
await __privateGet(this, _cacheService).storeConsolidatedData({
|
|
534
|
-
cacheKey,
|
|
535
|
-
variableEntryId,
|
|
536
|
-
environment: this.host.environment,
|
|
537
|
-
metadata,
|
|
538
|
-
data: allData
|
|
539
|
-
});
|
|
540
|
-
}
|
|
541
|
-
}
|
|
542
|
-
} finally {
|
|
543
|
-
if (shouldReportChunkProgress) {
|
|
544
|
-
__privateMethod(this, _emitChunkProgress, emitChunkProgress_fn).call(this, 0, 0);
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
if (allData.length === previousDataLength) {
|
|
548
|
-
break;
|
|
549
|
-
}
|
|
550
|
-
const sortedData = [...allData].sort(
|
|
551
|
-
(a, b) => new Date(a.timestamp).getTime() - new Date(b.timestamp).getTime()
|
|
552
|
-
);
|
|
553
|
-
const synthesizedCoverage = sortedData.length > 0 ? {
|
|
554
|
-
variableEntryId,
|
|
555
|
-
key: cacheKey,
|
|
556
|
-
startDate: sortedData[0].timestamp,
|
|
557
|
-
endDate: sortedData[sortedData.length - 1].timestamp,
|
|
558
|
-
cachedAt: Date.now(),
|
|
559
|
-
metadata,
|
|
560
|
-
data: sortedData,
|
|
561
|
-
environment: this.host.environment
|
|
562
|
-
} : void 0;
|
|
563
|
-
pendingGaps = __privateGet(this, _cacheService).calculateDataGaps(
|
|
564
|
-
startDate,
|
|
565
|
-
endDate,
|
|
566
|
-
synthesizedCoverage
|
|
567
|
-
);
|
|
568
|
-
}
|
|
569
|
-
const consolidatedResult = {
|
|
570
|
-
metadata,
|
|
571
|
-
data: allData
|
|
572
|
-
};
|
|
573
|
-
if (this.host.cache) {
|
|
574
|
-
await __privateGet(this, _cacheService).storeConsolidatedData({
|
|
575
|
-
cacheKey,
|
|
576
|
-
variableEntryId,
|
|
577
|
-
environment: this.host.environment,
|
|
578
|
-
metadata: consolidatedResult.metadata,
|
|
579
|
-
data: allData,
|
|
580
|
-
requestedStartDate: startDate,
|
|
581
|
-
requestedEndDate: endDate
|
|
582
|
-
});
|
|
583
|
-
}
|
|
584
|
-
const filteredData = __privateMethod(this, _filterFillValues, filterFillValues_fn).call(this, allData, metadata == null ? void 0 : metadata.undef);
|
|
585
|
-
return __privateGet(this, _cacheService).getDataInRange(
|
|
586
|
-
{
|
|
587
|
-
metadata: consolidatedResult.metadata,
|
|
588
|
-
data: filteredData
|
|
589
|
-
},
|
|
590
|
-
startDate,
|
|
591
|
-
endDate
|
|
592
|
-
);
|
|
593
|
-
};
|
|
594
|
-
_fetchTimeSeriesChunk = new WeakSet();
|
|
595
|
-
fetchTimeSeriesChunk_fn = async function(variableEntryId, startDate, endDate, signal, catalogVariable) {
|
|
596
|
-
var _a, _b, _c;
|
|
597
|
-
if (!__privateGet(this, _userConfirmedWarning) && !__privateMethod(this, _checkDataPointLimits, checkDataPointLimits_fn).call(this, catalogVariable, startDate, endDate)) {
|
|
598
|
-
throw new Error("User cancelled data point warning");
|
|
599
|
-
}
|
|
600
|
-
__privateSet(this, _userConfirmedWarning, false);
|
|
601
|
-
const location = __privateMethod(this, _parseLocationInput, parseLocationInput_fn).call(this);
|
|
602
|
-
const isBoundingBoxLocation = location instanceof LatLngBounds;
|
|
603
|
-
const collectionConceptId = await __privateMethod(this, _waitForCollectionConceptId, waitForCollectionConceptId_fn).call(this, signal);
|
|
604
|
-
const harmonyRequest = new HarmonyRequest({
|
|
605
|
-
collectionConceptId,
|
|
606
|
-
location
|
|
607
|
-
}).variable(variableEntryId).dateRange(startDate.toISOString(), endDate.toISOString()).format("text/csv").label("terra-time-series");
|
|
608
|
-
if (this.host.applicationId) {
|
|
609
|
-
harmonyRequest.label(this.host.applicationId);
|
|
610
|
-
}
|
|
611
|
-
harmonyRequest.addLabelsFromVariable(catalogVariable);
|
|
612
|
-
if (isBoundingBoxLocation) {
|
|
613
|
-
harmonyRequest.average("area");
|
|
614
|
-
}
|
|
615
|
-
let jobId;
|
|
616
|
-
try {
|
|
617
|
-
const job = await __privateGet(this, _harmonyRequestController).startJob({
|
|
618
|
-
harmonyRequest,
|
|
619
|
-
options: {
|
|
620
|
-
signal,
|
|
621
|
-
bearerToken: this.host.bearerToken,
|
|
622
|
-
environment: this.host.environment
|
|
623
|
-
}
|
|
624
|
-
});
|
|
625
|
-
jobId = job.jobID;
|
|
626
|
-
__privateSet(this, _lastHarmonyJobId, jobId);
|
|
627
|
-
this.host.emit("terra-harmony-job-status-update", {
|
|
628
|
-
detail: job
|
|
629
|
-
});
|
|
630
|
-
} catch (error) {
|
|
631
|
-
__privateMethod(this, _handleHarmonyError, handleHarmonyError_fn).call(this, error);
|
|
632
|
-
throw error;
|
|
633
|
-
}
|
|
634
|
-
const jobStatus = await __privateMethod(this, _waitForHarmonyJob, waitForHarmonyJob_fn).call(this, jobId, signal);
|
|
635
|
-
if (jobStatus.status === "failed" /* FAILED */) {
|
|
636
|
-
const errorMessage = jobStatus.message || ((_b = (_a = jobStatus.errors) == null ? void 0 : _a[0]) == null ? void 0 : _b.message) || "The subset job failed";
|
|
637
|
-
const error = new Error(errorMessage);
|
|
638
|
-
__privateMethod(this, _handleHarmonyError, handleHarmonyError_fn).call(this, error, jobStatus.errors);
|
|
639
|
-
throw error;
|
|
640
|
-
}
|
|
641
|
-
if (jobStatus.status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ && jobStatus.errors && jobStatus.errors.length > 0) {
|
|
642
|
-
const errorMessage = jobStatus.errors[0].message || "The subset job completed with errors";
|
|
643
|
-
const error = new Error(errorMessage);
|
|
644
|
-
__privateMethod(this, _handleHarmonyError, handleHarmonyError_fn).call(this, error, jobStatus.errors);
|
|
645
|
-
throw error;
|
|
646
|
-
}
|
|
647
|
-
const dataLink = (_c = jobStatus.links.find((link) => link.rel === "data")) == null ? void 0 : _c.href;
|
|
648
|
-
if (!dataLink) {
|
|
649
|
-
const error = new Error("No data link found for Harmony job");
|
|
650
|
-
__privateMethod(this, _handleHarmonyError, handleHarmonyError_fn).call(this, error, jobStatus.errors);
|
|
651
|
-
throw error;
|
|
652
|
-
}
|
|
653
|
-
return __privateMethod(this, _fetchHarmonyDataLink, fetchHarmonyDataLink_fn).call(this, dataLink, signal);
|
|
654
|
-
};
|
|
655
|
-
_fetchHarmonyDataLink = new WeakSet();
|
|
656
|
-
fetchHarmonyDataLink_fn = async function(dataLink, signal) {
|
|
657
|
-
const normalizedLink = dataLink.replace("proxy-timeseries", "timeseries");
|
|
658
|
-
const proxyUrl = `${HARMONY_LINK_PROXY_URL}?url=${encodeURIComponent(normalizedLink)}`;
|
|
659
|
-
const response = await fetch(proxyUrl, {
|
|
660
|
-
signal,
|
|
661
|
-
headers: __spreadValues({}, this.host.bearerToken ? { Authorization: `Bearer ${this.host.bearerToken}` } : {})
|
|
662
|
-
});
|
|
663
|
-
if (!response.ok) {
|
|
664
|
-
const error = new Error(
|
|
665
|
-
`Failed to fetch subset job link contents: ${response.statusText}`
|
|
666
|
-
);
|
|
667
|
-
__privateMethod(this, _handleHarmonyError, handleHarmonyError_fn).call(this, error);
|
|
668
|
-
throw error;
|
|
669
|
-
}
|
|
670
|
-
return __privateMethod(this, _parseTimeSeriesCsv, parseTimeSeriesCsv_fn).call(this, await response.text());
|
|
671
|
-
};
|
|
672
|
-
_waitForHarmonyJob = new WeakSet();
|
|
673
|
-
waitForHarmonyJob_fn = async function(jobId, signal) {
|
|
674
|
-
__privateGet(this, _harmonyRequestController).startPollForJobStatus(jobId, {
|
|
675
|
-
bearerToken: this.host.bearerToken
|
|
676
|
-
});
|
|
677
|
-
while (true) {
|
|
678
|
-
if (signal.aborted) {
|
|
679
|
-
throw new Error("Job polling was aborted");
|
|
680
|
-
}
|
|
681
|
-
const jobStatus = __privateGet(this, _harmonyRequestController).data;
|
|
682
|
-
if (jobStatus) {
|
|
683
|
-
this.host.emit("terra-harmony-job-status-update", {
|
|
684
|
-
detail: jobStatus
|
|
685
|
-
});
|
|
686
|
-
}
|
|
687
|
-
if ((jobStatus == null ? void 0 : jobStatus.jobID) === jobId && FINAL_STATUSES.has(jobStatus.status)) {
|
|
688
|
-
return jobStatus;
|
|
689
|
-
}
|
|
690
|
-
await __privateMethod(this, _sleep, sleep_fn).call(this, HARMONY_STATUS_WAIT_INTERVAL_MS, signal);
|
|
691
|
-
}
|
|
692
|
-
};
|
|
693
|
-
_parseTimeSeriesCsv = new WeakSet();
|
|
694
|
-
parseTimeSeriesCsv_fn = function(text) {
|
|
695
|
-
const lines = text.split("\n").map((line) => line.trim()).filter(Boolean);
|
|
696
|
-
const metadata = {};
|
|
697
|
-
const data = [];
|
|
698
|
-
let inDataSection = false;
|
|
699
|
-
let dataHeaders = [];
|
|
700
|
-
for (const line of lines) {
|
|
701
|
-
if (!inDataSection) {
|
|
702
|
-
if (line.startsWith("Timestamp (UTC)") || line.startsWith("time,")) {
|
|
703
|
-
dataHeaders = line.split(",").map((h2) => h2.trim());
|
|
704
|
-
inDataSection = true;
|
|
705
|
-
continue;
|
|
706
|
-
}
|
|
707
|
-
const [key, value] = line.split(",");
|
|
708
|
-
if (key && value !== void 0) {
|
|
709
|
-
metadata[key.trim()] = value.trim();
|
|
710
|
-
}
|
|
711
|
-
} else {
|
|
712
|
-
const parts = line.split(",");
|
|
713
|
-
if (parts.length === dataHeaders.length) {
|
|
714
|
-
const row = [];
|
|
715
|
-
for (let i2 = 0; i2 < dataHeaders.length; i2++) {
|
|
716
|
-
row.push(parts[i2].trim());
|
|
717
|
-
}
|
|
718
|
-
const timestamp = __privateMethod(this, _normalizeTimestamp, normalizeTimestamp_fn).call(this, row[0]);
|
|
719
|
-
data.push({
|
|
720
|
-
timestamp,
|
|
721
|
-
value: row[1]
|
|
722
|
-
});
|
|
723
|
-
}
|
|
724
|
-
}
|
|
725
|
-
}
|
|
726
|
-
return { metadata, data };
|
|
727
|
-
};
|
|
728
|
-
_normalizeTimestamp = new WeakSet();
|
|
729
|
-
normalizeTimestamp_fn = function(timestamp) {
|
|
730
|
-
try {
|
|
731
|
-
const date = new Date(timestamp);
|
|
732
|
-
if (Number.isNaN(date.getTime())) {
|
|
733
|
-
console.warn("Invalid timestamp:", timestamp);
|
|
734
|
-
return timestamp;
|
|
735
|
-
}
|
|
736
|
-
return date.toISOString();
|
|
737
|
-
} catch (error) {
|
|
738
|
-
console.warn("Failed to normalize timestamp:", timestamp, error);
|
|
739
|
-
return timestamp;
|
|
740
|
-
}
|
|
741
|
-
};
|
|
742
|
-
_filterFillValues = new WeakSet();
|
|
743
|
-
filterFillValues_fn = function(data, fillValue) {
|
|
744
|
-
if (!fillValue) {
|
|
745
|
-
return data;
|
|
746
|
-
}
|
|
747
|
-
return data.filter((row) => {
|
|
748
|
-
const rowValue = row.value.trim();
|
|
749
|
-
const fillValueStr = String(fillValue).trim();
|
|
750
|
-
if (rowValue === fillValueStr) {
|
|
751
|
-
return false;
|
|
752
|
-
}
|
|
753
|
-
const rowNum = parseFloat(rowValue);
|
|
754
|
-
const fillNum = parseFloat(fillValueStr);
|
|
755
|
-
if (!Number.isNaN(rowNum) && !Number.isNaN(fillNum) && rowNum === fillNum) {
|
|
756
|
-
return false;
|
|
757
|
-
}
|
|
758
|
-
return true;
|
|
759
|
-
});
|
|
760
|
-
};
|
|
761
|
-
_checkDataPointLimits = new WeakSet();
|
|
762
|
-
checkDataPointLimits_fn = function(catalogVariable, startDate, endDate) {
|
|
763
|
-
this.host.estimatedDataPoints = calculateDataPoints(
|
|
764
|
-
catalogVariable.dataProductTimeInterval,
|
|
765
|
-
startDate,
|
|
766
|
-
endDate
|
|
767
|
-
);
|
|
768
|
-
if (this.host.estimatedDataPoints < NUM_DATAPOINTS_TO_WARN_USER) {
|
|
769
|
-
return true;
|
|
770
|
-
}
|
|
771
|
-
return true;
|
|
772
|
-
};
|
|
773
|
-
_detectTimeInterval = new WeakSet();
|
|
774
|
-
detectTimeInterval_fn = function(data) {
|
|
775
|
-
if (data.length < 2) {
|
|
776
|
-
return null;
|
|
777
|
-
}
|
|
778
|
-
const sortedData = [...data].sort(
|
|
779
|
-
(a, b) => new Date(a.timestamp).getTime() - new Date(b.timestamp).getTime()
|
|
780
|
-
);
|
|
781
|
-
const intervals = [];
|
|
782
|
-
for (let i2 = 1; i2 < Math.min(sortedData.length, 100); i2++) {
|
|
783
|
-
const prevTime = new Date(sortedData[i2 - 1].timestamp).getTime();
|
|
784
|
-
const currTime = new Date(sortedData[i2].timestamp).getTime();
|
|
785
|
-
const diffMs = currTime - prevTime;
|
|
786
|
-
if (diffMs > 0) {
|
|
787
|
-
intervals.push(diffMs);
|
|
788
|
-
}
|
|
789
|
-
}
|
|
790
|
-
if (intervals.length === 0) {
|
|
791
|
-
return null;
|
|
792
|
-
}
|
|
793
|
-
const intervalCounts = /* @__PURE__ */ new Map();
|
|
794
|
-
intervals.forEach((interval) => {
|
|
795
|
-
const rounded = Math.round(interval / (1e3 * 60)) * (1e3 * 60);
|
|
796
|
-
intervalCounts.set(rounded, (intervalCounts.get(rounded) || 0) + 1);
|
|
797
|
-
});
|
|
798
|
-
let mostCommonInterval = 0;
|
|
799
|
-
let maxCount = 0;
|
|
800
|
-
intervalCounts.forEach((count, interval) => {
|
|
801
|
-
if (count > maxCount) {
|
|
802
|
-
maxCount = count;
|
|
803
|
-
mostCommonInterval = interval;
|
|
804
|
-
}
|
|
805
|
-
});
|
|
806
|
-
const MILLIS_IN_HOUR2 = 1e3 * 60 * 60;
|
|
807
|
-
const MILLIS_IN_DAY2 = MILLIS_IN_HOUR2 * 24;
|
|
808
|
-
if (mostCommonInterval <= MILLIS_IN_HOUR2 / 2 + 6e4) {
|
|
809
|
-
return "half-hourly" /* HalfHourly */;
|
|
810
|
-
} else if (mostCommonInterval <= MILLIS_IN_HOUR2 + 6e4) {
|
|
811
|
-
return "hourly" /* Hourly */;
|
|
812
|
-
} else if (mostCommonInterval <= MILLIS_IN_HOUR2 * 3 + 6e4) {
|
|
813
|
-
return "3-hourly" /* ThreeHourly */;
|
|
814
|
-
} else if (mostCommonInterval <= MILLIS_IN_DAY2 + 6e4) {
|
|
815
|
-
return "daily" /* Daily */;
|
|
816
|
-
} else if (mostCommonInterval <= MILLIS_IN_DAY2 * 7 + 6e4) {
|
|
817
|
-
return "weekly" /* Weekly */;
|
|
818
|
-
}
|
|
819
|
-
return "daily" /* Daily */;
|
|
820
|
-
};
|
|
821
|
-
_getCollectionEntryId = new WeakSet();
|
|
822
|
-
getCollectionEntryId_fn = function() {
|
|
823
|
-
if (this.host.collection) {
|
|
824
|
-
return this.host.collection;
|
|
825
|
-
}
|
|
826
|
-
const variable = this.host.catalogVariable;
|
|
827
|
-
if (!variable) {
|
|
828
|
-
return void 0;
|
|
829
|
-
}
|
|
830
|
-
return `${variable.dataProductShortName}_${variable.dataProductVersion}`;
|
|
831
|
-
};
|
|
832
|
-
_waitForCollectionConceptId = new WeakSet();
|
|
833
|
-
waitForCollectionConceptId_fn = async function(signal) {
|
|
834
|
-
var _a;
|
|
835
|
-
const startedAt = Date.now();
|
|
836
|
-
while (Date.now() - startedAt < MAX_CONCEPT_ID_WAIT_MS) {
|
|
837
|
-
if (signal.aborted) {
|
|
838
|
-
throw new Error(
|
|
839
|
-
"Request aborted while waiting for collection metadata"
|
|
840
|
-
);
|
|
841
|
-
}
|
|
842
|
-
const conceptId = __privateGet(this, _collectionController).conceptId;
|
|
843
|
-
if (conceptId) {
|
|
844
|
-
return conceptId;
|
|
845
|
-
}
|
|
846
|
-
if ((_a = __privateGet(this, _collectionController).collection) == null ? void 0 : _a.isError) {
|
|
847
|
-
const error2 = new Error(
|
|
848
|
-
"Unable to load collection metadata needed for Harmony requests"
|
|
849
|
-
);
|
|
850
|
-
__privateMethod(this, _handleHarmonyError, handleHarmonyError_fn).call(this, error2);
|
|
851
|
-
throw error2;
|
|
852
|
-
}
|
|
853
|
-
await __privateMethod(this, _sleep, sleep_fn).call(this, HARMONY_STATUS_WAIT_INTERVAL_MS, signal);
|
|
854
|
-
}
|
|
855
|
-
const error = new Error(
|
|
856
|
-
"Timed out waiting for collection metadata needed for Harmony requests"
|
|
857
|
-
);
|
|
858
|
-
__privateMethod(this, _handleHarmonyError, handleHarmonyError_fn).call(this, error);
|
|
859
|
-
throw error;
|
|
860
|
-
};
|
|
861
|
-
_parseLocationInput = new WeakSet();
|
|
862
|
-
parseLocationInput_fn = function() {
|
|
863
|
-
var _a;
|
|
864
|
-
const rawLocation = decodeURIComponent((_a = this.host.location) != null ? _a : "");
|
|
865
|
-
const rawCoordinates = rawLocation.split(",").map((coord) => coord.trim());
|
|
866
|
-
const coordinates = rawCoordinates.map((coord) => Number(coord));
|
|
867
|
-
const hasInvalidCoordinates = rawCoordinates.some((coord) => coord.length === 0) || coordinates.some((value) => Number.isNaN(value));
|
|
868
|
-
if (hasInvalidCoordinates) {
|
|
869
|
-
const error2 = new Error(
|
|
870
|
-
'Invalid location format. Expected "lat,lon" or "west,south,east,north".'
|
|
871
|
-
);
|
|
872
|
-
this.host.dispatchEvent(
|
|
873
|
-
new CustomEvent("terra-time-series-error", {
|
|
874
|
-
detail: {
|
|
875
|
-
status: 400,
|
|
876
|
-
code: "INVALID_LOCATION",
|
|
877
|
-
message: error2.message,
|
|
878
|
-
context: rawLocation
|
|
879
|
-
},
|
|
880
|
-
bubbles: true,
|
|
881
|
-
composed: true
|
|
882
|
-
})
|
|
883
|
-
);
|
|
884
|
-
throw error2;
|
|
885
|
-
}
|
|
886
|
-
if (coordinates.length === 2) {
|
|
887
|
-
return new LatLng(coordinates[0], coordinates[1]);
|
|
888
|
-
}
|
|
889
|
-
if (coordinates.length === 4) {
|
|
890
|
-
return new LatLngBounds(coordinates);
|
|
891
|
-
}
|
|
892
|
-
const error = new Error(
|
|
893
|
-
'Invalid location format. Expected "lat,lon" or "west,south,east,north".'
|
|
894
|
-
);
|
|
895
|
-
this.host.dispatchEvent(
|
|
896
|
-
new CustomEvent("terra-time-series-error", {
|
|
897
|
-
detail: {
|
|
898
|
-
status: 400,
|
|
899
|
-
code: "INVALID_LOCATION",
|
|
900
|
-
message: error.message,
|
|
901
|
-
context: rawLocation
|
|
902
|
-
},
|
|
903
|
-
bubbles: true,
|
|
904
|
-
composed: true
|
|
905
|
-
})
|
|
906
|
-
);
|
|
907
|
-
throw error;
|
|
908
|
-
};
|
|
909
|
-
_capturePlotThumbnail = new WeakSet();
|
|
910
|
-
capturePlotThumbnail_fn = async function(harmonyJobId, delayMs = 1e3, thumbWidth = 200, thumbHeight = 200) {
|
|
911
|
-
var _a;
|
|
912
|
-
await __privateMethod(this, _sleep, sleep_fn).call(this, delayMs);
|
|
913
|
-
const plotEl = (_a = this.host.plot) == null ? void 0 : _a.base;
|
|
914
|
-
if (!plotEl) {
|
|
915
|
-
return;
|
|
916
|
-
}
|
|
917
|
-
try {
|
|
918
|
-
const dataUrl = await Plotly.toImage(plotEl, {
|
|
919
|
-
format: "jpeg",
|
|
920
|
-
width: 500,
|
|
921
|
-
height: 500
|
|
922
|
-
});
|
|
923
|
-
const img = new Image();
|
|
924
|
-
img.src = dataUrl;
|
|
925
|
-
await img.decode();
|
|
926
|
-
const canvas = document.createElement("canvas");
|
|
927
|
-
canvas.width = thumbWidth;
|
|
928
|
-
canvas.height = thumbHeight;
|
|
929
|
-
const ctx = canvas.getContext("2d");
|
|
930
|
-
if (!ctx)
|
|
931
|
-
return void 0;
|
|
932
|
-
ctx.drawImage(img, 0, 0, thumbWidth, thumbHeight);
|
|
933
|
-
const blob = await new Promise(
|
|
934
|
-
(resolve, reject) => canvas.toBlob(
|
|
935
|
-
(b) => b ? resolve(b) : reject(new Error("toBlob failed")),
|
|
936
|
-
"image/jpeg",
|
|
937
|
-
0.8
|
|
938
|
-
)
|
|
939
|
-
);
|
|
940
|
-
await __privateGet(this, _thumbnailService).store(harmonyJobId, blob);
|
|
941
|
-
} catch (error) {
|
|
942
|
-
console.error("Failed to capture time series thumbnail", error);
|
|
943
|
-
}
|
|
944
|
-
};
|
|
945
|
-
_sleep = new WeakSet();
|
|
946
|
-
sleep_fn = function(ms, signal) {
|
|
947
|
-
return new Promise((resolve, reject) => {
|
|
948
|
-
const timeoutId = setTimeout(() => {
|
|
949
|
-
if (signal) {
|
|
950
|
-
signal.removeEventListener("abort", handleAbort);
|
|
951
|
-
}
|
|
952
|
-
resolve();
|
|
953
|
-
}, ms);
|
|
954
|
-
const handleAbort = () => {
|
|
955
|
-
clearTimeout(timeoutId);
|
|
956
|
-
reject(new Error("Operation aborted"));
|
|
957
|
-
};
|
|
958
|
-
if (signal) {
|
|
959
|
-
signal.addEventListener("abort", handleAbort, { once: true });
|
|
960
|
-
}
|
|
961
|
-
});
|
|
962
|
-
};
|
|
963
|
-
_handleHarmonyError = new WeakSet();
|
|
964
|
-
handleHarmonyError_fn = function(error, jobErrors) {
|
|
965
|
-
const errorDetails = extractHarmonyError(error, jobErrors);
|
|
966
|
-
this.host.dispatchEvent(
|
|
967
|
-
new CustomEvent("terra-time-series-error", {
|
|
968
|
-
detail: errorDetails,
|
|
969
|
-
bubbles: true,
|
|
970
|
-
composed: true
|
|
971
|
-
})
|
|
972
|
-
);
|
|
973
|
-
};
|
|
974
|
-
|
|
975
|
-
export {
|
|
976
|
-
plotlyDefaultData,
|
|
977
|
-
TimeSeriesController
|
|
978
|
-
};
|