@nasa-terra/components 0.0.7 → 0.0.10
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.RZV7PTZZ.js → chunk.3IJDKBGJ.js} +1 -1
- package/cdn/chunks/{chunk.XAVEBGFY.js → chunk.3W4F6TQ2.js} +1 -1
- package/cdn/chunks/{chunk.P3N5PW3F.js → chunk.4AB3LJPJ.js} +42 -13
- package/cdn/chunks/chunk.5FZY6SGS.js +61 -0
- package/{dist/chunks/chunk.CNBF6GCR.js → cdn/chunks/chunk.5NV6P6GX.js} +1 -1
- package/cdn/chunks/{chunk.6TG7HJRE.js → chunk.5VDHK5K4.js} +14 -15
- package/cdn/chunks/{chunk.URIOYHEA.js → chunk.765C5WRO.js} +24 -46
- package/cdn/chunks/{chunk.5DPGWL3Y.js → chunk.7JHEI2UU.js} +10 -14
- package/cdn/chunks/{chunk.L4ODCAGX.js → chunk.7PMR7OPB.js} +1 -1
- package/cdn/chunks/chunk.7QABLDUG.js +57 -0
- package/{dist/chunks/chunk.4EEBFDHS.js → cdn/chunks/chunk.7UW6DDQF.js} +1 -1
- package/cdn/chunks/chunk.AC5MB5SX.js +128 -0
- package/cdn/chunks/{chunk.CGUXXQTT.js → chunk.AMMVA664.js} +1 -1
- package/cdn/chunks/chunk.BJDFUSWQ.js +226 -0
- package/cdn/chunks/{chunk.CPNLKTGF.js → chunk.CBQITJPW.js} +1 -1
- package/cdn/chunks/{chunk.UBYAPUL3.js → chunk.CCSPQ6IM.js} +8 -10
- package/cdn/chunks/chunk.CNP3J6CH.js +128 -0
- package/cdn/chunks/chunk.E7365JGL.js +21 -0
- package/cdn/chunks/{chunk.PTWY7M47.js → chunk.EZSX4R2K.js} +5 -1
- package/cdn/chunks/{chunk.GMWFNQ7Q.js → chunk.FCJIZOLN.js} +3 -2
- package/cdn/chunks/{chunk.R2AQMZE4.js → chunk.GCXPHNE2.js} +1 -1
- package/cdn/chunks/chunk.HSQGU4NR.js +25 -0
- package/cdn/chunks/{chunk.LO2CROCV.js → chunk.HZX5FZ7S.js} +5 -5
- package/cdn/chunks/{chunk.DSTVDF3E.js → chunk.IOAVHFTX.js} +1 -1
- package/{dist/chunks/chunk.TWKECPWO.js → cdn/chunks/chunk.K6SRYMW6.js} +1 -1
- package/{dist/chunks/chunk.MMDLLVXS.js → cdn/chunks/chunk.KNCEBCFL.js} +1 -1
- package/cdn/chunks/{chunk.SVBGCTUY.js → chunk.L577HM7J.js} +1 -1
- package/cdn/chunks/chunk.LVWJBUI5.js +396 -0
- package/cdn/chunks/{chunk.UUZHIWQZ.js → chunk.M2O4PUUH.js} +2 -2
- package/cdn/chunks/{chunk.5M6EGBKK.js → chunk.MVSG72ZT.js} +1 -1
- package/cdn/chunks/{chunk.IKBILRIY.js → chunk.NYEDLELY.js} +37 -18
- package/cdn/chunks/chunk.O7AXAEKY.js +23 -0
- package/{dist/chunks/chunk.N6PKYR5K.js → cdn/chunks/chunk.ODMCICTE.js} +1 -1
- package/cdn/chunks/{chunk.2BF5ZHP6.js → chunk.OEXEZBPR.js} +21 -28
- package/cdn/chunks/{chunk.IKYLG6LM.js → chunk.OHLHIF2S.js} +1 -1
- package/cdn/chunks/{chunk.WY4A6BXW.js → chunk.OYIXDSOR.js} +1 -1
- package/cdn/chunks/{chunk.GCC4YOMG.js → chunk.OZ7XA7RU.js} +1 -1
- package/cdn/chunks/chunk.PROUWLVJ.js +11 -0
- package/cdn/chunks/chunk.PS4NQOAX.js +198 -0
- package/cdn/chunks/chunk.Q4J4A5QN.js +11 -0
- package/cdn/chunks/{chunk.ZKRXIISK.js → chunk.SWEK2UAG.js} +19 -81
- package/cdn/chunks/chunk.TNP7NVU5.js +159 -0
- package/{dist/chunks/chunk.UNE3VYFP.js → cdn/chunks/chunk.TSJ2SKIK.js} +1 -1
- package/cdn/chunks/chunk.TZK42POE.js +55 -0
- package/cdn/chunks/{chunk.IBV3HXI5.js → chunk.USC76EZL.js} +26 -92
- package/cdn/chunks/chunk.UTSV66LS.js +339 -0
- package/cdn/chunks/{chunk.MCDYUBW2.js → chunk.V56TFUPC.js} +1 -1
- package/{dist/chunks/chunk.SDJHA4XN.js → cdn/chunks/chunk.VAGPCL2W.js} +1 -1
- package/cdn/chunks/{chunk.6TP5NQZR.js → chunk.VV4LJOBN.js} +3 -4
- package/cdn/chunks/{chunk.5EDEDCDT.js → chunk.W56IQXUC.js} +410 -112
- package/cdn/chunks/chunk.WD2DJJFP.js +38 -0
- package/cdn/chunks/{chunk.4GVU47B6.js → chunk.WTMN7OUL.js} +11 -6
- package/cdn/chunks/chunk.XDHNAOF7.js +53 -0
- package/{dist/chunks/chunk.CM3WMTBC.js → cdn/chunks/chunk.XF5FTC6G.js} +1 -1
- package/{dist/chunks/chunk.N7ULTEAO.js → cdn/chunks/chunk.XYVCCSE4.js} +1 -1
- package/cdn/chunks/{chunk.YW2OER7Y.js → chunk.Y4WP4EBM.js} +38 -20
- package/cdn/chunks/{chunk.ZMTQ4YE2.js → chunk.YPSUCRGF.js} +1 -1
- package/cdn/chunks/{chunk.NTB4EIFE.js → chunk.YVG2XG3L.js} +197 -162
- 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 +4 -4
- package/cdn/components/button/button.js +5 -5
- 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 +5 -5
- package/cdn/components/combobox/combobox.js +6 -6
- 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 +3 -3
- package/cdn/components/map/map.js +4 -4
- 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 +5 -5
- package/cdn/components/spatial-picker/spatial-picker.js +6 -6
- 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 +38 -38
- 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 +39 -39
- 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 +17 -17
- 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 +18 -18
- 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 +1346 -773
- 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 +5 -5
- package/cdn/react/chip/index.js +4 -4
- package/cdn/react/combobox/index.js +6 -6
- 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 +4 -2
- package/cdn/react/index.js +74 -58
- package/cdn/react/loader/index.js +4 -4
- package/cdn/react/map/index.js +4 -4
- package/cdn/react/plot/index.js +4 -4
- package/cdn/react/spatial-picker/index.js +6 -6
- package/cdn/react/time-series/index.js +39 -39
- package/cdn/react/variable-combobox/index.js +18 -18
- package/cdn/terra-ui-components.d.ts +2 -0
- package/cdn/terra-ui-components.js +80 -64
- 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 +170 -95
- package/cdn/utilities/animation.js +2 -2
- package/cdn/utilities/icon-library.js +2 -2
- package/cdn/vscode.html-custom-data.json +184 -121
- package/cdn/web-types.json +345 -223
- package/{cdn/chunks/chunk.CDPMV7DB.js → dist/chunks/chunk.2AH2DRFK.js} +1 -1
- package/dist/chunks/chunk.3WWANPMA.js +327 -0
- package/dist/chunks/{chunk.WVHQFXLD.js → chunk.45IL4VM3.js} +4 -5
- package/dist/chunks/{chunk.33I7MBZO.js → chunk.4QQE24PP.js} +1 -1
- package/dist/chunks/{chunk.IEHDLSGA.js → chunk.4VZN3W62.js} +26 -49
- package/dist/chunks/{chunk.665T4BPT.js → chunk.57CUGLEH.js} +2 -2
- package/dist/chunks/{chunk.OU4UPMYR.js → chunk.62YHGVQN.js} +11 -6
- package/{cdn/chunks/chunk.BX66TSQY.js → dist/chunks/chunk.63K6ZAUR.js} +1 -1
- package/dist/chunks/{chunk.FFZEV52Q.js → chunk.6HZV77W5.js} +10 -12
- package/dist/chunks/{chunk.6EFMX2ZD.js → chunk.6IQY5DUY.js} +1 -1
- package/dist/chunks/chunk.6LKFAV2F.js +55 -0
- package/dist/chunks/{chunk.Y72ZRL5L.js → chunk.76XK3OGD.js} +20 -27
- package/dist/chunks/{chunk.7LODXAV5.js → chunk.7EIEDJ2L.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.QJIYDTLQ.js → chunk.A2E2GJZC.js} +1 -1
- package/{cdn/chunks/chunk.LNNGJCX4.js → dist/chunks/chunk.A3YWS6R6.js} +1 -1
- package/dist/chunks/{chunk.SHS42OAD.js → chunk.APJOA6RL.js} +197 -162
- package/dist/chunks/chunk.BMQ6OBQO.js +11 -0
- package/dist/chunks/chunk.CETYO6UP.js +120 -0
- package/dist/chunks/chunk.CL7IMQRK.js +50 -0
- package/dist/chunks/{chunk.YNMQZYQL.js → chunk.CT5MMA3G.js} +1 -1
- package/{cdn/chunks/chunk.2MYFC7LM.js → dist/chunks/chunk.D36ZJXGZ.js} +1 -1
- package/dist/chunks/{chunk.XIRKMIAU.js → chunk.DHBVKEBZ.js} +5 -5
- package/dist/chunks/{chunk.FYST4D4G.js → chunk.DS3DCGZJ.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.EQN5HVOY.js +193 -0
- package/dist/chunks/chunk.FNGOLJO3.js +569 -0
- package/dist/chunks/chunk.G6IVJK35.js +25 -0
- package/dist/chunks/chunk.GHDRVO5M.js +125 -0
- package/dist/chunks/{chunk.RYPAZDXE.js → chunk.GKBF7QGR.js} +13 -0
- package/dist/chunks/chunk.GR7XHOA3.js +52 -0
- package/dist/chunks/{chunk.7I7C7JJF.js → chunk.GUX23M43.js} +1 -1
- package/{cdn/chunks/chunk.NFSGAK6D.js → dist/chunks/chunk.IKXIOXNP.js} +1 -1
- package/{cdn/chunks/chunk.4OMMI4NC.js → dist/chunks/chunk.J5H3VO4T.js} +1 -1
- package/dist/chunks/{chunk.RP6DCD5M.js → chunk.KU2GHEQC.js} +42 -13
- package/dist/chunks/{chunk.N2DS7NLI.js → chunk.KZ3ISS6V.js} +38 -20
- package/dist/chunks/{chunk.XB7LBTTU.js → chunk.MBUQ6RGQ.js} +1 -1
- package/dist/chunks/{chunk.TNACYALO.js → chunk.NAR6P3PM.js} +1 -1
- package/dist/chunks/{chunk.VEURJQW5.js → chunk.NBTXGDYY.js} +1 -1
- package/dist/chunks/chunk.NU7T7O37.js +11 -0
- package/dist/chunks/{chunk.OUOWGBKV.js → chunk.NYK5LTIB.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.C5OZDL3F.js → chunk.PBEAZMSE.js} +10 -11
- package/dist/chunks/chunk.QEMJLGM4.js +58 -0
- package/{cdn/chunks/chunk.7VBMSUOT.js → dist/chunks/chunk.QFDWDOGH.js} +1 -1
- package/dist/chunks/{chunk.T322FDKI.js → chunk.QK5OWFVO.js} +19 -81
- package/dist/chunks/{chunk.PFSWFOXD.js → chunk.R2NW6QOY.js} +1 -1
- package/dist/chunks/{chunk.OQE2USZJ.js → chunk.RWULTAWI.js} +1 -1
- package/dist/chunks/chunk.TRSW2E4E.js +223 -0
- package/dist/chunks/{chunk.7C4FMTCE.js → chunk.UPYPNGJF.js} +1 -1
- package/dist/chunks/chunk.UPZNWZOP.js +156 -0
- package/dist/chunks/chunk.VDU7JJBS.js +390 -0
- package/dist/chunks/{chunk.NYBJ252W.js → chunk.VN4FDFT7.js} +1 -1
- package/dist/chunks/{chunk.GBVXVADE.js → chunk.VUIXHR4Y.js} +5 -4
- package/dist/chunks/{chunk.BLNUBLUS.js → chunk.W7JRXR2Y.js} +5 -1
- package/dist/chunks/{chunk.ZK7QVWBI.js → chunk.Y6OL24QM.js} +1 -1
- package/{cdn/chunks/chunk.AG72D4AT.js → dist/chunks/chunk.YIQPXMOR.js} +1 -1
- package/dist/chunks/{chunk.EYUPYDT4.js → chunk.YOWSDNNI.js} +7 -7
- package/dist/chunks/chunk.ZKAF7B56.js +21 -0
- package/{cdn/chunks/chunk.CLFLLHS3.js → dist/chunks/chunk.ZLX3YIA5.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 +6 -6
- package/dist/components/map/map.controller.js +1 -1
- package/dist/components/map/map.js +7 -7
- 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 +8 -8
- package/dist/components/spatial-picker/spatial-picker.js +9 -9
- 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 +32 -32
- 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 +33 -33
- 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 +1346 -773
- 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 +4 -2
- package/dist/react/index.js +70 -54
- package/dist/react/loader/index.js +5 -5
- package/dist/react/map/index.js +7 -7
- package/dist/react/plot/index.js +6 -6
- package/dist/react/spatial-picker/index.js +9 -9
- package/dist/react/time-series/index.js +33 -33
- 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 +170 -95
- 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 +184 -121
- package/dist/web-types.json +345 -223
- 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.SBAGQQ5L.js} +3 -3
- 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
|
|
|
@@ -9,17 +9,17 @@ import {
|
|
|
9
9
|
} from "./chunk.BT4IJCQK.js";
|
|
10
10
|
import {
|
|
11
11
|
button_styles_default
|
|
12
|
-
} from "./chunk.
|
|
13
|
-
import {
|
|
14
|
-
e
|
|
15
|
-
} from "./chunk.YVSJQ4KD.js";
|
|
12
|
+
} from "./chunk.YVG2XG3L.js";
|
|
16
13
|
import {
|
|
17
14
|
watch
|
|
18
15
|
} from "./chunk.IUDWCWFV.js";
|
|
16
|
+
import {
|
|
17
|
+
e
|
|
18
|
+
} from "./chunk.YVSJQ4KD.js";
|
|
19
19
|
import {
|
|
20
20
|
TerraElement,
|
|
21
21
|
component_styles_default
|
|
22
|
-
} from "./chunk.
|
|
22
|
+
} from "./chunk.LVWJBUI5.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);
|
|
@@ -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
|
+
};
|
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Fuse
|
|
3
|
-
} from "./chunk.NTNL4P6D.js";
|
|
4
|
-
import {
|
|
5
|
-
n as n2
|
|
6
|
-
} from "./chunk.2XCNCXGV.js";
|
|
7
1
|
import {
|
|
8
2
|
c
|
|
9
3
|
} from "./chunk.PZRCJWJ4.js";
|
|
10
4
|
import {
|
|
11
5
|
h
|
|
12
6
|
} from "./chunk.QB5SASDL.js";
|
|
7
|
+
import {
|
|
8
|
+
Fuse
|
|
9
|
+
} from "./chunk.NTNL4P6D.js";
|
|
10
|
+
import {
|
|
11
|
+
n as n2
|
|
12
|
+
} from "./chunk.2XCNCXGV.js";
|
|
13
13
|
import {
|
|
14
14
|
o
|
|
15
15
|
} from "./chunk.QEA4QW6G.js";
|
|
16
|
+
import {
|
|
17
|
+
combobox_styles_default
|
|
18
|
+
} from "./chunk.USC76EZL.js";
|
|
16
19
|
import {
|
|
17
20
|
clearSelection,
|
|
18
21
|
walkToOption
|
|
@@ -23,14 +26,11 @@ import {
|
|
|
23
26
|
import {
|
|
24
27
|
TerraElement,
|
|
25
28
|
component_styles_default
|
|
26
|
-
} from "./chunk.
|
|
29
|
+
} from "./chunk.LVWJBUI5.js";
|
|
27
30
|
import {
|
|
28
31
|
n,
|
|
29
32
|
r
|
|
30
33
|
} from "./chunk.K4EJQG4O.js";
|
|
31
|
-
import {
|
|
32
|
-
combobox_styles_default
|
|
33
|
-
} from "./chunk.IBV3HXI5.js";
|
|
34
34
|
import {
|
|
35
35
|
T,
|
|
36
36
|
s,
|
|
@@ -296,9 +296,7 @@ var _TerraCombobox = class _TerraCombobox extends TerraElement {
|
|
|
296
296
|
render() {
|
|
297
297
|
var _a;
|
|
298
298
|
return x`<search part="base" title="Search through the list.">
|
|
299
|
-
<label
|
|
300
|
-
for="combobox"
|
|
301
|
-
class=${this.hideLabel ? "sr-only" : "search-input-label"}
|
|
299
|
+
<label for="combobox" class=${this.hideLabel ? "sr-only" : "input-label"}
|
|
302
300
|
>${this.label}</label
|
|
303
301
|
>
|
|
304
302
|
<div class="search-input-group">
|
|
@@ -322,7 +320,8 @@ var _TerraCombobox = class _TerraCombobox extends TerraElement {
|
|
|
322
320
|
@input=${__privateGet(this, _handleComboboxChange)}
|
|
323
321
|
@keydown=${__privateGet(this, _handleKeydown)}
|
|
324
322
|
/>
|
|
325
|
-
<button
|
|
323
|
+
<terra-button
|
|
324
|
+
shape="square-left"
|
|
326
325
|
aria-controls="listbox"
|
|
327
326
|
aria-expanded=${this.isExpanded}
|
|
328
327
|
aria-label="List of Searchable Items"
|
|
@@ -358,7 +357,7 @@ var _TerraCombobox = class _TerraCombobox extends TerraElement {
|
|
|
358
357
|
stroke-width="3"
|
|
359
358
|
></circle>
|
|
360
359
|
</svg>`}
|
|
361
|
-
</button>
|
|
360
|
+
</terra-button>
|
|
362
361
|
|
|
363
362
|
${this.hideHelp ? T : x`<p class="search-help">
|
|
364
363
|
See
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
plot_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.EZSX4R2K.js";
|
|
4
4
|
import {
|
|
5
5
|
watch
|
|
6
6
|
} from "./chunk.IUDWCWFV.js";
|
|
7
7
|
import {
|
|
8
8
|
TerraElement,
|
|
9
9
|
component_styles_default
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.LVWJBUI5.js";
|
|
11
11
|
import {
|
|
12
12
|
e,
|
|
13
13
|
n
|
|
@@ -18,6 +18,9 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
__commonJS,
|
|
20
20
|
__decorateClass,
|
|
21
|
+
__privateAdd,
|
|
22
|
+
__privateGet,
|
|
23
|
+
__privateSet,
|
|
21
24
|
__spreadValues,
|
|
22
25
|
__toESM
|
|
23
26
|
} from "./chunk.6QUGTGJO.js";
|
|
@@ -88169,33 +88172,31 @@ var require_plotly_min = __commonJS({
|
|
|
88169
88172
|
|
|
88170
88173
|
// src/components/plot/plot.component.ts
|
|
88171
88174
|
var import_plotly = __toESM(require_plotly_min(), 1);
|
|
88175
|
+
var _resizeObserver;
|
|
88172
88176
|
var TerraPlot = class extends TerraElement {
|
|
88173
88177
|
constructor() {
|
|
88174
88178
|
super(...arguments);
|
|
88175
|
-
this
|
|
88179
|
+
__privateAdd(this, _resizeObserver, void 0);
|
|
88176
88180
|
this.layout = {};
|
|
88177
|
-
this.config = {
|
|
88178
|
-
modeBarButtonsToAdd: [
|
|
88179
|
-
{
|
|
88180
|
-
name: "Download Data",
|
|
88181
|
-
title: "Download plot data as a CSV file",
|
|
88182
|
-
icon: import_plotly.Icons.disk,
|
|
88183
|
-
click: () => {
|
|
88184
|
-
this.downloadCSV();
|
|
88185
|
-
}
|
|
88186
|
-
}
|
|
88187
|
-
]
|
|
88188
|
-
};
|
|
88181
|
+
this.config = {};
|
|
88189
88182
|
this.data = [];
|
|
88190
88183
|
}
|
|
88191
88184
|
handleDataChange() {
|
|
88192
88185
|
this.updatePlotWithData();
|
|
88193
88186
|
}
|
|
88194
88187
|
firstUpdated() {
|
|
88188
|
+
__privateSet(this, _resizeObserver, new ResizeObserver(() => {
|
|
88189
|
+
import_plotly.Plots.resize(this.base);
|
|
88190
|
+
}));
|
|
88191
|
+
__privateGet(this, _resizeObserver).observe(this.base);
|
|
88195
88192
|
if (this.data.length) {
|
|
88196
88193
|
this.updatePlotWithData();
|
|
88197
88194
|
}
|
|
88198
88195
|
}
|
|
88196
|
+
disconnectedCallback() {
|
|
88197
|
+
super.disconnectedCallback();
|
|
88198
|
+
__privateGet(this, _resizeObserver).disconnect();
|
|
88199
|
+
}
|
|
88199
88200
|
updatePlotWithData() {
|
|
88200
88201
|
if (!this.base) {
|
|
88201
88202
|
return;
|
|
@@ -88206,45 +88207,21 @@ var TerraPlot = class extends TerraElement {
|
|
|
88206
88207
|
__spreadValues({
|
|
88207
88208
|
title: this.plotTitle
|
|
88208
88209
|
}, this.layout),
|
|
88209
|
-
this.config
|
|
88210
|
+
__spreadValues({ responsive: true }, this.config)
|
|
88210
88211
|
);
|
|
88211
88212
|
}
|
|
88212
|
-
downloadCSV() {
|
|
88213
|
-
let plotData = [];
|
|
88214
|
-
this.data.forEach((plot, index) => {
|
|
88215
|
-
plotData[index] = plot;
|
|
88216
|
-
});
|
|
88217
|
-
const csvData = plotData.map((trace) => {
|
|
88218
|
-
return trace.x.map((x2, i) => {
|
|
88219
|
-
return {
|
|
88220
|
-
x: x2,
|
|
88221
|
-
y: trace.y[i]
|
|
88222
|
-
};
|
|
88223
|
-
});
|
|
88224
|
-
}).flat();
|
|
88225
|
-
const csv = this.convertToCSV(csvData);
|
|
88226
|
-
const blob = new Blob([csv], { type: "text/csv" });
|
|
88227
|
-
const url = window.URL.createObjectURL(blob);
|
|
88228
|
-
const a = document.createElement("a");
|
|
88229
|
-
a.setAttribute("href", url);
|
|
88230
|
-
a.setAttribute("download", "chart_data.csv");
|
|
88231
|
-
a.style.display = "none";
|
|
88232
|
-
document.body.appendChild(a);
|
|
88233
|
-
a.click();
|
|
88234
|
-
document.body.removeChild(a);
|
|
88235
|
-
}
|
|
88236
|
-
convertToCSV(data) {
|
|
88237
|
-
const header = Object.keys(data[0]).join(",") + "\n";
|
|
88238
|
-
const rows = data.map((obj) => Object.values(obj).join(",")).join("\n");
|
|
88239
|
-
return header + rows;
|
|
88240
|
-
}
|
|
88241
88213
|
render() {
|
|
88242
88214
|
return x`<div part="base"></div>`;
|
|
88243
88215
|
}
|
|
88216
|
+
updated() {
|
|
88217
|
+
var _a, _b;
|
|
88218
|
+
(_b = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector(".gtitle")) == null ? void 0 : _b.part.add("plot-title");
|
|
88219
|
+
}
|
|
88244
88220
|
};
|
|
88221
|
+
_resizeObserver = new WeakMap();
|
|
88245
88222
|
TerraPlot.styles = [component_styles_default, plot_styles_default];
|
|
88246
88223
|
__decorateClass([
|
|
88247
|
-
e('[part
|
|
88224
|
+
e('[part="base"]')
|
|
88248
88225
|
], TerraPlot.prototype, "base", 2);
|
|
88249
88226
|
__decorateClass([
|
|
88250
88227
|
n()
|
|
@@ -88263,6 +88240,7 @@ __decorateClass([
|
|
|
88263
88240
|
], TerraPlot.prototype, "handleDataChange", 1);
|
|
88264
88241
|
|
|
88265
88242
|
export {
|
|
88243
|
+
require_plotly_min,
|
|
88266
88244
|
TerraPlot
|
|
88267
88245
|
};
|
|
88268
88246
|
/*! Bundled license information:
|
|
@@ -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) {
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import {
|
|
2
|
+
GiovanniRepository
|
|
3
|
+
} from "./chunk.O7AXAEKY.js";
|
|
4
|
+
import {
|
|
5
|
+
h
|
|
6
|
+
} from "./chunk.UGTZ22DI.js";
|
|
7
|
+
import {
|
|
8
|
+
__privateAdd,
|
|
9
|
+
__privateGet,
|
|
10
|
+
__privateMethod,
|
|
11
|
+
__privateSet
|
|
12
|
+
} from "./chunk.6QUGTGJO.js";
|
|
13
|
+
|
|
14
|
+
// src/components/browse-variables/browse-variables.controller.ts
|
|
15
|
+
var _host, _task, _catalog, _getCatalogRepository, getCatalogRepository_fn;
|
|
16
|
+
var BrowseVariablesController = class {
|
|
17
|
+
constructor(host) {
|
|
18
|
+
__privateAdd(this, _getCatalogRepository);
|
|
19
|
+
__privateAdd(this, _host, void 0);
|
|
20
|
+
__privateAdd(this, _task, void 0);
|
|
21
|
+
__privateAdd(this, _catalog, void 0);
|
|
22
|
+
__privateSet(this, _host, host);
|
|
23
|
+
__privateSet(this, _catalog, __privateMethod(this, _getCatalogRepository, getCatalogRepository_fn).call(this));
|
|
24
|
+
__privateSet(this, _task, new h(host, {
|
|
25
|
+
task: async (_args, { signal }) => {
|
|
26
|
+
const searchResponse = await __privateGet(this, _catalog).searchVariablesAndFacets(
|
|
27
|
+
void 0,
|
|
28
|
+
void 0,
|
|
29
|
+
{
|
|
30
|
+
signal
|
|
31
|
+
}
|
|
32
|
+
);
|
|
33
|
+
this.facetsByCategory = searchResponse.facetsByCategory;
|
|
34
|
+
this.variables = searchResponse.variables;
|
|
35
|
+
return searchResponse;
|
|
36
|
+
},
|
|
37
|
+
args: () => []
|
|
38
|
+
}));
|
|
39
|
+
}
|
|
40
|
+
render(renderFunctions) {
|
|
41
|
+
return __privateGet(this, _task).render(renderFunctions);
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
_host = new WeakMap();
|
|
45
|
+
_task = new WeakMap();
|
|
46
|
+
_catalog = new WeakMap();
|
|
47
|
+
_getCatalogRepository = new WeakSet();
|
|
48
|
+
getCatalogRepository_fn = function() {
|
|
49
|
+
if (__privateGet(this, _host).catalog === "giovanni") {
|
|
50
|
+
return new GiovanniRepository();
|
|
51
|
+
}
|
|
52
|
+
throw new Error(`Invalid catalog: ${__privateGet(this, _host).catalog}`);
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
export {
|
|
56
|
+
BrowseVariablesController
|
|
57
|
+
};
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import {
|
|
2
|
+
loader_styles_default
|
|
3
|
+
} from "./chunk.NYEDLELY.js";
|
|
4
|
+
import {
|
|
5
|
+
e
|
|
6
|
+
} from "./chunk.YVSJQ4KD.js";
|
|
7
|
+
import {
|
|
8
|
+
TerraElement,
|
|
9
|
+
component_styles_default
|
|
10
|
+
} from "./chunk.LVWJBUI5.js";
|
|
11
|
+
import {
|
|
12
|
+
n,
|
|
13
|
+
r
|
|
14
|
+
} from "./chunk.K4EJQG4O.js";
|
|
15
|
+
import {
|
|
16
|
+
T,
|
|
17
|
+
x
|
|
18
|
+
} from "./chunk.PQFHJHNO.js";
|
|
19
|
+
import {
|
|
20
|
+
__decorateClass
|
|
21
|
+
} from "./chunk.6QUGTGJO.js";
|
|
22
|
+
|
|
23
|
+
// src/components/loader/loader.component.ts
|
|
24
|
+
var TerraLoader = class extends TerraElement {
|
|
25
|
+
constructor() {
|
|
26
|
+
super(...arguments);
|
|
27
|
+
this.variant = "large";
|
|
28
|
+
this.percent = "0";
|
|
29
|
+
this.indeterminate = false;
|
|
30
|
+
this._currentPercent = 0;
|
|
31
|
+
}
|
|
32
|
+
formatPercent(percent) {
|
|
33
|
+
if (parseInt(percent) > 100) {
|
|
34
|
+
percent = "100";
|
|
35
|
+
}
|
|
36
|
+
return parseInt(percent) > 0 ? percent + "%" : "";
|
|
37
|
+
}
|
|
38
|
+
render() {
|
|
39
|
+
this._currentPercent = parseInt(this.percent);
|
|
40
|
+
return x`
|
|
41
|
+
<div
|
|
42
|
+
class=${e({
|
|
43
|
+
loader: true,
|
|
44
|
+
"loader--small": this.variant === "small",
|
|
45
|
+
"loader--large": this.variant === "large",
|
|
46
|
+
"loader--orbit": this.variant === "orbit"
|
|
47
|
+
})}
|
|
48
|
+
aria-valuenow=${this.formatPercent(this.percent)}
|
|
49
|
+
role="progressbar"
|
|
50
|
+
tabindex="-1"
|
|
51
|
+
>
|
|
52
|
+
${this.variant === "large" || this.variant === "orbit" ? x`
|
|
53
|
+
<div
|
|
54
|
+
class="percent ${this.variant == "orbit" ? "number-14" : "number-11"}"
|
|
55
|
+
>
|
|
56
|
+
${this.formatPercent(this.percent)}
|
|
57
|
+
</div>
|
|
58
|
+
` : T}
|
|
59
|
+
${this.variant === "orbit" ? x`
|
|
60
|
+
<svg viewBox="0 0 160 160">
|
|
61
|
+
<circle class="planet" />
|
|
62
|
+
|
|
63
|
+
<!-- total length of orbit ellipse = 298.2393493652344 -->
|
|
64
|
+
<path
|
|
65
|
+
id="orbit"
|
|
66
|
+
d="M 53.528 96.775 C 73.584 124.975 100.654 140.601 115.393 130.137 C 132.613 117.912 119.246 79.55 105.434 60.525 C 90.233 39.587 60.506 18.543 44.962 30.114 C 29.456 41.657 38.219 75.25 53.528 96.775 Z"
|
|
67
|
+
>
|
|
68
|
+
<animate
|
|
69
|
+
attributeName="stroke-dashoffset"
|
|
70
|
+
begin="-0.25s"
|
|
71
|
+
from="300"
|
|
72
|
+
to="0"
|
|
73
|
+
dur="1.5s"
|
|
74
|
+
repeatCount="indefinite"
|
|
75
|
+
/>
|
|
76
|
+
</path>
|
|
77
|
+
|
|
78
|
+
<circle class="moon">
|
|
79
|
+
<animateMotion
|
|
80
|
+
begin="0s"
|
|
81
|
+
dur="1.5s"
|
|
82
|
+
repeatCount="indefinite"
|
|
83
|
+
>
|
|
84
|
+
<mpath href="#orbit"></mpath>
|
|
85
|
+
</animateMotion>
|
|
86
|
+
</circle>
|
|
87
|
+
|
|
88
|
+
<path
|
|
89
|
+
id="mask"
|
|
90
|
+
class="planet"
|
|
91
|
+
d="M 130.176 80.041 C 130.176 41.552 88.321 17.697 55.544 36.652 C 40.081 45.594 30.865 62.428 30.47 80.094 L 130.176 80.041 Z"
|
|
92
|
+
style="transform-box: fill-box; transform-origin: 49.8347% 100.62%;"
|
|
93
|
+
transform="matrix(-0.350367, -0.936613, 0.936613, -0.350367, -0.148117, -0.20884)"
|
|
94
|
+
/>
|
|
95
|
+
</svg>
|
|
96
|
+
` : T}
|
|
97
|
+
${this.variant === "small" || this.variant === "large" ? x`
|
|
98
|
+
<svg
|
|
99
|
+
viewBox=${this.variant == "small" ? "0 0 30 30" : "0 0 52 52"}
|
|
100
|
+
aria-hidden="true"
|
|
101
|
+
style="--progress: ${this.percent}"
|
|
102
|
+
class="circular-progress ${this.indeterminate ? "indeterminate" : ""}"
|
|
103
|
+
>
|
|
104
|
+
<circle class="bg"></circle>
|
|
105
|
+
<circle class="fg"></circle>
|
|
106
|
+
</svg>
|
|
107
|
+
` : T}
|
|
108
|
+
</div>
|
|
109
|
+
`;
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
TerraLoader.styles = [component_styles_default, loader_styles_default];
|
|
113
|
+
__decorateClass([
|
|
114
|
+
n({ reflect: true })
|
|
115
|
+
], TerraLoader.prototype, "variant", 2);
|
|
116
|
+
__decorateClass([
|
|
117
|
+
n({ type: String })
|
|
118
|
+
], TerraLoader.prototype, "percent", 2);
|
|
119
|
+
__decorateClass([
|
|
120
|
+
n({ type: Boolean })
|
|
121
|
+
], TerraLoader.prototype, "indeterminate", 2);
|
|
122
|
+
__decorateClass([
|
|
123
|
+
r()
|
|
124
|
+
], TerraLoader.prototype, "_currentPercent", 2);
|
|
125
|
+
|
|
126
|
+
export {
|
|
127
|
+
TerraLoader
|
|
128
|
+
};
|