@nasa-terra/components 0.0.68 → 0.0.69
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.TJWGQR3Y.js → chunk.3FZ6AEEA.js} +2 -2
- package/cdn/chunks/{chunk.UA57XIMB.js → chunk.3JI4ZASI.js} +1 -1
- package/cdn/chunks/{chunk.LZSKCTIU.js → chunk.3SQ33WJL.js} +6 -6
- package/cdn/chunks/{chunk.HP52P3QK.js → chunk.4IJQVKJY.js} +1 -1
- package/cdn/chunks/{chunk.EPQBAMGN.js → chunk.4JJYLS5O.js} +1 -1
- package/cdn/chunks/{chunk.LF5NNQDS.js → chunk.4NJFWJSE.js} +1 -1
- package/cdn/chunks/{chunk.CGIR4OSR.js → chunk.55LGBI57.js} +1 -1
- package/cdn/chunks/{chunk.ELVU6MXJ.js → chunk.5FAYR3PP.js} +1 -1
- package/cdn/chunks/{chunk.YMKCGXI7.js → chunk.5IAG4NBE.js} +1 -1
- package/cdn/chunks/{chunk.42OJJSTJ.js → chunk.5IC6HAC4.js} +12 -12
- package/cdn/chunks/{chunk.7OS7YKP4.js → chunk.5OGMADCK.js} +1 -1
- package/cdn/chunks/{chunk.JIGZ6E5V.js → chunk.62Z55X5S.js} +1 -1
- package/cdn/chunks/{chunk.XQNQJ73Y.js → chunk.6LUTXGKW.js} +7 -7
- package/cdn/chunks/{chunk.PDAOAQE4.js → chunk.6XY3FOMX.js} +5 -5
- package/cdn/chunks/{chunk.267X6M4K.js → chunk.73KDDHAO.js} +1 -1
- package/cdn/chunks/{chunk.SJHEJ7W7.js → chunk.7DLSKRXG.js} +1 -1
- package/cdn/chunks/{chunk.SJYXIRDX.js → chunk.7KKYYPTM.js} +1 -1
- package/cdn/chunks/{chunk.VGHXDEZO.js → chunk.7XRTJKVT.js} +1 -1
- package/cdn/chunks/{chunk.XKNIRUTP.js → chunk.B3D77BQY.js} +4 -4
- package/cdn/chunks/{chunk.BXZG34AL.js → chunk.BMOKXC64.js} +1 -1
- package/cdn/chunks/{chunk.LF2YS25X.js → chunk.BXQBOSBQ.js} +5 -5
- package/cdn/chunks/{chunk.Z5SQ4THO.js → chunk.CA5KUDEK.js} +1 -1
- package/cdn/chunks/{chunk.SLDPYP3J.js → chunk.CJDPXSOE.js} +1 -1
- package/cdn/chunks/{chunk.5KFA2A5F.js → chunk.DVCD6CI3.js} +1 -1
- package/cdn/chunks/{chunk.I2VFSA6U.js → chunk.E4AHIY7H.js} +1 -1
- package/cdn/chunks/{chunk.VYDVYEG6.js → chunk.F3KEUZZJ.js} +1 -1
- package/cdn/chunks/{chunk.U7VIR3OC.js → chunk.FCI4XD47.js} +8 -8
- package/cdn/chunks/{chunk.DKQUCHXW.js → chunk.FDBCRQUW.js} +1 -1
- package/cdn/chunks/{chunk.NT4JROIJ.js → chunk.H4M7ZCA7.js} +1 -1
- package/cdn/chunks/{chunk.5IYUIO2L.js → chunk.HCCWZHVO.js} +1 -1
- package/cdn/chunks/{chunk.BDUFTI77.js → chunk.HNZF3Q35.js} +1 -1
- package/cdn/chunks/{chunk.MN7UEWGN.js → chunk.I6RVBJLO.js} +1 -1
- package/cdn/chunks/{chunk.3NBSKUOT.js → chunk.ICVZZZVO.js} +1 -1
- package/cdn/chunks/{chunk.F26HLQPA.js → chunk.II2ED6UA.js} +4 -4
- package/cdn/chunks/{chunk.F6FOZL2X.js → chunk.IOD5Z3JD.js} +1 -1
- package/cdn/chunks/{chunk.FT6FCCXU.js → chunk.IYBWQUJZ.js} +6 -6
- package/cdn/chunks/{chunk.YNJENG4F.js → chunk.JMHRTVJH.js} +1 -1
- package/cdn/chunks/{chunk.UEDKVSIH.js → chunk.JR4LSDMW.js} +1 -1
- package/cdn/chunks/{chunk.VDOKMZL7.js → chunk.JTUBHUKA.js} +5 -5
- package/cdn/chunks/{chunk.SX6OLRTC.js → chunk.KFVXZS3X.js} +11 -11
- package/cdn/chunks/{chunk.563FCLVE.js → chunk.KGLHY4PU.js} +1 -1
- package/cdn/chunks/{chunk.37HJNI4K.js → chunk.KNB73C5F.js} +7 -7
- package/cdn/chunks/{chunk.MB27YSID.js → chunk.L2AOHBBQ.js} +1 -1
- package/cdn/chunks/{chunk.LRHEF6JN.js → chunk.L2ZNA62Y.js} +1 -1
- package/cdn/chunks/{chunk.ZNKT2Q6X.js → chunk.LFAGYZ3O.js} +2 -2
- package/cdn/chunks/{chunk.J5OQO7FQ.js → chunk.LNEFGXPD.js} +1 -1
- package/cdn/chunks/{chunk.UHOMZS5K.js → chunk.LP7NLHLL.js} +17 -17
- package/cdn/chunks/{chunk.ZBRNWBWX.js → chunk.M4EODEDC.js} +1 -1
- package/cdn/chunks/{chunk.HMS35ZFE.js → chunk.MUYS3VLW.js} +1 -1
- package/cdn/chunks/{chunk.KFMZHBMX.js → chunk.NGAJRQJB.js} +1 -1
- package/cdn/chunks/{chunk.UMT2LQ4W.js → chunk.NQLMKYED.js} +1 -1
- package/cdn/chunks/{chunk.RJR6I3VL.js → chunk.NYDLL72U.js} +1 -1
- package/cdn/chunks/{chunk.ZAROXC53.js → chunk.OLYROLKH.js} +1 -1
- package/cdn/chunks/{chunk.7MLJ7J6F.js → chunk.OMW7ULTP.js} +1 -1
- package/cdn/chunks/{chunk.2O6ZLP2H.js → chunk.OSXIXZKE.js} +1 -1
- package/cdn/chunks/{chunk.H4KNN2HU.js → chunk.PLLTEKKU.js} +1 -1
- package/cdn/chunks/{chunk.HVXUUXZ7.js → chunk.RJBYTRM2.js} +4 -4
- package/cdn/chunks/{chunk.RF7RG72G.js → chunk.SJ7O6QI3.js} +1 -1
- package/cdn/chunks/{chunk.ZZMMULOM.js → chunk.TSU53YSH.js} +1 -1
- package/cdn/chunks/{chunk.UO6SHH3I.js → chunk.U243QYHF.js} +1 -1
- package/cdn/chunks/{chunk.T33FEXFP.js → chunk.UAC2MIRZ.js} +10 -10
- package/cdn/chunks/{chunk.2UTYN7TH.js → chunk.VBKBOPQR.js} +1 -1
- package/cdn/chunks/{chunk.UKT47BLY.js → chunk.VKXE3YUS.js} +2 -2
- package/cdn/chunks/{chunk.YQRTSELX.js → chunk.VNCMA65E.js} +1 -1
- package/cdn/chunks/{chunk.BLILGPHT.js → chunk.WEEDF4SQ.js} +8 -8
- package/cdn/chunks/{chunk.A5QNIXR4.js → chunk.WIHL6X6I.js} +1 -1
- package/cdn/chunks/{chunk.WXFIXIOS.js → chunk.WJGGDK46.js} +1 -1
- package/cdn/chunks/{chunk.DLTRS5SJ.js → chunk.WOERWJEG.js} +1 -1
- package/cdn/chunks/{chunk.QI3YAMIR.js → chunk.WWFZDE2Z.js} +1 -1
- package/cdn/chunks/{chunk.7TSM56FT.js → chunk.X3DN6UYC.js} +1 -1
- package/cdn/chunks/{chunk.TU7POBNP.js → chunk.XR5EZIHP.js} +1 -1
- package/cdn/chunks/{chunk.6YSGUTCT.js → chunk.YIEN3BZP.js} +1 -1
- package/cdn/chunks/{chunk.PX3KFYMT.js → chunk.YRVGQ5QO.js} +1 -1
- package/cdn/chunks/{chunk.Z3FCGMJE.js → chunk.YUZHTH3D.js} +1 -1
- package/cdn/chunks/{chunk.QVPRK545.js → chunk.ZB4I7IRN.js} +2 -2
- package/cdn/chunks/{chunk.4RM2EJEW.js → chunk.ZKDNJM5P.js} +4 -4
- package/cdn/chunks/{chunk.VUJ26IHB.js → chunk.ZW5L75IK.js} +1 -1
- package/cdn/components/accordion/accordion.component.js +5 -5
- package/cdn/components/accordion/accordion.js +6 -6
- package/cdn/components/alert/alert.component.js +3 -3
- package/cdn/components/alert/alert.js +4 -4
- package/cdn/components/browse-variables/browse-variables.component.js +17 -17
- package/cdn/components/browse-variables/browse-variables.controller.js +1 -1
- package/cdn/components/browse-variables/browse-variables.js +18 -18
- package/cdn/components/button/button.component.js +2 -2
- package/cdn/components/button/button.js +3 -3
- 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.js +31 -31
- package/cdn/components/data-rods/data-rods.js +32 -32
- package/cdn/components/data-subsetter/data-subsetter.component.js +23 -23
- package/cdn/components/data-subsetter/data-subsetter.controller.js +2 -2
- package/cdn/components/data-subsetter/data-subsetter.js +24 -24
- package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +25 -25
- package/cdn/components/data-subsetter-history/data-subsetter-history.js +26 -26
- package/cdn/components/date-picker/date-picker.component.js +3 -3
- package/cdn/components/date-picker/date-picker.js +4 -4
- package/cdn/components/date-range-slider/date-range-slider.component.js +3 -3
- package/cdn/components/date-range-slider/date-range-slider.js +4 -4
- package/cdn/components/dialog/dialog.component.js +2 -2
- package/cdn/components/dialog/dialog.js +3 -3
- package/cdn/components/icon/icon.component.js +3 -3
- package/cdn/components/icon/icon.js +4 -4
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/login/login.component.js +13 -13
- package/cdn/components/login/login.js +14 -14
- package/cdn/components/map/map.component.js +4 -4
- package/cdn/components/map/map.js +5 -5
- package/cdn/components/plot/plot.component.js +3 -3
- package/cdn/components/plot/plot.js +4 -4
- package/cdn/components/plot-toolbar/plot-toolbar.component.js +10 -10
- package/cdn/components/plot-toolbar/plot-toolbar.js +11 -11
- 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.js +5 -5
- package/cdn/components/spatial-picker/spatial-picker.js +6 -6
- package/cdn/components/time-average-map/time-average-map.component.js +14 -14
- package/cdn/components/time-average-map/time-average-map.controller.js +2 -2
- package/cdn/components/time-average-map/time-average-map.js +15 -15
- package/cdn/components/time-series/time-series.component.js +19 -19
- package/cdn/components/time-series/time-series.controller.js +2 -2
- package/cdn/components/time-series/time-series.js +20 -20
- package/cdn/components/variable-combobox/lib.js +3 -3
- package/cdn/components/variable-combobox/variable-combobox.component.js +15 -15
- package/cdn/components/variable-combobox/variable-combobox.controller.js +4 -4
- package/cdn/components/variable-combobox/variable-combobox.js +16 -16
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +13 -13
- package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +1 -1
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +14 -14
- package/cdn/custom-elements.json +916 -916
- package/cdn/react/accordion/index.js +6 -6
- package/cdn/react/alert/index.js +4 -4
- package/cdn/react/browse-variables/index.js +18 -18
- package/cdn/react/button/index.js +3 -3
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +7 -7
- package/cdn/react/data-rods/index.js +32 -32
- package/cdn/react/data-subsetter/index.js +24 -24
- package/cdn/react/data-subsetter-history/index.js +26 -26
- package/cdn/react/date-picker/index.js +4 -4
- package/cdn/react/date-range-slider/index.js +4 -4
- package/cdn/react/dialog/index.js +3 -3
- package/cdn/react/icon/index.js +4 -4
- package/cdn/react/index.d.ts +5 -5
- package/cdn/react/index.js +92 -92
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +14 -14
- package/cdn/react/map/index.js +5 -5
- package/cdn/react/plot/index.js +4 -4
- package/cdn/react/plot-toolbar/index.js +11 -11
- package/cdn/react/skeleton/index.js +7 -7
- package/cdn/react/spatial-picker/index.js +6 -6
- package/cdn/react/time-average-map/index.js +15 -15
- package/cdn/react/time-series/index.js +20 -20
- package/cdn/react/variable-combobox/index.js +16 -16
- package/cdn/react/variable-keyword-search/index.js +14 -14
- package/cdn/terra-ui-components.js +94 -94
- package/cdn/types/vue/index.d.ts +86 -86
- package/cdn/utilities/animation.js +4 -4
- package/cdn/vscode.html-custom-data.json +67 -67
- package/cdn/web-types.json +170 -170
- package/dist/chunks/{chunk.NLADA7XK.js → chunk.26V7ZPS4.js} +1 -1
- package/dist/chunks/{chunk.GUYBX63F.js → chunk.2ZMKPLX6.js} +1 -1
- package/{cdn/chunks/chunk.L2M2AJ4W.js → dist/chunks/chunk.37M5YK3W.js} +1 -1
- package/dist/chunks/{chunk.TJGA66AX.js → chunk.4LKXRKXL.js} +1 -1
- package/{cdn/chunks/chunk.OBANVLY7.js → dist/chunks/chunk.4WRLOQLA.js} +1 -1
- package/{cdn/chunks/chunk.RJUTQBOV.js → dist/chunks/chunk.5JOGO4GR.js} +1 -1
- package/{cdn/chunks/chunk.RDID3JKQ.js → dist/chunks/chunk.6PSK3KPO.js} +1 -1
- package/dist/chunks/{chunk.JOTLSXEI.js → chunk.6RSLYKTT.js} +1 -1
- package/dist/chunks/{chunk.JOFHFGQP.js → chunk.6SQICGVV.js} +1 -1
- package/{cdn/chunks/chunk.OX5IY75Y.js → dist/chunks/chunk.6VUQH3BO.js} +1 -1
- package/dist/chunks/{chunk.IJC2KB5R.js → chunk.743LAY5Q.js} +1 -1
- package/dist/chunks/{chunk.LQOZT7TL.js → chunk.75O4JWZW.js} +5 -5
- package/dist/chunks/{chunk.42V23REY.js → chunk.7BTWKWFZ.js} +1 -1
- package/{cdn/chunks/chunk.YP5DVLJS.js → dist/chunks/chunk.7D4GSZCV.js} +1 -1
- package/dist/chunks/{chunk.GGRGK2NT.js → chunk.ALR4V5FX.js} +5 -5
- package/{cdn/chunks/chunk.YIP3L3SE.js → dist/chunks/chunk.ASC4SJ6R.js} +1 -1
- package/dist/chunks/{chunk.2BW4SOWQ.js → chunk.AU63C56Q.js} +1 -1
- package/{cdn/chunks/chunk.AU4MMC6N.js → dist/chunks/chunk.BCP7S3X7.js} +1 -1
- package/dist/chunks/{chunk.IFHDVWGZ.js → chunk.BNHHBTWD.js} +4 -4
- package/dist/chunks/{chunk.4SUQPJ6R.js → chunk.BP3OEUJG.js} +1 -1
- package/{cdn/chunks/chunk.RVH4PSND.js → dist/chunks/chunk.BYY32NG2.js} +7 -7
- package/{cdn/chunks/chunk.MFI2M54Y.js → dist/chunks/chunk.C2ZEQSEZ.js} +2 -2
- package/{cdn/chunks/chunk.AHGKSSSI.js → dist/chunks/chunk.CN4EXXGY.js} +5 -5
- package/dist/chunks/{chunk.5TZQDEBJ.js → chunk.D6G7W3DM.js} +1 -1
- package/{cdn/chunks/chunk.PRQ5P3TK.js → dist/chunks/chunk.DDBGX2TO.js} +1 -1
- package/{cdn/chunks/chunk.642Z3X7N.js → dist/chunks/chunk.DKFYGH3L.js} +1 -1
- package/{cdn/chunks/chunk.X7MVYC7B.js → dist/chunks/chunk.DTTIVMQV.js} +1 -1
- package/{cdn/chunks/chunk.SWDQJJ7Q.js → dist/chunks/chunk.DUBH3JNT.js} +1 -1
- package/dist/chunks/{chunk.4WKVINLB.js → chunk.EBOWM2DU.js} +1 -1
- package/{cdn/chunks/chunk.WXZHDVQ3.js → dist/chunks/chunk.EMLBLKQD.js} +1 -1
- package/{cdn/chunks/chunk.QHY2BYL4.js → dist/chunks/chunk.EYPCLMGV.js} +1 -1
- package/{cdn/chunks/chunk.PA5O6555.js → dist/chunks/chunk.FFDFWWEB.js} +1 -1
- package/dist/chunks/{chunk.2WYXDPGS.js → chunk.FKDPQ5GW.js} +1 -1
- package/{cdn/chunks/chunk.QNNEWLT7.js → dist/chunks/chunk.FMFVFTOQ.js} +1 -1
- package/{cdn/chunks/chunk.H73IKOBV.js → dist/chunks/chunk.FYR4FP7W.js} +1 -1
- package/{cdn/chunks/chunk.URKW2CME.js → dist/chunks/chunk.G2IQVPB7.js} +1 -1
- package/dist/chunks/{chunk.FF3EIVF2.js → chunk.G6IJFGY6.js} +1 -1
- package/{cdn/chunks/chunk.SRBWEFVT.js → dist/chunks/chunk.HP6ZZIC6.js} +1 -1
- package/{cdn/chunks/chunk.2OQZA3CW.js → dist/chunks/chunk.I5KW33O3.js} +1 -1
- package/dist/chunks/{chunk.4E55SLUR.js → chunk.IT3QXCNY.js} +1 -1
- package/{cdn/chunks/chunk.EBJUC35J.js → dist/chunks/chunk.JALYRVQR.js} +1 -1
- package/{cdn/chunks/chunk.ERXCYNDC.js → dist/chunks/chunk.K3KSX5PF.js} +1 -1
- package/{cdn/chunks/chunk.RBVJJWF4.js → dist/chunks/chunk.K5ZPXI35.js} +1 -1
- package/dist/chunks/{chunk.BRVCFRLF.js → chunk.K66IQUBI.js} +1 -1
- package/dist/chunks/{chunk.3H5ZUQL5.js → chunk.KLJHGS6C.js} +9 -9
- package/dist/chunks/{chunk.UDCRU3NE.js → chunk.MZ7EYOT2.js} +1 -1
- package/{cdn/chunks/chunk.64ARWPHU.js → dist/chunks/chunk.OQ6SJHS5.js} +1 -1
- package/{cdn/chunks/chunk.FNTPKP6P.js → dist/chunks/chunk.OVXHDE6T.js} +6 -6
- package/{cdn/chunks/chunk.OY5R7EVO.js → dist/chunks/chunk.P7PWPHUY.js} +1 -1
- package/dist/chunks/{chunk.PAJVTERU.js → chunk.PCMPWRYJ.js} +1 -1
- package/dist/chunks/{chunk.TSIWRLNC.js → chunk.PSD2VZSB.js} +1 -1
- package/{cdn/chunks/chunk.P6OOV5UQ.js → dist/chunks/chunk.PT4DIXWP.js} +1 -1
- package/dist/chunks/{chunk.4EIGF3E4.js → chunk.Q4R3537E.js} +3 -3
- package/dist/chunks/{chunk.MKU7QBFN.js → chunk.QFNQINHO.js} +1 -1
- package/dist/chunks/{chunk.5QKVNNUH.js → chunk.QSUL47CQ.js} +5 -5
- package/{cdn/chunks/chunk.OVUWZWWN.js → dist/chunks/chunk.R5AO3NVL.js} +3 -3
- package/{cdn/chunks/chunk.2GEN6UCO.js → dist/chunks/chunk.SKL6FUWM.js} +1 -1
- package/dist/chunks/{chunk.NQYUJ7FK.js → chunk.T23NXW3N.js} +1 -1
- package/{cdn/chunks/chunk.2LGINANI.js → dist/chunks/chunk.TNBSVB25.js} +1 -1
- package/dist/chunks/{chunk.H2UQBMCX.js → chunk.US5SMFVR.js} +1 -1
- package/dist/chunks/{chunk.A7GHUUVY.js → chunk.V4PVPKFS.js} +1 -1
- package/dist/chunks/{chunk.GL5HOXON.js → chunk.VAPVESWR.js} +1 -1
- package/{cdn/chunks/chunk.JHEFOGNL.js → dist/chunks/chunk.VKLXRQIG.js} +1 -1
- package/{cdn/chunks/chunk.3XJ5QNGT.js → dist/chunks/chunk.W3ASID7S.js} +1 -1
- package/dist/chunks/{chunk.2AIVKD54.js → chunk.W3JGEHKY.js} +1 -1
- package/dist/chunks/{chunk.Y7ZED6A4.js → chunk.WFNNFLKW.js} +1 -1
- package/dist/chunks/{chunk.B6JXOXP5.js → chunk.WKZGPPFO.js} +13 -13
- package/dist/chunks/{chunk.MEMNTMV2.js → chunk.WUERN5LU.js} +2 -2
- package/dist/chunks/{chunk.L7RNO3FR.js → chunk.XHROUW2S.js} +1 -1
- package/{cdn/chunks/chunk.CA2ZDE2M.js → dist/chunks/chunk.YS4V4GNL.js} +1 -1
- package/dist/chunks/{chunk.GQRGC6YW.js → chunk.Z47GILML.js} +1 -1
- package/{cdn/chunks/chunk.ADFWUZLL.js → dist/chunks/chunk.Z5RZBPUO.js} +1 -1
- package/dist/chunks/{chunk.YMHBYV33.js → chunk.Z73RODDQ.js} +10 -10
- package/dist/chunks/{chunk.HUX2RF6U.js → chunk.ZOOMTF4P.js} +1 -1
- package/dist/components/accordion/accordion.component.js +4 -4
- package/dist/components/accordion/accordion.js +5 -5
- package/dist/components/alert/alert.component.js +3 -3
- package/dist/components/alert/alert.js +4 -4
- package/dist/components/browse-variables/browse-variables.component.js +11 -11
- package/dist/components/browse-variables/browse-variables.js +12 -12
- package/dist/components/button/button.component.js +2 -2
- package/dist/components/button/button.js +3 -3
- 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.js +22 -22
- package/dist/components/data-rods/data-rods.js +23 -23
- package/dist/components/data-subsetter/data-subsetter.component.js +17 -17
- package/dist/components/data-subsetter/data-subsetter.js +18 -18
- package/dist/components/data-subsetter-history/data-subsetter-history.component.js +19 -19
- package/dist/components/data-subsetter-history/data-subsetter-history.js +20 -20
- package/dist/components/date-picker/date-picker.component.js +3 -3
- package/dist/components/date-picker/date-picker.js +4 -4
- package/dist/components/date-range-slider/date-range-slider.component.js +3 -3
- package/dist/components/date-range-slider/date-range-slider.js +4 -4
- 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 +10 -10
- package/dist/components/login/login.js +11 -11
- package/dist/components/map/map.component.js +2 -2
- package/dist/components/map/map.js +3 -3
- package/dist/components/plot/plot.component.js +2 -2
- package/dist/components/plot/plot.js +3 -3
- package/dist/components/plot-toolbar/plot-toolbar.component.js +6 -6
- package/dist/components/plot-toolbar/plot-toolbar.js +7 -7
- 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.js +3 -3
- package/dist/components/spatial-picker/spatial-picker.js +4 -4
- package/dist/components/time-average-map/time-average-map.component.js +8 -8
- package/dist/components/time-average-map/time-average-map.js +9 -9
- package/dist/components/time-series/time-series.component.js +13 -13
- package/dist/components/time-series/time-series.js +14 -14
- package/dist/components/variable-combobox/variable-combobox.component.js +8 -8
- package/dist/components/variable-combobox/variable-combobox.js +9 -9
- package/dist/components/variable-keyword-search/variable-keyword-search.component.js +8 -8
- package/dist/components/variable-keyword-search/variable-keyword-search.js +9 -9
- package/dist/custom-elements.json +916 -916
- package/dist/react/accordion/index.js +5 -5
- package/dist/react/alert/index.js +4 -4
- package/dist/react/browse-variables/index.js +12 -12
- package/dist/react/button/index.js +3 -3
- package/dist/react/chip/index.js +3 -3
- package/dist/react/combobox/index.js +3 -3
- package/dist/react/data-rods/index.js +23 -23
- package/dist/react/data-subsetter/index.js +18 -18
- package/dist/react/data-subsetter-history/index.js +20 -20
- package/dist/react/date-picker/index.js +4 -4
- package/dist/react/date-range-slider/index.js +4 -4
- package/dist/react/dialog/index.js +3 -3
- package/dist/react/icon/index.js +3 -3
- package/dist/react/index.d.ts +5 -5
- package/dist/react/index.js +80 -80
- package/dist/react/loader/index.js +3 -3
- package/dist/react/login/index.js +11 -11
- package/dist/react/map/index.js +3 -3
- package/dist/react/plot/index.js +3 -3
- package/dist/react/plot-toolbar/index.js +7 -7
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spatial-picker/index.js +4 -4
- package/dist/react/time-average-map/index.js +9 -9
- package/dist/react/time-series/index.js +14 -14
- package/dist/react/variable-combobox/index.js +9 -9
- package/dist/react/variable-keyword-search/index.js +9 -9
- package/dist/terra-ui-components.js +81 -81
- package/dist/{terra_ui_components-0.0.68-py3-none-any.whl → terra_ui_components-0.0.69-py3-none-any.whl} +0 -0
- package/dist/{terra_ui_components-0.0.68.tar.gz → terra_ui_components-0.0.69.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +86 -86
- package/dist/vscode.html-custom-data.json +67 -67
- package/dist/web-types.json +170 -170
- package/package.json +1 -1
- package/cdn/chunks/chunk.2AIVKD54.js +0 -214
- package/cdn/chunks/chunk.2BW4SOWQ.js +0 -11
- package/cdn/chunks/chunk.2EYRPHGL.js +0 -10
- package/cdn/chunks/chunk.2WYXDPGS.js +0 -11
- package/cdn/chunks/chunk.3GLMJLNY.js +0 -139
- package/cdn/chunks/chunk.3H5ZUQL5.js +0 -498
- package/cdn/chunks/chunk.3L77HLPZ.js +0 -88
- package/cdn/chunks/chunk.3PUTIFOP.js +0 -35
- package/cdn/chunks/chunk.42V23REY.js +0 -21
- package/cdn/chunks/chunk.445A7YVG.js +0 -271
- package/cdn/chunks/chunk.4E55SLUR.js +0 -11
- package/cdn/chunks/chunk.4EIGF3E4.js +0 -470
- package/cdn/chunks/chunk.4MGGBJBD.js +0 -20
- package/cdn/chunks/chunk.4WKVINLB.js +0 -11
- package/cdn/chunks/chunk.5ASTHFQ2.js +0 -950
- package/cdn/chunks/chunk.5QKVNNUH.js +0 -73
- package/cdn/chunks/chunk.5TZQDEBJ.js +0 -21
- package/cdn/chunks/chunk.6KIVAUVU.js +0 -124
- package/cdn/chunks/chunk.6VTAKEV4.js +0 -74
- package/cdn/chunks/chunk.7674U7FT.js +0 -215
- package/cdn/chunks/chunk.7AEQ2LX4.js +0 -335
- package/cdn/chunks/chunk.7CMA526Q.js +0 -14
- package/cdn/chunks/chunk.7RT5CEB6.js +0 -72
- package/cdn/chunks/chunk.A6D5MCCT.js +0 -123
- package/cdn/chunks/chunk.A7GHUUVY.js +0 -21
- package/cdn/chunks/chunk.AZXB7ZHM.js +0 -151
- package/cdn/chunks/chunk.B6JXOXP5.js +0 -348
- package/cdn/chunks/chunk.BEDYDFXT.js +0 -52
- package/cdn/chunks/chunk.BRVCFRLF.js +0 -21
- package/cdn/chunks/chunk.CIFC3RF3.js +0 -43
- package/cdn/chunks/chunk.D3DPGMVW.js +0 -222
- package/cdn/chunks/chunk.D3XI3L7Y.js +0 -55
- package/cdn/chunks/chunk.DTUHBE3U.js +0 -37
- package/cdn/chunks/chunk.E2WXLMWX.js +0 -0
- package/cdn/chunks/chunk.F3KBUEPT.js +0 -10
- package/cdn/chunks/chunk.F5AEDYTP.js +0 -37
- package/cdn/chunks/chunk.FF3EIVF2.js +0 -11
- package/cdn/chunks/chunk.FRSW4UHB.js +0 -268
- package/cdn/chunks/chunk.FUU57PWY.js +0 -36
- package/cdn/chunks/chunk.G6SMK5II.js +0 -19
- package/cdn/chunks/chunk.GL5HOXON.js +0 -202
- package/cdn/chunks/chunk.GMJWNAQG.js +0 -264
- package/cdn/chunks/chunk.GQRGC6YW.js +0 -11
- package/cdn/chunks/chunk.GUYBX63F.js +0 -108
- package/cdn/chunks/chunk.HKST5N6O.js +0 -21
- package/cdn/chunks/chunk.HNQMK3PU.js +0 -685
- package/cdn/chunks/chunk.HNWBSRBL.js +0 -43
- package/cdn/chunks/chunk.HUX2RF6U.js +0 -53
- package/cdn/chunks/chunk.HWZP2UTW.js +0 -49
- package/cdn/chunks/chunk.IC4T7CZD.js +0 -62
- package/cdn/chunks/chunk.IJC2KB5R.js +0 -25
- package/cdn/chunks/chunk.J25AAZTC.js +0 -21
- package/cdn/chunks/chunk.JOFHFGQP.js +0 -180
- package/cdn/chunks/chunk.JUQDLDHB.js +0 -139
- package/cdn/chunks/chunk.KIC5ZCAM.js +0 -63
- package/cdn/chunks/chunk.KLCOAQUS.js +0 -65
- package/cdn/chunks/chunk.KUSRVQBO.js +0 -20
- package/cdn/chunks/chunk.KXL6VOQP.js +0 -82
- package/cdn/chunks/chunk.L63WM7I3.js +0 -65
- package/cdn/chunks/chunk.LDCRCQNJ.js +0 -103
- package/cdn/chunks/chunk.M6X72F3Q.js +0 -373
- package/cdn/chunks/chunk.MGM5E2VQ.js +0 -98
- package/cdn/chunks/chunk.MQOXBVDK.js +0 -58
- package/cdn/chunks/chunk.NMWP5DQX.js +0 -259
- package/cdn/chunks/chunk.NQYUJ7FK.js +0 -24
- package/cdn/chunks/chunk.O6SXSDFR.js +0 -539
- package/cdn/chunks/chunk.O7SVDS2A.js +0 -11
- package/cdn/chunks/chunk.OJC754DG.js +0 -228
- package/cdn/chunks/chunk.P7EL7GKI.js +0 -41
- package/cdn/chunks/chunk.PAJVTERU.js +0 -357
- package/cdn/chunks/chunk.PBC3S6IG.js +0 -33
- package/cdn/chunks/chunk.PG4TSLWI.js +0 -78
- package/cdn/chunks/chunk.QAMFDZKG.js +0 -11
- package/cdn/chunks/chunk.QQQ2BD4U.js +0 -80
- package/cdn/chunks/chunk.QZS6UUDI.js +0 -277
- package/cdn/chunks/chunk.RZ3APMFR.js +0 -195
- package/cdn/chunks/chunk.SGFD3ORP.js +0 -293
- package/cdn/chunks/chunk.T53RBNNE.js +0 -519
- package/cdn/chunks/chunk.TCEJ3MS6.js +0 -97
- package/cdn/chunks/chunk.TJGA66AX.js +0 -25
- package/cdn/chunks/chunk.TVFCHGU3.js +0 -76
- package/cdn/chunks/chunk.UDCRU3NE.js +0 -120
- package/cdn/chunks/chunk.UT5XKCBV.js +0 -183
- package/cdn/chunks/chunk.UZAIWUWC.js +0 -8
- package/cdn/chunks/chunk.UZZDJISQ.js +0 -258
- package/cdn/chunks/chunk.V2Z7ZBTD.js +0 -293
- package/cdn/chunks/chunk.V3EFWONT.js +0 -26
- package/cdn/chunks/chunk.V7LXD3II.js +0 -318
- package/cdn/chunks/chunk.WJL4R4O2.js +0 -7
- package/cdn/chunks/chunk.XJVLYIYE.js +0 -41
- package/cdn/chunks/chunk.XOD4KYCP.js +0 -120
- package/cdn/chunks/chunk.XWDZOQJ3.js +0 -11
- package/cdn/chunks/chunk.XXFKVRN5.js +0 -104
- package/cdn/chunks/chunk.XZB6CNAL.js +0 -96
- package/cdn/chunks/chunk.Y7ZED6A4.js +0 -24
- package/cdn/chunks/chunk.YMHBYV33.js +0 -1625
- package/cdn/chunks/chunk.YXLIUMJM.js +0 -147
- package/cdn/chunks/chunk.YY65ZHR5.js +0 -35
- package/cdn/chunks/chunk.Z4S5QPB7.js +0 -655
- package/dist/chunks/chunk.2GEN6UCO.js +0 -21
- package/dist/chunks/chunk.2LGINANI.js +0 -82
- package/dist/chunks/chunk.2OQZA3CW.js +0 -477
- package/dist/chunks/chunk.34PJLKJJ.js +0 -416
- package/dist/chunks/chunk.35EPISNE.js +0 -11
- package/dist/chunks/chunk.3UAVO7EA.js +0 -24
- package/dist/chunks/chunk.3ULVIGJG.js +0 -21
- package/dist/chunks/chunk.3XJ5QNGT.js +0 -21
- package/dist/chunks/chunk.44BRND6T.js +0 -21
- package/dist/chunks/chunk.642Z3X7N.js +0 -11
- package/dist/chunks/chunk.64ARWPHU.js +0 -11
- package/dist/chunks/chunk.65TXBD5Q.js +0 -11
- package/dist/chunks/chunk.6DUMNJRP.js +0 -11
- package/dist/chunks/chunk.76XDDHGB.js +0 -24
- package/dist/chunks/chunk.77RFVKUZ.js +0 -21
- package/dist/chunks/chunk.7JCOOCRE.js +0 -498
- package/dist/chunks/chunk.A7JSMGCJ.js +0 -11
- package/dist/chunks/chunk.ADFWUZLL.js +0 -21
- package/dist/chunks/chunk.AHGKSSSI.js +0 -185
- package/dist/chunks/chunk.AQADCBKW.js +0 -11
- package/dist/chunks/chunk.AU4MMC6N.js +0 -24
- package/dist/chunks/chunk.B63QBHY2.js +0 -21
- package/dist/chunks/chunk.CA2ZDE2M.js +0 -11
- package/dist/chunks/chunk.CDJJZBFH.js +0 -21
- package/dist/chunks/chunk.E4HHQCTB.js +0 -25
- package/dist/chunks/chunk.EBJUC35J.js +0 -11
- package/dist/chunks/chunk.EFBCCYOG.js +0 -21
- package/dist/chunks/chunk.ERXCYNDC.js +0 -11
- package/dist/chunks/chunk.EU34RZJ6.js +0 -348
- package/dist/chunks/chunk.FD3GJNJJ.js +0 -82
- package/dist/chunks/chunk.FNTPKP6P.js +0 -538
- package/dist/chunks/chunk.FZMMKJAN.js +0 -11
- package/dist/chunks/chunk.FZUQIX6Q.js +0 -24
- package/dist/chunks/chunk.GJZMMPJG.js +0 -21
- package/dist/chunks/chunk.GPP6JDF4.js +0 -11
- package/dist/chunks/chunk.H73IKOBV.js +0 -11
- package/dist/chunks/chunk.HKST5N6O.js +0 -21
- package/dist/chunks/chunk.HN27UQHP.js +0 -21
- package/dist/chunks/chunk.IG5HGQXY.js +0 -11
- package/dist/chunks/chunk.J6VAJGFU.js +0 -11
- package/dist/chunks/chunk.JHEFOGNL.js +0 -11
- package/dist/chunks/chunk.KIC5ZCAM.js +0 -63
- package/dist/chunks/chunk.KOT22IKI.js +0 -21
- package/dist/chunks/chunk.KQXAXXOQ.js +0 -53
- package/dist/chunks/chunk.KRADMAUS.js +0 -11
- package/dist/chunks/chunk.KXL6VOQP.js +0 -82
- package/dist/chunks/chunk.L2M2AJ4W.js +0 -21
- package/dist/chunks/chunk.LNIZRE4P.js +0 -180
- package/dist/chunks/chunk.LQXULJBQ.js +0 -21
- package/dist/chunks/chunk.M3SLDTSE.js +0 -477
- package/dist/chunks/chunk.M74U5ILB.js +0 -25
- package/dist/chunks/chunk.M7ZB5QRP.js +0 -273
- package/dist/chunks/chunk.MFI2M54Y.js +0 -273
- package/dist/chunks/chunk.NDADYNAA.js +0 -11
- package/dist/chunks/chunk.O6SXSDFR.js +0 -539
- package/dist/chunks/chunk.O7SVDS2A.js +0 -11
- package/dist/chunks/chunk.OBANVLY7.js +0 -11
- package/dist/chunks/chunk.OJC754DG.js +0 -228
- package/dist/chunks/chunk.OVUWZWWN.js +0 -355
- package/dist/chunks/chunk.OX5IY75Y.js +0 -11
- package/dist/chunks/chunk.OY5R7EVO.js +0 -24
- package/dist/chunks/chunk.P6OOV5UQ.js +0 -25
- package/dist/chunks/chunk.P7UY5YOM.js +0 -202
- package/dist/chunks/chunk.PA5O6555.js +0 -24
- package/dist/chunks/chunk.PG4TSLWI.js +0 -78
- package/dist/chunks/chunk.PKAXRUSD.js +0 -11
- package/dist/chunks/chunk.PRQ5P3TK.js +0 -11
- package/dist/chunks/chunk.PSIAGOIP.js +0 -538
- package/dist/chunks/chunk.Q6LK4OHE.js +0 -11
- package/dist/chunks/chunk.QAMFDZKG.js +0 -11
- package/dist/chunks/chunk.QEGTBKYW.js +0 -21
- package/dist/chunks/chunk.QHY2BYL4.js +0 -11
- package/dist/chunks/chunk.QNNEWLT7.js +0 -11
- package/dist/chunks/chunk.RBVJJWF4.js +0 -21
- package/dist/chunks/chunk.RDID3JKQ.js +0 -25
- package/dist/chunks/chunk.RJUTQBOV.js +0 -21
- package/dist/chunks/chunk.RVCQSKMD.js +0 -108
- package/dist/chunks/chunk.RVH4PSND.js +0 -416
- package/dist/chunks/chunk.SFFOTZON.js +0 -25
- package/dist/chunks/chunk.SPVE7NND.js +0 -11
- package/dist/chunks/chunk.SRBWEFVT.js +0 -27
- package/dist/chunks/chunk.SWDQJJ7Q.js +0 -11
- package/dist/chunks/chunk.T7DACXNM.js +0 -11
- package/dist/chunks/chunk.TCGYS77N.js +0 -27
- package/dist/chunks/chunk.TIQXW7ZH.js +0 -11
- package/dist/chunks/chunk.TMXTLPTE.js +0 -11
- package/dist/chunks/chunk.UPMJQK2S.js +0 -120
- package/dist/chunks/chunk.URKW2CME.js +0 -21
- package/dist/chunks/chunk.UT5XKCBV.js +0 -183
- package/dist/chunks/chunk.UTXEG3QD.js +0 -214
- package/dist/chunks/chunk.UZZDJISQ.js +0 -258
- package/dist/chunks/chunk.V3CHZTI6.js +0 -470
- package/dist/chunks/chunk.VDCD52OC.js +0 -185
- package/dist/chunks/chunk.VO4JJ7CZ.js +0 -357
- package/dist/chunks/chunk.VT32WPUI.js +0 -73
- package/dist/chunks/chunk.VYPNLWLL.js +0 -11
- package/dist/chunks/chunk.W5O3LYQV.js +0 -21
- package/dist/chunks/chunk.WTQMOLV2.js +0 -24
- package/dist/chunks/chunk.WXZHDVQ3.js +0 -21
- package/dist/chunks/chunk.WZCLDYKY.js +0 -25
- package/dist/chunks/chunk.X7MVYC7B.js +0 -11
- package/dist/chunks/chunk.XIUGWVFS.js +0 -355
- package/dist/chunks/chunk.XJPYDQOZ.js +0 -11
- package/dist/chunks/chunk.XWDZOQJ3.js +0 -11
- package/dist/chunks/chunk.Y7TVB466.js +0 -1625
- package/dist/chunks/chunk.YIP3L3SE.js +0 -21
- package/dist/chunks/chunk.YP5DVLJS.js +0 -11
- package/dist/chunks/chunk.YRJRQDLF.js +0 -21
- package/dist/chunks/chunk.ZK4JLVS4.js +0 -11
- package/dist/chunks/chunk.ZLRH3XYC.js +0 -24
- package/dist/chunks/chunk.ZOCIZGYF.js +0 -11
- package/cdn/chunks/{chunk.OXUFHTFN.js → chunk.2PNASAQ6.js} +3 -3
- package/cdn/chunks/{chunk.DUUVIZLI.js → chunk.6HV5UAUR.js} +3 -3
- package/cdn/chunks/{chunk.EMLDT66I.js → chunk.EDY6YM3Y.js} +4 -4
- package/cdn/chunks/{chunk.SU2EH44I.js → chunk.NFS2RDEX.js} +5 -5
- package/cdn/chunks/{chunk.VPW32Q52.js → chunk.QFJLPXXJ.js} +3 -3
- package/cdn/chunks/{chunk.HDPH5PEF.js → chunk.UQPT3AQ5.js} +4 -4
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getRandomIntInclusive
|
|
3
|
-
} from "./chunk.UZAIWUWC.js";
|
|
4
|
-
import {
|
|
5
|
-
skeleton_styles_default
|
|
6
|
-
} from "./chunk.G6SMK5II.js";
|
|
7
|
-
import {
|
|
8
|
-
TerraElement,
|
|
9
|
-
component_styles_default
|
|
10
|
-
} from "./chunk.O6SXSDFR.js";
|
|
11
|
-
import {
|
|
12
|
-
__decorateClass
|
|
13
|
-
} from "./chunk.TVFCHGU3.js";
|
|
14
|
-
|
|
15
|
-
// src/components/skeleton/skeleton.component.ts
|
|
16
|
-
import { html } from "lit";
|
|
17
|
-
import { property } from "lit/decorators.js";
|
|
18
|
-
import { SlSkeleton } from "@shoelace-style/shoelace";
|
|
19
|
-
var TerraSkeleton = class extends TerraElement {
|
|
20
|
-
constructor() {
|
|
21
|
-
super(...arguments);
|
|
22
|
-
this.rows = 1;
|
|
23
|
-
this.effect = "pulse";
|
|
24
|
-
this.variableWidths = true;
|
|
25
|
-
}
|
|
26
|
-
render() {
|
|
27
|
-
return html`
|
|
28
|
-
${new Array(parseInt(this.rows.toString())).fill(0).map(
|
|
29
|
-
() => html`<sl-skeleton
|
|
30
|
-
effect=${this.effect}
|
|
31
|
-
style=${this.variableWidths ? `width: ${getRandomIntInclusive(60, 100)}%` : ""}
|
|
32
|
-
></sl-skeleton>`
|
|
33
|
-
)}
|
|
34
|
-
`;
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
TerraSkeleton.styles = [component_styles_default, skeleton_styles_default];
|
|
38
|
-
TerraSkeleton.dependencies = {
|
|
39
|
-
"sl-skeleton": SlSkeleton
|
|
40
|
-
};
|
|
41
|
-
__decorateClass([
|
|
42
|
-
property()
|
|
43
|
-
], TerraSkeleton.prototype, "rows", 2);
|
|
44
|
-
__decorateClass([
|
|
45
|
-
property()
|
|
46
|
-
], TerraSkeleton.prototype, "effect", 2);
|
|
47
|
-
__decorateClass([
|
|
48
|
-
property({ type: Boolean, reflect: true })
|
|
49
|
-
], TerraSkeleton.prototype, "variableWidths", 2);
|
|
50
|
-
|
|
51
|
-
export {
|
|
52
|
-
TerraSkeleton
|
|
53
|
-
};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// src/internal/slot.ts
|
|
2
|
-
var HasSlotController = class {
|
|
3
|
-
constructor(host, ...slotNames) {
|
|
4
|
-
this.slotNames = [];
|
|
5
|
-
this.handleSlotChange = (event) => {
|
|
6
|
-
const slot = event.target;
|
|
7
|
-
if (this.slotNames.includes("[default]") && !slot.name || slot.name && this.slotNames.includes(slot.name)) {
|
|
8
|
-
this.host.requestUpdate();
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
;
|
|
12
|
-
(this.host = host).addController(this);
|
|
13
|
-
this.slotNames = slotNames;
|
|
14
|
-
}
|
|
15
|
-
hasDefaultSlot() {
|
|
16
|
-
return [...this.host.childNodes].some((node) => {
|
|
17
|
-
if (node.nodeType === node.TEXT_NODE && node.textContent.trim() !== "") {
|
|
18
|
-
return true;
|
|
19
|
-
}
|
|
20
|
-
if (node.nodeType === node.ELEMENT_NODE) {
|
|
21
|
-
const el = node;
|
|
22
|
-
const tagName = el.tagName.toLowerCase();
|
|
23
|
-
if (tagName === "terra-visually-hidden") {
|
|
24
|
-
return false;
|
|
25
|
-
}
|
|
26
|
-
if (!el.hasAttribute("slot")) {
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
return false;
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
hasNamedSlot(name) {
|
|
34
|
-
return this.host.querySelector(`:scope > [slot="${name}"]`) !== null;
|
|
35
|
-
}
|
|
36
|
-
test(slotName) {
|
|
37
|
-
return slotName === "[default]" ? this.hasDefaultSlot() : this.hasNamedSlot(slotName);
|
|
38
|
-
}
|
|
39
|
-
hostConnected() {
|
|
40
|
-
this.host.shadowRoot.addEventListener("slotchange", this.handleSlotChange);
|
|
41
|
-
}
|
|
42
|
-
hostDisconnected() {
|
|
43
|
-
this.host.shadowRoot.removeEventListener("slotchange", this.handleSlotChange);
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
export {
|
|
48
|
-
HasSlotController
|
|
49
|
-
};
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
// src/utilities/date.ts
|
|
2
|
-
import { isValid } from "date-fns";
|
|
3
|
-
import dayjs from "dayjs";
|
|
4
|
-
import timezone from "dayjs/plugin/timezone.js";
|
|
5
|
-
import utc from "dayjs/plugin/utc.js";
|
|
6
|
-
dayjs.extend(utc);
|
|
7
|
-
dayjs.extend(timezone);
|
|
8
|
-
dayjs.tz.setDefault("Etc/GMT");
|
|
9
|
-
function isValidDate(date) {
|
|
10
|
-
const parsedDate = Date.parse(date);
|
|
11
|
-
return !isNaN(parsedDate) && isValid(parsedDate);
|
|
12
|
-
}
|
|
13
|
-
function getUTCDate(date, endOfDay = false) {
|
|
14
|
-
const utcDate = dayjs.utc(date).toDate();
|
|
15
|
-
if (endOfDay)
|
|
16
|
-
utcDate.setUTCHours(23, 59, 59, 999);
|
|
17
|
-
return utcDate;
|
|
18
|
-
}
|
|
19
|
-
function formatDate(date, format) {
|
|
20
|
-
if (!dayjs.isDayjs(date)) {
|
|
21
|
-
date = dayjs.utc(date);
|
|
22
|
-
}
|
|
23
|
-
return date.format(format);
|
|
24
|
-
}
|
|
25
|
-
function isDateRangeContained(start1, end1, start2, end2) {
|
|
26
|
-
const startOfDay1 = new Date(
|
|
27
|
-
start1.getFullYear(),
|
|
28
|
-
start1.getMonth(),
|
|
29
|
-
start1.getDate()
|
|
30
|
-
);
|
|
31
|
-
const startOfDay2 = new Date(
|
|
32
|
-
start2.getFullYear(),
|
|
33
|
-
start2.getMonth(),
|
|
34
|
-
start2.getDate()
|
|
35
|
-
);
|
|
36
|
-
const endOfDay1 = new Date(
|
|
37
|
-
end1.getFullYear(),
|
|
38
|
-
end1.getMonth(),
|
|
39
|
-
end1.getDate(),
|
|
40
|
-
23,
|
|
41
|
-
59,
|
|
42
|
-
59,
|
|
43
|
-
999
|
|
44
|
-
);
|
|
45
|
-
const endOfDay2 = new Date(
|
|
46
|
-
end2.getFullYear(),
|
|
47
|
-
end2.getMonth(),
|
|
48
|
-
end2.getDate(),
|
|
49
|
-
23,
|
|
50
|
-
59,
|
|
51
|
-
59,
|
|
52
|
-
999
|
|
53
|
-
);
|
|
54
|
-
return startOfDay1 >= startOfDay2 && endOfDay1 <= endOfDay2;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
export {
|
|
58
|
-
isValidDate,
|
|
59
|
-
getUTCDate,
|
|
60
|
-
formatDate,
|
|
61
|
-
isDateRangeContained
|
|
62
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
TerraDialog
|
|
3
|
-
} from "./chunk.2LGINANI.js";
|
|
4
|
-
|
|
5
|
-
// src/react/dialog/index.ts
|
|
6
|
-
import * as React from "react";
|
|
7
|
-
import { createComponent } from "@lit/react";
|
|
8
|
-
import "@lit/react";
|
|
9
|
-
var tagName = "terra-dialog";
|
|
10
|
-
TerraDialog.define("terra-dialog");
|
|
11
|
-
var reactWrapper = createComponent({
|
|
12
|
-
tagName,
|
|
13
|
-
elementClass: TerraDialog,
|
|
14
|
-
react: React,
|
|
15
|
-
events: {
|
|
16
|
-
onTerraDialogShow: "terra-dialog-show",
|
|
17
|
-
onTerraDialogHide: "terra-dialog-hide"
|
|
18
|
-
},
|
|
19
|
-
displayName: "TerraDialog"
|
|
20
|
-
});
|
|
21
|
-
var dialog_default = reactWrapper;
|
|
22
|
-
|
|
23
|
-
export {
|
|
24
|
-
dialog_default
|
|
25
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
GiovanniGeoJsonShapes
|
|
3
|
-
} from "./chunk.XXFKVRN5.js";
|
|
4
|
-
|
|
5
|
-
// src/components/map/map.controller.ts
|
|
6
|
-
var MapController = class {
|
|
7
|
-
constructor(host) {
|
|
8
|
-
this.host = host;
|
|
9
|
-
this.geoJsonShapes = new GiovanniGeoJsonShapes();
|
|
10
|
-
this.host.addController(this);
|
|
11
|
-
}
|
|
12
|
-
async hostConnected() {
|
|
13
|
-
if (this.host.hasShapeSelector) {
|
|
14
|
-
this.host.shapes = await this.geoJsonShapes.getShapeFiles();
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
export {
|
|
20
|
-
MapController
|
|
21
|
-
};
|
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
date_range_slider_styles_default
|
|
3
|
-
} from "./chunk.7AEQ2LX4.js";
|
|
4
|
-
import {
|
|
5
|
-
mergeTooltips
|
|
6
|
-
} from "./chunk.L63WM7I3.js";
|
|
7
|
-
import {
|
|
8
|
-
isValidDate
|
|
9
|
-
} from "./chunk.IC4T7CZD.js";
|
|
10
|
-
import {
|
|
11
|
-
watch
|
|
12
|
-
} from "./chunk.DTUHBE3U.js";
|
|
13
|
-
import {
|
|
14
|
-
TerraElement,
|
|
15
|
-
component_styles_default
|
|
16
|
-
} from "./chunk.O6SXSDFR.js";
|
|
17
|
-
import {
|
|
18
|
-
__decorateClass
|
|
19
|
-
} from "./chunk.TVFCHGU3.js";
|
|
20
|
-
|
|
21
|
-
// src/components/date-range-slider/date-range-slider.component.ts
|
|
22
|
-
import { property, query } from "lit/decorators.js";
|
|
23
|
-
import { html } from "lit";
|
|
24
|
-
import noUiSlider, {
|
|
25
|
-
PipsMode
|
|
26
|
-
} from "nouislider";
|
|
27
|
-
import { format } from "date-fns";
|
|
28
|
-
var TerraDateRangeSlider = class extends TerraElement {
|
|
29
|
-
constructor() {
|
|
30
|
-
super(...arguments);
|
|
31
|
-
this.timeScale = "daily";
|
|
32
|
-
this.disabled = false;
|
|
33
|
-
this.hasPips = true;
|
|
34
|
-
}
|
|
35
|
-
updateSlider() {
|
|
36
|
-
this.renderSlider();
|
|
37
|
-
}
|
|
38
|
-
disabledChanged() {
|
|
39
|
-
var _a, _b, _c, _d;
|
|
40
|
-
this.disabled ? (_b = (_a = this.slider) == null ? void 0 : _a.noUiSlider) == null ? void 0 : _b.disable() : (_d = (_c = this.slider) == null ? void 0 : _c.noUiSlider) == null ? void 0 : _d.enable();
|
|
41
|
-
}
|
|
42
|
-
firstUpdated() {
|
|
43
|
-
this.renderSlider();
|
|
44
|
-
}
|
|
45
|
-
renderSlider() {
|
|
46
|
-
var _a;
|
|
47
|
-
if (!this.slider) {
|
|
48
|
-
return;
|
|
49
|
-
}
|
|
50
|
-
(_a = this.slider.noUiSlider) == null ? void 0 : _a.destroy();
|
|
51
|
-
if (!isValidDate(this.minDate) || !isValidDate(this.maxDate)) {
|
|
52
|
-
this.renderEmptySlider();
|
|
53
|
-
this.minDate && !isValidDate(this.minDate) && console.error("Invalid min date provided");
|
|
54
|
-
this.maxDate && !isValidDate(this.maxDate) && console.error("Invalid max date provided");
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
const minDate = new Date(this.minDate);
|
|
58
|
-
const maxDate = new Date(this.maxDate);
|
|
59
|
-
const startDate = new Date(
|
|
60
|
-
isValidDate(this.startDate) ? this.startDate : this.minDate
|
|
61
|
-
);
|
|
62
|
-
const endDate = new Date(
|
|
63
|
-
isValidDate(this.endDate) ? this.endDate : this.maxDate
|
|
64
|
-
);
|
|
65
|
-
minDate.setUTCHours(0, 0, 0, 0);
|
|
66
|
-
startDate.setUTCHours(0, 0, 0, 0);
|
|
67
|
-
maxDate.setUTCHours(23, 59, 59, 999);
|
|
68
|
-
endDate.setUTCHours(23, 59, 59, 999);
|
|
69
|
-
const sliderOptions = {
|
|
70
|
-
range: {
|
|
71
|
-
// convert to milliseconds to define a range
|
|
72
|
-
min: minDate.getTime(),
|
|
73
|
-
max: maxDate.getTime()
|
|
74
|
-
},
|
|
75
|
-
behaviour: "drag",
|
|
76
|
-
step: this._getStep(),
|
|
77
|
-
start: [startDate.getTime(), endDate.getTime()],
|
|
78
|
-
// defaults to either the given start/end dates or the full date range (min/max date)
|
|
79
|
-
tooltips: [true, true],
|
|
80
|
-
// for each handle, choose whether to show a tooltip
|
|
81
|
-
connect: true,
|
|
82
|
-
// whether to connect the handles with a colorized bar
|
|
83
|
-
pips: {
|
|
84
|
-
mode: PipsMode.Range,
|
|
85
|
-
density: -1,
|
|
86
|
-
format: this._getSliderFormatter()
|
|
87
|
-
},
|
|
88
|
-
format: this._getSliderFormatter()
|
|
89
|
-
};
|
|
90
|
-
noUiSlider.create(this.slider, sliderOptions);
|
|
91
|
-
mergeTooltips(this.slider);
|
|
92
|
-
this.slider.noUiSlider.on("change", (values) => {
|
|
93
|
-
this.emit("terra-date-range-change", {
|
|
94
|
-
detail: {
|
|
95
|
-
startDate: this._formatDate(values[0]),
|
|
96
|
-
endDate: this._formatDate(values[1])
|
|
97
|
-
}
|
|
98
|
-
});
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
renderEmptySlider() {
|
|
102
|
-
noUiSlider.create(this.slider, {
|
|
103
|
-
start: [0, 0],
|
|
104
|
-
range: {
|
|
105
|
-
min: 0,
|
|
106
|
-
max: 0
|
|
107
|
-
}
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
_getStep() {
|
|
111
|
-
const oneMinuteMillis = 60 * 1e3;
|
|
112
|
-
const oneHourMillis = 60 * oneMinuteMillis;
|
|
113
|
-
const oneDayMillis = 24 * oneHourMillis;
|
|
114
|
-
switch (this.timeScale) {
|
|
115
|
-
case "half-hourly":
|
|
116
|
-
return 30 * oneMinuteMillis;
|
|
117
|
-
case "hourly":
|
|
118
|
-
return oneHourMillis;
|
|
119
|
-
default:
|
|
120
|
-
return oneDayMillis;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
_getSliderFormatter() {
|
|
124
|
-
return {
|
|
125
|
-
to: (value) => {
|
|
126
|
-
return this._formatDate(value);
|
|
127
|
-
},
|
|
128
|
-
from: (value) => {
|
|
129
|
-
return Number(value);
|
|
130
|
-
}
|
|
131
|
-
};
|
|
132
|
-
}
|
|
133
|
-
_formatDate(date) {
|
|
134
|
-
const dateFormat = this.timeScale === "daily" ? "yyyy-MM-dd" : "yyyy-MM-dd HH:mm";
|
|
135
|
-
return format(new Date(date).toUTCString(), dateFormat);
|
|
136
|
-
}
|
|
137
|
-
render() {
|
|
138
|
-
const containerClass = "container" + this.hasPips ? " hasPips" : "";
|
|
139
|
-
return html`
|
|
140
|
-
<div class="${containerClass}">
|
|
141
|
-
<div part="slider"></div>
|
|
142
|
-
</div>
|
|
143
|
-
`;
|
|
144
|
-
}
|
|
145
|
-
};
|
|
146
|
-
TerraDateRangeSlider.styles = [component_styles_default, date_range_slider_styles_default];
|
|
147
|
-
__decorateClass([
|
|
148
|
-
query('[part~="slider"]')
|
|
149
|
-
], TerraDateRangeSlider.prototype, "slider", 2);
|
|
150
|
-
__decorateClass([
|
|
151
|
-
property({ attribute: "time-scale" })
|
|
152
|
-
], TerraDateRangeSlider.prototype, "timeScale", 2);
|
|
153
|
-
__decorateClass([
|
|
154
|
-
property({ attribute: "min-date" })
|
|
155
|
-
], TerraDateRangeSlider.prototype, "minDate", 2);
|
|
156
|
-
__decorateClass([
|
|
157
|
-
property({ attribute: "max-date" })
|
|
158
|
-
], TerraDateRangeSlider.prototype, "maxDate", 2);
|
|
159
|
-
__decorateClass([
|
|
160
|
-
property({ attribute: "start-date" })
|
|
161
|
-
], TerraDateRangeSlider.prototype, "startDate", 2);
|
|
162
|
-
__decorateClass([
|
|
163
|
-
property({ attribute: "end-date" })
|
|
164
|
-
], TerraDateRangeSlider.prototype, "endDate", 2);
|
|
165
|
-
__decorateClass([
|
|
166
|
-
property({ type: Boolean, reflect: true })
|
|
167
|
-
], TerraDateRangeSlider.prototype, "disabled", 2);
|
|
168
|
-
__decorateClass([
|
|
169
|
-
property({ type: Boolean, reflect: true, attribute: "has-pips" })
|
|
170
|
-
], TerraDateRangeSlider.prototype, "hasPips", 2);
|
|
171
|
-
__decorateClass([
|
|
172
|
-
watch(["startDate", "endDate", "minDate", "maxDate"])
|
|
173
|
-
], TerraDateRangeSlider.prototype, "updateSlider", 1);
|
|
174
|
-
__decorateClass([
|
|
175
|
-
watch("disabled")
|
|
176
|
-
], TerraDateRangeSlider.prototype, "disabledChanged", 1);
|
|
177
|
-
|
|
178
|
-
export {
|
|
179
|
-
TerraDateRangeSlider
|
|
180
|
-
};
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
GET_SEARCH_KEYWORDS,
|
|
3
|
-
GET_VARIABLES
|
|
4
|
-
} from "./chunk.A6D5MCCT.js";
|
|
5
|
-
import {
|
|
6
|
-
getUTCDate
|
|
7
|
-
} from "./chunk.IC4T7CZD.js";
|
|
8
|
-
import {
|
|
9
|
-
getGraphQLClient
|
|
10
|
-
} from "./chunk.LDCRCQNJ.js";
|
|
11
|
-
import {
|
|
12
|
-
__privateAdd,
|
|
13
|
-
__privateMethod,
|
|
14
|
-
__spreadProps,
|
|
15
|
-
__spreadValues
|
|
16
|
-
} from "./chunk.TVFCHGU3.js";
|
|
17
|
-
|
|
18
|
-
// src/metadata-catalog/giovanni-variable-catalog.ts
|
|
19
|
-
var _adaptVariablesForResponse, adaptVariablesForResponse_fn, _getReasonableInitialStartAndEndDateTime, getReasonableInitialStartAndEndDateTime_fn;
|
|
20
|
-
var GiovanniVariableCatalog = class {
|
|
21
|
-
constructor() {
|
|
22
|
-
__privateAdd(this, _adaptVariablesForResponse);
|
|
23
|
-
/**
|
|
24
|
-
* Get reasonable initial start and end date
|
|
25
|
-
*
|
|
26
|
-
* When we load a variable into a plot, we may want to show the user some initial data while they change the date
|
|
27
|
-
* This function returns a reasonable slice of time that components can choose to use
|
|
28
|
-
*/
|
|
29
|
-
__privateAdd(this, _getReasonableInitialStartAndEndDateTime);
|
|
30
|
-
}
|
|
31
|
-
async getSearchKeywords() {
|
|
32
|
-
const client = await getGraphQLClient();
|
|
33
|
-
const response = await client.query({
|
|
34
|
-
query: GET_SEARCH_KEYWORDS,
|
|
35
|
-
fetchPolicy: "cache-first"
|
|
36
|
-
});
|
|
37
|
-
if (response.errors) {
|
|
38
|
-
throw new Error(
|
|
39
|
-
`Failed to fetch search keywords: ${response.errors[0].message}`
|
|
40
|
-
);
|
|
41
|
-
}
|
|
42
|
-
return response.data.aesirKeywords;
|
|
43
|
-
}
|
|
44
|
-
async searchVariablesAndFacets(query, selectedFacets, options) {
|
|
45
|
-
const client = await getGraphQLClient();
|
|
46
|
-
const response = await client.query({
|
|
47
|
-
query: GET_VARIABLES,
|
|
48
|
-
variables: {
|
|
49
|
-
q: query,
|
|
50
|
-
filter: selectedFacets
|
|
51
|
-
},
|
|
52
|
-
context: {
|
|
53
|
-
fetchOptions: {
|
|
54
|
-
signal: options == null ? void 0 : options.signal
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
if (response.errors) {
|
|
59
|
-
throw new Error(
|
|
60
|
-
`Failed to fetch variables: ${response.errors[0].message}`
|
|
61
|
-
);
|
|
62
|
-
}
|
|
63
|
-
const { variables, facets, total } = response.data.getVariables;
|
|
64
|
-
const facetsByCategory = {
|
|
65
|
-
depths: [],
|
|
66
|
-
disciplines: [],
|
|
67
|
-
measurements: [],
|
|
68
|
-
observations: [],
|
|
69
|
-
platformInstruments: [],
|
|
70
|
-
portals: [],
|
|
71
|
-
spatialResolutions: [],
|
|
72
|
-
specialFeatures: [],
|
|
73
|
-
temporalResolutions: [],
|
|
74
|
-
wavelengths: []
|
|
75
|
-
};
|
|
76
|
-
facets.forEach((facet) => {
|
|
77
|
-
const category = facet.category;
|
|
78
|
-
if (category in facetsByCategory) {
|
|
79
|
-
facetsByCategory[category] = facet.values;
|
|
80
|
-
}
|
|
81
|
-
});
|
|
82
|
-
return {
|
|
83
|
-
variables: __privateMethod(this, _adaptVariablesForResponse, adaptVariablesForResponse_fn).call(this, variables),
|
|
84
|
-
facetsByCategory,
|
|
85
|
-
total
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
async getVariable(variableEntryId, options) {
|
|
89
|
-
const client = await getGraphQLClient();
|
|
90
|
-
const response = await client.query({
|
|
91
|
-
query: GET_VARIABLES,
|
|
92
|
-
variables: {
|
|
93
|
-
variableEntryIds: [variableEntryId]
|
|
94
|
-
},
|
|
95
|
-
context: {
|
|
96
|
-
fetchOptions: {
|
|
97
|
-
signal: options == null ? void 0 : options.signal
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
});
|
|
101
|
-
if (response.errors) {
|
|
102
|
-
throw new Error(`Failed to fetch variable: ${response.errors[0].message}`);
|
|
103
|
-
}
|
|
104
|
-
const { variables } = response.data.getVariables;
|
|
105
|
-
return variables.length ? __privateMethod(this, _adaptVariablesForResponse, adaptVariablesForResponse_fn).call(this, variables)[0] : null;
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
_adaptVariablesForResponse = new WeakSet();
|
|
109
|
-
adaptVariablesForResponse_fn = function(variables) {
|
|
110
|
-
return variables.map((variable) => {
|
|
111
|
-
const exampleInitialDates = __privateMethod(this, _getReasonableInitialStartAndEndDateTime, getReasonableInitialStartAndEndDateTime_fn).call(this, variable);
|
|
112
|
-
return __spreadProps(__spreadValues({}, variable), {
|
|
113
|
-
exampleInitialStartDate: exampleInitialDates == null ? void 0 : exampleInitialDates.exampleInitialStartDate,
|
|
114
|
-
exampleInitialEndDate: exampleInitialDates == null ? void 0 : exampleInitialDates.exampleInitialEndDate,
|
|
115
|
-
dataFieldShortName: !variable.dataFieldShortName || variable.dataFieldShortName == "" ? variable.dataFieldAccessName : variable.dataFieldShortName
|
|
116
|
-
});
|
|
117
|
-
});
|
|
118
|
-
};
|
|
119
|
-
_getReasonableInitialStartAndEndDateTime = new WeakSet();
|
|
120
|
-
getReasonableInitialStartAndEndDateTime_fn = function(variable) {
|
|
121
|
-
if (!(variable == null ? void 0 : variable.dataProductBeginDateTime) || !(variable == null ? void 0 : variable.dataProductEndDateTime)) {
|
|
122
|
-
return;
|
|
123
|
-
}
|
|
124
|
-
const diff = Math.abs(
|
|
125
|
-
new Date(variable.dataProductEndDateTime).getTime() - new Date(variable.dataProductBeginDateTime).getTime()
|
|
126
|
-
);
|
|
127
|
-
const threeQuarterRange = Math.floor(diff * 0.75);
|
|
128
|
-
const startDate = Math.abs(
|
|
129
|
-
new Date(variable.dataProductBeginDateTime).getTime() + threeQuarterRange
|
|
130
|
-
);
|
|
131
|
-
return {
|
|
132
|
-
exampleInitialStartDate: getUTCDate(startDate),
|
|
133
|
-
exampleInitialEndDate: getUTCDate(variable.dataProductEndDateTime)
|
|
134
|
-
};
|
|
135
|
-
};
|
|
136
|
-
|
|
137
|
-
export {
|
|
138
|
-
GiovanniVariableCatalog
|
|
139
|
-
};
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
authService
|
|
3
|
-
} from "./chunk.O6SXSDFR.js";
|
|
4
|
-
import {
|
|
5
|
-
__privateAdd,
|
|
6
|
-
__privateGet,
|
|
7
|
-
__privateSet
|
|
8
|
-
} from "./chunk.TVFCHGU3.js";
|
|
9
|
-
|
|
10
|
-
// src/auth/auth.controller.ts
|
|
11
|
-
import { Task } from "@lit/task";
|
|
12
|
-
var _host;
|
|
13
|
-
var AuthController = class {
|
|
14
|
-
constructor(host) {
|
|
15
|
-
__privateAdd(this, _host, void 0);
|
|
16
|
-
__privateSet(this, _host, host);
|
|
17
|
-
this.task = new Task(host, {
|
|
18
|
-
task: async ([]) => {
|
|
19
|
-
this.unsubscribe = authService.subscribe(
|
|
20
|
-
(state) => {
|
|
21
|
-
if (state.token) {
|
|
22
|
-
__privateGet(this, _host).bearerToken = state.token;
|
|
23
|
-
}
|
|
24
|
-
__privateGet(this, _host).emit("terra-login", {
|
|
25
|
-
detail: state
|
|
26
|
-
});
|
|
27
|
-
__privateGet(this, _host).requestUpdate();
|
|
28
|
-
},
|
|
29
|
-
// @ts-expect-error - we can't guarantee the host has a bearerToken property
|
|
30
|
-
__privateGet(this, _host).bearerToken
|
|
31
|
-
);
|
|
32
|
-
__privateGet(this, _host).emit("terra-login", {
|
|
33
|
-
detail: authService.getState()
|
|
34
|
-
});
|
|
35
|
-
return authService.getState();
|
|
36
|
-
},
|
|
37
|
-
args: () => [],
|
|
38
|
-
autoRun: true
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
get state() {
|
|
42
|
-
return authService.getState();
|
|
43
|
-
}
|
|
44
|
-
login() {
|
|
45
|
-
authService.login();
|
|
46
|
-
}
|
|
47
|
-
logout() {
|
|
48
|
-
authService.logout();
|
|
49
|
-
}
|
|
50
|
-
render(renderFunctions) {
|
|
51
|
-
return this.task.render(renderFunctions);
|
|
52
|
-
}
|
|
53
|
-
disconnectedCallback() {
|
|
54
|
-
if (this.unsubscribe) {
|
|
55
|
-
this.unsubscribe();
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
_host = new WeakMap();
|
|
60
|
-
|
|
61
|
-
export {
|
|
62
|
-
AuthController
|
|
63
|
-
};
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
cherryPickDocInfo
|
|
3
|
-
} from "./chunk.6KIVAUVU.js";
|
|
4
|
-
import {
|
|
5
|
-
__privateAdd,
|
|
6
|
-
__privateGet,
|
|
7
|
-
__privateSet,
|
|
8
|
-
__spreadValues
|
|
9
|
-
} from "./chunk.TVFCHGU3.js";
|
|
10
|
-
|
|
11
|
-
// src/components/variable-combobox/variable-combobox.controller.ts
|
|
12
|
-
import { Task, TaskStatus } from "@lit/task";
|
|
13
|
-
var apiError = new Error(
|
|
14
|
-
"Failed to fetch the data required to make a list of searchable items."
|
|
15
|
-
);
|
|
16
|
-
var _apiTask, _bearerToken;
|
|
17
|
-
var FetchController = class {
|
|
18
|
-
constructor(host, bearerToken) {
|
|
19
|
-
__privateAdd(this, _apiTask, void 0);
|
|
20
|
-
__privateAdd(this, _bearerToken, null);
|
|
21
|
-
__privateSet(this, _bearerToken, bearerToken);
|
|
22
|
-
__privateSet(this, _apiTask, new Task(host, {
|
|
23
|
-
task: async () => {
|
|
24
|
-
const response = await fetch(
|
|
25
|
-
"https://lb.gesdisc.eosdis.nasa.gov/windmill/api/r/website/data-rods-variables",
|
|
26
|
-
{
|
|
27
|
-
headers: __spreadValues({
|
|
28
|
-
Accept: "application/json"
|
|
29
|
-
}, __privateGet(this, _bearerToken) ? { Authorization: `Bearer: ${__privateGet(this, _bearerToken)}` } : {})
|
|
30
|
-
}
|
|
31
|
-
);
|
|
32
|
-
if (!response.ok) {
|
|
33
|
-
throw apiError;
|
|
34
|
-
}
|
|
35
|
-
const {
|
|
36
|
-
response: { docs }
|
|
37
|
-
} = await response.json();
|
|
38
|
-
return cherryPickDocInfo(docs);
|
|
39
|
-
},
|
|
40
|
-
args: () => []
|
|
41
|
-
}));
|
|
42
|
-
}
|
|
43
|
-
get taskComplete() {
|
|
44
|
-
return __privateGet(this, _apiTask).taskComplete;
|
|
45
|
-
}
|
|
46
|
-
get value() {
|
|
47
|
-
return __privateGet(this, _apiTask).value;
|
|
48
|
-
}
|
|
49
|
-
get taskStatus() {
|
|
50
|
-
const readableStatus = Object.entries(TaskStatus).reduce((accumulator, [key, value]) => {
|
|
51
|
-
accumulator[value] = key;
|
|
52
|
-
return accumulator;
|
|
53
|
-
}, {});
|
|
54
|
-
return readableStatus[__privateGet(this, _apiTask).status];
|
|
55
|
-
}
|
|
56
|
-
render(renderFunctions) {
|
|
57
|
-
return __privateGet(this, _apiTask).render(renderFunctions);
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
_apiTask = new WeakMap();
|
|
61
|
-
_bearerToken = new WeakMap();
|
|
62
|
-
|
|
63
|
-
export {
|
|
64
|
-
FetchController
|
|
65
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// src/components/icon/icon.styles.ts
|
|
2
|
-
import { css } from "lit";
|
|
3
|
-
var icon_styles_default = css`
|
|
4
|
-
:host {
|
|
5
|
-
display: inline-block;
|
|
6
|
-
width: 1em;
|
|
7
|
-
height: 1em;
|
|
8
|
-
box-sizing: content-box !important;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
svg {
|
|
12
|
-
display: block;
|
|
13
|
-
height: 100%;
|
|
14
|
-
width: 100%;
|
|
15
|
-
}
|
|
16
|
-
`;
|
|
17
|
-
|
|
18
|
-
export {
|
|
19
|
-
icon_styles_default
|
|
20
|
-
};
|