@nasa-terra/components 0.0.68 → 0.0.70
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.H4KNN2HU.js → chunk.2WFZJ4YK.js} +1 -1
- package/cdn/chunks/{chunk.2UTYN7TH.js → chunk.2WHZLDCD.js} +1 -1
- package/cdn/chunks/{chunk.563FCLVE.js → chunk.3MKUPLF4.js} +1 -1
- package/cdn/chunks/{chunk.LZSKCTIU.js → chunk.3SQ33WJL.js} +6 -6
- package/cdn/chunks/{chunk.QI3YAMIR.js → chunk.434ZMZIJ.js} +1 -1
- package/cdn/chunks/{chunk.UKT47BLY.js → chunk.45SQ5ZRA.js} +2 -2
- package/cdn/chunks/{chunk.7MLJ7J6F.js → chunk.4QHHYULU.js} +1 -1
- package/cdn/chunks/{chunk.KFMZHBMX.js → chunk.4SSFOLSV.js} +1 -1
- package/cdn/chunks/{chunk.YQRTSELX.js → chunk.5BBHGXPR.js} +1 -1
- package/cdn/chunks/{chunk.LF2YS25X.js → chunk.5NFXND6A.js} +5 -5
- package/cdn/chunks/{chunk.FT6FCCXU.js → chunk.5Z472ENR.js} +16 -10
- package/cdn/chunks/{chunk.A5QNIXR4.js → chunk.6ZSJMUE4.js} +1 -1
- package/cdn/chunks/{chunk.TJWGQR3Y.js → chunk.7PNL32DN.js} +2 -2
- package/cdn/chunks/{chunk.5KFA2A5F.js → chunk.7Q4AHKKQ.js} +1 -1
- package/cdn/chunks/{chunk.LF5NNQDS.js → chunk.ACBDKAEJ.js} +1 -1
- package/cdn/chunks/{chunk.ZBRNWBWX.js → chunk.AJXMQFLR.js} +1 -1
- package/cdn/chunks/{chunk.RF7RG72G.js → chunk.AMBEUY7L.js} +1 -1
- package/cdn/chunks/{chunk.BLILGPHT.js → chunk.ANFKIG4L.js} +4 -4
- package/cdn/chunks/{chunk.ZZMMULOM.js → chunk.BPNH4HSY.js} +1 -1
- package/cdn/chunks/{chunk.F26HLQPA.js → chunk.BXG2SQ32.js} +4 -4
- package/cdn/chunks/{chunk.42OJJSTJ.js → chunk.C25JWNVO.js} +10 -10
- package/cdn/chunks/{chunk.YMKCGXI7.js → chunk.CHDFG7FH.js} +1 -1
- package/cdn/chunks/{chunk.XKNIRUTP.js → chunk.DAKOGE6D.js} +1 -1
- package/cdn/chunks/{chunk.UHOMZS5K.js → chunk.DAU4AGDN.js} +11 -11
- package/cdn/chunks/{chunk.J5OQO7FQ.js → chunk.DPYGJ4HT.js} +1 -1
- package/cdn/chunks/{chunk.SJHEJ7W7.js → chunk.DZT3WHRZ.js} +1 -1
- package/cdn/chunks/{chunk.SJYXIRDX.js → chunk.EBJPRRVX.js} +1 -1
- package/cdn/chunks/{chunk.2O6ZLP2H.js → chunk.EPXNYSMJ.js} +1 -1
- package/cdn/chunks/{chunk.QVPRK545.js → chunk.ETHIRGQV.js} +2 -2
- package/cdn/chunks/{chunk.BDUFTI77.js → chunk.FCVG6J6Y.js} +1 -1
- package/cdn/chunks/{chunk.ZNKT2Q6X.js → chunk.FF4SD2Y7.js} +2 -2
- package/cdn/chunks/{chunk.SI75QZHB.js → chunk.FW2LALSP.js} +1 -0
- package/cdn/chunks/{chunk.ELVU6MXJ.js → chunk.FXK2VLQ3.js} +1 -1
- package/cdn/chunks/{chunk.JIGZ6E5V.js → chunk.GJDFVNDD.js} +1 -1
- package/cdn/chunks/{chunk.YNJENG4F.js → chunk.GMPUGV5Z.js} +1 -1
- package/cdn/chunks/{chunk.VGHXDEZO.js → chunk.GZQTAMKA.js} +1 -1
- package/cdn/chunks/{chunk.BXZG34AL.js → chunk.HOLW6ORS.js} +1 -1
- package/cdn/chunks/{chunk.LRHEF6JN.js → chunk.HXZB6F2D.js} +1 -1
- package/cdn/chunks/{chunk.6WGBX3KH.js → chunk.I4U7LBVH.js} +4 -0
- package/cdn/chunks/{chunk.I2VFSA6U.js → chunk.IGQIOKS5.js} +1 -1
- package/cdn/chunks/{chunk.7OS7YKP4.js → chunk.IWZ6RHSC.js} +1 -1
- package/cdn/chunks/{chunk.DKQUCHXW.js → chunk.KRVXHAE6.js} +1 -1
- package/cdn/chunks/{chunk.UO6SHH3I.js → chunk.KWCJSARF.js} +1 -1
- package/cdn/chunks/{chunk.PX3KFYMT.js → chunk.L6X5ZN3P.js} +1 -1
- package/cdn/chunks/{chunk.RJR6I3VL.js → chunk.LIWVUO7X.js} +1 -1
- package/cdn/chunks/{chunk.37HJNI4K.js → chunk.LMVBU7NG.js} +6 -6
- package/cdn/chunks/{chunk.MN7UEWGN.js → chunk.LV6RAXF4.js} +1 -1
- package/cdn/chunks/{chunk.VYDVYEG6.js → chunk.M7LZAAZJ.js} +1 -1
- package/cdn/chunks/{chunk.HMS35ZFE.js → chunk.MUYS3VLW.js} +1 -1
- package/cdn/chunks/{chunk.SX6OLRTC.js → chunk.N6EF47Z2.js} +7 -7
- package/cdn/chunks/{chunk.SLDPYP3J.js → chunk.O7IPEJ54.js} +1 -1
- package/cdn/chunks/{chunk.UA57XIMB.js → chunk.OOHR4TW4.js} +1 -1
- package/cdn/chunks/{chunk.7TSM56FT.js → chunk.PHHOJXCQ.js} +1 -1
- package/cdn/chunks/{chunk.HVXUUXZ7.js → chunk.PMOA7X7P.js} +1 -1
- package/cdn/chunks/{chunk.VDOKMZL7.js → chunk.PPFOMTP4.js} +5 -5
- package/cdn/chunks/{chunk.UMT2LQ4W.js → chunk.Q662546B.js} +1 -1
- package/cdn/chunks/{chunk.3NBSKUOT.js → chunk.QAG6I662.js} +1 -1
- package/cdn/chunks/{chunk.MB27YSID.js → chunk.QDKQRM3V.js} +1 -1
- package/cdn/chunks/{chunk.EPQBAMGN.js → chunk.RCSL3RDS.js} +1 -1
- package/cdn/chunks/{chunk.ZAROXC53.js → chunk.RMCTMLUV.js} +1 -1
- package/cdn/chunks/{chunk.XQNQJ73Y.js → chunk.SKAEJWMQ.js} +14 -8
- package/cdn/chunks/{chunk.Z3FCGMJE.js → chunk.SPDBOAID.js} +1 -1
- package/cdn/chunks/{chunk.Z5SQ4THO.js → chunk.TFVQXENN.js} +1 -1
- package/cdn/chunks/{chunk.4RM2EJEW.js → chunk.TPDLT6KX.js} +1 -1
- package/cdn/chunks/{chunk.UEDKVSIH.js → chunk.U3SI7BZG.js} +1 -1
- package/cdn/chunks/{chunk.NT4JROIJ.js → chunk.W72QCKOL.js} +1 -1
- package/cdn/chunks/{chunk.WXFIXIOS.js → chunk.WCWJN5TS.js} +1 -1
- package/cdn/chunks/{chunk.T33FEXFP.js → chunk.XKOH5LZH.js} +9 -9
- package/cdn/chunks/{chunk.TU7POBNP.js → chunk.XR5EZIHP.js} +1 -1
- package/cdn/chunks/{chunk.DLTRS5SJ.js → chunk.XRCYQOPU.js} +1 -1
- package/cdn/chunks/{chunk.HP52P3QK.js → chunk.Y2233AUK.js} +1 -1
- package/cdn/chunks/{chunk.267X6M4K.js → chunk.Y2236WNB.js} +1 -1
- package/cdn/chunks/{chunk.CGIR4OSR.js → chunk.YH6I4G2U.js} +1 -1
- package/cdn/chunks/{chunk.PDAOAQE4.js → chunk.YSMZ5CBN.js} +5 -5
- package/cdn/chunks/{chunk.F6FOZL2X.js → chunk.YVJZM6EF.js} +1 -1
- package/cdn/chunks/{chunk.5IYUIO2L.js → chunk.YWETTYS3.js} +1 -1
- package/cdn/chunks/{chunk.VUJ26IHB.js → chunk.ZFPN2IZL.js} +1 -1
- package/cdn/chunks/{chunk.U7VIR3OC.js → chunk.ZNUZD6AE.js} +5 -5
- package/cdn/chunks/{chunk.6YSGUTCT.js → chunk.ZOOWK3YX.js} +1 -1
- package/cdn/components/accordion/accordion.component.js +4 -4
- package/cdn/components/accordion/accordion.js +5 -5
- 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 +16 -16
- package/cdn/components/browse-variables/browse-variables.js +17 -17
- package/cdn/components/browse-variables/browse-variables.styles.js +1 -1
- 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 +26 -26
- package/cdn/components/data-rods/data-rods.js +27 -27
- package/cdn/components/data-subsetter/data-subsetter.component.js +19 -19
- package/cdn/components/data-subsetter/data-subsetter.js +20 -20
- package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +21 -21
- package/cdn/components/data-subsetter-history/data-subsetter-history.js +22 -22
- 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 +12 -12
- package/cdn/components/login/login.js +13 -13
- package/cdn/components/map/map.component.js +4 -4
- package/cdn/components/map/map.js +5 -5
- package/cdn/components/plot/plot.component.js +2 -2
- package/cdn/components/plot/plot.js +3 -3
- package/cdn/components/plot-toolbar/plot-toolbar.component.js +9 -9
- package/cdn/components/plot-toolbar/plot-toolbar.js +10 -10
- package/cdn/components/plot-toolbar/plot-toolbar.styles.js +1 -1
- 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 +11 -11
- package/cdn/components/time-average-map/time-average-map.js +12 -12
- package/cdn/components/time-series/time-series.component.js +15 -15
- package/cdn/components/time-series/time-series.js +16 -16
- package/cdn/components/variable-combobox/lib.js +3 -3
- package/cdn/components/variable-combobox/variable-combobox.component.js +14 -14
- package/cdn/components/variable-combobox/variable-combobox.controller.js +4 -4
- package/cdn/components/variable-combobox/variable-combobox.js +15 -15
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +11 -11
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +12 -12
- package/cdn/custom-elements.json +1545 -1545
- package/cdn/react/accordion/index.js +5 -5
- package/cdn/react/alert/index.js +4 -4
- package/cdn/react/browse-variables/index.js +17 -17
- 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 +27 -27
- package/cdn/react/data-subsetter/index.js +20 -20
- package/cdn/react/data-subsetter-history/index.js +22 -22
- 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 +83 -83
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +13 -13
- package/cdn/react/map/index.js +5 -5
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/plot-toolbar/index.js +10 -10
- 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 +12 -12
- package/cdn/react/time-series/index.js +16 -16
- package/cdn/react/variable-combobox/index.js +15 -15
- package/cdn/react/variable-keyword-search/index.js +12 -12
- package/cdn/terra-ui-components.js +68 -68
- package/cdn/types/vue/index.d.ts +178 -178
- package/cdn/utilities/animation.js +4 -4
- package/cdn/vscode.html-custom-data.json +160 -160
- package/cdn/web-types.json +341 -341
- package/dist/chunks/{chunk.Y7ZED6A4.js → chunk.23INKSFJ.js} +1 -1
- package/{cdn/chunks/chunk.642Z3X7N.js → dist/chunks/chunk.2AXLMUON.js} +1 -1
- package/dist/chunks/{chunk.42V23REY.js → chunk.2OJQCTT4.js} +1 -1
- package/{cdn/chunks/chunk.3XJ5QNGT.js → dist/chunks/chunk.3DANPYLE.js} +1 -1
- package/{cdn/chunks/chunk.SWDQJJ7Q.js → dist/chunks/chunk.3EIIIEBO.js} +1 -1
- package/dist/chunks/{chunk.5QKVNNUH.js → chunk.3GP47DOD.js} +5 -5
- package/{cdn/chunks/chunk.X7MVYC7B.js → dist/chunks/chunk.3H36EIIV.js} +1 -1
- package/{cdn/chunks/chunk.2LGINANI.js → dist/chunks/chunk.3PXIPSUU.js} +1 -1
- package/{cdn/chunks/chunk.H73IKOBV.js → dist/chunks/chunk.473LFLSV.js} +1 -1
- package/dist/chunks/{chunk.IJC2KB5R.js → chunk.4UYHJEGL.js} +1 -1
- package/{cdn/chunks/chunk.2GEN6UCO.js → dist/chunks/chunk.55L4GMAR.js} +1 -1
- package/{cdn/chunks/chunk.NMWP5DQX.js → dist/chunks/chunk.5N32RZTN.js} +4 -0
- package/dist/chunks/{chunk.IFHDVWGZ.js → chunk.7T2PWEG7.js} +4 -4
- package/dist/chunks/{chunk.4EIGF3E4.js → chunk.BT7HZITT.js} +3 -3
- package/dist/chunks/{chunk.GUYBX63F.js → chunk.BUPXRQTN.js} +1 -1
- package/{cdn/chunks/chunk.QHY2BYL4.js → dist/chunks/chunk.CAWBE3ID.js} +1 -1
- package/{cdn/chunks/chunk.OX5IY75Y.js → dist/chunks/chunk.CEGLHCJL.js} +1 -1
- package/dist/chunks/{chunk.A7GHUUVY.js → chunk.CRVWSOC3.js} +1 -1
- package/{cdn/chunks/chunk.RDID3JKQ.js → dist/chunks/chunk.CUJEYDDR.js} +1 -1
- package/dist/chunks/{chunk.H2UQBMCX.js → chunk.D6XRZZNX.js} +1 -1
- package/dist/chunks/{chunk.PAJVTERU.js → chunk.DEVF76GZ.js} +1 -1
- package/dist/chunks/{chunk.HUX2RF6U.js → chunk.EVY4PDPB.js} +1 -1
- package/{cdn/chunks/chunk.MFI2M54Y.js → dist/chunks/chunk.F4WGY22Q.js} +2 -2
- package/dist/chunks/{chunk.MKU7QBFN.js → chunk.FG5VSTFE.js} +1 -1
- package/{cdn/chunks/chunk.JHEFOGNL.js → dist/chunks/chunk.FHTIQUEB.js} +1 -1
- package/{cdn/chunks/chunk.OVUWZWWN.js → dist/chunks/chunk.FMJSUEG3.js} +3 -3
- package/dist/chunks/{chunk.BRVCFRLF.js → chunk.FTQO3D65.js} +1 -1
- package/dist/chunks/{chunk.L7RNO3FR.js → chunk.FYQO4356.js} +1 -1
- package/{cdn/chunks/chunk.PA5O6555.js → dist/chunks/chunk.G6TYACLN.js} +1 -1
- package/dist/chunks/{chunk.2WYXDPGS.js → chunk.GA5VAPJI.js} +1 -1
- package/{cdn/chunks/chunk.RVH4PSND.js → dist/chunks/chunk.GRSOJ3Q6.js} +7 -7
- package/dist/chunks/{chunk.4SUQPJ6R.js → chunk.H5GEKZO4.js} +1 -1
- package/dist/chunks/{chunk.4E55SLUR.js → chunk.H7O4NESU.js} +1 -1
- package/dist/chunks/{chunk.TJGA66AX.js → chunk.HFTFWFL4.js} +1 -1
- package/{cdn/chunks/chunk.FNTPKP6P.js → dist/chunks/chunk.HGEIDCX4.js} +13 -7
- package/dist/chunks/{chunk.B6JXOXP5.js → chunk.HQNHHTML.js} +11 -11
- package/dist/chunks/{chunk.JOTLSXEI.js → chunk.JBEBN2Z7.js} +1 -1
- package/dist/chunks/{chunk.FF3EIVF2.js → chunk.JCBBFMT5.js} +1 -1
- package/dist/chunks/{chunk.2AIVKD54.js → chunk.JPLXQFI6.js} +1 -1
- package/dist/chunks/{chunk.UDCRU3NE.js → chunk.LF4UTFWZ.js} +1 -1
- package/{cdn/chunks/chunk.AU4MMC6N.js → dist/chunks/chunk.LHBOSLIV.js} +1 -1
- package/{cdn/chunks/chunk.L2M2AJ4W.js → dist/chunks/chunk.LUKO7VNJ.js} +1 -1
- package/{cdn/chunks/chunk.64ARWPHU.js → dist/chunks/chunk.LUVNNHPF.js} +1 -1
- package/{cdn/chunks/chunk.URKW2CME.js → dist/chunks/chunk.LYBAFUZY.js} +1 -1
- package/dist/chunks/{chunk.NLADA7XK.js → chunk.MNI77FKC.js} +1 -1
- package/dist/chunks/{chunk.3H5ZUQL5.js → chunk.MOBX4QTJ.js} +19 -13
- package/{cdn/chunks/chunk.SRBWEFVT.js → dist/chunks/chunk.OC4NOBCM.js} +1 -1
- package/{cdn/chunks/chunk.ADFWUZLL.js → dist/chunks/chunk.OOHSWPAW.js} +1 -1
- package/dist/chunks/{chunk.GGRGK2NT.js → chunk.OTSFX2S5.js} +5 -5
- package/dist/chunks/{chunk.5TZQDEBJ.js → chunk.P2IS73WR.js} +1 -1
- package/dist/chunks/{chunk.VDCD52OC.js → chunk.P3FBN5JY.js} +5 -5
- package/{cdn/chunks/chunk.2OQZA3CW.js → dist/chunks/chunk.PPYCGJFA.js} +1 -1
- package/{cdn/chunks/chunk.ERXCYNDC.js → dist/chunks/chunk.PS6326TY.js} +1 -1
- package/dist/chunks/{chunk.TSIWRLNC.js → chunk.PWF75NG2.js} +1 -1
- package/dist/chunks/{chunk.MEMNTMV2.js → chunk.PZG646DW.js} +2 -2
- package/dist/chunks/{chunk.YMHBYV33.js → chunk.Q4LDYVNX.js} +7 -7
- package/dist/chunks/{chunk.2BW4SOWQ.js → chunk.QJF6XK24.js} +1 -1
- package/{cdn/chunks/chunk.YIP3L3SE.js → dist/chunks/chunk.QSQLX5JZ.js} +1 -1
- package/{cdn/chunks/chunk.MGM5E2VQ.js → dist/chunks/chunk.QSZWARPH.js} +1 -0
- package/{cdn/chunks/chunk.EBJUC35J.js → dist/chunks/chunk.QU3SPPEN.js} +1 -1
- package/dist/chunks/{chunk.LQOZT7TL.js → chunk.RCHOXMXM.js} +5 -5
- package/dist/chunks/{chunk.GQRGC6YW.js → chunk.SDLNSJG7.js} +1 -1
- package/dist/chunks/{chunk.NQYUJ7FK.js → chunk.SYEMT7HF.js} +1 -1
- package/{cdn/chunks/chunk.QNNEWLT7.js → dist/chunks/chunk.TBNZFMSN.js} +1 -1
- package/{cdn/chunks/chunk.WXZHDVQ3.js → dist/chunks/chunk.TPNASPDO.js} +1 -1
- package/{cdn/chunks/chunk.YP5DVLJS.js → dist/chunks/chunk.U2G57JPG.js} +1 -1
- package/dist/chunks/{chunk.GL5HOXON.js → chunk.U4L2ZGZ6.js} +1 -1
- package/{cdn/chunks/chunk.OBANVLY7.js → dist/chunks/chunk.UZIW6LCZ.js} +1 -1
- package/dist/chunks/{chunk.JOFHFGQP.js → chunk.VMAYX34V.js} +4 -4
- package/{cdn/chunks/chunk.RJUTQBOV.js → dist/chunks/chunk.VTVEOZUU.js} +1 -1
- package/{cdn/chunks/chunk.PRQ5P3TK.js → dist/chunks/chunk.WN44ZFHI.js} +1 -1
- package/{cdn/chunks/chunk.P6OOV5UQ.js → dist/chunks/chunk.XLRXXKAZ.js} +1 -1
- package/{cdn/chunks/chunk.OY5R7EVO.js → dist/chunks/chunk.Y2BFSZBV.js} +1 -1
- package/{cdn/chunks/chunk.CA2ZDE2M.js → dist/chunks/chunk.YX4R74XQ.js} +1 -1
- package/{cdn/chunks/chunk.RBVJJWF4.js → dist/chunks/chunk.ZTWICGDA.js} +1 -1
- package/dist/chunks/{chunk.4WKVINLB.js → chunk.ZXLBHUDY.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 +12 -12
- package/dist/components/browse-variables/browse-variables.js +13 -13
- package/dist/components/browse-variables/browse-variables.styles.js +1 -1
- 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 +20 -20
- package/dist/components/data-rods/data-rods.js +21 -21
- package/dist/components/data-subsetter/data-subsetter.component.js +16 -16
- package/dist/components/data-subsetter/data-subsetter.js +17 -17
- package/dist/components/data-subsetter-history/data-subsetter-history.component.js +18 -18
- package/dist/components/data-subsetter-history/data-subsetter-history.js +19 -19
- 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 +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/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.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 +12 -12
- package/dist/components/time-series/time-series.js +13 -13
- 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 +1545 -1545
- package/dist/react/accordion/index.js +5 -5
- package/dist/react/alert/index.js +4 -4
- 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 +21 -21
- package/dist/react/data-subsetter/index.js +17 -17
- package/dist/react/data-subsetter-history/index.js +19 -19
- 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 +76 -76
- 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 +13 -13
- 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 +61 -61
- package/dist/{terra_ui_components-0.0.68-py3-none-any.whl → terra_ui_components-0.0.70-py3-none-any.whl} +0 -0
- package/dist/{terra_ui_components-0.0.68.tar.gz → terra_ui_components-0.0.70.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +178 -178
- package/dist/vscode.html-custom-data.json +160 -160
- package/dist/web-types.json +341 -341
- 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.AHGKSSSI.js +0 -185
- 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.MQOXBVDK.js +0 -58
- 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.MGM5E2VQ.js +0 -98
- package/dist/chunks/chunk.NDADYNAA.js +0 -11
- package/dist/chunks/chunk.NMWP5DQX.js +0 -259
- 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.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.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
|
@@ -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
|
-
};
|