@nasa-terra/components 0.0.68 → 0.0.69
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.TJWGQR3Y.js → chunk.3FZ6AEEA.js} +2 -2
- package/cdn/chunks/{chunk.UA57XIMB.js → chunk.3JI4ZASI.js} +1 -1
- package/cdn/chunks/{chunk.LZSKCTIU.js → chunk.3SQ33WJL.js} +6 -6
- package/cdn/chunks/{chunk.HP52P3QK.js → chunk.4IJQVKJY.js} +1 -1
- package/cdn/chunks/{chunk.EPQBAMGN.js → chunk.4JJYLS5O.js} +1 -1
- package/cdn/chunks/{chunk.LF5NNQDS.js → chunk.4NJFWJSE.js} +1 -1
- package/cdn/chunks/{chunk.CGIR4OSR.js → chunk.55LGBI57.js} +1 -1
- package/cdn/chunks/{chunk.ELVU6MXJ.js → chunk.5FAYR3PP.js} +1 -1
- package/cdn/chunks/{chunk.YMKCGXI7.js → chunk.5IAG4NBE.js} +1 -1
- package/cdn/chunks/{chunk.42OJJSTJ.js → chunk.5IC6HAC4.js} +12 -12
- package/cdn/chunks/{chunk.7OS7YKP4.js → chunk.5OGMADCK.js} +1 -1
- package/cdn/chunks/{chunk.JIGZ6E5V.js → chunk.62Z55X5S.js} +1 -1
- package/cdn/chunks/{chunk.XQNQJ73Y.js → chunk.6LUTXGKW.js} +7 -7
- package/cdn/chunks/{chunk.PDAOAQE4.js → chunk.6XY3FOMX.js} +5 -5
- package/cdn/chunks/{chunk.267X6M4K.js → chunk.73KDDHAO.js} +1 -1
- package/cdn/chunks/{chunk.SJHEJ7W7.js → chunk.7DLSKRXG.js} +1 -1
- package/cdn/chunks/{chunk.SJYXIRDX.js → chunk.7KKYYPTM.js} +1 -1
- package/cdn/chunks/{chunk.VGHXDEZO.js → chunk.7XRTJKVT.js} +1 -1
- package/cdn/chunks/{chunk.XKNIRUTP.js → chunk.B3D77BQY.js} +4 -4
- package/cdn/chunks/{chunk.BXZG34AL.js → chunk.BMOKXC64.js} +1 -1
- package/cdn/chunks/{chunk.LF2YS25X.js → chunk.BXQBOSBQ.js} +5 -5
- package/cdn/chunks/{chunk.Z5SQ4THO.js → chunk.CA5KUDEK.js} +1 -1
- package/cdn/chunks/{chunk.SLDPYP3J.js → chunk.CJDPXSOE.js} +1 -1
- package/cdn/chunks/{chunk.5KFA2A5F.js → chunk.DVCD6CI3.js} +1 -1
- package/cdn/chunks/{chunk.I2VFSA6U.js → chunk.E4AHIY7H.js} +1 -1
- package/cdn/chunks/{chunk.VYDVYEG6.js → chunk.F3KEUZZJ.js} +1 -1
- package/cdn/chunks/{chunk.U7VIR3OC.js → chunk.FCI4XD47.js} +8 -8
- package/cdn/chunks/{chunk.DKQUCHXW.js → chunk.FDBCRQUW.js} +1 -1
- package/cdn/chunks/{chunk.NT4JROIJ.js → chunk.H4M7ZCA7.js} +1 -1
- package/cdn/chunks/{chunk.5IYUIO2L.js → chunk.HCCWZHVO.js} +1 -1
- package/cdn/chunks/{chunk.BDUFTI77.js → chunk.HNZF3Q35.js} +1 -1
- package/cdn/chunks/{chunk.MN7UEWGN.js → chunk.I6RVBJLO.js} +1 -1
- package/cdn/chunks/{chunk.3NBSKUOT.js → chunk.ICVZZZVO.js} +1 -1
- package/cdn/chunks/{chunk.F26HLQPA.js → chunk.II2ED6UA.js} +4 -4
- package/cdn/chunks/{chunk.F6FOZL2X.js → chunk.IOD5Z3JD.js} +1 -1
- package/cdn/chunks/{chunk.FT6FCCXU.js → chunk.IYBWQUJZ.js} +6 -6
- package/cdn/chunks/{chunk.YNJENG4F.js → chunk.JMHRTVJH.js} +1 -1
- package/cdn/chunks/{chunk.UEDKVSIH.js → chunk.JR4LSDMW.js} +1 -1
- package/cdn/chunks/{chunk.VDOKMZL7.js → chunk.JTUBHUKA.js} +5 -5
- package/cdn/chunks/{chunk.SX6OLRTC.js → chunk.KFVXZS3X.js} +11 -11
- package/cdn/chunks/{chunk.563FCLVE.js → chunk.KGLHY4PU.js} +1 -1
- package/cdn/chunks/{chunk.37HJNI4K.js → chunk.KNB73C5F.js} +7 -7
- package/cdn/chunks/{chunk.MB27YSID.js → chunk.L2AOHBBQ.js} +1 -1
- package/cdn/chunks/{chunk.LRHEF6JN.js → chunk.L2ZNA62Y.js} +1 -1
- package/cdn/chunks/{chunk.ZNKT2Q6X.js → chunk.LFAGYZ3O.js} +2 -2
- package/cdn/chunks/{chunk.J5OQO7FQ.js → chunk.LNEFGXPD.js} +1 -1
- package/cdn/chunks/{chunk.UHOMZS5K.js → chunk.LP7NLHLL.js} +17 -17
- package/cdn/chunks/{chunk.ZBRNWBWX.js → chunk.M4EODEDC.js} +1 -1
- package/cdn/chunks/{chunk.HMS35ZFE.js → chunk.MUYS3VLW.js} +1 -1
- package/cdn/chunks/{chunk.KFMZHBMX.js → chunk.NGAJRQJB.js} +1 -1
- package/cdn/chunks/{chunk.UMT2LQ4W.js → chunk.NQLMKYED.js} +1 -1
- package/cdn/chunks/{chunk.RJR6I3VL.js → chunk.NYDLL72U.js} +1 -1
- package/cdn/chunks/{chunk.ZAROXC53.js → chunk.OLYROLKH.js} +1 -1
- package/cdn/chunks/{chunk.7MLJ7J6F.js → chunk.OMW7ULTP.js} +1 -1
- package/cdn/chunks/{chunk.2O6ZLP2H.js → chunk.OSXIXZKE.js} +1 -1
- package/cdn/chunks/{chunk.H4KNN2HU.js → chunk.PLLTEKKU.js} +1 -1
- package/cdn/chunks/{chunk.HVXUUXZ7.js → chunk.RJBYTRM2.js} +4 -4
- package/cdn/chunks/{chunk.RF7RG72G.js → chunk.SJ7O6QI3.js} +1 -1
- package/cdn/chunks/{chunk.ZZMMULOM.js → chunk.TSU53YSH.js} +1 -1
- package/cdn/chunks/{chunk.UO6SHH3I.js → chunk.U243QYHF.js} +1 -1
- package/cdn/chunks/{chunk.T33FEXFP.js → chunk.UAC2MIRZ.js} +10 -10
- package/cdn/chunks/{chunk.2UTYN7TH.js → chunk.VBKBOPQR.js} +1 -1
- package/cdn/chunks/{chunk.UKT47BLY.js → chunk.VKXE3YUS.js} +2 -2
- package/cdn/chunks/{chunk.YQRTSELX.js → chunk.VNCMA65E.js} +1 -1
- package/cdn/chunks/{chunk.BLILGPHT.js → chunk.WEEDF4SQ.js} +8 -8
- package/cdn/chunks/{chunk.A5QNIXR4.js → chunk.WIHL6X6I.js} +1 -1
- package/cdn/chunks/{chunk.WXFIXIOS.js → chunk.WJGGDK46.js} +1 -1
- package/cdn/chunks/{chunk.DLTRS5SJ.js → chunk.WOERWJEG.js} +1 -1
- package/cdn/chunks/{chunk.QI3YAMIR.js → chunk.WWFZDE2Z.js} +1 -1
- package/cdn/chunks/{chunk.7TSM56FT.js → chunk.X3DN6UYC.js} +1 -1
- package/cdn/chunks/{chunk.TU7POBNP.js → chunk.XR5EZIHP.js} +1 -1
- package/cdn/chunks/{chunk.6YSGUTCT.js → chunk.YIEN3BZP.js} +1 -1
- package/cdn/chunks/{chunk.PX3KFYMT.js → chunk.YRVGQ5QO.js} +1 -1
- package/cdn/chunks/{chunk.Z3FCGMJE.js → chunk.YUZHTH3D.js} +1 -1
- package/cdn/chunks/{chunk.QVPRK545.js → chunk.ZB4I7IRN.js} +2 -2
- package/cdn/chunks/{chunk.4RM2EJEW.js → chunk.ZKDNJM5P.js} +4 -4
- package/cdn/chunks/{chunk.VUJ26IHB.js → chunk.ZW5L75IK.js} +1 -1
- package/cdn/components/accordion/accordion.component.js +5 -5
- package/cdn/components/accordion/accordion.js +6 -6
- package/cdn/components/alert/alert.component.js +3 -3
- package/cdn/components/alert/alert.js +4 -4
- package/cdn/components/browse-variables/browse-variables.component.js +17 -17
- package/cdn/components/browse-variables/browse-variables.controller.js +1 -1
- package/cdn/components/browse-variables/browse-variables.js +18 -18
- 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 +6 -6
- package/cdn/components/combobox/combobox.js +7 -7
- package/cdn/components/data-rods/data-rods.component.js +31 -31
- package/cdn/components/data-rods/data-rods.js +32 -32
- package/cdn/components/data-subsetter/data-subsetter.component.js +23 -23
- package/cdn/components/data-subsetter/data-subsetter.controller.js +2 -2
- package/cdn/components/data-subsetter/data-subsetter.js +24 -24
- package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +25 -25
- package/cdn/components/data-subsetter-history/data-subsetter-history.js +26 -26
- 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 +3 -3
- package/cdn/components/date-range-slider/date-range-slider.js +4 -4
- package/cdn/components/dialog/dialog.component.js +2 -2
- package/cdn/components/dialog/dialog.js +3 -3
- package/cdn/components/icon/icon.component.js +3 -3
- package/cdn/components/icon/icon.js +4 -4
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/login/login.component.js +13 -13
- package/cdn/components/login/login.js +14 -14
- package/cdn/components/map/map.component.js +4 -4
- package/cdn/components/map/map.js +5 -5
- package/cdn/components/plot/plot.component.js +3 -3
- package/cdn/components/plot/plot.js +4 -4
- package/cdn/components/plot-toolbar/plot-toolbar.component.js +10 -10
- package/cdn/components/plot-toolbar/plot-toolbar.js +11 -11
- package/cdn/components/skeleton/skeleton.component.js +6 -6
- package/cdn/components/skeleton/skeleton.js +7 -7
- package/cdn/components/spatial-picker/spatial-picker.component.js +5 -5
- package/cdn/components/spatial-picker/spatial-picker.js +6 -6
- package/cdn/components/time-average-map/time-average-map.component.js +14 -14
- package/cdn/components/time-average-map/time-average-map.controller.js +2 -2
- package/cdn/components/time-average-map/time-average-map.js +15 -15
- package/cdn/components/time-series/time-series.component.js +19 -19
- package/cdn/components/time-series/time-series.controller.js +2 -2
- package/cdn/components/time-series/time-series.js +20 -20
- package/cdn/components/variable-combobox/lib.js +3 -3
- package/cdn/components/variable-combobox/variable-combobox.component.js +15 -15
- package/cdn/components/variable-combobox/variable-combobox.controller.js +4 -4
- package/cdn/components/variable-combobox/variable-combobox.js +16 -16
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +13 -13
- package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +1 -1
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +14 -14
- package/cdn/custom-elements.json +916 -916
- package/cdn/react/accordion/index.js +6 -6
- package/cdn/react/alert/index.js +4 -4
- package/cdn/react/browse-variables/index.js +18 -18
- package/cdn/react/button/index.js +3 -3
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +7 -7
- package/cdn/react/data-rods/index.js +32 -32
- package/cdn/react/data-subsetter/index.js +24 -24
- package/cdn/react/data-subsetter-history/index.js +26 -26
- package/cdn/react/date-picker/index.js +4 -4
- package/cdn/react/date-range-slider/index.js +4 -4
- package/cdn/react/dialog/index.js +3 -3
- package/cdn/react/icon/index.js +4 -4
- package/cdn/react/index.d.ts +5 -5
- package/cdn/react/index.js +92 -92
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +14 -14
- package/cdn/react/map/index.js +5 -5
- package/cdn/react/plot/index.js +4 -4
- package/cdn/react/plot-toolbar/index.js +11 -11
- package/cdn/react/skeleton/index.js +7 -7
- package/cdn/react/spatial-picker/index.js +6 -6
- package/cdn/react/time-average-map/index.js +15 -15
- package/cdn/react/time-series/index.js +20 -20
- package/cdn/react/variable-combobox/index.js +16 -16
- package/cdn/react/variable-keyword-search/index.js +14 -14
- package/cdn/terra-ui-components.js +94 -94
- package/cdn/types/vue/index.d.ts +86 -86
- package/cdn/utilities/animation.js +4 -4
- package/cdn/vscode.html-custom-data.json +67 -67
- package/cdn/web-types.json +170 -170
- package/dist/chunks/{chunk.NLADA7XK.js → chunk.26V7ZPS4.js} +1 -1
- package/dist/chunks/{chunk.GUYBX63F.js → chunk.2ZMKPLX6.js} +1 -1
- package/{cdn/chunks/chunk.L2M2AJ4W.js → dist/chunks/chunk.37M5YK3W.js} +1 -1
- package/dist/chunks/{chunk.TJGA66AX.js → chunk.4LKXRKXL.js} +1 -1
- package/{cdn/chunks/chunk.OBANVLY7.js → dist/chunks/chunk.4WRLOQLA.js} +1 -1
- package/{cdn/chunks/chunk.RJUTQBOV.js → dist/chunks/chunk.5JOGO4GR.js} +1 -1
- package/{cdn/chunks/chunk.RDID3JKQ.js → dist/chunks/chunk.6PSK3KPO.js} +1 -1
- package/dist/chunks/{chunk.JOTLSXEI.js → chunk.6RSLYKTT.js} +1 -1
- package/dist/chunks/{chunk.JOFHFGQP.js → chunk.6SQICGVV.js} +1 -1
- package/{cdn/chunks/chunk.OX5IY75Y.js → dist/chunks/chunk.6VUQH3BO.js} +1 -1
- package/dist/chunks/{chunk.IJC2KB5R.js → chunk.743LAY5Q.js} +1 -1
- package/dist/chunks/{chunk.LQOZT7TL.js → chunk.75O4JWZW.js} +5 -5
- package/dist/chunks/{chunk.42V23REY.js → chunk.7BTWKWFZ.js} +1 -1
- package/{cdn/chunks/chunk.YP5DVLJS.js → dist/chunks/chunk.7D4GSZCV.js} +1 -1
- package/dist/chunks/{chunk.GGRGK2NT.js → chunk.ALR4V5FX.js} +5 -5
- package/{cdn/chunks/chunk.YIP3L3SE.js → dist/chunks/chunk.ASC4SJ6R.js} +1 -1
- package/dist/chunks/{chunk.2BW4SOWQ.js → chunk.AU63C56Q.js} +1 -1
- package/{cdn/chunks/chunk.AU4MMC6N.js → dist/chunks/chunk.BCP7S3X7.js} +1 -1
- package/dist/chunks/{chunk.IFHDVWGZ.js → chunk.BNHHBTWD.js} +4 -4
- package/dist/chunks/{chunk.4SUQPJ6R.js → chunk.BP3OEUJG.js} +1 -1
- package/{cdn/chunks/chunk.RVH4PSND.js → dist/chunks/chunk.BYY32NG2.js} +7 -7
- package/{cdn/chunks/chunk.MFI2M54Y.js → dist/chunks/chunk.C2ZEQSEZ.js} +2 -2
- package/{cdn/chunks/chunk.AHGKSSSI.js → dist/chunks/chunk.CN4EXXGY.js} +5 -5
- package/dist/chunks/{chunk.5TZQDEBJ.js → chunk.D6G7W3DM.js} +1 -1
- package/{cdn/chunks/chunk.PRQ5P3TK.js → dist/chunks/chunk.DDBGX2TO.js} +1 -1
- package/{cdn/chunks/chunk.642Z3X7N.js → dist/chunks/chunk.DKFYGH3L.js} +1 -1
- package/{cdn/chunks/chunk.X7MVYC7B.js → dist/chunks/chunk.DTTIVMQV.js} +1 -1
- package/{cdn/chunks/chunk.SWDQJJ7Q.js → dist/chunks/chunk.DUBH3JNT.js} +1 -1
- package/dist/chunks/{chunk.4WKVINLB.js → chunk.EBOWM2DU.js} +1 -1
- package/{cdn/chunks/chunk.WXZHDVQ3.js → dist/chunks/chunk.EMLBLKQD.js} +1 -1
- package/{cdn/chunks/chunk.QHY2BYL4.js → dist/chunks/chunk.EYPCLMGV.js} +1 -1
- package/{cdn/chunks/chunk.PA5O6555.js → dist/chunks/chunk.FFDFWWEB.js} +1 -1
- package/dist/chunks/{chunk.2WYXDPGS.js → chunk.FKDPQ5GW.js} +1 -1
- package/{cdn/chunks/chunk.QNNEWLT7.js → dist/chunks/chunk.FMFVFTOQ.js} +1 -1
- package/{cdn/chunks/chunk.H73IKOBV.js → dist/chunks/chunk.FYR4FP7W.js} +1 -1
- package/{cdn/chunks/chunk.URKW2CME.js → dist/chunks/chunk.G2IQVPB7.js} +1 -1
- package/dist/chunks/{chunk.FF3EIVF2.js → chunk.G6IJFGY6.js} +1 -1
- package/{cdn/chunks/chunk.SRBWEFVT.js → dist/chunks/chunk.HP6ZZIC6.js} +1 -1
- package/{cdn/chunks/chunk.2OQZA3CW.js → dist/chunks/chunk.I5KW33O3.js} +1 -1
- package/dist/chunks/{chunk.4E55SLUR.js → chunk.IT3QXCNY.js} +1 -1
- package/{cdn/chunks/chunk.EBJUC35J.js → dist/chunks/chunk.JALYRVQR.js} +1 -1
- package/{cdn/chunks/chunk.ERXCYNDC.js → dist/chunks/chunk.K3KSX5PF.js} +1 -1
- package/{cdn/chunks/chunk.RBVJJWF4.js → dist/chunks/chunk.K5ZPXI35.js} +1 -1
- package/dist/chunks/{chunk.BRVCFRLF.js → chunk.K66IQUBI.js} +1 -1
- package/dist/chunks/{chunk.3H5ZUQL5.js → chunk.KLJHGS6C.js} +9 -9
- package/dist/chunks/{chunk.UDCRU3NE.js → chunk.MZ7EYOT2.js} +1 -1
- package/{cdn/chunks/chunk.64ARWPHU.js → dist/chunks/chunk.OQ6SJHS5.js} +1 -1
- package/{cdn/chunks/chunk.FNTPKP6P.js → dist/chunks/chunk.OVXHDE6T.js} +6 -6
- package/{cdn/chunks/chunk.OY5R7EVO.js → dist/chunks/chunk.P7PWPHUY.js} +1 -1
- package/dist/chunks/{chunk.PAJVTERU.js → chunk.PCMPWRYJ.js} +1 -1
- package/dist/chunks/{chunk.TSIWRLNC.js → chunk.PSD2VZSB.js} +1 -1
- package/{cdn/chunks/chunk.P6OOV5UQ.js → dist/chunks/chunk.PT4DIXWP.js} +1 -1
- package/dist/chunks/{chunk.4EIGF3E4.js → chunk.Q4R3537E.js} +3 -3
- package/dist/chunks/{chunk.MKU7QBFN.js → chunk.QFNQINHO.js} +1 -1
- package/dist/chunks/{chunk.5QKVNNUH.js → chunk.QSUL47CQ.js} +5 -5
- package/{cdn/chunks/chunk.OVUWZWWN.js → dist/chunks/chunk.R5AO3NVL.js} +3 -3
- package/{cdn/chunks/chunk.2GEN6UCO.js → dist/chunks/chunk.SKL6FUWM.js} +1 -1
- package/dist/chunks/{chunk.NQYUJ7FK.js → chunk.T23NXW3N.js} +1 -1
- package/{cdn/chunks/chunk.2LGINANI.js → dist/chunks/chunk.TNBSVB25.js} +1 -1
- package/dist/chunks/{chunk.H2UQBMCX.js → chunk.US5SMFVR.js} +1 -1
- package/dist/chunks/{chunk.A7GHUUVY.js → chunk.V4PVPKFS.js} +1 -1
- package/dist/chunks/{chunk.GL5HOXON.js → chunk.VAPVESWR.js} +1 -1
- package/{cdn/chunks/chunk.JHEFOGNL.js → dist/chunks/chunk.VKLXRQIG.js} +1 -1
- package/{cdn/chunks/chunk.3XJ5QNGT.js → dist/chunks/chunk.W3ASID7S.js} +1 -1
- package/dist/chunks/{chunk.2AIVKD54.js → chunk.W3JGEHKY.js} +1 -1
- package/dist/chunks/{chunk.Y7ZED6A4.js → chunk.WFNNFLKW.js} +1 -1
- package/dist/chunks/{chunk.B6JXOXP5.js → chunk.WKZGPPFO.js} +13 -13
- package/dist/chunks/{chunk.MEMNTMV2.js → chunk.WUERN5LU.js} +2 -2
- package/dist/chunks/{chunk.L7RNO3FR.js → chunk.XHROUW2S.js} +1 -1
- package/{cdn/chunks/chunk.CA2ZDE2M.js → dist/chunks/chunk.YS4V4GNL.js} +1 -1
- package/dist/chunks/{chunk.GQRGC6YW.js → chunk.Z47GILML.js} +1 -1
- package/{cdn/chunks/chunk.ADFWUZLL.js → dist/chunks/chunk.Z5RZBPUO.js} +1 -1
- package/dist/chunks/{chunk.YMHBYV33.js → chunk.Z73RODDQ.js} +10 -10
- package/dist/chunks/{chunk.HUX2RF6U.js → chunk.ZOOMTF4P.js} +1 -1
- package/dist/components/accordion/accordion.component.js +4 -4
- package/dist/components/accordion/accordion.js +5 -5
- package/dist/components/alert/alert.component.js +3 -3
- package/dist/components/alert/alert.js +4 -4
- package/dist/components/browse-variables/browse-variables.component.js +11 -11
- package/dist/components/browse-variables/browse-variables.js +12 -12
- 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 +22 -22
- package/dist/components/data-rods/data-rods.js +23 -23
- package/dist/components/data-subsetter/data-subsetter.component.js +17 -17
- package/dist/components/data-subsetter/data-subsetter.js +18 -18
- package/dist/components/data-subsetter-history/data-subsetter-history.component.js +19 -19
- package/dist/components/data-subsetter-history/data-subsetter-history.js +20 -20
- 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 +3 -3
- package/dist/components/date-range-slider/date-range-slider.js +4 -4
- 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 +10 -10
- package/dist/components/login/login.js +11 -11
- package/dist/components/map/map.component.js +2 -2
- package/dist/components/map/map.js +3 -3
- package/dist/components/plot/plot.component.js +2 -2
- package/dist/components/plot/plot.js +3 -3
- package/dist/components/plot-toolbar/plot-toolbar.component.js +6 -6
- package/dist/components/plot-toolbar/plot-toolbar.js +7 -7
- 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.js +3 -3
- package/dist/components/spatial-picker/spatial-picker.js +4 -4
- package/dist/components/time-average-map/time-average-map.component.js +8 -8
- package/dist/components/time-average-map/time-average-map.js +9 -9
- package/dist/components/time-series/time-series.component.js +13 -13
- package/dist/components/time-series/time-series.js +14 -14
- package/dist/components/variable-combobox/variable-combobox.component.js +8 -8
- package/dist/components/variable-combobox/variable-combobox.js +9 -9
- 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 +916 -916
- package/dist/react/accordion/index.js +5 -5
- package/dist/react/alert/index.js +4 -4
- package/dist/react/browse-variables/index.js +12 -12
- 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 +23 -23
- package/dist/react/data-subsetter/index.js +18 -18
- package/dist/react/data-subsetter-history/index.js +20 -20
- package/dist/react/date-picker/index.js +4 -4
- package/dist/react/date-range-slider/index.js +4 -4
- package/dist/react/dialog/index.js +3 -3
- package/dist/react/icon/index.js +3 -3
- package/dist/react/index.d.ts +5 -5
- package/dist/react/index.js +80 -80
- package/dist/react/loader/index.js +3 -3
- package/dist/react/login/index.js +11 -11
- package/dist/react/map/index.js +3 -3
- package/dist/react/plot/index.js +3 -3
- package/dist/react/plot-toolbar/index.js +7 -7
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spatial-picker/index.js +4 -4
- package/dist/react/time-average-map/index.js +9 -9
- package/dist/react/time-series/index.js +14 -14
- package/dist/react/variable-combobox/index.js +9 -9
- package/dist/react/variable-keyword-search/index.js +9 -9
- package/dist/terra-ui-components.js +81 -81
- package/dist/{terra_ui_components-0.0.68-py3-none-any.whl → terra_ui_components-0.0.69-py3-none-any.whl} +0 -0
- package/dist/{terra_ui_components-0.0.68.tar.gz → terra_ui_components-0.0.69.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +86 -86
- package/dist/vscode.html-custom-data.json +67 -67
- package/dist/web-types.json +170 -170
- package/package.json +1 -1
- package/cdn/chunks/chunk.2AIVKD54.js +0 -214
- package/cdn/chunks/chunk.2BW4SOWQ.js +0 -11
- package/cdn/chunks/chunk.2EYRPHGL.js +0 -10
- package/cdn/chunks/chunk.2WYXDPGS.js +0 -11
- package/cdn/chunks/chunk.3GLMJLNY.js +0 -139
- package/cdn/chunks/chunk.3H5ZUQL5.js +0 -498
- package/cdn/chunks/chunk.3L77HLPZ.js +0 -88
- package/cdn/chunks/chunk.3PUTIFOP.js +0 -35
- package/cdn/chunks/chunk.42V23REY.js +0 -21
- package/cdn/chunks/chunk.445A7YVG.js +0 -271
- package/cdn/chunks/chunk.4E55SLUR.js +0 -11
- package/cdn/chunks/chunk.4EIGF3E4.js +0 -470
- package/cdn/chunks/chunk.4MGGBJBD.js +0 -20
- package/cdn/chunks/chunk.4WKVINLB.js +0 -11
- package/cdn/chunks/chunk.5ASTHFQ2.js +0 -950
- package/cdn/chunks/chunk.5QKVNNUH.js +0 -73
- package/cdn/chunks/chunk.5TZQDEBJ.js +0 -21
- package/cdn/chunks/chunk.6KIVAUVU.js +0 -124
- package/cdn/chunks/chunk.6VTAKEV4.js +0 -74
- package/cdn/chunks/chunk.7674U7FT.js +0 -215
- package/cdn/chunks/chunk.7AEQ2LX4.js +0 -335
- package/cdn/chunks/chunk.7CMA526Q.js +0 -14
- package/cdn/chunks/chunk.7RT5CEB6.js +0 -72
- package/cdn/chunks/chunk.A6D5MCCT.js +0 -123
- package/cdn/chunks/chunk.A7GHUUVY.js +0 -21
- package/cdn/chunks/chunk.AZXB7ZHM.js +0 -151
- package/cdn/chunks/chunk.B6JXOXP5.js +0 -348
- package/cdn/chunks/chunk.BEDYDFXT.js +0 -52
- package/cdn/chunks/chunk.BRVCFRLF.js +0 -21
- package/cdn/chunks/chunk.CIFC3RF3.js +0 -43
- package/cdn/chunks/chunk.D3DPGMVW.js +0 -222
- package/cdn/chunks/chunk.D3XI3L7Y.js +0 -55
- package/cdn/chunks/chunk.DTUHBE3U.js +0 -37
- package/cdn/chunks/chunk.E2WXLMWX.js +0 -0
- package/cdn/chunks/chunk.F3KBUEPT.js +0 -10
- package/cdn/chunks/chunk.F5AEDYTP.js +0 -37
- package/cdn/chunks/chunk.FF3EIVF2.js +0 -11
- package/cdn/chunks/chunk.FRSW4UHB.js +0 -268
- package/cdn/chunks/chunk.FUU57PWY.js +0 -36
- package/cdn/chunks/chunk.G6SMK5II.js +0 -19
- package/cdn/chunks/chunk.GL5HOXON.js +0 -202
- package/cdn/chunks/chunk.GMJWNAQG.js +0 -264
- package/cdn/chunks/chunk.GQRGC6YW.js +0 -11
- package/cdn/chunks/chunk.GUYBX63F.js +0 -108
- package/cdn/chunks/chunk.HKST5N6O.js +0 -21
- package/cdn/chunks/chunk.HNQMK3PU.js +0 -685
- package/cdn/chunks/chunk.HNWBSRBL.js +0 -43
- package/cdn/chunks/chunk.HUX2RF6U.js +0 -53
- package/cdn/chunks/chunk.HWZP2UTW.js +0 -49
- package/cdn/chunks/chunk.IC4T7CZD.js +0 -62
- package/cdn/chunks/chunk.IJC2KB5R.js +0 -25
- package/cdn/chunks/chunk.J25AAZTC.js +0 -21
- package/cdn/chunks/chunk.JOFHFGQP.js +0 -180
- package/cdn/chunks/chunk.JUQDLDHB.js +0 -139
- package/cdn/chunks/chunk.KIC5ZCAM.js +0 -63
- package/cdn/chunks/chunk.KLCOAQUS.js +0 -65
- package/cdn/chunks/chunk.KUSRVQBO.js +0 -20
- package/cdn/chunks/chunk.KXL6VOQP.js +0 -82
- package/cdn/chunks/chunk.L63WM7I3.js +0 -65
- package/cdn/chunks/chunk.LDCRCQNJ.js +0 -103
- package/cdn/chunks/chunk.M6X72F3Q.js +0 -373
- package/cdn/chunks/chunk.MGM5E2VQ.js +0 -98
- package/cdn/chunks/chunk.MQOXBVDK.js +0 -58
- package/cdn/chunks/chunk.NMWP5DQX.js +0 -259
- package/cdn/chunks/chunk.NQYUJ7FK.js +0 -24
- package/cdn/chunks/chunk.O6SXSDFR.js +0 -539
- package/cdn/chunks/chunk.O7SVDS2A.js +0 -11
- package/cdn/chunks/chunk.OJC754DG.js +0 -228
- package/cdn/chunks/chunk.P7EL7GKI.js +0 -41
- package/cdn/chunks/chunk.PAJVTERU.js +0 -357
- package/cdn/chunks/chunk.PBC3S6IG.js +0 -33
- package/cdn/chunks/chunk.PG4TSLWI.js +0 -78
- package/cdn/chunks/chunk.QAMFDZKG.js +0 -11
- package/cdn/chunks/chunk.QQQ2BD4U.js +0 -80
- package/cdn/chunks/chunk.QZS6UUDI.js +0 -277
- package/cdn/chunks/chunk.RZ3APMFR.js +0 -195
- package/cdn/chunks/chunk.SGFD3ORP.js +0 -293
- package/cdn/chunks/chunk.T53RBNNE.js +0 -519
- package/cdn/chunks/chunk.TCEJ3MS6.js +0 -97
- package/cdn/chunks/chunk.TJGA66AX.js +0 -25
- package/cdn/chunks/chunk.TVFCHGU3.js +0 -76
- package/cdn/chunks/chunk.UDCRU3NE.js +0 -120
- package/cdn/chunks/chunk.UT5XKCBV.js +0 -183
- package/cdn/chunks/chunk.UZAIWUWC.js +0 -8
- package/cdn/chunks/chunk.UZZDJISQ.js +0 -258
- package/cdn/chunks/chunk.V2Z7ZBTD.js +0 -293
- package/cdn/chunks/chunk.V3EFWONT.js +0 -26
- package/cdn/chunks/chunk.V7LXD3II.js +0 -318
- package/cdn/chunks/chunk.WJL4R4O2.js +0 -7
- package/cdn/chunks/chunk.XJVLYIYE.js +0 -41
- package/cdn/chunks/chunk.XOD4KYCP.js +0 -120
- package/cdn/chunks/chunk.XWDZOQJ3.js +0 -11
- package/cdn/chunks/chunk.XXFKVRN5.js +0 -104
- package/cdn/chunks/chunk.XZB6CNAL.js +0 -96
- package/cdn/chunks/chunk.Y7ZED6A4.js +0 -24
- package/cdn/chunks/chunk.YMHBYV33.js +0 -1625
- package/cdn/chunks/chunk.YXLIUMJM.js +0 -147
- package/cdn/chunks/chunk.YY65ZHR5.js +0 -35
- package/cdn/chunks/chunk.Z4S5QPB7.js +0 -655
- package/dist/chunks/chunk.2GEN6UCO.js +0 -21
- package/dist/chunks/chunk.2LGINANI.js +0 -82
- package/dist/chunks/chunk.2OQZA3CW.js +0 -477
- package/dist/chunks/chunk.34PJLKJJ.js +0 -416
- package/dist/chunks/chunk.35EPISNE.js +0 -11
- package/dist/chunks/chunk.3UAVO7EA.js +0 -24
- package/dist/chunks/chunk.3ULVIGJG.js +0 -21
- package/dist/chunks/chunk.3XJ5QNGT.js +0 -21
- package/dist/chunks/chunk.44BRND6T.js +0 -21
- package/dist/chunks/chunk.642Z3X7N.js +0 -11
- package/dist/chunks/chunk.64ARWPHU.js +0 -11
- package/dist/chunks/chunk.65TXBD5Q.js +0 -11
- package/dist/chunks/chunk.6DUMNJRP.js +0 -11
- package/dist/chunks/chunk.76XDDHGB.js +0 -24
- package/dist/chunks/chunk.77RFVKUZ.js +0 -21
- package/dist/chunks/chunk.7JCOOCRE.js +0 -498
- package/dist/chunks/chunk.A7JSMGCJ.js +0 -11
- package/dist/chunks/chunk.ADFWUZLL.js +0 -21
- package/dist/chunks/chunk.AHGKSSSI.js +0 -185
- package/dist/chunks/chunk.AQADCBKW.js +0 -11
- package/dist/chunks/chunk.AU4MMC6N.js +0 -24
- package/dist/chunks/chunk.B63QBHY2.js +0 -21
- package/dist/chunks/chunk.CA2ZDE2M.js +0 -11
- package/dist/chunks/chunk.CDJJZBFH.js +0 -21
- package/dist/chunks/chunk.E4HHQCTB.js +0 -25
- package/dist/chunks/chunk.EBJUC35J.js +0 -11
- package/dist/chunks/chunk.EFBCCYOG.js +0 -21
- package/dist/chunks/chunk.ERXCYNDC.js +0 -11
- package/dist/chunks/chunk.EU34RZJ6.js +0 -348
- package/dist/chunks/chunk.FD3GJNJJ.js +0 -82
- package/dist/chunks/chunk.FNTPKP6P.js +0 -538
- package/dist/chunks/chunk.FZMMKJAN.js +0 -11
- package/dist/chunks/chunk.FZUQIX6Q.js +0 -24
- package/dist/chunks/chunk.GJZMMPJG.js +0 -21
- package/dist/chunks/chunk.GPP6JDF4.js +0 -11
- package/dist/chunks/chunk.H73IKOBV.js +0 -11
- package/dist/chunks/chunk.HKST5N6O.js +0 -21
- package/dist/chunks/chunk.HN27UQHP.js +0 -21
- package/dist/chunks/chunk.IG5HGQXY.js +0 -11
- package/dist/chunks/chunk.J6VAJGFU.js +0 -11
- package/dist/chunks/chunk.JHEFOGNL.js +0 -11
- package/dist/chunks/chunk.KIC5ZCAM.js +0 -63
- package/dist/chunks/chunk.KOT22IKI.js +0 -21
- package/dist/chunks/chunk.KQXAXXOQ.js +0 -53
- package/dist/chunks/chunk.KRADMAUS.js +0 -11
- package/dist/chunks/chunk.KXL6VOQP.js +0 -82
- package/dist/chunks/chunk.L2M2AJ4W.js +0 -21
- package/dist/chunks/chunk.LNIZRE4P.js +0 -180
- package/dist/chunks/chunk.LQXULJBQ.js +0 -21
- package/dist/chunks/chunk.M3SLDTSE.js +0 -477
- package/dist/chunks/chunk.M74U5ILB.js +0 -25
- package/dist/chunks/chunk.M7ZB5QRP.js +0 -273
- package/dist/chunks/chunk.MFI2M54Y.js +0 -273
- package/dist/chunks/chunk.NDADYNAA.js +0 -11
- package/dist/chunks/chunk.O6SXSDFR.js +0 -539
- package/dist/chunks/chunk.O7SVDS2A.js +0 -11
- package/dist/chunks/chunk.OBANVLY7.js +0 -11
- package/dist/chunks/chunk.OJC754DG.js +0 -228
- package/dist/chunks/chunk.OVUWZWWN.js +0 -355
- package/dist/chunks/chunk.OX5IY75Y.js +0 -11
- package/dist/chunks/chunk.OY5R7EVO.js +0 -24
- package/dist/chunks/chunk.P6OOV5UQ.js +0 -25
- package/dist/chunks/chunk.P7UY5YOM.js +0 -202
- package/dist/chunks/chunk.PA5O6555.js +0 -24
- package/dist/chunks/chunk.PG4TSLWI.js +0 -78
- package/dist/chunks/chunk.PKAXRUSD.js +0 -11
- package/dist/chunks/chunk.PRQ5P3TK.js +0 -11
- package/dist/chunks/chunk.PSIAGOIP.js +0 -538
- package/dist/chunks/chunk.Q6LK4OHE.js +0 -11
- package/dist/chunks/chunk.QAMFDZKG.js +0 -11
- package/dist/chunks/chunk.QEGTBKYW.js +0 -21
- package/dist/chunks/chunk.QHY2BYL4.js +0 -11
- package/dist/chunks/chunk.QNNEWLT7.js +0 -11
- package/dist/chunks/chunk.RBVJJWF4.js +0 -21
- package/dist/chunks/chunk.RDID3JKQ.js +0 -25
- package/dist/chunks/chunk.RJUTQBOV.js +0 -21
- package/dist/chunks/chunk.RVCQSKMD.js +0 -108
- package/dist/chunks/chunk.RVH4PSND.js +0 -416
- package/dist/chunks/chunk.SFFOTZON.js +0 -25
- package/dist/chunks/chunk.SPVE7NND.js +0 -11
- package/dist/chunks/chunk.SRBWEFVT.js +0 -27
- package/dist/chunks/chunk.SWDQJJ7Q.js +0 -11
- package/dist/chunks/chunk.T7DACXNM.js +0 -11
- package/dist/chunks/chunk.TCGYS77N.js +0 -27
- package/dist/chunks/chunk.TIQXW7ZH.js +0 -11
- package/dist/chunks/chunk.TMXTLPTE.js +0 -11
- package/dist/chunks/chunk.UPMJQK2S.js +0 -120
- package/dist/chunks/chunk.URKW2CME.js +0 -21
- package/dist/chunks/chunk.UT5XKCBV.js +0 -183
- package/dist/chunks/chunk.UTXEG3QD.js +0 -214
- package/dist/chunks/chunk.UZZDJISQ.js +0 -258
- package/dist/chunks/chunk.V3CHZTI6.js +0 -470
- package/dist/chunks/chunk.VDCD52OC.js +0 -185
- package/dist/chunks/chunk.VO4JJ7CZ.js +0 -357
- package/dist/chunks/chunk.VT32WPUI.js +0 -73
- package/dist/chunks/chunk.VYPNLWLL.js +0 -11
- package/dist/chunks/chunk.W5O3LYQV.js +0 -21
- package/dist/chunks/chunk.WTQMOLV2.js +0 -24
- package/dist/chunks/chunk.WXZHDVQ3.js +0 -21
- package/dist/chunks/chunk.WZCLDYKY.js +0 -25
- package/dist/chunks/chunk.X7MVYC7B.js +0 -11
- package/dist/chunks/chunk.XIUGWVFS.js +0 -355
- package/dist/chunks/chunk.XJPYDQOZ.js +0 -11
- package/dist/chunks/chunk.XWDZOQJ3.js +0 -11
- package/dist/chunks/chunk.Y7TVB466.js +0 -1625
- package/dist/chunks/chunk.YIP3L3SE.js +0 -21
- package/dist/chunks/chunk.YP5DVLJS.js +0 -11
- package/dist/chunks/chunk.YRJRQDLF.js +0 -21
- package/dist/chunks/chunk.ZK4JLVS4.js +0 -11
- package/dist/chunks/chunk.ZLRH3XYC.js +0 -24
- package/dist/chunks/chunk.ZOCIZGYF.js +0 -11
- package/cdn/chunks/{chunk.OXUFHTFN.js → chunk.2PNASAQ6.js} +3 -3
- package/cdn/chunks/{chunk.DUUVIZLI.js → chunk.6HV5UAUR.js} +3 -3
- package/cdn/chunks/{chunk.EMLDT66I.js → chunk.EDY6YM3Y.js} +4 -4
- package/cdn/chunks/{chunk.SU2EH44I.js → chunk.NFS2RDEX.js} +5 -5
- package/cdn/chunks/{chunk.VPW32Q52.js → chunk.QFJLPXXJ.js} +3 -3
- package/cdn/chunks/{chunk.HDPH5PEF.js → chunk.UQPT3AQ5.js} +4 -4
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
leaflet_draw_styles_default
|
|
3
|
-
} from "./chunk.445A7YVG.js";
|
|
4
|
-
import {
|
|
5
|
-
Leaflet
|
|
6
|
-
} from "./chunk.GMJWNAQG.js";
|
|
7
|
-
import {
|
|
8
|
-
leaflet_styles_default
|
|
9
|
-
} from "./chunk.HNQMK3PU.js";
|
|
10
|
-
import {
|
|
11
|
-
MapController
|
|
12
|
-
} from "./chunk.J25AAZTC.js";
|
|
13
|
-
import {
|
|
14
|
-
map_styles_default
|
|
15
|
-
} from "./chunk.BEDYDFXT.js";
|
|
16
|
-
import {
|
|
17
|
-
watch
|
|
18
|
-
} from "./chunk.DTUHBE3U.js";
|
|
19
|
-
import {
|
|
20
|
-
TerraElement,
|
|
21
|
-
component_styles_default
|
|
22
|
-
} from "./chunk.O6SXSDFR.js";
|
|
23
|
-
import {
|
|
24
|
-
__decorateClass,
|
|
25
|
-
__privateAdd,
|
|
26
|
-
__privateMethod,
|
|
27
|
-
__spreadValues
|
|
28
|
-
} from "./chunk.TVFCHGU3.js";
|
|
29
|
-
|
|
30
|
-
// src/components/map/map.component.ts
|
|
31
|
-
import { html, nothing } from "lit";
|
|
32
|
-
import { property, query, state } from "lit/decorators.js";
|
|
33
|
-
import { cache } from "lit/directives/cache.js";
|
|
34
|
-
import { map } from "lit/directives/map.js";
|
|
35
|
-
var _markDynamicLeafletContent, markDynamicLeafletContent_fn;
|
|
36
|
-
var TerraMap = class extends TerraElement {
|
|
37
|
-
constructor() {
|
|
38
|
-
super(...arguments);
|
|
39
|
-
__privateAdd(this, _markDynamicLeafletContent);
|
|
40
|
-
this.minZoom = 0;
|
|
41
|
-
this.maxZoom = 23;
|
|
42
|
-
this.zoom = 1;
|
|
43
|
-
this.hasNavigation = false;
|
|
44
|
-
this.hasCoordTracker = false;
|
|
45
|
-
this.hasShapeSelector = false;
|
|
46
|
-
this.value = [];
|
|
47
|
-
this.map = new Leaflet();
|
|
48
|
-
this._mapController = new MapController(this);
|
|
49
|
-
}
|
|
50
|
-
valueChanged(_oldValue, newValue) {
|
|
51
|
-
var _a;
|
|
52
|
-
if (newValue.length > 0) {
|
|
53
|
-
(_a = this.map) == null ? void 0 : _a.setValue(this.value);
|
|
54
|
-
} else if (newValue.length === 0 && this.map.isMapReady) {
|
|
55
|
-
this.map.clearLayers();
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
async connectedCallback() {
|
|
59
|
-
super.connectedCallback();
|
|
60
|
-
}
|
|
61
|
-
async firstUpdated() {
|
|
62
|
-
await this.map.initializeMap(this.mapElement, {
|
|
63
|
-
zoom: this.zoom,
|
|
64
|
-
minZoom: this.minZoom,
|
|
65
|
-
maxZoom: this.maxZoom,
|
|
66
|
-
hasCoordTracker: this.hasCoordTracker,
|
|
67
|
-
hasNavigation: this.hasNavigation,
|
|
68
|
-
initialValue: this.value,
|
|
69
|
-
hideBoundingBoxDrawTool: this.hideBoundingBoxSelection,
|
|
70
|
-
hidePointSelectionDrawTool: this.hidePointSelection
|
|
71
|
-
});
|
|
72
|
-
this.map.on("draw", (layer) => {
|
|
73
|
-
this.emit("terra-map-change", {
|
|
74
|
-
detail: __spreadValues({
|
|
75
|
-
cause: "draw",
|
|
76
|
-
type: "latLng" in layer ? "point" /* POINT */ : "bounds" in layer ? "bbox" /* BBOX */ : void 0
|
|
77
|
-
}, layer)
|
|
78
|
-
});
|
|
79
|
-
});
|
|
80
|
-
this.map.on(
|
|
81
|
-
"clear",
|
|
82
|
-
(_e) => this.emit("terra-map-change", {
|
|
83
|
-
detail: {
|
|
84
|
-
cause: "clear"
|
|
85
|
-
}
|
|
86
|
-
})
|
|
87
|
-
);
|
|
88
|
-
__privateMethod(this, _markDynamicLeafletContent, markDynamicLeafletContent_fn).call(this);
|
|
89
|
-
}
|
|
90
|
-
getDrawLayer() {
|
|
91
|
-
return this.map.editableLayers.getLayers()[0];
|
|
92
|
-
}
|
|
93
|
-
selectTemplate() {
|
|
94
|
-
var _a;
|
|
95
|
-
return html`
|
|
96
|
-
<select
|
|
97
|
-
class="map__select form-control"
|
|
98
|
-
@change=${this.map.handleShapeSelect}
|
|
99
|
-
>
|
|
100
|
-
<option value="">Select a Shape...</option>
|
|
101
|
-
|
|
102
|
-
${cache(
|
|
103
|
-
map((_a = this.shapes) == null ? void 0 : _a.categories, (category) => {
|
|
104
|
-
return html`<optgroup label="${category.title}">
|
|
105
|
-
${category.shapes.map((shape) => {
|
|
106
|
-
return html`
|
|
107
|
-
<option
|
|
108
|
-
value="shape=${shape.shapefileID}/${shape.shapeID}"
|
|
109
|
-
>
|
|
110
|
-
${shape.name}
|
|
111
|
-
</option>
|
|
112
|
-
`;
|
|
113
|
-
})}
|
|
114
|
-
</optgroup> `;
|
|
115
|
-
})
|
|
116
|
-
)}
|
|
117
|
-
</select>
|
|
118
|
-
`;
|
|
119
|
-
}
|
|
120
|
-
render() {
|
|
121
|
-
return html`
|
|
122
|
-
<!-- select goes here -->
|
|
123
|
-
${this.hasShapeSelector ? this.selectTemplate() : nothing}
|
|
124
|
-
<!-- "Map goes here" -->
|
|
125
|
-
<div part="map" id="map" class="map"></div>
|
|
126
|
-
`;
|
|
127
|
-
}
|
|
128
|
-
invalidateSize() {
|
|
129
|
-
this.map.map.invalidateSize();
|
|
130
|
-
}
|
|
131
|
-
};
|
|
132
|
-
_markDynamicLeafletContent = new WeakSet();
|
|
133
|
-
markDynamicLeafletContent_fn = function() {
|
|
134
|
-
var _a, _b, _c, _d;
|
|
135
|
-
const parts = [
|
|
136
|
-
{
|
|
137
|
-
item: (_a = this.shadowRoot) == null ? void 0 : _a.querySelector(".leaflet-draw-draw-rectangle"),
|
|
138
|
-
name: "leaflet-bbox"
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
item: (_b = this.shadowRoot) == null ? void 0 : _b.querySelector(".leaflet-draw-draw-marker"),
|
|
142
|
-
name: "leaflet-point"
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
item: (_c = this.shadowRoot) == null ? void 0 : _c.querySelector(".leaflet-draw-edit-edit"),
|
|
146
|
-
name: "leaflet-edit"
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
item: (_d = this.shadowRoot) == null ? void 0 : _d.querySelector(".leaflet-draw-edit-remove"),
|
|
150
|
-
name: "leaflet-remove"
|
|
151
|
-
}
|
|
152
|
-
];
|
|
153
|
-
parts.forEach(({ item, name }) => {
|
|
154
|
-
item == null ? void 0 : item.setAttribute("part", name);
|
|
155
|
-
});
|
|
156
|
-
};
|
|
157
|
-
TerraMap.styles = [
|
|
158
|
-
component_styles_default,
|
|
159
|
-
leaflet_styles_default,
|
|
160
|
-
leaflet_draw_styles_default,
|
|
161
|
-
map_styles_default
|
|
162
|
-
];
|
|
163
|
-
__decorateClass([
|
|
164
|
-
property({ attribute: "min-zoom", type: Number })
|
|
165
|
-
], TerraMap.prototype, "minZoom", 2);
|
|
166
|
-
__decorateClass([
|
|
167
|
-
property({ attribute: "max-zoom", type: Number })
|
|
168
|
-
], TerraMap.prototype, "maxZoom", 2);
|
|
169
|
-
__decorateClass([
|
|
170
|
-
property({ type: Number })
|
|
171
|
-
], TerraMap.prototype, "zoom", 2);
|
|
172
|
-
__decorateClass([
|
|
173
|
-
property({ attribute: "has-navigation", type: Boolean })
|
|
174
|
-
], TerraMap.prototype, "hasNavigation", 2);
|
|
175
|
-
__decorateClass([
|
|
176
|
-
property({ attribute: "has-coord-tracker", type: Boolean })
|
|
177
|
-
], TerraMap.prototype, "hasCoordTracker", 2);
|
|
178
|
-
__decorateClass([
|
|
179
|
-
property({ attribute: "has-shape-selector", type: Boolean })
|
|
180
|
-
], TerraMap.prototype, "hasShapeSelector", 2);
|
|
181
|
-
__decorateClass([
|
|
182
|
-
property({ attribute: "hide-bounding-box-selection", type: Boolean })
|
|
183
|
-
], TerraMap.prototype, "hideBoundingBoxSelection", 2);
|
|
184
|
-
__decorateClass([
|
|
185
|
-
property({ attribute: "hide-point-selection", type: Boolean })
|
|
186
|
-
], TerraMap.prototype, "hidePointSelection", 2);
|
|
187
|
-
__decorateClass([
|
|
188
|
-
property({ type: Array })
|
|
189
|
-
], TerraMap.prototype, "value", 2);
|
|
190
|
-
__decorateClass([
|
|
191
|
-
query("#map")
|
|
192
|
-
], TerraMap.prototype, "mapElement", 2);
|
|
193
|
-
__decorateClass([
|
|
194
|
-
watch("value")
|
|
195
|
-
], TerraMap.prototype, "valueChanged", 1);
|
|
196
|
-
__decorateClass([
|
|
197
|
-
state()
|
|
198
|
-
], TerraMap.prototype, "shapes", 2);
|
|
199
|
-
|
|
200
|
-
export {
|
|
201
|
-
TerraMap
|
|
202
|
-
};
|
|
@@ -1,264 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
GiovanniGeoJsonShapes
|
|
3
|
-
} from "./chunk.XXFKVRN5.js";
|
|
4
|
-
import {
|
|
5
|
-
__spreadValues
|
|
6
|
-
} from "./chunk.TVFCHGU3.js";
|
|
7
|
-
|
|
8
|
-
// src/components/map/leaflet-utils.ts
|
|
9
|
-
import * as L from "leaflet";
|
|
10
|
-
import "leaflet-draw";
|
|
11
|
-
globalThis.type = "";
|
|
12
|
-
function parseBoundingBox(inputString) {
|
|
13
|
-
const coords = inputString.split(",");
|
|
14
|
-
if (coords.length !== 2 && coords.length !== 4) {
|
|
15
|
-
throw new Error(
|
|
16
|
-
'Input must contain exactly 2 or 4 numbers. e.g "9.51, 21.80" or "52.03, -9.38, 96.33, 32.90"'
|
|
17
|
-
);
|
|
18
|
-
}
|
|
19
|
-
if (coords.length == 2) {
|
|
20
|
-
return {
|
|
21
|
-
lat: parseFloat(coords[0]),
|
|
22
|
-
lng: parseFloat(coords[1])
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
const bounds = coords.map(function(coord) {
|
|
26
|
-
let num = parseFloat(coord);
|
|
27
|
-
if (isNaN(num)) {
|
|
28
|
-
throw new Error("All parts of the input string must be valid numbers.");
|
|
29
|
-
}
|
|
30
|
-
return num;
|
|
31
|
-
});
|
|
32
|
-
const leafletBounds = [
|
|
33
|
-
[bounds[1], bounds[0]],
|
|
34
|
-
[bounds[3], bounds[2]]
|
|
35
|
-
];
|
|
36
|
-
return leafletBounds;
|
|
37
|
-
}
|
|
38
|
-
function StringifyBoundingBox(input) {
|
|
39
|
-
if ("_southWest" in input && "_northEast" in input) {
|
|
40
|
-
return `${input._southWest.lng.toFixed(2)}, ${input._southWest.lat.toFixed(
|
|
41
|
-
2
|
|
42
|
-
)}, ${input._northEast.lng.toFixed(2)}, ${input._northEast.lat.toFixed(2)}`;
|
|
43
|
-
} else if ("lat" in input && "lng" in input) {
|
|
44
|
-
return `${input.lat.toFixed(2)}, ${input.lng.toFixed(2)}`;
|
|
45
|
-
} else {
|
|
46
|
-
throw new Error("Invalid input type");
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
var Leaflet = class {
|
|
50
|
-
constructor() {
|
|
51
|
-
this.listeners = [];
|
|
52
|
-
this.isMapReady = false;
|
|
53
|
-
this.handleShapeSelect = this.handleShapeSelect.bind(this);
|
|
54
|
-
this.geoJsonRepository = new GiovanniGeoJsonShapes();
|
|
55
|
-
}
|
|
56
|
-
// map initialization function
|
|
57
|
-
initializeMap(container, options) {
|
|
58
|
-
this.map = new L.Map(container, {
|
|
59
|
-
center: options.latitude && options.longitude ? L.latLng(options.latitude, options.longitude) : L.latLng(40.731253, -73.996139),
|
|
60
|
-
zoom: options.zoom,
|
|
61
|
-
attributionControl: false,
|
|
62
|
-
minZoom: options.minZoom,
|
|
63
|
-
maxZoom: options.maxZoom
|
|
64
|
-
});
|
|
65
|
-
L.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png", {
|
|
66
|
-
maxZoom: options.maxZoom
|
|
67
|
-
}).addTo(this.map);
|
|
68
|
-
if (options.hasCoordTracker) {
|
|
69
|
-
this.addCoordTracker();
|
|
70
|
-
}
|
|
71
|
-
if (options.hasNavigation) {
|
|
72
|
-
this.addDrawControl(options);
|
|
73
|
-
}
|
|
74
|
-
this.map.whenReady((_e) => {
|
|
75
|
-
var _a;
|
|
76
|
-
this.isMapReady = true;
|
|
77
|
-
if (options.initialValue && "lat" in options.initialValue && "lng" in options.initialValue) {
|
|
78
|
-
L.marker(options.initialValue, {
|
|
79
|
-
icon: L.icon({
|
|
80
|
-
iconUrl: "https://unpkg.com/leaflet@1.9.4/dist/images/marker-icon.png",
|
|
81
|
-
iconAnchor: [15, 40],
|
|
82
|
-
shadowUrl: "https://unpkg.com/leaflet@1.9.4/dist/images/marker-shadow.png"
|
|
83
|
-
})
|
|
84
|
-
}).addTo(this.editableLayers);
|
|
85
|
-
this.map.setView(options.initialValue, 5);
|
|
86
|
-
return;
|
|
87
|
-
}
|
|
88
|
-
if (options.initialValue && (((_a = options.initialValue) == null ? void 0 : _a.length) > 0 || "getNorthEast" in options.initialValue)) {
|
|
89
|
-
L.rectangle(options.initialValue, {
|
|
90
|
-
stroke: true,
|
|
91
|
-
color: "#3388ff",
|
|
92
|
-
weight: 4,
|
|
93
|
-
opacity: 0.5,
|
|
94
|
-
fill: true,
|
|
95
|
-
fillOpacity: 0.2
|
|
96
|
-
}).addTo(this.editableLayers);
|
|
97
|
-
this.map.fitBounds(options.initialValue);
|
|
98
|
-
}
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
addCoordTracker() {
|
|
102
|
-
const CoordTracker = L.Control.extend({
|
|
103
|
-
options: {
|
|
104
|
-
position: "bottomleft",
|
|
105
|
-
title: "Mouse Position",
|
|
106
|
-
exclude: [],
|
|
107
|
-
include: []
|
|
108
|
-
},
|
|
109
|
-
onAdd: function(map) {
|
|
110
|
-
this.div = L.DomUtil.create(
|
|
111
|
-
"div",
|
|
112
|
-
"leaflet-mouse-position-container leaflet-bar"
|
|
113
|
-
);
|
|
114
|
-
this.p = L.DomUtil.create(
|
|
115
|
-
"p",
|
|
116
|
-
"leaflet-mouse-position-text",
|
|
117
|
-
this.div
|
|
118
|
-
);
|
|
119
|
-
let content = "lat: 0, lng: 0";
|
|
120
|
-
this.p.innerHTML = content;
|
|
121
|
-
L.DomEvent.addListener(map, "mousemove", this._onChange, this);
|
|
122
|
-
return this.div;
|
|
123
|
-
},
|
|
124
|
-
_onChange: function(e) {
|
|
125
|
-
this.p.innerHTML = `lat: ${Math.round(
|
|
126
|
-
e.latlng.lat
|
|
127
|
-
)}, lng: ${Math.round(e.latlng.lng)}`;
|
|
128
|
-
}
|
|
129
|
-
});
|
|
130
|
-
const coordTracker = new CoordTracker();
|
|
131
|
-
coordTracker.addTo(this.map);
|
|
132
|
-
}
|
|
133
|
-
addDrawControl(options) {
|
|
134
|
-
this.editableLayers = new L.FeatureGroup();
|
|
135
|
-
this.editableLayers.addTo(this.map);
|
|
136
|
-
let drawControl = new L.Control.Draw({
|
|
137
|
-
position: "topleft",
|
|
138
|
-
draw: {
|
|
139
|
-
polyline: false,
|
|
140
|
-
polygon: false,
|
|
141
|
-
circle: false,
|
|
142
|
-
// Turns off this drawing tool
|
|
143
|
-
circlemarker: false,
|
|
144
|
-
rectangle: (options == null ? void 0 : options.hideBoundingBoxDrawTool) ? false : {},
|
|
145
|
-
marker: (options == null ? void 0 : options.hidePointSelectionDrawTool) ? false : {
|
|
146
|
-
icon: L.icon({
|
|
147
|
-
iconUrl: "https://unpkg.com/leaflet@1.9.4/dist/images/marker-icon.png",
|
|
148
|
-
iconAnchor: [15, 40],
|
|
149
|
-
shadowUrl: "https://unpkg.com/leaflet@1.9.4/dist/images/marker-shadow.png"
|
|
150
|
-
})
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
edit: {
|
|
154
|
-
featureGroup: this.editableLayers
|
|
155
|
-
//REQUIRED!!
|
|
156
|
-
}
|
|
157
|
-
});
|
|
158
|
-
this.map.addControl(drawControl);
|
|
159
|
-
this.map.on("draw:created", (event) => {
|
|
160
|
-
this.editableLayers.clearLayers();
|
|
161
|
-
const { layer, layerType } = event;
|
|
162
|
-
this.editableLayers.addLayer(layer);
|
|
163
|
-
const detail = __spreadValues(__spreadValues({
|
|
164
|
-
geoJson: layer.toGeoJSON()
|
|
165
|
-
}, layerType === "rectangle" && { bounds: layer.getBounds() }), layerType === "marker" && { latLng: layer._latlng });
|
|
166
|
-
this.dispatch("draw", detail);
|
|
167
|
-
});
|
|
168
|
-
this.map.on("draw:edited", (event) => {
|
|
169
|
-
const { layer, layerType } = event;
|
|
170
|
-
const detail = __spreadValues(__spreadValues({
|
|
171
|
-
geoJson: layer.toGeoJSON()
|
|
172
|
-
}, layerType === "rectangle" && { bounds: layer.getBounds() }), layerType === "marker" && { latLng: layer._latlng });
|
|
173
|
-
this.dispatch("draw", detail);
|
|
174
|
-
});
|
|
175
|
-
this.map.on("draw:deleted", (_event) => {
|
|
176
|
-
this.editableLayers.clearLayers();
|
|
177
|
-
this.dispatch("clear");
|
|
178
|
-
});
|
|
179
|
-
}
|
|
180
|
-
on(eventName, callback) {
|
|
181
|
-
this.listeners.push({
|
|
182
|
-
eventName,
|
|
183
|
-
callback
|
|
184
|
-
});
|
|
185
|
-
}
|
|
186
|
-
dispatch(eventName, detail = null) {
|
|
187
|
-
const eventTriggered = this.listeners.filter(
|
|
188
|
-
(listener) => listener.eventName === eventName
|
|
189
|
-
);
|
|
190
|
-
eventTriggered.forEach((listener) => {
|
|
191
|
-
listener.callback(detail);
|
|
192
|
-
});
|
|
193
|
-
}
|
|
194
|
-
transformShapeData(data) {
|
|
195
|
-
const shapes = data.shapes;
|
|
196
|
-
const shapefileID = data.shapefileID;
|
|
197
|
-
const transformedShapes = Object.keys(shapes).map((key) => {
|
|
198
|
-
const shape = shapes[key];
|
|
199
|
-
let name;
|
|
200
|
-
if (shapefileID === "lakes") {
|
|
201
|
-
name = shape.values[2];
|
|
202
|
-
} else if (shapefileID === "gpmLandMask" || shapefileID === "gpmSeaMask") {
|
|
203
|
-
name = shape.values.find(
|
|
204
|
-
(value) => typeof value === "string" && value.includes("deg")
|
|
205
|
-
);
|
|
206
|
-
} else if (shapefileID === "state_dept_countries_2017" || shapefileID === "world_regions" || shapefileID === "major_world_basins") {
|
|
207
|
-
name = shape.values[1];
|
|
208
|
-
} else if (shapefileID === "tl_2014_us_state") {
|
|
209
|
-
name = shape.values[6];
|
|
210
|
-
}
|
|
211
|
-
return {
|
|
212
|
-
name,
|
|
213
|
-
[data.uniqueShapeIDField]: key,
|
|
214
|
-
shapefileID
|
|
215
|
-
};
|
|
216
|
-
});
|
|
217
|
-
return transformedShapes;
|
|
218
|
-
}
|
|
219
|
-
async handleShapeSelect(event) {
|
|
220
|
-
var _a;
|
|
221
|
-
event.preventDefault();
|
|
222
|
-
const selectedShape = event.target.value;
|
|
223
|
-
if (!selectedShape)
|
|
224
|
-
return;
|
|
225
|
-
const shapeGeoJson = await this.geoJsonRepository.getGeoJson(selectedShape);
|
|
226
|
-
if ((_a = this.selectedGeoJson) == null ? void 0 : _a.hasLayer) {
|
|
227
|
-
this.selectedGeoJson.remove();
|
|
228
|
-
}
|
|
229
|
-
this.selectedGeoJson = L.geoJson(shapeGeoJson.features).addTo(
|
|
230
|
-
this.editableLayers
|
|
231
|
-
);
|
|
232
|
-
this.map.fitBounds(this.selectedGeoJson.getBounds());
|
|
233
|
-
this.dispatch("draw", {
|
|
234
|
-
geoJson: this.selectedGeoJson.toGeoJSON(),
|
|
235
|
-
bounds: this.selectedGeoJson.getBounds()
|
|
236
|
-
});
|
|
237
|
-
}
|
|
238
|
-
drawRectangle(bounds) {
|
|
239
|
-
this.clearLayers();
|
|
240
|
-
L.rectangle(bounds, {
|
|
241
|
-
stroke: true,
|
|
242
|
-
color: "#3388ff",
|
|
243
|
-
weight: 4,
|
|
244
|
-
opacity: 0.5,
|
|
245
|
-
fill: true,
|
|
246
|
-
fillOpacity: 0.2
|
|
247
|
-
}).addTo(this.editableLayers);
|
|
248
|
-
}
|
|
249
|
-
setValue(value) {
|
|
250
|
-
if (this.isMapReady) {
|
|
251
|
-
this.drawRectangle(value);
|
|
252
|
-
this.map.fitBounds(value);
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
clearLayers() {
|
|
256
|
-
this.editableLayers.clearLayers();
|
|
257
|
-
}
|
|
258
|
-
};
|
|
259
|
-
|
|
260
|
-
export {
|
|
261
|
-
parseBoundingBox,
|
|
262
|
-
StringifyBoundingBox,
|
|
263
|
-
Leaflet
|
|
264
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
TerraVariableKeywordSearch
|
|
3
|
-
} from "./chunk.OVUWZWWN.js";
|
|
4
|
-
|
|
5
|
-
// src/components/variable-keyword-search/variable-keyword-search.ts
|
|
6
|
-
var variable_keyword_search_default = TerraVariableKeywordSearch;
|
|
7
|
-
TerraVariableKeywordSearch.define("terra-variable-keyword-search");
|
|
8
|
-
|
|
9
|
-
export {
|
|
10
|
-
variable_keyword_search_default
|
|
11
|
-
};
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
plot_styles_default
|
|
3
|
-
} from "./chunk.SGFD3ORP.js";
|
|
4
|
-
import {
|
|
5
|
-
watch
|
|
6
|
-
} from "./chunk.DTUHBE3U.js";
|
|
7
|
-
import {
|
|
8
|
-
TerraElement,
|
|
9
|
-
component_styles_default
|
|
10
|
-
} from "./chunk.O6SXSDFR.js";
|
|
11
|
-
import {
|
|
12
|
-
__decorateClass,
|
|
13
|
-
__privateAdd,
|
|
14
|
-
__privateGet,
|
|
15
|
-
__privateMethod,
|
|
16
|
-
__privateSet,
|
|
17
|
-
__spreadValues
|
|
18
|
-
} from "./chunk.TVFCHGU3.js";
|
|
19
|
-
|
|
20
|
-
// src/components/plot/plot.component.ts
|
|
21
|
-
import { property, query } from "lit/decorators.js";
|
|
22
|
-
import { html } from "lit";
|
|
23
|
-
import {
|
|
24
|
-
newPlot,
|
|
25
|
-
Plots
|
|
26
|
-
} from "plotly.js-dist-min";
|
|
27
|
-
var _resizeObserver, _handlePlotlyRelayout, handlePlotlyRelayout_fn;
|
|
28
|
-
var TerraPlot = class extends TerraElement {
|
|
29
|
-
constructor() {
|
|
30
|
-
super(...arguments);
|
|
31
|
-
__privateAdd(this, _handlePlotlyRelayout);
|
|
32
|
-
__privateAdd(this, _resizeObserver, void 0);
|
|
33
|
-
this.layout = {};
|
|
34
|
-
this.config = {};
|
|
35
|
-
this.data = [];
|
|
36
|
-
}
|
|
37
|
-
handleDataChange() {
|
|
38
|
-
this.updatePlotWithData();
|
|
39
|
-
}
|
|
40
|
-
firstUpdated() {
|
|
41
|
-
__privateSet(this, _resizeObserver, new ResizeObserver(() => {
|
|
42
|
-
Plots.resize(this.base);
|
|
43
|
-
}));
|
|
44
|
-
__privateGet(this, _resizeObserver).observe(this.base);
|
|
45
|
-
if (this.data.length) {
|
|
46
|
-
this.updatePlotWithData();
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
disconnectedCallback() {
|
|
50
|
-
super.disconnectedCallback();
|
|
51
|
-
__privateGet(this, _resizeObserver).disconnect();
|
|
52
|
-
}
|
|
53
|
-
updatePlotWithData() {
|
|
54
|
-
if (!this.base) {
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
newPlot(
|
|
58
|
-
this.base,
|
|
59
|
-
this.data,
|
|
60
|
-
__spreadValues({
|
|
61
|
-
title: this.plotTitle
|
|
62
|
-
}, this.layout),
|
|
63
|
-
__spreadValues({ responsive: true }, this.config)
|
|
64
|
-
);
|
|
65
|
-
this.base.on("plotly_relayout", __privateMethod(this, _handlePlotlyRelayout, handlePlotlyRelayout_fn).bind(this));
|
|
66
|
-
}
|
|
67
|
-
render() {
|
|
68
|
-
return html`<div part="base"></div>`;
|
|
69
|
-
}
|
|
70
|
-
updated() {
|
|
71
|
-
var _a, _b;
|
|
72
|
-
(_b = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector(".gtitle")) == null ? void 0 : _b.part.add("plot-title");
|
|
73
|
-
}
|
|
74
|
-
};
|
|
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
|
-
};
|
|
86
|
-
TerraPlot.styles = [component_styles_default, plot_styles_default];
|
|
87
|
-
__decorateClass([
|
|
88
|
-
query('[part="base"]')
|
|
89
|
-
], TerraPlot.prototype, "base", 2);
|
|
90
|
-
__decorateClass([
|
|
91
|
-
property()
|
|
92
|
-
], TerraPlot.prototype, "plotTitle", 2);
|
|
93
|
-
__decorateClass([
|
|
94
|
-
property()
|
|
95
|
-
], TerraPlot.prototype, "layout", 2);
|
|
96
|
-
__decorateClass([
|
|
97
|
-
property()
|
|
98
|
-
], TerraPlot.prototype, "config", 2);
|
|
99
|
-
__decorateClass([
|
|
100
|
-
property({ type: Array })
|
|
101
|
-
], TerraPlot.prototype, "data", 2);
|
|
102
|
-
__decorateClass([
|
|
103
|
-
watch("data")
|
|
104
|
-
], TerraPlot.prototype, "handleDataChange", 1);
|
|
105
|
-
|
|
106
|
-
export {
|
|
107
|
-
TerraPlot
|
|
108
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
TerraDatePicker
|
|
3
|
-
} from "./chunk.UT5XKCBV.js";
|
|
4
|
-
|
|
5
|
-
// src/react/date-picker/index.ts
|
|
6
|
-
import * as React from "react";
|
|
7
|
-
import { createComponent } from "@lit/react";
|
|
8
|
-
var tagName = "terra-date-picker";
|
|
9
|
-
TerraDatePicker.define("terra-date-picker");
|
|
10
|
-
var reactWrapper = createComponent({
|
|
11
|
-
tagName,
|
|
12
|
-
elementClass: TerraDatePicker,
|
|
13
|
-
react: React,
|
|
14
|
-
events: {},
|
|
15
|
-
displayName: "TerraDatePicker"
|
|
16
|
-
});
|
|
17
|
-
var date_picker_default = reactWrapper;
|
|
18
|
-
|
|
19
|
-
export {
|
|
20
|
-
date_picker_default
|
|
21
|
-
};
|