@nasa-terra/components 0.0.53 → 0.0.57
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/{dist/chunks/chunk.VE3COXRN.js → cdn/chunks/chunk.2DYKVIJM.js} +1 -1
- package/cdn/chunks/{chunk.XAJZNITQ.js → chunk.2MEF647T.js} +1 -1
- package/{dist/chunks/chunk.SXWW6H7G.js → cdn/chunks/chunk.2ZZVN2ZS.js} +1 -1
- package/cdn/chunks/{chunk.SFG6BGI6.js → chunk.33B2TQYG.js} +2 -2
- package/cdn/chunks/{chunk.7LR3A5ZW.js → chunk.3GDRLCFJ.js} +2 -2
- package/{dist/chunks/chunk.A7OKAATM.js → cdn/chunks/chunk.3IPPALZ4.js} +1 -1
- package/cdn/chunks/{chunk.QIVU3UVU.js → chunk.3WD5HVRH.js} +1 -1
- package/cdn/chunks/{chunk.DXUHDNR2.js → chunk.3YJO7AUD.js} +1 -1
- package/cdn/chunks/{chunk.ZQDMMP6X.js → chunk.4C43ZWOM.js} +5 -4
- package/cdn/chunks/{chunk.IW5LSMO4.js → chunk.4DDTNGKM.js} +27 -1
- package/{dist/chunks/chunk.2RKHDDU2.js → cdn/chunks/chunk.4N7DSCRA.js} +1 -1
- package/cdn/chunks/{chunk.223WZP6H.js → chunk.55UVOUC4.js} +2 -2
- package/cdn/chunks/{chunk.FS3ZYOYJ.js → chunk.6PUQ3DDO.js} +1 -1
- package/cdn/chunks/{chunk.66O6GDYQ.js → chunk.6XN43KQJ.js} +6 -6
- package/cdn/chunks/{chunk.QLE3NTPL.js → chunk.6XPU6E2S.js} +5 -5
- package/{dist/chunks/chunk.HM3ZTCTP.js → cdn/chunks/chunk.7YL4PQ42.js} +1 -1
- package/cdn/chunks/{chunk.LCPWWHRW.js → chunk.AAF5VKZW.js} +1 -1
- package/cdn/chunks/{chunk.JLUCY2KC.js → chunk.ARWRM2JC.js} +6 -1
- package/cdn/chunks/{chunk.XQK25A5Y.js → chunk.B7UICZZI.js} +1 -1
- package/cdn/chunks/{chunk.SRTZLLQ5.js → chunk.BYIFODNK.js} +89 -9
- package/{dist/chunks/chunk.BMXRPN3G.js → cdn/chunks/chunk.CG5HLY6E.js} +1 -1
- package/cdn/chunks/{chunk.PYENVYVD.js → chunk.COXPQMBK.js} +1 -1
- package/cdn/chunks/{chunk.HDUTNK76.js → chunk.EC732IG2.js} +1 -1
- package/{dist/chunks/chunk.Z6VGIT4W.js → cdn/chunks/chunk.ERXCQCD7.js} +1 -1
- package/cdn/chunks/{chunk.25HVLP5F.js → chunk.FIPOAXAY.js} +1 -1
- package/cdn/chunks/{chunk.32W6J6AF.js → chunk.FXMM2J3O.js} +1 -1
- package/cdn/chunks/{chunk.YKNGZO6V.js → chunk.GES7QNZL.js} +1 -1
- package/cdn/chunks/{chunk.PNYTGKX5.js → chunk.GHKFPCLA.js} +15 -2
- package/cdn/chunks/{chunk.VH6TLJG7.js → chunk.GJIEQWA2.js} +10 -0
- package/{dist/chunks/chunk.UOGBFLVH.js → cdn/chunks/chunk.IG3TAXUH.js} +1 -1
- package/{dist/chunks/chunk.ZRD3ZNCG.js → cdn/chunks/chunk.IJWEWB67.js} +1 -1
- package/{dist/chunks/chunk.BLS652FJ.js → cdn/chunks/chunk.IL6BKW2Q.js} +5 -2
- package/cdn/chunks/{chunk.SXNVHR5M.js → chunk.J5SH3ZN6.js} +1 -1
- package/cdn/chunks/{chunk.L7N566HD.js → chunk.JLTH2K7V.js} +1 -1
- package/cdn/chunks/{chunk.AOKWX7Z7.js → chunk.JUWCKFMZ.js} +1 -1
- package/{dist/chunks/chunk.5KLM57QY.js → cdn/chunks/chunk.JZMMJJXA.js} +1 -1
- package/cdn/chunks/{chunk.YTH6FKWR.js → chunk.KA6PTMGW.js} +1 -1
- package/cdn/chunks/{chunk.UBW72CYZ.js → chunk.KKAIKPSG.js} +1 -1
- package/cdn/chunks/{chunk.2TPQ7A7J.js → chunk.KYGMPYSO.js} +12 -2
- package/cdn/chunks/{chunk.UKQCOWLU.js → chunk.KYGXDWBN.js} +1 -1
- package/cdn/chunks/{chunk.XUPAIJOR.js → chunk.LK2MSFYU.js} +1 -1
- package/{dist/chunks/chunk.5VVBRICA.js → cdn/chunks/chunk.M2V6S43K.js} +1 -1
- package/cdn/chunks/{chunk.CMFROAGD.js → chunk.MOPKDTUH.js} +1 -1
- package/{dist/chunks/chunk.GVEKK7CF.js → cdn/chunks/chunk.MSYMAJQV.js} +1 -1
- package/cdn/chunks/{chunk.3R6XYEOH.js → chunk.NZVF3KEQ.js} +2 -2
- package/cdn/chunks/{chunk.R24K6QI4.js → chunk.O6OUQQHE.js} +5 -1
- package/cdn/chunks/{chunk.I5WLJ5L3.js → chunk.OLM4HKUA.js} +2 -1
- package/cdn/chunks/{chunk.GQZQZ2HS.js → chunk.PKSAOP3R.js} +1 -1
- package/cdn/chunks/{chunk.YIPEL4RB.js → chunk.Q3FAV5GP.js} +1 -1
- package/cdn/chunks/{chunk.ODSJ642O.js → chunk.QB4ZCP24.js} +6 -6
- package/cdn/chunks/{chunk.DRO43W2Q.js → chunk.QJ6CNPBQ.js} +1 -1
- package/{dist/chunks/chunk.ECA2Y7HR.js → cdn/chunks/chunk.QJPARPHC.js} +1 -1
- package/{dist/chunks/chunk.OYPYQ42W.js → cdn/chunks/chunk.R6UXSPVA.js} +5 -2
- package/cdn/chunks/{chunk.QCGNAB7F.js → chunk.RODS4RBS.js} +1 -1
- package/cdn/chunks/{chunk.2UDWV64G.js → chunk.S7VGNGJS.js} +8 -13
- package/cdn/chunks/{chunk.AZZ2NMUW.js → chunk.SMNV3ZSF.js} +1 -1
- package/{dist/chunks/chunk.N25BS4ZB.js → cdn/chunks/chunk.SRWUJIDM.js} +1 -1
- package/cdn/chunks/{chunk.IR66XQLB.js → chunk.TBAYYTLI.js} +7 -7
- package/cdn/chunks/{chunk.SSTISPFD.js → chunk.TUPD24MF.js} +5 -3
- package/cdn/chunks/{chunk.6RS64LSV.js → chunk.TVCMCVZE.js} +16 -9
- package/cdn/chunks/{chunk.FYWRHDMM.js → chunk.UISZLUBJ.js} +170 -110
- package/cdn/chunks/{chunk.FOR62X7R.js → chunk.V27A5DRW.js} +1 -1
- package/{dist/chunks/chunk.6QIHYJP5.js → cdn/chunks/chunk.VXSUFQPV.js} +1 -1
- package/cdn/chunks/{chunk.3EMZ7G5B.js → chunk.WOQESRPI.js} +1 -1
- package/{dist/chunks/chunk.MNJWY2UW.js → cdn/chunks/chunk.XE2AAO4Q.js} +1 -1
- package/cdn/chunks/{chunk.K5CSW352.js → chunk.XFYLM4YW.js} +5 -0
- package/cdn/chunks/{chunk.XYM7DLPS.js → chunk.Y76HNA6A.js} +5 -5
- package/cdn/chunks/{chunk.VE5TVT6L.js → chunk.Z7M6TKD6.js} +1 -1
- package/{dist/chunks/chunk.NJIZMOG7.js → cdn/chunks/chunk.ZHF4JQVX.js} +1 -1
- package/cdn/components/accordion/accordion.component.js +3 -3
- package/cdn/components/accordion/accordion.js +4 -4
- package/cdn/components/alert/alert.component.d.ts +0 -1
- package/cdn/components/alert/alert.component.js +3 -3
- package/cdn/components/alert/alert.js +4 -4
- package/cdn/components/alert/alert.styles.js +1 -1
- package/cdn/components/browse-variables/browse-variables.component.js +12 -12
- package/cdn/components/browse-variables/browse-variables.js +13 -13
- package/cdn/components/button/button.component.js +3 -3
- package/cdn/components/button/button.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 +4 -4
- package/cdn/components/combobox/combobox.js +5 -5
- package/cdn/components/data-rods/data-rods.component.d.ts +2 -0
- package/cdn/components/data-rods/data-rods.component.js +20 -18
- package/cdn/components/data-rods/data-rods.js +21 -19
- package/cdn/components/data-subsetter/data-subsetter.component.d.ts +4 -0
- package/cdn/components/data-subsetter/data-subsetter.component.js +13 -13
- package/cdn/components/data-subsetter/data-subsetter.controller.js +1 -1
- package/cdn/components/data-subsetter/data-subsetter.js +14 -14
- package/cdn/components/data-subsetter/data-subsetter.styles.js +1 -1
- package/cdn/components/date-picker/date-picker.component.js +4 -4
- package/cdn/components/date-picker/date-picker.js +5 -5
- 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 +3 -3
- package/cdn/components/dialog/dialog.js +4 -4
- package/cdn/components/dialog/dialog.styles.js +1 -1
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- 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/map.component.d.ts +3 -1
- package/cdn/components/map/map.component.js +2 -2
- package/cdn/components/map/map.js +3 -3
- package/cdn/components/plot/plot.component.d.ts +2 -2
- package/cdn/components/plot/plot.component.js +2 -2
- package/cdn/components/plot/plot.js +3 -3
- package/cdn/components/skeleton/skeleton.component.js +4 -4
- package/cdn/components/skeleton/skeleton.js +5 -5
- package/cdn/components/spatial-picker/spatial-picker.component.d.ts +2 -0
- package/cdn/components/spatial-picker/spatial-picker.component.js +3 -3
- package/cdn/components/spatial-picker/spatial-picker.js +4 -4
- package/cdn/components/time-series/time-series.component.d.ts +8 -0
- package/cdn/components/time-series/time-series.component.js +10 -8
- package/cdn/components/time-series/time-series.controller.js +1 -1
- package/cdn/components/time-series/time-series.js +11 -9
- package/cdn/components/variable-combobox/variable-combobox.component.js +8 -8
- package/cdn/components/variable-combobox/variable-combobox.js +9 -9
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +8 -8
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +9 -9
- package/cdn/custom-elements.json +1986 -1906
- package/cdn/events/events.d.ts +2 -0
- package/cdn/events/terra-plot-relayout.d.ts +11 -0
- package/cdn/events/terra-subset-job-complete.d.ts +9 -0
- package/cdn/react/accordion/index.js +4 -4
- package/cdn/react/alert/index.js +4 -4
- package/cdn/react/browse-variables/index.js +13 -13
- package/cdn/react/button/index.js +4 -4
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +5 -5
- package/cdn/react/data-rods/index.d.ts +8 -1
- package/cdn/react/data-rods/index.js +21 -19
- package/cdn/react/data-subsetter/index.d.ts +8 -1
- package/cdn/react/data-subsetter/index.js +14 -14
- package/cdn/react/date-picker/index.js +5 -5
- package/cdn/react/date-range-slider/index.js +3 -3
- package/cdn/react/dialog/index.js +4 -4
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/index.d.ts +6 -6
- package/cdn/react/index.js +75 -75
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +10 -10
- package/cdn/react/map/index.js +3 -3
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/skeleton/index.js +5 -5
- package/cdn/react/spatial-picker/index.js +4 -4
- package/cdn/react/time-series/index.d.ts +4 -0
- package/cdn/react/time-series/index.js +11 -9
- package/cdn/react/variable-combobox/index.js +9 -9
- package/cdn/react/variable-keyword-search/index.js +9 -9
- package/cdn/terra-ui-components.js +73 -73
- package/cdn/types/vue/index.d.ts +209 -192
- package/cdn/utilities/animation.js +2 -2
- package/cdn/vscode.html-custom-data.json +145 -145
- package/cdn/web-types.json +412 -380
- package/dist/chunks/{chunk.CRZR5BJI.js → chunk.2H2C22AH.js} +1 -1
- package/dist/chunks/{chunk.U6Y5XC7Y.js → chunk.2INHJZTB.js} +1 -1
- package/{cdn/chunks/chunk.4YQZGKJ7.js → dist/chunks/chunk.2SQW3KXS.js} +1 -1
- package/dist/chunks/{chunk.43S45WWI.js → chunk.3NHRFMH2.js} +5 -3
- package/dist/chunks/{chunk.WLHYNUHM.js → chunk.3VWSO6SG.js} +15 -2
- package/dist/chunks/{chunk.QVAN2K7E.js → chunk.3WKUS32S.js} +1 -1
- package/dist/chunks/{chunk.DGDGO4B7.js → chunk.475SKMT7.js} +2 -1
- package/dist/chunks/{chunk.QVZCOSQG.js → chunk.4NHTYIQU.js} +4 -4
- package/{cdn/chunks/chunk.LIGYFBVJ.js → dist/chunks/chunk.4QU3HVRU.js} +5 -2
- package/dist/chunks/{chunk.KRQ4AG3O.js → chunk.53K6XCW4.js} +1 -1
- package/dist/chunks/{chunk.ZI3DJGWN.js → chunk.5I3XU7AO.js} +1 -1
- package/dist/chunks/{chunk.RQ5ZXHVZ.js → chunk.6DQGT2UQ.js} +1 -1
- package/dist/chunks/{chunk.DLY7WEID.js → chunk.6WA47U54.js} +8 -13
- package/dist/chunks/{chunk.A2QLZY2M.js → chunk.72NTKHPH.js} +89 -9
- package/{cdn/chunks/chunk.G6DIOURT.js → dist/chunks/chunk.7GLQWJK6.js} +1 -1
- package/dist/chunks/{chunk.QQRC2LRM.js → chunk.7I7FV5V6.js} +16 -9
- package/dist/chunks/{chunk.7NFT5ART.js → chunk.7PZLE7WX.js} +1 -1
- package/{cdn/chunks/chunk.P7YVDGTI.js → dist/chunks/chunk.7SKAII2U.js} +1 -1
- package/{cdn/chunks/chunk.AVVGDACI.js → dist/chunks/chunk.7SKR3DTI.js} +1 -1
- package/dist/chunks/{chunk.5SHIUY5G.js → chunk.B6TYAQ54.js} +4 -4
- package/dist/chunks/{chunk.CQZQUK25.js → chunk.BREB2M6W.js} +1 -1
- package/dist/chunks/{chunk.JDQC6NXM.js → chunk.BXREOMJU.js} +5 -0
- package/{cdn/chunks/chunk.U3NYXUF6.js → dist/chunks/chunk.D3GOFEBX.js} +5 -2
- package/dist/chunks/{chunk.5NA7WX55.js → chunk.DU2FUZ6P.js} +1 -1
- package/dist/chunks/{chunk.GSJX5TID.js → chunk.DYUQW4CK.js} +5 -1
- package/dist/chunks/{chunk.TF5MPUEH.js → chunk.E27T63AU.js} +1 -1
- package/dist/chunks/{chunk.UATKNBZS.js → chunk.E4L5LS2D.js} +6 -6
- package/dist/chunks/{chunk.67EX34DL.js → chunk.EXZMC2ZJ.js} +6 -1
- package/dist/chunks/{chunk.IKDCFYUH.js → chunk.GUVOKEDY.js} +2 -2
- package/dist/chunks/{chunk.DNVFMGDI.js → chunk.HTSJMJUI.js} +1 -1
- package/dist/chunks/{chunk.TO2LNCEQ.js → chunk.ITMUBA4O.js} +1 -1
- package/dist/chunks/{chunk.FV3CJUU7.js → chunk.K2OECBH7.js} +1 -1
- package/{cdn/chunks/chunk.HWY63TSF.js → dist/chunks/chunk.LJGSFVYG.js} +1 -1
- package/{cdn/chunks/chunk.7S5AAIY4.js → dist/chunks/chunk.M7KRSAA3.js} +1 -1
- package/dist/chunks/{chunk.7NTMVXIC.js → chunk.MIC3IGHG.js} +27 -1
- package/dist/chunks/{chunk.O27IYL4H.js → chunk.MXLPXKK5.js} +1 -1
- package/dist/chunks/{chunk.R44HGSGT.js → chunk.NDZ4YZIO.js} +1 -1
- package/{cdn/chunks/chunk.KMFGKZ5A.js → dist/chunks/chunk.NU35LLVL.js} +1 -1
- package/dist/chunks/{chunk.2XANNG2B.js → chunk.NUSUNZ37.js} +1 -1
- package/dist/chunks/{chunk.HDDKRXZX.js → chunk.OGIVLCOS.js} +155 -96
- package/dist/chunks/{chunk.K6JJQ4SX.js → chunk.OXAHTIKR.js} +1 -1
- package/dist/chunks/{chunk.SLXHKQQV.js → chunk.PFZ63R73.js} +5 -4
- package/{cdn/chunks/chunk.B44THGJN.js → dist/chunks/chunk.POCP433V.js} +1 -1
- package/{cdn/chunks/chunk.C3ZO2T4M.js → dist/chunks/chunk.PQZHJNPU.js} +1 -1
- package/dist/chunks/{chunk.I533JNF6.js → chunk.PU43FNWU.js} +1 -1
- package/dist/chunks/{chunk.OF2CXRSX.js → chunk.RD7SZWIP.js} +1 -1
- package/dist/chunks/{chunk.FWZVCL6J.js → chunk.RJFK2UWJ.js} +1 -1
- package/dist/chunks/{chunk.YEIAGN3D.js → chunk.T7ZPDGUL.js} +1 -1
- package/dist/chunks/{chunk.BAKHMLBF.js → chunk.TPL36P2F.js} +2 -2
- package/dist/chunks/{chunk.BH6T35XA.js → chunk.U6R27WNU.js} +10 -0
- package/dist/chunks/{chunk.E27YXBMX.js → chunk.UISGE46E.js} +3 -3
- package/dist/chunks/{chunk.WYF3PXVO.js → chunk.UNNCE3S5.js} +12 -2
- package/{cdn/chunks/chunk.MJOS7DJT.js → dist/chunks/chunk.UVGERUX3.js} +1 -1
- package/dist/chunks/{chunk.BQ62RLR7.js → chunk.UWLNQYEA.js} +1 -1
- package/{cdn/chunks/chunk.5DKQRBZN.js → dist/chunks/chunk.V47LBWQQ.js} +1 -1
- package/{cdn/chunks/chunk.5IE6WY2F.js → dist/chunks/chunk.VLBU6QRS.js} +1 -1
- package/dist/chunks/{chunk.BWS7VIBN.js → chunk.VXQSZWBS.js} +1 -1
- package/dist/chunks/{chunk.ZAE4U4Y7.js → chunk.W5AQNPYQ.js} +1 -1
- package/dist/chunks/{chunk.ZAFEQXY3.js → chunk.WBEY4P4Y.js} +1 -1
- package/dist/chunks/{chunk.GGUB2JVZ.js → chunk.WDFWFTL6.js} +2 -2
- package/dist/chunks/{chunk.3L2XDJOH.js → chunk.WI37RWF6.js} +1 -1
- package/dist/chunks/{chunk.VKOQTQOM.js → chunk.WQOAL6G6.js} +3 -3
- package/{cdn/chunks/chunk.KX3Z3J5J.js → dist/chunks/chunk.XEEQKAVF.js} +1 -1
- package/dist/chunks/{chunk.7F2DLFLG.js → chunk.XYUQQFJK.js} +1 -1
- package/{cdn/chunks/chunk.6HMN7UIZ.js → dist/chunks/chunk.Z7UTFH2H.js} +1 -1
- package/{cdn/chunks/chunk.IX3FU7LW.js → dist/chunks/chunk.ZH4Q6KC4.js} +1 -1
- package/{cdn/chunks/chunk.B6YTTGSP.js → dist/chunks/chunk.ZN77QXVE.js} +1 -1
- package/dist/chunks/{chunk.EZDSFP5I.js → chunk.ZNWMGXUH.js} +1 -1
- package/{cdn/chunks/chunk.ECXWQIDQ.js → dist/chunks/chunk.ZY4QJM3L.js} +1 -1
- package/dist/components/accordion/accordion.component.js +3 -3
- package/dist/components/accordion/accordion.js +4 -4
- package/dist/components/alert/alert.component.d.ts +0 -1
- package/dist/components/alert/alert.component.js +3 -3
- package/dist/components/alert/alert.js +4 -4
- package/dist/components/alert/alert.styles.js +1 -1
- package/dist/components/browse-variables/browse-variables.component.js +10 -10
- package/dist/components/browse-variables/browse-variables.js +11 -11
- package/dist/components/button/button.component.js +3 -3
- package/dist/components/button/button.js +4 -4
- package/dist/components/chip/chip.component.js +2 -2
- package/dist/components/chip/chip.js +3 -3
- package/dist/components/combobox/combobox.component.js +3 -3
- package/dist/components/combobox/combobox.js +4 -4
- package/dist/components/data-rods/data-rods.component.d.ts +2 -0
- package/dist/components/data-rods/data-rods.component.js +18 -16
- package/dist/components/data-rods/data-rods.js +19 -17
- package/dist/components/data-subsetter/data-subsetter.component.d.ts +4 -0
- package/dist/components/data-subsetter/data-subsetter.component.js +12 -12
- package/dist/components/data-subsetter/data-subsetter.controller.js +1 -1
- package/dist/components/data-subsetter/data-subsetter.js +13 -13
- package/dist/components/data-subsetter/data-subsetter.styles.js +1 -1
- package/dist/components/date-picker/date-picker.component.js +4 -4
- package/dist/components/date-picker/date-picker.js +5 -5
- package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
- package/dist/components/date-range-slider/date-range-slider.js +3 -3
- package/dist/components/dialog/dialog.component.js +3 -3
- package/dist/components/dialog/dialog.js +4 -4
- package/dist/components/dialog/dialog.styles.js +1 -1
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/loader/loader.component.js +2 -2
- package/dist/components/loader/loader.js +3 -3
- package/dist/components/login/login.component.js +9 -9
- package/dist/components/login/login.js +10 -10
- package/dist/components/map/map.component.d.ts +3 -1
- package/dist/components/map/map.component.js +2 -2
- package/dist/components/map/map.js +3 -3
- package/dist/components/plot/plot.component.d.ts +2 -2
- package/dist/components/plot/plot.component.js +2 -2
- package/dist/components/plot/plot.js +3 -3
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spatial-picker/spatial-picker.component.d.ts +2 -0
- package/dist/components/spatial-picker/spatial-picker.component.js +3 -3
- package/dist/components/spatial-picker/spatial-picker.js +4 -4
- package/dist/components/time-series/time-series.component.d.ts +8 -0
- package/dist/components/time-series/time-series.component.js +10 -8
- package/dist/components/time-series/time-series.controller.js +1 -1
- package/dist/components/time-series/time-series.js +11 -9
- package/dist/components/variable-combobox/variable-combobox.component.js +7 -7
- package/dist/components/variable-combobox/variable-combobox.js +8 -8
- package/dist/components/variable-keyword-search/variable-keyword-search.component.js +7 -7
- package/dist/components/variable-keyword-search/variable-keyword-search.js +8 -8
- package/dist/custom-elements.json +1986 -1906
- package/dist/events/events.d.ts +2 -0
- package/dist/events/terra-plot-relayout.d.ts +11 -0
- package/dist/events/terra-subset-job-complete.d.ts +9 -0
- package/dist/react/accordion/index.js +4 -4
- package/dist/react/alert/index.js +4 -4
- package/dist/react/browse-variables/index.js +11 -11
- package/dist/react/button/index.js +4 -4
- package/dist/react/chip/index.js +3 -3
- package/dist/react/combobox/index.js +4 -4
- package/dist/react/data-rods/index.d.ts +8 -1
- package/dist/react/data-rods/index.js +19 -17
- package/dist/react/data-subsetter/index.d.ts +8 -1
- package/dist/react/data-subsetter/index.js +13 -13
- package/dist/react/date-picker/index.js +5 -5
- package/dist/react/date-range-slider/index.js +3 -3
- package/dist/react/dialog/index.js +4 -4
- package/dist/react/icon/index.js +3 -3
- package/dist/react/index.d.ts +6 -6
- package/dist/react/index.js +72 -72
- package/dist/react/loader/index.js +3 -3
- package/dist/react/login/index.js +10 -10
- package/dist/react/map/index.js +3 -3
- package/dist/react/plot/index.js +3 -3
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spatial-picker/index.js +4 -4
- package/dist/react/time-series/index.d.ts +4 -0
- package/dist/react/time-series/index.js +11 -9
- package/dist/react/variable-combobox/index.js +8 -8
- package/dist/react/variable-keyword-search/index.js +8 -8
- package/dist/terra-ui-components.js +68 -68
- package/dist/{terra_ui_components-0.0.53-py3-none-any.whl → terra_ui_components-0.0.57-py3-none-any.whl} +0 -0
- package/dist/{terra_ui_components-0.0.53.tar.gz → terra_ui_components-0.0.57.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +209 -192
- package/dist/vscode.html-custom-data.json +145 -145
- package/dist/web-types.json +412 -380
- package/package.json +1 -1
- package/cdn/chunks/{chunk.FVNQDVSU.js → chunk.KGVVCHUS.js} +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
skeleton_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.KGVVCHUS.js";
|
|
4
4
|
import {
|
|
5
5
|
getRandomIntInclusive
|
|
6
6
|
} from "./chunk.7PAVW6KC.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
TerraElement,
|
|
12
12
|
component_styles_default
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.6PUQ3DDO.js";
|
|
14
14
|
import {
|
|
15
15
|
n
|
|
16
16
|
} from "./chunk.2FFSUM6T.js";
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk.CPHER7LT.js";
|
|
4
4
|
import {
|
|
5
5
|
TerraIcon
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.V27A5DRW.js";
|
|
7
7
|
import {
|
|
8
8
|
TerraElement,
|
|
9
9
|
component_styles_default
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.6PUQ3DDO.js";
|
|
11
11
|
import {
|
|
12
12
|
n
|
|
13
13
|
} from "./chunk.2FFSUM6T.js";
|
|
@@ -16,7 +16,7 @@ var alert_styles_default = i`
|
|
|
16
16
|
display: flex;
|
|
17
17
|
align-items: stretch;
|
|
18
18
|
background-color: var(--terra-panel-background-color);
|
|
19
|
-
border: solid var(--terra-panel-border-width) var(--
|
|
19
|
+
border: solid var(--terra-panel-border-width) var(--terra-panel-border-color);
|
|
20
20
|
border-top-width: calc(var(--terra-panel-border-width) * 3);
|
|
21
21
|
border-radius: var(--terra-border-radius-medium);
|
|
22
22
|
font-family: var(--terra-font-sans);
|
|
@@ -7,22 +7,22 @@ import {
|
|
|
7
7
|
o,
|
|
8
8
|
s
|
|
9
9
|
} from "./chunk.GNSDRDLV.js";
|
|
10
|
-
import {
|
|
11
|
-
button_styles_default
|
|
12
|
-
} from "./chunk.YVG2XG3L.js";
|
|
13
10
|
import {
|
|
14
11
|
HasSlotController
|
|
15
12
|
} from "./chunk.6OAPBJRP.js";
|
|
16
13
|
import {
|
|
17
14
|
e
|
|
18
15
|
} from "./chunk.YVSJQ4KD.js";
|
|
16
|
+
import {
|
|
17
|
+
button_styles_default
|
|
18
|
+
} from "./chunk.YVG2XG3L.js";
|
|
19
19
|
import {
|
|
20
20
|
watch
|
|
21
21
|
} from "./chunk.6MMTW476.js";
|
|
22
22
|
import {
|
|
23
23
|
TerraElement,
|
|
24
24
|
component_styles_default
|
|
25
|
-
} from "./chunk.
|
|
25
|
+
} from "./chunk.6PUQ3DDO.js";
|
|
26
26
|
import {
|
|
27
27
|
e as e2,
|
|
28
28
|
n,
|
|
@@ -272,6 +272,7 @@ var TerraButton = class extends TerraElement {
|
|
|
272
272
|
_handleDialogStateChange = new WeakSet();
|
|
273
273
|
handleDialogStateChange_fn = function(e3) {
|
|
274
274
|
if (this.forDialog && this.forDialog === e3.target.id) {
|
|
275
|
+
this.expanded = e3.target.open;
|
|
275
276
|
}
|
|
276
277
|
};
|
|
277
278
|
TerraButton.styles = [component_styles_default, button_styles_default];
|
|
@@ -12,7 +12,9 @@ var data_subsetter_styles_default = i`
|
|
|
12
12
|
box-sizing: border-box;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.container {
|
|
15
|
+
:host .container {
|
|
16
|
+
font-size: 16px;
|
|
17
|
+
text-align: left;
|
|
16
18
|
max-width: 1200px;
|
|
17
19
|
margin: 0 auto;
|
|
18
20
|
padding: 20px;
|
|
@@ -889,6 +891,30 @@ var data_subsetter_styles_default = i`
|
|
|
889
891
|
transform: rotate(180deg);
|
|
890
892
|
}
|
|
891
893
|
|
|
894
|
+
.jupyter-btn {
|
|
895
|
+
background: #fff;
|
|
896
|
+
color: #333;
|
|
897
|
+
border: 1px solid #eee;
|
|
898
|
+
border-radius: 4px;
|
|
899
|
+
padding: 6px 12px;
|
|
900
|
+
font-size: 1em;
|
|
901
|
+
cursor: pointer;
|
|
902
|
+
transition:
|
|
903
|
+
background 0.2s,
|
|
904
|
+
box-shadow 0.2s;
|
|
905
|
+
margin-left: 8px;
|
|
906
|
+
display: inline-flex;
|
|
907
|
+
align-items: center;
|
|
908
|
+
gap: 6px;
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
.jupyter-btn:hover,
|
|
912
|
+
.jupyter-btn:focus {
|
|
913
|
+
background: #f8f8f8;
|
|
914
|
+
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
|
|
915
|
+
outline: none;
|
|
916
|
+
}
|
|
917
|
+
|
|
892
918
|
.download-option {
|
|
893
919
|
display: flex;
|
|
894
920
|
align-items: center;
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk.PSAJO4PE.js";
|
|
4
4
|
import {
|
|
5
5
|
TerraButton
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.4C43ZWOM.js";
|
|
7
7
|
import {
|
|
8
8
|
TerraElement,
|
|
9
9
|
component_styles_default
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.6PUQ3DDO.js";
|
|
11
11
|
import {
|
|
12
12
|
e,
|
|
13
13
|
n
|
|
@@ -366,7 +366,7 @@ var TerraElement = class extends s {
|
|
|
366
366
|
};
|
|
367
367
|
/* eslint-disable */
|
|
368
368
|
// @ts-expect-error This is auto-injected at build time.
|
|
369
|
-
TerraElement.version = "0.0.
|
|
369
|
+
TerraElement.version = "0.0.57";
|
|
370
370
|
TerraElement.dependencies = {};
|
|
371
371
|
__decorateClass([
|
|
372
372
|
n()
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loader_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.KYGXDWBN.js";
|
|
4
4
|
import {
|
|
5
5
|
login_styles_default
|
|
6
6
|
} from "./chunk.5P7TDN4M.js";
|
|
7
7
|
import {
|
|
8
8
|
icon_default
|
|
9
|
-
} from "./chunk.
|
|
10
|
-
import {
|
|
11
|
-
button_default
|
|
12
|
-
} from "./chunk.PYENVYVD.js";
|
|
9
|
+
} from "./chunk.EC732IG2.js";
|
|
13
10
|
import {
|
|
14
11
|
e,
|
|
15
12
|
n
|
|
16
13
|
} from "./chunk.262RZKG2.js";
|
|
14
|
+
import {
|
|
15
|
+
button_default
|
|
16
|
+
} from "./chunk.COXPQMBK.js";
|
|
17
17
|
import {
|
|
18
18
|
TerraElement,
|
|
19
19
|
component_styles_default
|
|
20
|
-
} from "./chunk.
|
|
20
|
+
} from "./chunk.6PUQ3DDO.js";
|
|
21
21
|
import {
|
|
22
22
|
h
|
|
23
23
|
} from "./chunk.UGTZ22DI.js";
|
|
@@ -17,10 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk.FKLQEDIX.js";
|
|
18
18
|
import {
|
|
19
19
|
icon_default
|
|
20
|
-
} from "./chunk.
|
|
21
|
-
import {
|
|
22
|
-
button_default
|
|
23
|
-
} from "./chunk.PYENVYVD.js";
|
|
20
|
+
} from "./chunk.EC732IG2.js";
|
|
24
21
|
import {
|
|
25
22
|
Fuse
|
|
26
23
|
} from "./chunk.QZV6EAIM.js";
|
|
@@ -30,13 +27,16 @@ import {
|
|
|
30
27
|
import {
|
|
31
28
|
o
|
|
32
29
|
} from "./chunk.QEA4QW6G.js";
|
|
30
|
+
import {
|
|
31
|
+
button_default
|
|
32
|
+
} from "./chunk.COXPQMBK.js";
|
|
33
33
|
import {
|
|
34
34
|
watch
|
|
35
35
|
} from "./chunk.6MMTW476.js";
|
|
36
36
|
import {
|
|
37
37
|
TerraElement,
|
|
38
38
|
component_styles_default
|
|
39
|
-
} from "./chunk.
|
|
39
|
+
} from "./chunk.6PUQ3DDO.js";
|
|
40
40
|
import {
|
|
41
41
|
n,
|
|
42
42
|
r
|
|
@@ -2,33 +2,36 @@ import {
|
|
|
2
2
|
DB_NAME,
|
|
3
3
|
TimeSeriesController,
|
|
4
4
|
getDataByKey
|
|
5
|
-
} from "./chunk.
|
|
5
|
+
} from "./chunk.GJIEQWA2.js";
|
|
6
6
|
import {
|
|
7
7
|
time_series_styles_default
|
|
8
8
|
} from "./chunk.Y7I2RXN6.js";
|
|
9
9
|
import {
|
|
10
10
|
TerraPlot,
|
|
11
11
|
require_plotly_min
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.GHKFPCLA.js";
|
|
13
13
|
import {
|
|
14
14
|
h
|
|
15
15
|
} from "./chunk.FKLQEDIX.js";
|
|
16
|
+
import {
|
|
17
|
+
TerraAlert
|
|
18
|
+
} from "./chunk.S7VGNGJS.js";
|
|
16
19
|
import {
|
|
17
20
|
TerraLoader
|
|
18
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.FXMM2J3O.js";
|
|
19
22
|
import {
|
|
20
23
|
TerraButton
|
|
21
|
-
} from "./chunk.
|
|
24
|
+
} from "./chunk.4C43ZWOM.js";
|
|
22
25
|
import {
|
|
23
26
|
TerraIcon
|
|
24
|
-
} from "./chunk.
|
|
27
|
+
} from "./chunk.V27A5DRW.js";
|
|
25
28
|
import {
|
|
26
29
|
watch
|
|
27
30
|
} from "./chunk.6MMTW476.js";
|
|
28
31
|
import {
|
|
29
32
|
TerraElement,
|
|
30
33
|
component_styles_default
|
|
31
|
-
} from "./chunk.
|
|
34
|
+
} from "./chunk.6PUQ3DDO.js";
|
|
32
35
|
import {
|
|
33
36
|
e,
|
|
34
37
|
n,
|
|
@@ -41,6 +44,9 @@ import {
|
|
|
41
44
|
h as h2,
|
|
42
45
|
s
|
|
43
46
|
} from "./chunk.UGTZ22DI.js";
|
|
47
|
+
import {
|
|
48
|
+
formatDate
|
|
49
|
+
} from "./chunk.EZMKGB3F.js";
|
|
44
50
|
import {
|
|
45
51
|
x
|
|
46
52
|
} from "./chunk.PQFHJHNO.js";
|
|
@@ -55,7 +61,7 @@ import {
|
|
|
55
61
|
|
|
56
62
|
// src/components/time-series/time-series.component.ts
|
|
57
63
|
var import_plotly = __toESM(require_plotly_min(), 1);
|
|
58
|
-
var _timeSeriesController, _catalog, _fetchVariableTask, _confirmDataPointWarning, confirmDataPointWarning_fn, _cancelDataPointWarning, cancelDataPointWarning_fn, _abortDataLoad, abortDataLoad_fn, _downloadCSV, downloadCSV_fn, _convertToCSV, convertToCSV_fn, _downloadPNG, downloadPNG_fn, _handleActiveMenuItem, handleActiveMenuItem_fn, _handleComponentLeave, handleComponentLeave_fn, _handleMenuLeave, handleMenuLeave_fn, _getVariableEntryId, getVariableEntryId_fn, _getYAxisLabel, getYAxisLabel_fn, _renderInfoPanel, renderInfoPanel_fn, _renderDownloadPanel, renderDownloadPanel_fn, _renderHelpPanel, renderHelpPanel_fn, _renderJupyterNotebookPanel, renderJupyterNotebookPanel_fn, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn;
|
|
64
|
+
var _timeSeriesController, _catalog, _fetchVariableTask, _handleQuotaError, _confirmDataPointWarning, confirmDataPointWarning_fn, _cancelDataPointWarning, cancelDataPointWarning_fn, _abortDataLoad, abortDataLoad_fn, _downloadCSV, downloadCSV_fn, _convertToCSV, convertToCSV_fn, _downloadPNG, downloadPNG_fn, _handleActiveMenuItem, handleActiveMenuItem_fn, _handleComponentLeave, handleComponentLeave_fn, _handleMenuLeave, handleMenuLeave_fn, _getVariableEntryId, getVariableEntryId_fn, _getYAxisLabel, getYAxisLabel_fn, _renderInfoPanel, renderInfoPanel_fn, _renderDownloadPanel, renderDownloadPanel_fn, _renderHelpPanel, renderHelpPanel_fn, _renderJupyterNotebookPanel, renderJupyterNotebookPanel_fn, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn, _handlePlotRelayout, handlePlotRelayout_fn;
|
|
59
65
|
var TerraTimeSeries = class extends TerraElement {
|
|
60
66
|
constructor() {
|
|
61
67
|
super(...arguments);
|
|
@@ -78,7 +84,9 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
78
84
|
__privateAdd(this, _renderHelpPanel);
|
|
79
85
|
__privateAdd(this, _renderJupyterNotebookPanel);
|
|
80
86
|
__privateAdd(this, _handleJupyterNotebookClick);
|
|
87
|
+
__privateAdd(this, _handlePlotRelayout);
|
|
81
88
|
__privateAdd(this, _timeSeriesController, void 0);
|
|
89
|
+
this.quotaExceededOpen = false;
|
|
82
90
|
this.showDataPointWarning = false;
|
|
83
91
|
this.estimatedDataPoints = 0;
|
|
84
92
|
this.activeMenuItem = null;
|
|
@@ -105,6 +113,12 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
105
113
|
},
|
|
106
114
|
args: () => [this.variableEntryId, this.collection, this.variable]
|
|
107
115
|
}));
|
|
116
|
+
__privateAdd(this, _handleQuotaError, (event) => {
|
|
117
|
+
const { status } = event.detail;
|
|
118
|
+
if (status === 429) {
|
|
119
|
+
this.quotaExceededOpen = true;
|
|
120
|
+
}
|
|
121
|
+
});
|
|
108
122
|
}
|
|
109
123
|
handleFocus(_oldValue, newValue) {
|
|
110
124
|
if (newValue === null) {
|
|
@@ -114,6 +128,10 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
114
128
|
}
|
|
115
129
|
connectedCallback() {
|
|
116
130
|
super.connectedCallback();
|
|
131
|
+
this.addEventListener(
|
|
132
|
+
"terra-time-series-error",
|
|
133
|
+
__privateGet(this, _handleQuotaError)
|
|
134
|
+
);
|
|
117
135
|
__privateSet(this, _timeSeriesController, new TimeSeriesController(this, this.bearerToken));
|
|
118
136
|
if (!document.getElementById("terra-jupyterlite-warmup-iframe")) {
|
|
119
137
|
const iframe = document.createElement("iframe");
|
|
@@ -125,10 +143,38 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
125
143
|
document.body.appendChild(iframe);
|
|
126
144
|
}
|
|
127
145
|
}
|
|
146
|
+
disconnectedCallback() {
|
|
147
|
+
super.disconnectedCallback();
|
|
148
|
+
this.removeEventListener(
|
|
149
|
+
"terra-time-series-error",
|
|
150
|
+
__privateGet(this, _handleQuotaError)
|
|
151
|
+
);
|
|
152
|
+
}
|
|
128
153
|
render() {
|
|
129
154
|
var _a, _b;
|
|
130
155
|
return x`
|
|
131
156
|
<div class="plot-container" @mouseleave=${__privateMethod(this, _handleComponentLeave, handleComponentLeave_fn)}>
|
|
157
|
+
${this.quotaExceededOpen ? x`
|
|
158
|
+
<terra-alert
|
|
159
|
+
variant="warning"
|
|
160
|
+
duration="10000"
|
|
161
|
+
open=${this.quotaExceededOpen}
|
|
162
|
+
closable
|
|
163
|
+
@terra-after-hide=${() => this.quotaExceededOpen = false}
|
|
164
|
+
>
|
|
165
|
+
<terra-icon
|
|
166
|
+
slot="icon"
|
|
167
|
+
name="outline-exclamation-triangle"
|
|
168
|
+
library="heroicons"
|
|
169
|
+
></terra-icon>
|
|
170
|
+
You've exceeded your request quota. Please
|
|
171
|
+
<a
|
|
172
|
+
href="https://disc.gsfc.nasa.gov/information/documents?title=Contact%20Us"
|
|
173
|
+
>contact the help desk</a
|
|
174
|
+
>
|
|
175
|
+
for further assistance.
|
|
176
|
+
</terra-alert>
|
|
177
|
+
` : ""}
|
|
132
178
|
${h(
|
|
133
179
|
this.catalogVariable ? x`
|
|
134
180
|
<header>
|
|
@@ -270,7 +316,11 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
270
316
|
xaxis: {
|
|
271
317
|
title: "Time",
|
|
272
318
|
showgrid: false,
|
|
273
|
-
zeroline: false
|
|
319
|
+
zeroline: false,
|
|
320
|
+
range: (
|
|
321
|
+
// manually set the range as we may adjust it when we fetch new data as a user pans/zooms the plot
|
|
322
|
+
this.startDate && this.endDate ? [this.startDate, this.endDate] : void 0
|
|
323
|
+
)
|
|
274
324
|
},
|
|
275
325
|
yaxis: {
|
|
276
326
|
title: __privateMethod(this, _getYAxisLabel, getYAxisLabel_fn).call(this),
|
|
@@ -286,6 +336,7 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
286
336
|
modeBarButtonsToRemove: ["toImage", "zoom2d", "resetScale2d"],
|
|
287
337
|
responsive: true
|
|
288
338
|
}}
|
|
339
|
+
@terra-plot-relayout=${__privateMethod(this, _handlePlotRelayout, handlePlotRelayout_fn)}
|
|
289
340
|
></terra-plot>
|
|
290
341
|
</div>
|
|
291
342
|
|
|
@@ -334,6 +385,7 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
334
385
|
_timeSeriesController = new WeakMap();
|
|
335
386
|
_catalog = new WeakMap();
|
|
336
387
|
_fetchVariableTask = new WeakMap();
|
|
388
|
+
_handleQuotaError = new WeakMap();
|
|
337
389
|
_confirmDataPointWarning = new WeakSet();
|
|
338
390
|
confirmDataPointWarning_fn = function() {
|
|
339
391
|
__privateGet(this, _timeSeriesController).confirmDataPointWarning();
|
|
@@ -615,12 +667,37 @@ timeseries`,
|
|
|
615
667
|
}, 500);
|
|
616
668
|
});
|
|
617
669
|
};
|
|
670
|
+
_handlePlotRelayout = new WeakSet();
|
|
671
|
+
handlePlotRelayout_fn = function(e2) {
|
|
672
|
+
let changed = false;
|
|
673
|
+
if (e2.detail.xAxisMin) {
|
|
674
|
+
this.startDate = formatDate(e2.detail.xAxisMin);
|
|
675
|
+
changed = true;
|
|
676
|
+
}
|
|
677
|
+
if (e2.detail.xAxisMax) {
|
|
678
|
+
this.endDate = formatDate(e2.detail.xAxisMax);
|
|
679
|
+
changed = true;
|
|
680
|
+
}
|
|
681
|
+
if (changed) {
|
|
682
|
+
this.dispatchEvent(
|
|
683
|
+
new CustomEvent("terra-date-range-change", {
|
|
684
|
+
detail: {
|
|
685
|
+
startDate: this.startDate,
|
|
686
|
+
endDate: this.endDate
|
|
687
|
+
},
|
|
688
|
+
bubbles: true,
|
|
689
|
+
composed: true
|
|
690
|
+
})
|
|
691
|
+
);
|
|
692
|
+
}
|
|
693
|
+
};
|
|
618
694
|
TerraTimeSeries.styles = [component_styles_default, time_series_styles_default];
|
|
619
695
|
TerraTimeSeries.dependencies = {
|
|
620
696
|
"terra-plot": TerraPlot,
|
|
621
697
|
"terra-loader": TerraLoader,
|
|
622
698
|
"terra-icon": TerraIcon,
|
|
623
|
-
"terra-button": TerraButton
|
|
699
|
+
"terra-button": TerraButton,
|
|
700
|
+
"terra-alert": TerraAlert
|
|
624
701
|
};
|
|
625
702
|
__decorateClass([
|
|
626
703
|
n({ attribute: "variable-entry-id", reflect: true })
|
|
@@ -660,6 +737,9 @@ __decorateClass([
|
|
|
660
737
|
__decorateClass([
|
|
661
738
|
r()
|
|
662
739
|
], TerraTimeSeries.prototype, "catalogVariable", 2);
|
|
740
|
+
__decorateClass([
|
|
741
|
+
r()
|
|
742
|
+
], TerraTimeSeries.prototype, "quotaExceededOpen", 2);
|
|
663
743
|
__decorateClass([
|
|
664
744
|
r()
|
|
665
745
|
], TerraTimeSeries.prototype, "showDataPointWarning", 2);
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
TerraElement,
|
|
9
9
|
component_styles_default
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.6PUQ3DDO.js";
|
|
11
11
|
import {
|
|
12
12
|
e,
|
|
13
13
|
n
|
|
@@ -20,6 +20,7 @@ import {
|
|
|
20
20
|
__decorateClass,
|
|
21
21
|
__privateAdd,
|
|
22
22
|
__privateGet,
|
|
23
|
+
__privateMethod,
|
|
23
24
|
__privateSet,
|
|
24
25
|
__spreadValues,
|
|
25
26
|
__toESM
|
|
@@ -88172,10 +88173,11 @@ var require_plotly_min = __commonJS({
|
|
|
88172
88173
|
|
|
88173
88174
|
// src/components/plot/plot.component.ts
|
|
88174
88175
|
var import_plotly = __toESM(require_plotly_min(), 1);
|
|
88175
|
-
var _resizeObserver;
|
|
88176
|
+
var _resizeObserver, _handlePlotlyRelayout, handlePlotlyRelayout_fn;
|
|
88176
88177
|
var TerraPlot = class extends TerraElement {
|
|
88177
88178
|
constructor() {
|
|
88178
88179
|
super(...arguments);
|
|
88180
|
+
__privateAdd(this, _handlePlotlyRelayout);
|
|
88179
88181
|
__privateAdd(this, _resizeObserver, void 0);
|
|
88180
88182
|
this.layout = {};
|
|
88181
88183
|
this.config = {};
|
|
@@ -88209,6 +88211,7 @@ var TerraPlot = class extends TerraElement {
|
|
|
88209
88211
|
}, this.layout),
|
|
88210
88212
|
__spreadValues({ responsive: true }, this.config)
|
|
88211
88213
|
);
|
|
88214
|
+
this.base.on("plotly_relayout", __privateMethod(this, _handlePlotlyRelayout, handlePlotlyRelayout_fn).bind(this));
|
|
88212
88215
|
}
|
|
88213
88216
|
render() {
|
|
88214
88217
|
return x`<div part="base"></div>`;
|
|
@@ -88219,6 +88222,16 @@ var TerraPlot = class extends TerraElement {
|
|
|
88219
88222
|
}
|
|
88220
88223
|
};
|
|
88221
88224
|
_resizeObserver = new WeakMap();
|
|
88225
|
+
_handlePlotlyRelayout = new WeakSet();
|
|
88226
|
+
handlePlotlyRelayout_fn = function(e2) {
|
|
88227
|
+
const detail = __spreadValues(__spreadValues(__spreadValues(__spreadValues({}, e2["xaxis.range[0]"] && { xAxisMin: e2["xaxis.range[0]"] }), e2["xaxis.range[1]"] && { xAxisMax: e2["xaxis.range[1]"] }), e2["yaxis.range[0]"] && { yAxisMin: e2["yaxis.range[0]"] }), e2["yaxis.range[1]"] && { yAxisMax: e2["yaxis.range[1]"] });
|
|
88228
|
+
if (!Object.keys(detail).length) {
|
|
88229
|
+
return;
|
|
88230
|
+
}
|
|
88231
|
+
this.emit("terra-plot-relayout", {
|
|
88232
|
+
detail
|
|
88233
|
+
});
|
|
88234
|
+
};
|
|
88222
88235
|
TerraPlot.styles = [component_styles_default, plot_styles_default];
|
|
88223
88236
|
__decorateClass([
|
|
88224
88237
|
e('[part="base"]')
|
|
@@ -559,6 +559,16 @@ fetchTimeSeriesChunk_fn = async function(variableEntryId, startDate, endDate, si
|
|
|
559
559
|
}, __privateGet(this, _bearerToken) ? { Authorization: `Bearer: ${__privateGet(this, _bearerToken)}` } : {})
|
|
560
560
|
});
|
|
561
561
|
if (!response.ok) {
|
|
562
|
+
this.host.dispatchEvent(
|
|
563
|
+
new CustomEvent("terra-time-series-error", {
|
|
564
|
+
detail: {
|
|
565
|
+
status: response.status,
|
|
566
|
+
message: response.statusText
|
|
567
|
+
},
|
|
568
|
+
bubbles: true,
|
|
569
|
+
composed: true
|
|
570
|
+
})
|
|
571
|
+
);
|
|
562
572
|
throw new Error(
|
|
563
573
|
`Failed to fetch time series data: ${response.statusText}`
|
|
564
574
|
);
|