@nasa-terra/components 0.0.89 → 0.0.91
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.EN7HZC6I.js → chunk.26UPLZA3.js} +1 -1
- package/cdn/chunks/{chunk.MXCT3OWZ.js → chunk.2LLF6GNC.js} +14 -14
- package/cdn/chunks/{chunk.LZSKCTIU.js → chunk.345S4ISQ.js} +6 -6
- package/cdn/chunks/{chunk.EYMD552N.js → chunk.35OCEFG6.js} +1 -1
- package/cdn/chunks/{chunk.JCUNSSEQ.js → chunk.3AYIKTIE.js} +7 -7
- package/cdn/chunks/{chunk.EAYKJ56L.js → chunk.3CZYQ52Y.js} +1 -1
- package/cdn/chunks/{chunk.FPCHKWSA.js → chunk.3RGXXSFM.js} +1 -1
- package/cdn/chunks/{chunk.WSXB664C.js → chunk.3VDHYYGH.js} +1 -1
- package/cdn/chunks/{chunk.7ASV5AP5.js → chunk.3VGKMOZS.js} +1 -1
- package/cdn/chunks/{chunk.BZQ5SZVH.js → chunk.3ZWTICSQ.js} +1 -1
- package/cdn/chunks/{chunk.FASJ4T3A.js → chunk.5OXLXV5R.js} +1 -1
- package/cdn/chunks/{chunk.3ARGA4SO.js → chunk.6PJ75ROC.js} +1 -1
- package/cdn/chunks/{chunk.DAUDORIO.js → chunk.7FIBGIYL.js} +1 -1
- package/cdn/chunks/{chunk.7W35JOLU.js → chunk.AFWSQLB7.js} +2 -2
- package/cdn/chunks/{chunk.VAJVTJSS.js → chunk.AM5WMXAB.js} +1 -1
- package/cdn/chunks/{chunk.P2QP3LGI.js → chunk.ARV6EEPX.js} +1 -1
- package/cdn/chunks/{chunk.TKNYLZDN.js → chunk.BLZMZ7LR.js} +1 -1
- package/cdn/chunks/{chunk.J22LMVWH.js → chunk.BQSQU7KE.js} +1 -1
- package/cdn/chunks/{chunk.KR5CZMBP.js → chunk.BRFHPVON.js} +1 -1
- package/cdn/chunks/{chunk.4RUZJYA3.js → chunk.C4NKB3JX.js} +1 -1
- package/cdn/chunks/{chunk.KDV7PNGK.js → chunk.CKWU5U2P.js} +10 -10
- package/cdn/chunks/{chunk.5YKCWIBG.js → chunk.COIJ4VVH.js} +1 -1
- package/cdn/chunks/{chunk.WJKYPGQ2.js → chunk.CROFSJKG.js} +1 -1
- package/cdn/chunks/{chunk.IMJZH4OM.js → chunk.CZS36B6C.js} +1 -1
- package/cdn/chunks/{chunk.JVPVOV5A.js → chunk.EK7A4DOZ.js} +5 -5
- package/cdn/chunks/{chunk.LWND4DIK.js → chunk.EL4TAN4Z.js} +1 -1
- package/cdn/chunks/{chunk.WABWARX2.js → chunk.FOVRINWT.js} +1 -1
- package/cdn/chunks/{chunk.EW5S7TQ6.js → chunk.FRABN4H3.js} +5 -5
- package/cdn/chunks/{chunk.D27S4OPJ.js → chunk.G6R7XEAU.js} +1 -1
- package/cdn/chunks/{chunk.PBDO47AW.js → chunk.GFZLBYGR.js} +2 -2
- package/cdn/chunks/{chunk.QKTGWUEP.js → chunk.GM27HXUP.js} +1 -1
- package/cdn/chunks/{chunk.SJ5XUUOV.js → chunk.GN2HE6IX.js} +1 -1
- package/cdn/chunks/{chunk.TZGZNZHJ.js → chunk.HBBJ2L45.js} +22 -8
- package/cdn/chunks/{chunk.EGCO6FGV.js → chunk.HI4LZPQW.js} +2 -2
- package/cdn/chunks/{chunk.NUHVZF6S.js → chunk.HTU7H3YM.js} +9 -9
- package/cdn/chunks/{chunk.DVXUXP4P.js → chunk.IAVGZZEG.js} +1 -1
- package/cdn/chunks/{chunk.S6B3LOU3.js → chunk.IMZ44IZD.js} +1 -1
- package/cdn/chunks/{chunk.A3CJA2N5.js → chunk.IUGEDMEH.js} +9 -9
- package/cdn/chunks/{chunk.BV7ICI5K.js → chunk.J7WS2ZFI.js} +1 -1
- package/cdn/chunks/{chunk.X5ER4QRG.js → chunk.JD3744HT.js} +2 -2
- package/cdn/chunks/{chunk.DTN35MTR.js → chunk.JGL4GJBL.js} +1 -1
- package/cdn/chunks/{chunk.QICIIYW7.js → chunk.JOPNPU7Q.js} +1 -1
- package/cdn/chunks/{chunk.72IDPWXZ.js → chunk.JXTCHEFK.js} +1 -1
- package/cdn/chunks/{chunk.4RRIAMTZ.js → chunk.JYO4ZUF5.js} +1 -1
- package/cdn/chunks/{chunk.YRVXJZRE.js → chunk.KNZCNNYK.js} +1 -1
- package/cdn/chunks/{chunk.2JDH5QS6.js → chunk.KP4G7TT6.js} +1 -1
- package/cdn/chunks/{chunk.YF6HM24H.js → chunk.KRB2ZDO2.js} +1 -1
- package/cdn/chunks/{chunk.PHSEFF3E.js → chunk.L3KU5JWP.js} +1 -1
- package/cdn/chunks/{chunk.ENMVCFIY.js → chunk.LZTTCPA4.js} +1 -1
- package/cdn/chunks/{chunk.EJUQRIDS.js → chunk.M2LWR4IE.js} +1 -1
- package/cdn/chunks/{chunk.EKA7EQCJ.js → chunk.MIR35NJP.js} +1 -1
- package/cdn/chunks/{chunk.DNC6B6RJ.js → chunk.MNHFARYM.js} +1 -1
- package/cdn/chunks/{chunk.TAEZK6X7.js → chunk.MTPETTSV.js} +10 -10
- package/cdn/chunks/{chunk.HMS35ZFE.js → chunk.MUYS3VLW.js} +1 -1
- package/cdn/chunks/{chunk.VQCB5TFO.js → chunk.ND7LKS3O.js} +1 -1
- package/cdn/chunks/{chunk.GRNKCR3J.js → chunk.NPJYWAFS.js} +1 -1
- package/cdn/chunks/{chunk.UOZHNKPD.js → chunk.OS7YUOVY.js} +1 -1
- package/cdn/chunks/{chunk.5NQTJEL7.js → chunk.OTUJQUJT.js} +1 -1
- package/cdn/chunks/{chunk.OOXOYX5K.js → chunk.PTF7ISEZ.js} +1 -1
- package/cdn/chunks/{chunk.XCINGHGR.js → chunk.QVWXXWD7.js} +1 -1
- package/cdn/chunks/{chunk.ZPM5MXLT.js → chunk.RATRNK76.js} +1 -1
- package/cdn/chunks/{chunk.WCZ4LHU6.js → chunk.RX7GENPF.js} +1 -1
- package/cdn/chunks/{chunk.74TRABNT.js → chunk.SVWQWIGB.js} +7 -7
- package/cdn/chunks/{chunk.TUG332D7.js → chunk.SXHXHZMA.js} +1 -1
- package/cdn/chunks/{chunk.X554RWFW.js → chunk.THK5HZEZ.js} +1 -1
- package/cdn/chunks/{chunk.7JDX7FVE.js → chunk.TRWQ44QZ.js} +1 -1
- package/cdn/chunks/{chunk.75XWTZKC.js → chunk.TTBQKPEL.js} +1 -1
- package/cdn/chunks/{chunk.IMCPRQII.js → chunk.U3XPXI6B.js} +1 -1
- package/cdn/chunks/{chunk.CCJLHX7K.js → chunk.UBUCOPQI.js} +4 -4
- package/cdn/chunks/{chunk.4XCDEVDG.js → chunk.UEXDPLED.js} +1 -1
- package/cdn/chunks/{chunk.SLYJHALA.js → chunk.UKEUK7I4.js} +9 -9
- package/cdn/chunks/{chunk.TLOVVPM2.js → chunk.VAKGBAFP.js} +4 -4
- package/cdn/chunks/{chunk.ZDQ75VVD.js → chunk.VKFLPGOG.js} +1 -1
- package/cdn/chunks/{chunk.3FYCTFXO.js → chunk.VZG6RGHW.js} +1 -1
- package/cdn/chunks/{chunk.NMTELRYF.js → chunk.W7MP42UK.js} +5 -1
- package/cdn/chunks/{chunk.APQV4623.js → chunk.WQKYZF5K.js} +1 -1
- package/cdn/chunks/{chunk.AIRL7WPS.js → chunk.X2OD6GUQ.js} +1 -1
- package/cdn/chunks/{chunk.C2DOXGWW.js → chunk.X7J6RU2E.js} +6 -6
- package/cdn/chunks/{chunk.EUIUCCRB.js → chunk.XG3ADBMH.js} +1 -1
- package/cdn/chunks/{chunk.ZW7EAFEM.js → chunk.XLYZ23V5.js} +1 -1
- package/cdn/chunks/{chunk.P6ENBH3Z.js → chunk.YFT36TWI.js} +10 -10
- package/cdn/chunks/{chunk.RZ5FW2ZP.js → chunk.Z46RDKVZ.js} +1 -1
- package/cdn/chunks/{chunk.VP73WP4W.js → chunk.ZHZMLQBK.js} +1 -1
- package/cdn/chunks/{chunk.MK4LQ2PI.js → chunk.ZW3YPKOY.js} +1 -1
- package/cdn/components/accordion/accordion.component.js +4 -4
- package/cdn/components/accordion/accordion.js +5 -5
- package/cdn/components/alert/alert.component.js +3 -3
- package/cdn/components/alert/alert.js +4 -4
- package/cdn/components/browse-variables/browse-variables.component.js +20 -20
- package/cdn/components/browse-variables/browse-variables.js +21 -21
- 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 +7 -7
- package/cdn/components/combobox/combobox.js +8 -8
- package/cdn/components/data-rods/data-rods.component.js +33 -33
- package/cdn/components/data-rods/data-rods.js +34 -34
- package/cdn/components/data-subsetter/data-subsetter.component.js +24 -24
- package/cdn/components/data-subsetter/data-subsetter.controller.js +2 -2
- package/cdn/components/data-subsetter/data-subsetter.js +25 -25
- package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +27 -27
- package/cdn/components/data-subsetter-history/data-subsetter-history.controller.js +2 -2
- package/cdn/components/data-subsetter-history/data-subsetter-history.js +28 -28
- package/cdn/components/date-picker/date-picker.component.js +4 -4
- package/cdn/components/date-picker/date-picker.js +5 -5
- package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
- package/cdn/components/date-range-slider/date-range-slider.js +3 -3
- package/cdn/components/dialog/dialog.component.js +2 -2
- package/cdn/components/dialog/dialog.js +3 -3
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/login/login.component.js +15 -15
- package/cdn/components/login/login.js +16 -16
- package/cdn/components/map/map.component.js +4 -4
- package/cdn/components/map/map.js +5 -5
- package/cdn/components/plot/plot.component.js +2 -2
- package/cdn/components/plot/plot.js +3 -3
- package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
- package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
- package/cdn/components/plot-toolbar/plot-toolbar.component.js +15 -15
- package/cdn/components/plot-toolbar/plot-toolbar.js +16 -16
- package/cdn/components/skeleton/skeleton.component.js +6 -6
- package/cdn/components/skeleton/skeleton.js +7 -7
- package/cdn/components/spatial-picker/spatial-picker.component.js +5 -5
- package/cdn/components/spatial-picker/spatial-picker.js +6 -6
- package/cdn/components/time-average-map/time-average-map.component.js +19 -19
- package/cdn/components/time-average-map/time-average-map.controller.js +2 -2
- package/cdn/components/time-average-map/time-average-map.js +20 -20
- package/cdn/components/time-series/time-series.component.js +22 -22
- package/cdn/components/time-series/time-series.controller.js +2 -2
- package/cdn/components/time-series/time-series.js +23 -23
- package/cdn/components/variable-combobox/lib.js +3 -3
- package/cdn/components/variable-combobox/variable-combobox.component.js +17 -17
- package/cdn/components/variable-combobox/variable-combobox.controller.js +4 -4
- package/cdn/components/variable-combobox/variable-combobox.js +18 -18
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +14 -14
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +15 -15
- package/cdn/custom-elements.json +1271 -1271
- package/cdn/react/accordion/index.js +5 -5
- package/cdn/react/alert/index.js +4 -4
- package/cdn/react/browse-variables/index.js +21 -21
- package/cdn/react/button/index.js +4 -4
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +8 -8
- package/cdn/react/data-rods/index.js +34 -34
- package/cdn/react/data-subsetter/index.js +25 -25
- package/cdn/react/data-subsetter-history/index.js +28 -28
- package/cdn/react/date-picker/index.js +5 -5
- package/cdn/react/date-range-slider/index.js +3 -3
- package/cdn/react/dialog/index.js +3 -3
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/index.d.ts +3 -3
- package/cdn/react/index.js +93 -93
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +16 -16
- package/cdn/react/map/index.js +5 -5
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/plot-toolbar/index.js +16 -16
- package/cdn/react/skeleton/index.js +7 -7
- package/cdn/react/spatial-picker/index.js +6 -6
- package/cdn/react/time-average-map/index.js +20 -20
- package/cdn/react/time-series/index.js +23 -23
- package/cdn/react/variable-combobox/index.js +18 -18
- package/cdn/react/variable-keyword-search/index.js +15 -15
- package/cdn/terra-ui-components.js +89 -89
- package/cdn/types/vue/index.d.ts +111 -111
- package/cdn/utilities/animation.js +4 -4
- package/cdn/vscode.html-custom-data.json +105 -105
- package/cdn/web-types.json +301 -301
- package/dist/chunks/{chunk.SXRNOEFK.js → chunk.2FSQ3FWN.js} +1 -1
- package/dist/chunks/{chunk.H3LTZCE4.js → chunk.2G4ZHHJV.js} +6 -6
- package/dist/chunks/{chunk.6UNRJEPR.js → chunk.2NRPY63G.js} +1 -1
- package/dist/chunks/{chunk.LGDEK3PO.js → chunk.35FJ2CIQ.js} +1 -1
- package/dist/chunks/{chunk.JSUYY2I2.js → chunk.3KBYMOBH.js} +10 -10
- package/dist/chunks/{chunk.K4LEMORS.js → chunk.3RGKRH5O.js} +1 -1
- package/dist/chunks/{chunk.PRQUOVO5.js → chunk.4C7M6LFN.js} +1 -1
- package/dist/chunks/{chunk.IGCE77VW.js → chunk.4QU5Z4HZ.js} +1 -1
- package/dist/chunks/{chunk.GEDD33NC.js → chunk.4R5IJRZI.js} +1 -1
- package/dist/chunks/{chunk.GYKSOKTQ.js → chunk.4ZDBGU6B.js} +1 -1
- package/dist/chunks/{chunk.ABFQEQJY.js → chunk.5DUZAMRB.js} +1 -1
- package/dist/chunks/{chunk.B2CLYEI7.js → chunk.5L6EOPER.js} +9 -9
- package/dist/chunks/{chunk.GNZZNVBZ.js → chunk.5SDUTMMZ.js} +1 -1
- package/dist/chunks/{chunk.OWU2M7OX.js → chunk.63RA4DGD.js} +1 -1
- package/dist/chunks/{chunk.BN553C7G.js → chunk.6ACC6OWA.js} +1 -1
- package/dist/chunks/{chunk.FSIRBIDW.js → chunk.6C75WDBZ.js} +1 -1
- package/dist/chunks/{chunk.VQAIOLIO.js → chunk.6QUZY3FN.js} +1 -1
- package/dist/chunks/{chunk.MIT6JMYI.js → chunk.6Z6F5PDQ.js} +1 -1
- package/dist/chunks/{chunk.WAMZ7N3H.js → chunk.7NQCSLS4.js} +1 -1
- package/dist/chunks/{chunk.LF5TMQ2O.js → chunk.B4AD33CZ.js} +1 -1
- package/dist/chunks/{chunk.WVMMGBI7.js → chunk.BPT3BGV6.js} +1 -1
- package/dist/chunks/{chunk.2L63TZNY.js → chunk.BQCOXETT.js} +2 -2
- package/dist/chunks/{chunk.5KQT7FZY.js → chunk.C2N65VWF.js} +1 -1
- package/dist/chunks/{chunk.IBHF6UXL.js → chunk.CJITWTSF.js} +1 -1
- package/dist/chunks/{chunk.MXLEYMZR.js → chunk.CTRPBFYB.js} +9 -9
- package/dist/chunks/{chunk.ALMW7AMB.js → chunk.DV4LJ2RA.js} +1 -1
- package/dist/chunks/{chunk.6TLU3DRZ.js → chunk.EI7UHYRB.js} +1 -1
- package/dist/chunks/{chunk.B3VNQVP4.js → chunk.EQSUWNCI.js} +1 -1
- package/dist/chunks/{chunk.IBMF5A2A.js → chunk.ESIBZE7O.js} +1 -1
- package/dist/chunks/{chunk.YGEL6GPS.js → chunk.FR4T6Y3Y.js} +1 -1
- package/dist/chunks/{chunk.76PTAYJU.js → chunk.FRFAOBI2.js} +1 -1
- package/dist/chunks/{chunk.Q3MB7MY4.js → chunk.FV2O4X2E.js} +1 -1
- package/dist/chunks/{chunk.C5K4ABWV.js → chunk.GFVXOTFS.js} +1 -1
- package/dist/chunks/{chunk.QKNDUNIL.js → chunk.GLFW64ZZ.js} +1 -1
- package/dist/chunks/{chunk.LH77P3KP.js → chunk.GQ4GJVQE.js} +1 -1
- package/dist/chunks/{chunk.OZJHJL3W.js → chunk.HNRJAFHI.js} +1 -1
- package/dist/chunks/{chunk.ITIJSXCQ.js → chunk.HPPPEPMF.js} +1 -1
- package/dist/chunks/{chunk.25FOQZTJ.js → chunk.JR5OWVU2.js} +9 -9
- package/dist/chunks/{chunk.IVBOEQFS.js → chunk.JZXNFSTC.js} +8 -8
- package/dist/chunks/{chunk.2P65PUPN.js → chunk.KIIYVYXP.js} +1 -1
- package/dist/chunks/{chunk.NS37CQ4V.js → chunk.KNR3FDTW.js} +1 -1
- package/dist/chunks/{chunk.J4Y3AKSH.js → chunk.KTRFOPHM.js} +1 -1
- package/dist/chunks/{chunk.A32SPHOG.js → chunk.LWVUV3X4.js} +2 -2
- package/dist/chunks/{chunk.QUBYK2YY.js → chunk.M74WPR47.js} +5 -5
- package/dist/chunks/{chunk.VKEHESZ6.js → chunk.MCFFE7YC.js} +1 -1
- package/dist/chunks/{chunk.4ZYYIXPW.js → chunk.MCTKJ34Y.js} +1 -1
- package/dist/chunks/{chunk.LLIMAUKA.js → chunk.MEQYPAZL.js} +1 -1
- package/dist/chunks/{chunk.7NKNP2XT.js → chunk.N4RRPSI5.js} +1 -1
- package/dist/chunks/{chunk.TWUMPXZI.js → chunk.NELZBIQO.js} +1 -1
- package/dist/chunks/{chunk.PUIHZFTT.js → chunk.NFBZXLVK.js} +1 -1
- package/dist/chunks/{chunk.ULJH2V4R.js → chunk.NUMPMP6P.js} +1 -1
- package/dist/chunks/{chunk.OV3SXQR2.js → chunk.O5VSEODR.js} +1 -1
- package/dist/chunks/{chunk.7IVFLXMF.js → chunk.P5IJGIOX.js} +1 -1
- package/dist/chunks/{chunk.FM3RIUJL.js → chunk.PFXU3YDE.js} +1 -1
- package/dist/chunks/{chunk.BBIJJEWX.js → chunk.PI5AAI3L.js} +1 -1
- package/dist/chunks/{chunk.BDHGQVRG.js → chunk.Q7PF7C44.js} +1 -1
- package/dist/chunks/{chunk.3BFIP2ZM.js → chunk.QAVWTCZS.js} +1 -1
- package/dist/chunks/{chunk.MBUBNLIE.js → chunk.QVF7WSE7.js} +4 -4
- package/dist/chunks/{chunk.QFXF6GGN.js → chunk.QZA6QACB.js} +1 -1
- package/dist/chunks/{chunk.7DSPVUAY.js → chunk.R3DYHGYT.js} +22 -8
- package/dist/chunks/{chunk.33TGG55B.js → chunk.RLPWHAK2.js} +1 -1
- package/dist/chunks/{chunk.WQQCPM6X.js → chunk.RVGTAYBL.js} +1 -1
- package/dist/chunks/{chunk.LPQRDCNM.js → chunk.RVZP7AOR.js} +1 -1
- package/dist/chunks/{chunk.6XVZYSTJ.js → chunk.S3SENRX5.js} +1 -1
- package/dist/chunks/{chunk.UOUWRNQN.js → chunk.SAO3PWNQ.js} +7 -7
- package/dist/chunks/{chunk.DDSH3HCY.js → chunk.SL4YBPFC.js} +4 -4
- package/dist/chunks/{chunk.UB4FO27K.js → chunk.SLQNK6IK.js} +1 -1
- package/dist/chunks/{chunk.QGP3WMY4.js → chunk.TJPUX5KT.js} +1 -1
- package/dist/chunks/{chunk.WFRIF2IB.js → chunk.TPWFJSXL.js} +1 -1
- package/dist/chunks/{chunk.IV4T4OOK.js → chunk.TQ3WGHIO.js} +1 -1
- package/dist/chunks/{chunk.YOOC7EU7.js → chunk.VBHH32SF.js} +5 -5
- package/dist/chunks/{chunk.3AALBEM3.js → chunk.VEODG67H.js} +1 -1
- package/dist/chunks/{chunk.T42DG3GJ.js → chunk.VJ63SBJ2.js} +1 -1
- package/dist/chunks/{chunk.NOWHWLI4.js → chunk.VRI4LO4O.js} +5 -1
- package/dist/chunks/{chunk.ZLAL3YDX.js → chunk.VSGQWSVD.js} +4 -4
- package/dist/chunks/{chunk.5L6N4FVF.js → chunk.W6GLYSO2.js} +6 -6
- package/dist/chunks/{chunk.2W43G6D5.js → chunk.WJ5HFL6G.js} +13 -13
- package/dist/chunks/{chunk.QZECBNF4.js → chunk.XM65VL6Z.js} +1 -1
- package/dist/chunks/{chunk.FVEAD226.js → chunk.Y6XOKWJO.js} +1 -1
- package/dist/chunks/{chunk.L33RFFGP.js → chunk.ZSZV2VFF.js} +1 -1
- package/dist/chunks/{chunk.4YQYIR3N.js → chunk.ZXT772I3.js} +1 -1
- package/dist/components/accordion/accordion.component.js +4 -4
- package/dist/components/accordion/accordion.js +5 -5
- package/dist/components/alert/alert.component.js +3 -3
- package/dist/components/alert/alert.js +4 -4
- package/dist/components/browse-variables/browse-variables.component.js +15 -15
- package/dist/components/browse-variables/browse-variables.js +16 -16
- 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/data-rods/data-rods.component.js +26 -26
- package/dist/components/data-rods/data-rods.js +27 -27
- package/dist/components/data-subsetter/data-subsetter.component.js +20 -20
- package/dist/components/data-subsetter/data-subsetter.controller.js +2 -2
- package/dist/components/data-subsetter/data-subsetter.js +21 -21
- package/dist/components/data-subsetter-history/data-subsetter-history.component.js +23 -23
- package/dist/components/data-subsetter-history/data-subsetter-history.controller.js +2 -2
- package/dist/components/data-subsetter-history/data-subsetter-history.js +24 -24
- package/dist/components/date-picker/date-picker.component.js +4 -4
- package/dist/components/date-picker/date-picker.js +5 -5
- package/dist/components/date-range-slider/date-range-slider.component.js +2 -2
- package/dist/components/date-range-slider/date-range-slider.js +3 -3
- package/dist/components/dialog/dialog.component.js +2 -2
- package/dist/components/dialog/dialog.js +3 -3
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/loader/loader.component.js +2 -2
- package/dist/components/loader/loader.js +3 -3
- package/dist/components/login/login.component.js +12 -12
- package/dist/components/login/login.js +13 -13
- package/dist/components/map/map.component.js +2 -2
- package/dist/components/map/map.js +3 -3
- package/dist/components/plot/plot.component.js +2 -2
- package/dist/components/plot/plot.js +3 -3
- package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
- package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
- package/dist/components/plot-toolbar/plot-toolbar.component.js +11 -11
- package/dist/components/plot-toolbar/plot-toolbar.js +12 -12
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spatial-picker/spatial-picker.component.js +3 -3
- package/dist/components/spatial-picker/spatial-picker.js +4 -4
- package/dist/components/time-average-map/time-average-map.component.js +15 -15
- package/dist/components/time-average-map/time-average-map.controller.js +2 -2
- package/dist/components/time-average-map/time-average-map.js +16 -16
- package/dist/components/time-series/time-series.component.js +18 -18
- package/dist/components/time-series/time-series.controller.js +2 -2
- package/dist/components/time-series/time-series.js +19 -19
- package/dist/components/variable-combobox/variable-combobox.component.js +10 -10
- package/dist/components/variable-combobox/variable-combobox.js +11 -11
- package/dist/components/variable-keyword-search/variable-keyword-search.component.js +10 -10
- package/dist/components/variable-keyword-search/variable-keyword-search.js +11 -11
- package/dist/custom-elements.json +1271 -1271
- package/dist/react/accordion/index.js +5 -5
- package/dist/react/alert/index.js +4 -4
- package/dist/react/browse-variables/index.js +16 -16
- package/dist/react/button/index.js +4 -4
- package/dist/react/chip/index.js +3 -3
- package/dist/react/combobox/index.js +4 -4
- package/dist/react/data-rods/index.js +27 -27
- package/dist/react/data-subsetter/index.js +21 -21
- package/dist/react/data-subsetter-history/index.js +24 -24
- package/dist/react/date-picker/index.js +5 -5
- package/dist/react/date-range-slider/index.js +3 -3
- package/dist/react/dialog/index.js +3 -3
- package/dist/react/icon/index.js +3 -3
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +85 -85
- package/dist/react/loader/index.js +3 -3
- package/dist/react/login/index.js +13 -13
- package/dist/react/map/index.js +3 -3
- package/dist/react/plot/index.js +3 -3
- package/dist/react/plot-toolbar/index.js +12 -12
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spatial-picker/index.js +4 -4
- package/dist/react/time-average-map/index.js +16 -16
- package/dist/react/time-series/index.js +19 -19
- package/dist/react/variable-combobox/index.js +11 -11
- package/dist/react/variable-keyword-search/index.js +11 -11
- package/dist/terra-ui-components.js +81 -81
- package/dist/{terra_ui_components-0.0.89-py3-none-any.whl → terra_ui_components-0.0.91-py3-none-any.whl} +0 -0
- package/dist/{terra_ui_components-0.0.89.tar.gz → terra_ui_components-0.0.91.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +111 -111
- package/dist/vscode.html-custom-data.json +105 -105
- package/dist/web-types.json +301 -301
- package/package.json +1 -1
- package/cdn/chunks/{chunk.EMLDT66I.js → chunk.EDY6YM3Y.js} +4 -4
- package/cdn/chunks/{chunk.SU2EH44I.js → chunk.NFS2RDEX.js} +5 -5
- package/cdn/chunks/{chunk.VPW32Q52.js → chunk.QFJLPXXJ.js} +3 -3
|
@@ -4,1130 +4,829 @@
|
|
|
4
4
|
"modules": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "javascript-module",
|
|
7
|
-
"path": "components/
|
|
7
|
+
"path": "components/button/button.js",
|
|
8
8
|
"declarations": [
|
|
9
9
|
{
|
|
10
10
|
"kind": "class",
|
|
11
11
|
"description": "",
|
|
12
|
-
"name": "
|
|
13
|
-
"
|
|
12
|
+
"name": "TerraButton",
|
|
13
|
+
"cssParts": [
|
|
14
14
|
{
|
|
15
|
-
"description": "The
|
|
16
|
-
"name": ""
|
|
15
|
+
"description": "The component's base wrapper.",
|
|
16
|
+
"name": "base"
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
|
-
"description": "The
|
|
20
|
-
"name": "
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
|
-
"members": [
|
|
24
|
-
{
|
|
25
|
-
"kind": "field",
|
|
26
|
-
"name": "dependencies",
|
|
27
|
-
"type": {
|
|
28
|
-
"text": "object"
|
|
29
|
-
},
|
|
30
|
-
"static": true,
|
|
31
|
-
"default": "{\n 'terra-icon': TerraIcon,\n }"
|
|
19
|
+
"description": "The container that wraps the prefix.",
|
|
20
|
+
"name": "prefix"
|
|
32
21
|
},
|
|
33
22
|
{
|
|
34
|
-
"
|
|
35
|
-
"name": "
|
|
36
|
-
"type": {
|
|
37
|
-
"text": "string"
|
|
38
|
-
},
|
|
39
|
-
"description": "The summary/header for the accordion. Use the property for simple text, or the slot for custom content.",
|
|
40
|
-
"attribute": "summary"
|
|
23
|
+
"description": "The button's label.",
|
|
24
|
+
"name": "label"
|
|
41
25
|
},
|
|
42
26
|
{
|
|
43
|
-
"
|
|
44
|
-
"name": "
|
|
45
|
-
"type": {
|
|
46
|
-
"text": "boolean"
|
|
47
|
-
},
|
|
48
|
-
"default": "false",
|
|
49
|
-
"description": "Whether the accordion is open or not. This property is reflected as an attribute and can be controlled programmatically or by user interaction.",
|
|
50
|
-
"attribute": "open",
|
|
51
|
-
"reflects": true
|
|
27
|
+
"description": "The container that wraps the suffix.",
|
|
28
|
+
"name": "suffix"
|
|
52
29
|
},
|
|
53
30
|
{
|
|
54
|
-
"
|
|
55
|
-
"name": "
|
|
56
|
-
"type": {
|
|
57
|
-
"text": "boolean"
|
|
58
|
-
},
|
|
59
|
-
"default": "true",
|
|
60
|
-
"attribute": "showArrow"
|
|
31
|
+
"description": "The button's caret icon, an `<sl-icon>` element.",
|
|
32
|
+
"name": "caret"
|
|
61
33
|
},
|
|
62
34
|
{
|
|
63
|
-
"
|
|
64
|
-
"name": "
|
|
65
|
-
"privacy": "private",
|
|
66
|
-
"parameters": [
|
|
67
|
-
{
|
|
68
|
-
"name": "e",
|
|
69
|
-
"type": {
|
|
70
|
-
"text": "Event"
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
]
|
|
74
|
-
}
|
|
75
|
-
],
|
|
76
|
-
"events": [
|
|
77
|
-
{
|
|
78
|
-
"description": "emitted when the accordion opens or closes",
|
|
79
|
-
"name": "terra-accordion-toggle",
|
|
80
|
-
"reactName": "onTerraAccordionToggle",
|
|
81
|
-
"eventName": "TerraAccordionToggleEvent"
|
|
35
|
+
"description": "The spinner that shows when the button is in the loading state.",
|
|
36
|
+
"name": "spinner"
|
|
82
37
|
}
|
|
83
38
|
],
|
|
84
|
-
"
|
|
39
|
+
"slots": [
|
|
85
40
|
{
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"text": "string"
|
|
89
|
-
},
|
|
90
|
-
"description": "The summary/header for the accordion. Use the property for simple text, or the slot for custom content.",
|
|
91
|
-
"fieldName": "summary"
|
|
41
|
+
"description": "The button's label.",
|
|
42
|
+
"name": ""
|
|
92
43
|
},
|
|
93
44
|
{
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"text": "boolean"
|
|
97
|
-
},
|
|
98
|
-
"default": "false",
|
|
99
|
-
"description": "Whether the accordion is open or not. This property is reflected as an attribute and can be controlled programmatically or by user interaction.",
|
|
100
|
-
"fieldName": "open"
|
|
45
|
+
"description": "A presentational prefix icon or similar element.",
|
|
46
|
+
"name": "prefix"
|
|
101
47
|
},
|
|
102
48
|
{
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"text": "boolean"
|
|
106
|
-
},
|
|
107
|
-
"default": "true",
|
|
108
|
-
"fieldName": "showArrow"
|
|
49
|
+
"description": "A presentational suffix icon or similar element.",
|
|
50
|
+
"name": "suffix"
|
|
109
51
|
}
|
|
110
52
|
],
|
|
111
|
-
"
|
|
112
|
-
"name": "TerraElement",
|
|
113
|
-
"module": "/src/internal/terra-element.js"
|
|
114
|
-
},
|
|
115
|
-
"summary": "A collapsible content panel for showing and hiding content.",
|
|
116
|
-
"tagNameWithoutPrefix": "accordion",
|
|
117
|
-
"tagName": "terra-accordion",
|
|
118
|
-
"customElement": true,
|
|
119
|
-
"jsDoc": "/**\n * @summary A collapsible content panel for showing and hiding content.\n * @documentation https://disc.gsfc.nasa.gov/components/accordion\n * @status experimental\n * @since 1.0\n *\n * The TerraAccordion component provides a simple, accessible way to show and hide content. It uses native <details> and <summary> elements for built-in accessibility and keyboard support. The summary/header can be set via the `summary` property for simple text, or via a named `summary` slot for custom content (such as icons or rich HTML). The open state can be controlled with the `open` property, which is reflected as an attribute.\n *\n * @slot - The default slot for accordion content.\n * @slot summary - The summary/header for the accordion (optional, overrides summary property)\n *\n * @property {string} summary - The summary/header for the accordion. Use the property for simple text, or the slot for custom content.\n * @property {boolean} open - Whether the accordion is open or not. This property is reflected as an attribute and can be controlled programmatically or by user interaction.\n *\n * @event terra-accordion-toggle - emitted when the accordion opens or closes\n *\n * @dependency terra-icon\n */",
|
|
120
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/accordion",
|
|
121
|
-
"status": "experimental",
|
|
122
|
-
"since": "1.0",
|
|
123
|
-
"dependencies": [
|
|
124
|
-
"terra-icon"
|
|
125
|
-
]
|
|
126
|
-
}
|
|
127
|
-
],
|
|
128
|
-
"exports": [
|
|
129
|
-
{
|
|
130
|
-
"kind": "js",
|
|
131
|
-
"name": "default",
|
|
132
|
-
"declaration": {
|
|
133
|
-
"name": "TerraAccordion",
|
|
134
|
-
"module": "components/accordion/accordion.js"
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
]
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
"kind": "javascript-module",
|
|
141
|
-
"path": "components/alert/alert.js",
|
|
142
|
-
"declarations": [
|
|
143
|
-
{
|
|
144
|
-
"kind": "class",
|
|
145
|
-
"description": "",
|
|
146
|
-
"name": "TerraAlert",
|
|
147
|
-
"cssParts": [
|
|
53
|
+
"members": [
|
|
148
54
|
{
|
|
149
|
-
"
|
|
150
|
-
"name": "
|
|
55
|
+
"kind": "field",
|
|
56
|
+
"name": "formControlController",
|
|
57
|
+
"privacy": "private",
|
|
58
|
+
"readonly": true,
|
|
59
|
+
"default": "new FormControlController(this, {\n assumeInteractionOn: ['click'],\n })"
|
|
151
60
|
},
|
|
152
61
|
{
|
|
153
|
-
"
|
|
154
|
-
"name": "
|
|
62
|
+
"kind": "field",
|
|
63
|
+
"name": "hasSlotController",
|
|
64
|
+
"privacy": "private",
|
|
65
|
+
"readonly": true,
|
|
66
|
+
"default": "new HasSlotController(\n this,\n '[default]',\n 'prefix',\n 'suffix'\n )"
|
|
155
67
|
},
|
|
156
|
-
{
|
|
157
|
-
"description": "The container that wraps the alert's main content.",
|
|
158
|
-
"name": "message"
|
|
159
|
-
}
|
|
160
|
-
],
|
|
161
|
-
"slots": [
|
|
162
|
-
{
|
|
163
|
-
"description": "The alert's main content.",
|
|
164
|
-
"name": ""
|
|
165
|
-
}
|
|
166
|
-
],
|
|
167
|
-
"members": [
|
|
168
68
|
{
|
|
169
69
|
"kind": "field",
|
|
170
|
-
"name": "
|
|
70
|
+
"name": "button",
|
|
171
71
|
"type": {
|
|
172
|
-
"text": "
|
|
173
|
-
}
|
|
174
|
-
"privacy": "private"
|
|
72
|
+
"text": "HTMLButtonElement | HTMLLinkElement"
|
|
73
|
+
}
|
|
175
74
|
},
|
|
176
75
|
{
|
|
177
76
|
"kind": "field",
|
|
178
|
-
"name": "
|
|
77
|
+
"name": "hasFocus",
|
|
179
78
|
"type": {
|
|
180
|
-
"text": "
|
|
79
|
+
"text": "boolean"
|
|
181
80
|
},
|
|
182
|
-
"privacy": "private"
|
|
81
|
+
"privacy": "private",
|
|
82
|
+
"default": "false"
|
|
183
83
|
},
|
|
184
84
|
{
|
|
185
85
|
"kind": "field",
|
|
186
|
-
"name": "
|
|
86
|
+
"name": "invalid",
|
|
187
87
|
"type": {
|
|
188
|
-
"text": "
|
|
88
|
+
"text": "boolean"
|
|
189
89
|
},
|
|
190
|
-
"
|
|
90
|
+
"default": "false"
|
|
191
91
|
},
|
|
192
92
|
{
|
|
193
93
|
"kind": "field",
|
|
194
|
-
"name": "
|
|
195
|
-
"
|
|
196
|
-
|
|
197
|
-
|
|
94
|
+
"name": "title",
|
|
95
|
+
"type": {
|
|
96
|
+
"text": "string"
|
|
97
|
+
},
|
|
98
|
+
"default": "''",
|
|
99
|
+
"attribute": "title"
|
|
198
100
|
},
|
|
199
101
|
{
|
|
200
102
|
"kind": "field",
|
|
201
|
-
"name": "
|
|
103
|
+
"name": "variant",
|
|
202
104
|
"type": {
|
|
203
|
-
"text": "
|
|
105
|
+
"text": "| 'default'\n | 'primary'\n | 'success'\n | 'warning'\n | 'danger'\n | 'text'\n | 'pagelink'"
|
|
204
106
|
},
|
|
205
|
-
"
|
|
206
|
-
"
|
|
107
|
+
"default": "'primary'",
|
|
108
|
+
"description": "The button's theme variant.",
|
|
109
|
+
"attribute": "variant",
|
|
110
|
+
"reflects": true
|
|
207
111
|
},
|
|
208
112
|
{
|
|
209
113
|
"kind": "field",
|
|
210
|
-
"name": "
|
|
211
|
-
"
|
|
212
|
-
|
|
213
|
-
|
|
114
|
+
"name": "size",
|
|
115
|
+
"type": {
|
|
116
|
+
"text": "'small' | 'medium' | 'large'"
|
|
117
|
+
},
|
|
118
|
+
"default": "'medium'",
|
|
119
|
+
"description": "The button's size.",
|
|
120
|
+
"attribute": "size",
|
|
121
|
+
"reflects": true
|
|
214
122
|
},
|
|
215
123
|
{
|
|
216
124
|
"kind": "field",
|
|
217
|
-
"name": "
|
|
125
|
+
"name": "caret",
|
|
218
126
|
"type": {
|
|
219
|
-
"text": "
|
|
220
|
-
}
|
|
127
|
+
"text": "boolean"
|
|
128
|
+
},
|
|
129
|
+
"default": "false",
|
|
130
|
+
"description": "Draws the button with a caret. Used to indicate that the button triggers a dropdown menu or similar behavior.",
|
|
131
|
+
"attribute": "caret",
|
|
132
|
+
"reflects": true
|
|
221
133
|
},
|
|
222
134
|
{
|
|
223
135
|
"kind": "field",
|
|
224
|
-
"name": "
|
|
136
|
+
"name": "shape",
|
|
225
137
|
"type": {
|
|
226
|
-
"text": "
|
|
227
|
-
}
|
|
138
|
+
"text": "'square' | 'square-left' | 'square-right'"
|
|
139
|
+
},
|
|
140
|
+
"description": "The button's shape. Used to control the radius edge shape when button is not in a terra-button-group.",
|
|
141
|
+
"attribute": "shape",
|
|
142
|
+
"reflects": true
|
|
228
143
|
},
|
|
229
144
|
{
|
|
230
145
|
"kind": "field",
|
|
231
|
-
"name": "
|
|
146
|
+
"name": "disabled",
|
|
232
147
|
"type": {
|
|
233
148
|
"text": "boolean"
|
|
234
149
|
},
|
|
235
150
|
"default": "false",
|
|
236
|
-
"description": "
|
|
237
|
-
"attribute": "
|
|
151
|
+
"description": "Disables the button.",
|
|
152
|
+
"attribute": "disabled",
|
|
238
153
|
"reflects": true
|
|
239
154
|
},
|
|
240
155
|
{
|
|
241
156
|
"kind": "field",
|
|
242
|
-
"name": "
|
|
157
|
+
"name": "loading",
|
|
243
158
|
"type": {
|
|
244
159
|
"text": "boolean"
|
|
245
160
|
},
|
|
246
161
|
"default": "false",
|
|
247
|
-
"description": "
|
|
248
|
-
"attribute": "
|
|
162
|
+
"description": "Draws the button in a loading state.",
|
|
163
|
+
"attribute": "loading",
|
|
249
164
|
"reflects": true
|
|
250
165
|
},
|
|
251
166
|
{
|
|
252
167
|
"kind": "field",
|
|
253
|
-
"name": "
|
|
168
|
+
"name": "outline",
|
|
254
169
|
"type": {
|
|
255
|
-
"text": "
|
|
170
|
+
"text": "boolean"
|
|
256
171
|
},
|
|
257
|
-
"default": "
|
|
258
|
-
"description": "
|
|
259
|
-
"attribute": "
|
|
172
|
+
"default": "false",
|
|
173
|
+
"description": "Draws an outlined button.",
|
|
174
|
+
"attribute": "outline",
|
|
260
175
|
"reflects": true
|
|
261
176
|
},
|
|
262
177
|
{
|
|
263
178
|
"kind": "field",
|
|
264
|
-
"name": "
|
|
265
|
-
"default": "Infinity",
|
|
266
|
-
"description": "The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with\nthe alert before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\nthe alert will not close on its own.",
|
|
267
|
-
"attribute": "duration"
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"kind": "field",
|
|
271
|
-
"name": "countdown",
|
|
179
|
+
"name": "circle",
|
|
272
180
|
"type": {
|
|
273
|
-
"text": "
|
|
181
|
+
"text": "boolean"
|
|
274
182
|
},
|
|
275
|
-
"
|
|
276
|
-
"
|
|
183
|
+
"default": "false",
|
|
184
|
+
"description": "Draws a circular icon button. When this attribute is present, the button expects a single `<terra-icon>` in the\ndefault slot.",
|
|
185
|
+
"attribute": "circle",
|
|
277
186
|
"reflects": true
|
|
278
187
|
},
|
|
279
188
|
{
|
|
280
189
|
"kind": "field",
|
|
281
|
-
"name": "
|
|
282
|
-
"
|
|
190
|
+
"name": "type",
|
|
191
|
+
"type": {
|
|
192
|
+
"text": "'button' | 'submit' | 'reset'"
|
|
193
|
+
},
|
|
194
|
+
"default": "'button'",
|
|
195
|
+
"description": "The type of button. Note that the default value is `button` instead of `submit`, which is opposite of how native\n`<button>` elements behave. When the type is `submit`, the button will submit the surrounding form.",
|
|
196
|
+
"attribute": "type"
|
|
283
197
|
},
|
|
284
198
|
{
|
|
285
|
-
"kind": "
|
|
286
|
-
"name": "
|
|
287
|
-
"
|
|
199
|
+
"kind": "field",
|
|
200
|
+
"name": "name",
|
|
201
|
+
"type": {
|
|
202
|
+
"text": "string"
|
|
203
|
+
},
|
|
204
|
+
"default": "''",
|
|
205
|
+
"description": "The name of the button, submitted as a name/value pair with form data, but only when this button is the submitter.\nThis attribute is ignored when `href` is present.",
|
|
206
|
+
"attribute": "name"
|
|
288
207
|
},
|
|
289
208
|
{
|
|
290
|
-
"kind": "
|
|
291
|
-
"name": "
|
|
292
|
-
"
|
|
209
|
+
"kind": "field",
|
|
210
|
+
"name": "value",
|
|
211
|
+
"type": {
|
|
212
|
+
"text": "string"
|
|
213
|
+
},
|
|
214
|
+
"default": "''",
|
|
215
|
+
"description": "The value of the button, submitted as a pair with the button's name as part of the form data, but only when this\nbutton is the submitter. This attribute is ignored when `href` is present.",
|
|
216
|
+
"attribute": "value"
|
|
293
217
|
},
|
|
294
218
|
{
|
|
295
|
-
"kind": "
|
|
296
|
-
"name": "
|
|
297
|
-
"
|
|
219
|
+
"kind": "field",
|
|
220
|
+
"name": "href",
|
|
221
|
+
"type": {
|
|
222
|
+
"text": "string"
|
|
223
|
+
},
|
|
224
|
+
"default": "''",
|
|
225
|
+
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
226
|
+
"attribute": "href"
|
|
298
227
|
},
|
|
299
228
|
{
|
|
300
|
-
"kind": "
|
|
301
|
-
"name": "
|
|
302
|
-
"
|
|
229
|
+
"kind": "field",
|
|
230
|
+
"name": "target",
|
|
231
|
+
"type": {
|
|
232
|
+
"text": "'_blank' | '_parent' | '_self' | '_top'"
|
|
233
|
+
},
|
|
234
|
+
"description": "Tells the browser where to open the link. Only used when `href` is present.",
|
|
235
|
+
"attribute": "target"
|
|
303
236
|
},
|
|
304
237
|
{
|
|
305
|
-
"kind": "
|
|
306
|
-
"name": "
|
|
307
|
-
"
|
|
238
|
+
"kind": "field",
|
|
239
|
+
"name": "rel",
|
|
240
|
+
"type": {
|
|
241
|
+
"text": "string"
|
|
242
|
+
},
|
|
243
|
+
"default": "'noreferrer noopener'",
|
|
244
|
+
"description": "When using `href`, this attribute will map to the underlying link's `rel` attribute. Unlike regular links, the\ndefault is `noreferrer noopener` to prevent security exploits. However, if you're using `target` to point to a\nspecific tab/window, this will prevent that from working correctly. You can remove or change the default value by\nsetting the attribute to an empty string or a value of your choice, respectively.",
|
|
245
|
+
"attribute": "rel"
|
|
308
246
|
},
|
|
309
247
|
{
|
|
310
|
-
"kind": "
|
|
311
|
-
"name": "
|
|
248
|
+
"kind": "field",
|
|
249
|
+
"name": "download",
|
|
250
|
+
"type": {
|
|
251
|
+
"text": "string | undefined"
|
|
252
|
+
},
|
|
253
|
+
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
|
|
254
|
+
"attribute": "download"
|
|
312
255
|
},
|
|
313
256
|
{
|
|
314
|
-
"kind": "
|
|
315
|
-
"name": "
|
|
257
|
+
"kind": "field",
|
|
258
|
+
"name": "form",
|
|
259
|
+
"type": {
|
|
260
|
+
"text": "string"
|
|
261
|
+
},
|
|
262
|
+
"description": "The \"form owner\" to associate the button with. If omitted, the closest containing form will be used instead. The\nvalue of this attribute must be an id of a form in the same document or shadow root as the button.",
|
|
263
|
+
"attribute": "form"
|
|
316
264
|
},
|
|
317
265
|
{
|
|
318
|
-
"kind": "
|
|
319
|
-
"name": "
|
|
320
|
-
"
|
|
266
|
+
"kind": "field",
|
|
267
|
+
"name": "formAction",
|
|
268
|
+
"type": {
|
|
269
|
+
"text": "string"
|
|
270
|
+
},
|
|
271
|
+
"description": "Used to override the form owner's `action` attribute.",
|
|
272
|
+
"attribute": "formaction"
|
|
321
273
|
},
|
|
322
274
|
{
|
|
323
|
-
"kind": "
|
|
324
|
-
"name": "
|
|
325
|
-
"
|
|
275
|
+
"kind": "field",
|
|
276
|
+
"name": "formEnctype",
|
|
277
|
+
"type": {
|
|
278
|
+
"text": "| 'application/x-www-form-urlencoded'\n | 'multipart/form-data'\n | 'text/plain'"
|
|
279
|
+
},
|
|
280
|
+
"description": "Used to override the form owner's `enctype` attribute.",
|
|
281
|
+
"attribute": "formenctype"
|
|
326
282
|
},
|
|
327
283
|
{
|
|
328
|
-
"kind": "
|
|
329
|
-
"name": "
|
|
330
|
-
"
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
"description": "Emitted when the alert opens.",
|
|
336
|
-
"name": "terra-show",
|
|
337
|
-
"reactName": "onTerraShow",
|
|
338
|
-
"eventName": "TerraShowEvent"
|
|
284
|
+
"kind": "field",
|
|
285
|
+
"name": "formMethod",
|
|
286
|
+
"type": {
|
|
287
|
+
"text": "'post' | 'get'"
|
|
288
|
+
},
|
|
289
|
+
"description": "Used to override the form owner's `method` attribute.",
|
|
290
|
+
"attribute": "formmethod"
|
|
339
291
|
},
|
|
340
292
|
{
|
|
341
|
-
"
|
|
342
|
-
"name": "
|
|
343
|
-
"
|
|
344
|
-
|
|
293
|
+
"kind": "field",
|
|
294
|
+
"name": "formNoValidate",
|
|
295
|
+
"type": {
|
|
296
|
+
"text": "boolean"
|
|
297
|
+
},
|
|
298
|
+
"description": "Used to override the form owner's `novalidate` attribute.",
|
|
299
|
+
"attribute": "formnovalidate"
|
|
345
300
|
},
|
|
346
301
|
{
|
|
347
|
-
"
|
|
348
|
-
"name": "
|
|
349
|
-
"
|
|
350
|
-
|
|
302
|
+
"kind": "field",
|
|
303
|
+
"name": "formTarget",
|
|
304
|
+
"type": {
|
|
305
|
+
"text": "| '_self'\n | '_blank'\n | '_parent'\n | '_top'\n | string"
|
|
306
|
+
},
|
|
307
|
+
"description": "Used to override the form owner's `target` attribute.",
|
|
308
|
+
"attribute": "formtarget"
|
|
351
309
|
},
|
|
352
310
|
{
|
|
353
|
-
"
|
|
354
|
-
"name": "
|
|
355
|
-
"reactName": "onTerraAfterHide",
|
|
356
|
-
"eventName": "TerraAfterHideEvent"
|
|
357
|
-
}
|
|
358
|
-
],
|
|
359
|
-
"attributes": [
|
|
360
|
-
{
|
|
361
|
-
"name": "open",
|
|
311
|
+
"kind": "field",
|
|
312
|
+
"name": "forDialog",
|
|
362
313
|
"type": {
|
|
363
|
-
"text": "
|
|
314
|
+
"text": "string | undefined"
|
|
364
315
|
},
|
|
365
|
-
"
|
|
366
|
-
"
|
|
367
|
-
"fieldName": "open"
|
|
316
|
+
"description": "Used to connect this button to a dqialog on the page. Clicking the button will toggle the dialog's visiblity",
|
|
317
|
+
"attribute": "for-dialog"
|
|
368
318
|
},
|
|
369
319
|
{
|
|
370
|
-
"
|
|
320
|
+
"kind": "field",
|
|
321
|
+
"name": "expanded",
|
|
371
322
|
"type": {
|
|
372
323
|
"text": "boolean"
|
|
373
324
|
},
|
|
374
325
|
"default": "false",
|
|
375
|
-
"description": "
|
|
376
|
-
"fieldName": "closable"
|
|
326
|
+
"description": "if button is used to control another element on the page, such as an accordion or dialog, this state communicates whether the controlled element is expanded"
|
|
377
327
|
},
|
|
378
328
|
{
|
|
379
|
-
"
|
|
380
|
-
"
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
"default": "'primary'",
|
|
384
|
-
"description": "The alert's theme variant.",
|
|
385
|
-
"fieldName": "variant"
|
|
329
|
+
"kind": "field",
|
|
330
|
+
"name": "validity",
|
|
331
|
+
"description": "Gets the validity state object",
|
|
332
|
+
"readonly": true
|
|
386
333
|
},
|
|
387
334
|
{
|
|
388
|
-
"
|
|
389
|
-
"
|
|
390
|
-
"description": "
|
|
391
|
-
"
|
|
392
|
-
"module": "src/components/alert/alert.component.ts"
|
|
393
|
-
},
|
|
394
|
-
"fieldName": "duration"
|
|
335
|
+
"kind": "field",
|
|
336
|
+
"name": "validationMessage",
|
|
337
|
+
"description": "Gets the validation message",
|
|
338
|
+
"readonly": true
|
|
395
339
|
},
|
|
396
340
|
{
|
|
397
|
-
"
|
|
398
|
-
"
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
},
|
|
409
|
-
"summary": "Alerts are used to display important messages inline or as toast notifications.",
|
|
410
|
-
"tagNameWithoutPrefix": "alert",
|
|
411
|
-
"tagName": "terra-alert",
|
|
412
|
-
"customElement": true,
|
|
413
|
-
"jsDoc": "/**\n * @summary Alerts are used to display important messages inline or as toast notifications.\n * @documentation https://shoelace.style/components/alert\n * @status stable\n * @since 2.0\n *\n * @slot - The alert's main content.\n *\n * @event terra-show - Emitted when the alert opens.\n * @event terra-after-show - Emitted after the alert opens and all animations are complete.\n * @event terra-hide - Emitted when the alert closes.\n * @event terra-after-hide - Emitted after the alert closes and all animations are complete.\n *\n * @csspart base - The component's base wrapper.\n * @csspart icon - The container that wraps the optional icon.\n * @csspart message - The container that wraps the alert's main content.\n *\n * @animation alert.show - The animation to use when showing the alert.\n * @animation alert.hide - The animation to use when hiding the alert.\n */",
|
|
414
|
-
"documentation": "https://shoelace.style/components/alert",
|
|
415
|
-
"status": "stable",
|
|
416
|
-
"since": "2.0",
|
|
417
|
-
"animations": [
|
|
341
|
+
"kind": "method",
|
|
342
|
+
"name": "#handleDialogStateChange",
|
|
343
|
+
"parameters": [
|
|
344
|
+
{
|
|
345
|
+
"name": "e",
|
|
346
|
+
"type": {
|
|
347
|
+
"text": "TerraDialogShowEvent | TerraDialogHideEvent"
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
]
|
|
351
|
+
},
|
|
418
352
|
{
|
|
419
|
-
"
|
|
420
|
-
"
|
|
353
|
+
"kind": "method",
|
|
354
|
+
"name": "handleBlur",
|
|
355
|
+
"privacy": "private"
|
|
421
356
|
},
|
|
422
357
|
{
|
|
423
|
-
"
|
|
424
|
-
"
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
}
|
|
428
|
-
],
|
|
429
|
-
"exports": [
|
|
430
|
-
{
|
|
431
|
-
"kind": "js",
|
|
432
|
-
"name": "default",
|
|
433
|
-
"declaration": {
|
|
434
|
-
"name": "TerraAlert",
|
|
435
|
-
"module": "components/alert/alert.js"
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
]
|
|
439
|
-
},
|
|
440
|
-
{
|
|
441
|
-
"kind": "javascript-module",
|
|
442
|
-
"path": "components/button/button.js",
|
|
443
|
-
"declarations": [
|
|
444
|
-
{
|
|
445
|
-
"kind": "class",
|
|
446
|
-
"description": "",
|
|
447
|
-
"name": "TerraButton",
|
|
448
|
-
"cssParts": [
|
|
358
|
+
"kind": "method",
|
|
359
|
+
"name": "handleFocus",
|
|
360
|
+
"privacy": "private"
|
|
361
|
+
},
|
|
449
362
|
{
|
|
450
|
-
"
|
|
451
|
-
"name": "
|
|
363
|
+
"kind": "method",
|
|
364
|
+
"name": "handleClick",
|
|
365
|
+
"privacy": "private"
|
|
452
366
|
},
|
|
453
367
|
{
|
|
454
|
-
"
|
|
455
|
-
"name": "
|
|
368
|
+
"kind": "method",
|
|
369
|
+
"name": "handleInvalid",
|
|
370
|
+
"privacy": "private",
|
|
371
|
+
"parameters": [
|
|
372
|
+
{
|
|
373
|
+
"name": "event",
|
|
374
|
+
"type": {
|
|
375
|
+
"text": "Event"
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
]
|
|
456
379
|
},
|
|
457
380
|
{
|
|
458
|
-
"
|
|
459
|
-
"name": "
|
|
381
|
+
"kind": "method",
|
|
382
|
+
"name": "isButton",
|
|
383
|
+
"privacy": "private"
|
|
460
384
|
},
|
|
461
385
|
{
|
|
462
|
-
"
|
|
463
|
-
"name": "
|
|
386
|
+
"kind": "method",
|
|
387
|
+
"name": "isLink",
|
|
388
|
+
"privacy": "private"
|
|
464
389
|
},
|
|
465
390
|
{
|
|
466
|
-
"
|
|
467
|
-
"name": "
|
|
391
|
+
"kind": "method",
|
|
392
|
+
"name": "handleDisabledChange"
|
|
468
393
|
},
|
|
469
394
|
{
|
|
470
|
-
"
|
|
471
|
-
"name": "
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
"slots": [
|
|
395
|
+
"kind": "method",
|
|
396
|
+
"name": "click",
|
|
397
|
+
"description": "Simulates a click on the button."
|
|
398
|
+
},
|
|
475
399
|
{
|
|
476
|
-
"
|
|
477
|
-
"name": ""
|
|
400
|
+
"kind": "method",
|
|
401
|
+
"name": "focus",
|
|
402
|
+
"parameters": [
|
|
403
|
+
{
|
|
404
|
+
"name": "options",
|
|
405
|
+
"optional": true,
|
|
406
|
+
"type": {
|
|
407
|
+
"text": "FocusOptions"
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
],
|
|
411
|
+
"description": "Sets focus on the button."
|
|
478
412
|
},
|
|
479
413
|
{
|
|
480
|
-
"
|
|
481
|
-
"name": "
|
|
414
|
+
"kind": "method",
|
|
415
|
+
"name": "blur",
|
|
416
|
+
"description": "Removes focus from the button."
|
|
482
417
|
},
|
|
483
418
|
{
|
|
484
|
-
"
|
|
485
|
-
"name": "
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
"members": [
|
|
419
|
+
"kind": "method",
|
|
420
|
+
"name": "checkValidity",
|
|
421
|
+
"description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
|
|
422
|
+
},
|
|
489
423
|
{
|
|
490
|
-
"kind": "
|
|
491
|
-
"name": "
|
|
492
|
-
"
|
|
493
|
-
|
|
494
|
-
|
|
424
|
+
"kind": "method",
|
|
425
|
+
"name": "getForm",
|
|
426
|
+
"return": {
|
|
427
|
+
"type": {
|
|
428
|
+
"text": "HTMLFormElement | null"
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
"description": "Gets the associated form, if one exists."
|
|
495
432
|
},
|
|
496
433
|
{
|
|
497
|
-
"kind": "
|
|
498
|
-
"name": "
|
|
499
|
-
"
|
|
500
|
-
"readonly": true,
|
|
501
|
-
"default": "new HasSlotController(\n this,\n '[default]',\n 'prefix',\n 'suffix'\n )"
|
|
434
|
+
"kind": "method",
|
|
435
|
+
"name": "reportValidity",
|
|
436
|
+
"description": "Checks for validity and shows the browser's validation message if the control is invalid."
|
|
502
437
|
},
|
|
503
438
|
{
|
|
504
|
-
"kind": "
|
|
505
|
-
"name": "
|
|
506
|
-
"
|
|
507
|
-
|
|
508
|
-
|
|
439
|
+
"kind": "method",
|
|
440
|
+
"name": "setCustomValidity",
|
|
441
|
+
"parameters": [
|
|
442
|
+
{
|
|
443
|
+
"name": "message",
|
|
444
|
+
"type": {
|
|
445
|
+
"text": "string"
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
],
|
|
449
|
+
"description": "Sets a custom validation message. Pass an empty string to restore validity."
|
|
509
450
|
},
|
|
510
451
|
{
|
|
511
|
-
"kind": "
|
|
512
|
-
"name": "
|
|
513
|
-
"
|
|
514
|
-
"
|
|
452
|
+
"kind": "method",
|
|
453
|
+
"name": "setPageLinkIcon",
|
|
454
|
+
"return": {
|
|
455
|
+
"type": {
|
|
456
|
+
"text": "string"
|
|
457
|
+
}
|
|
515
458
|
},
|
|
516
|
-
"
|
|
517
|
-
|
|
459
|
+
"parameters": [
|
|
460
|
+
{
|
|
461
|
+
"name": "href",
|
|
462
|
+
"type": {
|
|
463
|
+
"text": "string"
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
]
|
|
518
467
|
},
|
|
519
468
|
{
|
|
520
|
-
"kind": "
|
|
521
|
-
"name": "
|
|
522
|
-
"
|
|
523
|
-
"
|
|
469
|
+
"kind": "method",
|
|
470
|
+
"name": "setFontSize",
|
|
471
|
+
"return": {
|
|
472
|
+
"type": {
|
|
473
|
+
"text": "string"
|
|
474
|
+
}
|
|
524
475
|
},
|
|
525
|
-
"
|
|
526
|
-
|
|
476
|
+
"parameters": [
|
|
477
|
+
{
|
|
478
|
+
"name": "size",
|
|
479
|
+
"type": {
|
|
480
|
+
"text": "string"
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
]
|
|
484
|
+
}
|
|
485
|
+
],
|
|
486
|
+
"attributes": [
|
|
527
487
|
{
|
|
528
|
-
"kind": "field",
|
|
529
488
|
"name": "title",
|
|
530
489
|
"type": {
|
|
531
490
|
"text": "string"
|
|
532
491
|
},
|
|
533
492
|
"default": "''",
|
|
534
|
-
"
|
|
493
|
+
"fieldName": "title"
|
|
535
494
|
},
|
|
536
495
|
{
|
|
537
|
-
"kind": "field",
|
|
538
496
|
"name": "variant",
|
|
539
497
|
"type": {
|
|
540
498
|
"text": "| 'default'\n | 'primary'\n | 'success'\n | 'warning'\n | 'danger'\n | 'text'\n | 'pagelink'"
|
|
541
499
|
},
|
|
542
500
|
"default": "'primary'",
|
|
543
501
|
"description": "The button's theme variant.",
|
|
544
|
-
"
|
|
545
|
-
"reflects": true
|
|
502
|
+
"fieldName": "variant"
|
|
546
503
|
},
|
|
547
504
|
{
|
|
548
|
-
"kind": "field",
|
|
549
505
|
"name": "size",
|
|
550
506
|
"type": {
|
|
551
507
|
"text": "'small' | 'medium' | 'large'"
|
|
552
508
|
},
|
|
553
509
|
"default": "'medium'",
|
|
554
510
|
"description": "The button's size.",
|
|
555
|
-
"
|
|
556
|
-
"reflects": true
|
|
511
|
+
"fieldName": "size"
|
|
557
512
|
},
|
|
558
513
|
{
|
|
559
|
-
"kind": "field",
|
|
560
514
|
"name": "caret",
|
|
561
515
|
"type": {
|
|
562
516
|
"text": "boolean"
|
|
563
517
|
},
|
|
564
518
|
"default": "false",
|
|
565
519
|
"description": "Draws the button with a caret. Used to indicate that the button triggers a dropdown menu or similar behavior.",
|
|
566
|
-
"
|
|
567
|
-
"reflects": true
|
|
520
|
+
"fieldName": "caret"
|
|
568
521
|
},
|
|
569
522
|
{
|
|
570
|
-
"kind": "field",
|
|
571
523
|
"name": "shape",
|
|
572
524
|
"type": {
|
|
573
525
|
"text": "'square' | 'square-left' | 'square-right'"
|
|
574
526
|
},
|
|
575
527
|
"description": "The button's shape. Used to control the radius edge shape when button is not in a terra-button-group.",
|
|
576
|
-
"
|
|
577
|
-
"reflects": true
|
|
528
|
+
"fieldName": "shape"
|
|
578
529
|
},
|
|
579
530
|
{
|
|
580
|
-
"kind": "field",
|
|
581
531
|
"name": "disabled",
|
|
582
532
|
"type": {
|
|
583
533
|
"text": "boolean"
|
|
584
534
|
},
|
|
585
535
|
"default": "false",
|
|
586
536
|
"description": "Disables the button.",
|
|
587
|
-
"
|
|
588
|
-
"reflects": true
|
|
537
|
+
"fieldName": "disabled"
|
|
589
538
|
},
|
|
590
539
|
{
|
|
591
|
-
"kind": "field",
|
|
592
540
|
"name": "loading",
|
|
593
541
|
"type": {
|
|
594
542
|
"text": "boolean"
|
|
595
543
|
},
|
|
596
544
|
"default": "false",
|
|
597
545
|
"description": "Draws the button in a loading state.",
|
|
598
|
-
"
|
|
599
|
-
"reflects": true
|
|
546
|
+
"fieldName": "loading"
|
|
600
547
|
},
|
|
601
548
|
{
|
|
602
|
-
"kind": "field",
|
|
603
549
|
"name": "outline",
|
|
604
550
|
"type": {
|
|
605
551
|
"text": "boolean"
|
|
606
552
|
},
|
|
607
553
|
"default": "false",
|
|
608
554
|
"description": "Draws an outlined button.",
|
|
609
|
-
"
|
|
610
|
-
"reflects": true
|
|
555
|
+
"fieldName": "outline"
|
|
611
556
|
},
|
|
612
557
|
{
|
|
613
|
-
"kind": "field",
|
|
614
558
|
"name": "circle",
|
|
615
559
|
"type": {
|
|
616
560
|
"text": "boolean"
|
|
617
561
|
},
|
|
618
562
|
"default": "false",
|
|
619
563
|
"description": "Draws a circular icon button. When this attribute is present, the button expects a single `<terra-icon>` in the\ndefault slot.",
|
|
620
|
-
"
|
|
621
|
-
"reflects": true
|
|
564
|
+
"fieldName": "circle"
|
|
622
565
|
},
|
|
623
566
|
{
|
|
624
|
-
"kind": "field",
|
|
625
567
|
"name": "type",
|
|
626
568
|
"type": {
|
|
627
569
|
"text": "'button' | 'submit' | 'reset'"
|
|
628
570
|
},
|
|
629
571
|
"default": "'button'",
|
|
630
572
|
"description": "The type of button. Note that the default value is `button` instead of `submit`, which is opposite of how native\n`<button>` elements behave. When the type is `submit`, the button will submit the surrounding form.",
|
|
631
|
-
"
|
|
573
|
+
"fieldName": "type"
|
|
632
574
|
},
|
|
633
575
|
{
|
|
634
|
-
"kind": "field",
|
|
635
576
|
"name": "name",
|
|
636
577
|
"type": {
|
|
637
578
|
"text": "string"
|
|
638
579
|
},
|
|
639
580
|
"default": "''",
|
|
640
581
|
"description": "The name of the button, submitted as a name/value pair with form data, but only when this button is the submitter.\nThis attribute is ignored when `href` is present.",
|
|
641
|
-
"
|
|
582
|
+
"fieldName": "name"
|
|
642
583
|
},
|
|
643
584
|
{
|
|
644
|
-
"kind": "field",
|
|
645
585
|
"name": "value",
|
|
646
586
|
"type": {
|
|
647
587
|
"text": "string"
|
|
648
588
|
},
|
|
649
589
|
"default": "''",
|
|
650
590
|
"description": "The value of the button, submitted as a pair with the button's name as part of the form data, but only when this\nbutton is the submitter. This attribute is ignored when `href` is present.",
|
|
651
|
-
"
|
|
591
|
+
"fieldName": "value"
|
|
652
592
|
},
|
|
653
593
|
{
|
|
654
|
-
"kind": "field",
|
|
655
594
|
"name": "href",
|
|
656
595
|
"type": {
|
|
657
596
|
"text": "string"
|
|
658
597
|
},
|
|
659
598
|
"default": "''",
|
|
660
599
|
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
661
|
-
"
|
|
600
|
+
"fieldName": "href"
|
|
662
601
|
},
|
|
663
602
|
{
|
|
664
|
-
"kind": "field",
|
|
665
603
|
"name": "target",
|
|
666
604
|
"type": {
|
|
667
605
|
"text": "'_blank' | '_parent' | '_self' | '_top'"
|
|
668
606
|
},
|
|
669
607
|
"description": "Tells the browser where to open the link. Only used when `href` is present.",
|
|
670
|
-
"
|
|
608
|
+
"fieldName": "target"
|
|
671
609
|
},
|
|
672
610
|
{
|
|
673
|
-
"kind": "field",
|
|
674
611
|
"name": "rel",
|
|
675
612
|
"type": {
|
|
676
613
|
"text": "string"
|
|
677
614
|
},
|
|
678
615
|
"default": "'noreferrer noopener'",
|
|
679
616
|
"description": "When using `href`, this attribute will map to the underlying link's `rel` attribute. Unlike regular links, the\ndefault is `noreferrer noopener` to prevent security exploits. However, if you're using `target` to point to a\nspecific tab/window, this will prevent that from working correctly. You can remove or change the default value by\nsetting the attribute to an empty string or a value of your choice, respectively.",
|
|
680
|
-
"
|
|
617
|
+
"fieldName": "rel"
|
|
681
618
|
},
|
|
682
619
|
{
|
|
683
|
-
"kind": "field",
|
|
684
620
|
"name": "download",
|
|
685
621
|
"type": {
|
|
686
622
|
"text": "string | undefined"
|
|
687
623
|
},
|
|
688
624
|
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
|
|
689
|
-
"
|
|
625
|
+
"fieldName": "download"
|
|
690
626
|
},
|
|
691
627
|
{
|
|
692
|
-
"kind": "field",
|
|
693
628
|
"name": "form",
|
|
694
629
|
"type": {
|
|
695
630
|
"text": "string"
|
|
696
631
|
},
|
|
697
632
|
"description": "The \"form owner\" to associate the button with. If omitted, the closest containing form will be used instead. The\nvalue of this attribute must be an id of a form in the same document or shadow root as the button.",
|
|
698
|
-
"
|
|
633
|
+
"fieldName": "form"
|
|
699
634
|
},
|
|
700
635
|
{
|
|
701
|
-
"
|
|
702
|
-
"name": "formAction",
|
|
636
|
+
"name": "formaction",
|
|
703
637
|
"type": {
|
|
704
638
|
"text": "string"
|
|
705
639
|
},
|
|
706
640
|
"description": "Used to override the form owner's `action` attribute.",
|
|
707
|
-
"
|
|
641
|
+
"fieldName": "formAction"
|
|
708
642
|
},
|
|
709
643
|
{
|
|
710
|
-
"
|
|
711
|
-
"name": "formEnctype",
|
|
644
|
+
"name": "formenctype",
|
|
712
645
|
"type": {
|
|
713
646
|
"text": "| 'application/x-www-form-urlencoded'\n | 'multipart/form-data'\n | 'text/plain'"
|
|
714
647
|
},
|
|
715
648
|
"description": "Used to override the form owner's `enctype` attribute.",
|
|
716
|
-
"
|
|
649
|
+
"fieldName": "formEnctype"
|
|
717
650
|
},
|
|
718
651
|
{
|
|
719
|
-
"
|
|
720
|
-
"name": "formMethod",
|
|
652
|
+
"name": "formmethod",
|
|
721
653
|
"type": {
|
|
722
654
|
"text": "'post' | 'get'"
|
|
723
655
|
},
|
|
724
656
|
"description": "Used to override the form owner's `method` attribute.",
|
|
725
|
-
"
|
|
657
|
+
"fieldName": "formMethod"
|
|
726
658
|
},
|
|
727
659
|
{
|
|
728
|
-
"
|
|
729
|
-
"name": "formNoValidate",
|
|
660
|
+
"name": "formnovalidate",
|
|
730
661
|
"type": {
|
|
731
662
|
"text": "boolean"
|
|
732
663
|
},
|
|
733
664
|
"description": "Used to override the form owner's `novalidate` attribute.",
|
|
734
|
-
"
|
|
665
|
+
"fieldName": "formNoValidate"
|
|
735
666
|
},
|
|
736
667
|
{
|
|
737
|
-
"
|
|
738
|
-
"name": "formTarget",
|
|
668
|
+
"name": "formtarget",
|
|
739
669
|
"type": {
|
|
740
670
|
"text": "| '_self'\n | '_blank'\n | '_parent'\n | '_top'\n | string"
|
|
741
671
|
},
|
|
742
672
|
"description": "Used to override the form owner's `target` attribute.",
|
|
743
|
-
"
|
|
673
|
+
"fieldName": "formTarget"
|
|
744
674
|
},
|
|
745
675
|
{
|
|
746
|
-
"
|
|
747
|
-
"name": "forDialog",
|
|
676
|
+
"name": "for-dialog",
|
|
748
677
|
"type": {
|
|
749
678
|
"text": "string | undefined"
|
|
750
679
|
},
|
|
751
680
|
"description": "Used to connect this button to a dqialog on the page. Clicking the button will toggle the dialog's visiblity",
|
|
752
|
-
"
|
|
753
|
-
}
|
|
754
|
-
|
|
681
|
+
"fieldName": "forDialog"
|
|
682
|
+
}
|
|
683
|
+
],
|
|
684
|
+
"superclass": {
|
|
685
|
+
"name": "TerraElement",
|
|
686
|
+
"module": "/src/internal/terra-element.js"
|
|
687
|
+
},
|
|
688
|
+
"summary": "Buttons represent actions that are available to the user.",
|
|
689
|
+
"tagNameWithoutPrefix": "button",
|
|
690
|
+
"tagName": "terra-button",
|
|
691
|
+
"customElement": true,
|
|
692
|
+
"jsDoc": "/**\n * @summary Buttons represent actions that are available to the user.\n * @documentation https://shoelace.style/components/button\n * @status stable\n * @since 2.0\n *\n * @slot - The button's label.\n * @slot prefix - A presentational prefix icon or similar element.\n * @slot suffix - A presentational suffix icon or similar element.\n *\n * @csspart base - The component's base wrapper.\n * @csspart prefix - The container that wraps the prefix.\n * @csspart label - The button's label.\n * @csspart suffix - The container that wraps the suffix.\n * @csspart caret - The button's caret icon, an `<sl-icon>` element.\n * @csspart spinner - The spinner that shows when the button is in the loading state.\n */",
|
|
693
|
+
"documentation": "https://shoelace.style/components/button",
|
|
694
|
+
"status": "stable",
|
|
695
|
+
"since": "2.0"
|
|
696
|
+
}
|
|
697
|
+
],
|
|
698
|
+
"exports": [
|
|
699
|
+
{
|
|
700
|
+
"kind": "js",
|
|
701
|
+
"name": "default",
|
|
702
|
+
"declaration": {
|
|
703
|
+
"name": "TerraButton",
|
|
704
|
+
"module": "components/button/button.js"
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
]
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"kind": "javascript-module",
|
|
711
|
+
"path": "components/accordion/accordion.js",
|
|
712
|
+
"declarations": [
|
|
713
|
+
{
|
|
714
|
+
"kind": "class",
|
|
715
|
+
"description": "",
|
|
716
|
+
"name": "TerraAccordion",
|
|
717
|
+
"slots": [
|
|
718
|
+
{
|
|
719
|
+
"description": "The default slot for accordion content.",
|
|
720
|
+
"name": ""
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"description": "The summary/header for the accordion (optional, overrides summary property)",
|
|
724
|
+
"name": "summary"
|
|
725
|
+
}
|
|
726
|
+
],
|
|
727
|
+
"members": [
|
|
728
|
+
{
|
|
755
729
|
"kind": "field",
|
|
756
|
-
"name": "
|
|
730
|
+
"name": "dependencies",
|
|
757
731
|
"type": {
|
|
758
|
-
"text": "
|
|
732
|
+
"text": "object"
|
|
759
733
|
},
|
|
760
|
-
"
|
|
761
|
-
"
|
|
734
|
+
"static": true,
|
|
735
|
+
"default": "{\n 'terra-icon': TerraIcon,\n }"
|
|
762
736
|
},
|
|
763
737
|
{
|
|
764
738
|
"kind": "field",
|
|
765
|
-
"name": "
|
|
766
|
-
"
|
|
767
|
-
|
|
739
|
+
"name": "summary",
|
|
740
|
+
"type": {
|
|
741
|
+
"text": "string"
|
|
742
|
+
},
|
|
743
|
+
"description": "The summary/header for the accordion. Use the property for simple text, or the slot for custom content.",
|
|
744
|
+
"attribute": "summary"
|
|
768
745
|
},
|
|
769
746
|
{
|
|
770
747
|
"kind": "field",
|
|
771
|
-
"name": "
|
|
772
|
-
"
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
"
|
|
777
|
-
"
|
|
778
|
-
"
|
|
779
|
-
{
|
|
780
|
-
"name": "e",
|
|
781
|
-
"type": {
|
|
782
|
-
"text": "TerraDialogShowEvent | TerraDialogHideEvent"
|
|
783
|
-
}
|
|
784
|
-
}
|
|
785
|
-
]
|
|
786
|
-
},
|
|
787
|
-
{
|
|
788
|
-
"kind": "method",
|
|
789
|
-
"name": "handleBlur",
|
|
790
|
-
"privacy": "private"
|
|
791
|
-
},
|
|
792
|
-
{
|
|
793
|
-
"kind": "method",
|
|
794
|
-
"name": "handleFocus",
|
|
795
|
-
"privacy": "private"
|
|
748
|
+
"name": "open",
|
|
749
|
+
"type": {
|
|
750
|
+
"text": "boolean"
|
|
751
|
+
},
|
|
752
|
+
"default": "false",
|
|
753
|
+
"description": "Whether the accordion is open or not. This property is reflected as an attribute and can be controlled programmatically or by user interaction.",
|
|
754
|
+
"attribute": "open",
|
|
755
|
+
"reflects": true
|
|
796
756
|
},
|
|
797
757
|
{
|
|
798
|
-
"kind": "
|
|
799
|
-
"name": "
|
|
800
|
-
"
|
|
758
|
+
"kind": "field",
|
|
759
|
+
"name": "showArrow",
|
|
760
|
+
"type": {
|
|
761
|
+
"text": "boolean"
|
|
762
|
+
},
|
|
763
|
+
"default": "true",
|
|
764
|
+
"attribute": "showArrow"
|
|
801
765
|
},
|
|
802
766
|
{
|
|
803
767
|
"kind": "method",
|
|
804
|
-
"name": "
|
|
768
|
+
"name": "handleToggle",
|
|
805
769
|
"privacy": "private",
|
|
806
770
|
"parameters": [
|
|
807
771
|
{
|
|
808
|
-
"name": "
|
|
772
|
+
"name": "e",
|
|
809
773
|
"type": {
|
|
810
774
|
"text": "Event"
|
|
811
775
|
}
|
|
812
776
|
}
|
|
813
777
|
]
|
|
814
|
-
}
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
"name": "isButton",
|
|
818
|
-
"privacy": "private"
|
|
819
|
-
},
|
|
820
|
-
{
|
|
821
|
-
"kind": "method",
|
|
822
|
-
"name": "isLink",
|
|
823
|
-
"privacy": "private"
|
|
824
|
-
},
|
|
825
|
-
{
|
|
826
|
-
"kind": "method",
|
|
827
|
-
"name": "handleDisabledChange"
|
|
828
|
-
},
|
|
829
|
-
{
|
|
830
|
-
"kind": "method",
|
|
831
|
-
"name": "click",
|
|
832
|
-
"description": "Simulates a click on the button."
|
|
833
|
-
},
|
|
834
|
-
{
|
|
835
|
-
"kind": "method",
|
|
836
|
-
"name": "focus",
|
|
837
|
-
"parameters": [
|
|
838
|
-
{
|
|
839
|
-
"name": "options",
|
|
840
|
-
"optional": true,
|
|
841
|
-
"type": {
|
|
842
|
-
"text": "FocusOptions"
|
|
843
|
-
}
|
|
844
|
-
}
|
|
845
|
-
],
|
|
846
|
-
"description": "Sets focus on the button."
|
|
847
|
-
},
|
|
848
|
-
{
|
|
849
|
-
"kind": "method",
|
|
850
|
-
"name": "blur",
|
|
851
|
-
"description": "Removes focus from the button."
|
|
852
|
-
},
|
|
853
|
-
{
|
|
854
|
-
"kind": "method",
|
|
855
|
-
"name": "checkValidity",
|
|
856
|
-
"description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
|
|
857
|
-
},
|
|
858
|
-
{
|
|
859
|
-
"kind": "method",
|
|
860
|
-
"name": "getForm",
|
|
861
|
-
"return": {
|
|
862
|
-
"type": {
|
|
863
|
-
"text": "HTMLFormElement | null"
|
|
864
|
-
}
|
|
865
|
-
},
|
|
866
|
-
"description": "Gets the associated form, if one exists."
|
|
867
|
-
},
|
|
868
|
-
{
|
|
869
|
-
"kind": "method",
|
|
870
|
-
"name": "reportValidity",
|
|
871
|
-
"description": "Checks for validity and shows the browser's validation message if the control is invalid."
|
|
872
|
-
},
|
|
873
|
-
{
|
|
874
|
-
"kind": "method",
|
|
875
|
-
"name": "setCustomValidity",
|
|
876
|
-
"parameters": [
|
|
877
|
-
{
|
|
878
|
-
"name": "message",
|
|
879
|
-
"type": {
|
|
880
|
-
"text": "string"
|
|
881
|
-
}
|
|
882
|
-
}
|
|
883
|
-
],
|
|
884
|
-
"description": "Sets a custom validation message. Pass an empty string to restore validity."
|
|
885
|
-
},
|
|
886
|
-
{
|
|
887
|
-
"kind": "method",
|
|
888
|
-
"name": "setPageLinkIcon",
|
|
889
|
-
"return": {
|
|
890
|
-
"type": {
|
|
891
|
-
"text": "string"
|
|
892
|
-
}
|
|
893
|
-
},
|
|
894
|
-
"parameters": [
|
|
895
|
-
{
|
|
896
|
-
"name": "href",
|
|
897
|
-
"type": {
|
|
898
|
-
"text": "string"
|
|
899
|
-
}
|
|
900
|
-
}
|
|
901
|
-
]
|
|
902
|
-
},
|
|
778
|
+
}
|
|
779
|
+
],
|
|
780
|
+
"events": [
|
|
903
781
|
{
|
|
904
|
-
"
|
|
905
|
-
"name": "
|
|
906
|
-
"
|
|
907
|
-
|
|
908
|
-
"text": "string"
|
|
909
|
-
}
|
|
910
|
-
},
|
|
911
|
-
"parameters": [
|
|
912
|
-
{
|
|
913
|
-
"name": "size",
|
|
914
|
-
"type": {
|
|
915
|
-
"text": "string"
|
|
916
|
-
}
|
|
917
|
-
}
|
|
918
|
-
]
|
|
782
|
+
"description": "emitted when the accordion opens or closes",
|
|
783
|
+
"name": "terra-accordion-toggle",
|
|
784
|
+
"reactName": "onTerraAccordionToggle",
|
|
785
|
+
"eventName": "TerraAccordionToggleEvent"
|
|
919
786
|
}
|
|
920
787
|
],
|
|
921
788
|
"attributes": [
|
|
922
789
|
{
|
|
923
|
-
"name": "
|
|
790
|
+
"name": "summary",
|
|
924
791
|
"type": {
|
|
925
792
|
"text": "string"
|
|
926
793
|
},
|
|
927
|
-
"
|
|
928
|
-
"fieldName": "
|
|
929
|
-
},
|
|
930
|
-
{
|
|
931
|
-
"name": "variant",
|
|
932
|
-
"type": {
|
|
933
|
-
"text": "| 'default'\n | 'primary'\n | 'success'\n | 'warning'\n | 'danger'\n | 'text'\n | 'pagelink'"
|
|
934
|
-
},
|
|
935
|
-
"default": "'primary'",
|
|
936
|
-
"description": "The button's theme variant.",
|
|
937
|
-
"fieldName": "variant"
|
|
938
|
-
},
|
|
939
|
-
{
|
|
940
|
-
"name": "size",
|
|
941
|
-
"type": {
|
|
942
|
-
"text": "'small' | 'medium' | 'large'"
|
|
943
|
-
},
|
|
944
|
-
"default": "'medium'",
|
|
945
|
-
"description": "The button's size.",
|
|
946
|
-
"fieldName": "size"
|
|
947
|
-
},
|
|
948
|
-
{
|
|
949
|
-
"name": "caret",
|
|
950
|
-
"type": {
|
|
951
|
-
"text": "boolean"
|
|
952
|
-
},
|
|
953
|
-
"default": "false",
|
|
954
|
-
"description": "Draws the button with a caret. Used to indicate that the button triggers a dropdown menu or similar behavior.",
|
|
955
|
-
"fieldName": "caret"
|
|
956
|
-
},
|
|
957
|
-
{
|
|
958
|
-
"name": "shape",
|
|
959
|
-
"type": {
|
|
960
|
-
"text": "'square' | 'square-left' | 'square-right'"
|
|
961
|
-
},
|
|
962
|
-
"description": "The button's shape. Used to control the radius edge shape when button is not in a terra-button-group.",
|
|
963
|
-
"fieldName": "shape"
|
|
964
|
-
},
|
|
965
|
-
{
|
|
966
|
-
"name": "disabled",
|
|
967
|
-
"type": {
|
|
968
|
-
"text": "boolean"
|
|
969
|
-
},
|
|
970
|
-
"default": "false",
|
|
971
|
-
"description": "Disables the button.",
|
|
972
|
-
"fieldName": "disabled"
|
|
973
|
-
},
|
|
974
|
-
{
|
|
975
|
-
"name": "loading",
|
|
976
|
-
"type": {
|
|
977
|
-
"text": "boolean"
|
|
978
|
-
},
|
|
979
|
-
"default": "false",
|
|
980
|
-
"description": "Draws the button in a loading state.",
|
|
981
|
-
"fieldName": "loading"
|
|
982
|
-
},
|
|
983
|
-
{
|
|
984
|
-
"name": "outline",
|
|
985
|
-
"type": {
|
|
986
|
-
"text": "boolean"
|
|
987
|
-
},
|
|
988
|
-
"default": "false",
|
|
989
|
-
"description": "Draws an outlined button.",
|
|
990
|
-
"fieldName": "outline"
|
|
794
|
+
"description": "The summary/header for the accordion. Use the property for simple text, or the slot for custom content.",
|
|
795
|
+
"fieldName": "summary"
|
|
991
796
|
},
|
|
992
797
|
{
|
|
993
|
-
"name": "
|
|
798
|
+
"name": "open",
|
|
994
799
|
"type": {
|
|
995
800
|
"text": "boolean"
|
|
996
801
|
},
|
|
997
802
|
"default": "false",
|
|
998
|
-
"description": "
|
|
999
|
-
"fieldName": "
|
|
1000
|
-
},
|
|
1001
|
-
{
|
|
1002
|
-
"name": "type",
|
|
1003
|
-
"type": {
|
|
1004
|
-
"text": "'button' | 'submit' | 'reset'"
|
|
1005
|
-
},
|
|
1006
|
-
"default": "'button'",
|
|
1007
|
-
"description": "The type of button. Note that the default value is `button` instead of `submit`, which is opposite of how native\n`<button>` elements behave. When the type is `submit`, the button will submit the surrounding form.",
|
|
1008
|
-
"fieldName": "type"
|
|
1009
|
-
},
|
|
1010
|
-
{
|
|
1011
|
-
"name": "name",
|
|
1012
|
-
"type": {
|
|
1013
|
-
"text": "string"
|
|
1014
|
-
},
|
|
1015
|
-
"default": "''",
|
|
1016
|
-
"description": "The name of the button, submitted as a name/value pair with form data, but only when this button is the submitter.\nThis attribute is ignored when `href` is present.",
|
|
1017
|
-
"fieldName": "name"
|
|
1018
|
-
},
|
|
1019
|
-
{
|
|
1020
|
-
"name": "value",
|
|
1021
|
-
"type": {
|
|
1022
|
-
"text": "string"
|
|
1023
|
-
},
|
|
1024
|
-
"default": "''",
|
|
1025
|
-
"description": "The value of the button, submitted as a pair with the button's name as part of the form data, but only when this\nbutton is the submitter. This attribute is ignored when `href` is present.",
|
|
1026
|
-
"fieldName": "value"
|
|
1027
|
-
},
|
|
1028
|
-
{
|
|
1029
|
-
"name": "href",
|
|
1030
|
-
"type": {
|
|
1031
|
-
"text": "string"
|
|
1032
|
-
},
|
|
1033
|
-
"default": "''",
|
|
1034
|
-
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
1035
|
-
"fieldName": "href"
|
|
1036
|
-
},
|
|
1037
|
-
{
|
|
1038
|
-
"name": "target",
|
|
1039
|
-
"type": {
|
|
1040
|
-
"text": "'_blank' | '_parent' | '_self' | '_top'"
|
|
1041
|
-
},
|
|
1042
|
-
"description": "Tells the browser where to open the link. Only used when `href` is present.",
|
|
1043
|
-
"fieldName": "target"
|
|
1044
|
-
},
|
|
1045
|
-
{
|
|
1046
|
-
"name": "rel",
|
|
1047
|
-
"type": {
|
|
1048
|
-
"text": "string"
|
|
1049
|
-
},
|
|
1050
|
-
"default": "'noreferrer noopener'",
|
|
1051
|
-
"description": "When using `href`, this attribute will map to the underlying link's `rel` attribute. Unlike regular links, the\ndefault is `noreferrer noopener` to prevent security exploits. However, if you're using `target` to point to a\nspecific tab/window, this will prevent that from working correctly. You can remove or change the default value by\nsetting the attribute to an empty string or a value of your choice, respectively.",
|
|
1052
|
-
"fieldName": "rel"
|
|
1053
|
-
},
|
|
1054
|
-
{
|
|
1055
|
-
"name": "download",
|
|
1056
|
-
"type": {
|
|
1057
|
-
"text": "string | undefined"
|
|
1058
|
-
},
|
|
1059
|
-
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
|
|
1060
|
-
"fieldName": "download"
|
|
1061
|
-
},
|
|
1062
|
-
{
|
|
1063
|
-
"name": "form",
|
|
1064
|
-
"type": {
|
|
1065
|
-
"text": "string"
|
|
1066
|
-
},
|
|
1067
|
-
"description": "The \"form owner\" to associate the button with. If omitted, the closest containing form will be used instead. The\nvalue of this attribute must be an id of a form in the same document or shadow root as the button.",
|
|
1068
|
-
"fieldName": "form"
|
|
1069
|
-
},
|
|
1070
|
-
{
|
|
1071
|
-
"name": "formaction",
|
|
1072
|
-
"type": {
|
|
1073
|
-
"text": "string"
|
|
1074
|
-
},
|
|
1075
|
-
"description": "Used to override the form owner's `action` attribute.",
|
|
1076
|
-
"fieldName": "formAction"
|
|
1077
|
-
},
|
|
1078
|
-
{
|
|
1079
|
-
"name": "formenctype",
|
|
1080
|
-
"type": {
|
|
1081
|
-
"text": "| 'application/x-www-form-urlencoded'\n | 'multipart/form-data'\n | 'text/plain'"
|
|
1082
|
-
},
|
|
1083
|
-
"description": "Used to override the form owner's `enctype` attribute.",
|
|
1084
|
-
"fieldName": "formEnctype"
|
|
1085
|
-
},
|
|
1086
|
-
{
|
|
1087
|
-
"name": "formmethod",
|
|
1088
|
-
"type": {
|
|
1089
|
-
"text": "'post' | 'get'"
|
|
1090
|
-
},
|
|
1091
|
-
"description": "Used to override the form owner's `method` attribute.",
|
|
1092
|
-
"fieldName": "formMethod"
|
|
803
|
+
"description": "Whether the accordion is open or not. This property is reflected as an attribute and can be controlled programmatically or by user interaction.",
|
|
804
|
+
"fieldName": "open"
|
|
1093
805
|
},
|
|
1094
806
|
{
|
|
1095
|
-
"name": "
|
|
807
|
+
"name": "showArrow",
|
|
1096
808
|
"type": {
|
|
1097
809
|
"text": "boolean"
|
|
1098
810
|
},
|
|
1099
|
-
"
|
|
1100
|
-
"fieldName": "
|
|
1101
|
-
},
|
|
1102
|
-
{
|
|
1103
|
-
"name": "formtarget",
|
|
1104
|
-
"type": {
|
|
1105
|
-
"text": "| '_self'\n | '_blank'\n | '_parent'\n | '_top'\n | string"
|
|
1106
|
-
},
|
|
1107
|
-
"description": "Used to override the form owner's `target` attribute.",
|
|
1108
|
-
"fieldName": "formTarget"
|
|
1109
|
-
},
|
|
1110
|
-
{
|
|
1111
|
-
"name": "for-dialog",
|
|
1112
|
-
"type": {
|
|
1113
|
-
"text": "string | undefined"
|
|
1114
|
-
},
|
|
1115
|
-
"description": "Used to connect this button to a dqialog on the page. Clicking the button will toggle the dialog's visiblity",
|
|
1116
|
-
"fieldName": "forDialog"
|
|
811
|
+
"default": "true",
|
|
812
|
+
"fieldName": "showArrow"
|
|
1117
813
|
}
|
|
1118
814
|
],
|
|
1119
815
|
"superclass": {
|
|
1120
816
|
"name": "TerraElement",
|
|
1121
817
|
"module": "/src/internal/terra-element.js"
|
|
1122
818
|
},
|
|
1123
|
-
"summary": "
|
|
1124
|
-
"tagNameWithoutPrefix": "
|
|
1125
|
-
"tagName": "terra-
|
|
819
|
+
"summary": "A collapsible content panel for showing and hiding content.",
|
|
820
|
+
"tagNameWithoutPrefix": "accordion",
|
|
821
|
+
"tagName": "terra-accordion",
|
|
1126
822
|
"customElement": true,
|
|
1127
|
-
"jsDoc": "/**\n * @summary
|
|
1128
|
-
"documentation": "https://
|
|
1129
|
-
"status": "
|
|
1130
|
-
"since": "
|
|
823
|
+
"jsDoc": "/**\n * @summary A collapsible content panel for showing and hiding content.\n * @documentation https://disc.gsfc.nasa.gov/components/accordion\n * @status experimental\n * @since 1.0\n *\n * The TerraAccordion component provides a simple, accessible way to show and hide content. It uses native <details> and <summary> elements for built-in accessibility and keyboard support. The summary/header can be set via the `summary` property for simple text, or via a named `summary` slot for custom content (such as icons or rich HTML). The open state can be controlled with the `open` property, which is reflected as an attribute.\n *\n * @slot - The default slot for accordion content.\n * @slot summary - The summary/header for the accordion (optional, overrides summary property)\n *\n * @property {string} summary - The summary/header for the accordion. Use the property for simple text, or the slot for custom content.\n * @property {boolean} open - Whether the accordion is open or not. This property is reflected as an attribute and can be controlled programmatically or by user interaction.\n *\n * @event terra-accordion-toggle - emitted when the accordion opens or closes\n *\n * @dependency terra-icon\n */",
|
|
824
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/accordion",
|
|
825
|
+
"status": "experimental",
|
|
826
|
+
"since": "1.0",
|
|
827
|
+
"dependencies": [
|
|
828
|
+
"terra-icon"
|
|
829
|
+
]
|
|
1131
830
|
}
|
|
1132
831
|
],
|
|
1133
832
|
"exports": [
|
|
@@ -1135,355 +834,366 @@
|
|
|
1135
834
|
"kind": "js",
|
|
1136
835
|
"name": "default",
|
|
1137
836
|
"declaration": {
|
|
1138
|
-
"name": "
|
|
1139
|
-
"module": "components/
|
|
837
|
+
"name": "TerraAccordion",
|
|
838
|
+
"module": "components/accordion/accordion.js"
|
|
1140
839
|
}
|
|
1141
840
|
}
|
|
1142
841
|
]
|
|
1143
842
|
},
|
|
1144
843
|
{
|
|
1145
844
|
"kind": "javascript-module",
|
|
1146
|
-
"path": "components/
|
|
845
|
+
"path": "components/chip/chip.js",
|
|
1147
846
|
"declarations": [
|
|
1148
847
|
{
|
|
1149
848
|
"kind": "class",
|
|
1150
849
|
"description": "",
|
|
1151
|
-
"name": "
|
|
1152
|
-
"
|
|
850
|
+
"name": "TerraChip",
|
|
851
|
+
"slots": [
|
|
1153
852
|
{
|
|
1154
|
-
"description": "The
|
|
1155
|
-
"name": "
|
|
1156
|
-
}
|
|
853
|
+
"description": "The chip's label.",
|
|
854
|
+
"name": ""
|
|
855
|
+
}
|
|
856
|
+
],
|
|
857
|
+
"members": [
|
|
1157
858
|
{
|
|
1158
|
-
"
|
|
1159
|
-
"name": "
|
|
859
|
+
"kind": "field",
|
|
860
|
+
"name": "size",
|
|
861
|
+
"type": {
|
|
862
|
+
"text": "'small' | 'medium' | 'large'"
|
|
863
|
+
},
|
|
864
|
+
"default": "'medium'",
|
|
865
|
+
"attribute": "size",
|
|
866
|
+
"reflects": true
|
|
1160
867
|
},
|
|
1161
868
|
{
|
|
1162
|
-
"
|
|
1163
|
-
"name": "
|
|
869
|
+
"kind": "field",
|
|
870
|
+
"name": "#handleRemoveClick",
|
|
871
|
+
"privacy": "private"
|
|
1164
872
|
}
|
|
1165
873
|
],
|
|
874
|
+
"attributes": [
|
|
875
|
+
{
|
|
876
|
+
"name": "size",
|
|
877
|
+
"type": {
|
|
878
|
+
"text": "'small' | 'medium' | 'large'"
|
|
879
|
+
},
|
|
880
|
+
"default": "'medium'",
|
|
881
|
+
"fieldName": "size"
|
|
882
|
+
}
|
|
883
|
+
],
|
|
884
|
+
"superclass": {
|
|
885
|
+
"name": "TerraElement",
|
|
886
|
+
"module": "/src/internal/terra-element.js"
|
|
887
|
+
},
|
|
888
|
+
"summary": "Used for contacts and tags",
|
|
889
|
+
"tagNameWithoutPrefix": "chip",
|
|
890
|
+
"tagName": "terra-chip",
|
|
891
|
+
"customElement": true,
|
|
892
|
+
"jsDoc": "/**\n * @summary Used for contacts and tags\n * @documentation https://disc.gsfc.nasa.gov/components/chip\n * @status stable\n * @since 1.0\n *\n * @slot - The chip's label.\n */",
|
|
893
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/chip",
|
|
894
|
+
"status": "stable",
|
|
895
|
+
"since": "1.0"
|
|
896
|
+
}
|
|
897
|
+
],
|
|
898
|
+
"exports": [
|
|
899
|
+
{
|
|
900
|
+
"kind": "js",
|
|
901
|
+
"name": "default",
|
|
902
|
+
"declaration": {
|
|
903
|
+
"name": "TerraChip",
|
|
904
|
+
"module": "components/chip/chip.js"
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
]
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
"kind": "javascript-module",
|
|
911
|
+
"path": "components/alert/alert.js",
|
|
912
|
+
"declarations": [
|
|
913
|
+
{
|
|
914
|
+
"kind": "class",
|
|
915
|
+
"description": "",
|
|
916
|
+
"name": "TerraAlert",
|
|
1166
917
|
"cssParts": [
|
|
1167
918
|
{
|
|
1168
|
-
"description": "
|
|
919
|
+
"description": "The component's base wrapper.",
|
|
1169
920
|
"name": "base"
|
|
1170
921
|
},
|
|
1171
922
|
{
|
|
1172
|
-
"description": "
|
|
1173
|
-
"name": "
|
|
923
|
+
"description": "The container that wraps the optional icon.",
|
|
924
|
+
"name": "icon"
|
|
1174
925
|
},
|
|
1175
926
|
{
|
|
1176
|
-
"description": "
|
|
1177
|
-
"name": "
|
|
1178
|
-
}
|
|
927
|
+
"description": "The container that wraps the alert's main content.",
|
|
928
|
+
"name": "message"
|
|
929
|
+
}
|
|
930
|
+
],
|
|
931
|
+
"slots": [
|
|
1179
932
|
{
|
|
1180
|
-
"description": "
|
|
1181
|
-
"name": "
|
|
933
|
+
"description": "The alert's main content.",
|
|
934
|
+
"name": ""
|
|
1182
935
|
}
|
|
1183
936
|
],
|
|
1184
937
|
"members": [
|
|
1185
938
|
{
|
|
1186
939
|
"kind": "field",
|
|
1187
|
-
"name": "
|
|
940
|
+
"name": "autoHideTimeout",
|
|
1188
941
|
"type": {
|
|
1189
|
-
"text": "
|
|
942
|
+
"text": "number"
|
|
1190
943
|
},
|
|
1191
|
-
"
|
|
1192
|
-
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
|
|
944
|
+
"privacy": "private"
|
|
1193
945
|
},
|
|
1194
946
|
{
|
|
1195
947
|
"kind": "field",
|
|
1196
|
-
"name": "
|
|
948
|
+
"name": "remainingTimeInterval",
|
|
1197
949
|
"type": {
|
|
1198
|
-
"text": "
|
|
950
|
+
"text": "number"
|
|
1199
951
|
},
|
|
1200
|
-
"
|
|
1201
|
-
"default": "'terra-combobox'"
|
|
952
|
+
"privacy": "private"
|
|
1202
953
|
},
|
|
1203
954
|
{
|
|
1204
955
|
"kind": "field",
|
|
1205
|
-
"name": "
|
|
956
|
+
"name": "countdownAnimation",
|
|
1206
957
|
"type": {
|
|
1207
|
-
"text": "
|
|
958
|
+
"text": "Animation | undefined"
|
|
1208
959
|
},
|
|
1209
|
-
"
|
|
1210
|
-
"default": "''"
|
|
960
|
+
"privacy": "private"
|
|
1211
961
|
},
|
|
1212
962
|
{
|
|
1213
963
|
"kind": "field",
|
|
1214
|
-
"name": "
|
|
964
|
+
"name": "hasSlotController",
|
|
1215
965
|
"privacy": "private",
|
|
1216
|
-
"
|
|
1217
|
-
|
|
1218
|
-
},
|
|
1219
|
-
"default": "null"
|
|
966
|
+
"readonly": true,
|
|
967
|
+
"default": "new HasSlotController(this, 'icon', 'suffix')"
|
|
1220
968
|
},
|
|
1221
969
|
{
|
|
1222
970
|
"kind": "field",
|
|
1223
|
-
"name": "
|
|
1224
|
-
"privacy": "private",
|
|
971
|
+
"name": "currentToastStack",
|
|
1225
972
|
"type": {
|
|
1226
|
-
"text": "
|
|
973
|
+
"text": "HTMLDivElement"
|
|
1227
974
|
},
|
|
1228
|
-
"default": "null"
|
|
1229
|
-
},
|
|
1230
|
-
{
|
|
1231
|
-
"kind": "field",
|
|
1232
|
-
"name": "#searchEngine",
|
|
1233
975
|
"privacy": "private",
|
|
1234
|
-
"
|
|
1235
|
-
"text": "Fuse<GroupedListItem | ListItem> | null"
|
|
1236
|
-
},
|
|
1237
|
-
"default": "null"
|
|
976
|
+
"static": true
|
|
1238
977
|
},
|
|
1239
978
|
{
|
|
1240
979
|
"kind": "field",
|
|
1241
|
-
"name": "
|
|
980
|
+
"name": "toastStack",
|
|
1242
981
|
"privacy": "private",
|
|
1243
|
-
"
|
|
1244
|
-
|
|
1245
|
-
},
|
|
1246
|
-
"default": "null"
|
|
1247
|
-
},
|
|
1248
|
-
{
|
|
1249
|
-
"kind": "field",
|
|
1250
|
-
"name": "label",
|
|
1251
|
-
"type": {
|
|
1252
|
-
"text": "string"
|
|
1253
|
-
},
|
|
1254
|
-
"default": "'Search for Items'",
|
|
1255
|
-
"description": "Label the combobox with this.",
|
|
1256
|
-
"attribute": "label"
|
|
982
|
+
"static": true,
|
|
983
|
+
"readonly": true
|
|
1257
984
|
},
|
|
1258
985
|
{
|
|
1259
986
|
"kind": "field",
|
|
1260
|
-
"name": "
|
|
987
|
+
"name": "base",
|
|
1261
988
|
"type": {
|
|
1262
|
-
"text": "
|
|
1263
|
-
}
|
|
1264
|
-
"default": "'Item'",
|
|
1265
|
-
"description": "name the combobox with this.",
|
|
1266
|
-
"attribute": "name"
|
|
989
|
+
"text": "HTMLElement"
|
|
990
|
+
}
|
|
1267
991
|
},
|
|
1268
992
|
{
|
|
1269
993
|
"kind": "field",
|
|
1270
|
-
"name": "
|
|
994
|
+
"name": "countdownElement",
|
|
1271
995
|
"type": {
|
|
1272
|
-
"text": "
|
|
1273
|
-
}
|
|
1274
|
-
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
1275
|
-
"attribute": "placeholder"
|
|
996
|
+
"text": "HTMLElement"
|
|
997
|
+
}
|
|
1276
998
|
},
|
|
1277
999
|
{
|
|
1278
1000
|
"kind": "field",
|
|
1279
|
-
"name": "
|
|
1001
|
+
"name": "open",
|
|
1280
1002
|
"type": {
|
|
1281
1003
|
"text": "boolean"
|
|
1282
1004
|
},
|
|
1283
1005
|
"default": "false",
|
|
1284
|
-
"description": "
|
|
1285
|
-
"attribute": "
|
|
1006
|
+
"description": "Indicates whether or not the alert is open. You can toggle this attribute to show and hide the alert, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the alert's open state.",
|
|
1007
|
+
"attribute": "open",
|
|
1008
|
+
"reflects": true
|
|
1286
1009
|
},
|
|
1287
1010
|
{
|
|
1288
1011
|
"kind": "field",
|
|
1289
|
-
"name": "
|
|
1012
|
+
"name": "closable",
|
|
1290
1013
|
"type": {
|
|
1291
1014
|
"text": "boolean"
|
|
1292
1015
|
},
|
|
1293
1016
|
"default": "false",
|
|
1294
|
-
"description": "
|
|
1295
|
-
"attribute": "
|
|
1296
|
-
|
|
1297
|
-
{
|
|
1298
|
-
"kind": "field",
|
|
1299
|
-
"name": "status",
|
|
1300
|
-
"type": {
|
|
1301
|
-
"text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
|
|
1302
|
-
},
|
|
1303
|
-
"default": "'INITIAL'",
|
|
1304
|
-
"description": "status of the content",
|
|
1305
|
-
"attribute": "status"
|
|
1306
|
-
},
|
|
1307
|
-
{
|
|
1308
|
-
"kind": "field",
|
|
1309
|
-
"name": "content",
|
|
1310
|
-
"type": {
|
|
1311
|
-
"text": "Content"
|
|
1312
|
-
},
|
|
1313
|
-
"default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }",
|
|
1314
|
-
"description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
|
|
1315
|
-
"attribute": "content"
|
|
1017
|
+
"description": "Enables a close button that allows the user to dismiss the alert.",
|
|
1018
|
+
"attribute": "closable",
|
|
1019
|
+
"reflects": true
|
|
1316
1020
|
},
|
|
1317
1021
|
{
|
|
1318
1022
|
"kind": "field",
|
|
1319
|
-
"name": "
|
|
1023
|
+
"name": "variant",
|
|
1320
1024
|
"type": {
|
|
1321
|
-
"text": "
|
|
1025
|
+
"text": "| 'primary'\n | 'success'\n | 'neutral'\n | 'warning'\n | 'danger'"
|
|
1322
1026
|
},
|
|
1323
|
-
"default": "
|
|
1027
|
+
"default": "'primary'",
|
|
1028
|
+
"description": "The alert's theme variant.",
|
|
1029
|
+
"attribute": "variant",
|
|
1030
|
+
"reflects": true
|
|
1324
1031
|
},
|
|
1325
1032
|
{
|
|
1326
1033
|
"kind": "field",
|
|
1327
|
-
"name": "
|
|
1034
|
+
"name": "duration",
|
|
1035
|
+
"default": "Infinity",
|
|
1036
|
+
"description": "The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with\nthe alert before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\nthe alert will not close on its own.",
|
|
1037
|
+
"attribute": "duration"
|
|
1328
1038
|
},
|
|
1329
1039
|
{
|
|
1330
1040
|
"kind": "field",
|
|
1331
|
-
"name": "
|
|
1041
|
+
"name": "countdown",
|
|
1332
1042
|
"type": {
|
|
1333
|
-
"text": "
|
|
1043
|
+
"text": "'rtl' | 'ltr' | undefined"
|
|
1334
1044
|
},
|
|
1335
|
-
"
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
"kind": "method",
|
|
1339
|
-
"name": "contentChanged",
|
|
1340
|
-
"parameters": [
|
|
1341
|
-
{
|
|
1342
|
-
"name": "_oldValue",
|
|
1343
|
-
"type": {
|
|
1344
|
-
"text": "any"
|
|
1345
|
-
}
|
|
1346
|
-
},
|
|
1347
|
-
{
|
|
1348
|
-
"name": "newValue",
|
|
1349
|
-
"type": {
|
|
1350
|
-
"text": "any"
|
|
1351
|
-
}
|
|
1352
|
-
}
|
|
1353
|
-
]
|
|
1045
|
+
"description": "Enables a countdown that indicates the remaining time the alert will be displayed.\nTypically used to indicate the remaining time before a whole app refresh.",
|
|
1046
|
+
"attribute": "countdown",
|
|
1047
|
+
"reflects": true
|
|
1354
1048
|
},
|
|
1355
1049
|
{
|
|
1356
1050
|
"kind": "field",
|
|
1357
|
-
"name": "
|
|
1051
|
+
"name": "remainingTime",
|
|
1358
1052
|
"privacy": "private"
|
|
1359
1053
|
},
|
|
1360
1054
|
{
|
|
1361
|
-
"kind": "
|
|
1362
|
-
"name": "
|
|
1055
|
+
"kind": "method",
|
|
1056
|
+
"name": "restartAutoHide",
|
|
1363
1057
|
"privacy": "private"
|
|
1364
1058
|
},
|
|
1365
1059
|
{
|
|
1366
|
-
"kind": "
|
|
1367
|
-
"name": "
|
|
1060
|
+
"kind": "method",
|
|
1061
|
+
"name": "pauseAutoHide",
|
|
1368
1062
|
"privacy": "private"
|
|
1369
1063
|
},
|
|
1370
1064
|
{
|
|
1371
|
-
"kind": "
|
|
1372
|
-
"name": "
|
|
1065
|
+
"kind": "method",
|
|
1066
|
+
"name": "resumeAutoHide",
|
|
1373
1067
|
"privacy": "private"
|
|
1374
1068
|
},
|
|
1375
1069
|
{
|
|
1376
|
-
"kind": "
|
|
1377
|
-
"name": "
|
|
1070
|
+
"kind": "method",
|
|
1071
|
+
"name": "handleCountdownChange",
|
|
1378
1072
|
"privacy": "private"
|
|
1379
1073
|
},
|
|
1380
1074
|
{
|
|
1381
|
-
"kind": "
|
|
1382
|
-
"name": "
|
|
1075
|
+
"kind": "method",
|
|
1076
|
+
"name": "handleCloseClick",
|
|
1383
1077
|
"privacy": "private"
|
|
1384
1078
|
},
|
|
1385
1079
|
{
|
|
1386
|
-
"kind": "
|
|
1387
|
-
"name": "
|
|
1388
|
-
"privacy": "private"
|
|
1080
|
+
"kind": "method",
|
|
1081
|
+
"name": "handleOpenChange"
|
|
1389
1082
|
},
|
|
1390
1083
|
{
|
|
1391
|
-
"kind": "
|
|
1392
|
-
"name": "
|
|
1393
|
-
"privacy": "private"
|
|
1084
|
+
"kind": "method",
|
|
1085
|
+
"name": "handleDurationChange"
|
|
1394
1086
|
},
|
|
1395
1087
|
{
|
|
1396
|
-
"kind": "
|
|
1397
|
-
"name": "
|
|
1398
|
-
"
|
|
1088
|
+
"kind": "method",
|
|
1089
|
+
"name": "show",
|
|
1090
|
+
"description": "Shows the alert."
|
|
1399
1091
|
},
|
|
1400
1092
|
{
|
|
1401
|
-
"kind": "
|
|
1402
|
-
"name": "
|
|
1403
|
-
"
|
|
1093
|
+
"kind": "method",
|
|
1094
|
+
"name": "hide",
|
|
1095
|
+
"description": "Hides the alert"
|
|
1404
1096
|
},
|
|
1405
1097
|
{
|
|
1406
|
-
"kind": "
|
|
1407
|
-
"name": "
|
|
1408
|
-
"
|
|
1098
|
+
"kind": "method",
|
|
1099
|
+
"name": "toast",
|
|
1100
|
+
"description": "Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when\ndismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by\ncalling this method again. The returned promise will resolve after the alert is hidden."
|
|
1409
1101
|
}
|
|
1410
1102
|
],
|
|
1411
|
-
"
|
|
1103
|
+
"events": [
|
|
1412
1104
|
{
|
|
1413
|
-
"
|
|
1414
|
-
"
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
"default": "'Search for Items'",
|
|
1418
|
-
"description": "Label the combobox with this.",
|
|
1419
|
-
"fieldName": "label"
|
|
1105
|
+
"description": "Emitted when the alert opens.",
|
|
1106
|
+
"name": "terra-show",
|
|
1107
|
+
"reactName": "onTerraShow",
|
|
1108
|
+
"eventName": "TerraShowEvent"
|
|
1420
1109
|
},
|
|
1421
1110
|
{
|
|
1422
|
-
"
|
|
1423
|
-
"
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
"default": "'Item'",
|
|
1427
|
-
"description": "name the combobox with this.",
|
|
1428
|
-
"fieldName": "name"
|
|
1111
|
+
"description": "Emitted after the alert opens and all animations are complete.",
|
|
1112
|
+
"name": "terra-after-show",
|
|
1113
|
+
"reactName": "onTerraAfterShow",
|
|
1114
|
+
"eventName": "TerraAfterShowEvent"
|
|
1429
1115
|
},
|
|
1430
1116
|
{
|
|
1431
|
-
"
|
|
1432
|
-
"
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
1436
|
-
"fieldName": "placeholder"
|
|
1117
|
+
"description": "Emitted when the alert closes.",
|
|
1118
|
+
"name": "terra-hide",
|
|
1119
|
+
"reactName": "onTerraHide",
|
|
1120
|
+
"eventName": "TerraHideEvent"
|
|
1437
1121
|
},
|
|
1438
1122
|
{
|
|
1439
|
-
"
|
|
1123
|
+
"description": "Emitted after the alert closes and all animations are complete.",
|
|
1124
|
+
"name": "terra-after-hide",
|
|
1125
|
+
"reactName": "onTerraAfterHide",
|
|
1126
|
+
"eventName": "TerraAfterHideEvent"
|
|
1127
|
+
}
|
|
1128
|
+
],
|
|
1129
|
+
"attributes": [
|
|
1130
|
+
{
|
|
1131
|
+
"name": "open",
|
|
1440
1132
|
"type": {
|
|
1441
1133
|
"text": "boolean"
|
|
1442
1134
|
},
|
|
1443
1135
|
"default": "false",
|
|
1444
|
-
"description": "
|
|
1445
|
-
"fieldName": "
|
|
1136
|
+
"description": "Indicates whether or not the alert is open. You can toggle this attribute to show and hide the alert, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the alert's open state.",
|
|
1137
|
+
"fieldName": "open"
|
|
1446
1138
|
},
|
|
1447
1139
|
{
|
|
1448
|
-
"name": "
|
|
1140
|
+
"name": "closable",
|
|
1449
1141
|
"type": {
|
|
1450
1142
|
"text": "boolean"
|
|
1451
1143
|
},
|
|
1452
1144
|
"default": "false",
|
|
1453
|
-
"description": "
|
|
1454
|
-
"fieldName": "
|
|
1145
|
+
"description": "Enables a close button that allows the user to dismiss the alert.",
|
|
1146
|
+
"fieldName": "closable"
|
|
1455
1147
|
},
|
|
1456
1148
|
{
|
|
1457
|
-
"name": "
|
|
1149
|
+
"name": "variant",
|
|
1458
1150
|
"type": {
|
|
1459
|
-
"text": "'
|
|
1151
|
+
"text": "| 'primary'\n | 'success'\n | 'neutral'\n | 'warning'\n | 'danger'"
|
|
1460
1152
|
},
|
|
1461
|
-
"default": "'
|
|
1462
|
-
"description": "
|
|
1463
|
-
"fieldName": "
|
|
1153
|
+
"default": "'primary'",
|
|
1154
|
+
"description": "The alert's theme variant.",
|
|
1155
|
+
"fieldName": "variant"
|
|
1464
1156
|
},
|
|
1465
1157
|
{
|
|
1466
|
-
"name": "
|
|
1158
|
+
"name": "duration",
|
|
1159
|
+
"default": "Infinity",
|
|
1160
|
+
"description": "The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with\nthe alert before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\nthe alert will not close on its own.",
|
|
1161
|
+
"resolveInitializer": {
|
|
1162
|
+
"module": "src/components/alert/alert.component.ts"
|
|
1163
|
+
},
|
|
1164
|
+
"fieldName": "duration"
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
"name": "countdown",
|
|
1467
1168
|
"type": {
|
|
1468
|
-
"text": "
|
|
1169
|
+
"text": "'rtl' | 'ltr' | undefined"
|
|
1469
1170
|
},
|
|
1470
|
-
"
|
|
1471
|
-
"
|
|
1472
|
-
"fieldName": "content"
|
|
1171
|
+
"description": "Enables a countdown that indicates the remaining time the alert will be displayed.\nTypically used to indicate the remaining time before a whole app refresh.",
|
|
1172
|
+
"fieldName": "countdown"
|
|
1473
1173
|
}
|
|
1474
1174
|
],
|
|
1475
1175
|
"superclass": {
|
|
1476
1176
|
"name": "TerraElement",
|
|
1477
1177
|
"module": "/src/internal/terra-element.js"
|
|
1478
1178
|
},
|
|
1479
|
-
"summary": "
|
|
1480
|
-
"tagNameWithoutPrefix": "
|
|
1481
|
-
"tagName": "terra-
|
|
1179
|
+
"summary": "Alerts are used to display important messages inline or as toast notifications.",
|
|
1180
|
+
"tagNameWithoutPrefix": "alert",
|
|
1181
|
+
"tagName": "terra-alert",
|
|
1482
1182
|
"customElement": true,
|
|
1483
|
-
"jsDoc": "/**\n * @summary
|
|
1484
|
-
"documentation": "https://
|
|
1485
|
-
"status": "
|
|
1486
|
-
"since": "
|
|
1183
|
+
"jsDoc": "/**\n * @summary Alerts are used to display important messages inline or as toast notifications.\n * @documentation https://shoelace.style/components/alert\n * @status stable\n * @since 2.0\n *\n * @slot - The alert's main content.\n *\n * @event terra-show - Emitted when the alert opens.\n * @event terra-after-show - Emitted after the alert opens and all animations are complete.\n * @event terra-hide - Emitted when the alert closes.\n * @event terra-after-hide - Emitted after the alert closes and all animations are complete.\n *\n * @csspart base - The component's base wrapper.\n * @csspart icon - The container that wraps the optional icon.\n * @csspart message - The container that wraps the alert's main content.\n *\n * @animation alert.show - The animation to use when showing the alert.\n * @animation alert.hide - The animation to use when hiding the alert.\n */",
|
|
1184
|
+
"documentation": "https://shoelace.style/components/alert",
|
|
1185
|
+
"status": "stable",
|
|
1186
|
+
"since": "2.0",
|
|
1187
|
+
"animations": [
|
|
1188
|
+
{
|
|
1189
|
+
"name": "alert.show",
|
|
1190
|
+
"description": "The animation to use when showing the alert."
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
"name": "alert.hide",
|
|
1194
|
+
"description": "The animation to use when hiding the alert."
|
|
1195
|
+
}
|
|
1196
|
+
]
|
|
1487
1197
|
}
|
|
1488
1198
|
],
|
|
1489
1199
|
"exports": [
|
|
@@ -1491,141 +1201,188 @@
|
|
|
1491
1201
|
"kind": "js",
|
|
1492
1202
|
"name": "default",
|
|
1493
1203
|
"declaration": {
|
|
1494
|
-
"name": "
|
|
1495
|
-
"module": "components/
|
|
1204
|
+
"name": "TerraAlert",
|
|
1205
|
+
"module": "components/alert/alert.js"
|
|
1496
1206
|
}
|
|
1497
1207
|
}
|
|
1498
1208
|
]
|
|
1499
1209
|
},
|
|
1500
1210
|
{
|
|
1501
1211
|
"kind": "javascript-module",
|
|
1502
|
-
"path": "components/
|
|
1212
|
+
"path": "components/combobox/combobox.js",
|
|
1503
1213
|
"declarations": [
|
|
1504
1214
|
{
|
|
1505
1215
|
"kind": "class",
|
|
1506
1216
|
"description": "",
|
|
1507
|
-
"name": "
|
|
1508
|
-
"
|
|
1217
|
+
"name": "TerraCombobox",
|
|
1218
|
+
"cssProperties": [
|
|
1509
1219
|
{
|
|
1510
|
-
"description": "The
|
|
1511
|
-
"name": ""
|
|
1220
|
+
"description": "The height of the host element.",
|
|
1221
|
+
"name": "--host-height"
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
"description": "The height of the search help element.",
|
|
1225
|
+
"name": "--help-height"
|
|
1226
|
+
},
|
|
1227
|
+
{
|
|
1228
|
+
"description": "The height of the input's label element.",
|
|
1229
|
+
"name": "--label-height"
|
|
1230
|
+
}
|
|
1231
|
+
],
|
|
1232
|
+
"cssParts": [
|
|
1233
|
+
{
|
|
1234
|
+
"description": "A `search` element, the component's base.",
|
|
1235
|
+
"name": "base"
|
|
1236
|
+
},
|
|
1237
|
+
{
|
|
1238
|
+
"description": "An `input` element used for searching.",
|
|
1239
|
+
"name": "combobox"
|
|
1240
|
+
},
|
|
1241
|
+
{
|
|
1242
|
+
"description": "A `button` used for toggling the listbox's visibility.",
|
|
1243
|
+
"name": "button"
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
"description": "A `ul` that holds the clickable options.",
|
|
1247
|
+
"name": "listbox"
|
|
1512
1248
|
}
|
|
1513
1249
|
],
|
|
1514
1250
|
"members": [
|
|
1515
1251
|
{
|
|
1516
1252
|
"kind": "field",
|
|
1517
|
-
"name": "
|
|
1253
|
+
"name": "shadowRootOptions",
|
|
1518
1254
|
"type": {
|
|
1519
|
-
"text": "
|
|
1255
|
+
"text": "object"
|
|
1520
1256
|
},
|
|
1521
|
-
"
|
|
1522
|
-
"
|
|
1523
|
-
"reflects": true
|
|
1257
|
+
"static": true,
|
|
1258
|
+
"default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
|
|
1524
1259
|
},
|
|
1525
1260
|
{
|
|
1526
1261
|
"kind": "field",
|
|
1527
|
-
"name": "
|
|
1528
|
-
"privacy": "private"
|
|
1529
|
-
}
|
|
1530
|
-
],
|
|
1531
|
-
"attributes": [
|
|
1532
|
-
{
|
|
1533
|
-
"name": "size",
|
|
1262
|
+
"name": "tagName",
|
|
1534
1263
|
"type": {
|
|
1535
|
-
"text": "
|
|
1264
|
+
"text": "string"
|
|
1536
1265
|
},
|
|
1537
|
-
"
|
|
1538
|
-
"
|
|
1539
|
-
}
|
|
1540
|
-
],
|
|
1541
|
-
"superclass": {
|
|
1542
|
-
"name": "TerraElement",
|
|
1543
|
-
"module": "/src/internal/terra-element.js"
|
|
1544
|
-
},
|
|
1545
|
-
"summary": "Used for contacts and tags",
|
|
1546
|
-
"tagNameWithoutPrefix": "chip",
|
|
1547
|
-
"tagName": "terra-chip",
|
|
1548
|
-
"customElement": true,
|
|
1549
|
-
"jsDoc": "/**\n * @summary Used for contacts and tags\n * @documentation https://disc.gsfc.nasa.gov/components/chip\n * @status stable\n * @since 1.0\n *\n * @slot - The chip's label.\n */",
|
|
1550
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/chip",
|
|
1551
|
-
"status": "stable",
|
|
1552
|
-
"since": "1.0"
|
|
1553
|
-
}
|
|
1554
|
-
],
|
|
1555
|
-
"exports": [
|
|
1556
|
-
{
|
|
1557
|
-
"kind": "js",
|
|
1558
|
-
"name": "default",
|
|
1559
|
-
"declaration": {
|
|
1560
|
-
"name": "TerraChip",
|
|
1561
|
-
"module": "components/chip/chip.js"
|
|
1562
|
-
}
|
|
1563
|
-
}
|
|
1564
|
-
]
|
|
1565
|
-
},
|
|
1566
|
-
{
|
|
1567
|
-
"kind": "javascript-module",
|
|
1568
|
-
"path": "components/browse-variables/browse-variables.js",
|
|
1569
|
-
"declarations": [
|
|
1570
|
-
{
|
|
1571
|
-
"kind": "class",
|
|
1572
|
-
"description": "",
|
|
1573
|
-
"name": "TerraBrowseVariables",
|
|
1574
|
-
"members": [
|
|
1266
|
+
"static": true,
|
|
1267
|
+
"default": "'terra-combobox'"
|
|
1268
|
+
},
|
|
1575
1269
|
{
|
|
1576
1270
|
"kind": "field",
|
|
1577
|
-
"name": "
|
|
1271
|
+
"name": "initialQuery",
|
|
1578
1272
|
"type": {
|
|
1579
|
-
"text": "
|
|
1273
|
+
"text": "string"
|
|
1580
1274
|
},
|
|
1581
1275
|
"static": true,
|
|
1582
|
-
"default": "
|
|
1276
|
+
"default": "''"
|
|
1583
1277
|
},
|
|
1584
1278
|
{
|
|
1585
1279
|
"kind": "field",
|
|
1586
|
-
"name": "
|
|
1280
|
+
"name": "#combobox",
|
|
1281
|
+
"privacy": "private",
|
|
1587
1282
|
"type": {
|
|
1588
|
-
"text": "
|
|
1283
|
+
"text": "HTMLInputElement | null"
|
|
1589
1284
|
},
|
|
1590
|
-
"default": "
|
|
1591
|
-
"description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
|
|
1592
|
-
"attribute": "catalog"
|
|
1285
|
+
"default": "null"
|
|
1593
1286
|
},
|
|
1594
1287
|
{
|
|
1595
1288
|
"kind": "field",
|
|
1596
|
-
"name": "
|
|
1289
|
+
"name": "#listbox",
|
|
1290
|
+
"privacy": "private",
|
|
1291
|
+
"type": {
|
|
1292
|
+
"text": "HTMLUListElement | null"
|
|
1293
|
+
},
|
|
1294
|
+
"default": "null"
|
|
1295
|
+
},
|
|
1296
|
+
{
|
|
1297
|
+
"kind": "field",
|
|
1298
|
+
"name": "#searchEngine",
|
|
1299
|
+
"privacy": "private",
|
|
1300
|
+
"type": {
|
|
1301
|
+
"text": "Fuse<GroupedListItem | ListItem> | null"
|
|
1302
|
+
},
|
|
1303
|
+
"default": "null"
|
|
1304
|
+
},
|
|
1305
|
+
{
|
|
1306
|
+
"kind": "field",
|
|
1307
|
+
"name": "#walker",
|
|
1308
|
+
"privacy": "private",
|
|
1309
|
+
"type": {
|
|
1310
|
+
"text": "TreeWalker | null"
|
|
1311
|
+
},
|
|
1312
|
+
"default": "null"
|
|
1313
|
+
},
|
|
1314
|
+
{
|
|
1315
|
+
"kind": "field",
|
|
1316
|
+
"name": "label",
|
|
1317
|
+
"type": {
|
|
1318
|
+
"text": "string"
|
|
1319
|
+
},
|
|
1320
|
+
"default": "'Search for Items'",
|
|
1321
|
+
"description": "Label the combobox with this.",
|
|
1322
|
+
"attribute": "label"
|
|
1323
|
+
},
|
|
1324
|
+
{
|
|
1325
|
+
"kind": "field",
|
|
1326
|
+
"name": "name",
|
|
1327
|
+
"type": {
|
|
1328
|
+
"text": "string"
|
|
1329
|
+
},
|
|
1330
|
+
"default": "'Item'",
|
|
1331
|
+
"description": "name the combobox with this.",
|
|
1332
|
+
"attribute": "name"
|
|
1333
|
+
},
|
|
1334
|
+
{
|
|
1335
|
+
"kind": "field",
|
|
1336
|
+
"name": "placeholder",
|
|
1337
|
+
"type": {
|
|
1338
|
+
"text": "string"
|
|
1339
|
+
},
|
|
1340
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
1341
|
+
"attribute": "placeholder"
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
"kind": "field",
|
|
1345
|
+
"name": "hideHelp",
|
|
1597
1346
|
"type": {
|
|
1598
|
-
"text": "
|
|
1347
|
+
"text": "boolean"
|
|
1599
1348
|
},
|
|
1600
|
-
"
|
|
1601
|
-
"
|
|
1349
|
+
"default": "false",
|
|
1350
|
+
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
1351
|
+
"attribute": "hide-help"
|
|
1602
1352
|
},
|
|
1603
1353
|
{
|
|
1604
1354
|
"kind": "field",
|
|
1605
|
-
"name": "
|
|
1355
|
+
"name": "hideLabel",
|
|
1606
1356
|
"type": {
|
|
1607
|
-
"text": "
|
|
1608
|
-
}
|
|
1357
|
+
"text": "boolean"
|
|
1358
|
+
},
|
|
1359
|
+
"default": "false",
|
|
1360
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
1361
|
+
"attribute": "hide-label"
|
|
1609
1362
|
},
|
|
1610
1363
|
{
|
|
1611
1364
|
"kind": "field",
|
|
1612
|
-
"name": "
|
|
1365
|
+
"name": "status",
|
|
1613
1366
|
"type": {
|
|
1614
|
-
"text": "
|
|
1367
|
+
"text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
|
|
1615
1368
|
},
|
|
1616
|
-
"default": "
|
|
1369
|
+
"default": "'INITIAL'",
|
|
1370
|
+
"description": "status of the content",
|
|
1371
|
+
"attribute": "status"
|
|
1617
1372
|
},
|
|
1618
1373
|
{
|
|
1619
1374
|
"kind": "field",
|
|
1620
|
-
"name": "
|
|
1375
|
+
"name": "content",
|
|
1621
1376
|
"type": {
|
|
1622
|
-
"text": "
|
|
1377
|
+
"text": "Content"
|
|
1623
1378
|
},
|
|
1624
|
-
"default": "[]"
|
|
1379
|
+
"default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }",
|
|
1380
|
+
"description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
|
|
1381
|
+
"attribute": "content"
|
|
1625
1382
|
},
|
|
1626
1383
|
{
|
|
1627
1384
|
"kind": "field",
|
|
1628
|
-
"name": "
|
|
1385
|
+
"name": "isExpanded",
|
|
1629
1386
|
"type": {
|
|
1630
1387
|
"text": "boolean"
|
|
1631
1388
|
},
|
|
@@ -1633,198 +1390,166 @@
|
|
|
1633
1390
|
},
|
|
1634
1391
|
{
|
|
1635
1392
|
"kind": "field",
|
|
1636
|
-
"name": "
|
|
1637
|
-
"privacy": "private",
|
|
1638
|
-
"default": "new BrowseVariablesController(this)"
|
|
1639
|
-
},
|
|
1640
|
-
{
|
|
1641
|
-
"kind": "method",
|
|
1642
|
-
"name": "handleSelectedVariablesChange"
|
|
1643
|
-
},
|
|
1644
|
-
{
|
|
1645
|
-
"kind": "method",
|
|
1646
|
-
"name": "reset"
|
|
1393
|
+
"name": "query"
|
|
1647
1394
|
},
|
|
1648
1395
|
{
|
|
1649
|
-
"kind": "
|
|
1650
|
-
"name": "
|
|
1396
|
+
"kind": "field",
|
|
1397
|
+
"name": "searchResults",
|
|
1398
|
+
"type": {
|
|
1399
|
+
"text": "GroupedListItem[] | ListItem[]"
|
|
1400
|
+
},
|
|
1401
|
+
"default": "[]"
|
|
1651
1402
|
},
|
|
1652
1403
|
{
|
|
1653
1404
|
"kind": "method",
|
|
1654
|
-
"name": "
|
|
1405
|
+
"name": "contentChanged",
|
|
1655
1406
|
"parameters": [
|
|
1656
1407
|
{
|
|
1657
|
-
"name": "
|
|
1408
|
+
"name": "_oldValue",
|
|
1658
1409
|
"type": {
|
|
1659
|
-
"text": "
|
|
1410
|
+
"text": "any"
|
|
1660
1411
|
}
|
|
1661
|
-
}
|
|
1662
|
-
]
|
|
1663
|
-
},
|
|
1664
|
-
{
|
|
1665
|
-
"kind": "method",
|
|
1666
|
-
"name": "handleSearch",
|
|
1667
|
-
"parameters": [
|
|
1412
|
+
},
|
|
1668
1413
|
{
|
|
1669
|
-
"name": "
|
|
1414
|
+
"name": "newValue",
|
|
1670
1415
|
"type": {
|
|
1671
|
-
"text": "
|
|
1416
|
+
"text": "any"
|
|
1672
1417
|
}
|
|
1673
1418
|
}
|
|
1674
1419
|
]
|
|
1675
1420
|
},
|
|
1676
1421
|
{
|
|
1677
|
-
"kind": "
|
|
1678
|
-
"name": "#
|
|
1679
|
-
"
|
|
1680
|
-
{
|
|
1681
|
-
"name": "facet",
|
|
1682
|
-
"type": {
|
|
1683
|
-
"text": "string"
|
|
1684
|
-
}
|
|
1685
|
-
},
|
|
1686
|
-
{
|
|
1687
|
-
"name": "field",
|
|
1688
|
-
"type": {
|
|
1689
|
-
"text": "string"
|
|
1690
|
-
}
|
|
1691
|
-
},
|
|
1692
|
-
{
|
|
1693
|
-
"name": "selectOneFieldAtATime",
|
|
1694
|
-
"default": "false",
|
|
1695
|
-
"type": {
|
|
1696
|
-
"text": "boolean"
|
|
1697
|
-
}
|
|
1698
|
-
}
|
|
1699
|
-
],
|
|
1700
|
-
"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"
|
|
1422
|
+
"kind": "field",
|
|
1423
|
+
"name": "#renderListItem",
|
|
1424
|
+
"privacy": "private"
|
|
1701
1425
|
},
|
|
1702
1426
|
{
|
|
1703
|
-
"kind": "
|
|
1704
|
-
"name": "#
|
|
1705
|
-
"
|
|
1706
|
-
{
|
|
1707
|
-
"name": "facet",
|
|
1708
|
-
"type": {
|
|
1709
|
-
"text": "string"
|
|
1710
|
-
}
|
|
1711
|
-
}
|
|
1712
|
-
]
|
|
1427
|
+
"kind": "field",
|
|
1428
|
+
"name": "#renderGroupListItem",
|
|
1429
|
+
"privacy": "private"
|
|
1713
1430
|
},
|
|
1714
1431
|
{
|
|
1715
|
-
"kind": "
|
|
1716
|
-
"name": "#
|
|
1717
|
-
"
|
|
1718
|
-
{
|
|
1719
|
-
"name": "facet",
|
|
1720
|
-
"type": {
|
|
1721
|
-
"text": "string"
|
|
1722
|
-
}
|
|
1723
|
-
},
|
|
1724
|
-
{
|
|
1725
|
-
"name": "field",
|
|
1726
|
-
"type": {
|
|
1727
|
-
"text": "string"
|
|
1728
|
-
}
|
|
1729
|
-
}
|
|
1730
|
-
]
|
|
1432
|
+
"kind": "field",
|
|
1433
|
+
"name": "#renderError",
|
|
1434
|
+
"privacy": "private"
|
|
1731
1435
|
},
|
|
1732
1436
|
{
|
|
1733
|
-
"kind": "
|
|
1734
|
-
"name": "#
|
|
1735
|
-
"
|
|
1736
|
-
{
|
|
1737
|
-
"name": "variable",
|
|
1738
|
-
"type": {
|
|
1739
|
-
"text": "Variable"
|
|
1740
|
-
}
|
|
1741
|
-
},
|
|
1742
|
-
{
|
|
1743
|
-
"name": "checked",
|
|
1744
|
-
"type": {
|
|
1745
|
-
"text": "Boolean"
|
|
1746
|
-
}
|
|
1747
|
-
}
|
|
1748
|
-
]
|
|
1437
|
+
"kind": "field",
|
|
1438
|
+
"name": "#renderLoading",
|
|
1439
|
+
"privacy": "private"
|
|
1749
1440
|
},
|
|
1750
1441
|
{
|
|
1751
|
-
"kind": "
|
|
1752
|
-
"name": "#
|
|
1442
|
+
"kind": "field",
|
|
1443
|
+
"name": "#dispatchChange",
|
|
1444
|
+
"privacy": "private"
|
|
1753
1445
|
},
|
|
1754
1446
|
{
|
|
1755
|
-
"kind": "
|
|
1756
|
-
"name": "#
|
|
1757
|
-
"
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1447
|
+
"kind": "field",
|
|
1448
|
+
"name": "#handleButtonClick",
|
|
1449
|
+
"privacy": "private"
|
|
1450
|
+
},
|
|
1451
|
+
{
|
|
1452
|
+
"kind": "field",
|
|
1453
|
+
"name": "#handleComboboxChange",
|
|
1454
|
+
"privacy": "private"
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
"kind": "field",
|
|
1458
|
+
"name": "#handleOptionClick",
|
|
1459
|
+
"privacy": "private"
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
"kind": "field",
|
|
1463
|
+
"name": "#handleKeydown",
|
|
1464
|
+
"privacy": "private"
|
|
1465
|
+
},
|
|
1466
|
+
{
|
|
1467
|
+
"kind": "field",
|
|
1468
|
+
"name": "#manageListboxVisibility",
|
|
1469
|
+
"privacy": "private"
|
|
1470
|
+
},
|
|
1471
|
+
{
|
|
1472
|
+
"kind": "field",
|
|
1473
|
+
"name": "#selectOption",
|
|
1474
|
+
"privacy": "private"
|
|
1475
|
+
}
|
|
1476
|
+
],
|
|
1477
|
+
"attributes": [
|
|
1478
|
+
{
|
|
1479
|
+
"name": "label",
|
|
1480
|
+
"type": {
|
|
1481
|
+
"text": "string"
|
|
1482
|
+
},
|
|
1483
|
+
"default": "'Search for Items'",
|
|
1484
|
+
"description": "Label the combobox with this.",
|
|
1485
|
+
"fieldName": "label"
|
|
1486
|
+
},
|
|
1487
|
+
{
|
|
1488
|
+
"name": "name",
|
|
1489
|
+
"type": {
|
|
1490
|
+
"text": "string"
|
|
1491
|
+
},
|
|
1492
|
+
"default": "'Item'",
|
|
1493
|
+
"description": "name the combobox with this.",
|
|
1494
|
+
"fieldName": "name"
|
|
1495
|
+
},
|
|
1496
|
+
{
|
|
1497
|
+
"name": "placeholder",
|
|
1498
|
+
"type": {
|
|
1499
|
+
"text": "string"
|
|
1500
|
+
},
|
|
1501
|
+
"description": "Set a placeholder for the combobox with this.\nDefaults to the label's value.",
|
|
1502
|
+
"fieldName": "placeholder"
|
|
1503
|
+
},
|
|
1504
|
+
{
|
|
1505
|
+
"name": "hide-help",
|
|
1506
|
+
"type": {
|
|
1507
|
+
"text": "boolean"
|
|
1508
|
+
},
|
|
1509
|
+
"default": "false",
|
|
1510
|
+
"description": "Hide the combobox's help text.\nWhen hidden, not rendered at all.",
|
|
1511
|
+
"fieldName": "hideHelp"
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
"name": "hide-label",
|
|
1515
|
+
"type": {
|
|
1516
|
+
"text": "boolean"
|
|
1517
|
+
},
|
|
1518
|
+
"default": "false",
|
|
1519
|
+
"description": "Hide the combobox's label text.\nWhen hidden, still presents to screen readers.",
|
|
1520
|
+
"fieldName": "hideLabel"
|
|
1785
1521
|
},
|
|
1786
1522
|
{
|
|
1787
|
-
"
|
|
1788
|
-
"name": "#renderVariablesBrowse"
|
|
1789
|
-
}
|
|
1790
|
-
],
|
|
1791
|
-
"attributes": [
|
|
1792
|
-
{
|
|
1793
|
-
"name": "catalog",
|
|
1523
|
+
"name": "status",
|
|
1794
1524
|
"type": {
|
|
1795
|
-
"text": "'
|
|
1525
|
+
"text": "'INITIAL' | 'PENDING' | 'COMPLETE' | 'ERROR'"
|
|
1796
1526
|
},
|
|
1797
|
-
"default": "'
|
|
1798
|
-
"description": "
|
|
1799
|
-
"fieldName": "
|
|
1527
|
+
"default": "'INITIAL'",
|
|
1528
|
+
"description": "status of the content",
|
|
1529
|
+
"fieldName": "status"
|
|
1800
1530
|
},
|
|
1801
1531
|
{
|
|
1802
|
-
"name": "
|
|
1532
|
+
"name": "content",
|
|
1803
1533
|
"type": {
|
|
1804
|
-
"text": "
|
|
1534
|
+
"text": "Content"
|
|
1805
1535
|
},
|
|
1806
|
-
"
|
|
1536
|
+
"default": "{\n type: SearchableListType.GroupedListItem,\n data: [],\n }",
|
|
1537
|
+
"description": "content or data of the combobox. This could be of type string | GroupedListItem[] | ListItem[] | undefined",
|
|
1538
|
+
"fieldName": "content"
|
|
1807
1539
|
}
|
|
1808
1540
|
],
|
|
1809
1541
|
"superclass": {
|
|
1810
1542
|
"name": "TerraElement",
|
|
1811
1543
|
"module": "/src/internal/terra-element.js"
|
|
1812
1544
|
},
|
|
1813
|
-
"summary": "
|
|
1814
|
-
"tagNameWithoutPrefix": "
|
|
1815
|
-
"tagName": "terra-
|
|
1545
|
+
"summary": "Fuzzy-search for combobox with list autocomplete.",
|
|
1546
|
+
"tagNameWithoutPrefix": "combobox",
|
|
1547
|
+
"tagName": "terra-combobox",
|
|
1816
1548
|
"customElement": true,
|
|
1817
|
-
"jsDoc": "/**\n * @summary
|
|
1818
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
1819
|
-
"status": "
|
|
1820
|
-
"since": "1.0"
|
|
1821
|
-
"dependencies": [
|
|
1822
|
-
"terra-variable-keyword-search",
|
|
1823
|
-
"terra-button",
|
|
1824
|
-
"terra-skeleton",
|
|
1825
|
-
"terra-icon",
|
|
1826
|
-
"terra-loader"
|
|
1827
|
-
]
|
|
1549
|
+
"jsDoc": "/**\n * @summary Fuzzy-search for combobox with list autocomplete.\n * @documentation https://disc.gsfc.nasa.gov/components/combobox\n * @status experimental\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 */",
|
|
1550
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/combobox",
|
|
1551
|
+
"status": "experimental",
|
|
1552
|
+
"since": "1.0"
|
|
1828
1553
|
}
|
|
1829
1554
|
],
|
|
1830
1555
|
"exports": [
|
|
@@ -1832,8 +1557,8 @@
|
|
|
1832
1557
|
"kind": "js",
|
|
1833
1558
|
"name": "default",
|
|
1834
1559
|
"declaration": {
|
|
1835
|
-
"name": "
|
|
1836
|
-
"module": "components/
|
|
1560
|
+
"name": "TerraCombobox",
|
|
1561
|
+
"module": "components/combobox/combobox.js"
|
|
1837
1562
|
}
|
|
1838
1563
|
}
|
|
1839
1564
|
]
|
|
@@ -2509,68 +2234,301 @@
|
|
|
2509
2234
|
},
|
|
2510
2235
|
{
|
|
2511
2236
|
"kind": "field",
|
|
2512
|
-
"name": "#resetVariableSelection",
|
|
2513
|
-
"privacy": "private"
|
|
2514
|
-
},
|
|
2515
|
-
{
|
|
2516
|
-
"kind": "method",
|
|
2517
|
-
"name": "#renderJobStatus"
|
|
2518
|
-
},
|
|
2519
|
-
{
|
|
2520
|
-
"kind": "method",
|
|
2521
|
-
"name": "#renderSelectedParams"
|
|
2522
|
-
},
|
|
2523
|
-
{
|
|
2524
|
-
"kind": "method",
|
|
2525
|
-
"name": "#cancelJob"
|
|
2526
|
-
},
|
|
2527
|
-
{
|
|
2528
|
-
"kind": "method",
|
|
2529
|
-
"name": "#getData"
|
|
2237
|
+
"name": "#resetVariableSelection",
|
|
2238
|
+
"privacy": "private"
|
|
2239
|
+
},
|
|
2240
|
+
{
|
|
2241
|
+
"kind": "method",
|
|
2242
|
+
"name": "#renderJobStatus"
|
|
2243
|
+
},
|
|
2244
|
+
{
|
|
2245
|
+
"kind": "method",
|
|
2246
|
+
"name": "#renderSelectedParams"
|
|
2247
|
+
},
|
|
2248
|
+
{
|
|
2249
|
+
"kind": "method",
|
|
2250
|
+
"name": "#cancelJob"
|
|
2251
|
+
},
|
|
2252
|
+
{
|
|
2253
|
+
"kind": "method",
|
|
2254
|
+
"name": "#getData"
|
|
2255
|
+
},
|
|
2256
|
+
{
|
|
2257
|
+
"kind": "method",
|
|
2258
|
+
"name": "#touchAllFields"
|
|
2259
|
+
},
|
|
2260
|
+
{
|
|
2261
|
+
"kind": "method",
|
|
2262
|
+
"name": "#numberOfFilesFoundEstimate"
|
|
2263
|
+
},
|
|
2264
|
+
{
|
|
2265
|
+
"kind": "method",
|
|
2266
|
+
"name": "#getDocumentationLinks"
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
"kind": "method",
|
|
2270
|
+
"name": "#getDataLinks"
|
|
2271
|
+
},
|
|
2272
|
+
{
|
|
2273
|
+
"kind": "method",
|
|
2274
|
+
"name": "#hasAtLeastOneSubsetOption"
|
|
2275
|
+
},
|
|
2276
|
+
{
|
|
2277
|
+
"kind": "method",
|
|
2278
|
+
"name": "#hasSpatialSubset"
|
|
2279
|
+
},
|
|
2280
|
+
{
|
|
2281
|
+
"kind": "method",
|
|
2282
|
+
"name": "#renderJobMessage"
|
|
2283
|
+
},
|
|
2284
|
+
{
|
|
2285
|
+
"kind": "method",
|
|
2286
|
+
"name": "#getJobMessageText"
|
|
2287
|
+
},
|
|
2288
|
+
{
|
|
2289
|
+
"kind": "method",
|
|
2290
|
+
"name": "#estimateJobSize"
|
|
2291
|
+
},
|
|
2292
|
+
{
|
|
2293
|
+
"kind": "method",
|
|
2294
|
+
"name": "#refineParameters"
|
|
2295
|
+
},
|
|
2296
|
+
{
|
|
2297
|
+
"kind": "method",
|
|
2298
|
+
"name": "#toggleDownloadMenu",
|
|
2299
|
+
"parameters": [
|
|
2300
|
+
{
|
|
2301
|
+
"name": "event",
|
|
2302
|
+
"type": {
|
|
2303
|
+
"text": "Event"
|
|
2304
|
+
}
|
|
2305
|
+
}
|
|
2306
|
+
]
|
|
2307
|
+
},
|
|
2308
|
+
{
|
|
2309
|
+
"kind": "method",
|
|
2310
|
+
"name": "#downloadLinksAsTxt",
|
|
2311
|
+
"parameters": [
|
|
2312
|
+
{
|
|
2313
|
+
"name": "event",
|
|
2314
|
+
"type": {
|
|
2315
|
+
"text": "Event"
|
|
2316
|
+
}
|
|
2317
|
+
}
|
|
2318
|
+
]
|
|
2319
|
+
},
|
|
2320
|
+
{
|
|
2321
|
+
"kind": "method",
|
|
2322
|
+
"name": "#downloadPythonScript",
|
|
2323
|
+
"parameters": [
|
|
2324
|
+
{
|
|
2325
|
+
"name": "event",
|
|
2326
|
+
"type": {
|
|
2327
|
+
"text": "Event"
|
|
2328
|
+
}
|
|
2329
|
+
}
|
|
2330
|
+
]
|
|
2331
|
+
},
|
|
2332
|
+
{
|
|
2333
|
+
"kind": "method",
|
|
2334
|
+
"name": "#downloadEarthdataDownload",
|
|
2335
|
+
"parameters": [
|
|
2336
|
+
{
|
|
2337
|
+
"name": "event",
|
|
2338
|
+
"type": {
|
|
2339
|
+
"text": "Event"
|
|
2340
|
+
}
|
|
2341
|
+
}
|
|
2342
|
+
]
|
|
2343
|
+
},
|
|
2344
|
+
{
|
|
2345
|
+
"kind": "method",
|
|
2346
|
+
"name": "#handleClickOutside",
|
|
2347
|
+
"parameters": [
|
|
2348
|
+
{
|
|
2349
|
+
"name": "event",
|
|
2350
|
+
"type": {
|
|
2351
|
+
"text": "MouseEvent"
|
|
2352
|
+
}
|
|
2353
|
+
}
|
|
2354
|
+
]
|
|
2355
|
+
},
|
|
2356
|
+
{
|
|
2357
|
+
"kind": "method",
|
|
2358
|
+
"name": "#handleJupyterNotebookClick"
|
|
2359
|
+
},
|
|
2360
|
+
{
|
|
2361
|
+
"kind": "method",
|
|
2362
|
+
"name": "renderHistoryPanel"
|
|
2363
|
+
},
|
|
2364
|
+
{
|
|
2365
|
+
"kind": "method",
|
|
2366
|
+
"name": "#renderAvailableTemporalRangeSection"
|
|
2367
|
+
},
|
|
2368
|
+
{
|
|
2369
|
+
"kind": "method",
|
|
2370
|
+
"name": "#renderAvailableSpatialRangeSection"
|
|
2371
|
+
}
|
|
2372
|
+
],
|
|
2373
|
+
"events": [
|
|
2374
|
+
{
|
|
2375
|
+
"description": "called when a subset job enters a final state (e.g. successful, failed, completed_with_errors)",
|
|
2376
|
+
"name": "terra-subset-job-complete",
|
|
2377
|
+
"reactName": "onTerraSubsetJobComplete",
|
|
2378
|
+
"eventName": "TerraSubsetJobCompleteEvent"
|
|
2379
|
+
}
|
|
2380
|
+
],
|
|
2381
|
+
"attributes": [
|
|
2382
|
+
{
|
|
2383
|
+
"name": "collection-entry-id",
|
|
2384
|
+
"type": {
|
|
2385
|
+
"text": "string | undefined"
|
|
2386
|
+
},
|
|
2387
|
+
"fieldName": "collectionEntryId"
|
|
2388
|
+
},
|
|
2389
|
+
{
|
|
2390
|
+
"name": "show-collection-search",
|
|
2391
|
+
"type": {
|
|
2392
|
+
"text": "boolean | undefined"
|
|
2393
|
+
},
|
|
2394
|
+
"default": "true",
|
|
2395
|
+
"fieldName": "showCollectionSearch"
|
|
2396
|
+
},
|
|
2397
|
+
{
|
|
2398
|
+
"name": "job-id",
|
|
2399
|
+
"type": {
|
|
2400
|
+
"text": "string | undefined"
|
|
2401
|
+
},
|
|
2402
|
+
"fieldName": "jobId"
|
|
2403
|
+
},
|
|
2404
|
+
{
|
|
2405
|
+
"name": "bearer-token",
|
|
2406
|
+
"type": {
|
|
2407
|
+
"text": "string | undefined"
|
|
2408
|
+
},
|
|
2409
|
+
"fieldName": "bearerToken"
|
|
2410
|
+
}
|
|
2411
|
+
],
|
|
2412
|
+
"superclass": {
|
|
2413
|
+
"name": "TerraElement",
|
|
2414
|
+
"module": "/src/internal/terra-element.js"
|
|
2415
|
+
},
|
|
2416
|
+
"summary": "Easily allow users to select, subset, and download NASA Earth science data collections with spatial, temporal, and variable filters.",
|
|
2417
|
+
"tagNameWithoutPrefix": "data-subsetter",
|
|
2418
|
+
"tagName": "terra-data-subsetter",
|
|
2419
|
+
"customElement": true,
|
|
2420
|
+
"jsDoc": "/**\n * @summary Easily allow users to select, subset, and download NASA Earth science data collections with spatial, temporal, and variable filters.\n * @documentation https://disc.gsfc.nasa.gov/components/data-subsetter\n * @status stable\n * @since 1.0\n *\n * @dependency terra-accordion\n * @dependency terra-date-picker\n * @dependency terra-icon\n * @dependency terra-spatial-picker\n *\n * @event terra-subset-job-complete - called when a subset job enters a final state (e.g. successful, failed, completed_with_errors)\n */",
|
|
2421
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/data-subsetter",
|
|
2422
|
+
"status": "stable",
|
|
2423
|
+
"since": "1.0",
|
|
2424
|
+
"dependencies": [
|
|
2425
|
+
"terra-accordion",
|
|
2426
|
+
"terra-date-picker",
|
|
2427
|
+
"terra-icon",
|
|
2428
|
+
"terra-spatial-picker"
|
|
2429
|
+
]
|
|
2430
|
+
}
|
|
2431
|
+
],
|
|
2432
|
+
"exports": [
|
|
2433
|
+
{
|
|
2434
|
+
"kind": "js",
|
|
2435
|
+
"name": "default",
|
|
2436
|
+
"declaration": {
|
|
2437
|
+
"name": "TerraDataSubsetter",
|
|
2438
|
+
"module": "components/data-subsetter/data-subsetter.js"
|
|
2439
|
+
}
|
|
2440
|
+
}
|
|
2441
|
+
]
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
"kind": "javascript-module",
|
|
2445
|
+
"path": "components/browse-variables/browse-variables.js",
|
|
2446
|
+
"declarations": [
|
|
2447
|
+
{
|
|
2448
|
+
"kind": "class",
|
|
2449
|
+
"description": "",
|
|
2450
|
+
"name": "TerraBrowseVariables",
|
|
2451
|
+
"members": [
|
|
2452
|
+
{
|
|
2453
|
+
"kind": "field",
|
|
2454
|
+
"name": "dependencies",
|
|
2455
|
+
"type": {
|
|
2456
|
+
"text": "object"
|
|
2457
|
+
},
|
|
2458
|
+
"static": true,
|
|
2459
|
+
"default": "{\n 'terra-variable-keyword-search': TerraVariableKeywordSearch,\n 'terra-button': TerraButton,\n 'terra-skeleton': TerraSkeleton,\n 'terra-icon': TerraIcon,\n 'terra-loader': TerraLoader,\n }"
|
|
2530
2460
|
},
|
|
2531
2461
|
{
|
|
2532
|
-
"kind": "
|
|
2533
|
-
"name": "
|
|
2462
|
+
"kind": "field",
|
|
2463
|
+
"name": "catalog",
|
|
2464
|
+
"type": {
|
|
2465
|
+
"text": "'giovanni'"
|
|
2466
|
+
},
|
|
2467
|
+
"default": "'giovanni'",
|
|
2468
|
+
"description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
|
|
2469
|
+
"attribute": "catalog"
|
|
2534
2470
|
},
|
|
2535
2471
|
{
|
|
2536
|
-
"kind": "
|
|
2537
|
-
"name": "
|
|
2472
|
+
"kind": "field",
|
|
2473
|
+
"name": "selectedVariableEntryIds",
|
|
2474
|
+
"type": {
|
|
2475
|
+
"text": "string | undefined"
|
|
2476
|
+
},
|
|
2477
|
+
"attribute": "selected-variable-entry-ids",
|
|
2478
|
+
"reflects": true
|
|
2538
2479
|
},
|
|
2539
2480
|
{
|
|
2540
|
-
"kind": "
|
|
2541
|
-
"name": "
|
|
2481
|
+
"kind": "field",
|
|
2482
|
+
"name": "searchQuery",
|
|
2483
|
+
"type": {
|
|
2484
|
+
"text": "string"
|
|
2485
|
+
}
|
|
2542
2486
|
},
|
|
2543
2487
|
{
|
|
2544
|
-
"kind": "
|
|
2545
|
-
"name": "
|
|
2488
|
+
"kind": "field",
|
|
2489
|
+
"name": "selectedFacets",
|
|
2490
|
+
"type": {
|
|
2491
|
+
"text": "SelectedFacets"
|
|
2492
|
+
},
|
|
2493
|
+
"default": "{}"
|
|
2546
2494
|
},
|
|
2547
2495
|
{
|
|
2548
|
-
"kind": "
|
|
2549
|
-
"name": "
|
|
2496
|
+
"kind": "field",
|
|
2497
|
+
"name": "selectedVariables",
|
|
2498
|
+
"type": {
|
|
2499
|
+
"text": "Variable[]"
|
|
2500
|
+
},
|
|
2501
|
+
"default": "[]"
|
|
2550
2502
|
},
|
|
2551
2503
|
{
|
|
2552
|
-
"kind": "
|
|
2553
|
-
"name": "
|
|
2504
|
+
"kind": "field",
|
|
2505
|
+
"name": "showVariablesBrowse",
|
|
2506
|
+
"type": {
|
|
2507
|
+
"text": "boolean"
|
|
2508
|
+
},
|
|
2509
|
+
"default": "false"
|
|
2554
2510
|
},
|
|
2555
2511
|
{
|
|
2556
|
-
"kind": "
|
|
2557
|
-
"name": "#
|
|
2512
|
+
"kind": "field",
|
|
2513
|
+
"name": "#controller",
|
|
2514
|
+
"privacy": "private",
|
|
2515
|
+
"default": "new BrowseVariablesController(this)"
|
|
2558
2516
|
},
|
|
2559
2517
|
{
|
|
2560
2518
|
"kind": "method",
|
|
2561
|
-
"name": "
|
|
2519
|
+
"name": "handleSelectedVariablesChange"
|
|
2562
2520
|
},
|
|
2563
2521
|
{
|
|
2564
2522
|
"kind": "method",
|
|
2565
|
-
"name": "
|
|
2523
|
+
"name": "reset"
|
|
2566
2524
|
},
|
|
2567
2525
|
{
|
|
2568
2526
|
"kind": "method",
|
|
2569
|
-
"name": "
|
|
2527
|
+
"name": "handleObservationChange"
|
|
2570
2528
|
},
|
|
2571
2529
|
{
|
|
2572
2530
|
"kind": "method",
|
|
2573
|
-
"name": "
|
|
2531
|
+
"name": "toggleFacetSelect",
|
|
2574
2532
|
"parameters": [
|
|
2575
2533
|
{
|
|
2576
2534
|
"name": "event",
|
|
@@ -2582,125 +2540,167 @@
|
|
|
2582
2540
|
},
|
|
2583
2541
|
{
|
|
2584
2542
|
"kind": "method",
|
|
2585
|
-
"name": "
|
|
2543
|
+
"name": "handleSearch",
|
|
2586
2544
|
"parameters": [
|
|
2587
2545
|
{
|
|
2588
|
-
"name": "
|
|
2546
|
+
"name": "e",
|
|
2589
2547
|
"type": {
|
|
2590
|
-
"text": "
|
|
2548
|
+
"text": "TerraVariableKeywordSearchChangeEvent"
|
|
2591
2549
|
}
|
|
2592
2550
|
}
|
|
2593
2551
|
]
|
|
2594
2552
|
},
|
|
2595
2553
|
{
|
|
2596
2554
|
"kind": "method",
|
|
2597
|
-
"name": "#
|
|
2555
|
+
"name": "#selectFacetField",
|
|
2598
2556
|
"parameters": [
|
|
2599
2557
|
{
|
|
2600
|
-
"name": "
|
|
2558
|
+
"name": "facet",
|
|
2601
2559
|
"type": {
|
|
2602
|
-
"text": "
|
|
2560
|
+
"text": "string"
|
|
2561
|
+
}
|
|
2562
|
+
},
|
|
2563
|
+
{
|
|
2564
|
+
"name": "field",
|
|
2565
|
+
"type": {
|
|
2566
|
+
"text": "string"
|
|
2567
|
+
}
|
|
2568
|
+
},
|
|
2569
|
+
{
|
|
2570
|
+
"name": "selectOneFieldAtATime",
|
|
2571
|
+
"default": "false",
|
|
2572
|
+
"type": {
|
|
2573
|
+
"text": "boolean"
|
|
2603
2574
|
}
|
|
2604
2575
|
}
|
|
2605
|
-
]
|
|
2576
|
+
],
|
|
2577
|
+
"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"
|
|
2606
2578
|
},
|
|
2607
2579
|
{
|
|
2608
2580
|
"kind": "method",
|
|
2609
|
-
"name": "#
|
|
2581
|
+
"name": "#clearFacet",
|
|
2610
2582
|
"parameters": [
|
|
2611
2583
|
{
|
|
2612
|
-
"name": "
|
|
2584
|
+
"name": "facet",
|
|
2613
2585
|
"type": {
|
|
2614
|
-
"text": "
|
|
2586
|
+
"text": "string"
|
|
2615
2587
|
}
|
|
2616
2588
|
}
|
|
2617
2589
|
]
|
|
2618
2590
|
},
|
|
2619
2591
|
{
|
|
2620
2592
|
"kind": "method",
|
|
2621
|
-
"name": "#
|
|
2593
|
+
"name": "#unselectFacetField",
|
|
2622
2594
|
"parameters": [
|
|
2623
2595
|
{
|
|
2624
|
-
"name": "
|
|
2596
|
+
"name": "facet",
|
|
2625
2597
|
"type": {
|
|
2626
|
-
"text": "
|
|
2598
|
+
"text": "string"
|
|
2599
|
+
}
|
|
2600
|
+
},
|
|
2601
|
+
{
|
|
2602
|
+
"name": "field",
|
|
2603
|
+
"type": {
|
|
2604
|
+
"text": "string"
|
|
2627
2605
|
}
|
|
2628
2606
|
}
|
|
2629
2607
|
]
|
|
2630
2608
|
},
|
|
2631
2609
|
{
|
|
2632
2610
|
"kind": "method",
|
|
2633
|
-
"name": "#
|
|
2611
|
+
"name": "#handleVariableSelection",
|
|
2612
|
+
"parameters": [
|
|
2613
|
+
{
|
|
2614
|
+
"name": "variable",
|
|
2615
|
+
"type": {
|
|
2616
|
+
"text": "Variable"
|
|
2617
|
+
}
|
|
2618
|
+
},
|
|
2619
|
+
{
|
|
2620
|
+
"name": "checked",
|
|
2621
|
+
"type": {
|
|
2622
|
+
"text": "Boolean"
|
|
2623
|
+
}
|
|
2624
|
+
}
|
|
2625
|
+
]
|
|
2634
2626
|
},
|
|
2635
2627
|
{
|
|
2636
2628
|
"kind": "method",
|
|
2637
|
-
"name": "
|
|
2629
|
+
"name": "#renderCategorySelect"
|
|
2638
2630
|
},
|
|
2639
2631
|
{
|
|
2640
2632
|
"kind": "method",
|
|
2641
|
-
"name": "#
|
|
2633
|
+
"name": "#renderFacet",
|
|
2634
|
+
"parameters": [
|
|
2635
|
+
{
|
|
2636
|
+
"name": "facetKey",
|
|
2637
|
+
"type": {
|
|
2638
|
+
"text": "string"
|
|
2639
|
+
}
|
|
2640
|
+
},
|
|
2641
|
+
{
|
|
2642
|
+
"name": "title",
|
|
2643
|
+
"type": {
|
|
2644
|
+
"text": "string"
|
|
2645
|
+
}
|
|
2646
|
+
},
|
|
2647
|
+
{
|
|
2648
|
+
"name": "fields",
|
|
2649
|
+
"optional": true,
|
|
2650
|
+
"type": {
|
|
2651
|
+
"text": "FacetField[]"
|
|
2652
|
+
}
|
|
2653
|
+
},
|
|
2654
|
+
{
|
|
2655
|
+
"name": "open",
|
|
2656
|
+
"optional": true,
|
|
2657
|
+
"type": {
|
|
2658
|
+
"text": "boolean"
|
|
2659
|
+
}
|
|
2660
|
+
}
|
|
2661
|
+
]
|
|
2642
2662
|
},
|
|
2643
2663
|
{
|
|
2644
2664
|
"kind": "method",
|
|
2645
|
-
"name": "#
|
|
2646
|
-
}
|
|
2647
|
-
],
|
|
2648
|
-
"events": [
|
|
2649
|
-
{
|
|
2650
|
-
"description": "called when a subset job enters a final state (e.g. successful, failed, completed_with_errors)",
|
|
2651
|
-
"name": "terra-subset-job-complete",
|
|
2652
|
-
"reactName": "onTerraSubsetJobComplete",
|
|
2653
|
-
"eventName": "TerraSubsetJobCompleteEvent"
|
|
2665
|
+
"name": "#renderVariablesBrowse"
|
|
2654
2666
|
}
|
|
2655
2667
|
],
|
|
2656
2668
|
"attributes": [
|
|
2657
2669
|
{
|
|
2658
|
-
"name": "
|
|
2659
|
-
"type": {
|
|
2660
|
-
"text": "string | undefined"
|
|
2661
|
-
},
|
|
2662
|
-
"fieldName": "collectionEntryId"
|
|
2663
|
-
},
|
|
2664
|
-
{
|
|
2665
|
-
"name": "show-collection-search",
|
|
2666
|
-
"type": {
|
|
2667
|
-
"text": "boolean | undefined"
|
|
2668
|
-
},
|
|
2669
|
-
"default": "true",
|
|
2670
|
-
"fieldName": "showCollectionSearch"
|
|
2671
|
-
},
|
|
2672
|
-
{
|
|
2673
|
-
"name": "job-id",
|
|
2670
|
+
"name": "catalog",
|
|
2674
2671
|
"type": {
|
|
2675
|
-
"text": "
|
|
2672
|
+
"text": "'giovanni'"
|
|
2676
2673
|
},
|
|
2677
|
-
"
|
|
2674
|
+
"default": "'giovanni'",
|
|
2675
|
+
"description": "Allows the user to switch the catalog between different providers\nTODO: add support for CMR catalog and make it the default",
|
|
2676
|
+
"fieldName": "catalog"
|
|
2678
2677
|
},
|
|
2679
2678
|
{
|
|
2680
|
-
"name": "
|
|
2679
|
+
"name": "selected-variable-entry-ids",
|
|
2681
2680
|
"type": {
|
|
2682
2681
|
"text": "string | undefined"
|
|
2683
2682
|
},
|
|
2684
|
-
"fieldName": "
|
|
2683
|
+
"fieldName": "selectedVariableEntryIds"
|
|
2685
2684
|
}
|
|
2686
2685
|
],
|
|
2687
2686
|
"superclass": {
|
|
2688
2687
|
"name": "TerraElement",
|
|
2689
2688
|
"module": "/src/internal/terra-element.js"
|
|
2690
2689
|
},
|
|
2691
|
-
"summary": "
|
|
2692
|
-
"tagNameWithoutPrefix": "
|
|
2693
|
-
"tagName": "terra-
|
|
2690
|
+
"summary": "Browse through the NASA CMR or Giovanni catalogs.",
|
|
2691
|
+
"tagNameWithoutPrefix": "browse-variables",
|
|
2692
|
+
"tagName": "terra-browse-variables",
|
|
2694
2693
|
"customElement": true,
|
|
2695
|
-
"jsDoc": "/**\n * @summary
|
|
2696
|
-
"documentation": "https://disc.gsfc.nasa.gov/components/
|
|
2697
|
-
"status": "
|
|
2694
|
+
"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 */",
|
|
2695
|
+
"documentation": "https://disc.gsfc.nasa.gov/components/browse-variables",
|
|
2696
|
+
"status": "MVP",
|
|
2698
2697
|
"since": "1.0",
|
|
2699
2698
|
"dependencies": [
|
|
2700
|
-
"terra-
|
|
2701
|
-
"terra-
|
|
2699
|
+
"terra-variable-keyword-search",
|
|
2700
|
+
"terra-button",
|
|
2701
|
+
"terra-skeleton",
|
|
2702
2702
|
"terra-icon",
|
|
2703
|
-
"terra-
|
|
2703
|
+
"terra-loader"
|
|
2704
2704
|
]
|
|
2705
2705
|
}
|
|
2706
2706
|
],
|
|
@@ -2709,8 +2709,8 @@
|
|
|
2709
2709
|
"kind": "js",
|
|
2710
2710
|
"name": "default",
|
|
2711
2711
|
"declaration": {
|
|
2712
|
-
"name": "
|
|
2713
|
-
"module": "components/
|
|
2712
|
+
"name": "TerraBrowseVariables",
|
|
2713
|
+
"module": "components/browse-variables/browse-variables.js"
|
|
2714
2714
|
}
|
|
2715
2715
|
}
|
|
2716
2716
|
]
|
|
@@ -6962,7 +6962,7 @@
|
|
|
6962
6962
|
"package": {
|
|
6963
6963
|
"name": "@nasa-terra/components",
|
|
6964
6964
|
"description": "A collection of NASA Earthdata components",
|
|
6965
|
-
"version": "0.0.
|
|
6965
|
+
"version": "0.0.91",
|
|
6966
6966
|
"author": "NASA GES DISC <https://disc.gsfc.nasa.gov>",
|
|
6967
6967
|
"homepage": "https://github.com/nasa/terra-ui-components",
|
|
6968
6968
|
"license": "MIT"
|