@nasa-terra/components 0.0.42 → 0.0.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/{chunk.KJ4BZBTX.js → chunk.27EMK3NO.js} +16 -4
- package/cdn/chunks/chunk.2BFX62WX.js +21 -0
- package/cdn/chunks/{chunk.MLEE3KVC.js → chunk.2ZL3QN2E.js} +1 -1
- package/cdn/chunks/{chunk.E3ITP3CP.js → chunk.3I2TF7C4.js} +1 -1
- package/{dist/chunks/chunk.7CW7OYAA.js → cdn/chunks/chunk.4DO5RUBU.js} +1 -1
- package/cdn/chunks/{chunk.SNULTXLY.js → chunk.4UYNOT7W.js} +1 -1
- package/{dist/chunks/chunk.GSKVFMKR.js → cdn/chunks/chunk.4VENQJPO.js} +1 -1
- package/cdn/chunks/{chunk.Z7PF6UJR.js → chunk.4YMYCX75.js} +1 -1
- package/cdn/chunks/{chunk.LS57LJUC.js → chunk.5BHGM65J.js} +10 -10
- package/cdn/chunks/{chunk.TS6P5KMM.js → chunk.5BZ4EDIL.js} +1 -1
- package/cdn/chunks/{chunk.M5AL5OZ6.js → chunk.6EHGJWBN.js} +10 -10
- package/cdn/chunks/{chunk.MUAWDIKB.js → chunk.6NEMJOXS.js} +2 -2
- package/cdn/chunks/{chunk.ISDS7VRC.js → chunk.6UN7FSXA.js} +4 -4
- package/cdn/chunks/chunk.754XAIN7.js +39 -0
- package/{dist/chunks/chunk.NOK72OMX.js → cdn/chunks/chunk.7MU72IVZ.js} +1 -1
- package/cdn/chunks/{chunk.BKOLMPIY.js → chunk.ALXMBVVZ.js} +3 -3
- package/cdn/chunks/{chunk.7FWVJMKC.js → chunk.BW6HVRN4.js} +1 -1
- package/{dist/chunks/chunk.TRBPFDIW.js → cdn/chunks/chunk.BXSJFGGP.js} +1 -1
- package/cdn/chunks/{chunk.U76BSYRS.js → chunk.CN4PWRCO.js} +1 -1
- package/cdn/chunks/chunk.CXMIJOGY.js +11 -0
- package/cdn/chunks/chunk.E32UNFUD.js +187 -0
- package/cdn/chunks/{chunk.SMJEL5SP.js → chunk.EABPJM4K.js} +1 -1
- package/cdn/chunks/{chunk.AT5FYE4Q.js → chunk.EDHE5LYN.js} +6 -6
- package/cdn/chunks/{chunk.5QZWD4FU.js → chunk.EMBXVUIE.js} +1 -1
- package/cdn/chunks/{chunk.WW7H6ZTG.js → chunk.EWAYMWRC.js} +1 -1
- package/cdn/chunks/{chunk.XB3OTEJA.js → chunk.G3KUAHGF.js} +7 -7
- package/cdn/chunks/{chunk.TYD6OMVH.js → chunk.GCAMRTXJ.js} +1 -1
- package/cdn/chunks/{chunk.FET2REAS.js → chunk.GL6JG3XV.js} +1 -1
- package/cdn/chunks/{chunk.WNKY3U3X.js → chunk.GYLB33OZ.js} +1 -1
- package/{dist/chunks/chunk.TPITM5XY.js → cdn/chunks/chunk.GZHR4GPY.js} +1 -1
- package/cdn/chunks/{chunk.XG2SIOK7.js → chunk.H23L4QKO.js} +6 -6
- package/cdn/chunks/{chunk.CBRTMMKP.js → chunk.HD45UIMB.js} +7 -7
- package/{dist/chunks/chunk.ZUEBNW2J.js → cdn/chunks/chunk.HWTTKAUR.js} +1 -1
- package/cdn/chunks/{chunk.ANZFZPPU.js → chunk.IL7RNVV6.js} +84 -27
- package/{dist/chunks/chunk.M6R5AG7U.js → cdn/chunks/chunk.JACHBLN5.js} +1 -1
- package/{dist/chunks/chunk.MQVOSN5I.js → cdn/chunks/chunk.JQETEJPO.js} +1 -1
- package/cdn/chunks/{chunk.ZQK7G6LH.js → chunk.K23IQJ74.js} +1 -1
- package/cdn/chunks/{chunk.BPNFS4ED.js → chunk.K6GAF43H.js} +1 -1
- package/cdn/chunks/{chunk.NR6DJDMD.js → chunk.KIR56MAA.js} +50 -6
- package/cdn/chunks/{chunk.GYNEPFEG.js → chunk.KK22KVB3.js} +1 -1
- package/{dist/chunks/chunk.MC6B7NQH.js → cdn/chunks/chunk.KTWUFC2X.js} +1 -1
- package/cdn/chunks/{chunk.JQ2ZRSPI.js → chunk.KXV2VFRZ.js} +2 -2
- package/cdn/chunks/{chunk.2CTTMUXP.js → chunk.LIQO4PBF.js} +1 -1
- package/cdn/chunks/{chunk.WQDJNX2I.js → chunk.LJJH36WV.js} +1 -1
- package/{dist/chunks/chunk.J4TUNVY6.js → cdn/chunks/chunk.MV5I3VKS.js} +1 -1
- package/{dist/chunks/chunk.MZLJ2SW2.js → cdn/chunks/chunk.OEZDKHKJ.js} +1 -1
- package/cdn/chunks/{chunk.VV63KQST.js → chunk.OW6RZGKY.js} +1 -1
- package/cdn/chunks/{chunk.QCZTZ2G4.js → chunk.PKYRPEMV.js} +1 -1
- package/cdn/chunks/{chunk.M6BKA6P4.js → chunk.QRIUCU7O.js} +1 -1
- package/cdn/chunks/{chunk.JETSWMHY.js → chunk.QY4XLR3T.js} +1 -1
- package/cdn/chunks/{chunk.YV37V6WL.js → chunk.RMO3MGXB.js} +1 -1
- package/{dist/chunks/chunk.LDXJZ2B3.js → cdn/chunks/chunk.SRPUN5BY.js} +1 -1
- package/cdn/chunks/{chunk.QMFOPTPG.js → chunk.SUGFD7E6.js} +1 -1
- package/cdn/chunks/chunk.TIU73DG7.js +601 -0
- package/cdn/chunks/{chunk.OZMD6UWV.js → chunk.UKALN6V5.js} +1 -1
- package/cdn/chunks/{chunk.LLG5WQWA.js → chunk.USSYORDO.js} +1 -1
- package/cdn/chunks/{chunk.RGSWH76U.js → chunk.UZCXIGUR.js} +1 -1
- package/cdn/chunks/{chunk.XQ3A36HQ.js → chunk.VSQYJO47.js} +1 -1
- package/cdn/chunks/{chunk.I44MNS72.js → chunk.WMCV5DKE.js} +10 -10
- package/cdn/chunks/{chunk.ELAWVWEZ.js → chunk.XO3SOVHY.js} +2 -29
- package/cdn/chunks/chunk.XU3NXPIM.js +193 -0
- package/cdn/chunks/{chunk.T6H2MZZI.js → chunk.Y7I2RXN6.js} +1 -10
- package/cdn/chunks/{chunk.ZU6ADSVN.js → chunk.YCRGAL67.js} +1 -1
- package/cdn/chunks/chunk.YIABHSHN.js +505 -0
- package/{dist/chunks/chunk.NS2XBY2W.js → cdn/chunks/chunk.ZHZZPGPK.js} +1 -1
- package/{dist/chunks/chunk.57H323P7.js → cdn/chunks/chunk.ZXAVHSML.js} +1 -1
- package/cdn/chunks/{chunk.RWSWLUWX.js → chunk.ZY5TXYJA.js} +1 -1
- package/cdn/components/browse-variables/browse-variables.component.js +18 -17
- package/cdn/components/browse-variables/browse-variables.controller.js +4 -2
- package/cdn/components/browse-variables/browse-variables.js +19 -18
- package/cdn/components/browse-variables/browse-variables.types.d.ts +8 -0
- package/cdn/components/button/button.component.js +3 -3
- package/cdn/components/button/button.js +4 -4
- package/cdn/components/chip/chip.component.js +2 -2
- package/cdn/components/chip/chip.js +3 -3
- package/cdn/components/combobox/combobox.component.js +6 -6
- package/cdn/components/combobox/combobox.js +7 -7
- package/cdn/components/data-rods/data-rods.component.d.ts +57 -0
- package/cdn/components/data-rods/data-rods.component.js +62 -0
- package/cdn/components/data-rods/data-rods.d.ts +8 -0
- package/cdn/components/data-rods/data-rods.js +63 -0
- package/cdn/components/data-rods/data-rods.styles.d.ts +2 -0
- package/cdn/components/data-rods/data-rods.styles.js +9 -0
- package/cdn/components/date-picker/date-picker.component.js +2 -2
- package/cdn/components/date-picker/date-picker.js +3 -3
- package/cdn/components/date-range-slider/date-range-slider.component.js +5 -6
- package/cdn/components/date-range-slider/date-range-slider.js +6 -7
- package/cdn/components/dialog/dialog.component.js +2 -2
- package/cdn/components/dialog/dialog.js +3 -3
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/login/login.component.js +9 -9
- package/cdn/components/login/login.js +10 -10
- package/cdn/components/map/leaflet-draw.styles.js +1 -1
- package/cdn/components/map/leaflet-utils.js +1 -1
- package/cdn/components/map/map.component.js +7 -7
- package/cdn/components/map/map.js +8 -8
- package/cdn/components/plot/plot.component.js +2 -2
- package/cdn/components/plot/plot.js +3 -3
- package/cdn/components/skeleton/skeleton.component.js +4 -4
- package/cdn/components/skeleton/skeleton.js +5 -5
- package/cdn/components/spatial-picker/spatial-picker.component.d.ts +8 -0
- package/cdn/components/spatial-picker/spatial-picker.component.js +8 -8
- package/cdn/components/spatial-picker/spatial-picker.js +9 -9
- package/cdn/components/time-series/time-series.component.d.ts +8 -49
- package/cdn/components/time-series/time-series.component.js +13 -36
- package/cdn/components/time-series/time-series.controller.d.ts +6 -9
- package/cdn/components/time-series/time-series.controller.js +3 -3
- package/cdn/components/time-series/time-series.js +14 -37
- package/cdn/components/time-series/time-series.styles.js +1 -1
- package/cdn/components/time-series/time-series.types.d.ts +1 -1
- package/cdn/components/variable-combobox/lib.js +1 -1
- package/cdn/components/variable-combobox/variable-combobox.component.js +10 -10
- package/cdn/components/variable-combobox/variable-combobox.controller.js +2 -2
- package/cdn/components/variable-combobox/variable-combobox.js +11 -11
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +13 -11
- package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +4 -2
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +14 -12
- package/cdn/custom-elements.json +1483 -1442
- package/cdn/events/terra-time-series-data-change.d.ts +2 -2
- package/cdn/geojson/queries.d.ts +2 -2
- package/cdn/lib/graphql-client.d.ts +1 -1
- package/cdn/react/browse-variables/index.js +19 -18
- package/cdn/react/button/index.js +4 -4
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +7 -7
- package/cdn/react/data-rods/index.d.ts +9 -0
- package/cdn/react/data-rods/index.js +63 -0
- package/cdn/react/date-picker/index.js +3 -3
- package/cdn/react/date-range-slider/index.js +6 -7
- package/cdn/react/dialog/index.js +3 -3
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/index.d.ts +4 -3
- package/cdn/react/index.js +81 -77
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +10 -10
- package/cdn/react/map/index.js +8 -8
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/skeleton/index.js +5 -5
- package/cdn/react/spatial-picker/index.js +9 -9
- package/cdn/react/time-series/index.d.ts +0 -2
- package/cdn/react/time-series/index.js +14 -37
- package/cdn/react/variable-combobox/index.js +11 -11
- package/cdn/react/variable-keyword-search/index.js +14 -12
- package/cdn/terra-ui-components.d.ts +1 -0
- package/cdn/terra-ui-components.js +77 -72
- package/cdn/types/vue/index.d.ts +161 -142
- package/cdn/utilities/animation.js +2 -2
- package/cdn/utilities/date.d.ts +8 -0
- package/cdn/utilities/date.js +5 -2
- package/cdn/variable-catalog/giovanni-variable-catalog.d.ts +4 -0
- package/cdn/variable-catalog/queries.d.ts +2 -1
- package/cdn/variable-catalog/types.d.ts +15 -0
- package/cdn/vscode.html-custom-data.json +145 -104
- package/cdn/web-types.json +343 -296
- package/{cdn/chunks/chunk.FEPSAY5T.js → dist/chunks/chunk.32RDASOD.js} +1 -1
- package/dist/chunks/{chunk.M6QZS4UJ.js → chunk.33MT36PS.js} +3 -3
- package/dist/chunks/{chunk.AVJCKEOG.js → chunk.352OXOVF.js} +1 -1
- package/dist/chunks/{chunk.4ZCXZZM3.js → chunk.3B622XLR.js} +3 -3
- package/dist/chunks/{chunk.MIMZJ6IP.js → chunk.52RLSCIQ.js} +1 -1
- package/dist/chunks/{chunk.37TB25W5.js → chunk.56MFLZCU.js} +1 -1
- package/dist/chunks/{chunk.AVOXIWLL.js → chunk.5BT6LJZ6.js} +1 -1
- package/{cdn/chunks/chunk.OODF3EN7.js → dist/chunks/chunk.5DABND4A.js} +1 -1
- package/{cdn/chunks/chunk.QIYZLBZL.js → dist/chunks/chunk.6MJHY2LT.js} +1 -1
- package/dist/chunks/chunk.7JBFBZ5C.js +27 -0
- package/dist/chunks/{chunk.77WVGP37.js → chunk.7MYJSSR2.js} +1 -1
- package/dist/chunks/{chunk.WAIWLZ6Z.js → chunk.7OWQQEAP.js} +83 -26
- package/{cdn/chunks/chunk.MX22SNRS.js → dist/chunks/chunk.A47KLFGG.js} +1 -1
- package/{cdn/chunks/chunk.NRWL7454.js → dist/chunks/chunk.A7Q6OO46.js} +1 -1
- package/dist/chunks/{chunk.CEE5JWEL.js → chunk.ABNZX7AU.js} +7 -7
- package/dist/chunks/{chunk.JGRZMEMQ.js → chunk.AY7TGBWI.js} +2 -31
- package/{cdn/chunks/chunk.L63KIY6U.js → dist/chunks/chunk.C6ZJJG4V.js} +1 -1
- package/dist/chunks/{chunk.DQAA5TRV.js → chunk.CHZXTZZ6.js} +1 -1
- package/dist/chunks/{chunk.RNKJDMGE.js → chunk.CKS4QWQE.js} +1 -1
- package/dist/chunks/{chunk.QWGGWP3G.js → chunk.CTKWZYCZ.js} +1 -1
- package/dist/chunks/{chunk.KNYS36RI.js → chunk.DCR4GMG7.js} +6 -6
- package/dist/chunks/{chunk.BHWE3JOV.js → chunk.DIKJ5W4E.js} +50 -6
- package/dist/chunks/{chunk.KXVLGKFP.js → chunk.E2DOVBIM.js} +1 -1
- package/dist/chunks/{chunk.YXL3ZYZS.js → chunk.EBTGXENT.js} +1 -1
- package/dist/chunks/{chunk.CJXBG2L2.js → chunk.EDJCUWA4.js} +1 -1
- package/{cdn/chunks/chunk.FGHWBPQ7.js → dist/chunks/chunk.ESECO74J.js} +1 -1
- package/{cdn/chunks/chunk.2FXAUYYA.js → dist/chunks/chunk.FJY7NGMR.js} +1 -1
- package/dist/chunks/{chunk.D3CNBHKN.js → chunk.HKMS63V6.js} +1 -1
- package/dist/chunks/{chunk.5BT4MERK.js → chunk.HTQT6WW4.js} +1 -1
- package/{cdn/chunks/chunk.7X3DAFOG.js → dist/chunks/chunk.IEQVLL66.js} +1 -1
- package/dist/chunks/{chunk.P7N5DB3S.js → chunk.IQ2JFSLH.js} +4 -4
- package/dist/chunks/{chunk.ACUTOX6G.js → chunk.JLXZN5GQ.js} +2 -2
- package/dist/chunks/{chunk.5EHGVGXV.js → chunk.K2IRF2QI.js} +1 -10
- package/dist/chunks/{chunk.K2UQ5J5Y.js → chunk.KGKLK3DV.js} +1 -1
- package/dist/chunks/{chunk.JOL2QHUX.js → chunk.KKSEBQNV.js} +1 -1
- package/dist/chunks/chunk.LCOAWJU6.js +588 -0
- package/dist/chunks/{chunk.FUNHBD3Q.js → chunk.LF3ESETA.js} +1 -1
- package/dist/chunks/{chunk.H4IGXIVH.js → chunk.LFVSYBJ6.js} +1 -1
- package/dist/chunks/{chunk.5AOSWMDT.js → chunk.LFZXSVJS.js} +1 -1
- package/dist/chunks/{chunk.6BC7KDU7.js → chunk.LJOF4Z47.js} +7 -7
- package/dist/chunks/{chunk.5C3BK3DD.js → chunk.M4PEGCWF.js} +7 -7
- package/dist/chunks/{chunk.7YA6YPDX.js → chunk.M7XZCYLE.js} +1 -1
- package/{cdn/chunks/chunk.34XJ2YRL.js → dist/chunks/chunk.MHW3M233.js} +1 -1
- package/dist/chunks/{chunk.EUQOUY73.js → chunk.MXH5Q7I5.js} +1 -1
- package/dist/chunks/{chunk.DTUQ7OVY.js → chunk.NJ5NIZJK.js} +1 -1
- package/{cdn/chunks/chunk.FP62TI7I.js → dist/chunks/chunk.NR52OX3V.js} +1 -1
- package/dist/chunks/{chunk.BNFTF3AF.js → chunk.OYJLDWJF.js} +1 -1
- package/dist/chunks/{chunk.AAWOHDFX.js → chunk.P442U2FF.js} +16 -4
- package/dist/chunks/{chunk.PL2E7TDA.js → chunk.PGUBFDZW.js} +1 -1
- package/{cdn/chunks/chunk.HWDI2BHO.js → dist/chunks/chunk.QK4DTBQI.js} +1 -1
- package/dist/chunks/{chunk.ZAG3VX64.js → chunk.QKGUST2I.js} +1 -1
- package/dist/chunks/{chunk.SDW6HUGX.js → chunk.RC5E6NBB.js} +1 -1
- package/dist/chunks/chunk.ROVNWARW.js +21 -0
- package/{cdn/chunks/chunk.FBNX5AYN.js → dist/chunks/chunk.SL3QWNRH.js} +1 -1
- package/dist/chunks/chunk.TFI3UXXB.js +193 -0
- package/dist/chunks/chunk.UDS7BHM7.js +180 -0
- package/{cdn/chunks/chunk.BUT7KX24.js → dist/chunks/chunk.UHD5HEEK.js} +1 -1
- package/dist/chunks/{chunk.TQBOEKS6.js → chunk.ULVN2SXP.js} +1 -1
- package/dist/chunks/chunk.UOP2MA5G.js +11 -0
- package/dist/chunks/{chunk.5LMWCV76.js → chunk.V3YFBP3T.js} +1 -1
- package/dist/chunks/{chunk.6CVD44CG.js → chunk.V626KHDN.js} +1 -1
- package/dist/chunks/{chunk.7V3PWSYC.js → chunk.VHF2RWLV.js} +5 -5
- package/dist/chunks/{chunk.7QFQWJUX.js → chunk.VYB75K7O.js} +1 -1
- package/dist/chunks/{chunk.XWRIA5G5.js → chunk.WPCLXFDR.js} +1 -1
- package/dist/chunks/{chunk.IYIJ4JHT.js → chunk.WRORP5RY.js} +1 -1
- package/dist/chunks/{chunk.6Z52LJYO.js → chunk.XU3O2MRF.js} +1 -1
- package/dist/chunks/{chunk.HPH7B5RV.js → chunk.YELLRFJE.js} +7 -7
- package/dist/chunks/chunk.ZIB2YERI.js +36 -0
- package/dist/chunks/{chunk.H6OKMLB5.js → chunk.ZWQU3GYF.js} +1 -1
- package/dist/components/browse-variables/browse-variables.component.js +16 -15
- package/dist/components/browse-variables/browse-variables.controller.js +4 -2
- package/dist/components/browse-variables/browse-variables.js +17 -16
- package/dist/components/browse-variables/browse-variables.types.d.ts +8 -0
- package/dist/components/button/button.component.js +3 -3
- package/dist/components/button/button.js +4 -4
- package/dist/components/chip/chip.component.js +2 -2
- package/dist/components/chip/chip.js +3 -3
- package/dist/components/combobox/combobox.component.js +2 -2
- package/dist/components/combobox/combobox.js +3 -3
- package/dist/components/data-rods/data-rods.component.d.ts +57 -0
- package/dist/components/data-rods/data-rods.component.js +47 -0
- package/dist/components/data-rods/data-rods.d.ts +8 -0
- package/dist/components/data-rods/data-rods.js +48 -0
- package/dist/components/data-rods/data-rods.styles.d.ts +2 -0
- package/dist/components/data-rods/data-rods.styles.js +7 -0
- package/dist/components/date-picker/date-picker.component.js +2 -2
- package/dist/components/date-picker/date-picker.js +3 -3
- package/dist/components/date-range-slider/date-range-slider.component.js +4 -4
- package/dist/components/date-range-slider/date-range-slider.js +5 -5
- package/dist/components/dialog/dialog.component.js +2 -2
- package/dist/components/dialog/dialog.js +3 -3
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/loader/loader.component.js +2 -2
- package/dist/components/loader/loader.js +3 -3
- package/dist/components/login/login.component.js +9 -9
- package/dist/components/login/login.js +10 -10
- package/dist/components/map/leaflet-draw.styles.js +1 -1
- package/dist/components/map/leaflet-utils.js +3 -3
- package/dist/components/map/map.component.js +8 -8
- package/dist/components/map/map.controller.js +3 -3
- package/dist/components/map/map.js +9 -9
- package/dist/components/plot/plot.component.js +2 -2
- package/dist/components/plot/plot.js +3 -3
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spatial-picker/spatial-picker.component.d.ts +8 -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/time-series/time-series.component.d.ts +8 -49
- package/dist/components/time-series/time-series.component.js +12 -30
- package/dist/components/time-series/time-series.controller.d.ts +6 -9
- package/dist/components/time-series/time-series.controller.js +2 -1
- package/dist/components/time-series/time-series.js +13 -31
- package/dist/components/time-series/time-series.styles.js +1 -1
- package/dist/components/time-series/time-series.types.d.ts +1 -1
- package/dist/components/variable-combobox/lib.js +1 -1
- package/dist/components/variable-combobox/variable-combobox.component.js +9 -9
- package/dist/components/variable-combobox/variable-combobox.controller.js +2 -2
- package/dist/components/variable-combobox/variable-combobox.js +10 -10
- package/dist/components/variable-keyword-search/variable-keyword-search.component.js +12 -10
- package/dist/components/variable-keyword-search/variable-keyword-search.controller.js +4 -2
- package/dist/components/variable-keyword-search/variable-keyword-search.js +13 -11
- package/dist/custom-elements.json +1483 -1442
- package/dist/events/terra-time-series-data-change.d.ts +2 -2
- package/dist/geojson/queries.d.ts +2 -2
- package/dist/lib/graphql-client.d.ts +1 -1
- package/dist/react/browse-variables/index.js +17 -16
- package/dist/react/button/index.js +4 -4
- package/dist/react/chip/index.js +3 -3
- package/dist/react/combobox/index.js +3 -3
- package/dist/react/data-rods/index.d.ts +9 -0
- package/dist/react/data-rods/index.js +48 -0
- package/dist/react/date-picker/index.js +3 -3
- package/dist/react/date-range-slider/index.js +5 -5
- package/dist/react/dialog/index.js +3 -3
- package/dist/react/icon/index.js +3 -3
- package/dist/react/index.d.ts +4 -3
- package/dist/react/index.js +77 -72
- package/dist/react/loader/index.js +3 -3
- package/dist/react/login/index.js +10 -10
- package/dist/react/map/index.js +9 -9
- package/dist/react/plot/index.js +3 -3
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spatial-picker/index.js +10 -10
- package/dist/react/time-series/index.d.ts +0 -2
- package/dist/react/time-series/index.js +13 -31
- package/dist/react/variable-combobox/index.js +10 -10
- package/dist/react/variable-keyword-search/index.js +13 -11
- package/dist/terra-ui-components.d.ts +1 -0
- package/dist/terra-ui-components.js +72 -66
- package/dist/{terra_ui_components-0.0.42-py3-none-any.whl → terra_ui_components-0.0.44-py3-none-any.whl} +0 -0
- package/dist/{terra_ui_components-0.0.42.tar.gz → terra_ui_components-0.0.44.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +161 -142
- package/dist/utilities/date.d.ts +8 -0
- package/dist/utilities/date.js +5 -1
- package/dist/variable-catalog/giovanni-variable-catalog.d.ts +4 -0
- package/dist/variable-catalog/queries.d.ts +2 -1
- package/dist/variable-catalog/types.d.ts +15 -0
- package/dist/vscode.html-custom-data.json +145 -104
- package/dist/web-types.json +343 -296
- package/package.json +1 -1
- package/cdn/chunks/chunk.46IWBVYP.js +0 -13
- package/cdn/chunks/chunk.FRHQ2JZY.js +0 -30
- package/cdn/chunks/chunk.S65EWDQW.js +0 -1131
- package/cdn/chunks/chunk.TNVTVMRS.js +0 -36
- package/cdn/components/browse-variables/repositories/giovanni.repository.d.ts +0 -8
- package/cdn/components/browse-variables/repositories/giovanni.repository.js +0 -7
- package/dist/chunks/chunk.OIDMX5LU.js +0 -10
- package/dist/chunks/chunk.P53EA62V.js +0 -671
- package/dist/chunks/chunk.TNVTVMRS.js +0 -36
- package/dist/components/browse-variables/repositories/giovanni.repository.d.ts +0 -8
- package/dist/components/browse-variables/repositories/giovanni.repository.js +0 -7
- package/cdn/chunks/{chunk.LOCO37M5.js → chunk.X2C7E56W.js} +3 -3
|
@@ -0,0 +1,601 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TimeSeriesController
|
|
3
|
+
} from "./chunk.IL7RNVV6.js";
|
|
4
|
+
import {
|
|
5
|
+
time_series_styles_default
|
|
6
|
+
} from "./chunk.Y7I2RXN6.js";
|
|
7
|
+
import {
|
|
8
|
+
TerraPlot,
|
|
9
|
+
require_plotly_min
|
|
10
|
+
} from "./chunk.EWAYMWRC.js";
|
|
11
|
+
import {
|
|
12
|
+
h
|
|
13
|
+
} from "./chunk.QB5SASDL.js";
|
|
14
|
+
import {
|
|
15
|
+
TerraLoader
|
|
16
|
+
} from "./chunk.GYLB33OZ.js";
|
|
17
|
+
import {
|
|
18
|
+
TerraIcon
|
|
19
|
+
} from "./chunk.K23IQJ74.js";
|
|
20
|
+
import {
|
|
21
|
+
GiovanniVariableCatalog
|
|
22
|
+
} from "./chunk.XU3NXPIM.js";
|
|
23
|
+
import {
|
|
24
|
+
h as h2,
|
|
25
|
+
s
|
|
26
|
+
} from "./chunk.UGTZ22DI.js";
|
|
27
|
+
import {
|
|
28
|
+
TerraButton
|
|
29
|
+
} from "./chunk.6UN7FSXA.js";
|
|
30
|
+
import {
|
|
31
|
+
watch
|
|
32
|
+
} from "./chunk.6MMTW476.js";
|
|
33
|
+
import {
|
|
34
|
+
TerraElement,
|
|
35
|
+
component_styles_default
|
|
36
|
+
} from "./chunk.CN4PWRCO.js";
|
|
37
|
+
import {
|
|
38
|
+
e,
|
|
39
|
+
n,
|
|
40
|
+
r
|
|
41
|
+
} from "./chunk.2FFSUM6T.js";
|
|
42
|
+
import {
|
|
43
|
+
x
|
|
44
|
+
} from "./chunk.PQFHJHNO.js";
|
|
45
|
+
import {
|
|
46
|
+
__decorateClass,
|
|
47
|
+
__privateAdd,
|
|
48
|
+
__privateGet,
|
|
49
|
+
__privateMethod,
|
|
50
|
+
__privateSet,
|
|
51
|
+
__toESM
|
|
52
|
+
} from "./chunk.6JHIJHTB.js";
|
|
53
|
+
|
|
54
|
+
// src/components/time-series/time-series.component.ts
|
|
55
|
+
var import_plotly = __toESM(require_plotly_min(), 1);
|
|
56
|
+
var _timeSeriesController, _catalog, _fetchVariableTask, _confirmDataPointWarning, confirmDataPointWarning_fn, _cancelDataPointWarning, cancelDataPointWarning_fn, _abortDataLoad, abortDataLoad_fn, _downloadCSV, downloadCSV_fn, _convertToCSV, convertToCSV_fn, _downloadPNG, downloadPNG_fn, _handleActiveMenuItem, handleActiveMenuItem_fn, _handleMenuLeave, handleMenuLeave_fn, _getVariableEntryId, getVariableEntryId_fn, _getYAxisLabel, getYAxisLabel_fn, _renderInfoPanel, renderInfoPanel_fn, _renderDownloadPanel, renderDownloadPanel_fn, _renderHelpPanel, renderHelpPanel_fn, _renderJupyterNotebookPanel, renderJupyterNotebookPanel_fn;
|
|
57
|
+
var TerraTimeSeries = class extends TerraElement {
|
|
58
|
+
constructor() {
|
|
59
|
+
super(...arguments);
|
|
60
|
+
__privateAdd(this, _confirmDataPointWarning);
|
|
61
|
+
__privateAdd(this, _cancelDataPointWarning);
|
|
62
|
+
/**
|
|
63
|
+
* aborts the underlying data loading task, which cancels the network request
|
|
64
|
+
*/
|
|
65
|
+
__privateAdd(this, _abortDataLoad);
|
|
66
|
+
__privateAdd(this, _downloadCSV);
|
|
67
|
+
__privateAdd(this, _convertToCSV);
|
|
68
|
+
__privateAdd(this, _downloadPNG);
|
|
69
|
+
__privateAdd(this, _handleActiveMenuItem);
|
|
70
|
+
__privateAdd(this, _handleMenuLeave);
|
|
71
|
+
__privateAdd(this, _getVariableEntryId);
|
|
72
|
+
__privateAdd(this, _getYAxisLabel);
|
|
73
|
+
__privateAdd(this, _renderInfoPanel);
|
|
74
|
+
__privateAdd(this, _renderDownloadPanel);
|
|
75
|
+
__privateAdd(this, _renderHelpPanel);
|
|
76
|
+
__privateAdd(this, _renderJupyterNotebookPanel);
|
|
77
|
+
__privateAdd(this, _timeSeriesController, void 0);
|
|
78
|
+
this.showDataPointWarning = false;
|
|
79
|
+
this.estimatedDataPoints = 0;
|
|
80
|
+
this.activeMenuItem = null;
|
|
81
|
+
__privateAdd(this, _catalog, new GiovanniVariableCatalog());
|
|
82
|
+
// @ts-expect-error
|
|
83
|
+
__privateAdd(this, _fetchVariableTask, new h2(this, {
|
|
84
|
+
task: async (_args, { signal }) => {
|
|
85
|
+
var _a, _b, _c, _d;
|
|
86
|
+
const variableEntryId = __privateMethod(this, _getVariableEntryId, getVariableEntryId_fn).call(this);
|
|
87
|
+
console.debug("fetch variable ", variableEntryId);
|
|
88
|
+
if (!variableEntryId) {
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
const variable = await __privateGet(this, _catalog).getVariable(variableEntryId, {
|
|
92
|
+
signal
|
|
93
|
+
});
|
|
94
|
+
console.debug("found variable ", variable);
|
|
95
|
+
if (!variable) {
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
this.startDate = (_b = this.startDate) != null ? _b : (_a = variable.exampleInitialStartDate) == null ? void 0 : _a.toISOString();
|
|
99
|
+
this.endDate = (_d = this.endDate) != null ? _d : (_c = variable.exampleInitialEndDate) == null ? void 0 : _c.toISOString();
|
|
100
|
+
this.catalogVariable = variable;
|
|
101
|
+
},
|
|
102
|
+
args: () => [this.variableEntryId, this.collection, this.variable]
|
|
103
|
+
}));
|
|
104
|
+
}
|
|
105
|
+
handleFocus(_oldValue, newValue) {
|
|
106
|
+
if (newValue === null) {
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
this.menu.focus();
|
|
110
|
+
}
|
|
111
|
+
connectedCallback() {
|
|
112
|
+
super.connectedCallback();
|
|
113
|
+
__privateSet(this, _timeSeriesController, new TimeSeriesController(this, this.bearerToken));
|
|
114
|
+
}
|
|
115
|
+
render() {
|
|
116
|
+
var _a, _b;
|
|
117
|
+
return x`
|
|
118
|
+
<div class="plot-container">
|
|
119
|
+
${h(
|
|
120
|
+
this.catalogVariable ? x`
|
|
121
|
+
<header>
|
|
122
|
+
<h2 class="title">
|
|
123
|
+
${this.catalogVariable.dataFieldLongName}
|
|
124
|
+
</h2>
|
|
125
|
+
|
|
126
|
+
<div class="toggles">
|
|
127
|
+
<terra-button
|
|
128
|
+
circle
|
|
129
|
+
outline
|
|
130
|
+
aria-expanded=${this.activeMenuItem === "information"}
|
|
131
|
+
aria-controls="menu"
|
|
132
|
+
aria-haspopup="true"
|
|
133
|
+
class="toggle"
|
|
134
|
+
@mouseenter=${__privateMethod(this, _handleActiveMenuItem, handleActiveMenuItem_fn)}
|
|
135
|
+
data-menu-name="information"
|
|
136
|
+
>
|
|
137
|
+
<span class="sr-only"
|
|
138
|
+
>Information for
|
|
139
|
+
${this.catalogVariable.dataFieldLongName}</span
|
|
140
|
+
>
|
|
141
|
+
|
|
142
|
+
<terra-icon
|
|
143
|
+
name="outline-information-circle"
|
|
144
|
+
library="heroicons"
|
|
145
|
+
font-size="1.5em"
|
|
146
|
+
></terra-icon>
|
|
147
|
+
</terra-button>
|
|
148
|
+
|
|
149
|
+
<terra-button
|
|
150
|
+
circle
|
|
151
|
+
outline
|
|
152
|
+
aria-expanded=${this.activeMenuItem === "download"}
|
|
153
|
+
aria-controls="menu"
|
|
154
|
+
aria-haspopup="true"
|
|
155
|
+
class="toggle"
|
|
156
|
+
@mouseenter=${__privateMethod(this, _handleActiveMenuItem, handleActiveMenuItem_fn)}
|
|
157
|
+
data-menu-name="download"
|
|
158
|
+
>
|
|
159
|
+
<span class="sr-only"
|
|
160
|
+
>Download options for
|
|
161
|
+
${this.catalogVariable.dataFieldLongName}</span
|
|
162
|
+
>
|
|
163
|
+
|
|
164
|
+
<terra-icon
|
|
165
|
+
name="outline-arrow-down-tray"
|
|
166
|
+
library="heroicons"
|
|
167
|
+
font-size="1.5em"
|
|
168
|
+
></terra-icon>
|
|
169
|
+
</terra-button>
|
|
170
|
+
|
|
171
|
+
<terra-button
|
|
172
|
+
circle
|
|
173
|
+
outline
|
|
174
|
+
aria-expanded=${this.activeMenuItem === "help"}
|
|
175
|
+
aria-controls="menu"
|
|
176
|
+
aria-haspopup="true"
|
|
177
|
+
class="toggle"
|
|
178
|
+
@mouseenter=${__privateMethod(this, _handleActiveMenuItem, handleActiveMenuItem_fn)}
|
|
179
|
+
data-menu-name="help"
|
|
180
|
+
>
|
|
181
|
+
<span class="sr-only"
|
|
182
|
+
>Help link for
|
|
183
|
+
${this.catalogVariable.dataFieldLongName}</span
|
|
184
|
+
>
|
|
185
|
+
|
|
186
|
+
<terra-icon
|
|
187
|
+
name="outline-question-mark-circle"
|
|
188
|
+
library="heroicons"
|
|
189
|
+
font-size="1.5em"
|
|
190
|
+
></terra-icon>
|
|
191
|
+
</terra-button>
|
|
192
|
+
|
|
193
|
+
<terra-button
|
|
194
|
+
circle
|
|
195
|
+
outline
|
|
196
|
+
aria-expanded=${this.activeMenuItem === "jupyter"}
|
|
197
|
+
aria-controls="menu"
|
|
198
|
+
aria-haspopup="true"
|
|
199
|
+
class="toggle"
|
|
200
|
+
@mouseenter=${__privateMethod(this, _handleActiveMenuItem, handleActiveMenuItem_fn)}
|
|
201
|
+
data-menu-name="jupyter"
|
|
202
|
+
>
|
|
203
|
+
<span class="sr-only"
|
|
204
|
+
>Open in Jupyter Notebook for
|
|
205
|
+
${this.catalogVariable.dataFieldLongName}</span
|
|
206
|
+
>
|
|
207
|
+
|
|
208
|
+
<terra-icon
|
|
209
|
+
name="outline-code-bracket-square"
|
|
210
|
+
library="heroicons"
|
|
211
|
+
font-size="1.5em"
|
|
212
|
+
></terra-icon>
|
|
213
|
+
</terra-button>
|
|
214
|
+
</div>
|
|
215
|
+
|
|
216
|
+
<menu
|
|
217
|
+
role="menu"
|
|
218
|
+
id="menu"
|
|
219
|
+
data-expanded=${this.activeMenuItem !== null}
|
|
220
|
+
tabindex="-1"
|
|
221
|
+
@mouseleave=${__privateMethod(this, _handleMenuLeave, handleMenuLeave_fn)}
|
|
222
|
+
>
|
|
223
|
+
<li
|
|
224
|
+
role="menuitem"
|
|
225
|
+
?hidden=${this.activeMenuItem !== "information"}
|
|
226
|
+
>
|
|
227
|
+
${__privateMethod(this, _renderInfoPanel, renderInfoPanel_fn).call(this)}
|
|
228
|
+
</li>
|
|
229
|
+
|
|
230
|
+
<li
|
|
231
|
+
role="menuitem"
|
|
232
|
+
?hidden=${this.activeMenuItem !== "download"}
|
|
233
|
+
>
|
|
234
|
+
${__privateMethod(this, _renderDownloadPanel, renderDownloadPanel_fn).call(this)}
|
|
235
|
+
</li>
|
|
236
|
+
|
|
237
|
+
<li
|
|
238
|
+
role="menuitem"
|
|
239
|
+
?hidden=${this.activeMenuItem !== "help"}
|
|
240
|
+
>
|
|
241
|
+
${__privateMethod(this, _renderHelpPanel, renderHelpPanel_fn).call(this)}
|
|
242
|
+
</li>
|
|
243
|
+
|
|
244
|
+
<li
|
|
245
|
+
role="menuitem"
|
|
246
|
+
?hidden=${this.activeMenuItem !== "jupyter"}
|
|
247
|
+
>
|
|
248
|
+
${__privateMethod(this, _renderJupyterNotebookPanel, renderJupyterNotebookPanel_fn).call(this)}
|
|
249
|
+
</li>
|
|
250
|
+
</menu>
|
|
251
|
+
</header>
|
|
252
|
+
` : x`<div class="spacer"></div>`
|
|
253
|
+
)}
|
|
254
|
+
|
|
255
|
+
<terra-plot
|
|
256
|
+
exportparts="base:plot__base, plot-title:plot__title"
|
|
257
|
+
.data=${(_a = __privateGet(this, _timeSeriesController).lastTaskValue) != null ? _a : __privateGet(this, _timeSeriesController).emptyPlotData}
|
|
258
|
+
.layout="${{
|
|
259
|
+
xaxis: {
|
|
260
|
+
title: "Time",
|
|
261
|
+
showgrid: false,
|
|
262
|
+
zeroline: false
|
|
263
|
+
},
|
|
264
|
+
yaxis: {
|
|
265
|
+
title: __privateMethod(this, _getYAxisLabel, getYAxisLabel_fn).call(this),
|
|
266
|
+
showline: false
|
|
267
|
+
},
|
|
268
|
+
title: {
|
|
269
|
+
text: this.catalogVariable && this.location ? `${this.catalogVariable.dataProductShortName} @ ${this.location}` : null
|
|
270
|
+
}
|
|
271
|
+
}}"
|
|
272
|
+
.config=${{
|
|
273
|
+
displayModeBar: true,
|
|
274
|
+
displaylogo: false,
|
|
275
|
+
modeBarButtonsToRemove: ["toImage", "zoom2d", "resetScale2d"],
|
|
276
|
+
responsive: true
|
|
277
|
+
}}
|
|
278
|
+
></terra-plot>
|
|
279
|
+
</div>
|
|
280
|
+
|
|
281
|
+
<!-- DATE RANGE SLIDER WAS HERE -->
|
|
282
|
+
|
|
283
|
+
<dialog
|
|
284
|
+
?open=${__privateGet(this, _timeSeriesController).task.status === s.PENDING}
|
|
285
|
+
>
|
|
286
|
+
<terra-loader indeterminate></terra-loader>
|
|
287
|
+
<p>Plotting ${(_b = this.catalogVariable) == null ? void 0 : _b.dataFieldId}…</p>
|
|
288
|
+
<terra-button @click=${__privateMethod(this, _abortDataLoad, abortDataLoad_fn)}>Cancel</terra-button>
|
|
289
|
+
</dialog>
|
|
290
|
+
|
|
291
|
+
<dialog ?open=${this.showDataPointWarning} class="quota-dialog">
|
|
292
|
+
<h2>This is a large request</h2>
|
|
293
|
+
|
|
294
|
+
<p>
|
|
295
|
+
You are requesting approximately
|
|
296
|
+
${this.estimatedDataPoints.toLocaleString()} data points.
|
|
297
|
+
</p>
|
|
298
|
+
|
|
299
|
+
<p>
|
|
300
|
+
Requesting large amounts of data may cause you to reach your
|
|
301
|
+
monthly quota limit.
|
|
302
|
+
</p>
|
|
303
|
+
|
|
304
|
+
<p>Would you still like to proceed with this request?</p>
|
|
305
|
+
|
|
306
|
+
<div class="dialog-buttons">
|
|
307
|
+
<terra-button
|
|
308
|
+
@click=${__privateMethod(this, _cancelDataPointWarning, cancelDataPointWarning_fn)}
|
|
309
|
+
variant="default"
|
|
310
|
+
>
|
|
311
|
+
Cancel
|
|
312
|
+
</terra-button>
|
|
313
|
+
|
|
314
|
+
<terra-button
|
|
315
|
+
@click=${__privateMethod(this, _confirmDataPointWarning, confirmDataPointWarning_fn)}
|
|
316
|
+
variant="primary"
|
|
317
|
+
>
|
|
318
|
+
Proceed
|
|
319
|
+
</terra-button>
|
|
320
|
+
</div>
|
|
321
|
+
</dialog>
|
|
322
|
+
`;
|
|
323
|
+
}
|
|
324
|
+
};
|
|
325
|
+
_timeSeriesController = new WeakMap();
|
|
326
|
+
_catalog = new WeakMap();
|
|
327
|
+
_fetchVariableTask = new WeakMap();
|
|
328
|
+
_confirmDataPointWarning = new WeakSet();
|
|
329
|
+
confirmDataPointWarning_fn = function() {
|
|
330
|
+
__privateGet(this, _timeSeriesController).confirmDataPointWarning();
|
|
331
|
+
__privateGet(this, _timeSeriesController).task.run();
|
|
332
|
+
};
|
|
333
|
+
_cancelDataPointWarning = new WeakSet();
|
|
334
|
+
cancelDataPointWarning_fn = function() {
|
|
335
|
+
this.showDataPointWarning = false;
|
|
336
|
+
};
|
|
337
|
+
_abortDataLoad = new WeakSet();
|
|
338
|
+
abortDataLoad_fn = function() {
|
|
339
|
+
var _a;
|
|
340
|
+
(_a = __privateGet(this, _timeSeriesController).task) == null ? void 0 : _a.abort();
|
|
341
|
+
};
|
|
342
|
+
_downloadCSV = new WeakSet();
|
|
343
|
+
downloadCSV_fn = function(_event) {
|
|
344
|
+
var _a, _b;
|
|
345
|
+
const controllerData = (_a = __privateGet(this, _timeSeriesController).lastTaskValue) != null ? _a : __privateGet(this, _timeSeriesController).emptyPlotData;
|
|
346
|
+
let plotData = [];
|
|
347
|
+
controllerData.forEach((plot, index) => {
|
|
348
|
+
plotData[index] = plot;
|
|
349
|
+
});
|
|
350
|
+
const csvData = plotData.map((trace) => {
|
|
351
|
+
return trace.x.map((x2, i) => {
|
|
352
|
+
return {
|
|
353
|
+
x: x2,
|
|
354
|
+
y: trace.y[i]
|
|
355
|
+
};
|
|
356
|
+
});
|
|
357
|
+
}).flat();
|
|
358
|
+
const csv = __privateMethod(this, _convertToCSV, convertToCSV_fn).call(this, csvData);
|
|
359
|
+
const blob = new Blob([csv], { type: "text/csv;charset=utf-8;" });
|
|
360
|
+
const url = URL.createObjectURL(blob);
|
|
361
|
+
const link = document.createElement("a");
|
|
362
|
+
link.setAttribute("href", url);
|
|
363
|
+
const variableName = ((_b = this.catalogVariable) == null ? void 0 : _b.dataFieldId) || "time-series-data";
|
|
364
|
+
const locationStr = this.location ? `_${this.location.replace(/,/g, "_")}` : "";
|
|
365
|
+
const dateRange = this.startDate && this.endDate ? `_${this.startDate.split("T")[0]}_to_${this.endDate.split("T")[0]}` : "";
|
|
366
|
+
const filename = `${variableName}${locationStr}${dateRange}.csv`;
|
|
367
|
+
link.setAttribute("download", filename);
|
|
368
|
+
link.style.visibility = "hidden";
|
|
369
|
+
document.body.appendChild(link);
|
|
370
|
+
link.click();
|
|
371
|
+
document.body.removeChild(link);
|
|
372
|
+
};
|
|
373
|
+
_convertToCSV = new WeakSet();
|
|
374
|
+
convertToCSV_fn = function(data) {
|
|
375
|
+
const header = Object.keys(data[0]).join(",") + "\n";
|
|
376
|
+
const rows = data.map((obj) => Object.values(obj).join(",")).join("\n");
|
|
377
|
+
return header + rows;
|
|
378
|
+
};
|
|
379
|
+
_downloadPNG = new WeakSet();
|
|
380
|
+
downloadPNG_fn = function(_event) {
|
|
381
|
+
var _a;
|
|
382
|
+
(0, import_plotly.downloadImage)((_a = this.plot) == null ? void 0 : _a.base, {
|
|
383
|
+
filename: this.catalogVariable.dataFieldId,
|
|
384
|
+
format: "png",
|
|
385
|
+
width: 1920,
|
|
386
|
+
height: 1080
|
|
387
|
+
});
|
|
388
|
+
};
|
|
389
|
+
_handleActiveMenuItem = new WeakSet();
|
|
390
|
+
handleActiveMenuItem_fn = function(event) {
|
|
391
|
+
const button = event.currentTarget;
|
|
392
|
+
const menuName = button.dataset.menuName;
|
|
393
|
+
this.activeMenuItem = menuName;
|
|
394
|
+
};
|
|
395
|
+
_handleMenuLeave = new WeakSet();
|
|
396
|
+
handleMenuLeave_fn = function() {
|
|
397
|
+
this.activeMenuItem = null;
|
|
398
|
+
};
|
|
399
|
+
_getVariableEntryId = new WeakSet();
|
|
400
|
+
getVariableEntryId_fn = function() {
|
|
401
|
+
var _a;
|
|
402
|
+
if (!this.variableEntryId && !(this.collection && this.variable)) {
|
|
403
|
+
return;
|
|
404
|
+
}
|
|
405
|
+
return (_a = this.variableEntryId) != null ? _a : `${this.collection}_${this.variable}`;
|
|
406
|
+
};
|
|
407
|
+
_getYAxisLabel = new WeakSet();
|
|
408
|
+
getYAxisLabel_fn = function() {
|
|
409
|
+
if (!this.catalogVariable) {
|
|
410
|
+
return;
|
|
411
|
+
}
|
|
412
|
+
return [
|
|
413
|
+
this.catalogVariable.dataFieldLongName,
|
|
414
|
+
this.catalogVariable.dataFieldUnits
|
|
415
|
+
].filter(Boolean).join(", ");
|
|
416
|
+
};
|
|
417
|
+
_renderInfoPanel = new WeakSet();
|
|
418
|
+
renderInfoPanel_fn = function() {
|
|
419
|
+
var _a;
|
|
420
|
+
return x`
|
|
421
|
+
<h3 class="sr-only">Information</h3>
|
|
422
|
+
|
|
423
|
+
<dl>
|
|
424
|
+
<dt>Variable Longname</dt>
|
|
425
|
+
<dd>${this.catalogVariable.dataFieldLongName}</dd>
|
|
426
|
+
|
|
427
|
+
<dt>Variable Shortname</dt>
|
|
428
|
+
<dd>
|
|
429
|
+
${(_a = this.catalogVariable.dataFieldShortName) != null ? _a : this.catalogVariable.dataFieldAccessName}
|
|
430
|
+
</dd>
|
|
431
|
+
|
|
432
|
+
<dt>Units</dt>
|
|
433
|
+
<dd>
|
|
434
|
+
<code>${this.catalogVariable.dataFieldUnits}</code>
|
|
435
|
+
</dd>
|
|
436
|
+
|
|
437
|
+
<dt>Dataset Information</dt>
|
|
438
|
+
<dd>
|
|
439
|
+
<a
|
|
440
|
+
href=${this.catalogVariable.dataProductDescriptionUrl}
|
|
441
|
+
rel="noopener noreffer"
|
|
442
|
+
target="_blank"
|
|
443
|
+
>${this.catalogVariable.dataProductLongName}
|
|
444
|
+
|
|
445
|
+
<terra-icon
|
|
446
|
+
name="outline-arrow-top-right-on-square"
|
|
447
|
+
library="heroicons"
|
|
448
|
+
></terra-icon>
|
|
449
|
+
</a>
|
|
450
|
+
</dd>
|
|
451
|
+
|
|
452
|
+
<dt>Variable Information</dt>
|
|
453
|
+
<dd>
|
|
454
|
+
<a
|
|
455
|
+
href=${this.catalogVariable.dataFieldDescriptionUrl}
|
|
456
|
+
rel="noopener noreffer"
|
|
457
|
+
target="_blank"
|
|
458
|
+
>Variable Glossary
|
|
459
|
+
|
|
460
|
+
<terra-icon
|
|
461
|
+
name="outline-arrow-top-right-on-square"
|
|
462
|
+
library="heroicons"
|
|
463
|
+
></terra-icon>
|
|
464
|
+
</a>
|
|
465
|
+
</dd>
|
|
466
|
+
</dl>
|
|
467
|
+
`;
|
|
468
|
+
};
|
|
469
|
+
_renderDownloadPanel = new WeakSet();
|
|
470
|
+
renderDownloadPanel_fn = function() {
|
|
471
|
+
return x`
|
|
472
|
+
<h3 class="sr-only">Download Options</h3>
|
|
473
|
+
|
|
474
|
+
<p>
|
|
475
|
+
This plot can be downloaded as either a
|
|
476
|
+
<abbr title="Portable Network Graphic">PNG</abbr>
|
|
477
|
+
image or
|
|
478
|
+
<abbr title="Comma-Separated Value">CSV</abbr>
|
|
479
|
+
data.
|
|
480
|
+
</p>
|
|
481
|
+
|
|
482
|
+
<terra-button outline variant="default" @click=${__privateMethod(this, _downloadPNG, downloadPNG_fn)}>
|
|
483
|
+
<span class="sr-only">Download Plot Data as </span>
|
|
484
|
+
PNG
|
|
485
|
+
<terra-icon
|
|
486
|
+
slot="prefix"
|
|
487
|
+
name="outline-photo"
|
|
488
|
+
library="heroicons"
|
|
489
|
+
font-size="1.5em"
|
|
490
|
+
></terra-icon>
|
|
491
|
+
</terra-button>
|
|
492
|
+
|
|
493
|
+
<terra-button outline variant="default" @click=${__privateMethod(this, _downloadCSV, downloadCSV_fn)}>
|
|
494
|
+
<span class="sr-only">Download Plot Data as </span>
|
|
495
|
+
CSV
|
|
496
|
+
<terra-icon
|
|
497
|
+
slot="prefix"
|
|
498
|
+
name="outline-document-chart-bar"
|
|
499
|
+
library="heroicons"
|
|
500
|
+
font-size="1.5em"
|
|
501
|
+
></terra-icon>
|
|
502
|
+
</terra-button>
|
|
503
|
+
`;
|
|
504
|
+
};
|
|
505
|
+
_renderHelpPanel = new WeakSet();
|
|
506
|
+
renderHelpPanel_fn = function() {
|
|
507
|
+
return x`
|
|
508
|
+
<h3 class="sr-only">Help Links</h3>
|
|
509
|
+
<ul>
|
|
510
|
+
<li>
|
|
511
|
+
<a href="https://forum.earthdata.nasa.gov/viewforum.php?f=7&DAAC=3" rel"noopener noreffer">Earthdata User Forum
|
|
512
|
+
<terra-icon
|
|
513
|
+
name="outline-arrow-top-right-on-square"
|
|
514
|
+
library="heroicons"
|
|
515
|
+
></terra-icon>
|
|
516
|
+
</a>
|
|
517
|
+
</li>
|
|
518
|
+
</ul>
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
`;
|
|
522
|
+
};
|
|
523
|
+
_renderJupyterNotebookPanel = new WeakSet();
|
|
524
|
+
renderJupyterNotebookPanel_fn = function() {
|
|
525
|
+
return x`
|
|
526
|
+
<h3 class="sr-only">Jupyter Notebook Options</h3>
|
|
527
|
+
<p>Open this plot in a Jupyter Notebook to explore the data further.</p>
|
|
528
|
+
<a
|
|
529
|
+
href=${`https://notebooks.gesdisc.eosdis.nasa.gov/hub/user-redirect/git-pull?repo=https://github.com/nasa/GESDISC-Notebooks&branch=main&subPath=TimeSeries/${this.catalogVariable.dataFieldId}.ipynb`}
|
|
530
|
+
rel="noopener noreferrer"
|
|
531
|
+
target="_blank"
|
|
532
|
+
>
|
|
533
|
+
Open in Jupyter Notebook
|
|
534
|
+
<terra-icon
|
|
535
|
+
name="outline-arrow-top-right-on-square"
|
|
536
|
+
library="heroicons"
|
|
537
|
+
></terra-icon>
|
|
538
|
+
</a>
|
|
539
|
+
`;
|
|
540
|
+
};
|
|
541
|
+
TerraTimeSeries.styles = [component_styles_default, time_series_styles_default];
|
|
542
|
+
TerraTimeSeries.dependencies = {
|
|
543
|
+
"terra-plot": TerraPlot,
|
|
544
|
+
"terra-loader": TerraLoader,
|
|
545
|
+
"terra-icon": TerraIcon,
|
|
546
|
+
"terra-button": TerraButton
|
|
547
|
+
};
|
|
548
|
+
__decorateClass([
|
|
549
|
+
n({ attribute: "variable-entry-id", reflect: true })
|
|
550
|
+
], TerraTimeSeries.prototype, "variableEntryId", 2);
|
|
551
|
+
__decorateClass([
|
|
552
|
+
n({ reflect: true })
|
|
553
|
+
], TerraTimeSeries.prototype, "collection", 2);
|
|
554
|
+
__decorateClass([
|
|
555
|
+
n({ reflect: true })
|
|
556
|
+
], TerraTimeSeries.prototype, "variable", 2);
|
|
557
|
+
__decorateClass([
|
|
558
|
+
n({
|
|
559
|
+
attribute: "start-date",
|
|
560
|
+
reflect: true
|
|
561
|
+
})
|
|
562
|
+
], TerraTimeSeries.prototype, "startDate", 2);
|
|
563
|
+
__decorateClass([
|
|
564
|
+
n({
|
|
565
|
+
attribute: "end-date",
|
|
566
|
+
reflect: true
|
|
567
|
+
})
|
|
568
|
+
], TerraTimeSeries.prototype, "endDate", 2);
|
|
569
|
+
__decorateClass([
|
|
570
|
+
n({
|
|
571
|
+
reflect: true
|
|
572
|
+
})
|
|
573
|
+
], TerraTimeSeries.prototype, "location", 2);
|
|
574
|
+
__decorateClass([
|
|
575
|
+
n({ attribute: "bearer-token", reflect: false })
|
|
576
|
+
], TerraTimeSeries.prototype, "bearerToken", 2);
|
|
577
|
+
__decorateClass([
|
|
578
|
+
e("terra-plot")
|
|
579
|
+
], TerraTimeSeries.prototype, "plot", 2);
|
|
580
|
+
__decorateClass([
|
|
581
|
+
e("#menu")
|
|
582
|
+
], TerraTimeSeries.prototype, "menu", 2);
|
|
583
|
+
__decorateClass([
|
|
584
|
+
r()
|
|
585
|
+
], TerraTimeSeries.prototype, "catalogVariable", 2);
|
|
586
|
+
__decorateClass([
|
|
587
|
+
r()
|
|
588
|
+
], TerraTimeSeries.prototype, "showDataPointWarning", 2);
|
|
589
|
+
__decorateClass([
|
|
590
|
+
r()
|
|
591
|
+
], TerraTimeSeries.prototype, "estimatedDataPoints", 2);
|
|
592
|
+
__decorateClass([
|
|
593
|
+
r()
|
|
594
|
+
], TerraTimeSeries.prototype, "activeMenuItem", 2);
|
|
595
|
+
__decorateClass([
|
|
596
|
+
watch("activeMenuItem")
|
|
597
|
+
], TerraTimeSeries.prototype, "handleFocus", 1);
|
|
598
|
+
|
|
599
|
+
export {
|
|
600
|
+
TerraTimeSeries
|
|
601
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
FetchController
|
|
3
|
-
} from "./chunk.SNULTXLY.js";
|
|
4
1
|
import {
|
|
5
2
|
variable_combobox_styles_default
|
|
6
3
|
} from "./chunk.RU6G6JLS.js";
|
|
4
|
+
import {
|
|
5
|
+
FetchController
|
|
6
|
+
} from "./chunk.4UYNOT7W.js";
|
|
7
7
|
import {
|
|
8
8
|
adaptValueToVariableMetadata,
|
|
9
9
|
clearSelection,
|
|
@@ -11,32 +11,32 @@ import {
|
|
|
11
11
|
removeEmptyCollections,
|
|
12
12
|
renderSearchResult,
|
|
13
13
|
walkToOption
|
|
14
|
-
} from "./chunk.
|
|
14
|
+
} from "./chunk.YCRGAL67.js";
|
|
15
15
|
import {
|
|
16
16
|
h
|
|
17
17
|
} from "./chunk.QB5SASDL.js";
|
|
18
18
|
import {
|
|
19
19
|
icon_default
|
|
20
|
-
} from "./chunk.
|
|
20
|
+
} from "./chunk.QRIUCU7O.js";
|
|
21
21
|
import {
|
|
22
22
|
Fuse
|
|
23
23
|
} from "./chunk.QZV6EAIM.js";
|
|
24
|
-
import {
|
|
25
|
-
o
|
|
26
|
-
} from "./chunk.QEA4QW6G.js";
|
|
27
24
|
import {
|
|
28
25
|
n as n2
|
|
29
26
|
} from "./chunk.2XCNCXGV.js";
|
|
27
|
+
import {
|
|
28
|
+
o
|
|
29
|
+
} from "./chunk.QEA4QW6G.js";
|
|
30
30
|
import {
|
|
31
31
|
button_default
|
|
32
|
-
} from "./chunk.
|
|
32
|
+
} from "./chunk.OW6RZGKY.js";
|
|
33
33
|
import {
|
|
34
34
|
watch
|
|
35
35
|
} from "./chunk.6MMTW476.js";
|
|
36
36
|
import {
|
|
37
37
|
TerraElement,
|
|
38
38
|
component_styles_default
|
|
39
|
-
} from "./chunk.
|
|
39
|
+
} from "./chunk.CN4PWRCO.js";
|
|
40
40
|
import {
|
|
41
41
|
n,
|
|
42
42
|
r
|