pure-uikit 1.2.6 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/{chunk.DN4TEYYA.js → chunk.2DY7QOTV.js} +1 -1
- package/{dist/chunks/chunk.MYXEWDK7.js → cdn/chunks/chunk.2GDAHGNW.js} +1 -1
- package/cdn/chunks/{chunk.WC53GKC3.js → chunk.2HPEHFLJ.js} +1 -1
- package/cdn/chunks/{chunk.PPZYQP72.js → chunk.2IVGF3TK.js} +1 -1
- package/cdn/chunks/{chunk.U4MTVL5G.js → chunk.2JFC7D2E.js} +1 -1
- package/cdn/chunks/{chunk.HOEPKCLY.js → chunk.2MRUIJET.js} +1 -1
- package/cdn/chunks/{chunk.BGPFTQNP.js → chunk.2NVI3P7L.js} +5 -5
- package/cdn/chunks/{chunk.ZYIGFGXC.js → chunk.33DRDEHL.js} +1 -1
- package/cdn/chunks/{chunk.ZI3S62ZY.js → chunk.35FCEPVX.js} +1 -1
- package/cdn/chunks/{chunk.QFPBXFG5.js → chunk.3A4HC7TH.js} +4 -4
- package/cdn/chunks/{chunk.WZFKKN5X.js → chunk.3DZ7RKKQ.js} +1 -1
- package/{dist/chunks/chunk.4ALLOLPA.js → cdn/chunks/chunk.3T4ZADNV.js} +1 -1
- package/{dist/chunks/chunk.BSES4I4Q.js → cdn/chunks/chunk.3U2DWHJE.js} +1 -1
- package/cdn/chunks/{chunk.33LL7FF7.js → chunk.3WENGDCD.js} +1 -1
- package/cdn/chunks/{chunk.FNJVOGHE.js → chunk.43DWMWZ2.js} +1 -1
- package/cdn/chunks/{chunk.PPU475XH.js → chunk.4BHAWDZ3.js} +1 -1
- package/cdn/chunks/{chunk.L2IL6W4R.js → chunk.4UF3DPLO.js} +1 -1
- package/cdn/chunks/{chunk.N2ON4XIS.js → chunk.4VPBONIE.js} +5 -5
- package/{dist/chunks/chunk.PYW47UHX.js → cdn/chunks/chunk.4WWPYE6R.js} +1 -1
- package/{dist/chunks/chunk.OPTK6BRM.js → cdn/chunks/chunk.57LCXBOF.js} +1 -1
- package/cdn/chunks/{chunk.5P2UBGVK.js → chunk.5D3BB5IF.js} +1 -1
- package/cdn/chunks/{chunk.CPOHLAAL.js → chunk.5LZQTMZG.js} +1 -1
- package/cdn/chunks/{chunk.WRGRVDGZ.js → chunk.5OOFP7LS.js} +1 -1
- package/cdn/chunks/{chunk.R7VHEOLO.js → chunk.5TSXBNLY.js} +1 -1
- package/cdn/chunks/{chunk.RVECB5RW.js → chunk.5U6BTZBN.js} +8 -8
- package/cdn/chunks/{chunk.LQX6TBTM.js → chunk.5WIBWOTA.js} +1 -1
- package/cdn/chunks/{chunk.QLOHL2QR.js → chunk.66LYFCAC.js} +1 -1
- package/cdn/chunks/{chunk.AHEG2XSA.js → chunk.6EN5NWVF.js} +1 -1
- package/cdn/chunks/{chunk.6ROL2WR4.js → chunk.6SI7DZL4.js} +10 -10
- package/cdn/chunks/{chunk.TGDHS2AC.js → chunk.6WZUBZUB.js} +1 -1
- package/cdn/chunks/{chunk.OQLY5XP3.js → chunk.6ZIVJ7QZ.js} +5 -5
- package/cdn/chunks/{chunk.WCZH4SZS.js → chunk.72CC2OV6.js} +1 -1
- package/cdn/chunks/{chunk.WYFVN4Z7.js → chunk.7EHVG2IU.js} +1 -1
- package/{dist/chunks/chunk.RMI7F5E4.js → cdn/chunks/chunk.7LUDRGZH.js} +1 -1
- package/cdn/chunks/{chunk.PA63WUSZ.js → chunk.7RHBTPMF.js} +1 -1
- package/cdn/chunks/{chunk.ODHWU2RG.js → chunk.7VIHYK23.js} +1 -1
- package/cdn/chunks/{chunk.I7M6NKBS.js → chunk.7Y7NRONW.js} +1 -1
- package/cdn/chunks/{chunk.TCQRZAGP.js → chunk.7ZWYOD3T.js} +2 -2
- package/{dist/chunks/chunk.UP7C7YUI.js → cdn/chunks/chunk.A4UTP73L.js} +1 -1
- package/cdn/chunks/{chunk.NFPPYQML.js → chunk.AC5RPWG3.js} +1 -1
- package/cdn/chunks/{chunk.UMEOH5UY.js → chunk.AD7RPPOE.js} +5 -5
- package/cdn/chunks/{chunk.PZBS7S6V.js → chunk.ADL7J5RK.js} +1 -1
- package/cdn/chunks/{chunk.G2Q7PTAE.js → chunk.AJAN3PDM.js} +2 -2
- package/cdn/chunks/{chunk.25KDAD3C.js → chunk.ATTLQJ2B.js} +1 -1
- package/cdn/chunks/{chunk.HGOKDHF4.js → chunk.B2COPOPY.js} +5 -5
- package/cdn/chunks/{chunk.URICETSK.js → chunk.BD7ZCQTD.js} +1 -1
- package/{dist/chunks/chunk.RG7O6SSE.js → cdn/chunks/chunk.BGQU736F.js} +1 -1
- package/cdn/chunks/{chunk.K2TQTTVN.js → chunk.BOAPRSQQ.js} +1 -1
- package/cdn/chunks/{chunk.HESJOESW.js → chunk.BZRBOUMQ.js} +1 -1
- package/cdn/chunks/{chunk.4YIZQRZU.js → chunk.CDNAJNZD.js} +7 -7
- package/{dist/chunks/chunk.HVT4D4Z4.js → cdn/chunks/chunk.CFLSHKYN.js} +1 -1
- package/{dist/chunks/chunk.UDO75PUM.js → cdn/chunks/chunk.CPAMH4JE.js} +1 -1
- package/cdn/chunks/{chunk.ZAMVIM5B.js → chunk.CQVGFSIH.js} +1 -1
- package/{dist/chunks/chunk.AABFK5UA.js → cdn/chunks/chunk.D5EHIVRY.js} +1 -1
- package/cdn/chunks/{chunk.A54HP33S.js → chunk.DA2MK75I.js} +2 -2
- package/cdn/chunks/{chunk.CLFUW5ST.js → chunk.DAKL7G7B.js} +1 -1
- package/{dist/chunks/chunk.JTIHNKZS.js → cdn/chunks/chunk.DINRJNWM.js} +1 -1
- package/cdn/chunks/{chunk.J6SOIEYN.js → chunk.DQ6U7BYS.js} +5 -5
- package/cdn/chunks/{chunk.VFEVWOMB.js → chunk.DXIFZN7Y.js} +1 -1
- package/cdn/chunks/{chunk.5QX7SQER.js → chunk.DZZLONJ4.js} +1 -1
- package/cdn/chunks/{chunk.WKTZHSK6.js → chunk.EGD7ZVRB.js} +1 -1
- package/cdn/chunks/{chunk.SQBVPYFJ.js → chunk.EGVUZQPO.js} +1 -1
- package/cdn/chunks/{chunk.HTDGZP2N.js → chunk.EHXBOC7H.js} +1 -1
- package/cdn/chunks/{chunk.F4Z45DXC.js → chunk.EP4VUNUL.js} +1 -1
- package/cdn/chunks/{chunk.IRCLK7HI.js → chunk.ERDPZJDD.js} +1 -1
- package/cdn/chunks/{chunk.FQHNNEDJ.js → chunk.ERLQ2NC3.js} +1 -1
- package/cdn/chunks/{chunk.MMYQXBJQ.js → chunk.ERROEDLR.js} +1 -1
- package/{dist/chunks/chunk.E3PZJTDY.js → cdn/chunks/chunk.EU5GXBPM.js} +1 -1
- package/cdn/chunks/{chunk.GIEXEPL2.js → chunk.EVMVS3WZ.js} +2 -2
- package/cdn/chunks/{chunk.IINQ2BBL.js → chunk.F2B3CKJE.js} +1 -1
- package/cdn/chunks/{chunk.3LWHHJGA.js → chunk.F2W4VUW5.js} +1 -1
- package/cdn/chunks/{chunk.V7L5W2NS.js → chunk.F6EWHMHK.js} +1 -1
- package/cdn/chunks/{chunk.OX2327UI.js → chunk.FDOZRKTN.js} +1 -1
- package/cdn/chunks/{chunk.F5IMHUOB.js → chunk.FHGJZBGC.js} +1 -1
- package/{dist/chunks/chunk.4QHHVAOU.js → cdn/chunks/chunk.FRTXYJIC.js} +1 -1
- package/cdn/chunks/{chunk.6V6MYOP7.js → chunk.FW2LVMXK.js} +1 -1
- package/cdn/chunks/{chunk.66JKFNLQ.js → chunk.FYOJNDMV.js} +5 -5
- package/cdn/chunks/{chunk.X6A35SSK.js → chunk.FYUYMSTC.js} +1 -1
- package/cdn/chunks/{chunk.OM6ODVV3.js → chunk.G4BSGYHR.js} +2 -2
- package/cdn/chunks/{chunk.Y6PP72ZN.js → chunk.GMQ5MAHQ.js} +1 -1
- package/cdn/chunks/{chunk.AAD5ADMH.js → chunk.GU3SIN4W.js} +1 -1
- package/cdn/chunks/{chunk.ETRHELLH.js → chunk.GZ2TSYJR.js} +1 -1
- package/cdn/chunks/{chunk.N2WPGHAF.js → chunk.GZ5XHCCJ.js} +1 -1
- package/cdn/chunks/{chunk.ZLWS5VHG.js → chunk.GZNV25FR.js} +2 -2
- package/cdn/chunks/{chunk.JV7XJ4CP.js → chunk.GZR7SVWC.js} +1 -1
- package/cdn/chunks/{chunk.TAWTUOBR.js → chunk.H4B7O4DD.js} +1 -1
- package/{dist/chunks/chunk.4C5MHUEH.js → cdn/chunks/chunk.H6C3JMXN.js} +1 -1
- package/cdn/chunks/{chunk.MXX6UBTN.js → chunk.HTXZ5A6O.js} +2 -2
- package/cdn/chunks/{chunk.DO4RSBXG.js → chunk.IAHERRRL.js} +1 -1
- package/cdn/chunks/{chunk.LGNAFKMZ.js → chunk.ICKCPDK3.js} +2 -2
- package/cdn/chunks/{chunk.FIH4LDMM.js → chunk.IJ2K4XIB.js} +1 -1
- package/{dist/chunks/chunk.WOEKDJC3.js → cdn/chunks/chunk.IO5EFI4R.js} +1 -1
- package/cdn/chunks/{chunk.YZUWZL57.js → chunk.IT25CMQG.js} +1 -1
- package/cdn/chunks/{chunk.34ZP6BOO.js → chunk.IW6RGINU.js} +4 -4
- package/{dist/chunks/chunk.NT2MAYLM.js → cdn/chunks/chunk.J7D3EXZX.js} +1 -1
- package/cdn/chunks/{chunk.EK34CRCV.js → chunk.JAIO7NXJ.js} +1 -1
- package/{dist/chunks/chunk.B5B3CZPD.js → cdn/chunks/chunk.JIZAFEPD.js} +1 -1
- package/cdn/chunks/{chunk.QDZ7OLXI.js → chunk.JRCLZOP3.js} +1 -1
- package/cdn/chunks/{chunk.PXM5T2MV.js → chunk.JTF6S4FR.js} +1 -1
- package/cdn/chunks/{chunk.KUZYIZGF.js → chunk.KI6FLNP4.js} +7 -7
- package/cdn/chunks/{chunk.Q32XX5OR.js → chunk.KKNVHY5C.js} +2 -2
- package/cdn/chunks/{chunk.IOVJNW42.js → chunk.KKUZOXJI.js} +1 -1
- package/cdn/chunks/{chunk.ZPAYP62T.js → chunk.L56NV5L4.js} +1 -1
- package/cdn/chunks/{chunk.MOI2367I.js → chunk.LAEHXRWC.js} +5 -5
- package/cdn/chunks/{chunk.TSVB4L5A.js → chunk.LBFEH6A4.js} +1 -1
- package/cdn/chunks/{chunk.L3GINJ5T.js → chunk.LTJMIMA4.js} +1 -1
- package/cdn/chunks/{chunk.D2LFZURR.js → chunk.LWELMYXT.js} +1 -1
- package/cdn/chunks/{chunk.JJNSIORR.js → chunk.LYLXMMQK.js} +1 -1
- package/cdn/chunks/{chunk.NTDNCIBV.js → chunk.MBHO4Y2Y.js} +1 -1
- package/{dist/chunks/chunk.REVQIQ6F.js → cdn/chunks/chunk.MD2D5LQP.js} +1 -1
- package/cdn/chunks/{chunk.X657TUZI.js → chunk.MH42O75P.js} +1 -1
- package/cdn/chunks/{chunk.AAIKFAEO.js → chunk.MHZP5RMP.js} +1 -1
- package/{dist/chunks/chunk.ZTUKCCZI.js → cdn/chunks/chunk.MW2UQP4C.js} +1 -1
- package/cdn/chunks/{chunk.XSBKR5TE.js → chunk.NMQC6FHR.js} +1 -1
- package/cdn/chunks/{chunk.NN7BZTKY.js → chunk.NSXU3PDA.js} +6 -6
- package/{dist/chunks/chunk.QIXSM6VF.js → cdn/chunks/chunk.NWBOTXY2.js} +1 -1
- package/cdn/chunks/{chunk.F7EELMQZ.js → chunk.O2M2FJHW.js} +5 -5
- package/cdn/chunks/{chunk.JEC3GHVB.js → chunk.OBX2VGH3.js} +1 -1
- package/cdn/chunks/{chunk.USTQDBHG.js → chunk.OD4TSV4X.js} +1 -1
- package/cdn/chunks/{chunk.DBFHP6RZ.js → chunk.OI3JQBYR.js} +1 -1
- package/cdn/chunks/{chunk.JXC6CJZC.js → chunk.OK4EDVNP.js} +1 -1
- package/cdn/chunks/{chunk.RRGT2VT7.js → chunk.OOKAP4LP.js} +1 -1
- package/cdn/chunks/{chunk.MGETRRKF.js → chunk.OY3LAFDC.js} +1 -1
- package/cdn/chunks/{chunk.A4PRKPJ3.js → chunk.P5BOGZAD.js} +1 -1
- package/cdn/chunks/{chunk.K6RYDQPO.js → chunk.PG6LAVES.js} +4 -4
- package/cdn/chunks/{chunk.4LLRP3P5.js → chunk.PGQIORJR.js} +1 -1
- package/cdn/chunks/{chunk.IR3TJJBA.js → chunk.PKW6WNXY.js} +5 -5
- package/cdn/chunks/{chunk.AMT5KHFT.js → chunk.PONWE737.js} +1 -1
- package/cdn/chunks/{chunk.IAVD3OOO.js → chunk.Q3F3KFV5.js} +5 -5
- package/cdn/chunks/{chunk.36AT7HKF.js → chunk.Q5GBX647.js} +6 -6
- package/{dist/chunks/chunk.5EIUDQ5A.js → cdn/chunks/chunk.QDB2CHUO.js} +1 -1
- package/{dist/chunks/chunk.IR3AVITQ.js → cdn/chunks/chunk.QDFPTBNY.js} +1 -1
- package/cdn/chunks/{chunk.YDVOQVLX.js → chunk.QL4T3RSQ.js} +1 -1
- package/cdn/chunks/{chunk.W4FIARJB.js → chunk.QLLZZ4Q7.js} +1 -1
- package/{dist/chunks/chunk.OOBCN7NR.js → cdn/chunks/chunk.QTUPSZE2.js} +1 -1
- package/cdn/chunks/{chunk.KDYVYE7I.js → chunk.QYDH34DG.js} +1 -1
- package/cdn/chunks/{chunk.XFOE3QAV.js → chunk.RFU5SLDJ.js} +1 -1
- package/cdn/chunks/{chunk.6H5CKLID.js → chunk.ROF7HVIM.js} +1 -1
- package/{dist/chunks/chunk.DSOUBDJW.js → cdn/chunks/chunk.RS7RQXVO.js} +1 -1
- package/cdn/chunks/{chunk.CQ2EZ7SL.js → chunk.RXR3LV5Z.js} +1 -1
- package/cdn/chunks/{chunk.EY555SKA.js → chunk.S2ET4RPG.js} +1 -1
- package/{dist/chunks/chunk.C46AAWDC.js → cdn/chunks/chunk.SCQVVXZQ.js} +1 -1
- package/cdn/chunks/{chunk.MPFYZUUV.js → chunk.SPTN6BRU.js} +1 -1
- package/cdn/chunks/{chunk.ZCYLMQF3.js → chunk.SV5ZMDDT.js} +1 -1
- package/cdn/chunks/{chunk.L7AM3Q3H.js → chunk.SVU3Z4A4.js} +1 -1
- package/cdn/chunks/{chunk.SGLQUMXV.js → chunk.T2ZQKZIU.js} +1 -1
- package/{dist/chunks/chunk.6MASKGHA.js → cdn/chunks/chunk.THUE2NRL.js} +1 -1
- package/cdn/chunks/{chunk.EJR5BV6Y.js → chunk.TITZ75JY.js} +1 -1
- package/{dist/chunks/chunk.PNLN37FN.js → cdn/chunks/chunk.TMYNSEFT.js} +1 -1
- package/cdn/chunks/{chunk.S72WDTFH.js → chunk.TWDZHOUA.js} +1 -1
- package/{dist/chunks/chunk.GVVCBQU5.js → cdn/chunks/chunk.TZKIGLDL.js} +1 -1
- package/cdn/chunks/{chunk.7FUSVTN2.js → chunk.U3B3YBEV.js} +4 -4
- package/cdn/chunks/{chunk.QWDXYAT2.js → chunk.UA5UB3NX.js} +1 -1
- package/cdn/chunks/{chunk.L4OAFJI6.js → chunk.UIYQA3EA.js} +321 -166
- package/cdn/chunks/{chunk.TL7EGEPQ.js → chunk.UMR327WJ.js} +2 -2
- package/cdn/chunks/{chunk.PPFTKV7I.js → chunk.UMR43FBB.js} +1 -1
- package/cdn/chunks/{chunk.SC3KDKL7.js → chunk.UNFEIIQA.js} +1 -1
- package/cdn/chunks/{chunk.KXQ6XT6W.js → chunk.UNT2G2KJ.js} +5 -5
- package/cdn/chunks/{chunk.IJRKJX5M.js → chunk.URVDUKEN.js} +1 -1
- package/cdn/chunks/{chunk.VOQYOWQC.js → chunk.USA5LEPQ.js} +1 -1
- package/cdn/chunks/{chunk.WJH3TECG.js → chunk.UTDR2YVW.js} +8 -8
- package/cdn/chunks/{chunk.GAR7O45I.js → chunk.UTTHFRTU.js} +1 -1
- package/{dist/chunks/chunk.TD7RAND7.js → cdn/chunks/chunk.UYCNBDS7.js} +1 -1
- package/cdn/chunks/{chunk.IQXJEFZL.js → chunk.V2O36RJ6.js} +5 -5
- package/cdn/chunks/{chunk.WSVT3ZQN.js → chunk.V5OAMEXX.js} +4 -4
- package/cdn/chunks/{chunk.OXOUAKVN.js → chunk.V6P3LNWB.js} +1 -1
- package/cdn/chunks/{chunk.UWNLP2UR.js → chunk.VQPHIQDY.js} +1 -1
- package/cdn/chunks/{chunk.QYKZOPU7.js → chunk.VRDVF2K2.js} +32 -9
- package/{dist/chunks/chunk.YJKXBTQG.js → cdn/chunks/chunk.VZT6RRCJ.js} +1 -1
- package/cdn/chunks/{chunk.54ZEDPRJ.js → chunk.WBD5IHJA.js} +1 -1
- package/cdn/chunks/{chunk.WRFITX74.js → chunk.WFNSYFPQ.js} +1 -1
- package/cdn/chunks/{chunk.6IUBEWYP.js → chunk.WQKPB5JM.js} +1 -1
- package/cdn/chunks/{chunk.7PLI5RE5.js → chunk.WTVWLMMR.js} +1 -1
- package/cdn/chunks/{chunk.7UJ6LNSF.js → chunk.WVKPQ2GX.js} +1 -1
- package/cdn/chunks/{chunk.ZJR2SAV2.js → chunk.WYNXIP2T.js} +1 -1
- package/cdn/chunks/{chunk.V6EX5UWC.js → chunk.X7BQ6MCM.js} +1 -1
- package/cdn/chunks/{chunk.GJHNFMUO.js → chunk.X7LZXWIA.js} +1 -1
- package/cdn/chunks/{chunk.HSKHTFX3.js → chunk.XDKHBILK.js} +1 -1
- package/cdn/chunks/{chunk.EL6SV6DS.js → chunk.XGGD3QZC.js} +1 -1
- package/cdn/chunks/{chunk.6DFXSWYY.js → chunk.XLIDZQ5V.js} +1 -1
- package/{dist/chunks/chunk.2B7YR4WT.js → cdn/chunks/chunk.XR4COG5R.js} +1 -1
- package/cdn/chunks/{chunk.3CVCC465.js → chunk.XTGJBOJI.js} +1 -1
- package/{dist/chunks/chunk.PFSJGMWK.js → cdn/chunks/chunk.YDOLRAUL.js} +1 -1
- package/cdn/chunks/{chunk.PFQSWTJY.js → chunk.YGL2OEGF.js} +1 -1
- package/{dist/chunks/chunk.BHGF3FST.js → cdn/chunks/chunk.YJ3XPWQU.js} +1 -1
- package/cdn/chunks/{chunk.7PBFKPLD.js → chunk.YM5PQ6MF.js} +1 -1
- package/cdn/chunks/{chunk.QZRUXIN3.js → chunk.YTSZJ37A.js} +1 -1
- package/cdn/chunks/{chunk.2CA346TA.js → chunk.YUH65C6L.js} +1 -1
- package/cdn/chunks/{chunk.WH36CXUT.js → chunk.ZDP34GRP.js} +1 -1
- package/cdn/chunks/{chunk.HEDECKUT.js → chunk.ZSSBAVRD.js} +1 -1
- package/{dist/chunks/chunk.VJIWCU53.js → cdn/chunks/chunk.ZUTSI5RU.js} +1 -1
- package/cdn/components/alert/alert.component.js +7 -7
- package/cdn/components/alert/alert.js +8 -8
- package/cdn/components/animated-image/animated-image.component.js +3 -3
- package/cdn/components/animated-image/animated-image.js +4 -4
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +3 -3
- package/cdn/components/avatar/avatar.js +4 -4
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.js +4 -4
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/cdn/components/button/button.component.js +7 -7
- package/cdn/components/button/button.js +8 -8
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/calendar/calendar.component.d.ts +12 -0
- package/cdn/components/calendar/calendar.component.js +10 -10
- package/cdn/components/calendar/calendar.js +11 -11
- package/cdn/components/calendar/calendar.styles.js +1 -1
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +5 -5
- package/cdn/components/carousel/carousel.js +6 -6
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +3 -3
- package/cdn/components/checkbox/checkbox.js +4 -4
- package/cdn/components/color-picker/color-picker.component.js +13 -13
- package/cdn/components/color-picker/color-picker.js +14 -14
- package/cdn/components/copy-button/copy-button.component.js +7 -7
- package/cdn/components/copy-button/copy-button.js +8 -8
- package/cdn/components/details/details.component.js +5 -5
- package/cdn/components/details/details.js +6 -6
- package/cdn/components/dialog/dialog.component.js +7 -7
- package/cdn/components/dialog/dialog.js +8 -8
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +7 -7
- package/cdn/components/drawer/drawer.js +8 -8
- package/cdn/components/dropdown/dropdown.component.js +6 -6
- package/cdn/components/dropdown/dropdown.js +7 -7
- package/cdn/components/file-upload/file-upload.component.js +9 -9
- package/cdn/components/file-upload/file-upload.js +10 -10
- package/cdn/components/file-upload-item/file-upload-item.component.js +5 -5
- package/cdn/components/file-upload-item/file-upload-item.js +6 -6
- package/cdn/components/format-bytes/format-bytes.component.js +2 -2
- package/cdn/components/format-bytes/format-bytes.js +3 -3
- package/cdn/components/format-date/format-date.component.js +2 -2
- package/cdn/components/format-date/format-date.js +3 -3
- package/cdn/components/format-number/format-number.component.js +2 -2
- package/cdn/components/format-number/format-number.js +3 -3
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/icon-button/icon-button.component.js +3 -3
- package/cdn/components/icon-button/icon-button.js +4 -4
- package/cdn/components/image-comparer/image-comparer.component.js +3 -3
- package/cdn/components/image-comparer/image-comparer.js +4 -4
- package/cdn/components/include/include.component.js +2 -2
- package/cdn/components/include/include.js +3 -3
- package/cdn/components/input/input.component.js +6 -6
- package/cdn/components/input/input.js +7 -7
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +8 -8
- package/cdn/components/menu-item/menu-item.js +9 -9
- package/cdn/components/menu-label/menu-label.component.js +2 -2
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.js +3 -3
- package/cdn/components/option/option.component.js +5 -5
- package/cdn/components/option/option.js +6 -6
- package/cdn/components/paginate/paginate.component.js +5 -5
- package/cdn/components/paginate/paginate.js +6 -6
- package/cdn/components/popup/popup.component.js +2 -2
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +5 -5
- package/cdn/components/progress-bar/progress-bar.js +6 -6
- package/cdn/components/progress-ring/progress-ring.component.js +2 -2
- package/cdn/components/progress-ring/progress-ring.js +3 -3
- package/cdn/components/qr-code/qr-code.component.js +2 -2
- package/cdn/components/qr-code/qr-code.js +3 -3
- package/cdn/components/radio/radio.component.js +3 -3
- package/cdn/components/radio/radio.js +4 -4
- package/cdn/components/radio-button/radio-button.component.js +2 -2
- package/cdn/components/radio-button/radio-button.js +3 -3
- package/cdn/components/radio-group/radio-group.component.js +3 -3
- package/cdn/components/radio-group/radio-group.js +4 -4
- package/cdn/components/range/range.component.js +5 -5
- package/cdn/components/range/range.js +6 -6
- package/cdn/components/rating/rating.component.js +3 -3
- package/cdn/components/rating/rating.js +4 -4
- package/cdn/components/relative-time/relative-time.component.js +2 -2
- package/cdn/components/relative-time/relative-time.js +3 -3
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/select/select.component.js +9 -9
- package/cdn/components/select/select.js +10 -10
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/spinner/spinner.component.js +2 -2
- package/cdn/components/spinner/spinner.js +3 -3
- package/cdn/components/split-panel/split-panel.component.js +3 -3
- package/cdn/components/split-panel/split-panel.js +4 -4
- package/cdn/components/switch/switch.component.js +2 -2
- package/cdn/components/switch/switch.js +3 -3
- package/cdn/components/tab/tab.component.js +7 -7
- package/cdn/components/tab/tab.js +8 -8
- package/cdn/components/tab-group/tab-group.component.js +7 -7
- package/cdn/components/tab-group/tab-group.js +8 -8
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/table/table.component.js +11 -11
- package/cdn/components/table/table.js +12 -12
- package/cdn/components/tag/tag.component.js +7 -7
- package/cdn/components/tag/tag.js +8 -8
- package/cdn/components/textarea/textarea.component.js +2 -2
- package/cdn/components/textarea/textarea.js +3 -3
- package/cdn/components/tooltip/tooltip.component.js +5 -5
- package/cdn/components/tooltip/tooltip.js +6 -6
- package/cdn/components/tree/tree.component.js +9 -9
- package/cdn/components/tree/tree.js +10 -10
- package/cdn/components/tree-item/tree-item.component.js +8 -8
- package/cdn/components/tree-item/tree-item.js +9 -9
- package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
- package/cdn/components/visually-hidden/visually-hidden.js +3 -3
- package/cdn/custom-elements.json +222 -202
- package/cdn/internal/calendar.d.ts +3 -0
- package/cdn/pure-ui.js +137 -137
- package/cdn/react/alert/index.js +8 -8
- package/cdn/react/animated-image/index.js +4 -4
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +4 -4
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +4 -4
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +8 -8
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/calendar/index.js +11 -11
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +6 -6
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +4 -4
- package/cdn/react/color-picker/index.js +14 -14
- package/cdn/react/copy-button/index.js +8 -8
- package/cdn/react/details/index.js +6 -6
- package/cdn/react/dialog/index.js +8 -8
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +8 -8
- package/cdn/react/dropdown/index.js +7 -7
- package/cdn/react/file-upload/index.js +10 -10
- package/cdn/react/file-upload-item/index.js +6 -6
- package/cdn/react/format-bytes/index.js +3 -3
- package/cdn/react/format-date/index.js +3 -3
- package/cdn/react/format-number/index.js +3 -3
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/icon-button/index.js +4 -4
- package/cdn/react/image-comparer/index.js +4 -4
- package/cdn/react/include/index.js +3 -3
- package/cdn/react/index.d.ts +1 -1
- package/cdn/react/index.js +140 -140
- package/cdn/react/input/index.js +7 -7
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +9 -9
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/option/index.js +6 -6
- package/cdn/react/paginate/index.js +6 -6
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +6 -6
- package/cdn/react/progress-ring/index.js +3 -3
- package/cdn/react/qr-code/index.js +3 -3
- package/cdn/react/radio/index.js +4 -4
- package/cdn/react/radio-button/index.js +3 -3
- package/cdn/react/radio-group/index.js +4 -4
- package/cdn/react/range/index.js +6 -6
- package/cdn/react/rating/index.js +4 -4
- package/cdn/react/relative-time/index.js +3 -3
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/select/index.js +10 -10
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spinner/index.js +3 -3
- package/cdn/react/split-panel/index.js +4 -4
- package/cdn/react/switch/index.js +3 -3
- package/cdn/react/tab/index.js +8 -8
- package/cdn/react/tab-group/index.js +8 -8
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/table/index.js +12 -12
- package/cdn/react/tag/index.js +8 -8
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/tooltip/index.js +6 -6
- package/cdn/react/tree/index.js +10 -10
- package/cdn/react/tree-item/index.js +9 -9
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/types/vue/index.d.ts +67 -62
- package/cdn/vscode.html-custom-data.json +46 -41
- package/cdn/web-types.json +146 -133
- package/dist/chunks/{chunk.4RL6OM2D.js → chunk.26YDNOCY.js} +1 -1
- package/dist/chunks/{chunk.UTVTHAQN.js → chunk.2AZMUIX7.js} +7 -7
- package/dist/chunks/{chunk.GBAKX657.js → chunk.2BYS3ITB.js} +1 -1
- package/dist/chunks/{chunk.WLQOZBXU.js → chunk.2CMMNJIW.js} +1 -1
- package/dist/chunks/{chunk.E7NQVMCT.js → chunk.2DZ46THG.js} +1 -1
- package/dist/chunks/{chunk.5U2DTMOM.js → chunk.2HIDLRS3.js} +1 -1
- package/{cdn/chunks/chunk.GUQMXVFK.js → dist/chunks/chunk.2JTUWLXA.js} +1 -1
- package/dist/chunks/{chunk.BXDWSFPZ.js → chunk.2TV4IFA3.js} +5 -5
- package/dist/chunks/{chunk.JYOF3T4N.js → chunk.2VXOSQ35.js} +1 -1
- package/dist/chunks/{chunk.NF5QILIO.js → chunk.2ZHX2WLM.js} +2 -2
- package/dist/chunks/{chunk.VUIEOLW3.js → chunk.3BZTW2G3.js} +1 -1
- package/dist/chunks/{chunk.LBBAW4N6.js → chunk.3CMONSRX.js} +1 -1
- package/{cdn/chunks/chunk.OAZKV3ON.js → dist/chunks/chunk.3D43RGA2.js} +1 -1
- package/dist/chunks/{chunk.7DH3BLP4.js → chunk.3HJC2Q4I.js} +1 -1
- package/dist/chunks/{chunk.MWVLYGNG.js → chunk.3KNUKKWE.js} +1 -1
- package/{cdn/chunks/chunk.R5FFQP2O.js → dist/chunks/chunk.4A4X3TRD.js} +1 -1
- package/dist/chunks/{chunk.DY2SOBEG.js → chunk.4AOIJIO3.js} +1 -1
- package/dist/chunks/{chunk.AXRCAGA7.js → chunk.4CQCNBTL.js} +1 -1
- package/dist/chunks/{chunk.EY3VAICQ.js → chunk.4LEYVACK.js} +5 -5
- package/dist/chunks/{chunk.MDCGMVP7.js → chunk.4OMQFW2R.js} +1 -1
- package/{cdn/chunks/chunk.J2ZN3WED.js → dist/chunks/chunk.4UJRUNMR.js} +1 -1
- package/dist/chunks/{chunk.DABJALDA.js → chunk.4VWGALXG.js} +1 -1
- package/dist/chunks/{chunk.HCLDRA7L.js → chunk.5C5F6D5F.js} +1 -1
- package/dist/chunks/{chunk.FOEI4FOX.js → chunk.5FUNBNKD.js} +1 -1
- package/dist/chunks/{chunk.5UYZ4M5Y.js → chunk.5GYPSKKB.js} +2 -2
- package/dist/chunks/{chunk.S2EJIXKD.js → chunk.5KPVEDJI.js} +1 -1
- package/dist/chunks/{chunk.RLH5XWEU.js → chunk.5O4OAULB.js} +2 -2
- package/dist/chunks/{chunk.MBCYGV2A.js → chunk.5OI5DORK.js} +1 -1
- package/dist/chunks/{chunk.5MW4LEHM.js → chunk.5QOOY3GD.js} +2 -2
- package/{cdn/chunks/chunk.XFM4MY5E.js → dist/chunks/chunk.5UDHBDDW.js} +1 -1
- package/dist/chunks/{chunk.4JNNGU2O.js → chunk.5ZCG6F7R.js} +1 -1
- package/dist/chunks/{chunk.UVU2624H.js → chunk.6BTSOFL5.js} +1 -1
- package/dist/chunks/{chunk.5MZR45BU.js → chunk.6C4ZLMR6.js} +1 -1
- package/dist/chunks/{chunk.MGM4PB6M.js → chunk.6KC6N2TG.js} +2 -2
- package/dist/chunks/{chunk.23GKYOWI.js → chunk.6NHE4O7O.js} +1 -1
- package/{cdn/chunks/chunk.2CJSNCQN.js → dist/chunks/chunk.6RWQNCLE.js} +1 -1
- package/dist/chunks/{chunk.SAHVKRVZ.js → chunk.6TXOF5R7.js} +1 -1
- package/dist/chunks/{chunk.KBHY4WIU.js → chunk.6Z6GTMAG.js} +1 -1
- package/dist/chunks/{chunk.3YLOREUY.js → chunk.77UQORLQ.js} +2 -2
- package/{cdn/chunks/chunk.JGTDAKVX.js → dist/chunks/chunk.7A5OUR2N.js} +1 -1
- package/dist/chunks/{chunk.OOFLED22.js → chunk.7AIUYL7Z.js} +1 -1
- package/dist/chunks/{chunk.DHMFWLU7.js → chunk.7FXOOHSW.js} +5 -5
- package/dist/chunks/{chunk.RL3WXKOT.js → chunk.7GKPXXZS.js} +1 -1
- package/dist/chunks/{chunk.VDJTO6RO.js → chunk.7RRATQA5.js} +1 -1
- package/dist/chunks/{chunk.6KMBQTTC.js → chunk.ADZZ5HF6.js} +1 -1
- package/dist/chunks/{chunk.CWF52IOF.js → chunk.AM4TXNUW.js} +1 -1
- package/dist/chunks/{chunk.AWO4PNYJ.js → chunk.AXAWGUFO.js} +1 -1
- package/dist/chunks/{chunk.AHBXXC6Z.js → chunk.B2R5LFAG.js} +1 -1
- package/dist/chunks/{chunk.S7JS4G7K.js → chunk.B4O3HKQZ.js} +1 -1
- package/dist/chunks/{chunk.DDSVOFWR.js → chunk.BARFZ7W2.js} +1 -1
- package/dist/chunks/{chunk.VFCBJGCU.js → chunk.BBIHMS2U.js} +1 -1
- package/{cdn/chunks/chunk.7JDLQVG4.js → dist/chunks/chunk.BK6ECHLY.js} +1 -1
- package/dist/chunks/{chunk.ZQUIMAAE.js → chunk.BVDLYJ4V.js} +2 -2
- package/{cdn/chunks/chunk.2RDS35ON.js → dist/chunks/chunk.BXVVDTPD.js} +1 -1
- package/dist/chunks/{chunk.3YZ2AF47.js → chunk.BYHTPL3Q.js} +1 -1
- package/dist/chunks/{chunk.3LKEI7XF.js → chunk.CBHMRTGD.js} +1 -1
- package/dist/chunks/{chunk.REXSYJQM.js → chunk.CCG3PCKI.js} +1 -1
- package/dist/chunks/{chunk.VXDE3WPV.js → chunk.CEKCNKBC.js} +5 -5
- package/dist/chunks/{chunk.CVY3YIMQ.js → chunk.CERN7BLO.js} +1 -1
- package/dist/chunks/{chunk.2MFFAXDJ.js → chunk.CHGLQVIM.js} +1 -1
- package/dist/chunks/{chunk.FDH7RVAM.js → chunk.CMT7WX36.js} +7 -7
- package/{cdn/chunks/chunk.2MI5K43O.js → dist/chunks/chunk.CMVNWGKS.js} +1 -1
- package/dist/chunks/{chunk.B4YXS3IF.js → chunk.CTRGPUBF.js} +1 -1
- package/dist/chunks/{chunk.JH5XQFHJ.js → chunk.CUAEZISI.js} +1 -1
- package/{cdn/chunks/chunk.3L6SF7NG.js → dist/chunks/chunk.D5VPXXQI.js} +1 -1
- package/{cdn/chunks/chunk.DSM6W7H4.js → dist/chunks/chunk.DI72HONP.js} +1 -1
- package/dist/chunks/{chunk.2KEEQ4CZ.js → chunk.DU4TS2TO.js} +1 -1
- package/dist/chunks/{chunk.YHZHA7UR.js → chunk.DYDR7OS4.js} +2 -2
- package/dist/chunks/{chunk.ZLZECBBM.js → chunk.DYDWEDYF.js} +2 -2
- package/dist/chunks/{chunk.MMOVNDB5.js → chunk.ECFIE7TU.js} +1 -1
- package/{cdn/chunks/chunk.VJYNQIHI.js → dist/chunks/chunk.EFEOSQ2A.js} +1 -1
- package/dist/chunks/{chunk.L3ZGMU5O.js → chunk.EKR6G75D.js} +1 -1
- package/dist/chunks/{chunk.LR7O6MZ2.js → chunk.EPDEOJ5W.js} +1 -1
- package/dist/chunks/{chunk.SCYFA567.js → chunk.EQZWQ7AP.js} +3 -3
- package/dist/chunks/{chunk.T6ARQWHN.js → chunk.ERJZDRSG.js} +1 -1
- package/dist/chunks/{chunk.XJEBCBXA.js → chunk.ESGU3KEE.js} +1 -1
- package/dist/chunks/{chunk.3266TMKF.js → chunk.EWLEX6RE.js} +1 -1
- package/dist/chunks/{chunk.HSCQXQ7X.js → chunk.F342YEFB.js} +1 -1
- package/dist/chunks/{chunk.JYNLVZPA.js → chunk.F3EF3KK4.js} +1 -1
- package/dist/chunks/{chunk.3K5SOXPC.js → chunk.F6WAL2UH.js} +1 -1
- package/dist/chunks/{chunk.4CCY5W5C.js → chunk.F6WOPMCG.js} +1 -1
- package/dist/chunks/{chunk.3ZCGJZDE.js → chunk.FDVO5KBP.js} +1 -1
- package/{cdn/chunks/chunk.TD7WYGT2.js → dist/chunks/chunk.FK43CTV6.js} +1 -1
- package/dist/chunks/{chunk.UGYIO7S4.js → chunk.FWCDVDJT.js} +1 -1
- package/dist/chunks/{chunk.KWAXKE4V.js → chunk.FWGEZUQ5.js} +1 -1
- package/dist/chunks/{chunk.4JBKKDJ3.js → chunk.G3BVXMFR.js} +1 -1
- package/{cdn/chunks/chunk.PFRQWUIQ.js → dist/chunks/chunk.G3WBLBA4.js} +1 -1
- package/dist/chunks/{chunk.HOMDHMAZ.js → chunk.GILI3XSO.js} +1 -1
- package/dist/chunks/{chunk.GNMCBWRV.js → chunk.GPJJDMH2.js} +1 -1
- package/dist/chunks/{chunk.46I7ABLU.js → chunk.GQPWBUNF.js} +1 -1
- package/dist/chunks/{chunk.KR3L5CLK.js → chunk.GX4GICOM.js} +1 -1
- package/dist/chunks/{chunk.7HJP4HHW.js → chunk.H4KRN3CB.js} +1 -1
- package/{cdn/chunks/chunk.V3JHFZTI.js → dist/chunks/chunk.HEGYIROX.js} +1 -1
- package/{cdn/chunks/chunk.AMOSZFZH.js → dist/chunks/chunk.HF4T2K3O.js} +1 -1
- package/dist/chunks/{chunk.FRU4SOLX.js → chunk.HWQSYQLF.js} +1 -1
- package/{cdn/chunks/chunk.XCJGPWGG.js → dist/chunks/chunk.I5CBMIP3.js} +1 -1
- package/dist/chunks/{chunk.OAK65VXB.js → chunk.IEDYFNX5.js} +1 -1
- package/dist/chunks/{chunk.OBOSOPMC.js → chunk.II6ZOJUM.js} +1 -1
- package/dist/chunks/{chunk.JFOUC4AL.js → chunk.IIO4V25H.js} +1 -1
- package/dist/chunks/{chunk.IIY2257P.js → chunk.IL4XKVQR.js} +1 -1
- package/dist/chunks/{chunk.JGMWPY3N.js → chunk.IPUNH26O.js} +1 -1
- package/dist/chunks/{chunk.REKTFLI5.js → chunk.IWHLCD4G.js} +1 -1
- package/dist/chunks/{chunk.LFISFUXE.js → chunk.IWVJLQBX.js} +1 -1
- package/dist/chunks/{chunk.U6HX6NHZ.js → chunk.IXFR3DJZ.js} +2 -2
- package/{cdn/chunks/chunk.CJEJR2GR.js → dist/chunks/chunk.IZHGYV77.js} +1 -1
- package/{cdn/chunks/chunk.ABTYEJOL.js → dist/chunks/chunk.IZRAVDZW.js} +1 -1
- package/dist/chunks/{chunk.CZDB5ACL.js → chunk.JCGQ4USB.js} +1 -1
- package/dist/chunks/{chunk.3CETEWGU.js → chunk.JEQKS2OU.js} +4 -4
- package/dist/chunks/{chunk.IDO2BTGI.js → chunk.JNJBQYHB.js} +1 -1
- package/{cdn/chunks/chunk.JXNWLSRM.js → dist/chunks/chunk.JV65YBCK.js} +1 -1
- package/dist/chunks/{chunk.O7JGHMZK.js → chunk.K2KCJWXS.js} +1 -1
- package/dist/chunks/{chunk.JHNJTHD5.js → chunk.KPIHOABG.js} +2 -2
- package/{cdn/chunks/chunk.2YFCSE3I.js → dist/chunks/chunk.KQKYKZLA.js} +1 -1
- package/dist/chunks/{chunk.RJGVAK4L.js → chunk.L7UE7C7B.js} +4 -4
- package/dist/chunks/{chunk.QMQCP2UV.js → chunk.LBT45UAP.js} +1 -1
- package/{cdn/chunks/chunk.IDGNSULA.js → dist/chunks/chunk.LXKQHF2I.js} +1 -1
- package/dist/chunks/{chunk.XKNWMPST.js → chunk.MELULGDM.js} +6 -6
- package/dist/chunks/{chunk.IALPHWNO.js → chunk.MXLTSDDC.js} +1 -1
- package/dist/chunks/{chunk.OVC7M3UE.js → chunk.MZW5OAL7.js} +1 -1
- package/dist/chunks/{chunk.N2BLSGKM.js → chunk.N5SDP5FW.js} +1 -1
- package/dist/chunks/{chunk.IUEHS6LJ.js → chunk.NKWUU7JQ.js} +2 -2
- package/dist/chunks/{chunk.O5ROCAAP.js → chunk.NQD2OCWE.js} +1 -1
- package/dist/chunks/{chunk.EO2V7VXY.js → chunk.NVH2BG2C.js} +32 -9
- package/dist/chunks/{chunk.2TFVHDOH.js → chunk.NZUYF7SW.js} +1 -1
- package/{cdn/chunks/chunk.NVA5AMVE.js → dist/chunks/chunk.O5GRNQEA.js} +1 -1
- package/dist/chunks/{chunk.BXRDV7ZJ.js → chunk.O5R3A3BI.js} +1 -1
- package/dist/chunks/{chunk.6TAAIIS5.js → chunk.OKJZUC57.js} +1 -1
- package/dist/chunks/{chunk.UMDQVFBT.js → chunk.OWPPFWWI.js} +1 -1
- package/dist/chunks/{chunk.GPXT2IS2.js → chunk.OWSGAKEW.js} +1 -1
- package/{cdn/chunks/chunk.UOGJITHD.js → dist/chunks/chunk.P5XIVL5X.js} +1 -1
- package/dist/chunks/{chunk.ONPNBAHJ.js → chunk.PHBATMJO.js} +1 -1
- package/dist/chunks/{chunk.DQFAPQUW.js → chunk.PPTS5EKC.js} +1 -1
- package/dist/chunks/{chunk.E6HKFQ2J.js → chunk.PTYCXST6.js} +1 -1
- package/dist/chunks/{chunk.ORSNSBRI.js → chunk.PU7DGLW7.js} +1 -1
- package/dist/chunks/{chunk.GDPXMM44.js → chunk.PWZNAF6X.js} +5 -5
- package/dist/chunks/{chunk.QQDRPZ7K.js → chunk.PXJPB2IL.js} +1 -1
- package/dist/chunks/{chunk.HXGSCL2V.js → chunk.PZY4323J.js} +1 -1
- package/{cdn/chunks/chunk.INQDWDNB.js → dist/chunks/chunk.Q2XCJHDI.js} +1 -1
- package/dist/chunks/{chunk.D22OPN6O.js → chunk.QGKGCRUK.js} +2 -2
- package/dist/chunks/{chunk.5HBPZRTJ.js → chunk.QMB5VDUM.js} +1 -1
- package/dist/chunks/{chunk.KMWG534Z.js → chunk.QPZMCL4L.js} +1 -1
- package/dist/chunks/{chunk.2E3LIEKL.js → chunk.QUOYSFRG.js} +1 -1
- package/dist/chunks/{chunk.M4EUHOMT.js → chunk.QV5TFHV3.js} +2 -2
- package/dist/chunks/{chunk.KEBJBTJZ.js → chunk.QWTBWWWT.js} +1 -1
- package/dist/chunks/{chunk.UKJYF6QG.js → chunk.QZDBAZ4K.js} +1 -1
- package/dist/chunks/{chunk.JAOGN6F4.js → chunk.RGWKQE6W.js} +1 -1
- package/{cdn/chunks/chunk.2RBJLYVR.js → dist/chunks/chunk.RU7MOXDO.js} +1 -1
- package/dist/chunks/{chunk.GZXXFKEK.js → chunk.RUHQAN2L.js} +1 -1
- package/dist/chunks/{chunk.4KYN5AQR.js → chunk.S7P7EBDK.js} +1 -1
- package/dist/chunks/{chunk.V775Y3ED.js → chunk.SDDHPGA3.js} +1 -1
- package/dist/chunks/{chunk.YCNWBXDO.js → chunk.SJAJXTHK.js} +1 -1
- package/dist/chunks/{chunk.IT34EKJX.js → chunk.SMHW7IX2.js} +2 -2
- package/dist/chunks/{chunk.2SWS5DGL.js → chunk.SNAKZTQY.js} +1 -1
- package/{cdn/chunks/chunk.ZJHWZCLK.js → dist/chunks/chunk.SNBLC5IA.js} +1 -1
- package/dist/chunks/{chunk.PLTAODEB.js → chunk.SO477Q2Y.js} +1 -1
- package/dist/chunks/{chunk.VPBM6YV4.js → chunk.T4SVPGEX.js} +1 -1
- package/{cdn/chunks/chunk.TVH3XRWS.js → dist/chunks/chunk.TEY6PG33.js} +1 -1
- package/dist/chunks/{chunk.ROOO6J45.js → chunk.TF62KSK6.js} +2 -2
- package/dist/chunks/{chunk.A7AG3NFN.js → chunk.TFBOQKXR.js} +1 -1
- package/dist/chunks/{chunk.SQOXE76N.js → chunk.THPY56BZ.js} +220 -112
- package/dist/chunks/{chunk.SCFOZPCQ.js → chunk.TM77HEOE.js} +2 -2
- package/dist/chunks/{chunk.NQ5K3TUL.js → chunk.TOAEEWSE.js} +1 -1
- package/{cdn/chunks/chunk.2QNELDKH.js → dist/chunks/chunk.TZKJDUG6.js} +1 -1
- package/dist/chunks/{chunk.FI7S4U2Z.js → chunk.U4A23BY6.js} +1 -1
- package/{cdn/chunks/chunk.7BIVPOYD.js → dist/chunks/chunk.UMRSWNYQ.js} +1 -1
- package/dist/chunks/{chunk.WDBD2IFJ.js → chunk.URJRG2PX.js} +1 -1
- package/dist/chunks/{chunk.ILUMFV7Q.js → chunk.V43ZGFBI.js} +1 -1
- package/dist/chunks/{chunk.DKJXNSI3.js → chunk.V62FXFIR.js} +4 -4
- package/dist/chunks/{chunk.KNKOJLCO.js → chunk.VELFIKLW.js} +1 -1
- package/dist/chunks/{chunk.PDF2MN4E.js → chunk.VZM4DFJH.js} +1 -1
- package/dist/chunks/{chunk.W6NGORMK.js → chunk.WDQY223R.js} +1 -1
- package/dist/chunks/{chunk.VT6V5X4P.js → chunk.WHTHM6PN.js} +1 -1
- package/dist/chunks/{chunk.5QIMDIAW.js → chunk.WZ65CZ5Z.js} +1 -1
- package/dist/chunks/{chunk.6BF5AE36.js → chunk.X335C6CR.js} +2 -2
- package/dist/chunks/{chunk.BM35LFDN.js → chunk.X6FSUXEL.js} +1 -1
- package/dist/chunks/{chunk.ONDJIB3R.js → chunk.XBQC2KFZ.js} +5 -5
- package/dist/chunks/{chunk.Q3AOLNQ3.js → chunk.XBVMGHIQ.js} +2 -2
- package/dist/chunks/{chunk.KWKGSYVC.js → chunk.XE3IOFRZ.js} +1 -1
- package/dist/chunks/{chunk.55W5LTVW.js → chunk.XEGEVPPO.js} +1 -1
- package/{cdn/chunks/chunk.ZOO3KTPM.js → dist/chunks/chunk.XEYB6Z7D.js} +1 -1
- package/dist/chunks/{chunk.42KAJG2R.js → chunk.XYBZ42G7.js} +1 -1
- package/{cdn/chunks/chunk.4TTJ6UAL.js → dist/chunks/chunk.Y72WN5WQ.js} +1 -1
- package/dist/chunks/{chunk.QHDDJCEZ.js → chunk.YIQGVMMU.js} +1 -1
- package/dist/chunks/{chunk.DBYUAWNV.js → chunk.YJ7DA6QN.js} +1 -1
- package/dist/chunks/{chunk.OGJPLRK4.js → chunk.YLRYUJMC.js} +1 -1
- package/dist/chunks/{chunk.L2HNDMOQ.js → chunk.YNSEG3P7.js} +1 -1
- package/{cdn/chunks/chunk.3OL5SWVJ.js → dist/chunks/chunk.YOMBCYJ5.js} +1 -1
- package/{cdn/chunks/chunk.4MXRFDH4.js → dist/chunks/chunk.ZI72PGJ6.js} +1 -1
- package/dist/chunks/{chunk.6YPRL3W2.js → chunk.ZNOQFS6K.js} +4 -4
- package/dist/chunks/{chunk.NXE5C72S.js → chunk.ZZM53GE3.js} +1 -1
- package/dist/chunks/{chunk.UG52NGGG.js → chunk.ZZWVPBZ3.js} +1 -1
- package/dist/components/alert/alert.component.js +5 -5
- package/dist/components/alert/alert.js +6 -6
- package/dist/components/animated-image/animated-image.component.js +3 -3
- package/dist/components/animated-image/animated-image.js +4 -4
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +3 -3
- package/dist/components/avatar/avatar.js +4 -4
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.js +4 -4
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +5 -5
- package/dist/components/button/button.js +6 -6
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/calendar/calendar.component.d.ts +12 -0
- package/dist/components/calendar/calendar.component.js +8 -8
- package/dist/components/calendar/calendar.js +9 -9
- package/dist/components/calendar/calendar.styles.js +1 -1
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +3 -3
- package/dist/components/carousel/carousel.js +4 -4
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +3 -3
- package/dist/components/checkbox/checkbox.js +4 -4
- package/dist/components/color-picker/color-picker.component.js +11 -11
- package/dist/components/color-picker/color-picker.js +12 -12
- package/dist/components/copy-button/copy-button.component.js +5 -5
- package/dist/components/copy-button/copy-button.js +6 -6
- package/dist/components/details/details.component.js +3 -3
- package/dist/components/details/details.js +4 -4
- package/dist/components/dialog/dialog.component.js +5 -5
- package/dist/components/dialog/dialog.js +6 -6
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +5 -5
- package/dist/components/drawer/drawer.js +6 -6
- package/dist/components/dropdown/dropdown.component.js +3 -3
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/file-upload/file-upload.component.js +7 -7
- package/dist/components/file-upload/file-upload.js +8 -8
- package/dist/components/file-upload-item/file-upload-item.component.js +3 -3
- package/dist/components/file-upload-item/file-upload-item.js +4 -4
- package/dist/components/format-bytes/format-bytes.component.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +3 -3
- package/dist/components/format-date/format-date.component.js +2 -2
- package/dist/components/format-date/format-date.js +3 -3
- package/dist/components/format-number/format-number.component.js +2 -2
- package/dist/components/format-number/format-number.js +3 -3
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +3 -3
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/image-comparer/image-comparer.component.js +3 -3
- package/dist/components/image-comparer/image-comparer.js +4 -4
- package/dist/components/include/include.component.js +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +4 -4
- package/dist/components/input/input.js +5 -5
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +6 -6
- package/dist/components/menu-item/menu-item.js +7 -7
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/option/option.component.js +3 -3
- package/dist/components/option/option.js +4 -4
- package/dist/components/paginate/paginate.component.js +3 -3
- package/dist/components/paginate/paginate.js +4 -4
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/qr-code/qr-code.component.js +2 -2
- package/dist/components/qr-code/qr-code.js +3 -3
- package/dist/components/radio/radio.component.js +3 -3
- package/dist/components/radio/radio.js +4 -4
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +3 -3
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/range/range.component.js +3 -3
- package/dist/components/range/range.js +4 -4
- package/dist/components/rating/rating.component.js +3 -3
- package/dist/components/rating/rating.js +4 -4
- package/dist/components/relative-time/relative-time.component.js +2 -2
- package/dist/components/relative-time/relative-time.js +3 -3
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/select/select.component.js +7 -7
- package/dist/components/select/select.js +8 -8
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/split-panel/split-panel.component.js +2 -2
- package/dist/components/split-panel/split-panel.js +3 -3
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +4 -4
- package/dist/components/tab/tab.js +5 -5
- package/dist/components/tab-group/tab-group.component.js +4 -4
- package/dist/components/tab-group/tab-group.js +5 -5
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/table/table.component.js +9 -9
- package/dist/components/table/table.js +10 -10
- package/dist/components/tag/tag.component.js +4 -4
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/tree/tree.component.js +7 -7
- package/dist/components/tree/tree.js +8 -8
- package/dist/components/tree-item/tree-item.component.js +6 -6
- package/dist/components/tree-item/tree-item.js +7 -7
- package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/custom-elements.json +222 -202
- package/dist/internal/calendar.d.ts +3 -0
- package/dist/pure-ui.js +135 -135
- package/dist/react/alert/index.js +6 -6
- package/dist/react/animated-image/index.js +4 -4
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +4 -4
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +4 -4
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +6 -6
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/calendar/index.js +9 -9
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +4 -4
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +4 -4
- package/dist/react/color-picker/index.js +12 -12
- package/dist/react/copy-button/index.js +6 -6
- package/dist/react/details/index.js +4 -4
- package/dist/react/dialog/index.js +6 -6
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +6 -6
- package/dist/react/dropdown/index.js +4 -4
- package/dist/react/file-upload/index.js +8 -8
- package/dist/react/file-upload-item/index.js +4 -4
- package/dist/react/format-bytes/index.js +3 -3
- package/dist/react/format-date/index.js +3 -3
- package/dist/react/format-number/index.js +3 -3
- package/dist/react/icon/index.js +3 -3
- package/dist/react/icon-button/index.js +4 -4
- package/dist/react/image-comparer/index.js +4 -4
- package/dist/react/include/index.js +3 -3
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +138 -138
- package/dist/react/input/index.js +5 -5
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +7 -7
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/option/index.js +4 -4
- package/dist/react/paginate/index.js +4 -4
- package/dist/react/popup/index.js +3 -3
- package/dist/react/progress-bar/index.js +3 -3
- package/dist/react/progress-ring/index.js +3 -3
- package/dist/react/qr-code/index.js +3 -3
- package/dist/react/radio/index.js +4 -4
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +4 -4
- package/dist/react/range/index.js +4 -4
- package/dist/react/rating/index.js +4 -4
- package/dist/react/relative-time/index.js +3 -3
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/select/index.js +8 -8
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spinner/index.js +3 -3
- package/dist/react/split-panel/index.js +3 -3
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +5 -5
- package/dist/react/tab-group/index.js +5 -5
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/table/index.js +10 -10
- package/dist/react/tag/index.js +5 -5
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/tooltip/index.js +4 -4
- package/dist/react/tree/index.js +8 -8
- package/dist/react/tree-item/index.js +7 -7
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/types/vue/index.d.ts +67 -62
- package/dist/vscode.html-custom-data.json +46 -41
- package/dist/web-types.json +146 -133
- package/package.json +2 -2
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk.NOWCQZBS.js";
|
|
4
4
|
import {
|
|
5
5
|
PTag
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.V2O36RJ6.js";
|
|
7
7
|
import {
|
|
8
8
|
ae
|
|
9
9
|
} from "./chunk.6JBGXCYU.js";
|
|
10
10
|
import {
|
|
11
11
|
PPopup
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.EGVUZQPO.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultValue
|
|
15
15
|
} from "./chunk.PGG27OMY.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk.SW6OGP3X.js";
|
|
22
22
|
import {
|
|
23
23
|
calendar_styles_default
|
|
24
|
-
} from "./chunk.
|
|
24
|
+
} from "./chunk.VRDVF2K2.js";
|
|
25
25
|
import {
|
|
26
26
|
getAnimation,
|
|
27
27
|
setDefaultAnimation
|
|
@@ -33,18 +33,18 @@ import {
|
|
|
33
33
|
animateTo,
|
|
34
34
|
stopAnimations
|
|
35
35
|
} from "./chunk.S7GYYU7Z.js";
|
|
36
|
+
import {
|
|
37
|
+
LocalizeController
|
|
38
|
+
} from "./chunk.BTMIVMQK.js";
|
|
36
39
|
import {
|
|
37
40
|
HasSlotController
|
|
38
41
|
} from "./chunk.MLXUTV4G.js";
|
|
39
42
|
import {
|
|
40
43
|
Rt
|
|
41
44
|
} from "./chunk.A56LY5J2.js";
|
|
42
|
-
import {
|
|
43
|
-
LocalizeController
|
|
44
|
-
} from "./chunk.BTMIVMQK.js";
|
|
45
45
|
import {
|
|
46
46
|
PIcon
|
|
47
|
-
} from "./chunk.
|
|
47
|
+
} from "./chunk.URVDUKEN.js";
|
|
48
48
|
import {
|
|
49
49
|
watch
|
|
50
50
|
} from "./chunk.FA5RT4K4.js";
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
e,
|
|
54
54
|
n,
|
|
55
55
|
r
|
|
56
|
-
} from "./chunk.
|
|
56
|
+
} from "./chunk.JAIO7NXJ.js";
|
|
57
57
|
import {
|
|
58
58
|
component_styles_default
|
|
59
59
|
} from "./chunk.DNSDK7ZG.js";
|
|
@@ -64,119 +64,6 @@ import {
|
|
|
64
64
|
__decorateClass
|
|
65
65
|
} from "./chunk.KIILAQWQ.js";
|
|
66
66
|
|
|
67
|
-
// src/internal/calendar.ts
|
|
68
|
-
function generateCalendarGrid(year, month, options) {
|
|
69
|
-
const weekStartsWith = (options == null ? void 0 : options.weekStartsWith) || "sunday";
|
|
70
|
-
const today = /* @__PURE__ */ new Date();
|
|
71
|
-
const dayThisMonthStartsWith = new Date(year, month - 1, 1).getDay();
|
|
72
|
-
const lastDayOfMonth = new Date(year, month, 0).getDate();
|
|
73
|
-
const lastDayOfPreviousMonth = month === 1 ? new Date(year - 1, 1, 0).getDate() : new Date(year, month - 1, 0).getDate();
|
|
74
|
-
const dayGrid = [];
|
|
75
|
-
let day = 1;
|
|
76
|
-
do {
|
|
77
|
-
const date = new Date(year, month - 1, day);
|
|
78
|
-
let dayOfWeek = new Date(year, month - 1, day).getDay();
|
|
79
|
-
if (weekStartsWith === "sunday") {
|
|
80
|
-
}
|
|
81
|
-
if (day === 1) {
|
|
82
|
-
let lastMonthDay = lastDayOfPreviousMonth - dayThisMonthStartsWith + 1;
|
|
83
|
-
for (let i = 0; i < dayThisMonthStartsWith; i++) {
|
|
84
|
-
const dayOfLastMonth = new Date(year, month - 2, lastMonthDay);
|
|
85
|
-
dayGrid.push({
|
|
86
|
-
date: dayOfLastMonth,
|
|
87
|
-
isToday: isSameDay(dayOfLastMonth, today),
|
|
88
|
-
isWeekday: isWeekday(dayOfLastMonth),
|
|
89
|
-
isWeekend: isWeekend(dayOfLastMonth),
|
|
90
|
-
isCurrentMonth: false,
|
|
91
|
-
isPreviousMonth: true,
|
|
92
|
-
isNextMonth: false
|
|
93
|
-
});
|
|
94
|
-
lastMonthDay++;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
dayGrid.push({
|
|
98
|
-
date,
|
|
99
|
-
isToday: isSameDay(date, today),
|
|
100
|
-
isWeekday: isWeekday(date),
|
|
101
|
-
isWeekend: isWeekend(date),
|
|
102
|
-
isCurrentMonth: true,
|
|
103
|
-
isPreviousMonth: false,
|
|
104
|
-
isNextMonth: false
|
|
105
|
-
});
|
|
106
|
-
if (day === lastDayOfMonth) {
|
|
107
|
-
let nextMonthDay = 1;
|
|
108
|
-
for (dayOfWeek; dayOfWeek < 6; dayOfWeek++) {
|
|
109
|
-
const dayOfNextMonth = new Date(year, month, nextMonthDay);
|
|
110
|
-
dayGrid.push({
|
|
111
|
-
date: dayOfNextMonth,
|
|
112
|
-
isToday: isSameDay(dayOfNextMonth, today),
|
|
113
|
-
isWeekday: isWeekday(dayOfNextMonth),
|
|
114
|
-
isWeekend: isWeekend(dayOfNextMonth),
|
|
115
|
-
isCurrentMonth: false,
|
|
116
|
-
isPreviousMonth: false,
|
|
117
|
-
isNextMonth: true
|
|
118
|
-
});
|
|
119
|
-
nextMonthDay++;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
day++;
|
|
123
|
-
} while (day <= lastDayOfMonth);
|
|
124
|
-
return dayGrid;
|
|
125
|
-
}
|
|
126
|
-
function getAllDayNames(locale = "en-GB", format = "long") {
|
|
127
|
-
const formatter = new Intl.DateTimeFormat(locale, {
|
|
128
|
-
weekday: format,
|
|
129
|
-
timeZone: "UTC"
|
|
130
|
-
});
|
|
131
|
-
const days = [1, 2, 3, 4, 5, 6, 7].map((day) => {
|
|
132
|
-
const dd = day < 10 ? `0${day}` : day;
|
|
133
|
-
return /* @__PURE__ */ new Date(`2024-01-${dd}T00:00:00+00:00`);
|
|
134
|
-
});
|
|
135
|
-
return days.map((date) => formatter.format(date));
|
|
136
|
-
}
|
|
137
|
-
function getAllMonthNames(locale = "en-GB", format = "long") {
|
|
138
|
-
const formatter = new Intl.DateTimeFormat(locale, {
|
|
139
|
-
month: format,
|
|
140
|
-
timeZone: "UTC"
|
|
141
|
-
});
|
|
142
|
-
const months = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map((month) => {
|
|
143
|
-
const mm = month < 10 ? `0${month}` : month;
|
|
144
|
-
return /* @__PURE__ */ new Date(`2024-${mm}-01T00:00:00+00:00`);
|
|
145
|
-
});
|
|
146
|
-
return months.map((date) => formatter.format(date));
|
|
147
|
-
}
|
|
148
|
-
function isSameDay(date1, date2) {
|
|
149
|
-
return date1.getFullYear() === date2.getFullYear() && date1.getMonth() === date2.getMonth() && date1.getDate() === date2.getDate();
|
|
150
|
-
}
|
|
151
|
-
function isWeekend(date) {
|
|
152
|
-
const day = date.getDay();
|
|
153
|
-
return day === 0 || day === 6;
|
|
154
|
-
}
|
|
155
|
-
function isWeekday(date) {
|
|
156
|
-
const day = date.getDay();
|
|
157
|
-
return day > 0 && day < 6;
|
|
158
|
-
}
|
|
159
|
-
function getMonthName(date, locale = "en-GB", format = "long") {
|
|
160
|
-
return getAllMonthNames(locale, format)[date.getMonth()];
|
|
161
|
-
}
|
|
162
|
-
function getDateLabelWithFormat(date, locale = "en-GB", format) {
|
|
163
|
-
return new Intl.DateTimeFormat(locale, format).format(date);
|
|
164
|
-
}
|
|
165
|
-
function getDateDifferentFrom(date, days) {
|
|
166
|
-
return new Date(date.getTime() + days * 24 * 60 * 60 * 1e3);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
// src/internal/part-map.ts
|
|
170
|
-
function partMap(map) {
|
|
171
|
-
const parts = [];
|
|
172
|
-
for (const [key, value] of Object.entries(map)) {
|
|
173
|
-
if (value) {
|
|
174
|
-
parts.push(key);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
return parts.join(" ");
|
|
178
|
-
}
|
|
179
|
-
|
|
180
67
|
// node_modules/pure-date-format/dist/index.js
|
|
181
68
|
function padZero(num, length = 2) {
|
|
182
69
|
return num.toString().padStart(length, "0");
|
|
@@ -420,7 +307,191 @@ function index() {
|
|
|
420
307
|
return false;
|
|
421
308
|
}
|
|
422
309
|
}
|
|
423
|
-
|
|
310
|
+
function add(date, amount, unit) {
|
|
311
|
+
try {
|
|
312
|
+
const newDate = new Date(date);
|
|
313
|
+
const millisecondsPerUnit = {
|
|
314
|
+
ms: 1,
|
|
315
|
+
milliseconds: 1,
|
|
316
|
+
s: 1e3,
|
|
317
|
+
seconds: 1e3,
|
|
318
|
+
m: 6e4,
|
|
319
|
+
minutes: 6e4,
|
|
320
|
+
h: 36e5,
|
|
321
|
+
hours: 36e5,
|
|
322
|
+
d: 864e5,
|
|
323
|
+
days: 864e5,
|
|
324
|
+
M: 0,
|
|
325
|
+
months: 0,
|
|
326
|
+
y: 0,
|
|
327
|
+
years: 0
|
|
328
|
+
};
|
|
329
|
+
switch (unit) {
|
|
330
|
+
case "y":
|
|
331
|
+
case "years":
|
|
332
|
+
newDate.setFullYear(newDate.getFullYear() + amount);
|
|
333
|
+
break;
|
|
334
|
+
case "M":
|
|
335
|
+
case "months":
|
|
336
|
+
const originalDay = newDate.getDate();
|
|
337
|
+
newDate.setMonth(newDate.getMonth() + amount);
|
|
338
|
+
if (newDate.getDate() !== originalDay) {
|
|
339
|
+
newDate.setDate(0);
|
|
340
|
+
}
|
|
341
|
+
break;
|
|
342
|
+
default:
|
|
343
|
+
if (!millisecondsPerUnit[unit]) {
|
|
344
|
+
throw new Error("Invalid time unit");
|
|
345
|
+
}
|
|
346
|
+
const newTime = newDate.getTime() + amount * millisecondsPerUnit[unit];
|
|
347
|
+
newDate.setTime(newTime);
|
|
348
|
+
break;
|
|
349
|
+
}
|
|
350
|
+
return newDate;
|
|
351
|
+
} catch (error) {
|
|
352
|
+
throw new Error("Invalid date");
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
function subtract(date, amount, unit) {
|
|
356
|
+
return add(date, -amount, unit);
|
|
357
|
+
}
|
|
358
|
+
return { from, to, isValid, add, subtract };
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
// src/internal/calendar.ts
|
|
362
|
+
var dateFormat = index();
|
|
363
|
+
function generateCalendarGrid(year, month, options) {
|
|
364
|
+
const weekStartsWith = (options == null ? void 0 : options.weekStartsWith) || "sunday";
|
|
365
|
+
const today = /* @__PURE__ */ new Date();
|
|
366
|
+
const dayThisMonthStartsWith = new Date(year, month - 1, 1).getDay();
|
|
367
|
+
const lastDayOfMonth = new Date(year, month, 0).getDate();
|
|
368
|
+
const lastDayOfPreviousMonth = month === 1 ? new Date(year - 1, 1, 0).getDate() : new Date(year, month - 1, 0).getDate();
|
|
369
|
+
const calendarGrid = [];
|
|
370
|
+
let day = 1;
|
|
371
|
+
switch (options == null ? void 0 : options.interface) {
|
|
372
|
+
case "day":
|
|
373
|
+
do {
|
|
374
|
+
const date = new Date(year, month - 1, day);
|
|
375
|
+
let dayOfWeek = new Date(year, month - 1, day).getDay();
|
|
376
|
+
if (weekStartsWith === "sunday") {
|
|
377
|
+
}
|
|
378
|
+
if (day === 1) {
|
|
379
|
+
let lastMonthDay = lastDayOfPreviousMonth - dayThisMonthStartsWith + 1;
|
|
380
|
+
for (let i = 0; i < dayThisMonthStartsWith; i++) {
|
|
381
|
+
const dayOfLastMonth = new Date(year, month - 2, lastMonthDay);
|
|
382
|
+
calendarGrid.push({
|
|
383
|
+
date: dayOfLastMonth,
|
|
384
|
+
isToday: isSameDay(dayOfLastMonth, today),
|
|
385
|
+
isWeekday: isWeekday(dayOfLastMonth),
|
|
386
|
+
isWeekend: isWeekend(dayOfLastMonth),
|
|
387
|
+
isCurrentMonth: false,
|
|
388
|
+
isPreviousMonth: true,
|
|
389
|
+
isNextMonth: false
|
|
390
|
+
});
|
|
391
|
+
lastMonthDay++;
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
calendarGrid.push({
|
|
395
|
+
date,
|
|
396
|
+
isToday: isSameDay(date, today),
|
|
397
|
+
isWeekday: isWeekday(date),
|
|
398
|
+
isWeekend: isWeekend(date),
|
|
399
|
+
isCurrentMonth: true,
|
|
400
|
+
isPreviousMonth: false,
|
|
401
|
+
isNextMonth: false
|
|
402
|
+
});
|
|
403
|
+
if (day === lastDayOfMonth) {
|
|
404
|
+
let nextMonthDay = 1;
|
|
405
|
+
for (dayOfWeek; dayOfWeek < 6; dayOfWeek++) {
|
|
406
|
+
const dayOfNextMonth = new Date(year, month, nextMonthDay);
|
|
407
|
+
calendarGrid.push({
|
|
408
|
+
date: dayOfNextMonth,
|
|
409
|
+
isToday: isSameDay(dayOfNextMonth, today),
|
|
410
|
+
isWeekday: isWeekday(dayOfNextMonth),
|
|
411
|
+
isWeekend: isWeekend(dayOfNextMonth),
|
|
412
|
+
isCurrentMonth: false,
|
|
413
|
+
isPreviousMonth: false,
|
|
414
|
+
isNextMonth: true
|
|
415
|
+
});
|
|
416
|
+
nextMonthDay++;
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
day++;
|
|
420
|
+
} while (day <= lastDayOfMonth);
|
|
421
|
+
break;
|
|
422
|
+
case "month":
|
|
423
|
+
Array.from({ length: 12 }).map((_, idx) => {
|
|
424
|
+
return calendarGrid.push({
|
|
425
|
+
date: new Date(year, idx, 1),
|
|
426
|
+
isToday: false,
|
|
427
|
+
isWeekday: false,
|
|
428
|
+
isWeekend: false,
|
|
429
|
+
isCurrentMonth: idx === month - 1,
|
|
430
|
+
isPreviousMonth: false,
|
|
431
|
+
isNextMonth: false
|
|
432
|
+
});
|
|
433
|
+
});
|
|
434
|
+
break;
|
|
435
|
+
default:
|
|
436
|
+
break;
|
|
437
|
+
}
|
|
438
|
+
return calendarGrid;
|
|
439
|
+
}
|
|
440
|
+
function getAllDayNames(locale = "en-GB", format = "long") {
|
|
441
|
+
const formatter = new Intl.DateTimeFormat(locale, {
|
|
442
|
+
weekday: format,
|
|
443
|
+
timeZone: "UTC"
|
|
444
|
+
});
|
|
445
|
+
const days = [1, 2, 3, 4, 5, 6, 7].map((day) => {
|
|
446
|
+
const dd = day < 10 ? `0${day}` : day;
|
|
447
|
+
return /* @__PURE__ */ new Date(`2024-01-${dd}T00:00:00+00:00`);
|
|
448
|
+
});
|
|
449
|
+
return days.map((date) => formatter.format(date));
|
|
450
|
+
}
|
|
451
|
+
function getAllMonthNames(locale = "en-GB", format = "long") {
|
|
452
|
+
const formatter = new Intl.DateTimeFormat(locale, {
|
|
453
|
+
month: format,
|
|
454
|
+
timeZone: "UTC"
|
|
455
|
+
});
|
|
456
|
+
const months = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map((month) => {
|
|
457
|
+
const mm = month < 10 ? `0${month}` : month;
|
|
458
|
+
return /* @__PURE__ */ new Date(`2024-${mm}-01T00:00:00+00:00`);
|
|
459
|
+
});
|
|
460
|
+
return months.map((date) => formatter.format(date));
|
|
461
|
+
}
|
|
462
|
+
function isSameDay(date1, date2) {
|
|
463
|
+
return date1.getFullYear() === date2.getFullYear() && date1.getMonth() === date2.getMonth() && date1.getDate() === date2.getDate();
|
|
464
|
+
}
|
|
465
|
+
function isWeekend(date) {
|
|
466
|
+
const day = date.getDay();
|
|
467
|
+
return day === 0 || day === 6;
|
|
468
|
+
}
|
|
469
|
+
function isWeekday(date) {
|
|
470
|
+
const day = date.getDay();
|
|
471
|
+
return day > 0 && day < 6;
|
|
472
|
+
}
|
|
473
|
+
function getMonthName(date, locale = "en-GB", format = "long") {
|
|
474
|
+
return getAllMonthNames(locale, format)[date.getMonth()];
|
|
475
|
+
}
|
|
476
|
+
function getDateLabelWithFormat(date, locale = "en-GB", format) {
|
|
477
|
+
return new Intl.DateTimeFormat(locale, format).format(date);
|
|
478
|
+
}
|
|
479
|
+
function getDateDifferentFrom(date, days) {
|
|
480
|
+
return new Date(date.getTime() + days * 24 * 60 * 60 * 1e3);
|
|
481
|
+
}
|
|
482
|
+
function getMonthDifferentFrom(date, months) {
|
|
483
|
+
return dateFormat.add(date, months, "months");
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
// src/internal/part-map.ts
|
|
487
|
+
function partMap(map) {
|
|
488
|
+
const parts = [];
|
|
489
|
+
for (const [key, value] of Object.entries(map)) {
|
|
490
|
+
if (value) {
|
|
491
|
+
parts.push(key);
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
return parts.join(" ");
|
|
424
495
|
}
|
|
425
496
|
|
|
426
497
|
// src/components/calendar/calendar.component.ts
|
|
@@ -480,6 +551,7 @@ var PCalendar = class extends PureElement {
|
|
|
480
551
|
this.showToday = false;
|
|
481
552
|
this.mode = "default";
|
|
482
553
|
this.type = "single";
|
|
554
|
+
this.interface = "day";
|
|
483
555
|
this.autofocus = false;
|
|
484
556
|
this.month = (/* @__PURE__ */ new Date()).getMonth() + 1;
|
|
485
557
|
this.year = (/* @__PURE__ */ new Date()).getFullYear();
|
|
@@ -514,20 +586,22 @@ var PCalendar = class extends PureElement {
|
|
|
514
586
|
return;
|
|
515
587
|
}
|
|
516
588
|
if (this.keyword) {
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
589
|
+
if (this.type !== "range" || Array.isArray(this._value) && this._value.length === 0) {
|
|
590
|
+
const isValid = index().isValid(this.keyword, this.format);
|
|
591
|
+
if (!isValid) {
|
|
592
|
+
return;
|
|
593
|
+
} else {
|
|
594
|
+
this.handleSelectDate({
|
|
595
|
+
date: index().to(this.keyword, this.format),
|
|
596
|
+
isToday: false,
|
|
597
|
+
isWeekday: false,
|
|
598
|
+
isWeekend: false,
|
|
599
|
+
isCurrentMonth: false,
|
|
600
|
+
isPreviousMonth: false,
|
|
601
|
+
isNextMonth: false
|
|
602
|
+
});
|
|
603
|
+
return;
|
|
604
|
+
}
|
|
531
605
|
}
|
|
532
606
|
}
|
|
533
607
|
if (this.currentOption && !this.disabled && this.open) {
|
|
@@ -548,17 +622,33 @@ var PCalendar = class extends PureElement {
|
|
|
548
622
|
let newCurrentOption = void 0;
|
|
549
623
|
switch (event.key) {
|
|
550
624
|
case "ArrowUp":
|
|
551
|
-
|
|
625
|
+
if (this.interface === "day") {
|
|
626
|
+
newCurrentOption = getDateDifferentFrom(this.currentOption, -7);
|
|
627
|
+
} else if (this.interface === "month") {
|
|
628
|
+
newCurrentOption = getMonthDifferentFrom(this.currentOption, -4);
|
|
629
|
+
}
|
|
552
630
|
break;
|
|
553
631
|
case "ArrowDown":
|
|
554
|
-
|
|
632
|
+
if (this.interface === "day") {
|
|
633
|
+
newCurrentOption = getDateDifferentFrom(this.currentOption, 7);
|
|
634
|
+
} else if (this.interface === "month") {
|
|
635
|
+
newCurrentOption = getMonthDifferentFrom(this.currentOption, 4);
|
|
636
|
+
}
|
|
555
637
|
break;
|
|
556
638
|
case "ArrowLeft":
|
|
557
|
-
|
|
639
|
+
if (this.interface === "day") {
|
|
640
|
+
newCurrentOption = getDateDifferentFrom(this.currentOption, -1);
|
|
641
|
+
} else if (this.interface === "month") {
|
|
642
|
+
newCurrentOption = getMonthDifferentFrom(this.currentOption, -1);
|
|
643
|
+
}
|
|
558
644
|
break;
|
|
559
645
|
case "ArrowRight":
|
|
560
646
|
case "Tab":
|
|
561
|
-
|
|
647
|
+
if (this.interface === "day") {
|
|
648
|
+
newCurrentOption = getDateDifferentFrom(this.currentOption, 1);
|
|
649
|
+
} else if (this.interface === "month") {
|
|
650
|
+
newCurrentOption = getMonthDifferentFrom(this.currentOption, 1);
|
|
651
|
+
}
|
|
562
652
|
break;
|
|
563
653
|
default:
|
|
564
654
|
break;
|
|
@@ -838,7 +928,11 @@ var PCalendar = class extends PureElement {
|
|
|
838
928
|
}
|
|
839
929
|
// Gets an array of all <p-option> elements
|
|
840
930
|
getAllOptions() {
|
|
841
|
-
return [
|
|
931
|
+
return [
|
|
932
|
+
...generateCalendarGrid(this.year, this.month, {
|
|
933
|
+
interface: this.interface
|
|
934
|
+
})
|
|
935
|
+
];
|
|
842
936
|
}
|
|
843
937
|
// Sets the current option, which is the option the user is currently interacting with (e.g. via keyboard). Only one
|
|
844
938
|
// option may be "current" at a time.
|
|
@@ -1075,8 +1169,11 @@ var PCalendar = class extends PureElement {
|
|
|
1075
1169
|
}
|
|
1076
1170
|
const lang = this.lang || document.documentElement.lang;
|
|
1077
1171
|
const month = new Date(this.year, this.month - 1, 1);
|
|
1078
|
-
const
|
|
1172
|
+
const calendarGrid = generateCalendarGrid(this.year, this.month, {
|
|
1173
|
+
interface: this.interface
|
|
1174
|
+
});
|
|
1079
1175
|
const dayNames = getAllDayNames(lang, this.dayLabels);
|
|
1176
|
+
const hasNavigateMonth = ["day"].includes(this.interface);
|
|
1080
1177
|
const hasLabelSlot = this.hasSlotController.test("label");
|
|
1081
1178
|
const hasHelpTextSlot = this.hasSlotController.test("help-text");
|
|
1082
1179
|
const hasLabel = this.label ? true : !!hasLabelSlot;
|
|
@@ -1117,7 +1214,8 @@ var PCalendar = class extends PureElement {
|
|
|
1117
1214
|
@click=${this.goToPreviousMonth}
|
|
1118
1215
|
class=${Rt({
|
|
1119
1216
|
"calendar__header-button": true,
|
|
1120
|
-
"calendar__header-button--disabled": this.disabled
|
|
1217
|
+
"calendar__header-button--disabled": this.disabled,
|
|
1218
|
+
"calendar__header-button--hidden": !hasNavigateMonth
|
|
1121
1219
|
})}
|
|
1122
1220
|
>
|
|
1123
1221
|
<p-icon-button name="chevron-left" label=${this.localize.term("previousMonth")}></p-icon-button>
|
|
@@ -1126,7 +1224,9 @@ var PCalendar = class extends PureElement {
|
|
|
1126
1224
|
<slot name="header-prefix"></slot>
|
|
1127
1225
|
|
|
1128
1226
|
<span class="calendar__label">
|
|
1129
|
-
<span class="calendar__month-label"
|
|
1227
|
+
<span class="calendar__month-label"
|
|
1228
|
+
>${hasNavigateMonth ? getMonthName(month, lang, this.monthLabels) : ""}</span
|
|
1229
|
+
>
|
|
1130
1230
|
<span class="calendar__year-label">${month.getFullYear()}</span>
|
|
1131
1231
|
</span>
|
|
1132
1232
|
|
|
@@ -1138,7 +1238,8 @@ var PCalendar = class extends PureElement {
|
|
|
1138
1238
|
@click=${this.goToNextMonth}
|
|
1139
1239
|
class=${Rt({
|
|
1140
1240
|
"calendar__header-button": true,
|
|
1141
|
-
"calendar__header-button--disabled": this.disabled
|
|
1241
|
+
"calendar__header-button--disabled": this.disabled,
|
|
1242
|
+
"calendar__header-button--hidden": !hasNavigateMonth
|
|
1142
1243
|
})}
|
|
1143
1244
|
>
|
|
1144
1245
|
<p-icon-button name="chevron-right" label=${this.localize.term("nextMonth")}></p-icon-button>
|
|
@@ -1156,23 +1257,23 @@ var PCalendar = class extends PureElement {
|
|
|
1156
1257
|
</p-button>
|
|
1157
1258
|
</header>
|
|
1158
1259
|
|
|
1159
|
-
|
|
1160
|
-
|
|
1260
|
+
${this.interface === "day" ? ke`<div class="calendar__days">
|
|
1261
|
+
${[0, 1, 2, 3, 4, 5, 6].map((day) => {
|
|
1161
1262
|
return ke`
|
|
1162
|
-
|
|
1163
|
-
|
|
1263
|
+
<span
|
|
1264
|
+
part=${partMap({
|
|
1164
1265
|
day: true,
|
|
1165
1266
|
"day-label": true,
|
|
1166
1267
|
"day-weekday": day > 0 && day < 6,
|
|
1167
1268
|
"day-weekend": day === 0 || day === 6
|
|
1168
1269
|
})}
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1270
|
+
class="calendar__day"
|
|
1271
|
+
>
|
|
1272
|
+
${dayNames[day]}
|
|
1273
|
+
</span>
|
|
1274
|
+
`;
|
|
1174
1275
|
})}
|
|
1175
|
-
|
|
1276
|
+
${calendarGrid.map((day) => {
|
|
1176
1277
|
if (day.isCurrentMonth || this.showAdjacentDates) {
|
|
1177
1278
|
let isSelected = false;
|
|
1178
1279
|
let isSelectionStart = false;
|
|
@@ -1203,9 +1304,9 @@ var PCalendar = class extends PureElement {
|
|
|
1203
1304
|
break;
|
|
1204
1305
|
}
|
|
1205
1306
|
return ke`
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1307
|
+
<button
|
|
1308
|
+
type="button"
|
|
1309
|
+
part=${partMap({
|
|
1209
1310
|
day: true,
|
|
1210
1311
|
"day-current-focus": isCurrentSelect,
|
|
1211
1312
|
"day-current-month": day.isCurrentMonth,
|
|
@@ -1219,17 +1320,68 @@ var PCalendar = class extends PureElement {
|
|
|
1219
1320
|
"day-selection-start": isSelectionStart,
|
|
1220
1321
|
"day-selection-end": isSelectionEnd
|
|
1221
1322
|
})}
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1323
|
+
class="calendar__day"
|
|
1324
|
+
@mouseup=${() => this.handleSelectDate(day)}
|
|
1325
|
+
@mouseenter=${() => this.handleSetTemporaryEndDate(day)}
|
|
1326
|
+
>
|
|
1327
|
+
${day.date.getDate()}
|
|
1328
|
+
</button>
|
|
1329
|
+
`;
|
|
1229
1330
|
}
|
|
1230
1331
|
return ke` <div class="calendar__day calendar__day--empty"></div> `;
|
|
1231
1332
|
})}
|
|
1232
|
-
|
|
1333
|
+
</div>` : null}
|
|
1334
|
+
${this.interface === "month" ? ke`<div class="calendar__months">
|
|
1335
|
+
${calendarGrid.map((monthItem) => {
|
|
1336
|
+
let isSelected = false;
|
|
1337
|
+
let isSelectionStart = false;
|
|
1338
|
+
let isSelectionEnd = false;
|
|
1339
|
+
let isSelectedInRange = false;
|
|
1340
|
+
const isCurrentSelect = this.currentOption ? isSameDay(this.currentOption, monthItem.date) : false;
|
|
1341
|
+
switch (this.type) {
|
|
1342
|
+
case "single":
|
|
1343
|
+
isSelected = this._value && !Array.isArray(this._value) && isSameDay(this._value, monthItem.date);
|
|
1344
|
+
break;
|
|
1345
|
+
case "multiple":
|
|
1346
|
+
isSelected = Array.isArray(this._value) ? this._value.some((d) => isSameDay(d, monthItem.date)) : false;
|
|
1347
|
+
break;
|
|
1348
|
+
case "range":
|
|
1349
|
+
if (Array.isArray(this._value) && this._value.length > 0) {
|
|
1350
|
+
isSelected = this._value.some((d) => isSameDay(d, monthItem.date));
|
|
1351
|
+
if (this._value.length === 2) {
|
|
1352
|
+
isSelectedInRange = monthItem.date > this._value[0] && monthItem.date < this._value[1];
|
|
1353
|
+
}
|
|
1354
|
+
if (this._value.length === 1) {
|
|
1355
|
+
isSelectedInRange = this.temporalEndDate ? monthItem.date > this._value[0] && monthItem.date < this.temporalEndDate || monthItem.date < this._value[0] && monthItem.date > this.temporalEndDate : false;
|
|
1356
|
+
}
|
|
1357
|
+
isSelectionStart = isSameDay(this._value[0], monthItem.date);
|
|
1358
|
+
isSelectionEnd = isSameDay(this._value[this._value.length - 1], monthItem.date);
|
|
1359
|
+
}
|
|
1360
|
+
break;
|
|
1361
|
+
default:
|
|
1362
|
+
break;
|
|
1363
|
+
}
|
|
1364
|
+
return ke`
|
|
1365
|
+
<button
|
|
1366
|
+
type="button"
|
|
1367
|
+
part=${partMap({
|
|
1368
|
+
month: true,
|
|
1369
|
+
"month-current": monthItem.isCurrentMonth,
|
|
1370
|
+
"month-current-focus": isCurrentSelect,
|
|
1371
|
+
"month-selected": isSelected,
|
|
1372
|
+
"month-selected-in-range": isSelectedInRange,
|
|
1373
|
+
"month-selection-start": isSelectionStart,
|
|
1374
|
+
"month-selection-end": isSelectionEnd
|
|
1375
|
+
})}
|
|
1376
|
+
class="calendar__month"
|
|
1377
|
+
@mouseup=${() => this.handleSelectDate(monthItem)}
|
|
1378
|
+
@mouseenter=${() => this.handleSetTemporaryEndDate(monthItem)}
|
|
1379
|
+
>
|
|
1380
|
+
${getMonthName(monthItem.date, lang, this.monthLabels)}
|
|
1381
|
+
</button>
|
|
1382
|
+
`;
|
|
1383
|
+
})}
|
|
1384
|
+
</div>` : null}
|
|
1233
1385
|
|
|
1234
1386
|
<footer class="calendar__footer">
|
|
1235
1387
|
${this.showToday ? ke`
|
|
@@ -1505,6 +1657,9 @@ __decorateClass([
|
|
|
1505
1657
|
__decorateClass([
|
|
1506
1658
|
n({ reflect: true })
|
|
1507
1659
|
], PCalendar.prototype, "type", 2);
|
|
1660
|
+
__decorateClass([
|
|
1661
|
+
n({ reflect: true })
|
|
1662
|
+
], PCalendar.prototype, "interface", 2);
|
|
1508
1663
|
__decorateClass([
|
|
1509
1664
|
n({ type: Boolean, reflect: true })
|
|
1510
1665
|
], PCalendar.prototype, "autofocus", 2);
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk.A56LY5J2.js";
|
|
16
16
|
import {
|
|
17
17
|
PIcon
|
|
18
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.URVDUKEN.js";
|
|
19
19
|
import {
|
|
20
20
|
watch
|
|
21
21
|
} from "./chunk.FA5RT4K4.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
n,
|
|
26
26
|
r,
|
|
27
27
|
t
|
|
28
|
-
} from "./chunk.
|
|
28
|
+
} from "./chunk.JAIO7NXJ.js";
|
|
29
29
|
import {
|
|
30
30
|
component_styles_default
|
|
31
31
|
} from "./chunk.DNSDK7ZG.js";
|