@nasa-terra/components 0.0.60 → 0.0.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/{chunk.M5HLSUC4.js → chunk.22DVIRSW.js} +11 -5
- package/{dist/chunks/chunk.D63J4RKY.js → cdn/chunks/chunk.26Y3U5MM.js} +9 -1
- package/{dist/chunks/chunk.SF6MBAEP.js → cdn/chunks/chunk.2DYHCVKO.js} +9 -0
- package/cdn/chunks/{chunk.5JW7A2AO.js → chunk.2OSE5USS.js} +13 -7
- package/cdn/chunks/{chunk.UGTZ22DI.js → chunk.3AZLGGEX.js} +14 -1
- package/cdn/chunks/{chunk.EWXWRDS2.js → chunk.4IW2ACWY.js} +15 -3
- package/cdn/chunks/chunk.4JAK7DMV.js +543 -0
- package/cdn/chunks/{chunk.4BMRBQYU.js → chunk.4K5J5VBI.js} +33 -17
- package/cdn/chunks/{chunk.PRXO3ACA.js → chunk.4VO545RN.js} +9 -1
- package/cdn/chunks/chunk.5QIMPBOI.js +19 -0
- package/cdn/chunks/{chunk.G7FG7ZK3.js → chunk.5SYTJEQ5.js} +14 -8
- package/cdn/chunks/{chunk.UP75L23G.js → chunk.5WLTVPIO.js} +9 -0
- package/cdn/chunks/{chunk.JPF7QPZA.js → chunk.6CNJJQTP.js} +9 -1
- package/cdn/chunks/{chunk.4EVDB43F.js → chunk.6WGBX3KH.js} +9 -1
- package/cdn/chunks/{chunk.4XR5KYKG.js → chunk.6YECHPFP.js} +9 -1
- package/{dist/chunks/chunk.7PAVW6KC.js → cdn/chunks/chunk.75PZH4W2.js} +9 -0
- package/cdn/chunks/{chunk.2UYVNOEX.js → chunk.7GBQEWVK.js} +22 -11
- package/{dist/chunks/chunk.UVHPNM6M.js → cdn/chunks/chunk.A4UWQ65F.js} +9 -0
- package/cdn/chunks/{chunk.HHCOVVBT.js → chunk.AQODH346.js} +9 -1
- package/cdn/chunks/{chunk.27EMK3NO.js → chunk.ARB3UVS4.js} +9 -1
- package/cdn/chunks/{chunk.IB2NB35Q.js → chunk.ASDVG6ZI.js} +14 -8
- package/cdn/chunks/chunk.BVUV4BRD.js +19 -0
- package/{dist/chunks/chunk.JUSZPVPU.js → cdn/chunks/chunk.BXZTBSH6.js} +9 -0
- package/cdn/chunks/{chunk.L7JBTN32.js → chunk.BYKT2EGD.js} +23 -17
- package/{dist/chunks/chunk.THGSR7ZK.js → cdn/chunks/chunk.C37EOONU.js} +9 -1
- package/{dist/chunks/chunk.7TBQFSZ7.js → cdn/chunks/chunk.CGUQRNUM.js} +9 -0
- package/cdn/chunks/{chunk.FPSSRS2U.js → chunk.CJDWJPSB.js} +9 -1
- package/cdn/chunks/chunk.CNKZ46WT.js +120 -0
- package/{dist/chunks/chunk.LMGJJIIS.js → cdn/chunks/chunk.CRDKTZBT.js} +9 -0
- package/cdn/chunks/chunk.CUBZ2AR7.js +313 -0
- package/cdn/chunks/{chunk.QEA4QW6G.js → chunk.CUQN55UX.js} +14 -0
- package/cdn/chunks/{chunk.Y4AJWV2R.js → chunk.DCTD747F.js} +148 -7
- package/cdn/chunks/chunk.DHVLQGDF.js +19 -0
- package/cdn/chunks/{chunk.7IG2SBOL.js → chunk.DM3VIPQI.js} +21 -15
- package/cdn/chunks/{chunk.YVSJQ4KD.js → chunk.DVOLO45B.js} +15 -2
- package/cdn/chunks/{chunk.TZK42POE.js → chunk.DX5ZMKGE.js} +9 -1
- package/cdn/chunks/chunk.E3U5WMEC.js +19 -0
- package/cdn/chunks/{chunk.OXYQWR4O.js → chunk.EGZALHQH.js} +14 -1
- package/cdn/chunks/chunk.EJTR4SHJ.js +19 -0
- package/cdn/chunks/{chunk.FKLQEDIX.js → chunk.EMLDT66I.js} +16 -3
- package/cdn/chunks/{chunk.E77UOXGG.js → chunk.EMWMMMAM.js} +18 -12
- package/cdn/chunks/chunk.ES5U5CWG.js +2419 -0
- package/cdn/chunks/{chunk.HRXWS72K.js → chunk.FEPS7FE6.js} +27 -21
- package/cdn/chunks/{chunk.CGZ2SSXS.js → chunk.GJZZSGUB.js} +9 -1
- package/cdn/chunks/chunk.GL52MTKN.js +47 -0
- package/{dist/chunks/chunk.6OAPBJRP.js → cdn/chunks/chunk.GRPID3HM.js} +9 -0
- package/cdn/chunks/{chunk.7ZUIA6ZA.js → chunk.GZDS5VE4.js} +28 -22
- package/cdn/chunks/{chunk.USC76EZL.js → chunk.H2ZXIXPU.js} +9 -1
- package/cdn/chunks/{chunk.A6BUQADK.js → chunk.H66DHE62.js} +9 -1
- package/cdn/chunks/{chunk.VZ3MBFKG.js → chunk.HMS35ZFE.js} +10 -4
- package/cdn/chunks/{chunk.WTMN7OUL.js → chunk.HRMDCVXQ.js} +9 -1
- package/cdn/chunks/chunk.HTYIBTM5.js +19 -0
- package/cdn/chunks/{chunk.6NYH4BZ2.js → chunk.HWIFPU5V.js} +9 -1
- package/cdn/chunks/{chunk.CPHER7LT.js → chunk.I4WNPQOC.js} +9 -1
- package/cdn/chunks/chunk.IA4OVO6W.js +19 -0
- package/cdn/chunks/{chunk.IT573VGX.js → chunk.IAVIA55D.js} +26 -8
- package/cdn/chunks/{chunk.3WD5HVRH.js → chunk.IIGBOCK5.js} +9 -1
- package/cdn/chunks/{chunk.Y7I2RXN6.js → chunk.J4IIXP4W.js} +16 -73
- package/cdn/chunks/{chunk.GNSDRDLV.js → chunk.J7JLAL3A.js} +22 -1
- package/cdn/chunks/{chunk.2RXDDBWK.js → chunk.JFG62QF5.js} +9 -1
- package/cdn/chunks/chunk.JSME7CPI.js +10 -0
- package/cdn/chunks/{chunk.2FFSUM6T.js → chunk.KACZXI5J.js} +51 -3
- package/cdn/chunks/{chunk.RNTD3EXL.js → chunk.KAJGV2AN.js} +568 -2
- package/cdn/chunks/chunk.KSSMNIXU.js +19 -0
- package/cdn/chunks/chunk.KVZYCETT.js +19 -0
- package/cdn/chunks/{chunk.DIXBFQJX.js → chunk.L3GGJBV6.js} +18 -12
- package/{dist/chunks/chunk.SGRUM4PP.js → cdn/chunks/chunk.L6A3MX6M.js} +9 -1
- package/cdn/chunks/{chunk.Y4WP4EBM.js → chunk.LAO4X5YG.js} +9 -1
- package/cdn/chunks/{chunk.6SFH5X34.js → chunk.LHZZXITG.js} +9 -1
- package/cdn/chunks/{chunk.PQFHJHNO.js → chunk.LL3RMB25.js} +22 -1
- package/cdn/chunks/{chunk.RR4NDIRI.js → chunk.LPP5UYKA.js} +23 -12
- package/cdn/chunks/chunk.LS7CBIGK.js +28 -0
- package/cdn/chunks/chunk.LVLBJGO2.js +127 -0
- package/cdn/chunks/{chunk.KGVVCHUS.js → chunk.LZSKCTIU.js} +1226 -11
- package/cdn/chunks/{chunk.V6VKJSEK.js → chunk.M26YYT7Q.js} +135 -1
- package/cdn/chunks/{chunk.PH7RLQK2.js → chunk.M73GHNHJ.js} +12 -0
- package/{dist/chunks/chunk.W3LS5JWV.js → cdn/chunks/chunk.MFRZUWBM.js} +9 -1
- package/cdn/chunks/{chunk.BUZ22XCE.js → chunk.MH5JS2GP.js} +9 -1
- package/cdn/chunks/{chunk.6ELCJNTL.js → chunk.MLQTKEOU.js} +22 -8
- package/{dist/chunks/chunk.33NBG3NS.js → cdn/chunks/chunk.MQXVUS5F.js} +9 -1
- package/cdn/chunks/chunk.NPSNSHLT.js +19 -0
- package/cdn/chunks/chunk.O3OTPJW5.js +19 -0
- package/cdn/chunks/{chunk.QU7QA2AS.js → chunk.O7ZKAFVG.js} +35942 -36041
- package/cdn/chunks/{chunk.UBNZ4DBW.js → chunk.OCA57Y5E.js} +9 -1
- package/cdn/chunks/chunk.OI3IKRHO.js +363 -0
- package/{dist/chunks/chunk.N37CEIC7.js → cdn/chunks/chunk.PEYTSPUQ.js} +9 -1
- package/cdn/chunks/chunk.PFJNBQ5R.js +4179 -0
- package/cdn/chunks/{chunk.74Y2IRDI.js → chunk.PJUSGZQ3.js} +9 -1
- package/{dist/chunks/chunk.POIZ6HMC.js → cdn/chunks/chunk.QDG4POCM.js} +9 -1
- package/{dist/chunks/chunk.C7PQBKKC.js → cdn/chunks/chunk.QTXUVEZ6.js} +9 -1
- package/{dist/chunks/chunk.RFZFN23E.js → cdn/chunks/chunk.R7GZ7X6A.js} +9 -1
- package/cdn/chunks/{chunk.4FXB6TO3.js → chunk.RROXLGRY.js} +24 -18
- package/cdn/chunks/chunk.RY4ZS3E5.js +45676 -0
- package/cdn/chunks/{chunk.LGPLDU7J.js → chunk.RZAYZ5CG.js} +10 -4
- package/{dist/chunks/chunk.UOCDT7HQ.js → cdn/chunks/chunk.S2GS7WAM.js} +9 -0
- package/cdn/chunks/{chunk.NWVFWXWL.js → chunk.S5LWJDD7.js} +10 -4
- package/cdn/chunks/{chunk.PSAJO4PE.js → chunk.SHDK2N2Y.js} +9 -1
- package/{dist/chunks/chunk.WNKTNBGJ.js → cdn/chunks/chunk.SNX22ZUB.js} +9 -1
- package/cdn/chunks/{chunk.X33FR7YO.js → chunk.SQJ2KJ53.js} +33 -22
- package/cdn/chunks/{chunk.ETVQD7XP.js → chunk.SSB3SIB4.js} +12 -6
- package/cdn/chunks/{chunk.6WMXHA2J.js → chunk.SU2EH44I.js} +16 -3
- package/cdn/chunks/chunk.T24K5VZW.js +303 -0
- package/cdn/chunks/{chunk.ZP2W7T3J.js → chunk.T2JGMK2I.js} +10 -4
- package/cdn/chunks/chunk.TPKJOGOH.js +91 -0
- package/cdn/chunks/{chunk.P5PLRHF4.js → chunk.TU7POBNP.js} +10 -4
- package/cdn/chunks/chunk.TUBLTX7O.js +10 -0
- package/cdn/chunks/{chunk.NJTOF6ZK.js → chunk.TZ27CWAV.js} +20 -30
- package/cdn/chunks/{chunk.CEZIPRUZ.js → chunk.UPPN2BJD.js} +13 -7
- package/cdn/chunks/{chunk.2EEOIGVN.js → chunk.V732TK5F.js} +15 -9
- package/cdn/chunks/{chunk.4UXVQKZW.js → chunk.VA2DJOCU.js} +14 -8
- package/cdn/chunks/{chunk.YVG2XG3L.js → chunk.VIFKXWLG.js} +9 -1
- package/cdn/chunks/{chunk.UA5HHAYZ.js → chunk.VLR7MGN6.js} +10 -2
- package/cdn/chunks/{chunk.EKLRAB4A.js → chunk.VPJ3RWMH.js} +12 -6
- package/cdn/chunks/{chunk.262RZKG2.js → chunk.VPW32Q52.js} +21 -3
- package/cdn/chunks/{chunk.RU6G6JLS.js → chunk.WFTS65OQ.js} +9 -1
- package/cdn/chunks/{chunk.QZV6EAIM.js → chunk.WOK6C4SG.js} +8 -2
- package/cdn/chunks/{chunk.SGS66YD4.js → chunk.WX2VNPHQ.js} +73 -281
- package/cdn/chunks/chunk.XBUKV4PL.js +193 -0
- package/cdn/chunks/chunk.XIEATAX6.js +10 -0
- package/cdn/chunks/{chunk.FLRVTZ6Q.js → chunk.XPUSLKRS.js} +57 -34
- package/{dist/chunks/chunk.NQKBKXPW.js → cdn/chunks/chunk.XTPAHWLJ.js} +9 -0
- package/cdn/chunks/{chunk.XZGF7NVJ.js → chunk.XUOBHXPV.js} +8 -2
- package/cdn/chunks/{chunk.SCFJOPPV.js → chunk.XZXJLHTQ.js} +9 -1
- package/cdn/chunks/{chunk.POKHGMEN.js → chunk.Y6ERTCCJ.js} +9 -1
- package/cdn/chunks/{chunk.EPOKVQ7Z.js → chunk.YILV227S.js} +9 -1
- package/cdn/chunks/{chunk.NYEDLELY.js → chunk.YIT2FCRS.js} +9 -1
- package/cdn/chunks/{chunk.WDU7EJPA.js → chunk.YJV2CB6J.js} +9 -1
- package/{dist/chunks/chunk.KW4TJM4C.js → cdn/chunks/chunk.YP5CFEBW.js} +9 -0
- package/cdn/chunks/{chunk.NMJ34B6C.js → chunk.YSADKTSA.js} +9 -1
- package/cdn/chunks/{chunk.VHHIJXG2.js → chunk.Z2YYVPVO.js} +9 -1
- package/{dist/chunks/chunk.UCNEPIMI.js → cdn/chunks/chunk.ZAEJJQNF.js} +9 -1
- package/cdn/chunks/{chunk.6MMTW476.js → chunk.ZEDYVCUT.js} +8 -2
- package/cdn/chunks/{chunk.UMJYDWJ4.js → chunk.ZLMXPZHX.js} +17 -11
- package/cdn/chunks/decoder.MA7G6FZ4.js +26 -0
- package/cdn/chunks/deflate.BURBL2KM.js +24 -0
- package/cdn/chunks/jpeg.BO6ANV2T.js +851 -0
- package/cdn/chunks/lerc.CMWLHIF4.js +2092 -0
- package/cdn/chunks/lzw.3P5NQWCX.js +137 -0
- package/cdn/chunks/packbits.2EIRFDUE.js +39 -0
- package/cdn/chunks/raw.Q3V3F5QM.js +21 -0
- package/cdn/chunks/webimage.EYQURDYI.js +41 -0
- package/cdn/components/accordion/accordion.component.js +18 -18
- package/cdn/components/accordion/accordion.js +19 -19
- package/cdn/components/accordion/accordion.styles.js +4 -4
- package/cdn/components/alert/alert.component.js +13 -13
- package/cdn/components/alert/alert.js +14 -14
- package/cdn/components/alert/alert.styles.js +4 -4
- package/cdn/components/browse-variables/browse-variables.component.js +46 -45
- package/cdn/components/browse-variables/browse-variables.controller.js +9 -8
- package/cdn/components/browse-variables/browse-variables.js +47 -46
- package/cdn/components/browse-variables/browse-variables.styles.js +4 -4
- package/cdn/components/browse-variables/browse-variables.types.js +10 -0
- package/cdn/components/button/button.component.js +15 -15
- package/cdn/components/button/button.js +16 -16
- package/cdn/components/button/button.styles.js +4 -4
- package/cdn/components/chip/chip.component.js +11 -11
- package/cdn/components/chip/chip.js +12 -12
- package/cdn/components/chip/chip.styles.js +4 -4
- package/cdn/components/combobox/combobox.component.js +19 -19
- package/cdn/components/combobox/combobox.js +20 -20
- package/cdn/components/combobox/combobox.styles.js +4 -4
- package/cdn/components/combobox/lib.js +2 -2
- package/cdn/components/combobox/type.js +2 -2
- package/cdn/components/data-rods/data-rods.component.js +70 -65
- package/cdn/components/data-rods/data-rods.js +71 -66
- package/cdn/components/data-rods/data-rods.styles.js +4 -4
- package/cdn/components/data-subsetter/data-subsetter.component.js +57 -56
- package/cdn/components/data-subsetter/data-subsetter.controller.js +10 -9
- package/cdn/components/data-subsetter/data-subsetter.js +58 -57
- package/cdn/components/data-subsetter/data-subsetter.styles.js +4 -4
- package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +62 -61
- package/cdn/components/data-subsetter-history/data-subsetter-history.controller.js +6 -6
- package/cdn/components/data-subsetter-history/data-subsetter-history.js +63 -62
- package/cdn/components/data-subsetter-history/data-subsetter-history.styles.js +4 -4
- package/cdn/components/date-picker/date-picker.component.js +17 -17
- package/cdn/components/date-picker/date-picker.js +18 -18
- package/cdn/components/date-picker/date-picker.styles.js +4 -4
- package/cdn/components/date-range-slider/date-range-slider.component.js +14 -13
- package/cdn/components/date-range-slider/date-range-slider.js +15 -14
- package/cdn/components/date-range-slider/date-range-slider.styles.js +4 -4
- package/cdn/components/date-range-slider/noui-slider-utilities.js +2 -2
- package/cdn/components/dialog/dialog.component.js +9 -9
- package/cdn/components/dialog/dialog.js +10 -10
- package/cdn/components/dialog/dialog.styles.js +4 -4
- package/cdn/components/icon/icon.component.js +16 -16
- package/cdn/components/icon/icon.js +17 -17
- package/cdn/components/icon/icon.styles.js +4 -4
- package/cdn/components/icon/library.default.js +2 -2
- package/cdn/components/icon/library.heroicons.js +3 -3
- package/cdn/components/icon/library.js +5 -5
- package/cdn/components/loader/loader.component.js +11 -11
- package/cdn/components/loader/loader.js +12 -12
- package/cdn/components/loader/loader.styles.js +4 -4
- package/cdn/components/login/login.component.js +32 -32
- package/cdn/components/login/login.js +33 -33
- package/cdn/components/login/login.styles.js +4 -4
- package/cdn/components/map/leaflet-draw.styles.js +4 -4
- package/cdn/components/map/leaflet-utils.js +4 -4
- package/cdn/components/map/leaflet.styles.js +4 -4
- package/cdn/components/map/map.component.js +19 -19
- package/cdn/components/map/map.controller.js +4 -4
- package/cdn/components/map/map.js +20 -20
- package/cdn/components/map/map.styles.js +4 -4
- package/cdn/components/map/type.js +2 -2
- package/cdn/components/plot/plot.component.js +11 -10
- package/cdn/components/plot/plot.js +12 -11
- package/cdn/components/plot/plot.styles.js +4 -4
- package/cdn/components/plot/plot.types.js +10 -0
- package/cdn/components/plot-toolbar/plot-toolbar.component.d.ts +44 -0
- package/cdn/components/plot-toolbar/plot-toolbar.component.js +33 -0
- package/cdn/components/plot-toolbar/plot-toolbar.d.ts +8 -0
- package/cdn/components/plot-toolbar/plot-toolbar.js +34 -0
- package/cdn/components/plot-toolbar/plot-toolbar.styles.d.ts +2 -0
- package/cdn/components/plot-toolbar/plot-toolbar.styles.js +9 -0
- package/cdn/components/plot-toolbar/plot-toolbar.types.d.ts +2 -0
- package/cdn/components/plot-toolbar/plot-toolbar.types.js +10 -0
- package/cdn/components/skeleton/skeleton.component.js +18 -18
- package/cdn/components/skeleton/skeleton.js +19 -19
- package/cdn/components/skeleton/skeleton.styles.js +4 -4
- package/cdn/components/spatial-picker/spatial-picker.component.js +22 -22
- package/cdn/components/spatial-picker/spatial-picker.js +23 -23
- package/cdn/components/spatial-picker/spatial-picker.styles.js +4 -4
- package/cdn/components/time-average-map/time-average-map.component.d.ts +54 -0
- package/cdn/components/time-average-map/time-average-map.component.js +46 -0
- package/cdn/components/time-average-map/time-average-map.controller.d.ts +14 -0
- package/cdn/components/time-average-map/time-average-map.controller.js +14 -0
- package/cdn/components/time-average-map/time-average-map.d.ts +8 -0
- package/cdn/components/time-average-map/time-average-map.js +47 -0
- package/cdn/components/time-average-map/time-average-map.styles.d.ts +2 -0
- package/cdn/components/time-average-map/time-average-map.styles.js +9 -0
- package/cdn/components/time-series/time-series.component.d.ts +2 -7
- package/cdn/components/time-series/time-series.component.js +45 -40
- package/cdn/components/time-series/time-series.controller.d.ts +4 -0
- package/cdn/components/time-series/time-series.controller.js +10 -8
- package/cdn/components/time-series/time-series.js +46 -41
- package/cdn/components/time-series/time-series.styles.js +4 -4
- package/cdn/components/time-series/time-series.types.d.ts +2 -1
- package/cdn/components/time-series/time-series.types.js +10 -0
- package/cdn/components/variable-combobox/lib.js +7 -7
- package/cdn/components/variable-combobox/variable-combobox.component.js +35 -35
- package/cdn/components/variable-combobox/variable-combobox.controller.js +9 -9
- package/cdn/components/variable-combobox/variable-combobox.js +36 -36
- package/cdn/components/variable-combobox/variable-combobox.styles.js +4 -4
- package/cdn/components/variable-combobox/variable-combobox.types.js +10 -0
- package/cdn/components/variable-keyword-search/lib.js +4 -4
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +37 -36
- package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +9 -8
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +38 -37
- package/cdn/components/variable-keyword-search/variable-keyword-search.styles.js +4 -4
- package/cdn/components/variable-keyword-search/variable-keyword-search.types.js +10 -0
- package/cdn/custom-elements.json +2964 -2483
- package/cdn/data-services/harmony-data-service.d.ts +4 -1
- package/cdn/internal/indexeddb.d.ts +3 -1
- package/cdn/react/index.d.ts +7 -5
- package/cdn/react/plot-toolbar/index.d.ts +18 -0
- package/cdn/react/time-average-map/index.d.ts +3 -0
- package/cdn/terra-ui-components-autoloader.js +9 -2
- package/cdn/terra-ui-components.d.ts +2 -0
- package/cdn/terra-ui-components.js +165 -133
- package/cdn/types/vue/index.d.ts +221 -144
- package/cdn/utilities/animation-registry.js +8 -2
- package/cdn/utilities/animation.js +13 -13
- package/cdn/utilities/base-path.js +2 -2
- package/cdn/utilities/date.js +3 -2
- package/cdn/utilities/debounce.js +8 -1
- package/cdn/utilities/environment.js +2 -2
- package/cdn/utilities/form.js +3 -3
- package/cdn/utilities/icon-library.js +6 -6
- package/cdn/utilities/mimetypes.js +2 -2
- package/cdn/utilities/number.js +2 -2
- package/cdn/vscode.html-custom-data.json +178 -123
- package/cdn/web-types.json +294 -191
- package/dist/chunks/{chunk.YBVWNYOE.js → chunk.2NH3CZZZ.js} +1 -1
- package/dist/chunks/{chunk.BDGTWOXZ.js → chunk.2OG44KDU.js} +3 -3
- package/dist/chunks/{chunk.ILZSIUHL.js → chunk.33A7COJE.js} +2 -2
- package/dist/chunks/{chunk.6P5DYVP4.js → chunk.33K563J6.js} +1 -1
- package/dist/chunks/{chunk.GS325B24.js → chunk.3I3EQO4P.js} +3 -3
- package/dist/chunks/{chunk.6KVL7SY6.js → chunk.4JBTWS4S.js} +3 -3
- package/dist/chunks/{chunk.53HLVNLK.js → chunk.4PNLU545.js} +1 -1
- package/dist/chunks/chunk.4Y3U4UUC.js +183 -0
- package/dist/chunks/chunk.5DSWC3KO.js +11 -0
- package/{cdn/chunks/chunk.LQSKST7H.js → dist/chunks/chunk.5ZJEHBPS.js} +1 -1
- package/{cdn/chunks/chunk.VB7OXQA4.js → dist/chunks/chunk.6JCZMTUS.js} +1 -1
- package/dist/chunks/{chunk.HN6I5KTN.js → chunk.6YCZZJMS.js} +4 -4
- package/{cdn/chunks/chunk.UCNEPIMI.js → dist/chunks/chunk.7CMA526Q.js} +1 -1
- package/dist/chunks/{chunk.UOQOJQEV.js → chunk.7DZ3HM3P.js} +7 -7
- package/dist/chunks/{chunk.DI5KLXZI.js → chunk.7SC4FDZN.js} +1 -1
- package/{cdn/chunks/chunk.MA5S2KRL.js → dist/chunks/chunk.7TIXKERN.js} +1 -1
- package/dist/chunks/{chunk.STTT6JDX.js → chunk.7VB66VZ7.js} +11 -11
- package/dist/chunks/{chunk.3LDTADZY.js → chunk.7ZMNC2EP.js} +4 -4
- package/dist/chunks/{chunk.3WQ2LN2C.js → chunk.AOSD27P6.js} +1 -1
- package/{cdn/chunks/chunk.LX7W6IJK.js → dist/chunks/chunk.B4D2PPM4.js} +1 -1
- package/dist/chunks/{chunk.XKR223PQ.js → chunk.C4BEFLFC.js} +1 -1
- package/dist/chunks/{chunk.UA5HHAYZ.js → chunk.CIFC3RF3.js} +2 -2
- package/{cdn/chunks/chunk.SQASUHBA.js → dist/chunks/chunk.CQ6QANEC.js} +1 -1
- package/dist/chunks/chunk.D3XI3L7Y.js +55 -0
- package/dist/chunks/chunk.DG3AKJA5.js +11 -0
- package/{cdn/chunks/chunk.CUL45EP2.js → dist/chunks/chunk.DLWC7HMO.js} +1 -1
- package/dist/chunks/{chunk.SQ6OBGUE.js → chunk.EBJMNY5T.js} +1 -1
- package/dist/chunks/{chunk.K2IRF2QI.js → chunk.EC75KAKW.js} +6 -71
- package/dist/chunks/{chunk.ULQFQZHD.js → chunk.F2OKKGLF.js} +3 -3
- package/{cdn/chunks/chunk.LOSHZOGY.js → dist/chunks/chunk.FIBIMNRL.js} +1 -1
- package/dist/chunks/{chunk.PP2ELNGF.js → chunk.GCYVF6CT.js} +14 -14
- package/dist/chunks/{chunk.YENFFQDG.js → chunk.GHLTJYR4.js} +7 -7
- package/dist/chunks/{chunk.SLAI5FTD.js → chunk.GJVQB4BQ.js} +1 -1
- package/{cdn/chunks/chunk.KRO4ARQY.js → dist/chunks/chunk.GWQS2AWR.js} +1 -1
- package/dist/chunks/{chunk.MFZOXXZG.js → chunk.GXQRUGWI.js} +1 -1
- package/dist/chunks/{chunk.OPIEMOCR.js → chunk.IAA33R4X.js} +1 -1
- package/dist/chunks/chunk.JG4TFF7B.js +346 -0
- package/dist/chunks/{chunk.IYRLNGLM.js → chunk.JI5K6CEP.js} +7 -7
- package/dist/chunks/{chunk.IJCCUYTL.js → chunk.JL6YLQX2.js} +5 -5
- package/{cdn/chunks/chunk.LZ6ES3TI.js → dist/chunks/chunk.JY5KBXRE.js} +1 -1
- package/dist/chunks/{chunk.JJVTBGOK.js → chunk.KASQMBBH.js} +39 -32
- package/dist/chunks/chunk.KBQJ4D62.js +525 -0
- package/dist/chunks/{chunk.LFZXSVJS.js → chunk.KLCOAQUS.js} +1 -1
- package/dist/chunks/{chunk.CBH2YLFF.js → chunk.M54W77XC.js} +1 -1
- package/dist/chunks/{chunk.TIGYHXP4.js → chunk.NAA57UPM.js} +3 -3
- package/dist/chunks/{chunk.T5KI6OSN.js → chunk.NRHBJXFN.js} +7 -7
- package/{cdn/chunks/chunk.MLS2KGHX.js → dist/chunks/chunk.O2C2SVB7.js} +1 -1
- package/dist/chunks/{chunk.5TAH6C7E.js → chunk.PB42J5AM.js} +1 -1
- package/dist/chunks/chunk.PMFGHKD2.js +233 -0
- package/{cdn/chunks/chunk.BWBTQSTN.js → dist/chunks/chunk.QKCMDBKR.js} +1 -1
- package/dist/chunks/{chunk.UZLE6KVI.js → chunk.QOTILAAM.js} +11 -11
- package/dist/chunks/chunk.QQQ2BD4U.js +80 -0
- package/dist/chunks/{chunk.FKXB7XEU.js → chunk.RUGT5ALL.js} +4 -4
- package/dist/chunks/{chunk.VSAGY2NW.js → chunk.SIDRHQTB.js} +8 -8
- package/dist/chunks/{chunk.3XSH7MTP.js → chunk.SMJTK25M.js} +14 -14
- package/{cdn/chunks/chunk.ALG7FPS2.js → dist/chunks/chunk.SQVBCWKL.js} +1 -1
- package/dist/chunks/{chunk.DZKJA55J.js → chunk.U2R5JB5O.js} +2 -2
- package/dist/chunks/{chunk.2HPFAVOM.js → chunk.UK6REENS.js} +1 -1
- package/{cdn/chunks/chunk.2NMWP5DN.js → dist/chunks/chunk.US6MRVQM.js} +1 -1
- package/dist/chunks/{chunk.ZBDETE57.js → chunk.USQFNMWY.js} +2 -2
- package/dist/chunks/{chunk.GOAMZCJ6.js → chunk.UWIX5KQU.js} +18 -18
- package/dist/chunks/{chunk.JTV3QJGO.js → chunk.VKDQZEQL.js} +6 -6
- package/dist/chunks/chunk.VSZLMYWV.js +17 -0
- package/{cdn/chunks/chunk.Z5MRKTNC.js → dist/chunks/chunk.XGEV5XZS.js} +1 -1
- package/dist/chunks/{chunk.2DQS7YWJ.js → chunk.XJVLYIYE.js} +1 -1
- package/dist/chunks/{chunk.MWPGY5IJ.js → chunk.XS6RC2OD.js} +4 -4
- package/{cdn/chunks/chunk.R3H34254.js → dist/chunks/chunk.YKP2DA36.js} +1 -1
- package/dist/chunks/{chunk.Y4ZIWIQM.js → chunk.ZGSDVAHX.js} +51 -43
- package/{cdn/chunks/chunk.LJE2IVXS.js → dist/chunks/chunk.ZY3XITMC.js} +1 -1
- package/dist/components/accordion/accordion.component.js +12 -12
- package/dist/components/accordion/accordion.js +13 -13
- package/dist/components/accordion/accordion.styles.js +1 -1
- package/dist/components/alert/alert.component.js +7 -7
- package/dist/components/alert/alert.js +8 -8
- package/dist/components/alert/alert.styles.js +1 -1
- package/dist/components/browse-variables/browse-variables.component.js +31 -31
- package/dist/components/browse-variables/browse-variables.controller.js +5 -5
- package/dist/components/browse-variables/browse-variables.js +32 -32
- package/dist/components/browse-variables/browse-variables.styles.js +1 -1
- package/dist/components/button/button.component.js +8 -8
- package/dist/components/button/button.js +9 -9
- package/dist/components/button/button.styles.js +1 -1
- package/dist/components/chip/chip.component.js +5 -5
- package/dist/components/chip/chip.js +6 -6
- package/dist/components/chip/chip.styles.js +1 -1
- package/dist/components/combobox/combobox.component.js +8 -8
- package/dist/components/combobox/combobox.js +9 -9
- package/dist/components/combobox/combobox.styles.js +1 -1
- package/dist/components/combobox/lib.js +1 -1
- package/dist/components/combobox/type.js +1 -1
- package/dist/components/data-rods/data-rods.component.js +52 -49
- package/dist/components/data-rods/data-rods.js +53 -50
- package/dist/components/data-rods/data-rods.styles.js +1 -1
- package/dist/components/data-subsetter/data-subsetter.component.js +43 -43
- package/dist/components/data-subsetter/data-subsetter.controller.js +5 -5
- package/dist/components/data-subsetter/data-subsetter.js +44 -44
- package/dist/components/data-subsetter/data-subsetter.styles.js +1 -1
- package/dist/components/data-subsetter-history/data-subsetter-history.component.js +48 -48
- package/dist/components/data-subsetter-history/data-subsetter-history.controller.js +3 -3
- package/dist/components/data-subsetter-history/data-subsetter-history.js +49 -49
- package/dist/components/data-subsetter-history/data-subsetter-history.styles.js +1 -1
- package/dist/components/date-picker/date-picker.component.js +10 -10
- package/dist/components/date-picker/date-picker.js +11 -11
- package/dist/components/date-picker/date-picker.styles.js +1 -1
- package/dist/components/date-range-slider/date-range-slider.component.js +8 -8
- package/dist/components/date-range-slider/date-range-slider.js +9 -9
- package/dist/components/date-range-slider/date-range-slider.styles.js +1 -1
- package/dist/components/date-range-slider/noui-slider-utilities.js +1 -1
- package/dist/components/dialog/dialog.component.js +5 -5
- package/dist/components/dialog/dialog.js +6 -6
- package/dist/components/dialog/dialog.styles.js +1 -1
- package/dist/components/icon/icon.component.js +10 -10
- package/dist/components/icon/icon.js +11 -11
- package/dist/components/icon/icon.styles.js +1 -1
- package/dist/components/icon/library.default.js +1 -1
- package/dist/components/icon/library.heroicons.js +2 -2
- package/dist/components/icon/library.js +4 -4
- package/dist/components/loader/loader.component.js +5 -5
- package/dist/components/loader/loader.js +6 -6
- package/dist/components/loader/loader.styles.js +1 -1
- package/dist/components/login/login.component.js +22 -22
- package/dist/components/login/login.js +23 -23
- package/dist/components/login/login.styles.js +1 -1
- package/dist/components/map/leaflet-draw.styles.js +1 -1
- package/dist/components/map/leaflet-utils.js +3 -3
- package/dist/components/map/leaflet.styles.js +1 -1
- package/dist/components/map/map.component.js +11 -11
- package/dist/components/map/map.controller.js +3 -3
- package/dist/components/map/map.js +12 -12
- package/dist/components/map/map.styles.js +1 -1
- package/dist/components/map/type.js +1 -1
- package/dist/components/plot/plot.component.js +6 -6
- package/dist/components/plot/plot.js +7 -7
- package/dist/components/plot/plot.styles.js +1 -1
- package/dist/components/plot-toolbar/plot-toolbar.component.d.ts +44 -0
- package/dist/components/plot-toolbar/plot-toolbar.component.js +23 -0
- package/dist/components/plot-toolbar/plot-toolbar.d.ts +8 -0
- package/dist/components/plot-toolbar/plot-toolbar.js +24 -0
- package/dist/components/plot-toolbar/plot-toolbar.styles.d.ts +2 -0
- package/dist/components/plot-toolbar/plot-toolbar.styles.js +7 -0
- package/dist/components/plot-toolbar/plot-toolbar.types.d.ts +2 -0
- package/dist/components/skeleton/skeleton.component.js +6 -6
- package/dist/components/skeleton/skeleton.js +7 -7
- package/dist/components/skeleton/skeleton.styles.js +1 -1
- package/dist/components/spatial-picker/spatial-picker.component.js +14 -14
- package/dist/components/spatial-picker/spatial-picker.js +15 -15
- package/dist/components/spatial-picker/spatial-picker.styles.js +1 -1
- package/dist/components/time-average-map/time-average-map.component.d.ts +54 -0
- package/dist/components/time-average-map/time-average-map.component.js +31 -0
- package/dist/components/time-average-map/time-average-map.controller.d.ts +14 -0
- package/dist/components/time-average-map/time-average-map.controller.js +10 -0
- package/dist/components/time-average-map/time-average-map.d.ts +8 -0
- package/dist/components/time-average-map/time-average-map.js +32 -0
- package/dist/components/time-average-map/time-average-map.styles.d.ts +2 -0
- package/dist/components/time-average-map/time-average-map.styles.js +7 -0
- package/dist/components/time-series/time-series.component.d.ts +2 -7
- package/dist/components/time-series/time-series.component.js +31 -28
- package/dist/components/time-series/time-series.controller.d.ts +4 -0
- package/dist/components/time-series/time-series.controller.js +5 -4
- package/dist/components/time-series/time-series.js +32 -29
- package/dist/components/time-series/time-series.styles.js +1 -1
- package/dist/components/time-series/time-series.types.d.ts +2 -1
- package/dist/components/variable-combobox/lib.js +1 -1
- package/dist/components/variable-combobox/variable-combobox.component.js +20 -20
- package/dist/components/variable-combobox/variable-combobox.controller.js +2 -2
- package/dist/components/variable-combobox/variable-combobox.js +21 -21
- package/dist/components/variable-combobox/variable-combobox.styles.js +1 -1
- package/dist/components/variable-keyword-search/lib.js +1 -1
- package/dist/components/variable-keyword-search/variable-keyword-search.component.js +23 -23
- package/dist/components/variable-keyword-search/variable-keyword-search.controller.js +5 -5
- package/dist/components/variable-keyword-search/variable-keyword-search.js +24 -24
- package/dist/components/variable-keyword-search/variable-keyword-search.styles.js +1 -1
- package/dist/custom-elements.json +2964 -2483
- package/dist/data-services/harmony-data-service.d.ts +4 -1
- package/dist/internal/indexeddb.d.ts +3 -1
- package/dist/react/index.d.ts +7 -5
- package/dist/react/plot-toolbar/index.d.ts +18 -0
- package/dist/react/time-average-map/index.d.ts +3 -0
- package/dist/terra-ui-components-autoloader.js +1 -1
- package/dist/terra-ui-components.d.ts +2 -0
- package/dist/terra-ui-components.js +131 -117
- package/dist/{terra_ui_components-0.0.60-py3-none-any.whl → terra_ui_components-0.0.63-py3-none-any.whl} +0 -0
- package/dist/{terra_ui_components-0.0.60.tar.gz → terra_ui_components-0.0.63.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +221 -144
- package/dist/utilities/animation.js +1 -1
- package/dist/utilities/base-path.js +1 -1
- package/dist/utilities/date.js +1 -1
- package/dist/utilities/environment.js +1 -1
- package/dist/utilities/form.js +2 -2
- package/dist/utilities/icon-library.js +5 -5
- package/dist/utilities/mimetypes.js +1 -1
- package/dist/utilities/number.js +1 -1
- package/dist/vscode.html-custom-data.json +178 -123
- package/dist/web-types.json +294 -191
- package/package.json +4 -1
- package/cdn/chunks/chunk.2GMGCJJK.js +0 -751
- package/cdn/chunks/chunk.3VHYPNST.js +0 -11
- package/cdn/chunks/chunk.5EZ7BYHN.js +0 -24
- package/cdn/chunks/chunk.5YJRETV3.js +0 -21
- package/cdn/chunks/chunk.6JHIJHTB.js +0 -169
- package/cdn/chunks/chunk.BAKIP5PM.js +0 -21
- package/cdn/chunks/chunk.BDCGULKT.js +0 -24
- package/cdn/chunks/chunk.BJIE3PUY.js +0 -21
- package/cdn/chunks/chunk.CNJFQ6NQ.js +0 -21
- package/cdn/chunks/chunk.EPCDCLIV.js +0 -21
- package/cdn/chunks/chunk.EPFPY5X6.js +0 -21
- package/cdn/chunks/chunk.EXXCASW2.js +0 -21
- package/cdn/chunks/chunk.GIZVNXLK.js +0 -21
- package/cdn/chunks/chunk.GLVCGIR5.js +0 -21
- package/cdn/chunks/chunk.GROHXUKG.js +0 -11
- package/cdn/chunks/chunk.J3UZQNWY.js +0 -11
- package/cdn/chunks/chunk.L6OWRJCA.js +0 -25
- package/cdn/chunks/chunk.LXEECKS5.js +0 -21
- package/cdn/chunks/chunk.M23YOO6N.js +0 -21
- package/cdn/chunks/chunk.OT5GATLX.js +0 -25
- package/cdn/chunks/chunk.PRDCTJZW.js +0 -24
- package/cdn/chunks/chunk.S64CALLW.js +0 -24
- package/cdn/chunks/chunk.UGOGPJIK.js +0 -25
- package/cdn/chunks/chunk.UL5CQLQS.js +0 -21
- package/cdn/chunks/chunk.VGYMGE2W.js +0 -24
- package/cdn/chunks/chunk.VORUJ5MH.js +0 -0
- package/cdn/chunks/chunk.XMNR4RWY.js +0 -27
- package/cdn/chunks/chunk.XVB3T3VG.js +0 -25
- package/cdn/react/accordion/index.js +0 -24
- package/cdn/react/alert/index.js +0 -19
- package/cdn/react/browse-variables/index.js +0 -51
- package/cdn/react/button/index.js +0 -21
- package/cdn/react/chip/index.js +0 -17
- package/cdn/react/combobox/index.js +0 -25
- package/cdn/react/data-rods/index.js +0 -71
- package/cdn/react/data-subsetter/index.js +0 -62
- package/cdn/react/data-subsetter-history/index.js +0 -67
- package/cdn/react/date-picker/index.js +0 -23
- package/cdn/react/date-range-slider/index.js +0 -19
- package/cdn/react/dialog/index.js +0 -15
- package/cdn/react/icon/index.js +0 -22
- package/cdn/react/index.js +0 -188
- package/cdn/react/loader/index.js +0 -17
- package/cdn/react/login/index.js +0 -38
- package/cdn/react/map/index.js +0 -25
- package/cdn/react/plot/index.js +0 -16
- package/cdn/react/skeleton/index.js +0 -24
- package/cdn/react/spatial-picker/index.js +0 -28
- package/cdn/react/time-series/index.js +0 -46
- package/cdn/react/variable-combobox/index.js +0 -41
- package/cdn/react/variable-keyword-search/index.js +0 -42
- package/dist/chunks/chunk.2ONCBUXN.js +0 -21
- package/dist/chunks/chunk.4AE6ZL4V.js +0 -25
- package/dist/chunks/chunk.6C6EVLA7.js +0 -25
- package/dist/chunks/chunk.6GGCQUNA.js +0 -24
- package/dist/chunks/chunk.6R4564BD.js +0 -24
- package/dist/chunks/chunk.73YL47RN.js +0 -11
- package/dist/chunks/chunk.7PELJQ4O.js +0 -24
- package/dist/chunks/chunk.A67Q6UBQ.js +0 -21
- package/dist/chunks/chunk.AGNOMHH2.js +0 -11
- package/dist/chunks/chunk.B2EAMHKB.js +0 -21
- package/dist/chunks/chunk.EKB26QUP.js +0 -11
- package/dist/chunks/chunk.ERBWKL4Y.js +0 -25
- package/dist/chunks/chunk.GICLLJNS.js +0 -11
- package/dist/chunks/chunk.HAL7R4WT.js +0 -0
- package/dist/chunks/chunk.I22H5V53.js +0 -24
- package/dist/chunks/chunk.IFY6FGEC.js +0 -738
- package/dist/chunks/chunk.JWQWJXCC.js +0 -21
- package/dist/chunks/chunk.KBLRBVBP.js +0 -21
- package/dist/chunks/chunk.KLXT6L4L.js +0 -21
- package/dist/chunks/chunk.LOZBU57W.js +0 -11
- package/dist/chunks/chunk.MBFLLBV5.js +0 -11
- package/dist/chunks/chunk.MJB3C5KB.js +0 -24
- package/dist/chunks/chunk.NAL75PTO.js +0 -27
- package/dist/chunks/chunk.NLAIKPFK.js +0 -21
- package/dist/chunks/chunk.OVWYJYRM.js +0 -25
- package/dist/chunks/chunk.QHQSRPID.js +0 -21
- package/dist/chunks/chunk.QYNQGA2I.js +0 -21
- package/dist/chunks/chunk.T7DGNPEJ.js +0 -21
- package/dist/chunks/chunk.UDMUW7XK.js +0 -21
- package/dist/chunks/chunk.YH76EU7C.js +0 -21
- package/dist/react/accordion/index.js +0 -19
- package/dist/react/alert/index.js +0 -14
- package/dist/react/browse-variables/index.js +0 -38
- package/dist/react/button/index.js +0 -15
- package/dist/react/chip/index.js +0 -12
- package/dist/react/combobox/index.js +0 -15
- package/dist/react/data-rods/index.js +0 -56
- package/dist/react/data-subsetter/index.js +0 -50
- package/dist/react/data-subsetter-history/index.js +0 -55
- package/dist/react/date-picker/index.js +0 -17
- package/dist/react/date-range-slider/index.js +0 -15
- package/dist/react/dialog/index.js +0 -12
- package/dist/react/icon/index.js +0 -17
- package/dist/react/index.js +0 -172
- package/dist/react/loader/index.js +0 -12
- package/dist/react/login/index.js +0 -29
- package/dist/react/map/index.js +0 -18
- package/dist/react/plot/index.js +0 -13
- package/dist/react/skeleton/index.js +0 -13
- package/dist/react/spatial-picker/index.js +0 -21
- package/dist/react/time-series/index.js +0 -35
- package/dist/react/variable-combobox/index.js +0 -27
- package/dist/react/variable-keyword-search/index.js +0 -30
- /package/{cdn/chunks/chunk.UVHPNM6M.js → dist/chunks/chunk.2EYRPHGL.js} +0 -0
- /package/dist/chunks/{chunk.7OKJDEHN.js → chunk.3GLMJLNY.js} +0 -0
- /package/dist/chunks/{chunk.OPPQDVNB.js → chunk.3PUTIFOP.js} +0 -0
- /package/dist/chunks/{chunk.P442U2FF.js → chunk.445A7YVG.js} +0 -0
- /package/{cdn/chunks/chunk.SF6MBAEP.js → dist/chunks/chunk.4MGGBJBD.js} +0 -0
- /package/dist/chunks/{chunk.BVX3SO2F.js → chunk.5ASTHFQ2.js} +0 -0
- /package/dist/chunks/{chunk.V3YFBP3T.js → chunk.6KIVAUVU.js} +0 -0
- /package/dist/chunks/{chunk.AHWPUTXC.js → chunk.7674U7FT.js} +0 -0
- /package/dist/chunks/{chunk.62YHGVQN.js → chunk.7AEQ2LX4.js} +0 -0
- /package/dist/chunks/{chunk.N7J6PIAG.js → chunk.AQOGDZ4T.js} +0 -0
- /package/{cdn/chunks/chunk.UOCDT7HQ.js → dist/chunks/chunk.AZXB7ZHM.js} +0 -0
- /package/dist/chunks/{chunk.GR7XHOA3.js → chunk.BEDYDFXT.js} +0 -0
- /package/dist/chunks/{chunk.AUB6SKUI.js → chunk.D3DPGMVW.js} +0 -0
- /package/dist/chunks/{chunk.SK7IZCKP.js → chunk.DTUHBE3U.js} +0 -0
- /package/{cdn/chunks/chunk.HAL7R4WT.js → dist/chunks/chunk.E2WXLMWX.js} +0 -0
- /package/dist/chunks/{chunk.PR33FDVP.js → chunk.EKUWLBOP.js} +0 -0
- /package/{cdn/chunks/chunk.7TBQFSZ7.js → dist/chunks/chunk.F3KBUEPT.js} +0 -0
- /package/dist/chunks/{chunk.DLDCSRJP.js → chunk.F5AEDYTP.js} +0 -0
- /package/dist/chunks/{chunk.HJGC45MW.js → chunk.FRSW4UHB.js} +0 -0
- /package/{cdn/chunks/chunk.LMGJJIIS.js → dist/chunks/chunk.FUU57PWY.js} +0 -0
- /package/dist/chunks/{chunk.FBOXM56P.js → chunk.G6SMK5II.js} +0 -0
- /package/dist/chunks/{chunk.MGW33V5Q.js → chunk.GRGSTMOZ.js} +0 -0
- /package/dist/chunks/{chunk.LELNKRPW.js → chunk.HNQMK3PU.js} +0 -0
- /package/{cdn/chunks/chunk.6OAPBJRP.js → dist/chunks/chunk.HWZP2UTW.js} +0 -0
- /package/dist/chunks/{chunk.B5THO3EV.js → chunk.IC4T7CZD.js} +0 -0
- /package/dist/chunks/{chunk.7VUSSQRI.js → chunk.KUSRVQBO.js} +0 -0
- /package/{cdn/chunks/chunk.KW4TJM4C.js → dist/chunks/chunk.L63WM7I3.js} +0 -0
- /package/dist/chunks/{chunk.Z3GLEDYM.js → chunk.MQOXBVDK.js} +0 -0
- /package/dist/chunks/{chunk.DNBZHQCS.js → chunk.NMWP5DQX.js} +0 -0
- /package/{cdn/chunks/chunk.NQKBKXPW.js → dist/chunks/chunk.PBC3S6IG.js} +0 -0
- /package/dist/chunks/{chunk.2YRBHDWM.js → chunk.SGFD3ORP.js} +0 -0
- /package/dist/chunks/{chunk.24GW2RSV.js → chunk.TCEJ3MS6.js} +0 -0
- /package/{cdn/chunks/chunk.7PAVW6KC.js → dist/chunks/chunk.UZAIWUWC.js} +0 -0
- /package/dist/chunks/{chunk.7WL3WWGJ.js → chunk.V2Z7ZBTD.js} +0 -0
- /package/{cdn/chunks/chunk.JUSZPVPU.js → dist/chunks/chunk.V3EFWONT.js} +0 -0
- /package/dist/chunks/{chunk.KAV5L6Z5.js → chunk.V7LXD3II.js} +0 -0
- /package/dist/chunks/{chunk.2V4XFMTB.js → chunk.WJL4R4O2.js} +0 -0
- /package/dist/chunks/{chunk.KZ3ISS6V.js → chunk.XOD4KYCP.js} +0 -0
- /package/dist/chunks/{chunk.TQWLVZHQ.js → chunk.XZB6CNAL.js} +0 -0
- /package/dist/chunks/{chunk.3WKUS32S.js → chunk.YXLIUMJM.js} +0 -0
- /package/dist/chunks/{chunk.DW23TAF4.js → chunk.YY65ZHR5.js} +0 -0
- /package/dist/chunks/{chunk.APJOA6RL.js → chunk.Z4S5QPB7.js} +0 -0
- /package/{cdn/chunks/chunk.QL5C2XOW.js → dist/components/plot-toolbar/plot-toolbar.types.js} +0 -0
|
@@ -0,0 +1,525 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DB_NAME,
|
|
3
|
+
getDataByKey
|
|
4
|
+
} from "./chunk.D3XI3L7Y.js";
|
|
5
|
+
import {
|
|
6
|
+
plot_toolbar_styles_default
|
|
7
|
+
} from "./chunk.EC75KAKW.js";
|
|
8
|
+
import {
|
|
9
|
+
TerraButton
|
|
10
|
+
} from "./chunk.7DZ3HM3P.js";
|
|
11
|
+
import {
|
|
12
|
+
TerraIcon
|
|
13
|
+
} from "./chunk.7ZMNC2EP.js";
|
|
14
|
+
import {
|
|
15
|
+
watch
|
|
16
|
+
} from "./chunk.DTUHBE3U.js";
|
|
17
|
+
import {
|
|
18
|
+
TerraElement,
|
|
19
|
+
component_styles_default
|
|
20
|
+
} from "./chunk.3I3EQO4P.js";
|
|
21
|
+
import {
|
|
22
|
+
__decorateClass,
|
|
23
|
+
__privateAdd,
|
|
24
|
+
__privateMethod
|
|
25
|
+
} from "./chunk.TVFCHGU3.js";
|
|
26
|
+
|
|
27
|
+
// src/components/plot-toolbar/plot-toolbar.component.ts
|
|
28
|
+
import { property, query, state } from "lit/decorators.js";
|
|
29
|
+
import { html } from "lit";
|
|
30
|
+
import { downloadImage } from "plotly.js-dist-min";
|
|
31
|
+
import { cache } from "lit/directives/cache.js";
|
|
32
|
+
var _handleActiveMenuItem, handleActiveMenuItem_fn, _handleMenuLeave, handleMenuLeave_fn, _renderInfoPanel, renderInfoPanel_fn, _renderDownloadPanel, renderDownloadPanel_fn, _renderHelpPanel, renderHelpPanel_fn, _renderJupyterNotebookPanel, renderJupyterNotebookPanel_fn, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn, _downloadPNG, downloadPNG_fn, _downloadCSV, downloadCSV_fn, _convertToCSV, convertToCSV_fn, _downloadGeotiff, downloadGeotiff_fn;
|
|
33
|
+
var TerraPlotToolbar = class extends TerraElement {
|
|
34
|
+
constructor() {
|
|
35
|
+
super(...arguments);
|
|
36
|
+
__privateAdd(this, _handleActiveMenuItem);
|
|
37
|
+
__privateAdd(this, _handleMenuLeave);
|
|
38
|
+
__privateAdd(this, _renderInfoPanel);
|
|
39
|
+
__privateAdd(this, _renderDownloadPanel);
|
|
40
|
+
__privateAdd(this, _renderHelpPanel);
|
|
41
|
+
__privateAdd(this, _renderJupyterNotebookPanel);
|
|
42
|
+
__privateAdd(this, _handleJupyterNotebookClick);
|
|
43
|
+
__privateAdd(this, _downloadPNG);
|
|
44
|
+
__privateAdd(this, _downloadCSV);
|
|
45
|
+
__privateAdd(this, _convertToCSV);
|
|
46
|
+
__privateAdd(this, _downloadGeotiff);
|
|
47
|
+
this.activeMenuItem = null;
|
|
48
|
+
}
|
|
49
|
+
handleFocus(_oldValue, newValue) {
|
|
50
|
+
if (newValue === null) {
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
this.menu.focus();
|
|
54
|
+
}
|
|
55
|
+
render() {
|
|
56
|
+
return cache(
|
|
57
|
+
!this.catalogVariable ? html`<div class="spacer"></div>` : html` <header>
|
|
58
|
+
<slot name="title">
|
|
59
|
+
<h2 class="title">
|
|
60
|
+
${this.catalogVariable.dataFieldLongName}
|
|
61
|
+
</h2>
|
|
62
|
+
</slot>
|
|
63
|
+
|
|
64
|
+
<div class="toggles">
|
|
65
|
+
<terra-button
|
|
66
|
+
circle
|
|
67
|
+
outline
|
|
68
|
+
aria-expanded=${this.activeMenuItem === "information"}
|
|
69
|
+
aria-controls="menu"
|
|
70
|
+
aria-haspopup="true"
|
|
71
|
+
class="toggle"
|
|
72
|
+
@mouseenter=${__privateMethod(this, _handleActiveMenuItem, handleActiveMenuItem_fn)}
|
|
73
|
+
data-menu-name="information"
|
|
74
|
+
>
|
|
75
|
+
<span class="sr-only"
|
|
76
|
+
>Information for
|
|
77
|
+
${this.catalogVariable.dataFieldLongName}</span
|
|
78
|
+
>
|
|
79
|
+
|
|
80
|
+
<terra-icon name="info" font-size="1em"></terra-icon>
|
|
81
|
+
</terra-button>
|
|
82
|
+
|
|
83
|
+
<terra-button
|
|
84
|
+
circle
|
|
85
|
+
outline
|
|
86
|
+
aria-expanded=${this.activeMenuItem === "download"}
|
|
87
|
+
aria-controls="menu"
|
|
88
|
+
aria-haspopup="true"
|
|
89
|
+
class="toggle"
|
|
90
|
+
@mouseenter=${__privateMethod(this, _handleActiveMenuItem, handleActiveMenuItem_fn)}
|
|
91
|
+
data-menu-name="download"
|
|
92
|
+
>
|
|
93
|
+
<span class="sr-only"
|
|
94
|
+
>Download options for
|
|
95
|
+
${this.catalogVariable.dataFieldLongName}</span
|
|
96
|
+
>
|
|
97
|
+
|
|
98
|
+
<terra-icon
|
|
99
|
+
name="outline-arrow-down-tray"
|
|
100
|
+
library="heroicons"
|
|
101
|
+
font-size="1.5em"
|
|
102
|
+
></terra-icon>
|
|
103
|
+
</terra-button>
|
|
104
|
+
|
|
105
|
+
<terra-button
|
|
106
|
+
circle
|
|
107
|
+
outline
|
|
108
|
+
aria-expanded=${this.activeMenuItem === "help"}
|
|
109
|
+
aria-controls="menu"
|
|
110
|
+
aria-haspopup="true"
|
|
111
|
+
class="toggle"
|
|
112
|
+
@mouseenter=${__privateMethod(this, _handleActiveMenuItem, handleActiveMenuItem_fn)}
|
|
113
|
+
data-menu-name="help"
|
|
114
|
+
>
|
|
115
|
+
<span class="sr-only"
|
|
116
|
+
>Help link for
|
|
117
|
+
${this.catalogVariable.dataFieldLongName}</span
|
|
118
|
+
>
|
|
119
|
+
|
|
120
|
+
<terra-icon
|
|
121
|
+
name="question"
|
|
122
|
+
font-size="1em"
|
|
123
|
+
></terra-icon>
|
|
124
|
+
</terra-button>
|
|
125
|
+
|
|
126
|
+
<terra-button
|
|
127
|
+
circle
|
|
128
|
+
outline
|
|
129
|
+
aria-expanded=${this.activeMenuItem === "jupyter"}
|
|
130
|
+
aria-controls="menu"
|
|
131
|
+
aria-haspopup="true"
|
|
132
|
+
class="toggle"
|
|
133
|
+
@mouseenter=${__privateMethod(this, _handleActiveMenuItem, handleActiveMenuItem_fn)}
|
|
134
|
+
data-menu-name="jupyter"
|
|
135
|
+
>
|
|
136
|
+
<span class="sr-only"
|
|
137
|
+
>Open in Jupyter Notebook for
|
|
138
|
+
${this.catalogVariable.dataFieldLongName}</span
|
|
139
|
+
>
|
|
140
|
+
|
|
141
|
+
<terra-icon
|
|
142
|
+
name="outline-code-bracket"
|
|
143
|
+
library="heroicons"
|
|
144
|
+
font-size="1.5em"
|
|
145
|
+
></terra-icon>
|
|
146
|
+
</terra-button>
|
|
147
|
+
</div>
|
|
148
|
+
|
|
149
|
+
<menu
|
|
150
|
+
role="menu"
|
|
151
|
+
id="menu"
|
|
152
|
+
data-expanded=${this.activeMenuItem !== null}
|
|
153
|
+
tabindex="-1"
|
|
154
|
+
@mouseleave=${__privateMethod(this, _handleMenuLeave, handleMenuLeave_fn)}
|
|
155
|
+
>
|
|
156
|
+
<li
|
|
157
|
+
role="menuitem"
|
|
158
|
+
?hidden=${this.activeMenuItem !== "information"}
|
|
159
|
+
>
|
|
160
|
+
${__privateMethod(this, _renderInfoPanel, renderInfoPanel_fn).call(this)}
|
|
161
|
+
</li>
|
|
162
|
+
|
|
163
|
+
<li
|
|
164
|
+
role="menuitem"
|
|
165
|
+
?hidden=${this.activeMenuItem !== "download"}
|
|
166
|
+
>
|
|
167
|
+
${__privateMethod(this, _renderDownloadPanel, renderDownloadPanel_fn).call(this)}
|
|
168
|
+
</li>
|
|
169
|
+
|
|
170
|
+
<li
|
|
171
|
+
role="menuitem"
|
|
172
|
+
?hidden=${this.activeMenuItem !== "help"}
|
|
173
|
+
>
|
|
174
|
+
${__privateMethod(this, _renderHelpPanel, renderHelpPanel_fn).call(this)}
|
|
175
|
+
</li>
|
|
176
|
+
|
|
177
|
+
<li
|
|
178
|
+
role="menuitem"
|
|
179
|
+
?hidden=${this.activeMenuItem !== "jupyter"}
|
|
180
|
+
>
|
|
181
|
+
${__privateMethod(this, _renderJupyterNotebookPanel, renderJupyterNotebookPanel_fn).call(this)}
|
|
182
|
+
</li>
|
|
183
|
+
</menu>
|
|
184
|
+
</header>`
|
|
185
|
+
);
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
_handleActiveMenuItem = new WeakSet();
|
|
189
|
+
handleActiveMenuItem_fn = function(event) {
|
|
190
|
+
const button = event.currentTarget;
|
|
191
|
+
const menuName = button.dataset.menuName;
|
|
192
|
+
this.activeMenuItem = menuName;
|
|
193
|
+
};
|
|
194
|
+
_handleMenuLeave = new WeakSet();
|
|
195
|
+
handleMenuLeave_fn = function(event) {
|
|
196
|
+
const relatedTarget = event.relatedTarget;
|
|
197
|
+
if (!this.contains(relatedTarget)) {
|
|
198
|
+
this.activeMenuItem = null;
|
|
199
|
+
}
|
|
200
|
+
};
|
|
201
|
+
_renderInfoPanel = new WeakSet();
|
|
202
|
+
renderInfoPanel_fn = function() {
|
|
203
|
+
var _a;
|
|
204
|
+
return html`
|
|
205
|
+
<h3 class="sr-only">Information</h3>
|
|
206
|
+
|
|
207
|
+
<dl>
|
|
208
|
+
<dt>Variable Longname</dt>
|
|
209
|
+
<dd>${this.catalogVariable.dataFieldLongName}</dd>
|
|
210
|
+
|
|
211
|
+
<dt>Variable Shortname</dt>
|
|
212
|
+
<dd>
|
|
213
|
+
${(_a = this.catalogVariable.dataFieldShortName) != null ? _a : this.catalogVariable.dataFieldAccessName}
|
|
214
|
+
</dd>
|
|
215
|
+
|
|
216
|
+
<dt>Units</dt>
|
|
217
|
+
<dd>
|
|
218
|
+
<code>${this.catalogVariable.dataFieldUnits}</code>
|
|
219
|
+
</dd>
|
|
220
|
+
|
|
221
|
+
<dt>Dataset Information</dt>
|
|
222
|
+
<dd>
|
|
223
|
+
<a
|
|
224
|
+
href=${this.catalogVariable.dataProductDescriptionUrl}
|
|
225
|
+
rel="noopener noreffer"
|
|
226
|
+
target="_blank"
|
|
227
|
+
>${this.catalogVariable.dataProductLongName}
|
|
228
|
+
|
|
229
|
+
<terra-icon
|
|
230
|
+
name="outline-arrow-top-right-on-square"
|
|
231
|
+
library="heroicons"
|
|
232
|
+
></terra-icon>
|
|
233
|
+
</a>
|
|
234
|
+
</dd>
|
|
235
|
+
|
|
236
|
+
<dt>Variable Information</dt>
|
|
237
|
+
<dd>
|
|
238
|
+
<a
|
|
239
|
+
href=${this.catalogVariable.dataFieldDescriptionUrl}
|
|
240
|
+
rel="noopener noreffer"
|
|
241
|
+
target="_blank"
|
|
242
|
+
>Variable Glossary
|
|
243
|
+
|
|
244
|
+
<terra-icon
|
|
245
|
+
name="outline-arrow-top-right-on-square"
|
|
246
|
+
library="heroicons"
|
|
247
|
+
></terra-icon>
|
|
248
|
+
</a>
|
|
249
|
+
</dd>
|
|
250
|
+
</dl>
|
|
251
|
+
`;
|
|
252
|
+
};
|
|
253
|
+
_renderDownloadPanel = new WeakSet();
|
|
254
|
+
renderDownloadPanel_fn = function() {
|
|
255
|
+
return html`
|
|
256
|
+
<h3 class="sr-only">Download Options</h3>
|
|
257
|
+
|
|
258
|
+
${this.dataType === "geotiff" ? html`
|
|
259
|
+
<p>
|
|
260
|
+
This plot can be downloaded as a
|
|
261
|
+
<abbr title="Geotiff">GeoTIFF</abbr>
|
|
262
|
+
file
|
|
263
|
+
</p>
|
|
264
|
+
` : html`
|
|
265
|
+
<p>
|
|
266
|
+
This plot can be downloaded as either a
|
|
267
|
+
<abbr title="Portable Network Graphic">PNG</abbr>
|
|
268
|
+
image or
|
|
269
|
+
<abbr title="Comma-Separated Value">CSV</abbr>
|
|
270
|
+
data.
|
|
271
|
+
</p>
|
|
272
|
+
`}
|
|
273
|
+
${this.dataType === "geotiff" ? html`
|
|
274
|
+
<terra-button
|
|
275
|
+
outline
|
|
276
|
+
variant="default"
|
|
277
|
+
@click=${__privateMethod(this, _downloadGeotiff, downloadGeotiff_fn)}
|
|
278
|
+
>
|
|
279
|
+
<span class="sr-only">Download Plot Data as </span>
|
|
280
|
+
GeoTIFF
|
|
281
|
+
<terra-icon
|
|
282
|
+
slot="prefix"
|
|
283
|
+
name="outline-photo"
|
|
284
|
+
library="heroicons"
|
|
285
|
+
font-size="1.5em"
|
|
286
|
+
></terra-icon>
|
|
287
|
+
</terra-button>
|
|
288
|
+
` : html`
|
|
289
|
+
<terra-button
|
|
290
|
+
outline
|
|
291
|
+
variant="default"
|
|
292
|
+
@click=${__privateMethod(this, _downloadPNG, downloadPNG_fn)}
|
|
293
|
+
>
|
|
294
|
+
<span class="sr-only">Download Plot Data as </span>
|
|
295
|
+
PNG
|
|
296
|
+
<terra-icon
|
|
297
|
+
slot="prefix"
|
|
298
|
+
name="outline-photo"
|
|
299
|
+
library="heroicons"
|
|
300
|
+
font-size="1.5em"
|
|
301
|
+
></terra-icon>
|
|
302
|
+
</terra-button>
|
|
303
|
+
|
|
304
|
+
<terra-button
|
|
305
|
+
outline
|
|
306
|
+
variant="default"
|
|
307
|
+
@click=${__privateMethod(this, _downloadCSV, downloadCSV_fn)}
|
|
308
|
+
>
|
|
309
|
+
<span class="sr-only">Download Plot Data as </span>
|
|
310
|
+
CSV
|
|
311
|
+
<terra-icon
|
|
312
|
+
slot="prefix"
|
|
313
|
+
name="outline-document-chart-bar"
|
|
314
|
+
library="heroicons"
|
|
315
|
+
font-size="1.5em"
|
|
316
|
+
></terra-icon>
|
|
317
|
+
</terra-button>
|
|
318
|
+
`}
|
|
319
|
+
`;
|
|
320
|
+
};
|
|
321
|
+
_renderHelpPanel = new WeakSet();
|
|
322
|
+
renderHelpPanel_fn = function() {
|
|
323
|
+
return html`
|
|
324
|
+
<h3 class="sr-only">Help Links</h3>
|
|
325
|
+
<ul>
|
|
326
|
+
<li>
|
|
327
|
+
<a href="https://forum.earthdata.nasa.gov/viewforum.php?f=7&DAAC=3" rel"noopener noreffer">Earthdata User Forum
|
|
328
|
+
<terra-icon
|
|
329
|
+
name="outline-arrow-top-right-on-square"
|
|
330
|
+
library="heroicons"
|
|
331
|
+
></terra-icon>
|
|
332
|
+
</a>
|
|
333
|
+
</li>
|
|
334
|
+
</ul>
|
|
335
|
+
`;
|
|
336
|
+
};
|
|
337
|
+
_renderJupyterNotebookPanel = new WeakSet();
|
|
338
|
+
renderJupyterNotebookPanel_fn = function() {
|
|
339
|
+
return html`
|
|
340
|
+
<h3 class="sr-only">Jupyter Notebook Options</h3>
|
|
341
|
+
<p>Open this plot in a Jupyter Notebook to explore the data further.</p>
|
|
342
|
+
<a
|
|
343
|
+
href="#"
|
|
344
|
+
@click=${(e) => {
|
|
345
|
+
e.preventDefault();
|
|
346
|
+
__privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this);
|
|
347
|
+
}}
|
|
348
|
+
>
|
|
349
|
+
Open in Jupyter Notebook
|
|
350
|
+
<terra-icon
|
|
351
|
+
name="outline-arrow-top-right-on-square"
|
|
352
|
+
library="heroicons"
|
|
353
|
+
></terra-icon>
|
|
354
|
+
</a>
|
|
355
|
+
`;
|
|
356
|
+
};
|
|
357
|
+
_handleJupyterNotebookClick = new WeakSet();
|
|
358
|
+
handleJupyterNotebookClick_fn = function() {
|
|
359
|
+
const jupyterLiteUrl = "https://gesdisc.github.io/jupyterlite/lab/index.html";
|
|
360
|
+
const jupyterWindow = window.open(jupyterLiteUrl, "_blank");
|
|
361
|
+
if (!jupyterWindow) {
|
|
362
|
+
console.error("Failed to open JupyterLite!");
|
|
363
|
+
return;
|
|
364
|
+
}
|
|
365
|
+
getDataByKey(
|
|
366
|
+
"time-series" /* TIME_SERIES */,
|
|
367
|
+
this.cacheKey
|
|
368
|
+
).then((timeSeriesData) => {
|
|
369
|
+
setTimeout(() => {
|
|
370
|
+
var _a;
|
|
371
|
+
const notebook = [
|
|
372
|
+
{
|
|
373
|
+
id: "2733501b-0de4-4067-8aff-864e1b4c76cb",
|
|
374
|
+
cell_type: "code",
|
|
375
|
+
source: "%pip install -q terra_ui_components",
|
|
376
|
+
metadata: {
|
|
377
|
+
trusted: true
|
|
378
|
+
},
|
|
379
|
+
outputs: [],
|
|
380
|
+
execution_count: null
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
id: "870c1384-e706-48ee-ba07-fd552a949869",
|
|
384
|
+
cell_type: "code",
|
|
385
|
+
source: `from terra_ui_components import TerraTimeSeries
|
|
386
|
+
timeseries = TerraTimeSeries()
|
|
387
|
+
|
|
388
|
+
timeseries.variableEntryId = '${this.variableEntryId}'
|
|
389
|
+
timeseries.startDate = '${this.startDate}'
|
|
390
|
+
timeseries.endDate = '${this.endDate}'
|
|
391
|
+
timeseries.location = '${this.location}'
|
|
392
|
+
|
|
393
|
+
timeseries`,
|
|
394
|
+
metadata: {
|
|
395
|
+
trusted: true
|
|
396
|
+
},
|
|
397
|
+
outputs: [],
|
|
398
|
+
execution_count: null
|
|
399
|
+
}
|
|
400
|
+
];
|
|
401
|
+
jupyterWindow.postMessage(
|
|
402
|
+
{
|
|
403
|
+
type: "load-notebook",
|
|
404
|
+
filename: `${encodeURIComponent((_a = this.variableEntryId) != null ? _a : "plot")}.ipynb`,
|
|
405
|
+
notebook,
|
|
406
|
+
timeSeriesData,
|
|
407
|
+
databaseName: DB_NAME,
|
|
408
|
+
storeName: "time-series" /* TIME_SERIES */
|
|
409
|
+
},
|
|
410
|
+
"*"
|
|
411
|
+
);
|
|
412
|
+
}, 500);
|
|
413
|
+
});
|
|
414
|
+
};
|
|
415
|
+
_downloadPNG = new WeakSet();
|
|
416
|
+
downloadPNG_fn = function(_event) {
|
|
417
|
+
downloadImage(this.plot.base, {
|
|
418
|
+
filename: this.catalogVariable.dataFieldId,
|
|
419
|
+
format: "png",
|
|
420
|
+
width: 1920,
|
|
421
|
+
height: 1080
|
|
422
|
+
});
|
|
423
|
+
};
|
|
424
|
+
_downloadCSV = new WeakSet();
|
|
425
|
+
downloadCSV_fn = function(_event) {
|
|
426
|
+
var _a, _b;
|
|
427
|
+
let plotData = [];
|
|
428
|
+
if (!Array.isArray(this.timeSeriesData)) {
|
|
429
|
+
return;
|
|
430
|
+
}
|
|
431
|
+
(_a = this.timeSeriesData) == null ? void 0 : _a.forEach((plot, index) => {
|
|
432
|
+
plotData[index] = plot;
|
|
433
|
+
});
|
|
434
|
+
const csvData = plotData.map((trace) => {
|
|
435
|
+
return trace.x.map((x, i) => {
|
|
436
|
+
return {
|
|
437
|
+
x,
|
|
438
|
+
y: trace.y[i]
|
|
439
|
+
};
|
|
440
|
+
});
|
|
441
|
+
}).flat();
|
|
442
|
+
const csv = __privateMethod(this, _convertToCSV, convertToCSV_fn).call(this, csvData);
|
|
443
|
+
const blob = new Blob([csv], { type: "text/csv;charset=utf-8;" });
|
|
444
|
+
const url = URL.createObjectURL(blob);
|
|
445
|
+
const link = document.createElement("a");
|
|
446
|
+
link.setAttribute("href", url);
|
|
447
|
+
const variableName = ((_b = this.catalogVariable) == null ? void 0 : _b.dataFieldId) || "time-series-data";
|
|
448
|
+
const locationStr = this.location ? `_${this.location.replace(/,/g, "_")}` : "";
|
|
449
|
+
const dateRange = this.startDate && this.endDate ? `_${this.startDate.split("T")[0]}_to_${this.endDate.split("T")[0]}` : "";
|
|
450
|
+
const filename = `${variableName}${locationStr}${dateRange}.csv`;
|
|
451
|
+
link.setAttribute("download", filename);
|
|
452
|
+
link.style.visibility = "hidden";
|
|
453
|
+
document.body.appendChild(link);
|
|
454
|
+
link.click();
|
|
455
|
+
document.body.removeChild(link);
|
|
456
|
+
};
|
|
457
|
+
_convertToCSV = new WeakSet();
|
|
458
|
+
convertToCSV_fn = function(data) {
|
|
459
|
+
const header = Object.keys(data[0]).join(",") + "\n";
|
|
460
|
+
const rows = data.map((obj) => Object.values(obj).join(",")).join("\n");
|
|
461
|
+
return header + rows;
|
|
462
|
+
};
|
|
463
|
+
_downloadGeotiff = new WeakSet();
|
|
464
|
+
downloadGeotiff_fn = function() {
|
|
465
|
+
if (!this.timeSeriesData || !(this.timeSeriesData instanceof Blob)) {
|
|
466
|
+
console.warn("No GeoTIFF available to download.");
|
|
467
|
+
return;
|
|
468
|
+
}
|
|
469
|
+
const url = URL.createObjectURL(this.timeSeriesData);
|
|
470
|
+
const a = document.createElement("a");
|
|
471
|
+
const locationStr = `${this.location.replace(/,/g, "_")}`;
|
|
472
|
+
let file_name = `${this.variableEntryId}_${this.startDate}-${this.endDate}_${locationStr}.tif`;
|
|
473
|
+
a.href = url;
|
|
474
|
+
a.download = `${file_name}`;
|
|
475
|
+
a.style.display = "none";
|
|
476
|
+
document.body.appendChild(a);
|
|
477
|
+
a.click();
|
|
478
|
+
document.body.removeChild(a);
|
|
479
|
+
console.log("Successfully downloaded tiff file...");
|
|
480
|
+
};
|
|
481
|
+
TerraPlotToolbar.styles = [component_styles_default, plot_toolbar_styles_default];
|
|
482
|
+
TerraPlotToolbar.dependencies = {
|
|
483
|
+
"terra-icon": TerraIcon,
|
|
484
|
+
"terra-button": TerraButton
|
|
485
|
+
};
|
|
486
|
+
__decorateClass([
|
|
487
|
+
property()
|
|
488
|
+
], TerraPlotToolbar.prototype, "catalogVariable", 2);
|
|
489
|
+
__decorateClass([
|
|
490
|
+
property()
|
|
491
|
+
], TerraPlotToolbar.prototype, "variableEntryId", 2);
|
|
492
|
+
__decorateClass([
|
|
493
|
+
property()
|
|
494
|
+
], TerraPlotToolbar.prototype, "plot", 2);
|
|
495
|
+
__decorateClass([
|
|
496
|
+
property()
|
|
497
|
+
], TerraPlotToolbar.prototype, "timeSeriesData", 2);
|
|
498
|
+
__decorateClass([
|
|
499
|
+
property()
|
|
500
|
+
], TerraPlotToolbar.prototype, "location", 2);
|
|
501
|
+
__decorateClass([
|
|
502
|
+
property()
|
|
503
|
+
], TerraPlotToolbar.prototype, "startDate", 2);
|
|
504
|
+
__decorateClass([
|
|
505
|
+
property()
|
|
506
|
+
], TerraPlotToolbar.prototype, "endDate", 2);
|
|
507
|
+
__decorateClass([
|
|
508
|
+
property()
|
|
509
|
+
], TerraPlotToolbar.prototype, "cacheKey", 2);
|
|
510
|
+
__decorateClass([
|
|
511
|
+
property()
|
|
512
|
+
], TerraPlotToolbar.prototype, "dataType", 2);
|
|
513
|
+
__decorateClass([
|
|
514
|
+
state()
|
|
515
|
+
], TerraPlotToolbar.prototype, "activeMenuItem", 2);
|
|
516
|
+
__decorateClass([
|
|
517
|
+
query("#menu")
|
|
518
|
+
], TerraPlotToolbar.prototype, "menu", 2);
|
|
519
|
+
__decorateClass([
|
|
520
|
+
watch("activeMenuItem")
|
|
521
|
+
], TerraPlotToolbar.prototype, "handleFocus", 1);
|
|
522
|
+
|
|
523
|
+
export {
|
|
524
|
+
TerraPlotToolbar
|
|
525
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
plot_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.SGFD3ORP.js";
|
|
4
4
|
import {
|
|
5
5
|
watch
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.DTUHBE3U.js";
|
|
7
7
|
import {
|
|
8
8
|
TerraElement,
|
|
9
9
|
component_styles_default
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.3I3EQO4P.js";
|
|
11
11
|
import {
|
|
12
12
|
__decorateClass,
|
|
13
13
|
__privateAdd,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FetchController
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.KLCOAQUS.js";
|
|
4
4
|
import {
|
|
5
5
|
adaptValueToVariableMetadata,
|
|
6
6
|
clearSelection,
|
|
@@ -8,23 +8,23 @@ import {
|
|
|
8
8
|
removeEmptyCollections,
|
|
9
9
|
renderSearchResult,
|
|
10
10
|
walkToOption
|
|
11
|
-
} from "./chunk.
|
|
11
|
+
} from "./chunk.6KIVAUVU.js";
|
|
12
12
|
import {
|
|
13
13
|
variable_combobox_styles_default
|
|
14
|
-
} from "./chunk.
|
|
14
|
+
} from "./chunk.FRSW4UHB.js";
|
|
15
15
|
import {
|
|
16
16
|
icon_default
|
|
17
|
-
} from "./chunk.
|
|
17
|
+
} from "./chunk.ZY3XITMC.js";
|
|
18
18
|
import {
|
|
19
19
|
button_default
|
|
20
|
-
} from "./chunk.
|
|
20
|
+
} from "./chunk.GWQS2AWR.js";
|
|
21
21
|
import {
|
|
22
22
|
watch
|
|
23
|
-
} from "./chunk.
|
|
23
|
+
} from "./chunk.DTUHBE3U.js";
|
|
24
24
|
import {
|
|
25
25
|
TerraElement,
|
|
26
26
|
component_styles_default
|
|
27
|
-
} from "./chunk.
|
|
27
|
+
} from "./chunk.3I3EQO4P.js";
|
|
28
28
|
import {
|
|
29
29
|
__decorateClass,
|
|
30
30
|
__privateAdd,
|