@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
package/cdn/custom-elements.json
CHANGED
|
@@ -706,6 +706,265 @@
|
|
|
706
706
|
}
|
|
707
707
|
]
|
|
708
708
|
},
|
|
709
|
+
{
|
|
710
|
+
"kind": "javascript-module",
|
|
711
|
+
"path": "components/browse-variables/browse-variables.js",
|
|
712
|
+
"declarations": [
|
|
713
|
+
{
|
|
714
|
+
"kind": "class",
|
|
715
|
+
"description": "",
|
|
716
|
+
"name": "TerraBrowseVariables",
|
|
717
|
+
"members": [
|
|
718
|
+
{
|
|
719
|
+
"kind": "field",
|
|
720
|
+
"name": "dependencies",
|
|
721
|
+
"type": {
|
|
722
|
+
"text": "object"
|
|
723
|
+
},
|
|
724
|
+
"static": true,
|
|
725
|
+
"default": "{\n 'terra-variable-keyword-search': TerraVariableKeywordSearch,\n 'terra-button': TerraButton,\n 'terra-skeleton': TerraSkeleton,\n 'terra-icon': TerraIcon,\n 'terra-loader': TerraLoader,\n }"
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
"kind": "field",
|
|
729
|
+
"name": "catalog",
|
|
730
|
+
"type": {
|
|
731
|
+
"text": "'giovanni'"
|
|
732
|
+
},
|
|
733
|
+
"default": "'giovanni'",
|
|
734
|
+
"description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
|
|
735
|
+
"attribute": "catalog"
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
"kind": "field",
|
|
739
|
+
"name": "searchQuery",
|
|
740
|
+
"type": {
|
|
741
|
+
"text": "string"
|
|
742
|
+
}
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"kind": "field",
|
|
746
|
+
"name": "selectedFacets",
|
|
747
|
+
"type": {
|
|
748
|
+
"text": "SelectedFacets"
|
|
749
|
+
},
|
|
750
|
+
"default": "{}"
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
"kind": "field",
|
|
754
|
+
"name": "selectedVariables",
|
|
755
|
+
"type": {
|
|
756
|
+
"text": "Variable[]"
|
|
757
|
+
},
|
|
758
|
+
"default": "[]"
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
"kind": "field",
|
|
762
|
+
"name": "showVariablesBrowse",
|
|
763
|
+
"type": {
|
|
764
|
+
"text": "boolean"
|
|
765
|
+
},
|
|
766
|
+
"default": "false"
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
"kind": "field",
|
|
770
|
+
"name": "#controller",
|
|
771
|
+
"privacy": "private",
|
|
772
|
+
"default": "new BrowseVariablesController(this)"
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"kind": "method",
|
|
776
|
+
"name": "handleSelectedVariablesChange"
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
"kind": "method",
|
|
780
|
+
"name": "reset"
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
"kind": "method",
|
|
784
|
+
"name": "handleObservationChange"
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
"kind": "method",
|
|
788
|
+
"name": "toggleFacetSelect",
|
|
789
|
+
"parameters": [
|
|
790
|
+
{
|
|
791
|
+
"name": "event",
|
|
792
|
+
"type": {
|
|
793
|
+
"text": "Event"
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
]
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
"kind": "method",
|
|
800
|
+
"name": "handleSearch",
|
|
801
|
+
"parameters": [
|
|
802
|
+
{
|
|
803
|
+
"name": "e",
|
|
804
|
+
"type": {
|
|
805
|
+
"text": "TerraVariableKeywordSearchChangeEvent"
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
]
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
"kind": "method",
|
|
812
|
+
"name": "#selectFacetField",
|
|
813
|
+
"parameters": [
|
|
814
|
+
{
|
|
815
|
+
"name": "facet",
|
|
816
|
+
"type": {
|
|
817
|
+
"text": "string"
|
|
818
|
+
}
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"name": "field",
|
|
822
|
+
"type": {
|
|
823
|
+
"text": "string"
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"name": "selectOneFieldAtATime",
|
|
828
|
+
"default": "false",
|
|
829
|
+
"type": {
|
|
830
|
+
"text": "boolean"
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
],
|
|
834
|
+
"description": "given a field, ex: \"observations\": \"Model\", will add the field to any existing selected facets\nif \"selectedOneFieldAtATime\" is true, then we will only select that one field"
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"kind": "method",
|
|
838
|
+
"name": "#clearFacet",
|
|
839
|
+
"parameters": [
|
|
840
|
+
{
|
|
841
|
+
"name": "facet",
|
|
842
|
+
"type": {
|
|
843
|
+
"text": "string"
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
]
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
"kind": "method",
|
|
850
|
+
"name": "#unselectFacetField",
|
|
851
|
+
"parameters": [
|
|
852
|
+
{
|
|
853
|
+
"name": "facet",
|
|
854
|
+
"type": {
|
|
855
|
+
"text": "string"
|
|
856
|
+
}
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
"name": "field",
|
|
860
|
+
"type": {
|
|
861
|
+
"text": "string"
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
]
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
"kind": "method",
|
|
868
|
+
"name": "#handleVariableSelection",
|
|
869
|
+
"parameters": [
|
|
870
|
+
{
|
|
871
|
+
"name": "variable",
|
|
872
|
+
"type": {
|
|
873
|
+
"text": "Variable"
|
|
874
|
+
}
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
"name": "checked",
|
|
878
|
+
"type": {
|
|
879
|
+
"text": "Boolean"
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
]
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
"kind": "method",
|
|
886
|
+
"name": "#renderCategorySelect"
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
"kind": "method",
|
|
890
|
+
"name": "#renderFacet",
|
|
891
|
+
"parameters": [
|
|
892
|
+
{
|
|
893
|
+
"name": "facetKey",
|
|
894
|
+
"type": {
|
|
895
|
+
"text": "string"
|
|
896
|
+
}
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
"name": "title",
|
|
900
|
+
"type": {
|
|
901
|
+
"text": "string"
|
|
902
|
+
}
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"name": "fields",
|
|
906
|
+
"optional": true,
|
|
907
|
+
"type": {
|
|
908
|
+
"text": "FacetField[]"
|
|
909
|
+
}
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
"name": "open",
|
|
913
|
+
"optional": true,
|
|
914
|
+
"type": {
|
|
915
|
+
"text": "boolean"
|
|
916
|
+
}
|
|
917
|
+
}
|
|
918
|
+
]
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"kind": "method",
|
|
922
|
+
"name": "#renderVariablesBrowse"
|
|
923
|
+
}
|
|
924
|
+
],
|
|
925
|
+
"attributes": [
|
|
926
|
+
{
|
|
927
|
+
"name": "catalog",
|
|
928
|
+
"type": {
|
|
929
|
+
"text": "'giovanni'"
|
|
930
|
+
},
|
|
931
|
+
"default": "'giovanni'",
|
|
932
|
+
"description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
|
|
933
|
+
"fieldName": "catalog"
|
|
934
|
+
}
|
|
935
|
+
],
|
|
936
|
+
"superclass": {
|
|
937
|
+
"name": "TerraElement",
|
|
938
|
+
"module": "/src/internal/terra-element.js"
|
|
939
|
+
},
|
|
940
|
+
"summary": "Browse through the NASA CMR or Giovanni catalogs.",
|
|
941
|
+
"tagNameWithoutPrefix": "browse-variables",
|
|
942
|
+
"tagName": "terra-browse-variables",
|
|
943
|
+
"customElement": true,
|
|
944
|
+
"jsDoc": "/**\n * @summary Browse through the NASA CMR or Giovanni catalogs.\n * @documentation https://disc.gsfc.nasa.gov/components/browse-variables\n * @status MVP\n * @since 1.0\n *\n * @emits terra-variables-change - emitted when the user selects or unselects variables\n *\n * @dependency terra-variable-keyword-search\n * @dependency terra-button\n * @dependency terra-skeleton\n * @dependency terra-icon\n * @dependency terra-loader\n */",
|
|
945
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/browse-variables",
|
|
946
|
+
"status": "MVP",
|
|
947
|
+
"since": "1.0",
|
|
948
|
+
"dependencies": [
|
|
949
|
+
"terra-variable-keyword-search",
|
|
950
|
+
"terra-button",
|
|
951
|
+
"terra-skeleton",
|
|
952
|
+
"terra-icon",
|
|
953
|
+
"terra-loader"
|
|
954
|
+
]
|
|
955
|
+
}
|
|
956
|
+
],
|
|
957
|
+
"exports": [
|
|
958
|
+
{
|
|
959
|
+
"kind": "js",
|
|
960
|
+
"name": "default",
|
|
961
|
+
"declaration": {
|
|
962
|
+
"name": "TerraBrowseVariables",
|
|
963
|
+
"module": "components/browse-variables/browse-variables.js"
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
]
|
|
967
|
+
},
|
|
709
968
|
{
|
|
710
969
|
"kind": "javascript-module",
|
|
711
970
|
"path": "components/chip/chip.js",
|
|
@@ -1130,250 +1389,361 @@
|
|
|
1130
1389
|
},
|
|
1131
1390
|
{
|
|
1132
1391
|
"kind": "javascript-module",
|
|
1133
|
-
"path": "components/
|
|
1392
|
+
"path": "components/date-picker/date-picker.js",
|
|
1134
1393
|
"declarations": [
|
|
1135
1394
|
{
|
|
1136
1395
|
"kind": "class",
|
|
1137
1396
|
"description": "",
|
|
1138
|
-
"name": "
|
|
1397
|
+
"name": "TerraDatePicker",
|
|
1398
|
+
"cssParts": [
|
|
1399
|
+
{
|
|
1400
|
+
"description": "The component's base wrapper.",
|
|
1401
|
+
"name": "base"
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
"description": "The date input element.",
|
|
1405
|
+
"name": "input"
|
|
1406
|
+
}
|
|
1407
|
+
],
|
|
1408
|
+
"slots": [
|
|
1409
|
+
{
|
|
1410
|
+
"description": "The default slot.",
|
|
1411
|
+
"name": ""
|
|
1412
|
+
}
|
|
1413
|
+
],
|
|
1139
1414
|
"members": [
|
|
1140
1415
|
{
|
|
1141
1416
|
"kind": "field",
|
|
1142
|
-
"name": "
|
|
1417
|
+
"name": "id",
|
|
1143
1418
|
"type": {
|
|
1144
|
-
"text": "
|
|
1419
|
+
"text": "string"
|
|
1145
1420
|
},
|
|
1146
|
-
"
|
|
1147
|
-
"default": "{\n 'terra-giovanni-search': TerraGiovanniSearch,\n 'terra-button': TerraButton,\n 'terra-skeleton': TerraSkeleton,\n 'terra-icon': TerraIcon,\n 'terra-loader': TerraLoader,\n }"
|
|
1421
|
+
"attribute": "id"
|
|
1148
1422
|
},
|
|
1149
1423
|
{
|
|
1150
1424
|
"kind": "field",
|
|
1151
|
-
"name": "
|
|
1425
|
+
"name": "range",
|
|
1152
1426
|
"type": {
|
|
1153
|
-
"text": "
|
|
1427
|
+
"text": "boolean"
|
|
1154
1428
|
},
|
|
1155
|
-
"default": "
|
|
1156
|
-
"
|
|
1157
|
-
"attribute": "catalog"
|
|
1429
|
+
"default": "false",
|
|
1430
|
+
"attribute": "range"
|
|
1158
1431
|
},
|
|
1159
1432
|
{
|
|
1160
1433
|
"kind": "field",
|
|
1161
|
-
"name": "
|
|
1434
|
+
"name": "minDate",
|
|
1162
1435
|
"type": {
|
|
1163
|
-
"text": "string"
|
|
1164
|
-
}
|
|
1436
|
+
"text": "string | undefined"
|
|
1437
|
+
},
|
|
1438
|
+
"attribute": "min-date"
|
|
1165
1439
|
},
|
|
1166
1440
|
{
|
|
1167
1441
|
"kind": "field",
|
|
1168
|
-
"name": "
|
|
1442
|
+
"name": "maxDate",
|
|
1169
1443
|
"type": {
|
|
1170
|
-
"text": "
|
|
1444
|
+
"text": "string | undefined"
|
|
1171
1445
|
},
|
|
1172
|
-
"
|
|
1446
|
+
"attribute": "max-date"
|
|
1173
1447
|
},
|
|
1174
1448
|
{
|
|
1175
1449
|
"kind": "field",
|
|
1176
|
-
"name": "
|
|
1450
|
+
"name": "startDate",
|
|
1177
1451
|
"type": {
|
|
1178
|
-
"text": "
|
|
1452
|
+
"text": "string | undefined"
|
|
1179
1453
|
},
|
|
1180
|
-
"
|
|
1454
|
+
"attribute": "start-date"
|
|
1181
1455
|
},
|
|
1182
1456
|
{
|
|
1183
1457
|
"kind": "field",
|
|
1184
|
-
"name": "
|
|
1458
|
+
"name": "endDate",
|
|
1459
|
+
"type": {
|
|
1460
|
+
"text": "string | undefined"
|
|
1461
|
+
},
|
|
1462
|
+
"attribute": "end-date"
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
"kind": "field",
|
|
1466
|
+
"name": "allowInput",
|
|
1185
1467
|
"type": {
|
|
1186
1468
|
"text": "boolean"
|
|
1187
1469
|
},
|
|
1188
|
-
"default": "false"
|
|
1470
|
+
"default": "false",
|
|
1471
|
+
"attribute": "allow-input"
|
|
1189
1472
|
},
|
|
1190
1473
|
{
|
|
1191
1474
|
"kind": "field",
|
|
1192
|
-
"name": "
|
|
1193
|
-
"
|
|
1194
|
-
|
|
1475
|
+
"name": "altFormat",
|
|
1476
|
+
"type": {
|
|
1477
|
+
"text": "string"
|
|
1478
|
+
},
|
|
1479
|
+
"default": "'F j, Y'",
|
|
1480
|
+
"attribute": "alt-format"
|
|
1195
1481
|
},
|
|
1196
1482
|
{
|
|
1197
|
-
"kind": "
|
|
1198
|
-
"name": "
|
|
1483
|
+
"kind": "field",
|
|
1484
|
+
"name": "altInput",
|
|
1485
|
+
"type": {
|
|
1486
|
+
"text": "boolean"
|
|
1487
|
+
},
|
|
1488
|
+
"default": "false",
|
|
1489
|
+
"attribute": "alt-input"
|
|
1199
1490
|
},
|
|
1200
1491
|
{
|
|
1201
|
-
"kind": "
|
|
1202
|
-
"name": "
|
|
1492
|
+
"kind": "field",
|
|
1493
|
+
"name": "altInputClass",
|
|
1494
|
+
"type": {
|
|
1495
|
+
"text": "string"
|
|
1496
|
+
},
|
|
1497
|
+
"default": "''",
|
|
1498
|
+
"attribute": "alt-input-class"
|
|
1203
1499
|
},
|
|
1204
1500
|
{
|
|
1205
|
-
"kind": "
|
|
1206
|
-
"name": "
|
|
1501
|
+
"kind": "field",
|
|
1502
|
+
"name": "dateFormat",
|
|
1503
|
+
"type": {
|
|
1504
|
+
"text": "string"
|
|
1505
|
+
},
|
|
1506
|
+
"default": "'Y-m-d'",
|
|
1507
|
+
"attribute": "date-format"
|
|
1207
1508
|
},
|
|
1208
1509
|
{
|
|
1209
|
-
"kind": "
|
|
1210
|
-
"name": "
|
|
1211
|
-
"
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
}
|
|
1217
|
-
}
|
|
1218
|
-
]
|
|
1510
|
+
"kind": "field",
|
|
1511
|
+
"name": "enableTime",
|
|
1512
|
+
"type": {
|
|
1513
|
+
"text": "boolean"
|
|
1514
|
+
},
|
|
1515
|
+
"default": "false",
|
|
1516
|
+
"attribute": "enable-time"
|
|
1219
1517
|
},
|
|
1220
1518
|
{
|
|
1221
|
-
"kind": "
|
|
1222
|
-
"name": "
|
|
1223
|
-
"
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
}
|
|
1229
|
-
}
|
|
1230
|
-
]
|
|
1519
|
+
"kind": "field",
|
|
1520
|
+
"name": "time24hr",
|
|
1521
|
+
"type": {
|
|
1522
|
+
"text": "boolean"
|
|
1523
|
+
},
|
|
1524
|
+
"default": "false",
|
|
1525
|
+
"attribute": "time-24hr"
|
|
1231
1526
|
},
|
|
1232
1527
|
{
|
|
1233
|
-
"kind": "
|
|
1234
|
-
"name": "
|
|
1235
|
-
"
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
}
|
|
1241
|
-
},
|
|
1242
|
-
{
|
|
1243
|
-
"name": "field",
|
|
1244
|
-
"type": {
|
|
1245
|
-
"text": "string"
|
|
1246
|
-
}
|
|
1247
|
-
},
|
|
1248
|
-
{
|
|
1249
|
-
"name": "selectOneFieldAtATime",
|
|
1250
|
-
"default": "false",
|
|
1251
|
-
"type": {
|
|
1252
|
-
"text": "boolean"
|
|
1253
|
-
}
|
|
1254
|
-
}
|
|
1255
|
-
],
|
|
1256
|
-
"description": "given a field, ex: \"observations\": \"Model\", will add the field to any existing selected facets\nif \"selectedOneFieldAtATime\" is true, then we will only select that one field"
|
|
1528
|
+
"kind": "field",
|
|
1529
|
+
"name": "weekNumbers",
|
|
1530
|
+
"type": {
|
|
1531
|
+
"text": "boolean"
|
|
1532
|
+
},
|
|
1533
|
+
"default": "false",
|
|
1534
|
+
"attribute": "week-numbers"
|
|
1257
1535
|
},
|
|
1258
1536
|
{
|
|
1259
|
-
"kind": "
|
|
1260
|
-
"name": "
|
|
1261
|
-
"
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
}
|
|
1267
|
-
}
|
|
1268
|
-
]
|
|
1537
|
+
"kind": "field",
|
|
1538
|
+
"name": "static",
|
|
1539
|
+
"type": {
|
|
1540
|
+
"text": "boolean"
|
|
1541
|
+
},
|
|
1542
|
+
"default": "false",
|
|
1543
|
+
"attribute": "static"
|
|
1269
1544
|
},
|
|
1270
1545
|
{
|
|
1271
|
-
"kind": "
|
|
1272
|
-
"name": "
|
|
1273
|
-
"
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
}
|
|
1279
|
-
},
|
|
1280
|
-
{
|
|
1281
|
-
"name": "field",
|
|
1282
|
-
"type": {
|
|
1283
|
-
"text": "string"
|
|
1284
|
-
}
|
|
1285
|
-
}
|
|
1286
|
-
]
|
|
1546
|
+
"kind": "field",
|
|
1547
|
+
"name": "position",
|
|
1548
|
+
"type": {
|
|
1549
|
+
"text": "'auto' | 'above' | 'below'"
|
|
1550
|
+
},
|
|
1551
|
+
"default": "'auto'",
|
|
1552
|
+
"attribute": "position"
|
|
1287
1553
|
},
|
|
1288
1554
|
{
|
|
1289
|
-
"kind": "
|
|
1290
|
-
"name": "
|
|
1291
|
-
"
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
}
|
|
1297
|
-
},
|
|
1298
|
-
{
|
|
1299
|
-
"name": "checked",
|
|
1300
|
-
"type": {
|
|
1301
|
-
"text": "Boolean"
|
|
1302
|
-
}
|
|
1303
|
-
}
|
|
1304
|
-
]
|
|
1555
|
+
"kind": "field",
|
|
1556
|
+
"name": "theme",
|
|
1557
|
+
"type": {
|
|
1558
|
+
"text": "| 'light'\n | 'dark'\n | 'material_blue'\n | 'material_red'\n | 'material_green'\n | 'material_orange'\n | 'airbnb'\n | 'confetti'\n | 'none'"
|
|
1559
|
+
},
|
|
1560
|
+
"default": "'light'",
|
|
1561
|
+
"attribute": "theme"
|
|
1305
1562
|
},
|
|
1306
1563
|
{
|
|
1307
|
-
"kind": "
|
|
1308
|
-
"name": "
|
|
1564
|
+
"kind": "field",
|
|
1565
|
+
"name": "showMonths",
|
|
1566
|
+
"type": {
|
|
1567
|
+
"text": "number"
|
|
1568
|
+
},
|
|
1569
|
+
"default": "1",
|
|
1570
|
+
"attribute": "show-months"
|
|
1571
|
+
},
|
|
1572
|
+
{
|
|
1573
|
+
"kind": "field",
|
|
1574
|
+
"name": "flatpickrElement",
|
|
1575
|
+
"type": {
|
|
1576
|
+
"text": "any"
|
|
1577
|
+
},
|
|
1578
|
+
"privacy": "private"
|
|
1309
1579
|
},
|
|
1310
1580
|
{
|
|
1311
1581
|
"kind": "method",
|
|
1312
|
-
"name": "
|
|
1582
|
+
"name": "handleChange",
|
|
1583
|
+
"privacy": "private",
|
|
1313
1584
|
"parameters": [
|
|
1314
1585
|
{
|
|
1315
|
-
"name": "
|
|
1316
|
-
"type": {
|
|
1317
|
-
"text": "string"
|
|
1318
|
-
}
|
|
1319
|
-
},
|
|
1320
|
-
{
|
|
1321
|
-
"name": "title",
|
|
1322
|
-
"type": {
|
|
1323
|
-
"text": "string"
|
|
1324
|
-
}
|
|
1325
|
-
},
|
|
1326
|
-
{
|
|
1327
|
-
"name": "fields",
|
|
1328
|
-
"optional": true,
|
|
1329
|
-
"type": {
|
|
1330
|
-
"text": "FacetField[]"
|
|
1331
|
-
}
|
|
1332
|
-
},
|
|
1333
|
-
{
|
|
1334
|
-
"name": "open",
|
|
1335
|
-
"optional": true,
|
|
1586
|
+
"name": "e",
|
|
1336
1587
|
"type": {
|
|
1337
|
-
"text": "
|
|
1588
|
+
"text": "CustomEvent"
|
|
1338
1589
|
}
|
|
1339
1590
|
}
|
|
1340
1591
|
]
|
|
1341
|
-
},
|
|
1342
|
-
{
|
|
1343
|
-
"kind": "method",
|
|
1344
|
-
"name": "#renderVariablesBrowse"
|
|
1345
1592
|
}
|
|
1346
1593
|
],
|
|
1347
1594
|
"attributes": [
|
|
1348
1595
|
{
|
|
1349
|
-
"name": "
|
|
1596
|
+
"name": "id",
|
|
1350
1597
|
"type": {
|
|
1351
|
-
"text": "
|
|
1598
|
+
"text": "string"
|
|
1352
1599
|
},
|
|
1353
|
-
"
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1600
|
+
"fieldName": "id"
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
"name": "range",
|
|
1604
|
+
"type": {
|
|
1605
|
+
"text": "boolean"
|
|
1606
|
+
},
|
|
1607
|
+
"default": "false",
|
|
1608
|
+
"fieldName": "range"
|
|
1609
|
+
},
|
|
1610
|
+
{
|
|
1611
|
+
"name": "min-date",
|
|
1612
|
+
"type": {
|
|
1613
|
+
"text": "string | undefined"
|
|
1614
|
+
},
|
|
1615
|
+
"fieldName": "minDate"
|
|
1616
|
+
},
|
|
1617
|
+
{
|
|
1618
|
+
"name": "max-date",
|
|
1619
|
+
"type": {
|
|
1620
|
+
"text": "string | undefined"
|
|
1621
|
+
},
|
|
1622
|
+
"fieldName": "maxDate"
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
"name": "start-date",
|
|
1626
|
+
"type": {
|
|
1627
|
+
"text": "string | undefined"
|
|
1628
|
+
},
|
|
1629
|
+
"fieldName": "startDate"
|
|
1630
|
+
},
|
|
1631
|
+
{
|
|
1632
|
+
"name": "end-date",
|
|
1633
|
+
"type": {
|
|
1634
|
+
"text": "string | undefined"
|
|
1635
|
+
},
|
|
1636
|
+
"fieldName": "endDate"
|
|
1637
|
+
},
|
|
1638
|
+
{
|
|
1639
|
+
"name": "allow-input",
|
|
1640
|
+
"type": {
|
|
1641
|
+
"text": "boolean"
|
|
1642
|
+
},
|
|
1643
|
+
"default": "false",
|
|
1644
|
+
"fieldName": "allowInput"
|
|
1645
|
+
},
|
|
1646
|
+
{
|
|
1647
|
+
"name": "alt-format",
|
|
1648
|
+
"type": {
|
|
1649
|
+
"text": "string"
|
|
1650
|
+
},
|
|
1651
|
+
"default": "'F j, Y'",
|
|
1652
|
+
"fieldName": "altFormat"
|
|
1653
|
+
},
|
|
1654
|
+
{
|
|
1655
|
+
"name": "alt-input",
|
|
1656
|
+
"type": {
|
|
1657
|
+
"text": "boolean"
|
|
1658
|
+
},
|
|
1659
|
+
"default": "false",
|
|
1660
|
+
"fieldName": "altInput"
|
|
1661
|
+
},
|
|
1662
|
+
{
|
|
1663
|
+
"name": "alt-input-class",
|
|
1664
|
+
"type": {
|
|
1665
|
+
"text": "string"
|
|
1666
|
+
},
|
|
1667
|
+
"default": "''",
|
|
1668
|
+
"fieldName": "altInputClass"
|
|
1669
|
+
},
|
|
1670
|
+
{
|
|
1671
|
+
"name": "date-format",
|
|
1672
|
+
"type": {
|
|
1673
|
+
"text": "string"
|
|
1674
|
+
},
|
|
1675
|
+
"default": "'Y-m-d'",
|
|
1676
|
+
"fieldName": "dateFormat"
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
"name": "enable-time",
|
|
1680
|
+
"type": {
|
|
1681
|
+
"text": "boolean"
|
|
1682
|
+
},
|
|
1683
|
+
"default": "false",
|
|
1684
|
+
"fieldName": "enableTime"
|
|
1685
|
+
},
|
|
1686
|
+
{
|
|
1687
|
+
"name": "time-24hr",
|
|
1688
|
+
"type": {
|
|
1689
|
+
"text": "boolean"
|
|
1690
|
+
},
|
|
1691
|
+
"default": "false",
|
|
1692
|
+
"fieldName": "time24hr"
|
|
1693
|
+
},
|
|
1694
|
+
{
|
|
1695
|
+
"name": "week-numbers",
|
|
1696
|
+
"type": {
|
|
1697
|
+
"text": "boolean"
|
|
1698
|
+
},
|
|
1699
|
+
"default": "false",
|
|
1700
|
+
"fieldName": "weekNumbers"
|
|
1701
|
+
},
|
|
1702
|
+
{
|
|
1703
|
+
"name": "static",
|
|
1704
|
+
"type": {
|
|
1705
|
+
"text": "boolean"
|
|
1706
|
+
},
|
|
1707
|
+
"default": "false",
|
|
1708
|
+
"fieldName": "static"
|
|
1709
|
+
},
|
|
1710
|
+
{
|
|
1711
|
+
"name": "position",
|
|
1712
|
+
"type": {
|
|
1713
|
+
"text": "'auto' | 'above' | 'below'"
|
|
1714
|
+
},
|
|
1715
|
+
"default": "'auto'",
|
|
1716
|
+
"fieldName": "position"
|
|
1717
|
+
},
|
|
1718
|
+
{
|
|
1719
|
+
"name": "theme",
|
|
1720
|
+
"type": {
|
|
1721
|
+
"text": "| 'light'\n | 'dark'\n | 'material_blue'\n | 'material_red'\n | 'material_green'\n | 'material_orange'\n | 'airbnb'\n | 'confetti'\n | 'none'"
|
|
1722
|
+
},
|
|
1723
|
+
"default": "'light'",
|
|
1724
|
+
"fieldName": "theme"
|
|
1725
|
+
},
|
|
1726
|
+
{
|
|
1727
|
+
"name": "show-months",
|
|
1728
|
+
"type": {
|
|
1729
|
+
"text": "number"
|
|
1730
|
+
},
|
|
1731
|
+
"default": "1",
|
|
1732
|
+
"fieldName": "showMonths"
|
|
1733
|
+
}
|
|
1734
|
+
],
|
|
1735
|
+
"superclass": {
|
|
1736
|
+
"name": "TerraElement",
|
|
1737
|
+
"module": "/src/internal/terra-element.js"
|
|
1738
|
+
},
|
|
1739
|
+
"summary": "A date picker component that supports single date selection or date range selection.",
|
|
1740
|
+
"tagNameWithoutPrefix": "date-picker",
|
|
1741
|
+
"tagName": "terra-date-picker",
|
|
1742
|
+
"customElement": true,
|
|
1743
|
+
"jsDoc": "/**\n * @summary A date picker component that supports single date selection or date range selection.\n * @documentation https://disc.gsfc.nasa.gov/components/date-picker\n * @status experimental\n * @since 1.0\n *\n * @slot - The default slot.\n *\n * @csspart base - The component's base wrapper.\n * @csspart input - The date input element.\n */",
|
|
1744
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/date-picker",
|
|
1745
|
+
"status": "experimental",
|
|
1746
|
+
"since": "1.0"
|
|
1377
1747
|
}
|
|
1378
1748
|
],
|
|
1379
1749
|
"exports": [
|
|
@@ -1381,335 +1751,890 @@
|
|
|
1381
1751
|
"kind": "js",
|
|
1382
1752
|
"name": "default",
|
|
1383
1753
|
"declaration": {
|
|
1384
|
-
"name": "
|
|
1385
|
-
"module": "components/
|
|
1754
|
+
"name": "TerraDatePicker",
|
|
1755
|
+
"module": "components/date-picker/date-picker.js"
|
|
1386
1756
|
}
|
|
1387
1757
|
}
|
|
1388
1758
|
]
|
|
1389
1759
|
},
|
|
1390
1760
|
{
|
|
1391
1761
|
"kind": "javascript-module",
|
|
1392
|
-
"path": "components/
|
|
1762
|
+
"path": "components/date-range-slider/date-range-slider.js",
|
|
1393
1763
|
"declarations": [
|
|
1394
1764
|
{
|
|
1395
1765
|
"kind": "class",
|
|
1396
1766
|
"description": "",
|
|
1397
|
-
"name": "
|
|
1767
|
+
"name": "TerraDateRangeSlider",
|
|
1398
1768
|
"cssProperties": [
|
|
1399
1769
|
{
|
|
1400
|
-
"description": "
|
|
1401
|
-
"name": "--
|
|
1402
|
-
},
|
|
1403
|
-
{
|
|
1404
|
-
"description": "The height of the input's label element.",
|
|
1405
|
-
"name": "--label-height"
|
|
1770
|
+
"description": "An example CSS custom property.",
|
|
1771
|
+
"name": "--example"
|
|
1406
1772
|
}
|
|
1407
1773
|
],
|
|
1408
1774
|
"cssParts": [
|
|
1409
1775
|
{
|
|
1410
|
-
"description": "
|
|
1776
|
+
"description": "The component's base wrapper.",
|
|
1411
1777
|
"name": "base"
|
|
1778
|
+
}
|
|
1779
|
+
],
|
|
1780
|
+
"slots": [
|
|
1781
|
+
{
|
|
1782
|
+
"description": "The default slot.",
|
|
1783
|
+
"name": ""
|
|
1412
1784
|
},
|
|
1413
1785
|
{
|
|
1414
|
-
"description": "An
|
|
1415
|
-
"name": "
|
|
1786
|
+
"description": "An example slot.",
|
|
1787
|
+
"name": "example"
|
|
1788
|
+
}
|
|
1789
|
+
],
|
|
1790
|
+
"members": [
|
|
1791
|
+
{
|
|
1792
|
+
"kind": "field",
|
|
1793
|
+
"name": "slider",
|
|
1794
|
+
"type": {
|
|
1795
|
+
"text": "HTMLElement & { noUiSlider: API }"
|
|
1796
|
+
}
|
|
1416
1797
|
},
|
|
1417
1798
|
{
|
|
1418
|
-
"
|
|
1419
|
-
"name": "
|
|
1799
|
+
"kind": "field",
|
|
1800
|
+
"name": "timeScale",
|
|
1801
|
+
"type": {
|
|
1802
|
+
"text": "TimeScale"
|
|
1803
|
+
},
|
|
1804
|
+
"default": "'daily'",
|
|
1805
|
+
"attribute": "time-scale"
|
|
1806
|
+
},
|
|
1807
|
+
{
|
|
1808
|
+
"kind": "field",
|
|
1809
|
+
"name": "minDate",
|
|
1810
|
+
"type": {
|
|
1811
|
+
"text": "string"
|
|
1812
|
+
},
|
|
1813
|
+
"attribute": "min-date"
|
|
1814
|
+
},
|
|
1815
|
+
{
|
|
1816
|
+
"kind": "field",
|
|
1817
|
+
"name": "maxDate",
|
|
1818
|
+
"type": {
|
|
1819
|
+
"text": "string"
|
|
1820
|
+
},
|
|
1821
|
+
"attribute": "max-date"
|
|
1822
|
+
},
|
|
1823
|
+
{
|
|
1824
|
+
"kind": "field",
|
|
1825
|
+
"name": "startDate",
|
|
1826
|
+
"type": {
|
|
1827
|
+
"text": "string"
|
|
1828
|
+
},
|
|
1829
|
+
"description": "The start date for the time series plot.",
|
|
1830
|
+
"attribute": "start-date"
|
|
1831
|
+
},
|
|
1832
|
+
{
|
|
1833
|
+
"kind": "field",
|
|
1834
|
+
"name": "endDate",
|
|
1835
|
+
"type": {
|
|
1836
|
+
"text": "string"
|
|
1837
|
+
},
|
|
1838
|
+
"attribute": "end-date"
|
|
1839
|
+
},
|
|
1840
|
+
{
|
|
1841
|
+
"kind": "field",
|
|
1842
|
+
"name": "disabled",
|
|
1843
|
+
"type": {
|
|
1844
|
+
"text": "boolean"
|
|
1845
|
+
},
|
|
1846
|
+
"default": "false",
|
|
1847
|
+
"attribute": "disabled",
|
|
1848
|
+
"reflects": true
|
|
1849
|
+
},
|
|
1850
|
+
{
|
|
1851
|
+
"kind": "field",
|
|
1852
|
+
"name": "hasPips",
|
|
1853
|
+
"type": {
|
|
1854
|
+
"text": "boolean"
|
|
1855
|
+
},
|
|
1856
|
+
"default": "true",
|
|
1857
|
+
"attribute": "has-pips",
|
|
1858
|
+
"reflects": true
|
|
1859
|
+
},
|
|
1860
|
+
{
|
|
1861
|
+
"kind": "method",
|
|
1862
|
+
"name": "updateSlider"
|
|
1863
|
+
},
|
|
1864
|
+
{
|
|
1865
|
+
"kind": "method",
|
|
1866
|
+
"name": "disabledChanged"
|
|
1867
|
+
},
|
|
1868
|
+
{
|
|
1869
|
+
"kind": "method",
|
|
1870
|
+
"name": "renderSlider"
|
|
1871
|
+
},
|
|
1872
|
+
{
|
|
1873
|
+
"kind": "method",
|
|
1874
|
+
"name": "renderEmptySlider"
|
|
1875
|
+
},
|
|
1876
|
+
{
|
|
1877
|
+
"kind": "method",
|
|
1878
|
+
"name": "_getStep",
|
|
1879
|
+
"privacy": "private"
|
|
1880
|
+
},
|
|
1881
|
+
{
|
|
1882
|
+
"kind": "method",
|
|
1883
|
+
"name": "_getSliderFormatter",
|
|
1884
|
+
"privacy": "private",
|
|
1885
|
+
"return": {
|
|
1886
|
+
"type": {
|
|
1887
|
+
"text": "Formatter"
|
|
1888
|
+
}
|
|
1889
|
+
}
|
|
1420
1890
|
},
|
|
1421
1891
|
{
|
|
1422
|
-
"
|
|
1423
|
-
"name": "
|
|
1892
|
+
"kind": "method",
|
|
1893
|
+
"name": "_formatDate",
|
|
1894
|
+
"privacy": "private",
|
|
1895
|
+
"parameters": [
|
|
1896
|
+
{
|
|
1897
|
+
"name": "date",
|
|
1898
|
+
"type": {
|
|
1899
|
+
"text": "string | number | Date"
|
|
1900
|
+
}
|
|
1901
|
+
}
|
|
1902
|
+
]
|
|
1903
|
+
}
|
|
1904
|
+
],
|
|
1905
|
+
"attributes": [
|
|
1906
|
+
{
|
|
1907
|
+
"name": "time-scale",
|
|
1908
|
+
"type": {
|
|
1909
|
+
"text": "TimeScale"
|
|
1910
|
+
},
|
|
1911
|
+
"default": "'daily'",
|
|
1912
|
+
"fieldName": "timeScale"
|
|
1913
|
+
},
|
|
1914
|
+
{
|
|
1915
|
+
"name": "min-date",
|
|
1916
|
+
"type": {
|
|
1917
|
+
"text": "string"
|
|
1918
|
+
},
|
|
1919
|
+
"fieldName": "minDate"
|
|
1920
|
+
},
|
|
1921
|
+
{
|
|
1922
|
+
"name": "max-date",
|
|
1923
|
+
"type": {
|
|
1924
|
+
"text": "string"
|
|
1925
|
+
},
|
|
1926
|
+
"fieldName": "maxDate"
|
|
1927
|
+
},
|
|
1928
|
+
{
|
|
1929
|
+
"name": "start-date",
|
|
1930
|
+
"type": {
|
|
1931
|
+
"text": "string"
|
|
1932
|
+
},
|
|
1933
|
+
"description": "The start date for the time series plot.",
|
|
1934
|
+
"fieldName": "startDate"
|
|
1935
|
+
},
|
|
1936
|
+
{
|
|
1937
|
+
"name": "end-date",
|
|
1938
|
+
"type": {
|
|
1939
|
+
"text": "string"
|
|
1940
|
+
},
|
|
1941
|
+
"fieldName": "endDate"
|
|
1942
|
+
},
|
|
1943
|
+
{
|
|
1944
|
+
"name": "disabled",
|
|
1945
|
+
"type": {
|
|
1946
|
+
"text": "boolean"
|
|
1947
|
+
},
|
|
1948
|
+
"default": "false",
|
|
1949
|
+
"fieldName": "disabled"
|
|
1950
|
+
},
|
|
1951
|
+
{
|
|
1952
|
+
"name": "has-pips",
|
|
1953
|
+
"type": {
|
|
1954
|
+
"text": "boolean"
|
|
1955
|
+
},
|
|
1956
|
+
"default": "true",
|
|
1957
|
+
"fieldName": "hasPips"
|
|
1958
|
+
}
|
|
1959
|
+
],
|
|
1960
|
+
"superclass": {
|
|
1961
|
+
"name": "TerraElement",
|
|
1962
|
+
"module": "/src/internal/terra-element.js"
|
|
1963
|
+
},
|
|
1964
|
+
"summary": "Short summary of the component's intended use.",
|
|
1965
|
+
"tagNameWithoutPrefix": "date-range-slider",
|
|
1966
|
+
"tagName": "terra-date-range-slider",
|
|
1967
|
+
"customElement": true,
|
|
1968
|
+
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://disc.gsfc.nasa.gov/components/date-range-slider\n * @status experimental\n * @since 1.0\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
1969
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/date-range-slider",
|
|
1970
|
+
"status": "experimental",
|
|
1971
|
+
"since": "1.0"
|
|
1972
|
+
}
|
|
1973
|
+
],
|
|
1974
|
+
"exports": [
|
|
1975
|
+
{
|
|
1976
|
+
"kind": "js",
|
|
1977
|
+
"name": "default",
|
|
1978
|
+
"declaration": {
|
|
1979
|
+
"name": "TerraDateRangeSlider",
|
|
1980
|
+
"module": "components/date-range-slider/date-range-slider.js"
|
|
1981
|
+
}
|
|
1982
|
+
}
|
|
1983
|
+
]
|
|
1984
|
+
},
|
|
1985
|
+
{
|
|
1986
|
+
"kind": "javascript-module",
|
|
1987
|
+
"path": "components/dialog/dialog.js",
|
|
1988
|
+
"declarations": [
|
|
1989
|
+
{
|
|
1990
|
+
"kind": "class",
|
|
1991
|
+
"description": "",
|
|
1992
|
+
"name": "TerraDialog",
|
|
1993
|
+
"slots": [
|
|
1994
|
+
{
|
|
1995
|
+
"description": "The dialog's main content",
|
|
1996
|
+
"name": ""
|
|
1997
|
+
}
|
|
1998
|
+
],
|
|
1999
|
+
"members": [
|
|
2000
|
+
{
|
|
2001
|
+
"kind": "field",
|
|
2002
|
+
"name": "dialogEl",
|
|
2003
|
+
"type": {
|
|
2004
|
+
"text": "HTMLDialogElement"
|
|
2005
|
+
}
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
"kind": "field",
|
|
2009
|
+
"name": "id",
|
|
2010
|
+
"type": {
|
|
2011
|
+
"text": "string"
|
|
2012
|
+
},
|
|
2013
|
+
"description": "the ID to be used for accessibility associations",
|
|
2014
|
+
"attribute": "id"
|
|
2015
|
+
},
|
|
2016
|
+
{
|
|
2017
|
+
"kind": "field",
|
|
2018
|
+
"name": "width",
|
|
2019
|
+
"type": {
|
|
2020
|
+
"text": "string"
|
|
2021
|
+
},
|
|
2022
|
+
"default": "'fit-content'",
|
|
2023
|
+
"description": "the width of the dialog",
|
|
2024
|
+
"attribute": "width",
|
|
2025
|
+
"reflects": true
|
|
2026
|
+
},
|
|
2027
|
+
{
|
|
2028
|
+
"kind": "field",
|
|
2029
|
+
"name": "clickOutsideToClose",
|
|
2030
|
+
"type": {
|
|
2031
|
+
"text": "boolean"
|
|
2032
|
+
},
|
|
2033
|
+
"default": "true",
|
|
2034
|
+
"description": "allow closing the dialog when clicking outside of it",
|
|
2035
|
+
"attribute": "click-outside-to-close",
|
|
2036
|
+
"reflects": true
|
|
2037
|
+
},
|
|
2038
|
+
{
|
|
2039
|
+
"kind": "field",
|
|
2040
|
+
"name": "showBackdrop",
|
|
2041
|
+
"type": {
|
|
2042
|
+
"text": "boolean"
|
|
2043
|
+
},
|
|
2044
|
+
"default": "true",
|
|
2045
|
+
"description": "Show a backdrop behind the dialog",
|
|
2046
|
+
"attribute": "show-backdrop",
|
|
2047
|
+
"reflects": true
|
|
2048
|
+
},
|
|
2049
|
+
{
|
|
2050
|
+
"kind": "method",
|
|
2051
|
+
"name": "toggle"
|
|
2052
|
+
},
|
|
2053
|
+
{
|
|
2054
|
+
"kind": "method",
|
|
2055
|
+
"name": "show"
|
|
2056
|
+
},
|
|
2057
|
+
{
|
|
2058
|
+
"kind": "method",
|
|
2059
|
+
"name": "hide",
|
|
2060
|
+
"parameters": [
|
|
2061
|
+
{
|
|
2062
|
+
"name": "reason",
|
|
2063
|
+
"optional": true,
|
|
2064
|
+
"type": {
|
|
2065
|
+
"text": "string"
|
|
2066
|
+
}
|
|
2067
|
+
}
|
|
2068
|
+
]
|
|
2069
|
+
},
|
|
2070
|
+
{
|
|
2071
|
+
"kind": "method",
|
|
2072
|
+
"name": "#handleBackdropClick",
|
|
2073
|
+
"parameters": [
|
|
2074
|
+
{
|
|
2075
|
+
"name": "event",
|
|
2076
|
+
"type": {
|
|
2077
|
+
"text": "Event"
|
|
2078
|
+
}
|
|
2079
|
+
}
|
|
2080
|
+
]
|
|
2081
|
+
}
|
|
2082
|
+
],
|
|
2083
|
+
"events": [
|
|
2084
|
+
{
|
|
2085
|
+
"description": "Emitted when the dialog opens.",
|
|
2086
|
+
"name": "terra-dialog-show",
|
|
2087
|
+
"reactName": "onTerraDialogShow",
|
|
2088
|
+
"eventName": "TerraDialogShowEvent"
|
|
2089
|
+
},
|
|
2090
|
+
{
|
|
2091
|
+
"description": "Emitted when the dialog closes.",
|
|
2092
|
+
"name": "terra-dialog-hide",
|
|
2093
|
+
"reactName": "onTerraDialogHide",
|
|
2094
|
+
"eventName": "TerraDialogHideEvent"
|
|
2095
|
+
}
|
|
2096
|
+
],
|
|
2097
|
+
"attributes": [
|
|
2098
|
+
{
|
|
2099
|
+
"name": "id",
|
|
2100
|
+
"type": {
|
|
2101
|
+
"text": "string"
|
|
2102
|
+
},
|
|
2103
|
+
"description": "the ID to be used for accessibility associations",
|
|
2104
|
+
"fieldName": "id"
|
|
2105
|
+
},
|
|
2106
|
+
{
|
|
2107
|
+
"name": "width",
|
|
2108
|
+
"type": {
|
|
2109
|
+
"text": "string"
|
|
2110
|
+
},
|
|
2111
|
+
"default": "'fit-content'",
|
|
2112
|
+
"description": "the width of the dialog",
|
|
2113
|
+
"fieldName": "width"
|
|
2114
|
+
},
|
|
2115
|
+
{
|
|
2116
|
+
"name": "click-outside-to-close",
|
|
2117
|
+
"type": {
|
|
2118
|
+
"text": "boolean"
|
|
2119
|
+
},
|
|
2120
|
+
"default": "true",
|
|
2121
|
+
"description": "allow closing the dialog when clicking outside of it",
|
|
2122
|
+
"fieldName": "clickOutsideToClose"
|
|
2123
|
+
},
|
|
2124
|
+
{
|
|
2125
|
+
"name": "show-backdrop",
|
|
2126
|
+
"type": {
|
|
2127
|
+
"text": "boolean"
|
|
2128
|
+
},
|
|
2129
|
+
"default": "true",
|
|
2130
|
+
"description": "Show a backdrop behind the dialog",
|
|
2131
|
+
"fieldName": "showBackdrop"
|
|
2132
|
+
}
|
|
2133
|
+
],
|
|
2134
|
+
"superclass": {
|
|
2135
|
+
"name": "TerraElement",
|
|
2136
|
+
"module": "/src/internal/terra-element.js"
|
|
2137
|
+
},
|
|
2138
|
+
"summary": "Used to create both modal and non-modal dialog boxes.",
|
|
2139
|
+
"tagNameWithoutPrefix": "dialog",
|
|
2140
|
+
"tagName": "terra-dialog",
|
|
2141
|
+
"customElement": true,
|
|
2142
|
+
"jsDoc": "/**\n * @summary Used to create both modal and non-modal dialog boxes.\n * @documentation https://disc.gsfc.nasa.gov/components/dialog\n * @status stable\n * @since 1.0\n *\n * @slot - The dialog's main content\n *\n * @event terra-dialog-show - Emitted when the dialog opens.\n * @event terra-dialog-hide - Emitted when the dialog closes.\n */",
|
|
2143
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/dialog",
|
|
2144
|
+
"status": "stable",
|
|
2145
|
+
"since": "1.0"
|
|
2146
|
+
}
|
|
2147
|
+
],
|
|
2148
|
+
"exports": [
|
|
2149
|
+
{
|
|
2150
|
+
"kind": "js",
|
|
2151
|
+
"name": "default",
|
|
2152
|
+
"declaration": {
|
|
2153
|
+
"name": "TerraDialog",
|
|
2154
|
+
"module": "components/dialog/dialog.js"
|
|
2155
|
+
}
|
|
2156
|
+
}
|
|
2157
|
+
]
|
|
2158
|
+
},
|
|
2159
|
+
{
|
|
2160
|
+
"kind": "javascript-module",
|
|
2161
|
+
"path": "components/icon/icon.js",
|
|
2162
|
+
"declarations": [
|
|
2163
|
+
{
|
|
2164
|
+
"kind": "class",
|
|
2165
|
+
"description": "",
|
|
2166
|
+
"name": "TerraIcon",
|
|
2167
|
+
"cssParts": [
|
|
2168
|
+
{
|
|
2169
|
+
"description": "The internal SVG element.",
|
|
2170
|
+
"name": "svg"
|
|
2171
|
+
}
|
|
2172
|
+
],
|
|
2173
|
+
"members": [
|
|
2174
|
+
{
|
|
2175
|
+
"kind": "field",
|
|
2176
|
+
"name": "#initialRender",
|
|
2177
|
+
"privacy": "private",
|
|
2178
|
+
"type": {
|
|
2179
|
+
"text": "boolean"
|
|
2180
|
+
},
|
|
2181
|
+
"default": "false"
|
|
2182
|
+
},
|
|
2183
|
+
{
|
|
2184
|
+
"kind": "field",
|
|
2185
|
+
"name": "svg",
|
|
2186
|
+
"type": {
|
|
2187
|
+
"text": "SVGElement | HTMLTemplateResult | null"
|
|
2188
|
+
},
|
|
2189
|
+
"default": "null"
|
|
2190
|
+
},
|
|
2191
|
+
{
|
|
2192
|
+
"kind": "field",
|
|
2193
|
+
"name": "name",
|
|
2194
|
+
"type": {
|
|
2195
|
+
"text": "string | undefined"
|
|
2196
|
+
},
|
|
2197
|
+
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
2198
|
+
"attribute": "name",
|
|
2199
|
+
"reflects": true
|
|
2200
|
+
},
|
|
2201
|
+
{
|
|
2202
|
+
"kind": "field",
|
|
2203
|
+
"name": "src",
|
|
2204
|
+
"type": {
|
|
2205
|
+
"text": "string | undefined"
|
|
2206
|
+
},
|
|
2207
|
+
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
2208
|
+
"attribute": "src"
|
|
2209
|
+
},
|
|
2210
|
+
{
|
|
2211
|
+
"kind": "field",
|
|
2212
|
+
"name": "label",
|
|
2213
|
+
"type": {
|
|
2214
|
+
"text": "string"
|
|
2215
|
+
},
|
|
2216
|
+
"default": "''",
|
|
2217
|
+
"description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
|
|
2218
|
+
"attribute": "label"
|
|
2219
|
+
},
|
|
2220
|
+
{
|
|
2221
|
+
"kind": "field",
|
|
2222
|
+
"name": "library",
|
|
2223
|
+
"type": {
|
|
2224
|
+
"text": "'default' | 'heroicons' | string"
|
|
2225
|
+
},
|
|
2226
|
+
"default": "'default'",
|
|
2227
|
+
"description": "The name of a registered custom icon library.",
|
|
2228
|
+
"attribute": "library",
|
|
2229
|
+
"reflects": true
|
|
2230
|
+
},
|
|
2231
|
+
{
|
|
2232
|
+
"kind": "field",
|
|
2233
|
+
"name": "color",
|
|
2234
|
+
"type": {
|
|
2235
|
+
"text": "string | null"
|
|
2236
|
+
},
|
|
2237
|
+
"default": "null",
|
|
2238
|
+
"description": "The CSS color to assign to the SVG.",
|
|
2239
|
+
"attribute": "color"
|
|
2240
|
+
},
|
|
2241
|
+
{
|
|
2242
|
+
"kind": "field",
|
|
2243
|
+
"name": "fontSize",
|
|
2244
|
+
"type": {
|
|
2245
|
+
"text": "string | null"
|
|
2246
|
+
},
|
|
2247
|
+
"default": "null",
|
|
2248
|
+
"description": "The CSS font-size to assign to the SVG.",
|
|
2249
|
+
"attribute": "font-size"
|
|
2250
|
+
},
|
|
2251
|
+
{
|
|
2252
|
+
"kind": "method",
|
|
2253
|
+
"name": "#resolveIcon",
|
|
2254
|
+
"return": {
|
|
2255
|
+
"type": {
|
|
2256
|
+
"text": "Promise<SVGResult>"
|
|
2257
|
+
}
|
|
2258
|
+
},
|
|
2259
|
+
"parameters": [
|
|
2260
|
+
{
|
|
2261
|
+
"name": "url",
|
|
2262
|
+
"type": {
|
|
2263
|
+
"text": "string"
|
|
2264
|
+
}
|
|
2265
|
+
}
|
|
2266
|
+
],
|
|
2267
|
+
"description": "Given a URL, this function returns the resulting SVG element or an appropriate error symbol."
|
|
2268
|
+
},
|
|
2269
|
+
{
|
|
2270
|
+
"kind": "method",
|
|
2271
|
+
"name": "#getIconSource",
|
|
2272
|
+
"return": {
|
|
2273
|
+
"type": {
|
|
2274
|
+
"text": "IconSource"
|
|
2275
|
+
}
|
|
2276
|
+
}
|
|
2277
|
+
},
|
|
2278
|
+
{
|
|
2279
|
+
"kind": "method",
|
|
2280
|
+
"name": "#styleFromAttributes",
|
|
2281
|
+
"description": "SVG takes a few presentation attributes. Since we're using a template for SVG and our host element isn't an SVG, we can pass those presentational attributes into a style attribute to affect the underlying SVG.\nMerge select attributes with existing inline style attribute to forward values to underlying SVG."
|
|
2282
|
+
},
|
|
2283
|
+
{
|
|
2284
|
+
"kind": "method",
|
|
2285
|
+
"name": "handleLabelChange"
|
|
2286
|
+
},
|
|
2287
|
+
{
|
|
2288
|
+
"kind": "method",
|
|
2289
|
+
"name": "setIcon"
|
|
2290
|
+
}
|
|
2291
|
+
],
|
|
2292
|
+
"events": [
|
|
2293
|
+
{
|
|
2294
|
+
"description": "Emitted when the icon has loaded.",
|
|
2295
|
+
"name": "terra-load",
|
|
2296
|
+
"reactName": "onTerraLoad",
|
|
2297
|
+
"eventName": "TerraLoadEvent"
|
|
2298
|
+
},
|
|
2299
|
+
{
|
|
2300
|
+
"description": "Emitted when the icon fails to load due to an error.",
|
|
2301
|
+
"name": "terra-error",
|
|
2302
|
+
"reactName": "onTerraError",
|
|
2303
|
+
"eventName": "TerraErrorEvent"
|
|
2304
|
+
}
|
|
2305
|
+
],
|
|
2306
|
+
"attributes": [
|
|
2307
|
+
{
|
|
2308
|
+
"name": "name",
|
|
2309
|
+
"type": {
|
|
2310
|
+
"text": "string | undefined"
|
|
2311
|
+
},
|
|
2312
|
+
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
2313
|
+
"fieldName": "name"
|
|
2314
|
+
},
|
|
2315
|
+
{
|
|
2316
|
+
"name": "src",
|
|
2317
|
+
"type": {
|
|
2318
|
+
"text": "string | undefined"
|
|
2319
|
+
},
|
|
2320
|
+
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
2321
|
+
"fieldName": "src"
|
|
2322
|
+
},
|
|
2323
|
+
{
|
|
2324
|
+
"name": "label",
|
|
2325
|
+
"type": {
|
|
2326
|
+
"text": "string"
|
|
2327
|
+
},
|
|
2328
|
+
"default": "''",
|
|
2329
|
+
"description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
|
|
2330
|
+
"fieldName": "label"
|
|
2331
|
+
},
|
|
2332
|
+
{
|
|
2333
|
+
"name": "library",
|
|
2334
|
+
"type": {
|
|
2335
|
+
"text": "'default' | 'heroicons' | string"
|
|
2336
|
+
},
|
|
2337
|
+
"default": "'default'",
|
|
2338
|
+
"description": "The name of a registered custom icon library.",
|
|
2339
|
+
"fieldName": "library"
|
|
2340
|
+
},
|
|
2341
|
+
{
|
|
2342
|
+
"name": "color",
|
|
2343
|
+
"type": {
|
|
2344
|
+
"text": "string | null"
|
|
2345
|
+
},
|
|
2346
|
+
"default": "null",
|
|
2347
|
+
"description": "The CSS color to assign to the SVG.",
|
|
2348
|
+
"fieldName": "color"
|
|
2349
|
+
},
|
|
2350
|
+
{
|
|
2351
|
+
"name": "font-size",
|
|
2352
|
+
"type": {
|
|
2353
|
+
"text": "string | null"
|
|
2354
|
+
},
|
|
2355
|
+
"default": "null",
|
|
2356
|
+
"description": "The CSS font-size to assign to the SVG.",
|
|
2357
|
+
"fieldName": "fontSize"
|
|
2358
|
+
}
|
|
2359
|
+
],
|
|
2360
|
+
"superclass": {
|
|
2361
|
+
"name": "TerraElement",
|
|
2362
|
+
"module": "/src/internal/terra-element.js"
|
|
2363
|
+
},
|
|
2364
|
+
"summary": "Icons are symbols that can be used to represent various options within an application.",
|
|
2365
|
+
"tagNameWithoutPrefix": "icon",
|
|
2366
|
+
"tagName": "terra-icon",
|
|
2367
|
+
"customElement": true,
|
|
2368
|
+
"jsDoc": "/**\n * @summary Icons are symbols that can be used to represent various options within an application.\n * @documentation https://disc.gsfc.nasa.gov/components/icon\n * @status experimental\n * @since 1.0\n *\n * @event terra-load - Emitted when the icon has loaded.\n * @event terra-error - Emitted when the icon fails to load due to an error.\n *\n * @csspart svg - The internal SVG element.\n */",
|
|
2369
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/icon",
|
|
2370
|
+
"status": "experimental",
|
|
2371
|
+
"since": "1.0"
|
|
2372
|
+
}
|
|
2373
|
+
],
|
|
2374
|
+
"exports": [
|
|
2375
|
+
{
|
|
2376
|
+
"kind": "js",
|
|
2377
|
+
"name": "default",
|
|
2378
|
+
"declaration": {
|
|
2379
|
+
"name": "TerraIcon",
|
|
2380
|
+
"module": "components/icon/icon.js"
|
|
2381
|
+
}
|
|
2382
|
+
}
|
|
2383
|
+
]
|
|
2384
|
+
},
|
|
2385
|
+
{
|
|
2386
|
+
"kind": "javascript-module",
|
|
2387
|
+
"path": "components/loader/loader.js",
|
|
2388
|
+
"declarations": [
|
|
2389
|
+
{
|
|
2390
|
+
"kind": "class",
|
|
2391
|
+
"description": "",
|
|
2392
|
+
"name": "TerraLoader",
|
|
2393
|
+
"cssProperties": [
|
|
2394
|
+
{
|
|
2395
|
+
"description": "An example CSS custom property.",
|
|
2396
|
+
"name": "--example"
|
|
2397
|
+
}
|
|
2398
|
+
],
|
|
2399
|
+
"cssParts": [
|
|
2400
|
+
{
|
|
2401
|
+
"description": "The component's base wrapper.",
|
|
2402
|
+
"name": "base"
|
|
1424
2403
|
}
|
|
1425
2404
|
],
|
|
1426
2405
|
"members": [
|
|
1427
2406
|
{
|
|
1428
2407
|
"kind": "field",
|
|
1429
|
-
"name": "
|
|
1430
|
-
"type": {
|
|
1431
|
-
"text": "object"
|
|
1432
|
-
},
|
|
1433
|
-
"static": true,
|
|
1434
|
-
"default": "{\n 'terra-button': TerraButton,\n 'terra-icon': TerraIcon,\n }"
|
|
1435
|
-
},
|
|
1436
|
-
{
|
|
1437
|
-
"kind": "field",
|
|
1438
|
-
"name": "shadowRootOptions",
|
|
2408
|
+
"name": "variant",
|
|
1439
2409
|
"type": {
|
|
1440
|
-
"text": "
|
|
2410
|
+
"text": "'small' | 'large' | 'orbit'"
|
|
1441
2411
|
},
|
|
1442
|
-
"
|
|
1443
|
-
"
|
|
2412
|
+
"default": "'large'",
|
|
2413
|
+
"description": "The loader's variant",
|
|
2414
|
+
"attribute": "variant",
|
|
2415
|
+
"reflects": true
|
|
1444
2416
|
},
|
|
1445
2417
|
{
|
|
1446
2418
|
"kind": "field",
|
|
1447
|
-
"name": "
|
|
2419
|
+
"name": "percent",
|
|
1448
2420
|
"type": {
|
|
1449
2421
|
"text": "string"
|
|
1450
2422
|
},
|
|
1451
|
-
"
|
|
1452
|
-
"
|
|
2423
|
+
"default": "'0'",
|
|
2424
|
+
"description": "The percent complete for the loader to display",
|
|
2425
|
+
"attribute": "percent"
|
|
1453
2426
|
},
|
|
1454
2427
|
{
|
|
1455
2428
|
"kind": "field",
|
|
1456
|
-
"name": "
|
|
2429
|
+
"name": "indeterminate",
|
|
1457
2430
|
"type": {
|
|
1458
|
-
"text": "
|
|
2431
|
+
"text": "boolean"
|
|
1459
2432
|
},
|
|
1460
|
-
"
|
|
1461
|
-
"
|
|
2433
|
+
"default": "false",
|
|
2434
|
+
"description": "an indeterminate loader has an unknown progress and will show a spinner",
|
|
2435
|
+
"attribute": "indeterminate"
|
|
1462
2436
|
},
|
|
1463
2437
|
{
|
|
1464
2438
|
"kind": "field",
|
|
1465
|
-
"name": "
|
|
1466
|
-
"privacy": "private",
|
|
2439
|
+
"name": "_currentPercent",
|
|
1467
2440
|
"type": {
|
|
1468
|
-
"text": "
|
|
2441
|
+
"text": "number"
|
|
1469
2442
|
},
|
|
1470
|
-
"default": "
|
|
1471
|
-
},
|
|
1472
|
-
{
|
|
1473
|
-
"kind": "field",
|
|
1474
|
-
"name": "#fetchController",
|
|
1475
|
-
"privacy": "private",
|
|
1476
|
-
"default": "new FetchController(this)"
|
|
2443
|
+
"default": "0"
|
|
1477
2444
|
},
|
|
1478
2445
|
{
|
|
1479
|
-
"kind": "
|
|
1480
|
-
"name": "
|
|
1481
|
-
"
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
2446
|
+
"kind": "method",
|
|
2447
|
+
"name": "formatPercent",
|
|
2448
|
+
"parameters": [
|
|
2449
|
+
{
|
|
2450
|
+
"name": "percent",
|
|
2451
|
+
"type": {
|
|
2452
|
+
"text": "string"
|
|
2453
|
+
}
|
|
2454
|
+
}
|
|
2455
|
+
]
|
|
2456
|
+
}
|
|
2457
|
+
],
|
|
2458
|
+
"attributes": [
|
|
1487
2459
|
{
|
|
1488
|
-
"
|
|
1489
|
-
"name": "#searchEngine",
|
|
1490
|
-
"privacy": "private",
|
|
2460
|
+
"name": "variant",
|
|
1491
2461
|
"type": {
|
|
1492
|
-
"text": "
|
|
2462
|
+
"text": "'small' | 'large' | 'orbit'"
|
|
1493
2463
|
},
|
|
1494
|
-
"default": "
|
|
2464
|
+
"default": "'large'",
|
|
2465
|
+
"description": "The loader's variant",
|
|
2466
|
+
"fieldName": "variant"
|
|
1495
2467
|
},
|
|
1496
2468
|
{
|
|
1497
|
-
"
|
|
1498
|
-
"name": "#walker",
|
|
1499
|
-
"privacy": "private",
|
|
2469
|
+
"name": "percent",
|
|
1500
2470
|
"type": {
|
|
1501
|
-
"text": "
|
|
2471
|
+
"text": "string"
|
|
1502
2472
|
},
|
|
1503
|
-
"default": "
|
|
2473
|
+
"default": "'0'",
|
|
2474
|
+
"description": "The percent complete for the loader to display",
|
|
2475
|
+
"fieldName": "percent"
|
|
1504
2476
|
},
|
|
1505
2477
|
{
|
|
1506
|
-
"
|
|
1507
|
-
"name": "label",
|
|
2478
|
+
"name": "indeterminate",
|
|
1508
2479
|
"type": {
|
|
1509
|
-
"text": "
|
|
2480
|
+
"text": "boolean"
|
|
1510
2481
|
},
|
|
1511
|
-
"default": "
|
|
1512
|
-
"description": "
|
|
1513
|
-
"
|
|
1514
|
-
}
|
|
2482
|
+
"default": "false",
|
|
2483
|
+
"description": "an indeterminate loader has an unknown progress and will show a spinner",
|
|
2484
|
+
"fieldName": "indeterminate"
|
|
2485
|
+
}
|
|
2486
|
+
],
|
|
2487
|
+
"superclass": {
|
|
2488
|
+
"name": "TerraElement",
|
|
2489
|
+
"module": "/src/internal/terra-element.js"
|
|
2490
|
+
},
|
|
2491
|
+
"summary": "Loaders are used to indicate there is content that is loading.",
|
|
2492
|
+
"tagNameWithoutPrefix": "loader",
|
|
2493
|
+
"tagName": "terra-loader",
|
|
2494
|
+
"customElement": true,
|
|
2495
|
+
"jsDoc": "/**\n * @summary Loaders are used to indicate there is content that is loading.\n * @documentation https://disc.gsfc.nasa.gov/components/loader\n * @status experimental\n * @since 1.0\n *\n *\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
2496
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/loader",
|
|
2497
|
+
"status": "experimental",
|
|
2498
|
+
"since": "1.0"
|
|
2499
|
+
}
|
|
2500
|
+
],
|
|
2501
|
+
"exports": [
|
|
2502
|
+
{
|
|
2503
|
+
"kind": "js",
|
|
2504
|
+
"name": "default",
|
|
2505
|
+
"declaration": {
|
|
2506
|
+
"name": "TerraLoader",
|
|
2507
|
+
"module": "components/loader/loader.js"
|
|
2508
|
+
}
|
|
2509
|
+
}
|
|
2510
|
+
]
|
|
2511
|
+
},
|
|
2512
|
+
{
|
|
2513
|
+
"kind": "javascript-module",
|
|
2514
|
+
"path": "components/login/login.js",
|
|
2515
|
+
"declarations": [
|
|
2516
|
+
{
|
|
2517
|
+
"kind": "class",
|
|
2518
|
+
"description": "",
|
|
2519
|
+
"name": "TerraLogin",
|
|
2520
|
+
"members": [
|
|
1515
2521
|
{
|
|
1516
2522
|
"kind": "field",
|
|
1517
|
-
"name": "
|
|
1518
|
-
"
|
|
1519
|
-
"text": "string"
|
|
1520
|
-
},
|
|
1521
|
-
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
1522
|
-
"attribute": "placeholder"
|
|
2523
|
+
"name": "#clientID",
|
|
2524
|
+
"privacy": "private"
|
|
1523
2525
|
},
|
|
1524
2526
|
{
|
|
1525
2527
|
"kind": "field",
|
|
1526
|
-
"name": "
|
|
1527
|
-
"
|
|
1528
|
-
"text": "boolean"
|
|
1529
|
-
},
|
|
1530
|
-
"default": "true",
|
|
1531
|
-
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
1532
|
-
"attribute": "hide-label"
|
|
2528
|
+
"name": "#formRef",
|
|
2529
|
+
"privacy": "private"
|
|
1533
2530
|
},
|
|
1534
2531
|
{
|
|
1535
2532
|
"kind": "field",
|
|
1536
|
-
"name": "
|
|
1537
|
-
"
|
|
1538
|
-
"text": "object"
|
|
1539
|
-
},
|
|
1540
|
-
"default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }",
|
|
1541
|
-
"description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
|
|
1542
|
-
"attribute": "searchConfig"
|
|
2533
|
+
"name": "#serverURL",
|
|
2534
|
+
"privacy": "private"
|
|
1543
2535
|
},
|
|
1544
2536
|
{
|
|
1545
2537
|
"kind": "field",
|
|
1546
|
-
"name": "
|
|
1547
|
-
"
|
|
1548
|
-
|
|
1549
|
-
},
|
|
1550
|
-
"attribute": "value"
|
|
2538
|
+
"name": "#loginTask",
|
|
2539
|
+
"privacy": "private",
|
|
2540
|
+
"default": "new Task(this, {\n task: async ([], { signal }) => {\n const code = await this.#getAccessCode(signal)\n const accessToken = await this.#exchangeCodeForAccessToken(code, signal)\n\n this.emit('terra-login', { detail: accessToken })\n this.#clearForm()\n },\n })"
|
|
1551
2541
|
},
|
|
1552
2542
|
{
|
|
1553
2543
|
"kind": "field",
|
|
1554
|
-
"name": "
|
|
2544
|
+
"name": "dependencies",
|
|
1555
2545
|
"type": {
|
|
1556
|
-
"text": "
|
|
2546
|
+
"text": "object"
|
|
1557
2547
|
},
|
|
1558
|
-
"
|
|
1559
|
-
|
|
1560
|
-
{
|
|
1561
|
-
"kind": "field",
|
|
1562
|
-
"name": "query"
|
|
2548
|
+
"static": true,
|
|
2549
|
+
"default": "{\n 'terra-button': TerraButton,\n 'terra-icon': TerraIcon,\n 'terra-loader': TerraLoader,\n }"
|
|
1563
2550
|
},
|
|
1564
2551
|
{
|
|
1565
|
-
"kind": "
|
|
1566
|
-
"name": "
|
|
1567
|
-
"
|
|
1568
|
-
"
|
|
2552
|
+
"kind": "method",
|
|
2553
|
+
"name": "#getAccessCode",
|
|
2554
|
+
"return": {
|
|
2555
|
+
"type": {
|
|
2556
|
+
"text": "Promise<string>"
|
|
2557
|
+
}
|
|
1569
2558
|
},
|
|
1570
|
-
"
|
|
2559
|
+
"parameters": [
|
|
2560
|
+
{
|
|
2561
|
+
"name": "signal",
|
|
2562
|
+
"type": {
|
|
2563
|
+
"text": "AbortSignal"
|
|
2564
|
+
}
|
|
2565
|
+
}
|
|
2566
|
+
],
|
|
2567
|
+
"description": "Using a fetch that contains our credentials, get a code from EDL that we can use to exchange for an JWT."
|
|
1571
2568
|
},
|
|
1572
2569
|
{
|
|
1573
2570
|
"kind": "method",
|
|
1574
|
-
"name": "
|
|
2571
|
+
"name": "#exchangeCodeForAccessToken",
|
|
1575
2572
|
"parameters": [
|
|
1576
2573
|
{
|
|
1577
|
-
"name": "
|
|
2574
|
+
"name": "code",
|
|
1578
2575
|
"type": {
|
|
1579
2576
|
"text": "string"
|
|
1580
2577
|
}
|
|
1581
2578
|
},
|
|
1582
2579
|
{
|
|
1583
|
-
"name": "
|
|
2580
|
+
"name": "signal",
|
|
1584
2581
|
"type": {
|
|
1585
|
-
"text": "
|
|
2582
|
+
"text": "AbortSignal"
|
|
1586
2583
|
}
|
|
1587
2584
|
}
|
|
1588
|
-
]
|
|
1589
|
-
|
|
1590
|
-
{
|
|
1591
|
-
"kind": "method",
|
|
1592
|
-
"name": "clear"
|
|
1593
|
-
},
|
|
1594
|
-
{
|
|
1595
|
-
"kind": "method",
|
|
1596
|
-
"name": "close"
|
|
2585
|
+
],
|
|
2586
|
+
"description": "Check for a code and attempt to exchange it for a JWT, accessing only the access_token."
|
|
1597
2587
|
},
|
|
1598
2588
|
{
|
|
1599
2589
|
"kind": "method",
|
|
1600
|
-
"name": "
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
"
|
|
1610
|
-
"privacy": "private"
|
|
1611
|
-
},
|
|
1612
|
-
{
|
|
1613
|
-
"kind": "field",
|
|
1614
|
-
"name": "#handleKeydown",
|
|
1615
|
-
"privacy": "private"
|
|
1616
|
-
},
|
|
1617
|
-
{
|
|
1618
|
-
"kind": "field",
|
|
1619
|
-
"name": "#manageListboxVisibility",
|
|
1620
|
-
"privacy": "private"
|
|
1621
|
-
},
|
|
1622
|
-
{
|
|
1623
|
-
"kind": "field",
|
|
1624
|
-
"name": "#selectOption",
|
|
1625
|
-
"privacy": "private"
|
|
2590
|
+
"name": "#handleSubmit",
|
|
2591
|
+
"parameters": [
|
|
2592
|
+
{
|
|
2593
|
+
"name": "event",
|
|
2594
|
+
"type": {
|
|
2595
|
+
"text": "SubmitEvent"
|
|
2596
|
+
}
|
|
2597
|
+
}
|
|
2598
|
+
],
|
|
2599
|
+
"description": "If the user submits our form to log in to EDL, use a fetch request to get an authorization code, then exchange it for an access token."
|
|
1626
2600
|
},
|
|
1627
2601
|
{
|
|
1628
2602
|
"kind": "method",
|
|
1629
|
-
"name": "#
|
|
2603
|
+
"name": "#handleKeypress",
|
|
1630
2604
|
"parameters": [
|
|
1631
2605
|
{
|
|
1632
|
-
"name": "
|
|
2606
|
+
"name": "event",
|
|
1633
2607
|
"type": {
|
|
1634
|
-
"text": "
|
|
2608
|
+
"text": "KeyboardEvent"
|
|
1635
2609
|
}
|
|
1636
2610
|
}
|
|
1637
2611
|
]
|
|
1638
2612
|
},
|
|
1639
2613
|
{
|
|
1640
2614
|
"kind": "method",
|
|
1641
|
-
"name": "#
|
|
2615
|
+
"name": "#clearForm",
|
|
2616
|
+
"description": "Clear the given form of all entries."
|
|
1642
2617
|
}
|
|
1643
2618
|
],
|
|
1644
2619
|
"events": [
|
|
1645
2620
|
{
|
|
1646
|
-
"description": "Emitted when
|
|
1647
|
-
"name": "terra-
|
|
1648
|
-
"reactName": "
|
|
1649
|
-
"eventName": "
|
|
1650
|
-
},
|
|
1651
|
-
{
|
|
1652
|
-
"description": "Emitted when the component is triggering a search (like a form triggering submit).",
|
|
1653
|
-
"name": "terra-search",
|
|
1654
|
-
"reactName": "onTerraSearch",
|
|
1655
|
-
"eventName": "TerraSearchEvent"
|
|
1656
|
-
}
|
|
1657
|
-
],
|
|
1658
|
-
"attributes": [
|
|
1659
|
-
{
|
|
1660
|
-
"name": "label",
|
|
1661
|
-
"type": {
|
|
1662
|
-
"text": "string"
|
|
1663
|
-
},
|
|
1664
|
-
"default": "'Enter search terms (e.g., precipitation, AOD)'",
|
|
1665
|
-
"description": "Label the combobox with this.",
|
|
1666
|
-
"fieldName": "label"
|
|
1667
|
-
},
|
|
1668
|
-
{
|
|
1669
|
-
"name": "placeholder",
|
|
1670
|
-
"type": {
|
|
1671
|
-
"text": "string"
|
|
1672
|
-
},
|
|
1673
|
-
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
1674
|
-
"fieldName": "placeholder"
|
|
1675
|
-
},
|
|
1676
|
-
{
|
|
1677
|
-
"name": "hide-label",
|
|
1678
|
-
"type": {
|
|
1679
|
-
"text": "boolean"
|
|
1680
|
-
},
|
|
1681
|
-
"default": "true",
|
|
1682
|
-
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
1683
|
-
"fieldName": "hideLabel"
|
|
1684
|
-
},
|
|
1685
|
-
{
|
|
1686
|
-
"name": "searchConfig",
|
|
1687
|
-
"type": {
|
|
1688
|
-
"text": "object"
|
|
1689
|
-
},
|
|
1690
|
-
"default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }",
|
|
1691
|
-
"description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
|
|
1692
|
-
"fieldName": "searchConfig"
|
|
1693
|
-
},
|
|
1694
|
-
{
|
|
1695
|
-
"name": "value",
|
|
1696
|
-
"type": {
|
|
1697
|
-
"text": "string"
|
|
1698
|
-
},
|
|
1699
|
-
"fieldName": "value"
|
|
2621
|
+
"description": "Emitted when a bearer token has been received from EDL.",
|
|
2622
|
+
"name": "terra-login",
|
|
2623
|
+
"reactName": "onTerraLogin",
|
|
2624
|
+
"eventName": "TerraLoginEvent"
|
|
1700
2625
|
}
|
|
1701
2626
|
],
|
|
1702
2627
|
"superclass": {
|
|
1703
2628
|
"name": "TerraElement",
|
|
1704
2629
|
"module": "/src/internal/terra-element.js"
|
|
1705
2630
|
},
|
|
1706
|
-
"summary": "
|
|
1707
|
-
"tagNameWithoutPrefix": "
|
|
1708
|
-
"tagName": "terra-
|
|
2631
|
+
"summary": "A form that logs in to Earthdata Login (EDL) and returns a bearer token.",
|
|
2632
|
+
"tagNameWithoutPrefix": "login",
|
|
2633
|
+
"tagName": "terra-login",
|
|
1709
2634
|
"customElement": true,
|
|
1710
|
-
"jsDoc": "/**\n * @summary
|
|
1711
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
1712
|
-
"status": "
|
|
2635
|
+
"jsDoc": "/**\n * @summary A form that logs in to Earthdata Login (EDL) and returns a bearer token.\n * @documentation https://disc.gsfc.nasa.gov/components/login\n * @status stable\n * @since 1.0\n *\n * @event terra-login - Emitted when a bearer token has been received from EDL.\n */",
|
|
2636
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/login",
|
|
2637
|
+
"status": "stable",
|
|
1713
2638
|
"since": "1.0"
|
|
1714
2639
|
}
|
|
1715
2640
|
],
|
|
@@ -1718,224 +2643,223 @@
|
|
|
1718
2643
|
"kind": "js",
|
|
1719
2644
|
"name": "default",
|
|
1720
2645
|
"declaration": {
|
|
1721
|
-
"name": "
|
|
1722
|
-
"module": "components/
|
|
2646
|
+
"name": "TerraLogin",
|
|
2647
|
+
"module": "components/login/login.js"
|
|
1723
2648
|
}
|
|
1724
2649
|
}
|
|
1725
2650
|
]
|
|
1726
2651
|
},
|
|
1727
2652
|
{
|
|
1728
2653
|
"kind": "javascript-module",
|
|
1729
|
-
"path": "components/
|
|
2654
|
+
"path": "components/map/map.js",
|
|
1730
2655
|
"declarations": [
|
|
1731
2656
|
{
|
|
1732
2657
|
"kind": "class",
|
|
1733
2658
|
"description": "",
|
|
1734
|
-
"name": "
|
|
1735
|
-
"cssParts": [
|
|
1736
|
-
{
|
|
1737
|
-
"description": "The internal SVG element.",
|
|
1738
|
-
"name": "svg"
|
|
1739
|
-
}
|
|
1740
|
-
],
|
|
2659
|
+
"name": "TerraMap",
|
|
1741
2660
|
"members": [
|
|
1742
2661
|
{
|
|
1743
2662
|
"kind": "field",
|
|
1744
|
-
"name": "
|
|
1745
|
-
"privacy": "private",
|
|
2663
|
+
"name": "minZoom",
|
|
1746
2664
|
"type": {
|
|
1747
|
-
"text": "
|
|
2665
|
+
"text": "number"
|
|
1748
2666
|
},
|
|
1749
|
-
"default": "
|
|
2667
|
+
"default": "0",
|
|
2668
|
+
"description": "Minimum zoom level of the map.",
|
|
2669
|
+
"attribute": "min-zoom"
|
|
1750
2670
|
},
|
|
1751
2671
|
{
|
|
1752
2672
|
"kind": "field",
|
|
1753
|
-
"name": "
|
|
2673
|
+
"name": "maxZoom",
|
|
1754
2674
|
"type": {
|
|
1755
|
-
"text": "
|
|
2675
|
+
"text": "number"
|
|
1756
2676
|
},
|
|
1757
|
-
"default": "
|
|
2677
|
+
"default": "23",
|
|
2678
|
+
"description": "Maximum zoom level of the map.",
|
|
2679
|
+
"attribute": "max-zoom"
|
|
1758
2680
|
},
|
|
1759
2681
|
{
|
|
1760
2682
|
"kind": "field",
|
|
1761
|
-
"name": "
|
|
2683
|
+
"name": "zoom",
|
|
1762
2684
|
"type": {
|
|
1763
|
-
"text": "
|
|
2685
|
+
"text": "number"
|
|
1764
2686
|
},
|
|
1765
|
-
"
|
|
1766
|
-
"
|
|
1767
|
-
"
|
|
2687
|
+
"default": "1",
|
|
2688
|
+
"description": "Initial map zoom level",
|
|
2689
|
+
"attribute": "zoom"
|
|
1768
2690
|
},
|
|
1769
2691
|
{
|
|
1770
2692
|
"kind": "field",
|
|
1771
|
-
"name": "
|
|
2693
|
+
"name": "hasNavigation",
|
|
1772
2694
|
"type": {
|
|
1773
|
-
"text": "
|
|
2695
|
+
"text": "boolean"
|
|
1774
2696
|
},
|
|
1775
|
-
"
|
|
1776
|
-
"
|
|
2697
|
+
"default": "false",
|
|
2698
|
+
"description": "has map navigation toolbar",
|
|
2699
|
+
"attribute": "has-navigation"
|
|
1777
2700
|
},
|
|
1778
2701
|
{
|
|
1779
2702
|
"kind": "field",
|
|
1780
|
-
"name": "
|
|
2703
|
+
"name": "hasCoordTracker",
|
|
1781
2704
|
"type": {
|
|
1782
|
-
"text": "
|
|
2705
|
+
"text": "boolean"
|
|
1783
2706
|
},
|
|
1784
|
-
"default": "
|
|
1785
|
-
"description": "
|
|
1786
|
-
"attribute": "
|
|
2707
|
+
"default": "false",
|
|
2708
|
+
"description": "has coordinate tracker",
|
|
2709
|
+
"attribute": "has-coord-tracker"
|
|
1787
2710
|
},
|
|
1788
2711
|
{
|
|
1789
2712
|
"kind": "field",
|
|
1790
|
-
"name": "
|
|
2713
|
+
"name": "hasShapeSelector",
|
|
1791
2714
|
"type": {
|
|
1792
|
-
"text": "
|
|
2715
|
+
"text": "boolean"
|
|
1793
2716
|
},
|
|
1794
|
-
"default": "
|
|
1795
|
-
"description": "
|
|
1796
|
-
"attribute": "
|
|
1797
|
-
"reflects": true
|
|
2717
|
+
"default": "false",
|
|
2718
|
+
"description": "has shape selector",
|
|
2719
|
+
"attribute": "has-shape-selector"
|
|
1798
2720
|
},
|
|
1799
2721
|
{
|
|
1800
2722
|
"kind": "field",
|
|
1801
|
-
"name": "
|
|
2723
|
+
"name": "value",
|
|
1802
2724
|
"type": {
|
|
1803
|
-
"text": "
|
|
2725
|
+
"text": "any"
|
|
1804
2726
|
},
|
|
1805
|
-
"default": "
|
|
1806
|
-
"
|
|
1807
|
-
"attribute": "color"
|
|
2727
|
+
"default": "[]",
|
|
2728
|
+
"attribute": "value"
|
|
1808
2729
|
},
|
|
1809
2730
|
{
|
|
1810
2731
|
"kind": "field",
|
|
1811
|
-
"name": "
|
|
2732
|
+
"name": "mapElement",
|
|
1812
2733
|
"type": {
|
|
1813
|
-
"text": "
|
|
1814
|
-
}
|
|
1815
|
-
"default": "null",
|
|
1816
|
-
"description": "The CSS font-size to assign to the SVG.",
|
|
1817
|
-
"attribute": "font-size"
|
|
2734
|
+
"text": "HTMLDivElement"
|
|
2735
|
+
}
|
|
1818
2736
|
},
|
|
1819
2737
|
{
|
|
1820
2738
|
"kind": "method",
|
|
1821
|
-
"name": "
|
|
1822
|
-
"return": {
|
|
1823
|
-
"type": {
|
|
1824
|
-
"text": "Promise<SVGResult>"
|
|
1825
|
-
}
|
|
1826
|
-
},
|
|
2739
|
+
"name": "valueChanged",
|
|
1827
2740
|
"parameters": [
|
|
1828
2741
|
{
|
|
1829
|
-
"name": "
|
|
2742
|
+
"name": "_oldValue",
|
|
1830
2743
|
"type": {
|
|
1831
|
-
"text": "
|
|
2744
|
+
"text": "any"
|
|
2745
|
+
}
|
|
2746
|
+
},
|
|
2747
|
+
{
|
|
2748
|
+
"name": "newValue",
|
|
2749
|
+
"type": {
|
|
2750
|
+
"text": "any"
|
|
1832
2751
|
}
|
|
1833
2752
|
}
|
|
1834
|
-
]
|
|
1835
|
-
"description": "Given a URL, this function returns the resulting SVG element or an appropriate error symbol."
|
|
2753
|
+
]
|
|
1836
2754
|
},
|
|
1837
2755
|
{
|
|
1838
|
-
"kind": "
|
|
1839
|
-
"name": "
|
|
1840
|
-
"
|
|
1841
|
-
"
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
}
|
|
2756
|
+
"kind": "field",
|
|
2757
|
+
"name": "map",
|
|
2758
|
+
"type": {
|
|
2759
|
+
"text": "any"
|
|
2760
|
+
},
|
|
2761
|
+
"default": "new Leaflet()"
|
|
1845
2762
|
},
|
|
1846
2763
|
{
|
|
1847
|
-
"kind": "
|
|
1848
|
-
"name": "
|
|
1849
|
-
"
|
|
2764
|
+
"kind": "field",
|
|
2765
|
+
"name": "shapes",
|
|
2766
|
+
"type": {
|
|
2767
|
+
"text": "any"
|
|
2768
|
+
},
|
|
2769
|
+
"description": "List of geojson shapes"
|
|
1850
2770
|
},
|
|
1851
2771
|
{
|
|
1852
|
-
"kind": "
|
|
1853
|
-
"name": "
|
|
2772
|
+
"kind": "field",
|
|
2773
|
+
"name": "_mapController",
|
|
2774
|
+
"type": {
|
|
2775
|
+
"text": "MapController"
|
|
2776
|
+
},
|
|
2777
|
+
"default": "new MapController(this)"
|
|
1854
2778
|
},
|
|
1855
2779
|
{
|
|
1856
2780
|
"kind": "method",
|
|
1857
|
-
"name": "
|
|
1858
|
-
}
|
|
1859
|
-
],
|
|
1860
|
-
"events": [
|
|
1861
|
-
{
|
|
1862
|
-
"description": "Emitted when the icon has loaded.",
|
|
1863
|
-
"name": "terra-load",
|
|
1864
|
-
"reactName": "onTerraLoad",
|
|
1865
|
-
"eventName": "TerraLoadEvent"
|
|
2781
|
+
"name": "#markDynamicLeafletContent"
|
|
1866
2782
|
},
|
|
1867
2783
|
{
|
|
1868
|
-
"
|
|
1869
|
-
"name": "
|
|
1870
|
-
"reactName": "onTerraError",
|
|
1871
|
-
"eventName": "TerraErrorEvent"
|
|
2784
|
+
"kind": "method",
|
|
2785
|
+
"name": "selectTemplate"
|
|
1872
2786
|
}
|
|
1873
2787
|
],
|
|
1874
2788
|
"attributes": [
|
|
1875
2789
|
{
|
|
1876
|
-
"name": "
|
|
2790
|
+
"name": "min-zoom",
|
|
1877
2791
|
"type": {
|
|
1878
|
-
"text": "
|
|
2792
|
+
"text": "number"
|
|
1879
2793
|
},
|
|
1880
|
-
"
|
|
1881
|
-
"
|
|
2794
|
+
"default": "0",
|
|
2795
|
+
"description": "Minimum zoom level of the map.",
|
|
2796
|
+
"fieldName": "minZoom"
|
|
1882
2797
|
},
|
|
1883
2798
|
{
|
|
1884
|
-
"name": "
|
|
2799
|
+
"name": "max-zoom",
|
|
1885
2800
|
"type": {
|
|
1886
|
-
"text": "
|
|
2801
|
+
"text": "number"
|
|
1887
2802
|
},
|
|
1888
|
-
"
|
|
1889
|
-
"
|
|
2803
|
+
"default": "23",
|
|
2804
|
+
"description": "Maximum zoom level of the map.",
|
|
2805
|
+
"fieldName": "maxZoom"
|
|
2806
|
+
},
|
|
2807
|
+
{
|
|
2808
|
+
"name": "zoom",
|
|
2809
|
+
"type": {
|
|
2810
|
+
"text": "number"
|
|
2811
|
+
},
|
|
2812
|
+
"default": "1",
|
|
2813
|
+
"description": "Initial map zoom level",
|
|
2814
|
+
"fieldName": "zoom"
|
|
1890
2815
|
},
|
|
1891
2816
|
{
|
|
1892
|
-
"name": "
|
|
2817
|
+
"name": "has-navigation",
|
|
1893
2818
|
"type": {
|
|
1894
|
-
"text": "
|
|
2819
|
+
"text": "boolean"
|
|
1895
2820
|
},
|
|
1896
|
-
"default": "
|
|
1897
|
-
"description": "
|
|
1898
|
-
"fieldName": "
|
|
2821
|
+
"default": "false",
|
|
2822
|
+
"description": "has map navigation toolbar",
|
|
2823
|
+
"fieldName": "hasNavigation"
|
|
1899
2824
|
},
|
|
1900
2825
|
{
|
|
1901
|
-
"name": "
|
|
2826
|
+
"name": "has-coord-tracker",
|
|
1902
2827
|
"type": {
|
|
1903
|
-
"text": "
|
|
2828
|
+
"text": "boolean"
|
|
1904
2829
|
},
|
|
1905
|
-
"default": "
|
|
1906
|
-
"description": "
|
|
1907
|
-
"fieldName": "
|
|
2830
|
+
"default": "false",
|
|
2831
|
+
"description": "has coordinate tracker",
|
|
2832
|
+
"fieldName": "hasCoordTracker"
|
|
1908
2833
|
},
|
|
1909
2834
|
{
|
|
1910
|
-
"name": "
|
|
2835
|
+
"name": "has-shape-selector",
|
|
1911
2836
|
"type": {
|
|
1912
|
-
"text": "
|
|
2837
|
+
"text": "boolean"
|
|
1913
2838
|
},
|
|
1914
|
-
"default": "
|
|
1915
|
-
"description": "
|
|
1916
|
-
"fieldName": "
|
|
2839
|
+
"default": "false",
|
|
2840
|
+
"description": "has shape selector",
|
|
2841
|
+
"fieldName": "hasShapeSelector"
|
|
1917
2842
|
},
|
|
1918
2843
|
{
|
|
1919
|
-
"name": "
|
|
2844
|
+
"name": "value",
|
|
1920
2845
|
"type": {
|
|
1921
|
-
"text": "
|
|
2846
|
+
"text": "any"
|
|
1922
2847
|
},
|
|
1923
|
-
"default": "
|
|
1924
|
-
"
|
|
1925
|
-
"fieldName": "fontSize"
|
|
2848
|
+
"default": "[]",
|
|
2849
|
+
"fieldName": "value"
|
|
1926
2850
|
}
|
|
1927
2851
|
],
|
|
1928
2852
|
"superclass": {
|
|
1929
2853
|
"name": "TerraElement",
|
|
1930
2854
|
"module": "/src/internal/terra-element.js"
|
|
1931
2855
|
},
|
|
1932
|
-
"summary": "
|
|
1933
|
-
"tagNameWithoutPrefix": "
|
|
1934
|
-
"tagName": "terra-
|
|
2856
|
+
"summary": "A map component for visualizing and selecting coordinates.",
|
|
2857
|
+
"tagNameWithoutPrefix": "map",
|
|
2858
|
+
"tagName": "terra-map",
|
|
1935
2859
|
"customElement": true,
|
|
1936
|
-
"jsDoc": "/**\n * @summary
|
|
1937
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
1938
|
-
"status": "
|
|
2860
|
+
"jsDoc": "/**\n * @summary A map component for visualizing and selecting coordinates.\n * @documentation https://disc.gsfc.nasa.gov/components/map\n * @status mvp\n * @since 1.0\n *\n */",
|
|
2861
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/map",
|
|
2862
|
+
"status": "mvp",
|
|
1939
2863
|
"since": "1.0"
|
|
1940
2864
|
}
|
|
1941
2865
|
],
|
|
@@ -1944,222 +2868,129 @@
|
|
|
1944
2868
|
"kind": "js",
|
|
1945
2869
|
"name": "default",
|
|
1946
2870
|
"declaration": {
|
|
1947
|
-
"name": "
|
|
1948
|
-
"module": "components/
|
|
2871
|
+
"name": "TerraMap",
|
|
2872
|
+
"module": "components/map/map.js"
|
|
1949
2873
|
}
|
|
1950
2874
|
}
|
|
1951
2875
|
]
|
|
1952
2876
|
},
|
|
1953
2877
|
{
|
|
1954
2878
|
"kind": "javascript-module",
|
|
1955
|
-
"path": "components/
|
|
2879
|
+
"path": "components/plot/plot.js",
|
|
1956
2880
|
"declarations": [
|
|
1957
2881
|
{
|
|
1958
2882
|
"kind": "class",
|
|
1959
2883
|
"description": "",
|
|
1960
|
-
"name": "
|
|
1961
|
-
"cssProperties": [
|
|
1962
|
-
{
|
|
1963
|
-
"description": "An example CSS custom property.",
|
|
1964
|
-
"name": "--example"
|
|
1965
|
-
}
|
|
1966
|
-
],
|
|
2884
|
+
"name": "TerraPlot",
|
|
1967
2885
|
"cssParts": [
|
|
1968
2886
|
{
|
|
1969
2887
|
"description": "The component's base wrapper.",
|
|
1970
2888
|
"name": "base"
|
|
1971
2889
|
}
|
|
1972
2890
|
],
|
|
1973
|
-
"slots": [
|
|
1974
|
-
{
|
|
1975
|
-
"description": "The default slot.",
|
|
1976
|
-
"name": ""
|
|
1977
|
-
},
|
|
1978
|
-
{
|
|
1979
|
-
"description": "An example slot.",
|
|
1980
|
-
"name": "example"
|
|
1981
|
-
}
|
|
1982
|
-
],
|
|
1983
2891
|
"members": [
|
|
1984
2892
|
{
|
|
1985
2893
|
"kind": "field",
|
|
1986
|
-
"name": "
|
|
2894
|
+
"name": "#resizeObserver",
|
|
2895
|
+
"privacy": "private",
|
|
1987
2896
|
"type": {
|
|
1988
|
-
"text": "
|
|
2897
|
+
"text": "ResizeObserver"
|
|
1989
2898
|
}
|
|
1990
2899
|
},
|
|
1991
2900
|
{
|
|
1992
2901
|
"kind": "field",
|
|
1993
|
-
"name": "
|
|
1994
|
-
"type": {
|
|
1995
|
-
"text": "TimeScale"
|
|
1996
|
-
},
|
|
1997
|
-
"default": "'daily'",
|
|
1998
|
-
"attribute": "time-scale"
|
|
1999
|
-
},
|
|
2000
|
-
{
|
|
2001
|
-
"kind": "field",
|
|
2002
|
-
"name": "minDate",
|
|
2003
|
-
"type": {
|
|
2004
|
-
"text": "string"
|
|
2005
|
-
},
|
|
2006
|
-
"attribute": "min-date"
|
|
2007
|
-
},
|
|
2008
|
-
{
|
|
2009
|
-
"kind": "field",
|
|
2010
|
-
"name": "maxDate",
|
|
2902
|
+
"name": "base",
|
|
2011
2903
|
"type": {
|
|
2012
|
-
"text": "
|
|
2013
|
-
}
|
|
2014
|
-
"attribute": "max-date"
|
|
2904
|
+
"text": "HTMLElement"
|
|
2905
|
+
}
|
|
2015
2906
|
},
|
|
2016
2907
|
{
|
|
2017
2908
|
"kind": "field",
|
|
2018
|
-
"name": "
|
|
2909
|
+
"name": "plotTitle",
|
|
2019
2910
|
"type": {
|
|
2020
|
-
"text": "string"
|
|
2911
|
+
"text": "string | undefined"
|
|
2021
2912
|
},
|
|
2022
|
-
"
|
|
2023
|
-
"attribute": "start-date"
|
|
2913
|
+
"attribute": "plotTitle"
|
|
2024
2914
|
},
|
|
2025
2915
|
{
|
|
2026
2916
|
"kind": "field",
|
|
2027
|
-
"name": "
|
|
2917
|
+
"name": "layout",
|
|
2028
2918
|
"type": {
|
|
2029
|
-
"text": "
|
|
2919
|
+
"text": "Partial<Layout> | undefined"
|
|
2030
2920
|
},
|
|
2031
|
-
"
|
|
2921
|
+
"default": "{}",
|
|
2922
|
+
"attribute": "layout"
|
|
2032
2923
|
},
|
|
2033
2924
|
{
|
|
2034
2925
|
"kind": "field",
|
|
2035
|
-
"name": "
|
|
2926
|
+
"name": "config",
|
|
2036
2927
|
"type": {
|
|
2037
|
-
"text": "
|
|
2928
|
+
"text": "Partial<Config> | undefined"
|
|
2038
2929
|
},
|
|
2039
|
-
"default": "
|
|
2040
|
-
"attribute": "
|
|
2041
|
-
"reflects": true
|
|
2930
|
+
"default": "{}",
|
|
2931
|
+
"attribute": "config"
|
|
2042
2932
|
},
|
|
2043
2933
|
{
|
|
2044
2934
|
"kind": "field",
|
|
2045
|
-
"name": "
|
|
2935
|
+
"name": "data",
|
|
2046
2936
|
"type": {
|
|
2047
|
-
"text": "
|
|
2937
|
+
"text": "Array<Partial<Data>>"
|
|
2048
2938
|
},
|
|
2049
|
-
"default": "
|
|
2050
|
-
"attribute": "
|
|
2051
|
-
"reflects": true
|
|
2052
|
-
},
|
|
2053
|
-
{
|
|
2054
|
-
"kind": "method",
|
|
2055
|
-
"name": "updateSlider"
|
|
2056
|
-
},
|
|
2057
|
-
{
|
|
2058
|
-
"kind": "method",
|
|
2059
|
-
"name": "disabledChanged"
|
|
2060
|
-
},
|
|
2061
|
-
{
|
|
2062
|
-
"kind": "method",
|
|
2063
|
-
"name": "renderSlider"
|
|
2064
|
-
},
|
|
2065
|
-
{
|
|
2066
|
-
"kind": "method",
|
|
2067
|
-
"name": "renderEmptySlider"
|
|
2068
|
-
},
|
|
2069
|
-
{
|
|
2070
|
-
"kind": "method",
|
|
2071
|
-
"name": "_getStep",
|
|
2072
|
-
"privacy": "private"
|
|
2939
|
+
"default": "[]",
|
|
2940
|
+
"attribute": "data"
|
|
2073
2941
|
},
|
|
2074
2942
|
{
|
|
2075
2943
|
"kind": "method",
|
|
2076
|
-
"name": "
|
|
2077
|
-
"privacy": "private",
|
|
2078
|
-
"return": {
|
|
2079
|
-
"type": {
|
|
2080
|
-
"text": "Formatter"
|
|
2081
|
-
}
|
|
2082
|
-
}
|
|
2944
|
+
"name": "handleDataChange"
|
|
2083
2945
|
},
|
|
2084
2946
|
{
|
|
2085
2947
|
"kind": "method",
|
|
2086
|
-
"name": "
|
|
2087
|
-
"privacy": "private",
|
|
2088
|
-
"parameters": [
|
|
2089
|
-
{
|
|
2090
|
-
"name": "date",
|
|
2091
|
-
"type": {
|
|
2092
|
-
"text": "string | number | Date"
|
|
2093
|
-
}
|
|
2094
|
-
}
|
|
2095
|
-
]
|
|
2948
|
+
"name": "updatePlotWithData"
|
|
2096
2949
|
}
|
|
2097
2950
|
],
|
|
2098
2951
|
"attributes": [
|
|
2099
2952
|
{
|
|
2100
|
-
"name": "
|
|
2101
|
-
"type": {
|
|
2102
|
-
"text": "TimeScale"
|
|
2103
|
-
},
|
|
2104
|
-
"default": "'daily'",
|
|
2105
|
-
"fieldName": "timeScale"
|
|
2106
|
-
},
|
|
2107
|
-
{
|
|
2108
|
-
"name": "min-date",
|
|
2109
|
-
"type": {
|
|
2110
|
-
"text": "string"
|
|
2111
|
-
},
|
|
2112
|
-
"fieldName": "minDate"
|
|
2113
|
-
},
|
|
2114
|
-
{
|
|
2115
|
-
"name": "max-date",
|
|
2116
|
-
"type": {
|
|
2117
|
-
"text": "string"
|
|
2118
|
-
},
|
|
2119
|
-
"fieldName": "maxDate"
|
|
2120
|
-
},
|
|
2121
|
-
{
|
|
2122
|
-
"name": "start-date",
|
|
2953
|
+
"name": "plotTitle",
|
|
2123
2954
|
"type": {
|
|
2124
|
-
"text": "string"
|
|
2955
|
+
"text": "string | undefined"
|
|
2125
2956
|
},
|
|
2126
|
-
"
|
|
2127
|
-
"fieldName": "startDate"
|
|
2957
|
+
"fieldName": "plotTitle"
|
|
2128
2958
|
},
|
|
2129
2959
|
{
|
|
2130
|
-
"name": "
|
|
2960
|
+
"name": "layout",
|
|
2131
2961
|
"type": {
|
|
2132
|
-
"text": "
|
|
2962
|
+
"text": "Partial<Layout> | undefined"
|
|
2133
2963
|
},
|
|
2134
|
-
"
|
|
2964
|
+
"default": "{}",
|
|
2965
|
+
"fieldName": "layout"
|
|
2135
2966
|
},
|
|
2136
2967
|
{
|
|
2137
|
-
"name": "
|
|
2968
|
+
"name": "config",
|
|
2138
2969
|
"type": {
|
|
2139
|
-
"text": "
|
|
2970
|
+
"text": "Partial<Config> | undefined"
|
|
2140
2971
|
},
|
|
2141
|
-
"default": "
|
|
2142
|
-
"fieldName": "
|
|
2972
|
+
"default": "{}",
|
|
2973
|
+
"fieldName": "config"
|
|
2143
2974
|
},
|
|
2144
2975
|
{
|
|
2145
|
-
"name": "
|
|
2976
|
+
"name": "data",
|
|
2146
2977
|
"type": {
|
|
2147
|
-
"text": "
|
|
2978
|
+
"text": "Array<Partial<Data>>"
|
|
2148
2979
|
},
|
|
2149
|
-
"default": "
|
|
2150
|
-
"fieldName": "
|
|
2980
|
+
"default": "[]",
|
|
2981
|
+
"fieldName": "data"
|
|
2151
2982
|
}
|
|
2152
2983
|
],
|
|
2153
2984
|
"superclass": {
|
|
2154
2985
|
"name": "TerraElement",
|
|
2155
2986
|
"module": "/src/internal/terra-element.js"
|
|
2156
2987
|
},
|
|
2157
|
-
"summary": "
|
|
2158
|
-
"tagNameWithoutPrefix": "
|
|
2159
|
-
"tagName": "terra-
|
|
2988
|
+
"summary": "A web component for interactive graphs using Plotly.js.",
|
|
2989
|
+
"tagNameWithoutPrefix": "plot",
|
|
2990
|
+
"tagName": "terra-plot",
|
|
2160
2991
|
"customElement": true,
|
|
2161
|
-
"jsDoc": "/**\n * @summary
|
|
2162
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
2992
|
+
"jsDoc": "/**\n * @summary A web component for interactive graphs using Plotly.js.\n * @documentation https://disc.gsfc.nasa.gov/components/plot\n * @status experimental\n * @since 1.0\n *\n * @csspart base - The component's base wrapper.\n */",
|
|
2993
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/plot",
|
|
2163
2994
|
"status": "experimental",
|
|
2164
2995
|
"since": "1.0"
|
|
2165
2996
|
}
|
|
@@ -2169,176 +3000,100 @@
|
|
|
2169
3000
|
"kind": "js",
|
|
2170
3001
|
"name": "default",
|
|
2171
3002
|
"declaration": {
|
|
2172
|
-
"name": "
|
|
2173
|
-
"module": "components/
|
|
3003
|
+
"name": "TerraPlot",
|
|
3004
|
+
"module": "components/plot/plot.js"
|
|
2174
3005
|
}
|
|
2175
3006
|
}
|
|
2176
3007
|
]
|
|
2177
3008
|
},
|
|
2178
3009
|
{
|
|
2179
3010
|
"kind": "javascript-module",
|
|
2180
|
-
"path": "components/
|
|
3011
|
+
"path": "components/skeleton/skeleton.js",
|
|
2181
3012
|
"declarations": [
|
|
2182
3013
|
{
|
|
2183
|
-
"kind": "class",
|
|
2184
|
-
"description": "",
|
|
2185
|
-
"name": "
|
|
2186
|
-
"slots": [
|
|
2187
|
-
{
|
|
2188
|
-
"description": "The dialog's main content",
|
|
2189
|
-
"name": ""
|
|
2190
|
-
}
|
|
2191
|
-
],
|
|
3014
|
+
"kind": "class",
|
|
3015
|
+
"description": "",
|
|
3016
|
+
"name": "TerraSkeleton",
|
|
2192
3017
|
"members": [
|
|
2193
3018
|
{
|
|
2194
3019
|
"kind": "field",
|
|
2195
|
-
"name": "
|
|
2196
|
-
"type": {
|
|
2197
|
-
"text": "HTMLDialogElement"
|
|
2198
|
-
}
|
|
2199
|
-
},
|
|
2200
|
-
{
|
|
2201
|
-
"kind": "field",
|
|
2202
|
-
"name": "id",
|
|
2203
|
-
"type": {
|
|
2204
|
-
"text": "string"
|
|
2205
|
-
},
|
|
2206
|
-
"description": "the ID to be used for accessibility associations",
|
|
2207
|
-
"attribute": "id"
|
|
2208
|
-
},
|
|
2209
|
-
{
|
|
2210
|
-
"kind": "field",
|
|
2211
|
-
"name": "width",
|
|
3020
|
+
"name": "dependencies",
|
|
2212
3021
|
"type": {
|
|
2213
|
-
"text": "
|
|
3022
|
+
"text": "object"
|
|
2214
3023
|
},
|
|
2215
|
-
"
|
|
2216
|
-
"
|
|
2217
|
-
"attribute": "width",
|
|
2218
|
-
"reflects": true
|
|
3024
|
+
"static": true,
|
|
3025
|
+
"default": "{\n 'sl-skeleton': SlSkeleton,\n }"
|
|
2219
3026
|
},
|
|
2220
3027
|
{
|
|
2221
3028
|
"kind": "field",
|
|
2222
|
-
"name": "
|
|
3029
|
+
"name": "rows",
|
|
2223
3030
|
"type": {
|
|
2224
|
-
"text": "
|
|
3031
|
+
"text": "number"
|
|
2225
3032
|
},
|
|
2226
|
-
"default": "
|
|
2227
|
-
"
|
|
2228
|
-
"attribute": "open",
|
|
2229
|
-
"reflects": true
|
|
3033
|
+
"default": "1",
|
|
3034
|
+
"attribute": "rows"
|
|
2230
3035
|
},
|
|
2231
3036
|
{
|
|
2232
3037
|
"kind": "field",
|
|
2233
|
-
"name": "
|
|
3038
|
+
"name": "effect",
|
|
2234
3039
|
"type": {
|
|
2235
|
-
"text": "
|
|
3040
|
+
"text": "'pulse' | 'sheen' | 'none'"
|
|
2236
3041
|
},
|
|
2237
|
-
"default": "
|
|
2238
|
-
"
|
|
2239
|
-
"attribute": "click-outside-to-close",
|
|
2240
|
-
"reflects": true
|
|
3042
|
+
"default": "'pulse'",
|
|
3043
|
+
"attribute": "effect"
|
|
2241
3044
|
},
|
|
2242
3045
|
{
|
|
2243
3046
|
"kind": "field",
|
|
2244
|
-
"name": "
|
|
3047
|
+
"name": "variableWidths",
|
|
2245
3048
|
"type": {
|
|
2246
3049
|
"text": "boolean"
|
|
2247
3050
|
},
|
|
2248
3051
|
"default": "true",
|
|
2249
|
-
"
|
|
2250
|
-
"attribute": "show-backdrop",
|
|
3052
|
+
"attribute": "variableWidths",
|
|
2251
3053
|
"reflects": true
|
|
2252
|
-
},
|
|
2253
|
-
{
|
|
2254
|
-
"kind": "method",
|
|
2255
|
-
"name": "toggle"
|
|
2256
|
-
},
|
|
2257
|
-
{
|
|
2258
|
-
"kind": "method",
|
|
2259
|
-
"name": "show"
|
|
2260
|
-
},
|
|
2261
|
-
{
|
|
2262
|
-
"kind": "method",
|
|
2263
|
-
"name": "hide"
|
|
2264
|
-
},
|
|
2265
|
-
{
|
|
2266
|
-
"kind": "method",
|
|
2267
|
-
"name": "#handleBackdropClick"
|
|
2268
|
-
}
|
|
2269
|
-
],
|
|
2270
|
-
"events": [
|
|
2271
|
-
{
|
|
2272
|
-
"description": "Emitted when the dialog opens.",
|
|
2273
|
-
"name": "terra-dialog-show",
|
|
2274
|
-
"reactName": "onTerraDialogShow",
|
|
2275
|
-
"eventName": "TerraDialogShowEvent"
|
|
2276
|
-
},
|
|
2277
|
-
{
|
|
2278
|
-
"description": "Emitted when the dialog closes.",
|
|
2279
|
-
"name": "terra-dialog-hide",
|
|
2280
|
-
"reactName": "onTerraDialogHide",
|
|
2281
|
-
"eventName": "TerraDialogHideEvent"
|
|
2282
3054
|
}
|
|
2283
3055
|
],
|
|
2284
3056
|
"attributes": [
|
|
2285
3057
|
{
|
|
2286
|
-
"name": "
|
|
2287
|
-
"type": {
|
|
2288
|
-
"text": "string"
|
|
2289
|
-
},
|
|
2290
|
-
"description": "the ID to be used for accessibility associations",
|
|
2291
|
-
"fieldName": "id"
|
|
2292
|
-
},
|
|
2293
|
-
{
|
|
2294
|
-
"name": "width",
|
|
2295
|
-
"type": {
|
|
2296
|
-
"text": "string"
|
|
2297
|
-
},
|
|
2298
|
-
"default": "'500px'",
|
|
2299
|
-
"description": "the width of the dialog",
|
|
2300
|
-
"fieldName": "width"
|
|
2301
|
-
},
|
|
2302
|
-
{
|
|
2303
|
-
"name": "open",
|
|
3058
|
+
"name": "rows",
|
|
2304
3059
|
"type": {
|
|
2305
|
-
"text": "
|
|
3060
|
+
"text": "number"
|
|
2306
3061
|
},
|
|
2307
|
-
"default": "
|
|
2308
|
-
"
|
|
2309
|
-
"fieldName": "open"
|
|
3062
|
+
"default": "1",
|
|
3063
|
+
"fieldName": "rows"
|
|
2310
3064
|
},
|
|
2311
3065
|
{
|
|
2312
|
-
"name": "
|
|
3066
|
+
"name": "effect",
|
|
2313
3067
|
"type": {
|
|
2314
|
-
"text": "
|
|
3068
|
+
"text": "'pulse' | 'sheen' | 'none'"
|
|
2315
3069
|
},
|
|
2316
|
-
"default": "
|
|
2317
|
-
"
|
|
2318
|
-
"fieldName": "clickOutsideToClose"
|
|
3070
|
+
"default": "'pulse'",
|
|
3071
|
+
"fieldName": "effect"
|
|
2319
3072
|
},
|
|
2320
3073
|
{
|
|
2321
|
-
"name": "
|
|
3074
|
+
"name": "variableWidths",
|
|
2322
3075
|
"type": {
|
|
2323
3076
|
"text": "boolean"
|
|
2324
3077
|
},
|
|
2325
3078
|
"default": "true",
|
|
2326
|
-
"
|
|
2327
|
-
"fieldName": "showBackdrop"
|
|
3079
|
+
"fieldName": "variableWidths"
|
|
2328
3080
|
}
|
|
2329
3081
|
],
|
|
2330
3082
|
"superclass": {
|
|
2331
3083
|
"name": "TerraElement",
|
|
2332
3084
|
"module": "/src/internal/terra-element.js"
|
|
2333
3085
|
},
|
|
2334
|
-
"summary": "
|
|
2335
|
-
"tagNameWithoutPrefix": "
|
|
2336
|
-
"tagName": "terra-
|
|
3086
|
+
"summary": "Skeletons are loading indicators to represent where content will eventually be drawn.",
|
|
3087
|
+
"tagNameWithoutPrefix": "skeleton",
|
|
3088
|
+
"tagName": "terra-skeleton",
|
|
2337
3089
|
"customElement": true,
|
|
2338
|
-
"jsDoc": "/**\n * @summary
|
|
2339
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
2340
|
-
"status": "
|
|
2341
|
-
"since": "1.0"
|
|
3090
|
+
"jsDoc": "/**\n * @summary Skeletons are loading indicators to represent where content will eventually be drawn.\n * @documentation https://disc.gsfc.nasa.gov/components/skeleton\n * @status experimental\n * @since 1.0\n *\n * @dependency sl-skeleton\n */",
|
|
3091
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/skeleton",
|
|
3092
|
+
"status": "experimental",
|
|
3093
|
+
"since": "1.0",
|
|
3094
|
+
"dependencies": [
|
|
3095
|
+
"sl-skeleton"
|
|
3096
|
+
]
|
|
2342
3097
|
}
|
|
2343
3098
|
],
|
|
2344
3099
|
"exports": [
|
|
@@ -2346,21 +3101,30 @@
|
|
|
2346
3101
|
"kind": "js",
|
|
2347
3102
|
"name": "default",
|
|
2348
3103
|
"declaration": {
|
|
2349
|
-
"name": "
|
|
2350
|
-
"module": "components/
|
|
3104
|
+
"name": "TerraSkeleton",
|
|
3105
|
+
"module": "components/skeleton/skeleton.js"
|
|
2351
3106
|
}
|
|
2352
3107
|
}
|
|
2353
3108
|
]
|
|
2354
3109
|
},
|
|
2355
3110
|
{
|
|
2356
3111
|
"kind": "javascript-module",
|
|
2357
|
-
"path": "components/
|
|
3112
|
+
"path": "components/spatial-picker/spatial-picker.js",
|
|
2358
3113
|
"declarations": [
|
|
2359
3114
|
{
|
|
2360
3115
|
"kind": "class",
|
|
2361
3116
|
"description": "",
|
|
2362
|
-
"name": "
|
|
3117
|
+
"name": "TerraSpatialPicker",
|
|
2363
3118
|
"members": [
|
|
3119
|
+
{
|
|
3120
|
+
"kind": "field",
|
|
3121
|
+
"name": "dependencies",
|
|
3122
|
+
"type": {
|
|
3123
|
+
"text": "object"
|
|
3124
|
+
},
|
|
3125
|
+
"static": true,
|
|
3126
|
+
"default": "{\n 'terra-map': TerraMap,\n }"
|
|
3127
|
+
},
|
|
2364
3128
|
{
|
|
2365
3129
|
"kind": "field",
|
|
2366
3130
|
"name": "minZoom",
|
|
@@ -2397,7 +3161,7 @@
|
|
|
2397
3161
|
"type": {
|
|
2398
3162
|
"text": "boolean"
|
|
2399
3163
|
},
|
|
2400
|
-
"default": "
|
|
3164
|
+
"default": "true",
|
|
2401
3165
|
"description": "has map navigation toolbar",
|
|
2402
3166
|
"attribute": "has-navigation"
|
|
2403
3167
|
},
|
|
@@ -2407,7 +3171,7 @@
|
|
|
2407
3171
|
"type": {
|
|
2408
3172
|
"text": "boolean"
|
|
2409
3173
|
},
|
|
2410
|
-
"default": "
|
|
3174
|
+
"default": "true",
|
|
2411
3175
|
"description": "has coordinate tracker",
|
|
2412
3176
|
"attribute": "has-coord-tracker"
|
|
2413
3177
|
},
|
|
@@ -2423,417 +3187,222 @@
|
|
|
2423
3187
|
},
|
|
2424
3188
|
{
|
|
2425
3189
|
"kind": "field",
|
|
2426
|
-
"name": "
|
|
2427
|
-
"type": {
|
|
2428
|
-
"text": "any"
|
|
2429
|
-
},
|
|
2430
|
-
"default": "[]",
|
|
2431
|
-
"attribute": "value"
|
|
2432
|
-
},
|
|
2433
|
-
{
|
|
2434
|
-
"kind": "field",
|
|
2435
|
-
"name": "mapElement",
|
|
2436
|
-
"type": {
|
|
2437
|
-
"text": "HTMLDivElement"
|
|
2438
|
-
}
|
|
2439
|
-
},
|
|
2440
|
-
{
|
|
2441
|
-
"kind": "method",
|
|
2442
|
-
"name": "valueChanged",
|
|
2443
|
-
"parameters": [
|
|
2444
|
-
{
|
|
2445
|
-
"name": "_oldValue",
|
|
2446
|
-
"type": {
|
|
2447
|
-
"text": "any"
|
|
2448
|
-
}
|
|
2449
|
-
},
|
|
2450
|
-
{
|
|
2451
|
-
"name": "newValue",
|
|
2452
|
-
"type": {
|
|
2453
|
-
"text": "any"
|
|
2454
|
-
}
|
|
2455
|
-
}
|
|
2456
|
-
]
|
|
2457
|
-
},
|
|
2458
|
-
{
|
|
2459
|
-
"kind": "field",
|
|
2460
|
-
"name": "map",
|
|
3190
|
+
"name": "initialValue",
|
|
2461
3191
|
"type": {
|
|
2462
|
-
"text": "
|
|
3192
|
+
"text": "string"
|
|
2463
3193
|
},
|
|
2464
|
-
"default": "
|
|
3194
|
+
"default": "''",
|
|
3195
|
+
"description": "initialValue of spatial picker",
|
|
3196
|
+
"attribute": "initial-value"
|
|
2465
3197
|
},
|
|
2466
3198
|
{
|
|
2467
3199
|
"kind": "field",
|
|
2468
|
-
"name": "
|
|
3200
|
+
"name": "hideLabel",
|
|
2469
3201
|
"type": {
|
|
2470
|
-
"text": "
|
|
3202
|
+
"text": "boolean"
|
|
2471
3203
|
},
|
|
2472
|
-
"
|
|
3204
|
+
"default": "false",
|
|
3205
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
3206
|
+
"attribute": "hide-label"
|
|
2473
3207
|
},
|
|
2474
3208
|
{
|
|
2475
3209
|
"kind": "field",
|
|
2476
|
-
"name": "
|
|
2477
|
-
"type": {
|
|
2478
|
-
"text": "MapController"
|
|
2479
|
-
},
|
|
2480
|
-
"default": "new MapController(this)"
|
|
2481
|
-
},
|
|
2482
|
-
{
|
|
2483
|
-
"kind": "method",
|
|
2484
|
-
"name": "#markDynamicLeafletContent"
|
|
2485
|
-
},
|
|
2486
|
-
{
|
|
2487
|
-
"kind": "method",
|
|
2488
|
-
"name": "selectTemplate"
|
|
2489
|
-
}
|
|
2490
|
-
],
|
|
2491
|
-
"attributes": [
|
|
2492
|
-
{
|
|
2493
|
-
"name": "min-zoom",
|
|
2494
|
-
"type": {
|
|
2495
|
-
"text": "number"
|
|
2496
|
-
},
|
|
2497
|
-
"default": "0",
|
|
2498
|
-
"description": "Minimum zoom level of the map.",
|
|
2499
|
-
"fieldName": "minZoom"
|
|
2500
|
-
},
|
|
2501
|
-
{
|
|
2502
|
-
"name": "max-zoom",
|
|
2503
|
-
"type": {
|
|
2504
|
-
"text": "number"
|
|
2505
|
-
},
|
|
2506
|
-
"default": "23",
|
|
2507
|
-
"description": "Maximum zoom level of the map.",
|
|
2508
|
-
"fieldName": "maxZoom"
|
|
2509
|
-
},
|
|
2510
|
-
{
|
|
2511
|
-
"name": "zoom",
|
|
2512
|
-
"type": {
|
|
2513
|
-
"text": "number"
|
|
2514
|
-
},
|
|
2515
|
-
"default": "1",
|
|
2516
|
-
"description": "Initial map zoom level",
|
|
2517
|
-
"fieldName": "zoom"
|
|
2518
|
-
},
|
|
2519
|
-
{
|
|
2520
|
-
"name": "has-navigation",
|
|
3210
|
+
"name": "label",
|
|
2521
3211
|
"type": {
|
|
2522
|
-
"text": "
|
|
3212
|
+
"text": "string"
|
|
2523
3213
|
},
|
|
2524
|
-
"default": "
|
|
2525
|
-
"description": "
|
|
2526
|
-
"
|
|
3214
|
+
"default": "'Select Region'",
|
|
3215
|
+
"description": "spatial picker label",
|
|
3216
|
+
"attribute": "label"
|
|
2527
3217
|
},
|
|
2528
3218
|
{
|
|
2529
|
-
"
|
|
3219
|
+
"kind": "field",
|
|
3220
|
+
"name": "isExpanded",
|
|
2530
3221
|
"type": {
|
|
2531
3222
|
"text": "boolean"
|
|
2532
3223
|
},
|
|
2533
3224
|
"default": "false",
|
|
2534
|
-
"
|
|
2535
|
-
"
|
|
3225
|
+
"attribute": "is-expanded",
|
|
3226
|
+
"reflects": true
|
|
2536
3227
|
},
|
|
2537
3228
|
{
|
|
2538
|
-
"
|
|
3229
|
+
"kind": "field",
|
|
3230
|
+
"name": "inline",
|
|
2539
3231
|
"type": {
|
|
2540
3232
|
"text": "boolean"
|
|
2541
3233
|
},
|
|
2542
3234
|
"default": "false",
|
|
2543
|
-
"description": "
|
|
2544
|
-
"
|
|
3235
|
+
"description": "Whether the map should be shown inline, or as part of the normal content flow\nthe default is false, the map is positioned absolute under the input",
|
|
3236
|
+
"attribute": "inline"
|
|
2545
3237
|
},
|
|
2546
3238
|
{
|
|
2547
|
-
"
|
|
3239
|
+
"kind": "field",
|
|
3240
|
+
"name": "mapValue",
|
|
2548
3241
|
"type": {
|
|
2549
3242
|
"text": "any"
|
|
2550
|
-
}
|
|
2551
|
-
"default": "[]",
|
|
2552
|
-
"fieldName": "value"
|
|
2553
|
-
}
|
|
2554
|
-
],
|
|
2555
|
-
"superclass": {
|
|
2556
|
-
"name": "TerraElement",
|
|
2557
|
-
"module": "/src/internal/terra-element.js"
|
|
2558
|
-
},
|
|
2559
|
-
"summary": "A map component for visualizing and selecting coordinates.",
|
|
2560
|
-
"tagNameWithoutPrefix": "map",
|
|
2561
|
-
"tagName": "terra-map",
|
|
2562
|
-
"customElement": true,
|
|
2563
|
-
"jsDoc": "/**\n * @summary A map component for visualizing and selecting coordinates.\n * @documentation https://disc.gsfc.nasa.gov/components/map\n * @status mvp\n * @since 1.0\n *\n */",
|
|
2564
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/map",
|
|
2565
|
-
"status": "mvp",
|
|
2566
|
-
"since": "1.0"
|
|
2567
|
-
}
|
|
2568
|
-
],
|
|
2569
|
-
"exports": [
|
|
2570
|
-
{
|
|
2571
|
-
"kind": "js",
|
|
2572
|
-
"name": "default",
|
|
2573
|
-
"declaration": {
|
|
2574
|
-
"name": "TerraMap",
|
|
2575
|
-
"module": "components/map/map.js"
|
|
2576
|
-
}
|
|
2577
|
-
}
|
|
2578
|
-
]
|
|
2579
|
-
},
|
|
2580
|
-
{
|
|
2581
|
-
"kind": "javascript-module",
|
|
2582
|
-
"path": "components/login/login.js",
|
|
2583
|
-
"declarations": [
|
|
2584
|
-
{
|
|
2585
|
-
"kind": "class",
|
|
2586
|
-
"description": "",
|
|
2587
|
-
"name": "TerraLogin",
|
|
2588
|
-
"members": [
|
|
2589
|
-
{
|
|
2590
|
-
"kind": "field",
|
|
2591
|
-
"name": "#clientID",
|
|
2592
|
-
"privacy": "private"
|
|
2593
|
-
},
|
|
2594
|
-
{
|
|
2595
|
-
"kind": "field",
|
|
2596
|
-
"name": "#formRef",
|
|
2597
|
-
"privacy": "private"
|
|
2598
|
-
},
|
|
2599
|
-
{
|
|
2600
|
-
"kind": "field",
|
|
2601
|
-
"name": "#serverURL",
|
|
2602
|
-
"privacy": "private"
|
|
2603
|
-
},
|
|
2604
|
-
{
|
|
2605
|
-
"kind": "field",
|
|
2606
|
-
"name": "#loginTask",
|
|
2607
|
-
"privacy": "private",
|
|
2608
|
-
"default": "new Task(this, {\n task: async ([], { signal }) => {\n const code = await this.#getAccessCode(signal)\n const accessToken = await this.#exchangeCodeForAccessToken(code, signal)\n\n this.emit('terra-login', { detail: accessToken })\n this.#clearForm()\n },\n })"
|
|
3243
|
+
}
|
|
2609
3244
|
},
|
|
2610
3245
|
{
|
|
2611
3246
|
"kind": "field",
|
|
2612
|
-
"name": "
|
|
3247
|
+
"name": "spatialInput",
|
|
2613
3248
|
"type": {
|
|
2614
|
-
"text": "
|
|
2615
|
-
}
|
|
2616
|
-
"static": true,
|
|
2617
|
-
"default": "{\n 'terra-button': TerraButton,\n 'terra-icon': TerraIcon,\n 'terra-loader': TerraLoader,\n }"
|
|
3249
|
+
"text": "HTMLInputElement"
|
|
3250
|
+
}
|
|
2618
3251
|
},
|
|
2619
3252
|
{
|
|
2620
3253
|
"kind": "method",
|
|
2621
|
-
"name": "
|
|
2622
|
-
"
|
|
2623
|
-
"type": {
|
|
2624
|
-
"text": "Promise<string>"
|
|
2625
|
-
}
|
|
2626
|
-
},
|
|
3254
|
+
"name": "_blur",
|
|
3255
|
+
"privacy": "private",
|
|
2627
3256
|
"parameters": [
|
|
2628
3257
|
{
|
|
2629
|
-
"name": "
|
|
3258
|
+
"name": "e",
|
|
2630
3259
|
"type": {
|
|
2631
|
-
"text": "
|
|
3260
|
+
"text": "Event"
|
|
2632
3261
|
}
|
|
2633
3262
|
}
|
|
2634
|
-
]
|
|
2635
|
-
"description": "Using a fetch that contains our credentials, get a code from EDL that we can use to exchange for an JWT."
|
|
3263
|
+
]
|
|
2636
3264
|
},
|
|
2637
3265
|
{
|
|
2638
3266
|
"kind": "method",
|
|
2639
|
-
"name": "
|
|
2640
|
-
"
|
|
2641
|
-
{
|
|
2642
|
-
"name": "code",
|
|
2643
|
-
"type": {
|
|
2644
|
-
"text": "string"
|
|
2645
|
-
}
|
|
2646
|
-
},
|
|
2647
|
-
{
|
|
2648
|
-
"name": "signal",
|
|
2649
|
-
"type": {
|
|
2650
|
-
"text": "AbortSignal"
|
|
2651
|
-
}
|
|
2652
|
-
}
|
|
2653
|
-
],
|
|
2654
|
-
"description": "Check for a code and attempt to exchange it for a JWT, accessing only the access_token."
|
|
3267
|
+
"name": "_click",
|
|
3268
|
+
"privacy": "private"
|
|
2655
3269
|
},
|
|
2656
3270
|
{
|
|
2657
3271
|
"kind": "method",
|
|
2658
|
-
"name": "
|
|
2659
|
-
"parameters": [
|
|
2660
|
-
{
|
|
2661
|
-
"name": "event",
|
|
2662
|
-
"type": {
|
|
2663
|
-
"text": "SubmitEvent"
|
|
2664
|
-
}
|
|
2665
|
-
}
|
|
2666
|
-
],
|
|
2667
|
-
"description": "If the user submits our form to log in to EDL, use a fetch request to get an authorization code, then exchange it for an access token."
|
|
3272
|
+
"name": "open"
|
|
2668
3273
|
},
|
|
2669
3274
|
{
|
|
2670
3275
|
"kind": "method",
|
|
2671
|
-
"name": "
|
|
3276
|
+
"name": "close"
|
|
3277
|
+
},
|
|
3278
|
+
{
|
|
3279
|
+
"kind": "method",
|
|
3280
|
+
"name": "_handleMapChange",
|
|
3281
|
+
"privacy": "private",
|
|
2672
3282
|
"parameters": [
|
|
2673
3283
|
{
|
|
2674
3284
|
"name": "event",
|
|
2675
3285
|
"type": {
|
|
2676
|
-
"text": "
|
|
3286
|
+
"text": "CustomEvent"
|
|
2677
3287
|
}
|
|
2678
3288
|
}
|
|
2679
3289
|
]
|
|
2680
3290
|
},
|
|
2681
3291
|
{
|
|
2682
3292
|
"kind": "method",
|
|
2683
|
-
"name": "
|
|
2684
|
-
"description": "Clear the given form of all entries."
|
|
2685
|
-
}
|
|
2686
|
-
],
|
|
2687
|
-
"events": [
|
|
2688
|
-
{
|
|
2689
|
-
"description": "Emitted when a bearer token has been received from EDL.",
|
|
2690
|
-
"name": "terra-login",
|
|
2691
|
-
"reactName": "onTerraLogin",
|
|
2692
|
-
"eventName": "TerraLoginEvent"
|
|
2693
|
-
}
|
|
2694
|
-
],
|
|
2695
|
-
"superclass": {
|
|
2696
|
-
"name": "TerraElement",
|
|
2697
|
-
"module": "/src/internal/terra-element.js"
|
|
2698
|
-
},
|
|
2699
|
-
"summary": "A form that logs in to Earthdata Login (EDL) and returns a bearer token.",
|
|
2700
|
-
"tagNameWithoutPrefix": "login",
|
|
2701
|
-
"tagName": "terra-login",
|
|
2702
|
-
"customElement": true,
|
|
2703
|
-
"jsDoc": "/**\n * @summary A form that logs in to Earthdata Login (EDL) and returns a bearer token.\n * @documentation https://disc.gsfc.nasa.gov/components/login\n * @status stable\n * @since 1.0\n *\n * @event terra-login - Emitted when a bearer token has been received from EDL.\n */",
|
|
2704
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/login",
|
|
2705
|
-
"status": "stable",
|
|
2706
|
-
"since": "1.0"
|
|
2707
|
-
}
|
|
2708
|
-
],
|
|
2709
|
-
"exports": [
|
|
2710
|
-
{
|
|
2711
|
-
"kind": "js",
|
|
2712
|
-
"name": "default",
|
|
2713
|
-
"declaration": {
|
|
2714
|
-
"name": "TerraLogin",
|
|
2715
|
-
"module": "components/login/login.js"
|
|
2716
|
-
}
|
|
2717
|
-
}
|
|
2718
|
-
]
|
|
2719
|
-
},
|
|
2720
|
-
{
|
|
2721
|
-
"kind": "javascript-module",
|
|
2722
|
-
"path": "components/plot/plot.js",
|
|
2723
|
-
"declarations": [
|
|
2724
|
-
{
|
|
2725
|
-
"kind": "class",
|
|
2726
|
-
"description": "",
|
|
2727
|
-
"name": "TerraPlot",
|
|
2728
|
-
"cssParts": [
|
|
2729
|
-
{
|
|
2730
|
-
"description": "The component's base wrapper.",
|
|
2731
|
-
"name": "base"
|
|
3293
|
+
"name": "renderMap"
|
|
2732
3294
|
}
|
|
2733
3295
|
],
|
|
2734
|
-
"
|
|
3296
|
+
"attributes": [
|
|
2735
3297
|
{
|
|
2736
|
-
"
|
|
2737
|
-
"name": "#resizeObserver",
|
|
2738
|
-
"privacy": "private",
|
|
3298
|
+
"name": "min-zoom",
|
|
2739
3299
|
"type": {
|
|
2740
|
-
"text": "
|
|
2741
|
-
}
|
|
3300
|
+
"text": "number"
|
|
3301
|
+
},
|
|
3302
|
+
"default": "0",
|
|
3303
|
+
"description": "Minimum zoom level of the map.",
|
|
3304
|
+
"fieldName": "minZoom"
|
|
2742
3305
|
},
|
|
2743
3306
|
{
|
|
2744
|
-
"
|
|
2745
|
-
"name": "base",
|
|
3307
|
+
"name": "max-zoom",
|
|
2746
3308
|
"type": {
|
|
2747
|
-
"text": "
|
|
2748
|
-
}
|
|
3309
|
+
"text": "number"
|
|
3310
|
+
},
|
|
3311
|
+
"default": "23",
|
|
3312
|
+
"description": "Maximum zoom level of the map.",
|
|
3313
|
+
"fieldName": "maxZoom"
|
|
2749
3314
|
},
|
|
2750
3315
|
{
|
|
2751
|
-
"
|
|
2752
|
-
"name": "plotTitle",
|
|
3316
|
+
"name": "zoom",
|
|
2753
3317
|
"type": {
|
|
2754
|
-
"text": "
|
|
3318
|
+
"text": "number"
|
|
2755
3319
|
},
|
|
2756
|
-
"
|
|
3320
|
+
"default": "1",
|
|
3321
|
+
"description": "Initial map zoom level",
|
|
3322
|
+
"fieldName": "zoom"
|
|
2757
3323
|
},
|
|
2758
3324
|
{
|
|
2759
|
-
"
|
|
2760
|
-
"name": "layout",
|
|
3325
|
+
"name": "has-navigation",
|
|
2761
3326
|
"type": {
|
|
2762
|
-
"text": "
|
|
3327
|
+
"text": "boolean"
|
|
2763
3328
|
},
|
|
2764
|
-
"default": "
|
|
2765
|
-
"
|
|
3329
|
+
"default": "true",
|
|
3330
|
+
"description": "has map navigation toolbar",
|
|
3331
|
+
"fieldName": "hasNavigation"
|
|
2766
3332
|
},
|
|
2767
3333
|
{
|
|
2768
|
-
"
|
|
2769
|
-
"name": "config",
|
|
3334
|
+
"name": "has-coord-tracker",
|
|
2770
3335
|
"type": {
|
|
2771
|
-
"text": "
|
|
3336
|
+
"text": "boolean"
|
|
2772
3337
|
},
|
|
2773
|
-
"default": "
|
|
2774
|
-
"
|
|
3338
|
+
"default": "true",
|
|
3339
|
+
"description": "has coordinate tracker",
|
|
3340
|
+
"fieldName": "hasCoordTracker"
|
|
2775
3341
|
},
|
|
2776
3342
|
{
|
|
2777
|
-
"
|
|
2778
|
-
"name": "data",
|
|
3343
|
+
"name": "has-shape-selector",
|
|
2779
3344
|
"type": {
|
|
2780
|
-
"text": "
|
|
3345
|
+
"text": "boolean"
|
|
2781
3346
|
},
|
|
2782
|
-
"default": "
|
|
2783
|
-
"
|
|
3347
|
+
"default": "false",
|
|
3348
|
+
"description": "has shape selector",
|
|
3349
|
+
"fieldName": "hasShapeSelector"
|
|
2784
3350
|
},
|
|
2785
3351
|
{
|
|
2786
|
-
"
|
|
2787
|
-
"
|
|
3352
|
+
"name": "initial-value",
|
|
3353
|
+
"type": {
|
|
3354
|
+
"text": "string"
|
|
3355
|
+
},
|
|
3356
|
+
"default": "''",
|
|
3357
|
+
"description": "initialValue of spatial picker",
|
|
3358
|
+
"fieldName": "initialValue"
|
|
2788
3359
|
},
|
|
2789
3360
|
{
|
|
2790
|
-
"
|
|
2791
|
-
"name": "updatePlotWithData"
|
|
2792
|
-
}
|
|
2793
|
-
],
|
|
2794
|
-
"attributes": [
|
|
2795
|
-
{
|
|
2796
|
-
"name": "plotTitle",
|
|
3361
|
+
"name": "hide-label",
|
|
2797
3362
|
"type": {
|
|
2798
|
-
"text": "
|
|
3363
|
+
"text": "boolean"
|
|
2799
3364
|
},
|
|
2800
|
-
"
|
|
3365
|
+
"default": "false",
|
|
3366
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
3367
|
+
"fieldName": "hideLabel"
|
|
2801
3368
|
},
|
|
2802
3369
|
{
|
|
2803
|
-
"name": "
|
|
3370
|
+
"name": "label",
|
|
2804
3371
|
"type": {
|
|
2805
|
-
"text": "
|
|
3372
|
+
"text": "string"
|
|
2806
3373
|
},
|
|
2807
|
-
"default": "
|
|
2808
|
-
"
|
|
3374
|
+
"default": "'Select Region'",
|
|
3375
|
+
"description": "spatial picker label",
|
|
3376
|
+
"fieldName": "label"
|
|
2809
3377
|
},
|
|
2810
3378
|
{
|
|
2811
|
-
"name": "
|
|
3379
|
+
"name": "is-expanded",
|
|
2812
3380
|
"type": {
|
|
2813
|
-
"text": "
|
|
3381
|
+
"text": "boolean"
|
|
2814
3382
|
},
|
|
2815
|
-
"default": "
|
|
2816
|
-
"fieldName": "
|
|
3383
|
+
"default": "false",
|
|
3384
|
+
"fieldName": "isExpanded"
|
|
2817
3385
|
},
|
|
2818
3386
|
{
|
|
2819
|
-
"name": "
|
|
3387
|
+
"name": "inline",
|
|
2820
3388
|
"type": {
|
|
2821
|
-
"text": "
|
|
3389
|
+
"text": "boolean"
|
|
2822
3390
|
},
|
|
2823
|
-
"default": "
|
|
2824
|
-
"
|
|
3391
|
+
"default": "false",
|
|
3392
|
+
"description": "Whether the map should be shown inline, or as part of the normal content flow\nthe default is false, the map is positioned absolute under the input",
|
|
3393
|
+
"fieldName": "inline"
|
|
2825
3394
|
}
|
|
2826
3395
|
],
|
|
2827
3396
|
"superclass": {
|
|
2828
3397
|
"name": "TerraElement",
|
|
2829
3398
|
"module": "/src/internal/terra-element.js"
|
|
2830
3399
|
},
|
|
2831
|
-
"summary": "A
|
|
2832
|
-
"tagNameWithoutPrefix": "
|
|
2833
|
-
"tagName": "terra-
|
|
3400
|
+
"summary": "A component that allows input of coordinates and rendering of map.",
|
|
3401
|
+
"tagNameWithoutPrefix": "spatial-picker",
|
|
3402
|
+
"tagName": "terra-spatial-picker",
|
|
2834
3403
|
"customElement": true,
|
|
2835
|
-
"jsDoc": "/**\n * @summary A
|
|
2836
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
3404
|
+
"jsDoc": "/**\n * @summary A component that allows input of coordinates and rendering of map.\n * @documentation https://disc.gsfc.nasa.gov/components/spatial-picker\n * @status experimental\n * @since 1.0\n *\n */",
|
|
3405
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/spatial-picker",
|
|
2837
3406
|
"status": "experimental",
|
|
2838
3407
|
"since": "1.0"
|
|
2839
3408
|
}
|
|
@@ -2843,20 +3412,52 @@
|
|
|
2843
3412
|
"kind": "js",
|
|
2844
3413
|
"name": "default",
|
|
2845
3414
|
"declaration": {
|
|
2846
|
-
"name": "
|
|
2847
|
-
"module": "components/
|
|
3415
|
+
"name": "TerraSpatialPicker",
|
|
3416
|
+
"module": "components/spatial-picker/spatial-picker.js"
|
|
2848
3417
|
}
|
|
2849
3418
|
}
|
|
2850
3419
|
]
|
|
2851
3420
|
},
|
|
2852
3421
|
{
|
|
2853
3422
|
"kind": "javascript-module",
|
|
2854
|
-
"path": "components/
|
|
3423
|
+
"path": "components/variable-combobox/variable-combobox.js",
|
|
2855
3424
|
"declarations": [
|
|
2856
3425
|
{
|
|
2857
3426
|
"kind": "class",
|
|
2858
3427
|
"description": "",
|
|
2859
|
-
"name": "
|
|
3428
|
+
"name": "TerraVariableCombobox",
|
|
3429
|
+
"cssProperties": [
|
|
3430
|
+
{
|
|
3431
|
+
"description": "The height of the host element.",
|
|
3432
|
+
"name": "--host-height"
|
|
3433
|
+
},
|
|
3434
|
+
{
|
|
3435
|
+
"description": "The height of the search help element.",
|
|
3436
|
+
"name": "--help-height"
|
|
3437
|
+
},
|
|
3438
|
+
{
|
|
3439
|
+
"description": "The height of the input's label element.",
|
|
3440
|
+
"name": "--label-height"
|
|
3441
|
+
}
|
|
3442
|
+
],
|
|
3443
|
+
"cssParts": [
|
|
3444
|
+
{
|
|
3445
|
+
"description": "A `search` element, the component's base.",
|
|
3446
|
+
"name": "base"
|
|
3447
|
+
},
|
|
3448
|
+
{
|
|
3449
|
+
"description": "An `input` element used for searching.",
|
|
3450
|
+
"name": "combobox"
|
|
3451
|
+
},
|
|
3452
|
+
{
|
|
3453
|
+
"description": "A `button` used for toggling the listbox's visibility.",
|
|
3454
|
+
"name": "button"
|
|
3455
|
+
},
|
|
3456
|
+
{
|
|
3457
|
+
"description": "A `ul` that holds the clickable options.",
|
|
3458
|
+
"name": "listbox"
|
|
3459
|
+
}
|
|
3460
|
+
],
|
|
2860
3461
|
"members": [
|
|
2861
3462
|
{
|
|
2862
3463
|
"kind": "field",
|
|
@@ -2865,198 +3466,166 @@
|
|
|
2865
3466
|
"text": "object"
|
|
2866
3467
|
},
|
|
2867
3468
|
"static": true,
|
|
2868
|
-
"default": "{\n '
|
|
3469
|
+
"default": "{\n 'terra-button': TerraButton,\n 'terra-icon': TerraIcon,\n }"
|
|
2869
3470
|
},
|
|
2870
3471
|
{
|
|
2871
3472
|
"kind": "field",
|
|
2872
|
-
"name": "
|
|
3473
|
+
"name": "shadowRootOptions",
|
|
2873
3474
|
"type": {
|
|
2874
|
-
"text": "
|
|
3475
|
+
"text": "object"
|
|
2875
3476
|
},
|
|
2876
|
-
"
|
|
2877
|
-
"
|
|
3477
|
+
"static": true,
|
|
3478
|
+
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
|
|
2878
3479
|
},
|
|
2879
3480
|
{
|
|
2880
3481
|
"kind": "field",
|
|
2881
|
-
"name": "
|
|
3482
|
+
"name": "tagName",
|
|
2882
3483
|
"type": {
|
|
2883
|
-
"text": "
|
|
3484
|
+
"text": "string"
|
|
2884
3485
|
},
|
|
2885
|
-
"
|
|
2886
|
-
"
|
|
3486
|
+
"static": true,
|
|
3487
|
+
"default": "'terra-variable-combobox'"
|
|
2887
3488
|
},
|
|
2888
3489
|
{
|
|
2889
3490
|
"kind": "field",
|
|
2890
|
-
"name": "
|
|
3491
|
+
"name": "initialQuery",
|
|
2891
3492
|
"type": {
|
|
2892
|
-
"text": "
|
|
3493
|
+
"text": "string"
|
|
2893
3494
|
},
|
|
2894
|
-
"
|
|
2895
|
-
"
|
|
2896
|
-
|
|
2897
|
-
}
|
|
2898
|
-
],
|
|
2899
|
-
"attributes": [
|
|
3495
|
+
"static": true,
|
|
3496
|
+
"default": "''"
|
|
3497
|
+
},
|
|
2900
3498
|
{
|
|
2901
|
-
"
|
|
3499
|
+
"kind": "field",
|
|
3500
|
+
"name": "#combobox",
|
|
3501
|
+
"privacy": "private",
|
|
2902
3502
|
"type": {
|
|
2903
|
-
"text": "
|
|
3503
|
+
"text": "HTMLInputElement | null"
|
|
2904
3504
|
},
|
|
2905
|
-
"default": "
|
|
2906
|
-
"fieldName": "rows"
|
|
3505
|
+
"default": "null"
|
|
2907
3506
|
},
|
|
2908
3507
|
{
|
|
2909
|
-
"
|
|
3508
|
+
"kind": "field",
|
|
3509
|
+
"name": "#fetchController",
|
|
3510
|
+
"privacy": "private",
|
|
2910
3511
|
"type": {
|
|
2911
|
-
"text": "
|
|
3512
|
+
"text": "FetchController"
|
|
3513
|
+
}
|
|
3514
|
+
},
|
|
3515
|
+
{
|
|
3516
|
+
"kind": "field",
|
|
3517
|
+
"name": "#searchableList",
|
|
3518
|
+
"privacy": "private",
|
|
3519
|
+
"type": {
|
|
3520
|
+
"text": "ListItem[]"
|
|
2912
3521
|
},
|
|
2913
|
-
"default": "
|
|
2914
|
-
"fieldName": "effect"
|
|
3522
|
+
"default": "[]"
|
|
2915
3523
|
},
|
|
2916
3524
|
{
|
|
2917
|
-
"
|
|
3525
|
+
"kind": "field",
|
|
3526
|
+
"name": "#listbox",
|
|
3527
|
+
"privacy": "private",
|
|
2918
3528
|
"type": {
|
|
2919
|
-
"text": "
|
|
3529
|
+
"text": "HTMLUListElement | null"
|
|
2920
3530
|
},
|
|
2921
|
-
"default": "
|
|
2922
|
-
|
|
2923
|
-
}
|
|
2924
|
-
],
|
|
2925
|
-
"superclass": {
|
|
2926
|
-
"name": "TerraElement",
|
|
2927
|
-
"module": "/src/internal/terra-element.js"
|
|
2928
|
-
},
|
|
2929
|
-
"summary": "Skeletons are loading indicators to represent where content will eventually be drawn.",
|
|
2930
|
-
"tagNameWithoutPrefix": "skeleton",
|
|
2931
|
-
"tagName": "terra-skeleton",
|
|
2932
|
-
"customElement": true,
|
|
2933
|
-
"jsDoc": "/**\n * @summary Skeletons are loading indicators to represent where content will eventually be drawn.\n * @documentation https://disc.gsfc.nasa.gov/components/skeleton\n * @status experimental\n * @since 1.0\n *\n * @dependency sl-skeleton\n */",
|
|
2934
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/skeleton",
|
|
2935
|
-
"status": "experimental",
|
|
2936
|
-
"since": "1.0",
|
|
2937
|
-
"dependencies": [
|
|
2938
|
-
"sl-skeleton"
|
|
2939
|
-
]
|
|
2940
|
-
}
|
|
2941
|
-
],
|
|
2942
|
-
"exports": [
|
|
2943
|
-
{
|
|
2944
|
-
"kind": "js",
|
|
2945
|
-
"name": "default",
|
|
2946
|
-
"declaration": {
|
|
2947
|
-
"name": "TerraSkeleton",
|
|
2948
|
-
"module": "components/skeleton/skeleton.js"
|
|
2949
|
-
}
|
|
2950
|
-
}
|
|
2951
|
-
]
|
|
2952
|
-
},
|
|
2953
|
-
{
|
|
2954
|
-
"kind": "javascript-module",
|
|
2955
|
-
"path": "components/spatial-picker/spatial-picker.js",
|
|
2956
|
-
"declarations": [
|
|
2957
|
-
{
|
|
2958
|
-
"kind": "class",
|
|
2959
|
-
"description": "",
|
|
2960
|
-
"name": "TerraSpatialPicker",
|
|
2961
|
-
"members": [
|
|
3531
|
+
"default": "null"
|
|
3532
|
+
},
|
|
2962
3533
|
{
|
|
2963
3534
|
"kind": "field",
|
|
2964
|
-
"name": "
|
|
3535
|
+
"name": "#searchEngine",
|
|
3536
|
+
"privacy": "private",
|
|
2965
3537
|
"type": {
|
|
2966
|
-
"text": "
|
|
3538
|
+
"text": "Fuse<ListItem> | null"
|
|
2967
3539
|
},
|
|
2968
|
-
"
|
|
2969
|
-
"default": "{\n 'terra-map': TerraMap,\n }"
|
|
3540
|
+
"default": "null"
|
|
2970
3541
|
},
|
|
2971
3542
|
{
|
|
2972
3543
|
"kind": "field",
|
|
2973
|
-
"name": "
|
|
3544
|
+
"name": "#walker",
|
|
3545
|
+
"privacy": "private",
|
|
2974
3546
|
"type": {
|
|
2975
|
-
"text": "
|
|
3547
|
+
"text": "TreeWalker | null"
|
|
2976
3548
|
},
|
|
2977
|
-
"default": "
|
|
2978
|
-
"description": "Minimum zoom level of the map.",
|
|
2979
|
-
"attribute": "min-zoom"
|
|
3549
|
+
"default": "null"
|
|
2980
3550
|
},
|
|
2981
3551
|
{
|
|
2982
3552
|
"kind": "field",
|
|
2983
|
-
"name": "
|
|
3553
|
+
"name": "#tagContainer",
|
|
3554
|
+
"privacy": "private",
|
|
2984
3555
|
"type": {
|
|
2985
|
-
"text": "
|
|
3556
|
+
"text": "HTMLDivElement | null"
|
|
2986
3557
|
},
|
|
2987
|
-
"default": "
|
|
2988
|
-
"description": "Maximum zoom level of the map.",
|
|
2989
|
-
"attribute": "max-zoom"
|
|
3558
|
+
"default": "null"
|
|
2990
3559
|
},
|
|
2991
3560
|
{
|
|
2992
3561
|
"kind": "field",
|
|
2993
|
-
"name": "
|
|
3562
|
+
"name": "label",
|
|
2994
3563
|
"type": {
|
|
2995
|
-
"text": "
|
|
3564
|
+
"text": "string"
|
|
2996
3565
|
},
|
|
2997
|
-
"default": "
|
|
2998
|
-
"description": "
|
|
2999
|
-
"attribute": "
|
|
3566
|
+
"default": "'Search for Variables'",
|
|
3567
|
+
"description": "Label the combobox with this.",
|
|
3568
|
+
"attribute": "label"
|
|
3000
3569
|
},
|
|
3001
3570
|
{
|
|
3002
3571
|
"kind": "field",
|
|
3003
|
-
"name": "
|
|
3572
|
+
"name": "placeholder",
|
|
3004
3573
|
"type": {
|
|
3005
|
-
"text": "
|
|
3574
|
+
"text": "string"
|
|
3006
3575
|
},
|
|
3007
|
-
"
|
|
3008
|
-
"
|
|
3009
|
-
"attribute": "has-navigation"
|
|
3576
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
3577
|
+
"attribute": "placeholder"
|
|
3010
3578
|
},
|
|
3011
3579
|
{
|
|
3012
3580
|
"kind": "field",
|
|
3013
|
-
"name": "
|
|
3581
|
+
"name": "hideHelp",
|
|
3014
3582
|
"type": {
|
|
3015
3583
|
"text": "boolean"
|
|
3016
3584
|
},
|
|
3017
|
-
"default": "
|
|
3018
|
-
"description": "
|
|
3019
|
-
"attribute": "
|
|
3585
|
+
"default": "false",
|
|
3586
|
+
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
3587
|
+
"attribute": "hide-help",
|
|
3588
|
+
"reflects": true
|
|
3020
3589
|
},
|
|
3021
3590
|
{
|
|
3022
3591
|
"kind": "field",
|
|
3023
|
-
"name": "
|
|
3592
|
+
"name": "hideLabel",
|
|
3024
3593
|
"type": {
|
|
3025
3594
|
"text": "boolean"
|
|
3026
3595
|
},
|
|
3027
3596
|
"default": "false",
|
|
3028
|
-
"description": "
|
|
3029
|
-
"attribute": "
|
|
3597
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
3598
|
+
"attribute": "hide-label",
|
|
3599
|
+
"reflects": true
|
|
3030
3600
|
},
|
|
3031
3601
|
{
|
|
3032
3602
|
"kind": "field",
|
|
3033
|
-
"name": "
|
|
3603
|
+
"name": "useTags",
|
|
3034
3604
|
"type": {
|
|
3035
|
-
"text": "
|
|
3605
|
+
"text": "boolean"
|
|
3036
3606
|
},
|
|
3037
|
-
"default": "
|
|
3038
|
-
"description": "
|
|
3039
|
-
"attribute": "
|
|
3607
|
+
"default": "false",
|
|
3608
|
+
"description": "Determines if the variable combobox uses tags or plain text to display the query.",
|
|
3609
|
+
"attribute": "use-tags",
|
|
3610
|
+
"reflects": true
|
|
3040
3611
|
},
|
|
3041
3612
|
{
|
|
3042
3613
|
"kind": "field",
|
|
3043
|
-
"name": "
|
|
3614
|
+
"name": "value",
|
|
3044
3615
|
"type": {
|
|
3045
|
-
"text": "
|
|
3616
|
+
"text": "string"
|
|
3046
3617
|
},
|
|
3047
|
-
"
|
|
3048
|
-
"
|
|
3049
|
-
"attribute": "hide-label"
|
|
3618
|
+
"description": "Represents the EntryID (<collection-name>_<variable-name>) of the selected variable.\nOther components (like the time-series graphing component) will use this.",
|
|
3619
|
+
"attribute": "value"
|
|
3050
3620
|
},
|
|
3051
3621
|
{
|
|
3052
3622
|
"kind": "field",
|
|
3053
|
-
"name": "
|
|
3623
|
+
"name": "bearerToken",
|
|
3054
3624
|
"type": {
|
|
3055
3625
|
"text": "string"
|
|
3056
3626
|
},
|
|
3057
|
-
"
|
|
3058
|
-
"
|
|
3059
|
-
"attribute": "label"
|
|
3627
|
+
"description": "The token to be used for authentication with remote servers.\nThe component provides the header \"Authorization: Bearer\" (the request header and authentication scheme).\nThe property's value will be inserted after \"Bearer\" (the authentication scheme).",
|
|
3628
|
+
"attribute": "bearer-token"
|
|
3060
3629
|
},
|
|
3061
3630
|
{
|
|
3062
3631
|
"kind": "field",
|
|
@@ -3064,316 +3633,202 @@
|
|
|
3064
3633
|
"type": {
|
|
3065
3634
|
"text": "boolean"
|
|
3066
3635
|
},
|
|
3067
|
-
"default": "false"
|
|
3068
|
-
"attribute": "is-expanded",
|
|
3069
|
-
"reflects": true
|
|
3636
|
+
"default": "false"
|
|
3070
3637
|
},
|
|
3071
3638
|
{
|
|
3072
3639
|
"kind": "field",
|
|
3073
|
-
"name": "
|
|
3640
|
+
"name": "query"
|
|
3641
|
+
},
|
|
3642
|
+
{
|
|
3643
|
+
"kind": "field",
|
|
3644
|
+
"name": "searchResults",
|
|
3074
3645
|
"type": {
|
|
3075
|
-
"text": "
|
|
3646
|
+
"text": "ListItem[]"
|
|
3076
3647
|
},
|
|
3077
|
-
"default": "
|
|
3078
|
-
"description": "Whether the map should be shown inline, or as part of the normal content flow\nthe default is false, the map is positioned absolute under the input",
|
|
3079
|
-
"attribute": "inline"
|
|
3648
|
+
"default": "[]"
|
|
3080
3649
|
},
|
|
3081
3650
|
{
|
|
3082
3651
|
"kind": "field",
|
|
3083
|
-
"name": "
|
|
3652
|
+
"name": "tags",
|
|
3084
3653
|
"type": {
|
|
3085
|
-
"text": "
|
|
3086
|
-
}
|
|
3654
|
+
"text": "string[]"
|
|
3655
|
+
},
|
|
3656
|
+
"default": "[]"
|
|
3087
3657
|
},
|
|
3088
3658
|
{
|
|
3089
3659
|
"kind": "field",
|
|
3090
|
-
"name": "
|
|
3660
|
+
"name": "tagContainerWidth",
|
|
3091
3661
|
"type": {
|
|
3092
|
-
"text": "
|
|
3093
|
-
}
|
|
3662
|
+
"text": "number"
|
|
3663
|
+
},
|
|
3664
|
+
"default": "0"
|
|
3094
3665
|
},
|
|
3095
3666
|
{
|
|
3096
3667
|
"kind": "method",
|
|
3097
|
-
"name": "
|
|
3098
|
-
"privacy": "private",
|
|
3668
|
+
"name": "valueChanged",
|
|
3099
3669
|
"parameters": [
|
|
3100
3670
|
{
|
|
3101
|
-
"name": "
|
|
3671
|
+
"name": "oldValue",
|
|
3102
3672
|
"type": {
|
|
3103
|
-
"text": "
|
|
3673
|
+
"text": "string"
|
|
3104
3674
|
}
|
|
3105
|
-
}
|
|
3106
|
-
]
|
|
3107
|
-
},
|
|
3108
|
-
{
|
|
3109
|
-
"kind": "method",
|
|
3110
|
-
"name": "_click",
|
|
3111
|
-
"privacy": "private"
|
|
3112
|
-
},
|
|
3113
|
-
{
|
|
3114
|
-
"kind": "method",
|
|
3115
|
-
"name": "open"
|
|
3116
|
-
},
|
|
3117
|
-
{
|
|
3118
|
-
"kind": "method",
|
|
3119
|
-
"name": "close"
|
|
3120
|
-
},
|
|
3121
|
-
{
|
|
3122
|
-
"kind": "method",
|
|
3123
|
-
"name": "_handleMapChange",
|
|
3124
|
-
"privacy": "private",
|
|
3125
|
-
"parameters": [
|
|
3675
|
+
},
|
|
3126
3676
|
{
|
|
3127
|
-
"name": "
|
|
3677
|
+
"name": "newValue",
|
|
3128
3678
|
"type": {
|
|
3129
|
-
"text": "
|
|
3679
|
+
"text": "string"
|
|
3130
3680
|
}
|
|
3131
3681
|
}
|
|
3132
|
-
]
|
|
3682
|
+
],
|
|
3683
|
+
"description": "This component's value is read by other components.\nInternally, the variable metdata has slight differences that require adapting."
|
|
3133
3684
|
},
|
|
3134
3685
|
{
|
|
3135
3686
|
"kind": "method",
|
|
3136
|
-
"name": "
|
|
3137
|
-
}
|
|
3138
|
-
],
|
|
3139
|
-
"attributes": [
|
|
3140
|
-
{
|
|
3141
|
-
"name": "min-zoom",
|
|
3142
|
-
"type": {
|
|
3143
|
-
"text": "number"
|
|
3144
|
-
},
|
|
3145
|
-
"default": "0",
|
|
3146
|
-
"description": "Minimum zoom level of the map.",
|
|
3147
|
-
"fieldName": "minZoom"
|
|
3687
|
+
"name": "clear"
|
|
3148
3688
|
},
|
|
3149
3689
|
{
|
|
3150
|
-
"
|
|
3151
|
-
"
|
|
3152
|
-
"text": "number"
|
|
3153
|
-
},
|
|
3154
|
-
"default": "23",
|
|
3155
|
-
"description": "Maximum zoom level of the map.",
|
|
3156
|
-
"fieldName": "maxZoom"
|
|
3690
|
+
"kind": "method",
|
|
3691
|
+
"name": "close"
|
|
3157
3692
|
},
|
|
3158
3693
|
{
|
|
3159
|
-
"
|
|
3160
|
-
"
|
|
3161
|
-
"text": "number"
|
|
3162
|
-
},
|
|
3163
|
-
"default": "1",
|
|
3164
|
-
"description": "Initial map zoom level",
|
|
3165
|
-
"fieldName": "zoom"
|
|
3694
|
+
"kind": "method",
|
|
3695
|
+
"name": "toggle"
|
|
3166
3696
|
},
|
|
3167
3697
|
{
|
|
3168
|
-
"
|
|
3169
|
-
"
|
|
3170
|
-
|
|
3171
|
-
},
|
|
3172
|
-
"default": "true",
|
|
3173
|
-
"description": "has map navigation toolbar",
|
|
3174
|
-
"fieldName": "hasNavigation"
|
|
3698
|
+
"kind": "field",
|
|
3699
|
+
"name": "#dispatchChange",
|
|
3700
|
+
"privacy": "private"
|
|
3175
3701
|
},
|
|
3176
3702
|
{
|
|
3177
|
-
"
|
|
3178
|
-
"
|
|
3179
|
-
|
|
3180
|
-
},
|
|
3181
|
-
"default": "true",
|
|
3182
|
-
"description": "has coordinate tracker",
|
|
3183
|
-
"fieldName": "hasCoordTracker"
|
|
3703
|
+
"kind": "field",
|
|
3704
|
+
"name": "#handleButtonClick",
|
|
3705
|
+
"privacy": "private"
|
|
3184
3706
|
},
|
|
3185
3707
|
{
|
|
3186
|
-
"
|
|
3187
|
-
"
|
|
3188
|
-
|
|
3189
|
-
},
|
|
3190
|
-
"default": "false",
|
|
3191
|
-
"description": "has shape selector",
|
|
3192
|
-
"fieldName": "hasShapeSelector"
|
|
3708
|
+
"kind": "field",
|
|
3709
|
+
"name": "#handleComboboxChange",
|
|
3710
|
+
"privacy": "private"
|
|
3193
3711
|
},
|
|
3194
3712
|
{
|
|
3195
|
-
"
|
|
3196
|
-
"
|
|
3197
|
-
|
|
3198
|
-
},
|
|
3199
|
-
"default": "''",
|
|
3200
|
-
"description": "initialValue of spatial picker",
|
|
3201
|
-
"fieldName": "initialValue"
|
|
3713
|
+
"kind": "field",
|
|
3714
|
+
"name": "#handleOptionClick",
|
|
3715
|
+
"privacy": "private"
|
|
3202
3716
|
},
|
|
3203
3717
|
{
|
|
3204
|
-
"
|
|
3205
|
-
"
|
|
3206
|
-
|
|
3207
|
-
},
|
|
3208
|
-
"default": "false",
|
|
3209
|
-
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
3210
|
-
"fieldName": "hideLabel"
|
|
3718
|
+
"kind": "field",
|
|
3719
|
+
"name": "#handleKeydown",
|
|
3720
|
+
"privacy": "private"
|
|
3211
3721
|
},
|
|
3212
3722
|
{
|
|
3213
|
-
"
|
|
3214
|
-
"
|
|
3215
|
-
|
|
3216
|
-
},
|
|
3217
|
-
"default": "'Select Region'",
|
|
3218
|
-
"description": "spatial picker label",
|
|
3219
|
-
"fieldName": "label"
|
|
3723
|
+
"kind": "field",
|
|
3724
|
+
"name": "#manageListboxVisibility",
|
|
3725
|
+
"privacy": "private"
|
|
3220
3726
|
},
|
|
3221
3727
|
{
|
|
3222
|
-
"
|
|
3223
|
-
"
|
|
3224
|
-
|
|
3225
|
-
},
|
|
3226
|
-
"default": "false",
|
|
3227
|
-
"fieldName": "isExpanded"
|
|
3728
|
+
"kind": "field",
|
|
3729
|
+
"name": "#selectOption",
|
|
3730
|
+
"privacy": "private"
|
|
3228
3731
|
},
|
|
3229
3732
|
{
|
|
3230
|
-
"
|
|
3231
|
-
"
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
"customElement": true,
|
|
3247
|
-
"jsDoc": "/**\n * @summary A component that allows input of coordinates and rendering of map.\n * @documentation https://disc.gsfc.nasa.gov/components/spatial-picker\n * @status experimental\n * @since 1.0\n *\n */",
|
|
3248
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/spatial-picker",
|
|
3249
|
-
"status": "experimental",
|
|
3250
|
-
"since": "1.0"
|
|
3251
|
-
}
|
|
3252
|
-
],
|
|
3253
|
-
"exports": [
|
|
3254
|
-
{
|
|
3255
|
-
"kind": "js",
|
|
3256
|
-
"name": "default",
|
|
3257
|
-
"declaration": {
|
|
3258
|
-
"name": "TerraSpatialPicker",
|
|
3259
|
-
"module": "components/spatial-picker/spatial-picker.js"
|
|
3260
|
-
}
|
|
3261
|
-
}
|
|
3262
|
-
]
|
|
3263
|
-
},
|
|
3264
|
-
{
|
|
3265
|
-
"kind": "javascript-module",
|
|
3266
|
-
"path": "components/loader/loader.js",
|
|
3267
|
-
"declarations": [
|
|
3268
|
-
{
|
|
3269
|
-
"kind": "class",
|
|
3270
|
-
"description": "",
|
|
3271
|
-
"name": "TerraLoader",
|
|
3272
|
-
"cssProperties": [
|
|
3273
|
-
{
|
|
3274
|
-
"description": "An example CSS custom property.",
|
|
3275
|
-
"name": "--example"
|
|
3733
|
+
"kind": "method",
|
|
3734
|
+
"name": "#renderTags",
|
|
3735
|
+
"parameters": [
|
|
3736
|
+
{
|
|
3737
|
+
"name": "tag",
|
|
3738
|
+
"type": {
|
|
3739
|
+
"text": "string"
|
|
3740
|
+
}
|
|
3741
|
+
},
|
|
3742
|
+
{
|
|
3743
|
+
"name": "_index",
|
|
3744
|
+
"type": {
|
|
3745
|
+
"text": "number"
|
|
3746
|
+
}
|
|
3747
|
+
}
|
|
3748
|
+
]
|
|
3276
3749
|
}
|
|
3277
3750
|
],
|
|
3278
|
-
"
|
|
3751
|
+
"events": [
|
|
3279
3752
|
{
|
|
3280
|
-
"description": "
|
|
3281
|
-
"name": "
|
|
3753
|
+
"description": "Emitted when an option is selected.",
|
|
3754
|
+
"name": "terra-combobox-change",
|
|
3755
|
+
"reactName": "onTerraComboboxChange",
|
|
3756
|
+
"eventName": "TerraComboboxChangeEvent"
|
|
3282
3757
|
}
|
|
3283
3758
|
],
|
|
3284
|
-
"
|
|
3759
|
+
"attributes": [
|
|
3285
3760
|
{
|
|
3286
|
-
"
|
|
3287
|
-
"name": "variant",
|
|
3761
|
+
"name": "label",
|
|
3288
3762
|
"type": {
|
|
3289
|
-
"text": "
|
|
3763
|
+
"text": "string"
|
|
3290
3764
|
},
|
|
3291
|
-
"default": "'
|
|
3292
|
-
"description": "
|
|
3293
|
-
"
|
|
3294
|
-
"reflects": true
|
|
3765
|
+
"default": "'Search for Variables'",
|
|
3766
|
+
"description": "Label the combobox with this.",
|
|
3767
|
+
"fieldName": "label"
|
|
3295
3768
|
},
|
|
3296
3769
|
{
|
|
3297
|
-
"
|
|
3298
|
-
"name": "percent",
|
|
3770
|
+
"name": "placeholder",
|
|
3299
3771
|
"type": {
|
|
3300
3772
|
"text": "string"
|
|
3301
3773
|
},
|
|
3302
|
-
"
|
|
3303
|
-
"
|
|
3304
|
-
"attribute": "percent"
|
|
3774
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
3775
|
+
"fieldName": "placeholder"
|
|
3305
3776
|
},
|
|
3306
3777
|
{
|
|
3307
|
-
"
|
|
3308
|
-
"name": "indeterminate",
|
|
3778
|
+
"name": "hide-help",
|
|
3309
3779
|
"type": {
|
|
3310
3780
|
"text": "boolean"
|
|
3311
3781
|
},
|
|
3312
3782
|
"default": "false",
|
|
3313
|
-
"description": "
|
|
3314
|
-
"
|
|
3783
|
+
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
3784
|
+
"fieldName": "hideHelp"
|
|
3315
3785
|
},
|
|
3316
3786
|
{
|
|
3317
|
-
"
|
|
3318
|
-
"name": "_currentPercent",
|
|
3787
|
+
"name": "hide-label",
|
|
3319
3788
|
"type": {
|
|
3320
|
-
"text": "
|
|
3789
|
+
"text": "boolean"
|
|
3321
3790
|
},
|
|
3322
|
-
"default": "
|
|
3791
|
+
"default": "false",
|
|
3792
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
3793
|
+
"fieldName": "hideLabel"
|
|
3323
3794
|
},
|
|
3324
3795
|
{
|
|
3325
|
-
"
|
|
3326
|
-
"name": "formatPercent",
|
|
3327
|
-
"parameters": [
|
|
3328
|
-
{
|
|
3329
|
-
"name": "percent",
|
|
3330
|
-
"type": {
|
|
3331
|
-
"text": "string"
|
|
3332
|
-
}
|
|
3333
|
-
}
|
|
3334
|
-
]
|
|
3335
|
-
}
|
|
3336
|
-
],
|
|
3337
|
-
"attributes": [
|
|
3338
|
-
{
|
|
3339
|
-
"name": "variant",
|
|
3796
|
+
"name": "use-tags",
|
|
3340
3797
|
"type": {
|
|
3341
|
-
"text": "
|
|
3798
|
+
"text": "boolean"
|
|
3342
3799
|
},
|
|
3343
|
-
"default": "
|
|
3344
|
-
"description": "
|
|
3345
|
-
"fieldName": "
|
|
3800
|
+
"default": "false",
|
|
3801
|
+
"description": "Determines if the variable combobox uses tags or plain text to display the query.",
|
|
3802
|
+
"fieldName": "useTags"
|
|
3346
3803
|
},
|
|
3347
3804
|
{
|
|
3348
|
-
"name": "
|
|
3805
|
+
"name": "value",
|
|
3349
3806
|
"type": {
|
|
3350
3807
|
"text": "string"
|
|
3351
3808
|
},
|
|
3352
|
-
"
|
|
3353
|
-
"
|
|
3354
|
-
"fieldName": "percent"
|
|
3809
|
+
"description": "Represents the EntryID (<collection-name>_<variable-name>) of the selected variable.\nOther components (like the time-series graphing component) will use this.",
|
|
3810
|
+
"fieldName": "value"
|
|
3355
3811
|
},
|
|
3356
3812
|
{
|
|
3357
|
-
"name": "
|
|
3813
|
+
"name": "bearer-token",
|
|
3358
3814
|
"type": {
|
|
3359
|
-
"text": "
|
|
3815
|
+
"text": "string"
|
|
3360
3816
|
},
|
|
3361
|
-
"
|
|
3362
|
-
"
|
|
3363
|
-
"fieldName": "indeterminate"
|
|
3817
|
+
"description": "The token to be used for authentication with remote servers.\nThe component provides the header \"Authorization: Bearer\" (the request header and authentication scheme).\nThe property's value will be inserted after \"Bearer\" (the authentication scheme).",
|
|
3818
|
+
"fieldName": "bearerToken"
|
|
3364
3819
|
}
|
|
3365
3820
|
],
|
|
3366
3821
|
"superclass": {
|
|
3367
3822
|
"name": "TerraElement",
|
|
3368
3823
|
"module": "/src/internal/terra-element.js"
|
|
3369
3824
|
},
|
|
3370
|
-
"summary": "
|
|
3371
|
-
"tagNameWithoutPrefix": "
|
|
3372
|
-
"tagName": "terra-
|
|
3825
|
+
"summary": "Fuzzy-search for dataset variables in combobox with list autocomplete.",
|
|
3826
|
+
"tagNameWithoutPrefix": "variable-combobox",
|
|
3827
|
+
"tagName": "terra-variable-combobox",
|
|
3373
3828
|
"customElement": true,
|
|
3374
|
-
"jsDoc": "/**\n * @summary
|
|
3375
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
3376
|
-
"status": "
|
|
3829
|
+
"jsDoc": "/**\n * @summary Fuzzy-search for dataset variables in combobox with list autocomplete.\n * @documentation https://disc.gsfc.nasa.gov/components/variable-combobox\n * @see https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-list/\n * @status MVP\n * @since 1.0\n *\n * @csspart base - A `search` element, the component's base.\n * @csspart combobox - An `input` element used for searching.\n * @csspart button - A `button` used for toggling the listbox's visibility.\n * @csspart listbox - A `ul` that holds the clickable options.\n *\n * @cssproperty --host-height - The height of the host element.\n * @cssproperty --help-height - The height of the search help element.\n * @cssproperty --label-height - The height of the input's label element.\n *\n * @event terra-combobox-change - Emitted when an option is selected.\n */",
|
|
3830
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/variable-combobox",
|
|
3831
|
+
"status": "MVP",
|
|
3377
3832
|
"since": "1.0"
|
|
3378
3833
|
}
|
|
3379
3834
|
],
|
|
@@ -3382,8 +3837,8 @@
|
|
|
3382
3837
|
"kind": "js",
|
|
3383
3838
|
"name": "default",
|
|
3384
3839
|
"declaration": {
|
|
3385
|
-
"name": "
|
|
3386
|
-
"module": "components/
|
|
3840
|
+
"name": "TerraVariableCombobox",
|
|
3841
|
+
"module": "components/variable-combobox/variable-combobox.js"
|
|
3387
3842
|
}
|
|
3388
3843
|
}
|
|
3389
3844
|
]
|
|
@@ -3424,6 +3879,16 @@
|
|
|
3424
3879
|
"attribute": "collection",
|
|
3425
3880
|
"reflects": true
|
|
3426
3881
|
},
|
|
3882
|
+
{
|
|
3883
|
+
"kind": "field",
|
|
3884
|
+
"name": "collectionLongName",
|
|
3885
|
+
"type": {
|
|
3886
|
+
"text": "string | undefined"
|
|
3887
|
+
},
|
|
3888
|
+
"description": "a collection long name (ex: \"NLDAS Primary Forcing Data L4 Hourly 0.125 x 0.125 degree V2.0 (NLDAS_FORA0125_H) at GES DISC\")",
|
|
3889
|
+
"attribute": "collectionLongName",
|
|
3890
|
+
"reflects": true
|
|
3891
|
+
},
|
|
3427
3892
|
{
|
|
3428
3893
|
"kind": "field",
|
|
3429
3894
|
"name": "datasetLandingPage",
|
|
@@ -3564,6 +4029,32 @@
|
|
|
3564
4029
|
},
|
|
3565
4030
|
"description": "holds the end date for the latest available data for the collection"
|
|
3566
4031
|
},
|
|
4032
|
+
{
|
|
4033
|
+
"kind": "field",
|
|
4034
|
+
"name": "timeInterval",
|
|
4035
|
+
"type": {
|
|
4036
|
+
"text": "TimeInterval | undefined"
|
|
4037
|
+
},
|
|
4038
|
+
"description": "holds the time interval for the collection"
|
|
4039
|
+
},
|
|
4040
|
+
{
|
|
4041
|
+
"kind": "field",
|
|
4042
|
+
"name": "showDataPointWarning",
|
|
4043
|
+
"type": {
|
|
4044
|
+
"text": "boolean"
|
|
4045
|
+
},
|
|
4046
|
+
"default": "false",
|
|
4047
|
+
"description": "if true, we'll show a warning to the user about them requesting a large number of data points"
|
|
4048
|
+
},
|
|
4049
|
+
{
|
|
4050
|
+
"kind": "field",
|
|
4051
|
+
"name": "estimatedDataPoints",
|
|
4052
|
+
"type": {
|
|
4053
|
+
"text": "number"
|
|
4054
|
+
},
|
|
4055
|
+
"default": "0",
|
|
4056
|
+
"description": "stores the estimated"
|
|
4057
|
+
},
|
|
3567
4058
|
{
|
|
3568
4059
|
"kind": "field",
|
|
3569
4060
|
"name": "activeMenuItem",
|
|
@@ -3680,6 +4171,19 @@
|
|
|
3680
4171
|
}
|
|
3681
4172
|
]
|
|
3682
4173
|
},
|
|
4174
|
+
{
|
|
4175
|
+
"kind": "method",
|
|
4176
|
+
"name": "#checkDataPointLimits",
|
|
4177
|
+
"description": "Checks if the current date range will exceed data point limits\neturns true if it's safe to proceed, false if confirmation is needed"
|
|
4178
|
+
},
|
|
4179
|
+
{
|
|
4180
|
+
"kind": "method",
|
|
4181
|
+
"name": "#confirmDataPointWarning"
|
|
4182
|
+
},
|
|
4183
|
+
{
|
|
4184
|
+
"kind": "method",
|
|
4185
|
+
"name": "#cancelDataPointWarning"
|
|
4186
|
+
},
|
|
3683
4187
|
{
|
|
3684
4188
|
"kind": "method",
|
|
3685
4189
|
"name": "#adaptPropertyToController",
|
|
@@ -3817,6 +4321,14 @@
|
|
|
3817
4321
|
"description": "a collection entry id (ex: GPM_3IMERGHH_06)",
|
|
3818
4322
|
"fieldName": "collection"
|
|
3819
4323
|
},
|
|
4324
|
+
{
|
|
4325
|
+
"name": "collectionLongName",
|
|
4326
|
+
"type": {
|
|
4327
|
+
"text": "string | undefined"
|
|
4328
|
+
},
|
|
4329
|
+
"description": "a collection long name (ex: \"NLDAS Primary Forcing Data L4 Hourly 0.125 x 0.125 degree V2.0 (NLDAS_FORA0125_H) at GES DISC\")",
|
|
4330
|
+
"fieldName": "collectionLongName"
|
|
4331
|
+
},
|
|
3820
4332
|
{
|
|
3821
4333
|
"name": "datasetLandingPage",
|
|
3822
4334
|
"type": {
|
|
@@ -3922,21 +4434,17 @@
|
|
|
3922
4434
|
},
|
|
3923
4435
|
{
|
|
3924
4436
|
"kind": "javascript-module",
|
|
3925
|
-
"path": "components/variable-
|
|
4437
|
+
"path": "components/variable-keyword-search/variable-keyword-search.js",
|
|
3926
4438
|
"declarations": [
|
|
3927
4439
|
{
|
|
3928
4440
|
"kind": "class",
|
|
3929
4441
|
"description": "",
|
|
3930
|
-
"name": "
|
|
4442
|
+
"name": "TerraVariableKeywordSearch",
|
|
3931
4443
|
"cssProperties": [
|
|
3932
4444
|
{
|
|
3933
4445
|
"description": "The height of the host element.",
|
|
3934
4446
|
"name": "--host-height"
|
|
3935
4447
|
},
|
|
3936
|
-
{
|
|
3937
|
-
"description": "The height of the search help element.",
|
|
3938
|
-
"name": "--help-height"
|
|
3939
|
-
},
|
|
3940
4448
|
{
|
|
3941
4449
|
"description": "The height of the input's label element.",
|
|
3942
4450
|
"name": "--label-height"
|
|
@@ -3986,7 +4494,7 @@
|
|
|
3986
4494
|
"text": "string"
|
|
3987
4495
|
},
|
|
3988
4496
|
"static": true,
|
|
3989
|
-
"default": "'terra-variable-
|
|
4497
|
+
"default": "'terra-variable-keyword-search'"
|
|
3990
4498
|
},
|
|
3991
4499
|
{
|
|
3992
4500
|
"kind": "field",
|
|
@@ -4010,18 +4518,7 @@
|
|
|
4010
4518
|
"kind": "field",
|
|
4011
4519
|
"name": "#fetchController",
|
|
4012
4520
|
"privacy": "private",
|
|
4013
|
-
"
|
|
4014
|
-
"text": "FetchController"
|
|
4015
|
-
}
|
|
4016
|
-
},
|
|
4017
|
-
{
|
|
4018
|
-
"kind": "field",
|
|
4019
|
-
"name": "#searchableList",
|
|
4020
|
-
"privacy": "private",
|
|
4021
|
-
"type": {
|
|
4022
|
-
"text": "ListItem[]"
|
|
4023
|
-
},
|
|
4024
|
-
"default": "[]"
|
|
4521
|
+
"default": "new FetchController(this)"
|
|
4025
4522
|
},
|
|
4026
4523
|
{
|
|
4027
4524
|
"kind": "field",
|
|
@@ -4056,7 +4553,7 @@
|
|
|
4056
4553
|
"type": {
|
|
4057
4554
|
"text": "string"
|
|
4058
4555
|
},
|
|
4059
|
-
"default": "'
|
|
4556
|
+
"default": "'Enter search terms (e.g., precipitation, AOD)'",
|
|
4060
4557
|
"description": "Label the combobox with this.",
|
|
4061
4558
|
"attribute": "label"
|
|
4062
4559
|
},
|
|
@@ -4069,42 +4566,33 @@
|
|
|
4069
4566
|
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
4070
4567
|
"attribute": "placeholder"
|
|
4071
4568
|
},
|
|
4072
|
-
{
|
|
4073
|
-
"kind": "field",
|
|
4074
|
-
"name": "hideHelp",
|
|
4075
|
-
"type": {
|
|
4076
|
-
"text": "boolean"
|
|
4077
|
-
},
|
|
4078
|
-
"default": "false",
|
|
4079
|
-
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
4080
|
-
"attribute": "hide-help"
|
|
4081
|
-
},
|
|
4082
4569
|
{
|
|
4083
4570
|
"kind": "field",
|
|
4084
4571
|
"name": "hideLabel",
|
|
4085
4572
|
"type": {
|
|
4086
4573
|
"text": "boolean"
|
|
4087
4574
|
},
|
|
4088
|
-
"default": "
|
|
4575
|
+
"default": "true",
|
|
4089
4576
|
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
4090
4577
|
"attribute": "hide-label"
|
|
4091
4578
|
},
|
|
4092
4579
|
{
|
|
4093
4580
|
"kind": "field",
|
|
4094
|
-
"name": "
|
|
4581
|
+
"name": "searchConfig",
|
|
4095
4582
|
"type": {
|
|
4096
|
-
"text": "
|
|
4583
|
+
"text": "object"
|
|
4097
4584
|
},
|
|
4098
|
-
"
|
|
4585
|
+
"default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }",
|
|
4586
|
+
"description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
|
|
4587
|
+
"attribute": "searchConfig"
|
|
4099
4588
|
},
|
|
4100
4589
|
{
|
|
4101
4590
|
"kind": "field",
|
|
4102
|
-
"name": "
|
|
4591
|
+
"name": "value",
|
|
4103
4592
|
"type": {
|
|
4104
4593
|
"text": "string"
|
|
4105
4594
|
},
|
|
4106
|
-
"
|
|
4107
|
-
"attribute": "bearer-token"
|
|
4595
|
+
"attribute": "value"
|
|
4108
4596
|
},
|
|
4109
4597
|
{
|
|
4110
4598
|
"kind": "field",
|
|
@@ -4128,7 +4616,21 @@
|
|
|
4128
4616
|
},
|
|
4129
4617
|
{
|
|
4130
4618
|
"kind": "method",
|
|
4131
|
-
"name": "valueChanged"
|
|
4619
|
+
"name": "valueChanged",
|
|
4620
|
+
"parameters": [
|
|
4621
|
+
{
|
|
4622
|
+
"name": "_oldValue",
|
|
4623
|
+
"type": {
|
|
4624
|
+
"text": "string"
|
|
4625
|
+
}
|
|
4626
|
+
},
|
|
4627
|
+
{
|
|
4628
|
+
"name": "newValue",
|
|
4629
|
+
"type": {
|
|
4630
|
+
"text": "string"
|
|
4631
|
+
}
|
|
4632
|
+
}
|
|
4633
|
+
]
|
|
4132
4634
|
},
|
|
4133
4635
|
{
|
|
4134
4636
|
"kind": "method",
|
|
@@ -4142,16 +4644,6 @@
|
|
|
4142
4644
|
"kind": "method",
|
|
4143
4645
|
"name": "toggle"
|
|
4144
4646
|
},
|
|
4145
|
-
{
|
|
4146
|
-
"kind": "field",
|
|
4147
|
-
"name": "#dispatchChange",
|
|
4148
|
-
"privacy": "private"
|
|
4149
|
-
},
|
|
4150
|
-
{
|
|
4151
|
-
"kind": "field",
|
|
4152
|
-
"name": "#handleButtonClick",
|
|
4153
|
-
"privacy": "private"
|
|
4154
|
-
},
|
|
4155
4647
|
{
|
|
4156
4648
|
"kind": "field",
|
|
4157
4649
|
"name": "#handleComboboxChange",
|
|
@@ -4176,14 +4668,36 @@
|
|
|
4176
4668
|
"kind": "field",
|
|
4177
4669
|
"name": "#selectOption",
|
|
4178
4670
|
"privacy": "private"
|
|
4671
|
+
},
|
|
4672
|
+
{
|
|
4673
|
+
"kind": "method",
|
|
4674
|
+
"name": "#handleSearch",
|
|
4675
|
+
"parameters": [
|
|
4676
|
+
{
|
|
4677
|
+
"name": "query",
|
|
4678
|
+
"type": {
|
|
4679
|
+
"text": "string"
|
|
4680
|
+
}
|
|
4681
|
+
}
|
|
4682
|
+
]
|
|
4683
|
+
},
|
|
4684
|
+
{
|
|
4685
|
+
"kind": "method",
|
|
4686
|
+
"name": "#clearSearch"
|
|
4179
4687
|
}
|
|
4180
4688
|
],
|
|
4181
4689
|
"events": [
|
|
4182
4690
|
{
|
|
4183
4691
|
"description": "Emitted when an option is selected.",
|
|
4184
|
-
"name": "terra-
|
|
4185
|
-
"reactName": "
|
|
4186
|
-
"eventName": "
|
|
4692
|
+
"name": "terra-variable-keyword-search-change",
|
|
4693
|
+
"reactName": "onTerraVariableKeywordSearchChange",
|
|
4694
|
+
"eventName": "TerraVariableKeywordSearchChangeEvent"
|
|
4695
|
+
},
|
|
4696
|
+
{
|
|
4697
|
+
"description": "Emitted when the component is triggering a search (like a form triggering submit).",
|
|
4698
|
+
"name": "terra-search",
|
|
4699
|
+
"reactName": "onTerraSearch",
|
|
4700
|
+
"eventName": "TerraSearchEvent"
|
|
4187
4701
|
}
|
|
4188
4702
|
],
|
|
4189
4703
|
"attributes": [
|
|
@@ -4192,7 +4706,7 @@
|
|
|
4192
4706
|
"type": {
|
|
4193
4707
|
"text": "string"
|
|
4194
4708
|
},
|
|
4195
|
-
"default": "'
|
|
4709
|
+
"default": "'Enter search terms (e.g., precipitation, AOD)'",
|
|
4196
4710
|
"description": "Label the combobox with this.",
|
|
4197
4711
|
"fieldName": "label"
|
|
4198
4712
|
},
|
|
@@ -4204,50 +4718,42 @@
|
|
|
4204
4718
|
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
4205
4719
|
"fieldName": "placeholder"
|
|
4206
4720
|
},
|
|
4207
|
-
{
|
|
4208
|
-
"name": "hide-help",
|
|
4209
|
-
"type": {
|
|
4210
|
-
"text": "boolean"
|
|
4211
|
-
},
|
|
4212
|
-
"default": "false",
|
|
4213
|
-
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
4214
|
-
"fieldName": "hideHelp"
|
|
4215
|
-
},
|
|
4216
4721
|
{
|
|
4217
4722
|
"name": "hide-label",
|
|
4218
4723
|
"type": {
|
|
4219
4724
|
"text": "boolean"
|
|
4220
4725
|
},
|
|
4221
|
-
"default": "
|
|
4726
|
+
"default": "true",
|
|
4222
4727
|
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
4223
4728
|
"fieldName": "hideLabel"
|
|
4224
4729
|
},
|
|
4225
4730
|
{
|
|
4226
|
-
"name": "
|
|
4731
|
+
"name": "searchConfig",
|
|
4227
4732
|
"type": {
|
|
4228
|
-
"text": "
|
|
4733
|
+
"text": "object"
|
|
4229
4734
|
},
|
|
4230
|
-
"
|
|
4735
|
+
"default": "{\n //* @see {@link https://www.fusejs.io/api/options.html#options}\n keys: ['id'],\n useExtendedSearch: true,\n }",
|
|
4736
|
+
"description": "type can be `Boolean`, `String`, `Number`, `Object`, or `Array`",
|
|
4737
|
+
"fieldName": "searchConfig"
|
|
4231
4738
|
},
|
|
4232
4739
|
{
|
|
4233
|
-
"name": "
|
|
4740
|
+
"name": "value",
|
|
4234
4741
|
"type": {
|
|
4235
4742
|
"text": "string"
|
|
4236
4743
|
},
|
|
4237
|
-
"
|
|
4238
|
-
"fieldName": "bearerToken"
|
|
4744
|
+
"fieldName": "value"
|
|
4239
4745
|
}
|
|
4240
4746
|
],
|
|
4241
4747
|
"superclass": {
|
|
4242
4748
|
"name": "TerraElement",
|
|
4243
4749
|
"module": "/src/internal/terra-element.js"
|
|
4244
4750
|
},
|
|
4245
|
-
"summary": "Fuzzy-search for dataset
|
|
4246
|
-
"tagNameWithoutPrefix": "variable-
|
|
4247
|
-
"tagName": "terra-variable-
|
|
4751
|
+
"summary": "Fuzzy-search for dataset keywords in combobox with list autocomplete.",
|
|
4752
|
+
"tagNameWithoutPrefix": "variable-keyword-search",
|
|
4753
|
+
"tagName": "terra-variable-keyword-search",
|
|
4248
4754
|
"customElement": true,
|
|
4249
|
-
"jsDoc": "/**\n * @summary Fuzzy-search for dataset
|
|
4250
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
4755
|
+
"jsDoc": "/**\n * @summary Fuzzy-search for dataset keywords in combobox with list autocomplete.\n * @documentation https://disc.gsfc.nasa.gov/components/giovanni-serch\n * @see https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-list/\n * @status MVP\n * @since 1.0\n *\n * @csspart base - A `search` element, the component's base.\n * @csspart combobox - An `input` element used for searching.\n * @csspart button - A `button` used for toggling the listbox's visibility.\n * @csspart listbox - A `ul` that holds the clickable options.\n *\n * @cssproperty --host-height - The height of the host element.\n * @cssproperty --label-height - The height of the input's label element.\n *\n * @event terra-variable-keyword-search-change - Emitted when an option is selected.\n * @event terra-search - Emitted when the component is triggering a search (like a form triggering submit).\n */",
|
|
4756
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/giovanni-serch",
|
|
4251
4757
|
"status": "MVP",
|
|
4252
4758
|
"since": "1.0"
|
|
4253
4759
|
}
|
|
@@ -4257,8 +4763,8 @@
|
|
|
4257
4763
|
"kind": "js",
|
|
4258
4764
|
"name": "default",
|
|
4259
4765
|
"declaration": {
|
|
4260
|
-
"name": "
|
|
4261
|
-
"module": "components/variable-
|
|
4766
|
+
"name": "TerraVariableKeywordSearch",
|
|
4767
|
+
"module": "components/variable-keyword-search/variable-keyword-search.js"
|
|
4262
4768
|
}
|
|
4263
4769
|
}
|
|
4264
4770
|
]
|
|
@@ -4267,7 +4773,7 @@
|
|
|
4267
4773
|
"package": {
|
|
4268
4774
|
"name": "@nasa-terra/components",
|
|
4269
4775
|
"description": "A collection of NASA Earthdata components",
|
|
4270
|
-
"version": "0.0.
|
|
4776
|
+
"version": "0.0.30",
|
|
4271
4777
|
"author": "NASA GES DISC <https://disc.gsfc.nasa.gov>",
|
|
4272
4778
|
"homepage": "https://github.com/gesdisc/components",
|
|
4273
4779
|
"license": "MIT"
|