@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
package/README.md
CHANGED
|
@@ -38,11 +38,18 @@ To scaffold a new component, run the following command, replacing `terra-tag-nam
|
|
|
38
38
|
npm run create terra-tag-name
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
This will generate
|
|
41
|
+
This will generate source files, a stylesheet, a Jupyter widget, and a docs page for you. When you start the dev server, you'll find the new component in the "Components" section of the sidebar. Do a `git status` to see all the changes this command made.
|
|
42
42
|
|
|
43
|
-
###
|
|
43
|
+
### Testing Components in Jupyter Lab
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
Install the `uv` package manager (https://github.com/astral-sh/uv), it's a lightweight tool that makes working with virtual environments and packages much easier.
|
|
46
|
+
|
|
47
|
+
Then run the following:
|
|
48
|
+
|
|
49
|
+
- `uv venv` - create a virtual environment (only have to do this the first time)
|
|
50
|
+
- `source .venv/bin/activate` - activate it
|
|
51
|
+
- `uv pip install -e ".[dev]"` - install dependencies (see pyproject.toml)
|
|
52
|
+
- `./.venv/bin/jupyter lab` - spins up Jupyter lab and should open the browser for you
|
|
46
53
|
|
|
47
54
|
## License
|
|
48
55
|
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import {
|
|
2
|
-
variable_combobox_styles_default
|
|
3
|
-
} from "./chunk.ZKRXIISK.js";
|
|
4
1
|
import {
|
|
5
2
|
FetchController
|
|
6
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.GCXPHNE2.js";
|
|
7
4
|
import {
|
|
8
5
|
clearSelection,
|
|
9
6
|
groupDocsByCollection,
|
|
10
7
|
removeEmptyCollections,
|
|
11
8
|
renderSearchResult,
|
|
12
9
|
walkToOption
|
|
13
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.7JHEI2UU.js";
|
|
11
|
+
import {
|
|
12
|
+
variable_combobox_styles_default
|
|
13
|
+
} from "./chunk.SWEK2UAG.js";
|
|
14
14
|
import {
|
|
15
15
|
icon_default
|
|
16
|
-
} from "./chunk.
|
|
16
|
+
} from "./chunk.R4AGAL4B.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./chunk.
|
|
18
|
+
h
|
|
19
|
+
} from "./chunk.QB5SASDL.js";
|
|
20
20
|
import {
|
|
21
21
|
Fuse
|
|
22
22
|
} from "./chunk.NTNL4P6D.js";
|
|
23
23
|
import {
|
|
24
24
|
n as n2
|
|
25
25
|
} from "./chunk.2XCNCXGV.js";
|
|
26
|
-
import {
|
|
27
|
-
h
|
|
28
|
-
} from "./chunk.QB5SASDL.js";
|
|
29
26
|
import {
|
|
30
27
|
o
|
|
31
28
|
} from "./chunk.QEA4QW6G.js";
|
|
29
|
+
import {
|
|
30
|
+
button_default
|
|
31
|
+
} from "./chunk.7ADLGY5T.js";
|
|
32
32
|
import {
|
|
33
33
|
watch
|
|
34
34
|
} from "./chunk.IUDWCWFV.js";
|
|
35
35
|
import {
|
|
36
36
|
TerraElement,
|
|
37
37
|
component_styles_default
|
|
38
|
-
} from "./chunk.
|
|
38
|
+
} from "./chunk.XTN2KUNR.js";
|
|
39
39
|
import {
|
|
40
40
|
n,
|
|
41
41
|
r
|
|
@@ -198,7 +198,7 @@ var _TerraVariableCombobox = class _TerraVariableCombobox extends TerraElement {
|
|
|
198
198
|
}
|
|
199
199
|
disconnectedCallback() {
|
|
200
200
|
super.disconnectedCallback();
|
|
201
|
-
globalThis.
|
|
201
|
+
globalThis.removeEventListener("click", __privateGet(this, _manageListboxVisibility));
|
|
202
202
|
}
|
|
203
203
|
clear() {
|
|
204
204
|
this.query = _TerraVariableCombobox.initialQuery;
|
|
@@ -213,9 +213,7 @@ var _TerraVariableCombobox = class _TerraVariableCombobox extends TerraElement {
|
|
|
213
213
|
var _a, _b, _c;
|
|
214
214
|
const searchHasNoMatches = ((_a = this.searchResults) == null ? void 0 : _a.length) === 0 && ((_b = __privateGet(this, _searchableList)) == null ? void 0 : _b.length) !== 0 && this.query !== _TerraVariableCombobox.initialQuery;
|
|
215
215
|
return x`<search part="base" title="Search through the list.">
|
|
216
|
-
<label
|
|
217
|
-
for="combobox"
|
|
218
|
-
class=${this.hideLabel ? "sr-only" : "search-input-label"}
|
|
216
|
+
<label for="combobox" class=${this.hideLabel ? "sr-only" : "input-label"}
|
|
219
217
|
>${this.label}</label
|
|
220
218
|
>
|
|
221
219
|
<div class="search-input-group">
|
|
@@ -228,6 +226,7 @@ var _TerraVariableCombobox = class _TerraVariableCombobox extends TerraElement {
|
|
|
228
226
|
})}
|
|
229
227
|
aria-autocomplete="list"
|
|
230
228
|
aria-controls="listbox"
|
|
229
|
+
aria-haspopup="list"
|
|
231
230
|
aria-expanded=${this.isExpanded}
|
|
232
231
|
class="combobox"
|
|
233
232
|
id="combobox"
|
|
@@ -239,7 +238,8 @@ var _TerraVariableCombobox = class _TerraVariableCombobox extends TerraElement {
|
|
|
239
238
|
@input=${__privateGet(this, _handleComboboxChange)}
|
|
240
239
|
@keydown=${__privateGet(this, _handleKeydown)}
|
|
241
240
|
/>
|
|
242
|
-
<button
|
|
241
|
+
<terra-button
|
|
242
|
+
shape="square-left"
|
|
243
243
|
aria-controls="listbox"
|
|
244
244
|
aria-expanded=${this.isExpanded}
|
|
245
245
|
aria-label="List of Searchable Variables"
|
|
@@ -267,7 +267,7 @@ var _TerraVariableCombobox = class _TerraVariableCombobox extends TerraElement {
|
|
|
267
267
|
stroke-width="3"
|
|
268
268
|
></circle>
|
|
269
269
|
</svg>`}
|
|
270
|
-
</button>
|
|
270
|
+
</terra-button>
|
|
271
271
|
|
|
272
272
|
${this.hideHelp ? T : x`<p class="search-help">
|
|
273
273
|
See
|
|
@@ -277,17 +277,10 @@ var _TerraVariableCombobox = class _TerraVariableCombobox extends TerraElement {
|
|
|
277
277
|
tabindex=${this.isExpanded ? "-1 " : "0"}
|
|
278
278
|
target="_blank"
|
|
279
279
|
>extended search syntax
|
|
280
|
-
<
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
width="14"
|
|
285
|
-
height="14"
|
|
286
|
-
viewBox="0 0 24 24"
|
|
287
|
-
>
|
|
288
|
-
<path
|
|
289
|
-
d="M19 19H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"
|
|
290
|
-
/></svg></a
|
|
280
|
+
<terra-icon
|
|
281
|
+
name="outline-arrow-top-right-on-square"
|
|
282
|
+
library="heroicons"
|
|
283
|
+
></terra-icon></a
|
|
291
284
|
>.
|
|
292
285
|
</p>`}
|
|
293
286
|
</div>
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
MapController
|
|
3
|
-
} from "./chunk.KPXFSE3J.js";
|
|
4
|
-
import {
|
|
5
|
-
map_styles_default
|
|
6
|
-
} from "./chunk.L7XOR6JZ.js";
|
|
7
1
|
import {
|
|
8
2
|
leaflet_draw_styles_default
|
|
9
3
|
} from "./chunk.KJ4BZBTX.js";
|
|
@@ -13,6 +7,12 @@ import {
|
|
|
13
7
|
import {
|
|
14
8
|
leaflet_styles_default
|
|
15
9
|
} from "./chunk.VHHIJXG2.js";
|
|
10
|
+
import {
|
|
11
|
+
MapController
|
|
12
|
+
} from "./chunk.KPXFSE3J.js";
|
|
13
|
+
import {
|
|
14
|
+
map_styles_default
|
|
15
|
+
} from "./chunk.TZK42POE.js";
|
|
16
16
|
import {
|
|
17
17
|
h
|
|
18
18
|
} from "./chunk.QB5SASDL.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
TerraElement,
|
|
27
27
|
component_styles_default
|
|
28
|
-
} from "./chunk.
|
|
28
|
+
} from "./chunk.XTN2KUNR.js";
|
|
29
29
|
import {
|
|
30
30
|
e,
|
|
31
31
|
n,
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TerraElement,
|
|
3
|
+
component_styles_default
|
|
4
|
+
} from "./chunk.XTN2KUNR.js";
|
|
5
|
+
import {
|
|
6
|
+
n,
|
|
7
|
+
r
|
|
8
|
+
} from "./chunk.K4EJQG4O.js";
|
|
9
|
+
import {
|
|
10
|
+
BrowseVariablesController
|
|
11
|
+
} from "./chunk.7QABLDUG.js";
|
|
12
|
+
import {
|
|
13
|
+
browse_variables_styles_default
|
|
14
|
+
} from "./chunk.TNP7NVU5.js";
|
|
15
|
+
import {
|
|
16
|
+
x
|
|
17
|
+
} from "./chunk.PQFHJHNO.js";
|
|
18
|
+
import {
|
|
19
|
+
__decorateClass,
|
|
20
|
+
__privateAdd,
|
|
21
|
+
__privateGet,
|
|
22
|
+
__privateMethod
|
|
23
|
+
} from "./chunk.6QUGTGJO.js";
|
|
24
|
+
|
|
25
|
+
// src/components/browse-variables/browse-variables.component.ts
|
|
26
|
+
var _controller, _renderCategorySelect, renderCategorySelect_fn, _renderFacet, renderFacet_fn, _renderVariablesBrowse, renderVariablesBrowse_fn;
|
|
27
|
+
var TerraBrowseVariables = class extends TerraElement {
|
|
28
|
+
constructor() {
|
|
29
|
+
super(...arguments);
|
|
30
|
+
__privateAdd(this, _renderCategorySelect);
|
|
31
|
+
__privateAdd(this, _renderFacet);
|
|
32
|
+
__privateAdd(this, _renderVariablesBrowse);
|
|
33
|
+
this.catalog = "giovanni";
|
|
34
|
+
this.selectedFacetFields = [];
|
|
35
|
+
__privateAdd(this, _controller, new BrowseVariablesController(this));
|
|
36
|
+
this.handleFacetSelect = (event) => {
|
|
37
|
+
const target = event.target;
|
|
38
|
+
if (!target.dataset.facet) {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
this.selectedFacetFields.push({
|
|
42
|
+
facet: target.dataset.facet,
|
|
43
|
+
field: target.innerText.trim()
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
render() {
|
|
48
|
+
return this.selectedFacetFields.length ? __privateMethod(this, _renderVariablesBrowse, renderVariablesBrowse_fn).call(this) : __privateMethod(this, _renderCategorySelect, renderCategorySelect_fn).call(this);
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
_controller = new WeakMap();
|
|
52
|
+
_renderCategorySelect = new WeakSet();
|
|
53
|
+
renderCategorySelect_fn = function() {
|
|
54
|
+
var _a, _b, _c, _d, _e, _f;
|
|
55
|
+
return x`<div class="initial-browse-container">
|
|
56
|
+
<div class="column">
|
|
57
|
+
<h2>Research Areas</h2>
|
|
58
|
+
<ul role="list">
|
|
59
|
+
${(_b = (_a = __privateGet(this, _controller).facetsByCategory) == null ? void 0 : _a.disciplines) == null ? void 0 : _b.map(
|
|
60
|
+
(field) => x`<li
|
|
61
|
+
role="button"
|
|
62
|
+
tabindex="0"
|
|
63
|
+
aria-selected="false"
|
|
64
|
+
data-facet="disciplines"
|
|
65
|
+
@click=${this.handleFacetSelect}
|
|
66
|
+
>
|
|
67
|
+
${field.name}
|
|
68
|
+
</li>`
|
|
69
|
+
)}
|
|
70
|
+
</ul>
|
|
71
|
+
</div>
|
|
72
|
+
|
|
73
|
+
<div class="column">
|
|
74
|
+
<h2>Measurements</h2>
|
|
75
|
+
<ul role="list">
|
|
76
|
+
${(_d = (_c = __privateGet(this, _controller).facetsByCategory) == null ? void 0 : _c.measurements) == null ? void 0 : _d.map(
|
|
77
|
+
(field) => x`<li
|
|
78
|
+
role="button"
|
|
79
|
+
tabindex="0"
|
|
80
|
+
aria-selected="false"
|
|
81
|
+
data-facet="measurements"
|
|
82
|
+
@click=${this.handleFacetSelect}
|
|
83
|
+
>
|
|
84
|
+
${field.name}
|
|
85
|
+
</li>`
|
|
86
|
+
)}
|
|
87
|
+
</ul>
|
|
88
|
+
</div>
|
|
89
|
+
|
|
90
|
+
<div class="column">
|
|
91
|
+
<h2>Sources</h2>
|
|
92
|
+
<ul role="list">
|
|
93
|
+
${(_f = (_e = __privateGet(this, _controller).facetsByCategory) == null ? void 0 : _e.platformInstruments) == null ? void 0 : _f.map(
|
|
94
|
+
(field) => x`<li
|
|
95
|
+
role="button"
|
|
96
|
+
tabindex="0"
|
|
97
|
+
aria-selected="false"
|
|
98
|
+
data-facet="platformInstruments"
|
|
99
|
+
@click=${this.handleFacetSelect}
|
|
100
|
+
>
|
|
101
|
+
${field.name}
|
|
102
|
+
</li>`
|
|
103
|
+
)}
|
|
104
|
+
</ul>
|
|
105
|
+
</div>
|
|
106
|
+
</div>`;
|
|
107
|
+
};
|
|
108
|
+
_renderFacet = new WeakSet();
|
|
109
|
+
renderFacet_fn = function(title, fields, open) {
|
|
110
|
+
return x`<details ?open=${open}>
|
|
111
|
+
<summary>${title}</summary>
|
|
112
|
+
|
|
113
|
+
${(fields != null ? fields : []).map(
|
|
114
|
+
(field) => x`
|
|
115
|
+
<div>
|
|
116
|
+
<label
|
|
117
|
+
><input type="checkbox" /> ${field.name}
|
|
118
|
+
(${field.count})</label
|
|
119
|
+
>
|
|
120
|
+
</div>
|
|
121
|
+
`
|
|
122
|
+
)}
|
|
123
|
+
</details>`;
|
|
124
|
+
};
|
|
125
|
+
_renderVariablesBrowse = new WeakSet();
|
|
126
|
+
renderVariablesBrowse_fn = function() {
|
|
127
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
|
|
128
|
+
return x`<div class="variables-container">
|
|
129
|
+
<aside class="sidebar">
|
|
130
|
+
<h2>Filter</h2>
|
|
131
|
+
|
|
132
|
+
${__privateMethod(this, _renderFacet, renderFacet_fn).call(this, "Observations", (_a = __privateGet(this, _controller).facetsByCategory) == null ? void 0 : _a.observations, true)}
|
|
133
|
+
${__privateMethod(this, _renderFacet, renderFacet_fn).call(this, "Disciplines", (_b = __privateGet(this, _controller).facetsByCategory) == null ? void 0 : _b.disciplines)}
|
|
134
|
+
${__privateMethod(this, _renderFacet, renderFacet_fn).call(this, "Measurements", (_c = __privateGet(this, _controller).facetsByCategory) == null ? void 0 : _c.measurements)}
|
|
135
|
+
${__privateMethod(this, _renderFacet, renderFacet_fn).call(this, "Platform / Instrument", (_d = __privateGet(this, _controller).facetsByCategory) == null ? void 0 : _d.platformInstruments)}
|
|
136
|
+
${__privateMethod(this, _renderFacet, renderFacet_fn).call(this, "Spatial Resolutions", (_e = __privateGet(this, _controller).facetsByCategory) == null ? void 0 : _e.spatialResolutions)}
|
|
137
|
+
${__privateMethod(this, _renderFacet, renderFacet_fn).call(this, "Temporal Resolutions", (_f = __privateGet(this, _controller).facetsByCategory) == null ? void 0 : _f.temporalResolutions)}
|
|
138
|
+
${__privateMethod(this, _renderFacet, renderFacet_fn).call(this, "Wavelengths", (_g = __privateGet(this, _controller).facetsByCategory) == null ? void 0 : _g.wavelengths)}
|
|
139
|
+
${__privateMethod(this, _renderFacet, renderFacet_fn).call(this, "Depths", (_h = __privateGet(this, _controller).facetsByCategory) == null ? void 0 : _h.depths)}
|
|
140
|
+
${__privateMethod(this, _renderFacet, renderFacet_fn).call(this, "Special Features", (_i = __privateGet(this, _controller).facetsByCategory) == null ? void 0 : _i.specialFeatures)}
|
|
141
|
+
${__privateMethod(this, _renderFacet, renderFacet_fn).call(this, "Portal", (_j = __privateGet(this, _controller).facetsByCategory) == null ? void 0 : _j.portals)}
|
|
142
|
+
</aside>
|
|
143
|
+
|
|
144
|
+
<main class="content">
|
|
145
|
+
<section class="group">
|
|
146
|
+
<h3>Category</h3>
|
|
147
|
+
|
|
148
|
+
<ul class="variable-list">
|
|
149
|
+
${(_k = __privateGet(this, _controller).variables) == null ? void 0 : _k.map(
|
|
150
|
+
(variable) => x`
|
|
151
|
+
<li tabindex="0" aria-selected="false">
|
|
152
|
+
<input type="checkbox" />
|
|
153
|
+
<strong>${variable.dataFieldLongName}</strong>
|
|
154
|
+
<span class="meta"
|
|
155
|
+
>MERRA-2 • ${variable.dataProductTimeInterval}
|
|
156
|
+
• kg-m2</span
|
|
157
|
+
>
|
|
158
|
+
<div class="details-panel">
|
|
159
|
+
<h4>
|
|
160
|
+
Science Name:
|
|
161
|
+
${variable.dataFieldLongName}
|
|
162
|
+
</h4>
|
|
163
|
+
<p>
|
|
164
|
+
<strong>Spatial Resolution:</strong>
|
|
165
|
+
${variable.dataProductSpatialResolution}
|
|
166
|
+
</p>
|
|
167
|
+
<p>
|
|
168
|
+
<strong>Temporal Coverage:</strong>
|
|
169
|
+
${variable.dataProductBeginDateTime} -
|
|
170
|
+
${variable.dataProductEndDateTime}
|
|
171
|
+
</p>
|
|
172
|
+
<p>
|
|
173
|
+
<strong>Region Coverage:</strong> Global
|
|
174
|
+
</p>
|
|
175
|
+
<p><strong>Dataset:</strong> MERRA-2</p>
|
|
176
|
+
</div>
|
|
177
|
+
</li>
|
|
178
|
+
`
|
|
179
|
+
)}
|
|
180
|
+
</ul>
|
|
181
|
+
</section>
|
|
182
|
+
</main>
|
|
183
|
+
</div>`;
|
|
184
|
+
};
|
|
185
|
+
TerraBrowseVariables.styles = [component_styles_default, browse_variables_styles_default];
|
|
186
|
+
__decorateClass([
|
|
187
|
+
n()
|
|
188
|
+
], TerraBrowseVariables.prototype, "searchQuery", 2);
|
|
189
|
+
__decorateClass([
|
|
190
|
+
n()
|
|
191
|
+
], TerraBrowseVariables.prototype, "catalog", 2);
|
|
192
|
+
__decorateClass([
|
|
193
|
+
r()
|
|
194
|
+
], TerraBrowseVariables.prototype, "selectedFacetFields", 2);
|
|
195
|
+
|
|
196
|
+
export {
|
|
197
|
+
TerraBrowseVariables
|
|
198
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import {
|
|
2
|
+
i
|
|
3
|
+
} from "./chunk.PH7RLQK2.js";
|
|
4
|
+
|
|
5
|
+
// src/components/spatial-picker/spatial-picker.styles.ts
|
|
6
|
+
var spatial_picker_styles_default = i`
|
|
7
|
+
:host {
|
|
8
|
+
display: block;
|
|
9
|
+
position: relative;
|
|
10
|
+
max-width: 600px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
:host .spatial-picker__input_fields {
|
|
14
|
+
position: relative;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:host input {
|
|
18
|
+
box-shadow: none;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
:host .form-control {
|
|
22
|
+
display: block;
|
|
23
|
+
width: 100%;
|
|
24
|
+
height: 36px;
|
|
25
|
+
padding: 6px 12px;
|
|
26
|
+
background-image: none;
|
|
27
|
+
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
|
28
|
+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
|
29
|
+
-webkit-transition:
|
|
30
|
+
border-color ease-in-out 0.15s,
|
|
31
|
+
box-shadow ease-in-out 0.15s;
|
|
32
|
+
transition:
|
|
33
|
+
background-color 0.2s ease,
|
|
34
|
+
border-color 0.2s ease;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
:host .spatial-picker__input_icon_button {
|
|
38
|
+
position: absolute;
|
|
39
|
+
top: 0;
|
|
40
|
+
right: 0;
|
|
41
|
+
height: 36px;
|
|
42
|
+
padding: 0px;
|
|
43
|
+
z-index: 2;
|
|
44
|
+
margin-block: 0;
|
|
45
|
+
margin-inline: 0;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
:host .spatial-picker__input_icon_button svg {
|
|
49
|
+
height: 1.4rem;
|
|
50
|
+
width: 1.4rem;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.button-icon {
|
|
54
|
+
height: 1rem;
|
|
55
|
+
width: 1rem;
|
|
56
|
+
}
|
|
57
|
+
`;
|
|
58
|
+
|
|
59
|
+
export {
|
|
60
|
+
spatial_picker_styles_default
|
|
61
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TerraBrowseVariables
|
|
3
|
+
} from "./chunk.3WUZMCON.js";
|
|
4
|
+
|
|
5
|
+
// src/react/browse-variables/index.ts
|
|
6
|
+
import * as React from "react";
|
|
7
|
+
import { createComponent } from "@lit/react";
|
|
8
|
+
var tagName = "terra-browse-variables";
|
|
9
|
+
TerraBrowseVariables.define("terra-browse-variables");
|
|
10
|
+
var reactWrapper = createComponent({
|
|
11
|
+
tagName,
|
|
12
|
+
elementClass: TerraBrowseVariables,
|
|
13
|
+
react: React,
|
|
14
|
+
events: {},
|
|
15
|
+
displayName: "TerraBrowseVariables"
|
|
16
|
+
});
|
|
17
|
+
var browse_variables_default = reactWrapper;
|
|
18
|
+
|
|
19
|
+
export {
|
|
20
|
+
browse_variables_default
|
|
21
|
+
};
|
|
@@ -7,19 +7,19 @@ import {
|
|
|
7
7
|
FormControlController,
|
|
8
8
|
validValidityState
|
|
9
9
|
} from "./chunk.BT4IJCQK.js";
|
|
10
|
-
import {
|
|
11
|
-
button_styles_default
|
|
12
|
-
} from "./chunk.NTB4EIFE.js";
|
|
13
10
|
import {
|
|
14
11
|
e
|
|
15
12
|
} from "./chunk.YVSJQ4KD.js";
|
|
16
13
|
import {
|
|
17
14
|
watch
|
|
18
15
|
} from "./chunk.IUDWCWFV.js";
|
|
16
|
+
import {
|
|
17
|
+
button_styles_default
|
|
18
|
+
} from "./chunk.YVG2XG3L.js";
|
|
19
19
|
import {
|
|
20
20
|
TerraElement,
|
|
21
21
|
component_styles_default
|
|
22
|
-
} from "./chunk.
|
|
22
|
+
} from "./chunk.XTN2KUNR.js";
|
|
23
23
|
import {
|
|
24
24
|
e as e2,
|
|
25
25
|
n as n2,
|
|
@@ -91,13 +91,12 @@ var TerraButton = class extends TerraElement {
|
|
|
91
91
|
this.hasFocus = false;
|
|
92
92
|
this.invalid = false;
|
|
93
93
|
this.title = "";
|
|
94
|
-
this.variant = "
|
|
94
|
+
this.variant = "primary";
|
|
95
95
|
this.size = "medium";
|
|
96
96
|
this.caret = false;
|
|
97
97
|
this.disabled = false;
|
|
98
98
|
this.loading = false;
|
|
99
99
|
this.outline = false;
|
|
100
|
-
this.pill = false;
|
|
101
100
|
this.circle = false;
|
|
102
101
|
this.type = "button";
|
|
103
102
|
this.name = "";
|
|
@@ -193,6 +192,24 @@ var TerraButton = class extends TerraElement {
|
|
|
193
192
|
this.formControlController.updateValidity();
|
|
194
193
|
}
|
|
195
194
|
}
|
|
195
|
+
setPageLinkIcon(href) {
|
|
196
|
+
const parsedUrl = new URL(href);
|
|
197
|
+
const linkDomain = parsedUrl.hostname;
|
|
198
|
+
const hostDomain = globalThis.location.hostname;
|
|
199
|
+
return linkDomain === hostDomain ? "outline-arrow-right" : "outline-arrow-up-right";
|
|
200
|
+
}
|
|
201
|
+
setFontSize(size) {
|
|
202
|
+
switch (size) {
|
|
203
|
+
case "small":
|
|
204
|
+
return ".8rem";
|
|
205
|
+
case "medium":
|
|
206
|
+
return "1.2rem";
|
|
207
|
+
case "large":
|
|
208
|
+
return "1.5rem";
|
|
209
|
+
default:
|
|
210
|
+
return "1.5rem";
|
|
211
|
+
}
|
|
212
|
+
}
|
|
196
213
|
render() {
|
|
197
214
|
const isLink = this.isLink();
|
|
198
215
|
const tag = isLink ? s`a` : s`button`;
|
|
@@ -204,21 +221,23 @@ var TerraButton = class extends TerraElement {
|
|
|
204
221
|
"button--default": this.variant === "default",
|
|
205
222
|
"button--primary": this.variant === "primary",
|
|
206
223
|
"button--success": this.variant === "success",
|
|
207
|
-
"button--neutral": this.variant === "neutral",
|
|
208
224
|
"button--warning": this.variant === "warning",
|
|
209
225
|
"button--danger": this.variant === "danger",
|
|
210
226
|
"button--text": this.variant === "text",
|
|
227
|
+
"button--pagelink": this.variant === "pagelink",
|
|
211
228
|
"button--small": this.size === "small",
|
|
212
229
|
"button--medium": this.size === "medium",
|
|
213
230
|
"button--large": this.size === "large",
|
|
214
231
|
"button--caret": this.caret,
|
|
232
|
+
"button--square-left": this.shape === "square-left",
|
|
233
|
+
"button--square": this.shape === "square",
|
|
234
|
+
"button--square-right": this.shape === "square-right",
|
|
215
235
|
"button--circle": this.circle,
|
|
216
236
|
"button--disabled": this.disabled,
|
|
217
237
|
"button--focused": this.hasFocus,
|
|
218
238
|
"button--loading": this.loading,
|
|
219
239
|
"button--standard": !this.outline,
|
|
220
240
|
"button--outline": this.outline,
|
|
221
|
-
"button--pill": this.pill,
|
|
222
241
|
"button--has-label": this.hasSlotController.test("[default]"),
|
|
223
242
|
"button--has-prefix": this.hasSlotController.test("prefix"),
|
|
224
243
|
"button--has-suffix": this.hasSlotController.test("suffix")
|
|
@@ -242,7 +261,17 @@ var TerraButton = class extends TerraElement {
|
|
|
242
261
|
>
|
|
243
262
|
<slot name="prefix" part="prefix" class="button__prefix"></slot>
|
|
244
263
|
<slot part="label" class="button__label"></slot>
|
|
245
|
-
<slot name="suffix" part="suffix" class="button__suffix"
|
|
264
|
+
<slot name="suffix" part="suffix" class="button__suffix">
|
|
265
|
+
${this.variant == "pagelink" ? n`
|
|
266
|
+
<span>
|
|
267
|
+
<terra-icon
|
|
268
|
+
name=${this.setPageLinkIcon(this.href)}
|
|
269
|
+
library="heroicons"
|
|
270
|
+
font-size=${this.setFontSize(this.size)}
|
|
271
|
+
></terra-icon>
|
|
272
|
+
</span>
|
|
273
|
+
` : ``}
|
|
274
|
+
</slot>
|
|
246
275
|
</${tag}>
|
|
247
276
|
`;
|
|
248
277
|
}
|
|
@@ -269,6 +298,9 @@ __decorateClass([
|
|
|
269
298
|
__decorateClass([
|
|
270
299
|
n2({ type: Boolean, reflect: true })
|
|
271
300
|
], TerraButton.prototype, "caret", 2);
|
|
301
|
+
__decorateClass([
|
|
302
|
+
n2({ reflect: true })
|
|
303
|
+
], TerraButton.prototype, "shape", 2);
|
|
272
304
|
__decorateClass([
|
|
273
305
|
n2({ type: Boolean, reflect: true })
|
|
274
306
|
], TerraButton.prototype, "disabled", 2);
|
|
@@ -278,9 +310,6 @@ __decorateClass([
|
|
|
278
310
|
__decorateClass([
|
|
279
311
|
n2({ type: Boolean, reflect: true })
|
|
280
312
|
], TerraButton.prototype, "outline", 2);
|
|
281
|
-
__decorateClass([
|
|
282
|
-
n2({ type: Boolean, reflect: true })
|
|
283
|
-
], TerraButton.prototype, "pill", 2);
|
|
284
313
|
__decorateClass([
|
|
285
314
|
n2({ type: Boolean, reflect: true })
|
|
286
315
|
], TerraButton.prototype, "circle", 2);
|
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
x
|
|
6
6
|
} from "./chunk.PQFHJHNO.js";
|
|
7
7
|
import {
|
|
8
|
+
__objRest,
|
|
8
9
|
__spreadProps,
|
|
9
10
|
__spreadValues
|
|
10
11
|
} from "./chunk.6QUGTGJO.js";
|
|
@@ -63,24 +64,19 @@ function cherryPickDocInfo(docs) {
|
|
|
63
64
|
collectionLongName: doc["Collection.LongName"],
|
|
64
65
|
collectionShortName: doc["Collection.ShortName"],
|
|
65
66
|
collectionVersion: doc["Collection.Version"],
|
|
66
|
-
|
|
67
|
+
entryId: `${doc["Collection.ShortName"]}_${doc["Collection.Version"]}_${doc["Variable.Name"]}`,
|
|
67
68
|
longName: doc["Variable.LongName"],
|
|
69
|
+
name: doc["Variable.Name"],
|
|
68
70
|
standardName: doc["Variable.StandardName"],
|
|
69
|
-
units: doc["Variable.Units"],
|
|
70
|
-
entryId: `${doc["Collection.ShortName"]}_${doc["Collection.Version"]}_${doc["Variable.Name"]}`
|
|
71
|
-
};
|
|
72
|
-
const eventDetail = JSON.stringify({
|
|
73
|
-
collectionBeginningDateTime: doc["Collection.BeginDateTime"],
|
|
74
|
-
collectionEndingDateTime: doc["Collection.EndDateTime"],
|
|
75
|
-
collectionShortName: renderableData.collectionShortName,
|
|
76
|
-
collectionVersion: renderableData.collectionVersion,
|
|
77
|
-
name: renderableData.name,
|
|
78
|
-
longName: renderableData.longName,
|
|
79
|
-
standardName: renderableData.standardName,
|
|
80
|
-
entryId: renderableData.entryId,
|
|
81
71
|
units: doc["Variable.Units"]
|
|
72
|
+
};
|
|
73
|
+
const _a = renderableData, { collectionLongName } = _a, eventDetails = __objRest(_a, ["collectionLongName"]);
|
|
74
|
+
return __spreadProps(__spreadValues({}, renderableData), {
|
|
75
|
+
eventDetail: JSON.stringify(__spreadProps(__spreadValues({}, eventDetails), {
|
|
76
|
+
datasetLandingPage: doc["Collection.DescriptionUrl"],
|
|
77
|
+
variableLandingPage: doc["Variable.DescriptionUrl"]
|
|
78
|
+
}))
|
|
82
79
|
});
|
|
83
|
-
return __spreadProps(__spreadValues({}, renderableData), { eventDetail });
|
|
84
80
|
});
|
|
85
81
|
}
|
|
86
82
|
function clearSelection(combobox, listbox) {
|