@nasa-terra/components 0.0.66 → 0.0.68
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.267X6M4K.js +32 -0
- package/{dist/chunks/chunk.QCPKB2RQ.js → cdn/chunks/chunk.2AIVKD54.js} +1 -1
- package/{dist/chunks/chunk.S4SOS6YI.js → cdn/chunks/chunk.2BW4SOWQ.js} +1 -1
- package/cdn/chunks/chunk.2EYRPHGL.js +10 -0
- package/cdn/chunks/chunk.2GEN6UCO.js +21 -0
- package/{dist/chunks/chunk.XNHODSUI.js → cdn/chunks/chunk.2LGINANI.js} +1 -1
- package/cdn/chunks/chunk.2O6ZLP2H.js +29 -0
- package/{dist/chunks/chunk.RG376NBJ.js → cdn/chunks/chunk.2OQZA3CW.js} +1 -1
- package/cdn/chunks/{chunk.E7LVY6QB.js → chunk.2UTYN7TH.js} +1 -1
- package/{dist/chunks/chunk.YW6MGSTP.js → cdn/chunks/chunk.2WYXDPGS.js} +1 -1
- package/cdn/chunks/{chunk.MOVW5G4G.js → chunk.37HJNI4K.js} +382 -13
- package/cdn/chunks/chunk.3GLMJLNY.js +139 -0
- package/{dist/chunks/chunk.AKP5NSM6.js → cdn/chunks/chunk.3H5ZUQL5.js} +16 -16
- package/{dist/chunks/chunk.6HUNVCKY.js → cdn/chunks/chunk.3L77HLPZ.js} +1 -1
- package/cdn/chunks/chunk.3NBSKUOT.js +29 -0
- package/cdn/chunks/chunk.3PUTIFOP.js +35 -0
- package/cdn/chunks/chunk.3XJ5QNGT.js +21 -0
- package/cdn/chunks/{chunk.R4TNI2PU.js → chunk.42OJJSTJ.js} +14 -11
- package/cdn/chunks/chunk.42V23REY.js +21 -0
- package/cdn/chunks/chunk.445A7YVG.js +271 -0
- package/{dist/chunks/chunk.VUC6OYZI.js → cdn/chunks/chunk.4E55SLUR.js} +1 -1
- package/{dist/chunks/chunk.ETL6SVKH.js → cdn/chunks/chunk.4EIGF3E4.js} +7 -4
- package/cdn/chunks/chunk.4MGGBJBD.js +20 -0
- package/cdn/chunks/{chunk.DYOCIII6.js → chunk.4RM2EJEW.js} +4 -4
- package/{dist/chunks/chunk.2RUMLCNG.js → cdn/chunks/chunk.4WKVINLB.js} +1 -1
- package/cdn/chunks/{chunk.QVZIEWRW.js → chunk.563FCLVE.js} +1 -1
- package/cdn/chunks/chunk.5ASTHFQ2.js +950 -0
- package/cdn/chunks/chunk.5IYUIO2L.js +35 -0
- package/cdn/chunks/chunk.5KFA2A5F.js +33 -0
- package/{dist/chunks/chunk.JGUDK23O.js → cdn/chunks/chunk.5QKVNNUH.js} +5 -5
- package/cdn/chunks/chunk.5TZQDEBJ.js +21 -0
- package/{dist/chunks/chunk.QXGOVVWV.js → cdn/chunks/chunk.642Z3X7N.js} +1 -1
- package/{dist/chunks/chunk.HRP2UCAE.js → cdn/chunks/chunk.64ARWPHU.js} +1 -1
- package/cdn/chunks/{chunk.26Y3U5MM.js → chunk.66XPY5CX.js} +1 -1
- package/cdn/chunks/{chunk.X5N7C225.js → chunk.675EEES3.js} +1 -1
- package/cdn/chunks/chunk.6KIVAUVU.js +124 -0
- package/{dist/chunks/chunk.GXQRUGWI.js → cdn/chunks/chunk.6VTAKEV4.js} +1 -1
- package/cdn/chunks/chunk.6YSGUTCT.js +29 -0
- package/cdn/chunks/chunk.7674U7FT.js +215 -0
- package/cdn/chunks/chunk.7AEQ2LX4.js +335 -0
- package/cdn/chunks/chunk.7CMA526Q.js +14 -0
- package/cdn/chunks/chunk.7MLJ7J6F.js +32 -0
- package/cdn/chunks/chunk.7OS7YKP4.js +29 -0
- package/cdn/chunks/chunk.7RT5CEB6.js +72 -0
- package/cdn/chunks/{chunk.T2KAO3UD.js → chunk.7TSM56FT.js} +1 -1
- package/cdn/chunks/{chunk.3MIPIE6V.js → chunk.A5QNIXR4.js} +1 -1
- package/{dist/chunks/chunk.EKUWLBOP.js → cdn/chunks/chunk.A6D5MCCT.js} +1 -0
- package/cdn/chunks/chunk.A7GHUUVY.js +21 -0
- package/cdn/chunks/chunk.ADFWUZLL.js +21 -0
- package/{dist/chunks/chunk.VNUPHGI3.js → cdn/chunks/chunk.AHGKSSSI.js} +8 -8
- package/cdn/chunks/chunk.AU4MMC6N.js +24 -0
- package/cdn/chunks/chunk.AZXB7ZHM.js +151 -0
- package/{dist/chunks/chunk.QFYOTBLT.js → cdn/chunks/chunk.B6JXOXP5.js} +16 -19
- package/cdn/chunks/chunk.BBQJZ64A.js +52 -0
- package/cdn/chunks/{chunk.2VDC2CLR.js → chunk.BDUFTI77.js} +1 -1
- package/cdn/chunks/chunk.BEDYDFXT.js +52 -0
- package/cdn/chunks/{chunk.FHFFLCE4.js → chunk.BLILGPHT.js} +4 -4
- package/cdn/chunks/chunk.BRVCFRLF.js +21 -0
- package/cdn/chunks/{chunk.5JKUUXXD.js → chunk.BXZG34AL.js} +1 -1
- package/{dist/chunks/chunk.NGMZML6J.js → cdn/chunks/chunk.CA2ZDE2M.js} +1 -1
- package/cdn/chunks/chunk.CGIR4OSR.js +29 -0
- package/cdn/chunks/chunk.CIFC3RF3.js +43 -0
- package/cdn/chunks/chunk.D3DPGMVW.js +222 -0
- package/cdn/chunks/chunk.D3XI3L7Y.js +55 -0
- package/cdn/chunks/{chunk.T27OOS5L.js → chunk.DKQUCHXW.js} +1 -1
- package/cdn/chunks/{chunk.QB7GRCXW.js → chunk.DLTRS5SJ.js} +1 -1
- package/cdn/chunks/chunk.DTUHBE3U.js +37 -0
- package/cdn/chunks/{chunk.2UIKXGCO.js → chunk.DUUVIZLI.js} +1 -1
- package/cdn/chunks/chunk.E2WXLMWX.js +0 -0
- package/{dist/chunks/chunk.WOD3IAR2.js → cdn/chunks/chunk.EBJUC35J.js} +1 -1
- package/cdn/chunks/{chunk.CQUNIMB6.js → chunk.ELVU6MXJ.js} +1 -1
- package/cdn/chunks/chunk.EPQBAMGN.js +32 -0
- package/{dist/chunks/chunk.YO2CHERX.js → cdn/chunks/chunk.ERXCYNDC.js} +1 -1
- package/cdn/chunks/{chunk.SIQLNOLM.js → chunk.F26HLQPA.js} +4 -4
- package/cdn/chunks/chunk.F3KBUEPT.js +10 -0
- package/cdn/chunks/chunk.F5AEDYTP.js +37 -0
- package/cdn/chunks/{chunk.5HS2P4QF.js → chunk.F6FOZL2X.js} +1 -1
- package/{dist/chunks/chunk.OO7FUQ6P.js → cdn/chunks/chunk.FF3EIVF2.js} +1 -1
- package/{dist/chunks/chunk.KRJLTCAP.js → cdn/chunks/chunk.FNTPKP6P.js} +19 -9
- package/cdn/chunks/chunk.FRSW4UHB.js +268 -0
- package/cdn/chunks/{chunk.T37LTQ4C.js → chunk.FT6FCCXU.js} +14 -14
- package/cdn/chunks/chunk.FUU57PWY.js +36 -0
- package/cdn/chunks/chunk.G6SMK5II.js +19 -0
- package/{dist/chunks/chunk.FHX7T2OA.js → cdn/chunks/chunk.GL5HOXON.js} +6 -6
- package/{dist/chunks/chunk.XPEGNLOR.js → cdn/chunks/chunk.GMJWNAQG.js} +1 -1
- package/{dist/chunks/chunk.BT3OM7YW.js → cdn/chunks/chunk.GQRGC6YW.js} +1 -1
- package/{dist/chunks/chunk.JLXWDK6Q.js → cdn/chunks/chunk.GUYBX63F.js} +1 -1
- package/cdn/chunks/chunk.H4KNN2HU.js +29 -0
- package/{dist/chunks/chunk.EOUI57NU.js → cdn/chunks/chunk.H73IKOBV.js} +1 -1
- package/cdn/chunks/{chunk.FK35YOPT.js → chunk.HDPH5PEF.js} +1 -2
- package/cdn/chunks/chunk.HKST5N6O.js +21 -0
- package/cdn/chunks/{chunk.MUYS3VLW.js → chunk.HMS35ZFE.js} +1 -1
- package/cdn/chunks/chunk.HNQMK3PU.js +685 -0
- package/{dist/chunks/chunk.M54W77XC.js → cdn/chunks/chunk.HNWBSRBL.js} +1 -1
- package/cdn/chunks/{chunk.VON4E7FJ.js → chunk.HP52P3QK.js} +1 -1
- package/{dist/chunks/chunk.N5RBPPIG.js → cdn/chunks/chunk.HUX2RF6U.js} +1 -1
- package/cdn/chunks/{chunk.QJ4KM4TA.js → chunk.HVXUUXZ7.js} +1 -1
- package/cdn/chunks/chunk.HWZP2UTW.js +49 -0
- package/cdn/chunks/{chunk.S5LWJDD7.js → chunk.HYCJBOI5.js} +1 -1
- package/cdn/chunks/{chunk.2QANHSCY.js → chunk.I2VFSA6U.js} +1 -1
- package/cdn/chunks/chunk.IC4T7CZD.js +62 -0
- package/cdn/chunks/chunk.IJC2KB5R.js +25 -0
- package/{dist/chunks/chunk.JY5KBXRE.js → cdn/chunks/chunk.J25AAZTC.js} +1 -1
- package/cdn/chunks/chunk.J5OQO7FQ.js +29 -0
- package/{dist/chunks/chunk.2KHKJBOB.js → cdn/chunks/chunk.JHEFOGNL.js} +1 -1
- package/cdn/chunks/{chunk.WN54FAZ2.js → chunk.JIGZ6E5V.js} +1 -1
- package/{dist/chunks/chunk.GM6TGL7L.js → cdn/chunks/chunk.JOFHFGQP.js} +1 -1
- package/{dist/chunks/chunk.2OG44KDU.js → cdn/chunks/chunk.JUQDLDHB.js} +2 -2
- package/cdn/chunks/chunk.KFMZHBMX.js +29 -0
- package/{dist/chunks/chunk.AP4TJGMK.js → cdn/chunks/chunk.KIC5ZCAM.js} +1 -1
- package/cdn/chunks/chunk.KLCOAQUS.js +65 -0
- package/cdn/chunks/chunk.KUSRVQBO.js +20 -0
- package/cdn/chunks/{chunk.EGZALHQH.js → chunk.KXDQAQQH.js} +1 -1
- package/{dist/chunks/chunk.34ZROIP4.js → cdn/chunks/chunk.KXL6VOQP.js} +1 -1
- package/cdn/chunks/chunk.L2M2AJ4W.js +21 -0
- package/cdn/chunks/chunk.L63WM7I3.js +65 -0
- package/{dist/chunks/chunk.GRGSTMOZ.js → cdn/chunks/chunk.LDCRCQNJ.js} +1 -1
- package/cdn/chunks/{chunk.TIANXDJM.js → chunk.LF2YS25X.js} +6 -6
- package/cdn/chunks/chunk.LF5NNQDS.js +29 -0
- package/cdn/chunks/{chunk.KAJGV2AN.js → chunk.LLQADAZV.js} +1 -1
- package/cdn/chunks/chunk.LRHEF6JN.js +32 -0
- package/cdn/chunks/{chunk.3SQ33WJL.js → chunk.LZSKCTIU.js} +6 -6
- package/{dist/chunks/chunk.KASQMBBH.js → cdn/chunks/chunk.M6X72F3Q.js} +1 -1
- package/cdn/chunks/{chunk.ZDCD6475.js → chunk.MB27YSID.js} +1 -1
- package/{dist/chunks/chunk.PE7UEIVX.js → cdn/chunks/chunk.MFI2M54Y.js} +6 -6
- package/{dist/chunks/chunk.EC75KAKW.js → cdn/chunks/chunk.MGM5E2VQ.js} +7 -0
- package/cdn/chunks/chunk.MN7UEWGN.js +29 -0
- package/cdn/chunks/chunk.MQOXBVDK.js +58 -0
- package/cdn/chunks/{chunk.5JLTH2LZ.js → chunk.MXI6CLWG.js} +1 -1
- package/cdn/chunks/{chunk.E4Y3ZGGY.js → chunk.NDNXLJCK.js} +2 -2
- package/cdn/chunks/chunk.NMWP5DQX.js +259 -0
- package/cdn/chunks/chunk.NQYUJ7FK.js +24 -0
- package/cdn/chunks/chunk.NT4JROIJ.js +29 -0
- package/{dist/chunks/chunk.MHGQR4W2.js → cdn/chunks/chunk.O6SXSDFR.js} +2 -2
- package/{dist/chunks/chunk.2OOE2V74.js → cdn/chunks/chunk.O7SVDS2A.js} +1 -1
- package/{dist/chunks/chunk.MQJRL4UB.js → cdn/chunks/chunk.OBANVLY7.js} +1 -1
- package/{dist/chunks/chunk.JLB3AJLB.js → cdn/chunks/chunk.OJC754DG.js} +6 -6
- package/cdn/chunks/{chunk.XPUSLKRS.js → chunk.OM26KC4G.js} +1 -1
- package/{dist/chunks/chunk.PSJFGFBP.js → cdn/chunks/chunk.OVUWZWWN.js} +4 -4
- package/{dist/chunks/chunk.5PBPZZYM.js → cdn/chunks/chunk.OX5IY75Y.js} +1 -1
- package/cdn/chunks/{chunk.PI4LM4FQ.js → chunk.OXUFHTFN.js} +10 -4
- package/cdn/chunks/chunk.OY5R7EVO.js +24 -0
- package/cdn/chunks/chunk.P6OOV5UQ.js +25 -0
- package/cdn/chunks/chunk.P7EL7GKI.js +41 -0
- package/cdn/chunks/chunk.PA5O6555.js +24 -0
- package/{dist/chunks/chunk.CTYCOFYG.js → cdn/chunks/chunk.PAJVTERU.js} +1 -1
- package/cdn/chunks/chunk.PBC3S6IG.js +33 -0
- package/cdn/chunks/{chunk.FP5FRSMY.js → chunk.PDAOAQE4.js} +5 -5
- package/{dist/chunks/chunk.I52J3GOW.js → cdn/chunks/chunk.PG4TSLWI.js} +5 -5
- package/{dist/chunks/chunk.6MTPABT6.js → cdn/chunks/chunk.PRQ5P3TK.js} +1 -1
- package/cdn/chunks/chunk.PX3KFYMT.js +32 -0
- package/cdn/chunks/{chunk.C7NEKS3B.js → chunk.Q52W3YPD.js} +1 -1
- package/{dist/chunks/chunk.3JVESZWK.js → cdn/chunks/chunk.QAMFDZKG.js} +1 -1
- package/{dist/chunks/chunk.V5URSACK.js → cdn/chunks/chunk.QHY2BYL4.js} +1 -1
- package/cdn/chunks/chunk.QI3YAMIR.js +33 -0
- package/{dist/chunks/chunk.SC2Q3UUF.js → cdn/chunks/chunk.QNNEWLT7.js} +1 -1
- package/cdn/chunks/chunk.QQQ2BD4U.js +80 -0
- package/cdn/chunks/{chunk.FRSCLRYD.js → chunk.QVPRK545.js} +2 -2
- package/{dist/chunks/chunk.6YCZZJMS.js → cdn/chunks/chunk.QZS6UUDI.js} +10 -4
- package/cdn/chunks/chunk.RBVJJWF4.js +21 -0
- package/cdn/chunks/chunk.RDID3JKQ.js +25 -0
- package/cdn/chunks/{chunk.M7WGJM54.js → chunk.RF7RG72G.js} +1 -1
- package/cdn/chunks/{chunk.YQK5E5T2.js → chunk.RJR6I3VL.js} +1 -1
- package/cdn/chunks/chunk.RJUTQBOV.js +21 -0
- package/{dist/chunks/chunk.7SZ5FLBG.js → cdn/chunks/chunk.RVH4PSND.js} +197 -14
- package/{dist/chunks/chunk.K36FUM7O.js → cdn/chunks/chunk.RZ3APMFR.js} +1 -1
- package/cdn/chunks/chunk.SGFD3ORP.js +293 -0
- package/cdn/chunks/{chunk.J4IIXP4W.js → chunk.SI75QZHB.js} +7 -0
- package/cdn/chunks/{chunk.TAW4DCZW.js → chunk.SJHEJ7W7.js} +1 -1
- package/cdn/chunks/{chunk.76RNZX2A.js → chunk.SJYXIRDX.js} +1 -1
- package/cdn/chunks/chunk.SLDPYP3J.js +29 -0
- package/cdn/chunks/chunk.SRBWEFVT.js +27 -0
- package/{dist/chunks/chunk.KB7DEF3R.js → cdn/chunks/chunk.SWDQJJ7Q.js} +1 -1
- package/cdn/chunks/{chunk.N2TTTIPA.js → chunk.SX6OLRTC.js} +8 -8
- package/cdn/chunks/{chunk.K3JEGUHG.js → chunk.T33FEXFP.js} +10 -10
- package/{dist/chunks/chunk.ZGSDVAHX.js → cdn/chunks/chunk.T53RBNNE.js} +1 -2
- package/cdn/chunks/chunk.TCEJ3MS6.js +97 -0
- package/cdn/chunks/chunk.TJGA66AX.js +25 -0
- package/cdn/chunks/{chunk.5QLXSATY.js → chunk.TJWGQR3Y.js} +7 -7
- package/cdn/chunks/{chunk.XR5EZIHP.js → chunk.TU7POBNP.js} +1 -1
- package/cdn/chunks/chunk.TVFCHGU3.js +76 -0
- package/cdn/chunks/{chunk.H6F3VHB2.js → chunk.U7VIR3OC.js} +8 -8
- package/cdn/chunks/{chunk.BOGE65ZY.js → chunk.UA57XIMB.js} +1 -1
- package/{dist/chunks/chunk.N7QDVMX3.js → cdn/chunks/chunk.UDCRU3NE.js} +1 -1
- package/cdn/chunks/{chunk.6ZUOFZAK.js → chunk.UEDKVSIH.js} +1 -1
- package/cdn/chunks/{chunk.JDQ6TQCQ.js → chunk.UHOMZS5K.js} +16 -19
- package/cdn/chunks/{chunk.ZVC7SBSS.js → chunk.UKT47BLY.js} +6 -6
- package/cdn/chunks/chunk.UMT2LQ4W.js +29 -0
- package/cdn/chunks/{chunk.OC666EPD.js → chunk.UO6SHH3I.js} +1 -1
- package/cdn/chunks/chunk.URKW2CME.js +21 -0
- package/{dist/chunks/chunk.YLMWEEA2.js → cdn/chunks/chunk.UT5XKCBV.js} +2 -2
- package/cdn/chunks/chunk.UZAIWUWC.js +8 -0
- package/{dist/chunks/chunk.DBWZYUMX.js → cdn/chunks/chunk.UZZDJISQ.js} +4 -4
- package/cdn/chunks/chunk.V2Z7ZBTD.js +293 -0
- package/cdn/chunks/chunk.V3EFWONT.js +26 -0
- package/cdn/chunks/chunk.V7LXD3II.js +318 -0
- package/cdn/chunks/{chunk.NC5TCHFE.js → chunk.VDOKMZL7.js} +5 -5
- package/cdn/chunks/{chunk.BI76W67M.js → chunk.VGHXDEZO.js} +1 -1
- package/cdn/chunks/{chunk.AQODH346.js → chunk.VLZAS4LQ.js} +2 -1
- package/cdn/chunks/{chunk.2A2HFMGZ.js → chunk.VUJ26IHB.js} +1 -1
- package/cdn/chunks/{chunk.JIBQZDEG.js → chunk.VYDVYEG6.js} +1 -1
- package/cdn/chunks/chunk.WJL4R4O2.js +7 -0
- package/cdn/chunks/{chunk.AOJTBQKP.js → chunk.WXFIXIOS.js} +2 -2
- package/cdn/chunks/chunk.WXZHDVQ3.js +21 -0
- package/{dist/chunks/chunk.Y54UJLRZ.js → cdn/chunks/chunk.X7MVYC7B.js} +1 -1
- package/cdn/chunks/chunk.XJVLYIYE.js +41 -0
- package/cdn/chunks/{chunk.SUU6GE6N.js → chunk.XKNIRUTP.js} +4 -4
- package/cdn/chunks/chunk.XOD4KYCP.js +120 -0
- package/cdn/chunks/{chunk.FUKHJNAX.js → chunk.XQNQJ73Y.js} +22 -12
- package/{dist/chunks/chunk.XYWAGUD5.js → cdn/chunks/chunk.XWDZOQJ3.js} +1 -1
- package/{dist/chunks/chunk.PB42J5AM.js → cdn/chunks/chunk.XXFKVRN5.js} +1 -1
- package/cdn/chunks/chunk.XZB6CNAL.js +96 -0
- package/cdn/chunks/chunk.Y7ZED6A4.js +24 -0
- package/cdn/chunks/chunk.YIP3L3SE.js +21 -0
- package/{dist/chunks/chunk.Z3HX7EEA.js → cdn/chunks/chunk.YMHBYV33.js} +8 -8
- package/cdn/chunks/chunk.YMKCGXI7.js +33 -0
- package/cdn/chunks/chunk.YNJENG4F.js +33 -0
- package/{dist/chunks/chunk.Y2LZH62Y.js → cdn/chunks/chunk.YP5DVLJS.js} +1 -1
- package/cdn/chunks/{chunk.N5GAZEUH.js → chunk.YQRTSELX.js} +1 -1
- package/cdn/chunks/chunk.YXLIUMJM.js +147 -0
- package/cdn/chunks/chunk.YY65ZHR5.js +35 -0
- package/cdn/chunks/{chunk.EXIJCLV5.js → chunk.Z3FCGMJE.js} +1 -1
- package/cdn/chunks/chunk.Z4S5QPB7.js +655 -0
- package/cdn/chunks/{chunk.HZHS4RMI.js → chunk.Z5SQ4THO.js} +1 -1
- package/cdn/chunks/chunk.ZAROXC53.js +29 -0
- package/cdn/chunks/{chunk.7IQH7BQC.js → chunk.ZBRNWBWX.js} +1 -1
- package/cdn/chunks/{chunk.DV54QIG7.js → chunk.ZNKT2Q6X.js} +2 -2
- package/cdn/chunks/{chunk.5EPVHMFA.js → chunk.ZZMMULOM.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 +4 -4
- package/cdn/components/alert/alert.js +5 -5
- package/cdn/components/browse-variables/browse-variables.component.js +20 -20
- package/cdn/components/browse-variables/browse-variables.controller.js +4 -4
- package/cdn/components/browse-variables/browse-variables.js +21 -21
- package/cdn/components/browse-variables/browse-variables.types.d.ts +1 -0
- package/cdn/components/button/button.component.js +3 -3
- package/cdn/components/button/button.js +4 -4
- package/cdn/components/chip/chip.component.js +3 -3
- package/cdn/components/chip/chip.js +4 -4
- package/cdn/components/combobox/combobox.component.js +7 -7
- package/cdn/components/combobox/combobox.js +8 -8
- package/cdn/components/data-rods/data-rods.component.js +40 -40
- package/cdn/components/data-rods/data-rods.js +41 -41
- package/cdn/components/data-subsetter/data-subsetter.component.js +29 -29
- package/cdn/components/data-subsetter/data-subsetter.controller.d.ts +1 -1
- package/cdn/components/data-subsetter/data-subsetter.controller.js +4 -4
- package/cdn/components/data-subsetter/data-subsetter.js +30 -30
- package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +32 -32
- package/cdn/components/data-subsetter-history/data-subsetter-history.controller.js +3 -3
- package/cdn/components/data-subsetter-history/data-subsetter-history.js +33 -33
- package/cdn/components/date-picker/date-picker.component.js +4 -4
- package/cdn/components/date-picker/date-picker.js +5 -5
- package/cdn/components/date-range-slider/date-range-slider.component.js +4 -4
- package/cdn/components/date-range-slider/date-range-slider.js +5 -5
- package/cdn/components/dialog/dialog.component.js +3 -3
- package/cdn/components/dialog/dialog.js +4 -4
- package/cdn/components/icon/icon.component.js +3 -3
- package/cdn/components/icon/icon.js +4 -4
- package/cdn/components/loader/loader.component.js +3 -3
- package/cdn/components/loader/loader.js +4 -4
- package/cdn/components/login/login.component.js +13 -13
- package/cdn/components/login/login.js +14 -14
- package/cdn/components/map/leaflet-utils.js +3 -3
- package/cdn/components/map/map.component.js +10 -10
- package/cdn/components/map/map.controller.js +3 -3
- package/cdn/components/map/map.js +11 -11
- package/cdn/components/plot/plot.component.js +4 -4
- package/cdn/components/plot/plot.js +5 -5
- package/cdn/components/plot-toolbar/plot-toolbar.component.js +10 -10
- package/cdn/components/plot-toolbar/plot-toolbar.js +11 -11
- package/cdn/components/plot-toolbar/plot-toolbar.styles.js +1 -1
- package/cdn/components/skeleton/skeleton.component.js +7 -7
- package/cdn/components/skeleton/skeleton.js +8 -8
- package/cdn/components/spatial-picker/spatial-picker.component.js +12 -12
- package/cdn/components/spatial-picker/spatial-picker.js +13 -13
- package/cdn/components/time-average-map/time-average-map.component.d.ts +11 -0
- package/cdn/components/time-average-map/time-average-map.component.js +17 -17
- package/cdn/components/time-average-map/time-average-map.controller.js +3 -3
- package/cdn/components/time-average-map/time-average-map.js +18 -18
- package/cdn/components/time-average-map/time-average-map.styles.js +1 -1
- package/cdn/components/time-series/time-series.component.js +21 -21
- package/cdn/components/time-series/time-series.controller.js +3 -3
- package/cdn/components/time-series/time-series.js +22 -22
- 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 +15 -15
- package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +4 -4
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +16 -16
- package/cdn/custom-elements.json +1072 -960
- package/cdn/react/accordion/index.js +24 -0
- package/cdn/react/alert/index.js +19 -0
- package/cdn/react/browse-variables/index.js +51 -0
- package/cdn/react/button/index.js +21 -0
- package/cdn/react/chip/index.js +17 -0
- package/cdn/react/combobox/index.js +25 -0
- package/cdn/react/data-rods/index.js +75 -0
- package/cdn/react/data-subsetter/index.js +62 -0
- package/cdn/react/data-subsetter-history/index.js +67 -0
- package/cdn/react/date-picker/index.js +23 -0
- package/cdn/react/date-range-slider/index.js +19 -0
- package/cdn/react/dialog/index.js +15 -0
- package/cdn/react/icon/index.js +22 -0
- package/cdn/react/index.d.ts +5 -5
- package/cdn/react/index.js +214 -0
- package/cdn/react/loader/index.js +17 -0
- package/cdn/react/login/index.js +38 -0
- package/cdn/react/map/index.js +26 -0
- package/cdn/react/plot/index.js +17 -0
- package/cdn/react/plot-toolbar/index.js +34 -0
- package/cdn/react/skeleton/index.js +24 -0
- package/cdn/react/spatial-picker/index.js +28 -0
- package/cdn/react/time-average-map/index.js +46 -0
- package/cdn/react/time-series/index.js +50 -0
- package/cdn/react/variable-combobox/index.js +41 -0
- package/cdn/react/variable-keyword-search/index.js +42 -0
- package/cdn/terra-ui-components.js +99 -99
- package/cdn/types/vue/index.d.ts +121 -117
- package/cdn/utilities/animation.js +4 -4
- package/cdn/vscode.html-custom-data.json +137 -137
- package/cdn/web-types.json +471 -469
- package/dist/chunks/chunk.2AIVKD54.js +214 -0
- package/dist/chunks/chunk.2BW4SOWQ.js +11 -0
- package/dist/chunks/chunk.2GEN6UCO.js +21 -0
- package/dist/chunks/chunk.2LGINANI.js +82 -0
- package/dist/chunks/chunk.2OQZA3CW.js +477 -0
- package/dist/chunks/chunk.2WYXDPGS.js +11 -0
- package/dist/chunks/chunk.34PJLKJJ.js +416 -0
- package/dist/chunks/chunk.35EPISNE.js +11 -0
- package/dist/chunks/chunk.3H5ZUQL5.js +498 -0
- package/dist/chunks/chunk.3L77HLPZ.js +88 -0
- package/dist/chunks/chunk.3UAVO7EA.js +24 -0
- package/dist/chunks/chunk.3ULVIGJG.js +21 -0
- package/dist/chunks/chunk.3XJ5QNGT.js +21 -0
- package/dist/chunks/chunk.42V23REY.js +21 -0
- package/dist/chunks/chunk.44BRND6T.js +21 -0
- package/dist/chunks/chunk.4E55SLUR.js +11 -0
- package/dist/chunks/chunk.4EIGF3E4.js +470 -0
- package/dist/chunks/chunk.4SUQPJ6R.js +63 -0
- package/dist/chunks/chunk.4WKVINLB.js +11 -0
- package/dist/chunks/chunk.5QKVNNUH.js +73 -0
- package/dist/chunks/chunk.5TZQDEBJ.js +21 -0
- package/dist/chunks/chunk.642Z3X7N.js +11 -0
- package/dist/chunks/chunk.64ARWPHU.js +11 -0
- package/dist/chunks/chunk.65TXBD5Q.js +11 -0
- package/dist/chunks/chunk.6DUMNJRP.js +11 -0
- package/dist/chunks/chunk.6VTAKEV4.js +74 -0
- package/dist/chunks/chunk.76XDDHGB.js +24 -0
- package/dist/chunks/chunk.77RFVKUZ.js +21 -0
- package/dist/chunks/chunk.7JCOOCRE.js +498 -0
- package/dist/chunks/chunk.A6D5MCCT.js +123 -0
- package/dist/chunks/chunk.A7GHUUVY.js +21 -0
- package/dist/chunks/chunk.A7JSMGCJ.js +11 -0
- package/dist/chunks/chunk.ADFWUZLL.js +21 -0
- package/dist/chunks/chunk.AHGKSSSI.js +185 -0
- package/dist/chunks/chunk.AQADCBKW.js +11 -0
- package/dist/chunks/chunk.AU4MMC6N.js +24 -0
- package/dist/chunks/chunk.B63QBHY2.js +21 -0
- package/dist/chunks/chunk.B6JXOXP5.js +348 -0
- package/dist/chunks/chunk.BRVCFRLF.js +21 -0
- package/dist/chunks/chunk.CA2ZDE2M.js +11 -0
- package/dist/chunks/chunk.CDJJZBFH.js +21 -0
- package/dist/chunks/chunk.E4HHQCTB.js +25 -0
- package/dist/chunks/chunk.EBJUC35J.js +11 -0
- package/dist/chunks/chunk.EFBCCYOG.js +21 -0
- package/dist/chunks/chunk.ERXCYNDC.js +11 -0
- package/dist/chunks/chunk.EU34RZJ6.js +348 -0
- package/dist/chunks/chunk.FD3GJNJJ.js +82 -0
- package/dist/chunks/chunk.FF3EIVF2.js +11 -0
- package/dist/chunks/chunk.FNTPKP6P.js +538 -0
- package/dist/chunks/chunk.FZMMKJAN.js +11 -0
- package/dist/chunks/chunk.FZUQIX6Q.js +24 -0
- package/dist/chunks/chunk.GGRGK2NT.js +78 -0
- package/dist/chunks/chunk.GJZMMPJG.js +21 -0
- package/dist/chunks/chunk.GL5HOXON.js +202 -0
- package/dist/chunks/chunk.GMJWNAQG.js +264 -0
- package/dist/chunks/chunk.GPP6JDF4.js +11 -0
- package/dist/chunks/chunk.GQRGC6YW.js +11 -0
- package/dist/chunks/chunk.GUYBX63F.js +108 -0
- package/dist/chunks/chunk.H2UQBMCX.js +21 -0
- package/dist/chunks/chunk.H73IKOBV.js +11 -0
- package/dist/chunks/chunk.HKST5N6O.js +21 -0
- package/dist/chunks/chunk.HN27UQHP.js +21 -0
- package/dist/chunks/chunk.HNWBSRBL.js +43 -0
- package/dist/chunks/chunk.HUX2RF6U.js +53 -0
- package/dist/chunks/chunk.IFHDVWGZ.js +258 -0
- package/dist/chunks/chunk.IG5HGQXY.js +11 -0
- package/dist/chunks/chunk.IJC2KB5R.js +25 -0
- package/dist/chunks/chunk.J25AAZTC.js +21 -0
- package/dist/chunks/chunk.J6VAJGFU.js +11 -0
- package/dist/chunks/chunk.JHEFOGNL.js +11 -0
- package/dist/chunks/chunk.JOFHFGQP.js +180 -0
- package/dist/chunks/chunk.JOTLSXEI.js +82 -0
- package/dist/chunks/chunk.JUQDLDHB.js +139 -0
- package/dist/chunks/chunk.KIC5ZCAM.js +63 -0
- package/dist/chunks/chunk.KOT22IKI.js +21 -0
- package/dist/chunks/chunk.KQXAXXOQ.js +53 -0
- package/dist/chunks/chunk.KRADMAUS.js +11 -0
- package/dist/chunks/chunk.KXL6VOQP.js +82 -0
- package/dist/chunks/chunk.L2M2AJ4W.js +21 -0
- package/dist/chunks/chunk.L7RNO3FR.js +11 -0
- package/dist/chunks/chunk.LDCRCQNJ.js +103 -0
- package/dist/chunks/chunk.LNIZRE4P.js +180 -0
- package/dist/chunks/chunk.LQOZT7TL.js +228 -0
- package/dist/chunks/chunk.LQXULJBQ.js +21 -0
- package/dist/chunks/chunk.M3SLDTSE.js +477 -0
- package/dist/chunks/chunk.M6X72F3Q.js +373 -0
- package/dist/chunks/chunk.M74U5ILB.js +25 -0
- package/dist/chunks/chunk.M7ZB5QRP.js +273 -0
- package/dist/chunks/chunk.MEMNTMV2.js +183 -0
- package/dist/chunks/chunk.MFI2M54Y.js +273 -0
- package/dist/chunks/chunk.MGM5E2VQ.js +98 -0
- package/dist/chunks/chunk.MKU7QBFN.js +11 -0
- package/dist/chunks/chunk.NDADYNAA.js +11 -0
- package/dist/chunks/chunk.NLADA7XK.js +11 -0
- package/dist/chunks/chunk.NQYUJ7FK.js +24 -0
- package/dist/chunks/chunk.O6SXSDFR.js +539 -0
- package/dist/chunks/chunk.O7SVDS2A.js +11 -0
- package/dist/chunks/chunk.OBANVLY7.js +11 -0
- package/dist/chunks/chunk.OJC754DG.js +228 -0
- package/dist/chunks/chunk.OVUWZWWN.js +355 -0
- package/dist/chunks/chunk.OX5IY75Y.js +11 -0
- package/dist/chunks/chunk.OY5R7EVO.js +24 -0
- package/dist/chunks/chunk.P6OOV5UQ.js +25 -0
- package/dist/chunks/chunk.P7EL7GKI.js +41 -0
- package/dist/chunks/chunk.P7UY5YOM.js +202 -0
- package/dist/chunks/chunk.PA5O6555.js +24 -0
- package/dist/chunks/chunk.PAJVTERU.js +357 -0
- package/dist/chunks/chunk.PG4TSLWI.js +78 -0
- package/dist/chunks/chunk.PKAXRUSD.js +11 -0
- package/dist/chunks/chunk.PRQ5P3TK.js +11 -0
- package/dist/chunks/chunk.PSIAGOIP.js +538 -0
- package/dist/chunks/chunk.Q6LK4OHE.js +11 -0
- package/dist/chunks/chunk.QAMFDZKG.js +11 -0
- package/dist/chunks/chunk.QEGTBKYW.js +21 -0
- package/dist/chunks/chunk.QHY2BYL4.js +11 -0
- package/dist/chunks/chunk.QNNEWLT7.js +11 -0
- package/dist/chunks/chunk.QZS6UUDI.js +277 -0
- package/dist/chunks/chunk.RBVJJWF4.js +21 -0
- package/dist/chunks/chunk.RDID3JKQ.js +25 -0
- package/dist/chunks/chunk.RJUTQBOV.js +21 -0
- package/dist/chunks/chunk.RVCQSKMD.js +108 -0
- package/dist/chunks/chunk.RVH4PSND.js +416 -0
- package/dist/chunks/chunk.RZ3APMFR.js +195 -0
- package/dist/chunks/chunk.SFFOTZON.js +25 -0
- package/dist/chunks/chunk.SPVE7NND.js +11 -0
- package/dist/chunks/chunk.SRBWEFVT.js +27 -0
- package/dist/chunks/chunk.SWDQJJ7Q.js +11 -0
- package/dist/chunks/chunk.T53RBNNE.js +519 -0
- package/dist/chunks/chunk.T7DACXNM.js +11 -0
- package/dist/chunks/chunk.TCGYS77N.js +27 -0
- package/dist/chunks/chunk.TIQXW7ZH.js +11 -0
- package/dist/chunks/chunk.TJGA66AX.js +25 -0
- package/dist/chunks/chunk.TMXTLPTE.js +11 -0
- package/dist/chunks/chunk.TSIWRLNC.js +539 -0
- package/dist/chunks/chunk.UDCRU3NE.js +120 -0
- package/dist/chunks/chunk.UPMJQK2S.js +120 -0
- package/dist/chunks/chunk.URKW2CME.js +21 -0
- package/dist/chunks/chunk.UT5XKCBV.js +183 -0
- package/dist/chunks/chunk.UTXEG3QD.js +214 -0
- package/dist/chunks/chunk.UZZDJISQ.js +258 -0
- package/dist/chunks/chunk.V3CHZTI6.js +470 -0
- package/dist/chunks/chunk.VDCD52OC.js +185 -0
- package/dist/chunks/chunk.VO4JJ7CZ.js +357 -0
- package/dist/chunks/chunk.VT32WPUI.js +73 -0
- package/dist/chunks/chunk.VYPNLWLL.js +11 -0
- package/dist/chunks/chunk.W5O3LYQV.js +21 -0
- package/dist/chunks/chunk.WTQMOLV2.js +24 -0
- package/dist/chunks/chunk.WXZHDVQ3.js +21 -0
- package/dist/chunks/chunk.WZCLDYKY.js +25 -0
- package/dist/chunks/chunk.X7MVYC7B.js +11 -0
- package/dist/chunks/chunk.XIUGWVFS.js +355 -0
- package/dist/chunks/chunk.XJPYDQOZ.js +11 -0
- package/dist/chunks/chunk.XWDZOQJ3.js +11 -0
- package/dist/chunks/chunk.XXFKVRN5.js +104 -0
- package/dist/chunks/chunk.Y7TVB466.js +1625 -0
- package/dist/chunks/chunk.Y7ZED6A4.js +24 -0
- package/dist/chunks/chunk.YIP3L3SE.js +21 -0
- package/dist/chunks/chunk.YMHBYV33.js +1625 -0
- package/dist/chunks/chunk.YP5DVLJS.js +11 -0
- package/dist/chunks/chunk.YRJRQDLF.js +21 -0
- package/dist/chunks/chunk.ZK4JLVS4.js +11 -0
- package/dist/chunks/chunk.ZLRH3XYC.js +24 -0
- package/dist/chunks/chunk.ZOCIZGYF.js +11 -0
- package/dist/components/accordion/accordion.component.js +5 -5
- package/dist/components/accordion/accordion.js +6 -6
- package/dist/components/alert/alert.component.js +4 -4
- package/dist/components/alert/alert.js +5 -5
- package/dist/components/browse-variables/browse-variables.component.js +16 -16
- package/dist/components/browse-variables/browse-variables.controller.js +4 -4
- package/dist/components/browse-variables/browse-variables.js +17 -17
- package/dist/components/browse-variables/browse-variables.types.d.ts +1 -0
- package/dist/components/button/button.component.js +3 -3
- package/dist/components/button/button.js +4 -4
- package/dist/components/chip/chip.component.js +3 -3
- package/dist/components/chip/chip.js +4 -4
- 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.js +34 -34
- package/dist/components/data-rods/data-rods.js +35 -35
- package/dist/components/data-subsetter/data-subsetter.component.js +26 -26
- package/dist/components/data-subsetter/data-subsetter.controller.d.ts +1 -1
- package/dist/components/data-subsetter/data-subsetter.controller.js +4 -4
- package/dist/components/data-subsetter/data-subsetter.js +27 -27
- package/dist/components/data-subsetter-history/data-subsetter-history.component.js +29 -29
- package/dist/components/data-subsetter-history/data-subsetter-history.controller.js +3 -3
- package/dist/components/data-subsetter-history/data-subsetter-history.js +30 -30
- package/dist/components/date-picker/date-picker.component.js +4 -4
- package/dist/components/date-picker/date-picker.js +5 -5
- 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/icon/icon.component.js +3 -3
- package/dist/components/icon/icon.js +4 -4
- package/dist/components/loader/loader.component.js +3 -3
- package/dist/components/loader/loader.js +4 -4
- package/dist/components/login/login.component.js +11 -11
- package/dist/components/login/login.js +12 -12
- package/dist/components/map/leaflet-utils.js +3 -3
- package/dist/components/map/map.component.js +8 -8
- package/dist/components/map/map.controller.js +3 -3
- package/dist/components/map/map.js +9 -9
- package/dist/components/plot/plot.component.js +3 -3
- package/dist/components/plot/plot.js +4 -4
- package/dist/components/plot-toolbar/plot-toolbar.component.js +7 -7
- package/dist/components/plot-toolbar/plot-toolbar.js +8 -8
- package/dist/components/plot-toolbar/plot-toolbar.styles.js +1 -1
- package/dist/components/skeleton/skeleton.component.js +3 -3
- package/dist/components/skeleton/skeleton.js +4 -4
- package/dist/components/spatial-picker/spatial-picker.component.js +10 -10
- package/dist/components/spatial-picker/spatial-picker.js +11 -11
- package/dist/components/time-average-map/time-average-map.component.d.ts +11 -0
- package/dist/components/time-average-map/time-average-map.component.js +14 -14
- package/dist/components/time-average-map/time-average-map.controller.js +3 -3
- package/dist/components/time-average-map/time-average-map.js +15 -15
- package/dist/components/time-average-map/time-average-map.styles.js +1 -1
- package/dist/components/time-series/time-series.component.js +18 -18
- package/dist/components/time-series/time-series.controller.js +3 -3
- package/dist/components/time-series/time-series.js +19 -19
- package/dist/components/variable-combobox/variable-combobox.component.js +9 -9
- package/dist/components/variable-combobox/variable-combobox.js +10 -10
- package/dist/components/variable-keyword-search/variable-keyword-search.component.js +12 -12
- package/dist/components/variable-keyword-search/variable-keyword-search.controller.js +4 -4
- package/dist/components/variable-keyword-search/variable-keyword-search.js +13 -13
- package/dist/custom-elements.json +1072 -960
- package/dist/react/accordion/index.js +19 -0
- package/dist/react/alert/index.js +14 -0
- package/dist/react/browse-variables/index.js +38 -0
- package/dist/react/button/index.js +15 -0
- package/dist/react/chip/index.js +12 -0
- package/dist/react/combobox/index.js +15 -0
- package/dist/react/data-rods/index.js +59 -0
- package/dist/react/data-subsetter/index.js +50 -0
- package/dist/react/data-subsetter-history/index.js +55 -0
- package/dist/react/date-picker/index.js +17 -0
- package/dist/react/date-range-slider/index.js +15 -0
- package/dist/react/dialog/index.js +12 -0
- package/dist/react/icon/index.js +17 -0
- package/dist/react/index.d.ts +5 -5
- package/dist/react/index.js +186 -0
- package/dist/react/loader/index.js +12 -0
- package/dist/react/login/index.js +29 -0
- package/dist/react/map/index.js +19 -0
- package/dist/react/plot/index.js +13 -0
- package/dist/react/plot-toolbar/index.js +24 -0
- package/dist/react/skeleton/index.js +13 -0
- package/dist/react/spatial-picker/index.js +21 -0
- package/dist/react/time-average-map/index.js +32 -0
- package/dist/react/time-series/index.js +38 -0
- package/dist/react/variable-combobox/index.js +27 -0
- package/dist/react/variable-keyword-search/index.js +30 -0
- package/dist/terra-ui-components.js +92 -92
- package/dist/{terra_ui_components-0.0.66-py3-none-any.whl → terra_ui_components-0.0.68-py3-none-any.whl} +0 -0
- package/dist/{terra_ui_components-0.0.66.tar.gz → terra_ui_components-0.0.68.tar.gz} +0 -0
- package/dist/types/vue/index.d.ts +121 -117
- package/dist/vscode.html-custom-data.json +137 -137
- package/dist/web-types.json +471 -469
- package/package.json +1 -1
- package/cdn/chunks/chunk.LS7CBIGK.js +0 -28
- package/dist/chunks/chunk.VSZLMYWV.js +0 -17
- package/cdn/chunks/{chunk.EDY6YM3Y.js → chunk.EMLDT66I.js} +4 -4
- package/cdn/chunks/{chunk.NFS2RDEX.js → chunk.SU2EH44I.js} +5 -5
- package/cdn/chunks/{chunk.QFJLPXXJ.js → chunk.VPW32Q52.js} +3 -3
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TerraPlotToolbar
|
|
3
|
+
} from "./chunk.PSIAGOIP.js";
|
|
4
|
+
|
|
5
|
+
// src/react/plot-toolbar/index.ts
|
|
6
|
+
import * as React from "react";
|
|
7
|
+
import { createComponent } from "@lit/react";
|
|
8
|
+
var tagName = "terra-plot-toolbar";
|
|
9
|
+
TerraPlotToolbar.define("terra-plot-toolbar");
|
|
10
|
+
var reactWrapper = createComponent({
|
|
11
|
+
tagName,
|
|
12
|
+
elementClass: TerraPlotToolbar,
|
|
13
|
+
react: React,
|
|
14
|
+
events: {},
|
|
15
|
+
displayName: "TerraPlotToolbar"
|
|
16
|
+
});
|
|
17
|
+
var plot_toolbar_default = reactWrapper;
|
|
18
|
+
|
|
19
|
+
export {
|
|
20
|
+
plot_toolbar_default
|
|
21
|
+
};
|
|
@@ -0,0 +1,470 @@
|
|
|
1
|
+
import {
|
|
2
|
+
FetchController
|
|
3
|
+
} from "./chunk.KLCOAQUS.js";
|
|
4
|
+
import {
|
|
5
|
+
adaptValueToVariableMetadata,
|
|
6
|
+
clearSelection,
|
|
7
|
+
groupDocsByCollection,
|
|
8
|
+
removeEmptyCollections,
|
|
9
|
+
renderSearchResult,
|
|
10
|
+
walkToOption
|
|
11
|
+
} from "./chunk.6KIVAUVU.js";
|
|
12
|
+
import {
|
|
13
|
+
variable_combobox_styles_default
|
|
14
|
+
} from "./chunk.FRSW4UHB.js";
|
|
15
|
+
import {
|
|
16
|
+
icon_default
|
|
17
|
+
} from "./chunk.O7SVDS2A.js";
|
|
18
|
+
import {
|
|
19
|
+
button_default
|
|
20
|
+
} from "./chunk.CA2ZDE2M.js";
|
|
21
|
+
import {
|
|
22
|
+
watch
|
|
23
|
+
} from "./chunk.DTUHBE3U.js";
|
|
24
|
+
import {
|
|
25
|
+
TerraElement,
|
|
26
|
+
component_styles_default
|
|
27
|
+
} from "./chunk.O6SXSDFR.js";
|
|
28
|
+
import {
|
|
29
|
+
__decorateClass,
|
|
30
|
+
__privateAdd,
|
|
31
|
+
__privateGet,
|
|
32
|
+
__privateMethod,
|
|
33
|
+
__privateSet,
|
|
34
|
+
__spreadProps,
|
|
35
|
+
__spreadValues
|
|
36
|
+
} from "./chunk.TVFCHGU3.js";
|
|
37
|
+
|
|
38
|
+
// src/components/variable-combobox/variable-combobox.component.ts
|
|
39
|
+
import Fuse from "fuse.js";
|
|
40
|
+
import { LitElement, html, nothing } from "lit";
|
|
41
|
+
import { property, state } from "lit/decorators.js";
|
|
42
|
+
import { cache } from "lit/directives/cache.js";
|
|
43
|
+
import { map } from "lit/directives/map.js";
|
|
44
|
+
import { ref } from "lit/directives/ref.js";
|
|
45
|
+
var _combobox, _fetchController, _searchableList, _listbox, _searchEngine, _walker, _tagContainer, _dispatchChange, _handleButtonClick, _handleComboboxChange, _handleOptionClick, _handleKeydown, _manageListboxVisibility, _selectOption, _renderTags, renderTags_fn;
|
|
46
|
+
var _TerraVariableCombobox = class _TerraVariableCombobox extends TerraElement {
|
|
47
|
+
constructor() {
|
|
48
|
+
super(...arguments);
|
|
49
|
+
__privateAdd(this, _renderTags);
|
|
50
|
+
__privateAdd(this, _combobox, null);
|
|
51
|
+
__privateAdd(this, _fetchController, void 0);
|
|
52
|
+
__privateAdd(this, _searchableList, []);
|
|
53
|
+
__privateAdd(this, _listbox, null);
|
|
54
|
+
__privateAdd(this, _searchEngine, null);
|
|
55
|
+
__privateAdd(this, _walker, null);
|
|
56
|
+
__privateAdd(this, _tagContainer, null);
|
|
57
|
+
this.label = "Search for Variables";
|
|
58
|
+
this.hideHelp = false;
|
|
59
|
+
this.hideLabel = false;
|
|
60
|
+
this.useTags = false;
|
|
61
|
+
this.isExpanded = false;
|
|
62
|
+
this.query = _TerraVariableCombobox.initialQuery;
|
|
63
|
+
this.searchResults = [];
|
|
64
|
+
this.tags = [];
|
|
65
|
+
this.tagContainerWidth = 0;
|
|
66
|
+
__privateAdd(this, _dispatchChange, (stringifiedData) => {
|
|
67
|
+
this.emit("terra-combobox-change", { detail: JSON.parse(stringifiedData) });
|
|
68
|
+
});
|
|
69
|
+
__privateAdd(this, _handleButtonClick, () => {
|
|
70
|
+
var _a;
|
|
71
|
+
this.isExpanded = !this.isExpanded;
|
|
72
|
+
(_a = __privateGet(this, _combobox)) == null ? void 0 : _a.focus();
|
|
73
|
+
});
|
|
74
|
+
__privateAdd(this, _handleComboboxChange, (event) => {
|
|
75
|
+
var _a;
|
|
76
|
+
const target = event.target;
|
|
77
|
+
this.query = target.value;
|
|
78
|
+
if (target.value) {
|
|
79
|
+
this.isExpanded = true;
|
|
80
|
+
}
|
|
81
|
+
this.searchResults = (_a = __privateGet(this, _searchEngine)) == null ? void 0 : _a.search(target.value).map(({ item }) => item);
|
|
82
|
+
});
|
|
83
|
+
__privateAdd(this, _handleOptionClick, (event) => {
|
|
84
|
+
const path = event.composedPath();
|
|
85
|
+
const [target] = path.filter(
|
|
86
|
+
(eventTarget) => eventTarget.role === "option"
|
|
87
|
+
);
|
|
88
|
+
if (!target) {
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
__privateGet(this, _selectOption).call(this, target);
|
|
92
|
+
});
|
|
93
|
+
__privateAdd(this, _handleKeydown, (event) => {
|
|
94
|
+
var _a;
|
|
95
|
+
switch (event.key) {
|
|
96
|
+
case "ArrowDown": {
|
|
97
|
+
clearSelection(
|
|
98
|
+
__privateGet(this, _combobox),
|
|
99
|
+
__privateGet(this, _listbox)
|
|
100
|
+
);
|
|
101
|
+
if (!this.isExpanded) {
|
|
102
|
+
this.isExpanded = true;
|
|
103
|
+
}
|
|
104
|
+
if (event.altKey) {
|
|
105
|
+
break;
|
|
106
|
+
}
|
|
107
|
+
walkToOption(
|
|
108
|
+
__privateGet(this, _walker),
|
|
109
|
+
__privateGet(this, _combobox),
|
|
110
|
+
"next"
|
|
111
|
+
);
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
114
|
+
case "ArrowUp": {
|
|
115
|
+
clearSelection(
|
|
116
|
+
__privateGet(this, _combobox),
|
|
117
|
+
__privateGet(this, _listbox)
|
|
118
|
+
);
|
|
119
|
+
if (!this.isExpanded) {
|
|
120
|
+
this.isExpanded = true;
|
|
121
|
+
}
|
|
122
|
+
walkToOption(
|
|
123
|
+
__privateGet(this, _walker),
|
|
124
|
+
__privateGet(this, _combobox),
|
|
125
|
+
"previous"
|
|
126
|
+
);
|
|
127
|
+
break;
|
|
128
|
+
}
|
|
129
|
+
case "Enter": {
|
|
130
|
+
__privateGet(this, _selectOption).call(this, (_a = __privateGet(this, _walker)) == null ? void 0 : _a.currentNode);
|
|
131
|
+
break;
|
|
132
|
+
}
|
|
133
|
+
case "Escape": {
|
|
134
|
+
clearSelection(
|
|
135
|
+
__privateGet(this, _combobox),
|
|
136
|
+
__privateGet(this, _listbox)
|
|
137
|
+
);
|
|
138
|
+
if (this.isExpanded) {
|
|
139
|
+
this.isExpanded = false;
|
|
140
|
+
this.dispatchEvent(new Event("cancel"));
|
|
141
|
+
} else {
|
|
142
|
+
this.query = _TerraVariableCombobox.initialQuery;
|
|
143
|
+
}
|
|
144
|
+
break;
|
|
145
|
+
}
|
|
146
|
+
default: {
|
|
147
|
+
break;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
__privateAdd(this, _manageListboxVisibility, (event) => {
|
|
152
|
+
const path = event.composedPath();
|
|
153
|
+
const containedThis = path.some(
|
|
154
|
+
(eventTarget) => eventTarget.localName === _TerraVariableCombobox.tagName
|
|
155
|
+
);
|
|
156
|
+
if (!containedThis) {
|
|
157
|
+
this.isExpanded = false;
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
__privateAdd(this, _selectOption, (option) => {
|
|
161
|
+
const { longName, eventDetail, name } = option.dataset;
|
|
162
|
+
this.query = `${longName}`;
|
|
163
|
+
__privateGet(this, _dispatchChange).call(this, eventDetail);
|
|
164
|
+
this.isExpanded = false;
|
|
165
|
+
clearSelection(
|
|
166
|
+
__privateGet(this, _combobox),
|
|
167
|
+
__privateGet(this, _listbox)
|
|
168
|
+
);
|
|
169
|
+
if (this.useTags) {
|
|
170
|
+
this.tags = [`${name}`];
|
|
171
|
+
__privateGet(this, _combobox).value = _TerraVariableCombobox.initialQuery;
|
|
172
|
+
this.query = _TerraVariableCombobox.initialQuery;
|
|
173
|
+
}
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
async valueChanged(oldValue, newValue) {
|
|
177
|
+
var _a, _b;
|
|
178
|
+
if (oldValue === newValue) {
|
|
179
|
+
return;
|
|
180
|
+
}
|
|
181
|
+
await __privateGet(this, _fetchController).taskComplete;
|
|
182
|
+
const compatibleValue = adaptValueToVariableMetadata(this.value);
|
|
183
|
+
const selectedVariable = (_a = __privateGet(this, _fetchController).value) == null ? void 0 : _a.find((metadata) => {
|
|
184
|
+
return compatibleValue === metadata.entryId;
|
|
185
|
+
});
|
|
186
|
+
if (selectedVariable) {
|
|
187
|
+
this.query = selectedVariable.longName;
|
|
188
|
+
this.searchResults = (_b = __privateGet(this, _searchEngine)) == null ? void 0 : _b.search(this.query).map(({ item }) => item);
|
|
189
|
+
__privateGet(this, _dispatchChange).call(this, selectedVariable.eventDetail);
|
|
190
|
+
if (this.useTags) {
|
|
191
|
+
this.tags = [`${selectedVariable.name}`];
|
|
192
|
+
__privateGet(this, _combobox).value = _TerraVariableCombobox.initialQuery;
|
|
193
|
+
this.query = _TerraVariableCombobox.initialQuery;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
connectedCallback() {
|
|
198
|
+
super.connectedCallback();
|
|
199
|
+
__privateSet(this, _fetchController, new FetchController(this, this.bearerToken));
|
|
200
|
+
globalThis.addEventListener("click", __privateGet(this, _manageListboxVisibility));
|
|
201
|
+
}
|
|
202
|
+
disconnectedCallback() {
|
|
203
|
+
super.disconnectedCallback();
|
|
204
|
+
globalThis.removeEventListener("click", __privateGet(this, _manageListboxVisibility));
|
|
205
|
+
}
|
|
206
|
+
clear() {
|
|
207
|
+
this.query = _TerraVariableCombobox.initialQuery;
|
|
208
|
+
}
|
|
209
|
+
close() {
|
|
210
|
+
this.isExpanded = false;
|
|
211
|
+
}
|
|
212
|
+
toggle() {
|
|
213
|
+
this.isExpanded = !this.isExpanded;
|
|
214
|
+
}
|
|
215
|
+
render() {
|
|
216
|
+
var _a;
|
|
217
|
+
return html`<search part="base" title="Search through the list.">
|
|
218
|
+
<label for="combobox" class=${this.hideLabel ? "sr-only" : "input-label"}
|
|
219
|
+
>${this.label}</label
|
|
220
|
+
>
|
|
221
|
+
<div class="search-input-group">
|
|
222
|
+
${this.useTags ? html`<div
|
|
223
|
+
${ref((el) => {
|
|
224
|
+
var _a2;
|
|
225
|
+
if (el) {
|
|
226
|
+
(_a2 = __privateGet(this, _tagContainer)) != null ? _a2 : __privateSet(this, _tagContainer, el);
|
|
227
|
+
this.tagContainerWidth = el.getBoundingClientRect().width;
|
|
228
|
+
}
|
|
229
|
+
})}
|
|
230
|
+
class="tag-container"
|
|
231
|
+
id="tag-container"
|
|
232
|
+
>
|
|
233
|
+
${map(
|
|
234
|
+
this.tags,
|
|
235
|
+
(value, index) => __privateMethod(this, _renderTags, renderTags_fn).call(this, value, index)
|
|
236
|
+
)}
|
|
237
|
+
</div>` : nothing}
|
|
238
|
+
<input
|
|
239
|
+
${ref((el) => {
|
|
240
|
+
var _a2;
|
|
241
|
+
if (el) {
|
|
242
|
+
(_a2 = __privateGet(this, _combobox)) != null ? _a2 : __privateSet(this, _combobox, el);
|
|
243
|
+
}
|
|
244
|
+
})}
|
|
245
|
+
autocomplete="off"
|
|
246
|
+
aria-autocomplete="list"
|
|
247
|
+
aria-controls="listbox"
|
|
248
|
+
aria-haspopup="list"
|
|
249
|
+
aria-expanded=${this.isExpanded}
|
|
250
|
+
class="combobox"
|
|
251
|
+
id="combobox"
|
|
252
|
+
part="combobox"
|
|
253
|
+
role="combobox"
|
|
254
|
+
type="text"
|
|
255
|
+
style=${this.useTags ? `padding-inline-start: calc(${this.tagContainerWidth}px + 0.25rem);` : nothing}
|
|
256
|
+
aria-describedby=${this.useTags ? "tag-container" : nothing}
|
|
257
|
+
placeholder=${this.useTags ? nothing : (_a = this.placeholder) != null ? _a : `${this.label}\u2026`}
|
|
258
|
+
.value=${this.useTags ? _TerraVariableCombobox.initialQuery : this.query}
|
|
259
|
+
@input=${__privateGet(this, _handleComboboxChange)}
|
|
260
|
+
@keydown=${__privateGet(this, _handleKeydown)}
|
|
261
|
+
/>
|
|
262
|
+
<terra-button
|
|
263
|
+
shape="square-left"
|
|
264
|
+
aria-controls="listbox"
|
|
265
|
+
aria-expanded=${this.isExpanded}
|
|
266
|
+
aria-label="List of Searchable Variables"
|
|
267
|
+
class="combobox-button"
|
|
268
|
+
id="combobox-button"
|
|
269
|
+
part="button"
|
|
270
|
+
tabindex="-1"
|
|
271
|
+
type="button"
|
|
272
|
+
@click=${__privateGet(this, _handleButtonClick)}
|
|
273
|
+
>
|
|
274
|
+
${["COMPLETE", "ERROR"].includes(__privateGet(this, _fetchController).taskStatus) ? html`<terra-icon
|
|
275
|
+
class="chevron"
|
|
276
|
+
name="chevron-down"
|
|
277
|
+
></terra-icon>` : html`<svg
|
|
278
|
+
class="button-icon spinner"
|
|
279
|
+
stroke="currentColor"
|
|
280
|
+
viewBox="0 0 24 24"
|
|
281
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
282
|
+
>
|
|
283
|
+
<circle
|
|
284
|
+
cx="12"
|
|
285
|
+
cy="12"
|
|
286
|
+
r="9.5"
|
|
287
|
+
fill="none"
|
|
288
|
+
stroke-width="3"
|
|
289
|
+
></circle>
|
|
290
|
+
</svg>`}
|
|
291
|
+
</terra-button>
|
|
292
|
+
|
|
293
|
+
${this.hideHelp ? nothing : html`<p class="search-help">
|
|
294
|
+
See
|
|
295
|
+
<a
|
|
296
|
+
href="https://www.fusejs.io/examples.html#extended-search"
|
|
297
|
+
rel="noopener noreferrer"
|
|
298
|
+
tabindex=${this.isExpanded ? "-1 " : "0"}
|
|
299
|
+
target="_blank"
|
|
300
|
+
>extended search syntax
|
|
301
|
+
<terra-icon
|
|
302
|
+
name="outline-arrow-top-right-on-square"
|
|
303
|
+
library="heroicons"
|
|
304
|
+
></terra-icon></a
|
|
305
|
+
>.
|
|
306
|
+
</p>`}
|
|
307
|
+
</div>
|
|
308
|
+
|
|
309
|
+
<ul
|
|
310
|
+
${ref((el) => {
|
|
311
|
+
var _a2;
|
|
312
|
+
if (el) {
|
|
313
|
+
(_a2 = __privateGet(this, _listbox)) != null ? _a2 : __privateSet(this, _listbox, el);
|
|
314
|
+
__privateSet(this, _walker, document.createTreeWalker(
|
|
315
|
+
el,
|
|
316
|
+
NodeFilter.SHOW_ELEMENT,
|
|
317
|
+
(node) => {
|
|
318
|
+
return node.dataset.treeWalker === "filter_skip" ? NodeFilter.FILTER_SKIP : NodeFilter.FILTER_ACCEPT;
|
|
319
|
+
}
|
|
320
|
+
));
|
|
321
|
+
}
|
|
322
|
+
})}
|
|
323
|
+
?inert=${!this.isExpanded}
|
|
324
|
+
?open=${this.isExpanded}
|
|
325
|
+
@click=${__privateGet(this, _handleOptionClick)}
|
|
326
|
+
aria-label=${this.query ? `Variables Matching ${this.query}` : "Variables"}
|
|
327
|
+
id="listbox"
|
|
328
|
+
part="listbox"
|
|
329
|
+
role="listbox"
|
|
330
|
+
class="search-results"
|
|
331
|
+
>
|
|
332
|
+
${__privateGet(this, _fetchController).render({
|
|
333
|
+
initial: () => html`<li class="updating">Updating List of Variables</li>`,
|
|
334
|
+
pending: () => html`<li class="updating">Updating List of Variables</li>`,
|
|
335
|
+
complete: (list) => {
|
|
336
|
+
const filtered = list.filter(
|
|
337
|
+
(item) => !(item.collectionShortName === "GPM_3IMERGHH" && item.collectionVersion === "06")
|
|
338
|
+
);
|
|
339
|
+
__privateSet(this, _searchableList, filtered);
|
|
340
|
+
__privateSet(this, _searchEngine, new Fuse(__privateGet(this, _searchableList), {
|
|
341
|
+
//* @see {@link https://www.fusejs.io/examples.html#nested-search}
|
|
342
|
+
findAllMatches: true,
|
|
343
|
+
keys: [
|
|
344
|
+
"entryId",
|
|
345
|
+
"longName",
|
|
346
|
+
"name",
|
|
347
|
+
"standardName",
|
|
348
|
+
"units"
|
|
349
|
+
],
|
|
350
|
+
useExtendedSearch: true
|
|
351
|
+
}));
|
|
352
|
+
return cache(
|
|
353
|
+
this.query === _TerraVariableCombobox.initialQuery ? map(
|
|
354
|
+
removeEmptyCollections(
|
|
355
|
+
groupDocsByCollection(__privateGet(this, _searchableList))
|
|
356
|
+
),
|
|
357
|
+
renderSearchResult
|
|
358
|
+
) : map(
|
|
359
|
+
removeEmptyCollections(
|
|
360
|
+
groupDocsByCollection(this.searchResults)
|
|
361
|
+
),
|
|
362
|
+
renderSearchResult
|
|
363
|
+
)
|
|
364
|
+
);
|
|
365
|
+
},
|
|
366
|
+
// TODO: Consider a more robust error strategy...like retry w/ backoff?
|
|
367
|
+
error: (errorMessage) => html`<li class="error" data-tree-walker="filter_skip">
|
|
368
|
+
${errorMessage}
|
|
369
|
+
</li>`
|
|
370
|
+
})}
|
|
371
|
+
</ul>
|
|
372
|
+
</search>`;
|
|
373
|
+
}
|
|
374
|
+
};
|
|
375
|
+
_combobox = new WeakMap();
|
|
376
|
+
_fetchController = new WeakMap();
|
|
377
|
+
_searchableList = new WeakMap();
|
|
378
|
+
_listbox = new WeakMap();
|
|
379
|
+
_searchEngine = new WeakMap();
|
|
380
|
+
_walker = new WeakMap();
|
|
381
|
+
_tagContainer = new WeakMap();
|
|
382
|
+
_dispatchChange = new WeakMap();
|
|
383
|
+
_handleButtonClick = new WeakMap();
|
|
384
|
+
_handleComboboxChange = new WeakMap();
|
|
385
|
+
_handleOptionClick = new WeakMap();
|
|
386
|
+
_handleKeydown = new WeakMap();
|
|
387
|
+
_manageListboxVisibility = new WeakMap();
|
|
388
|
+
_selectOption = new WeakMap();
|
|
389
|
+
_renderTags = new WeakSet();
|
|
390
|
+
renderTags_fn = function(tag, _index) {
|
|
391
|
+
return html`
|
|
392
|
+
<terra-button
|
|
393
|
+
size="small"
|
|
394
|
+
variant="default"
|
|
395
|
+
outline
|
|
396
|
+
class="tag"
|
|
397
|
+
aria-label=${`Clear tag ${tag}`}
|
|
398
|
+
@click=${() => {
|
|
399
|
+
this.tags = [];
|
|
400
|
+
this.clear();
|
|
401
|
+
setTimeout(() => {
|
|
402
|
+
var _a;
|
|
403
|
+
this.tagContainerWidth = (_a = __privateGet(this, _tagContainer)) == null ? void 0 : _a.getBoundingClientRect().width;
|
|
404
|
+
}, 100);
|
|
405
|
+
}}
|
|
406
|
+
>
|
|
407
|
+
${tag}
|
|
408
|
+
<terra-icon
|
|
409
|
+
class="tag-icon"
|
|
410
|
+
slot="suffix"
|
|
411
|
+
name="outline-x-circle"
|
|
412
|
+
library="heroicons"
|
|
413
|
+
></terra-icon>
|
|
414
|
+
</terra-button>
|
|
415
|
+
`;
|
|
416
|
+
};
|
|
417
|
+
_TerraVariableCombobox.dependencies = {
|
|
418
|
+
"terra-button": button_default,
|
|
419
|
+
"terra-icon": icon_default
|
|
420
|
+
};
|
|
421
|
+
_TerraVariableCombobox.styles = [component_styles_default, variable_combobox_styles_default];
|
|
422
|
+
_TerraVariableCombobox.shadowRootOptions = __spreadProps(__spreadValues({}, LitElement.shadowRootOptions), {
|
|
423
|
+
delegatesFocus: true
|
|
424
|
+
});
|
|
425
|
+
_TerraVariableCombobox.tagName = "terra-variable-combobox";
|
|
426
|
+
_TerraVariableCombobox.initialQuery = "";
|
|
427
|
+
__decorateClass([
|
|
428
|
+
property()
|
|
429
|
+
], _TerraVariableCombobox.prototype, "label", 2);
|
|
430
|
+
__decorateClass([
|
|
431
|
+
property()
|
|
432
|
+
], _TerraVariableCombobox.prototype, "placeholder", 2);
|
|
433
|
+
__decorateClass([
|
|
434
|
+
property({ attribute: "hide-help", type: Boolean, reflect: true })
|
|
435
|
+
], _TerraVariableCombobox.prototype, "hideHelp", 2);
|
|
436
|
+
__decorateClass([
|
|
437
|
+
property({ attribute: "hide-label", type: Boolean, reflect: true })
|
|
438
|
+
], _TerraVariableCombobox.prototype, "hideLabel", 2);
|
|
439
|
+
__decorateClass([
|
|
440
|
+
property({ attribute: "use-tags", type: Boolean, reflect: true })
|
|
441
|
+
], _TerraVariableCombobox.prototype, "useTags", 2);
|
|
442
|
+
__decorateClass([
|
|
443
|
+
property()
|
|
444
|
+
], _TerraVariableCombobox.prototype, "value", 2);
|
|
445
|
+
__decorateClass([
|
|
446
|
+
property({ attribute: "bearer-token", reflect: false })
|
|
447
|
+
], _TerraVariableCombobox.prototype, "bearerToken", 2);
|
|
448
|
+
__decorateClass([
|
|
449
|
+
state()
|
|
450
|
+
], _TerraVariableCombobox.prototype, "isExpanded", 2);
|
|
451
|
+
__decorateClass([
|
|
452
|
+
state()
|
|
453
|
+
], _TerraVariableCombobox.prototype, "query", 2);
|
|
454
|
+
__decorateClass([
|
|
455
|
+
state()
|
|
456
|
+
], _TerraVariableCombobox.prototype, "searchResults", 2);
|
|
457
|
+
__decorateClass([
|
|
458
|
+
state()
|
|
459
|
+
], _TerraVariableCombobox.prototype, "tags", 2);
|
|
460
|
+
__decorateClass([
|
|
461
|
+
state()
|
|
462
|
+
], _TerraVariableCombobox.prototype, "tagContainerWidth", 2);
|
|
463
|
+
__decorateClass([
|
|
464
|
+
watch("value")
|
|
465
|
+
], _TerraVariableCombobox.prototype, "valueChanged", 1);
|
|
466
|
+
var TerraVariableCombobox = _TerraVariableCombobox;
|
|
467
|
+
|
|
468
|
+
export {
|
|
469
|
+
TerraVariableCombobox
|
|
470
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import {
|
|
2
|
+
authService
|
|
3
|
+
} from "./chunk.TSIWRLNC.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
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TerraTimeAverageMap
|
|
3
|
+
} from "./chunk.RVH4PSND.js";
|
|
4
|
+
|
|
5
|
+
// src/components/time-average-map/time-average-map.ts
|
|
6
|
+
var time_average_map_default = TerraTimeAverageMap;
|
|
7
|
+
TerraTimeAverageMap.define("terra-time-average-map");
|
|
8
|
+
|
|
9
|
+
export {
|
|
10
|
+
time_average_map_default
|
|
11
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import {
|
|
2
|
+
loader_default
|
|
3
|
+
} from "./chunk.X7MVYC7B.js";
|
|
4
|
+
import {
|
|
5
|
+
login_styles_default
|
|
6
|
+
} from "./chunk.TCEJ3MS6.js";
|
|
7
|
+
import {
|
|
8
|
+
AuthController
|
|
9
|
+
} from "./chunk.KIC5ZCAM.js";
|
|
10
|
+
import {
|
|
11
|
+
icon_default
|
|
12
|
+
} from "./chunk.O7SVDS2A.js";
|
|
13
|
+
import {
|
|
14
|
+
button_default
|
|
15
|
+
} from "./chunk.CA2ZDE2M.js";
|
|
16
|
+
import {
|
|
17
|
+
TerraElement,
|
|
18
|
+
component_styles_default
|
|
19
|
+
} from "./chunk.O6SXSDFR.js";
|
|
20
|
+
import {
|
|
21
|
+
__decorateClass,
|
|
22
|
+
__privateAdd,
|
|
23
|
+
__privateGet
|
|
24
|
+
} from "./chunk.TVFCHGU3.js";
|
|
25
|
+
|
|
26
|
+
// src/components/login/login.component.ts
|
|
27
|
+
import { html } from "lit";
|
|
28
|
+
import { property } from "lit/decorators.js";
|
|
29
|
+
var _authController;
|
|
30
|
+
var TerraLogin = class extends TerraElement {
|
|
31
|
+
constructor() {
|
|
32
|
+
super(...arguments);
|
|
33
|
+
this.buttonLabel = "Earthdata Login";
|
|
34
|
+
__privateAdd(this, _authController, new AuthController(this));
|
|
35
|
+
}
|
|
36
|
+
login() {
|
|
37
|
+
__privateGet(this, _authController).login();
|
|
38
|
+
}
|
|
39
|
+
logout() {
|
|
40
|
+
__privateGet(this, _authController).logout();
|
|
41
|
+
}
|
|
42
|
+
render() {
|
|
43
|
+
var _a;
|
|
44
|
+
if ((_a = __privateGet(this, _authController).state.user) == null ? void 0 : _a.uid) {
|
|
45
|
+
const template = this.querySelector(
|
|
46
|
+
'template[slot="logged-in"]'
|
|
47
|
+
);
|
|
48
|
+
return html`${template ? template.content.cloneNode(true) : html`<slot
|
|
49
|
+
name="logged-in"
|
|
50
|
+
.user=${__privateGet(this, _authController).state.user}
|
|
51
|
+
></slot>`}`;
|
|
52
|
+
}
|
|
53
|
+
if (__privateGet(this, _authController).state.isLoading) {
|
|
54
|
+
return html`<slot name="loading"></slot>`;
|
|
55
|
+
}
|
|
56
|
+
return html` <slot name="logged-out"></slot
|
|
57
|
+
><terra-button @click=${this.login}> ${this.buttonLabel}</terra-button>`;
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
_authController = new WeakMap();
|
|
61
|
+
TerraLogin.dependencies = {
|
|
62
|
+
"terra-button": button_default,
|
|
63
|
+
"terra-icon": icon_default,
|
|
64
|
+
"terra-loader": loader_default
|
|
65
|
+
};
|
|
66
|
+
TerraLogin.styles = [component_styles_default, login_styles_default];
|
|
67
|
+
__decorateClass([
|
|
68
|
+
property({ attribute: "button-label" })
|
|
69
|
+
], TerraLogin.prototype, "buttonLabel", 2);
|
|
70
|
+
|
|
71
|
+
export {
|
|
72
|
+
TerraLogin
|
|
73
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TerraChip
|
|
3
|
+
} from "./chunk.KXL6VOQP.js";
|
|
4
|
+
|
|
5
|
+
// src/react/chip/index.ts
|
|
6
|
+
import * as React from "react";
|
|
7
|
+
import { createComponent } from "@lit/react";
|
|
8
|
+
var tagName = "terra-chip";
|
|
9
|
+
TerraChip.define("terra-chip");
|
|
10
|
+
var reactWrapper = createComponent({
|
|
11
|
+
tagName,
|
|
12
|
+
elementClass: TerraChip,
|
|
13
|
+
react: React,
|
|
14
|
+
events: {},
|
|
15
|
+
displayName: "TerraChip"
|
|
16
|
+
});
|
|
17
|
+
var chip_default = reactWrapper;
|
|
18
|
+
|
|
19
|
+
export {
|
|
20
|
+
chip_default
|
|
21
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TerraDataSubsetterHistory
|
|
3
|
+
} from "./chunk.OJC754DG.js";
|
|
4
|
+
|
|
5
|
+
// src/components/data-subsetter-history/data-subsetter-history.ts
|
|
6
|
+
var data_subsetter_history_default = TerraDataSubsetterHistory;
|
|
7
|
+
TerraDataSubsetterHistory.define("terra-data-subsetter-history");
|
|
8
|
+
|
|
9
|
+
export {
|
|
10
|
+
data_subsetter_history_default
|
|
11
|
+
};
|