@nasa-terra/components 0.0.29 → 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.Q6JDB7UF.js → chunk.2B5MWFZJ.js} +1 -1
- package/cdn/chunks/{chunk.KRV3QC6E.js → chunk.2IBDQF7X.js} +1 -1
- package/cdn/chunks/{chunk.MOLJLF6T.js → chunk.2KO7WMDA.js} +1 -1
- package/cdn/chunks/{chunk.O2FDJRVL.js → chunk.2ZTQTPGQ.js} +1 -1
- package/cdn/chunks/chunk.567ZKY6U.js +11 -0
- package/cdn/chunks/{chunk.GF7FCO7U.js → chunk.57KITL7R.js} +115 -21
- package/{dist/chunks/chunk.QND3EL2M.js → cdn/chunks/chunk.5YPKED3D.js} +1 -1
- package/cdn/chunks/{chunk.XZLBSMUJ.js → chunk.63W2KW34.js} +1 -1
- package/cdn/chunks/{chunk.HLLY7QKL.js → chunk.6RTRSHJT.js} +4 -4
- package/{dist/chunks/chunk.LSCC4BWP.js → cdn/chunks/chunk.7F6COZGY.js} +1 -1
- package/cdn/chunks/{chunk.QUCOTU2W.js → chunk.ABJ2K7TM.js} +1 -1
- package/cdn/chunks/{chunk.HSHJMWBR.js → chunk.AX2SA27I.js} +1 -1
- package/cdn/chunks/{chunk.PLFKPXGA.js → 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.5VZI3AW6.js → cdn/chunks/chunk.DDGJ6BLG.js} +1 -1
- package/cdn/chunks/{chunk.OMGRHNEB.js → chunk.EFOVA2JJ.js} +36 -36
- package/cdn/chunks/{chunk.XIE55A7V.js → chunk.EKLIR3WI.js} +1 -1
- package/{dist/chunks/chunk.6NV24MHZ.js → cdn/chunks/chunk.F2MIC3AX.js} +1 -1
- package/cdn/chunks/{chunk.ZM74J5O7.js → chunk.GDSSJKN2.js} +4 -4
- package/cdn/chunks/{chunk.R4PWO4RV.js → chunk.GSG6MPDX.js} +1 -1
- package/cdn/chunks/{chunk.HC2QXV76.js → chunk.HFMQVMLF.js} +4 -4
- package/cdn/chunks/chunk.HLNHG2BS.js +25 -0
- package/cdn/chunks/{chunk.BH3A72JP.js → chunk.HXEZAY6X.js} +2 -2
- package/cdn/chunks/{chunk.DSBAUO4Q.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.CMTARP4Z.js → chunk.KFKV4IIY.js} +8 -8
- package/cdn/chunks/{chunk.VO4QBWR6.js → chunk.KJEKFNS4.js} +20 -20
- package/cdn/chunks/{chunk.XUJ6GG3I.js → chunk.LCPNNUVW.js} +4 -4
- package/cdn/chunks/chunk.LLGXVXUH.js +571 -0
- package/cdn/chunks/{chunk.MOQDQMCK.js → chunk.LMBQZGKV.js} +1 -1
- package/{dist/chunks/chunk.YQCBR4B6.js → cdn/chunks/chunk.MJAGRW43.js} +1 -1
- package/cdn/chunks/{chunk.2NNEVPUU.js → chunk.MMPYQ7JX.js} +1 -1
- package/cdn/chunks/{chunk.NXRLD6HP.js → chunk.MU5CIHVF.js} +1 -1
- package/cdn/chunks/{chunk.3BDUSUJJ.js → chunk.N3DIGSJT.js} +1 -1
- package/{dist/chunks/chunk.4RD7BI5G.js → cdn/chunks/chunk.N4W3LSG4.js} +1 -1
- package/cdn/chunks/{chunk.WGDILZM6.js → chunk.NMJ34B6C.js} +3 -3
- package/cdn/chunks/{chunk.EK2WNRX7.js → chunk.O7MMFKKX.js} +2 -2
- package/cdn/chunks/{chunk.EZSX4R2K.js → chunk.PRXO3ACA.js} +1 -1
- package/{dist/chunks/chunk.V73GDG7A.js → cdn/chunks/chunk.PXFI6DWW.js} +1 -1
- package/cdn/chunks/{chunk.4JSCLX3L.js → chunk.QALWOJYN.js} +1 -1
- package/cdn/chunks/chunk.QKFBOZ3A.js +21 -0
- package/cdn/chunks/{chunk.Z2TYLEAP.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.Y742TAGH.js → chunk.SI3J4IDI.js} +1 -1
- package/{dist/chunks/chunk.UCLNYZP4.js → cdn/chunks/chunk.SSOHEVCW.js} +1 -1
- package/{dist/chunks/chunk.WZRVDBUQ.js → cdn/chunks/chunk.STX2OFFU.js} +1 -1
- package/cdn/chunks/{chunk.CGMA5YPP.js → chunk.SULSGF5G.js} +5 -5
- package/cdn/chunks/{chunk.CNP3J6CH.js → chunk.T6H2MZZI.js} +59 -19
- package/{dist/chunks/chunk.FHPEQ6H6.js → cdn/chunks/chunk.TSLU66AK.js} +1 -1
- package/cdn/chunks/{chunk.BJIWBGKZ.js → chunk.TVLFTKMX.js} +100 -39
- package/cdn/chunks/{chunk.44NIPIWB.js → chunk.U2IVCX3M.js} +4 -5
- package/cdn/chunks/chunk.UXTJ3UQP.js +3812 -0
- package/{dist/chunks/chunk.XWVIOQSF.js → cdn/chunks/chunk.VJ4KDMYT.js} +1 -1
- package/{dist/chunks/chunk.4KUKUFDS.js → cdn/chunks/chunk.VKEDPAJJ.js} +1 -1
- package/cdn/chunks/{chunk.KJJ66WSH.js → chunk.X4S4SQKL.js} +1 -1
- package/cdn/chunks/{chunk.WPRM2AN2.js → chunk.XHVCGLFU.js} +1 -1
- package/cdn/chunks/{chunk.XRQFG5L5.js → chunk.ZLX4LVIZ.js} +1 -1
- package/cdn/chunks/{chunk.H4QA5UXQ.js → chunk.ZP7GOIAS.js} +1 -1
- package/cdn/chunks/{chunk.Z4FQAFSZ.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 +22 -22
- package/cdn/components/browse-variables/browse-variables.js +23 -23
- 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 +3 -3
- package/cdn/components/combobox/combobox.js +4 -4
- 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 +5 -5
- package/cdn/components/icon/icon.js +6 -6
- 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 +15 -15
- package/cdn/components/login/login.js +16 -16
- 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 +30 -30
- package/cdn/components/time-series/time-series.controller.js +1 -1
- package/cdn/components/time-series/time-series.js +31 -31
- 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 +16 -16
- package/cdn/components/variable-combobox/variable-combobox.controller.js +3 -3
- package/cdn/components/variable-combobox/variable-combobox.js +17 -17
- 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} +18 -18
- 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} +19 -19
- package/cdn/components/variable-keyword-search/variable-keyword-search.styles.js +9 -0
- package/cdn/custom-elements.json +1988 -1482
- 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 +23 -23
- package/cdn/react/button/index.js +4 -4
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +4 -4
- 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 +6 -6
- package/cdn/react/index.d.ts +7 -6
- package/cdn/react/index.js +88 -82
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +16 -16
- 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 +31 -31
- package/cdn/react/variable-combobox/index.js +17 -17
- 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 +19 -19
- package/cdn/terra-ui-components.d.ts +5 -4
- package/cdn/terra-ui-components.js +81 -75
- package/cdn/types/vue/index.d.ts +203 -132
- 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 +159 -99
- package/cdn/web-types.json +356 -223
- package/dist/chunks/{chunk.ICYAVVW4.js → chunk.2QTJHB7F.js} +1 -1
- package/dist/chunks/{chunk.IYY536HH.js → chunk.2RGRL45T.js} +1 -1
- package/dist/chunks/{chunk.WXWUMSQ6.js → chunk.2WHOFNO7.js} +1 -1
- package/dist/chunks/{chunk.W7JRXR2Y.js → chunk.2YRBHDWM.js} +1 -1
- package/dist/chunks/{chunk.OIO4HWK3.js → chunk.3IIDXU4S.js} +1 -1
- package/dist/chunks/{chunk.JXNFBM4G.js → chunk.3J5TZOPP.js} +17 -17
- package/dist/chunks/{chunk.SBA3WOAN.js → chunk.3JQPZWUE.js} +1 -1
- package/dist/chunks/{chunk.2OY33DUQ.js → chunk.3K3BQXON.js} +1 -1
- package/{cdn/chunks/chunk.4XVD3JO6.js → dist/chunks/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.X2NOCGLF.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.AKIZ4D6W.js → chunk.BCU2ZKJ4.js} +1 -1
- package/dist/chunks/{chunk.BOJX33N7.js → chunk.BVCKNDN2.js} +1 -1
- package/{cdn/chunks/chunk.3T5XKTPL.js → dist/chunks/chunk.BXMFNRIQ.js} +1 -1
- package/dist/chunks/{chunk.ZCPWIACO.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.G7L4LFF2.js → chunk.E5OMSMPR.js} +4 -4
- package/dist/chunks/{chunk.KLX4FSH3.js → chunk.ED4EXVSJ.js} +1 -1
- package/{cdn/chunks/chunk.OHPQWGRL.js → dist/chunks/chunk.F5UDJENT.js} +1 -1
- package/dist/chunks/chunk.F7GS6U3O.js +21 -0
- package/dist/chunks/{chunk.QJGNTLKC.js → chunk.FAIVIYKA.js} +2 -2
- package/{cdn/chunks/chunk.VJY3BVCV.js → dist/chunks/chunk.H6K7DI54.js} +1 -1
- package/dist/chunks/{chunk.QK5OWFVO.js → chunk.HJGC45MW.js} +34 -4
- package/dist/chunks/{chunk.IXA4S7MC.js → chunk.HRODIECS.js} +1 -1
- package/dist/chunks/{chunk.HC2GJY4W.js → chunk.IPMALKFU.js} +1 -1
- package/dist/chunks/{chunk.2VI37SGK.js → chunk.JPTE36KF.js} +15 -22
- package/dist/chunks/{chunk.TRYPXGEF.js → chunk.KAU6YSSX.js} +5 -5
- package/dist/chunks/{chunk.6MWZMGHC.js → chunk.KF6GNNY4.js} +1 -1
- package/{cdn/chunks/chunk.JPORUQZG.js → dist/chunks/chunk.KY7CFQ2L.js} +1 -1
- package/dist/chunks/{chunk.A5MHK2RE.js → chunk.KZQGAFNS.js} +1 -1
- package/dist/chunks/{chunk.ZJX62EXO.js → chunk.LDXAXITL.js} +4 -4
- package/dist/chunks/{chunk.GRG5Z2VH.js → chunk.MY3D3SMW.js} +1 -1
- package/dist/chunks/{chunk.LVFOF3IN.js → chunk.NE2F3K3V.js} +4 -4
- package/{cdn/chunks/chunk.4XCAK3VQ.js → dist/chunks/chunk.NQ2Y66ML.js} +1 -1
- package/dist/chunks/{chunk.NW3BG32V.js → chunk.NRFKLACI.js} +98 -37
- package/dist/chunks/{chunk.3R7FYOEC.js → chunk.NY3FWCB4.js} +1 -1
- package/dist/chunks/{chunk.AZFDLGZH.js → chunk.P4V6NTUB.js} +1 -1
- package/dist/chunks/{chunk.LIBBEBVE.js → chunk.PVN5GF75.js} +110 -17
- package/{cdn/chunks/chunk.34HTZ3BS.js → dist/chunks/chunk.R7ZFWMFX.js} +1 -1
- package/dist/chunks/{chunk.MERZEEOA.js → chunk.RAGOKALJ.js} +1 -1
- package/dist/chunks/{chunk.VTKHAV5B.js → chunk.RFLNQ553.js} +35 -35
- package/{cdn/chunks/chunk.DELCDBUW.js → dist/chunks/chunk.RO6IKZZJ.js} +1 -1
- package/{cdn/chunks/chunk.FQ3DGJP3.js → dist/chunks/chunk.SOQ4CR5P.js} +1 -1
- package/dist/chunks/{chunk.JOOAZ4RH.js → chunk.T3YDWJBU.js} +1 -1
- package/dist/chunks/{chunk.TGFRBJQ2.js → chunk.TOKOGZDW.js} +2 -2
- package/dist/chunks/{chunk.Z3BPGAEC.js → chunk.TOSECFXS.js} +4 -5
- package/{cdn/chunks/chunk.3YMOUEX5.js → dist/chunks/chunk.U4VDOWEL.js} +1 -1
- package/dist/chunks/{chunk.TPLUT5FB.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.AFNAKALA.js → chunk.XBGMPAGN.js} +1 -1
- package/{cdn/chunks/chunk.UDRESO3S.js → dist/chunks/chunk.XJZRUYAI.js} +1 -1
- package/dist/chunks/chunk.XTWS7MM5.js +11 -0
- package/dist/chunks/{chunk.6SN6X5JU.js → chunk.YF6EKHHQ.js} +1 -1
- package/{cdn/chunks/chunk.7MXUXHLV.js → dist/chunks/chunk.YFE22UAS.js} +1 -1
- package/dist/chunks/{chunk.UCFFAP7X.js → chunk.YY2NUPBF.js} +1 -1
- package/dist/chunks/{chunk.CXHYT4QV.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 +17 -17
- package/dist/components/browse-variables/browse-variables.js +18 -18
- 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 +5 -5
- package/dist/components/icon/icon.js +6 -6
- 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 +12 -12
- package/dist/components/login/login.js +13 -13
- 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 +25 -25
- package/dist/components/time-series/time-series.controller.js +1 -1
- package/dist/components/time-series/time-series.js +26 -26
- 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 +13 -13
- package/dist/components/variable-combobox/variable-combobox.controller.js +2 -2
- package/dist/components/variable-combobox/variable-combobox.js +14 -14
- 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 +1988 -1482
- 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 +18 -18
- 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 +6 -6
- package/dist/react/index.d.ts +7 -6
- package/dist/react/index.js +81 -75
- package/dist/react/loader/index.js +3 -3
- package/dist/react/login/index.js +13 -13
- 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 +26 -26
- package/dist/react/variable-combobox/index.js +14 -14
- 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 +74 -68
- package/dist/terra_ui_components-0.0.30-py3-none-any.whl +0 -0
- package/dist/{terra_ui_components-0.0.29.tar.gz → terra_ui_components-0.0.30.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +203 -132
- package/dist/types.d.ts +7 -0
- package/dist/utilities/icon-library.js +2 -2
- package/dist/vscode.html-custom-data.json +159 -99
- package/dist/web-types.json +356 -223
- package/package.json +2 -1
- package/cdn/chunks/chunk.GQLH2MRB.js +0 -25
- package/cdn/chunks/chunk.LBQPBXCY.js +0 -11
- package/cdn/chunks/chunk.U43KGD3Q.js +0 -6136
- 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.OAWTBOBI.js +0 -203
- package/dist/chunks/chunk.OVSUMCZT.js +0 -11
- package/dist/chunks/chunk.TVP7YR6X.js +0 -25
- 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.29-py3-none-any.whl +0 -0
- package/cdn/chunks/{chunk.MDRUDBRH.js → chunk.7DOMZGX7.js} +3 -3
- package/cdn/chunks/{chunk.OBHNA5IZ.js → chunk.WTPVOF7N.js} +5 -5
- 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,37 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TerraVariableCombobox
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.NRFKLACI.js";
|
|
4
4
|
import {
|
|
5
5
|
spatial_picker_default
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.YF6EKHHQ.js";
|
|
7
7
|
import {
|
|
8
|
-
TimeSeriesController
|
|
9
|
-
|
|
8
|
+
TimeSeriesController,
|
|
9
|
+
calculateDataPoints
|
|
10
|
+
} from "./chunk.WAIWLZ6Z.js";
|
|
10
11
|
import {
|
|
11
12
|
time_series_styles_default
|
|
12
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.5EHGVGXV.js";
|
|
13
14
|
import {
|
|
14
15
|
TerraPlot
|
|
15
|
-
} from "./chunk.
|
|
16
|
+
} from "./chunk.TOKOGZDW.js";
|
|
16
17
|
import {
|
|
17
18
|
TerraDateRangeSlider
|
|
18
|
-
} from "./chunk.
|
|
19
|
+
} from "./chunk.LDXAXITL.js";
|
|
19
20
|
import {
|
|
20
21
|
TerraLoader
|
|
21
|
-
} from "./chunk.
|
|
22
|
+
} from "./chunk.3JQPZWUE.js";
|
|
22
23
|
import {
|
|
23
24
|
TerraIcon
|
|
24
|
-
} from "./chunk.
|
|
25
|
+
} from "./chunk.KAU6YSSX.js";
|
|
25
26
|
import {
|
|
26
27
|
TerraButton
|
|
27
|
-
} from "./chunk.
|
|
28
|
+
} from "./chunk.TOSECFXS.js";
|
|
28
29
|
import {
|
|
29
30
|
watch
|
|
30
31
|
} from "./chunk.SK7IZCKP.js";
|
|
31
32
|
import {
|
|
32
33
|
TerraElement,
|
|
33
34
|
component_styles_default
|
|
34
|
-
} from "./chunk.
|
|
35
|
+
} from "./chunk.BCU2ZKJ4.js";
|
|
35
36
|
import {
|
|
36
37
|
__decorateClass,
|
|
37
38
|
__privateAdd,
|
|
@@ -46,16 +47,24 @@ import timezone from "dayjs/plugin/timezone.js";
|
|
|
46
47
|
import utc from "dayjs/plugin/utc.js";
|
|
47
48
|
import { cache } from "lit/directives/cache.js";
|
|
48
49
|
import { downloadImage } from "plotly.js-dist-min";
|
|
49
|
-
import { html } from "lit";
|
|
50
|
+
import { html, nothing } from "lit";
|
|
50
51
|
import { property, query, state } from "lit/decorators.js";
|
|
51
52
|
import { TaskStatus } from "@lit/task";
|
|
53
|
+
var NUM_DATAPOINTS_TO_WARN_USER = 5e4;
|
|
52
54
|
dayjs.extend(utc);
|
|
53
55
|
dayjs.extend(timezone);
|
|
54
56
|
dayjs.tz.setDefault("Etc/GMT");
|
|
55
|
-
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;
|
|
57
|
+
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;
|
|
56
58
|
var TerraTimeSeries = class extends TerraElement {
|
|
57
59
|
constructor() {
|
|
58
60
|
super(...arguments);
|
|
61
|
+
/**
|
|
62
|
+
* Checks if the current date range will exceed data point limits
|
|
63
|
+
* eturns true if it's safe to proceed, false if confirmation is needed
|
|
64
|
+
*/
|
|
65
|
+
__privateAdd(this, _checkDataPointLimits);
|
|
66
|
+
__privateAdd(this, _confirmDataPointWarning);
|
|
67
|
+
__privateAdd(this, _cancelDataPointWarning);
|
|
59
68
|
__privateAdd(this, _adaptPropertyToController);
|
|
60
69
|
/**
|
|
61
70
|
* The Collection Beginning DateTime changes when a new collection is selected.
|
|
@@ -88,6 +97,8 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
88
97
|
__privateAdd(this, _downloadPNG);
|
|
89
98
|
__privateAdd(this, _handleActiveMenuItem);
|
|
90
99
|
__privateAdd(this, _timeSeriesController, void 0);
|
|
100
|
+
this.showDataPointWarning = false;
|
|
101
|
+
this.estimatedDataPoints = 0;
|
|
91
102
|
this.activeMenuItem = null;
|
|
92
103
|
}
|
|
93
104
|
handleCollectionUpdate(_oldValue, newValue) {
|
|
@@ -120,8 +131,9 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
120
131
|
return html`
|
|
121
132
|
<terra-variable-combobox
|
|
122
133
|
exportparts="base:variable-combobox__base, combobox:variable-combobox__combobox, button:variable-combobox__button, listbox:variable-combobox__listbox"
|
|
123
|
-
value=${`${this.collection}_${this.variable}`}
|
|
134
|
+
.value=${this.collection && this.variable ? `${this.collection}_${this.variable}` : nothing}
|
|
124
135
|
.bearerToken=${(_a = this.bearerToken) != null ? _a : null}
|
|
136
|
+
.useTags=${true}
|
|
125
137
|
@terra-combobox-change="${__privateMethod(this, _handleVariableChange, handleVariableChange_fn)}"
|
|
126
138
|
></terra-variable-combobox>
|
|
127
139
|
|
|
@@ -198,7 +210,6 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
198
210
|
></terra-icon>
|
|
199
211
|
</terra-button>
|
|
200
212
|
</div>
|
|
201
|
-
</header>
|
|
202
213
|
|
|
203
214
|
<menu
|
|
204
215
|
role="menu"
|
|
@@ -230,7 +241,7 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
230
241
|
href=${this.datasetLandingPage}
|
|
231
242
|
rel="noopener noreffer"
|
|
232
243
|
target="_blank"
|
|
233
|
-
|
|
244
|
+
>${this.collectionLongName}
|
|
234
245
|
|
|
235
246
|
<terra-icon
|
|
236
247
|
name="outline-arrow-top-right-on-square"
|
|
@@ -326,6 +337,7 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
326
337
|
</ul>
|
|
327
338
|
</li>
|
|
328
339
|
</menu>
|
|
340
|
+
</header>
|
|
329
341
|
` : html`<div class="spacer"></div>`
|
|
330
342
|
)}
|
|
331
343
|
|
|
@@ -371,10 +383,69 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
371
383
|
<p>Plotting ${this.collection} ${this.variable}…</p>
|
|
372
384
|
<terra-button @click=${__privateMethod(this, _abortDataLoad, abortDataLoad_fn)}>Cancel</terra-button>
|
|
373
385
|
</dialog>
|
|
386
|
+
|
|
387
|
+
<dialog ?open=${this.showDataPointWarning} class="quota-dialog">
|
|
388
|
+
<h2>This is a large request</h2>
|
|
389
|
+
|
|
390
|
+
<p>
|
|
391
|
+
You are requesting approximately
|
|
392
|
+
${this.estimatedDataPoints.toLocaleString()} data points.
|
|
393
|
+
</p>
|
|
394
|
+
|
|
395
|
+
<p>
|
|
396
|
+
Requesting large amounts of data may cause you to reach your
|
|
397
|
+
monthly quota limit.
|
|
398
|
+
</p>
|
|
399
|
+
|
|
400
|
+
<p>Would you still like to proceed with this request?</p>
|
|
401
|
+
|
|
402
|
+
<div class="dialog-buttons">
|
|
403
|
+
<terra-button
|
|
404
|
+
@click=${__privateMethod(this, _cancelDataPointWarning, cancelDataPointWarning_fn)}
|
|
405
|
+
variant="default"
|
|
406
|
+
>
|
|
407
|
+
Cancel
|
|
408
|
+
</terra-button>
|
|
409
|
+
|
|
410
|
+
<terra-button
|
|
411
|
+
@click=${__privateMethod(this, _confirmDataPointWarning, confirmDataPointWarning_fn)}
|
|
412
|
+
variant="primary"
|
|
413
|
+
>
|
|
414
|
+
Proceed
|
|
415
|
+
</terra-button>
|
|
416
|
+
</div>
|
|
417
|
+
</dialog>
|
|
374
418
|
`;
|
|
375
419
|
}
|
|
376
420
|
};
|
|
377
421
|
_timeSeriesController = new WeakMap();
|
|
422
|
+
_checkDataPointLimits = new WeakSet();
|
|
423
|
+
checkDataPointLimits_fn = function() {
|
|
424
|
+
if (!this.timeInterval || !this.startDate || !this.endDate) {
|
|
425
|
+
return true;
|
|
426
|
+
}
|
|
427
|
+
const startDate = dayjs.utc(this.startDate).toDate();
|
|
428
|
+
const endDate = dayjs.utc(this.endDate).toDate();
|
|
429
|
+
this.estimatedDataPoints = calculateDataPoints(
|
|
430
|
+
this.timeInterval,
|
|
431
|
+
startDate,
|
|
432
|
+
endDate
|
|
433
|
+
);
|
|
434
|
+
if (this.estimatedDataPoints < NUM_DATAPOINTS_TO_WARN_USER) {
|
|
435
|
+
return true;
|
|
436
|
+
}
|
|
437
|
+
this.showDataPointWarning = true;
|
|
438
|
+
return false;
|
|
439
|
+
};
|
|
440
|
+
_confirmDataPointWarning = new WeakSet();
|
|
441
|
+
confirmDataPointWarning_fn = function() {
|
|
442
|
+
this.showDataPointWarning = false;
|
|
443
|
+
__privateGet(this, _timeSeriesController).task.run();
|
|
444
|
+
};
|
|
445
|
+
_cancelDataPointWarning = new WeakSet();
|
|
446
|
+
cancelDataPointWarning_fn = function() {
|
|
447
|
+
this.showDataPointWarning = false;
|
|
448
|
+
};
|
|
378
449
|
_adaptPropertyToController = new WeakSet();
|
|
379
450
|
adaptPropertyToController_fn = function(property2, value) {
|
|
380
451
|
switch (property2) {
|
|
@@ -390,7 +461,6 @@ adaptPropertyToController_fn = function(property2, value) {
|
|
|
390
461
|
__privateGet(this, _timeSeriesController)[property2] = value;
|
|
391
462
|
break;
|
|
392
463
|
}
|
|
393
|
-
__privateGet(this, _timeSeriesController).task.run();
|
|
394
464
|
};
|
|
395
465
|
_maybeSliceTimeForStartEnd = new WeakSet();
|
|
396
466
|
maybeSliceTimeForStartEnd_fn = function() {
|
|
@@ -415,11 +485,16 @@ handleVariableChange_fn = function(event) {
|
|
|
415
485
|
this.collectionEndingDateTime = dayjs.utc().format(event.detail.collectionEndingDateTime);
|
|
416
486
|
__privateMethod(this, _maybeSliceTimeForStartEnd, maybeSliceTimeForStartEnd_fn).call(this);
|
|
417
487
|
this.collection = `${event.detail.collectionShortName}_${event.detail.collectionVersion}`;
|
|
488
|
+
this.collectionLongName = event.detail.collectionLongName;
|
|
418
489
|
this.datasetLandingPage = event.detail.datasetLandingPage;
|
|
419
490
|
this.units = event.detail.units;
|
|
420
491
|
this.variable = event.detail.name;
|
|
421
492
|
this.variableLandingPage = event.detail.variableLandingPage;
|
|
422
493
|
this.variableLongName = event.detail.longName;
|
|
494
|
+
this.timeInterval = event.detail.timeInterval;
|
|
495
|
+
if (__privateMethod(this, _checkDataPointLimits, checkDataPointLimits_fn).call(this)) {
|
|
496
|
+
__privateGet(this, _timeSeriesController).task.run();
|
|
497
|
+
}
|
|
423
498
|
};
|
|
424
499
|
_handleMapChange = new WeakSet();
|
|
425
500
|
handleMapChange_fn = function(event) {
|
|
@@ -427,12 +502,18 @@ handleMapChange_fn = function(event) {
|
|
|
427
502
|
if (type === "Point") {
|
|
428
503
|
const { latLng } = event.detail;
|
|
429
504
|
this.location = `${latLng.lat.toFixed(4)},${latLng.lng.toFixed(4)}`;
|
|
505
|
+
if (__privateMethod(this, _checkDataPointLimits, checkDataPointLimits_fn).call(this)) {
|
|
506
|
+
__privateGet(this, _timeSeriesController).task.run();
|
|
507
|
+
}
|
|
430
508
|
}
|
|
431
509
|
};
|
|
432
510
|
_handleDateRangeSliderChangeEvent = new WeakSet();
|
|
433
511
|
handleDateRangeSliderChangeEvent_fn = function(event) {
|
|
434
512
|
this.startDate = event.detail.startDate;
|
|
435
513
|
this.endDate = event.detail.endDate;
|
|
514
|
+
if (__privateMethod(this, _checkDataPointLimits, checkDataPointLimits_fn).call(this)) {
|
|
515
|
+
__privateGet(this, _timeSeriesController).task.run();
|
|
516
|
+
}
|
|
436
517
|
};
|
|
437
518
|
_abortDataLoad = new WeakSet();
|
|
438
519
|
abortDataLoad_fn = function() {
|
|
@@ -493,6 +574,9 @@ TerraTimeSeries.dependencies = {
|
|
|
493
574
|
__decorateClass([
|
|
494
575
|
property({ reflect: true })
|
|
495
576
|
], TerraTimeSeries.prototype, "collection", 2);
|
|
577
|
+
__decorateClass([
|
|
578
|
+
property({ reflect: true })
|
|
579
|
+
], TerraTimeSeries.prototype, "collectionLongName", 2);
|
|
496
580
|
__decorateClass([
|
|
497
581
|
property({ reflect: true })
|
|
498
582
|
], TerraTimeSeries.prototype, "datasetLandingPage", 2);
|
|
@@ -551,6 +635,15 @@ __decorateClass([
|
|
|
551
635
|
__decorateClass([
|
|
552
636
|
state()
|
|
553
637
|
], TerraTimeSeries.prototype, "collectionEndingDateTime", 2);
|
|
638
|
+
__decorateClass([
|
|
639
|
+
state()
|
|
640
|
+
], TerraTimeSeries.prototype, "timeInterval", 2);
|
|
641
|
+
__decorateClass([
|
|
642
|
+
state()
|
|
643
|
+
], TerraTimeSeries.prototype, "showDataPointWarning", 2);
|
|
644
|
+
__decorateClass([
|
|
645
|
+
state()
|
|
646
|
+
], TerraTimeSeries.prototype, "estimatedDataPoints", 2);
|
|
554
647
|
__decorateClass([
|
|
555
648
|
state()
|
|
556
649
|
], TerraTimeSeries.prototype, "activeMenuItem", 2);
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./chunk.
|
|
4
|
-
import {
|
|
5
|
-
FetchController
|
|
6
|
-
} from "./chunk.JOOAZ4RH.js";
|
|
7
|
-
import {
|
|
8
|
-
giovanni_search_styles_default
|
|
9
|
-
} from "./chunk.KJQZP5RO.js";
|
|
2
|
+
variable_keyword_search_styles_default
|
|
3
|
+
} from "./chunk.AUB6SKUI.js";
|
|
10
4
|
import {
|
|
11
5
|
clearSelection,
|
|
12
6
|
renderSearchResult,
|
|
13
7
|
walkToOption
|
|
14
|
-
} from "./chunk.
|
|
8
|
+
} from "./chunk.DW23TAF4.js";
|
|
9
|
+
import {
|
|
10
|
+
FetchController
|
|
11
|
+
} from "./chunk.T3YDWJBU.js";
|
|
12
|
+
import {
|
|
13
|
+
icon_default
|
|
14
|
+
} from "./chunk.BXMFNRIQ.js";
|
|
15
15
|
import {
|
|
16
16
|
button_default
|
|
17
|
-
} from "./chunk.
|
|
17
|
+
} from "./chunk.MY3D3SMW.js";
|
|
18
18
|
import {
|
|
19
19
|
watch
|
|
20
20
|
} from "./chunk.SK7IZCKP.js";
|
|
21
21
|
import {
|
|
22
22
|
TerraElement,
|
|
23
23
|
component_styles_default
|
|
24
|
-
} from "./chunk.
|
|
24
|
+
} from "./chunk.BCU2ZKJ4.js";
|
|
25
25
|
import {
|
|
26
26
|
__decorateClass,
|
|
27
27
|
__privateAdd,
|
|
@@ -32,14 +32,14 @@ import {
|
|
|
32
32
|
__spreadValues
|
|
33
33
|
} from "./chunk.TVFCHGU3.js";
|
|
34
34
|
|
|
35
|
-
// src/components/
|
|
35
|
+
// src/components/variable-keyword-search/variable-keyword-search.component.ts
|
|
36
36
|
import Fuse from "fuse.js";
|
|
37
37
|
import { LitElement, html, nothing } from "lit";
|
|
38
38
|
import { property, state } from "lit/decorators.js";
|
|
39
39
|
import { map } from "lit/directives/map.js";
|
|
40
40
|
import { ref } from "lit/directives/ref.js";
|
|
41
41
|
var _combobox, _fetchController, _listbox, _searchEngine, _walker, _handleComboboxChange, _handleOptionClick, _handleKeydown, _manageListboxVisibility, _selectOption, _handleSearch, handleSearch_fn, _clearSearch, clearSearch_fn;
|
|
42
|
-
var
|
|
42
|
+
var _TerraVariableKeywordSearch = class _TerraVariableKeywordSearch extends TerraElement {
|
|
43
43
|
constructor() {
|
|
44
44
|
super(...arguments);
|
|
45
45
|
__privateAdd(this, _handleSearch);
|
|
@@ -57,7 +57,7 @@ var _TerraGiovanniSearch = class _TerraGiovanniSearch extends TerraElement {
|
|
|
57
57
|
useExtendedSearch: true
|
|
58
58
|
};
|
|
59
59
|
this.isExpanded = false;
|
|
60
|
-
this.query =
|
|
60
|
+
this.query = _TerraVariableKeywordSearch.initialQuery;
|
|
61
61
|
this.searchResults = [];
|
|
62
62
|
__privateAdd(this, _handleComboboxChange, (event) => {
|
|
63
63
|
var _a;
|
|
@@ -128,7 +128,7 @@ var _TerraGiovanniSearch = class _TerraGiovanniSearch extends TerraElement {
|
|
|
128
128
|
this.isExpanded = false;
|
|
129
129
|
this.dispatchEvent(new Event("cancel"));
|
|
130
130
|
} else {
|
|
131
|
-
this.query =
|
|
131
|
+
this.query = _TerraVariableKeywordSearch.initialQuery;
|
|
132
132
|
}
|
|
133
133
|
break;
|
|
134
134
|
}
|
|
@@ -140,7 +140,7 @@ var _TerraGiovanniSearch = class _TerraGiovanniSearch extends TerraElement {
|
|
|
140
140
|
__privateAdd(this, _manageListboxVisibility, (event) => {
|
|
141
141
|
const path = event.composedPath();
|
|
142
142
|
const containedThis = path.some(
|
|
143
|
-
(eventTarget) => eventTarget.localName ===
|
|
143
|
+
(eventTarget) => eventTarget.localName === _TerraVariableKeywordSearch.tagName
|
|
144
144
|
);
|
|
145
145
|
if (!containedThis) {
|
|
146
146
|
this.isExpanded = false;
|
|
@@ -148,7 +148,7 @@ var _TerraGiovanniSearch = class _TerraGiovanniSearch extends TerraElement {
|
|
|
148
148
|
});
|
|
149
149
|
__privateAdd(this, _selectOption, (option) => {
|
|
150
150
|
this.query = option.id;
|
|
151
|
-
this.emit("terra-
|
|
151
|
+
this.emit("terra-variable-keyword-search-change", { detail: option.id });
|
|
152
152
|
this.isExpanded = false;
|
|
153
153
|
clearSelection(
|
|
154
154
|
__privateGet(this, _combobox),
|
|
@@ -168,7 +168,7 @@ var _TerraGiovanniSearch = class _TerraGiovanniSearch extends TerraElement {
|
|
|
168
168
|
globalThis.removeEventListener("click", __privateGet(this, _manageListboxVisibility));
|
|
169
169
|
}
|
|
170
170
|
clear() {
|
|
171
|
-
this.query =
|
|
171
|
+
this.query = _TerraVariableKeywordSearch.initialQuery;
|
|
172
172
|
}
|
|
173
173
|
close() {
|
|
174
174
|
this.isExpanded = false;
|
|
@@ -302,7 +302,7 @@ handleSearch_fn = function(query) {
|
|
|
302
302
|
_clearSearch = new WeakSet();
|
|
303
303
|
clearSearch_fn = function() {
|
|
304
304
|
var _a;
|
|
305
|
-
this.query =
|
|
305
|
+
this.query = _TerraVariableKeywordSearch.initialQuery;
|
|
306
306
|
this.emit("terra-search", { detail: this.query });
|
|
307
307
|
clearSelection(
|
|
308
308
|
__privateGet(this, _combobox),
|
|
@@ -310,45 +310,45 @@ clearSearch_fn = function() {
|
|
|
310
310
|
);
|
|
311
311
|
(_a = __privateGet(this, _combobox)) == null ? void 0 : _a.focus();
|
|
312
312
|
};
|
|
313
|
-
|
|
313
|
+
_TerraVariableKeywordSearch.dependencies = {
|
|
314
314
|
"terra-button": button_default,
|
|
315
315
|
"terra-icon": icon_default
|
|
316
316
|
};
|
|
317
|
-
|
|
318
|
-
|
|
317
|
+
_TerraVariableKeywordSearch.styles = [component_styles_default, variable_keyword_search_styles_default];
|
|
318
|
+
_TerraVariableKeywordSearch.shadowRootOptions = __spreadProps(__spreadValues({}, LitElement.shadowRootOptions), {
|
|
319
319
|
delegatesFocus: true
|
|
320
320
|
});
|
|
321
|
-
|
|
322
|
-
|
|
321
|
+
_TerraVariableKeywordSearch.tagName = "terra-variable-keyword-search";
|
|
322
|
+
_TerraVariableKeywordSearch.initialQuery = "";
|
|
323
323
|
__decorateClass([
|
|
324
324
|
property()
|
|
325
|
-
],
|
|
325
|
+
], _TerraVariableKeywordSearch.prototype, "label", 2);
|
|
326
326
|
__decorateClass([
|
|
327
327
|
property()
|
|
328
|
-
],
|
|
328
|
+
], _TerraVariableKeywordSearch.prototype, "placeholder", 2);
|
|
329
329
|
__decorateClass([
|
|
330
330
|
property({ attribute: "hide-label", type: Boolean })
|
|
331
|
-
],
|
|
331
|
+
], _TerraVariableKeywordSearch.prototype, "hideLabel", 2);
|
|
332
332
|
__decorateClass([
|
|
333
333
|
property({ reflect: false, type: Object })
|
|
334
|
-
],
|
|
334
|
+
], _TerraVariableKeywordSearch.prototype, "searchConfig", 2);
|
|
335
335
|
__decorateClass([
|
|
336
336
|
property()
|
|
337
|
-
],
|
|
337
|
+
], _TerraVariableKeywordSearch.prototype, "value", 2);
|
|
338
338
|
__decorateClass([
|
|
339
339
|
state()
|
|
340
|
-
],
|
|
340
|
+
], _TerraVariableKeywordSearch.prototype, "isExpanded", 2);
|
|
341
341
|
__decorateClass([
|
|
342
342
|
state()
|
|
343
|
-
],
|
|
343
|
+
], _TerraVariableKeywordSearch.prototype, "query", 2);
|
|
344
344
|
__decorateClass([
|
|
345
345
|
state()
|
|
346
|
-
],
|
|
346
|
+
], _TerraVariableKeywordSearch.prototype, "searchResults", 2);
|
|
347
347
|
__decorateClass([
|
|
348
348
|
watch("value")
|
|
349
|
-
],
|
|
350
|
-
var
|
|
349
|
+
], _TerraVariableKeywordSearch.prototype, "valueChanged", 1);
|
|
350
|
+
var TerraVariableKeywordSearch = _TerraVariableKeywordSearch;
|
|
351
351
|
|
|
352
352
|
export {
|
|
353
|
-
|
|
353
|
+
TerraVariableKeywordSearch
|
|
354
354
|
};
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__privateSet
|
|
5
5
|
} from "./chunk.TVFCHGU3.js";
|
|
6
6
|
|
|
7
|
-
// src/components/
|
|
7
|
+
// src/components/variable-keyword-search/variable-keyword-search.controller.ts
|
|
8
8
|
import { Task, TaskStatus } from "@lit/task";
|
|
9
9
|
var apiError = new Error(
|
|
10
10
|
"Failed to fetch the data required to make a list of searchable items."
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
plot_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.2YRBHDWM.js";
|
|
4
4
|
import {
|
|
5
5
|
watch
|
|
6
6
|
} from "./chunk.SK7IZCKP.js";
|
|
7
7
|
import {
|
|
8
8
|
TerraElement,
|
|
9
9
|
component_styles_default
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.BCU2ZKJ4.js";
|
|
11
11
|
import {
|
|
12
12
|
__decorateClass,
|
|
13
13
|
__privateAdd,
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
FormControlController,
|
|
3
3
|
validValidityState
|
|
4
4
|
} from "./chunk.KAV5L6Z5.js";
|
|
5
|
-
import {
|
|
6
|
-
button_styles_default
|
|
7
|
-
} from "./chunk.APJOA6RL.js";
|
|
8
5
|
import {
|
|
9
6
|
watch
|
|
10
7
|
} from "./chunk.SK7IZCKP.js";
|
|
8
|
+
import {
|
|
9
|
+
button_styles_default
|
|
10
|
+
} from "./chunk.APJOA6RL.js";
|
|
11
11
|
import {
|
|
12
12
|
TerraElement,
|
|
13
13
|
component_styles_default
|
|
14
|
-
} from "./chunk.
|
|
14
|
+
} from "./chunk.BCU2ZKJ4.js";
|
|
15
15
|
import {
|
|
16
16
|
__decorateClass,
|
|
17
17
|
__privateAdd,
|
|
@@ -308,7 +308,6 @@ var TerraButton = class extends TerraElement {
|
|
|
308
308
|
_handleDialogStateChange = new WeakSet();
|
|
309
309
|
handleDialogStateChange_fn = function(e) {
|
|
310
310
|
if (this.forDialog && this.forDialog === e.target.id) {
|
|
311
|
-
this.expanded = e.target.open;
|
|
312
311
|
}
|
|
313
312
|
};
|
|
314
313
|
TerraButton.styles = [component_styles_default, button_styles_default];
|