@nasa-terra/components 0.0.79 → 0.0.80
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.M4WFIG6J.js → chunk.23DEVC6C.js} +1 -1
- package/cdn/chunks/{chunk.NP5AOGS2.js → chunk.2A276Q2J.js} +1 -1
- package/cdn/chunks/{chunk.FFDTOBDW.js → chunk.2RMUYUIC.js} +1 -1
- package/cdn/chunks/{chunk.ATUKNFAZ.js → chunk.2V7X2Z7U.js} +47 -7
- package/cdn/chunks/{chunk.AMOU6XJG.js → chunk.3W7DTPAW.js} +1 -1
- package/cdn/chunks/{chunk.TOWA2LN3.js → chunk.45N6GHJC.js} +1 -1
- package/cdn/chunks/{chunk.UAONFCEU.js → chunk.47LZ7UV2.js} +11 -15
- package/cdn/chunks/{chunk.ZPGDIQ3D.js → chunk.4FYLLTGM.js} +1 -1
- package/cdn/chunks/{chunk.VZP2JBB3.js → chunk.4HPA56LD.js} +2 -2
- package/cdn/chunks/{chunk.LVYUGDFB.js → chunk.4XTQCRF2.js} +1 -1
- package/cdn/chunks/{chunk.6NPDA6NN.js → chunk.5CBDIJUC.js} +1 -1
- package/cdn/chunks/{chunk.4VYZZXGD.js → chunk.62EOK77M.js} +1 -1
- package/cdn/chunks/{chunk.XHZYSPBO.js → chunk.6PUQICNA.js} +1 -1
- package/cdn/chunks/{chunk.USPDCCOV.js → chunk.6UOKNJQJ.js} +1 -1
- package/cdn/chunks/{chunk.VBBYS4UF.js → chunk.73BGY6ID.js} +1 -1
- package/cdn/chunks/{chunk.7TL7XWQC.js → chunk.7ISHLC3A.js} +1 -1
- package/cdn/chunks/{chunk.AG5FX2ZB.js → chunk.ASDYOACP.js} +1 -1
- package/cdn/chunks/{chunk.PDR3XIUD.js → chunk.BHKUBZ7U.js} +12 -1
- package/cdn/chunks/{chunk.RDO56NDN.js → chunk.BNMIB6EP.js} +1 -1
- package/cdn/chunks/{chunk.S53VMW2S.js → chunk.C2CF3PA6.js} +1 -1
- package/cdn/chunks/{chunk.DX5ZMKGE.js → chunk.CIHVQGBQ.js} +4 -0
- package/cdn/chunks/{chunk.LWM66ADQ.js → chunk.CQUCTES2.js} +1 -1
- package/cdn/chunks/{chunk.QQWU2E32.js → chunk.DBQJMOBF.js} +93 -9
- package/cdn/chunks/{chunk.7Y4W5MNP.js → chunk.EESURTDU.js} +1 -1
- package/cdn/chunks/{chunk.LANNFYEC.js → chunk.EH4NX6EQ.js} +1 -1
- package/cdn/chunks/{chunk.J3KU3T3S.js → chunk.ELPDO5GJ.js} +1 -1
- package/cdn/chunks/{chunk.63UVSL6G.js → chunk.F3PQVNN2.js} +1 -1
- package/cdn/chunks/{chunk.H4LX5VHQ.js → chunk.F4SKIGKM.js} +1 -1
- package/cdn/chunks/{chunk.GN7CMULE.js → chunk.FIQLDALX.js} +1 -1
- package/cdn/chunks/{chunk.KOVZ2P7D.js → chunk.GOCVSR3P.js} +1 -1
- package/cdn/chunks/{chunk.UY3ZDMWT.js → chunk.GONQUXRU.js} +1 -1
- package/cdn/chunks/{chunk.PEHWQD3B.js → chunk.GWHEAPW2.js} +1 -1
- package/cdn/chunks/{chunk.3IIHWNHX.js → chunk.HIQSMMXV.js} +5 -5
- package/cdn/chunks/{chunk.5RLNEXRE.js → chunk.HNKDVXQB.js} +1 -1
- package/cdn/chunks/{chunk.5MWLZFR6.js → chunk.IB2DZNRK.js} +1 -1
- package/cdn/chunks/{chunk.XDR3URF5.js → chunk.IHZ2IFNB.js} +3 -3
- package/cdn/chunks/{chunk.VYMYIK7G.js → chunk.K53KKANP.js} +1 -1
- package/cdn/chunks/{chunk.Y5QW3K3R.js → chunk.K56JBLRC.js} +1 -1
- package/cdn/chunks/{chunk.7C3I3Q5J.js → chunk.KAOKEMXX.js} +5 -5
- package/cdn/chunks/{chunk.4WBLAP5A.js → chunk.L3D2LWXH.js} +2 -2
- package/cdn/chunks/{chunk.FMAMZB5T.js → chunk.L6BBAF5B.js} +1 -1
- package/cdn/chunks/{chunk.HSEBOGQH.js → chunk.LG46IXYS.js} +5 -5
- package/cdn/chunks/{chunk.H3I64O4Q.js → chunk.LRAXZNFD.js} +1 -1
- package/cdn/chunks/{chunk.NOINYJAI.js → chunk.LSZF2KOX.js} +1 -1
- package/cdn/chunks/{chunk.53LKFB6G.js → chunk.M23373KM.js} +1 -1
- package/cdn/chunks/{chunk.YICXVBSO.js → chunk.M4BFE4IR.js} +1 -1
- package/cdn/chunks/{chunk.V7BIHQMW.js → chunk.MWUWG4Y4.js} +1 -1
- package/cdn/chunks/{chunk.TVBK6ADB.js → chunk.N7HZ5LUM.js} +104 -3
- package/cdn/chunks/{chunk.PM2BQUXK.js → chunk.NIXL5U3T.js} +17 -13
- package/cdn/chunks/{chunk.HDPH5PEF.js → chunk.NONB5YOP.js} +7 -2
- package/cdn/chunks/{chunk.TIFU6G3H.js → chunk.NW42KS32.js} +1 -1
- package/cdn/chunks/{chunk.BKXBPP6G.js → chunk.P4CX7CPP.js} +1 -1
- package/cdn/chunks/{chunk.BWKTAPEF.js → chunk.PBNTZOPR.js} +1 -1
- package/cdn/chunks/{chunk.UFTQLCLB.js → chunk.PKZ72XUI.js} +1 -1
- package/cdn/chunks/{chunk.BEX4JJHA.js → chunk.PLQSGWNR.js} +244 -202
- package/cdn/chunks/{chunk.LJS6GNH6.js → chunk.PWRFGHKK.js} +1 -1
- package/cdn/chunks/{chunk.Q52W3YPD.js → chunk.PYWVO7AM.js} +11 -2
- package/cdn/chunks/{chunk.OZVEUFHU.js → chunk.QGRJLAF7.js} +1 -1
- package/cdn/chunks/{chunk.RHQOF2CD.js → chunk.QUQIMHR2.js} +1 -1
- package/cdn/chunks/{chunk.YBF5WSWN.js → chunk.QZBW3KV6.js} +1 -1
- package/cdn/chunks/{chunk.MJI3CSS2.js → chunk.RKXECSWB.js} +1 -1
- package/cdn/chunks/{chunk.MXI6CLWG.js → chunk.RMGL6GRF.js} +1 -1
- package/cdn/chunks/{chunk.UP5GBQEQ.js → chunk.RQCFXGP3.js} +1 -1
- package/cdn/chunks/{chunk.23UKZUYO.js → chunk.S2HO4LFA.js} +1 -1
- package/cdn/chunks/{chunk.FW2LALSP.js → chunk.SXXGTR7H.js} +46 -0
- package/cdn/chunks/{chunk.S3GI6DBZ.js → chunk.TAPF2UN3.js} +1 -1
- package/cdn/chunks/{chunk.6OZDGA7Y.js → chunk.TCXYKVUH.js} +5 -5
- package/cdn/chunks/{chunk.3IOQCOH7.js → chunk.TN6OW2JR.js} +7 -7
- package/cdn/chunks/{chunk.ZF3OXOZD.js → chunk.TOTM6QGQ.js} +1 -1
- package/cdn/chunks/{chunk.N2XD5VJA.js → chunk.UZQBY75E.js} +1 -1
- package/cdn/chunks/{chunk.RZ5TMBF4.js → chunk.V5C2UFUT.js} +1 -1
- package/cdn/chunks/{chunk.NSI5JGCV.js → chunk.VDMVCU4B.js} +1 -1
- package/cdn/chunks/{chunk.3M44J2RA.js → chunk.VFQFD6MS.js} +1 -1
- package/cdn/chunks/{chunk.MQQRMXEG.js → chunk.VR7ZNZJQ.js} +1 -1
- package/cdn/chunks/{chunk.GGNBSXMI.js → chunk.W5LF3O7V.js} +5 -5
- package/cdn/chunks/{chunk.25ED55RF.js → chunk.XB7DG5RS.js} +1 -1
- package/cdn/chunks/{chunk.WHQKNFVH.js → chunk.XEQSV7KL.js} +1 -1
- package/cdn/chunks/{chunk.HRWFVW2C.js → chunk.XLV73VSQ.js} +14 -7
- package/cdn/chunks/{chunk.CTMJWNZQ.js → chunk.YMIHBEW6.js} +1 -1
- package/cdn/chunks/{chunk.5H5VDIDD.js → chunk.ZFEFEWGW.js} +1 -1
- package/cdn/chunks/{chunk.CTRFMQYC.js → chunk.ZJYZHE6C.js} +1 -1
- package/cdn/chunks/{chunk.DNRDT6IB.js → chunk.ZOWBRC6L.js} +3 -3
- package/cdn/chunks/{chunk.JXGAYID6.js → chunk.ZUASERG5.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.js +2 -2
- package/cdn/components/alert/alert.js +3 -3
- package/cdn/components/browse-variables/browse-variables.component.js +14 -14
- package/cdn/components/browse-variables/browse-variables.controller.js +1 -1
- package/cdn/components/browse-variables/browse-variables.js +15 -15
- package/cdn/components/button/button.component.js +2 -2
- package/cdn/components/button/button.js +3 -3
- package/cdn/components/chip/chip.component.js +2 -2
- package/cdn/components/chip/chip.js +3 -3
- package/cdn/components/combobox/combobox.component.js +2 -2
- package/cdn/components/combobox/combobox.js +3 -3
- package/cdn/components/data-rods/data-rods.component.js +26 -26
- package/cdn/components/data-rods/data-rods.js +27 -27
- package/cdn/components/data-subsetter/data-subsetter.component.js +20 -20
- package/cdn/components/data-subsetter/data-subsetter.js +21 -21
- package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +22 -22
- package/cdn/components/data-subsetter-history/data-subsetter-history.js +23 -23
- package/cdn/components/date-picker/date-picker.component.js +3 -3
- package/cdn/components/date-picker/date-picker.js +4 -4
- 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 +2 -2
- package/cdn/components/dialog/dialog.js +3 -3
- 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 +10 -10
- package/cdn/components/login/login.js +11 -11
- package/cdn/components/map/leaflet-utils.d.ts +1 -0
- package/cdn/components/map/leaflet-utils.js +1 -1
- package/cdn/components/map/map.component.d.ts +1 -0
- package/cdn/components/map/map.component.js +4 -4
- package/cdn/components/map/map.js +5 -5
- package/cdn/components/map/map.styles.js +1 -1
- package/cdn/components/plot/plot.component.js +2 -2
- package/cdn/components/plot/plot.js +3 -3
- package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
- package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
- package/cdn/components/plot-toolbar/plot-toolbar.component.d.ts +5 -0
- package/cdn/components/plot-toolbar/plot-toolbar.component.js +18 -9
- package/cdn/components/plot-toolbar/plot-toolbar.js +19 -10
- package/cdn/components/plot-toolbar/plot-toolbar.styles.js +1 -1
- 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 +9 -0
- package/cdn/components/spatial-picker/spatial-picker.component.js +6 -6
- package/cdn/components/spatial-picker/spatial-picker.js +7 -7
- package/cdn/components/spatial-picker/spatial-picker.styles.js +1 -1
- package/cdn/components/time-average-map/time-average-map.component.d.ts +2 -0
- package/cdn/components/time-average-map/time-average-map.component.js +24 -13
- package/cdn/components/time-average-map/time-average-map.js +25 -14
- package/cdn/components/time-average-map/time-average-map.styles.js +1 -1
- package/cdn/components/time-series/time-series.component.js +25 -16
- package/cdn/components/time-series/time-series.controller.js +1 -1
- package/cdn/components/time-series/time-series.js +26 -17
- package/cdn/components/variable-combobox/variable-combobox.component.js +9 -9
- package/cdn/components/variable-combobox/variable-combobox.js +10 -10
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +9 -9
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +10 -10
- package/cdn/custom-elements.json +2590 -2482
- package/cdn/react/accordion/index.js +4 -4
- package/cdn/react/alert/index.js +3 -3
- package/cdn/react/browse-variables/index.js +15 -15
- package/cdn/react/button/index.js +3 -3
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +3 -3
- package/cdn/react/data-rods/index.js +27 -27
- package/cdn/react/data-subsetter/index.js +21 -21
- package/cdn/react/data-subsetter-history/index.js +23 -23
- package/cdn/react/date-picker/index.js +4 -4
- package/cdn/react/date-range-slider/index.js +3 -3
- package/cdn/react/dialog/index.js +3 -3
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/index.d.ts +7 -7
- package/cdn/react/index.js +77 -77
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +11 -11
- package/cdn/react/map/index.js +5 -5
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/plot-toolbar/index.js +19 -10
- package/cdn/react/skeleton/index.js +5 -5
- package/cdn/react/spatial-picker/index.js +7 -7
- package/cdn/react/time-average-map/index.js +25 -14
- package/cdn/react/time-series/index.js +26 -17
- package/cdn/react/variable-combobox/index.js +10 -10
- package/cdn/react/variable-keyword-search/index.js +10 -10
- package/cdn/terra-ui-components.js +69 -69
- package/cdn/types/vue/index.d.ts +288 -278
- package/cdn/utilities/animation.js +2 -2
- package/cdn/vscode.html-custom-data.json +222 -220
- package/cdn/web-types.json +595 -582
- package/dist/chunks/{chunk.UNOIWTNE.js → chunk.25226DIQ.js} +1 -1
- package/dist/chunks/{chunk.DDATJ3M6.js → chunk.356ABV4K.js} +1 -1
- package/dist/chunks/{chunk.AXY6BCTR.js → chunk.3K6VZ5XB.js} +1 -1
- package/dist/chunks/{chunk.HK5BHLKN.js → chunk.4BD4DJXV.js} +1 -1
- package/dist/chunks/{chunk.ZRFR24TJ.js → chunk.4MMO34P3.js} +2 -2
- package/dist/chunks/{chunk.FV6ZTWQ5.js → chunk.5AUH3BGK.js} +1 -1
- package/dist/chunks/{chunk.ELGA4XGG.js → chunk.5DMQCYGB.js} +1 -1
- package/dist/chunks/{chunk.LDSRVJOW.js → chunk.5HG33S73.js} +1 -1
- package/dist/chunks/{chunk.BHCZAYVK.js → chunk.5NXJAKL6.js} +1 -1
- package/dist/chunks/{chunk.QSZWARPH.js → chunk.5Q7IPUYU.js} +46 -0
- package/dist/chunks/{chunk.XYBXGKW4.js → chunk.5ZVZSHM5.js} +1 -1
- package/dist/chunks/{chunk.ELVIHFQI.js → chunk.66XZB5EQ.js} +14 -7
- package/dist/chunks/{chunk.P76PWNBR.js → chunk.6CAOH2VO.js} +17 -13
- package/dist/chunks/{chunk.PWRXYAX4.js → chunk.6K3N3ULL.js} +1 -1
- package/dist/chunks/{chunk.RJAWL7D7.js → chunk.6P6JLFI6.js} +1 -1
- package/dist/chunks/{chunk.3BAMAXJE.js → chunk.7M47QN33.js} +1 -1
- package/dist/chunks/{chunk.5V65MFYU.js → chunk.B6UIGUGF.js} +1 -1
- package/dist/chunks/{chunk.7Y4VQF77.js → chunk.B7R5BUYV.js} +1 -1
- package/dist/chunks/{chunk.3KPQL5G4.js → chunk.BJH53TIX.js} +1 -1
- package/dist/chunks/{chunk.RM7HHGEJ.js → chunk.BL36FWUJ.js} +1 -1
- package/dist/chunks/{chunk.D7JTQAIC.js → chunk.CVLSHUIX.js} +96 -56
- package/dist/chunks/{chunk.GMJWNAQG.js → chunk.DTN7GDMC.js} +11 -2
- package/dist/chunks/{chunk.HBBZZVOS.js → chunk.EG3G4P7D.js} +5 -5
- package/dist/chunks/{chunk.T3DP6YWR.js → chunk.EMVFMFJB.js} +1 -1
- package/dist/chunks/{chunk.UBGAAM2T.js → chunk.EREO4XM7.js} +1 -1
- package/dist/chunks/{chunk.2CPU3KOW.js → chunk.EWUN2MOD.js} +1 -1
- package/dist/chunks/{chunk.T53RBNNE.js → chunk.F4FTHS3R.js} +7 -2
- package/dist/chunks/{chunk.PDQEBNF2.js → chunk.F6LR5CPM.js} +1 -1
- package/dist/chunks/{chunk.PPMJG5BI.js → chunk.FMJNWEIK.js} +1 -1
- package/dist/chunks/{chunk.CXLSM7PJ.js → chunk.FN4BCUS2.js} +1 -1
- package/dist/chunks/{chunk.U3WSNKQU.js → chunk.FPBRF5AJ.js} +5 -5
- package/dist/chunks/{chunk.2RG26HWH.js → chunk.FVJUADPQ.js} +1 -1
- package/dist/chunks/{chunk.KMEM5GUD.js → chunk.FZMAJTSE.js} +94 -10
- package/dist/chunks/{chunk.YHJNCFKE.js → chunk.GE7WCVNX.js} +1 -1
- package/dist/chunks/{chunk.4BNQLM4V.js → chunk.GR6RKF6C.js} +3 -3
- package/dist/chunks/{chunk.5JPMM6UP.js → chunk.H6RXQHL6.js} +5 -5
- package/dist/chunks/{chunk.UVJPL7MC.js → chunk.HCX3V4SP.js} +1 -1
- package/dist/chunks/{chunk.AVPDR3QM.js → chunk.HFSO6YS4.js} +1 -1
- package/dist/chunks/{chunk.OHJNBJ5O.js → chunk.I6YFRSN7.js} +1 -1
- package/dist/chunks/{chunk.EX6W53NJ.js → chunk.IFQMQ2MS.js} +1 -1
- package/dist/chunks/{chunk.BCQN6JPN.js → chunk.ISLJNUUO.js} +1 -1
- package/dist/chunks/{chunk.WLZPL6KT.js → chunk.JILF6JNX.js} +3 -3
- package/dist/chunks/{chunk.AU2TZ32F.js → chunk.JP6RJXGC.js} +1 -1
- package/dist/chunks/{chunk.LMEWOXT4.js → chunk.K6Q6J5ND.js} +1 -1
- package/dist/chunks/{chunk.PHCVXYA7.js → chunk.KCQT5P3X.js} +1 -1
- package/dist/chunks/{chunk.PXFSH2ZT.js → chunk.L4UAHDZE.js} +1 -1
- package/dist/chunks/{chunk.TPURA6B5.js → chunk.LAB5VX5P.js} +1 -1
- package/dist/chunks/{chunk.PT4T3LCS.js → chunk.LK6DE6VC.js} +11 -15
- package/dist/chunks/{chunk.XX5QF3WX.js → chunk.LYALAVAM.js} +1 -1
- package/dist/chunks/{chunk.VANSOTE3.js → chunk.MAKUF3LF.js} +1 -1
- package/dist/chunks/{chunk.HRF7UC4O.js → chunk.MKQTNYZP.js} +1 -1
- package/dist/chunks/{chunk.G6VNN7RY.js → chunk.MPNHLZNI.js} +104 -3
- package/dist/chunks/{chunk.7RT5CEB6.js → chunk.N6AUWZHE.js} +12 -1
- package/dist/chunks/{chunk.YKZAA4Y2.js → chunk.NAVFEGCI.js} +1 -1
- package/dist/chunks/{chunk.FJ3EPSDA.js → chunk.NMXV5B5E.js} +1 -1
- package/dist/chunks/{chunk.6SBABNR5.js → chunk.NN77YVLS.js} +1 -1
- package/dist/chunks/{chunk.2QAOBVXJ.js → chunk.O77HLJ5W.js} +1 -1
- package/dist/chunks/{chunk.IQITTKLF.js → chunk.OJTCPR4A.js} +1 -1
- package/dist/chunks/{chunk.IG5WQP2M.js → chunk.OKSEWKOZ.js} +1 -1
- package/dist/chunks/{chunk.STW4Z4TN.js → chunk.ONMHEEEJ.js} +1 -1
- package/dist/chunks/{chunk.JNAS5EXZ.js → chunk.OOKQ7OBO.js} +3 -3
- package/dist/chunks/{chunk.BEDYDFXT.js → chunk.PJP62E5Q.js} +4 -0
- package/dist/chunks/{chunk.UDBHYT6P.js → chunk.Q5J7IXTH.js} +47 -7
- package/dist/chunks/{chunk.WVLIAL2U.js → chunk.QYDXQXZU.js} +1 -1
- package/dist/chunks/{chunk.CFBVWGGR.js → chunk.RBR7QJIV.js} +1 -1
- package/dist/chunks/{chunk.726LQPRB.js → chunk.RGVP2PGD.js} +1 -1
- package/dist/chunks/{chunk.3L77HLPZ.js → chunk.RHNSVC6G.js} +1 -1
- package/dist/chunks/{chunk.36BIJ4RM.js → chunk.RKL5NCF4.js} +1 -1
- package/dist/chunks/{chunk.YA3XIX6D.js → chunk.RXEFTALO.js} +1 -1
- package/dist/chunks/{chunk.KMP2YL3J.js → chunk.SJ7YHHIO.js} +1 -1
- package/dist/chunks/{chunk.PQXCSI54.js → chunk.VGQB5PX6.js} +1 -1
- package/dist/chunks/{chunk.V7TEVJGU.js → chunk.VOR535WK.js} +1 -1
- package/dist/chunks/{chunk.6GTVVQL6.js → chunk.VXZGJJHW.js} +1 -1
- package/dist/chunks/{chunk.TLFU6OKY.js → chunk.W2S55TOA.js} +1 -1
- package/dist/chunks/{chunk.NYAHNTHZ.js → chunk.W77TBP74.js} +1 -1
- package/dist/chunks/{chunk.GB7VMMBH.js → chunk.WEQYQLHR.js} +1 -1
- package/dist/chunks/{chunk.LCJZN2D6.js → chunk.WSICVUAH.js} +1 -1
- package/dist/chunks/{chunk.PI2K4KXN.js → chunk.XOSLEAJU.js} +3 -3
- package/dist/chunks/{chunk.VB3Q6HJ5.js → chunk.XPINC4UJ.js} +7 -7
- package/dist/chunks/{chunk.MF45I5UH.js → chunk.YIWN7HCE.js} +1 -1
- package/dist/chunks/{chunk.ZUGOXLVC.js → chunk.ZC2QEVTM.js} +1 -1
- package/dist/chunks/{chunk.QXPJQYQJ.js → chunk.ZLILHVPF.js} +1 -1
- package/dist/chunks/{chunk.I5R7IHPD.js → chunk.ZLZMXN2L.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.js +2 -2
- package/dist/components/alert/alert.js +3 -3
- package/dist/components/browse-variables/browse-variables.component.js +12 -12
- package/dist/components/browse-variables/browse-variables.controller.js +1 -1
- package/dist/components/browse-variables/browse-variables.js +13 -13
- package/dist/components/button/button.component.js +2 -2
- package/dist/components/button/button.js +3 -3
- package/dist/components/chip/chip.component.js +2 -2
- package/dist/components/chip/chip.js +3 -3
- package/dist/components/combobox/combobox.component.js +2 -2
- package/dist/components/combobox/combobox.js +3 -3
- package/dist/components/data-rods/data-rods.component.js +25 -25
- package/dist/components/data-rods/data-rods.js +26 -26
- package/dist/components/data-subsetter/data-subsetter.component.js +19 -19
- package/dist/components/data-subsetter/data-subsetter.js +20 -20
- package/dist/components/data-subsetter-history/data-subsetter-history.component.js +21 -21
- package/dist/components/data-subsetter-history/data-subsetter-history.js +22 -22
- package/dist/components/date-picker/date-picker.component.js +3 -3
- package/dist/components/date-picker/date-picker.js +4 -4
- 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 +2 -2
- package/dist/components/dialog/dialog.js +3 -3
- 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/leaflet-utils.d.ts +1 -0
- package/dist/components/map/leaflet-utils.js +1 -1
- package/dist/components/map/map.component.d.ts +1 -0
- package/dist/components/map/map.component.js +4 -4
- package/dist/components/map/map.js +5 -5
- package/dist/components/map/map.styles.js +1 -1
- package/dist/components/plot/plot.component.js +2 -2
- package/dist/components/plot/plot.js +3 -3
- package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
- package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
- package/dist/components/plot-toolbar/plot-toolbar.component.d.ts +5 -0
- package/dist/components/plot-toolbar/plot-toolbar.component.js +16 -8
- package/dist/components/plot-toolbar/plot-toolbar.js +17 -9
- package/dist/components/plot-toolbar/plot-toolbar.styles.js +1 -1
- 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 +9 -0
- package/dist/components/spatial-picker/spatial-picker.component.js +6 -6
- package/dist/components/spatial-picker/spatial-picker.js +7 -7
- package/dist/components/spatial-picker/spatial-picker.styles.js +1 -1
- package/dist/components/time-average-map/time-average-map.component.d.ts +2 -0
- package/dist/components/time-average-map/time-average-map.component.js +22 -12
- package/dist/components/time-average-map/time-average-map.js +23 -13
- package/dist/components/time-average-map/time-average-map.styles.js +1 -1
- package/dist/components/time-series/time-series.component.js +23 -15
- package/dist/components/time-series/time-series.controller.js +1 -1
- package/dist/components/time-series/time-series.js +24 -16
- package/dist/components/variable-combobox/variable-combobox.component.js +6 -6
- package/dist/components/variable-combobox/variable-combobox.js +7 -7
- package/dist/components/variable-keyword-search/variable-keyword-search.component.js +8 -8
- package/dist/components/variable-keyword-search/variable-keyword-search.js +9 -9
- package/dist/custom-elements.json +2590 -2482
- package/dist/react/accordion/index.js +4 -4
- package/dist/react/alert/index.js +3 -3
- package/dist/react/browse-variables/index.js +13 -13
- package/dist/react/button/index.js +3 -3
- package/dist/react/chip/index.js +3 -3
- package/dist/react/combobox/index.js +3 -3
- package/dist/react/data-rods/index.js +26 -26
- package/dist/react/data-subsetter/index.js +20 -20
- package/dist/react/data-subsetter-history/index.js +22 -22
- package/dist/react/date-picker/index.js +4 -4
- package/dist/react/date-range-slider/index.js +3 -3
- package/dist/react/dialog/index.js +3 -3
- package/dist/react/icon/index.js +3 -3
- package/dist/react/index.d.ts +7 -7
- package/dist/react/index.js +75 -75
- package/dist/react/loader/index.js +3 -3
- package/dist/react/login/index.js +10 -10
- package/dist/react/map/index.js +5 -5
- package/dist/react/plot/index.js +3 -3
- package/dist/react/plot-toolbar/index.js +17 -9
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spatial-picker/index.js +7 -7
- package/dist/react/time-average-map/index.js +23 -13
- package/dist/react/time-series/index.js +24 -16
- package/dist/react/variable-combobox/index.js +7 -7
- package/dist/react/variable-keyword-search/index.js +9 -9
- package/dist/terra-ui-components.js +67 -67
- package/dist/{terra_ui_components-0.0.79-py3-none-any.whl → terra_ui_components-0.0.80-py3-none-any.whl} +0 -0
- package/dist/{terra_ui_components-0.0.79.tar.gz → terra_ui_components-0.0.80.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +288 -278
- package/dist/vscode.html-custom-data.json +222 -220
- package/dist/web-types.json +595 -582
- package/package.json +1 -1
- package/cdn/chunks/{chunk.3SQ33WJL.js → chunk.E33KT63N.js} +5 -5
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spatial_picker_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.BHKUBZ7U.js";
|
|
4
4
|
import {
|
|
5
5
|
TerraMap
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.XLV73VSQ.js";
|
|
7
7
|
import {
|
|
8
8
|
StringifyBoundingBox,
|
|
9
9
|
parseBoundingBox
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.PYWVO7AM.js";
|
|
11
11
|
import {
|
|
12
12
|
TerraElement,
|
|
13
13
|
component_styles_default
|
|
14
|
-
} from "./chunk.
|
|
14
|
+
} from "./chunk.ASDYOACP.js";
|
|
15
15
|
import {
|
|
16
16
|
e,
|
|
17
17
|
n,
|
|
@@ -49,6 +49,7 @@ var TerraSpatialPicker = class extends TerraElement {
|
|
|
49
49
|
this.inline = false;
|
|
50
50
|
this.showMapOnFocus = false;
|
|
51
51
|
this.error = "";
|
|
52
|
+
this._popoverFlipped = false;
|
|
52
53
|
}
|
|
53
54
|
setValue(value) {
|
|
54
55
|
try {
|
|
@@ -69,16 +70,37 @@ var TerraSpatialPicker = class extends TerraElement {
|
|
|
69
70
|
this._emitMapChange();
|
|
70
71
|
const relatedTarget = e2.relatedTarget;
|
|
71
72
|
if (!(relatedTarget == null ? void 0 : relatedTarget.closest("terra-map"))) {
|
|
72
|
-
this.
|
|
73
|
+
this.close();
|
|
73
74
|
}
|
|
74
75
|
}
|
|
75
76
|
_focus() {
|
|
76
77
|
if (this.showMapOnFocus) {
|
|
77
|
-
this.
|
|
78
|
+
this.open();
|
|
78
79
|
}
|
|
79
80
|
}
|
|
80
81
|
_click() {
|
|
81
|
-
this.isExpanded
|
|
82
|
+
if (this.isExpanded) {
|
|
83
|
+
this.close();
|
|
84
|
+
} else {
|
|
85
|
+
this.open();
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* The spatial picker will either be positioned above or below the input depending on the space available
|
|
90
|
+
* @returns
|
|
91
|
+
*/
|
|
92
|
+
_checkPopoverPosition() {
|
|
93
|
+
if (this.inline)
|
|
94
|
+
return;
|
|
95
|
+
const viewportHeight = window.innerHeight;
|
|
96
|
+
const pickerRect = this.spatialPicker.getBoundingClientRect();
|
|
97
|
+
const spaceBelow = viewportHeight - pickerRect.bottom;
|
|
98
|
+
const spaceAbove = pickerRect.top;
|
|
99
|
+
if (spaceBelow < 450 && spaceBelow < spaceAbove) {
|
|
100
|
+
this._popoverFlipped = true;
|
|
101
|
+
} else {
|
|
102
|
+
this._popoverFlipped = false;
|
|
103
|
+
}
|
|
82
104
|
}
|
|
83
105
|
_emitMapChange() {
|
|
84
106
|
var _a;
|
|
@@ -112,6 +134,7 @@ var TerraSpatialPicker = class extends TerraElement {
|
|
|
112
134
|
}
|
|
113
135
|
open() {
|
|
114
136
|
this.isExpanded = true;
|
|
137
|
+
this._checkPopoverPosition();
|
|
115
138
|
}
|
|
116
139
|
close() {
|
|
117
140
|
this.isExpanded = false;
|
|
@@ -141,10 +164,20 @@ var TerraSpatialPicker = class extends TerraElement {
|
|
|
141
164
|
if (this.initialValue) {
|
|
142
165
|
this.mapValue = this.initialValue === "" ? [] : parseBoundingBox(this.initialValue);
|
|
143
166
|
}
|
|
167
|
+
window.addEventListener("resize", this._handleResize.bind(this));
|
|
144
168
|
setTimeout(() => {
|
|
145
169
|
this.invalidateSize();
|
|
146
170
|
}, 500);
|
|
147
171
|
}
|
|
172
|
+
_handleResize() {
|
|
173
|
+
if (this.isExpanded && !this.inline) {
|
|
174
|
+
this._checkPopoverPosition();
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
disconnectedCallback() {
|
|
178
|
+
super.disconnectedCallback();
|
|
179
|
+
window.removeEventListener("resize", this._handleResize.bind(this));
|
|
180
|
+
}
|
|
148
181
|
renderMap() {
|
|
149
182
|
return x`<terra-map
|
|
150
183
|
class="${this.inline ? "inline" : ""}"
|
|
@@ -207,6 +240,7 @@ var TerraSpatialPicker = class extends TerraElement {
|
|
|
207
240
|
</div>
|
|
208
241
|
${this.error ? x`<div class="spatial-picker__error">${this.error}</div>` : T}
|
|
209
242
|
${expanded ? x`<div
|
|
243
|
+
class="spatial-picker__map-container ${this._popoverFlipped ? "flipped" : ""}"
|
|
210
244
|
style="${this.inline ? "position: static; width: 100%;" : ""}"
|
|
211
245
|
>
|
|
212
246
|
${this.renderMap()}
|
|
@@ -274,12 +308,18 @@ __decorateClass([
|
|
|
274
308
|
__decorateClass([
|
|
275
309
|
r()
|
|
276
310
|
], TerraSpatialPicker.prototype, "error", 2);
|
|
311
|
+
__decorateClass([
|
|
312
|
+
r()
|
|
313
|
+
], TerraSpatialPicker.prototype, "_popoverFlipped", 2);
|
|
277
314
|
__decorateClass([
|
|
278
315
|
e(".spatial-picker__input")
|
|
279
316
|
], TerraSpatialPicker.prototype, "spatialInput", 2);
|
|
280
317
|
__decorateClass([
|
|
281
318
|
e("terra-map")
|
|
282
319
|
], TerraSpatialPicker.prototype, "map", 2);
|
|
320
|
+
__decorateClass([
|
|
321
|
+
e(".spatial-picker")
|
|
322
|
+
], TerraSpatialPicker.prototype, "spatialPicker", 2);
|
|
283
323
|
|
|
284
324
|
export {
|
|
285
325
|
TerraSpatialPicker
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TerraVariableKeywordSearch
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.W5LF3O7V.js";
|
|
4
4
|
import {
|
|
5
5
|
TerraSkeleton
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.L3D2LWXH.js";
|
|
7
7
|
import {
|
|
8
8
|
getRandomIntInclusive
|
|
9
9
|
} from "./chunk.75PZH4W2.js";
|
|
10
10
|
import {
|
|
11
11
|
TerraLoader
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.5CBDIJUC.js";
|
|
13
|
+
import {
|
|
14
|
+
TerraButton
|
|
15
|
+
} from "./chunk.V5C2UFUT.js";
|
|
13
16
|
import {
|
|
14
17
|
BrowseVariablesController
|
|
15
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.RMGL6GRF.js";
|
|
16
19
|
import {
|
|
17
20
|
s
|
|
18
21
|
} from "./chunk.3AZLGGEX.js";
|
|
19
22
|
import {
|
|
20
23
|
browse_variables_styles_default
|
|
21
24
|
} from "./chunk.I4U7LBVH.js";
|
|
22
|
-
import {
|
|
23
|
-
TerraButton
|
|
24
|
-
} from "./chunk.RZ5TMBF4.js";
|
|
25
25
|
import {
|
|
26
26
|
TerraIcon
|
|
27
|
-
} from "./chunk.
|
|
27
|
+
} from "./chunk.EH4NX6EQ.js";
|
|
28
28
|
import {
|
|
29
29
|
watch
|
|
30
30
|
} from "./chunk.ZEDYVCUT.js";
|
|
31
31
|
import {
|
|
32
32
|
TerraElement,
|
|
33
33
|
component_styles_default
|
|
34
|
-
} from "./chunk.
|
|
34
|
+
} from "./chunk.ASDYOACP.js";
|
|
35
35
|
import {
|
|
36
36
|
n,
|
|
37
37
|
r
|
|
@@ -254,7 +254,7 @@ renderCategorySelect_fn = function() {
|
|
|
254
254
|
role="button"
|
|
255
255
|
tabindex="0"
|
|
256
256
|
aria-selected="false"
|
|
257
|
-
data-facet
|
|
257
|
+
data-facet=${column.facetKey}
|
|
258
258
|
@click=${this.toggleFacetSelect}
|
|
259
259
|
>
|
|
260
260
|
${field.name}
|
|
@@ -418,11 +418,7 @@ renderVariablesBrowse_fn = function() {
|
|
|
418
418
|
><br />
|
|
419
419
|
<span
|
|
420
420
|
>${metadata} •
|
|
421
|
-
|
|
422
|
-
target="_blank"
|
|
423
|
-
href="${variable.dataProductDescriptionUrl}"
|
|
424
|
-
>[${variable.dataProductShortName}_${variable.dataProductVersion}]</a
|
|
425
|
-
></span
|
|
421
|
+
[${variable.dataProductShortName}_${variable.dataProductVersion}]</span
|
|
426
422
|
>
|
|
427
423
|
</label>
|
|
428
424
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TerraIcon
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.EH4NX6EQ.js";
|
|
4
4
|
import {
|
|
5
5
|
accordion_styles_default
|
|
6
6
|
} from "./chunk.I4WNPQOC.js";
|
|
7
7
|
import {
|
|
8
8
|
TerraElement,
|
|
9
9
|
component_styles_default
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.ASDYOACP.js";
|
|
11
11
|
import {
|
|
12
12
|
n
|
|
13
13
|
} from "./chunk.KACZXI5J.js";
|
|
@@ -538,7 +538,7 @@ var TerraElement = class extends s {
|
|
|
538
538
|
};
|
|
539
539
|
/* eslint-disable */
|
|
540
540
|
// @ts-expect-error This is auto-injected at build time.
|
|
541
|
-
TerraElement.version = "0.0.
|
|
541
|
+
TerraElement.version = "0.0.80";
|
|
542
542
|
TerraElement.dependencies = {};
|
|
543
543
|
__decorateClass([
|
|
544
544
|
n()
|
|
@@ -58,12 +58,23 @@ var spatial_picker_styles_default = i`
|
|
|
58
58
|
width: 1.4rem;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
.spatial-picker__map-container {
|
|
62
62
|
position: absolute;
|
|
63
63
|
top: 100%;
|
|
64
64
|
left: 0;
|
|
65
65
|
width: 100%;
|
|
66
66
|
z-index: 200;
|
|
67
|
+
margin-top: 8px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.spatial-picker__map-container.flipped {
|
|
71
|
+
top: auto;
|
|
72
|
+
bottom: 100%;
|
|
73
|
+
margin-bottom: 8px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
terra-map:not(.inline) {
|
|
77
|
+
width: 100%;
|
|
67
78
|
}
|
|
68
79
|
|
|
69
80
|
.button-icon {
|
|
@@ -1,38 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTimeAveragedMapNotebook
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.IHZ2IFNB.js";
|
|
4
4
|
import {
|
|
5
5
|
getTimeSeriesNotebook
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.YMIHBEW6.js";
|
|
7
7
|
import {
|
|
8
8
|
DB_NAME,
|
|
9
9
|
getDataByKey
|
|
10
10
|
} from "./chunk.T24K5VZW.js";
|
|
11
11
|
import {
|
|
12
12
|
plot_toolbar_styles_default
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.SXXGTR7H.js";
|
|
14
14
|
import {
|
|
15
15
|
require_plotly_min
|
|
16
16
|
} from "./chunk.O7ZKAFVG.js";
|
|
17
|
+
import {
|
|
18
|
+
TerraMap
|
|
19
|
+
} from "./chunk.XLV73VSQ.js";
|
|
20
|
+
import {
|
|
21
|
+
parseBoundingBox
|
|
22
|
+
} from "./chunk.PYWVO7AM.js";
|
|
17
23
|
import {
|
|
18
24
|
AuthController
|
|
19
|
-
} from "./chunk.
|
|
25
|
+
} from "./chunk.4FYLLTGM.js";
|
|
20
26
|
import {
|
|
21
27
|
h
|
|
22
28
|
} from "./chunk.EDY6YM3Y.js";
|
|
23
29
|
import {
|
|
24
30
|
TerraButton
|
|
25
|
-
} from "./chunk.
|
|
31
|
+
} from "./chunk.V5C2UFUT.js";
|
|
26
32
|
import {
|
|
27
33
|
TerraIcon
|
|
28
|
-
} from "./chunk.
|
|
34
|
+
} from "./chunk.EH4NX6EQ.js";
|
|
29
35
|
import {
|
|
30
36
|
watch
|
|
31
37
|
} from "./chunk.ZEDYVCUT.js";
|
|
32
38
|
import {
|
|
33
39
|
TerraElement,
|
|
34
40
|
component_styles_default
|
|
35
|
-
} from "./chunk.
|
|
41
|
+
} from "./chunk.ASDYOACP.js";
|
|
36
42
|
import {
|
|
37
43
|
e,
|
|
38
44
|
n,
|
|
@@ -44,7 +50,9 @@ import {
|
|
|
44
50
|
import {
|
|
45
51
|
__decorateClass,
|
|
46
52
|
__privateAdd,
|
|
53
|
+
__privateGet,
|
|
47
54
|
__privateMethod,
|
|
55
|
+
__privateSet,
|
|
48
56
|
__toESM,
|
|
49
57
|
init_buffer,
|
|
50
58
|
init_dirname,
|
|
@@ -56,10 +64,13 @@ init_dirname();
|
|
|
56
64
|
init_buffer();
|
|
57
65
|
init_process();
|
|
58
66
|
var import_plotly = __toESM(require_plotly_min(), 1);
|
|
59
|
-
var _handleActiveMenuItem, handleActiveMenuItem_fn, _handleMenuLeave, handleMenuLeave_fn, _renderInfoPanel, renderInfoPanel_fn, _renderDownloadPanel, renderDownloadPanel_fn, _renderHelpPanel, renderHelpPanel_fn, _renderJupyterNotebookPanel, renderJupyterNotebookPanel_fn, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn, _sendDataToJupyterNotebook, sendDataToJupyterNotebook_fn, _sendTimeSeriesDataToJupyterNotebook, sendTimeSeriesDataToJupyterNotebook_fn, _sendMapDataToJupyterNotebook, sendMapDataToJupyterNotebook_fn, _downloadPNG, downloadPNG_fn, _downloadCSV, downloadCSV_fn, _convertToCSV, convertToCSV_fn, _downloadGeotiff, downloadGeotiff_fn;
|
|
67
|
+
var _tooltipTimeout, _handleLocationMouseEnter, handleLocationMouseEnter_fn, _handleLocationMouseLeave, handleLocationMouseLeave_fn, _getLocationIcon, getLocationIcon_fn, _handleActiveMenuItem, handleActiveMenuItem_fn, _handleMenuLeave, handleMenuLeave_fn, _renderInfoPanel, renderInfoPanel_fn, _renderDownloadPanel, renderDownloadPanel_fn, _renderHelpPanel, renderHelpPanel_fn, _renderJupyterNotebookPanel, renderJupyterNotebookPanel_fn, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn, _sendDataToJupyterNotebook, sendDataToJupyterNotebook_fn, _sendTimeSeriesDataToJupyterNotebook, sendTimeSeriesDataToJupyterNotebook_fn, _sendMapDataToJupyterNotebook, sendMapDataToJupyterNotebook_fn, _downloadPNG, downloadPNG_fn, _downloadCSV, downloadCSV_fn, _convertToCSV, convertToCSV_fn, _downloadGeotiff, downloadGeotiff_fn;
|
|
60
68
|
var TerraPlotToolbar = class extends TerraElement {
|
|
61
69
|
constructor() {
|
|
62
70
|
super(...arguments);
|
|
71
|
+
__privateAdd(this, _handleLocationMouseEnter);
|
|
72
|
+
__privateAdd(this, _handleLocationMouseLeave);
|
|
73
|
+
__privateAdd(this, _getLocationIcon);
|
|
63
74
|
__privateAdd(this, _handleActiveMenuItem);
|
|
64
75
|
__privateAdd(this, _handleMenuLeave);
|
|
65
76
|
__privateAdd(this, _renderInfoPanel);
|
|
@@ -74,7 +85,11 @@ var TerraPlotToolbar = class extends TerraElement {
|
|
|
74
85
|
__privateAdd(this, _downloadCSV);
|
|
75
86
|
__privateAdd(this, _convertToCSV);
|
|
76
87
|
__privateAdd(this, _downloadGeotiff);
|
|
88
|
+
this.showLocation = true;
|
|
77
89
|
this.activeMenuItem = null;
|
|
90
|
+
this.showLocationTooltip = false;
|
|
91
|
+
this.locationMapValue = [];
|
|
92
|
+
__privateAdd(this, _tooltipTimeout, null);
|
|
78
93
|
this._authController = new AuthController(this);
|
|
79
94
|
}
|
|
80
95
|
handleFocus(_oldValue, newValue) {
|
|
@@ -107,6 +122,16 @@ var TerraPlotToolbar = class extends TerraElement {
|
|
|
107
122
|
href="${this.catalogVariable.dataProductDescriptionUrl}"
|
|
108
123
|
>[${this.catalogVariable.dataProductShortName}_${this.catalogVariable.dataProductVersion}]</a
|
|
109
124
|
>
|
|
125
|
+
${this.showLocation ? x`• ${__privateMethod(this, _getLocationIcon, getLocationIcon_fn).call(this)}
|
|
126
|
+
<span
|
|
127
|
+
class="location-text"
|
|
128
|
+
@mouseenter=${__privateMethod(this, _handleLocationMouseEnter, handleLocationMouseEnter_fn)}
|
|
129
|
+
@mouseleave=${__privateMethod(this, _handleLocationMouseLeave, handleLocationMouseLeave_fn)}
|
|
130
|
+
>${this.location.replace(
|
|
131
|
+
/,/g,
|
|
132
|
+
", "
|
|
133
|
+
)}</span
|
|
134
|
+
>` : ""}
|
|
110
135
|
</h3>
|
|
111
136
|
</slot>
|
|
112
137
|
</div>
|
|
@@ -231,10 +256,59 @@ var TerraPlotToolbar = class extends TerraElement {
|
|
|
231
256
|
${__privateMethod(this, _renderJupyterNotebookPanel, renderJupyterNotebookPanel_fn).call(this)}
|
|
232
257
|
</li>
|
|
233
258
|
</menu>
|
|
259
|
+
|
|
260
|
+
${this.showLocationTooltip ? x`
|
|
261
|
+
<div class="location-tooltip">
|
|
262
|
+
<terra-map
|
|
263
|
+
.value=${this.locationMapValue}
|
|
264
|
+
zoom="4"
|
|
265
|
+
has-navigation="false"
|
|
266
|
+
hide-bounding-box-selection="true"
|
|
267
|
+
hide-point-selection="true"
|
|
268
|
+
.staticMode=${true}
|
|
269
|
+
style="width: 300px; height: 200px;"
|
|
270
|
+
></terra-map>
|
|
271
|
+
</div>
|
|
272
|
+
` : ""}
|
|
234
273
|
</header>`
|
|
235
274
|
);
|
|
236
275
|
}
|
|
237
276
|
};
|
|
277
|
+
_tooltipTimeout = new WeakMap();
|
|
278
|
+
_handleLocationMouseEnter = new WeakSet();
|
|
279
|
+
handleLocationMouseEnter_fn = function() {
|
|
280
|
+
if (this.location && this.location.trim()) {
|
|
281
|
+
try {
|
|
282
|
+
this.locationMapValue = parseBoundingBox(this.location.trim());
|
|
283
|
+
__privateSet(this, _tooltipTimeout, window.setTimeout(() => {
|
|
284
|
+
this.showLocationTooltip = true;
|
|
285
|
+
}, 150));
|
|
286
|
+
} catch (error) {
|
|
287
|
+
console.warn("Failed to parse location for tooltip:", error);
|
|
288
|
+
this.showLocationTooltip = false;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
};
|
|
292
|
+
_handleLocationMouseLeave = new WeakSet();
|
|
293
|
+
handleLocationMouseLeave_fn = function() {
|
|
294
|
+
if (__privateGet(this, _tooltipTimeout)) {
|
|
295
|
+
clearTimeout(__privateGet(this, _tooltipTimeout));
|
|
296
|
+
__privateSet(this, _tooltipTimeout, null);
|
|
297
|
+
}
|
|
298
|
+
this.showLocationTooltip = false;
|
|
299
|
+
};
|
|
300
|
+
_getLocationIcon = new WeakSet();
|
|
301
|
+
getLocationIcon_fn = function() {
|
|
302
|
+
if (!this.location)
|
|
303
|
+
return "";
|
|
304
|
+
return x`<terra-icon
|
|
305
|
+
name="outline-map-pin"
|
|
306
|
+
library="heroicons"
|
|
307
|
+
font-size="1em"
|
|
308
|
+
class="location-icon"
|
|
309
|
+
label="Point location"
|
|
310
|
+
></terra-icon>`;
|
|
311
|
+
};
|
|
238
312
|
_handleActiveMenuItem = new WeakSet();
|
|
239
313
|
handleActiveMenuItem_fn = function(event) {
|
|
240
314
|
const button = event.currentTarget;
|
|
@@ -548,7 +622,8 @@ downloadGeotiff_fn = function() {
|
|
|
548
622
|
TerraPlotToolbar.styles = [component_styles_default, plot_toolbar_styles_default];
|
|
549
623
|
TerraPlotToolbar.dependencies = {
|
|
550
624
|
"terra-icon": TerraIcon,
|
|
551
|
-
"terra-button": TerraButton
|
|
625
|
+
"terra-button": TerraButton,
|
|
626
|
+
"terra-map": TerraMap
|
|
552
627
|
};
|
|
553
628
|
__decorateClass([
|
|
554
629
|
n()
|
|
@@ -577,9 +652,18 @@ __decorateClass([
|
|
|
577
652
|
__decorateClass([
|
|
578
653
|
n()
|
|
579
654
|
], TerraPlotToolbar.prototype, "dataType", 2);
|
|
655
|
+
__decorateClass([
|
|
656
|
+
n({ type: Boolean, attribute: "show-location" })
|
|
657
|
+
], TerraPlotToolbar.prototype, "showLocation", 2);
|
|
580
658
|
__decorateClass([
|
|
581
659
|
r()
|
|
582
660
|
], TerraPlotToolbar.prototype, "activeMenuItem", 2);
|
|
661
|
+
__decorateClass([
|
|
662
|
+
r()
|
|
663
|
+
], TerraPlotToolbar.prototype, "showLocationTooltip", 2);
|
|
664
|
+
__decorateClass([
|
|
665
|
+
r()
|
|
666
|
+
], TerraPlotToolbar.prototype, "locationMapValue", 2);
|
|
583
667
|
__decorateClass([
|
|
584
668
|
e("#menu")
|
|
585
669
|
], TerraPlotToolbar.prototype, "menu", 2);
|