@nasa-terra/components 0.0.7 → 0.0.9
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/README.md +10 -3
- package/cdn/chunks/{chunk.CPNLKTGF.js → chunk.2463X3BU.js} +1 -1
- package/cdn/chunks/{chunk.2BF5ZHP6.js → chunk.2AR3YFY6.js} +22 -29
- package/cdn/chunks/{chunk.UUZHIWQZ.js → chunk.2B3T647S.js} +7 -7
- package/cdn/chunks/chunk.3WUZMCON.js +198 -0
- package/cdn/chunks/{chunk.L4ODCAGX.js → chunk.4X3H4SXF.js} +1 -1
- package/{dist/chunks/chunk.CNBF6GCR.js → cdn/chunks/chunk.5BNGCWLY.js} +1 -1
- package/cdn/chunks/chunk.5FZY6SGS.js +61 -0
- package/cdn/chunks/chunk.5IYEJYZC.js +21 -0
- package/cdn/chunks/{chunk.P3N5PW3F.js → chunk.5SINCXSM.js} +41 -12
- package/{dist/chunks/chunk.UNE3VYFP.js → cdn/chunks/chunk.5UDVR4WP.js} +1 -1
- package/cdn/chunks/{chunk.RZV7PTZZ.js → chunk.7ADLGY5T.js} +1 -1
- package/cdn/chunks/{chunk.5DPGWL3Y.js → chunk.7JHEI2UU.js} +10 -14
- package/cdn/chunks/{chunk.IKYLG6LM.js → chunk.7O6PG7SC.js} +1 -1
- package/cdn/chunks/chunk.7QABLDUG.js +57 -0
- package/cdn/chunks/{chunk.WY4A6BXW.js → chunk.A5ZHUUQE.js} +1 -1
- package/{dist/chunks/chunk.TWKECPWO.js → cdn/chunks/chunk.B35TWPB3.js} +1 -1
- package/cdn/chunks/{chunk.GMWFNQ7Q.js → chunk.BE55UMQU.js} +3 -2
- package/cdn/chunks/chunk.BJDFUSWQ.js +226 -0
- package/cdn/chunks/{chunk.URIOYHEA.js → chunk.BZAX3KPT.js} +24 -46
- package/cdn/chunks/chunk.CNP3J6CH.js +128 -0
- package/cdn/chunks/chunk.CRDWIXR6.js +25 -0
- package/cdn/chunks/{chunk.CGUXXQTT.js → chunk.CST5GL5A.js} +1 -1
- package/cdn/chunks/{chunk.LO2CROCV.js → chunk.EH7QANZL.js} +5 -5
- package/cdn/chunks/chunk.ETRGUHQA.js +128 -0
- package/cdn/chunks/{chunk.5M6EGBKK.js → chunk.EVWEXJVX.js} +1 -1
- package/cdn/chunks/{chunk.PTWY7M47.js → chunk.EZSX4R2K.js} +5 -1
- package/cdn/chunks/{chunk.R2AQMZE4.js → chunk.GCXPHNE2.js} +1 -1
- package/cdn/chunks/{chunk.6TP5NQZR.js → chunk.HPHAKMYE.js} +5 -6
- package/cdn/chunks/{chunk.SVBGCTUY.js → chunk.KOO6JUIP.js} +1 -1
- package/{dist/chunks/chunk.4EEBFDHS.js → cdn/chunks/chunk.KURQ25QR.js} +1 -1
- package/cdn/chunks/{chunk.IKBILRIY.js → chunk.NYEDLELY.js} +37 -18
- package/cdn/chunks/chunk.O7AXAEKY.js +23 -0
- package/cdn/chunks/{chunk.ZMTQ4YE2.js → chunk.P7Q72NIS.js} +1 -1
- package/cdn/chunks/{chunk.UBYAPUL3.js → chunk.PB3BAC36.js} +8 -10
- package/cdn/chunks/{chunk.GCC4YOMG.js → chunk.QPAB2A53.js} +1 -1
- package/{dist/chunks/chunk.MMDLLVXS.js → cdn/chunks/chunk.R4AGAL4B.js} +1 -1
- package/cdn/chunks/{chunk.6TG7HJRE.js → chunk.SIGRYKYI.js} +17 -18
- package/cdn/chunks/{chunk.ZKRXIISK.js → chunk.SWEK2UAG.js} +19 -81
- package/cdn/chunks/chunk.TNP7NVU5.js +159 -0
- package/cdn/chunks/{chunk.5EDEDCDT.js → chunk.TUT6F7WE.js} +411 -113
- package/cdn/chunks/chunk.TZK42POE.js +55 -0
- package/{dist/chunks/chunk.N6PKYR5K.js → cdn/chunks/chunk.UEC2PU53.js} +1 -1
- package/cdn/chunks/{chunk.IBV3HXI5.js → chunk.USC76EZL.js} +26 -92
- package/{dist/chunks/chunk.CM3WMTBC.js → cdn/chunks/chunk.VMNE6YSR.js} +1 -1
- package/cdn/chunks/{chunk.DSTVDF3E.js → chunk.W6FS5GIY.js} +1 -1
- package/cdn/chunks/chunk.W7ZPVNG5.js +11 -0
- package/cdn/chunks/chunk.WD2DJJFP.js +38 -0
- package/{dist/chunks/chunk.N7ULTEAO.js → cdn/chunks/chunk.WOIMKTUH.js} +1 -1
- package/cdn/chunks/{chunk.MCDYUBW2.js → chunk.WSUKDH6C.js} +1 -1
- package/cdn/chunks/{chunk.4GVU47B6.js → chunk.WTMN7OUL.js} +11 -6
- package/cdn/chunks/chunk.XDHNAOF7.js +53 -0
- package/cdn/chunks/chunk.XF7RXUXV.js +11 -0
- package/cdn/chunks/chunk.XTN2KUNR.js +396 -0
- package/cdn/chunks/{chunk.YW2OER7Y.js → chunk.Y4WP4EBM.js} +38 -20
- package/cdn/chunks/{chunk.XAVEBGFY.js → chunk.YOTNXUDL.js} +1 -1
- package/{dist/chunks/chunk.SDJHA4XN.js → cdn/chunks/chunk.YSRQIHTV.js} +1 -1
- package/cdn/chunks/{chunk.NTB4EIFE.js → chunk.YVG2XG3L.js} +197 -162
- package/cdn/chunks/chunk.Z3LHAJIV.js +339 -0
- package/cdn/components/browse-variables/browse-variables.component.d.ts +28 -0
- package/cdn/components/browse-variables/browse-variables.component.js +15 -0
- package/cdn/components/browse-variables/browse-variables.controller.d.ts +11 -0
- package/cdn/components/browse-variables/browse-variables.controller.js +10 -0
- package/cdn/components/browse-variables/browse-variables.d.ts +8 -0
- package/cdn/components/browse-variables/browse-variables.js +16 -0
- package/cdn/components/browse-variables/browse-variables.styles.d.ts +2 -0
- package/cdn/components/browse-variables/browse-variables.styles.js +9 -0
- package/cdn/components/browse-variables/browse-variables.types.d.ts +49 -0
- package/cdn/components/browse-variables/browse-variables.types.js +0 -0
- package/cdn/components/browse-variables/repositories/giovanni.repository.d.ts +7 -0
- package/cdn/components/browse-variables/repositories/giovanni.repository.js +7 -0
- package/cdn/components/button/button.component.d.ts +6 -4
- package/cdn/components/button/button.component.js +3 -3
- package/cdn/components/button/button.js +4 -4
- package/cdn/components/button/button.styles.js +1 -1
- package/cdn/components/chip/chip.component.js +3 -3
- package/cdn/components/chip/chip.js +4 -4
- package/cdn/components/chip/chip.styles.js +1 -1
- package/cdn/components/combobox/combobox.component.js +7 -7
- package/cdn/components/combobox/combobox.js +8 -8
- package/cdn/components/combobox/combobox.styles.js +1 -1
- package/cdn/components/date-range-slider/date-range-slider.component.js +3 -3
- package/cdn/components/date-range-slider/date-range-slider.js +4 -4
- package/cdn/components/date-range-slider/date-range-slider.styles.js +1 -1
- package/cdn/components/giovanni-search/giovanni-search.component.d.ts +69 -0
- package/cdn/components/giovanni-search/giovanni-search.component.js +35 -0
- package/cdn/components/giovanni-search/giovanni-search.controller.d.ts +11 -0
- package/cdn/components/giovanni-search/giovanni-search.controller.js +9 -0
- package/cdn/components/giovanni-search/giovanni-search.d.ts +8 -0
- package/cdn/components/giovanni-search/giovanni-search.js +36 -0
- package/cdn/components/giovanni-search/giovanni-search.styles.d.ts +2 -0
- package/cdn/components/giovanni-search/giovanni-search.styles.js +9 -0
- package/cdn/components/giovanni-search/giovanni-search.types.d.ts +4 -0
- package/cdn/components/giovanni-search/giovanni-search.types.js +0 -0
- package/cdn/components/giovanni-search/lib.d.ts +6 -0
- package/cdn/components/giovanni-search/lib.js +15 -0
- package/cdn/components/icon/icon.component.js +5 -5
- package/cdn/components/icon/icon.js +6 -6
- package/cdn/components/icon/library.js +2 -2
- package/cdn/components/loader/loader.component.d.ts +5 -10
- package/cdn/components/loader/loader.component.js +3 -3
- package/cdn/components/loader/loader.js +4 -4
- package/cdn/components/loader/loader.styles.js +1 -1
- package/cdn/components/map/map.component.js +4 -4
- package/cdn/components/map/map.js +5 -5
- package/cdn/components/map/map.styles.js +1 -1
- package/cdn/components/plot/plot.component.d.ts +3 -12
- package/cdn/components/plot/plot.component.js +3 -3
- package/cdn/components/plot/plot.js +4 -4
- package/cdn/components/plot/plot.styles.js +1 -1
- package/cdn/components/plot/plot.types.d.ts +8 -0
- package/cdn/components/plot/plot.types.js +0 -0
- package/cdn/components/spatial-picker/spatial-picker.component.js +6 -6
- package/cdn/components/spatial-picker/spatial-picker.js +7 -7
- package/cdn/components/spatial-picker/spatial-picker.styles.js +1 -1
- package/cdn/components/time-series/time-series.component.d.ts +24 -1
- package/cdn/components/time-series/time-series.component.js +37 -37
- package/cdn/components/time-series/time-series.controller.d.ts +1 -1
- package/cdn/components/time-series/time-series.controller.js +2 -2
- package/cdn/components/time-series/time-series.js +38 -38
- package/cdn/components/time-series/time-series.styles.js +1 -1
- package/cdn/components/time-series/time-series.types.d.ts +1 -0
- package/cdn/components/variable-combobox/lib.d.ts +1 -1
- package/cdn/components/variable-combobox/lib.js +1 -1
- package/cdn/components/variable-combobox/variable-combobox.component.d.ts +1 -1
- package/cdn/components/variable-combobox/variable-combobox.component.js +19 -19
- package/cdn/components/variable-combobox/variable-combobox.controller.d.ts +1 -18
- package/cdn/components/variable-combobox/variable-combobox.controller.js +3 -3
- package/cdn/components/variable-combobox/variable-combobox.js +20 -20
- package/cdn/components/variable-combobox/variable-combobox.styles.js +1 -1
- package/cdn/components/variable-combobox/variable-combobox.types.d.ts +18 -0
- package/cdn/components/variable-combobox/variable-combobox.types.js +0 -0
- package/cdn/custom-elements.json +2086 -1513
- package/cdn/events/events.d.ts +4 -2
- package/cdn/events/terra-combobox-change.d.ts +5 -2
- package/cdn/events/terra-giovanni-search-change.d.ts +6 -0
- package/cdn/events/terra-search.d.ts +6 -0
- package/cdn/react/browse-variables/index.d.ts +11 -0
- package/cdn/react/browse-variables/index.js +16 -0
- package/cdn/react/button/index.js +4 -4
- package/cdn/react/chip/index.js +4 -4
- package/cdn/react/combobox/index.js +8 -8
- package/cdn/react/date-range-slider/index.js +4 -4
- package/cdn/react/giovanni-search/index.d.ts +29 -0
- package/cdn/react/giovanni-search/index.js +36 -0
- package/cdn/react/icon/index.js +6 -6
- package/cdn/react/index.d.ts +5 -3
- package/cdn/react/index.js +77 -61
- package/cdn/react/loader/index.js +4 -4
- package/cdn/react/map/index.js +5 -5
- package/cdn/react/plot/index.js +4 -4
- package/cdn/react/spatial-picker/index.js +7 -7
- package/cdn/react/time-series/index.js +38 -38
- package/cdn/react/variable-combobox/index.js +20 -20
- package/cdn/terra-ui-components.d.ts +2 -0
- package/cdn/terra-ui-components.js +82 -66
- package/cdn/themes/horizon-dark.css +33 -0
- package/cdn/themes/horizon-dark.styles.d.ts +2 -0
- package/cdn/themes/horizon-dark.styles.js +37 -0
- package/cdn/themes/horizon.css +114 -333
- package/cdn/themes/horizon.styles.js +113 -330
- package/cdn/types/vue/index.d.ts +183 -108
- package/cdn/utilities/animation.js +3 -3
- package/cdn/utilities/icon-library.js +2 -2
- package/cdn/vscode.html-custom-data.json +190 -127
- package/cdn/web-types.json +389 -267
- package/dist/chunks/chunk.247RXZFH.js +569 -0
- package/dist/chunks/{chunk.XB7LBTTU.js → chunk.3TJ2JKU3.js} +1 -1
- package/dist/chunks/{chunk.QJIYDTLQ.js → chunk.3UYUL4SF.js} +1 -1
- package/dist/chunks/{chunk.XIRKMIAU.js → chunk.4QQMSQRA.js} +10 -10
- package/dist/chunks/{chunk.665T4BPT.js → chunk.57CUGLEH.js} +2 -2
- package/dist/chunks/{chunk.OU4UPMYR.js → chunk.62YHGVQN.js} +11 -6
- package/dist/chunks/{chunk.IEHDLSGA.js → chunk.6EMZGACJ.js} +26 -49
- package/dist/chunks/chunk.6LKFAV2F.js +55 -0
- package/dist/chunks/{chunk.PFSWFOXD.js → chunk.6XPXG2HQ.js} +1 -1
- package/{cdn/chunks/chunk.LNNGJCX4.js → dist/chunks/chunk.7BDQ3OGI.js} +1 -1
- package/dist/chunks/{chunk.CL62YJ3N.js → chunk.7OKJDEHN.js} +37 -18
- package/dist/chunks/{chunk.JFU3ZCDL.js → chunk.7WL3WWGJ.js} +26 -92
- package/dist/chunks/{chunk.SHS42OAD.js → chunk.APJOA6RL.js} +197 -162
- package/dist/chunks/{chunk.YNMQZYQL.js → chunk.BB72QYRU.js} +1 -1
- package/{cdn/chunks/chunk.2MYFC7LM.js → dist/chunks/chunk.C7CKLN54.js} +1 -1
- package/dist/chunks/chunk.CL7IMQRK.js +50 -0
- package/dist/chunks/{chunk.TNACYALO.js → chunk.CRKPWBJQ.js} +1 -1
- package/{cdn/chunks/chunk.NFSGAK6D.js → dist/chunks/chunk.CSSXWHIU.js} +1 -1
- package/dist/chunks/{chunk.3ZGFXEAJ.js → chunk.EDWXEF4C.js} +1 -1
- package/dist/chunks/chunk.EGZMQ7T7.js +35 -0
- package/dist/chunks/{chunk.52JSYSOV.js → chunk.EP3UVTII.js} +1 -1
- package/dist/chunks/{chunk.C5OZDL3F.js → chunk.F7HR6Y7D.js} +10 -11
- package/dist/chunks/chunk.GHDRVO5M.js +125 -0
- package/dist/chunks/{chunk.FYST4D4G.js → chunk.GJ5PF473.js} +1 -1
- package/dist/chunks/{chunk.RYPAZDXE.js → chunk.GKBF7QGR.js} +13 -0
- package/dist/chunks/chunk.GR7XHOA3.js +52 -0
- package/dist/chunks/{chunk.RP6DCD5M.js → chunk.GZ7EVLUK.js} +44 -15
- package/dist/chunks/{chunk.FFZEV52Q.js → chunk.HMNI5WGJ.js} +10 -12
- package/dist/chunks/chunk.HWAZFJOD.js +120 -0
- package/{cdn/chunks/chunk.AG72D4AT.js → dist/chunks/chunk.I5WKMWQE.js} +1 -1
- package/{cdn/chunks/chunk.7VBMSUOT.js → dist/chunks/chunk.IO22JTMO.js} +1 -1
- package/{cdn/chunks/chunk.4OMMI4NC.js → dist/chunks/chunk.JTUSKCXM.js} +1 -1
- package/dist/chunks/chunk.JW7QUN3C.js +193 -0
- package/dist/chunks/chunk.KXP54RWR.js +390 -0
- package/dist/chunks/{chunk.N2DS7NLI.js → chunk.KZ3ISS6V.js} +38 -20
- package/dist/chunks/chunk.LYOSHT4H.js +327 -0
- package/dist/chunks/{chunk.OUOWGBKV.js → chunk.NLVXQ4XY.js} +1 -1
- package/dist/chunks/{chunk.UU46CLE7.js → chunk.O2VVO7UI.js} +11 -15
- package/dist/chunks/chunk.O7AXAEKY.js +23 -0
- package/dist/chunks/{chunk.EYUPYDT4.js → chunk.OEP3CFIS.js} +7 -7
- package/dist/chunks/chunk.OI5D3LE4.js +11 -0
- package/{cdn/chunks/chunk.BX66TSQY.js → dist/chunks/chunk.QBDPXIJN.js} +1 -1
- package/dist/chunks/chunk.QEMJLGM4.js +58 -0
- package/dist/chunks/{chunk.T322FDKI.js → chunk.QK5OWFVO.js} +19 -81
- package/dist/chunks/chunk.RJAFAHJE.js +21 -0
- package/dist/chunks/{chunk.OQE2USZJ.js → chunk.RWULTAWI.js} +1 -1
- package/dist/chunks/{chunk.7LODXAV5.js → chunk.ST5FT6V7.js} +1 -1
- package/dist/chunks/{chunk.Y72ZRL5L.js → chunk.TBPEGRZ2.js} +20 -27
- package/dist/chunks/chunk.TRSW2E4E.js +223 -0
- package/dist/chunks/chunk.UPZNWZOP.js +156 -0
- package/{cdn/chunks/chunk.CLFLLHS3.js → dist/chunks/chunk.VA2ZXIYQ.js} +1 -1
- package/dist/chunks/{chunk.NYBJ252W.js → chunk.VN4FDFT7.js} +1 -1
- package/dist/chunks/{chunk.BLNUBLUS.js → chunk.W7JRXR2Y.js} +5 -1
- package/dist/chunks/{chunk.VEURJQW5.js → chunk.WBSIQEC5.js} +1 -1
- package/dist/chunks/chunk.WJ67GDOF.js +11 -0
- package/dist/chunks/chunk.WR5RPQHG.js +25 -0
- package/{cdn/chunks/chunk.CDPMV7DB.js → dist/chunks/chunk.X4VUM377.js} +1 -1
- package/dist/chunks/{chunk.6EFMX2ZD.js → chunk.XIGYW3GW.js} +1 -1
- package/dist/chunks/{chunk.33I7MBZO.js → chunk.Y2NINNMK.js} +1 -1
- package/dist/chunks/{chunk.ZK7QVWBI.js → chunk.Y6OL24QM.js} +1 -1
- package/dist/chunks/{chunk.WVHQFXLD.js → chunk.YOP35UJX.js} +4 -5
- package/dist/chunks/{chunk.7C4FMTCE.js → chunk.ZCSTHC33.js} +1 -1
- package/dist/chunks/{chunk.GBVXVADE.js → chunk.ZMCKUA77.js} +5 -4
- package/dist/chunks/{chunk.7I7C7JJF.js → chunk.ZWMQIAGV.js} +1 -1
- package/dist/components/browse-variables/browse-variables.component.d.ts +28 -0
- package/dist/components/browse-variables/browse-variables.component.js +11 -0
- package/dist/components/browse-variables/browse-variables.controller.d.ts +11 -0
- package/dist/components/browse-variables/browse-variables.controller.js +8 -0
- package/dist/components/browse-variables/browse-variables.d.ts +8 -0
- package/dist/components/browse-variables/browse-variables.js +12 -0
- package/dist/components/browse-variables/browse-variables.styles.d.ts +2 -0
- package/dist/components/browse-variables/browse-variables.styles.js +7 -0
- package/dist/components/browse-variables/browse-variables.types.d.ts +49 -0
- package/dist/components/browse-variables/browse-variables.types.js +0 -0
- package/dist/components/browse-variables/repositories/giovanni.repository.d.ts +7 -0
- package/dist/components/browse-variables/repositories/giovanni.repository.js +7 -0
- package/dist/components/button/button.component.d.ts +6 -4
- package/dist/components/button/button.component.js +6 -6
- package/dist/components/button/button.js +7 -7
- package/dist/components/button/button.styles.js +2 -2
- package/dist/components/chip/chip.component.js +4 -4
- package/dist/components/chip/chip.js +5 -5
- package/dist/components/chip/chip.styles.js +2 -2
- package/dist/components/combobox/combobox.component.js +5 -5
- package/dist/components/combobox/combobox.js +6 -6
- package/dist/components/combobox/combobox.styles.js +2 -2
- package/dist/components/combobox/lib.js +1 -1
- package/dist/components/combobox/type.js +1 -1
- package/dist/components/date-range-slider/date-range-slider.component.js +5 -5
- package/dist/components/date-range-slider/date-range-slider.js +6 -6
- package/dist/components/date-range-slider/date-range-slider.styles.js +2 -2
- package/dist/components/date-range-slider/noui-slider-utilities.js +1 -1
- package/dist/components/giovanni-search/giovanni-search.component.d.ts +69 -0
- package/dist/components/giovanni-search/giovanni-search.component.js +23 -0
- package/dist/components/giovanni-search/giovanni-search.controller.d.ts +11 -0
- package/dist/components/giovanni-search/giovanni-search.controller.js +7 -0
- package/dist/components/giovanni-search/giovanni-search.d.ts +8 -0
- package/dist/components/giovanni-search/giovanni-search.js +24 -0
- package/dist/components/giovanni-search/giovanni-search.styles.d.ts +2 -0
- package/dist/components/giovanni-search/giovanni-search.styles.js +7 -0
- package/dist/components/giovanni-search/giovanni-search.types.d.ts +4 -0
- package/dist/components/giovanni-search/giovanni-search.types.js +0 -0
- package/dist/components/giovanni-search/lib.d.ts +6 -0
- package/dist/components/giovanni-search/lib.js +13 -0
- package/dist/components/icon/icon.component.js +6 -6
- package/dist/components/icon/icon.js +7 -7
- package/dist/components/icon/icon.styles.js +1 -1
- package/dist/components/icon/library.default.js +1 -1
- package/dist/components/icon/library.heroicons.js +1 -1
- package/dist/components/icon/library.js +3 -3
- package/dist/components/loader/loader.component.d.ts +5 -10
- package/dist/components/loader/loader.component.js +4 -4
- package/dist/components/loader/loader.js +5 -5
- package/dist/components/loader/loader.styles.js +2 -2
- package/dist/components/map/leaflet-draw.styles.js +1 -1
- package/dist/components/map/leaflet-utils.js +2 -2
- package/dist/components/map/leaflet.styles.js +1 -1
- package/dist/components/map/map.component.js +7 -7
- package/dist/components/map/map.controller.js +1 -1
- package/dist/components/map/map.js +8 -8
- package/dist/components/map/map.styles.js +2 -2
- package/dist/components/plot/plot.component.d.ts +3 -12
- package/dist/components/plot/plot.component.js +5 -5
- package/dist/components/plot/plot.js +6 -6
- package/dist/components/plot/plot.styles.js +2 -2
- package/dist/components/plot/plot.types.d.ts +8 -0
- package/dist/components/plot/plot.types.js +0 -0
- package/dist/components/spatial-picker/spatial-picker.component.js +9 -9
- package/dist/components/spatial-picker/spatial-picker.js +10 -10
- package/dist/components/spatial-picker/spatial-picker.styles.js +2 -2
- package/dist/components/time-series/time-series.component.d.ts +24 -1
- package/dist/components/time-series/time-series.component.js +33 -33
- package/dist/components/time-series/time-series.controller.d.ts +1 -1
- package/dist/components/time-series/time-series.controller.js +2 -2
- package/dist/components/time-series/time-series.js +34 -34
- package/dist/components/time-series/time-series.styles.js +2 -2
- package/dist/components/time-series/time-series.types.d.ts +1 -0
- package/dist/components/variable-combobox/lib.d.ts +1 -1
- package/dist/components/variable-combobox/lib.js +2 -2
- package/dist/components/variable-combobox/variable-combobox.component.d.ts +1 -1
- package/dist/components/variable-combobox/variable-combobox.component.js +15 -15
- package/dist/components/variable-combobox/variable-combobox.controller.d.ts +1 -18
- package/dist/components/variable-combobox/variable-combobox.controller.js +3 -3
- package/dist/components/variable-combobox/variable-combobox.js +16 -16
- package/dist/components/variable-combobox/variable-combobox.styles.js +2 -2
- package/dist/components/variable-combobox/variable-combobox.types.d.ts +18 -0
- package/dist/components/variable-combobox/variable-combobox.types.js +0 -0
- package/dist/custom-elements.json +2086 -1513
- package/dist/events/events.d.ts +4 -2
- package/dist/events/terra-combobox-change.d.ts +5 -2
- package/dist/events/terra-giovanni-search-change.d.ts +6 -0
- package/dist/events/terra-search.d.ts +6 -0
- package/dist/react/browse-variables/index.d.ts +11 -0
- package/dist/react/browse-variables/index.js +12 -0
- package/dist/react/button/index.js +7 -7
- package/dist/react/chip/index.js +5 -5
- package/dist/react/combobox/index.js +6 -6
- package/dist/react/date-range-slider/index.js +6 -6
- package/dist/react/giovanni-search/index.d.ts +29 -0
- package/dist/react/giovanni-search/index.js +24 -0
- package/dist/react/icon/index.js +7 -7
- package/dist/react/index.d.ts +5 -3
- package/dist/react/index.js +72 -56
- package/dist/react/loader/index.js +5 -5
- package/dist/react/map/index.js +8 -8
- package/dist/react/plot/index.js +6 -6
- package/dist/react/spatial-picker/index.js +10 -10
- package/dist/react/time-series/index.js +34 -34
- package/dist/react/variable-combobox/index.js +16 -16
- package/dist/terra-ui-components-autoloader.js +1 -1
- package/dist/terra-ui-components.d.ts +2 -0
- package/dist/terra-ui-components.js +76 -60
- package/dist/themes/horizon-dark.css +33 -0
- package/dist/themes/horizon-dark.styles.d.ts +2 -0
- package/dist/themes/horizon-dark.styles.js +37 -0
- package/dist/themes/horizon.css +114 -333
- package/dist/themes/horizon.styles.js +113 -330
- package/dist/types/vue/index.d.ts +183 -108
- package/dist/utilities/animation-registry.js +1 -1
- package/dist/utilities/animation.js +1 -1
- package/dist/utilities/base-path.js +1 -1
- package/dist/utilities/date.js +1 -1
- package/dist/utilities/form.js +3 -3
- package/dist/utilities/icon-library.js +3 -3
- package/dist/vscode.html-custom-data.json +190 -127
- package/dist/web-types.json +389 -267
- package/package.json +4 -3
- package/cdn/chunks/chunk.FDOXEWGR.js +0 -96
- package/cdn/chunks/chunk.L7XOR6JZ.js +0 -83
- package/cdn/chunks/chunk.SBDX4GGT.js +0 -66
- package/cdn/chunks/chunk.THBBULDA.js +0 -108
- package/cdn/chunks/chunk.UOFDZJYP.js +0 -116
- package/dist/chunks/chunk.GPUFE4ML.js +0 -63
- package/dist/chunks/chunk.IBEKZVOY.js +0 -80
- package/dist/chunks/chunk.RFKXBNLY.js +0 -102
- package/dist/chunks/chunk.S3WKONT5.js +0 -274
- package/dist/chunks/chunk.XW5YT7AB.js +0 -89
- package/dist/chunks/chunk.ZCNMYQP2.js +0 -113
- package/{dist/chunks/chunk.MDRUDBRH.js → cdn/chunks/chunk.7DOMZGX7.js} +3 -3
- package/cdn/chunks/{chunk.7R2BPQLY.js → chunk.ABHIFWYD.js} +3 -3
- package/cdn/chunks/{chunk.LQCRC4E2.js → chunk.XR56EMXH.js} +8 -8
- package/{cdn/chunks/chunk.MDRUDBRH.js → dist/chunks/chunk.7DOMZGX7.js} +3 -3
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
import {
|
|
2
|
+
giovanni_search_styles_default
|
|
3
|
+
} from "./chunk.BJDFUSWQ.js";
|
|
4
|
+
import {
|
|
5
|
+
clearSelection,
|
|
6
|
+
renderSearchResult,
|
|
7
|
+
walkToOption
|
|
8
|
+
} from "./chunk.WD2DJJFP.js";
|
|
9
|
+
import {
|
|
10
|
+
icon_default
|
|
11
|
+
} from "./chunk.R4AGAL4B.js";
|
|
12
|
+
import {
|
|
13
|
+
FetchController
|
|
14
|
+
} from "./chunk.XDHNAOF7.js";
|
|
15
|
+
import {
|
|
16
|
+
Fuse
|
|
17
|
+
} from "./chunk.NTNL4P6D.js";
|
|
18
|
+
import {
|
|
19
|
+
n as n2
|
|
20
|
+
} from "./chunk.2XCNCXGV.js";
|
|
21
|
+
import {
|
|
22
|
+
o
|
|
23
|
+
} from "./chunk.QEA4QW6G.js";
|
|
24
|
+
import {
|
|
25
|
+
button_default
|
|
26
|
+
} from "./chunk.7ADLGY5T.js";
|
|
27
|
+
import {
|
|
28
|
+
watch
|
|
29
|
+
} from "./chunk.IUDWCWFV.js";
|
|
30
|
+
import {
|
|
31
|
+
TerraElement,
|
|
32
|
+
component_styles_default
|
|
33
|
+
} from "./chunk.XTN2KUNR.js";
|
|
34
|
+
import {
|
|
35
|
+
n,
|
|
36
|
+
r
|
|
37
|
+
} from "./chunk.K4EJQG4O.js";
|
|
38
|
+
import {
|
|
39
|
+
s,
|
|
40
|
+
x
|
|
41
|
+
} from "./chunk.PQFHJHNO.js";
|
|
42
|
+
import {
|
|
43
|
+
__decorateClass,
|
|
44
|
+
__privateAdd,
|
|
45
|
+
__privateGet,
|
|
46
|
+
__privateMethod,
|
|
47
|
+
__privateSet,
|
|
48
|
+
__spreadProps,
|
|
49
|
+
__spreadValues
|
|
50
|
+
} from "./chunk.6QUGTGJO.js";
|
|
51
|
+
|
|
52
|
+
// src/components/giovanni-search/giovanni-search.component.ts
|
|
53
|
+
var _combobox, _fetchController, _listbox, _searchEngine, _walker, _dispatchChange, _handleComboboxChange, _handleOptionClick, _handleKeydown, _manageListboxVisibility, _selectOption, _handleSearch, handleSearch_fn;
|
|
54
|
+
var _TerraGiovanniSearch = class _TerraGiovanniSearch extends TerraElement {
|
|
55
|
+
constructor() {
|
|
56
|
+
super(...arguments);
|
|
57
|
+
__privateAdd(this, _handleSearch);
|
|
58
|
+
__privateAdd(this, _combobox, null);
|
|
59
|
+
__privateAdd(this, _fetchController, new FetchController(this));
|
|
60
|
+
__privateAdd(this, _listbox, null);
|
|
61
|
+
__privateAdd(this, _searchEngine, null);
|
|
62
|
+
__privateAdd(this, _walker, null);
|
|
63
|
+
this.label = "Enter search terms (e.g., precipitation, AOD)";
|
|
64
|
+
this.hideLabel = true;
|
|
65
|
+
this.searchConfig = {
|
|
66
|
+
//* @see {@link https://www.fusejs.io/api/options.html#options}
|
|
67
|
+
keys: ["id"],
|
|
68
|
+
useExtendedSearch: true
|
|
69
|
+
};
|
|
70
|
+
this.isExpanded = false;
|
|
71
|
+
this.query = _TerraGiovanniSearch.initialQuery;
|
|
72
|
+
this.searchResults = [];
|
|
73
|
+
__privateAdd(this, _dispatchChange, (data) => {
|
|
74
|
+
this.emit("terra-giovanni-search-change", { detail: data });
|
|
75
|
+
});
|
|
76
|
+
__privateAdd(this, _handleComboboxChange, (event) => {
|
|
77
|
+
var _a;
|
|
78
|
+
const target = event.target;
|
|
79
|
+
this.query = target.value;
|
|
80
|
+
if (target.value) {
|
|
81
|
+
this.isExpanded = true;
|
|
82
|
+
}
|
|
83
|
+
this.searchResults = (_a = __privateGet(this, _searchEngine)) == null ? void 0 : _a.search(target.value).map(({ item }) => item);
|
|
84
|
+
});
|
|
85
|
+
__privateAdd(this, _handleOptionClick, (event) => {
|
|
86
|
+
const path = event.composedPath();
|
|
87
|
+
const [target] = path.filter(
|
|
88
|
+
(eventTarget) => eventTarget.role === "option"
|
|
89
|
+
);
|
|
90
|
+
if (!target) {
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
__privateGet(this, _selectOption).call(this, target);
|
|
94
|
+
});
|
|
95
|
+
__privateAdd(this, _handleKeydown, (event) => {
|
|
96
|
+
var _a;
|
|
97
|
+
switch (event.key) {
|
|
98
|
+
case "ArrowDown": {
|
|
99
|
+
if (!this.isExpanded) {
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
clearSelection(
|
|
103
|
+
__privateGet(this, _combobox),
|
|
104
|
+
__privateGet(this, _listbox)
|
|
105
|
+
);
|
|
106
|
+
walkToOption(
|
|
107
|
+
__privateGet(this, _walker),
|
|
108
|
+
__privateGet(this, _combobox),
|
|
109
|
+
"next"
|
|
110
|
+
);
|
|
111
|
+
break;
|
|
112
|
+
}
|
|
113
|
+
case "ArrowUp": {
|
|
114
|
+
if (!this.isExpanded) {
|
|
115
|
+
return;
|
|
116
|
+
}
|
|
117
|
+
clearSelection(
|
|
118
|
+
__privateGet(this, _combobox),
|
|
119
|
+
__privateGet(this, _listbox)
|
|
120
|
+
);
|
|
121
|
+
walkToOption(
|
|
122
|
+
__privateGet(this, _walker),
|
|
123
|
+
__privateGet(this, _combobox),
|
|
124
|
+
"previous"
|
|
125
|
+
);
|
|
126
|
+
break;
|
|
127
|
+
}
|
|
128
|
+
case "Enter": {
|
|
129
|
+
const currentNode = (_a = __privateGet(this, _walker)) == null ? void 0 : _a.currentNode;
|
|
130
|
+
if (currentNode.role === "option") {
|
|
131
|
+
__privateGet(this, _selectOption).call(this, currentNode);
|
|
132
|
+
}
|
|
133
|
+
__privateMethod(this, _handleSearch, handleSearch_fn).call(this, this.query);
|
|
134
|
+
break;
|
|
135
|
+
}
|
|
136
|
+
case "Escape": {
|
|
137
|
+
clearSelection(
|
|
138
|
+
__privateGet(this, _combobox),
|
|
139
|
+
__privateGet(this, _listbox)
|
|
140
|
+
);
|
|
141
|
+
if (this.isExpanded) {
|
|
142
|
+
this.isExpanded = false;
|
|
143
|
+
this.dispatchEvent(new Event("cancel"));
|
|
144
|
+
} else {
|
|
145
|
+
this.query = _TerraGiovanniSearch.initialQuery;
|
|
146
|
+
}
|
|
147
|
+
break;
|
|
148
|
+
}
|
|
149
|
+
default: {
|
|
150
|
+
break;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
__privateAdd(this, _manageListboxVisibility, (event) => {
|
|
155
|
+
const path = event.composedPath();
|
|
156
|
+
const containedThis = path.some(
|
|
157
|
+
(eventTarget) => eventTarget.localName === _TerraGiovanniSearch.tagName
|
|
158
|
+
);
|
|
159
|
+
if (!containedThis) {
|
|
160
|
+
this.isExpanded = false;
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
__privateAdd(this, _selectOption, (option) => {
|
|
164
|
+
this.query = option.id;
|
|
165
|
+
__privateGet(this, _dispatchChange).call(this, option.id);
|
|
166
|
+
this.isExpanded = false;
|
|
167
|
+
clearSelection(
|
|
168
|
+
__privateGet(this, _combobox),
|
|
169
|
+
__privateGet(this, _listbox)
|
|
170
|
+
);
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
async valueChanged(_oldValue, newValue) {
|
|
174
|
+
this.query = newValue;
|
|
175
|
+
}
|
|
176
|
+
connectedCallback() {
|
|
177
|
+
super.connectedCallback();
|
|
178
|
+
globalThis.addEventListener("click", __privateGet(this, _manageListboxVisibility));
|
|
179
|
+
}
|
|
180
|
+
disconnectedCallback() {
|
|
181
|
+
super.disconnectedCallback();
|
|
182
|
+
globalThis.removeEventListener("click", __privateGet(this, _manageListboxVisibility));
|
|
183
|
+
}
|
|
184
|
+
clear() {
|
|
185
|
+
this.query = _TerraGiovanniSearch.initialQuery;
|
|
186
|
+
}
|
|
187
|
+
close() {
|
|
188
|
+
this.isExpanded = false;
|
|
189
|
+
}
|
|
190
|
+
toggle() {
|
|
191
|
+
this.isExpanded = !this.isExpanded;
|
|
192
|
+
}
|
|
193
|
+
render() {
|
|
194
|
+
var _a;
|
|
195
|
+
return x`<search part="base" title="Search through the list.">
|
|
196
|
+
<label for="combobox" class=${this.hideLabel ? "sr-only" : "input-label"}
|
|
197
|
+
>${this.label}</label
|
|
198
|
+
>
|
|
199
|
+
<div class="search-input-group">
|
|
200
|
+
<input
|
|
201
|
+
${n2((el) => {
|
|
202
|
+
var _a2;
|
|
203
|
+
if (el) {
|
|
204
|
+
(_a2 = __privateGet(this, _combobox)) != null ? _a2 : __privateSet(this, _combobox, el);
|
|
205
|
+
}
|
|
206
|
+
})}
|
|
207
|
+
aria-autocomplete="list"
|
|
208
|
+
aria-controls="listbox"
|
|
209
|
+
aria-haspopup="list"
|
|
210
|
+
aria-expanded=${this.isExpanded}
|
|
211
|
+
autocomplete="off"
|
|
212
|
+
class="combobox"
|
|
213
|
+
id="combobox"
|
|
214
|
+
part="combobox"
|
|
215
|
+
role="combobox"
|
|
216
|
+
type="text"
|
|
217
|
+
.placeholder=${(_a = this.placeholder) != null ? _a : `${this.label}\u2026`}
|
|
218
|
+
.value=${this.query}
|
|
219
|
+
@input=${__privateGet(this, _handleComboboxChange)}
|
|
220
|
+
@keydown=${__privateGet(this, _handleKeydown)}
|
|
221
|
+
/>
|
|
222
|
+
<terra-button
|
|
223
|
+
@click=${() => __privateMethod(this, _handleSearch, handleSearch_fn).call(this, this.query)}
|
|
224
|
+
aria-label=${this.query ? `Search for ${this.query}.` : "Enter search term to enable search."}
|
|
225
|
+
circle
|
|
226
|
+
class="search-button search-input-button"
|
|
227
|
+
outline
|
|
228
|
+
tabindex="-1"
|
|
229
|
+
type="button"
|
|
230
|
+
>
|
|
231
|
+
<slot name="label">
|
|
232
|
+
<terra-icon
|
|
233
|
+
font-size="1.5em"
|
|
234
|
+
library="heroicons"
|
|
235
|
+
name="solid-magnifying-glass"
|
|
236
|
+
></terra-icon>
|
|
237
|
+
</slot>
|
|
238
|
+
</terra-button>
|
|
239
|
+
</div>
|
|
240
|
+
|
|
241
|
+
<ul
|
|
242
|
+
${n2((el) => {
|
|
243
|
+
var _a2;
|
|
244
|
+
if (el) {
|
|
245
|
+
(_a2 = __privateGet(this, _listbox)) != null ? _a2 : __privateSet(this, _listbox, el);
|
|
246
|
+
}
|
|
247
|
+
})}
|
|
248
|
+
?inert=${!this.isExpanded}
|
|
249
|
+
?open=${this.isExpanded}
|
|
250
|
+
@click=${__privateGet(this, _handleOptionClick)}
|
|
251
|
+
aria-label=${this.query ? `Keywords Matching ${this.query}` : "Keywords"}
|
|
252
|
+
id="listbox"
|
|
253
|
+
part="listbox"
|
|
254
|
+
role="listbox"
|
|
255
|
+
class="search-results"
|
|
256
|
+
>
|
|
257
|
+
${__privateGet(this, _fetchController).render({
|
|
258
|
+
initial: () => x`<li class="updating">Updating List of Keywords</li>`,
|
|
259
|
+
pending: () => x`<li class="updating">Updating List of Keywords</li>`,
|
|
260
|
+
complete: (list) => {
|
|
261
|
+
__privateSet(this, _searchEngine, new Fuse(list, this.searchConfig));
|
|
262
|
+
__privateSet(this, _walker, document.createTreeWalker(
|
|
263
|
+
__privateGet(this, _listbox),
|
|
264
|
+
NodeFilter.SHOW_ELEMENT,
|
|
265
|
+
(node) => {
|
|
266
|
+
var _a2;
|
|
267
|
+
return ["option", "listbox"].includes(
|
|
268
|
+
(_a2 = node.role) != null ? _a2 : ""
|
|
269
|
+
) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
270
|
+
}
|
|
271
|
+
));
|
|
272
|
+
return o(this.searchResults, renderSearchResult);
|
|
273
|
+
},
|
|
274
|
+
// TODO: Consider a more robust error strategy...like retry w/ backoff?
|
|
275
|
+
error: (errorMessage) => x`<li class="error">${errorMessage}</li>`
|
|
276
|
+
})}
|
|
277
|
+
</ul>
|
|
278
|
+
</search>`;
|
|
279
|
+
}
|
|
280
|
+
};
|
|
281
|
+
_combobox = new WeakMap();
|
|
282
|
+
_fetchController = new WeakMap();
|
|
283
|
+
_listbox = new WeakMap();
|
|
284
|
+
_searchEngine = new WeakMap();
|
|
285
|
+
_walker = new WeakMap();
|
|
286
|
+
_dispatchChange = new WeakMap();
|
|
287
|
+
_handleComboboxChange = new WeakMap();
|
|
288
|
+
_handleOptionClick = new WeakMap();
|
|
289
|
+
_handleKeydown = new WeakMap();
|
|
290
|
+
_manageListboxVisibility = new WeakMap();
|
|
291
|
+
_selectOption = new WeakMap();
|
|
292
|
+
_handleSearch = new WeakSet();
|
|
293
|
+
handleSearch_fn = function(query) {
|
|
294
|
+
if (query.length) {
|
|
295
|
+
this.emit("terra-search", { detail: this.query });
|
|
296
|
+
}
|
|
297
|
+
};
|
|
298
|
+
_TerraGiovanniSearch.dependencies = {
|
|
299
|
+
"terra-button": button_default,
|
|
300
|
+
"terra-icon": icon_default
|
|
301
|
+
};
|
|
302
|
+
_TerraGiovanniSearch.styles = [component_styles_default, giovanni_search_styles_default];
|
|
303
|
+
_TerraGiovanniSearch.shadowRootOptions = __spreadProps(__spreadValues({}, s.shadowRootOptions), {
|
|
304
|
+
delegatesFocus: true
|
|
305
|
+
});
|
|
306
|
+
_TerraGiovanniSearch.tagName = "terra-giovanni-search";
|
|
307
|
+
_TerraGiovanniSearch.initialQuery = "";
|
|
308
|
+
__decorateClass([
|
|
309
|
+
n()
|
|
310
|
+
], _TerraGiovanniSearch.prototype, "label", 2);
|
|
311
|
+
__decorateClass([
|
|
312
|
+
n()
|
|
313
|
+
], _TerraGiovanniSearch.prototype, "placeholder", 2);
|
|
314
|
+
__decorateClass([
|
|
315
|
+
n({ attribute: "hide-label", type: Boolean })
|
|
316
|
+
], _TerraGiovanniSearch.prototype, "hideLabel", 2);
|
|
317
|
+
__decorateClass([
|
|
318
|
+
n({ reflect: false, type: Object })
|
|
319
|
+
], _TerraGiovanniSearch.prototype, "searchConfig", 2);
|
|
320
|
+
__decorateClass([
|
|
321
|
+
n()
|
|
322
|
+
], _TerraGiovanniSearch.prototype, "value", 2);
|
|
323
|
+
__decorateClass([
|
|
324
|
+
r()
|
|
325
|
+
], _TerraGiovanniSearch.prototype, "isExpanded", 2);
|
|
326
|
+
__decorateClass([
|
|
327
|
+
r()
|
|
328
|
+
], _TerraGiovanniSearch.prototype, "query", 2);
|
|
329
|
+
__decorateClass([
|
|
330
|
+
r()
|
|
331
|
+
], _TerraGiovanniSearch.prototype, "searchResults", 2);
|
|
332
|
+
__decorateClass([
|
|
333
|
+
watch("value")
|
|
334
|
+
], _TerraGiovanniSearch.prototype, "valueChanged", 1);
|
|
335
|
+
var TerraGiovanniSearch = _TerraGiovanniSearch;
|
|
336
|
+
|
|
337
|
+
export {
|
|
338
|
+
TerraGiovanniSearch
|
|
339
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import TerraElement from '../../internal/terra-element.js';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
import type { SelectedFacetField } from './browse-variables.types.js';
|
|
4
|
+
/**
|
|
5
|
+
* @summary Browse through the Giovanni catalog.
|
|
6
|
+
* @documentation https://disc.gsfc.nasa.gov/components/browse-variables
|
|
7
|
+
* @status MVP
|
|
8
|
+
* @since 1.0
|
|
9
|
+
*
|
|
10
|
+
* @csspart base - The component's base wrapper.
|
|
11
|
+
*/
|
|
12
|
+
export default class TerraBrowseVariables extends TerraElement {
|
|
13
|
+
#private;
|
|
14
|
+
static styles: CSSResultGroup;
|
|
15
|
+
/**
|
|
16
|
+
* Filters the catalog categories and facets by the given searchQuery
|
|
17
|
+
* If not provided, all categories and facets will be available to browse
|
|
18
|
+
*/
|
|
19
|
+
searchQuery: string;
|
|
20
|
+
/**
|
|
21
|
+
* Allows the user to switch the catalog between different providers
|
|
22
|
+
* TODO: add support for CMR catalog and make it the default
|
|
23
|
+
*/
|
|
24
|
+
catalog: 'giovanni';
|
|
25
|
+
selectedFacetFields: SelectedFacetField[];
|
|
26
|
+
handleFacetSelect: (event: Event) => void;
|
|
27
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TerraBrowseVariables
|
|
3
|
+
} from "../../chunks/chunk.3WUZMCON.js";
|
|
4
|
+
import "../../chunks/chunk.XTN2KUNR.js";
|
|
5
|
+
import "../../chunks/chunk.K4EJQG4O.js";
|
|
6
|
+
import "../../chunks/chunk.7QABLDUG.js";
|
|
7
|
+
import "../../chunks/chunk.O7AXAEKY.js";
|
|
8
|
+
import "../../chunks/chunk.UGTZ22DI.js";
|
|
9
|
+
import "../../chunks/chunk.TNP7NVU5.js";
|
|
10
|
+
import "../../chunks/chunk.PQFHJHNO.js";
|
|
11
|
+
import "../../chunks/chunk.PH7RLQK2.js";
|
|
12
|
+
import "../../chunks/chunk.6QUGTGJO.js";
|
|
13
|
+
export {
|
|
14
|
+
TerraBrowseVariables as default
|
|
15
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { StatusRenderer } from '@lit/task';
|
|
2
|
+
import type { ReactiveControllerHost } from 'lit';
|
|
3
|
+
import type { FacetsByCategory, Variable } from './browse-variables.types.js';
|
|
4
|
+
import type TerraBrowseVariables from './browse-variables.component.js';
|
|
5
|
+
export declare class BrowseVariablesController {
|
|
6
|
+
#private;
|
|
7
|
+
facetsByCategory: FacetsByCategory;
|
|
8
|
+
variables: Variable[];
|
|
9
|
+
constructor(host: ReactiveControllerHost & TerraBrowseVariables);
|
|
10
|
+
render(renderFunctions: StatusRenderer<any>): unknown;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BrowseVariablesController
|
|
3
|
+
} from "../../chunks/chunk.7QABLDUG.js";
|
|
4
|
+
import "../../chunks/chunk.O7AXAEKY.js";
|
|
5
|
+
import "../../chunks/chunk.UGTZ22DI.js";
|
|
6
|
+
import "../../chunks/chunk.PH7RLQK2.js";
|
|
7
|
+
import "../../chunks/chunk.6QUGTGJO.js";
|
|
8
|
+
export {
|
|
9
|
+
BrowseVariablesController
|
|
10
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import TerraBrowseVariables from './browse-variables.component.js';
|
|
2
|
+
export * from './browse-variables.component.js';
|
|
3
|
+
export default TerraBrowseVariables;
|
|
4
|
+
declare global {
|
|
5
|
+
interface HTMLElementTagNameMap {
|
|
6
|
+
'terra-browse-variables': TerraBrowseVariables;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
browse_variables_default
|
|
3
|
+
} from "../../chunks/chunk.XF7RXUXV.js";
|
|
4
|
+
import "../../chunks/chunk.3WUZMCON.js";
|
|
5
|
+
import "../../chunks/chunk.XTN2KUNR.js";
|
|
6
|
+
import "../../chunks/chunk.K4EJQG4O.js";
|
|
7
|
+
import "../../chunks/chunk.7QABLDUG.js";
|
|
8
|
+
import "../../chunks/chunk.O7AXAEKY.js";
|
|
9
|
+
import "../../chunks/chunk.UGTZ22DI.js";
|
|
10
|
+
import "../../chunks/chunk.TNP7NVU5.js";
|
|
11
|
+
import "../../chunks/chunk.PQFHJHNO.js";
|
|
12
|
+
import "../../chunks/chunk.PH7RLQK2.js";
|
|
13
|
+
import "../../chunks/chunk.6QUGTGJO.js";
|
|
14
|
+
export {
|
|
15
|
+
browse_variables_default as default
|
|
16
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
browse_variables_styles_default
|
|
3
|
+
} from "../../chunks/chunk.TNP7NVU5.js";
|
|
4
|
+
import "../../chunks/chunk.PQFHJHNO.js";
|
|
5
|
+
import "../../chunks/chunk.PH7RLQK2.js";
|
|
6
|
+
import "../../chunks/chunk.6QUGTGJO.js";
|
|
7
|
+
export {
|
|
8
|
+
browse_variables_styles_default as default
|
|
9
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export interface CatalogRepositoryInterface {
|
|
2
|
+
/**
|
|
3
|
+
* used to retrieve a list of variables and facet categories that can be filtered by
|
|
4
|
+
* a search query and/or a list of selected facet fields
|
|
5
|
+
*/
|
|
6
|
+
searchVariablesAndFacets(query?: string, selectedFacetFields?: SelectedFacetField[], options?: SearchOptions): Promise<SearchResponse>;
|
|
7
|
+
}
|
|
8
|
+
export type SearchOptions = {
|
|
9
|
+
signal: AbortSignal;
|
|
10
|
+
};
|
|
11
|
+
export type SearchResponse = {
|
|
12
|
+
facetsByCategory: FacetsByCategory;
|
|
13
|
+
variables: Variable[];
|
|
14
|
+
};
|
|
15
|
+
export type SelectedFacetField = {
|
|
16
|
+
facet: string;
|
|
17
|
+
field: string;
|
|
18
|
+
};
|
|
19
|
+
export type FacetsByCategory = {
|
|
20
|
+
depths: FacetField[];
|
|
21
|
+
disciplines: FacetField[];
|
|
22
|
+
measurements: FacetField[];
|
|
23
|
+
observations: FacetField[];
|
|
24
|
+
platformInstruments: FacetField[];
|
|
25
|
+
portals: FacetField[];
|
|
26
|
+
spatialResolutions: FacetField[];
|
|
27
|
+
specialFeatures: FacetField[];
|
|
28
|
+
temporalResolutions: FacetField[];
|
|
29
|
+
wavelengths: FacetField[];
|
|
30
|
+
};
|
|
31
|
+
export type FacetField = {
|
|
32
|
+
name: string;
|
|
33
|
+
count: number;
|
|
34
|
+
};
|
|
35
|
+
export type Variable = {
|
|
36
|
+
dataProductShortName: string;
|
|
37
|
+
dataProductVersion: string;
|
|
38
|
+
dataFieldShortName: string;
|
|
39
|
+
dataFieldLongName: string;
|
|
40
|
+
dataProductLongName: string;
|
|
41
|
+
dataProductTimeInterval: string;
|
|
42
|
+
dataProductWest: number;
|
|
43
|
+
dataProductSouth: number;
|
|
44
|
+
dataProductEast: number;
|
|
45
|
+
dataProductNorth: number;
|
|
46
|
+
dataProductSpatialResolution: string;
|
|
47
|
+
dataProductBeginDateTime: string;
|
|
48
|
+
dataProductEndDateTime: string;
|
|
49
|
+
};
|
|
File without changes
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CatalogRepositoryInterface, SearchOptions, SelectedFacetField } from '../browse-variables.types.js';
|
|
2
|
+
export declare class GiovanniRepository implements CatalogRepositoryInterface {
|
|
3
|
+
searchVariablesAndFacets(_query?: string, _selectedFacetFields?: SelectedFacetField[], options?: SearchOptions): Promise<{
|
|
4
|
+
facetsByCategory: any;
|
|
5
|
+
variables: any;
|
|
6
|
+
}>;
|
|
7
|
+
}
|
|
@@ -26,21 +26,21 @@ export default class TerraButton extends TerraElement implements TerraFormContro
|
|
|
26
26
|
invalid: boolean;
|
|
27
27
|
title: string;
|
|
28
28
|
/** The button's theme variant. */
|
|
29
|
-
variant: 'default' | 'primary' | 'success' | '
|
|
29
|
+
variant: 'default' | 'primary' | 'success' | 'warning' | 'danger' | 'text' | 'pagelink';
|
|
30
30
|
/** The button's size. */
|
|
31
31
|
size: 'small' | 'medium' | 'large';
|
|
32
32
|
/** Draws the button with a caret. Used to indicate that the button triggers a dropdown menu or similar behavior. */
|
|
33
33
|
caret: boolean;
|
|
34
|
+
/** The button's shape. Used to control the radius edge shape when button is not in a terra-button-group. */
|
|
35
|
+
shape: 'square' | 'square-left' | 'square-right';
|
|
34
36
|
/** Disables the button. */
|
|
35
37
|
disabled: boolean;
|
|
36
38
|
/** Draws the button in a loading state. */
|
|
37
39
|
loading: boolean;
|
|
38
40
|
/** Draws an outlined button. */
|
|
39
41
|
outline: boolean;
|
|
40
|
-
/** Draws a pill-style button with rounded edges. */
|
|
41
|
-
pill: boolean;
|
|
42
42
|
/**
|
|
43
|
-
* Draws a circular icon button. When this attribute is present, the button expects a single `<
|
|
43
|
+
* Draws a circular icon button. When this attribute is present, the button expects a single `<terra-icon>` in the
|
|
44
44
|
* default slot.
|
|
45
45
|
*/
|
|
46
46
|
circle: boolean;
|
|
@@ -113,5 +113,7 @@ export default class TerraButton extends TerraElement implements TerraFormContro
|
|
|
113
113
|
reportValidity(): boolean;
|
|
114
114
|
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
115
115
|
setCustomValidity(message: string): void;
|
|
116
|
+
setPageLinkIcon(href: string): string;
|
|
117
|
+
setFontSize(size: string): string;
|
|
116
118
|
render(): import("lit-html").TemplateResult;
|
|
117
119
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TerraButton
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.5SINCXSM.js";
|
|
4
4
|
import "../../chunks/chunk.GNSDRDLV.js";
|
|
5
5
|
import "../../chunks/chunk.BT4IJCQK.js";
|
|
6
|
-
import "../../chunks/chunk.NTB4EIFE.js";
|
|
7
6
|
import "../../chunks/chunk.YVSJQ4KD.js";
|
|
8
7
|
import "../../chunks/chunk.IUDWCWFV.js";
|
|
9
8
|
import "../../chunks/chunk.UP75L23G.js";
|
|
10
|
-
import "../../chunks/chunk.
|
|
9
|
+
import "../../chunks/chunk.YVG2XG3L.js";
|
|
10
|
+
import "../../chunks/chunk.XTN2KUNR.js";
|
|
11
11
|
import "../../chunks/chunk.K4EJQG4O.js";
|
|
12
12
|
import "../../chunks/chunk.PQFHJHNO.js";
|
|
13
13
|
import "../../chunks/chunk.PH7RLQK2.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
button_default
|
|
3
|
-
} from "../../chunks/chunk.
|
|
4
|
-
import "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.7ADLGY5T.js";
|
|
4
|
+
import "../../chunks/chunk.5SINCXSM.js";
|
|
5
5
|
import "../../chunks/chunk.GNSDRDLV.js";
|
|
6
6
|
import "../../chunks/chunk.BT4IJCQK.js";
|
|
7
|
-
import "../../chunks/chunk.NTB4EIFE.js";
|
|
8
7
|
import "../../chunks/chunk.YVSJQ4KD.js";
|
|
9
8
|
import "../../chunks/chunk.IUDWCWFV.js";
|
|
10
9
|
import "../../chunks/chunk.UP75L23G.js";
|
|
11
|
-
import "../../chunks/chunk.
|
|
10
|
+
import "../../chunks/chunk.YVG2XG3L.js";
|
|
11
|
+
import "../../chunks/chunk.XTN2KUNR.js";
|
|
12
12
|
import "../../chunks/chunk.K4EJQG4O.js";
|
|
13
13
|
import "../../chunks/chunk.PQFHJHNO.js";
|
|
14
14
|
import "../../chunks/chunk.PH7RLQK2.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TerraChip
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.HPHAKMYE.js";
|
|
4
|
+
import "../../chunks/chunk.Y4WP4EBM.js";
|
|
4
5
|
import "../../chunks/chunk.YVSJQ4KD.js";
|
|
5
|
-
import "../../chunks/chunk.YW2OER7Y.js";
|
|
6
6
|
import "../../chunks/chunk.UP75L23G.js";
|
|
7
|
-
import "../../chunks/chunk.
|
|
7
|
+
import "../../chunks/chunk.XTN2KUNR.js";
|
|
8
8
|
import "../../chunks/chunk.K4EJQG4O.js";
|
|
9
9
|
import "../../chunks/chunk.PQFHJHNO.js";
|
|
10
10
|
import "../../chunks/chunk.PH7RLQK2.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
chip_default
|
|
3
|
-
} from "../../chunks/chunk.
|
|
4
|
-
import "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.KOO6JUIP.js";
|
|
4
|
+
import "../../chunks/chunk.HPHAKMYE.js";
|
|
5
|
+
import "../../chunks/chunk.Y4WP4EBM.js";
|
|
5
6
|
import "../../chunks/chunk.YVSJQ4KD.js";
|
|
6
|
-
import "../../chunks/chunk.YW2OER7Y.js";
|
|
7
7
|
import "../../chunks/chunk.UP75L23G.js";
|
|
8
|
-
import "../../chunks/chunk.
|
|
8
|
+
import "../../chunks/chunk.XTN2KUNR.js";
|
|
9
9
|
import "../../chunks/chunk.K4EJQG4O.js";
|
|
10
10
|
import "../../chunks/chunk.PQFHJHNO.js";
|
|
11
11
|
import "../../chunks/chunk.PH7RLQK2.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TerraCombobox
|
|
3
|
-
} from "../../chunks/chunk.
|
|
4
|
-
import "../../chunks/chunk.NTNL4P6D.js";
|
|
5
|
-
import "../../chunks/chunk.2XCNCXGV.js";
|
|
3
|
+
} from "../../chunks/chunk.SIGRYKYI.js";
|
|
6
4
|
import "../../chunks/chunk.PZRCJWJ4.js";
|
|
7
5
|
import "../../chunks/chunk.QB5SASDL.js";
|
|
8
|
-
import "../../chunks/chunk.QEA4QW6G.js";
|
|
9
|
-
import "../../chunks/chunk.6NYH4BZ2.js";
|
|
10
6
|
import "../../chunks/chunk.LMGJJIIS.js";
|
|
11
7
|
import "../../chunks/chunk.UVHPNM6M.js";
|
|
8
|
+
import "../../chunks/chunk.NTNL4P6D.js";
|
|
9
|
+
import "../../chunks/chunk.2XCNCXGV.js";
|
|
10
|
+
import "../../chunks/chunk.QEA4QW6G.js";
|
|
11
|
+
import "../../chunks/chunk.6NYH4BZ2.js";
|
|
12
|
+
import "../../chunks/chunk.USC76EZL.js";
|
|
12
13
|
import "../../chunks/chunk.IUDWCWFV.js";
|
|
13
14
|
import "../../chunks/chunk.UP75L23G.js";
|
|
14
|
-
import "../../chunks/chunk.
|
|
15
|
+
import "../../chunks/chunk.XTN2KUNR.js";
|
|
15
16
|
import "../../chunks/chunk.K4EJQG4O.js";
|
|
16
|
-
import "../../chunks/chunk.IBV3HXI5.js";
|
|
17
17
|
import "../../chunks/chunk.PQFHJHNO.js";
|
|
18
18
|
import "../../chunks/chunk.PH7RLQK2.js";
|
|
19
19
|
import "../../chunks/chunk.6QUGTGJO.js";
|