@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,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
dialog_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.EXZMC2ZJ.js";
|
|
4
4
|
import {
|
|
5
5
|
TerraElement,
|
|
6
6
|
component_styles_default
|
|
7
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.NDZ4YZIO.js";
|
|
8
8
|
import {
|
|
9
9
|
__decorateClass,
|
|
10
10
|
__privateAdd,
|
|
@@ -44,7 +44,9 @@ var TerraDialog = class extends TerraElement {
|
|
|
44
44
|
role="dialog"
|
|
45
45
|
style="width: ${this.width}"
|
|
46
46
|
>
|
|
47
|
-
<
|
|
47
|
+
<div class="dialog-content">
|
|
48
|
+
<slot></slot>
|
|
49
|
+
</div>
|
|
48
50
|
</dialog>
|
|
49
51
|
`;
|
|
50
52
|
}
|
|
@@ -7,11 +7,12 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
TerraElement,
|
|
9
9
|
component_styles_default
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.NDZ4YZIO.js";
|
|
11
11
|
import {
|
|
12
12
|
__decorateClass,
|
|
13
13
|
__privateAdd,
|
|
14
14
|
__privateGet,
|
|
15
|
+
__privateMethod,
|
|
15
16
|
__privateSet,
|
|
16
17
|
__spreadValues
|
|
17
18
|
} from "./chunk.TVFCHGU3.js";
|
|
@@ -23,10 +24,11 @@ import {
|
|
|
23
24
|
newPlot,
|
|
24
25
|
Plots
|
|
25
26
|
} from "plotly.js-dist-min";
|
|
26
|
-
var _resizeObserver;
|
|
27
|
+
var _resizeObserver, _handlePlotlyRelayout, handlePlotlyRelayout_fn;
|
|
27
28
|
var TerraPlot = class extends TerraElement {
|
|
28
29
|
constructor() {
|
|
29
30
|
super(...arguments);
|
|
31
|
+
__privateAdd(this, _handlePlotlyRelayout);
|
|
30
32
|
__privateAdd(this, _resizeObserver, void 0);
|
|
31
33
|
this.layout = {};
|
|
32
34
|
this.config = {};
|
|
@@ -60,6 +62,7 @@ var TerraPlot = class extends TerraElement {
|
|
|
60
62
|
}, this.layout),
|
|
61
63
|
__spreadValues({ responsive: true }, this.config)
|
|
62
64
|
);
|
|
65
|
+
this.base.on("plotly_relayout", __privateMethod(this, _handlePlotlyRelayout, handlePlotlyRelayout_fn).bind(this));
|
|
63
66
|
}
|
|
64
67
|
render() {
|
|
65
68
|
return html`<div part="base"></div>`;
|
|
@@ -70,6 +73,16 @@ var TerraPlot = class extends TerraElement {
|
|
|
70
73
|
}
|
|
71
74
|
};
|
|
72
75
|
_resizeObserver = new WeakMap();
|
|
76
|
+
_handlePlotlyRelayout = new WeakSet();
|
|
77
|
+
handlePlotlyRelayout_fn = function(e) {
|
|
78
|
+
const detail = __spreadValues(__spreadValues(__spreadValues(__spreadValues({}, e["xaxis.range[0]"] && { xAxisMin: e["xaxis.range[0]"] }), e["xaxis.range[1]"] && { xAxisMax: e["xaxis.range[1]"] }), e["yaxis.range[0]"] && { yAxisMin: e["yaxis.range[0]"] }), e["yaxis.range[1]"] && { yAxisMax: e["yaxis.range[1]"] });
|
|
79
|
+
if (!Object.keys(detail).length) {
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
this.emit("terra-plot-relayout", {
|
|
83
|
+
detail
|
|
84
|
+
});
|
|
85
|
+
};
|
|
73
86
|
TerraPlot.styles = [component_styles_default, plot_styles_default];
|
|
74
87
|
__decorateClass([
|
|
75
88
|
query('[part="base"]')
|
|
@@ -13,7 +13,7 @@ var alert_styles_default = css`
|
|
|
13
13
|
display: flex;
|
|
14
14
|
align-items: stretch;
|
|
15
15
|
background-color: var(--terra-panel-background-color);
|
|
16
|
-
border: solid var(--terra-panel-border-width) var(--
|
|
16
|
+
border: solid var(--terra-panel-border-width) var(--terra-panel-border-color);
|
|
17
17
|
border-top-width: calc(var(--terra-panel-border-width) * 3);
|
|
18
18
|
border-radius: var(--terra-border-radius-medium);
|
|
19
19
|
font-family: var(--terra-font-sans);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TerraTimeSeries
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.72NTKHPH.js";
|
|
4
4
|
|
|
5
5
|
// src/react/time-series/index.ts
|
|
6
6
|
import * as React from "react";
|
|
@@ -13,6 +13,7 @@ var reactWrapper = createComponent({
|
|
|
13
13
|
elementClass: TerraTimeSeries,
|
|
14
14
|
react: React,
|
|
15
15
|
events: {
|
|
16
|
+
onTerraDateRangeChange: "terra-date-range-change",
|
|
16
17
|
onTerraTimeSeriesDataChange: "terra-time-series-data-change"
|
|
17
18
|
},
|
|
18
19
|
displayName: "TerraTimeSeries"
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
combobox_styles_default
|
|
3
|
-
} from "./chunk.7WL3WWGJ.js";
|
|
4
1
|
import {
|
|
5
2
|
clearSelection,
|
|
6
3
|
walkToOption
|
|
7
4
|
} from "./chunk.LMGJJIIS.js";
|
|
5
|
+
import {
|
|
6
|
+
combobox_styles_default
|
|
7
|
+
} from "./chunk.7WL3WWGJ.js";
|
|
8
8
|
import {
|
|
9
9
|
watch
|
|
10
10
|
} from "./chunk.SK7IZCKP.js";
|
|
11
11
|
import {
|
|
12
12
|
TerraElement,
|
|
13
13
|
component_styles_default
|
|
14
|
-
} from "./chunk.
|
|
14
|
+
} from "./chunk.NDZ4YZIO.js";
|
|
15
15
|
import {
|
|
16
16
|
__decorateClass,
|
|
17
17
|
__privateAdd,
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TerraDataSubsetter
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.OGIVLCOS.js";
|
|
4
4
|
|
|
5
5
|
// src/react/data-subsetter/index.ts
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { createComponent } from "@lit/react";
|
|
8
|
+
import "@lit/react";
|
|
8
9
|
var tagName = "terra-data-subsetter";
|
|
9
10
|
TerraDataSubsetter.define("terra-data-subsetter");
|
|
10
11
|
var reactWrapper = createComponent({
|
|
11
12
|
tagName,
|
|
12
13
|
elementClass: TerraDataSubsetter,
|
|
13
14
|
react: React,
|
|
14
|
-
events: {
|
|
15
|
+
events: {
|
|
16
|
+
onTerraSubsetJobComplete: "terra-subset-job-complete"
|
|
17
|
+
},
|
|
15
18
|
displayName: "TerraDataSubsetter"
|
|
16
19
|
});
|
|
17
20
|
var data_subsetter_default = reactWrapper;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
alert_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.3WKUS32S.js";
|
|
4
4
|
import {
|
|
5
5
|
HasSlotController
|
|
6
6
|
} from "./chunk.6OAPBJRP.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
TerraElement,
|
|
12
12
|
component_styles_default
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.NDZ4YZIO.js";
|
|
14
14
|
import {
|
|
15
15
|
__decorateClass
|
|
16
16
|
} from "./chunk.TVFCHGU3.js";
|
|
@@ -44,11 +44,6 @@ var _TerraAlert = class _TerraAlert extends TerraElement {
|
|
|
44
44
|
this.duration = Infinity;
|
|
45
45
|
this.remainingTime = this.duration;
|
|
46
46
|
}
|
|
47
|
-
static define(tag = "terra-alert") {
|
|
48
|
-
if (!customElements.get(tag)) {
|
|
49
|
-
customElements.define(tag, this);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
47
|
static get toastStack() {
|
|
53
48
|
if (!this.currentToastStack) {
|
|
54
49
|
this.currentToastStack = Object.assign(document.createElement("div"), {
|
|
@@ -109,6 +104,7 @@ var _TerraAlert = class _TerraAlert extends TerraElement {
|
|
|
109
104
|
this.hide();
|
|
110
105
|
}
|
|
111
106
|
async handleOpenChange() {
|
|
107
|
+
this.base.hidden = !this.open;
|
|
112
108
|
if (this.open) {
|
|
113
109
|
this.emit("terra-show");
|
|
114
110
|
if (this.duration < Infinity) {
|
|
@@ -200,13 +196,12 @@ var _TerraAlert = class _TerraAlert extends TerraElement {
|
|
|
200
196
|
</div>
|
|
201
197
|
|
|
202
198
|
${this.closable ? html`
|
|
203
|
-
<
|
|
204
|
-
class="
|
|
199
|
+
<terra-icon
|
|
200
|
+
class="alert__close-button"
|
|
201
|
+
name="solid-x-mark"
|
|
202
|
+
library="heroicons"
|
|
205
203
|
@click=${this.handleCloseClick}
|
|
206
|
-
|
|
207
|
-
>
|
|
208
|
-
x
|
|
209
|
-
</button>
|
|
204
|
+
></terra-icon>
|
|
210
205
|
` : ""}
|
|
211
206
|
|
|
212
207
|
<div role="timer" class="alert__timer">${this.remainingTime}</div>
|
|
@@ -2,32 +2,38 @@ import {
|
|
|
2
2
|
DB_NAME,
|
|
3
3
|
TimeSeriesController,
|
|
4
4
|
getDataByKey
|
|
5
|
-
} from "./chunk.
|
|
5
|
+
} from "./chunk.U6R27WNU.js";
|
|
6
6
|
import {
|
|
7
7
|
time_series_styles_default
|
|
8
8
|
} from "./chunk.K2IRF2QI.js";
|
|
9
9
|
import {
|
|
10
10
|
TerraPlot
|
|
11
|
-
} from "./chunk.
|
|
11
|
+
} from "./chunk.3VWSO6SG.js";
|
|
12
|
+
import {
|
|
13
|
+
TerraAlert
|
|
14
|
+
} from "./chunk.6WA47U54.js";
|
|
12
15
|
import {
|
|
13
16
|
TerraLoader
|
|
14
|
-
} from "./chunk.
|
|
17
|
+
} from "./chunk.RJFK2UWJ.js";
|
|
15
18
|
import {
|
|
16
19
|
TerraButton
|
|
17
|
-
} from "./chunk.
|
|
20
|
+
} from "./chunk.PFZ63R73.js";
|
|
18
21
|
import {
|
|
19
22
|
TerraIcon
|
|
20
|
-
} from "./chunk.
|
|
23
|
+
} from "./chunk.HTSJMJUI.js";
|
|
21
24
|
import {
|
|
22
25
|
watch
|
|
23
26
|
} from "./chunk.SK7IZCKP.js";
|
|
24
27
|
import {
|
|
25
28
|
TerraElement,
|
|
26
29
|
component_styles_default
|
|
27
|
-
} from "./chunk.
|
|
30
|
+
} from "./chunk.NDZ4YZIO.js";
|
|
28
31
|
import {
|
|
29
32
|
GiovanniVariableCatalog
|
|
30
33
|
} from "./chunk.HFD6TPE6.js";
|
|
34
|
+
import {
|
|
35
|
+
formatDate
|
|
36
|
+
} from "./chunk.KMN7L6QZ.js";
|
|
31
37
|
import {
|
|
32
38
|
__decorateClass,
|
|
33
39
|
__privateAdd,
|
|
@@ -42,7 +48,7 @@ import { downloadImage } from "plotly.js-dist-min";
|
|
|
42
48
|
import { html } from "lit";
|
|
43
49
|
import { property, query, state } from "lit/decorators.js";
|
|
44
50
|
import { Task, TaskStatus } from "@lit/task";
|
|
45
|
-
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;
|
|
51
|
+
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;
|
|
46
52
|
var TerraTimeSeries = class extends TerraElement {
|
|
47
53
|
constructor() {
|
|
48
54
|
super(...arguments);
|
|
@@ -65,7 +71,9 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
65
71
|
__privateAdd(this, _renderHelpPanel);
|
|
66
72
|
__privateAdd(this, _renderJupyterNotebookPanel);
|
|
67
73
|
__privateAdd(this, _handleJupyterNotebookClick);
|
|
74
|
+
__privateAdd(this, _handlePlotRelayout);
|
|
68
75
|
__privateAdd(this, _timeSeriesController, void 0);
|
|
76
|
+
this.quotaExceededOpen = false;
|
|
69
77
|
this.showDataPointWarning = false;
|
|
70
78
|
this.estimatedDataPoints = 0;
|
|
71
79
|
this.activeMenuItem = null;
|
|
@@ -92,6 +100,12 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
92
100
|
},
|
|
93
101
|
args: () => [this.variableEntryId, this.collection, this.variable]
|
|
94
102
|
}));
|
|
103
|
+
__privateAdd(this, _handleQuotaError, (event) => {
|
|
104
|
+
const { status } = event.detail;
|
|
105
|
+
if (status === 429) {
|
|
106
|
+
this.quotaExceededOpen = true;
|
|
107
|
+
}
|
|
108
|
+
});
|
|
95
109
|
}
|
|
96
110
|
handleFocus(_oldValue, newValue) {
|
|
97
111
|
if (newValue === null) {
|
|
@@ -101,6 +115,10 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
101
115
|
}
|
|
102
116
|
connectedCallback() {
|
|
103
117
|
super.connectedCallback();
|
|
118
|
+
this.addEventListener(
|
|
119
|
+
"terra-time-series-error",
|
|
120
|
+
__privateGet(this, _handleQuotaError)
|
|
121
|
+
);
|
|
104
122
|
__privateSet(this, _timeSeriesController, new TimeSeriesController(this, this.bearerToken));
|
|
105
123
|
if (!document.getElementById("terra-jupyterlite-warmup-iframe")) {
|
|
106
124
|
const iframe = document.createElement("iframe");
|
|
@@ -112,10 +130,38 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
112
130
|
document.body.appendChild(iframe);
|
|
113
131
|
}
|
|
114
132
|
}
|
|
133
|
+
disconnectedCallback() {
|
|
134
|
+
super.disconnectedCallback();
|
|
135
|
+
this.removeEventListener(
|
|
136
|
+
"terra-time-series-error",
|
|
137
|
+
__privateGet(this, _handleQuotaError)
|
|
138
|
+
);
|
|
139
|
+
}
|
|
115
140
|
render() {
|
|
116
141
|
var _a, _b;
|
|
117
142
|
return html`
|
|
118
143
|
<div class="plot-container" @mouseleave=${__privateMethod(this, _handleComponentLeave, handleComponentLeave_fn)}>
|
|
144
|
+
${this.quotaExceededOpen ? html`
|
|
145
|
+
<terra-alert
|
|
146
|
+
variant="warning"
|
|
147
|
+
duration="10000"
|
|
148
|
+
open=${this.quotaExceededOpen}
|
|
149
|
+
closable
|
|
150
|
+
@terra-after-hide=${() => this.quotaExceededOpen = false}
|
|
151
|
+
>
|
|
152
|
+
<terra-icon
|
|
153
|
+
slot="icon"
|
|
154
|
+
name="outline-exclamation-triangle"
|
|
155
|
+
library="heroicons"
|
|
156
|
+
></terra-icon>
|
|
157
|
+
You've exceeded your request quota. Please
|
|
158
|
+
<a
|
|
159
|
+
href="https://disc.gsfc.nasa.gov/information/documents?title=Contact%20Us"
|
|
160
|
+
>contact the help desk</a
|
|
161
|
+
>
|
|
162
|
+
for further assistance.
|
|
163
|
+
</terra-alert>
|
|
164
|
+
` : ""}
|
|
119
165
|
${cache(
|
|
120
166
|
this.catalogVariable ? html`
|
|
121
167
|
<header>
|
|
@@ -257,7 +303,11 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
257
303
|
xaxis: {
|
|
258
304
|
title: "Time",
|
|
259
305
|
showgrid: false,
|
|
260
|
-
zeroline: false
|
|
306
|
+
zeroline: false,
|
|
307
|
+
range: (
|
|
308
|
+
// manually set the range as we may adjust it when we fetch new data as a user pans/zooms the plot
|
|
309
|
+
this.startDate && this.endDate ? [this.startDate, this.endDate] : void 0
|
|
310
|
+
)
|
|
261
311
|
},
|
|
262
312
|
yaxis: {
|
|
263
313
|
title: __privateMethod(this, _getYAxisLabel, getYAxisLabel_fn).call(this),
|
|
@@ -273,6 +323,7 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
273
323
|
modeBarButtonsToRemove: ["toImage", "zoom2d", "resetScale2d"],
|
|
274
324
|
responsive: true
|
|
275
325
|
}}
|
|
326
|
+
@terra-plot-relayout=${__privateMethod(this, _handlePlotRelayout, handlePlotRelayout_fn)}
|
|
276
327
|
></terra-plot>
|
|
277
328
|
</div>
|
|
278
329
|
|
|
@@ -321,6 +372,7 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
321
372
|
_timeSeriesController = new WeakMap();
|
|
322
373
|
_catalog = new WeakMap();
|
|
323
374
|
_fetchVariableTask = new WeakMap();
|
|
375
|
+
_handleQuotaError = new WeakMap();
|
|
324
376
|
_confirmDataPointWarning = new WeakSet();
|
|
325
377
|
confirmDataPointWarning_fn = function() {
|
|
326
378
|
__privateGet(this, _timeSeriesController).confirmDataPointWarning();
|
|
@@ -602,12 +654,37 @@ timeseries`,
|
|
|
602
654
|
}, 500);
|
|
603
655
|
});
|
|
604
656
|
};
|
|
657
|
+
_handlePlotRelayout = new WeakSet();
|
|
658
|
+
handlePlotRelayout_fn = function(e) {
|
|
659
|
+
let changed = false;
|
|
660
|
+
if (e.detail.xAxisMin) {
|
|
661
|
+
this.startDate = formatDate(e.detail.xAxisMin);
|
|
662
|
+
changed = true;
|
|
663
|
+
}
|
|
664
|
+
if (e.detail.xAxisMax) {
|
|
665
|
+
this.endDate = formatDate(e.detail.xAxisMax);
|
|
666
|
+
changed = true;
|
|
667
|
+
}
|
|
668
|
+
if (changed) {
|
|
669
|
+
this.dispatchEvent(
|
|
670
|
+
new CustomEvent("terra-date-range-change", {
|
|
671
|
+
detail: {
|
|
672
|
+
startDate: this.startDate,
|
|
673
|
+
endDate: this.endDate
|
|
674
|
+
},
|
|
675
|
+
bubbles: true,
|
|
676
|
+
composed: true
|
|
677
|
+
})
|
|
678
|
+
);
|
|
679
|
+
}
|
|
680
|
+
};
|
|
605
681
|
TerraTimeSeries.styles = [component_styles_default, time_series_styles_default];
|
|
606
682
|
TerraTimeSeries.dependencies = {
|
|
607
683
|
"terra-plot": TerraPlot,
|
|
608
684
|
"terra-loader": TerraLoader,
|
|
609
685
|
"terra-icon": TerraIcon,
|
|
610
|
-
"terra-button": TerraButton
|
|
686
|
+
"terra-button": TerraButton,
|
|
687
|
+
"terra-alert": TerraAlert
|
|
611
688
|
};
|
|
612
689
|
__decorateClass([
|
|
613
690
|
property({ attribute: "variable-entry-id", reflect: true })
|
|
@@ -647,6 +724,9 @@ __decorateClass([
|
|
|
647
724
|
__decorateClass([
|
|
648
725
|
state()
|
|
649
726
|
], TerraTimeSeries.prototype, "catalogVariable", 2);
|
|
727
|
+
__decorateClass([
|
|
728
|
+
state()
|
|
729
|
+
], TerraTimeSeries.prototype, "quotaExceededOpen", 2);
|
|
650
730
|
__decorateClass([
|
|
651
731
|
state()
|
|
652
732
|
], TerraTimeSeries.prototype, "showDataPointWarning", 2);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TerraVariableCombobox
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.UISGE46E.js";
|
|
4
4
|
import {
|
|
5
5
|
TerraTimeSeries
|
|
6
|
-
} from "./chunk.
|
|
7
|
-
import {
|
|
8
|
-
data_rods_styles_default
|
|
9
|
-
} from "./chunk.DLDCSRJP.js";
|
|
6
|
+
} from "./chunk.72NTKHPH.js";
|
|
10
7
|
import {
|
|
11
8
|
TerraDateRangeSlider
|
|
12
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.XYUQQFJK.js";
|
|
13
10
|
import {
|
|
14
11
|
TerraSpatialPicker
|
|
15
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.UNNCE3S5.js";
|
|
13
|
+
import {
|
|
14
|
+
data_rods_styles_default
|
|
15
|
+
} from "./chunk.DLDCSRJP.js";
|
|
16
16
|
import {
|
|
17
17
|
TerraElement,
|
|
18
18
|
component_styles_default
|
|
19
|
-
} from "./chunk.
|
|
19
|
+
} from "./chunk.NDZ4YZIO.js";
|
|
20
20
|
import {
|
|
21
21
|
GiovanniVariableCatalog
|
|
22
22
|
} from "./chunk.HFD6TPE6.js";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
import { property, state } from "lit/decorators.js";
|
|
35
35
|
import { html } from "lit";
|
|
36
36
|
import { Task } from "@lit/task";
|
|
37
|
-
var _catalog, _fetchVariableTask, _getVariableEntryId, getVariableEntryId_fn, _handleDateRangeSliderChangeEvent, handleDateRangeSliderChangeEvent_fn, _handleVariableChange, handleVariableChange_fn, _handleMapChange, handleMapChange_fn;
|
|
37
|
+
var _catalog, _fetchVariableTask, _getVariableEntryId, getVariableEntryId_fn, _handleDateRangeSliderChangeEvent, handleDateRangeSliderChangeEvent_fn, _handleVariableChange, handleVariableChange_fn, _handleMapChange, handleMapChange_fn, _handleTimeSeriesDateRangeChange, handleTimeSeriesDateRangeChange_fn;
|
|
38
38
|
var TerraDataRods = class extends TerraElement {
|
|
39
39
|
constructor() {
|
|
40
40
|
super(...arguments);
|
|
@@ -45,6 +45,7 @@ var TerraDataRods = class extends TerraElement {
|
|
|
45
45
|
__privateAdd(this, _handleDateRangeSliderChangeEvent);
|
|
46
46
|
__privateAdd(this, _handleVariableChange);
|
|
47
47
|
__privateAdd(this, _handleMapChange);
|
|
48
|
+
__privateAdd(this, _handleTimeSeriesDateRangeChange);
|
|
48
49
|
__privateAdd(this, _catalog, new GiovanniVariableCatalog());
|
|
49
50
|
// @ts-expect-error
|
|
50
51
|
__privateAdd(this, _fetchVariableTask, new Task(this, {
|
|
@@ -95,6 +96,7 @@ var TerraDataRods = class extends TerraElement {
|
|
|
95
96
|
end-date=${this.endDate}
|
|
96
97
|
location=${this.location}
|
|
97
98
|
bearer-token=${this.bearerToken}
|
|
99
|
+
@terra-date-range-change=${__privateMethod(this, _handleTimeSeriesDateRangeChange, handleTimeSeriesDateRangeChange_fn)}
|
|
98
100
|
></terra-time-series>
|
|
99
101
|
|
|
100
102
|
<terra-date-range-slider
|
|
@@ -135,6 +137,11 @@ handleMapChange_fn = function(event) {
|
|
|
135
137
|
this.location = `${latLng.lat.toFixed(4)},${latLng.lng.toFixed(4)}`;
|
|
136
138
|
}
|
|
137
139
|
};
|
|
140
|
+
_handleTimeSeriesDateRangeChange = new WeakSet();
|
|
141
|
+
handleTimeSeriesDateRangeChange_fn = function(event) {
|
|
142
|
+
this.startDate = event.detail.startDate;
|
|
143
|
+
this.endDate = event.detail.endDate;
|
|
144
|
+
};
|
|
138
145
|
TerraDataRods.styles = [component_styles_default, data_rods_styles_default];
|
|
139
146
|
TerraDataRods.dependencies = {
|
|
140
147
|
"terra-time-series": TerraTimeSeries,
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loader_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.6DQGT2UQ.js";
|
|
4
4
|
import {
|
|
5
5
|
login_styles_default
|
|
6
6
|
} from "./chunk.UIYPAVP3.js";
|
|
7
7
|
import {
|
|
8
8
|
icon_default
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.2H2C22AH.js";
|
|
10
10
|
import {
|
|
11
11
|
button_default
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.5I3XU7AO.js";
|
|
13
13
|
import {
|
|
14
14
|
TerraElement,
|
|
15
15
|
component_styles_default
|
|
16
|
-
} from "./chunk.
|
|
16
|
+
} from "./chunk.NDZ4YZIO.js";
|
|
17
17
|
import {
|
|
18
18
|
__privateAdd,
|
|
19
19
|
__privateGet,
|
|
@@ -355,6 +355,11 @@ var DataSubsetterController = class {
|
|
|
355
355
|
setTimeout(() => {
|
|
356
356
|
this.jobStatusTask.run();
|
|
357
357
|
}, JOB_STATUS_POLL_MILLIS);
|
|
358
|
+
} else if (job) {
|
|
359
|
+
console.log("Subset job completed ", job);
|
|
360
|
+
__privateGet(this, _host).emit("terra-subset-job-complete", {
|
|
361
|
+
detail: job
|
|
362
|
+
});
|
|
358
363
|
}
|
|
359
364
|
return job;
|
|
360
365
|
},
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TerraDataRods
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.7I7FV5V6.js";
|
|
4
4
|
|
|
5
5
|
// src/react/data-rods/index.ts
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { createComponent } from "@lit/react";
|
|
8
|
+
import "@lit/react";
|
|
8
9
|
var tagName = "terra-data-rods";
|
|
9
10
|
TerraDataRods.define("terra-data-rods");
|
|
10
11
|
var reactWrapper = createComponent({
|
|
11
12
|
tagName,
|
|
12
13
|
elementClass: TerraDataRods,
|
|
13
14
|
react: React,
|
|
14
|
-
events: {
|
|
15
|
+
events: {
|
|
16
|
+
onTerraDateRangeChange: "terra-date-range-change"
|
|
17
|
+
},
|
|
15
18
|
displayName: "TerraDataRods"
|
|
16
19
|
});
|
|
17
20
|
var data_rods_default = reactWrapper;
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
TerraElement,
|
|
21
21
|
component_styles_default
|
|
22
|
-
} from "./chunk.
|
|
22
|
+
} from "./chunk.NDZ4YZIO.js";
|
|
23
23
|
import {
|
|
24
24
|
__decorateClass,
|
|
25
25
|
__privateAdd,
|
|
@@ -122,6 +122,10 @@ var TerraMap = class extends TerraElement {
|
|
|
122
122
|
<div part="map" id="map" class="map"></div>
|
|
123
123
|
`;
|
|
124
124
|
}
|
|
125
|
+
invalidateSize() {
|
|
126
|
+
console.log("invalidate size ", this.map.map);
|
|
127
|
+
this.map.map.invalidateSize();
|
|
128
|
+
}
|
|
125
129
|
};
|
|
126
130
|
_markDynamicLeafletContent = new WeakSet();
|
|
127
131
|
markDynamicLeafletContent_fn = function() {
|