@nasa-terra/components 0.0.77 → 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.QI334AW4.js → chunk.23DEVC6C.js} +1 -1
- package/cdn/chunks/{chunk.MCV6ZYH3.js → chunk.2A276Q2J.js} +1 -1
- package/cdn/chunks/{chunk.3YZPJN2Z.js → chunk.2RMUYUIC.js} +1 -1
- package/cdn/chunks/{chunk.LIP3MH2T.js → chunk.2V7X2Z7U.js} +47 -7
- package/cdn/chunks/{chunk.JBA5PT5N.js → chunk.3W7DTPAW.js} +1 -1
- package/cdn/chunks/{chunk.RFFLYTYZ.js → chunk.45N6GHJC.js} +1 -1
- package/cdn/chunks/{chunk.GM6MK2EB.js → chunk.47LZ7UV2.js} +11 -15
- package/cdn/chunks/{chunk.WKTM6GJT.js → chunk.4FYLLTGM.js} +1 -1
- package/cdn/chunks/{chunk.PRK4GQ4U.js → chunk.4HPA56LD.js} +2 -2
- package/cdn/chunks/{chunk.JDQFLCAP.js → chunk.4XTQCRF2.js} +1 -1
- package/cdn/chunks/{chunk.BEFEIFCT.js → chunk.5CBDIJUC.js} +1 -1
- package/cdn/chunks/{chunk.OZTDXAX5.js → chunk.62EOK77M.js} +1 -1
- package/cdn/chunks/{chunk.6MBBGMVZ.js → chunk.6PUQICNA.js} +1 -1
- package/cdn/chunks/{chunk.DJD54REZ.js → chunk.6UOKNJQJ.js} +1 -1
- package/cdn/chunks/{chunk.XPNFDAYM.js → chunk.73BGY6ID.js} +1 -1
- package/cdn/chunks/{chunk.GLJPBBHC.js → chunk.7ISHLC3A.js} +1 -1
- package/cdn/chunks/{chunk.HCOIWQGH.js → chunk.ASDYOACP.js} +1 -1
- package/cdn/chunks/{chunk.PDR3XIUD.js → chunk.BHKUBZ7U.js} +12 -1
- package/cdn/chunks/{chunk.6Q6I7PZT.js → chunk.BNMIB6EP.js} +1 -1
- package/cdn/chunks/{chunk.D72IQ6WL.js → chunk.C2CF3PA6.js} +1 -1
- package/cdn/chunks/{chunk.DX5ZMKGE.js → chunk.CIHVQGBQ.js} +4 -0
- package/cdn/chunks/{chunk.XZAZP7WS.js → chunk.CQUCTES2.js} +1 -1
- package/cdn/chunks/{chunk.T24KHJE2.js → chunk.DBQJMOBF.js} +94 -10
- package/cdn/chunks/{chunk.TTUMJEXX.js → chunk.EESURTDU.js} +1 -1
- package/cdn/chunks/{chunk.MLP7HBSH.js → chunk.EH4NX6EQ.js} +1 -1
- package/cdn/chunks/{chunk.KZD527IM.js → chunk.ELPDO5GJ.js} +1 -1
- package/cdn/chunks/{chunk.SALOHJ2J.js → chunk.F3PQVNN2.js} +1 -1
- package/cdn/chunks/{chunk.UMDWHUPM.js → chunk.F4SKIGKM.js} +1 -1
- package/cdn/chunks/{chunk.DJSFQYLC.js → chunk.FIQLDALX.js} +1 -1
- package/cdn/chunks/{chunk.IZLC5HUW.js → chunk.GOCVSR3P.js} +4 -4
- package/cdn/chunks/{chunk.IOWDSKFM.js → chunk.GONQUXRU.js} +1 -1
- package/cdn/chunks/{chunk.3L5IO65X.js → chunk.GWHEAPW2.js} +1 -1
- package/cdn/chunks/{chunk.6AVYZ3MW.js → chunk.HIQSMMXV.js} +5 -5
- package/cdn/chunks/{chunk.AVWY2MQ6.js → chunk.HNKDVXQB.js} +1 -1
- package/cdn/chunks/{chunk.CVXY24L3.js → chunk.IB2DZNRK.js} +1 -1
- package/cdn/chunks/{chunk.BD3LZWPF.js → chunk.IHZ2IFNB.js} +3 -3
- package/cdn/chunks/{chunk.UD2MPINQ.js → chunk.K53KKANP.js} +1 -1
- package/cdn/chunks/{chunk.7MOA4J7J.js → chunk.K56JBLRC.js} +1 -1
- package/cdn/chunks/{chunk.SKWBBH6E.js → chunk.KAOKEMXX.js} +7 -7
- package/cdn/chunks/{chunk.NBDYVJG7.js → chunk.L3D2LWXH.js} +2 -2
- package/cdn/chunks/{chunk.Z726T3DO.js → chunk.L6BBAF5B.js} +1 -1
- package/cdn/chunks/{chunk.W5VBFDDM.js → chunk.LG46IXYS.js} +5 -5
- package/cdn/chunks/{chunk.WHEKMGLU.js → chunk.LRAXZNFD.js} +1 -1
- package/cdn/chunks/{chunk.NEX76C32.js → chunk.LSZF2KOX.js} +1 -1
- package/cdn/chunks/{chunk.3AMSF2QE.js → chunk.M23373KM.js} +1 -1
- package/cdn/chunks/{chunk.5K4QCQFC.js → chunk.M4BFE4IR.js} +1 -1
- package/cdn/chunks/{chunk.GPD7GBEI.js → chunk.MWUWG4Y4.js} +1 -1
- package/cdn/chunks/{chunk.TVBK6ADB.js → chunk.N7HZ5LUM.js} +104 -3
- package/cdn/chunks/{chunk.GFKDLMZP.js → chunk.NIXL5U3T.js} +19 -15
- package/cdn/chunks/{chunk.HDPH5PEF.js → chunk.NONB5YOP.js} +7 -2
- package/cdn/chunks/{chunk.ISSEZQBL.js → chunk.NW42KS32.js} +1 -1
- package/cdn/chunks/{chunk.L2WPUQ7B.js → chunk.P4CX7CPP.js} +1 -1
- package/cdn/chunks/{chunk.CYBFDV6E.js → chunk.PBNTZOPR.js} +1 -1
- package/cdn/chunks/{chunk.XKT2TWT2.js → chunk.PKZ72XUI.js} +1 -1
- package/cdn/chunks/{chunk.NJXH3IRZ.js → chunk.PLQSGWNR.js} +244 -202
- package/cdn/chunks/{chunk.6FPLHL6H.js → chunk.PWRFGHKK.js} +1 -1
- package/cdn/chunks/{chunk.Q52W3YPD.js → chunk.PYWVO7AM.js} +11 -2
- package/cdn/chunks/{chunk.MIRF7JMU.js → chunk.QGRJLAF7.js} +7 -7
- package/cdn/chunks/{chunk.IQMB5RDN.js → chunk.QUQIMHR2.js} +1 -1
- package/cdn/chunks/{chunk.OM5DBXAA.js → chunk.QZBW3KV6.js} +1 -1
- package/cdn/chunks/{chunk.YLZXWNDJ.js → chunk.RKXECSWB.js} +1 -1
- package/cdn/chunks/{chunk.MXI6CLWG.js → chunk.RMGL6GRF.js} +1 -1
- package/cdn/chunks/{chunk.3OQVYPLO.js → chunk.RQCFXGP3.js} +1 -1
- package/cdn/chunks/{chunk.HSPF25L7.js → chunk.S2HO4LFA.js} +1 -1
- package/cdn/chunks/{chunk.FW2LALSP.js → chunk.SXXGTR7H.js} +46 -0
- package/cdn/chunks/{chunk.PVQOGLHB.js → chunk.TAPF2UN3.js} +1 -1
- package/cdn/chunks/{chunk.NRJPNVKJ.js → chunk.TCXYKVUH.js} +5 -5
- package/cdn/chunks/{chunk.SOIYGJ23.js → chunk.TN6OW2JR.js} +11 -11
- package/cdn/chunks/{chunk.L5G65SX7.js → chunk.TOTM6QGQ.js} +1 -1
- package/cdn/chunks/{chunk.2UQP6ECJ.js → chunk.UZQBY75E.js} +1 -1
- package/cdn/chunks/{chunk.AOT6CMXV.js → chunk.V5C2UFUT.js} +1 -1
- package/cdn/chunks/{chunk.PFD6QD3N.js → chunk.VDMVCU4B.js} +1 -1
- package/cdn/chunks/{chunk.I7FLYOVQ.js → chunk.VFQFD6MS.js} +1 -1
- package/cdn/chunks/{chunk.6Y2KZ5PX.js → chunk.VR7ZNZJQ.js} +1 -1
- package/cdn/chunks/{chunk.HALK5OFW.js → chunk.W5LF3O7V.js} +5 -5
- package/cdn/chunks/{chunk.ASDCA4EN.js → chunk.XB7DG5RS.js} +1 -1
- package/cdn/chunks/{chunk.BZKY6ZEG.js → chunk.XEQSV7KL.js} +1 -1
- package/cdn/chunks/{chunk.WJENPIUH.js → chunk.XLV73VSQ.js} +14 -7
- package/cdn/chunks/{chunk.WEE2ZC7F.js → chunk.YMIHBEW6.js} +1 -1
- package/cdn/chunks/{chunk.O6XKN4XG.js → chunk.ZFEFEWGW.js} +1 -1
- package/cdn/chunks/{chunk.ABTZA4WS.js → chunk.ZJYZHE6C.js} +1 -1
- package/cdn/chunks/{chunk.T4PNGMEY.js → chunk.ZOWBRC6L.js} +3 -3
- package/cdn/chunks/{chunk.7ZP66IGM.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 +4 -4
- package/cdn/components/combobox/combobox.js +5 -5
- package/cdn/components/data-rods/data-rods.component.js +28 -28
- package/cdn/components/data-rods/data-rods.js +29 -29
- package/cdn/components/data-subsetter/data-subsetter.component.js +22 -22
- package/cdn/components/data-subsetter/data-subsetter.js +23 -23
- package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +24 -24
- package/cdn/components/data-subsetter-history/data-subsetter-history.js +25 -25
- 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 +3 -3
- package/cdn/components/plot/plot.js +4 -4
- 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 +26 -17
- package/cdn/components/time-series/time-series.controller.js +1 -1
- package/cdn/components/time-series/time-series.js +27 -18
- 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 +1843 -1735
- 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 +5 -5
- package/cdn/react/data-rods/index.js +29 -29
- package/cdn/react/data-subsetter/index.js +23 -23
- package/cdn/react/data-subsetter-history/index.js +25 -25
- 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 +6 -6
- package/cdn/react/index.js +92 -92
- 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 +4 -4
- 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 +27 -18
- 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 +88 -88
- package/cdn/types/vue/index.d.ts +209 -199
- package/cdn/utilities/animation.js +2 -2
- package/cdn/vscode.html-custom-data.json +169 -167
- package/cdn/web-types.json +440 -427
- package/dist/chunks/{chunk.ZLULW6G6.js → chunk.25226DIQ.js} +1 -1
- package/dist/chunks/{chunk.WILBSSI5.js → chunk.356ABV4K.js} +1 -1
- package/dist/chunks/{chunk.6VPHVZU2.js → chunk.3K6VZ5XB.js} +1 -1
- package/dist/chunks/{chunk.Z6M2GKS3.js → chunk.4BD4DJXV.js} +1 -1
- package/dist/chunks/{chunk.XTHIZTLJ.js → chunk.4MMO34P3.js} +2 -2
- package/dist/chunks/{chunk.V7ZLYJIM.js → chunk.5AUH3BGK.js} +1 -1
- package/dist/chunks/{chunk.FIDJWRGW.js → chunk.5DMQCYGB.js} +1 -1
- package/dist/chunks/{chunk.KPEPQL2K.js → chunk.5HG33S73.js} +1 -1
- package/dist/chunks/{chunk.53G6W4QI.js → chunk.5NXJAKL6.js} +1 -1
- package/dist/chunks/{chunk.QSZWARPH.js → chunk.5Q7IPUYU.js} +46 -0
- package/dist/chunks/{chunk.WVCNEUUF.js → chunk.5ZVZSHM5.js} +1 -1
- package/dist/chunks/{chunk.UZE22W7U.js → chunk.66XZB5EQ.js} +14 -7
- package/dist/chunks/{chunk.3WYGODDM.js → chunk.6CAOH2VO.js} +19 -15
- package/dist/chunks/{chunk.GONY65CV.js → chunk.6K3N3ULL.js} +1 -1
- package/dist/chunks/{chunk.XVYXL5JR.js → chunk.6P6JLFI6.js} +1 -1
- package/dist/chunks/{chunk.WN2HCRGH.js → chunk.7M47QN33.js} +1 -1
- package/dist/chunks/{chunk.QHNCVNJD.js → chunk.B6UIGUGF.js} +1 -1
- package/dist/chunks/{chunk.ULUE333C.js → chunk.B7R5BUYV.js} +1 -1
- package/dist/chunks/{chunk.TM5MVEDD.js → chunk.BJH53TIX.js} +1 -1
- package/dist/chunks/{chunk.KGYPLIVT.js → chunk.BL36FWUJ.js} +1 -1
- package/dist/chunks/{chunk.OQSUGE4F.js → chunk.CVLSHUIX.js} +96 -56
- package/dist/chunks/{chunk.GMJWNAQG.js → chunk.DTN7GDMC.js} +11 -2
- package/dist/chunks/{chunk.SH4T36EU.js → chunk.EG3G4P7D.js} +7 -7
- package/dist/chunks/{chunk.NPBUKX3M.js → chunk.EMVFMFJB.js} +1 -1
- package/dist/chunks/{chunk.SR7SD4NJ.js → chunk.EREO4XM7.js} +1 -1
- package/dist/chunks/{chunk.M4ONZLND.js → chunk.EWUN2MOD.js} +1 -1
- package/dist/chunks/{chunk.T53RBNNE.js → chunk.F4FTHS3R.js} +7 -2
- package/dist/chunks/{chunk.JRHSF76R.js → chunk.F6LR5CPM.js} +1 -1
- package/dist/chunks/{chunk.UBKGVJMB.js → chunk.FMJNWEIK.js} +1 -1
- package/dist/chunks/{chunk.5SZFKTXS.js → chunk.FN4BCUS2.js} +1 -1
- package/dist/chunks/{chunk.Q3NXZZCS.js → chunk.FPBRF5AJ.js} +5 -5
- package/dist/chunks/{chunk.Q4TMLG35.js → chunk.FVJUADPQ.js} +1 -1
- package/dist/chunks/{chunk.PZRR5NRB.js → chunk.FZMAJTSE.js} +94 -10
- package/dist/chunks/{chunk.4PIFB6GY.js → chunk.GE7WCVNX.js} +1 -1
- package/dist/chunks/{chunk.MBKBNFCJ.js → chunk.GR6RKF6C.js} +3 -3
- package/dist/chunks/{chunk.YI6QMKEU.js → chunk.H6RXQHL6.js} +5 -5
- package/dist/chunks/{chunk.4G2NJX5Y.js → chunk.HCX3V4SP.js} +1 -1
- package/dist/chunks/{chunk.OUBMIFQN.js → chunk.HFSO6YS4.js} +1 -1
- package/dist/chunks/{chunk.2YVK523F.js → chunk.I6YFRSN7.js} +1 -1
- package/dist/chunks/{chunk.VXB5JTYI.js → chunk.IFQMQ2MS.js} +1 -1
- package/dist/chunks/{chunk.MRTVNBN3.js → chunk.ISLJNUUO.js} +1 -1
- package/dist/chunks/{chunk.I76YOANK.js → chunk.JILF6JNX.js} +3 -3
- package/dist/chunks/{chunk.E6KALXCF.js → chunk.JP6RJXGC.js} +1 -1
- package/dist/chunks/{chunk.TRPOV5FA.js → chunk.K6Q6J5ND.js} +1 -1
- package/dist/chunks/{chunk.ZQTURAYY.js → chunk.KCQT5P3X.js} +1 -1
- package/dist/chunks/{chunk.PATWIPZO.js → chunk.L4UAHDZE.js} +1 -1
- package/dist/chunks/{chunk.IACJNU7S.js → chunk.LAB5VX5P.js} +1 -1
- package/dist/chunks/{chunk.DI7GSEOS.js → chunk.LK6DE6VC.js} +11 -15
- package/dist/chunks/{chunk.JV3HTI25.js → chunk.LYALAVAM.js} +1 -1
- package/dist/chunks/{chunk.6YNZKV4X.js → chunk.MAKUF3LF.js} +1 -1
- package/dist/chunks/{chunk.GULYBUN7.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.EQENV3EJ.js → chunk.NAVFEGCI.js} +1 -1
- package/dist/chunks/{chunk.TGXFUCXF.js → chunk.NMXV5B5E.js} +1 -1
- package/dist/chunks/{chunk.52JXOR5K.js → chunk.NN77YVLS.js} +1 -1
- package/dist/chunks/{chunk.CP34FRRO.js → chunk.O77HLJ5W.js} +1 -1
- package/dist/chunks/{chunk.WR56WPUW.js → chunk.OJTCPR4A.js} +1 -1
- package/dist/chunks/{chunk.NIOVTAVK.js → chunk.OKSEWKOZ.js} +1 -1
- package/dist/chunks/{chunk.6KBSHT6A.js → chunk.ONMHEEEJ.js} +1 -1
- package/dist/chunks/{chunk.5Q25QZIT.js → chunk.OOKQ7OBO.js} +3 -3
- package/dist/chunks/{chunk.BEDYDFXT.js → chunk.PJP62E5Q.js} +4 -0
- package/dist/chunks/{chunk.GLE6HCJK.js → chunk.Q5J7IXTH.js} +47 -7
- package/dist/chunks/{chunk.5LQUNLDJ.js → chunk.QYDXQXZU.js} +1 -1
- package/dist/chunks/{chunk.T2TAOJP3.js → chunk.RBR7QJIV.js} +1 -1
- package/dist/chunks/{chunk.KFKUXJPR.js → chunk.RGVP2PGD.js} +1 -1
- package/dist/chunks/{chunk.3L77HLPZ.js → chunk.RHNSVC6G.js} +1 -1
- package/dist/chunks/{chunk.OTUXOFRQ.js → chunk.RKL5NCF4.js} +1 -1
- package/dist/chunks/{chunk.IRRPPVRH.js → chunk.RXEFTALO.js} +1 -1
- package/dist/chunks/{chunk.R4WGE52M.js → chunk.SJ7YHHIO.js} +1 -1
- package/dist/chunks/{chunk.SJCI5E5I.js → chunk.VGQB5PX6.js} +1 -1
- package/dist/chunks/{chunk.SEPEU6WC.js → chunk.VOR535WK.js} +1 -1
- package/dist/chunks/{chunk.PQOOTQ4S.js → chunk.VXZGJJHW.js} +1 -1
- package/dist/chunks/{chunk.XOW3F3CH.js → chunk.W2S55TOA.js} +1 -1
- package/dist/chunks/{chunk.YFB4JQJE.js → chunk.W77TBP74.js} +1 -1
- package/dist/chunks/{chunk.DT3BPAMV.js → chunk.WEQYQLHR.js} +1 -1
- package/dist/chunks/{chunk.2BDFEQ6D.js → chunk.WSICVUAH.js} +1 -1
- package/dist/chunks/{chunk.WILF7DGN.js → chunk.XOSLEAJU.js} +3 -3
- package/dist/chunks/{chunk.Y4VOLHAF.js → chunk.XPINC4UJ.js} +11 -11
- package/dist/chunks/{chunk.ISKMTEMJ.js → chunk.YIWN7HCE.js} +1 -1
- package/dist/chunks/{chunk.CQYHYUBI.js → chunk.ZC2QEVTM.js} +1 -1
- package/dist/chunks/{chunk.PHVEWIAO.js → chunk.ZLILHVPF.js} +1 -1
- package/dist/chunks/{chunk.UY5N3NOL.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 +27 -27
- package/dist/components/data-rods/data-rods.js +28 -28
- package/dist/components/data-subsetter/data-subsetter.component.js +21 -21
- package/dist/components/data-subsetter/data-subsetter.js +22 -22
- package/dist/components/data-subsetter-history/data-subsetter-history.component.js +23 -23
- package/dist/components/data-subsetter-history/data-subsetter-history.js +24 -24
- 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 +24 -16
- package/dist/components/time-series/time-series.controller.js +1 -1
- package/dist/components/time-series/time-series.js +25 -17
- 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 +1843 -1735
- 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 +28 -28
- package/dist/react/data-subsetter/index.js +22 -22
- package/dist/react/data-subsetter-history/index.js +24 -24
- 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 +6 -6
- package/dist/react/index.js +90 -90
- 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 +25 -17
- 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 +85 -85
- package/dist/{terra_ui_components-0.0.77-py3-none-any.whl → terra_ui_components-0.0.80-py3-none-any.whl} +0 -0
- package/dist/{terra_ui_components-0.0.77.tar.gz → terra_ui_components-0.0.80.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +209 -199
- package/dist/vscode.html-custom-data.json +169 -167
- package/dist/web-types.json +440 -427
- 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.AOT6CMXV.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
|
+
import {
|
|
12
|
+
plot_toolbar_styles_default
|
|
13
|
+
} from "./chunk.SXXGTR7H.js";
|
|
11
14
|
import {
|
|
12
15
|
require_plotly_min
|
|
13
16
|
} from "./chunk.O7ZKAFVG.js";
|
|
14
17
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk.
|
|
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);
|