@nasa-terra/components 0.0.28 → 0.0.30
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.NRZDN5FZ.js → chunk.2B5MWFZJ.js} +1 -1
- package/cdn/chunks/{chunk.KRV3QC6E.js → chunk.2IBDQF7X.js} +1 -1
- package/cdn/chunks/{chunk.VBURDFNR.js → chunk.2KO7WMDA.js} +1 -1
- package/cdn/chunks/{chunk.XFGEL6QK.js → chunk.2ZTQTPGQ.js} +1 -1
- package/cdn/chunks/chunk.567ZKY6U.js +11 -0
- package/cdn/chunks/{chunk.VVLMKALV.js → chunk.57KITL7R.js} +115 -21
- package/cdn/chunks/{chunk.BXU5Y5OZ.js → chunk.5YPKED3D.js} +1 -1
- package/cdn/chunks/{chunk.GNUHUURH.js → chunk.63W2KW34.js} +1 -1
- package/cdn/chunks/{chunk.HLB5FXXP.js → chunk.6RTRSHJT.js} +7 -7
- package/cdn/chunks/{chunk.QLA6P3MD.js → chunk.7F6COZGY.js} +1 -1
- package/cdn/chunks/{chunk.RYLLQ2FS.js → chunk.ABJ2K7TM.js} +1 -1
- package/cdn/chunks/{chunk.JU3ZZBBB.js → chunk.AX2SA27I.js} +1 -1
- package/{dist/chunks/chunk.KSPUBDVK.js → cdn/chunks/chunk.BJNWBPC2.js} +1 -1
- package/cdn/chunks/{chunk.VEENI5ZG.js → chunk.BWPJFRNN.js} +1 -1
- package/cdn/chunks/chunk.CEIZPS3F.js +14 -0
- package/{dist/chunks/chunk.45IIE366.js → cdn/chunks/chunk.DDGJ6BLG.js} +1 -1
- package/cdn/chunks/{chunk.FHRITYAX.js → chunk.EFOVA2JJ.js} +38 -38
- package/cdn/chunks/{chunk.WSIWHQE2.js → chunk.EKLIR3WI.js} +1 -1
- package/{dist/chunks/chunk.3XWMFIDR.js → cdn/chunks/chunk.F2MIC3AX.js} +1 -1
- package/cdn/chunks/{chunk.WS4QAZPT.js → chunk.GDSSJKN2.js} +4 -4
- package/cdn/chunks/{chunk.FTKIGK4N.js → chunk.GSG6MPDX.js} +1 -1
- package/cdn/chunks/{chunk.UY7CYM6H.js → chunk.HFMQVMLF.js} +4 -4
- package/cdn/chunks/chunk.HLNHG2BS.js +25 -0
- package/cdn/chunks/{chunk.EFB7PCTH.js → chunk.HXEZAY6X.js} +2 -2
- package/cdn/chunks/{chunk.7KRDHUCY.js → chunk.I6AG4GNV.js} +1 -1
- package/cdn/chunks/{chunk.FAICFDGD.js → chunk.JLUCY2KC.js} +1 -27
- package/cdn/chunks/{chunk.MJY6U2Q2.js → chunk.JXGOY6TG.js} +14 -6
- package/cdn/chunks/{chunk.BJPGEPX5.js → chunk.KFKV4IIY.js} +8 -8
- package/cdn/chunks/{chunk.ZVDBX7MJ.js → chunk.KJEKFNS4.js} +11 -11
- package/cdn/chunks/{chunk.QYO3IJOM.js → chunk.LCPNNUVW.js} +4 -4
- package/cdn/chunks/chunk.LLGXVXUH.js +571 -0
- package/cdn/chunks/{chunk.UC5RYUJR.js → chunk.LMBQZGKV.js} +1 -1
- package/cdn/chunks/{chunk.RFBPASU3.js → chunk.MJAGRW43.js} +1 -1
- package/{dist/chunks/chunk.W6BJQIXK.js → cdn/chunks/chunk.MMPYQ7JX.js} +1 -1
- package/{dist/chunks/chunk.RXW75JRD.js → cdn/chunks/chunk.MU5CIHVF.js} +1 -1
- package/cdn/chunks/{chunk.XDSEOAHX.js → chunk.N3DIGSJT.js} +1 -1
- package/{dist/chunks/chunk.RMRXPLYU.js → cdn/chunks/chunk.N4W3LSG4.js} +1 -1
- package/cdn/chunks/{chunk.WGDILZM6.js → chunk.NMJ34B6C.js} +3 -3
- package/cdn/chunks/{chunk.J5Z627YC.js → chunk.O7MMFKKX.js} +2 -2
- package/cdn/chunks/{chunk.EZSX4R2K.js → chunk.PRXO3ACA.js} +1 -1
- package/cdn/chunks/{chunk.YMXQL4JQ.js → chunk.PXFI6DWW.js} +1 -1
- package/{dist/chunks/chunk.QKNJPUV2.js → cdn/chunks/chunk.QALWOJYN.js} +1 -1
- package/cdn/chunks/chunk.QKFBOZ3A.js +21 -0
- package/cdn/chunks/{chunk.L7N5QVXS.js → chunk.RE7Y5324.js} +15 -22
- package/cdn/chunks/{chunk.SWEK2UAG.js → chunk.RU6G6JLS.js} +34 -4
- package/cdn/chunks/chunk.SBI2FAOG.js +11 -0
- package/cdn/chunks/{chunk.WD2DJJFP.js → chunk.SCFJOPPV.js} +1 -1
- package/cdn/chunks/{chunk.3HD7UWOY.js → chunk.SI3J4IDI.js} +1 -1
- package/{dist/chunks/chunk.UOEEUBBI.js → cdn/chunks/chunk.SSOHEVCW.js} +1 -1
- package/cdn/chunks/{chunk.XOS5IDL7.js → chunk.STX2OFFU.js} +1 -1
- package/cdn/chunks/{chunk.X6AXQLXY.js → chunk.SULSGF5G.js} +5 -5
- package/cdn/chunks/{chunk.CNP3J6CH.js → chunk.T6H2MZZI.js} +59 -19
- package/{dist/chunks/chunk.LNNN6HUD.js → cdn/chunks/chunk.TSLU66AK.js} +1 -1
- package/cdn/chunks/{chunk.7HMPNDZ7.js → chunk.TVLFTKMX.js} +102 -41
- package/cdn/chunks/{chunk.LUOLRKWX.js → chunk.U2IVCX3M.js} +4 -5
- package/cdn/chunks/chunk.UXTJ3UQP.js +3812 -0
- package/{dist/chunks/chunk.ZS6I6OXY.js → cdn/chunks/chunk.VJ4KDMYT.js} +1 -1
- package/cdn/chunks/{chunk.OZGXZ6SJ.js → chunk.VKEDPAJJ.js} +1 -1
- package/cdn/chunks/{chunk.BV73CHWI.js → chunk.X4S4SQKL.js} +1 -1
- package/{dist/chunks/chunk.PYASQ3KP.js → cdn/chunks/chunk.XHVCGLFU.js} +1 -1
- package/cdn/chunks/{chunk.NDS73VML.js → chunk.ZLX4LVIZ.js} +1 -1
- package/cdn/chunks/{chunk.TZXF56RJ.js → chunk.ZP7GOIAS.js} +1 -1
- package/cdn/chunks/{chunk.KUXDAFVJ.js → chunk.ZXJ4IGW5.js} +1 -1
- package/cdn/components/browse-variables/browse-variables.component.d.ts +5 -5
- package/cdn/components/browse-variables/browse-variables.component.js +17 -17
- package/cdn/components/browse-variables/browse-variables.js +18 -18
- package/cdn/components/browse-variables/browse-variables.types.d.ts +1 -0
- package/cdn/components/button/button.component.js +3 -3
- package/cdn/components/button/button.js +4 -4
- package/cdn/components/chip/chip.component.js +2 -2
- package/cdn/components/chip/chip.js +3 -3
- package/cdn/components/combobox/combobox.component.js +4 -4
- package/cdn/components/combobox/combobox.js +5 -5
- package/cdn/components/date-picker/date-picker.component.d.ts +39 -0
- package/cdn/components/date-picker/date-picker.component.js +12 -0
- package/cdn/components/date-picker/date-picker.d.ts +8 -0
- package/cdn/components/date-picker/date-picker.js +13 -0
- package/cdn/components/{giovanni-search/giovanni-search.styles.js → date-picker/date-picker.styles.js} +3 -3
- 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.d.ts +1 -3
- package/cdn/components/dialog/dialog.component.js +3 -3
- package/cdn/components/dialog/dialog.js +4 -4
- package/cdn/components/dialog/dialog.styles.js +1 -1
- package/cdn/components/icon/icon.component.js +4 -4
- package/cdn/components/icon/icon.js +5 -5
- package/cdn/components/icon/library.js +2 -2
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/login/login.component.js +11 -11
- package/cdn/components/login/login.js +12 -12
- package/cdn/components/map/map.component.js +3 -3
- package/cdn/components/map/map.js +4 -4
- package/cdn/components/plot/plot.component.js +3 -3
- package/cdn/components/plot/plot.js +4 -4
- package/cdn/components/plot/plot.styles.js +1 -1
- package/cdn/components/skeleton/skeleton.component.js +4 -4
- package/cdn/components/skeleton/skeleton.js +5 -5
- package/cdn/components/spatial-picker/spatial-picker.component.js +4 -4
- package/cdn/components/spatial-picker/spatial-picker.js +5 -5
- package/cdn/components/time-series/time-series.component.d.ts +17 -0
- package/cdn/components/time-series/time-series.component.js +27 -27
- package/cdn/components/time-series/time-series.controller.js +1 -1
- package/cdn/components/time-series/time-series.js +28 -28
- package/cdn/components/time-series/time-series.styles.js +1 -1
- package/cdn/components/variable-combobox/lib.d.ts +3 -2
- package/cdn/components/variable-combobox/lib.js +3 -1
- package/cdn/components/variable-combobox/variable-combobox.component.d.ts +15 -1
- package/cdn/components/variable-combobox/variable-combobox.component.js +13 -13
- package/cdn/components/variable-combobox/variable-combobox.controller.js +2 -2
- package/cdn/components/variable-combobox/variable-combobox.js +14 -14
- package/cdn/components/variable-combobox/variable-combobox.styles.js +1 -1
- package/cdn/components/variable-combobox/variable-combobox.types.d.ts +2 -0
- package/cdn/components/{giovanni-search → variable-keyword-search}/lib.d.ts +1 -1
- package/cdn/components/{giovanni-search → variable-keyword-search}/lib.js +1 -1
- package/{dist/components/giovanni-search/giovanni-search.component.d.ts → cdn/components/variable-keyword-search/variable-keyword-search.component.d.ts} +3 -3
- package/cdn/components/{giovanni-search/giovanni-search.component.js → variable-keyword-search/variable-keyword-search.component.js} +15 -15
- package/cdn/components/{giovanni-search/giovanni-search.controller.d.ts → variable-keyword-search/variable-keyword-search.controller.d.ts} +1 -1
- package/cdn/components/{giovanni-search/giovanni-search.controller.js → variable-keyword-search/variable-keyword-search.controller.js} +1 -1
- package/cdn/components/variable-keyword-search/variable-keyword-search.d.ts +8 -0
- package/cdn/components/{giovanni-search/giovanni-search.js → variable-keyword-search/variable-keyword-search.js} +16 -16
- package/cdn/components/variable-keyword-search/variable-keyword-search.styles.js +9 -0
- package/cdn/custom-elements.json +2498 -1992
- package/cdn/events/events.d.ts +1 -1
- package/cdn/events/terra-variable-keyword-search-change.d.ts +6 -0
- package/cdn/lib/dataset.d.ts +9 -0
- package/cdn/react/browse-variables/index.d.ts +1 -1
- package/cdn/react/browse-variables/index.js +18 -18
- package/cdn/react/button/index.js +4 -4
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +5 -5
- package/cdn/react/date-picker/index.d.ts +14 -0
- package/cdn/react/date-picker/index.js +13 -0
- package/cdn/react/date-range-slider/index.js +4 -4
- package/cdn/react/dialog/index.js +4 -4
- package/cdn/react/icon/index.js +5 -5
- package/cdn/react/index.d.ts +7 -6
- package/cdn/react/index.js +83 -77
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +12 -12
- package/cdn/react/map/index.js +4 -4
- package/cdn/react/plot/index.js +4 -4
- package/cdn/react/skeleton/index.js +5 -5
- package/cdn/react/spatial-picker/index.js +5 -5
- package/cdn/react/time-series/index.js +28 -28
- package/cdn/react/variable-combobox/index.js +14 -14
- package/{dist/react/giovanni-search → cdn/react/variable-keyword-search}/index.d.ts +5 -5
- package/cdn/react/{giovanni-search → variable-keyword-search}/index.js +16 -16
- package/cdn/terra-ui-components.d.ts +5 -4
- package/cdn/terra-ui-components.js +76 -70
- package/cdn/types/vue/index.d.ts +166 -95
- package/cdn/types.d.ts +7 -0
- package/cdn/utilities/animation.js +2 -2
- package/cdn/utilities/icon-library.js +2 -2
- package/cdn/vscode.html-custom-data.json +276 -216
- package/cdn/web-types.json +283 -150
- package/dist/chunks/{chunk.CMRBFBGC.js → chunk.2QTJHB7F.js} +1 -1
- package/dist/chunks/{chunk.XNA5WILN.js → chunk.2RGRL45T.js} +1 -1
- package/dist/chunks/{chunk.Z453VB2M.js → chunk.2WHOFNO7.js} +1 -1
- package/dist/chunks/{chunk.W7JRXR2Y.js → chunk.2YRBHDWM.js} +1 -1
- package/{cdn/chunks/chunk.G27NYAJE.js → dist/chunks/chunk.3IIDXU4S.js} +1 -1
- package/dist/chunks/{chunk.JBYILTM5.js → chunk.3J5TZOPP.js} +11 -11
- package/dist/chunks/{chunk.YITM63NC.js → chunk.3JQPZWUE.js} +1 -1
- package/dist/chunks/{chunk.LRQHWB6Z.js → chunk.3K3BQXON.js} +1 -1
- package/dist/chunks/{chunk.BAW62HAI.js → chunk.3SSCVJFM.js} +1 -1
- package/dist/chunks/{chunk.GHDRVO5M.js → chunk.5EHGVGXV.js} +59 -19
- package/dist/chunks/{chunk.RV2KFFXW.js → chunk.5LMWCV76.js} +14 -6
- package/dist/chunks/{chunk.CCDDGUFW.js → chunk.67EX34DL.js} +1 -27
- package/dist/chunks/{chunk.UDQPMSMV.js → chunk.6P4UBSKH.js} +4 -4
- package/dist/chunks/chunk.A3JXDHJG.js +11 -0
- package/dist/chunks/{chunk.KJQZP5RO.js → chunk.AUB6SKUI.js} +3 -3
- package/dist/chunks/{chunk.ODML5V7N.js → chunk.BCU2ZKJ4.js} +1 -1
- package/dist/chunks/{chunk.OVNPXBMH.js → chunk.BVCKNDN2.js} +1 -1
- package/{cdn/chunks/chunk.Z7X6Y5A2.js → dist/chunks/chunk.BXMFNRIQ.js} +1 -1
- package/dist/chunks/{chunk.SJ2EYIT4.js → chunk.CY76LRGV.js} +1 -1
- package/dist/chunks/chunk.DJICCDFZ.js +130 -0
- package/dist/chunks/chunk.DP5CSX6S.js +25 -0
- package/dist/chunks/{chunk.EGZMQ7T7.js → chunk.DW23TAF4.js} +1 -1
- package/dist/chunks/{chunk.2YTUB26Y.js → chunk.E5OMSMPR.js} +6 -6
- package/{cdn/chunks/chunk.H2D77WCA.js → dist/chunks/chunk.ED4EXVSJ.js} +1 -1
- package/{cdn/chunks/chunk.J6WSHQ5Q.js → dist/chunks/chunk.F5UDJENT.js} +1 -1
- package/dist/chunks/chunk.F7GS6U3O.js +21 -0
- package/dist/chunks/{chunk.ZE6TVUI6.js → chunk.FAIVIYKA.js} +2 -2
- package/dist/chunks/{chunk.AKUZJAAB.js → chunk.H6K7DI54.js} +1 -1
- package/dist/chunks/{chunk.QK5OWFVO.js → chunk.HJGC45MW.js} +34 -4
- package/{cdn/chunks/chunk.3UV7J4NS.js → dist/chunks/chunk.HRODIECS.js} +1 -1
- package/dist/chunks/{chunk.ZCE7WDGF.js → chunk.IPMALKFU.js} +1 -1
- package/dist/chunks/{chunk.ZFBPPPQJ.js → chunk.JPTE36KF.js} +15 -22
- package/dist/chunks/{chunk.BBBBXFP7.js → chunk.KAU6YSSX.js} +5 -5
- package/dist/chunks/{chunk.OTJZTTGR.js → chunk.KF6GNNY4.js} +1 -1
- package/dist/chunks/{chunk.MWWHP5QZ.js → chunk.KY7CFQ2L.js} +1 -1
- package/{cdn/chunks/chunk.BBIKP4JR.js → dist/chunks/chunk.KZQGAFNS.js} +1 -1
- package/dist/chunks/{chunk.M7X6L73X.js → chunk.LDXAXITL.js} +4 -4
- package/dist/chunks/{chunk.C55HOKOF.js → chunk.MY3D3SMW.js} +1 -1
- package/dist/chunks/{chunk.OWKK3WI5.js → chunk.NE2F3K3V.js} +4 -4
- package/dist/chunks/{chunk.X46ZFGC5.js → chunk.NQ2Y66ML.js} +1 -1
- package/dist/chunks/{chunk.AHXY2G3S.js → chunk.NRFKLACI.js} +98 -37
- package/{cdn/chunks/chunk.62GBI6QT.js → dist/chunks/chunk.NY3FWCB4.js} +1 -1
- package/dist/chunks/{chunk.GGDI4FYM.js → chunk.P4V6NTUB.js} +1 -1
- package/dist/chunks/{chunk.2DR7AOXV.js → chunk.PVN5GF75.js} +113 -20
- package/{cdn/chunks/chunk.HJ7JKW2H.js → dist/chunks/chunk.R7ZFWMFX.js} +1 -1
- package/dist/chunks/{chunk.HW7XMY7Q.js → chunk.RAGOKALJ.js} +1 -1
- package/dist/chunks/{chunk.ZYTY3FFF.js → chunk.RFLNQ553.js} +35 -35
- package/{cdn/chunks/chunk.IHMMIQUE.js → dist/chunks/chunk.RO6IKZZJ.js} +1 -1
- package/{cdn/chunks/chunk.PV2DGFKE.js → dist/chunks/chunk.SOQ4CR5P.js} +1 -1
- package/dist/chunks/{chunk.JOOAZ4RH.js → chunk.T3YDWJBU.js} +1 -1
- package/dist/chunks/{chunk.WTIVIDST.js → chunk.TOKOGZDW.js} +2 -2
- package/dist/chunks/{chunk.N2G44XSE.js → chunk.TOSECFXS.js} +4 -5
- package/dist/chunks/{chunk.B354HQX3.js → chunk.U4VDOWEL.js} +1 -1
- package/dist/chunks/{chunk.H3GFAQRD.js → chunk.UUUQALNS.js} +1 -1
- package/dist/chunks/chunk.W5W4VEOX.js +11 -0
- package/dist/chunks/chunk.WAIWLZ6Z.js +332 -0
- package/dist/chunks/{chunk.RN4JYU64.js → chunk.XBGMPAGN.js} +1 -1
- package/{cdn/chunks/chunk.UT24LBP4.js → dist/chunks/chunk.XJZRUYAI.js} +1 -1
- package/dist/chunks/chunk.XTWS7MM5.js +11 -0
- package/dist/chunks/{chunk.57CKTAKD.js → chunk.YF6EKHHQ.js} +1 -1
- package/dist/chunks/{chunk.6CNTOUYU.js → chunk.YFE22UAS.js} +1 -1
- package/dist/chunks/{chunk.UCFFAP7X.js → chunk.YY2NUPBF.js} +1 -1
- package/dist/chunks/{chunk.3JTY44U5.js → chunk.Z2X4WGGX.js} +1 -1
- package/dist/components/browse-variables/browse-variables.component.d.ts +5 -5
- package/dist/components/browse-variables/browse-variables.component.js +15 -15
- package/dist/components/browse-variables/browse-variables.js +16 -16
- package/dist/components/browse-variables/browse-variables.types.d.ts +1 -0
- package/dist/components/button/button.component.js +3 -3
- package/dist/components/button/button.js +4 -4
- package/dist/components/chip/chip.component.js +2 -2
- package/dist/components/chip/chip.js +3 -3
- package/dist/components/combobox/combobox.component.js +3 -3
- package/dist/components/combobox/combobox.js +4 -4
- package/dist/components/date-picker/date-picker.component.d.ts +39 -0
- package/dist/components/date-picker/date-picker.component.js +9 -0
- package/dist/components/date-picker/date-picker.d.ts +8 -0
- package/dist/components/date-picker/date-picker.js +10 -0
- package/dist/components/date-picker/date-picker.styles.d.ts +2 -0
- package/dist/components/date-picker/date-picker.styles.js +7 -0
- 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.d.ts +1 -3
- package/dist/components/dialog/dialog.component.js +3 -3
- package/dist/components/dialog/dialog.js +4 -4
- package/dist/components/dialog/dialog.styles.js +1 -1
- package/dist/components/icon/icon.component.js +4 -4
- package/dist/components/icon/icon.js +5 -5
- package/dist/components/icon/library.js +2 -2
- package/dist/components/loader/loader.component.js +2 -2
- package/dist/components/loader/loader.js +3 -3
- package/dist/components/login/login.component.js +11 -11
- package/dist/components/login/login.js +12 -12
- package/dist/components/map/map.component.js +3 -3
- package/dist/components/map/map.js +4 -4
- package/dist/components/plot/plot.component.js +3 -3
- package/dist/components/plot/plot.js +4 -4
- package/dist/components/plot/plot.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 +4 -4
- package/dist/components/spatial-picker/spatial-picker.js +5 -5
- package/dist/components/time-series/time-series.component.d.ts +17 -0
- package/dist/components/time-series/time-series.component.js +24 -24
- package/dist/components/time-series/time-series.controller.js +1 -1
- package/dist/components/time-series/time-series.js +25 -25
- package/dist/components/time-series/time-series.styles.js +1 -1
- package/dist/components/variable-combobox/lib.d.ts +3 -2
- package/dist/components/variable-combobox/lib.js +3 -1
- package/dist/components/variable-combobox/variable-combobox.component.d.ts +15 -1
- package/dist/components/variable-combobox/variable-combobox.component.js +12 -12
- package/dist/components/variable-combobox/variable-combobox.controller.js +2 -2
- package/dist/components/variable-combobox/variable-combobox.js +13 -13
- package/dist/components/variable-combobox/variable-combobox.styles.js +1 -1
- package/dist/components/variable-combobox/variable-combobox.types.d.ts +2 -0
- package/dist/components/{giovanni-search → variable-keyword-search}/lib.d.ts +1 -1
- package/dist/components/{giovanni-search → variable-keyword-search}/lib.js +1 -1
- package/{cdn/components/giovanni-search/giovanni-search.component.d.ts → dist/components/variable-keyword-search/variable-keyword-search.component.d.ts} +3 -3
- package/dist/components/variable-keyword-search/variable-keyword-search.component.js +23 -0
- package/dist/components/{giovanni-search/giovanni-search.controller.d.ts → variable-keyword-search/variable-keyword-search.controller.d.ts} +1 -1
- package/dist/components/{giovanni-search/giovanni-search.controller.js → variable-keyword-search/variable-keyword-search.controller.js} +1 -1
- package/dist/components/variable-keyword-search/variable-keyword-search.d.ts +8 -0
- package/dist/components/variable-keyword-search/variable-keyword-search.js +24 -0
- package/dist/components/variable-keyword-search/variable-keyword-search.styles.d.ts +2 -0
- package/dist/components/variable-keyword-search/variable-keyword-search.styles.js +7 -0
- package/dist/custom-elements.json +2498 -1992
- package/dist/events/events.d.ts +1 -1
- package/dist/events/terra-variable-keyword-search-change.d.ts +6 -0
- package/dist/lib/dataset.d.ts +9 -0
- package/dist/react/browse-variables/index.d.ts +1 -1
- package/dist/react/browse-variables/index.js +16 -16
- package/dist/react/button/index.js +4 -4
- package/dist/react/chip/index.js +3 -3
- package/dist/react/combobox/index.js +4 -4
- package/dist/react/date-picker/index.d.ts +14 -0
- package/dist/react/date-picker/index.js +10 -0
- package/dist/react/date-range-slider/index.js +4 -4
- package/dist/react/dialog/index.js +4 -4
- package/dist/react/icon/index.js +5 -5
- package/dist/react/index.d.ts +7 -6
- package/dist/react/index.js +79 -73
- package/dist/react/loader/index.js +3 -3
- package/dist/react/login/index.js +12 -12
- package/dist/react/map/index.js +4 -4
- package/dist/react/plot/index.js +4 -4
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spatial-picker/index.js +5 -5
- package/dist/react/time-series/index.js +25 -25
- package/dist/react/variable-combobox/index.js +13 -13
- package/{cdn/react/giovanni-search → dist/react/variable-keyword-search}/index.d.ts +5 -5
- package/dist/react/variable-keyword-search/index.js +24 -0
- package/dist/terra-ui-components.d.ts +5 -4
- package/dist/terra-ui-components.js +72 -66
- package/dist/terra_ui_components-0.0.30-py3-none-any.whl +0 -0
- package/dist/{terra_ui_components-0.0.28.tar.gz → terra_ui_components-0.0.30.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +166 -95
- package/dist/types.d.ts +7 -0
- package/dist/utilities/icon-library.js +2 -2
- package/dist/vscode.html-custom-data.json +276 -216
- package/dist/web-types.json +283 -150
- package/package.json +2 -1
- package/cdn/chunks/chunk.GZJAGA5O.js +0 -25
- package/cdn/chunks/chunk.U43KGD3Q.js +0 -6136
- package/cdn/chunks/chunk.U4OTGK5Z.js +0 -11
- package/cdn/components/giovanni-search/giovanni-search.d.ts +0 -8
- package/cdn/events/terra-giovanni-search-change.d.ts +0 -6
- package/dist/chunks/chunk.KKVE6GYM.js +0 -25
- package/dist/chunks/chunk.OAWTBOBI.js +0 -203
- package/dist/chunks/chunk.ZW7MRBHK.js +0 -11
- package/dist/components/giovanni-search/giovanni-search.component.js +0 -23
- package/dist/components/giovanni-search/giovanni-search.d.ts +0 -8
- package/dist/components/giovanni-search/giovanni-search.js +0 -24
- package/dist/components/giovanni-search/giovanni-search.styles.js +0 -7
- package/dist/events/terra-giovanni-search-change.d.ts +0 -6
- package/dist/react/giovanni-search/index.js +0 -24
- package/dist/terra_ui_components-0.0.28-py3-none-any.whl +0 -0
- package/cdn/chunks/{chunk.MDRUDBRH.js → chunk.7DOMZGX7.js} +3 -3
- package/cdn/chunks/{chunk.GT24H4QB.js → chunk.WTPVOF7N.js} +3 -3
- package/cdn/components/{giovanni-search/giovanni-search.styles.d.ts → date-picker/date-picker.styles.d.ts} +0 -0
- package/{dist/components/giovanni-search/giovanni-search.styles.d.ts → cdn/components/variable-keyword-search/variable-keyword-search.styles.d.ts} +0 -0
- package/cdn/components/{giovanni-search/giovanni-search.types.d.ts → variable-keyword-search/variable-keyword-search.types.d.ts} +0 -0
- package/cdn/components/{giovanni-search/giovanni-search.types.js → variable-keyword-search/variable-keyword-search.types.js} +0 -0
- package/dist/chunks/{chunk.MDRUDBRH.js → chunk.7DOMZGX7.js} +3 -3
- /package/dist/components/{giovanni-search/giovanni-search.types.d.ts → variable-keyword-search/variable-keyword-search.types.d.ts} +0 -0
- /package/dist/components/{giovanni-search/giovanni-search.types.js → variable-keyword-search/variable-keyword-search.types.js} +0 -0
|
@@ -1,50 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./chunk.
|
|
4
|
-
import {
|
|
5
|
-
time_series_styles_default
|
|
6
|
-
} from "./chunk.CNP3J6CH.js";
|
|
2
|
+
TerraVariableCombobox
|
|
3
|
+
} from "./chunk.TVLFTKMX.js";
|
|
7
4
|
import {
|
|
8
5
|
spatial_picker_default
|
|
9
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.ZXJ4IGW5.js";
|
|
10
7
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
TimeSeriesController,
|
|
9
|
+
calculateDataPoints
|
|
10
|
+
} from "./chunk.LLGXVXUH.js";
|
|
11
|
+
import {
|
|
12
|
+
time_series_styles_default
|
|
13
|
+
} from "./chunk.T6H2MZZI.js";
|
|
13
14
|
import {
|
|
14
15
|
TerraPlot,
|
|
15
16
|
require_plotly_min
|
|
16
|
-
} from "./chunk.
|
|
17
|
-
import {
|
|
18
|
-
TerraDateRangeSlider
|
|
19
|
-
} from "./chunk.UY7CYM6H.js";
|
|
17
|
+
} from "./chunk.O7MMFKKX.js";
|
|
20
18
|
import {
|
|
21
19
|
h
|
|
22
20
|
} from "./chunk.QB5SASDL.js";
|
|
21
|
+
import {
|
|
22
|
+
TerraDateRangeSlider
|
|
23
|
+
} from "./chunk.HFMQVMLF.js";
|
|
23
24
|
import {
|
|
24
25
|
TerraLoader
|
|
25
|
-
} from "./chunk.
|
|
26
|
+
} from "./chunk.GSG6MPDX.js";
|
|
26
27
|
import {
|
|
27
28
|
TerraIcon
|
|
28
|
-
} from "./chunk.
|
|
29
|
+
} from "./chunk.SULSGF5G.js";
|
|
29
30
|
import {
|
|
30
31
|
s
|
|
31
32
|
} from "./chunk.UGTZ22DI.js";
|
|
32
33
|
import {
|
|
33
34
|
TerraButton
|
|
34
|
-
} from "./chunk.
|
|
35
|
+
} from "./chunk.U2IVCX3M.js";
|
|
35
36
|
import {
|
|
36
37
|
watch
|
|
37
38
|
} from "./chunk.CBV7M6CJ.js";
|
|
38
39
|
import {
|
|
39
40
|
TerraElement,
|
|
40
41
|
component_styles_default
|
|
41
|
-
} from "./chunk.
|
|
42
|
+
} from "./chunk.AX2SA27I.js";
|
|
42
43
|
import {
|
|
43
44
|
e,
|
|
44
45
|
n,
|
|
45
46
|
r
|
|
46
47
|
} from "./chunk.QCK7PTWV.js";
|
|
47
48
|
import {
|
|
49
|
+
T,
|
|
48
50
|
x
|
|
49
51
|
} from "./chunk.PQFHJHNO.js";
|
|
50
52
|
import {
|
|
@@ -508,13 +510,21 @@ var import_dayjs = __toESM(require_dayjs_min(), 1);
|
|
|
508
510
|
var import_timezone = __toESM(require_timezone(), 1);
|
|
509
511
|
var import_utc = __toESM(require_utc(), 1);
|
|
510
512
|
var import_plotly = __toESM(require_plotly_min(), 1);
|
|
513
|
+
var NUM_DATAPOINTS_TO_WARN_USER = 5e4;
|
|
511
514
|
import_dayjs.default.extend(import_utc.default);
|
|
512
515
|
import_dayjs.default.extend(import_timezone.default);
|
|
513
516
|
import_dayjs.default.tz.setDefault("Etc/GMT");
|
|
514
|
-
var _timeSeriesController, _adaptPropertyToController, adaptPropertyToController_fn, _maybeSliceTimeForStartEnd, maybeSliceTimeForStartEnd_fn, _handleVariableChange, handleVariableChange_fn, _handleMapChange, handleMapChange_fn, _handleDateRangeSliderChangeEvent, handleDateRangeSliderChangeEvent_fn, _abortDataLoad, abortDataLoad_fn, _downloadCSV, downloadCSV_fn, _convertToCSV, convertToCSV_fn, _downloadPNG, downloadPNG_fn, _handleActiveMenuItem, handleActiveMenuItem_fn;
|
|
517
|
+
var _timeSeriesController, _checkDataPointLimits, checkDataPointLimits_fn, _confirmDataPointWarning, confirmDataPointWarning_fn, _cancelDataPointWarning, cancelDataPointWarning_fn, _adaptPropertyToController, adaptPropertyToController_fn, _maybeSliceTimeForStartEnd, maybeSliceTimeForStartEnd_fn, _handleVariableChange, handleVariableChange_fn, _handleMapChange, handleMapChange_fn, _handleDateRangeSliderChangeEvent, handleDateRangeSliderChangeEvent_fn, _abortDataLoad, abortDataLoad_fn, _downloadCSV, downloadCSV_fn, _convertToCSV, convertToCSV_fn, _downloadPNG, downloadPNG_fn, _handleActiveMenuItem, handleActiveMenuItem_fn;
|
|
515
518
|
var TerraTimeSeries = class extends TerraElement {
|
|
516
519
|
constructor() {
|
|
517
520
|
super(...arguments);
|
|
521
|
+
/**
|
|
522
|
+
* Checks if the current date range will exceed data point limits
|
|
523
|
+
* eturns true if it's safe to proceed, false if confirmation is needed
|
|
524
|
+
*/
|
|
525
|
+
__privateAdd(this, _checkDataPointLimits);
|
|
526
|
+
__privateAdd(this, _confirmDataPointWarning);
|
|
527
|
+
__privateAdd(this, _cancelDataPointWarning);
|
|
518
528
|
__privateAdd(this, _adaptPropertyToController);
|
|
519
529
|
/**
|
|
520
530
|
* The Collection Beginning DateTime changes when a new collection is selected.
|
|
@@ -547,6 +557,8 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
547
557
|
__privateAdd(this, _downloadPNG);
|
|
548
558
|
__privateAdd(this, _handleActiveMenuItem);
|
|
549
559
|
__privateAdd(this, _timeSeriesController, void 0);
|
|
560
|
+
this.showDataPointWarning = false;
|
|
561
|
+
this.estimatedDataPoints = 0;
|
|
550
562
|
this.activeMenuItem = null;
|
|
551
563
|
}
|
|
552
564
|
handleCollectionUpdate(_oldValue, newValue) {
|
|
@@ -579,8 +591,9 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
579
591
|
return x`
|
|
580
592
|
<terra-variable-combobox
|
|
581
593
|
exportparts="base:variable-combobox__base, combobox:variable-combobox__combobox, button:variable-combobox__button, listbox:variable-combobox__listbox"
|
|
582
|
-
value=${`${this.collection}_${this.variable}`}
|
|
594
|
+
.value=${this.collection && this.variable ? `${this.collection}_${this.variable}` : T}
|
|
583
595
|
.bearerToken=${(_a = this.bearerToken) != null ? _a : null}
|
|
596
|
+
.useTags=${true}
|
|
584
597
|
@terra-combobox-change="${__privateMethod(this, _handleVariableChange, handleVariableChange_fn)}"
|
|
585
598
|
></terra-variable-combobox>
|
|
586
599
|
|
|
@@ -657,7 +670,6 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
657
670
|
></terra-icon>
|
|
658
671
|
</terra-button>
|
|
659
672
|
</div>
|
|
660
|
-
</header>
|
|
661
673
|
|
|
662
674
|
<menu
|
|
663
675
|
role="menu"
|
|
@@ -689,7 +701,7 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
689
701
|
href=${this.datasetLandingPage}
|
|
690
702
|
rel="noopener noreffer"
|
|
691
703
|
target="_blank"
|
|
692
|
-
|
|
704
|
+
>${this.collectionLongName}
|
|
693
705
|
|
|
694
706
|
<terra-icon
|
|
695
707
|
name="outline-arrow-top-right-on-square"
|
|
@@ -785,6 +797,7 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
785
797
|
</ul>
|
|
786
798
|
</li>
|
|
787
799
|
</menu>
|
|
800
|
+
</header>
|
|
788
801
|
` : x`<div class="spacer"></div>`
|
|
789
802
|
)}
|
|
790
803
|
|
|
@@ -830,10 +843,69 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
830
843
|
<p>Plotting ${this.collection} ${this.variable}…</p>
|
|
831
844
|
<terra-button @click=${__privateMethod(this, _abortDataLoad, abortDataLoad_fn)}>Cancel</terra-button>
|
|
832
845
|
</dialog>
|
|
846
|
+
|
|
847
|
+
<dialog ?open=${this.showDataPointWarning} class="quota-dialog">
|
|
848
|
+
<h2>This is a large request</h2>
|
|
849
|
+
|
|
850
|
+
<p>
|
|
851
|
+
You are requesting approximately
|
|
852
|
+
${this.estimatedDataPoints.toLocaleString()} data points.
|
|
853
|
+
</p>
|
|
854
|
+
|
|
855
|
+
<p>
|
|
856
|
+
Requesting large amounts of data may cause you to reach your
|
|
857
|
+
monthly quota limit.
|
|
858
|
+
</p>
|
|
859
|
+
|
|
860
|
+
<p>Would you still like to proceed with this request?</p>
|
|
861
|
+
|
|
862
|
+
<div class="dialog-buttons">
|
|
863
|
+
<terra-button
|
|
864
|
+
@click=${__privateMethod(this, _cancelDataPointWarning, cancelDataPointWarning_fn)}
|
|
865
|
+
variant="default"
|
|
866
|
+
>
|
|
867
|
+
Cancel
|
|
868
|
+
</terra-button>
|
|
869
|
+
|
|
870
|
+
<terra-button
|
|
871
|
+
@click=${__privateMethod(this, _confirmDataPointWarning, confirmDataPointWarning_fn)}
|
|
872
|
+
variant="primary"
|
|
873
|
+
>
|
|
874
|
+
Proceed
|
|
875
|
+
</terra-button>
|
|
876
|
+
</div>
|
|
877
|
+
</dialog>
|
|
833
878
|
`;
|
|
834
879
|
}
|
|
835
880
|
};
|
|
836
881
|
_timeSeriesController = new WeakMap();
|
|
882
|
+
_checkDataPointLimits = new WeakSet();
|
|
883
|
+
checkDataPointLimits_fn = function() {
|
|
884
|
+
if (!this.timeInterval || !this.startDate || !this.endDate) {
|
|
885
|
+
return true;
|
|
886
|
+
}
|
|
887
|
+
const startDate = import_dayjs.default.utc(this.startDate).toDate();
|
|
888
|
+
const endDate = import_dayjs.default.utc(this.endDate).toDate();
|
|
889
|
+
this.estimatedDataPoints = calculateDataPoints(
|
|
890
|
+
this.timeInterval,
|
|
891
|
+
startDate,
|
|
892
|
+
endDate
|
|
893
|
+
);
|
|
894
|
+
if (this.estimatedDataPoints < NUM_DATAPOINTS_TO_WARN_USER) {
|
|
895
|
+
return true;
|
|
896
|
+
}
|
|
897
|
+
this.showDataPointWarning = true;
|
|
898
|
+
return false;
|
|
899
|
+
};
|
|
900
|
+
_confirmDataPointWarning = new WeakSet();
|
|
901
|
+
confirmDataPointWarning_fn = function() {
|
|
902
|
+
this.showDataPointWarning = false;
|
|
903
|
+
__privateGet(this, _timeSeriesController).task.run();
|
|
904
|
+
};
|
|
905
|
+
_cancelDataPointWarning = new WeakSet();
|
|
906
|
+
cancelDataPointWarning_fn = function() {
|
|
907
|
+
this.showDataPointWarning = false;
|
|
908
|
+
};
|
|
837
909
|
_adaptPropertyToController = new WeakSet();
|
|
838
910
|
adaptPropertyToController_fn = function(property, value) {
|
|
839
911
|
switch (property) {
|
|
@@ -849,7 +921,6 @@ adaptPropertyToController_fn = function(property, value) {
|
|
|
849
921
|
__privateGet(this, _timeSeriesController)[property] = value;
|
|
850
922
|
break;
|
|
851
923
|
}
|
|
852
|
-
__privateGet(this, _timeSeriesController).task.run();
|
|
853
924
|
};
|
|
854
925
|
_maybeSliceTimeForStartEnd = new WeakSet();
|
|
855
926
|
maybeSliceTimeForStartEnd_fn = function() {
|
|
@@ -874,11 +945,16 @@ handleVariableChange_fn = function(event) {
|
|
|
874
945
|
this.collectionEndingDateTime = import_dayjs.default.utc().format(event.detail.collectionEndingDateTime);
|
|
875
946
|
__privateMethod(this, _maybeSliceTimeForStartEnd, maybeSliceTimeForStartEnd_fn).call(this);
|
|
876
947
|
this.collection = `${event.detail.collectionShortName}_${event.detail.collectionVersion}`;
|
|
948
|
+
this.collectionLongName = event.detail.collectionLongName;
|
|
877
949
|
this.datasetLandingPage = event.detail.datasetLandingPage;
|
|
878
950
|
this.units = event.detail.units;
|
|
879
951
|
this.variable = event.detail.name;
|
|
880
952
|
this.variableLandingPage = event.detail.variableLandingPage;
|
|
881
953
|
this.variableLongName = event.detail.longName;
|
|
954
|
+
this.timeInterval = event.detail.timeInterval;
|
|
955
|
+
if (__privateMethod(this, _checkDataPointLimits, checkDataPointLimits_fn).call(this)) {
|
|
956
|
+
__privateGet(this, _timeSeriesController).task.run();
|
|
957
|
+
}
|
|
882
958
|
};
|
|
883
959
|
_handleMapChange = new WeakSet();
|
|
884
960
|
handleMapChange_fn = function(event) {
|
|
@@ -886,12 +962,18 @@ handleMapChange_fn = function(event) {
|
|
|
886
962
|
if (type === "Point") {
|
|
887
963
|
const { latLng } = event.detail;
|
|
888
964
|
this.location = `${latLng.lat.toFixed(4)},${latLng.lng.toFixed(4)}`;
|
|
965
|
+
if (__privateMethod(this, _checkDataPointLimits, checkDataPointLimits_fn).call(this)) {
|
|
966
|
+
__privateGet(this, _timeSeriesController).task.run();
|
|
967
|
+
}
|
|
889
968
|
}
|
|
890
969
|
};
|
|
891
970
|
_handleDateRangeSliderChangeEvent = new WeakSet();
|
|
892
971
|
handleDateRangeSliderChangeEvent_fn = function(event) {
|
|
893
972
|
this.startDate = event.detail.startDate;
|
|
894
973
|
this.endDate = event.detail.endDate;
|
|
974
|
+
if (__privateMethod(this, _checkDataPointLimits, checkDataPointLimits_fn).call(this)) {
|
|
975
|
+
__privateGet(this, _timeSeriesController).task.run();
|
|
976
|
+
}
|
|
895
977
|
};
|
|
896
978
|
_abortDataLoad = new WeakSet();
|
|
897
979
|
abortDataLoad_fn = function() {
|
|
@@ -952,6 +1034,9 @@ TerraTimeSeries.dependencies = {
|
|
|
952
1034
|
__decorateClass([
|
|
953
1035
|
n({ reflect: true })
|
|
954
1036
|
], TerraTimeSeries.prototype, "collection", 2);
|
|
1037
|
+
__decorateClass([
|
|
1038
|
+
n({ reflect: true })
|
|
1039
|
+
], TerraTimeSeries.prototype, "collectionLongName", 2);
|
|
955
1040
|
__decorateClass([
|
|
956
1041
|
n({ reflect: true })
|
|
957
1042
|
], TerraTimeSeries.prototype, "datasetLandingPage", 2);
|
|
@@ -1010,6 +1095,15 @@ __decorateClass([
|
|
|
1010
1095
|
__decorateClass([
|
|
1011
1096
|
r()
|
|
1012
1097
|
], TerraTimeSeries.prototype, "collectionEndingDateTime", 2);
|
|
1098
|
+
__decorateClass([
|
|
1099
|
+
r()
|
|
1100
|
+
], TerraTimeSeries.prototype, "timeInterval", 2);
|
|
1101
|
+
__decorateClass([
|
|
1102
|
+
r()
|
|
1103
|
+
], TerraTimeSeries.prototype, "showDataPointWarning", 2);
|
|
1104
|
+
__decorateClass([
|
|
1105
|
+
r()
|
|
1106
|
+
], TerraTimeSeries.prototype, "estimatedDataPoints", 2);
|
|
1013
1107
|
__decorateClass([
|
|
1014
1108
|
r()
|
|
1015
1109
|
], TerraTimeSeries.prototype, "activeMenuItem", 2);
|
|
@@ -4,29 +4,29 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
h
|
|
6
6
|
} from "./chunk.QB5SASDL.js";
|
|
7
|
+
import {
|
|
8
|
+
combobox_styles_default
|
|
9
|
+
} from "./chunk.USC76EZL.js";
|
|
7
10
|
import {
|
|
8
11
|
clearSelection,
|
|
9
12
|
walkToOption
|
|
10
13
|
} from "./chunk.LMGJJIIS.js";
|
|
11
|
-
import {
|
|
12
|
-
combobox_styles_default
|
|
13
|
-
} from "./chunk.USC76EZL.js";
|
|
14
14
|
import {
|
|
15
15
|
Fuse
|
|
16
16
|
} from "./chunk.U7L2FN7F.js";
|
|
17
|
-
import {
|
|
18
|
-
n as n2
|
|
19
|
-
} from "./chunk.2XCNCXGV.js";
|
|
20
17
|
import {
|
|
21
18
|
o
|
|
22
19
|
} from "./chunk.QEA4QW6G.js";
|
|
20
|
+
import {
|
|
21
|
+
n as n2
|
|
22
|
+
} from "./chunk.2XCNCXGV.js";
|
|
23
23
|
import {
|
|
24
24
|
watch
|
|
25
25
|
} from "./chunk.CBV7M6CJ.js";
|
|
26
26
|
import {
|
|
27
27
|
TerraElement,
|
|
28
28
|
component_styles_default
|
|
29
|
-
} from "./chunk.
|
|
29
|
+
} from "./chunk.AX2SA27I.js";
|
|
30
30
|
import {
|
|
31
31
|
n,
|
|
32
32
|
r
|
|
@@ -366,7 +366,7 @@ var TerraElement = class extends s {
|
|
|
366
366
|
};
|
|
367
367
|
/* eslint-disable */
|
|
368
368
|
// @ts-expect-error This is auto-injected at build time.
|
|
369
|
-
TerraElement.version = "0.0.
|
|
369
|
+
TerraElement.version = "0.0.30";
|
|
370
370
|
TerraElement.dependencies = {};
|
|
371
371
|
__decorateClass([
|
|
372
372
|
n()
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
__privateSet
|
|
9
9
|
} from "./chunk.MR27IH5Z.js";
|
|
10
10
|
|
|
11
|
-
// src/components/
|
|
11
|
+
// src/components/variable-keyword-search/variable-keyword-search.controller.ts
|
|
12
12
|
var apiError = new Error(
|
|
13
13
|
"Failed to fetch the data required to make a list of searchable items."
|
|
14
14
|
);
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./chunk.
|
|
4
|
-
import {
|
|
5
|
-
FetchController
|
|
6
|
-
} from "./chunk.VEENI5ZG.js";
|
|
7
|
-
import {
|
|
8
|
-
giovanni_search_styles_default
|
|
9
|
-
} from "./chunk.WGDILZM6.js";
|
|
2
|
+
variable_keyword_search_styles_default
|
|
3
|
+
} from "./chunk.NMJ34B6C.js";
|
|
10
4
|
import {
|
|
11
5
|
clearSelection,
|
|
12
6
|
renderSearchResult,
|
|
13
7
|
walkToOption
|
|
14
|
-
} from "./chunk.
|
|
8
|
+
} from "./chunk.SCFJOPPV.js";
|
|
15
9
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./chunk.
|
|
10
|
+
FetchController
|
|
11
|
+
} from "./chunk.BWPJFRNN.js";
|
|
12
|
+
import {
|
|
13
|
+
icon_default
|
|
14
|
+
} from "./chunk.DDGJ6BLG.js";
|
|
18
15
|
import {
|
|
19
16
|
Fuse
|
|
20
17
|
} from "./chunk.U7L2FN7F.js";
|
|
18
|
+
import {
|
|
19
|
+
o
|
|
20
|
+
} from "./chunk.QEA4QW6G.js";
|
|
21
21
|
import {
|
|
22
22
|
n as n2
|
|
23
23
|
} from "./chunk.2XCNCXGV.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./chunk.
|
|
25
|
+
button_default
|
|
26
|
+
} from "./chunk.X4S4SQKL.js";
|
|
27
27
|
import {
|
|
28
28
|
watch
|
|
29
29
|
} from "./chunk.CBV7M6CJ.js";
|
|
30
30
|
import {
|
|
31
31
|
TerraElement,
|
|
32
32
|
component_styles_default
|
|
33
|
-
} from "./chunk.
|
|
33
|
+
} from "./chunk.AX2SA27I.js";
|
|
34
34
|
import {
|
|
35
35
|
n,
|
|
36
36
|
r
|
|
@@ -50,9 +50,9 @@ import {
|
|
|
50
50
|
__spreadValues
|
|
51
51
|
} from "./chunk.MR27IH5Z.js";
|
|
52
52
|
|
|
53
|
-
// src/components/
|
|
53
|
+
// src/components/variable-keyword-search/variable-keyword-search.component.ts
|
|
54
54
|
var _combobox, _fetchController, _listbox, _searchEngine, _walker, _handleComboboxChange, _handleOptionClick, _handleKeydown, _manageListboxVisibility, _selectOption, _handleSearch, handleSearch_fn, _clearSearch, clearSearch_fn;
|
|
55
|
-
var
|
|
55
|
+
var _TerraVariableKeywordSearch = class _TerraVariableKeywordSearch extends TerraElement {
|
|
56
56
|
constructor() {
|
|
57
57
|
super(...arguments);
|
|
58
58
|
__privateAdd(this, _handleSearch);
|
|
@@ -70,7 +70,7 @@ var _TerraGiovanniSearch = class _TerraGiovanniSearch extends TerraElement {
|
|
|
70
70
|
useExtendedSearch: true
|
|
71
71
|
};
|
|
72
72
|
this.isExpanded = false;
|
|
73
|
-
this.query =
|
|
73
|
+
this.query = _TerraVariableKeywordSearch.initialQuery;
|
|
74
74
|
this.searchResults = [];
|
|
75
75
|
__privateAdd(this, _handleComboboxChange, (event) => {
|
|
76
76
|
var _a;
|
|
@@ -141,7 +141,7 @@ var _TerraGiovanniSearch = class _TerraGiovanniSearch extends TerraElement {
|
|
|
141
141
|
this.isExpanded = false;
|
|
142
142
|
this.dispatchEvent(new Event("cancel"));
|
|
143
143
|
} else {
|
|
144
|
-
this.query =
|
|
144
|
+
this.query = _TerraVariableKeywordSearch.initialQuery;
|
|
145
145
|
}
|
|
146
146
|
break;
|
|
147
147
|
}
|
|
@@ -153,7 +153,7 @@ var _TerraGiovanniSearch = class _TerraGiovanniSearch extends TerraElement {
|
|
|
153
153
|
__privateAdd(this, _manageListboxVisibility, (event) => {
|
|
154
154
|
const path = event.composedPath();
|
|
155
155
|
const containedThis = path.some(
|
|
156
|
-
(eventTarget) => eventTarget.localName ===
|
|
156
|
+
(eventTarget) => eventTarget.localName === _TerraVariableKeywordSearch.tagName
|
|
157
157
|
);
|
|
158
158
|
if (!containedThis) {
|
|
159
159
|
this.isExpanded = false;
|
|
@@ -161,7 +161,7 @@ var _TerraGiovanniSearch = class _TerraGiovanniSearch extends TerraElement {
|
|
|
161
161
|
});
|
|
162
162
|
__privateAdd(this, _selectOption, (option) => {
|
|
163
163
|
this.query = option.id;
|
|
164
|
-
this.emit("terra-
|
|
164
|
+
this.emit("terra-variable-keyword-search-change", { detail: option.id });
|
|
165
165
|
this.isExpanded = false;
|
|
166
166
|
clearSelection(
|
|
167
167
|
__privateGet(this, _combobox),
|
|
@@ -181,7 +181,7 @@ var _TerraGiovanniSearch = class _TerraGiovanniSearch extends TerraElement {
|
|
|
181
181
|
globalThis.removeEventListener("click", __privateGet(this, _manageListboxVisibility));
|
|
182
182
|
}
|
|
183
183
|
clear() {
|
|
184
|
-
this.query =
|
|
184
|
+
this.query = _TerraVariableKeywordSearch.initialQuery;
|
|
185
185
|
}
|
|
186
186
|
close() {
|
|
187
187
|
this.isExpanded = false;
|
|
@@ -315,7 +315,7 @@ handleSearch_fn = function(query) {
|
|
|
315
315
|
_clearSearch = new WeakSet();
|
|
316
316
|
clearSearch_fn = function() {
|
|
317
317
|
var _a;
|
|
318
|
-
this.query =
|
|
318
|
+
this.query = _TerraVariableKeywordSearch.initialQuery;
|
|
319
319
|
this.emit("terra-search", { detail: this.query });
|
|
320
320
|
clearSelection(
|
|
321
321
|
__privateGet(this, _combobox),
|
|
@@ -323,45 +323,45 @@ clearSearch_fn = function() {
|
|
|
323
323
|
);
|
|
324
324
|
(_a = __privateGet(this, _combobox)) == null ? void 0 : _a.focus();
|
|
325
325
|
};
|
|
326
|
-
|
|
326
|
+
_TerraVariableKeywordSearch.dependencies = {
|
|
327
327
|
"terra-button": button_default,
|
|
328
328
|
"terra-icon": icon_default
|
|
329
329
|
};
|
|
330
|
-
|
|
331
|
-
|
|
330
|
+
_TerraVariableKeywordSearch.styles = [component_styles_default, variable_keyword_search_styles_default];
|
|
331
|
+
_TerraVariableKeywordSearch.shadowRootOptions = __spreadProps(__spreadValues({}, s.shadowRootOptions), {
|
|
332
332
|
delegatesFocus: true
|
|
333
333
|
});
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
_TerraVariableKeywordSearch.tagName = "terra-variable-keyword-search";
|
|
335
|
+
_TerraVariableKeywordSearch.initialQuery = "";
|
|
336
336
|
__decorateClass([
|
|
337
337
|
n()
|
|
338
|
-
],
|
|
338
|
+
], _TerraVariableKeywordSearch.prototype, "label", 2);
|
|
339
339
|
__decorateClass([
|
|
340
340
|
n()
|
|
341
|
-
],
|
|
341
|
+
], _TerraVariableKeywordSearch.prototype, "placeholder", 2);
|
|
342
342
|
__decorateClass([
|
|
343
343
|
n({ attribute: "hide-label", type: Boolean })
|
|
344
|
-
],
|
|
344
|
+
], _TerraVariableKeywordSearch.prototype, "hideLabel", 2);
|
|
345
345
|
__decorateClass([
|
|
346
346
|
n({ reflect: false, type: Object })
|
|
347
|
-
],
|
|
347
|
+
], _TerraVariableKeywordSearch.prototype, "searchConfig", 2);
|
|
348
348
|
__decorateClass([
|
|
349
349
|
n()
|
|
350
|
-
],
|
|
350
|
+
], _TerraVariableKeywordSearch.prototype, "value", 2);
|
|
351
351
|
__decorateClass([
|
|
352
352
|
r()
|
|
353
|
-
],
|
|
353
|
+
], _TerraVariableKeywordSearch.prototype, "isExpanded", 2);
|
|
354
354
|
__decorateClass([
|
|
355
355
|
r()
|
|
356
|
-
],
|
|
356
|
+
], _TerraVariableKeywordSearch.prototype, "query", 2);
|
|
357
357
|
__decorateClass([
|
|
358
358
|
r()
|
|
359
|
-
],
|
|
359
|
+
], _TerraVariableKeywordSearch.prototype, "searchResults", 2);
|
|
360
360
|
__decorateClass([
|
|
361
361
|
watch("value")
|
|
362
|
-
],
|
|
363
|
-
var
|
|
362
|
+
], _TerraVariableKeywordSearch.prototype, "valueChanged", 1);
|
|
363
|
+
var TerraVariableKeywordSearch = _TerraVariableKeywordSearch;
|
|
364
364
|
|
|
365
365
|
export {
|
|
366
|
-
|
|
366
|
+
TerraVariableKeywordSearch
|
|
367
367
|
};
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
map_styles_default
|
|
3
|
-
} from "./chunk.TZK42POE.js";
|
|
4
1
|
import {
|
|
5
2
|
leaflet_draw_styles_default
|
|
6
3
|
} from "./chunk.KJ4BZBTX.js";
|
|
@@ -13,6 +10,9 @@ import {
|
|
|
13
10
|
import {
|
|
14
11
|
MapController
|
|
15
12
|
} from "./chunk.SBTMIM4P.js";
|
|
13
|
+
import {
|
|
14
|
+
map_styles_default
|
|
15
|
+
} from "./chunk.TZK42POE.js";
|
|
16
16
|
import {
|
|
17
17
|
h
|
|
18
18
|
} from "./chunk.QB5SASDL.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
TerraElement,
|
|
27
27
|
component_styles_default
|
|
28
|
-
} from "./chunk.
|
|
28
|
+
} from "./chunk.AX2SA27I.js";
|
|
29
29
|
import {
|
|
30
30
|
e,
|
|
31
31
|
n,
|