@nasa-terra/components 0.0.52 → 0.0.54
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/assets/data-subsetter/download_subset_files.py.txt +66 -0
- package/cdn/chunks/{chunk.XU3NXPIM.js → chunk.23M4SIVO.js} +1 -1
- package/cdn/chunks/chunk.3WD5HVRH.js +150 -0
- package/cdn/chunks/{chunk.YNUC7HOB.js → chunk.4CGJGOCY.js} +1 -1
- package/cdn/chunks/{chunk.QIVBQSS7.js → chunk.4TLR4QQG.js} +24 -17
- package/cdn/chunks/chunk.57MIDRIG.js +264 -0
- package/cdn/chunks/{chunk.6NEMJOXS.js → chunk.5BO2XAMO.js} +4 -4
- package/cdn/chunks/chunk.5EPQ2F3Z.js +27 -0
- package/{dist/chunks/chunk.E7WQN374.js → cdn/chunks/chunk.5R5S72WP.js} +1 -1
- package/cdn/chunks/{chunk.7ZVIGV6V.js → chunk.63NRAEUK.js} +16 -8
- package/cdn/chunks/{chunk.6H77QHJW.js → chunk.65NEAPRC.js} +1 -1
- package/cdn/chunks/chunk.6OAPBJRP.js +49 -0
- package/cdn/chunks/{chunk.43R5EAVL.js → chunk.6V3KMAUQ.js} +1 -1
- package/cdn/chunks/{chunk.TEUZXQBU.js → chunk.7V2LW54F.js} +4 -4
- package/cdn/chunks/{chunk.TKZC2SRM.js → chunk.A47BXY2K.js} +1 -1
- package/cdn/chunks/{chunk.6QZW2ION.js → chunk.A4OQOF46.js} +1 -1
- package/{dist/chunks/chunk.ESISTPRD.js → cdn/chunks/chunk.AHEQYW27.js} +1 -1
- package/{dist/chunks/chunk.H6VZTFOA.js → cdn/chunks/chunk.APQ42B2U.js} +1 -1
- package/cdn/chunks/{chunk.JLUCY2KC.js → chunk.ARWRM2JC.js} +6 -1
- package/cdn/chunks/{chunk.IQ7B6HFH.js → chunk.BMTQUUZA.js} +1 -1
- package/cdn/chunks/{chunk.NCUMG4CT.js → chunk.BWXDVL76.js} +1 -1
- package/{dist/chunks/chunk.ETRG47HH.js → cdn/chunks/chunk.C4JLG2E7.js} +1 -1
- package/cdn/chunks/{chunk.6LGRNEZ7.js → chunk.C5LFHOAP.js} +1 -1
- package/cdn/chunks/chunk.CPHER7LT.js +61 -0
- package/cdn/chunks/{chunk.X2ZY3YLL.js → chunk.D5JLZTKH.js} +1 -1
- package/{dist/chunks/chunk.MWJRQKMV.js → cdn/chunks/chunk.DLW6XK4F.js} +1 -1
- package/cdn/chunks/{chunk.ALXMBVVZ.js → chunk.DPC5A37S.js} +1 -1
- package/cdn/chunks/chunk.EEMK3EBJ.js +77 -0
- package/cdn/chunks/{chunk.YIABHSHN.js → chunk.EZMKGB3F.js} +5 -2
- package/cdn/chunks/{chunk.K6GAF43H.js → chunk.FCGFGTMF.js} +1 -1
- package/cdn/chunks/{chunk.AZDOQAD2.js → chunk.FHUEFTED.js} +23 -6
- package/cdn/chunks/{chunk.KQ335BKK.js → chunk.FZ4GONRL.js} +1 -1
- package/{dist/chunks/chunk.3REGQAFA.js → cdn/chunks/chunk.FZOEXPP3.js} +1 -1
- package/cdn/chunks/{chunk.XO3SOVHY.js → chunk.G3K475WP.js} +1 -1
- package/cdn/chunks/{chunk.UVCDVWWN.js → chunk.GGXXOHFY.js} +1 -1
- package/cdn/chunks/{chunk.PNDWOMP6.js → chunk.GJIEQWA2.js} +12 -2
- package/{dist/chunks/chunk.QUYMT5VP.js → cdn/chunks/chunk.H4H7OUFN.js} +1 -1
- package/cdn/chunks/chunk.H6N7RGVX.js +1314 -0
- package/cdn/chunks/{chunk.BUKXWTWP.js → chunk.HKX3J5XS.js} +1 -1
- package/cdn/chunks/{chunk.3C36QKV5.js → chunk.HRTKXUXQ.js} +1 -1
- package/cdn/chunks/{chunk.UR52WPUB.js → chunk.IDWSR352.js} +10 -10
- package/{dist/chunks/chunk.KMNSIF7V.js → cdn/chunks/chunk.IJMWPNJQ.js} +1 -1
- package/cdn/chunks/chunk.J2N3IO5I.js +21 -0
- package/cdn/chunks/{chunk.SZAZG4YK.js → chunk.JG376LYS.js} +5 -2
- package/{dist/chunks/chunk.GUGDC67O.js → cdn/chunks/chunk.JQNOS35D.js} +1 -1
- package/cdn/chunks/{chunk.6IMVZQLW.js → chunk.JU7676XZ.js} +2 -2
- package/cdn/chunks/{chunk.YWXZHRQQ.js → chunk.K46LNZ4Y.js} +1 -1
- package/cdn/chunks/chunk.K5CSW352.js +418 -0
- package/{dist/chunks/chunk.RW6R4LFF.js → cdn/chunks/chunk.KOWNZ7CT.js} +1 -1
- package/cdn/chunks/{chunk.M7Y4QNCN.js → chunk.KQDNPTPO.js} +1 -1
- package/cdn/chunks/{chunk.56BIFKWQ.js → chunk.L3AEI44F.js} +17 -17
- package/cdn/chunks/{chunk.VRGU3JD2.js → chunk.LGIRLCP2.js} +8 -8
- package/{dist/chunks/chunk.BGIZ44PS.js → cdn/chunks/chunk.M4BZUFWE.js} +1 -1
- package/{dist/chunks/chunk.EM2KEB67.js → cdn/chunks/chunk.N3NR342F.js} +1 -1
- package/cdn/chunks/chunk.OAPHKYCV.js +11 -0
- package/cdn/chunks/{chunk.WA7VSQ63.js → chunk.OSJUFK2E.js} +7 -7
- package/cdn/chunks/{chunk.XHHFBPQM.js → chunk.PSAJO4PE.js} +8 -7
- package/cdn/chunks/{chunk.4L2C3E3Z.js → chunk.Q47YWESJ.js} +1 -1
- package/cdn/chunks/chunk.QPYAOML5.js +11 -0
- package/cdn/chunks/{chunk.LOCO37M5.js → chunk.RLRLPCXE.js} +435 -435
- package/cdn/chunks/{chunk.4OS3WNGB.js → chunk.RMZFGHSG.js} +35 -77
- package/cdn/chunks/{chunk.2UNF3BIO.js → chunk.RYDOV244.js} +97 -17
- package/cdn/chunks/chunk.RYGCQOBP.js +11 -0
- package/cdn/chunks/{chunk.WRON76NZ.js → chunk.S7IYZ4I2.js} +1 -1
- package/cdn/chunks/chunk.SF6MBAEP.js +20 -0
- package/{dist/chunks/chunk.E2A2V2YS.js → cdn/chunks/chunk.SIKKQP6I.js} +1 -1
- package/cdn/chunks/{chunk.JE2FCOKF.js → chunk.TBDMUEOL.js} +1 -1
- package/cdn/chunks/{chunk.VAWFQPRW.js → chunk.TKK6BNTA.js} +1 -1
- package/cdn/chunks/{chunk.H7IOI7PF.js → chunk.UA2PIKHW.js} +8 -8
- package/cdn/chunks/{chunk.7KC6YXWL.js → chunk.UA5HHAYZ.js} +1 -1
- package/{dist/chunks/chunk.775IHQR2.js → cdn/chunks/chunk.UOCDT7HQ.js} +13 -13
- package/{dist/chunks/chunk.CVHBTAL2.js → cdn/chunks/chunk.UZWEJOT3.js} +1 -1
- package/cdn/chunks/{chunk.2NCB6JXM.js → chunk.VU7EHZH7.js} +1 -1
- package/cdn/chunks/chunk.VZMSGFJM.js +21 -0
- package/cdn/chunks/{chunk.RLI6ON2C.js → chunk.W53DJFZQ.js} +2 -1
- package/cdn/chunks/chunk.WOVNGDEJ.js +930 -0
- package/cdn/chunks/{chunk.5NU43HNV.js → chunk.WSTDOGZY.js} +15 -2
- package/cdn/chunks/{chunk.H5LB4MBT.js → chunk.XQWGD4D7.js} +5 -3
- package/cdn/chunks/{chunk.CUGOTRF4.js → chunk.XXZJFEAX.js} +18 -5
- package/cdn/chunks/{chunk.TJW5I73A.js → chunk.Y52NTWQR.js} +1 -1
- package/cdn/chunks/{chunk.KHIKTIEM.js → chunk.Y6LDYM2S.js} +7 -7
- package/{dist/chunks/chunk.S3TUAB7V.js → cdn/chunks/chunk.ZEORI4V7.js} +1 -1
- package/cdn/chunks/{chunk.ZLY7XE2R.js → chunk.ZIB2YM2K.js} +1 -1
- package/cdn/components/accordion/accordion.component.d.ts +35 -0
- package/cdn/components/accordion/accordion.component.js +21 -0
- package/cdn/components/accordion/accordion.d.ts +8 -0
- package/cdn/components/accordion/accordion.js +22 -0
- package/cdn/components/accordion/accordion.styles.d.ts +2 -0
- package/cdn/components/accordion/accordion.styles.js +9 -0
- package/cdn/components/alert/alert.component.d.ts +73 -0
- package/cdn/components/alert/alert.component.js +16 -0
- package/cdn/components/alert/alert.d.ts +8 -0
- package/cdn/components/alert/alert.js +17 -0
- package/cdn/components/alert/alert.styles.d.ts +2 -0
- package/cdn/components/alert/alert.styles.js +9 -0
- package/cdn/components/browse-variables/browse-variables.component.js +27 -26
- package/cdn/components/browse-variables/browse-variables.controller.js +4 -4
- package/cdn/components/browse-variables/browse-variables.js +28 -27
- package/cdn/components/button/button.component.js +5 -4
- package/cdn/components/button/button.js +6 -5
- 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 +2 -0
- package/cdn/components/data-rods/data-rods.component.js +38 -35
- package/cdn/components/data-rods/data-rods.js +39 -36
- package/cdn/components/data-subsetter/data-subsetter.component.d.ts +46 -0
- package/cdn/components/data-subsetter/data-subsetter.component.js +48 -0
- package/cdn/components/data-subsetter/data-subsetter.controller.d.ts +15 -0
- package/cdn/components/data-subsetter/data-subsetter.controller.js +11 -0
- package/cdn/components/data-subsetter/data-subsetter.d.ts +8 -0
- package/cdn/components/data-subsetter/data-subsetter.js +49 -0
- package/cdn/components/data-subsetter/data-subsetter.styles.d.ts +2 -0
- package/cdn/components/data-subsetter/data-subsetter.styles.js +9 -0
- package/cdn/components/date-picker/date-picker.component.d.ts +6 -0
- package/cdn/components/date-picker/date-picker.component.js +11 -3
- package/cdn/components/date-picker/date-picker.js +12 -4
- package/cdn/components/date-picker/date-picker.styles.js +1 -1
- package/cdn/components/date-range-slider/date-range-slider.component.js +5 -5
- package/cdn/components/date-range-slider/date-range-slider.js +6 -6
- package/cdn/components/dialog/dialog.component.js +3 -3
- package/cdn/components/dialog/dialog.js +4 -4
- package/cdn/components/dialog/dialog.styles.js +1 -1
- package/cdn/components/icon/icon.component.js +4 -4
- package/cdn/components/icon/icon.js +5 -5
- package/cdn/components/icon/library.default.js +1 -1
- package/cdn/components/icon/library.js +2 -2
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/login/login.component.js +17 -16
- package/cdn/components/login/login.js +18 -17
- package/cdn/components/map/leaflet-utils.d.ts +4 -6
- package/cdn/components/map/leaflet-utils.js +1 -1
- package/cdn/components/map/map.component.d.ts +2 -0
- package/cdn/components/map/map.component.js +7 -7
- package/cdn/components/map/map.js +8 -8
- package/cdn/components/map/type.d.ts +1 -1
- package/cdn/components/plot/plot.component.d.ts +2 -2
- package/cdn/components/plot/plot.component.js +2 -2
- package/cdn/components/plot/plot.js +3 -3
- package/cdn/components/skeleton/skeleton.component.js +6 -6
- package/cdn/components/skeleton/skeleton.js +7 -7
- package/cdn/components/spatial-picker/spatial-picker.component.d.ts +2 -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 -0
- package/cdn/components/time-series/time-series.component.js +21 -18
- package/cdn/components/time-series/time-series.controller.js +3 -3
- package/cdn/components/time-series/time-series.js +22 -19
- package/cdn/components/variable-combobox/variable-combobox.component.js +17 -16
- package/cdn/components/variable-combobox/variable-combobox.controller.js +1 -1
- package/cdn/components/variable-combobox/variable-combobox.js +18 -17
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +21 -20
- package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +4 -4
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +22 -21
- package/cdn/custom-elements.json +1509 -399
- package/cdn/data-services/harmony-data-service.d.ts +12 -0
- package/cdn/data-services/queries.d.ts +4 -0
- package/cdn/data-services/types.d.ts +125 -0
- package/cdn/events/events.d.ts +3 -0
- package/cdn/events/terra-after-hide.d.ts +6 -0
- package/cdn/events/terra-after-show.d.ts +6 -0
- package/cdn/events/terra-plot-relayout.d.ts +11 -0
- package/cdn/react/accordion/index.d.ts +19 -0
- package/cdn/react/accordion/index.js +22 -0
- package/cdn/react/alert/index.d.ts +37 -0
- package/cdn/react/alert/index.js +17 -0
- package/cdn/react/browse-variables/index.js +28 -27
- package/cdn/react/button/index.js +6 -5
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +7 -7
- package/cdn/react/data-rods/index.d.ts +8 -1
- package/cdn/react/data-rods/index.js +39 -36
- package/cdn/react/data-subsetter/index.d.ts +18 -0
- package/cdn/react/data-subsetter/index.js +49 -0
- package/cdn/react/date-picker/index.js +12 -4
- package/cdn/react/date-range-slider/index.js +6 -6
- package/cdn/react/dialog/index.js +4 -4
- package/cdn/react/icon/index.js +5 -5
- package/cdn/react/index.d.ts +4 -1
- package/cdn/react/index.js +104 -83
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +18 -17
- package/cdn/react/map/index.js +8 -8
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/skeleton/index.js +7 -7
- package/cdn/react/spatial-picker/index.js +9 -9
- package/cdn/react/time-series/index.d.ts +4 -0
- package/cdn/react/time-series/index.js +22 -19
- package/cdn/react/variable-combobox/index.js +18 -17
- package/cdn/react/variable-keyword-search/index.js +22 -21
- package/cdn/terra-ui-components.d.ts +3 -0
- package/cdn/terra-ui-components.js +101 -80
- package/cdn/types/vue/index.d.ts +214 -66
- package/cdn/utilities/animation.js +4 -4
- package/cdn/utilities/date.d.ts +1 -1
- package/cdn/utilities/date.js +1 -1
- package/cdn/utilities/icon-library.js +2 -2
- package/cdn/utilities/mimetypes.d.ts +2 -0
- package/cdn/utilities/mimetypes.js +9 -0
- package/cdn/vscode.html-custom-data.json +97 -9
- package/cdn/web-types.json +360 -102
- package/dist/assets/data-subsetter/download_subset_files.py.txt +66 -0
- package/{cdn/chunks/chunk.BOEWKIKL.js → dist/chunks/chunk.2KG2PDUC.js} +1 -1
- package/dist/chunks/{chunk.AY7TGBWI.js → chunk.3IQ5IBBM.js} +1 -1
- package/dist/chunks/chunk.3WKUS32S.js +147 -0
- package/dist/chunks/{chunk.AONG4JL6.js → chunk.4ZVV7AJM.js} +6 -6
- package/dist/chunks/{chunk.WVAXV6VX.js → chunk.5GBBEOFF.js} +1 -1
- package/dist/chunks/chunk.5HS4HQKS.js +21 -0
- package/dist/chunks/{chunk.EXZP753L.js → chunk.5XYM225J.js} +1 -1
- package/{cdn/chunks/chunk.2TA36AD4.js → dist/chunks/chunk.6JZUAYPO.js} +1 -1
- package/dist/chunks/chunk.6OAPBJRP.js +49 -0
- package/dist/chunks/{chunk.TBBYOYJ7.js → chunk.6ZS4OZCO.js} +1 -1
- package/dist/chunks/{chunk.XLJ7TVUS.js → chunk.77XTTINJ.js} +1 -1
- package/{cdn/chunks/chunk.KTVGWBMV.js → dist/chunks/chunk.7A5C2JU6.js} +1 -1
- package/dist/chunks/{chunk.FOHGUYVS.js → chunk.7GKPOEVM.js} +1 -1
- package/dist/chunks/{chunk.RPLQHZS6.js → chunk.7XDBDSRE.js} +18 -5
- package/{cdn/chunks/chunk.OJGOBLIU.js → dist/chunks/chunk.AURTGXYT.js} +1 -1
- package/dist/chunks/{chunk.ZRI4D77S.js → chunk.BE5TDNTD.js} +4 -4
- package/dist/chunks/chunk.CRZ7TUUO.js +1308 -0
- package/dist/chunks/{chunk.CPEM43Y5.js → chunk.CWH2LJ7C.js} +1 -1
- package/dist/chunks/{chunk.R3YZ7KJF.js → chunk.CYJHO3OP.js} +1 -1
- package/dist/chunks/chunk.DJSBT37Q.js +11 -0
- package/dist/chunks/chunk.DUCS7DR4.js +11 -0
- package/dist/chunks/chunk.DUGD5OIQ.js +11 -0
- package/dist/chunks/{chunk.T2K2FVDX.js → chunk.E2VGHW6G.js} +1 -1
- package/{cdn/chunks/chunk.RGI5ZEXR.js → dist/chunks/chunk.E4LA3PS3.js} +1 -1
- package/dist/chunks/{chunk.UYRZ6XBT.js → chunk.EI2M6QPT.js} +1 -1
- package/dist/chunks/{chunk.67EX34DL.js → chunk.EXZMC2ZJ.js} +6 -1
- package/dist/chunks/{chunk.H55GDBVS.js → chunk.FQNMT3RC.js} +2 -2
- package/{cdn/chunks/chunk.F7E3OXW3.js → dist/chunks/chunk.G2WOPKSU.js} +1 -1
- package/{cdn/chunks/chunk.KCZLV65J.js → dist/chunks/chunk.HERNSNAA.js} +1 -1
- package/dist/chunks/{chunk.TFI3UXXB.js → chunk.HFD6TPE6.js} +1 -1
- package/dist/chunks/{chunk.33MT36PS.js → chunk.IU5SV56O.js} +1 -1
- package/dist/chunks/chunk.JDQC6NXM.js +418 -0
- package/dist/chunks/{chunk.RROJPL2A.js → chunk.JE23NVKW.js} +1 -1
- package/dist/chunks/{chunk.LNC5EYCJ.js → chunk.JGD6YWMX.js} +8 -52
- package/dist/chunks/{chunk.RHT75OOW.js → chunk.JPOLIW2G.js} +3 -3
- package/{cdn/chunks/chunk.XR376PMT.js → dist/chunks/chunk.JUE4NRCW.js} +1 -1
- package/dist/chunks/{chunk.GB2BB7RB.js → chunk.JYMLRSW2.js} +1 -1
- package/dist/chunks/{chunk.WJV65UWS.js → chunk.KBEMT2DH.js} +1 -1
- package/dist/chunks/{chunk.7JBFBZ5C.js → chunk.KMN7L6QZ.js} +5 -2
- package/dist/chunks/chunk.KPC2TZNU.js +21 -0
- package/dist/chunks/{chunk.2TZUQC72.js → chunk.L4CRWZ4F.js} +1 -1
- package/{cdn/chunks/chunk.TPNEBQDW.js → dist/chunks/chunk.LAP2RX7Z.js} +1 -1
- package/dist/chunks/{chunk.2IUOMVRJ.js → chunk.LCXFLOKM.js} +1 -1
- package/dist/chunks/{chunk.KZZM5DIH.js → chunk.LRMILCIN.js} +1 -1
- package/dist/chunks/{chunk.XZXT5MBD.js → chunk.NETZ6TSP.js} +1 -1
- package/dist/chunks/{chunk.WSGVJC5A.js → chunk.NZCJKLX4.js} +4 -4
- package/{cdn/chunks/chunk.2NMZMEIL.js → dist/chunks/chunk.PK7DJRFD.js} +1 -1
- package/dist/chunks/{chunk.4BU4Y56M.js → chunk.PVTB7EON.js} +6 -6
- package/dist/chunks/{chunk.QAXYS5OA.js → chunk.Q24S6SO4.js} +15 -2
- package/{cdn/chunks/chunk.I5ZDFQF3.js → dist/chunks/chunk.R275GZJP.js} +1 -1
- package/dist/chunks/{chunk.3W53HERF.js → chunk.R5NJ3F7B.js} +1 -1
- package/dist/chunks/{chunk.2LQ62YDQ.js → chunk.RBLEZ6LY.js} +1 -1
- package/dist/chunks/{chunk.3B622XLR.js → chunk.RLNWDA4W.js} +4 -4
- package/dist/chunks/chunk.RQ2YIT2S.js +927 -0
- package/dist/chunks/{chunk.OJHJP7K2.js → chunk.RTDW6K4K.js} +1 -1
- package/dist/chunks/chunk.SF6MBAEP.js +20 -0
- package/dist/chunks/{chunk.HR67OJ25.js → chunk.SPMJZKMX.js} +1 -1
- package/{cdn/chunks/chunk.MSGOYUSX.js → dist/chunks/chunk.TNIQC64I.js} +1 -1
- package/dist/chunks/{chunk.5W3SNZBC.js → chunk.TQWLVZHQ.js} +8 -7
- package/dist/chunks/{chunk.Z5E25XLP.js → chunk.TV4JDPQZ.js} +14 -14
- package/dist/chunks/{chunk.LPSLYYX7.js → chunk.U6R27WNU.js} +11 -1
- package/dist/chunks/{chunk.7KC6YXWL.js → chunk.UA5HHAYZ.js} +1 -1
- package/dist/chunks/{chunk.MZK7WRKF.js → chunk.UDYW3JVU.js} +5 -3
- package/dist/chunks/{chunk.K2RM2IR7.js → chunk.UFLWSRJS.js} +16 -8
- package/{cdn/chunks/chunk.775IHQR2.js → dist/chunks/chunk.UOCDT7HQ.js} +13 -13
- package/{cdn/chunks/chunk.4TXEYAPR.js → dist/chunks/chunk.UWPAP7DD.js} +1 -1
- package/{cdn/chunks/chunk.WLC45QMC.js → dist/chunks/chunk.V4A4MJMQ.js} +1 -1
- package/dist/chunks/chunk.VGZJOJYI.js +73 -0
- package/dist/chunks/chunk.VQG6E5PN.js +258 -0
- package/dist/chunks/{chunk.UBJGRBUX.js → chunk.VVAVKMYY.js} +5 -2
- package/dist/chunks/{chunk.O5JIPX5F.js → chunk.XDOWEUX7.js} +93 -13
- package/dist/chunks/{chunk.U5ORWUDI.js → chunk.XHQSQS6B.js} +1 -1
- package/dist/chunks/{chunk.NFHX7J4A.js → chunk.XL5DK5OZ.js} +20 -13
- package/dist/chunks/{chunk.5LNGPR44.js → chunk.Y4EIAFP6.js} +1 -1
- package/dist/chunks/{chunk.WMLL6DYO.js → chunk.YFJDAQ3G.js} +2 -1
- package/dist/chunks/{chunk.34UGHNQ2.js → chunk.YHIGQ7X6.js} +23 -6
- package/dist/chunks/chunk.YSWVZ2QE.js +27 -0
- package/dist/chunks/{chunk.UTDJAXDL.js → chunk.YT7LBV5I.js} +1 -1
- package/dist/chunks/chunk.Z3GLEDYM.js +58 -0
- package/{cdn/chunks/chunk.L5N5757Y.js → dist/chunks/chunk.ZSRW7SY2.js} +1 -1
- package/dist/components/accordion/accordion.component.d.ts +35 -0
- package/dist/components/accordion/accordion.component.js +16 -0
- package/dist/components/accordion/accordion.d.ts +8 -0
- package/dist/components/accordion/accordion.js +17 -0
- package/dist/components/accordion/accordion.styles.d.ts +2 -0
- package/dist/components/accordion/accordion.styles.js +7 -0
- package/dist/components/alert/alert.component.d.ts +73 -0
- package/dist/components/alert/alert.component.js +11 -0
- package/dist/components/alert/alert.d.ts +8 -0
- package/dist/components/alert/alert.js +12 -0
- package/dist/components/alert/alert.styles.d.ts +2 -0
- package/dist/components/alert/alert.styles.js +7 -0
- package/dist/components/browse-variables/browse-variables.component.js +20 -19
- package/dist/components/browse-variables/browse-variables.controller.js +3 -3
- package/dist/components/browse-variables/browse-variables.js +21 -20
- package/dist/components/button/button.component.js +4 -3
- package/dist/components/button/button.js +5 -4
- package/dist/components/chip/chip.component.js +2 -2
- package/dist/components/chip/chip.js +3 -3
- package/dist/components/combobox/combobox.component.js +3 -3
- package/dist/components/combobox/combobox.js +4 -4
- package/dist/components/data-rods/data-rods.component.d.ts +2 -0
- package/dist/components/data-rods/data-rods.component.js +31 -28
- package/dist/components/data-rods/data-rods.js +32 -29
- package/dist/components/data-subsetter/data-subsetter.component.d.ts +46 -0
- package/dist/components/data-subsetter/data-subsetter.component.js +37 -0
- package/dist/components/data-subsetter/data-subsetter.controller.d.ts +15 -0
- package/dist/components/data-subsetter/data-subsetter.controller.js +9 -0
- package/dist/components/data-subsetter/data-subsetter.d.ts +8 -0
- package/dist/components/data-subsetter/data-subsetter.js +38 -0
- package/dist/components/data-subsetter/data-subsetter.styles.d.ts +2 -0
- package/dist/components/data-subsetter/data-subsetter.styles.js +7 -0
- package/dist/components/date-picker/date-picker.component.d.ts +6 -0
- package/dist/components/date-picker/date-picker.component.js +8 -3
- package/dist/components/date-picker/date-picker.js +9 -4
- package/dist/components/date-picker/date-picker.styles.js +1 -1
- 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 +3 -3
- package/dist/components/dialog/dialog.js +4 -4
- package/dist/components/dialog/dialog.styles.js +1 -1
- package/dist/components/icon/icon.component.js +4 -4
- package/dist/components/icon/icon.js +5 -5
- package/dist/components/icon/library.default.js +1 -1
- package/dist/components/icon/library.js +2 -2
- package/dist/components/loader/loader.component.js +2 -2
- package/dist/components/loader/loader.js +3 -3
- package/dist/components/login/login.component.js +13 -12
- package/dist/components/login/login.js +14 -13
- package/dist/components/map/leaflet-utils.d.ts +4 -6
- package/dist/components/map/leaflet-utils.js +1 -1
- package/dist/components/map/map.component.d.ts +2 -0
- package/dist/components/map/map.component.js +6 -6
- package/dist/components/map/map.js +7 -7
- package/dist/components/map/type.d.ts +1 -1
- package/dist/components/plot/plot.component.d.ts +2 -2
- 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 +2 -0
- package/dist/components/spatial-picker/spatial-picker.component.js +7 -7
- package/dist/components/spatial-picker/spatial-picker.js +8 -8
- package/dist/components/time-series/time-series.component.d.ts +8 -0
- package/dist/components/time-series/time-series.component.js +17 -14
- package/dist/components/time-series/time-series.controller.js +2 -2
- package/dist/components/time-series/time-series.js +18 -15
- package/dist/components/variable-combobox/variable-combobox.component.js +11 -10
- package/dist/components/variable-combobox/variable-combobox.js +12 -11
- package/dist/components/variable-keyword-search/variable-keyword-search.component.js +15 -14
- package/dist/components/variable-keyword-search/variable-keyword-search.controller.js +3 -3
- package/dist/components/variable-keyword-search/variable-keyword-search.js +16 -15
- package/dist/custom-elements.json +1509 -399
- package/dist/data-services/harmony-data-service.d.ts +12 -0
- package/dist/data-services/queries.d.ts +4 -0
- package/dist/data-services/types.d.ts +125 -0
- package/dist/events/events.d.ts +3 -0
- package/dist/events/terra-after-hide.d.ts +6 -0
- package/dist/events/terra-after-show.d.ts +6 -0
- package/dist/events/terra-plot-relayout.d.ts +11 -0
- package/dist/react/accordion/index.d.ts +19 -0
- package/dist/react/accordion/index.js +17 -0
- package/dist/react/alert/index.d.ts +37 -0
- package/dist/react/alert/index.js +12 -0
- package/dist/react/browse-variables/index.js +21 -20
- package/dist/react/button/index.js +5 -4
- package/dist/react/chip/index.js +3 -3
- package/dist/react/combobox/index.js +4 -4
- package/dist/react/data-rods/index.d.ts +8 -1
- package/dist/react/data-rods/index.js +32 -29
- package/dist/react/data-subsetter/index.d.ts +18 -0
- package/dist/react/data-subsetter/index.js +38 -0
- package/dist/react/date-picker/index.js +9 -4
- package/dist/react/date-range-slider/index.js +5 -5
- package/dist/react/dialog/index.js +4 -4
- package/dist/react/icon/index.js +5 -5
- package/dist/react/index.d.ts +4 -1
- package/dist/react/index.js +95 -74
- package/dist/react/loader/index.js +3 -3
- package/dist/react/login/index.js +14 -13
- package/dist/react/map/index.js +7 -7
- package/dist/react/plot/index.js +3 -3
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spatial-picker/index.js +8 -8
- package/dist/react/time-series/index.d.ts +4 -0
- package/dist/react/time-series/index.js +18 -15
- package/dist/react/variable-combobox/index.js +12 -11
- package/dist/react/variable-keyword-search/index.js +16 -15
- package/dist/terra-ui-components.d.ts +3 -0
- package/dist/terra-ui-components.js +94 -73
- package/dist/{terra_ui_components-0.0.52-py3-none-any.whl → terra_ui_components-0.0.54-py3-none-any.whl} +0 -0
- package/dist/{terra_ui_components-0.0.52.tar.gz → terra_ui_components-0.0.54.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +214 -66
- package/dist/utilities/date.d.ts +1 -1
- package/dist/utilities/date.js +1 -1
- package/dist/utilities/icon-library.js +2 -2
- package/dist/utilities/mimetypes.d.ts +2 -0
- package/dist/utilities/mimetypes.js +9 -0
- package/dist/vscode.html-custom-data.json +97 -9
- package/dist/web-types.json +360 -102
- package/package.json +1 -1
|
@@ -2,32 +2,38 @@ import {
|
|
|
2
2
|
DB_NAME,
|
|
3
3
|
TimeSeriesController,
|
|
4
4
|
getDataByKey
|
|
5
|
-
} from "./chunk.
|
|
5
|
+
} from "./chunk.U6R27WNU.js";
|
|
6
6
|
import {
|
|
7
7
|
time_series_styles_default
|
|
8
8
|
} from "./chunk.K2IRF2QI.js";
|
|
9
9
|
import {
|
|
10
10
|
TerraPlot
|
|
11
|
-
} from "./chunk.
|
|
11
|
+
} from "./chunk.Q24S6SO4.js";
|
|
12
12
|
import {
|
|
13
13
|
TerraLoader
|
|
14
|
-
} from "./chunk.
|
|
14
|
+
} from "./chunk.5XYM225J.js";
|
|
15
|
+
import {
|
|
16
|
+
TerraButton
|
|
17
|
+
} from "./chunk.JGD6YWMX.js";
|
|
18
|
+
import {
|
|
19
|
+
GiovanniVariableCatalog
|
|
20
|
+
} from "./chunk.HFD6TPE6.js";
|
|
21
|
+
import {
|
|
22
|
+
formatDate
|
|
23
|
+
} from "./chunk.KMN7L6QZ.js";
|
|
15
24
|
import {
|
|
16
25
|
TerraIcon
|
|
17
|
-
} from "./chunk.
|
|
26
|
+
} from "./chunk.FQNMT3RC.js";
|
|
18
27
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./chunk.
|
|
28
|
+
TerraAlert
|
|
29
|
+
} from "./chunk.VQG6E5PN.js";
|
|
21
30
|
import {
|
|
22
31
|
watch
|
|
23
32
|
} from "./chunk.SK7IZCKP.js";
|
|
24
33
|
import {
|
|
25
34
|
TerraElement,
|
|
26
35
|
component_styles_default
|
|
27
|
-
} from "./chunk.
|
|
28
|
-
import {
|
|
29
|
-
GiovanniVariableCatalog
|
|
30
|
-
} from "./chunk.TFI3UXXB.js";
|
|
36
|
+
} from "./chunk.Y4EIAFP6.js";
|
|
31
37
|
import {
|
|
32
38
|
__decorateClass,
|
|
33
39
|
__privateAdd,
|
|
@@ -42,7 +48,7 @@ import { downloadImage } from "plotly.js-dist-min";
|
|
|
42
48
|
import { html } from "lit";
|
|
43
49
|
import { property, query, state } from "lit/decorators.js";
|
|
44
50
|
import { Task, TaskStatus } from "@lit/task";
|
|
45
|
-
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, _handleComponentLeave, handleComponentLeave_fn, _handleMenuLeave, handleMenuLeave_fn, _getVariableEntryId, getVariableEntryId_fn, _getYAxisLabel, getYAxisLabel_fn, _renderInfoPanel, renderInfoPanel_fn, _renderDownloadPanel, renderDownloadPanel_fn, _renderHelpPanel, renderHelpPanel_fn, _renderJupyterNotebookPanel, renderJupyterNotebookPanel_fn, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn;
|
|
51
|
+
var _timeSeriesController, _catalog, _fetchVariableTask, _handleQuotaError, _confirmDataPointWarning, confirmDataPointWarning_fn, _cancelDataPointWarning, cancelDataPointWarning_fn, _abortDataLoad, abortDataLoad_fn, _downloadCSV, downloadCSV_fn, _convertToCSV, convertToCSV_fn, _downloadPNG, downloadPNG_fn, _handleActiveMenuItem, handleActiveMenuItem_fn, _handleComponentLeave, handleComponentLeave_fn, _handleMenuLeave, handleMenuLeave_fn, _getVariableEntryId, getVariableEntryId_fn, _getYAxisLabel, getYAxisLabel_fn, _renderInfoPanel, renderInfoPanel_fn, _renderDownloadPanel, renderDownloadPanel_fn, _renderHelpPanel, renderHelpPanel_fn, _renderJupyterNotebookPanel, renderJupyterNotebookPanel_fn, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn, _handlePlotRelayout, handlePlotRelayout_fn;
|
|
46
52
|
var TerraTimeSeries = class extends TerraElement {
|
|
47
53
|
constructor() {
|
|
48
54
|
super(...arguments);
|
|
@@ -65,7 +71,9 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
65
71
|
__privateAdd(this, _renderHelpPanel);
|
|
66
72
|
__privateAdd(this, _renderJupyterNotebookPanel);
|
|
67
73
|
__privateAdd(this, _handleJupyterNotebookClick);
|
|
74
|
+
__privateAdd(this, _handlePlotRelayout);
|
|
68
75
|
__privateAdd(this, _timeSeriesController, void 0);
|
|
76
|
+
this.quotaExceededOpen = false;
|
|
69
77
|
this.showDataPointWarning = false;
|
|
70
78
|
this.estimatedDataPoints = 0;
|
|
71
79
|
this.activeMenuItem = null;
|
|
@@ -92,6 +100,12 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
92
100
|
},
|
|
93
101
|
args: () => [this.variableEntryId, this.collection, this.variable]
|
|
94
102
|
}));
|
|
103
|
+
__privateAdd(this, _handleQuotaError, (event) => {
|
|
104
|
+
const { status } = event.detail;
|
|
105
|
+
if (status === 429) {
|
|
106
|
+
this.quotaExceededOpen = true;
|
|
107
|
+
}
|
|
108
|
+
});
|
|
95
109
|
}
|
|
96
110
|
handleFocus(_oldValue, newValue) {
|
|
97
111
|
if (newValue === null) {
|
|
@@ -101,6 +115,10 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
101
115
|
}
|
|
102
116
|
connectedCallback() {
|
|
103
117
|
super.connectedCallback();
|
|
118
|
+
this.addEventListener(
|
|
119
|
+
"terra-time-series-error",
|
|
120
|
+
__privateGet(this, _handleQuotaError)
|
|
121
|
+
);
|
|
104
122
|
__privateSet(this, _timeSeriesController, new TimeSeriesController(this, this.bearerToken));
|
|
105
123
|
if (!document.getElementById("terra-jupyterlite-warmup-iframe")) {
|
|
106
124
|
const iframe = document.createElement("iframe");
|
|
@@ -112,10 +130,38 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
112
130
|
document.body.appendChild(iframe);
|
|
113
131
|
}
|
|
114
132
|
}
|
|
133
|
+
disconnectedCallback() {
|
|
134
|
+
super.disconnectedCallback();
|
|
135
|
+
this.removeEventListener(
|
|
136
|
+
"terra-time-series-error",
|
|
137
|
+
__privateGet(this, _handleQuotaError)
|
|
138
|
+
);
|
|
139
|
+
}
|
|
115
140
|
render() {
|
|
116
141
|
var _a, _b;
|
|
117
142
|
return html`
|
|
118
143
|
<div class="plot-container" @mouseleave=${__privateMethod(this, _handleComponentLeave, handleComponentLeave_fn)}>
|
|
144
|
+
${this.quotaExceededOpen ? html`
|
|
145
|
+
<terra-alert
|
|
146
|
+
variant="warning"
|
|
147
|
+
duration="10000"
|
|
148
|
+
open=${this.quotaExceededOpen}
|
|
149
|
+
closable
|
|
150
|
+
@terra-after-hide=${() => this.quotaExceededOpen = false}
|
|
151
|
+
>
|
|
152
|
+
<terra-icon
|
|
153
|
+
slot="icon"
|
|
154
|
+
name="outline-exclamation-triangle"
|
|
155
|
+
library="heroicons"
|
|
156
|
+
></terra-icon>
|
|
157
|
+
You've exceeded your request quota. Please
|
|
158
|
+
<a
|
|
159
|
+
href="https://disc.gsfc.nasa.gov/information/documents?title=Contact%20Us"
|
|
160
|
+
>contact the help desk</a
|
|
161
|
+
>
|
|
162
|
+
for further assistance.
|
|
163
|
+
</terra-alert>
|
|
164
|
+
` : ""}
|
|
119
165
|
${cache(
|
|
120
166
|
this.catalogVariable ? html`
|
|
121
167
|
<header>
|
|
@@ -257,7 +303,11 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
257
303
|
xaxis: {
|
|
258
304
|
title: "Time",
|
|
259
305
|
showgrid: false,
|
|
260
|
-
zeroline: false
|
|
306
|
+
zeroline: false,
|
|
307
|
+
range: (
|
|
308
|
+
// manually set the range as we may adjust it when we fetch new data as a user pans/zooms the plot
|
|
309
|
+
this.startDate && this.endDate ? [this.startDate, this.endDate] : void 0
|
|
310
|
+
)
|
|
261
311
|
},
|
|
262
312
|
yaxis: {
|
|
263
313
|
title: __privateMethod(this, _getYAxisLabel, getYAxisLabel_fn).call(this),
|
|
@@ -273,6 +323,7 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
273
323
|
modeBarButtonsToRemove: ["toImage", "zoom2d", "resetScale2d"],
|
|
274
324
|
responsive: true
|
|
275
325
|
}}
|
|
326
|
+
@terra-plot-relayout=${__privateMethod(this, _handlePlotRelayout, handlePlotRelayout_fn)}
|
|
276
327
|
></terra-plot>
|
|
277
328
|
</div>
|
|
278
329
|
|
|
@@ -321,6 +372,7 @@ var TerraTimeSeries = class extends TerraElement {
|
|
|
321
372
|
_timeSeriesController = new WeakMap();
|
|
322
373
|
_catalog = new WeakMap();
|
|
323
374
|
_fetchVariableTask = new WeakMap();
|
|
375
|
+
_handleQuotaError = new WeakMap();
|
|
324
376
|
_confirmDataPointWarning = new WeakSet();
|
|
325
377
|
confirmDataPointWarning_fn = function() {
|
|
326
378
|
__privateGet(this, _timeSeriesController).confirmDataPointWarning();
|
|
@@ -602,12 +654,37 @@ timeseries`,
|
|
|
602
654
|
}, 500);
|
|
603
655
|
});
|
|
604
656
|
};
|
|
657
|
+
_handlePlotRelayout = new WeakSet();
|
|
658
|
+
handlePlotRelayout_fn = function(e) {
|
|
659
|
+
let changed = false;
|
|
660
|
+
if (e.detail.xAxisMin) {
|
|
661
|
+
this.startDate = formatDate(e.detail.xAxisMin);
|
|
662
|
+
changed = true;
|
|
663
|
+
}
|
|
664
|
+
if (e.detail.xAxisMax) {
|
|
665
|
+
this.endDate = formatDate(e.detail.xAxisMax);
|
|
666
|
+
changed = true;
|
|
667
|
+
}
|
|
668
|
+
if (changed) {
|
|
669
|
+
this.dispatchEvent(
|
|
670
|
+
new CustomEvent("terra-date-range-change", {
|
|
671
|
+
detail: {
|
|
672
|
+
startDate: this.startDate,
|
|
673
|
+
endDate: this.endDate
|
|
674
|
+
},
|
|
675
|
+
bubbles: true,
|
|
676
|
+
composed: true
|
|
677
|
+
})
|
|
678
|
+
);
|
|
679
|
+
}
|
|
680
|
+
};
|
|
605
681
|
TerraTimeSeries.styles = [component_styles_default, time_series_styles_default];
|
|
606
682
|
TerraTimeSeries.dependencies = {
|
|
607
683
|
"terra-plot": TerraPlot,
|
|
608
684
|
"terra-loader": TerraLoader,
|
|
609
685
|
"terra-icon": TerraIcon,
|
|
610
|
-
"terra-button": TerraButton
|
|
686
|
+
"terra-button": TerraButton,
|
|
687
|
+
"terra-alert": TerraAlert
|
|
611
688
|
};
|
|
612
689
|
__decorateClass([
|
|
613
690
|
property({ attribute: "variable-entry-id", reflect: true })
|
|
@@ -647,6 +724,9 @@ __decorateClass([
|
|
|
647
724
|
__decorateClass([
|
|
648
725
|
state()
|
|
649
726
|
], TerraTimeSeries.prototype, "catalogVariable", 2);
|
|
727
|
+
__decorateClass([
|
|
728
|
+
state()
|
|
729
|
+
], TerraTimeSeries.prototype, "quotaExceededOpen", 2);
|
|
650
730
|
__decorateClass([
|
|
651
731
|
state()
|
|
652
732
|
], TerraTimeSeries.prototype, "showDataPointWarning", 2);
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TerraVariableCombobox
|
|
3
|
-
} from "./chunk.
|
|
4
|
-
import {
|
|
5
|
-
TerraSpatialPicker
|
|
6
|
-
} from "./chunk.RPLQHZS6.js";
|
|
3
|
+
} from "./chunk.JPOLIW2G.js";
|
|
7
4
|
import {
|
|
8
5
|
TerraTimeSeries
|
|
9
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.XDOWEUX7.js";
|
|
10
7
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./chunk.
|
|
8
|
+
TerraSpatialPicker
|
|
9
|
+
} from "./chunk.7XDBDSRE.js";
|
|
13
10
|
import {
|
|
14
11
|
data_rods_styles_default
|
|
15
12
|
} from "./chunk.DLDCSRJP.js";
|
|
16
13
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./chunk.5LNGPR44.js";
|
|
14
|
+
TerraDateRangeSlider
|
|
15
|
+
} from "./chunk.4ZVV7AJM.js";
|
|
20
16
|
import {
|
|
21
17
|
GiovanniVariableCatalog
|
|
22
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.HFD6TPE6.js";
|
|
23
19
|
import {
|
|
24
20
|
getUTCDate
|
|
25
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.KMN7L6QZ.js";
|
|
22
|
+
import {
|
|
23
|
+
TerraElement,
|
|
24
|
+
component_styles_default
|
|
25
|
+
} from "./chunk.Y4EIAFP6.js";
|
|
26
26
|
import {
|
|
27
27
|
__decorateClass,
|
|
28
28
|
__privateAdd,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
import { property, state } from "lit/decorators.js";
|
|
35
35
|
import { html } from "lit";
|
|
36
36
|
import { Task } from "@lit/task";
|
|
37
|
-
var _catalog, _fetchVariableTask, _getVariableEntryId, getVariableEntryId_fn, _handleDateRangeSliderChangeEvent, handleDateRangeSliderChangeEvent_fn, _handleVariableChange, handleVariableChange_fn, _handleMapChange, handleMapChange_fn;
|
|
37
|
+
var _catalog, _fetchVariableTask, _getVariableEntryId, getVariableEntryId_fn, _handleDateRangeSliderChangeEvent, handleDateRangeSliderChangeEvent_fn, _handleVariableChange, handleVariableChange_fn, _handleMapChange, handleMapChange_fn, _handleTimeSeriesDateRangeChange, handleTimeSeriesDateRangeChange_fn;
|
|
38
38
|
var TerraDataRods = class extends TerraElement {
|
|
39
39
|
constructor() {
|
|
40
40
|
super(...arguments);
|
|
@@ -45,6 +45,7 @@ var TerraDataRods = class extends TerraElement {
|
|
|
45
45
|
__privateAdd(this, _handleDateRangeSliderChangeEvent);
|
|
46
46
|
__privateAdd(this, _handleVariableChange);
|
|
47
47
|
__privateAdd(this, _handleMapChange);
|
|
48
|
+
__privateAdd(this, _handleTimeSeriesDateRangeChange);
|
|
48
49
|
__privateAdd(this, _catalog, new GiovanniVariableCatalog());
|
|
49
50
|
// @ts-expect-error
|
|
50
51
|
__privateAdd(this, _fetchVariableTask, new Task(this, {
|
|
@@ -95,6 +96,7 @@ var TerraDataRods = class extends TerraElement {
|
|
|
95
96
|
end-date=${this.endDate}
|
|
96
97
|
location=${this.location}
|
|
97
98
|
bearer-token=${this.bearerToken}
|
|
99
|
+
@terra-date-range-change=${__privateMethod(this, _handleTimeSeriesDateRangeChange, handleTimeSeriesDateRangeChange_fn)}
|
|
98
100
|
></terra-time-series>
|
|
99
101
|
|
|
100
102
|
<terra-date-range-slider
|
|
@@ -135,6 +137,11 @@ handleMapChange_fn = function(event) {
|
|
|
135
137
|
this.location = `${latLng.lat.toFixed(4)},${latLng.lng.toFixed(4)}`;
|
|
136
138
|
}
|
|
137
139
|
};
|
|
140
|
+
_handleTimeSeriesDateRangeChange = new WeakSet();
|
|
141
|
+
handleTimeSeriesDateRangeChange_fn = function(event) {
|
|
142
|
+
this.startDate = event.detail.startDate;
|
|
143
|
+
this.endDate = event.detail.endDate;
|
|
144
|
+
};
|
|
138
145
|
TerraDataRods.styles = [component_styles_default, data_rods_styles_default];
|
|
139
146
|
TerraDataRods.dependencies = {
|
|
140
147
|
"terra-time-series": TerraTimeSeries,
|
|
@@ -360,7 +360,7 @@ var TerraElement = class extends LitElement {
|
|
|
360
360
|
};
|
|
361
361
|
/* eslint-disable */
|
|
362
362
|
// @ts-expect-error This is auto-injected at build time.
|
|
363
|
-
TerraElement.version = "0.0.
|
|
363
|
+
TerraElement.version = "0.0.54";
|
|
364
364
|
TerraElement.dependencies = {};
|
|
365
365
|
__decorateClass([
|
|
366
366
|
property()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TerraTimeSeries
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.XDOWEUX7.js";
|
|
4
4
|
|
|
5
5
|
// src/react/time-series/index.ts
|
|
6
6
|
import * as React from "react";
|
|
@@ -13,6 +13,7 @@ var reactWrapper = createComponent({
|
|
|
13
13
|
elementClass: TerraTimeSeries,
|
|
14
14
|
react: React,
|
|
15
15
|
events: {
|
|
16
|
+
onTerraDateRangeChange: "terra-date-range-change",
|
|
16
17
|
onTerraTimeSeriesDataChange: "terra-time-series-data-change"
|
|
17
18
|
},
|
|
18
19
|
displayName: "TerraTimeSeries"
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
date_picker_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.TQWLVZHQ.js";
|
|
4
|
+
import {
|
|
5
|
+
TerraButton
|
|
6
|
+
} from "./chunk.JGD6YWMX.js";
|
|
4
7
|
import {
|
|
5
8
|
TerraElement,
|
|
6
9
|
component_styles_default
|
|
7
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.Y4EIAFP6.js";
|
|
8
11
|
import {
|
|
9
12
|
__decorateClass
|
|
10
13
|
} from "./chunk.TVFCHGU3.js";
|
|
@@ -33,6 +36,9 @@ var TerraDatePicker = class extends TerraElement {
|
|
|
33
36
|
}
|
|
34
37
|
firstUpdated() {
|
|
35
38
|
this.flatpickrElement.addEventListener("change", this.handleChange.bind(this));
|
|
39
|
+
setTimeout(() => {
|
|
40
|
+
this.flatpickrElement.shadowRoot.querySelector("input").addEventListener("blur", this.handleBlur.bind(this));
|
|
41
|
+
}, 250);
|
|
36
42
|
}
|
|
37
43
|
handleChange(selectedDates) {
|
|
38
44
|
var _a, _b;
|
|
@@ -42,6 +48,9 @@ var TerraDatePicker = class extends TerraElement {
|
|
|
42
48
|
};
|
|
43
49
|
this.emit("terra-change");
|
|
44
50
|
}
|
|
51
|
+
handleBlur() {
|
|
52
|
+
this.handleChange(this.flatpickrElement._instance.selectedDates);
|
|
53
|
+
}
|
|
45
54
|
render() {
|
|
46
55
|
return html`
|
|
47
56
|
<div class="date-picker">
|
|
@@ -59,7 +68,7 @@ var TerraDatePicker = class extends TerraElement {
|
|
|
59
68
|
.maxDate=${this.maxDate}
|
|
60
69
|
.defaultDate=${this.range ? [this.startDate, this.endDate].filter(
|
|
61
70
|
Boolean
|
|
62
|
-
) : this.
|
|
71
|
+
) : this.defaultDate}
|
|
63
72
|
.allowInput=${this.allowInput}
|
|
64
73
|
.altFormat=${this.altFormat}
|
|
65
74
|
.altInput=${this.altInput}
|
|
@@ -74,10 +83,12 @@ var TerraDatePicker = class extends TerraElement {
|
|
|
74
83
|
theme="material_blue"
|
|
75
84
|
.onChange="${this.handleChange.bind(this)}"
|
|
76
85
|
></lit-flatpickr>
|
|
77
|
-
<button
|
|
86
|
+
<terra-button
|
|
87
|
+
shape="square-left"
|
|
88
|
+
size="medium"
|
|
78
89
|
class="date-picker__input_icon_button"
|
|
79
|
-
type="button"
|
|
80
90
|
@click=${() => this.flatpickrElement.open()}
|
|
91
|
+
type="button"
|
|
81
92
|
>
|
|
82
93
|
<svg
|
|
83
94
|
xmlns="http://www.w3.org/2000/svg"
|
|
@@ -93,13 +104,16 @@ var TerraDatePicker = class extends TerraElement {
|
|
|
93
104
|
d="M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 7.5v11.25m-18 0A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75m-18 0v-7.5A2.25 2.25 0 015.25 9h13.5A2.25 2.25 0 0121 11.25v7.5"
|
|
94
105
|
/>
|
|
95
106
|
</svg>
|
|
96
|
-
</button>
|
|
107
|
+
</terra-button>
|
|
97
108
|
</div>
|
|
98
109
|
</div>
|
|
99
110
|
`;
|
|
100
111
|
}
|
|
101
112
|
};
|
|
102
113
|
TerraDatePicker.styles = [component_styles_default, date_picker_styles_default];
|
|
114
|
+
TerraDatePicker.dependencies = {
|
|
115
|
+
"terra-button": TerraButton
|
|
116
|
+
};
|
|
103
117
|
__decorateClass([
|
|
104
118
|
property()
|
|
105
119
|
], TerraDatePicker.prototype, "id", 2);
|
|
@@ -118,6 +132,9 @@ __decorateClass([
|
|
|
118
132
|
__decorateClass([
|
|
119
133
|
property({ attribute: "end-date" })
|
|
120
134
|
], TerraDatePicker.prototype, "endDate", 2);
|
|
135
|
+
__decorateClass([
|
|
136
|
+
property({ attribute: "default-date" })
|
|
137
|
+
], TerraDatePicker.prototype, "defaultDate", 2);
|
|
121
138
|
__decorateClass([
|
|
122
139
|
property({ type: Boolean, attribute: "allow-input" })
|
|
123
140
|
], TerraDatePicker.prototype, "allowInput", 2);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TerraAlert
|
|
3
|
+
} from "./chunk.VQG6E5PN.js";
|
|
4
|
+
|
|
5
|
+
// src/react/alert/index.ts
|
|
6
|
+
import * as React from "react";
|
|
7
|
+
import { createComponent } from "@lit/react";
|
|
8
|
+
import "@lit/react";
|
|
9
|
+
var tagName = "terra-alert";
|
|
10
|
+
TerraAlert.define("terra-alert");
|
|
11
|
+
var reactWrapper = createComponent({
|
|
12
|
+
tagName,
|
|
13
|
+
elementClass: TerraAlert,
|
|
14
|
+
react: React,
|
|
15
|
+
events: {
|
|
16
|
+
onTerraShow: "terra-show",
|
|
17
|
+
onTerraAfterShow: "terra-after-show",
|
|
18
|
+
onTerraHide: "terra-hide",
|
|
19
|
+
onTerraAfterHide: "terra-after-hide"
|
|
20
|
+
},
|
|
21
|
+
displayName: "TerraAlert"
|
|
22
|
+
});
|
|
23
|
+
var alert_default = reactWrapper;
|
|
24
|
+
|
|
25
|
+
export {
|
|
26
|
+
alert_default
|
|
27
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// src/components/accordion/accordion.styles.ts
|
|
2
|
+
import { css } from "lit";
|
|
3
|
+
var accordion_styles_default = css`
|
|
4
|
+
:host {
|
|
5
|
+
display: block;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.accordion {
|
|
9
|
+
background: #fff;
|
|
10
|
+
margin-bottom: 1rem;
|
|
11
|
+
border: 1px solid rgb(222, 226, 230);
|
|
12
|
+
border-radius: 6px;
|
|
13
|
+
background: white;
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.accordion-summary {
|
|
18
|
+
background: #f8f9fa;
|
|
19
|
+
padding: 12px 15px;
|
|
20
|
+
border-bottom: 1px solid #dee2e6;
|
|
21
|
+
font-size: 0.95rem;
|
|
22
|
+
font-weight: 500;
|
|
23
|
+
color: #374151;
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
outline: none;
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
justify-content: space-between;
|
|
29
|
+
gap: 1rem;
|
|
30
|
+
transition: background-color 0.2s;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.accordion-summary:hover {
|
|
34
|
+
background: #e9ecef;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.accordion-summary-right {
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: flex-end;
|
|
40
|
+
gap: 10px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.accordion-summary terra-icon {
|
|
44
|
+
transition: transform 0.2s ease;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
:host([open]) .accordion-summary terra-icon {
|
|
48
|
+
transform: rotate(180deg);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.accordion-content {
|
|
52
|
+
padding: 1rem;
|
|
53
|
+
}
|
|
54
|
+
`;
|
|
55
|
+
|
|
56
|
+
export {
|
|
57
|
+
accordion_styles_default
|
|
58
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import TerraElement from '../../internal/terra-element.js';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
import TerraIcon from '../icon/icon.component.js';
|
|
4
|
+
/**
|
|
5
|
+
* @summary A collapsible content panel for showing and hiding content.
|
|
6
|
+
* @documentation https://disc.gsfc.nasa.gov/components/accordion
|
|
7
|
+
* @status experimental
|
|
8
|
+
* @since 1.0
|
|
9
|
+
*
|
|
10
|
+
* The TerraAccordion component provides a simple, accessible way to show and hide content. It uses native <details> and <summary> elements for built-in accessibility and keyboard support. The summary/header can be set via the `summary` property for simple text, or via a named `summary` slot for custom content (such as icons or rich HTML). The open state can be controlled with the `open` property, which is reflected as an attribute.
|
|
11
|
+
*
|
|
12
|
+
* @slot - The default slot for accordion content.
|
|
13
|
+
* @slot summary - The summary/header for the accordion (optional, overrides summary property)
|
|
14
|
+
*
|
|
15
|
+
* @property {string} summary - The summary/header for the accordion. Use the property for simple text, or the slot for custom content.
|
|
16
|
+
* @property {boolean} open - Whether the accordion is open or not. This property is reflected as an attribute and can be controlled programmatically or by user interaction.
|
|
17
|
+
*
|
|
18
|
+
* @dependency terra-icon
|
|
19
|
+
*/
|
|
20
|
+
export default class TerraAccordion extends TerraElement {
|
|
21
|
+
static styles: CSSResultGroup;
|
|
22
|
+
static dependencies: {
|
|
23
|
+
'terra-icon': typeof TerraIcon;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* The summary/header for the accordion. You can either set this property for a simple string summary,
|
|
27
|
+
* or provide a <span slot="summary">...</span> for more advanced content (e.g., rich HTML, icons).
|
|
28
|
+
*/
|
|
29
|
+
summary?: string;
|
|
30
|
+
/** whether the accordion is open or not */
|
|
31
|
+
open: boolean;
|
|
32
|
+
showArrow: boolean;
|
|
33
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
34
|
+
private handleToggle;
|
|
35
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TerraAccordion
|
|
3
|
+
} from "../../chunks/chunk.VGZJOJYI.js";
|
|
4
|
+
import "../../chunks/chunk.FQNMT3RC.js";
|
|
5
|
+
import "../../chunks/chunk.7VUSSQRI.js";
|
|
6
|
+
import "../../chunks/chunk.UA5HHAYZ.js";
|
|
7
|
+
import "../../chunks/chunk.UOCDT7HQ.js";
|
|
8
|
+
import "../../chunks/chunk.UCNEPIMI.js";
|
|
9
|
+
import "../../chunks/chunk.NQKBKXPW.js";
|
|
10
|
+
import "../../chunks/chunk.Z3GLEDYM.js";
|
|
11
|
+
import "../../chunks/chunk.SK7IZCKP.js";
|
|
12
|
+
import "../../chunks/chunk.Y4EIAFP6.js";
|
|
13
|
+
import "../../chunks/chunk.TVFCHGU3.js";
|
|
14
|
+
export {
|
|
15
|
+
TerraAccordion as default
|
|
16
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
accordion_default
|
|
3
|
+
} from "../../chunks/chunk.DUGD5OIQ.js";
|
|
4
|
+
import "../../chunks/chunk.VGZJOJYI.js";
|
|
5
|
+
import "../../chunks/chunk.FQNMT3RC.js";
|
|
6
|
+
import "../../chunks/chunk.7VUSSQRI.js";
|
|
7
|
+
import "../../chunks/chunk.UA5HHAYZ.js";
|
|
8
|
+
import "../../chunks/chunk.UOCDT7HQ.js";
|
|
9
|
+
import "../../chunks/chunk.UCNEPIMI.js";
|
|
10
|
+
import "../../chunks/chunk.NQKBKXPW.js";
|
|
11
|
+
import "../../chunks/chunk.Z3GLEDYM.js";
|
|
12
|
+
import "../../chunks/chunk.SK7IZCKP.js";
|
|
13
|
+
import "../../chunks/chunk.Y4EIAFP6.js";
|
|
14
|
+
import "../../chunks/chunk.TVFCHGU3.js";
|
|
15
|
+
export {
|
|
16
|
+
accordion_default as default
|
|
17
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import TerraElement from '../../internal/terra-element.js';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary Alerts are used to display important messages inline or as toast notifications.
|
|
5
|
+
* @documentation https://shoelace.style/components/alert
|
|
6
|
+
* @status stable
|
|
7
|
+
* @since 2.0
|
|
8
|
+
*
|
|
9
|
+
* @slot - The alert's main content.
|
|
10
|
+
*
|
|
11
|
+
* @event terra-show - Emitted when the alert opens.
|
|
12
|
+
* @event terra-after-show - Emitted after the alert opens and all animations are complete.
|
|
13
|
+
* @event terra-hide - Emitted when the alert closes.
|
|
14
|
+
* @event terra-after-hide - Emitted after the alert closes and all animations are complete.
|
|
15
|
+
*
|
|
16
|
+
* @csspart base - The component's base wrapper.
|
|
17
|
+
* @csspart icon - The container that wraps the optional icon.
|
|
18
|
+
* @csspart message - The container that wraps the alert's main content.
|
|
19
|
+
*
|
|
20
|
+
* @animation alert.show - The animation to use when showing the alert.
|
|
21
|
+
* @animation alert.hide - The animation to use when hiding the alert.
|
|
22
|
+
*/
|
|
23
|
+
export default class TerraAlert extends TerraElement {
|
|
24
|
+
static styles: CSSResultGroup;
|
|
25
|
+
private autoHideTimeout;
|
|
26
|
+
private remainingTimeInterval;
|
|
27
|
+
private countdownAnimation?;
|
|
28
|
+
private readonly hasSlotController;
|
|
29
|
+
private static currentToastStack;
|
|
30
|
+
private static get toastStack();
|
|
31
|
+
base: HTMLElement;
|
|
32
|
+
countdownElement: HTMLElement;
|
|
33
|
+
/**
|
|
34
|
+
* Indicates whether or not the alert is open. You can toggle this attribute to show and hide the alert, or you can
|
|
35
|
+
* use the `show()` and `hide()` methods and this attribute will reflect the alert's open state.
|
|
36
|
+
*/
|
|
37
|
+
open: boolean;
|
|
38
|
+
/** Enables a close button that allows the user to dismiss the alert. */
|
|
39
|
+
closable: boolean;
|
|
40
|
+
/** The alert's theme variant. */
|
|
41
|
+
variant: 'primary' | 'success' | 'neutral' | 'warning' | 'danger';
|
|
42
|
+
/**
|
|
43
|
+
* The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with
|
|
44
|
+
* the alert before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning
|
|
45
|
+
* the alert will not close on its own.
|
|
46
|
+
*/
|
|
47
|
+
duration: number;
|
|
48
|
+
/**
|
|
49
|
+
* Enables a countdown that indicates the remaining time the alert will be displayed.
|
|
50
|
+
* Typically used to indicate the remaining time before a whole app refresh.
|
|
51
|
+
*/
|
|
52
|
+
countdown?: 'rtl' | 'ltr';
|
|
53
|
+
private remainingTime;
|
|
54
|
+
firstUpdated(): void;
|
|
55
|
+
private restartAutoHide;
|
|
56
|
+
private pauseAutoHide;
|
|
57
|
+
private resumeAutoHide;
|
|
58
|
+
private handleCountdownChange;
|
|
59
|
+
private handleCloseClick;
|
|
60
|
+
handleOpenChange(): Promise<void>;
|
|
61
|
+
handleDurationChange(): void;
|
|
62
|
+
/** Shows the alert. */
|
|
63
|
+
show(): Promise<void>;
|
|
64
|
+
/** Hides the alert */
|
|
65
|
+
hide(): Promise<void>;
|
|
66
|
+
/**
|
|
67
|
+
* Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when
|
|
68
|
+
* dismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by
|
|
69
|
+
* calling this method again. The returned promise will resolve after the alert is hidden.
|
|
70
|
+
*/
|
|
71
|
+
toast(): Promise<void>;
|
|
72
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
73
|
+
}
|