@nasa-terra/components 0.0.174 → 0.0.176
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/cdn/apis/cmr.api.d.ts +55 -0
- package/cdn/apis/gesdisc.api.d.ts +17 -0
- package/cdn/apis/types/cmr/umm-c.d.ts +795 -0
- package/cdn/apis/types/cmr/umm-g.d.ts +466 -0
- package/cdn/apis/types/cmr/umm-var.d.ts +547 -0
- package/cdn/chunks/GeoTIFF.K52FKRIY.js +21958 -0
- package/cdn/chunks/chunk.23S4HDSJ.js +149 -0
- package/cdn/chunks/chunk.2K56JH2C.js +19 -0
- package/cdn/chunks/chunk.2KIRSUMB.js +81 -0
- package/cdn/chunks/chunk.2KUBKA4J.js +19 -0
- package/cdn/chunks/chunk.2LDOWI64.js +368 -0
- package/cdn/chunks/chunk.2NJ4FVCJ.js +270 -0
- package/cdn/chunks/chunk.2PHGZVS7.js +29 -0
- package/cdn/chunks/chunk.2PUTY7T2.js +390 -0
- package/cdn/chunks/chunk.2S2I3XCJ.js +635 -0
- package/cdn/chunks/chunk.2TFILCQO.js +41 -0
- package/cdn/chunks/chunk.2XVRMJAS.js +99 -0
- package/cdn/chunks/chunk.37JJKQR3.js +82 -0
- package/cdn/chunks/chunk.3HPCVLRD.js +19 -0
- package/cdn/chunks/chunk.3IJMW6CS.js +19 -0
- package/cdn/chunks/chunk.3NETFT7J.js +78 -0
- package/cdn/chunks/chunk.3QBJETHV.js +161 -0
- package/cdn/chunks/chunk.3QKXPORV.js +276 -0
- package/cdn/chunks/chunk.3RQRUNDE.js +454 -0
- package/cdn/chunks/chunk.3TKV2VNC.js +161 -0
- package/cdn/chunks/chunk.3WMCCZLC.js +48 -0
- package/cdn/chunks/chunk.3Y6FJXFQ.js +36 -0
- package/cdn/chunks/chunk.3Y7HZ5CS.js +110 -0
- package/cdn/chunks/chunk.42EUDXAT.js +81 -0
- package/cdn/chunks/chunk.432XUQVD.js +117 -0
- package/cdn/chunks/chunk.4A5VRGX3.js +19 -0
- package/cdn/chunks/chunk.4EK5O2DR.js +19 -0
- package/cdn/chunks/chunk.4G7BHBRM.js +32 -0
- package/cdn/chunks/chunk.4H3RQQZX.js +21 -0
- package/cdn/chunks/chunk.4OXXDGNA.js +29 -0
- package/cdn/chunks/chunk.4R55M5FT.js +523 -0
- package/cdn/chunks/chunk.4TWNGATS.js +74 -0
- package/cdn/chunks/chunk.4ZHQROR2.js +19 -0
- package/cdn/chunks/chunk.53SYG366.js +230 -0
- package/cdn/chunks/chunk.54FZLPJP.js +146 -0
- package/cdn/chunks/chunk.57IQ7PEY.js +19 -0
- package/cdn/chunks/chunk.57ZIC75S.js +100 -0
- package/cdn/chunks/chunk.5II7PIFZ.js +19 -0
- package/cdn/chunks/chunk.5J6QDY7A.js +19 -0
- package/cdn/chunks/chunk.5PH4EI7K.js +51 -0
- package/cdn/chunks/chunk.5Q3WDKUW.js +106 -0
- package/cdn/chunks/chunk.5Q7FF53M.js +443 -0
- package/cdn/chunks/chunk.5RRKLQ53.js +26 -0
- package/cdn/chunks/chunk.5WBC77BZ.js +50 -0
- package/cdn/chunks/chunk.625EMDPI.js +149 -0
- package/cdn/chunks/chunk.62DQB2LU.js +29 -0
- package/cdn/chunks/chunk.63I5CLB5.js +423 -0
- package/cdn/chunks/chunk.63OVZYG7.js +134 -0
- package/cdn/chunks/chunk.64MJYU4S.js +94 -0
- package/cdn/chunks/chunk.64Z4HDI3.js +19 -0
- package/cdn/chunks/chunk.6FITJZ7P.js +19 -0
- package/cdn/chunks/chunk.6GNSMNJB.js +19 -0
- package/cdn/chunks/chunk.6JD3FVUX.js +29 -0
- package/cdn/chunks/chunk.6P5ZFZXZ.js +25 -0
- package/cdn/chunks/chunk.6WXX4PGK.js +987 -0
- package/cdn/chunks/chunk.6XQMSL3B.js +19 -0
- package/cdn/chunks/chunk.72FHGBM6.js +32 -0
- package/cdn/chunks/chunk.72FZJG2J.js +346 -0
- package/cdn/chunks/chunk.7C7TR5B4.js +32 -0
- package/cdn/chunks/chunk.7DRUZWQ6.js +283 -0
- package/cdn/chunks/chunk.7EZRIC7E.js +189 -0
- package/cdn/chunks/chunk.7KTCMH32.js +29 -0
- package/cdn/chunks/chunk.7M5WGULI.js +19 -0
- package/cdn/chunks/chunk.7NJYVBGM.js +47 -0
- package/cdn/chunks/chunk.7OPH6HSB.js +54 -0
- package/cdn/chunks/chunk.7PBZXNDM.js +286 -0
- package/cdn/chunks/chunk.7WB3R775.js +29 -0
- package/cdn/chunks/chunk.7YQZMFUG.js +259 -0
- package/cdn/chunks/chunk.ANCJAOFB.js +107 -0
- package/cdn/chunks/chunk.ANUEITLZ.js +19 -0
- package/cdn/chunks/chunk.ASJLND3B.js +77 -0
- package/cdn/chunks/chunk.ASYH5HKC.js +239 -0
- package/cdn/chunks/chunk.AZX5GARH.js +19 -0
- package/cdn/chunks/chunk.B42N7DPY.js +30 -0
- package/cdn/chunks/chunk.B4FFHQEU.js +19 -0
- package/cdn/chunks/chunk.B66SLK6W.js +93 -0
- package/cdn/chunks/chunk.B6HDWTYU.js +121 -0
- package/cdn/chunks/chunk.BBQWRFMA.js +19 -0
- package/cdn/chunks/chunk.BBUUOD5M.js +83 -0
- package/cdn/chunks/chunk.BEZMW5XA.js +19 -0
- package/cdn/chunks/chunk.BIN6CEW5.js +359 -0
- package/cdn/chunks/chunk.BJIN2WV3.js +326 -0
- package/cdn/chunks/chunk.BNE3HPHN.js +473 -0
- package/cdn/chunks/chunk.BNM7CQLY.js +285 -0
- package/cdn/chunks/chunk.BNYV5MJU.js +19 -0
- package/cdn/chunks/chunk.BP2GLWKL.js +54 -0
- package/cdn/chunks/chunk.BPFFXXUU.js +791 -0
- package/cdn/chunks/chunk.BPWJOFJV.js +19 -0
- package/cdn/chunks/chunk.BQDEKCXK.js +129 -0
- package/cdn/chunks/chunk.BQUO6YX3.js +117 -0
- package/cdn/chunks/chunk.BYEGTGI4.js +161 -0
- package/cdn/chunks/chunk.CEMCEZ4R.js +19 -0
- package/cdn/chunks/chunk.CFMR3CLA.js +71 -0
- package/cdn/chunks/chunk.CFYNE3YV.js +288 -0
- package/cdn/chunks/chunk.COQEK24I.js +19 -0
- package/cdn/chunks/chunk.CQAF2DLU.js +1975 -0
- package/cdn/chunks/chunk.CUZPBIVS.js +19 -0
- package/cdn/chunks/chunk.D6ICWI6Z.js +29 -0
- package/cdn/chunks/chunk.D6NLCDQR.js +151 -0
- package/cdn/chunks/chunk.D7QZHISG.js +32 -0
- package/cdn/chunks/chunk.DAB5AYJ3.js +19 -0
- package/cdn/chunks/chunk.DBESYITC.js +19 -0
- package/cdn/chunks/chunk.DDYHB7YZ.js +29 -0
- package/cdn/chunks/chunk.DFBL44SH.js +372 -0
- package/cdn/chunks/chunk.DJCQWV77.js +79 -0
- package/cdn/chunks/chunk.DTDHZ6G4.js +29 -0
- package/cdn/chunks/chunk.DU3TBVXO.js +19 -0
- package/cdn/chunks/chunk.DV26VTJ6.js +36 -0
- package/cdn/chunks/chunk.DVKHFPAZ.js +19 -0
- package/cdn/chunks/chunk.E4C7NITR.js +29 -0
- package/cdn/chunks/chunk.E6MGOFS6.js +33 -0
- package/cdn/chunks/chunk.EAFQKMZ6.js +60 -0
- package/cdn/chunks/chunk.ECHFPVLW.js +662 -0
- package/cdn/chunks/chunk.EH3JEGQO.js +136 -0
- package/cdn/chunks/chunk.ELT22S3K.js +139 -0
- package/cdn/chunks/chunk.EOE53N4D.js +19 -0
- package/cdn/chunks/chunk.EZRUPP3N.js +24555 -0
- package/cdn/chunks/chunk.F7QE3QNK.js +93 -0
- package/cdn/chunks/chunk.FBQK3I4M.js +251 -0
- package/cdn/chunks/chunk.FFTQ2VD7.js +610 -0
- package/cdn/chunks/chunk.FGEGM75M.js +19 -0
- package/cdn/chunks/chunk.FGEVVJNQ.js +24 -0
- package/cdn/chunks/chunk.FH2IYJ6C.js +19 -0
- package/cdn/chunks/chunk.FLDINIKU.js +45 -0
- package/cdn/chunks/chunk.FRJSNW36.js +4179 -0
- package/cdn/chunks/chunk.FSYEZEIJ.js +19 -0
- package/cdn/chunks/chunk.FXO66O5A.js +19 -0
- package/cdn/chunks/chunk.FYC3ZB3Q.js +29 -0
- package/cdn/chunks/chunk.GBYKMMSD.js +49 -0
- package/cdn/chunks/chunk.GCT6YJNA.js +19 -0
- package/cdn/chunks/chunk.GDXR3VYP.js +102 -0
- package/cdn/chunks/chunk.GIG3YQL2.js +30 -0
- package/cdn/chunks/chunk.GMRERJMI.js +99 -0
- package/cdn/chunks/chunk.GN3S4QW4.js +83 -0
- package/cdn/chunks/chunk.GPQPCP6B.js +1060 -0
- package/cdn/chunks/chunk.GREJIXMV.js +43 -0
- package/cdn/chunks/chunk.GRESODRO.js +668 -0
- package/cdn/chunks/chunk.GUIILQUZ.js +37 -0
- package/cdn/chunks/chunk.GVR32Q7Z.js +19 -0
- package/cdn/chunks/chunk.GWVXU5WI.js +108 -0
- package/cdn/chunks/chunk.H4I7XKQG.js +19 -0
- package/cdn/chunks/chunk.HBHLBI3N.js +1881 -0
- package/cdn/chunks/chunk.HCGS5ZUW.js +75 -0
- package/cdn/chunks/chunk.HPM2H4NS.js +49 -0
- package/cdn/chunks/chunk.HTSMDZSX.js +904 -0
- package/cdn/chunks/chunk.HYXHP435.js +104 -0
- package/cdn/chunks/chunk.I2DORGVR.js +99 -0
- package/cdn/chunks/chunk.I5N6NE7Y.js +32 -0
- package/cdn/chunks/chunk.I7Q7QOTF.js +19 -0
- package/cdn/chunks/chunk.IBIJAKO4.js +19 -0
- package/cdn/chunks/chunk.IHVDCLQW.js +19 -0
- package/cdn/chunks/chunk.IL42CKDQ.js +35 -0
- package/cdn/chunks/chunk.IY4U7JFH.js +231 -0
- package/cdn/chunks/chunk.IYZOHIBX.js +113 -0
- package/cdn/chunks/chunk.J3X6X5OR.js +34 -0
- package/cdn/chunks/chunk.J7YS7AX6.js +19 -0
- package/cdn/chunks/chunk.JFAXLGEJ.js +264 -0
- package/cdn/chunks/chunk.JPMBV4LX.js +29 -0
- package/cdn/chunks/chunk.JS5TDQ5C.js +348 -0
- package/cdn/chunks/chunk.JSLR72XV.js +32 -0
- package/cdn/chunks/chunk.JZVOY66X.js +19 -0
- package/cdn/chunks/chunk.JZY4SIOS.js +32 -0
- package/cdn/chunks/chunk.KGXAA5I2.js +63 -0
- package/cdn/chunks/chunk.L2DEGX2T.js +29 -0
- package/cdn/chunks/chunk.LBHEG35U.js +121 -0
- package/cdn/chunks/chunk.LCIPMWLA.js +29 -0
- package/cdn/chunks/chunk.LDHAKRYB.js +29 -0
- package/cdn/chunks/chunk.LGYKACLK.js +154 -0
- package/cdn/chunks/chunk.LLHRSRSN.js +32 -0
- package/cdn/chunks/chunk.LNM5ZU6K.js +74 -0
- package/cdn/chunks/chunk.LNRAHD2B.js +36 -0
- package/cdn/chunks/chunk.LNTSGA5L.js +1184 -0
- package/cdn/chunks/chunk.LP27FGW5.js +33 -0
- package/cdn/chunks/chunk.LPKSQA35.js +135 -0
- package/cdn/chunks/chunk.LPNN7K23.js +293 -0
- package/cdn/chunks/chunk.LRNZULDG.js +19 -0
- package/cdn/chunks/chunk.LRZIT4M2.js +157 -0
- package/cdn/chunks/chunk.LWP22CHY.js +29 -0
- package/cdn/chunks/chunk.LWTX5IN4.js +272 -0
- package/cdn/chunks/chunk.LWXRUSS3.js +1330 -0
- package/cdn/chunks/chunk.M54TGBGR.js +188 -0
- package/cdn/chunks/chunk.M5NGQIPJ.js +302 -0
- package/cdn/chunks/chunk.MA7BWYH5.js +29 -0
- package/cdn/chunks/chunk.MAHUWVEN.js +279 -0
- package/cdn/chunks/chunk.MBNHU6HG.js +31 -0
- package/cdn/chunks/chunk.MBP4VYFB.js +538 -0
- package/cdn/chunks/chunk.MJOYRLAB.js +110 -0
- package/cdn/chunks/chunk.MPVZOQYA.js +43 -0
- package/cdn/chunks/chunk.MV7KNTAC.js +37 -0
- package/cdn/chunks/chunk.NA3PMKZ7.js +62 -0
- package/cdn/chunks/chunk.NFI5NVW6.js +33 -0
- package/cdn/chunks/chunk.NJ2NEFTI.js +19 -0
- package/cdn/chunks/chunk.NJ3TPG7D.js +26 -0
- package/cdn/chunks/chunk.NPCTDW7V.js +108071 -0
- package/cdn/chunks/chunk.NWENTFAC.js +22 -0
- package/cdn/chunks/chunk.O2FPV4EJ.js +86 -0
- package/cdn/chunks/chunk.OCME7C2N.js +52 -0
- package/cdn/chunks/chunk.OCREMSN2.js +29 -0
- package/cdn/chunks/chunk.OEEK7IGM.js +247 -0
- package/cdn/chunks/chunk.OFAIUKN5.js +99 -0
- package/cdn/chunks/chunk.OHOWAUBQ.js +35 -0
- package/cdn/chunks/chunk.OII2ASA5.js +477 -0
- package/cdn/chunks/chunk.OQUKADIT.js +68 -0
- package/cdn/chunks/chunk.OQZR2P7I.js +233 -0
- package/cdn/chunks/chunk.OS5YGA3P.js +35 -0
- package/cdn/chunks/chunk.OUXEEEZS.js +306 -0
- package/cdn/chunks/chunk.OWLHZ24R.js +34 -0
- package/cdn/chunks/chunk.P2LHGJFR.js +99 -0
- package/cdn/chunks/chunk.P4PYSONI.js +1985 -0
- package/cdn/chunks/chunk.PACUQ7ID.js +72 -0
- package/cdn/chunks/chunk.PAIZRFGH.js +29 -0
- package/cdn/chunks/chunk.PKAWD2WO.js +39 -0
- package/cdn/chunks/chunk.PKHN4ND6.js +32 -0
- package/cdn/chunks/chunk.PMD3UQTU.js +109 -0
- package/cdn/chunks/chunk.PT6EC4PO.js +37 -0
- package/cdn/chunks/chunk.PTAFBWJ6.js +49 -0
- package/cdn/chunks/chunk.PZ5TY56D.js +599 -0
- package/cdn/chunks/chunk.Q2JJZEWT.js +357 -0
- package/cdn/chunks/chunk.Q3FRXA74.js +138 -0
- package/cdn/chunks/chunk.Q4DYXGDC.js +29 -0
- package/cdn/chunks/chunk.Q5PXEHTB.js +32 -0
- package/cdn/chunks/chunk.Q6XLUYTY.js +2243 -0
- package/cdn/chunks/chunk.QCZUWUCV.js +205 -0
- package/cdn/chunks/chunk.QDAXK6J5.js +19 -0
- package/cdn/chunks/chunk.QOHUVWMU.js +33 -0
- package/cdn/chunks/chunk.QOSLAEB3.js +16977 -0
- package/cdn/chunks/chunk.QWK2WVSU.js +19 -0
- package/cdn/chunks/chunk.QXMW7NDL.js +145 -0
- package/cdn/chunks/chunk.RCPXD7AS.js +3155 -0
- package/cdn/chunks/chunk.RDQ5PGLS.js +165 -0
- package/cdn/chunks/chunk.RDWER34K.js +36 -0
- package/cdn/chunks/chunk.REDWSMK2.js +19 -0
- package/cdn/chunks/chunk.REMKVLWP.js +39 -0
- package/cdn/chunks/chunk.RHAJW5JW.js +17 -0
- package/cdn/chunks/chunk.RLW2L6QO.js +75 -0
- package/cdn/chunks/chunk.ROAOI5AI.js +238 -0
- package/cdn/chunks/chunk.RPANLYZ3.js +5773 -0
- package/cdn/chunks/chunk.RRCYT4LP.js +374 -0
- package/cdn/chunks/chunk.RWGG5FYE.js +83 -0
- package/cdn/chunks/chunk.RXOKOV25.js +27 -0
- package/cdn/chunks/chunk.RY5NHJCN.js +349 -0
- package/cdn/chunks/chunk.S2J5KOFP.js +32 -0
- package/cdn/chunks/chunk.S3NVOH7F.js +29 -0
- package/cdn/chunks/chunk.SCI3IBDJ.js +51 -0
- package/cdn/chunks/chunk.SDPSAGS7.js +35 -0
- package/cdn/chunks/chunk.SHZWEPPK.js +29 -0
- package/cdn/chunks/chunk.SI62BLWL.js +117 -0
- package/cdn/chunks/chunk.SKG5CDYE.js +445 -0
- package/cdn/chunks/chunk.SKXILWUT.js +47 -0
- package/cdn/chunks/chunk.SLBDNI7Z.js +224 -0
- package/cdn/chunks/chunk.SR4CU2NR.js +27 -0
- package/cdn/chunks/chunk.SVHOMTJN.js +134 -0
- package/cdn/chunks/chunk.SVRKAPGR.js +524 -0
- package/cdn/chunks/chunk.SYQOGYTQ.js +38 -0
- package/cdn/chunks/chunk.TCQPIQJR.js +123 -0
- package/cdn/chunks/chunk.TDO35TAG.js +10 -0
- package/cdn/chunks/chunk.TKSEPVAL.js +1697 -0
- package/cdn/chunks/chunk.TOI4RMEC.js +304 -0
- package/cdn/chunks/chunk.TP6BGA4X.js +19 -0
- package/cdn/chunks/chunk.TRMVYTDG.js +68 -0
- package/cdn/chunks/chunk.TS5YD6DR.js +33 -0
- package/cdn/chunks/chunk.TSXJLTWJ.js +77 -0
- package/cdn/chunks/chunk.TVA2ZP4B.js +201 -0
- package/cdn/chunks/chunk.TXAARJ33.js +161 -0
- package/cdn/chunks/chunk.TYGUL5RK.js +132 -0
- package/cdn/chunks/chunk.U5HIJOMQ.js +75 -0
- package/cdn/chunks/chunk.UCNIPB5M.js +56 -0
- package/cdn/chunks/chunk.UDIPZUSU.js +19 -0
- package/cdn/chunks/chunk.UKLJA2MC.js +32 -0
- package/cdn/chunks/chunk.UKREJQKJ.js +304 -0
- package/cdn/chunks/chunk.ULTZMH2Y.js +92 -0
- package/cdn/chunks/chunk.UPUYME7M.js +534 -0
- package/cdn/chunks/chunk.US5W6F6V.js +32 -0
- package/cdn/chunks/chunk.USAL55Y7.js +19 -0
- package/cdn/chunks/chunk.UTPZGRBY.js +190 -0
- package/cdn/chunks/chunk.UTWCMYYE.js +151 -0
- package/cdn/chunks/chunk.UV4RU657.js +19 -0
- package/cdn/chunks/chunk.VH7AMLEP.js +32 -0
- package/cdn/chunks/chunk.VHWT3GER.js +34 -0
- package/cdn/chunks/chunk.VICFKGQG.js +277 -0
- package/cdn/chunks/chunk.VZ3QI7OX.js +621 -0
- package/cdn/chunks/chunk.W3K4AJEB.js +19 -0
- package/cdn/chunks/chunk.W5LKCAZH.js +1145 -0
- package/cdn/chunks/chunk.WFSXAREE.js +51 -0
- package/cdn/chunks/chunk.WHVL6LTL.js +35 -0
- package/cdn/chunks/chunk.WKGMON3Z.js +30 -0
- package/cdn/chunks/chunk.WVLE62B2.js +230 -0
- package/cdn/chunks/chunk.WVVRRJAP.js +32 -0
- package/cdn/chunks/chunk.WYKMURUT.js +19 -0
- package/cdn/chunks/chunk.WYWFIRTA.js +278 -0
- package/cdn/chunks/chunk.X226GWZ2.js +155 -0
- package/cdn/chunks/chunk.X3QL3ORK.js +33 -0
- package/cdn/chunks/chunk.X65JN2S4.js +19 -0
- package/cdn/chunks/chunk.XAA5OM3G.js +616 -0
- package/cdn/chunks/chunk.XCKCVTES.js +19 -0
- package/cdn/chunks/chunk.XCUZAOKR.js +19 -0
- package/cdn/chunks/chunk.XGXEUDFB.js +19 -0
- package/cdn/chunks/chunk.XHIHATE3.js +29 -0
- package/cdn/chunks/chunk.XKGDRVCH.js +29 -0
- package/cdn/chunks/chunk.XOCMISXQ.js +19 -0
- package/cdn/chunks/chunk.XPURD6HD.js +9740 -0
- package/cdn/chunks/chunk.XPZE3KH3.js +512 -0
- package/cdn/chunks/chunk.XTEXAJU3.js +234 -0
- package/cdn/chunks/chunk.XUWLADMP.js +19 -0
- package/cdn/chunks/chunk.XWFTM3O5.js +172 -0
- package/cdn/chunks/chunk.Y22F3MAC.js +493 -0
- package/cdn/chunks/chunk.Y26BYGIC.js +29 -0
- package/cdn/chunks/chunk.Y6VAVRJR.js +19 -0
- package/cdn/chunks/chunk.YFGSWD7H.js +17 -0
- package/cdn/chunks/chunk.YGA6VAV4.js +373 -0
- package/cdn/chunks/chunk.YJR6ZNZT.js +29 -0
- package/cdn/chunks/chunk.YKJ3JAVX.js +201 -0
- package/cdn/chunks/chunk.YMMKGSAJ.js +150 -0
- package/cdn/chunks/chunk.YNEP4FAY.js +82 -0
- package/cdn/chunks/chunk.YNIY33OW.js +103 -0
- package/cdn/chunks/chunk.YNVAOTNM.js +128 -0
- package/cdn/chunks/chunk.YSHSEQ7M.js +46 -0
- package/cdn/chunks/chunk.YX2HWNCK.js +156 -0
- package/cdn/chunks/chunk.YXSEOEGS.js +56075 -0
- package/cdn/chunks/chunk.YZ7ESZTY.js +19 -0
- package/cdn/chunks/chunk.Z2SC4DOK.js +214 -0
- package/cdn/chunks/chunk.Z6GJLM5H.js +19 -0
- package/cdn/chunks/chunk.Z6OVV7U6.js +29 -0
- package/cdn/chunks/chunk.Z76IOAWE.js +33 -0
- package/cdn/chunks/chunk.ZBAE6X2X.js +29 -0
- package/cdn/chunks/chunk.ZC4CG5BE.js +60 -0
- package/cdn/chunks/chunk.ZDNVO2UT.js +29 -0
- package/cdn/chunks/chunk.ZE7PFVST.js +29 -0
- package/cdn/chunks/chunk.ZEOVK2FE.js +2425 -0
- package/cdn/chunks/chunk.ZHCOO7YL.js +92 -0
- package/cdn/chunks/chunk.ZM6WMVSY.js +235 -0
- package/cdn/chunks/chunk.ZNHBBBRJ.js +338 -0
- package/cdn/chunks/chunk.ZNJMXV2V.js +19 -0
- package/cdn/chunks/chunk.ZQVMOVOT.js +42 -0
- package/cdn/chunks/chunk.ZZSMYCE4.js +29 -0
- package/cdn/chunks/colormap.BMZ7G2OU.js +181 -0
- package/cdn/chunks/deflate.4YGXVHTG.js +25 -0
- package/cdn/chunks/jpeg.QLYJCCTQ.js +951 -0
- package/cdn/chunks/lerc.WZVXX72L.js +2097 -0
- package/cdn/chunks/lzw.W45NHZM7.js +143 -0
- package/cdn/chunks/packbits.GCVUEGBB.js +40 -0
- package/cdn/chunks/raw.IV57MJNM.js +22 -0
- package/cdn/chunks/webimage.3RSBGL4X.js +62 -0
- package/cdn/chunks/zstd.FFSBUI4F.js +136 -0
- package/cdn/components/accordion/accordion.component.js +15 -15
- package/cdn/components/accordion/accordion.js +16 -16
- package/cdn/components/accordion/accordion.styles.js +4 -4
- package/cdn/components/alert/alert.component.js +12 -12
- package/cdn/components/alert/alert.js +13 -13
- package/cdn/components/alert/alert.styles.js +4 -4
- package/cdn/components/avatar/avatar.component.js +17 -17
- package/cdn/components/avatar/avatar.js +18 -18
- package/cdn/components/avatar/avatar.styles.js +4 -4
- package/cdn/components/badge/badge.component.js +9 -9
- package/cdn/components/badge/badge.js +10 -10
- package/cdn/components/badge/badge.styles.js +4 -4
- package/cdn/components/breadcrumb/breadcrumb.component.js +9 -9
- package/cdn/components/breadcrumb/breadcrumb.js +10 -10
- package/cdn/components/breadcrumb/breadcrumb.styles.js +4 -4
- package/cdn/components/breadcrumbs/breadcrumbs.component.js +7 -7
- package/cdn/components/breadcrumbs/breadcrumbs.js +8 -8
- package/cdn/components/breadcrumbs/breadcrumbs.styles.js +4 -4
- package/cdn/components/browse-variables/browse-variables.component.js +44 -44
- package/cdn/components/browse-variables/browse-variables.controller.js +9 -9
- package/cdn/components/browse-variables/browse-variables.js +45 -45
- package/cdn/components/browse-variables/browse-variables.styles.js +4 -4
- package/cdn/components/browse-variables/browse-variables.types.js +1 -1
- package/cdn/components/button/button.component.js +20 -20
- package/cdn/components/button/button.js +21 -21
- package/cdn/components/button/button.styles.js +4 -4
- package/cdn/components/button-group/button-group.component.js +8 -8
- package/cdn/components/button-group/button-group.js +9 -9
- package/cdn/components/button-group/button-group.styles.js +4 -4
- package/cdn/components/caption/caption.component.js +7 -7
- package/cdn/components/caption/caption.js +8 -8
- package/cdn/components/caption/caption.styles.js +4 -4
- package/cdn/components/card/card.component.js +10 -10
- package/cdn/components/card/card.js +11 -11
- package/cdn/components/card/card.styles.js +4 -4
- package/cdn/components/checkbox/checkbox.component.js +22 -22
- package/cdn/components/checkbox/checkbox.js +23 -23
- package/cdn/components/checkbox/checkbox.styles.js +4 -4
- package/cdn/components/chip/chip.component.js +9 -9
- package/cdn/components/chip/chip.js +10 -10
- package/cdn/components/chip/chip.styles.js +4 -4
- package/cdn/components/combobox/combobox.component.d.ts +4 -1
- package/cdn/components/combobox/combobox.component.js +17 -17
- package/cdn/components/combobox/combobox.js +18 -18
- package/cdn/components/combobox/combobox.styles.js +4 -4
- package/cdn/components/combobox/lib.js +2 -2
- package/cdn/components/combobox/type.js +2 -2
- package/cdn/components/data-access/data-access.component.d.ts +10 -10
- package/cdn/components/data-access/data-access.component.js +78 -72
- package/cdn/components/data-access/data-access.controller.js +8 -8
- package/cdn/components/data-access/data-access.js +79 -73
- package/cdn/components/data-access/data-access.styles.js +4 -4
- package/cdn/components/data-access/notebooks/data-access-notebook.js +2 -2
- package/cdn/components/data-grid/data-grid.component.js +13 -13
- package/cdn/components/data-grid/data-grid.js +14 -14
- package/cdn/components/data-grid/data-grid.styles.js +4 -4
- package/cdn/components/data-rods/data-rods.component.d.ts +1 -1
- package/cdn/components/data-rods/data-rods.component.js +94 -87
- package/cdn/components/data-rods/data-rods.js +95 -88
- package/cdn/components/data-rods/data-rods.styles.js +4 -4
- package/cdn/components/data-subsetter/data-subsetter.component.d.ts +24 -9
- package/cdn/components/data-subsetter/data-subsetter.component.js +100 -93
- package/cdn/components/data-subsetter/data-subsetter.controller.d.ts +3 -4
- package/cdn/components/data-subsetter/data-subsetter.controller.js +15 -12
- package/cdn/components/data-subsetter/data-subsetter.js +101 -94
- package/cdn/components/data-subsetter/data-subsetter.styles.js +4 -4
- package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +2 -2
- package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +103 -96
- package/cdn/components/data-subsetter-history/data-subsetter-history.controller.js +6 -6
- package/cdn/components/data-subsetter-history/data-subsetter-history.js +104 -97
- package/cdn/components/data-subsetter-history/data-subsetter-history.styles.js +4 -4
- package/cdn/components/date-picker/date-picker.component.js +36 -36
- package/cdn/components/date-picker/date-picker.js +37 -37
- package/cdn/components/date-picker/date-picker.styles.js +4 -4
- package/cdn/components/date-range-slider/date-range-slider.component.js +12 -12
- package/cdn/components/date-range-slider/date-range-slider.js +13 -13
- package/cdn/components/date-range-slider/date-range-slider.styles.js +4 -4
- package/cdn/components/date-range-slider/noui-slider-utilities.js +2 -2
- package/cdn/components/dialog/dialog.component.js +27 -27
- package/cdn/components/dialog/dialog.js +28 -28
- package/cdn/components/dialog/dialog.styles.js +4 -4
- package/cdn/components/divider/divider.component.js +8 -8
- package/cdn/components/divider/divider.js +9 -9
- package/cdn/components/divider/divider.styles.js +4 -4
- package/cdn/components/dropdown/dropdown.component.js +17 -17
- package/cdn/components/dropdown/dropdown.js +18 -18
- package/cdn/components/dropdown/dropdown.styles.js +4 -4
- package/cdn/components/earthdata-login/earthdata-login.component.js +34 -34
- package/cdn/components/earthdata-login/earthdata-login.js +35 -35
- package/cdn/components/earthdata-login/earthdata-login.styles.js +4 -4
- package/cdn/components/file-upload/file-upload.component.js +10 -10
- package/cdn/components/file-upload/file-upload.js +11 -11
- package/cdn/components/file-upload/file-upload.styles.js +4 -4
- package/cdn/components/icon/icon.component.js +13 -13
- package/cdn/components/icon/icon.js +14 -14
- package/cdn/components/icon/icon.styles.js +4 -4
- package/cdn/components/icon/library.default.js +2 -2
- package/cdn/components/icon/library.heroicons.js +3 -3
- package/cdn/components/icon/library.js +5 -5
- package/cdn/components/input/input.component.js +22 -22
- package/cdn/components/input/input.js +23 -23
- package/cdn/components/input/input.styles.js +4 -4
- package/cdn/components/loader/loader.component.js +9 -9
- package/cdn/components/loader/loader.js +10 -10
- package/cdn/components/loader/loader.styles.js +4 -4
- package/cdn/components/login/login.component.js +29 -29
- package/cdn/components/login/login.js +30 -30
- package/cdn/components/login/login.styles.js +4 -4
- package/cdn/components/map/controls/draw-toolbar.control.d.ts +28 -0
- package/cdn/components/map/controls/draw-toolbar.control.js +10 -0
- package/cdn/components/map/map.component.d.ts +32 -11
- package/cdn/components/map/map.component.js +24 -19
- package/cdn/components/map/map.controller.js +4 -4
- package/cdn/components/map/map.js +25 -20
- package/cdn/components/map/map.service.d.ts +41 -0
- package/cdn/components/map/map.service.js +17 -0
- package/cdn/components/map/map.styles.js +4 -4
- package/cdn/components/map/models/LatLng.d.ts +7 -0
- package/cdn/components/map/models/LatLng.js +7 -0
- package/cdn/components/map/models/LatLngBounds.d.ts +14 -0
- package/cdn/components/map/models/LatLngBounds.js +8 -0
- package/cdn/components/map/type.d.ts +12 -3
- package/cdn/components/map/type.js +2 -2
- package/cdn/components/menu/menu.component.js +7 -7
- package/cdn/components/menu/menu.js +8 -8
- package/cdn/components/menu/menu.styles.js +4 -4
- package/cdn/components/menu-item/menu-item.component.js +24 -24
- package/cdn/components/menu-item/menu-item.js +25 -25
- package/cdn/components/menu-item/menu-item.styles.js +4 -4
- package/cdn/components/menu-item/submenu-controller.js +8 -8
- package/cdn/components/option/option.component.js +17 -17
- package/cdn/components/option/option.js +18 -18
- package/cdn/components/option/option.styles.js +4 -4
- package/cdn/components/pagination/pagination.component.js +17 -17
- package/cdn/components/pagination/pagination.js +18 -18
- package/cdn/components/pagination/pagination.styles.js +4 -4
- package/cdn/components/plot/plot.component.js +9 -9
- package/cdn/components/plot/plot.js +10 -10
- package/cdn/components/plot/plot.styles.js +4 -4
- package/cdn/components/plot/plot.types.js +1 -1
- package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +2 -2
- package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +2 -2
- package/cdn/components/plot-toolbar/plot-toolbar.component.d.ts +0 -1
- package/cdn/components/plot-toolbar/plot-toolbar.component.js +50 -44
- package/cdn/components/plot-toolbar/plot-toolbar.controller.js +7 -7
- package/cdn/components/plot-toolbar/plot-toolbar.js +51 -45
- package/cdn/components/plot-toolbar/plot-toolbar.styles.js +4 -4
- package/cdn/components/plot-toolbar/plot-toolbar.types.js +1 -1
- package/cdn/components/popup/popup.component.js +9 -9
- package/cdn/components/popup/popup.js +10 -10
- package/cdn/components/popup/popup.styles.js +4 -4
- package/cdn/components/progress-bar/progress-bar.component.js +10 -10
- package/cdn/components/progress-bar/progress-bar.js +11 -11
- package/cdn/components/progress-bar/progress-bar.styles.js +4 -4
- package/cdn/components/radio/radio.component.js +15 -15
- package/cdn/components/radio/radio.js +16 -16
- package/cdn/components/radio/radio.styles.js +4 -4
- package/cdn/components/radio-group/radio-group.component.js +13 -13
- package/cdn/components/radio-group/radio-group.js +14 -14
- package/cdn/components/radio-group/radio-group.styles.js +4 -4
- package/cdn/components/scroll-hint/scroll-hint.component.js +15 -15
- package/cdn/components/scroll-hint/scroll-hint.js +16 -16
- package/cdn/components/scroll-hint/scroll-hint.styles.js +4 -4
- package/cdn/components/select/select.component.js +28 -28
- package/cdn/components/select/select.js +29 -29
- package/cdn/components/select/select.styles.js +4 -4
- package/cdn/components/site-header/site-header.component.js +16 -16
- package/cdn/components/site-header/site-header.js +16 -16
- package/cdn/components/site-header/site-header.styles.js +4 -4
- package/cdn/components/site-navigation/site-navigation.component.js +7 -7
- package/cdn/components/site-navigation/site-navigation.js +7 -7
- package/cdn/components/site-navigation/site-navigation.styles.js +4 -4
- package/cdn/components/skeleton/skeleton.component.js +8 -8
- package/cdn/components/skeleton/skeleton.js +9 -9
- package/cdn/components/skeleton/skeleton.styles.js +4 -4
- package/cdn/components/slider/slider.component.d.ts +1 -0
- package/cdn/components/slider/slider.component.js +10 -10
- package/cdn/components/slider/slider.js +11 -11
- package/cdn/components/slider/slider.styles.js +4 -4
- package/cdn/components/spatial-picker/spatial-picker.component.d.ts +47 -66
- package/cdn/components/spatial-picker/spatial-picker.component.js +50 -44
- package/cdn/components/spatial-picker/spatial-picker.js +51 -45
- package/cdn/components/spatial-picker/spatial-picker.service.d.ts +47 -0
- package/cdn/components/spatial-picker/spatial-picker.service.js +9 -0
- package/cdn/components/spatial-picker/spatial-picker.styles.js +4 -4
- package/cdn/components/status-indicator/status-indicator.component.js +9 -9
- package/cdn/components/status-indicator/status-indicator.js +10 -10
- package/cdn/components/status-indicator/status-indicator.styles.js +4 -4
- package/cdn/components/stepper/stepper.component.js +9 -9
- package/cdn/components/stepper/stepper.js +10 -10
- package/cdn/components/stepper/stepper.styles.js +4 -4
- package/cdn/components/stepper-step/stepper-step.component.js +17 -17
- package/cdn/components/stepper-step/stepper-step.js +18 -18
- package/cdn/components/stepper-step/stepper-step.styles.js +4 -4
- package/cdn/components/tab/tab.component.js +17 -17
- package/cdn/components/tab/tab.js +18 -18
- package/cdn/components/tab/tab.styles.js +4 -4
- package/cdn/components/tab-panel/tab-panel.component.js +10 -10
- package/cdn/components/tab-panel/tab-panel.js +11 -11
- package/cdn/components/tab-panel/tab-panel.styles.js +4 -4
- package/cdn/components/tabs/tabs.component.js +18 -18
- package/cdn/components/tabs/tabs.js +19 -19
- package/cdn/components/tabs/tabs.styles.js +4 -4
- package/cdn/components/tag/tag.component.js +17 -17
- package/cdn/components/tag/tag.js +18 -18
- package/cdn/components/tag/tag.styles.js +4 -4
- package/cdn/components/textarea/textarea.component.js +16 -16
- package/cdn/components/textarea/textarea.js +17 -17
- package/cdn/components/textarea/textarea.styles.js +4 -4
- package/cdn/components/time-average-map/time-average-map.component.d.ts +1 -1
- package/cdn/components/time-average-map/time-average-map.component.js +65 -60
- package/cdn/components/time-average-map/time-average-map.controller.js +12 -11
- package/cdn/components/time-average-map/time-average-map.js +66 -61
- package/cdn/components/time-average-map/time-average-map.styles.js +4 -4
- package/cdn/components/time-series/time-series.component.d.ts +1 -1
- package/cdn/components/time-series/time-series.component.js +65 -59
- package/cdn/components/time-series/time-series.controller.js +12 -11
- package/cdn/components/time-series/time-series.js +66 -60
- package/cdn/components/time-series/time-series.styles.js +4 -4
- package/cdn/components/time-series/time-series.types.js +1 -1
- package/cdn/components/toast/toast.component.js +14 -14
- package/cdn/components/toast/toast.js +15 -15
- package/cdn/components/toast/toast.styles.js +4 -4
- package/cdn/components/toggle/toggle.component.js +16 -16
- package/cdn/components/toggle/toggle.js +17 -17
- package/cdn/components/toggle/toggle.styles.js +4 -4
- package/cdn/components/tooltip/tooltip.component.js +15 -15
- package/cdn/components/tooltip/tooltip.js +16 -16
- package/cdn/components/tooltip/tooltip.styles.js +4 -4
- package/cdn/components/variable-combobox/lib.js +7 -7
- package/cdn/components/variable-combobox/variable-combobox.component.d.ts +4 -1
- package/cdn/components/variable-combobox/variable-combobox.component.js +32 -32
- package/cdn/components/variable-combobox/variable-combobox.controller.js +9 -9
- package/cdn/components/variable-combobox/variable-combobox.js +33 -33
- package/cdn/components/variable-combobox/variable-combobox.styles.js +4 -4
- package/cdn/components/variable-combobox/variable-combobox.types.js +1 -1
- package/cdn/components/variable-keyword-search/lib.js +4 -4
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.d.ts +4 -1
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +35 -35
- package/cdn/components/variable-keyword-search/variable-keyword-search.controller.js +9 -9
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +36 -36
- package/cdn/components/variable-keyword-search/variable-keyword-search.styles.js +4 -4
- package/cdn/components/variable-keyword-search/variable-keyword-search.types.js +1 -1
- package/cdn/controllers/query.controller.d.ts +19 -0
- package/cdn/custom-elements.json +467 -603
- package/cdn/exceptions/http.exception.d.ts +22 -0
- package/cdn/internal/animate.d.ts +3 -3
- package/cdn/lib/api.client.d.ts +15 -0
- package/cdn/lib/harmony/harmony.request.d.ts +54 -0
- package/cdn/lib/indexeddb-persister.d.ts +14 -0
- package/cdn/metadata-catalog/tasks.d.ts +1 -1
- package/cdn/mixins/query-client.mixin.d.ts +8 -0
- package/cdn/queries/cmr.queries.d.ts +6 -0
- package/cdn/queries/gesdisc.queries.d.ts +7 -0
- package/cdn/react/accordion/index.js +16 -16
- package/cdn/react/alert/index.js +13 -13
- package/cdn/react/avatar/index.js +18 -18
- package/cdn/react/badge/index.js +10 -10
- package/cdn/react/breadcrumb/index.js +10 -10
- package/cdn/react/breadcrumbs/index.js +8 -8
- package/cdn/react/browse-variables/index.js +45 -45
- package/cdn/react/button/index.js +21 -21
- package/cdn/react/button-group/index.js +9 -9
- package/cdn/react/caption/index.js +8 -8
- package/cdn/react/card/index.js +11 -11
- package/cdn/react/checkbox/index.js +23 -23
- package/cdn/react/chip/index.js +10 -10
- package/cdn/react/combobox/index.js +18 -18
- package/cdn/react/data-access/index.js +79 -73
- package/cdn/react/data-grid/index.js +14 -14
- package/cdn/react/data-rods/index.js +95 -88
- package/cdn/react/data-subsetter/index.js +101 -94
- package/cdn/react/data-subsetter-history/index.js +104 -97
- package/cdn/react/date-picker/index.js +37 -37
- package/cdn/react/date-range-slider/index.js +13 -13
- package/cdn/react/dialog/index.js +28 -28
- package/cdn/react/divider/index.js +9 -9
- package/cdn/react/dropdown/index.js +18 -18
- package/cdn/react/earthdata-login/index.js +35 -35
- package/cdn/react/file-upload/index.js +11 -11
- package/cdn/react/icon/index.js +14 -14
- package/cdn/react/index.d.ts +1 -2
- package/cdn/react/index.js +283 -283
- package/cdn/react/input/index.js +23 -23
- package/cdn/react/loader/index.js +10 -10
- package/cdn/react/login/index.js +30 -30
- package/cdn/react/map/index.js +25 -20
- package/cdn/react/menu/index.js +8 -8
- package/cdn/react/menu-item/index.js +25 -25
- package/cdn/react/option/index.js +18 -18
- package/cdn/react/pagination/index.js +18 -18
- package/cdn/react/plot/index.js +10 -10
- package/cdn/react/plot-toolbar/index.js +51 -45
- package/cdn/react/popup/index.js +10 -10
- package/cdn/react/progress-bar/index.js +11 -11
- package/cdn/react/radio/index.js +16 -16
- package/cdn/react/radio-group/index.js +14 -14
- package/cdn/react/scroll-hint/index.js +16 -16
- package/cdn/react/select/index.js +29 -29
- package/cdn/react/site-header/index.js +17 -17
- package/cdn/react/site-navigation/index.js +8 -8
- package/cdn/react/skeleton/index.js +9 -9
- package/cdn/react/slider/index.js +11 -11
- package/cdn/react/spatial-picker/index.d.ts +0 -1
- package/cdn/react/spatial-picker/index.js +51 -45
- package/cdn/react/status-indicator/index.js +10 -10
- package/cdn/react/stepper/index.js +10 -10
- package/cdn/react/stepper-step/index.js +18 -18
- package/cdn/react/tab/index.js +18 -18
- package/cdn/react/tab-panel/index.js +11 -11
- package/cdn/react/tabs/index.js +19 -19
- package/cdn/react/tag/index.js +18 -18
- package/cdn/react/textarea/index.js +17 -17
- package/cdn/react/time-average-map/index.js +66 -61
- package/cdn/react/time-series/index.js +66 -60
- package/cdn/react/toast/index.js +15 -15
- package/cdn/react/toggle/index.js +17 -17
- package/cdn/react/tooltip/index.js +16 -16
- package/cdn/react/variable-combobox/index.js +33 -33
- package/cdn/react/variable-keyword-search/index.js +36 -36
- package/cdn/services/cmr-variable.service.d.ts +15 -0
- package/cdn/terra-ui-components-autoloader.js +2 -2
- package/cdn/terra-ui-components.d.ts +0 -1
- package/cdn/terra-ui-components.js +292 -292
- package/cdn/themes/horizon.css +0 -2
- package/cdn/themes/horizon.styles.js +0 -2
- package/cdn/types/vue/index.d.ts +198 -223
- package/cdn/utilities/animation-registry.js +2 -2
- package/cdn/utilities/base-path.js +2 -2
- package/cdn/utilities/date.js +3 -3
- package/cdn/utilities/debounce.js +1 -1
- package/cdn/utilities/environment.js +2 -2
- package/cdn/utilities/feature.d.ts +1 -0
- package/cdn/utilities/feature.js +7 -0
- package/cdn/utilities/form.js +3 -3
- package/cdn/utilities/giovanni.js +2 -2
- package/cdn/utilities/harmony.js +4 -4
- package/cdn/utilities/icon-library.js +6 -6
- package/cdn/utilities/mimetypes.js +2 -2
- package/cdn/utilities/number.js +2 -2
- package/cdn/utilities/sort.js +2 -2
- package/cdn/vscode.html-custom-data.json +52 -103
- package/cdn/web-types.json +203 -294
- package/dist/apis/cmr.api.d.ts +55 -0
- package/dist/apis/gesdisc.api.d.ts +17 -0
- package/dist/apis/types/cmr/umm-c.d.ts +795 -0
- package/dist/apis/types/cmr/umm-g.d.ts +466 -0
- package/dist/apis/types/cmr/umm-var.d.ts +547 -0
- package/dist/chunks/chunk.22K6ALK5.js +1 -0
- package/dist/chunks/chunk.272VDGT6.js +5 -0
- package/dist/chunks/chunk.2AOTNXQE.js +1 -0
- package/dist/chunks/chunk.2BKQXNED.js +134 -0
- package/dist/chunks/chunk.2NNF6S2I.js +144 -0
- package/dist/chunks/chunk.2YNCLCIH.js +145 -0
- package/dist/chunks/chunk.32TDAXC6.js +118 -0
- package/dist/chunks/chunk.37DTFMSG.js +1 -0
- package/dist/chunks/chunk.3B2FDGX7.js +11 -0
- package/dist/chunks/chunk.3EDA2HZU.js +266 -0
- package/dist/chunks/chunk.3G6QKB5Z.js +58 -0
- package/dist/chunks/chunk.3JIMAXOF.js +91 -0
- package/dist/chunks/chunk.3R4FAG5J.js +1 -0
- package/dist/chunks/chunk.3XAOS6LZ.js +99 -0
- package/dist/chunks/chunk.3Y6WWRX4.js +1 -0
- package/dist/chunks/chunk.3YUBQVYS.js +137 -0
- package/dist/chunks/chunk.3YVE2Q4C.js +332 -0
- package/dist/chunks/chunk.3ZFEHRX6.js +1 -0
- package/dist/chunks/chunk.42LXCLD6.js +62 -0
- package/dist/chunks/chunk.4DSW6VDK.js +1 -0
- package/dist/chunks/chunk.4H7EP4CT.js +428 -0
- package/dist/chunks/chunk.4IU4F4P4.js +1 -0
- package/dist/chunks/chunk.4LKD5QW2.js +1 -0
- package/dist/chunks/chunk.4LXRX32O.js +35 -0
- package/dist/chunks/chunk.4QPRUY6P.js +1 -0
- package/dist/chunks/chunk.4RLATCKG.js +1 -0
- package/dist/chunks/chunk.4V6DCO3K.js +1 -0
- package/dist/chunks/chunk.4YMEXXHA.js +75 -0
- package/dist/chunks/chunk.4YQUBACJ.js +126 -0
- package/dist/chunks/chunk.4YUBLS7L.js +1 -0
- package/dist/chunks/chunk.52AVSPQE.js +1 -0
- package/dist/chunks/chunk.57BZT3TV.js +25 -0
- package/dist/chunks/chunk.57XJDIGO.js +55 -0
- package/dist/chunks/chunk.5DO7ZJZ7.js +8 -0
- package/dist/chunks/chunk.5DVFWG6G.js +356 -0
- package/dist/chunks/chunk.5M53AMLQ.js +37 -0
- package/dist/chunks/chunk.5MRGSZQ6.js +1 -0
- package/dist/chunks/chunk.5SIVM4DR.js +12 -0
- package/dist/chunks/chunk.5TWRI4L4.js +49 -0
- package/dist/chunks/chunk.5VKFYJID.js +1 -0
- package/dist/chunks/chunk.6646NRZO.js +1 -0
- package/dist/chunks/chunk.66GZLMFM.js +1 -0
- package/dist/chunks/chunk.6EM3XPM3.js +1 -0
- package/dist/chunks/chunk.6ESJLYIE.js +1 -0
- package/dist/chunks/chunk.6M2JHZRJ.js +20 -0
- package/dist/chunks/chunk.6MJMMDNP.js +1 -0
- package/dist/chunks/chunk.6MKLT7FM.js +1 -0
- package/dist/chunks/chunk.6PEAAW4E.js +1 -0
- package/dist/chunks/chunk.6STA7JOH.js +17 -0
- package/dist/chunks/chunk.6VRE7YNG.js +216 -0
- package/dist/chunks/chunk.6WTTSLOK.js +3 -0
- package/dist/chunks/chunk.6ZQ5CYAA.js +1 -0
- package/dist/chunks/chunk.75G4UJIH.js +38 -0
- package/dist/chunks/chunk.76IIZ33F.js +1 -0
- package/dist/chunks/chunk.77X2UDZ7.js +1 -0
- package/dist/chunks/chunk.7CYIMHZ2.js +1 -0
- package/dist/chunks/chunk.7HOEKFDT.js +22 -0
- package/dist/chunks/chunk.7J2F6HQM.js +1 -0
- package/dist/chunks/chunk.7JZVKWGI.js +60 -0
- package/dist/chunks/chunk.7POSFBON.js +1 -0
- package/dist/chunks/chunk.7QPIUXSS.js +1 -0
- package/dist/chunks/chunk.7W27XF6C.js +218 -0
- package/dist/chunks/chunk.7XF2CVCO.js +1 -0
- package/dist/chunks/chunk.7XVQ23TB.js +20 -0
- package/dist/chunks/chunk.A2YE24KO.js +30 -0
- package/dist/chunks/chunk.A6SIGE3C.js +19 -0
- package/dist/chunks/chunk.A77DDYFZ.js +14 -0
- package/dist/chunks/chunk.ACIJ7WID.js +122 -0
- package/dist/chunks/chunk.ACN4XQ77.js +1 -0
- package/dist/chunks/chunk.ACPZYKOT.js +155 -0
- package/dist/chunks/chunk.AJNJDVFP.js +1 -0
- package/dist/chunks/chunk.AM3PBNU3.js +64 -0
- package/dist/chunks/chunk.ATR343ZS.js +129 -0
- package/dist/chunks/chunk.BJK2563Y.js +43 -0
- package/dist/chunks/chunk.BKGRXBHT.js +230 -0
- package/dist/chunks/chunk.BSHCXDDH.js +9 -0
- package/dist/chunks/chunk.BWCJXCND.js +1 -0
- package/dist/chunks/chunk.C7D3XVVW.js +1 -0
- package/dist/chunks/chunk.C7ILTTDA.js +495 -0
- package/dist/chunks/chunk.C7UFYVQU.js +1 -0
- package/dist/chunks/chunk.CBQTPZDL.js +1 -0
- package/dist/chunks/chunk.CCZ72TNH.js +55 -0
- package/dist/chunks/chunk.CD5ZQXGV.js +17 -0
- package/dist/chunks/chunk.CGYEUNVL.js +1 -0
- package/dist/chunks/chunk.CIWVH54V.js +260 -0
- package/dist/chunks/chunk.CM2L3MSA.js +1 -0
- package/dist/chunks/chunk.CUJNKBC6.js +1 -0
- package/dist/chunks/chunk.CV2D3MDN.js +93 -0
- package/dist/chunks/chunk.D2CKY5V2.js +1 -0
- package/dist/chunks/chunk.D2XGPQYA.js +1 -0
- package/dist/chunks/chunk.DAVBRVK2.js +23 -0
- package/dist/chunks/chunk.DJ4PTWRH.js +1 -0
- package/dist/chunks/chunk.DL6MUDGX.js +1 -0
- package/dist/chunks/chunk.DOTMQT7Y.js +1 -0
- package/dist/chunks/chunk.DPANPE2D.js +47 -0
- package/dist/chunks/chunk.DQB7QI7Z.js +1 -0
- package/dist/chunks/chunk.DQMGE5WA.js +1 -0
- package/dist/chunks/chunk.DS6LDOCJ.js +35 -0
- package/dist/chunks/chunk.DSG7TPJW.js +10 -0
- package/dist/chunks/chunk.DTEOHZYB.js +1 -0
- package/dist/chunks/chunk.DXAPDDPR.js +8 -0
- package/dist/chunks/chunk.DXQMQC77.js +1 -0
- package/dist/chunks/chunk.DZ5APGIF.js +1 -0
- package/dist/chunks/chunk.E3NUSTFU.js +1 -0
- package/dist/chunks/chunk.E4MVZA4I.js +1 -0
- package/dist/chunks/chunk.E63VFQJ5.js +1 -0
- package/dist/chunks/chunk.E6HNLV32.js +1 -0
- package/dist/chunks/chunk.E775SIZV.js +48 -0
- package/dist/chunks/chunk.EBWZJM3R.js +1 -0
- package/dist/chunks/chunk.EGAHGCRB.js +1 -0
- package/dist/chunks/chunk.EHV7SQX7.js +1 -0
- package/dist/chunks/chunk.EKKUPX5N.js +1 -0
- package/dist/chunks/chunk.EP7VZEIL.js +197 -0
- package/dist/chunks/chunk.ETDMZC7Z.js +1 -0
- package/dist/chunks/chunk.ETT4EB7D.js +287 -0
- package/dist/chunks/chunk.FASUF6VE.js +1 -0
- package/dist/chunks/chunk.FHNU4GHQ.js +1 -0
- package/dist/chunks/chunk.FL6IFTRN.js +34 -0
- package/dist/chunks/chunk.FUZXNBZH.js +1 -0
- package/dist/chunks/chunk.G5YTXJ3A.js +32 -0
- package/dist/chunks/chunk.G62N3PBV.js +55 -0
- package/dist/chunks/chunk.GMJ6SXWY.js +1 -0
- package/dist/chunks/chunk.GP4XGCT7.js +1 -0
- package/dist/chunks/chunk.GVQ3ULCA.js +1 -0
- package/dist/chunks/chunk.GXTFJZWR.js +351 -0
- package/dist/chunks/chunk.H2ISCJTL.js +31 -0
- package/dist/chunks/chunk.H2KDZ37H.js +346 -0
- package/dist/chunks/chunk.H7N37E2T.js +30 -0
- package/dist/chunks/chunk.HFOKXDGN.js +1 -0
- package/dist/chunks/chunk.HHVSKYSA.js +1 -0
- package/dist/chunks/chunk.HOJEGUPI.js +1 -0
- package/dist/chunks/chunk.HOKXEGUK.js +1 -0
- package/dist/chunks/chunk.HPEPPRLY.js +1 -0
- package/dist/chunks/chunk.HRTAILZX.js +71 -0
- package/dist/chunks/chunk.HSGYZLW4.js +100 -0
- package/dist/chunks/chunk.HW6HH7MI.js +1 -0
- package/dist/chunks/chunk.I3JUJ5A6.js +1 -0
- package/dist/chunks/chunk.I4P2RJNN.js +6 -0
- package/dist/chunks/chunk.I6F3QHZP.js +170 -0
- package/dist/chunks/chunk.I7GS2S35.js +16 -0
- package/dist/chunks/chunk.IF2XG3EP.js +1 -0
- package/dist/chunks/chunk.INFVQQSJ.js +1 -0
- package/dist/chunks/chunk.IRL3C5GO.js +1 -0
- package/dist/chunks/chunk.IVAJTYHP.js +618 -0
- package/dist/chunks/chunk.IVSTBD5C.js +1 -0
- package/dist/chunks/chunk.IYLOXJSX.js +1 -0
- package/dist/chunks/chunk.J5Q4TWEG.js +1 -0
- package/dist/chunks/chunk.JA65K32V.js +1 -0
- package/dist/chunks/chunk.JBPRUIZD.js +170 -0
- package/dist/chunks/chunk.JCCEWIY5.js +1 -0
- package/dist/chunks/chunk.JGLDXLC6.js +1 -0
- package/dist/chunks/chunk.JR4CVT6A.js +15 -0
- package/dist/chunks/chunk.JXE6DOO5.js +16 -0
- package/dist/chunks/chunk.KAEEI4RX.js +121 -0
- package/dist/chunks/chunk.KAZCKT5R.js +1 -0
- package/dist/chunks/chunk.KGZZ7BN3.js +289 -0
- package/dist/chunks/chunk.KINZD6XG.js +1 -0
- package/dist/chunks/chunk.KJB4OVGG.js +329 -0
- package/dist/chunks/chunk.KJKL7PGE.js +1 -0
- package/dist/chunks/chunk.KKXYNJ2C.js +61 -0
- package/dist/chunks/chunk.KT32JELO.js +1 -0
- package/dist/chunks/chunk.KVCUA7LO.js +64 -0
- package/dist/chunks/chunk.KXA6CEPI.js +1043 -0
- package/dist/chunks/chunk.KY2VIJQQ.js +1 -0
- package/dist/chunks/chunk.L2XC3RMT.js +1 -0
- package/dist/chunks/chunk.L4T3U7TN.js +43 -0
- package/dist/chunks/chunk.LAPXG4B4.js +749 -0
- package/dist/chunks/chunk.LDTSOPRY.js +65 -0
- package/dist/chunks/chunk.LFSJQRI2.js +1 -0
- package/dist/chunks/chunk.LNBL6PVF.js +1 -0
- package/dist/chunks/chunk.LPDAW6QT.js +1 -0
- package/dist/chunks/chunk.LUQMCRYL.js +1 -0
- package/dist/chunks/chunk.M24MU27S.js +82 -0
- package/dist/chunks/chunk.MCUSVDU6.js +1 -0
- package/dist/chunks/chunk.MFP5OMR5.js +1 -0
- package/dist/chunks/chunk.MJFEBDJV.js +16 -0
- package/dist/chunks/chunk.MPQ3Y2NR.js +26 -0
- package/dist/chunks/chunk.MR2JD62K.js +437 -0
- package/dist/chunks/chunk.N5H52YQU.js +1 -0
- package/dist/chunks/chunk.NDOFONSX.js +49 -0
- package/dist/chunks/chunk.NP2QG5W4.js +51 -0
- package/dist/chunks/chunk.NSJI2VIK.js +82 -0
- package/dist/chunks/chunk.NXDBHHXT.js +1 -0
- package/dist/chunks/chunk.NZ3FMGPQ.js +1 -0
- package/dist/chunks/chunk.O4RXDTS3.js +154 -0
- package/dist/chunks/chunk.OELVETHH.js +157 -0
- package/dist/chunks/chunk.OIUVQPNF.js +287 -0
- package/dist/chunks/chunk.OKFJJMG4.js +1 -0
- package/dist/chunks/chunk.ORDTW7XK.js +1 -0
- package/dist/chunks/chunk.P5X56AXV.js +74 -0
- package/dist/chunks/chunk.P5Z2X5RJ.js +64 -0
- package/dist/chunks/chunk.P6DENF5C.js +1 -0
- package/dist/chunks/chunk.PG2ZYFK6.js +11 -0
- package/dist/chunks/chunk.PG7RC2ZX.js +1 -0
- package/dist/chunks/chunk.PH4SRGKT.js +1 -0
- package/dist/chunks/chunk.PJ2G5T64.js +144 -0
- package/dist/chunks/chunk.PJ7EBH6V.js +1 -0
- package/dist/chunks/chunk.PPVV6FIT.js +1 -0
- package/dist/chunks/chunk.PZ3LO5EU.js +1 -0
- package/dist/chunks/chunk.PZJMME4N.js +1 -0
- package/dist/chunks/chunk.PZP3ZCWL.js +67 -0
- package/dist/chunks/chunk.Q2BQWN2W.js +1 -0
- package/dist/chunks/chunk.Q3FSQR6A.js +1 -0
- package/dist/chunks/chunk.Q3RQ2KGF.js +34 -0
- package/dist/chunks/chunk.QBK5HZ4F.js +24 -0
- package/dist/chunks/chunk.QMPKM2GA.js +100 -0
- package/dist/chunks/chunk.QU5FOMMA.js +1 -0
- package/dist/chunks/chunk.QXIJD2NP.js +1 -0
- package/dist/chunks/chunk.QZWCO7EF.js +321 -0
- package/dist/chunks/chunk.R254CYHA.js +1 -0
- package/dist/chunks/chunk.R4D7NLOS.js +651 -0
- package/dist/chunks/chunk.R5GP32K5.js +1 -0
- package/dist/chunks/chunk.R762OMYE.js +9 -0
- package/dist/chunks/chunk.RANPFHJA.js +1 -0
- package/dist/chunks/chunk.REK2YOIL.js +92 -0
- package/dist/chunks/chunk.RHMQH2SJ.js +299 -0
- package/dist/chunks/chunk.RKVLJUJG.js +213 -0
- package/dist/chunks/chunk.RRKWNEL7.js +13 -0
- package/dist/chunks/chunk.RTYCX4TD.js +1 -0
- package/dist/chunks/chunk.RVXZJDZ2.js +1 -0
- package/dist/chunks/chunk.S4NR73UF.js +85 -0
- package/dist/chunks/chunk.SA2DUZVH.js +4 -0
- package/dist/chunks/chunk.SG2ODBDX.js +1 -0
- package/dist/chunks/chunk.SL4GA6EW.js +1 -0
- package/dist/chunks/chunk.SQZJC6AM.js +1 -0
- package/dist/chunks/chunk.SRDW6MAE.js +111 -0
- package/dist/chunks/chunk.SSI2NOCQ.js +1 -0
- package/dist/chunks/chunk.STTAKOQG.js +1 -0
- package/dist/chunks/chunk.SUBBVKKD.js +104 -0
- package/dist/chunks/chunk.T2OPXB5J.js +1 -0
- package/dist/chunks/chunk.T2UN43AV.js +1 -0
- package/dist/chunks/chunk.T4AS6WRP.js +19 -0
- package/dist/chunks/chunk.TAUPNAFQ.js +1 -0
- package/dist/chunks/chunk.TJFKZESZ.js +1 -0
- package/dist/chunks/chunk.TKTLHZOK.js +1 -0
- package/dist/chunks/chunk.TMWWCJW2.js +1 -0
- package/dist/chunks/chunk.TNO76AGJ.js +1 -0
- package/dist/chunks/chunk.TO6MBBTP.js +14 -0
- package/dist/chunks/chunk.TPWN67PF.js +80 -0
- package/dist/chunks/chunk.TQGVPHUZ.js +12 -0
- package/dist/chunks/chunk.TV6ZTZU3.js +1 -0
- package/dist/chunks/chunk.TX7BKMH7.js +1 -0
- package/dist/chunks/chunk.U3CL3R4K.js +1 -0
- package/dist/chunks/chunk.U6R2SR47.js +1 -0
- package/dist/chunks/chunk.UAL5F7OB.js +1 -0
- package/dist/chunks/chunk.UD2MKM4G.js +1 -0
- package/dist/chunks/chunk.UFHVFIWI.js +1158 -0
- package/dist/chunks/chunk.UHC7B5GI.js +1 -0
- package/dist/chunks/chunk.UJR2HXIA.js +1 -0
- package/dist/chunks/chunk.UKKXMXFA.js +1 -0
- package/dist/chunks/chunk.UPRPWJYA.js +1 -0
- package/dist/chunks/chunk.UQP7CZY4.js +1 -0
- package/dist/chunks/chunk.URTV3MIW.js +1 -0
- package/dist/chunks/chunk.UTCZ523L.js +1 -0
- package/dist/chunks/chunk.UTJA3S5Z.js +1 -0
- package/dist/chunks/chunk.UXPPNGDD.js +1 -0
- package/dist/chunks/chunk.V5AAPSUF.js +121 -0
- package/dist/chunks/chunk.V5WDYBAK.js +1 -0
- package/dist/chunks/chunk.V5WMFIQ2.js +1 -0
- package/dist/chunks/chunk.VDANEJIW.js +1 -0
- package/dist/chunks/chunk.VENMBB5D.js +184 -0
- package/dist/chunks/chunk.VO4IGI5T.js +1 -0
- package/dist/chunks/chunk.VOQBVUDI.js +1 -0
- package/dist/chunks/chunk.VPGGMMCQ.js +26 -0
- package/dist/chunks/chunk.VPJ23ZYK.js +1 -0
- package/dist/chunks/chunk.VUSEM3NE.js +115 -0
- package/dist/chunks/chunk.VXFEQW3G.js +1 -0
- package/dist/chunks/chunk.VZX3SFGZ.js +139 -0
- package/dist/chunks/chunk.W2BB76HP.js +83 -0
- package/dist/chunks/chunk.W2IWPBL2.js +1 -0
- package/dist/chunks/chunk.W3SNAQZD.js +5 -0
- package/dist/chunks/chunk.W5CY3WNS.js +33 -0
- package/dist/chunks/chunk.W7O33DH5.js +1 -0
- package/dist/chunks/chunk.WCKJFDOD.js +1 -0
- package/dist/chunks/chunk.WEWANHUB.js +6 -0
- package/dist/chunks/chunk.WHBYRKKO.js +1 -0
- package/dist/chunks/chunk.WMBWSS2T.js +1 -0
- package/dist/chunks/chunk.WROJSEIO.js +1 -0
- package/dist/chunks/chunk.WS6AXYGF.js +1 -0
- package/dist/chunks/chunk.WUTUR775.js +140 -0
- package/dist/chunks/chunk.WW3WBNFI.js +1 -0
- package/dist/chunks/chunk.WXZVHMVF.js +1 -0
- package/dist/chunks/chunk.WYBCLASF.js +1 -0
- package/dist/chunks/chunk.X2MYSZWK.js +267 -0
- package/dist/chunks/chunk.X5OPH5X7.js +57 -0
- package/dist/chunks/chunk.X6RQO4XW.js +37 -0
- package/dist/chunks/chunk.XECIKHZD.js +12 -0
- package/dist/chunks/chunk.XHD3D54N.js +1 -0
- package/dist/chunks/chunk.XJ7SUTSV.js +1 -0
- package/dist/chunks/chunk.XLQCKXJN.js +2 -0
- package/dist/chunks/chunk.XOXHOZNI.js +9 -0
- package/dist/chunks/chunk.XR6E2FC4.js +1 -0
- package/dist/chunks/chunk.XSCZEJFV.js +1 -0
- package/dist/chunks/chunk.XWET63TO.js +188 -0
- package/dist/chunks/chunk.XWNGGMZ4.js +1 -0
- package/dist/chunks/chunk.XYVXFHBD.js +1 -0
- package/dist/chunks/chunk.XZ2EARJY.js +1 -0
- package/dist/chunks/chunk.YBSOYLL3.js +1 -0
- package/dist/chunks/chunk.YBWXZ5TQ.js +20 -0
- package/dist/chunks/chunk.YKTJVLGW.js +1 -0
- package/dist/chunks/chunk.YVU6PVSN.js +1 -0
- package/dist/chunks/chunk.YZOJBYJJ.js +132 -0
- package/dist/chunks/chunk.Z2RTZUUC.js +1 -0
- package/dist/chunks/chunk.Z3INEUNC.js +1 -0
- package/dist/chunks/chunk.Z47EAJ4R.js +66 -0
- package/dist/chunks/chunk.Z4MRB553.js +1 -0
- package/dist/chunks/chunk.Z5574EPY.js +566 -0
- package/dist/chunks/chunk.ZDSYFD3X.js +133 -0
- package/dist/chunks/chunk.ZKW5RVQL.js +1 -0
- package/dist/chunks/chunk.ZQCC5UD2.js +1 -0
- package/dist/chunks/chunk.ZXSLGF4Q.js +86 -0
- package/dist/chunks/chunk.ZZOWU7L2.js +39 -0
- package/dist/components/accordion/accordion.component.js +1 -17
- package/dist/components/accordion/accordion.js +1 -18
- package/dist/components/accordion/accordion.styles.js +1 -7
- package/dist/components/alert/alert.component.js +1 -13
- package/dist/components/alert/alert.js +1 -14
- package/dist/components/alert/alert.styles.js +1 -7
- package/dist/components/avatar/avatar.component.js +1 -17
- package/dist/components/avatar/avatar.js +1 -18
- package/dist/components/avatar/avatar.styles.js +1 -7
- package/dist/components/badge/badge.component.js +1 -10
- package/dist/components/badge/badge.js +1 -11
- package/dist/components/badge/badge.styles.js +1 -7
- package/dist/components/breadcrumb/breadcrumb.component.js +1 -10
- package/dist/components/breadcrumb/breadcrumb.js +1 -11
- package/dist/components/breadcrumb/breadcrumb.styles.js +1 -7
- package/dist/components/breadcrumbs/breadcrumbs.component.js +1 -10
- package/dist/components/breadcrumbs/breadcrumbs.js +1 -11
- package/dist/components/breadcrumbs/breadcrumbs.styles.js +1 -7
- package/dist/components/browse-variables/browse-variables.component.js +1 -38
- package/dist/components/browse-variables/browse-variables.controller.js +1 -11
- package/dist/components/browse-variables/browse-variables.js +1 -39
- package/dist/components/browse-variables/browse-variables.styles.js +1 -7
- package/dist/components/button/button.component.js +1 -19
- package/dist/components/button/button.js +1 -20
- package/dist/components/button/button.styles.js +1 -7
- package/dist/components/button-group/button-group.component.js +1 -10
- package/dist/components/button-group/button-group.js +1 -11
- package/dist/components/button-group/button-group.styles.js +1 -7
- package/dist/components/caption/caption.component.js +1 -10
- package/dist/components/caption/caption.js +1 -11
- package/dist/components/caption/caption.styles.js +1 -7
- package/dist/components/card/card.component.js +1 -11
- package/dist/components/card/card.js +1 -12
- package/dist/components/card/card.styles.js +1 -7
- package/dist/components/checkbox/checkbox.component.js +1 -21
- package/dist/components/checkbox/checkbox.js +1 -22
- package/dist/components/checkbox/checkbox.styles.js +1 -7
- package/dist/components/chip/chip.component.js +1 -10
- package/dist/components/chip/chip.js +1 -11
- package/dist/components/chip/chip.styles.js +1 -7
- package/dist/components/combobox/combobox.component.d.ts +4 -1
- package/dist/components/combobox/combobox.component.js +1 -13
- package/dist/components/combobox/combobox.js +1 -14
- package/dist/components/combobox/combobox.styles.js +1 -7
- package/dist/components/combobox/lib.js +1 -9
- package/dist/components/combobox/type.js +1 -7
- package/dist/components/data-access/data-access.component.d.ts +10 -10
- package/dist/components/data-access/data-access.component.js +1 -65
- package/dist/components/data-access/data-access.controller.js +1 -11
- package/dist/components/data-access/data-access.js +1 -66
- package/dist/components/data-access/data-access.styles.js +1 -7
- package/dist/components/data-access/notebooks/data-access-notebook.js +1 -7
- package/dist/components/data-grid/data-grid.component.js +1 -12
- package/dist/components/data-grid/data-grid.js +1 -13
- package/dist/components/data-grid/data-grid.styles.js +1 -7
- package/dist/components/data-rods/data-rods.component.d.ts +1 -1
- package/dist/components/data-rods/data-rods.component.js +1 -77
- package/dist/components/data-rods/data-rods.js +1 -78
- package/dist/components/data-rods/data-rods.styles.js +1 -7
- package/dist/components/data-subsetter/data-subsetter.component.d.ts +24 -9
- package/dist/components/data-subsetter/data-subsetter.component.js +1 -85
- package/dist/components/data-subsetter/data-subsetter.controller.d.ts +3 -4
- package/dist/components/data-subsetter/data-subsetter.controller.js +1 -13
- package/dist/components/data-subsetter/data-subsetter.js +1 -86
- package/dist/components/data-subsetter/data-subsetter.styles.js +1 -7
- package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -7
- package/dist/components/data-subsetter-history/data-subsetter-history.component.js +1 -88
- package/dist/components/data-subsetter-history/data-subsetter-history.controller.js +1 -9
- package/dist/components/data-subsetter-history/data-subsetter-history.js +1 -89
- package/dist/components/data-subsetter-history/data-subsetter-history.styles.js +1 -7
- package/dist/components/date-picker/date-picker.component.js +1 -33
- package/dist/components/date-picker/date-picker.js +1 -34
- package/dist/components/date-picker/date-picker.styles.js +1 -7
- package/dist/components/date-range-slider/date-range-slider.component.js +1 -13
- package/dist/components/date-range-slider/date-range-slider.js +1 -14
- package/dist/components/date-range-slider/date-range-slider.styles.js +1 -7
- package/dist/components/date-range-slider/noui-slider-utilities.js +1 -7
- package/dist/components/dialog/dialog.component.js +1 -26
- package/dist/components/dialog/dialog.js +1 -27
- package/dist/components/dialog/dialog.styles.js +1 -7
- package/dist/components/divider/divider.component.js +1 -11
- package/dist/components/divider/divider.js +1 -12
- package/dist/components/divider/divider.styles.js +1 -7
- package/dist/components/dropdown/dropdown.component.js +1 -17
- package/dist/components/dropdown/dropdown.js +1 -18
- package/dist/components/dropdown/dropdown.styles.js +1 -7
- package/dist/components/earthdata-login/earthdata-login.component.js +1 -32
- package/dist/components/earthdata-login/earthdata-login.js +1 -33
- package/dist/components/earthdata-login/earthdata-login.styles.js +1 -7
- package/dist/components/file-upload/file-upload.component.js +1 -10
- package/dist/components/file-upload/file-upload.js +1 -11
- package/dist/components/file-upload/file-upload.styles.js +1 -7
- package/dist/components/icon/icon.component.js +1 -15
- package/dist/components/icon/icon.js +1 -16
- package/dist/components/icon/icon.styles.js +1 -7
- package/dist/components/icon/library.default.js +1 -7
- package/dist/components/icon/library.heroicons.js +1 -8
- package/dist/components/icon/library.js +1 -18
- package/dist/components/input/input.component.js +1 -21
- package/dist/components/input/input.js +1 -22
- package/dist/components/input/input.styles.js +1 -7
- package/dist/components/loader/loader.component.js +1 -10
- package/dist/components/loader/loader.js +1 -11
- package/dist/components/loader/loader.styles.js +1 -7
- package/dist/components/login/login.component.js +1 -27
- package/dist/components/login/login.js +1 -28
- package/dist/components/login/login.styles.js +1 -7
- package/dist/components/map/controls/draw-toolbar.control.d.ts +28 -0
- package/dist/components/map/controls/draw-toolbar.control.js +1 -0
- package/dist/components/map/map.component.d.ts +32 -11
- package/dist/components/map/map.component.js +1 -18
- package/dist/components/map/map.controller.js +1 -9
- package/dist/components/map/map.js +1 -19
- package/dist/components/map/map.service.d.ts +41 -0
- package/dist/components/map/map.service.js +1 -0
- package/dist/components/map/map.styles.js +1 -7
- package/dist/components/map/models/LatLng.d.ts +7 -0
- package/dist/components/map/models/LatLng.js +1 -0
- package/dist/components/map/models/LatLngBounds.d.ts +14 -0
- package/dist/components/map/models/LatLngBounds.js +1 -0
- package/dist/components/map/type.d.ts +12 -3
- package/dist/components/map/type.js +1 -7
- package/dist/components/menu/menu.component.js +1 -10
- package/dist/components/menu/menu.js +1 -11
- package/dist/components/menu/menu.styles.js +1 -7
- package/dist/components/menu-item/menu-item.component.js +1 -23
- package/dist/components/menu-item/menu-item.js +1 -24
- package/dist/components/menu-item/menu-item.styles.js +1 -7
- package/dist/components/menu-item/submenu-controller.js +1 -8
- package/dist/components/option/option.component.js +1 -17
- package/dist/components/option/option.js +1 -18
- package/dist/components/option/option.styles.js +1 -7
- package/dist/components/pagination/pagination.component.js +1 -17
- package/dist/components/pagination/pagination.js +1 -18
- package/dist/components/pagination/pagination.styles.js +1 -7
- package/dist/components/plot/plot.component.js +1 -11
- package/dist/components/plot/plot.js +1 -12
- package/dist/components/plot/plot.styles.js +1 -7
- package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -7
- package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -7
- package/dist/components/plot-toolbar/plot-toolbar.component.d.ts +0 -1
- package/dist/components/plot-toolbar/plot-toolbar.component.js +1 -38
- package/dist/components/plot-toolbar/plot-toolbar.controller.js +1 -10
- package/dist/components/plot-toolbar/plot-toolbar.js +1 -39
- package/dist/components/plot-toolbar/plot-toolbar.styles.js +1 -7
- package/dist/components/popup/popup.component.js +1 -10
- package/dist/components/popup/popup.js +1 -11
- package/dist/components/popup/popup.styles.js +1 -7
- package/dist/components/progress-bar/progress-bar.component.js +1 -10
- package/dist/components/progress-bar/progress-bar.js +1 -11
- package/dist/components/progress-bar/progress-bar.styles.js +1 -7
- package/dist/components/radio/radio.component.js +1 -14
- package/dist/components/radio/radio.js +1 -15
- package/dist/components/radio/radio.styles.js +1 -7
- package/dist/components/radio-group/radio-group.component.js +1 -14
- package/dist/components/radio-group/radio-group.js +1 -15
- package/dist/components/radio-group/radio-group.styles.js +1 -7
- package/dist/components/scroll-hint/scroll-hint.component.js +1 -17
- package/dist/components/scroll-hint/scroll-hint.js +1 -18
- package/dist/components/scroll-hint/scroll-hint.styles.js +1 -7
- package/dist/components/select/select.component.js +1 -28
- package/dist/components/select/select.js +1 -29
- package/dist/components/select/select.styles.js +1 -7
- package/dist/components/site-header/site-header.component.js +1 -18
- package/dist/components/site-header/site-header.js +1 -22
- package/dist/components/site-header/site-header.styles.js +1 -7
- package/dist/components/site-navigation/site-navigation.component.js +1 -10
- package/dist/components/site-navigation/site-navigation.js +1 -14
- package/dist/components/site-navigation/site-navigation.styles.js +1 -7
- package/dist/components/skeleton/skeleton.component.js +1 -11
- package/dist/components/skeleton/skeleton.js +1 -12
- package/dist/components/skeleton/skeleton.styles.js +1 -7
- package/dist/components/slider/slider.component.d.ts +1 -0
- package/dist/components/slider/slider.component.js +1 -12
- package/dist/components/slider/slider.js +1 -13
- package/dist/components/slider/slider.styles.js +1 -7
- package/dist/components/spatial-picker/spatial-picker.component.d.ts +47 -66
- package/dist/components/spatial-picker/spatial-picker.component.js +1 -40
- package/dist/components/spatial-picker/spatial-picker.js +1 -41
- package/dist/components/spatial-picker/spatial-picker.service.d.ts +47 -0
- package/dist/components/spatial-picker/spatial-picker.service.js +1 -0
- package/dist/components/spatial-picker/spatial-picker.styles.js +1 -7
- package/dist/components/status-indicator/status-indicator.component.js +1 -10
- package/dist/components/status-indicator/status-indicator.js +1 -11
- package/dist/components/status-indicator/status-indicator.styles.js +1 -7
- package/dist/components/stepper/stepper.component.js +1 -10
- package/dist/components/stepper/stepper.js +1 -11
- package/dist/components/stepper/stepper.styles.js +1 -7
- package/dist/components/stepper-step/stepper-step.component.js +1 -17
- package/dist/components/stepper-step/stepper-step.js +1 -18
- package/dist/components/stepper-step/stepper-step.styles.js +1 -7
- package/dist/components/tab/tab.component.js +1 -17
- package/dist/components/tab/tab.js +1 -18
- package/dist/components/tab/tab.styles.js +1 -7
- package/dist/components/tab-panel/tab-panel.component.js +1 -11
- package/dist/components/tab-panel/tab-panel.js +1 -12
- package/dist/components/tab-panel/tab-panel.styles.js +1 -7
- package/dist/components/tabs/tabs.component.js +1 -18
- package/dist/components/tabs/tabs.js +1 -19
- package/dist/components/tabs/tabs.styles.js +1 -7
- package/dist/components/tag/tag.component.js +1 -17
- package/dist/components/tag/tag.js +1 -18
- package/dist/components/tag/tag.styles.js +1 -7
- package/dist/components/textarea/textarea.component.js +1 -15
- package/dist/components/textarea/textarea.js +1 -16
- package/dist/components/textarea/textarea.styles.js +1 -7
- package/dist/components/time-average-map/time-average-map.component.d.ts +1 -1
- package/dist/components/time-average-map/time-average-map.component.js +1 -53
- package/dist/components/time-average-map/time-average-map.controller.js +1 -12
- package/dist/components/time-average-map/time-average-map.js +1 -54
- package/dist/components/time-average-map/time-average-map.styles.js +1 -7
- package/dist/components/time-series/time-series.component.d.ts +1 -1
- package/dist/components/time-series/time-series.component.js +1 -53
- package/dist/components/time-series/time-series.controller.js +1 -14
- package/dist/components/time-series/time-series.js +1 -54
- package/dist/components/time-series/time-series.styles.js +1 -7
- package/dist/components/toast/toast.component.js +1 -15
- package/dist/components/toast/toast.js +1 -16
- package/dist/components/toast/toast.styles.js +1 -7
- package/dist/components/toggle/toggle.component.js +1 -15
- package/dist/components/toggle/toggle.js +1 -16
- package/dist/components/toggle/toggle.styles.js +1 -7
- package/dist/components/tooltip/tooltip.component.js +1 -16
- package/dist/components/tooltip/tooltip.js +1 -17
- package/dist/components/tooltip/tooltip.styles.js +1 -7
- package/dist/components/variable-combobox/lib.js +1 -19
- package/dist/components/variable-combobox/variable-combobox.component.d.ts +4 -1
- package/dist/components/variable-combobox/variable-combobox.component.js +1 -25
- package/dist/components/variable-combobox/variable-combobox.controller.js +1 -8
- package/dist/components/variable-combobox/variable-combobox.js +1 -26
- package/dist/components/variable-combobox/variable-combobox.styles.js +1 -7
- package/dist/components/variable-keyword-search/lib.js +1 -13
- package/dist/components/variable-keyword-search/variable-keyword-search.component.d.ts +4 -1
- package/dist/components/variable-keyword-search/variable-keyword-search.component.js +1 -29
- package/dist/components/variable-keyword-search/variable-keyword-search.controller.js +1 -11
- package/dist/components/variable-keyword-search/variable-keyword-search.js +1 -30
- package/dist/components/variable-keyword-search/variable-keyword-search.styles.js +1 -7
- package/dist/controllers/query.controller.d.ts +19 -0
- package/dist/custom-elements.json +467 -603
- package/dist/exceptions/http.exception.d.ts +22 -0
- package/dist/internal/animate.d.ts +3 -3
- package/dist/lib/api.client.d.ts +15 -0
- package/dist/lib/harmony/harmony.request.d.ts +54 -0
- package/dist/lib/indexeddb-persister.d.ts +14 -0
- package/dist/metadata-catalog/tasks.d.ts +1 -1
- package/dist/mixins/query-client.mixin.d.ts +8 -0
- package/dist/queries/cmr.queries.d.ts +6 -0
- package/dist/queries/gesdisc.queries.d.ts +7 -0
- package/dist/react/accordion/index.js +1 -18
- package/dist/react/alert/index.js +1 -14
- package/dist/react/avatar/index.js +1 -18
- package/dist/react/badge/index.js +1 -11
- package/dist/react/breadcrumb/index.js +1 -11
- package/dist/react/breadcrumbs/index.js +1 -11
- package/dist/react/browse-variables/index.js +1 -39
- package/dist/react/button/index.js +1 -20
- package/dist/react/button-group/index.js +1 -11
- package/dist/react/caption/index.js +1 -11
- package/dist/react/card/index.js +1 -12
- package/dist/react/checkbox/index.js +1 -22
- package/dist/react/chip/index.js +1 -11
- package/dist/react/combobox/index.js +1 -14
- package/dist/react/data-access/index.js +1 -66
- package/dist/react/data-grid/index.js +1 -13
- package/dist/react/data-rods/index.js +1 -78
- package/dist/react/data-subsetter/index.js +1 -86
- package/dist/react/data-subsetter-history/index.js +1 -89
- package/dist/react/date-picker/index.js +1 -34
- package/dist/react/date-range-slider/index.js +1 -14
- package/dist/react/dialog/index.js +1 -27
- package/dist/react/divider/index.js +1 -12
- package/dist/react/dropdown/index.js +1 -18
- package/dist/react/earthdata-login/index.js +1 -33
- package/dist/react/file-upload/index.js +1 -11
- package/dist/react/icon/index.js +1 -16
- package/dist/react/index.d.ts +1 -2
- package/dist/react/index.js +1 -447
- package/dist/react/input/index.js +1 -22
- package/dist/react/loader/index.js +1 -11
- package/dist/react/login/index.js +1 -28
- package/dist/react/map/index.js +1 -19
- package/dist/react/menu/index.js +1 -11
- package/dist/react/menu-item/index.js +1 -24
- package/dist/react/option/index.js +1 -18
- package/dist/react/pagination/index.js +1 -18
- package/dist/react/plot/index.js +1 -12
- package/dist/react/plot-toolbar/index.js +1 -39
- package/dist/react/popup/index.js +1 -11
- package/dist/react/progress-bar/index.js +1 -11
- package/dist/react/radio/index.js +1 -15
- package/dist/react/radio-group/index.js +1 -15
- package/dist/react/scroll-hint/index.js +1 -18
- package/dist/react/select/index.js +1 -29
- package/dist/react/site-header/index.js +1 -19
- package/dist/react/site-navigation/index.js +1 -11
- package/dist/react/skeleton/index.js +1 -12
- package/dist/react/slider/index.js +1 -13
- package/dist/react/spatial-picker/index.d.ts +0 -1
- package/dist/react/spatial-picker/index.js +1 -41
- package/dist/react/status-indicator/index.js +1 -11
- package/dist/react/stepper/index.js +1 -11
- package/dist/react/stepper-step/index.js +1 -18
- package/dist/react/tab/index.js +1 -18
- package/dist/react/tab-panel/index.js +1 -12
- package/dist/react/tabs/index.js +1 -19
- package/dist/react/tag/index.js +1 -18
- package/dist/react/textarea/index.js +1 -16
- package/dist/react/time-average-map/index.js +1 -54
- package/dist/react/time-series/index.js +1 -54
- package/dist/react/toast/index.js +1 -16
- package/dist/react/toggle/index.js +1 -16
- package/dist/react/tooltip/index.js +1 -17
- package/dist/react/variable-combobox/index.js +1 -26
- package/dist/react/variable-keyword-search/index.js +1 -30
- package/dist/services/cmr-variable.service.d.ts +15 -0
- package/dist/terra-ui-components-autoloader.js +1 -42
- package/dist/terra-ui-components.d.ts +0 -1
- package/dist/terra-ui-components.js +1 -448
- package/dist/terra_ui_components-0.0.175-py3-none-any.whl +0 -0
- package/dist/terra_ui_components-0.0.175.tar.gz +0 -0
- package/dist/themes/horizon.css +0 -2
- package/dist/themes/horizon.styles.js +0 -2
- package/dist/types/vue/index.d.ts +198 -223
- package/dist/utilities/animation-registry.js +1 -11
- package/dist/utilities/base-path.js +1 -9
- package/dist/utilities/date.js +1 -13
- package/dist/utilities/debounce.js +1 -17
- package/dist/utilities/environment.js +1 -9
- package/dist/utilities/feature.d.ts +1 -0
- package/dist/utilities/feature.js +1 -0
- package/dist/utilities/form.js +1 -10
- package/dist/utilities/giovanni.js +1 -7
- package/dist/utilities/harmony.js +1 -11
- package/dist/utilities/icon-library.js +1 -13
- package/dist/utilities/mimetypes.js +1 -9
- package/dist/utilities/number.js +1 -7
- package/dist/utilities/sort.js +1 -9
- package/dist/vscode.html-custom-data.json +52 -103
- package/dist/web-types.json +203 -294
- package/package.json +8 -8
- package/cdn/chunks/GeoTIFF.JELT3HNY.js +0 -21252
- package/cdn/chunks/chunk.22JAM2GR.js +0 -149
- package/cdn/chunks/chunk.27AZYXPZ.js +0 -117
- package/cdn/chunks/chunk.2CT55PG3.js +0 -29
- package/cdn/chunks/chunk.2FRCSHCH.js +0 -904
- package/cdn/chunks/chunk.2FYUOZ5U.js +0 -19
- package/cdn/chunks/chunk.2M64ZOGU.js +0 -29
- package/cdn/chunks/chunk.2N2HCY5K.js +0 -83
- package/cdn/chunks/chunk.334MXV4Z.js +0 -123
- package/cdn/chunks/chunk.3BELWBQ6.js +0 -37
- package/cdn/chunks/chunk.3DMP7BK5.js +0 -10
- package/cdn/chunks/chunk.3G5GULLV.js +0 -19
- package/cdn/chunks/chunk.3JGZZAUY.js +0 -19
- package/cdn/chunks/chunk.3LEO3WGG.js +0 -39
- package/cdn/chunks/chunk.3LFKLVCQ.js +0 -16671
- package/cdn/chunks/chunk.3LZWARYL.js +0 -128
- package/cdn/chunks/chunk.3MFQHCTU.js +0 -306
- package/cdn/chunks/chunk.3PDKTXMT.js +0 -32
- package/cdn/chunks/chunk.3PZB6AVW.js +0 -283
- package/cdn/chunks/chunk.3SIWYPHZ.js +0 -304
- package/cdn/chunks/chunk.3X2FJVEK.js +0 -99
- package/cdn/chunks/chunk.3Y7MO62R.js +0 -259
- package/cdn/chunks/chunk.3ZQGAH53.js +0 -373
- package/cdn/chunks/chunk.42DMRGGV.js +0 -235
- package/cdn/chunks/chunk.45XFWGEL.js +0 -110
- package/cdn/chunks/chunk.4CONQBMV.js +0 -247
- package/cdn/chunks/chunk.4CYB2GMV.js +0 -27
- package/cdn/chunks/chunk.4CYJ5PTJ.js +0 -29
- package/cdn/chunks/chunk.4EKARCDF.js +0 -1317
- package/cdn/chunks/chunk.4HZ2S3M3.js +0 -74
- package/cdn/chunks/chunk.4JSWGLAL.js +0 -435
- package/cdn/chunks/chunk.4K2NAKDG.js +0 -172
- package/cdn/chunks/chunk.4LU3KPCC.js +0 -99
- package/cdn/chunks/chunk.4MTIWNAT.js +0 -205
- package/cdn/chunks/chunk.4PDRXWTN.js +0 -731
- package/cdn/chunks/chunk.4QXCJIOI.js +0 -49
- package/cdn/chunks/chunk.4UL4WO5H.js +0 -146
- package/cdn/chunks/chunk.4ZXRX6AZ.js +0 -19
- package/cdn/chunks/chunk.53JIORQD.js +0 -37
- package/cdn/chunks/chunk.557CP4PN.js +0 -45
- package/cdn/chunks/chunk.5B6C4AKF.js +0 -454
- package/cdn/chunks/chunk.5F5WT5T7.js +0 -161
- package/cdn/chunks/chunk.5IL3CJDV.js +0 -534
- package/cdn/chunks/chunk.5NHAWGVC.js +0 -201
- package/cdn/chunks/chunk.5NHXMCXD.js +0 -348
- package/cdn/chunks/chunk.5NPAV5PK.js +0 -19
- package/cdn/chunks/chunk.5TI7ZD7X.js +0 -32
- package/cdn/chunks/chunk.5TW5ECGR.js +0 -32
- package/cdn/chunks/chunk.5UXZVZM4.js +0 -138
- package/cdn/chunks/chunk.5VR25L7N.js +0 -19
- package/cdn/chunks/chunk.5WMSKURU.js +0 -43
- package/cdn/chunks/chunk.5XLHJYLA.js +0 -19
- package/cdn/chunks/chunk.66HZOZJX.js +0 -668
- package/cdn/chunks/chunk.6F6BC7HB.js +0 -83
- package/cdn/chunks/chunk.6HTTWHYN.js +0 -29
- package/cdn/chunks/chunk.6KWKX34P.js +0 -29
- package/cdn/chunks/chunk.6NKKWEN6.js +0 -134
- package/cdn/chunks/chunk.6PDKWTOW.js +0 -279
- package/cdn/chunks/chunk.6SX6O2ZO.js +0 -29
- package/cdn/chunks/chunk.6VJZMIZS.js +0 -1220
- package/cdn/chunks/chunk.6VLMX7GJ.js +0 -368
- package/cdn/chunks/chunk.6ZTDZ5GP.js +0 -19
- package/cdn/chunks/chunk.7B6SOOLO.js +0 -313
- package/cdn/chunks/chunk.7DYEEDOD.js +0 -372
- package/cdn/chunks/chunk.7OB545TI.js +0 -49
- package/cdn/chunks/chunk.7P5RC3RV.js +0 -94
- package/cdn/chunks/chunk.7PI7QQPT.js +0 -32
- package/cdn/chunks/chunk.7PXLXU6T.js +0 -19
- package/cdn/chunks/chunk.7TBFCYJG.js +0 -55346
- package/cdn/chunks/chunk.7UQG53TI.js +0 -2243
- package/cdn/chunks/chunk.7WLJPSG2.js +0 -19
- package/cdn/chunks/chunk.A5LYL3T3.js +0 -224
- package/cdn/chunks/chunk.A7FSHGZB.js +0 -19
- package/cdn/chunks/chunk.ADALWD22.js +0 -230
- package/cdn/chunks/chunk.AH6W6EGS.js +0 -77
- package/cdn/chunks/chunk.AKJBHBED.js +0 -4179
- package/cdn/chunks/chunk.ALN3P5IR.js +0 -19
- package/cdn/chunks/chunk.ANBJ2CS2.js +0 -19
- package/cdn/chunks/chunk.AVFFF7CY.js +0 -288
- package/cdn/chunks/chunk.AWLBBLYV.js +0 -34
- package/cdn/chunks/chunk.AXJ4K2NH.js +0 -538
- package/cdn/chunks/chunk.B3HLZTDJ.js +0 -101
- package/cdn/chunks/chunk.B5RW6NLJ.js +0 -616
- package/cdn/chunks/chunk.B6WW3XBQ.js +0 -102
- package/cdn/chunks/chunk.BEKYWX4H.js +0 -35
- package/cdn/chunks/chunk.BG6LCCCR.js +0 -599
- package/cdn/chunks/chunk.BITUWHVL.js +0 -54
- package/cdn/chunks/chunk.BOEMERO5.js +0 -60
- package/cdn/chunks/chunk.BOP22UMT.js +0 -33
- package/cdn/chunks/chunk.BZNRBGO6.js +0 -34
- package/cdn/chunks/chunk.C3T4QW2T.js +0 -29
- package/cdn/chunks/chunk.CJXP7JZV.js +0 -35
- package/cdn/chunks/chunk.CK5SZOGO.js +0 -477
- package/cdn/chunks/chunk.CLAAYWZA.js +0 -51
- package/cdn/chunks/chunk.CPA4D2UY.js +0 -29
- package/cdn/chunks/chunk.CQDJRQNO.js +0 -19
- package/cdn/chunks/chunk.CQMD53WQ.js +0 -19
- package/cdn/chunks/chunk.CVEPLMA2.js +0 -19
- package/cdn/chunks/chunk.CWE7S2N2.js +0 -103
- package/cdn/chunks/chunk.CZA6CSBG.js +0 -2416
- package/cdn/chunks/chunk.D7ZLKP55.js +0 -29
- package/cdn/chunks/chunk.DAP2NEVE.js +0 -19
- package/cdn/chunks/chunk.DDR2DGF4.js +0 -29
- package/cdn/chunks/chunk.DFBLDLFE.js +0 -25
- package/cdn/chunks/chunk.DLH646O5.js +0 -156
- package/cdn/chunks/chunk.DLQNZ2FX.js +0 -201
- package/cdn/chunks/chunk.DMEQGSMP.js +0 -136
- package/cdn/chunks/chunk.DS3U5WCV.js +0 -117
- package/cdn/chunks/chunk.EBHJNNJK.js +0 -19
- package/cdn/chunks/chunk.EHRUVAD6.js +0 -231
- package/cdn/chunks/chunk.EMW4TJVA.js +0 -19
- package/cdn/chunks/chunk.F64PBE7H.js +0 -35
- package/cdn/chunks/chunk.F73O5LKK.js +0 -134
- package/cdn/chunks/chunk.FESRSERO.js +0 -19
- package/cdn/chunks/chunk.FFPQG36A.js +0 -346
- package/cdn/chunks/chunk.FG2KKOBI.js +0 -86
- package/cdn/chunks/chunk.FJLX6ILY.js +0 -278
- package/cdn/chunks/chunk.FJUTBSW2.js +0 -29
- package/cdn/chunks/chunk.FQVBY6CM.js +0 -214
- package/cdn/chunks/chunk.FUD44FI7.js +0 -188
- package/cdn/chunks/chunk.FVSZZK2D.js +0 -36
- package/cdn/chunks/chunk.FX6GCY7U.js +0 -19
- package/cdn/chunks/chunk.G574EWFO.js +0 -2332
- package/cdn/chunks/chunk.GALT5XHF.js +0 -139
- package/cdn/chunks/chunk.GBNRCFQS.js +0 -29
- package/cdn/chunks/chunk.GC6ROUDW.js +0 -109
- package/cdn/chunks/chunk.GHYH3USF.js +0 -32
- package/cdn/chunks/chunk.GHZHQI7M.js +0 -83
- package/cdn/chunks/chunk.GLOYJOF4.js +0 -29
- package/cdn/chunks/chunk.GMSQK2X6.js +0 -29
- package/cdn/chunks/chunk.GNFKFHVB.js +0 -67
- package/cdn/chunks/chunk.GNOF7EXS.js +0 -36
- package/cdn/chunks/chunk.GQ2BIBBY.js +0 -117
- package/cdn/chunks/chunk.H57JUKFF.js +0 -33
- package/cdn/chunks/chunk.H6IIPI2C.js +0 -108
- package/cdn/chunks/chunk.HACB4KUE.js +0 -36
- package/cdn/chunks/chunk.HCVVVZ5J.js +0 -4968
- package/cdn/chunks/chunk.HD7SVGMU.js +0 -29
- package/cdn/chunks/chunk.HENX6FS2.js +0 -155
- package/cdn/chunks/chunk.HGDCOEDY.js +0 -373
- package/cdn/chunks/chunk.HL2NRZZY.js +0 -19
- package/cdn/chunks/chunk.HLOPKNNF.js +0 -46
- package/cdn/chunks/chunk.HOITYWZW.js +0 -81
- package/cdn/chunks/chunk.HTZ42XK4.js +0 -29
- package/cdn/chunks/chunk.HUMCSPMI.js +0 -29
- package/cdn/chunks/chunk.I373DBBC.js +0 -88164
- package/cdn/chunks/chunk.ITCNMUXT.js +0 -56
- package/cdn/chunks/chunk.IYEGL7BF.js +0 -29
- package/cdn/chunks/chunk.IZ57YTCD.js +0 -445
- package/cdn/chunks/chunk.J7I3DOXG.js +0 -272
- package/cdn/chunks/chunk.JCHRP5NA.js +0 -19
- package/cdn/chunks/chunk.JDAAHQJN.js +0 -19
- package/cdn/chunks/chunk.JDBB7GR4.js +0 -161
- package/cdn/chunks/chunk.JFUP2JUH.js +0 -29
- package/cdn/chunks/chunk.JLIAPPXF.js +0 -43
- package/cdn/chunks/chunk.JN3C5MJP.js +0 -1025
- package/cdn/chunks/chunk.JPVQ66RQ.js +0 -19
- package/cdn/chunks/chunk.K22S5U4I.js +0 -100
- package/cdn/chunks/chunk.K5DW2GL7.js +0 -19
- package/cdn/chunks/chunk.K6SKQZRX.js +0 -157
- package/cdn/chunks/chunk.K7ZV7MVX.js +0 -357
- package/cdn/chunks/chunk.KCZYTXMI.js +0 -39
- package/cdn/chunks/chunk.KELDIHN7.js +0 -75
- package/cdn/chunks/chunk.KLTVD5HB.js +0 -19
- package/cdn/chunks/chunk.KS33TJQ3.js +0 -29
- package/cdn/chunks/chunk.KTZ64G6N.js +0 -35
- package/cdn/chunks/chunk.KYAQ6NMX.js +0 -32
- package/cdn/chunks/chunk.L5Y4JVOE.js +0 -31
- package/cdn/chunks/chunk.L6ZGTGDS.js +0 -74
- package/cdn/chunks/chunk.LIKPLLCC.js +0 -107
- package/cdn/chunks/chunk.LIX444C3.js +0 -32
- package/cdn/chunks/chunk.LMMLBAUM.js +0 -19
- package/cdn/chunks/chunk.LQLMEJUN.js +0 -19
- package/cdn/chunks/chunk.M3TUVN5Y.js +0 -238
- package/cdn/chunks/chunk.M4QZFG46.js +0 -29
- package/cdn/chunks/chunk.ME3N7NYP.js +0 -1966
- package/cdn/chunks/chunk.MHFJ4UCV.js +0 -33
- package/cdn/chunks/chunk.MIDES745.js +0 -19
- package/cdn/chunks/chunk.MIGG3NJY.js +0 -29
- package/cdn/chunks/chunk.MIGW2JJE.js +0 -106
- package/cdn/chunks/chunk.MJJI5YXM.js +0 -19
- package/cdn/chunks/chunk.MZBEU2IT.js +0 -54
- package/cdn/chunks/chunk.MZCQTNSM.js +0 -33
- package/cdn/chunks/chunk.N6DF3GPL.js +0 -19
- package/cdn/chunks/chunk.N73P56F2.js +0 -30
- package/cdn/chunks/chunk.NAQBFW6K.js +0 -30
- package/cdn/chunks/chunk.NGP5LNVU.js +0 -189
- package/cdn/chunks/chunk.NHSAGQWU.js +0 -19
- package/cdn/chunks/chunk.NN7V7JAW.js +0 -29
- package/cdn/chunks/chunk.NPNHYEG5.js +0 -35
- package/cdn/chunks/chunk.NSH6Q464.js +0 -33
- package/cdn/chunks/chunk.NU3XX242.js +0 -93
- package/cdn/chunks/chunk.NUVKOVSX.js +0 -19
- package/cdn/chunks/chunk.NWSZ3UE2.js +0 -151
- package/cdn/chunks/chunk.OAUPDEDF.js +0 -19
- package/cdn/chunks/chunk.OGT3IDWC.js +0 -635
- package/cdn/chunks/chunk.OIIXRGLK.js +0 -99
- package/cdn/chunks/chunk.OKTE26MS.js +0 -19
- package/cdn/chunks/chunk.OMTCS2GC.js +0 -315
- package/cdn/chunks/chunk.OPQMTHOC.js +0 -32
- package/cdn/chunks/chunk.OQDWGRK6.js +0 -33
- package/cdn/chunks/chunk.OQZ55ZDU.js +0 -32
- package/cdn/chunks/chunk.OZSRONYH.js +0 -37
- package/cdn/chunks/chunk.P37E4RLB.js +0 -26
- package/cdn/chunks/chunk.P3JNZDXP.js +0 -150
- package/cdn/chunks/chunk.P3OLQVQM.js +0 -63
- package/cdn/chunks/chunk.P4OWV3H2.js +0 -412
- package/cdn/chunks/chunk.PAYAJ4LU.js +0 -19
- package/cdn/chunks/chunk.PBKMNUYF.js +0 -270
- package/cdn/chunks/chunk.PE4AXMDJ.js +0 -19
- package/cdn/chunks/chunk.PJUZIIXX.js +0 -99
- package/cdn/chunks/chunk.PJVKGEBH.js +0 -19
- package/cdn/chunks/chunk.PJYPTS6C.js +0 -293
- package/cdn/chunks/chunk.PL2AO7PI.js +0 -286
- package/cdn/chunks/chunk.PLLM52IK.js +0 -239
- package/cdn/chunks/chunk.PSGQLZHZ.js +0 -662
- package/cdn/chunks/chunk.Q52SP2YX.js +0 -610
- package/cdn/chunks/chunk.Q5UQ3IFW.js +0 -19
- package/cdn/chunks/chunk.Q5YMEVQG.js +0 -302
- package/cdn/chunks/chunk.Q67OTTO2.js +0 -145
- package/cdn/chunks/chunk.Q72XCTF4.js +0 -32
- package/cdn/chunks/chunk.QAOTNJOK.js +0 -19
- package/cdn/chunks/chunk.QKMZVEVH.js +0 -277
- package/cdn/chunks/chunk.QM47LXBY.js +0 -158
- package/cdn/chunks/chunk.QPEDBBDQ.js +0 -51
- package/cdn/chunks/chunk.QPHDIORI.js +0 -161
- package/cdn/chunks/chunk.QSDOLP4K.js +0 -47
- package/cdn/chunks/chunk.QUBV2SRA.js +0 -338
- package/cdn/chunks/chunk.QVP4KBG3.js +0 -127
- package/cdn/chunks/chunk.R5V6JJMY.js +0 -264
- package/cdn/chunks/chunk.RDR73XDF.js +0 -234
- package/cdn/chunks/chunk.RJZD353M.js +0 -165
- package/cdn/chunks/chunk.RLFRG4VE.js +0 -233
- package/cdn/chunks/chunk.RM3NJMYX.js +0 -36
- package/cdn/chunks/chunk.RMGUKJMN.js +0 -138
- package/cdn/chunks/chunk.RRPJMP3C.js +0 -35
- package/cdn/chunks/chunk.RSAHPIW4.js +0 -19
- package/cdn/chunks/chunk.RYEHJXOO.js +0 -349
- package/cdn/chunks/chunk.RZZHOKXL.js +0 -230
- package/cdn/chunks/chunk.SA3QB6PP.js +0 -68
- package/cdn/chunks/chunk.SBJBKI6A.js +0 -19
- package/cdn/chunks/chunk.SCR3ZWIR.js +0 -390
- package/cdn/chunks/chunk.SDERXP3T.js +0 -22
- package/cdn/chunks/chunk.SGQLOLVH.js +0 -19
- package/cdn/chunks/chunk.SLPZU6ID.js +0 -121
- package/cdn/chunks/chunk.SNFEKNOP.js +0 -19
- package/cdn/chunks/chunk.SOCQDO73.js +0 -33858
- package/cdn/chunks/chunk.SQ4FFTEO.js +0 -81
- package/cdn/chunks/chunk.SSL5ILBJ.js +0 -19
- package/cdn/chunks/chunk.SSZAMEBQ.js +0 -32
- package/cdn/chunks/chunk.STI7JX26.js +0 -42
- package/cdn/chunks/chunk.STMBSAF5.js +0 -26
- package/cdn/chunks/chunk.SXUXKJVC.js +0 -78
- package/cdn/chunks/chunk.SZMRE625.js +0 -19
- package/cdn/chunks/chunk.T2WQSSCT.js +0 -151
- package/cdn/chunks/chunk.T7SV2UAX.js +0 -1830
- package/cdn/chunks/chunk.T7WLLNRR.js +0 -27
- package/cdn/chunks/chunk.TCHAZUHZ.js +0 -19
- package/cdn/chunks/chunk.TF5WXJIH.js +0 -791
- package/cdn/chunks/chunk.TIKBLOZQ.js +0 -33
- package/cdn/chunks/chunk.TKVM7YWE.js +0 -62
- package/cdn/chunks/chunk.TLGXE7WV.js +0 -52
- package/cdn/chunks/chunk.TM54EC7Q.js +0 -60
- package/cdn/chunks/chunk.TMJEEO6P.js +0 -99
- package/cdn/chunks/chunk.TSLZA2FP.js +0 -79
- package/cdn/chunks/chunk.TU6ZNCS3.js +0 -19
- package/cdn/chunks/chunk.TVDMMEGB.js +0 -32
- package/cdn/chunks/chunk.TWIOEHHZ.js +0 -41
- package/cdn/chunks/chunk.TYLJTKXB.js +0 -19
- package/cdn/chunks/chunk.TZEXIW5C.js +0 -19
- package/cdn/chunks/chunk.U4IPEKEB.js +0 -92
- package/cdn/chunks/chunk.U6PTKWWD.js +0 -32
- package/cdn/chunks/chunk.UAAPI66G.js +0 -29
- package/cdn/chunks/chunk.UHRRV2FT.js +0 -524
- package/cdn/chunks/chunk.UKMRANVS.js +0 -19
- package/cdn/chunks/chunk.UNALDOVF.js +0 -19
- package/cdn/chunks/chunk.UPT6DHPH.js +0 -77
- package/cdn/chunks/chunk.UTEDJXOP.js +0 -82
- package/cdn/chunks/chunk.UVNTD6RP.js +0 -19
- package/cdn/chunks/chunk.UVUYRKHB.js +0 -19
- package/cdn/chunks/chunk.V32DG4IR.js +0 -19
- package/cdn/chunks/chunk.VA7AQEP7.js +0 -54
- package/cdn/chunks/chunk.VCVZAR3G.js +0 -32
- package/cdn/chunks/chunk.VHQQMEMZ.js +0 -19
- package/cdn/chunks/chunk.VIIXIVVQ.js +0 -93
- package/cdn/chunks/chunk.VKTKS2PG.js +0 -19
- package/cdn/chunks/chunk.VKXXCCRB.js +0 -154
- package/cdn/chunks/chunk.VR46NECH.js +0 -47
- package/cdn/chunks/chunk.VTDM7PPR.js +0 -493
- package/cdn/chunks/chunk.VVOORPYD.js +0 -82
- package/cdn/chunks/chunk.VWTIVWOW.js +0 -32
- package/cdn/chunks/chunk.W7SXLEIS.js +0 -287
- package/cdn/chunks/chunk.WBHVPU3V.js +0 -19
- package/cdn/chunks/chunk.WDE5YPJY.js +0 -132
- package/cdn/chunks/chunk.WE52YORO.js +0 -1699
- package/cdn/chunks/chunk.WEGLAVS4.js +0 -19
- package/cdn/chunks/chunk.WHATLO4K.js +0 -104
- package/cdn/chunks/chunk.WIVXANPA.js +0 -1056
- package/cdn/chunks/chunk.WL7DDD3W.js +0 -29
- package/cdn/chunks/chunk.WPL5675Z.js +0 -71
- package/cdn/chunks/chunk.WQPCK3PB.js +0 -126
- package/cdn/chunks/chunk.WVVQ6RKA.js +0 -17
- package/cdn/chunks/chunk.WXP5OUQO.js +0 -696
- package/cdn/chunks/chunk.WZSGQVJ3.js +0 -110
- package/cdn/chunks/chunk.X77H5U32.js +0 -304
- package/cdn/chunks/chunk.XCB7WJR3.js +0 -282
- package/cdn/chunks/chunk.XHVXO6NI.js +0 -51
- package/cdn/chunks/chunk.XI7P34NI.js +0 -326
- package/cdn/chunks/chunk.XU6D3NEX.js +0 -29
- package/cdn/chunks/chunk.XXN3WPVK.js +0 -19
- package/cdn/chunks/chunk.XZG7E2IH.js +0 -19
- package/cdn/chunks/chunk.XZVFFQYE.js +0 -68
- package/cdn/chunks/chunk.Y24FPHA6.js +0 -48
- package/cdn/chunks/chunk.Y3PEZJZW.js +0 -276
- package/cdn/chunks/chunk.Y4U2BMDT.js +0 -113
- package/cdn/chunks/chunk.YAC55GNZ.js +0 -34
- package/cdn/chunks/chunk.YD4IDTEJ.js +0 -19
- package/cdn/chunks/chunk.YEINMQD6.js +0 -74
- package/cdn/chunks/chunk.YHUULFZP.js +0 -190
- package/cdn/chunks/chunk.YJO65MWV.js +0 -359
- package/cdn/chunks/chunk.YMZPUMHI.js +0 -29
- package/cdn/chunks/chunk.YNE5V6WK.js +0 -29
- package/cdn/chunks/chunk.YO4B7ENY.js +0 -29
- package/cdn/chunks/chunk.YTA66SS5.js +0 -30
- package/cdn/chunks/chunk.YTY4DQKX.js +0 -72
- package/cdn/chunks/chunk.Z4A3BIJD.js +0 -29
- package/cdn/chunks/chunk.ZAR54NPI.js +0 -135
- package/cdn/chunks/chunk.ZQ25XSEN.js +0 -19
- package/cdn/chunks/chunk.ZVQIG4FI.js +0 -10729
- package/cdn/chunks/chunk.ZVZUMD54.js +0 -621
- package/cdn/chunks/chunk.ZW5Y5RNQ.js +0 -29
- package/cdn/chunks/chunk.ZYZX7X5O.js +0 -19
- package/cdn/chunks/chunk.ZZFZH7YX.js +0 -74
- package/cdn/chunks/colormap.PSXLZVCC.js +0 -181
- package/cdn/chunks/decoder.OWCCL5B2.js +0 -26
- package/cdn/chunks/deflate.42Z3TDWB.js +0 -24
- package/cdn/chunks/jpeg.JA7FYY66.js +0 -851
- package/cdn/chunks/lerc.Z34XHY2I.js +0 -2092
- package/cdn/chunks/lzw.MELZRR6C.js +0 -137
- package/cdn/chunks/packbits.R5GFFSWX.js +0 -39
- package/cdn/chunks/raw.MV3ZALRS.js +0 -21
- package/cdn/chunks/webimage.AUQDYSFO.js +0 -41
- package/cdn/components/banner/banner.component.d.ts +0 -45
- package/cdn/components/banner/banner.component.js +0 -17
- package/cdn/components/banner/banner.d.ts +0 -8
- package/cdn/components/banner/banner.js +0 -18
- package/cdn/components/banner/banner.styles.d.ts +0 -2
- package/cdn/components/banner/banner.styles.js +0 -9
- package/cdn/components/map/leaflet-draw.styles.d.ts +0 -2
- package/cdn/components/map/leaflet-draw.styles.js +0 -9
- package/cdn/components/map/leaflet-utils.d.ts +0 -45
- package/cdn/components/map/leaflet-utils.js +0 -13
- package/cdn/components/map/leaflet.styles.d.ts +0 -2
- package/cdn/components/map/leaflet.styles.js +0 -9
- package/cdn/react/banner/index.d.ts +0 -37
- package/cdn/react/banner/index.js +0 -18
- package/dist/chunks/chunk.2EYRPHGL.js +0 -10
- package/dist/chunks/chunk.37I6WAMP.js +0 -770
- package/dist/chunks/chunk.3BIK435P.js +0 -11
- package/dist/chunks/chunk.3D4ZV7CV.js +0 -21
- package/dist/chunks/chunk.3FT46B5J.js +0 -92
- package/dist/chunks/chunk.3KDMQUYV.js +0 -91
- package/dist/chunks/chunk.3M2D4AZZ.js +0 -25
- package/dist/chunks/chunk.3M4HJ3CQ.js +0 -11
- package/dist/chunks/chunk.3N2IDYXR.js +0 -11
- package/dist/chunks/chunk.3NOU5S4K.js +0 -91
- package/dist/chunks/chunk.3PVJYOTI.js +0 -21
- package/dist/chunks/chunk.3QICTOG6.js +0 -24
- package/dist/chunks/chunk.3SZOJ3GK.js +0 -11
- package/dist/chunks/chunk.3XZZKXCB.js +0 -11
- package/dist/chunks/chunk.42UFQS47.js +0 -24
- package/dist/chunks/chunk.445A7YVG.js +0 -271
- package/dist/chunks/chunk.4BRHJBL7.js +0 -362
- package/dist/chunks/chunk.4DFHV6LO.js +0 -11
- package/dist/chunks/chunk.4EAOYZ4Y.js +0 -90
- package/dist/chunks/chunk.4GNI56AI.js +0 -145
- package/dist/chunks/chunk.4JTABINI.js +0 -451
- package/dist/chunks/chunk.4MDKLIS6.js +0 -190
- package/dist/chunks/chunk.4NHVZTHJ.js +0 -21
- package/dist/chunks/chunk.4WLHQQDP.js +0 -29
- package/dist/chunks/chunk.56BSHB5W.js +0 -21
- package/dist/chunks/chunk.57TVOTHB.js +0 -11
- package/dist/chunks/chunk.5ADB3TNE.js +0 -2319
- package/dist/chunks/chunk.5HMQLPVI.js +0 -48
- package/dist/chunks/chunk.5I6DSPDD.js +0 -24
- package/dist/chunks/chunk.5WVWCLZ5.js +0 -220
- package/dist/chunks/chunk.5ZYLXXXK.js +0 -11
- package/dist/chunks/chunk.63C2VZ7R.js +0 -11
- package/dist/chunks/chunk.63HWESUT.js +0 -21
- package/dist/chunks/chunk.6AVQFT4P.js +0 -48
- package/dist/chunks/chunk.6BJRMCOW.js +0 -624
- package/dist/chunks/chunk.6C7C5GDP.js +0 -21
- package/dist/chunks/chunk.6CCRAMM5.js +0 -11
- package/dist/chunks/chunk.6GSL2FTO.js +0 -21
- package/dist/chunks/chunk.6NI3YPRS.js +0 -150
- package/dist/chunks/chunk.6PTW3KAY.js +0 -22
- package/dist/chunks/chunk.6RW5OQCP.js +0 -108
- package/dist/chunks/chunk.6SXHMHRE.js +0 -27
- package/dist/chunks/chunk.6V5KS672.js +0 -11
- package/dist/chunks/chunk.6WWA2SQB.js +0 -11
- package/dist/chunks/chunk.6X6F3SUC.js +0 -21
- package/dist/chunks/chunk.72E2XKUE.js +0 -11
- package/dist/chunks/chunk.74PROIFY.js +0 -21
- package/dist/chunks/chunk.74PZ6JHX.js +0 -61
- package/dist/chunks/chunk.75V6PGSR.js +0 -252
- package/dist/chunks/chunk.7AEQ2LX4.js +0 -335
- package/dist/chunks/chunk.7B6X7DHL.js +0 -295
- package/dist/chunks/chunk.7BXHKQSD.js +0 -11
- package/dist/chunks/chunk.7C67ZMHT.js +0 -24
- package/dist/chunks/chunk.7CMA526Q.js +0 -14
- package/dist/chunks/chunk.7HCXG32R.js +0 -1122
- package/dist/chunks/chunk.7IEMNWJY.js +0 -74
- package/dist/chunks/chunk.7LMF2AFM.js +0 -422
- package/dist/chunks/chunk.7WOPC7YG.js +0 -25
- package/dist/chunks/chunk.7YFG227M.js +0 -21
- package/dist/chunks/chunk.7YRJKZ6R.js +0 -63
- package/dist/chunks/chunk.7ZEJ2RFP.js +0 -86
- package/dist/chunks/chunk.A3DB425J.js +0 -67
- package/dist/chunks/chunk.ABJFZW3W.js +0 -11
- package/dist/chunks/chunk.AGXVQVZ5.js +0 -20
- package/dist/chunks/chunk.AMQBIH7M.js +0 -345
- package/dist/chunks/chunk.ASLDYWHI.js +0 -24
- package/dist/chunks/chunk.AUKJJNAV.js +0 -70
- package/dist/chunks/chunk.AXAHXWKC.js +0 -31
- package/dist/chunks/chunk.AZ6MIDIS.js +0 -272
- package/dist/chunks/chunk.BCZLVKS4.js +0 -355
- package/dist/chunks/chunk.BGTI5BH3.js +0 -11
- package/dist/chunks/chunk.BROIAC6I.js +0 -327
- package/dist/chunks/chunk.BT4DKJYK.js +0 -21
- package/dist/chunks/chunk.BTCCRLW3.js +0 -72
- package/dist/chunks/chunk.C3ZW37SO.js +0 -80
- package/dist/chunks/chunk.C6GYUDD7.js +0 -24
- package/dist/chunks/chunk.C6HJ3K4R.js +0 -11
- package/dist/chunks/chunk.C6QSCMFM.js +0 -75
- package/dist/chunks/chunk.CJAPGH2L.js +0 -140
- package/dist/chunks/chunk.CPLIT6OF.js +0 -21
- package/dist/chunks/chunk.CRAKN3ZO.js +0 -52
- package/dist/chunks/chunk.CXFSKS7S.js +0 -280
- package/dist/chunks/chunk.D3DPGMVW.js +0 -222
- package/dist/chunks/chunk.D74V2Y4N.js +0 -203
- package/dist/chunks/chunk.DAPRUFA3.js +0 -29
- package/dist/chunks/chunk.DGIP4QPP.js +0 -11
- package/dist/chunks/chunk.DHM36JBP.js +0 -259
- package/dist/chunks/chunk.DVKVBXHC.js +0 -106
- package/dist/chunks/chunk.DVTFT5PU.js +0 -127
- package/dist/chunks/chunk.DZ4BEI2T.js +0 -474
- package/dist/chunks/chunk.EA655PLI.js +0 -48
- package/dist/chunks/chunk.EH3HCT4V.js +0 -21
- package/dist/chunks/chunk.ENXPW4CP.js +0 -11
- package/dist/chunks/chunk.EREJTHM4.js +0 -66
- package/dist/chunks/chunk.ESNQNQUJ.js +0 -150
- package/dist/chunks/chunk.ETGKMYPQ.js +0 -64
- package/dist/chunks/chunk.ETNOCBXV.js +0 -259
- package/dist/chunks/chunk.EV7O3OBK.js +0 -121
- package/dist/chunks/chunk.F2RRMFLJ.js +0 -28
- package/dist/chunks/chunk.F3KBUEPT.js +0 -10
- package/dist/chunks/chunk.F4BY2ABV.js +0 -99
- package/dist/chunks/chunk.FDIMGAJI.js +0 -10
- package/dist/chunks/chunk.FJCA7UZ5.js +0 -247
- package/dist/chunks/chunk.FKON3QJJ.js +0 -117
- package/dist/chunks/chunk.FQFJCEW7.js +0 -402
- package/dist/chunks/chunk.FUU57PWY.js +0 -36
- package/dist/chunks/chunk.G4AEZRDP.js +0 -41
- package/dist/chunks/chunk.GF5IAPOY.js +0 -265
- package/dist/chunks/chunk.GLYX6PG2.js +0 -22
- package/dist/chunks/chunk.GSY7WXWA.js +0 -11
- package/dist/chunks/chunk.GWPR4BJA.js +0 -124
- package/dist/chunks/chunk.GXJEFTLK.js +0 -21
- package/dist/chunks/chunk.GZ4HOM2F.js +0 -43
- package/dist/chunks/chunk.H75BUJ6C.js +0 -519
- package/dist/chunks/chunk.HCC3SGE2.js +0 -219
- package/dist/chunks/chunk.HDHAFKGH.js +0 -11
- package/dist/chunks/chunk.HDQ5AZSQ.js +0 -11
- package/dist/chunks/chunk.HGSA4PFS.js +0 -11
- package/dist/chunks/chunk.HHA52EN3.js +0 -39
- package/dist/chunks/chunk.HHPZ7XOA.js +0 -21
- package/dist/chunks/chunk.HIYLNJE6.js +0 -844
- package/dist/chunks/chunk.HLDKIEKN.js +0 -11
- package/dist/chunks/chunk.HNQMK3PU.js +0 -685
- package/dist/chunks/chunk.HOSAIEGB.js +0 -357
- package/dist/chunks/chunk.HRZ423CY.js +0 -97
- package/dist/chunks/chunk.HTMQKXQS.js +0 -230
- package/dist/chunks/chunk.I2FSVID6.js +0 -27
- package/dist/chunks/chunk.I2OGX6YJ.js +0 -434
- package/dist/chunks/chunk.I36ENW54.js +0 -11
- package/dist/chunks/chunk.IATMZ2ZS.js +0 -245
- package/dist/chunks/chunk.IB2P37K7.js +0 -11
- package/dist/chunks/chunk.IGU5JSKO.js +0 -25
- package/dist/chunks/chunk.IJRFYXD2.js +0 -1204
- package/dist/chunks/chunk.IJSSRDCX.js +0 -21
- package/dist/chunks/chunk.IJY4KL5B.js +0 -11
- package/dist/chunks/chunk.INXE5RBS.js +0 -70
- package/dist/chunks/chunk.IQYKE5EC.js +0 -70
- package/dist/chunks/chunk.IWWJBT2I.js +0 -11
- package/dist/chunks/chunk.J2AUHLZL.js +0 -11
- package/dist/chunks/chunk.J2CM4MIY.js +0 -11
- package/dist/chunks/chunk.J4GD35HZ.js +0 -11
- package/dist/chunks/chunk.J7CKE4RT.js +0 -264
- package/dist/chunks/chunk.JB4OCMUA.js +0 -11
- package/dist/chunks/chunk.JB5255IQ.js +0 -298
- package/dist/chunks/chunk.JCNWTDRG.js +0 -91
- package/dist/chunks/chunk.JE7VLEUE.js +0 -11
- package/dist/chunks/chunk.JMYHKKT4.js +0 -26
- package/dist/chunks/chunk.JPEMI73A.js +0 -27
- package/dist/chunks/chunk.JSN7LTG5.js +0 -24
- package/dist/chunks/chunk.JTO5NJNU.js +0 -21
- package/dist/chunks/chunk.JWUXZUMD.js +0 -11
- package/dist/chunks/chunk.JYANJSE7.js +0 -97
- package/dist/chunks/chunk.JYKXSRHP.js +0 -266
- package/dist/chunks/chunk.K2FV6DFO.js +0 -21
- package/dist/chunks/chunk.KEATCGZ7.js +0 -28
- package/dist/chunks/chunk.KF7BKMIQ.js +0 -272
- package/dist/chunks/chunk.KT52MHEF.js +0 -320
- package/dist/chunks/chunk.KTDPPAJJ.js +0 -291
- package/dist/chunks/chunk.KUSRVQBO.js +0 -20
- package/dist/chunks/chunk.L63WM7I3.js +0 -65
- package/dist/chunks/chunk.LA3L5F6E.js +0 -11
- package/dist/chunks/chunk.LCM2RYXR.js +0 -11
- package/dist/chunks/chunk.LCV6WZ5X.js +0 -17
- package/dist/chunks/chunk.LEOVFOOK.js +0 -58
- package/dist/chunks/chunk.LGANVJU3.js +0 -277
- package/dist/chunks/chunk.LLO5URLF.js +0 -11
- package/dist/chunks/chunk.LO722BLM.js +0 -90
- package/dist/chunks/chunk.LQP75KVT.js +0 -67
- package/dist/chunks/chunk.LQUS5P7O.js +0 -33
- package/dist/chunks/chunk.LZSDXMQ2.js +0 -27
- package/dist/chunks/chunk.M6E64BGI.js +0 -21
- package/dist/chunks/chunk.M7KYRNBT.js +0 -25
- package/dist/chunks/chunk.MASGDCJE.js +0 -525
- package/dist/chunks/chunk.MFHN562P.js +0 -477
- package/dist/chunks/chunk.MIT7GJYK.js +0 -43
- package/dist/chunks/chunk.MLJKAT2G.js +0 -40
- package/dist/chunks/chunk.MP5LGGXC.js +0 -139
- package/dist/chunks/chunk.MPVERP43.js +0 -89
- package/dist/chunks/chunk.MQ2XFZ2K.js +0 -11
- package/dist/chunks/chunk.MVPWKZFM.js +0 -596
- package/dist/chunks/chunk.MXGWZQ72.js +0 -11
- package/dist/chunks/chunk.MZ4FDVFI.js +0 -139
- package/dist/chunks/chunk.MZOP5O7A.js +0 -11
- package/dist/chunks/chunk.N5ZOPEYQ.js +0 -16
- package/dist/chunks/chunk.NAPL4U7D.js +0 -11
- package/dist/chunks/chunk.NEI6ESI4.js +0 -443
- package/dist/chunks/chunk.NNA23WIY.js +0 -11
- package/dist/chunks/chunk.NP7CH4PH.js +0 -150
- package/dist/chunks/chunk.NPXMVYTM.js +0 -21
- package/dist/chunks/chunk.NTD2OKX6.js +0 -83
- package/dist/chunks/chunk.NWXJOH5T.js +0 -37
- package/dist/chunks/chunk.O22GE5VJ.js +0 -1008
- package/dist/chunks/chunk.O5K3NGWB.js +0 -21
- package/dist/chunks/chunk.OAWTV6OW.js +0 -135
- package/dist/chunks/chunk.OEHDGGB7.js +0 -180
- package/dist/chunks/chunk.OM62XDBF.js +0 -52
- package/dist/chunks/chunk.ON3YVM46.js +0 -138
- package/dist/chunks/chunk.OSSDCEIB.js +0 -11
- package/dist/chunks/chunk.OVH5G3RJ.js +0 -110
- package/dist/chunks/chunk.P6KNM76E.js +0 -11
- package/dist/chunks/chunk.PAPHRHEE.js +0 -720
- package/dist/chunks/chunk.PAVLC7TM.js +0 -21
- package/dist/chunks/chunk.PBC3S6IG.js +0 -33
- package/dist/chunks/chunk.PBZNSAYA.js +0 -11
- package/dist/chunks/chunk.PGNUYAPN.js +0 -24
- package/dist/chunks/chunk.PJP62E5Q.js +0 -56
- package/dist/chunks/chunk.PSDUWY6R.js +0 -24
- package/dist/chunks/chunk.Q2VGODJC.js +0 -213
- package/dist/chunks/chunk.Q3IUUVSE.js +0 -21
- package/dist/chunks/chunk.Q3L4HBY2.js +0 -443
- package/dist/chunks/chunk.Q5ADS6UN.js +0 -143
- package/dist/chunks/chunk.Q65QKCAN.js +0 -21
- package/dist/chunks/chunk.QCAEEWJS.js +0 -180
- package/dist/chunks/chunk.QCJBU6RE.js +0 -112
- package/dist/chunks/chunk.QFLW4G3Y.js +0 -21
- package/dist/chunks/chunk.QFLXNLU3.js +0 -16
- package/dist/chunks/chunk.QJAA37VB.js +0 -2228
- package/dist/chunks/chunk.QKBS3PXU.js +0 -262
- package/dist/chunks/chunk.QMXBTJIF.js +0 -124
- package/dist/chunks/chunk.QQC25P5Y.js +0 -11
- package/dist/chunks/chunk.QQMW6GT2.js +0 -1045
- package/dist/chunks/chunk.QQRJEM4I.js +0 -11
- package/dist/chunks/chunk.QROXJFWN.js +0 -11
- package/dist/chunks/chunk.QUT7XNS6.js +0 -28
- package/dist/chunks/chunk.QW4XSMFF.js +0 -153
- package/dist/chunks/chunk.RANEKL2E.js +0 -127
- package/dist/chunks/chunk.RB3U57XZ.js +0 -64
- package/dist/chunks/chunk.RENBO47H.js +0 -24
- package/dist/chunks/chunk.RGVKW43A.js +0 -104
- package/dist/chunks/chunk.RGVPRZQV.js +0 -143
- package/dist/chunks/chunk.RQEPF7OZ.js +0 -88
- package/dist/chunks/chunk.RQRTZSNI.js +0 -11
- package/dist/chunks/chunk.S6333F2O.js +0 -28
- package/dist/chunks/chunk.SA2FBEM7.js +0 -11
- package/dist/chunks/chunk.SBGZPKIA.js +0 -124
- package/dist/chunks/chunk.SGFD3ORP.js +0 -293
- package/dist/chunks/chunk.SHKVBVTI.js +0 -117
- package/dist/chunks/chunk.SJVXFIWD.js +0 -43
- package/dist/chunks/chunk.SKBX4KSX.js +0 -21
- package/dist/chunks/chunk.SM2GF5DG.js +0 -161
- package/dist/chunks/chunk.SOWK5CSF.js +0 -236
- package/dist/chunks/chunk.SWGWSBKI.js +0 -11
- package/dist/chunks/chunk.T2KMTQBP.js +0 -145
- package/dist/chunks/chunk.TAE5KSZT.js +0 -11
- package/dist/chunks/chunk.TCEJ3MS6.js +0 -97
- package/dist/chunks/chunk.TEYALPS4.js +0 -657
- package/dist/chunks/chunk.TFFE7BN3.js +0 -24
- package/dist/chunks/chunk.TGGVEO3I.js +0 -128
- package/dist/chunks/chunk.TW27Y276.js +0 -11
- package/dist/chunks/chunk.TXNDS5FQ.js +0 -89
- package/dist/chunks/chunk.U3XIKOX7.js +0 -73
- package/dist/chunks/chunk.UBB6M2QD.js +0 -11
- package/dist/chunks/chunk.UIAHD44U.js +0 -11
- package/dist/chunks/chunk.UKEH7WNL.js +0 -581
- package/dist/chunks/chunk.UOMBNCQM.js +0 -11
- package/dist/chunks/chunk.UU2S72KN.js +0 -30
- package/dist/chunks/chunk.UWQHLB6N.js +0 -37
- package/dist/chunks/chunk.UZAIWUWC.js +0 -8
- package/dist/chunks/chunk.V2Z7ZBTD.js +0 -293
- package/dist/chunks/chunk.V3NHH2XO.js +0 -338
- package/dist/chunks/chunk.VA52CLMJ.js +0 -592
- package/dist/chunks/chunk.VHK56IML.js +0 -26
- package/dist/chunks/chunk.VO6PUK24.js +0 -23
- package/dist/chunks/chunk.VOOL4SJO.js +0 -11
- package/dist/chunks/chunk.VRHDVYLZ.js +0 -11
- package/dist/chunks/chunk.VXCSGT3L.js +0 -48
- package/dist/chunks/chunk.VXEADHRG.js +0 -101
- package/dist/chunks/chunk.WD3BK7E7.js +0 -220
- package/dist/chunks/chunk.WG5DAUIB.js +0 -11
- package/dist/chunks/chunk.WJ7PLAES.js +0 -25
- package/dist/chunks/chunk.WMFEFLKP.js +0 -24
- package/dist/chunks/chunk.WMZXCTBJ.js +0 -21
- package/dist/chunks/chunk.WRWNYS7Y.js +0 -11
- package/dist/chunks/chunk.WSHNQQ3P.js +0 -11
- package/dist/chunks/chunk.WTUZLKBY.js +0 -43
- package/dist/chunks/chunk.WVJDTT7W.js +0 -74
- package/dist/chunks/chunk.X3GQAK23.js +0 -78
- package/dist/chunks/chunk.X3XBLLUJ.js +0 -278
- package/dist/chunks/chunk.X7D4RD6W.js +0 -27
- package/dist/chunks/chunk.XAA3NGWV.js +0 -93
- package/dist/chunks/chunk.XEWTAFPO.js +0 -21
- package/dist/chunks/chunk.XJRDI2TX.js +0 -224
- package/dist/chunks/chunk.XKLFAST5.js +0 -230
- package/dist/chunks/chunk.XLVVVXCQ.js +0 -40
- package/dist/chunks/chunk.XNN76KMX.js +0 -345
- package/dist/chunks/chunk.XPVCJKQT.js +0 -11
- package/dist/chunks/chunk.XQU5BZC4.js +0 -194
- package/dist/chunks/chunk.XWRUJ5QM.js +0 -21
- package/dist/chunks/chunk.XYQ5OEQP.js +0 -190
- package/dist/chunks/chunk.Y4QEHGFE.js +0 -76
- package/dist/chunks/chunk.Y4ZWTPEA.js +0 -19
- package/dist/chunks/chunk.Y6E3L66U.js +0 -63
- package/dist/chunks/chunk.Y7JB2DW6.js +0 -21
- package/dist/chunks/chunk.Y7JHAX5O.js +0 -24
- package/dist/chunks/chunk.YHLBFTUK.js +0 -21
- package/dist/chunks/chunk.YLLE7U4B.js +0 -374
- package/dist/chunks/chunk.YNGZK5NG.js +0 -98
- package/dist/chunks/chunk.YPJBWQ6S.js +0 -104
- package/dist/chunks/chunk.YTHKJITL.js +0 -609
- package/dist/chunks/chunk.YXBUPVH7.js +0 -15
- package/dist/chunks/chunk.YXTXQG56.js +0 -214
- package/dist/chunks/chunk.YY65ZHR5.js +0 -35
- package/dist/chunks/chunk.Z2H7IRYZ.js +0 -57
- package/dist/chunks/chunk.ZAIMWNA2.js +0 -21
- package/dist/chunks/chunk.ZEE7G2WT.js +0 -21
- package/dist/chunks/chunk.ZK62OLIT.js +0 -24
- package/dist/chunks/chunk.ZKEDELYC.js +0 -123
- package/dist/chunks/chunk.ZQ4YDF5U.js +0 -24
- package/dist/chunks/chunk.ZR5KBBEG.js +0 -409
- package/dist/chunks/chunk.ZT2WOBDO.js +0 -85
- package/dist/chunks/chunk.ZVPC2WJB.js +0 -26
- package/dist/chunks/chunk.ZWPNFDN6.js +0 -180
- package/dist/components/banner/banner.component.d.ts +0 -45
- package/dist/components/banner/banner.component.js +0 -13
- package/dist/components/banner/banner.d.ts +0 -8
- package/dist/components/banner/banner.js +0 -14
- package/dist/components/banner/banner.styles.d.ts +0 -2
- package/dist/components/banner/banner.styles.js +0 -7
- package/dist/components/map/leaflet-draw.styles.d.ts +0 -2
- package/dist/components/map/leaflet-draw.styles.js +0 -7
- package/dist/components/map/leaflet-utils.d.ts +0 -45
- package/dist/components/map/leaflet-utils.js +0 -13
- package/dist/components/map/leaflet.styles.d.ts +0 -2
- package/dist/components/map/leaflet.styles.js +0 -7
- package/dist/react/banner/index.d.ts +0 -37
- package/dist/react/banner/index.js +0 -14
- package/dist/terra_ui_components-0.0.173-py3-none-any.whl +0 -0
- package/dist/terra_ui_components-0.0.173.tar.gz +0 -0
|
@@ -1,2228 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
date_picker_styles_default
|
|
3
|
-
} from "./chunk.6BJRMCOW.js";
|
|
4
|
-
import {
|
|
5
|
-
TerraDropdown
|
|
6
|
-
} from "./chunk.MASGDCJE.js";
|
|
7
|
-
import {
|
|
8
|
-
TerraInput
|
|
9
|
-
} from "./chunk.MVPWKZFM.js";
|
|
10
|
-
import {
|
|
11
|
-
TerraButton
|
|
12
|
-
} from "./chunk.ZR5KBBEG.js";
|
|
13
|
-
import {
|
|
14
|
-
TerraElement,
|
|
15
|
-
component_styles_default
|
|
16
|
-
} from "./chunk.4JTABINI.js";
|
|
17
|
-
import {
|
|
18
|
-
__decorateClass
|
|
19
|
-
} from "./chunk.SHKVBVTI.js";
|
|
20
|
-
|
|
21
|
-
// src/components/date-picker/date-picker.component.ts
|
|
22
|
-
import { property, state, query } from "lit/decorators.js";
|
|
23
|
-
import { html } from "lit";
|
|
24
|
-
import { createRef, ref } from "lit/directives/ref.js";
|
|
25
|
-
import { isValid } from "date-fns";
|
|
26
|
-
var TerraDatePicker = class extends TerraElement {
|
|
27
|
-
constructor() {
|
|
28
|
-
super();
|
|
29
|
-
this.range = false;
|
|
30
|
-
this.hideLabel = false;
|
|
31
|
-
this.label = "Select Date";
|
|
32
|
-
this.helpText = "";
|
|
33
|
-
this.startHelpText = "";
|
|
34
|
-
this.endHelpText = "";
|
|
35
|
-
this.showPresets = false;
|
|
36
|
-
this.presets = [];
|
|
37
|
-
this.enableTime = false;
|
|
38
|
-
this.inline = false;
|
|
39
|
-
this.splitInputs = false;
|
|
40
|
-
this.placeholder = "Select Date";
|
|
41
|
-
this.startPlaceholder = "Start Date";
|
|
42
|
-
this.endPlaceholder = "End Date";
|
|
43
|
-
this.role = "group";
|
|
44
|
-
this.ariaLabel = "Date picker";
|
|
45
|
-
this.hideClearAll = false;
|
|
46
|
-
this.clearAllLabel = "Clear Dates";
|
|
47
|
-
this.useEndOfDay = true;
|
|
48
|
-
this.isOpen = false;
|
|
49
|
-
this.leftMonth = /* @__PURE__ */ new Date();
|
|
50
|
-
this.rightMonth = /* @__PURE__ */ new Date();
|
|
51
|
-
this.selectedStart = null;
|
|
52
|
-
this.selectedEnd = null;
|
|
53
|
-
this.hoverDate = null;
|
|
54
|
-
this.isSelectingRange = false;
|
|
55
|
-
this.showLeftMonthDropdown = false;
|
|
56
|
-
this.showRightMonthDropdown = false;
|
|
57
|
-
this.startHour = 0;
|
|
58
|
-
this.startMinute = 0;
|
|
59
|
-
this.startSecond = 0;
|
|
60
|
-
this.endHour = 23;
|
|
61
|
-
this.endMinute = 59;
|
|
62
|
-
this.endSecond = 59;
|
|
63
|
-
this.selectedDates = {
|
|
64
|
-
startDate: (/* @__PURE__ */ new Date()).toString(),
|
|
65
|
-
endDate: (/* @__PURE__ */ new Date()).toString()
|
|
66
|
-
};
|
|
67
|
-
this.dropdownRef = createRef();
|
|
68
|
-
this.DAYS = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"];
|
|
69
|
-
this.MONTHS = [
|
|
70
|
-
"January",
|
|
71
|
-
"February",
|
|
72
|
-
"March",
|
|
73
|
-
"April",
|
|
74
|
-
"May",
|
|
75
|
-
"June",
|
|
76
|
-
"July",
|
|
77
|
-
"August",
|
|
78
|
-
"September",
|
|
79
|
-
"October",
|
|
80
|
-
"November",
|
|
81
|
-
"December"
|
|
82
|
-
];
|
|
83
|
-
this.initializePresets();
|
|
84
|
-
}
|
|
85
|
-
getDefaultEndHour() {
|
|
86
|
-
return this.useEndOfDay ? 23 : 0;
|
|
87
|
-
}
|
|
88
|
-
getDefaultEndMinute() {
|
|
89
|
-
return this.useEndOfDay ? 59 : 0;
|
|
90
|
-
}
|
|
91
|
-
getDefaultEndSecond() {
|
|
92
|
-
return this.useEndOfDay ? 59 : 0;
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* Parse a date string (YYYY-MM-DD or ISO datetime) as a local date, avoiding timezone issues.
|
|
96
|
-
* When you do `new Date("2024-03-20")`, JavaScript interprets it as UTC midnight,
|
|
97
|
-
* which can cause off-by-one day errors when using getDate() in local timezone.
|
|
98
|
-
* This function parses the date as a local date instead.
|
|
99
|
-
*
|
|
100
|
-
* When enableTime is true, datetime strings are parsed as UTC to match API min/max dates.
|
|
101
|
-
*/
|
|
102
|
-
parseLocalDate(dateString) {
|
|
103
|
-
const dateOnlyPattern = /^\d{4}-\d{2}-\d{2}$/;
|
|
104
|
-
if (dateOnlyPattern.test(dateString)) {
|
|
105
|
-
const [year, month, day] = dateString.split("-").map(Number);
|
|
106
|
-
if (this.enableTime) {
|
|
107
|
-
return new Date(Date.UTC(year, month - 1, day, 0, 0, 0));
|
|
108
|
-
}
|
|
109
|
-
return new Date(year, month - 1, day);
|
|
110
|
-
}
|
|
111
|
-
const dateTimePattern = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/;
|
|
112
|
-
if (dateTimePattern.test(dateString)) {
|
|
113
|
-
const [datePart, timePart] = dateString.split("T");
|
|
114
|
-
const [year, month, day] = datePart.split("-").map(Number);
|
|
115
|
-
const [hours, minutes, seconds] = timePart.split(":").map(Number);
|
|
116
|
-
return new Date(Date.UTC(year, month - 1, day, hours, minutes, seconds));
|
|
117
|
-
}
|
|
118
|
-
return new Date(dateString);
|
|
119
|
-
}
|
|
120
|
-
/**
|
|
121
|
-
* Check if two dates are in the same calendar month and year
|
|
122
|
-
*/
|
|
123
|
-
isSameMonth(date1, date2) {
|
|
124
|
-
if (this.enableTime) {
|
|
125
|
-
return date1.getUTCFullYear() === date2.getUTCFullYear() && date1.getUTCMonth() === date2.getUTCMonth();
|
|
126
|
-
}
|
|
127
|
-
return date1.getFullYear() === date2.getFullYear() && date1.getMonth() === date2.getMonth();
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* Check if a date's month/year matches a given month Date
|
|
131
|
-
*/
|
|
132
|
-
isDateInMonth(date, monthDate) {
|
|
133
|
-
if (this.enableTime) {
|
|
134
|
-
return date.getUTCFullYear() === monthDate.getUTCFullYear() && date.getUTCMonth() === monthDate.getUTCMonth();
|
|
135
|
-
}
|
|
136
|
-
return date.getFullYear() === monthDate.getFullYear() && date.getMonth() === monthDate.getMonth();
|
|
137
|
-
}
|
|
138
|
-
getBounds() {
|
|
139
|
-
const min = this.minDate ? this.parseLocalDate(this.minDate) : void 0;
|
|
140
|
-
const max = this.maxDate ? this.parseLocalDate(this.maxDate) : void 0;
|
|
141
|
-
return { min, max };
|
|
142
|
-
}
|
|
143
|
-
doesRangeOverlapBounds(range) {
|
|
144
|
-
const { startDate, endDate } = range;
|
|
145
|
-
const { min, max } = this.getBounds();
|
|
146
|
-
if (!this.range) {
|
|
147
|
-
if (!startDate)
|
|
148
|
-
return false;
|
|
149
|
-
if (min && startDate < min)
|
|
150
|
-
return false;
|
|
151
|
-
if (max && startDate > max)
|
|
152
|
-
return false;
|
|
153
|
-
return true;
|
|
154
|
-
}
|
|
155
|
-
const start = startDate != null ? startDate : /* @__PURE__ */ new Date(-864e13);
|
|
156
|
-
const end = endDate != null ? endDate : /* @__PURE__ */ new Date(864e13);
|
|
157
|
-
if (!min && !max)
|
|
158
|
-
return true;
|
|
159
|
-
const windowStart = min != null ? min : /* @__PURE__ */ new Date(-864e13);
|
|
160
|
-
const windowEnd = max != null ? max : /* @__PURE__ */ new Date(864e13);
|
|
161
|
-
return end >= windowStart && start <= windowEnd;
|
|
162
|
-
}
|
|
163
|
-
isPresetWithinBounds(range) {
|
|
164
|
-
return this.doesRangeOverlapBounds(range);
|
|
165
|
-
}
|
|
166
|
-
get filteredPresets() {
|
|
167
|
-
return (this.presets || []).filter(
|
|
168
|
-
(preset) => this.isPresetWithinBounds(preset.getValue())
|
|
169
|
-
);
|
|
170
|
-
}
|
|
171
|
-
open() {
|
|
172
|
-
this.isOpen = true;
|
|
173
|
-
if (this.maxDate && !this.selectedStart && !this.selectedEnd) {
|
|
174
|
-
const max = this.parseLocalDate(this.maxDate);
|
|
175
|
-
if (!isNaN(max.getTime())) {
|
|
176
|
-
if (this.range) {
|
|
177
|
-
this.rightMonth = new Date(max);
|
|
178
|
-
const left = new Date(max);
|
|
179
|
-
left.setMonth(left.getMonth() - 1);
|
|
180
|
-
this.leftMonth = left;
|
|
181
|
-
} else {
|
|
182
|
-
this.leftMonth = new Date(max);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
if (!this.inline && this.dropdownRef.value) {
|
|
187
|
-
this.dropdownRef.value.show();
|
|
188
|
-
}
|
|
189
|
-
this.requestUpdate();
|
|
190
|
-
}
|
|
191
|
-
close() {
|
|
192
|
-
this.isOpen = false;
|
|
193
|
-
if (!this.inline && this.dropdownRef.value) {
|
|
194
|
-
this.dropdownRef.value.hide();
|
|
195
|
-
}
|
|
196
|
-
this.requestUpdate();
|
|
197
|
-
}
|
|
198
|
-
/**
|
|
199
|
-
* Clears the selected date(s) and resets the date picker to its initial state.
|
|
200
|
-
*/
|
|
201
|
-
clear() {
|
|
202
|
-
this.selectedStart = null;
|
|
203
|
-
this.selectedEnd = null;
|
|
204
|
-
this.hoverDate = null;
|
|
205
|
-
this.isSelectingRange = false;
|
|
206
|
-
this.startHour = 0;
|
|
207
|
-
this.startMinute = 0;
|
|
208
|
-
this.startSecond = 0;
|
|
209
|
-
this.endHour = this.getDefaultEndHour();
|
|
210
|
-
this.endMinute = this.getDefaultEndMinute();
|
|
211
|
-
this.endSecond = this.getDefaultEndSecond();
|
|
212
|
-
this.clearInputValidation();
|
|
213
|
-
this.requestUpdate();
|
|
214
|
-
this.emitChange();
|
|
215
|
-
}
|
|
216
|
-
setOpen(open) {
|
|
217
|
-
if (open) {
|
|
218
|
-
this.open();
|
|
219
|
-
} else {
|
|
220
|
-
this.close();
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
willUpdate(changedProperties) {
|
|
224
|
-
super.willUpdate(changedProperties);
|
|
225
|
-
if (changedProperties.has("useEndOfDay")) {
|
|
226
|
-
this.endHour = this.getDefaultEndHour();
|
|
227
|
-
this.endMinute = this.getDefaultEndMinute();
|
|
228
|
-
this.endSecond = this.getDefaultEndSecond();
|
|
229
|
-
}
|
|
230
|
-
if (changedProperties.has("inline")) {
|
|
231
|
-
if (this.inline) {
|
|
232
|
-
this.isOpen = true;
|
|
233
|
-
if (this.dropdownRef.value) {
|
|
234
|
-
this.dropdownRef.value.hide();
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
if (changedProperties.has("minDate") || changedProperties.has("maxDate")) {
|
|
239
|
-
if (this.maxDate && !this.selectedStart && !this.selectedEnd) {
|
|
240
|
-
const max = this.parseLocalDate(this.maxDate);
|
|
241
|
-
if (!isNaN(max.getTime())) {
|
|
242
|
-
if (this.range) {
|
|
243
|
-
this.rightMonth = new Date(max);
|
|
244
|
-
const left = new Date(max);
|
|
245
|
-
left.setMonth(left.getMonth() - 1);
|
|
246
|
-
this.leftMonth = left;
|
|
247
|
-
} else {
|
|
248
|
-
this.leftMonth = new Date(max);
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
if (changedProperties.has("startDate") || changedProperties.has("endDate")) {
|
|
254
|
-
if (this.startDate) {
|
|
255
|
-
const start = this.parseLocalDate(this.startDate);
|
|
256
|
-
if (!isNaN(start.getTime())) {
|
|
257
|
-
this.selectedStart = start;
|
|
258
|
-
if (this.enableTime) {
|
|
259
|
-
this.initializeTimeFromDate(start, true);
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
} else {
|
|
263
|
-
this.selectedStart = null;
|
|
264
|
-
}
|
|
265
|
-
if (this.range) {
|
|
266
|
-
if (this.endDate) {
|
|
267
|
-
const end = this.parseLocalDate(this.endDate);
|
|
268
|
-
if (!isNaN(end.getTime())) {
|
|
269
|
-
this.selectedEnd = end;
|
|
270
|
-
if (this.enableTime) {
|
|
271
|
-
this.initializeTimeFromDate(end, false);
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
} else {
|
|
275
|
-
this.selectedEnd = null;
|
|
276
|
-
}
|
|
277
|
-
if (this.selectedStart && this.selectedEnd) {
|
|
278
|
-
const isSingleMonthRange = this.isSameMonth(
|
|
279
|
-
this.selectedStart,
|
|
280
|
-
this.selectedEnd
|
|
281
|
-
);
|
|
282
|
-
if (isSingleMonthRange) {
|
|
283
|
-
if (this.isDateInMonth(this.selectedStart, this.leftMonth)) {
|
|
284
|
-
this.leftMonth = new Date(this.selectedStart);
|
|
285
|
-
if (this.isDateInMonth(
|
|
286
|
-
this.selectedStart,
|
|
287
|
-
this.rightMonth
|
|
288
|
-
)) {
|
|
289
|
-
this.rightMonth = new Date(this.selectedStart);
|
|
290
|
-
this.rightMonth.setMonth(
|
|
291
|
-
this.rightMonth.getMonth() + 1
|
|
292
|
-
);
|
|
293
|
-
}
|
|
294
|
-
} else if (this.isDateInMonth(this.selectedStart, this.rightMonth)) {
|
|
295
|
-
this.rightMonth = new Date(this.selectedStart);
|
|
296
|
-
} else {
|
|
297
|
-
this.leftMonth = new Date(this.selectedStart);
|
|
298
|
-
}
|
|
299
|
-
} else {
|
|
300
|
-
this.leftMonth = new Date(this.selectedStart);
|
|
301
|
-
this.rightMonth = new Date(this.selectedEnd);
|
|
302
|
-
}
|
|
303
|
-
} else if (this.selectedStart) {
|
|
304
|
-
this.leftMonth = new Date(this.selectedStart);
|
|
305
|
-
this.rightMonth = new Date(this.leftMonth);
|
|
306
|
-
this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
|
|
307
|
-
}
|
|
308
|
-
} else {
|
|
309
|
-
if (this.selectedStart) {
|
|
310
|
-
this.leftMonth = new Date(this.selectedStart);
|
|
311
|
-
}
|
|
312
|
-
this.selectedEnd = null;
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
initializePresets() {
|
|
317
|
-
if (this.presets.length === 0) {
|
|
318
|
-
this.presets = [
|
|
319
|
-
{
|
|
320
|
-
label: "Today",
|
|
321
|
-
getValue: () => {
|
|
322
|
-
const today = /* @__PURE__ */ new Date();
|
|
323
|
-
return {
|
|
324
|
-
startDate: today,
|
|
325
|
-
endDate: this.range ? today : null
|
|
326
|
-
};
|
|
327
|
-
}
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
label: "Yesterday",
|
|
331
|
-
getValue: () => {
|
|
332
|
-
const yesterday = /* @__PURE__ */ new Date();
|
|
333
|
-
yesterday.setDate(yesterday.getDate() - 1);
|
|
334
|
-
return {
|
|
335
|
-
startDate: yesterday,
|
|
336
|
-
endDate: this.range ? yesterday : null
|
|
337
|
-
};
|
|
338
|
-
}
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
label: "Last 7 days",
|
|
342
|
-
getValue: () => {
|
|
343
|
-
const end = /* @__PURE__ */ new Date();
|
|
344
|
-
const start = /* @__PURE__ */ new Date();
|
|
345
|
-
start.setDate(start.getDate() - 6);
|
|
346
|
-
return { startDate: start, endDate: end };
|
|
347
|
-
}
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
label: "Last 30 days",
|
|
351
|
-
getValue: () => {
|
|
352
|
-
const end = /* @__PURE__ */ new Date();
|
|
353
|
-
const start = /* @__PURE__ */ new Date();
|
|
354
|
-
start.setDate(start.getDate() - 29);
|
|
355
|
-
return { startDate: start, endDate: end };
|
|
356
|
-
}
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
label: "Last 6 months",
|
|
360
|
-
getValue: () => {
|
|
361
|
-
const end = /* @__PURE__ */ new Date();
|
|
362
|
-
const start = /* @__PURE__ */ new Date();
|
|
363
|
-
start.setMonth(start.getMonth() - 6);
|
|
364
|
-
return { startDate: start, endDate: end };
|
|
365
|
-
}
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
label: "Last year",
|
|
369
|
-
getValue: () => {
|
|
370
|
-
const end = /* @__PURE__ */ new Date();
|
|
371
|
-
const start = /* @__PURE__ */ new Date();
|
|
372
|
-
start.setFullYear(start.getFullYear() - 1);
|
|
373
|
-
return { startDate: start, endDate: end };
|
|
374
|
-
}
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
label: "All time",
|
|
378
|
-
getValue: () => {
|
|
379
|
-
const { min, max } = this.getBounds();
|
|
380
|
-
return {
|
|
381
|
-
startDate: min || null,
|
|
382
|
-
endDate: max || null
|
|
383
|
-
};
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
];
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
firstUpdated() {
|
|
390
|
-
const params = new URLSearchParams(window.location.search);
|
|
391
|
-
const timeStartParam = params.get("time_start") || this.startDate;
|
|
392
|
-
const timeEndParam = params.get("time_end") || this.endDate;
|
|
393
|
-
if (timeStartParam) {
|
|
394
|
-
this.selectedStart = this.parseLocalDate(timeStartParam);
|
|
395
|
-
this.leftMonth = new Date(this.selectedStart);
|
|
396
|
-
if (this.enableTime) {
|
|
397
|
-
this.initializeTimeFromDate(this.selectedStart, true);
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
if (this.range && timeEndParam) {
|
|
401
|
-
this.selectedEnd = this.parseLocalDate(timeEndParam);
|
|
402
|
-
if (this.enableTime) {
|
|
403
|
-
this.initializeTimeFromDate(this.selectedEnd, false);
|
|
404
|
-
}
|
|
405
|
-
if (this.selectedStart && this.selectedEnd) {
|
|
406
|
-
const isSingleMonthRange = this.isSameMonth(
|
|
407
|
-
this.selectedStart,
|
|
408
|
-
this.selectedEnd
|
|
409
|
-
);
|
|
410
|
-
if (isSingleMonthRange) {
|
|
411
|
-
this.rightMonth = new Date(this.selectedStart);
|
|
412
|
-
this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
|
|
413
|
-
} else {
|
|
414
|
-
this.rightMonth = new Date(this.selectedEnd);
|
|
415
|
-
}
|
|
416
|
-
} else if (this.selectedEnd) {
|
|
417
|
-
this.rightMonth = new Date(this.selectedEnd);
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
if (this.range && !timeEndParam) {
|
|
421
|
-
this.rightMonth = new Date(this.leftMonth);
|
|
422
|
-
this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
|
|
423
|
-
}
|
|
424
|
-
if (this.inline) {
|
|
425
|
-
this.isOpen = true;
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
disconnectedCallback() {
|
|
429
|
-
super.disconnectedCallback();
|
|
430
|
-
}
|
|
431
|
-
handleDropdownShow() {
|
|
432
|
-
this.isOpen = true;
|
|
433
|
-
}
|
|
434
|
-
handleDropdownHide() {
|
|
435
|
-
this.isOpen = false;
|
|
436
|
-
}
|
|
437
|
-
formatDisplayDate(date, isStart = true) {
|
|
438
|
-
if (!date)
|
|
439
|
-
return "";
|
|
440
|
-
const format = this.displayFormat || (this.enableTime ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD");
|
|
441
|
-
if (this.enableTime) {
|
|
442
|
-
const year2 = date.getUTCFullYear();
|
|
443
|
-
const month2 = String(date.getUTCMonth() + 1).padStart(2, "0");
|
|
444
|
-
const day2 = String(date.getUTCDate()).padStart(2, "0");
|
|
445
|
-
const hours = String(isStart ? this.startHour : this.endHour).padStart(
|
|
446
|
-
2,
|
|
447
|
-
"0"
|
|
448
|
-
);
|
|
449
|
-
const minutes = String(
|
|
450
|
-
isStart ? this.startMinute : this.endMinute
|
|
451
|
-
).padStart(2, "0");
|
|
452
|
-
const seconds = String(
|
|
453
|
-
isStart ? this.startSecond : this.endSecond
|
|
454
|
-
).padStart(2, "0");
|
|
455
|
-
return format.replace("YYYY", year2.toString()).replace("MM", month2).replace("DD", day2).replace("HH", hours).replace("mm", minutes).replace("ss", seconds);
|
|
456
|
-
}
|
|
457
|
-
const year = date.getFullYear();
|
|
458
|
-
const month = String(date.getMonth() + 1).padStart(2, "0");
|
|
459
|
-
const day = String(date.getDate()).padStart(2, "0");
|
|
460
|
-
return format.replace("YYYY", year.toString()).replace("MM", month).replace("DD", day);
|
|
461
|
-
}
|
|
462
|
-
getDisplayValue() {
|
|
463
|
-
if (this.range) {
|
|
464
|
-
if (this.selectedStart && this.selectedEnd) {
|
|
465
|
-
return `${this.formatDisplayDate(this.selectedStart, true)} \u2013 ${this.formatDisplayDate(this.selectedEnd, false)}`;
|
|
466
|
-
} else if (this.selectedStart) {
|
|
467
|
-
return this.formatDisplayDate(this.selectedStart, true);
|
|
468
|
-
}
|
|
469
|
-
return "";
|
|
470
|
-
} else {
|
|
471
|
-
return this.selectedStart ? this.formatDisplayDate(this.selectedStart, true) : "";
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
getStartDateDisplayValue() {
|
|
475
|
-
return this.selectedStart ? this.formatDisplayDate(this.selectedStart, true) : "";
|
|
476
|
-
}
|
|
477
|
-
getEndDateDisplayValue() {
|
|
478
|
-
return this.selectedEnd ? this.formatDisplayDate(this.selectedEnd, false) : "";
|
|
479
|
-
}
|
|
480
|
-
parseAndFormatDate(dateStr) {
|
|
481
|
-
const trimmed = dateStr.trim();
|
|
482
|
-
if (!trimmed)
|
|
483
|
-
return null;
|
|
484
|
-
const dateOnlyPattern = /^\d{4}-\d{2}-\d{2}$/;
|
|
485
|
-
const dateTimePattern = /^\d{4}-\d{2}-\d{2}[T\s]\d{1,2}:\d{2}(:\d{2})?$/;
|
|
486
|
-
let date;
|
|
487
|
-
if (dateOnlyPattern.test(trimmed)) {
|
|
488
|
-
date = this.parseLocalDate(trimmed);
|
|
489
|
-
} else if (this.enableTime && dateTimePattern.test(trimmed)) {
|
|
490
|
-
const [datePart, timePart] = trimmed.split(/[T\s]+/);
|
|
491
|
-
const [year, month, day] = datePart.split("-").map(Number);
|
|
492
|
-
const timeComponents = timePart.split(":").map(Number);
|
|
493
|
-
const hours = timeComponents[0] || 0;
|
|
494
|
-
const minutes = timeComponents[1] || 0;
|
|
495
|
-
const seconds = timeComponents[2] || 0;
|
|
496
|
-
date = new Date(Date.UTC(year, month - 1, day, hours, minutes, seconds));
|
|
497
|
-
} else {
|
|
498
|
-
date = new Date(trimmed);
|
|
499
|
-
if (!isValid(date)) {
|
|
500
|
-
return null;
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
if (!isValid(date)) {
|
|
504
|
-
return null;
|
|
505
|
-
}
|
|
506
|
-
if (this.enableTime) {
|
|
507
|
-
if (dateOnlyPattern.test(trimmed)) {
|
|
508
|
-
return trimmed;
|
|
509
|
-
} else {
|
|
510
|
-
const utcYear = date.getUTCFullYear();
|
|
511
|
-
const utcMonth = date.getUTCMonth() + 1;
|
|
512
|
-
const utcDay = date.getUTCDate();
|
|
513
|
-
const utcHours = date.getUTCHours();
|
|
514
|
-
const utcMinutes = date.getUTCMinutes();
|
|
515
|
-
const utcSeconds = date.getUTCSeconds();
|
|
516
|
-
return `${utcYear}-${String(utcMonth).padStart(2, "0")}-${String(utcDay).padStart(2, "0")}T${String(utcHours).padStart(2, "0")}:${String(utcMinutes).padStart(2, "0")}:${String(utcSeconds).padStart(2, "0")}`;
|
|
517
|
-
}
|
|
518
|
-
} else {
|
|
519
|
-
const year = date.getFullYear();
|
|
520
|
-
const month = date.getMonth() + 1;
|
|
521
|
-
const day = date.getDate();
|
|
522
|
-
return `${year}-${String(month).padStart(2, "0")}-${String(day).padStart(2, "0")}`;
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
clearInputValidation() {
|
|
526
|
-
const inputs = this.renderRoot.querySelectorAll("terra-input");
|
|
527
|
-
inputs.forEach((input) => {
|
|
528
|
-
input.setCustomValidity("");
|
|
529
|
-
});
|
|
530
|
-
}
|
|
531
|
-
/**
|
|
532
|
-
* Format a date string for display in error messages
|
|
533
|
-
* When time is disabled, only show the date portion (YYYY-MM-DD)
|
|
534
|
-
*/
|
|
535
|
-
formatDateForError(dateString) {
|
|
536
|
-
if (!this.enableTime) {
|
|
537
|
-
return dateString.split("T")[0];
|
|
538
|
-
}
|
|
539
|
-
return dateString;
|
|
540
|
-
}
|
|
541
|
-
/**
|
|
542
|
-
* Set validation error on input and emit invalid event
|
|
543
|
-
*/
|
|
544
|
-
setInputValidationError(input, message) {
|
|
545
|
-
input.setCustomValidity(message);
|
|
546
|
-
requestAnimationFrame(() => {
|
|
547
|
-
;
|
|
548
|
-
input.validationErrorMessage = message;
|
|
549
|
-
input.requestUpdate();
|
|
550
|
-
});
|
|
551
|
-
this.emit("terra-date-selection-invalid", {
|
|
552
|
-
detail: { message }
|
|
553
|
-
});
|
|
554
|
-
}
|
|
555
|
-
handleInputBlur(event) {
|
|
556
|
-
const input = event.target;
|
|
557
|
-
const value = input.value || "";
|
|
558
|
-
if (!value.trim()) {
|
|
559
|
-
this.selectedStart = null;
|
|
560
|
-
this.selectedEnd = null;
|
|
561
|
-
input.setCustomValidity("");
|
|
562
|
-
this.emitChange();
|
|
563
|
-
return;
|
|
564
|
-
}
|
|
565
|
-
if (this.range) {
|
|
566
|
-
const parts = value.split(" - ");
|
|
567
|
-
if (parts.length !== 2) {
|
|
568
|
-
const message = "Date range must be in format: YYYY-MM-DD - YYYY-MM-DD";
|
|
569
|
-
this.setInputValidationError(input, message);
|
|
570
|
-
return;
|
|
571
|
-
}
|
|
572
|
-
const startFormatted = this.parseAndFormatDate(parts[0]);
|
|
573
|
-
const endFormatted = this.parseAndFormatDate(parts[1]);
|
|
574
|
-
if (!startFormatted) {
|
|
575
|
-
const message = "Invalid start date format";
|
|
576
|
-
this.setInputValidationError(input, message);
|
|
577
|
-
return;
|
|
578
|
-
}
|
|
579
|
-
if (!endFormatted) {
|
|
580
|
-
const message = "Invalid end date format";
|
|
581
|
-
this.setInputValidationError(input, message);
|
|
582
|
-
return;
|
|
583
|
-
}
|
|
584
|
-
let start;
|
|
585
|
-
let end;
|
|
586
|
-
if (this.enableTime && startFormatted.includes("T")) {
|
|
587
|
-
start = new Date(startFormatted);
|
|
588
|
-
this.initializeTimeFromDate(start, true);
|
|
589
|
-
} else if (this.enableTime) {
|
|
590
|
-
const [year, month, day] = startFormatted.split("-").map(Number);
|
|
591
|
-
start = new Date(
|
|
592
|
-
Date.UTC(
|
|
593
|
-
year,
|
|
594
|
-
month - 1,
|
|
595
|
-
day,
|
|
596
|
-
this.startHour,
|
|
597
|
-
this.startMinute,
|
|
598
|
-
this.startSecond
|
|
599
|
-
)
|
|
600
|
-
);
|
|
601
|
-
} else {
|
|
602
|
-
start = this.parseLocalDate(startFormatted);
|
|
603
|
-
}
|
|
604
|
-
if (this.enableTime && endFormatted.includes("T")) {
|
|
605
|
-
end = new Date(endFormatted);
|
|
606
|
-
this.initializeTimeFromDate(end, false);
|
|
607
|
-
} else if (this.enableTime) {
|
|
608
|
-
const [year, month, day] = endFormatted.split("-").map(Number);
|
|
609
|
-
end = new Date(
|
|
610
|
-
Date.UTC(
|
|
611
|
-
year,
|
|
612
|
-
month - 1,
|
|
613
|
-
day,
|
|
614
|
-
this.endHour,
|
|
615
|
-
this.endMinute,
|
|
616
|
-
this.endSecond
|
|
617
|
-
)
|
|
618
|
-
);
|
|
619
|
-
} else {
|
|
620
|
-
end = this.parseLocalDate(endFormatted);
|
|
621
|
-
}
|
|
622
|
-
let finalStart = start;
|
|
623
|
-
let finalEnd = end;
|
|
624
|
-
if (start > end) {
|
|
625
|
-
finalStart = end;
|
|
626
|
-
finalEnd = start;
|
|
627
|
-
}
|
|
628
|
-
if (this.minDate) {
|
|
629
|
-
const min = this.parseLocalDate(this.minDate);
|
|
630
|
-
if (finalStart < min) {
|
|
631
|
-
const message = `Start date must be on or after ${this.formatDateForError(this.minDate)}`;
|
|
632
|
-
this.setInputValidationError(input, message);
|
|
633
|
-
return;
|
|
634
|
-
}
|
|
635
|
-
}
|
|
636
|
-
if (this.maxDate) {
|
|
637
|
-
const max = this.parseLocalDate(this.maxDate);
|
|
638
|
-
if (finalEnd > max) {
|
|
639
|
-
const message = `End date must be on or before ${this.formatDateForError(this.maxDate)}`;
|
|
640
|
-
this.setInputValidationError(input, message);
|
|
641
|
-
return;
|
|
642
|
-
}
|
|
643
|
-
}
|
|
644
|
-
this.selectedStart = finalStart;
|
|
645
|
-
this.selectedEnd = finalEnd;
|
|
646
|
-
this.updateMonthViews();
|
|
647
|
-
input.value = `${startFormatted} - ${endFormatted}`;
|
|
648
|
-
input.setCustomValidity("");
|
|
649
|
-
this.emitChange();
|
|
650
|
-
} else {
|
|
651
|
-
const formatted = this.parseAndFormatDate(value);
|
|
652
|
-
if (!formatted) {
|
|
653
|
-
const message = "Invalid date format";
|
|
654
|
-
this.setInputValidationError(input, message);
|
|
655
|
-
return;
|
|
656
|
-
}
|
|
657
|
-
let date;
|
|
658
|
-
if (this.enableTime && formatted.includes("T")) {
|
|
659
|
-
date = new Date(formatted);
|
|
660
|
-
this.initializeTimeFromDate(date, true);
|
|
661
|
-
} else if (this.enableTime) {
|
|
662
|
-
const [year, month, day] = formatted.split("-").map(Number);
|
|
663
|
-
date = new Date(
|
|
664
|
-
Date.UTC(
|
|
665
|
-
year,
|
|
666
|
-
month - 1,
|
|
667
|
-
day,
|
|
668
|
-
this.startHour,
|
|
669
|
-
this.startMinute,
|
|
670
|
-
this.startSecond
|
|
671
|
-
)
|
|
672
|
-
);
|
|
673
|
-
} else {
|
|
674
|
-
date = this.parseLocalDate(formatted);
|
|
675
|
-
}
|
|
676
|
-
if (this.minDate) {
|
|
677
|
-
const min = this.parseLocalDate(this.minDate);
|
|
678
|
-
if (date < min) {
|
|
679
|
-
const message = `Date must be on or after ${this.formatDateForError(this.minDate)}`;
|
|
680
|
-
this.setInputValidationError(input, message);
|
|
681
|
-
return;
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
if (this.maxDate) {
|
|
685
|
-
const max = this.parseLocalDate(this.maxDate);
|
|
686
|
-
if (date > max) {
|
|
687
|
-
const message = `Date must be on or before ${this.formatDateForError(this.maxDate)}`;
|
|
688
|
-
this.setInputValidationError(input, message);
|
|
689
|
-
return;
|
|
690
|
-
}
|
|
691
|
-
}
|
|
692
|
-
this.selectedStart = date;
|
|
693
|
-
this.selectedEnd = null;
|
|
694
|
-
this.updateMonthViews();
|
|
695
|
-
input.value = formatted;
|
|
696
|
-
input.setCustomValidity("");
|
|
697
|
-
this.emitChange();
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
handleStartInputBlur(event) {
|
|
701
|
-
const input = event.target;
|
|
702
|
-
const value = input.value || "";
|
|
703
|
-
if (!value.trim()) {
|
|
704
|
-
this.selectedStart = null;
|
|
705
|
-
input.setCustomValidity("");
|
|
706
|
-
this.emitChange();
|
|
707
|
-
return;
|
|
708
|
-
}
|
|
709
|
-
const formatted = this.parseAndFormatDate(value);
|
|
710
|
-
if (!formatted) {
|
|
711
|
-
const message = "Invalid date format";
|
|
712
|
-
this.setInputValidationError(input, message);
|
|
713
|
-
return;
|
|
714
|
-
}
|
|
715
|
-
let date;
|
|
716
|
-
if (this.enableTime && formatted.includes("T")) {
|
|
717
|
-
date = new Date(formatted);
|
|
718
|
-
this.initializeTimeFromDate(date, true);
|
|
719
|
-
} else if (this.enableTime) {
|
|
720
|
-
const [year, month, day] = formatted.split("-").map(Number);
|
|
721
|
-
date = new Date(
|
|
722
|
-
Date.UTC(
|
|
723
|
-
year,
|
|
724
|
-
month - 1,
|
|
725
|
-
day,
|
|
726
|
-
this.startHour,
|
|
727
|
-
this.startMinute,
|
|
728
|
-
this.startSecond
|
|
729
|
-
)
|
|
730
|
-
);
|
|
731
|
-
} else {
|
|
732
|
-
date = this.parseLocalDate(formatted);
|
|
733
|
-
}
|
|
734
|
-
if (this.minDate) {
|
|
735
|
-
const min = this.parseLocalDate(this.minDate);
|
|
736
|
-
if (date < min) {
|
|
737
|
-
const message = `Date must be on or after ${this.formatDateForError(this.minDate)}`;
|
|
738
|
-
this.setInputValidationError(input, message);
|
|
739
|
-
return;
|
|
740
|
-
}
|
|
741
|
-
}
|
|
742
|
-
if (this.maxDate) {
|
|
743
|
-
const max = this.parseLocalDate(this.maxDate);
|
|
744
|
-
if (date > max) {
|
|
745
|
-
const message = `Date must be on or before ${this.formatDateForError(this.maxDate)}`;
|
|
746
|
-
this.setInputValidationError(input, message);
|
|
747
|
-
return;
|
|
748
|
-
}
|
|
749
|
-
}
|
|
750
|
-
if (this.selectedEnd && date > this.selectedEnd) {
|
|
751
|
-
const message = "Start date must be before end date";
|
|
752
|
-
this.setInputValidationError(input, message);
|
|
753
|
-
return;
|
|
754
|
-
}
|
|
755
|
-
this.selectedStart = date;
|
|
756
|
-
this.leftMonth = new Date(date);
|
|
757
|
-
input.value = formatted;
|
|
758
|
-
input.setCustomValidity("");
|
|
759
|
-
this.emitChange();
|
|
760
|
-
}
|
|
761
|
-
handleEndInputBlur(event) {
|
|
762
|
-
const input = event.target;
|
|
763
|
-
const value = input.value || "";
|
|
764
|
-
if (!value.trim()) {
|
|
765
|
-
this.selectedEnd = null;
|
|
766
|
-
input.setCustomValidity("");
|
|
767
|
-
this.emitChange();
|
|
768
|
-
return;
|
|
769
|
-
}
|
|
770
|
-
const formatted = this.parseAndFormatDate(value);
|
|
771
|
-
if (!formatted) {
|
|
772
|
-
const message = "Invalid date format";
|
|
773
|
-
this.setInputValidationError(input, message);
|
|
774
|
-
return;
|
|
775
|
-
}
|
|
776
|
-
let date;
|
|
777
|
-
if (this.enableTime && formatted.includes("T")) {
|
|
778
|
-
date = new Date(formatted);
|
|
779
|
-
this.initializeTimeFromDate(date, false);
|
|
780
|
-
} else if (this.enableTime) {
|
|
781
|
-
const [year, month, day] = formatted.split("-").map(Number);
|
|
782
|
-
date = new Date(
|
|
783
|
-
Date.UTC(
|
|
784
|
-
year,
|
|
785
|
-
month - 1,
|
|
786
|
-
day,
|
|
787
|
-
this.endHour,
|
|
788
|
-
this.endMinute,
|
|
789
|
-
this.endSecond
|
|
790
|
-
)
|
|
791
|
-
);
|
|
792
|
-
} else {
|
|
793
|
-
date = this.parseLocalDate(formatted);
|
|
794
|
-
}
|
|
795
|
-
if (this.minDate) {
|
|
796
|
-
const min = this.parseLocalDate(this.minDate);
|
|
797
|
-
if (date < min) {
|
|
798
|
-
const message = `Date must be on or after ${this.formatDateForError(this.minDate)}`;
|
|
799
|
-
this.setInputValidationError(input, message);
|
|
800
|
-
return;
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
if (this.maxDate) {
|
|
804
|
-
const max = this.parseLocalDate(this.maxDate);
|
|
805
|
-
if (date > max) {
|
|
806
|
-
const message = `Date must be on or before ${this.formatDateForError(this.maxDate)}`;
|
|
807
|
-
this.setInputValidationError(input, message);
|
|
808
|
-
return;
|
|
809
|
-
}
|
|
810
|
-
}
|
|
811
|
-
if (this.selectedStart) {
|
|
812
|
-
if (this.enableTime && this.isSameDay(date, this.selectedStart)) {
|
|
813
|
-
const startTimeSeconds = this.startHour * 3600 + this.startMinute * 60 + this.startSecond;
|
|
814
|
-
const endTimeSeconds = this.endHour * 3600 + this.endMinute * 60 + this.endSecond;
|
|
815
|
-
if (endTimeSeconds < startTimeSeconds) {
|
|
816
|
-
const message = "End time must be after start time when dates are the same";
|
|
817
|
-
this.setInputValidationError(input, message);
|
|
818
|
-
return;
|
|
819
|
-
}
|
|
820
|
-
} else if (date < this.selectedStart) {
|
|
821
|
-
const message = "End date must be after start date";
|
|
822
|
-
this.setInputValidationError(input, message);
|
|
823
|
-
return;
|
|
824
|
-
}
|
|
825
|
-
}
|
|
826
|
-
this.selectedEnd = date;
|
|
827
|
-
if (this.selectedStart && this.isSameMonth(this.selectedStart, this.selectedEnd)) {
|
|
828
|
-
this.rightMonth = new Date(this.selectedStart);
|
|
829
|
-
this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
|
|
830
|
-
} else {
|
|
831
|
-
this.rightMonth = new Date(date);
|
|
832
|
-
}
|
|
833
|
-
input.setCustomValidity("");
|
|
834
|
-
this.emitChange();
|
|
835
|
-
}
|
|
836
|
-
updateMonthViews() {
|
|
837
|
-
if (this.selectedStart) {
|
|
838
|
-
this.leftMonth = new Date(this.selectedStart);
|
|
839
|
-
if (this.range && this.selectedEnd) {
|
|
840
|
-
if (this.isSameMonth(this.selectedStart, this.selectedEnd)) {
|
|
841
|
-
this.rightMonth = new Date(this.selectedStart);
|
|
842
|
-
this.rightMonth.setMonth(this.rightMonth.getMonth() + 1);
|
|
843
|
-
} else {
|
|
844
|
-
this.rightMonth = new Date(this.selectedEnd);
|
|
845
|
-
}
|
|
846
|
-
}
|
|
847
|
-
}
|
|
848
|
-
}
|
|
849
|
-
handleKeydown(event) {
|
|
850
|
-
if (event.key === " ") {
|
|
851
|
-
event.stopPropagation();
|
|
852
|
-
return;
|
|
853
|
-
}
|
|
854
|
-
if (event.key === "Enter") {
|
|
855
|
-
event.preventDefault();
|
|
856
|
-
this.handleInputBlur(event);
|
|
857
|
-
}
|
|
858
|
-
}
|
|
859
|
-
previousMonth(isLeft) {
|
|
860
|
-
if (isLeft) {
|
|
861
|
-
const newMonth = new Date(this.leftMonth);
|
|
862
|
-
newMonth.setMonth(newMonth.getMonth() - 1);
|
|
863
|
-
this.leftMonth = newMonth;
|
|
864
|
-
} else {
|
|
865
|
-
const newMonth = new Date(this.rightMonth);
|
|
866
|
-
newMonth.setMonth(newMonth.getMonth() - 1);
|
|
867
|
-
this.rightMonth = newMonth;
|
|
868
|
-
}
|
|
869
|
-
}
|
|
870
|
-
nextMonth(isLeft) {
|
|
871
|
-
if (isLeft) {
|
|
872
|
-
const newMonth = new Date(this.leftMonth);
|
|
873
|
-
newMonth.setMonth(newMonth.getMonth() + 1);
|
|
874
|
-
this.leftMonth = newMonth;
|
|
875
|
-
} else {
|
|
876
|
-
const newMonth = new Date(this.rightMonth);
|
|
877
|
-
newMonth.setMonth(newMonth.getMonth() + 1);
|
|
878
|
-
this.rightMonth = newMonth;
|
|
879
|
-
}
|
|
880
|
-
}
|
|
881
|
-
toggleMonthDropdown(isLeft, event) {
|
|
882
|
-
event.stopPropagation();
|
|
883
|
-
if (isLeft) {
|
|
884
|
-
this.showLeftMonthDropdown = !this.showLeftMonthDropdown;
|
|
885
|
-
this.showRightMonthDropdown = false;
|
|
886
|
-
} else {
|
|
887
|
-
this.showRightMonthDropdown = !this.showRightMonthDropdown;
|
|
888
|
-
this.showLeftMonthDropdown = false;
|
|
889
|
-
}
|
|
890
|
-
}
|
|
891
|
-
selectMonth(month, isLeft) {
|
|
892
|
-
if (isLeft) {
|
|
893
|
-
const newMonth = new Date(this.leftMonth);
|
|
894
|
-
newMonth.setDate(1);
|
|
895
|
-
newMonth.setMonth(month);
|
|
896
|
-
this.leftMonth = newMonth;
|
|
897
|
-
this.showLeftMonthDropdown = false;
|
|
898
|
-
} else {
|
|
899
|
-
const newMonth = new Date(this.rightMonth);
|
|
900
|
-
newMonth.setDate(1);
|
|
901
|
-
newMonth.setMonth(month);
|
|
902
|
-
this.rightMonth = newMonth;
|
|
903
|
-
this.showRightMonthDropdown = false;
|
|
904
|
-
}
|
|
905
|
-
}
|
|
906
|
-
changeYear(delta, isLeft) {
|
|
907
|
-
if (isLeft) {
|
|
908
|
-
const newMonth = new Date(this.leftMonth);
|
|
909
|
-
newMonth.setFullYear(newMonth.getFullYear() + delta);
|
|
910
|
-
this.leftMonth = newMonth;
|
|
911
|
-
} else {
|
|
912
|
-
const newMonth = new Date(this.rightMonth);
|
|
913
|
-
newMonth.setFullYear(newMonth.getFullYear() + delta);
|
|
914
|
-
this.rightMonth = newMonth;
|
|
915
|
-
}
|
|
916
|
-
}
|
|
917
|
-
handleYearInput(event, isLeft) {
|
|
918
|
-
const input = event.target;
|
|
919
|
-
const year = parseInt(input.value, 10);
|
|
920
|
-
if (!isNaN(year) && year >= 1900 && year <= 2100) {
|
|
921
|
-
if (isLeft) {
|
|
922
|
-
const newMonth = new Date(this.leftMonth);
|
|
923
|
-
newMonth.setFullYear(year);
|
|
924
|
-
this.leftMonth = newMonth;
|
|
925
|
-
} else {
|
|
926
|
-
const newMonth = new Date(this.rightMonth);
|
|
927
|
-
newMonth.setFullYear(year);
|
|
928
|
-
this.rightMonth = newMonth;
|
|
929
|
-
}
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
getDaysInMonth(date) {
|
|
933
|
-
const year = date.getFullYear();
|
|
934
|
-
const month = date.getMonth();
|
|
935
|
-
const createDate = (y, m, d) => {
|
|
936
|
-
if (this.enableTime) {
|
|
937
|
-
return new Date(Date.UTC(y, m, d, 0, 0, 0));
|
|
938
|
-
}
|
|
939
|
-
return new Date(y, m, d);
|
|
940
|
-
};
|
|
941
|
-
const firstDay = createDate(year, month, 1);
|
|
942
|
-
const lastDay = new Date(year, month + 1, 0);
|
|
943
|
-
const days = [];
|
|
944
|
-
const firstDayOfWeek = this.enableTime ? firstDay.getUTCDay() : firstDay.getDay();
|
|
945
|
-
for (let i = firstDayOfWeek - 1; i >= 0; i--) {
|
|
946
|
-
const day = createDate(year, month, -i);
|
|
947
|
-
days.push(day);
|
|
948
|
-
}
|
|
949
|
-
for (let i = 1; i <= lastDay.getDate(); i++) {
|
|
950
|
-
days.push(createDate(year, month, i));
|
|
951
|
-
}
|
|
952
|
-
const remainingDays = 7 - days.length % 7;
|
|
953
|
-
if (remainingDays < 7) {
|
|
954
|
-
for (let i = 1; i <= remainingDays; i++) {
|
|
955
|
-
days.push(createDate(year, month + 1, i));
|
|
956
|
-
}
|
|
957
|
-
}
|
|
958
|
-
return days;
|
|
959
|
-
}
|
|
960
|
-
isSameDay(date1, date2) {
|
|
961
|
-
if (!date1 || !date2)
|
|
962
|
-
return false;
|
|
963
|
-
if (this.enableTime) {
|
|
964
|
-
return date1.getUTCFullYear() === date2.getUTCFullYear() && date1.getUTCMonth() === date2.getUTCMonth() && date1.getUTCDate() === date2.getUTCDate();
|
|
965
|
-
}
|
|
966
|
-
return date1.getFullYear() === date2.getFullYear() && date1.getMonth() === date2.getMonth() && date1.getDate() === date2.getDate();
|
|
967
|
-
}
|
|
968
|
-
isInRange(date) {
|
|
969
|
-
if (!this.selectedStart || !this.selectedEnd)
|
|
970
|
-
return false;
|
|
971
|
-
const time = date.getTime();
|
|
972
|
-
return time >= this.selectedStart.getTime() && time <= this.selectedEnd.getTime();
|
|
973
|
-
}
|
|
974
|
-
isInHoverRange(date) {
|
|
975
|
-
if (!this.range || !this.selectedStart || !this.hoverDate || this.selectedEnd)
|
|
976
|
-
return false;
|
|
977
|
-
const time = date.getTime();
|
|
978
|
-
const start = Math.min(this.selectedStart.getTime(), this.hoverDate.getTime());
|
|
979
|
-
const end = Math.max(this.selectedStart.getTime(), this.hoverDate.getTime());
|
|
980
|
-
return time >= start && time <= end;
|
|
981
|
-
}
|
|
982
|
-
isDisabled(date) {
|
|
983
|
-
if (this.minDate) {
|
|
984
|
-
const min = this.parseLocalDate(this.minDate);
|
|
985
|
-
const minMidnight = new Date(
|
|
986
|
-
Date.UTC(min.getUTCFullYear(), min.getUTCMonth(), min.getUTCDate())
|
|
987
|
-
);
|
|
988
|
-
const dateMidnight = new Date(
|
|
989
|
-
Date.UTC(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate())
|
|
990
|
-
);
|
|
991
|
-
if (dateMidnight < minMidnight)
|
|
992
|
-
return true;
|
|
993
|
-
}
|
|
994
|
-
if (this.maxDate) {
|
|
995
|
-
const max = this.parseLocalDate(this.maxDate);
|
|
996
|
-
const maxMidnight = new Date(
|
|
997
|
-
Date.UTC(max.getUTCFullYear(), max.getUTCMonth(), max.getUTCDate())
|
|
998
|
-
);
|
|
999
|
-
const dateMidnight = new Date(
|
|
1000
|
-
Date.UTC(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate())
|
|
1001
|
-
);
|
|
1002
|
-
if (dateMidnight > maxMidnight)
|
|
1003
|
-
return true;
|
|
1004
|
-
}
|
|
1005
|
-
return false;
|
|
1006
|
-
}
|
|
1007
|
-
selectDate(date) {
|
|
1008
|
-
if (this.isDisabled(date)) {
|
|
1009
|
-
this.emit("terra-date-selection-invalid", {
|
|
1010
|
-
detail: {
|
|
1011
|
-
message: `You are not allowed to select dates outside ${this.minDate} to ${this.maxDate}.`
|
|
1012
|
-
}
|
|
1013
|
-
});
|
|
1014
|
-
return;
|
|
1015
|
-
}
|
|
1016
|
-
this.clearInputValidation();
|
|
1017
|
-
if (this.range) {
|
|
1018
|
-
if (!this.selectedStart || this.selectedEnd) {
|
|
1019
|
-
this.selectedStart = date;
|
|
1020
|
-
this.selectedEnd = null;
|
|
1021
|
-
this.isSelectingRange = true;
|
|
1022
|
-
} else {
|
|
1023
|
-
if (date < this.selectedStart) {
|
|
1024
|
-
this.selectedEnd = this.selectedStart;
|
|
1025
|
-
this.selectedStart = date;
|
|
1026
|
-
} else {
|
|
1027
|
-
this.selectedEnd = date;
|
|
1028
|
-
}
|
|
1029
|
-
this.isSelectingRange = false;
|
|
1030
|
-
if (this.enableTime && this.selectedStart && this.selectedEnd && this.isSameDay(this.selectedStart, this.selectedEnd)) {
|
|
1031
|
-
const startTimeSeconds = this.startHour * 3600 + this.startMinute * 60 + this.startSecond;
|
|
1032
|
-
const endTimeSeconds = this.endHour * 3600 + this.endMinute * 60 + this.endSecond;
|
|
1033
|
-
if (endTimeSeconds < startTimeSeconds) {
|
|
1034
|
-
this.emit("terra-date-selection-invalid", {
|
|
1035
|
-
detail: {
|
|
1036
|
-
message: "End time is before start time. Please adjust the time values."
|
|
1037
|
-
}
|
|
1038
|
-
});
|
|
1039
|
-
}
|
|
1040
|
-
}
|
|
1041
|
-
this.emitChange();
|
|
1042
|
-
if (!this.inline) {
|
|
1043
|
-
this.isOpen = false;
|
|
1044
|
-
}
|
|
1045
|
-
}
|
|
1046
|
-
} else {
|
|
1047
|
-
this.selectedStart = date;
|
|
1048
|
-
this.selectedEnd = null;
|
|
1049
|
-
this.emitChange();
|
|
1050
|
-
if (!this.inline) {
|
|
1051
|
-
this.isOpen = false;
|
|
1052
|
-
}
|
|
1053
|
-
}
|
|
1054
|
-
}
|
|
1055
|
-
handleDateHover(date) {
|
|
1056
|
-
if (this.range && this.selectedStart && !this.selectedEnd) {
|
|
1057
|
-
this.hoverDate = date;
|
|
1058
|
-
}
|
|
1059
|
-
}
|
|
1060
|
-
selectPreset(preset) {
|
|
1061
|
-
const { startDate, endDate } = preset.getValue();
|
|
1062
|
-
if (!this.isPresetWithinBounds({ startDate, endDate })) {
|
|
1063
|
-
this.emit("terra-date-selection-invalid", {
|
|
1064
|
-
detail: {
|
|
1065
|
-
message: `The preset "${preset.label}" is not available within the allowed date range ${this.minDate} to ${this.maxDate}.`
|
|
1066
|
-
}
|
|
1067
|
-
});
|
|
1068
|
-
return;
|
|
1069
|
-
}
|
|
1070
|
-
this.clearInputValidation();
|
|
1071
|
-
const { min, max } = this.getBounds();
|
|
1072
|
-
if (this.range) {
|
|
1073
|
-
let s = startDate;
|
|
1074
|
-
let e = endDate;
|
|
1075
|
-
if (s && min && s < min)
|
|
1076
|
-
s = new Date(min);
|
|
1077
|
-
if (s && max && s > max)
|
|
1078
|
-
s = new Date(max);
|
|
1079
|
-
if (e && min && e < min)
|
|
1080
|
-
e = new Date(min);
|
|
1081
|
-
if (e && max && e > max)
|
|
1082
|
-
e = new Date(max);
|
|
1083
|
-
if (s && e && e < s) {
|
|
1084
|
-
const tmp = s;
|
|
1085
|
-
s = e;
|
|
1086
|
-
e = tmp;
|
|
1087
|
-
}
|
|
1088
|
-
this.selectedStart = s;
|
|
1089
|
-
this.selectedEnd = e;
|
|
1090
|
-
} else {
|
|
1091
|
-
let s = startDate;
|
|
1092
|
-
if (s && min && s < min)
|
|
1093
|
-
s = new Date(min);
|
|
1094
|
-
if (s && max && s > max)
|
|
1095
|
-
s = new Date(max);
|
|
1096
|
-
this.selectedStart = s;
|
|
1097
|
-
this.selectedEnd = null;
|
|
1098
|
-
}
|
|
1099
|
-
if (this.selectedStart) {
|
|
1100
|
-
this.leftMonth = new Date(this.selectedStart);
|
|
1101
|
-
if (this.range && this.selectedEnd) {
|
|
1102
|
-
this.rightMonth = new Date(this.selectedEnd);
|
|
1103
|
-
}
|
|
1104
|
-
}
|
|
1105
|
-
this.emitChange();
|
|
1106
|
-
if (!this.range && !this.inline) {
|
|
1107
|
-
this.isOpen = false;
|
|
1108
|
-
}
|
|
1109
|
-
}
|
|
1110
|
-
emitChange() {
|
|
1111
|
-
let startDateTime = "";
|
|
1112
|
-
let endDateTime = "";
|
|
1113
|
-
if (this.selectedStart) {
|
|
1114
|
-
if (this.enableTime) {
|
|
1115
|
-
const startDate = new Date(this.selectedStart);
|
|
1116
|
-
startDate.setUTCHours(
|
|
1117
|
-
this.startHour,
|
|
1118
|
-
this.startMinute,
|
|
1119
|
-
this.startSecond,
|
|
1120
|
-
0
|
|
1121
|
-
);
|
|
1122
|
-
startDateTime = startDate.toISOString();
|
|
1123
|
-
} else {
|
|
1124
|
-
const year = this.selectedStart.getFullYear();
|
|
1125
|
-
const month = String(this.selectedStart.getMonth() + 1).padStart(
|
|
1126
|
-
2,
|
|
1127
|
-
"0"
|
|
1128
|
-
);
|
|
1129
|
-
const day = String(this.selectedStart.getDate()).padStart(2, "0");
|
|
1130
|
-
startDateTime = `${year}-${month}-${day}`;
|
|
1131
|
-
}
|
|
1132
|
-
}
|
|
1133
|
-
if (this.selectedEnd) {
|
|
1134
|
-
if (this.enableTime) {
|
|
1135
|
-
const endDate = new Date(this.selectedEnd);
|
|
1136
|
-
endDate.setUTCHours(this.endHour, this.endMinute, this.endSecond, 0);
|
|
1137
|
-
endDateTime = endDate.toISOString();
|
|
1138
|
-
} else {
|
|
1139
|
-
const year = this.selectedEnd.getFullYear();
|
|
1140
|
-
const month = String(this.selectedEnd.getMonth() + 1).padStart(2, "0");
|
|
1141
|
-
const day = String(this.selectedEnd.getDate()).padStart(2, "0");
|
|
1142
|
-
endDateTime = `${year}-${month}-${day}`;
|
|
1143
|
-
}
|
|
1144
|
-
}
|
|
1145
|
-
this.emit("terra-date-range-change", {
|
|
1146
|
-
detail: {
|
|
1147
|
-
startDate: startDateTime,
|
|
1148
|
-
endDate: endDateTime
|
|
1149
|
-
}
|
|
1150
|
-
});
|
|
1151
|
-
}
|
|
1152
|
-
initializeTimeFromDate(date, isStart) {
|
|
1153
|
-
const hours = date.getUTCHours();
|
|
1154
|
-
const minutes = date.getUTCMinutes();
|
|
1155
|
-
const seconds = date.getUTCSeconds();
|
|
1156
|
-
if (isStart) {
|
|
1157
|
-
this.startHour = hours;
|
|
1158
|
-
this.startMinute = minutes;
|
|
1159
|
-
this.startSecond = seconds;
|
|
1160
|
-
} else {
|
|
1161
|
-
this.endHour = hours;
|
|
1162
|
-
this.endMinute = minutes;
|
|
1163
|
-
this.endSecond = seconds;
|
|
1164
|
-
}
|
|
1165
|
-
}
|
|
1166
|
-
changeTime(type, delta, isStart) {
|
|
1167
|
-
if (type === "hour") {
|
|
1168
|
-
if (isStart) {
|
|
1169
|
-
let newHour = this.startHour + delta;
|
|
1170
|
-
if (newHour > 23)
|
|
1171
|
-
newHour = 0;
|
|
1172
|
-
if (newHour < 0)
|
|
1173
|
-
newHour = 23;
|
|
1174
|
-
this.startHour = newHour;
|
|
1175
|
-
} else {
|
|
1176
|
-
let newHour = this.endHour + delta;
|
|
1177
|
-
if (newHour > 23)
|
|
1178
|
-
newHour = 0;
|
|
1179
|
-
if (newHour < 0)
|
|
1180
|
-
newHour = 23;
|
|
1181
|
-
this.endHour = newHour;
|
|
1182
|
-
}
|
|
1183
|
-
} else if (type === "minute") {
|
|
1184
|
-
if (isStart) {
|
|
1185
|
-
let newMinute = this.startMinute + delta;
|
|
1186
|
-
if (newMinute >= 60)
|
|
1187
|
-
newMinute = 0;
|
|
1188
|
-
if (newMinute < 0)
|
|
1189
|
-
newMinute = 59;
|
|
1190
|
-
this.startMinute = newMinute;
|
|
1191
|
-
} else {
|
|
1192
|
-
let newMinute = this.endMinute + delta;
|
|
1193
|
-
if (newMinute >= 60)
|
|
1194
|
-
newMinute = 0;
|
|
1195
|
-
if (newMinute < 0)
|
|
1196
|
-
newMinute = 59;
|
|
1197
|
-
this.endMinute = newMinute;
|
|
1198
|
-
}
|
|
1199
|
-
} else {
|
|
1200
|
-
if (isStart) {
|
|
1201
|
-
let newSecond = this.startSecond + delta;
|
|
1202
|
-
if (newSecond >= 60)
|
|
1203
|
-
newSecond = 0;
|
|
1204
|
-
if (newSecond < 0)
|
|
1205
|
-
newSecond = 59;
|
|
1206
|
-
this.startSecond = newSecond;
|
|
1207
|
-
} else {
|
|
1208
|
-
let newSecond = this.endSecond + delta;
|
|
1209
|
-
if (newSecond >= 60)
|
|
1210
|
-
newSecond = 0;
|
|
1211
|
-
if (newSecond < 0)
|
|
1212
|
-
newSecond = 59;
|
|
1213
|
-
this.endSecond = newSecond;
|
|
1214
|
-
}
|
|
1215
|
-
}
|
|
1216
|
-
this.emitChange();
|
|
1217
|
-
this.requestUpdate();
|
|
1218
|
-
}
|
|
1219
|
-
handleTimeInput(event, type, isStart) {
|
|
1220
|
-
const input = event.target;
|
|
1221
|
-
let value = parseInt(input.value, 10);
|
|
1222
|
-
if (type === "hour") {
|
|
1223
|
-
if (isNaN(value) || value < 0 || value > 23) {
|
|
1224
|
-
input.value = isStart ? this.startHour.toString().padStart(2, "0") : this.endHour.toString().padStart(2, "0");
|
|
1225
|
-
return;
|
|
1226
|
-
}
|
|
1227
|
-
if (isStart)
|
|
1228
|
-
this.startHour = value;
|
|
1229
|
-
else
|
|
1230
|
-
this.endHour = value;
|
|
1231
|
-
} else if (type === "minute") {
|
|
1232
|
-
if (isNaN(value) || value < 0 || value >= 60) {
|
|
1233
|
-
input.value = isStart ? this.startMinute.toString().padStart(2, "0") : this.endMinute.toString().padStart(2, "0");
|
|
1234
|
-
return;
|
|
1235
|
-
}
|
|
1236
|
-
if (isStart)
|
|
1237
|
-
this.startMinute = value;
|
|
1238
|
-
else
|
|
1239
|
-
this.endMinute = value;
|
|
1240
|
-
} else {
|
|
1241
|
-
if (isNaN(value) || value < 0 || value >= 60) {
|
|
1242
|
-
input.value = isStart ? this.startSecond.toString().padStart(2, "0") : this.endSecond.toString().padStart(2, "0");
|
|
1243
|
-
return;
|
|
1244
|
-
}
|
|
1245
|
-
if (isStart)
|
|
1246
|
-
this.startSecond = value;
|
|
1247
|
-
else
|
|
1248
|
-
this.endSecond = value;
|
|
1249
|
-
}
|
|
1250
|
-
this.emitChange();
|
|
1251
|
-
this.requestUpdate();
|
|
1252
|
-
}
|
|
1253
|
-
renderCalendar(month, isLeft = true) {
|
|
1254
|
-
const days = this.getDaysInMonth(month);
|
|
1255
|
-
const currentMonth = month.getMonth();
|
|
1256
|
-
const showDropdown = isLeft ? this.showLeftMonthDropdown : this.showRightMonthDropdown;
|
|
1257
|
-
return html`
|
|
1258
|
-
<div class="calendar">
|
|
1259
|
-
<div class="calendar__header">
|
|
1260
|
-
<button
|
|
1261
|
-
type="button"
|
|
1262
|
-
class="calendar__nav"
|
|
1263
|
-
@click=${() => this.previousMonth(isLeft)}
|
|
1264
|
-
>
|
|
1265
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none">
|
|
1266
|
-
<path
|
|
1267
|
-
d="M10 12L6 8L10 4"
|
|
1268
|
-
stroke="currentColor"
|
|
1269
|
-
stroke-width="2"
|
|
1270
|
-
stroke-linecap="round"
|
|
1271
|
-
stroke-linejoin="round"
|
|
1272
|
-
/>
|
|
1273
|
-
</svg>
|
|
1274
|
-
</button>
|
|
1275
|
-
|
|
1276
|
-
<div class="calendar__month-year">
|
|
1277
|
-
<div class="calendar__month-dropdown-wrapper">
|
|
1278
|
-
<button
|
|
1279
|
-
type="button"
|
|
1280
|
-
class="calendar__month-button"
|
|
1281
|
-
@click=${(e) => this.toggleMonthDropdown(isLeft, e)}
|
|
1282
|
-
>
|
|
1283
|
-
${this.MONTHS[month.getMonth()]}
|
|
1284
|
-
<svg
|
|
1285
|
-
width="12"
|
|
1286
|
-
height="12"
|
|
1287
|
-
viewBox="0 0 12 12"
|
|
1288
|
-
fill="none"
|
|
1289
|
-
class="calendar__month-icon"
|
|
1290
|
-
>
|
|
1291
|
-
<path
|
|
1292
|
-
d="M3 5L6 8L9 5"
|
|
1293
|
-
stroke="currentColor"
|
|
1294
|
-
stroke-width="1.5"
|
|
1295
|
-
stroke-linecap="round"
|
|
1296
|
-
stroke-linejoin="round"
|
|
1297
|
-
/>
|
|
1298
|
-
</svg>
|
|
1299
|
-
</button>
|
|
1300
|
-
|
|
1301
|
-
${showDropdown ? html`
|
|
1302
|
-
<div class="calendar__month-dropdown">
|
|
1303
|
-
${this.MONTHS.map(
|
|
1304
|
-
(monthName, index) => html`
|
|
1305
|
-
<button
|
|
1306
|
-
type="button"
|
|
1307
|
-
class="calendar__month-option ${index === month.getMonth() ? "calendar__month-option--selected" : ""}"
|
|
1308
|
-
@click=${() => this.selectMonth(
|
|
1309
|
-
index,
|
|
1310
|
-
isLeft
|
|
1311
|
-
)}
|
|
1312
|
-
>
|
|
1313
|
-
${index === month.getMonth() ? html`
|
|
1314
|
-
<svg
|
|
1315
|
-
width="16"
|
|
1316
|
-
height="16"
|
|
1317
|
-
viewBox="0 0 16 16"
|
|
1318
|
-
fill="none"
|
|
1319
|
-
class="calendar__month-check"
|
|
1320
|
-
>
|
|
1321
|
-
<path
|
|
1322
|
-
d="M13 4L6 11L3 8"
|
|
1323
|
-
stroke="currentColor"
|
|
1324
|
-
stroke-width="2"
|
|
1325
|
-
stroke-linecap="round"
|
|
1326
|
-
stroke-linejoin="round"
|
|
1327
|
-
/>
|
|
1328
|
-
</svg>
|
|
1329
|
-
` : ""}
|
|
1330
|
-
${monthName}
|
|
1331
|
-
</button>
|
|
1332
|
-
`
|
|
1333
|
-
)}
|
|
1334
|
-
</div>
|
|
1335
|
-
` : ""}
|
|
1336
|
-
</div>
|
|
1337
|
-
|
|
1338
|
-
<div class="calendar__year-input-wrapper">
|
|
1339
|
-
<input
|
|
1340
|
-
type="number"
|
|
1341
|
-
class="calendar__year-input"
|
|
1342
|
-
.value=${month.getFullYear().toString()}
|
|
1343
|
-
@input=${(e) => this.handleYearInput(e, isLeft)}
|
|
1344
|
-
@blur=${(e) => {
|
|
1345
|
-
const input = e.target;
|
|
1346
|
-
input.value = month.getFullYear().toString();
|
|
1347
|
-
}}
|
|
1348
|
-
min="1900"
|
|
1349
|
-
max="2100"
|
|
1350
|
-
/>
|
|
1351
|
-
<div class="calendar__year-spinners">
|
|
1352
|
-
<button
|
|
1353
|
-
type="button"
|
|
1354
|
-
class="calendar__year-spinner calendar__year-spinner--up"
|
|
1355
|
-
@click=${() => this.changeYear(1, isLeft)}
|
|
1356
|
-
>
|
|
1357
|
-
<svg
|
|
1358
|
-
width="10"
|
|
1359
|
-
height="10"
|
|
1360
|
-
viewBox="0 0 10 10"
|
|
1361
|
-
fill="none"
|
|
1362
|
-
>
|
|
1363
|
-
<path
|
|
1364
|
-
d="M2 6L5 3L8 6"
|
|
1365
|
-
stroke="currentColor"
|
|
1366
|
-
stroke-width="1.5"
|
|
1367
|
-
stroke-linecap="round"
|
|
1368
|
-
stroke-linejoin="round"
|
|
1369
|
-
/>
|
|
1370
|
-
</svg>
|
|
1371
|
-
</button>
|
|
1372
|
-
<button
|
|
1373
|
-
type="button"
|
|
1374
|
-
class="calendar__year-spinner calendar__year-spinner--down"
|
|
1375
|
-
@click=${() => this.changeYear(-1, isLeft)}
|
|
1376
|
-
>
|
|
1377
|
-
<svg
|
|
1378
|
-
width="10"
|
|
1379
|
-
height="10"
|
|
1380
|
-
viewBox="0 0 10 10"
|
|
1381
|
-
fill="none"
|
|
1382
|
-
>
|
|
1383
|
-
<path
|
|
1384
|
-
d="M2 4L5 7L8 4"
|
|
1385
|
-
stroke="currentColor"
|
|
1386
|
-
stroke-width="1.5"
|
|
1387
|
-
stroke-linecap="round"
|
|
1388
|
-
stroke-linejoin="round"
|
|
1389
|
-
/>
|
|
1390
|
-
</svg>
|
|
1391
|
-
</button>
|
|
1392
|
-
</div>
|
|
1393
|
-
</div>
|
|
1394
|
-
</div>
|
|
1395
|
-
|
|
1396
|
-
<button
|
|
1397
|
-
type="button"
|
|
1398
|
-
class="calendar__nav"
|
|
1399
|
-
@click=${() => this.nextMonth(isLeft)}
|
|
1400
|
-
>
|
|
1401
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none">
|
|
1402
|
-
<path
|
|
1403
|
-
d="M6 12L10 8L6 4"
|
|
1404
|
-
stroke="currentColor"
|
|
1405
|
-
stroke-width="2"
|
|
1406
|
-
stroke-linecap="round"
|
|
1407
|
-
stroke-linejoin="round"
|
|
1408
|
-
/>
|
|
1409
|
-
</svg>
|
|
1410
|
-
</button>
|
|
1411
|
-
</div>
|
|
1412
|
-
<div class="calendar__weekdays">
|
|
1413
|
-
${this.DAYS.map(
|
|
1414
|
-
(day) => html`<div class="calendar__weekday">${day}</div>`
|
|
1415
|
-
)}
|
|
1416
|
-
</div>
|
|
1417
|
-
<div class="calendar__days">
|
|
1418
|
-
${days.map((date) => {
|
|
1419
|
-
const dateMonth = this.enableTime ? date.getUTCMonth() : date.getMonth();
|
|
1420
|
-
const dateDay = this.enableTime ? date.getUTCDate() : date.getDate();
|
|
1421
|
-
const isCurrentMonth = dateMonth === currentMonth;
|
|
1422
|
-
const isSelected = this.isSameDay(date, this.selectedStart) || this.isSameDay(date, this.selectedEnd);
|
|
1423
|
-
const isStart = this.isSameDay(date, this.selectedStart);
|
|
1424
|
-
const isEnd = this.isSameDay(date, this.selectedEnd);
|
|
1425
|
-
const inRange = this.isInRange(date);
|
|
1426
|
-
const inHoverRange = this.isInHoverRange(date);
|
|
1427
|
-
const isDisabled = this.isDisabled(date);
|
|
1428
|
-
return html`
|
|
1429
|
-
<button
|
|
1430
|
-
type="button"
|
|
1431
|
-
class="calendar__day ${!isCurrentMonth ? "calendar__day--outside" : ""}
|
|
1432
|
-
${isSelected ? "calendar__day--selected" : ""}
|
|
1433
|
-
${isStart ? "calendar__day--start" : ""}
|
|
1434
|
-
${isEnd ? "calendar__day--end" : ""}
|
|
1435
|
-
${inRange ? "calendar__day--in-range" : ""}
|
|
1436
|
-
${inHoverRange ? "calendar__day--hover-range" : ""}
|
|
1437
|
-
${isDisabled ? "calendar__day--disabled" : ""}"
|
|
1438
|
-
@click=${() => this.selectDate(date)}
|
|
1439
|
-
@mouseenter=${() => this.handleDateHover(date)}
|
|
1440
|
-
?disabled=${isDisabled}
|
|
1441
|
-
>
|
|
1442
|
-
${dateDay}
|
|
1443
|
-
</button>
|
|
1444
|
-
`;
|
|
1445
|
-
})}
|
|
1446
|
-
</div>
|
|
1447
|
-
</div>
|
|
1448
|
-
`;
|
|
1449
|
-
}
|
|
1450
|
-
renderTimePicker() {
|
|
1451
|
-
if (!this.enableTime)
|
|
1452
|
-
return "";
|
|
1453
|
-
return html`
|
|
1454
|
-
<div class="date-picker__time">
|
|
1455
|
-
<div class="date-picker__time-section">
|
|
1456
|
-
<div class="date-picker__time-inputs">
|
|
1457
|
-
<div class="date-picker__time-input-group">
|
|
1458
|
-
<input
|
|
1459
|
-
type="number"
|
|
1460
|
-
class="date-picker__time-input"
|
|
1461
|
-
.value=${this.startHour.toString().padStart(2, "0")}
|
|
1462
|
-
@input=${(e) => this.handleTimeInput(e, "hour", true)}
|
|
1463
|
-
@blur=${(e) => {
|
|
1464
|
-
const input = e.target;
|
|
1465
|
-
input.value = this.startHour.toString().padStart(2, "0");
|
|
1466
|
-
}}
|
|
1467
|
-
min="0"
|
|
1468
|
-
max="23"
|
|
1469
|
-
/>
|
|
1470
|
-
<div class="date-picker__time-spinners">
|
|
1471
|
-
<button
|
|
1472
|
-
type="button"
|
|
1473
|
-
class="date-picker__time-spinner"
|
|
1474
|
-
@click=${() => this.changeTime("hour", 1, true)}
|
|
1475
|
-
>
|
|
1476
|
-
<svg
|
|
1477
|
-
width="10"
|
|
1478
|
-
height="10"
|
|
1479
|
-
viewBox="0 0 10 10"
|
|
1480
|
-
fill="none"
|
|
1481
|
-
>
|
|
1482
|
-
<path
|
|
1483
|
-
d="M2 6L5 3L8 6"
|
|
1484
|
-
stroke="currentColor"
|
|
1485
|
-
stroke-width="1.5"
|
|
1486
|
-
stroke-linecap="round"
|
|
1487
|
-
stroke-linejoin="round"
|
|
1488
|
-
/>
|
|
1489
|
-
</svg>
|
|
1490
|
-
</button>
|
|
1491
|
-
<button
|
|
1492
|
-
type="button"
|
|
1493
|
-
class="date-picker__time-spinner"
|
|
1494
|
-
@click=${() => this.changeTime("hour", -1, true)}
|
|
1495
|
-
>
|
|
1496
|
-
<svg
|
|
1497
|
-
width="10"
|
|
1498
|
-
height="10"
|
|
1499
|
-
viewBox="0 0 10 10"
|
|
1500
|
-
fill="none"
|
|
1501
|
-
>
|
|
1502
|
-
<path
|
|
1503
|
-
d="M2 4L5 7L8 4"
|
|
1504
|
-
stroke="currentColor"
|
|
1505
|
-
stroke-width="1.5"
|
|
1506
|
-
stroke-linecap="round"
|
|
1507
|
-
stroke-linejoin="round"
|
|
1508
|
-
/>
|
|
1509
|
-
</svg>
|
|
1510
|
-
</button>
|
|
1511
|
-
</div>
|
|
1512
|
-
</div>
|
|
1513
|
-
|
|
1514
|
-
<span class="date-picker__time-separator">:</span>
|
|
1515
|
-
|
|
1516
|
-
<div class="date-picker__time-input-group">
|
|
1517
|
-
<input
|
|
1518
|
-
type="number"
|
|
1519
|
-
class="date-picker__time-input"
|
|
1520
|
-
.value=${this.startMinute.toString().padStart(2, "0")}
|
|
1521
|
-
@input=${(e) => this.handleTimeInput(e, "minute", true)}
|
|
1522
|
-
@blur=${(e) => {
|
|
1523
|
-
const input = e.target;
|
|
1524
|
-
input.value = this.startMinute.toString().padStart(2, "0");
|
|
1525
|
-
}}
|
|
1526
|
-
min="0"
|
|
1527
|
-
max="59"
|
|
1528
|
-
/>
|
|
1529
|
-
<div class="date-picker__time-spinners">
|
|
1530
|
-
<button
|
|
1531
|
-
type="button"
|
|
1532
|
-
class="date-picker__time-spinner"
|
|
1533
|
-
@click=${() => this.changeTime("minute", 1, true)}
|
|
1534
|
-
>
|
|
1535
|
-
<svg
|
|
1536
|
-
width="10"
|
|
1537
|
-
height="10"
|
|
1538
|
-
viewBox="0 0 10 10"
|
|
1539
|
-
fill="none"
|
|
1540
|
-
>
|
|
1541
|
-
<path
|
|
1542
|
-
d="M2 6L5 3L8 6"
|
|
1543
|
-
stroke="currentColor"
|
|
1544
|
-
stroke-width="1.5"
|
|
1545
|
-
stroke-linecap="round"
|
|
1546
|
-
stroke-linejoin="round"
|
|
1547
|
-
/>
|
|
1548
|
-
</svg>
|
|
1549
|
-
</button>
|
|
1550
|
-
<button
|
|
1551
|
-
type="button"
|
|
1552
|
-
class="date-picker__time-spinner"
|
|
1553
|
-
@click=${() => this.changeTime("minute", -1, true)}
|
|
1554
|
-
>
|
|
1555
|
-
<svg
|
|
1556
|
-
width="10"
|
|
1557
|
-
height="10"
|
|
1558
|
-
viewBox="0 0 10 10"
|
|
1559
|
-
fill="none"
|
|
1560
|
-
>
|
|
1561
|
-
<path
|
|
1562
|
-
d="M2 4L5 7L8 4"
|
|
1563
|
-
stroke="currentColor"
|
|
1564
|
-
stroke-width="1.5"
|
|
1565
|
-
stroke-linecap="round"
|
|
1566
|
-
stroke-linejoin="round"
|
|
1567
|
-
/>
|
|
1568
|
-
</svg>
|
|
1569
|
-
</button>
|
|
1570
|
-
</div>
|
|
1571
|
-
</div>
|
|
1572
|
-
|
|
1573
|
-
<span class="date-picker__time-separator">:</span>
|
|
1574
|
-
|
|
1575
|
-
<div class="date-picker__time-input-group">
|
|
1576
|
-
<input
|
|
1577
|
-
type="number"
|
|
1578
|
-
class="date-picker__time-input"
|
|
1579
|
-
.value=${this.startSecond.toString().padStart(2, "0")}
|
|
1580
|
-
@input=${(e) => this.handleTimeInput(e, "second", true)}
|
|
1581
|
-
@blur=${(e) => {
|
|
1582
|
-
const input = e.target;
|
|
1583
|
-
input.value = this.startSecond.toString().padStart(2, "0");
|
|
1584
|
-
}}
|
|
1585
|
-
min="0"
|
|
1586
|
-
max="59"
|
|
1587
|
-
/>
|
|
1588
|
-
<div class="date-picker__time-spinners">
|
|
1589
|
-
<button
|
|
1590
|
-
type="button"
|
|
1591
|
-
class="date-picker__time-spinner"
|
|
1592
|
-
@click=${() => this.changeTime("second", 1, true)}
|
|
1593
|
-
>
|
|
1594
|
-
<svg
|
|
1595
|
-
width="10"
|
|
1596
|
-
height="10"
|
|
1597
|
-
viewBox="0 0 10 10"
|
|
1598
|
-
fill="none"
|
|
1599
|
-
>
|
|
1600
|
-
<path
|
|
1601
|
-
d="M2 6L5 3L8 6"
|
|
1602
|
-
stroke="currentColor"
|
|
1603
|
-
stroke-width="1.5"
|
|
1604
|
-
stroke-linecap="round"
|
|
1605
|
-
stroke-linejoin="round"
|
|
1606
|
-
/>
|
|
1607
|
-
</svg>
|
|
1608
|
-
</button>
|
|
1609
|
-
<button
|
|
1610
|
-
type="button"
|
|
1611
|
-
class="date-picker__time-spinner"
|
|
1612
|
-
@click=${() => this.changeTime("second", -1, true)}
|
|
1613
|
-
>
|
|
1614
|
-
<svg
|
|
1615
|
-
width="10"
|
|
1616
|
-
height="10"
|
|
1617
|
-
viewBox="0 0 10 10"
|
|
1618
|
-
fill="none"
|
|
1619
|
-
>
|
|
1620
|
-
<path
|
|
1621
|
-
d="M2 4L5 7L8 4"
|
|
1622
|
-
stroke="currentColor"
|
|
1623
|
-
stroke-width="1.5"
|
|
1624
|
-
stroke-linecap="round"
|
|
1625
|
-
stroke-linejoin="round"
|
|
1626
|
-
/>
|
|
1627
|
-
</svg>
|
|
1628
|
-
</button>
|
|
1629
|
-
</div>
|
|
1630
|
-
</div>
|
|
1631
|
-
</div>
|
|
1632
|
-
</div>
|
|
1633
|
-
|
|
1634
|
-
${this.range ? html`
|
|
1635
|
-
<span class="date-picker__separator">–</span>
|
|
1636
|
-
|
|
1637
|
-
<div class="date-picker__time-section">
|
|
1638
|
-
<div class="date-picker__time-inputs">
|
|
1639
|
-
<div class="date-picker__time-input-group">
|
|
1640
|
-
<input
|
|
1641
|
-
type="number"
|
|
1642
|
-
class="date-picker__time-input"
|
|
1643
|
-
.value=${this.endHour.toString().padStart(2, "0")}
|
|
1644
|
-
@input=${(e) => this.handleTimeInput(e, "hour", false)}
|
|
1645
|
-
@blur=${(e) => {
|
|
1646
|
-
const input = e.target;
|
|
1647
|
-
input.value = this.endHour.toString().padStart(2, "0");
|
|
1648
|
-
}}
|
|
1649
|
-
min="0"
|
|
1650
|
-
max="23"
|
|
1651
|
-
/>
|
|
1652
|
-
<div class="date-picker__time-spinners">
|
|
1653
|
-
<button
|
|
1654
|
-
type="button"
|
|
1655
|
-
class="date-picker__time-spinner"
|
|
1656
|
-
@click=${() => this.changeTime("hour", 1, false)}
|
|
1657
|
-
>
|
|
1658
|
-
<svg
|
|
1659
|
-
width="10"
|
|
1660
|
-
height="10"
|
|
1661
|
-
viewBox="0 0 10 10"
|
|
1662
|
-
fill="none"
|
|
1663
|
-
>
|
|
1664
|
-
<path
|
|
1665
|
-
d="M2 6L5 3L8 6"
|
|
1666
|
-
stroke="currentColor"
|
|
1667
|
-
stroke-width="1.5"
|
|
1668
|
-
stroke-linecap="round"
|
|
1669
|
-
stroke-linejoin="round"
|
|
1670
|
-
/>
|
|
1671
|
-
</svg>
|
|
1672
|
-
</button>
|
|
1673
|
-
<button
|
|
1674
|
-
type="button"
|
|
1675
|
-
class="date-picker__time-spinner"
|
|
1676
|
-
@click=${() => this.changeTime("hour", -1, false)}
|
|
1677
|
-
>
|
|
1678
|
-
<svg
|
|
1679
|
-
width="10"
|
|
1680
|
-
height="10"
|
|
1681
|
-
viewBox="0 0 10 10"
|
|
1682
|
-
fill="none"
|
|
1683
|
-
>
|
|
1684
|
-
<path
|
|
1685
|
-
d="M2 4L5 7L8 4"
|
|
1686
|
-
stroke="currentColor"
|
|
1687
|
-
stroke-width="1.5"
|
|
1688
|
-
stroke-linecap="round"
|
|
1689
|
-
stroke-linejoin="round"
|
|
1690
|
-
/>
|
|
1691
|
-
</svg>
|
|
1692
|
-
</button>
|
|
1693
|
-
</div>
|
|
1694
|
-
</div>
|
|
1695
|
-
|
|
1696
|
-
<span class="date-picker__time-separator">:</span>
|
|
1697
|
-
|
|
1698
|
-
<div class="date-picker__time-input-group">
|
|
1699
|
-
<input
|
|
1700
|
-
type="number"
|
|
1701
|
-
class="date-picker__time-input"
|
|
1702
|
-
.value=${this.endMinute.toString().padStart(2, "0")}
|
|
1703
|
-
@input=${(e) => this.handleTimeInput(
|
|
1704
|
-
e,
|
|
1705
|
-
"minute",
|
|
1706
|
-
false
|
|
1707
|
-
)}
|
|
1708
|
-
@blur=${(e) => {
|
|
1709
|
-
const input = e.target;
|
|
1710
|
-
input.value = this.endMinute.toString().padStart(2, "0");
|
|
1711
|
-
}}
|
|
1712
|
-
min="0"
|
|
1713
|
-
max="59"
|
|
1714
|
-
/>
|
|
1715
|
-
<div class="date-picker__time-spinners">
|
|
1716
|
-
<button
|
|
1717
|
-
type="button"
|
|
1718
|
-
class="date-picker__time-spinner"
|
|
1719
|
-
@click=${() => this.changeTime("minute", 1, false)}
|
|
1720
|
-
>
|
|
1721
|
-
<svg
|
|
1722
|
-
width="10"
|
|
1723
|
-
height="10"
|
|
1724
|
-
viewBox="0 0 10 10"
|
|
1725
|
-
fill="none"
|
|
1726
|
-
>
|
|
1727
|
-
<path
|
|
1728
|
-
d="M2 6L5 3L8 6"
|
|
1729
|
-
stroke="currentColor"
|
|
1730
|
-
stroke-width="1.5"
|
|
1731
|
-
stroke-linecap="round"
|
|
1732
|
-
stroke-linejoin="round"
|
|
1733
|
-
/>
|
|
1734
|
-
</svg>
|
|
1735
|
-
</button>
|
|
1736
|
-
<button
|
|
1737
|
-
type="button"
|
|
1738
|
-
class="date-picker__time-spinner"
|
|
1739
|
-
@click=${() => this.changeTime(
|
|
1740
|
-
"minute",
|
|
1741
|
-
-1,
|
|
1742
|
-
false
|
|
1743
|
-
)}
|
|
1744
|
-
>
|
|
1745
|
-
<svg
|
|
1746
|
-
width="10"
|
|
1747
|
-
height="10"
|
|
1748
|
-
viewBox="0 0 10 10"
|
|
1749
|
-
fill="none"
|
|
1750
|
-
>
|
|
1751
|
-
<path
|
|
1752
|
-
d="M2 4L5 7L8 4"
|
|
1753
|
-
stroke="currentColor"
|
|
1754
|
-
stroke-width="1.5"
|
|
1755
|
-
stroke-linecap="round"
|
|
1756
|
-
stroke-linejoin="round"
|
|
1757
|
-
/>
|
|
1758
|
-
</svg>
|
|
1759
|
-
</button>
|
|
1760
|
-
</div>
|
|
1761
|
-
</div>
|
|
1762
|
-
|
|
1763
|
-
<span class="date-picker__time-separator">:</span>
|
|
1764
|
-
|
|
1765
|
-
<div class="date-picker__time-input-group">
|
|
1766
|
-
<input
|
|
1767
|
-
type="number"
|
|
1768
|
-
class="date-picker__time-input"
|
|
1769
|
-
.value=${this.endSecond.toString().padStart(2, "0")}
|
|
1770
|
-
@input=${(e) => this.handleTimeInput(
|
|
1771
|
-
e,
|
|
1772
|
-
"second",
|
|
1773
|
-
false
|
|
1774
|
-
)}
|
|
1775
|
-
@blur=${(e) => {
|
|
1776
|
-
const input = e.target;
|
|
1777
|
-
input.value = this.endSecond.toString().padStart(2, "0");
|
|
1778
|
-
}}
|
|
1779
|
-
min="0"
|
|
1780
|
-
max="59"
|
|
1781
|
-
/>
|
|
1782
|
-
<div class="date-picker__time-spinners">
|
|
1783
|
-
<button
|
|
1784
|
-
type="button"
|
|
1785
|
-
class="date-picker__time-spinner"
|
|
1786
|
-
@click=${() => this.changeTime("second", 1, false)}
|
|
1787
|
-
>
|
|
1788
|
-
<svg
|
|
1789
|
-
width="10"
|
|
1790
|
-
height="10"
|
|
1791
|
-
viewBox="0 0 10 10"
|
|
1792
|
-
fill="none"
|
|
1793
|
-
>
|
|
1794
|
-
<path
|
|
1795
|
-
d="M2 6L5 3L8 6"
|
|
1796
|
-
stroke="currentColor"
|
|
1797
|
-
stroke-width="1.5"
|
|
1798
|
-
stroke-linecap="round"
|
|
1799
|
-
stroke-linejoin="round"
|
|
1800
|
-
/>
|
|
1801
|
-
</svg>
|
|
1802
|
-
</button>
|
|
1803
|
-
<button
|
|
1804
|
-
type="button"
|
|
1805
|
-
class="date-picker__time-spinner"
|
|
1806
|
-
@click=${() => this.changeTime(
|
|
1807
|
-
"second",
|
|
1808
|
-
-1,
|
|
1809
|
-
false
|
|
1810
|
-
)}
|
|
1811
|
-
>
|
|
1812
|
-
<svg
|
|
1813
|
-
width="10"
|
|
1814
|
-
height="10"
|
|
1815
|
-
viewBox="0 0 10 10"
|
|
1816
|
-
fill="none"
|
|
1817
|
-
>
|
|
1818
|
-
<path
|
|
1819
|
-
d="M2 4L5 7L8 4"
|
|
1820
|
-
stroke="currentColor"
|
|
1821
|
-
stroke-width="1.5"
|
|
1822
|
-
stroke-linecap="round"
|
|
1823
|
-
stroke-linejoin="round"
|
|
1824
|
-
/>
|
|
1825
|
-
</svg>
|
|
1826
|
-
</button>
|
|
1827
|
-
</div>
|
|
1828
|
-
</div>
|
|
1829
|
-
</div>
|
|
1830
|
-
</div>
|
|
1831
|
-
` : ""}
|
|
1832
|
-
</div>
|
|
1833
|
-
`;
|
|
1834
|
-
}
|
|
1835
|
-
renderCalendarIcon() {
|
|
1836
|
-
return html`
|
|
1837
|
-
<svg
|
|
1838
|
-
slot="suffix"
|
|
1839
|
-
class="date-picker__icon"
|
|
1840
|
-
width="20"
|
|
1841
|
-
height="20"
|
|
1842
|
-
viewBox="0 0 24 24"
|
|
1843
|
-
fill="none"
|
|
1844
|
-
stroke="currentColor"
|
|
1845
|
-
stroke-width="2"
|
|
1846
|
-
>
|
|
1847
|
-
<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect>
|
|
1848
|
-
<line x1="16" y1="2" x2="16" y2="6"></line>
|
|
1849
|
-
<line x1="8" y1="2" x2="8" y2="6"></line>
|
|
1850
|
-
<line x1="3" y1="10" x2="21" y2="10"></line>
|
|
1851
|
-
</svg>
|
|
1852
|
-
`;
|
|
1853
|
-
}
|
|
1854
|
-
renderCalendarContent() {
|
|
1855
|
-
return html`
|
|
1856
|
-
<div class="date-picker__dropdown" part="calendar">
|
|
1857
|
-
<div class="date-picker__content">
|
|
1858
|
-
${this.showPresets && this.filteredPresets.length > 0 ? html`
|
|
1859
|
-
<div class="date-picker__sidebar" part="sidebar">
|
|
1860
|
-
<slot name="sidebar-header"></slot>
|
|
1861
|
-
|
|
1862
|
-
<div class="presets">
|
|
1863
|
-
${this.filteredPresets.map(
|
|
1864
|
-
(preset) => html`
|
|
1865
|
-
<button
|
|
1866
|
-
type="button"
|
|
1867
|
-
class="date-picker__preset"
|
|
1868
|
-
@click=${() => this.selectPreset(preset)}
|
|
1869
|
-
>
|
|
1870
|
-
${preset.label}
|
|
1871
|
-
</button>
|
|
1872
|
-
`
|
|
1873
|
-
)}
|
|
1874
|
-
</div>
|
|
1875
|
-
|
|
1876
|
-
<slot name="sidebar-footer">
|
|
1877
|
-
<terra-button
|
|
1878
|
-
outline
|
|
1879
|
-
variant="default"
|
|
1880
|
-
size="small"
|
|
1881
|
-
@click=${() => this.clear()}
|
|
1882
|
-
>
|
|
1883
|
-
${this.clearAllLabel}
|
|
1884
|
-
</terra-button>
|
|
1885
|
-
</slot>
|
|
1886
|
-
</div>
|
|
1887
|
-
` : ""}
|
|
1888
|
-
|
|
1889
|
-
<div class="date-picker__calendars">
|
|
1890
|
-
${this.renderCalendar(this.leftMonth, true)}
|
|
1891
|
-
${this.range ? this.renderCalendar(this.rightMonth, false) : ""}
|
|
1892
|
-
</div>
|
|
1893
|
-
</div>
|
|
1894
|
-
|
|
1895
|
-
${this.enableTime ? this.renderTimePicker() : ""}
|
|
1896
|
-
</div>
|
|
1897
|
-
`;
|
|
1898
|
-
}
|
|
1899
|
-
render() {
|
|
1900
|
-
const showSplitInputs = this.range && this.splitInputs;
|
|
1901
|
-
if (this.inline) {
|
|
1902
|
-
return html`
|
|
1903
|
-
<div
|
|
1904
|
-
class="date-picker date-picker--inline ${showSplitInputs ? "date-picker--split-inputs" : ""}"
|
|
1905
|
-
@click=${(e) => e.stopPropagation()}
|
|
1906
|
-
>
|
|
1907
|
-
${showSplitInputs ? html`
|
|
1908
|
-
<div class="date-picker__inputs">
|
|
1909
|
-
<terra-input
|
|
1910
|
-
.label=${this.startLabel || (this.label ? `${this.label} (Start)` : "Start Date")}
|
|
1911
|
-
.hideLabel=${this.hideLabel}
|
|
1912
|
-
.helpText=${this.startHelpText || this.helpText}
|
|
1913
|
-
.value=${this.getStartDateDisplayValue()}
|
|
1914
|
-
@terra-blur=${this.handleStartInputBlur}
|
|
1915
|
-
@keydown=${this.handleKeydown}
|
|
1916
|
-
placeholder=${this.startPlaceholder}
|
|
1917
|
-
name="start-date"
|
|
1918
|
-
>
|
|
1919
|
-
${this.renderCalendarIcon()}
|
|
1920
|
-
</terra-input>
|
|
1921
|
-
<terra-input
|
|
1922
|
-
.label=${this.endLabel || (this.label ? `${this.label} (End)` : "End Date")}
|
|
1923
|
-
.hideLabel=${this.hideLabel}
|
|
1924
|
-
.helpText=${this.endHelpText || this.helpText}
|
|
1925
|
-
.value=${this.getEndDateDisplayValue()}
|
|
1926
|
-
@terra-blur=${this.handleEndInputBlur}
|
|
1927
|
-
@keydown=${this.handleKeydown}
|
|
1928
|
-
placeholder=${this.endPlaceholder}
|
|
1929
|
-
name="end-date"
|
|
1930
|
-
>
|
|
1931
|
-
${this.renderCalendarIcon()}
|
|
1932
|
-
</terra-input>
|
|
1933
|
-
</div>
|
|
1934
|
-
` : html`
|
|
1935
|
-
<terra-input
|
|
1936
|
-
.label=${this.label}
|
|
1937
|
-
.hideLabel=${this.hideLabel}
|
|
1938
|
-
.helpText=${this.helpText}
|
|
1939
|
-
.value=${this.getDisplayValue()}
|
|
1940
|
-
placeholder=${this.placeholder}
|
|
1941
|
-
@terra-blur=${this.handleInputBlur}
|
|
1942
|
-
@keydown=${this.handleKeydown}
|
|
1943
|
-
name="date"
|
|
1944
|
-
>
|
|
1945
|
-
${this.renderCalendarIcon()}
|
|
1946
|
-
</terra-input>
|
|
1947
|
-
`}
|
|
1948
|
-
|
|
1949
|
-
<slot name="additional-text"></slot>
|
|
1950
|
-
|
|
1951
|
-
<div class="date-picker__dropdown-wrapper">
|
|
1952
|
-
<div
|
|
1953
|
-
class="date-picker__dropdown date-picker__dropdown--inline"
|
|
1954
|
-
part="calendar"
|
|
1955
|
-
>
|
|
1956
|
-
<div class="date-picker__content">
|
|
1957
|
-
${this.showPresets && this.filteredPresets.length > 0 ? html`
|
|
1958
|
-
<div
|
|
1959
|
-
class="date-picker__sidebar"
|
|
1960
|
-
part="sidebar"
|
|
1961
|
-
>
|
|
1962
|
-
<slot name="sidebar-header"></slot>
|
|
1963
|
-
|
|
1964
|
-
<div class="presets">
|
|
1965
|
-
${this.filteredPresets.map(
|
|
1966
|
-
(preset) => html`
|
|
1967
|
-
<button
|
|
1968
|
-
type="button"
|
|
1969
|
-
class="date-picker__preset"
|
|
1970
|
-
@click=${() => this.selectPreset(
|
|
1971
|
-
preset
|
|
1972
|
-
)}
|
|
1973
|
-
>
|
|
1974
|
-
${preset.label}
|
|
1975
|
-
</button>
|
|
1976
|
-
`
|
|
1977
|
-
)}
|
|
1978
|
-
</div>
|
|
1979
|
-
|
|
1980
|
-
<slot name="sidebar-footer">
|
|
1981
|
-
<terra-button
|
|
1982
|
-
outline
|
|
1983
|
-
variant="default"
|
|
1984
|
-
size="small"
|
|
1985
|
-
@click=${() => this.clear()}
|
|
1986
|
-
>
|
|
1987
|
-
${this.clearAllLabel}
|
|
1988
|
-
</terra-button>
|
|
1989
|
-
</slot>
|
|
1990
|
-
</div>
|
|
1991
|
-
` : ""}
|
|
1992
|
-
|
|
1993
|
-
<div class="date-picker__calendars">
|
|
1994
|
-
${this.renderCalendar(this.leftMonth, true)}
|
|
1995
|
-
${this.range ? this.renderCalendar(this.rightMonth, false) : ""}
|
|
1996
|
-
</div>
|
|
1997
|
-
</div>
|
|
1998
|
-
|
|
1999
|
-
${this.enableTime ? this.renderTimePicker() : ""}
|
|
2000
|
-
</div>
|
|
2001
|
-
</div>
|
|
2002
|
-
</div>
|
|
2003
|
-
`;
|
|
2004
|
-
}
|
|
2005
|
-
return html`
|
|
2006
|
-
<div
|
|
2007
|
-
class="date-picker ${showSplitInputs ? "date-picker--split-inputs" : ""}"
|
|
2008
|
-
@click=${(e) => e.stopPropagation()}
|
|
2009
|
-
>
|
|
2010
|
-
${showSplitInputs ? html`
|
|
2011
|
-
<div class="date-picker__inputs">
|
|
2012
|
-
<terra-dropdown
|
|
2013
|
-
${ref(this.dropdownRef)}
|
|
2014
|
-
placement="bottom-start"
|
|
2015
|
-
distance="4"
|
|
2016
|
-
@terra-show=${this.handleDropdownShow}
|
|
2017
|
-
@terra-hide=${this.handleDropdownHide}
|
|
2018
|
-
hoist
|
|
2019
|
-
>
|
|
2020
|
-
<terra-input
|
|
2021
|
-
slot="trigger"
|
|
2022
|
-
.label=${this.startLabel || (this.label ? `${this.label} (Start)` : "Start Date")}
|
|
2023
|
-
.hideLabel=${this.hideLabel}
|
|
2024
|
-
.helpText=${this.startHelpText || this.helpText}
|
|
2025
|
-
.value=${this.getStartDateDisplayValue()}
|
|
2026
|
-
placeholder=${this.startPlaceholder}
|
|
2027
|
-
@terra-blur=${this.handleStartInputBlur}
|
|
2028
|
-
@keydown=${this.handleKeydown}
|
|
2029
|
-
name="start-date"
|
|
2030
|
-
>
|
|
2031
|
-
${this.renderCalendarIcon()}
|
|
2032
|
-
</terra-input>
|
|
2033
|
-
${this.renderCalendarContent()}
|
|
2034
|
-
</terra-dropdown>
|
|
2035
|
-
<terra-dropdown
|
|
2036
|
-
placement="bottom-start"
|
|
2037
|
-
distance="4"
|
|
2038
|
-
@terra-show=${this.handleDropdownShow}
|
|
2039
|
-
@terra-hide=${this.handleDropdownHide}
|
|
2040
|
-
hoist
|
|
2041
|
-
>
|
|
2042
|
-
<terra-input
|
|
2043
|
-
slot="trigger"
|
|
2044
|
-
.label=${this.endLabel || (this.label ? `${this.label} (End)` : "End Date")}
|
|
2045
|
-
.hideLabel=${this.hideLabel}
|
|
2046
|
-
.helpText=${this.endHelpText || this.helpText}
|
|
2047
|
-
.value=${this.getEndDateDisplayValue()}
|
|
2048
|
-
placeholder=${this.endPlaceholder}
|
|
2049
|
-
@terra-blur=${this.handleEndInputBlur}
|
|
2050
|
-
@keydown=${this.handleKeydown}
|
|
2051
|
-
name="end-date"
|
|
2052
|
-
>
|
|
2053
|
-
${this.renderCalendarIcon()}
|
|
2054
|
-
</terra-input>
|
|
2055
|
-
${this.renderCalendarContent()}
|
|
2056
|
-
</terra-dropdown>
|
|
2057
|
-
</div>
|
|
2058
|
-
` : html`
|
|
2059
|
-
<terra-dropdown
|
|
2060
|
-
${ref(this.dropdownRef)}
|
|
2061
|
-
placement="bottom-start"
|
|
2062
|
-
distance="4"
|
|
2063
|
-
@terra-show=${this.handleDropdownShow}
|
|
2064
|
-
@terra-hide=${this.handleDropdownHide}
|
|
2065
|
-
hoist
|
|
2066
|
-
>
|
|
2067
|
-
<terra-input
|
|
2068
|
-
slot="trigger"
|
|
2069
|
-
.label=${this.label}
|
|
2070
|
-
.hideLabel=${this.hideLabel}
|
|
2071
|
-
.helpText=${this.helpText}
|
|
2072
|
-
.value=${this.getDisplayValue()}
|
|
2073
|
-
placeholder=${this.placeholder}
|
|
2074
|
-
@terra-blur=${this.handleInputBlur}
|
|
2075
|
-
@keydown=${this.handleKeydown}
|
|
2076
|
-
name="date"
|
|
2077
|
-
>
|
|
2078
|
-
${this.renderCalendarIcon()}
|
|
2079
|
-
</terra-input>
|
|
2080
|
-
${this.renderCalendarContent()}
|
|
2081
|
-
</terra-dropdown>
|
|
2082
|
-
`}
|
|
2083
|
-
</div>
|
|
2084
|
-
`;
|
|
2085
|
-
}
|
|
2086
|
-
};
|
|
2087
|
-
TerraDatePicker.styles = [component_styles_default, date_picker_styles_default];
|
|
2088
|
-
TerraDatePicker.dependencies = {
|
|
2089
|
-
"terra-button": TerraButton,
|
|
2090
|
-
"terra-input": TerraInput,
|
|
2091
|
-
"terra-dropdown": TerraDropdown
|
|
2092
|
-
};
|
|
2093
|
-
__decorateClass([
|
|
2094
|
-
property()
|
|
2095
|
-
], TerraDatePicker.prototype, "id", 2);
|
|
2096
|
-
__decorateClass([
|
|
2097
|
-
property({ type: Boolean, reflect: true })
|
|
2098
|
-
], TerraDatePicker.prototype, "range", 2);
|
|
2099
|
-
__decorateClass([
|
|
2100
|
-
property({ attribute: "min-date", reflect: true })
|
|
2101
|
-
], TerraDatePicker.prototype, "minDate", 2);
|
|
2102
|
-
__decorateClass([
|
|
2103
|
-
property({ attribute: "max-date", reflect: true })
|
|
2104
|
-
], TerraDatePicker.prototype, "maxDate", 2);
|
|
2105
|
-
__decorateClass([
|
|
2106
|
-
property({ attribute: "start-date", reflect: true })
|
|
2107
|
-
], TerraDatePicker.prototype, "startDate", 2);
|
|
2108
|
-
__decorateClass([
|
|
2109
|
-
property({ attribute: "end-date", reflect: true })
|
|
2110
|
-
], TerraDatePicker.prototype, "endDate", 2);
|
|
2111
|
-
__decorateClass([
|
|
2112
|
-
property({ attribute: "hide-label", type: Boolean })
|
|
2113
|
-
], TerraDatePicker.prototype, "hideLabel", 2);
|
|
2114
|
-
__decorateClass([
|
|
2115
|
-
property()
|
|
2116
|
-
], TerraDatePicker.prototype, "label", 2);
|
|
2117
|
-
__decorateClass([
|
|
2118
|
-
property({ attribute: "help-text" })
|
|
2119
|
-
], TerraDatePicker.prototype, "helpText", 2);
|
|
2120
|
-
__decorateClass([
|
|
2121
|
-
property({ attribute: "start-help-text" })
|
|
2122
|
-
], TerraDatePicker.prototype, "startHelpText", 2);
|
|
2123
|
-
__decorateClass([
|
|
2124
|
-
property({ attribute: "end-help-text" })
|
|
2125
|
-
], TerraDatePicker.prototype, "endHelpText", 2);
|
|
2126
|
-
__decorateClass([
|
|
2127
|
-
property({ attribute: "start-label" })
|
|
2128
|
-
], TerraDatePicker.prototype, "startLabel", 2);
|
|
2129
|
-
__decorateClass([
|
|
2130
|
-
property({ attribute: "end-label" })
|
|
2131
|
-
], TerraDatePicker.prototype, "endLabel", 2);
|
|
2132
|
-
__decorateClass([
|
|
2133
|
-
property({ type: Boolean, attribute: "show-presets" })
|
|
2134
|
-
], TerraDatePicker.prototype, "showPresets", 2);
|
|
2135
|
-
__decorateClass([
|
|
2136
|
-
property({ type: Array })
|
|
2137
|
-
], TerraDatePicker.prototype, "presets", 2);
|
|
2138
|
-
__decorateClass([
|
|
2139
|
-
property({ type: Boolean, attribute: "enable-time" })
|
|
2140
|
-
], TerraDatePicker.prototype, "enableTime", 2);
|
|
2141
|
-
__decorateClass([
|
|
2142
|
-
property({ attribute: "display-format" })
|
|
2143
|
-
], TerraDatePicker.prototype, "displayFormat", 2);
|
|
2144
|
-
__decorateClass([
|
|
2145
|
-
property({ type: Boolean })
|
|
2146
|
-
], TerraDatePicker.prototype, "inline", 2);
|
|
2147
|
-
__decorateClass([
|
|
2148
|
-
property({ type: Boolean, attribute: "split-inputs" })
|
|
2149
|
-
], TerraDatePicker.prototype, "splitInputs", 2);
|
|
2150
|
-
__decorateClass([
|
|
2151
|
-
property()
|
|
2152
|
-
], TerraDatePicker.prototype, "placeholder", 2);
|
|
2153
|
-
__decorateClass([
|
|
2154
|
-
property()
|
|
2155
|
-
], TerraDatePicker.prototype, "startPlaceholder", 2);
|
|
2156
|
-
__decorateClass([
|
|
2157
|
-
property()
|
|
2158
|
-
], TerraDatePicker.prototype, "endPlaceholder", 2);
|
|
2159
|
-
__decorateClass([
|
|
2160
|
-
property({ reflect: true })
|
|
2161
|
-
], TerraDatePicker.prototype, "role", 2);
|
|
2162
|
-
__decorateClass([
|
|
2163
|
-
property({ reflect: true, attribute: "aria-label" })
|
|
2164
|
-
], TerraDatePicker.prototype, "ariaLabel", 2);
|
|
2165
|
-
__decorateClass([
|
|
2166
|
-
property({ type: Boolean })
|
|
2167
|
-
], TerraDatePicker.prototype, "hideClearAll", 2);
|
|
2168
|
-
__decorateClass([
|
|
2169
|
-
property()
|
|
2170
|
-
], TerraDatePicker.prototype, "clearAllLabel", 2);
|
|
2171
|
-
__decorateClass([
|
|
2172
|
-
property({ type: Boolean, attribute: "use-end-of-day" })
|
|
2173
|
-
], TerraDatePicker.prototype, "useEndOfDay", 2);
|
|
2174
|
-
__decorateClass([
|
|
2175
|
-
state()
|
|
2176
|
-
], TerraDatePicker.prototype, "isOpen", 2);
|
|
2177
|
-
__decorateClass([
|
|
2178
|
-
state()
|
|
2179
|
-
], TerraDatePicker.prototype, "leftMonth", 2);
|
|
2180
|
-
__decorateClass([
|
|
2181
|
-
state()
|
|
2182
|
-
], TerraDatePicker.prototype, "rightMonth", 2);
|
|
2183
|
-
__decorateClass([
|
|
2184
|
-
state()
|
|
2185
|
-
], TerraDatePicker.prototype, "selectedStart", 2);
|
|
2186
|
-
__decorateClass([
|
|
2187
|
-
state()
|
|
2188
|
-
], TerraDatePicker.prototype, "selectedEnd", 2);
|
|
2189
|
-
__decorateClass([
|
|
2190
|
-
state()
|
|
2191
|
-
], TerraDatePicker.prototype, "hoverDate", 2);
|
|
2192
|
-
__decorateClass([
|
|
2193
|
-
state()
|
|
2194
|
-
], TerraDatePicker.prototype, "isSelectingRange", 2);
|
|
2195
|
-
__decorateClass([
|
|
2196
|
-
state()
|
|
2197
|
-
], TerraDatePicker.prototype, "showLeftMonthDropdown", 2);
|
|
2198
|
-
__decorateClass([
|
|
2199
|
-
state()
|
|
2200
|
-
], TerraDatePicker.prototype, "showRightMonthDropdown", 2);
|
|
2201
|
-
__decorateClass([
|
|
2202
|
-
state()
|
|
2203
|
-
], TerraDatePicker.prototype, "startHour", 2);
|
|
2204
|
-
__decorateClass([
|
|
2205
|
-
state()
|
|
2206
|
-
], TerraDatePicker.prototype, "startMinute", 2);
|
|
2207
|
-
__decorateClass([
|
|
2208
|
-
state()
|
|
2209
|
-
], TerraDatePicker.prototype, "startSecond", 2);
|
|
2210
|
-
__decorateClass([
|
|
2211
|
-
state()
|
|
2212
|
-
], TerraDatePicker.prototype, "endHour", 2);
|
|
2213
|
-
__decorateClass([
|
|
2214
|
-
state()
|
|
2215
|
-
], TerraDatePicker.prototype, "endMinute", 2);
|
|
2216
|
-
__decorateClass([
|
|
2217
|
-
state()
|
|
2218
|
-
], TerraDatePicker.prototype, "endSecond", 2);
|
|
2219
|
-
__decorateClass([
|
|
2220
|
-
state()
|
|
2221
|
-
], TerraDatePicker.prototype, "selectedDates", 2);
|
|
2222
|
-
__decorateClass([
|
|
2223
|
-
query(".date-picker__dropdown")
|
|
2224
|
-
], TerraDatePicker.prototype, "dropdown", 2);
|
|
2225
|
-
|
|
2226
|
-
export {
|
|
2227
|
-
TerraDatePicker
|
|
2228
|
-
};
|