@kdcloudjs/shoelace 0.0.1 → 1.0.0
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.23LEVUAD.js +11 -0
- package/cdn/chunks/chunk.2DQM7KR3.js +33 -0
- package/cdn/chunks/chunk.2LZSKJ2T.js +11 -0
- package/cdn/chunks/chunk.2MEQUOQT.js +120 -0
- package/cdn/chunks/chunk.2R5GUAS4.js +93 -0
- package/cdn/chunks/chunk.2ZRKTSMX.js +11 -0
- package/cdn/chunks/chunk.3AHSZRMI.js +21 -0
- package/cdn/chunks/chunk.3DQ7BNHZ.js +11 -0
- package/cdn/chunks/chunk.3GBNNACM.js +28 -0
- package/cdn/chunks/chunk.3IN3JGBF.js +21 -0
- package/cdn/chunks/chunk.3IRFJ4MS.js +11 -0
- package/cdn/chunks/chunk.3M34SQ76.js +69 -0
- package/cdn/chunks/chunk.3O6K66UZ.js +42 -0
- package/cdn/chunks/chunk.3QRURD7I.js +391 -0
- package/cdn/chunks/chunk.3TEIDNQG.js +40 -0
- package/cdn/chunks/chunk.3WDJGGPP.js +298 -0
- package/cdn/chunks/chunk.4BOWZB3Y.js +302 -0
- package/cdn/chunks/chunk.4MLXM2Q2.js +21 -0
- package/cdn/chunks/chunk.57GYZVBY.js +21 -0
- package/cdn/chunks/chunk.5BFPIXSL.js +11 -0
- package/cdn/chunks/chunk.5GSXGIFL.js +11 -0
- package/cdn/chunks/chunk.5RWZ7VI3.js +244 -0
- package/cdn/chunks/chunk.5SUMIOIU.js +113 -0
- package/cdn/chunks/chunk.5SZDGBQF.js +175 -0
- package/cdn/chunks/chunk.622XCQBN.js +21 -0
- package/cdn/chunks/chunk.63IG2JBO.js +186 -0
- package/cdn/chunks/chunk.64HCJCNI.js +255 -0
- package/cdn/chunks/chunk.6LHVYT75.js +19 -0
- package/cdn/chunks/chunk.6MIC4EY5.js +99 -0
- package/cdn/chunks/chunk.6W7LTM2T.js +11 -0
- package/cdn/chunks/chunk.72WPILAC.js +197 -0
- package/cdn/chunks/chunk.75YFCVKA.js +73 -0
- package/cdn/chunks/chunk.7BCM4VPC.js +1124 -0
- package/cdn/chunks/chunk.7DG4KOED.js +25 -0
- package/cdn/chunks/chunk.7FB74Q7I.js +24 -0
- package/cdn/chunks/chunk.7JBGCRPU.js +11 -0
- package/cdn/chunks/chunk.7P7NFDLH.js +14 -0
- package/cdn/chunks/chunk.7X3B4SI4.js +11 -0
- package/cdn/chunks/chunk.7ZK2UF56.js +14 -0
- package/cdn/chunks/chunk.A4ELXI5A.js +11 -0
- package/cdn/chunks/chunk.A67DT75I.js +156 -0
- package/cdn/chunks/chunk.ADHO6CPR.js +1990 -0
- package/cdn/chunks/chunk.ADJSIZFS.js +328 -0
- package/cdn/chunks/chunk.AKG4JRVD.js +11 -0
- package/cdn/chunks/chunk.AQPJESFM.js +11 -0
- package/cdn/chunks/chunk.ARG2AQCR.js +95 -0
- package/cdn/chunks/chunk.AVEHZ7BN.js +25 -0
- package/cdn/chunks/chunk.B6UMYXUN.js +367 -0
- package/cdn/chunks/chunk.BGNYIYEZ.js +45 -0
- package/cdn/chunks/chunk.BIPJBNSR.js +11 -0
- package/cdn/chunks/chunk.BOHUHHB2.js +379 -0
- package/cdn/chunks/chunk.BQM4EFTD.js +586 -0
- package/cdn/chunks/chunk.BQXFJOTS.js +21 -0
- package/cdn/chunks/chunk.BTJSQVOZ.js +21 -0
- package/cdn/chunks/chunk.BUARFHOC.js +24 -0
- package/cdn/chunks/chunk.BWGEM2LO.js +216 -0
- package/cdn/chunks/chunk.BYNKR6YM.js +11 -0
- package/cdn/chunks/chunk.BYXUKV4X.js +336 -0
- package/cdn/chunks/chunk.C2DY4TKR.js +455 -0
- package/cdn/chunks/chunk.C764HI4L.js +24 -0
- package/cdn/chunks/chunk.CAGGHZHZ.js +11 -0
- package/cdn/chunks/chunk.CEKMP3GY.js +28 -0
- package/cdn/chunks/chunk.CHN6XUDK.js +98 -0
- package/cdn/chunks/chunk.CJIPDSAV.js +29 -0
- package/cdn/chunks/chunk.CLM7SJO5.js +25 -0
- package/cdn/chunks/chunk.CMIFVAA5.js +75 -0
- package/cdn/chunks/chunk.CMVBJIRG.js +11 -0
- package/cdn/chunks/chunk.COPAJV25.js +19 -0
- package/cdn/chunks/chunk.CSRJR6QI.js +16 -0
- package/cdn/chunks/chunk.CUKDISXD.js +67 -0
- package/cdn/chunks/chunk.CYAG6A2P.js +70 -0
- package/cdn/chunks/chunk.D7DBWQOG.js +185 -0
- package/cdn/chunks/chunk.DEAKCJ66.js +16 -0
- package/cdn/chunks/chunk.DLXVTPNS.js +979 -0
- package/cdn/chunks/chunk.DNJTQ2Y7.js +11 -0
- package/cdn/chunks/chunk.DPQTAZXV.js +11 -0
- package/cdn/chunks/chunk.DR5M3QI5.js +21 -0
- package/cdn/chunks/chunk.DTUQJHP5.js +42 -0
- package/cdn/chunks/chunk.DYIBSNEG.js +101 -0
- package/cdn/chunks/chunk.E22KEVJP.js +345 -0
- package/cdn/chunks/chunk.E4IO3LPR.js +24 -0
- package/cdn/chunks/chunk.EFE6XYM5.js +24 -0
- package/cdn/chunks/chunk.EFV3N7NN.js +11 -0
- package/cdn/chunks/chunk.EKVQOYN5.js +11 -0
- package/cdn/chunks/chunk.EN6IZDYW.js +186 -0
- package/cdn/chunks/chunk.EOLDHINP.js +24 -0
- package/cdn/chunks/chunk.EPCUFOKP.js +11 -0
- package/cdn/chunks/chunk.ET5BZX7S.js +27 -0
- package/cdn/chunks/chunk.EUIGQH5J.js +11 -0
- package/cdn/chunks/chunk.EYAZDNPG.js +163 -0
- package/cdn/chunks/chunk.FAKWCEXF.js +186 -0
- package/cdn/chunks/chunk.FANLTDNV.js +279 -0
- package/cdn/chunks/chunk.FRQZBLKJ.js +75 -0
- package/cdn/chunks/chunk.FSUIUKO5.js +11 -0
- package/cdn/chunks/chunk.FTIUIMQE.js +11 -0
- package/cdn/chunks/chunk.FVRO7M4G.js +49 -0
- package/cdn/chunks/chunk.FWQLDDE5.js +21 -0
- package/cdn/chunks/chunk.FYQMGS2X.js +114 -0
- package/cdn/chunks/chunk.GAFRSKH4.js +108 -0
- package/cdn/chunks/chunk.GB5OWZJX.js +119 -0
- package/cdn/chunks/chunk.GCPKKFNW.js +137 -0
- package/cdn/chunks/chunk.GKTPCOT6.js +11 -0
- package/cdn/chunks/chunk.GMNTE57E.js +267 -0
- package/cdn/chunks/chunk.GMZTJAZL.js +25 -0
- package/cdn/chunks/chunk.GSV23YAG.js +11 -0
- package/cdn/chunks/chunk.H45CY7YS.js +11 -0
- package/cdn/chunks/chunk.H7PLVQKX.js +821 -0
- package/cdn/chunks/chunk.H7XCAV4K.js +24 -0
- package/cdn/chunks/chunk.HD2E6OHH.js +49 -0
- package/cdn/chunks/chunk.HDS562EN.js +93 -0
- package/cdn/chunks/chunk.HFE55EF2.js +39 -0
- package/cdn/chunks/chunk.HJNGGHHJ.js +11 -0
- package/cdn/chunks/chunk.HN6W647B.js +236 -0
- package/cdn/chunks/chunk.HPMATJAW.js +94 -0
- package/cdn/chunks/chunk.HSDLV7ZD.js +26 -0
- package/cdn/chunks/chunk.HYLVW7U7.js +103 -0
- package/cdn/chunks/chunk.I7NPEYYT.js +158 -0
- package/cdn/chunks/chunk.IAD2YVQN.js +21 -0
- package/cdn/chunks/chunk.IDLOKUVC.js +122 -0
- package/cdn/chunks/chunk.IDZPASV6.js +11 -0
- package/cdn/chunks/chunk.IEBTQFLH.js +21 -0
- package/cdn/chunks/chunk.IHVTSIVV.js +11 -0
- package/cdn/chunks/chunk.IJVUBV4V.js +97 -0
- package/cdn/chunks/chunk.ILT347FT.js +11 -0
- package/cdn/chunks/chunk.IMHLNNT7.js +100 -0
- package/cdn/chunks/chunk.IPM7IFNY.js +11 -0
- package/cdn/chunks/chunk.IPXCW32Y.js +81 -0
- package/cdn/chunks/chunk.IS33QEZD.js +24 -0
- package/cdn/chunks/chunk.IXQLNPRF.js +26 -0
- package/cdn/chunks/chunk.IY627F2O.js +54 -0
- package/cdn/chunks/chunk.J2JUWNCI.js +115 -0
- package/cdn/chunks/chunk.J2T3HKZH.js +11 -0
- package/cdn/chunks/chunk.JHJ32V5M.js +11 -0
- package/cdn/chunks/chunk.JHZUFAAR.js +46 -0
- package/cdn/chunks/chunk.JK2SZSOP.js +57 -0
- package/cdn/chunks/chunk.JKACP3UT.js +11 -0
- package/cdn/chunks/chunk.JNL27MRY.js +27 -0
- package/cdn/chunks/chunk.JR6MLRGD.js +402 -0
- package/cdn/chunks/chunk.JU77O3AK.js +27 -0
- package/cdn/chunks/chunk.JVOPRJ6L.js +11 -0
- package/cdn/chunks/chunk.JX756U2P.js +11 -0
- package/cdn/chunks/chunk.JYYAJVMY.js +27 -0
- package/cdn/chunks/chunk.K2DR372Y.js +67 -0
- package/cdn/chunks/chunk.K2DTALJC.js +501 -0
- package/cdn/chunks/chunk.K2TJ56SW.js +51 -0
- package/cdn/chunks/chunk.KDEA44OK.js +162 -0
- package/cdn/chunks/chunk.KEII62OL.js +61 -0
- package/cdn/chunks/chunk.KPR25VNY.js +11 -0
- package/cdn/chunks/chunk.KUN2355C.js +162 -0
- package/cdn/chunks/chunk.KWKKCBZI.js +21 -0
- package/cdn/chunks/chunk.L344MXBL.js +24 -0
- package/cdn/chunks/chunk.LALNQTWY.js +21 -0
- package/cdn/chunks/chunk.LBBMCAAK.js +11 -0
- package/cdn/chunks/chunk.LCCF3AO6.js +14 -0
- package/cdn/chunks/chunk.LDBWY5N4.js +25 -0
- package/cdn/chunks/chunk.LDNVPVIS.js +263 -0
- package/cdn/chunks/chunk.LFJBLFAF.js +25 -0
- package/cdn/chunks/chunk.LNXLFBJF.js +25 -0
- package/cdn/chunks/chunk.LNZZQLSD.js +11 -0
- package/cdn/chunks/chunk.LVLRI4FU.js +153 -0
- package/cdn/chunks/chunk.LZ2AEEPH.js +30 -0
- package/cdn/chunks/chunk.LZ3VDHB6.js +22 -0
- package/cdn/chunks/chunk.M25JFF4S.js +11 -0
- package/cdn/chunks/chunk.MENDJ3ES.js +21 -0
- package/cdn/chunks/chunk.MMN6BEAM.js +1879 -0
- package/cdn/chunks/chunk.MTNCCBBC.js +127 -0
- package/cdn/chunks/chunk.MXYQ2YHB.js +127 -0
- package/cdn/chunks/chunk.N46Z5XJ2.js +28 -0
- package/cdn/chunks/chunk.NCELV3A3.js +68 -0
- package/cdn/chunks/chunk.NFYJUZ72.js +27 -0
- package/cdn/chunks/chunk.NOOFLZZ3.js +21 -0
- package/cdn/chunks/chunk.NPBNFZCC.js +352 -0
- package/cdn/chunks/chunk.NRRGBRFQ.js +25 -0
- package/cdn/chunks/chunk.NTQAYOOB.js +724 -0
- package/cdn/chunks/chunk.O4VEQSCU.js +85 -0
- package/cdn/chunks/chunk.O6QLVREN.js +37 -0
- package/cdn/chunks/chunk.OCNWVR4J.js +236 -0
- package/cdn/chunks/chunk.OSICTDRO.js +30 -0
- package/cdn/chunks/chunk.OUYYS2WY.js +21 -0
- package/cdn/chunks/chunk.OY5V3CPY.js +33 -0
- package/cdn/chunks/chunk.PG3KI7CV.js +233 -0
- package/cdn/chunks/chunk.PXND53B4.js +64 -0
- package/cdn/chunks/chunk.PYGUMT6D.js +25 -0
- package/cdn/chunks/chunk.Q6EUYTT5.js +11 -0
- package/cdn/chunks/chunk.QCNRKOCR.js +105 -0
- package/cdn/chunks/chunk.QRCSQLDS.js +21 -0
- package/cdn/chunks/chunk.QVZCPPRX.js +24 -0
- package/cdn/chunks/chunk.R5VGZ4LD.js +118 -0
- package/cdn/chunks/chunk.R6B7NPKA.js +11 -0
- package/cdn/chunks/chunk.RBKDUVFD.js +24 -0
- package/cdn/chunks/chunk.RCZ3VAD5.js +299 -0
- package/cdn/chunks/chunk.REFJADYI.js +29 -0
- package/cdn/chunks/chunk.RGS2YUQD.js +23 -0
- package/cdn/chunks/chunk.RLDNVYO6.js +142 -0
- package/cdn/chunks/chunk.RNXADPVA.js +11 -0
- package/cdn/chunks/chunk.S4WAIX7T.js +21 -0
- package/cdn/chunks/chunk.S7JPGFFL.js +26 -0
- package/cdn/chunks/chunk.SN2P3DPL.js +11 -0
- package/cdn/chunks/chunk.SN3GNV2Z.js +14 -0
- package/cdn/chunks/chunk.SNJ5TWRF.js +24 -0
- package/cdn/chunks/chunk.SPNXZ2JR.js +11 -0
- package/cdn/chunks/chunk.SUQHAKBQ.js +11 -0
- package/cdn/chunks/chunk.T2F5SLB3.js +24 -0
- package/cdn/chunks/chunk.T6FDWIJB.js +28 -0
- package/cdn/chunks/chunk.T6QOKWOR.js +79 -0
- package/cdn/chunks/chunk.TJTSA5R4.js +82 -0
- package/cdn/chunks/chunk.TLEAVCNN.js +73 -0
- package/cdn/chunks/chunk.TNBXYFZT.js +291 -0
- package/cdn/chunks/chunk.TSTTKLCU.js +11 -0
- package/cdn/chunks/chunk.TWATOU7Q.js +87 -0
- package/cdn/chunks/chunk.U2JDACQS.js +123 -0
- package/cdn/chunks/chunk.U3SRV2F4.js +75 -0
- package/cdn/chunks/chunk.U6LIZH2N.js +258 -0
- package/cdn/chunks/chunk.UG75OYIV.js +21 -0
- package/cdn/chunks/chunk.UGXEFRCT.js +11 -0
- package/cdn/chunks/chunk.UPXT4IT3.js +55 -0
- package/cdn/chunks/chunk.VCIOYUM7.js +21 -0
- package/cdn/chunks/chunk.VDD6G6EQ.js +66 -0
- package/cdn/chunks/chunk.VEIVN3WO.js +25 -0
- package/cdn/chunks/chunk.VFI75L5L.js +0 -0
- package/cdn/chunks/chunk.VG7IHWCP.js +11 -0
- package/cdn/chunks/chunk.VJH5TNQS.js +11 -0
- package/cdn/chunks/chunk.VKHUSJ7O.js +25 -0
- package/cdn/chunks/chunk.VM65EBLN.js +302 -0
- package/cdn/chunks/chunk.VNXQLD5E.js +21 -0
- package/cdn/chunks/chunk.VT5AKGJP.js +11 -0
- package/cdn/chunks/chunk.VV24KCRD.js +292 -0
- package/cdn/chunks/chunk.VVX2RMFN.js +24 -0
- package/cdn/chunks/chunk.W5YWNJ3F.js +50 -0
- package/cdn/chunks/chunk.WDULR4A5.js +63 -0
- package/cdn/chunks/chunk.WEXY47CC.js +11 -0
- package/cdn/chunks/chunk.WMJU7K44.js +58 -0
- package/cdn/chunks/chunk.WMKP2YBP.js +346 -0
- package/cdn/chunks/chunk.WOFTPMUN.js +77 -0
- package/cdn/chunks/chunk.WPAIOHRM.js +36 -0
- package/cdn/chunks/chunk.X2NJALR2.js +29 -0
- package/cdn/chunks/chunk.X2PCFGVF.js +314 -0
- package/cdn/chunks/chunk.XEP3MV3Z.js +681 -0
- package/cdn/chunks/chunk.XJMOUI5V.js +11 -0
- package/cdn/chunks/chunk.XK4LBXDT.js +21 -0
- package/cdn/chunks/chunk.XP2SN5TY.js +28 -0
- package/cdn/chunks/chunk.XQZ75PG6.js +11 -0
- package/cdn/chunks/chunk.Y5DKBB6S.js +29 -0
- package/cdn/chunks/chunk.YBDLYSR6.js +11 -0
- package/cdn/chunks/chunk.YCOYO5Q5.js +29 -0
- package/cdn/chunks/chunk.YO2RCZB4.js +27 -0
- package/cdn/chunks/chunk.YOUSBLVL.js +75 -0
- package/cdn/chunks/chunk.YPCLW4PZ.js +122 -0
- package/cdn/chunks/chunk.YQCNCHZK.js +2665 -0
- package/cdn/chunks/chunk.YSDEXDWJ.js +63 -0
- package/cdn/chunks/chunk.YSZADQYN.js +21 -0
- package/cdn/chunks/chunk.YUBWOTKQ.js +135 -0
- package/cdn/chunks/chunk.YUO3U4CO.js +128 -0
- package/cdn/chunks/chunk.Z67N6G2D.js +11 -0
- package/cdn/chunks/chunk.ZBHMCLJF.js +49 -0
- package/cdn/chunks/chunk.ZFMK746Y.js +14 -0
- package/cdn/chunks/chunk.ZHDYZSPI.js +361 -0
- package/cdn/chunks/chunk.ZHRDFBUU.js +390 -0
- package/cdn/chunks/chunk.ZHXQFA7P.js +92 -0
- package/cdn/chunks/chunk.ZHXVLA3K.js +11 -0
- package/cdn/chunks/chunk.ZKRJ3RUK.js +643 -0
- package/cdn/chunks/chunk.ZLZKOPYV.js +47 -0
- package/cdn/chunks/chunk.ZNVXAGZ3.js +128 -0
- package/cdn/chunks/chunk.ZSNUIR56.js +53 -0
- package/cdn/components/alert/alert.component.js +18 -18
- package/cdn/components/alert/alert.js +19 -19
- package/cdn/components/alert/alert.styles.js +3 -3
- package/cdn/components/animated-image/animated-image.component.js +10 -10
- package/cdn/components/animated-image/animated-image.js +11 -11
- package/cdn/components/animated-image/animated-image.styles.js +3 -3
- package/cdn/components/animation/animation.component.js +8 -8
- package/cdn/components/animation/animation.js +9 -9
- package/cdn/components/animation/animation.styles.js +3 -3
- package/cdn/components/animation/animations.js +2 -2
- package/cdn/components/avatar/avatar.component.js +11 -11
- package/cdn/components/avatar/avatar.js +12 -12
- package/cdn/components/avatar/avatar.styles.js +3 -3
- package/cdn/components/badge/badge.component.js +7 -7
- package/cdn/components/badge/badge.js +8 -8
- package/cdn/components/badge/badge.styles.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +10 -10
- package/cdn/components/breadcrumb/breadcrumb.js +11 -11
- package/cdn/components/breadcrumb/breadcrumb.styles.js +3 -3
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +9 -9
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +10 -10
- package/cdn/components/breadcrumb-item/breadcrumb-item.styles.js +3 -3
- package/cdn/components/button/button.component.js +17 -17
- package/cdn/components/button/button.js +18 -18
- package/cdn/components/button/button.styles.js +3 -3
- package/cdn/components/button-group/button-group.component.js +6 -6
- package/cdn/components/button-group/button-group.js +7 -7
- package/cdn/components/button-group/button-group.styles.js +3 -3
- package/cdn/components/calendar/calendar.component.js +25 -7
- package/cdn/components/calendar/calendar.js +25 -7
- package/cdn/components/card/card.component.js +7 -7
- package/cdn/components/card/card.js +8 -8
- package/cdn/components/card/card.styles.js +3 -3
- package/cdn/components/carousel/autoplay-controller.js +1 -1
- package/cdn/components/carousel/carousel.component.js +13 -13
- package/cdn/components/carousel/carousel.js +14 -14
- package/cdn/components/carousel/carousel.styles.js +3 -3
- package/cdn/components/carousel-item/carousel-item.component.js +6 -6
- package/cdn/components/carousel-item/carousel-item.js +7 -7
- package/cdn/components/carousel-item/carousel-item.styles.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +15 -15
- package/cdn/components/checkbox/checkbox.js +16 -16
- package/cdn/components/checkbox/checkbox.styles.js +3 -3
- package/cdn/components/color-picker/color-picker.component.js +35 -36
- package/cdn/components/color-picker/color-picker.js +36 -37
- package/cdn/components/color-picker/color-picker.styles.js +3 -3
- package/cdn/components/copy-button/copy-button.component.js +18 -18
- package/cdn/components/copy-button/copy-button.js +19 -19
- package/cdn/components/copy-button/copy-button.styles.js +3 -3
- package/cdn/components/datepicker/datepicker.component.js +38 -0
- package/cdn/components/datepicker/datepicker.js +42 -0
- package/cdn/components/details/details.component.js +14 -14
- package/cdn/components/details/details.js +15 -15
- package/cdn/components/details/details.styles.js +3 -3
- package/cdn/components/dialog/dialog.component.js +20 -20
- package/cdn/components/dialog/dialog.js +21 -21
- package/cdn/components/dialog/dialog.styles.js +3 -3
- package/cdn/components/divider/divider.component.js +7 -7
- package/cdn/components/divider/divider.js +8 -8
- package/cdn/components/divider/divider.styles.js +3 -3
- package/cdn/components/drawer/drawer.component.js +20 -20
- package/cdn/components/drawer/drawer.js +21 -21
- package/cdn/components/drawer/drawer.styles.js +3 -3
- package/cdn/components/dropdown/dropdown.component.js +15 -15
- package/cdn/components/dropdown/dropdown.js +16 -16
- package/cdn/components/dropdown/dropdown.styles.js +3 -3
- package/cdn/components/format-bytes/format-bytes.component.js +4 -4
- package/cdn/components/format-bytes/format-bytes.js +5 -5
- package/cdn/components/format-date/format-date.component.js +4 -4
- package/cdn/components/format-date/format-date.js +5 -5
- package/cdn/components/format-number/format-number.component.js +4 -4
- package/cdn/components/format-number/format-number.js +5 -5
- package/cdn/components/icon/icon.component.js +8 -8
- package/cdn/components/icon/icon.js +9 -9
- package/cdn/components/icon/icon.styles.js +3 -3
- package/cdn/components/icon/library.default.js +1 -1
- package/cdn/components/icon/library.js +1 -1
- package/cdn/components/icon/library.system.js +1 -1
- package/cdn/components/icon-button/icon-button.component.js +13 -13
- package/cdn/components/icon-button/icon-button.js +14 -14
- package/cdn/components/icon-button/icon-button.styles.js +3 -3
- package/cdn/components/image-comparer/image-comparer.component.js +13 -13
- package/cdn/components/image-comparer/image-comparer.js +14 -14
- package/cdn/components/image-comparer/image-comparer.styles.js +3 -3
- package/cdn/components/include/include.component.js +7 -7
- package/cdn/components/include/include.js +8 -8
- package/cdn/components/include/include.styles.js +3 -3
- package/cdn/components/include/request.js +1 -1
- package/cdn/components/input/input.component.js +16 -19
- package/cdn/components/input/input.js +17 -20
- package/cdn/components/input/input.styles.js +3 -3
- package/cdn/components/menu/menu.component.js +6 -6
- package/cdn/components/menu/menu.js +7 -7
- package/cdn/components/menu/menu.styles.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +17 -17
- package/cdn/components/menu-item/menu-item.js +18 -18
- package/cdn/components/menu-item/menu-item.styles.js +3 -3
- package/cdn/components/menu-item/submenu-controller.js +4 -4
- package/cdn/components/menu-label/menu-label.component.js +6 -6
- package/cdn/components/menu-label/menu-label.js +7 -7
- package/cdn/components/menu-label/menu-label.styles.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +7 -7
- package/cdn/components/mutation-observer/mutation-observer.js +8 -8
- package/cdn/components/mutation-observer/mutation-observer.styles.js +3 -3
- package/cdn/components/option/option.component.js +12 -12
- package/cdn/components/option/option.js +13 -13
- package/cdn/components/option/option.styles.js +3 -3
- package/cdn/components/popup/popup.component.js +8 -8
- package/cdn/components/popup/popup.js +9 -9
- package/cdn/components/popup/popup.styles.js +3 -3
- 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 +3 -3
- package/cdn/components/progress-ring/progress-ring.component.js +6 -6
- package/cdn/components/progress-ring/progress-ring.js +7 -7
- package/cdn/components/progress-ring/progress-ring.styles.js +3 -3
- package/cdn/components/qr-code/qr-code.component.js +8 -8
- package/cdn/components/qr-code/qr-code.js +9 -9
- package/cdn/components/qr-code/qr-code.styles.js +3 -3
- package/cdn/components/radio/radio.component.js +11 -11
- package/cdn/components/radio/radio.js +12 -12
- package/cdn/components/radio/radio.styles.js +3 -3
- package/cdn/components/radio-button/radio-button.component.js +11 -11
- package/cdn/components/radio-button/radio-button.js +12 -12
- package/cdn/components/radio-button/radio-button.styles.js +4 -4
- package/cdn/components/radio-group/radio-group.component.js +12 -12
- package/cdn/components/radio-group/radio-group.js +13 -13
- package/cdn/components/radio-group/radio-group.styles.js +3 -3
- package/cdn/components/range/range.component.js +14 -14
- package/cdn/components/range/range.js +15 -15
- package/cdn/components/range/range.styles.js +3 -3
- package/cdn/components/rating/rating.component.js +14 -14
- package/cdn/components/rating/rating.js +15 -15
- package/cdn/components/rating/rating.styles.js +3 -3
- package/cdn/components/relative-time/relative-time.component.js +4 -4
- package/cdn/components/relative-time/relative-time.js +5 -5
- package/cdn/components/resize-observer/resize-observer.component.js +7 -7
- package/cdn/components/resize-observer/resize-observer.js +8 -8
- package/cdn/components/resize-observer/resize-observer.styles.js +3 -3
- package/cdn/components/select/select.component.js +25 -25
- package/cdn/components/select/select.js +26 -26
- package/cdn/components/select/select.styles.js +3 -3
- package/cdn/components/skeleton/skeleton.component.js +7 -7
- package/cdn/components/skeleton/skeleton.js +8 -8
- package/cdn/components/skeleton/skeleton.styles.js +3 -3
- package/cdn/components/spinner/spinner.component.js +6 -6
- package/cdn/components/spinner/spinner.js +7 -7
- package/cdn/components/spinner/spinner.styles.js +3 -3
- package/cdn/components/split-panel/split-panel.component.js +8 -8
- package/cdn/components/split-panel/split-panel.js +9 -9
- package/cdn/components/split-panel/split-panel.styles.js +3 -3
- package/cdn/components/switch/switch.component.js +13 -13
- package/cdn/components/switch/switch.js +14 -14
- package/cdn/components/switch/switch.styles.js +3 -3
- package/cdn/components/tab/tab.component.js +16 -16
- package/cdn/components/tab/tab.js +17 -17
- package/cdn/components/tab/tab.styles.js +3 -3
- package/cdn/components/tab-group/tab-group.component.js +18 -18
- package/cdn/components/tab-group/tab-group.js +19 -19
- package/cdn/components/tab-group/tab-group.styles.js +3 -3
- package/cdn/components/tab-panel/tab-panel.component.js +8 -8
- package/cdn/components/tab-panel/tab-panel.js +9 -9
- package/cdn/components/tab-panel/tab-panel.styles.js +3 -3
- package/cdn/components/table/body-table.js +16 -0
- package/cdn/components/table/col-group.js +10 -0
- package/cdn/components/table/features/row-selection.js +11 -0
- package/cdn/components/table/head-table.js +15 -0
- package/cdn/components/table/interface.js +1 -0
- package/cdn/components/table/spinner-container.js +9 -0
- package/cdn/components/table/table.component.js +38 -0
- package/cdn/components/table/table.context.js +70 -0
- package/cdn/components/table/table.js +40 -0
- package/cdn/components/table/utils.js +7 -0
- package/cdn/components/tag/tag.component.js +16 -16
- package/cdn/components/tag/tag.js +17 -17
- package/cdn/components/tag/tag.styles.js +3 -3
- package/cdn/components/textarea/textarea.component.js +13 -13
- package/cdn/components/textarea/textarea.js +14 -14
- package/cdn/components/textarea/textarea.styles.js +3 -3
- package/cdn/components/tooltip/tooltip.component.js +13 -13
- package/cdn/components/tooltip/tooltip.js +14 -14
- package/cdn/components/tooltip/tooltip.styles.js +3 -3
- package/cdn/components/tree/tree.component.js +24 -24
- package/cdn/components/tree/tree.js +25 -25
- package/cdn/components/tree/tree.styles.js +3 -3
- package/cdn/components/tree-item/tree-item.component.js +22 -22
- package/cdn/components/tree-item/tree-item.js +23 -23
- package/cdn/components/tree-item/tree-item.styles.js +3 -3
- package/cdn/components/visually-hidden/visually-hidden.component.js +6 -6
- package/cdn/components/visually-hidden/visually-hidden.js +7 -7
- package/cdn/components/visually-hidden/visually-hidden.styles.js +3 -3
- package/cdn/custom-elements.json +1872 -1306
- package/cdn/react/alert/index.js +19 -19
- package/cdn/react/animated-image/index.js +11 -11
- package/cdn/react/animation/index.js +9 -9
- package/cdn/react/avatar/index.js +12 -12
- package/cdn/react/badge/index.js +8 -8
- package/cdn/react/breadcrumb/index.js +11 -11
- package/cdn/react/breadcrumb-item/index.js +10 -10
- package/cdn/react/button/index.js +18 -18
- package/cdn/react/button-group/index.js +7 -7
- package/cdn/react/card/index.js +8 -8
- package/cdn/react/carousel/index.js +14 -14
- package/cdn/react/carousel-item/index.js +7 -7
- package/cdn/react/checkbox/index.js +16 -16
- package/cdn/react/color-picker/index.js +36 -37
- package/cdn/react/copy-button/index.js +19 -19
- package/cdn/react/datepicker/index.js +39 -0
- package/cdn/react/details/index.js +15 -15
- package/cdn/react/dialog/index.js +21 -21
- package/cdn/react/divider/index.js +8 -8
- package/cdn/react/drawer/index.js +21 -21
- package/cdn/react/dropdown/index.js +16 -16
- package/cdn/react/format-bytes/index.js +5 -5
- package/cdn/react/format-date/index.js +5 -5
- package/cdn/react/format-number/index.js +5 -5
- package/cdn/react/icon/index.js +9 -9
- package/cdn/react/icon-button/index.js +14 -14
- package/cdn/react/image-comparer/index.js +14 -14
- package/cdn/react/include/index.js +8 -8
- package/cdn/react/index.js +255 -241
- package/cdn/react/input/index.js +17 -20
- package/cdn/react/menu/index.js +7 -7
- package/cdn/react/menu-item/index.js +18 -18
- package/cdn/react/menu-label/index.js +7 -7
- package/cdn/react/mutation-observer/index.js +8 -8
- package/cdn/react/option/index.js +13 -13
- package/cdn/react/popup/index.js +9 -9
- package/cdn/react/progress-bar/index.js +11 -11
- package/cdn/react/progress-ring/index.js +7 -7
- package/cdn/react/qr-code/index.js +9 -9
- package/cdn/react/radio/index.js +12 -12
- package/cdn/react/radio-button/index.js +12 -12
- package/cdn/react/radio-group/index.js +13 -13
- package/cdn/react/range/index.js +15 -15
- package/cdn/react/rating/index.js +15 -15
- package/cdn/react/relative-time/index.js +5 -5
- package/cdn/react/resize-observer/index.js +8 -8
- package/cdn/react/select/index.js +26 -26
- package/cdn/react/skeleton/index.js +8 -8
- package/cdn/react/spinner/index.js +7 -7
- package/cdn/react/split-panel/index.js +9 -9
- package/cdn/react/switch/index.js +14 -14
- package/cdn/react/tab/index.js +17 -17
- package/cdn/react/tab-group/index.js +19 -19
- package/cdn/react/tab-panel/index.js +9 -9
- package/cdn/react/table/index.js +39 -0
- package/cdn/react/tag/index.js +17 -17
- package/cdn/react/textarea/index.js +14 -14
- package/cdn/react/tooltip/index.js +14 -14
- package/cdn/react/tree/index.js +25 -25
- package/cdn/react/tree-item/index.js +23 -23
- package/cdn/react/visually-hidden/index.js +7 -7
- package/cdn/shoelace-autoloader.js +1 -1
- package/cdn/shoelace.js +246 -233
- package/cdn/themes/dark.css +297 -286
- package/cdn/themes/dark.styles.js +297 -286
- package/cdn/themes/light.css +304 -209
- package/cdn/themes/light.styles.js +316 -209
- package/cdn/translations/ar.js +1 -1
- package/cdn/translations/cs.js +1 -1
- package/cdn/translations/da.js +1 -1
- package/cdn/translations/de-ch.js +1 -1
- package/cdn/translations/de.js +1 -1
- package/cdn/translations/en-gb.js +1 -1
- package/cdn/translations/en.js +1 -1
- package/cdn/translations/es.js +1 -1
- package/cdn/translations/fa.js +1 -1
- package/cdn/translations/fi.js +1 -1
- package/cdn/translations/fr.js +1 -1
- package/cdn/translations/he.js +1 -1
- package/cdn/translations/hr.js +1 -1
- package/cdn/translations/hu.js +1 -1
- package/cdn/translations/id.js +1 -1
- package/cdn/translations/it.js +1 -1
- package/cdn/translations/ja.js +1 -1
- package/cdn/translations/nb.js +1 -1
- package/cdn/translations/nl.js +1 -1
- package/cdn/translations/nn.js +1 -1
- package/cdn/translations/pl.js +1 -1
- package/cdn/translations/pt.js +1 -1
- package/cdn/translations/ru.js +1 -1
- package/cdn/translations/sl.js +1 -1
- package/cdn/translations/sv.js +1 -1
- package/cdn/translations/tr.js +1 -1
- package/cdn/translations/uk.js +1 -1
- package/cdn/translations/zh-cn.js +1 -1
- package/cdn/translations/zh-tw.js +1 -1
- package/cdn/types/vue/index.d.ts +303 -224
- package/cdn/utilities/animation-registry.js +2 -2
- package/cdn/utilities/animation.js +2 -2
- package/cdn/utilities/base-path.js +1 -1
- package/cdn/utilities/form.js +3 -3
- package/cdn/utilities/icon-library.js +1 -1
- package/cdn/utilities/localize.js +1 -1
- package/cdn/vscode.html-custom-data.json +226 -123
- package/cdn/web-types.json +601 -384
- package/dist/chunks/chunk.22LMB5ZP.js +384 -0
- package/dist/chunks/chunk.23ZAVB4X.js +388 -0
- package/dist/chunks/chunk.2DF3IW6S.js +260 -0
- package/dist/chunks/chunk.2FMGJK4E.js +21 -0
- package/dist/chunks/chunk.2MZ7OOZO.js +11 -0
- package/dist/chunks/chunk.2RFPHSI5.js +11 -0
- package/dist/chunks/chunk.2ZVVWOR6.js +91 -0
- package/dist/chunks/chunk.37BW2NNU.js +11 -0
- package/dist/chunks/chunk.3AUHAYQF.js +11 -0
- package/dist/chunks/chunk.3FSCZMKR.js +11 -0
- package/dist/chunks/chunk.3N56WNRQ.js +33 -0
- package/dist/chunks/chunk.3PLRXNOC.js +21 -0
- package/dist/chunks/chunk.425FPMNI.js +21 -0
- package/dist/chunks/chunk.44FLCGTL.js +11 -0
- package/dist/chunks/chunk.4FMSGOJY.js +27 -0
- package/dist/chunks/chunk.4IGL2EUS.js +11 -0
- package/dist/chunks/chunk.4J5RMZ66.js +21 -0
- package/dist/chunks/chunk.4NWKJATC.js +274 -0
- package/dist/chunks/chunk.4UW565YL.js +21 -0
- package/dist/chunks/chunk.552GI5TU.js +21 -0
- package/dist/chunks/chunk.5MTSKPDY.js +11 -0
- package/dist/chunks/chunk.5P75LPWV.js +286 -0
- package/dist/chunks/chunk.5PSER7UV.js +27 -0
- package/dist/chunks/chunk.5SW72M24.js +813 -0
- package/dist/chunks/chunk.5VOJ3AWX.js +21 -0
- package/dist/chunks/chunk.5XJCQVEK.js +11 -0
- package/dist/chunks/chunk.6AGGHDKH.js +11 -0
- package/dist/chunks/chunk.6DPE65CH.js +119 -0
- package/dist/chunks/chunk.6DTQ2RST.js +28 -0
- package/dist/chunks/chunk.6MPAPKHR.js +21 -0
- package/dist/chunks/chunk.6X2IWQFG.js +80 -0
- package/dist/chunks/chunk.6YT6UDXE.js +134 -0
- package/dist/chunks/chunk.7EXDF63O.js +24 -0
- package/dist/chunks/chunk.7GJXD3DO.js +28 -0
- package/dist/chunks/chunk.7NUBXZK7.js +29 -0
- package/dist/chunks/chunk.ACPYFT2E.js +28 -0
- package/dist/chunks/chunk.ALA4QTHP.js +21 -0
- package/dist/chunks/chunk.AWG34B4U.js +11 -0
- package/dist/chunks/chunk.BEKUM4BO.js +35 -0
- package/dist/chunks/chunk.BLOSLBZ6.js +28 -0
- package/dist/chunks/chunk.BWI5ZFZ5.js +11 -0
- package/dist/chunks/chunk.BZ2VS2FQ.js +75 -0
- package/dist/chunks/chunk.BZZRVFFY.js +213 -0
- package/dist/chunks/chunk.C2TY2O26.js +100 -0
- package/dist/chunks/chunk.C4P7XNPA.js +25 -0
- package/dist/chunks/chunk.CAYMZ4EW.js +11 -0
- package/dist/chunks/chunk.CCBQATE7.js +25 -0
- package/dist/chunks/chunk.CKWA764R.js +11 -0
- package/dist/chunks/chunk.CMME3D5G.js +25 -0
- package/dist/chunks/chunk.CSB2UAJC.js +26 -0
- package/dist/chunks/chunk.CY435P5S.js +21 -0
- package/dist/chunks/chunk.D2S5RSAL.js +100 -0
- package/dist/chunks/chunk.DEAKCJ66.js +16 -0
- package/dist/chunks/chunk.DFNJ6YO5.js +22 -0
- package/dist/chunks/chunk.DFQZR62N.js +24 -0
- package/dist/chunks/chunk.DJXNG3EF.js +28 -0
- package/dist/chunks/chunk.DOSUJ44B.js +227 -0
- package/dist/chunks/chunk.DWC5QG4U.js +26 -0
- package/dist/chunks/chunk.DWRJLFY6.js +11 -0
- package/dist/chunks/chunk.DY7Q3C4A.js +293 -0
- package/dist/chunks/chunk.ERF3RTMM.js +11 -0
- package/dist/chunks/chunk.EXPNO7Z4.js +25 -0
- package/dist/chunks/chunk.EXR7TTO7.js +93 -0
- package/dist/chunks/chunk.F2MBKXHT.js +29 -0
- package/dist/chunks/chunk.FBKBSND6.js +42 -0
- package/dist/chunks/chunk.FEWYZRCL.js +11 -0
- package/dist/chunks/chunk.FH5BAGDM.js +11 -0
- package/dist/chunks/chunk.FPZJLXNX.js +183 -0
- package/dist/chunks/chunk.FUZUDCOO.js +11 -0
- package/dist/chunks/chunk.FYVEEY2H.js +11 -0
- package/dist/chunks/chunk.G47LKPQO.js +21 -0
- package/dist/chunks/chunk.G7EHMN5V.js +11 -0
- package/dist/chunks/chunk.GW7OPBRP.js +21 -0
- package/dist/chunks/chunk.GZ3345ZF.js +59 -0
- package/dist/chunks/chunk.H27LJJR5.js +42 -0
- package/dist/chunks/chunk.H2HGAU4C.js +11 -0
- package/dist/chunks/chunk.H4OCEP76.js +25 -0
- package/dist/chunks/chunk.HBBG247C.js +11 -0
- package/dist/chunks/chunk.HIFL5MTW.js +11 -0
- package/dist/chunks/chunk.HPOVPECL.js +678 -0
- package/dist/chunks/chunk.HRAFWQWD.js +113 -0
- package/dist/chunks/chunk.HUI4WJKN.js +105 -0
- package/dist/chunks/chunk.HV7LH2XE.js +73 -0
- package/dist/chunks/chunk.HZY36HHO.js +181 -0
- package/dist/chunks/chunk.I56YA2FE.js +109 -0
- package/dist/chunks/chunk.I5WFQYZE.js +11 -0
- package/dist/chunks/chunk.ICQBJXN3.js +11 -0
- package/dist/chunks/chunk.IE4TYRVL.js +11 -0
- package/dist/chunks/chunk.IFNZ32RQ.js +25 -0
- package/dist/chunks/chunk.IGTQGR6B.js +63 -0
- package/dist/chunks/chunk.IJKSR74B.js +315 -0
- package/dist/chunks/chunk.INDYAKUU.js +45 -0
- package/dist/chunks/chunk.IO6GTQTU.js +21 -0
- package/dist/chunks/chunk.J5VWABYY.js +90 -0
- package/dist/chunks/chunk.JK5NL6H3.js +50 -0
- package/dist/chunks/chunk.JZD6EXKN.js +11 -0
- package/dist/chunks/chunk.K32TBGQR.js +337 -0
- package/dist/chunks/chunk.K7XW37DV.js +325 -0
- package/dist/chunks/chunk.KBYTZHEC.js +259 -0
- package/dist/chunks/chunk.KE2QIWDZ.js +192 -0
- package/dist/chunks/chunk.KMDC56K4.js +11 -0
- package/dist/chunks/chunk.KMYFAKWZ.js +550 -0
- package/dist/chunks/chunk.KQLHZWQ7.js +25 -0
- package/dist/chunks/chunk.KQS4F4RW.js +22 -0
- package/dist/chunks/chunk.KTFDDZEN.js +27 -0
- package/dist/chunks/chunk.KUQYGN2L.js +113 -0
- package/dist/chunks/chunk.KV3DKCCD.js +11 -0
- package/dist/chunks/chunk.L3HJRGSC.js +85 -0
- package/dist/chunks/chunk.LBKZB3BB.js +11 -0
- package/dist/chunks/chunk.LEQAHGT3.js +1123 -0
- package/dist/chunks/chunk.LJE7KQQL.js +24 -0
- package/dist/chunks/chunk.LNJ4HBRW.js +11 -0
- package/dist/chunks/chunk.LQPRP3BV.js +371 -0
- package/dist/chunks/chunk.LUZBSSAH.js +280 -0
- package/dist/chunks/chunk.LWFN7XDP.js +135 -0
- package/dist/chunks/chunk.LZCI2IZ7.js +24 -0
- package/dist/chunks/chunk.M23X7ZHU.js +11 -0
- package/dist/chunks/chunk.M7K53O4E.js +21 -0
- package/dist/chunks/chunk.MB2BGI3T.js +311 -0
- package/dist/chunks/chunk.MCQ3MIFP.js +21 -0
- package/dist/chunks/chunk.MIGZY5I4.js +172 -0
- package/dist/chunks/chunk.MT7VKMYW.js +493 -0
- package/dist/chunks/chunk.MWB25UWL.js +11 -0
- package/dist/chunks/chunk.MXD5MH5O.js +11 -0
- package/dist/chunks/chunk.NC5OWGIQ.js +11 -0
- package/dist/chunks/chunk.NFUAPOOQ.js +24 -0
- package/dist/chunks/chunk.NOWJUAPU.js +122 -0
- package/dist/chunks/chunk.O37GRY54.js +67 -0
- package/dist/chunks/chunk.O7FCHNBV.js +24 -0
- package/dist/chunks/chunk.OFLRRM34.js +21 -0
- package/dist/chunks/chunk.OJECNAFS.js +11 -0
- package/dist/chunks/chunk.OOCI6WMY.js +97 -0
- package/dist/chunks/chunk.OW7F7LI7.js +231 -0
- package/dist/chunks/chunk.OX23FNIL.js +21 -0
- package/dist/chunks/chunk.PHKH7OCN.js +11 -0
- package/dist/chunks/chunk.PIMYNUWJ.js +26 -0
- package/dist/chunks/chunk.PN7WYPLJ.js +949 -0
- package/dist/chunks/chunk.PVSB7573.js +11 -0
- package/dist/chunks/chunk.PYJTGWJI.js +11 -0
- package/dist/chunks/chunk.PYPURIG4.js +126 -0
- package/dist/chunks/chunk.Q2JWMPGU.js +11 -0
- package/dist/chunks/chunk.QMFGY2QT.js +45 -0
- package/dist/chunks/chunk.QNQR32EM.js +52 -0
- package/dist/chunks/chunk.QOHGG35L.js +11 -0
- package/dist/chunks/chunk.QUMJEIU5.js +21 -0
- package/dist/chunks/chunk.QXJEFE7H.js +11 -0
- package/dist/chunks/chunk.ROFEO45L.js +25 -0
- package/dist/chunks/chunk.RPKIOXBP.js +11 -0
- package/dist/chunks/chunk.RTBKCEHA.js +11 -0
- package/dist/chunks/chunk.RXKXJ2SA.js +397 -0
- package/dist/chunks/chunk.S57JXMIN.js +11 -0
- package/dist/chunks/chunk.S6WWKWOZ.js +11 -0
- package/dist/chunks/chunk.SLQ3TLSD.js +11 -0
- package/dist/chunks/chunk.SMV2BLGG.js +24 -0
- package/dist/chunks/chunk.SO7CGB7F.js +11 -0
- package/dist/chunks/chunk.SSIK4ZGV.js +291 -0
- package/dist/chunks/chunk.T45WUXF7.js +11 -0
- package/dist/chunks/chunk.TDYDKTQ6.js +11 -0
- package/dist/chunks/chunk.TEEYQFIV.js +29 -0
- package/dist/chunks/chunk.TKM2LWRJ.js +24 -0
- package/dist/chunks/chunk.TNMOEHS2.js +294 -0
- package/dist/chunks/chunk.UPHI7XHQ.js +147 -0
- package/dist/chunks/chunk.URUWFFVY.js +75 -0
- package/dist/chunks/chunk.V5S6DIWQ.js +24 -0
- package/dist/chunks/chunk.VFI75L5L.js +0 -0
- package/dist/chunks/chunk.VKZADIVB.js +34 -0
- package/dist/chunks/chunk.W3F2ZIUM.js +25 -0
- package/dist/chunks/chunk.W45PEBK2.js +29 -0
- package/dist/chunks/chunk.W65XZQUC.js +21 -0
- package/dist/chunks/chunk.WHRP6GOV.js +27 -0
- package/dist/chunks/chunk.WIZKJV2W.js +11 -0
- package/dist/chunks/chunk.WS5RHS4G.js +11 -0
- package/dist/chunks/chunk.XF4NXZUN.js +60 -0
- package/dist/chunks/chunk.XJMVHGGE.js +11 -0
- package/dist/chunks/chunk.XLKWO55H.js +21 -0
- package/dist/chunks/chunk.XMAMNYGV.js +117 -0
- package/dist/chunks/chunk.XPU5YU3S.js +111 -0
- package/dist/chunks/chunk.XRG4AMUL.js +448 -0
- package/dist/chunks/chunk.XU4SWNZ5.js +11 -0
- package/dist/chunks/chunk.XUHKT4XR.js +361 -0
- package/dist/chunks/chunk.XWHXWF67.js +180 -0
- package/dist/chunks/chunk.Y2LLE55K.js +247 -0
- package/dist/chunks/chunk.Y3JGTJDM.js +21 -0
- package/dist/chunks/chunk.Y7D4ZNRS.js +21 -0
- package/dist/chunks/chunk.Y7NL3JM7.js +11 -0
- package/dist/chunks/chunk.YFUR5BLL.js +96 -0
- package/dist/chunks/chunk.YHRMKFU2.js +417 -0
- package/dist/chunks/chunk.YOF7YCGP.js +25 -0
- package/dist/chunks/chunk.YTIFDWTT.js +24 -0
- package/dist/chunks/chunk.YY5HDA3O.js +21 -0
- package/dist/chunks/chunk.Z2OSGQYG.js +151 -0
- package/dist/chunks/chunk.ZDNHA3FE.js +116 -0
- package/dist/chunks/chunk.ZFAPC5IL.js +11 -0
- package/dist/chunks/chunk.ZNPUJHGL.js +11 -0
- package/dist/chunks/chunk.ZO4ROWAE.js +26 -0
- package/dist/chunks/chunk.ZQBGF74C.js +24 -0
- package/dist/chunks/chunk.ZU34TALF.js +11 -0
- package/dist/components/alert/alert.component.js +6 -6
- package/dist/components/alert/alert.js +7 -7
- package/dist/components/alert/alert.styles.js +1 -1
- package/dist/components/animated-image/animated-image.component.js +5 -5
- package/dist/components/animated-image/animated-image.js +6 -6
- package/dist/components/animation/animation.component.js +3 -3
- package/dist/components/animation/animation.js +4 -4
- package/dist/components/avatar/avatar.component.js +4 -4
- package/dist/components/avatar/avatar.js +5 -5
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +4 -4
- package/dist/components/breadcrumb/breadcrumb.js +5 -5
- 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 +6 -6
- package/dist/components/button/button.js +7 -7
- package/dist/components/button/button.styles.js +1 -1
- 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.js +16 -2
- package/dist/components/calendar/calendar.js +16 -2
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +4 -4
- package/dist/components/carousel/carousel.js +5 -5
- 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 +4 -4
- package/dist/components/checkbox/checkbox.js +5 -5
- package/dist/components/color-picker/color-picker.component.js +17 -18
- package/dist/components/color-picker/color-picker.js +18 -19
- package/dist/components/copy-button/copy-button.component.js +7 -7
- package/dist/components/copy-button/copy-button.js +8 -8
- package/dist/components/datepicker/datepicker.component.js +31 -0
- package/dist/components/datepicker/datepicker.js +35 -0
- package/dist/components/details/details.component.js +5 -5
- package/dist/components/details/details.js +6 -6
- package/dist/components/details/details.styles.js +1 -1
- package/dist/components/dialog/dialog.component.js +6 -6
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +6 -6
- package/dist/components/drawer/drawer.js +7 -7
- package/dist/components/dropdown/dropdown.component.js +4 -4
- package/dist/components/dropdown/dropdown.js +5 -5
- 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 +3 -3
- package/dist/components/icon/icon.js +4 -4
- package/dist/components/icon-button/icon-button.component.js +4 -4
- package/dist/components/icon-button/icon-button.js +5 -5
- package/dist/components/image-comparer/image-comparer.component.js +4 -4
- package/dist/components/image-comparer/image-comparer.js +5 -5
- package/dist/components/include/include.component.js +3 -3
- package/dist/components/include/include.js +4 -4
- package/dist/components/input/input.component.js +5 -8
- package/dist/components/input/input.js +6 -9
- package/dist/components/input/input.styles.js +1 -1
- 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 +7 -7
- package/dist/components/menu-item/menu-item.js +8 -8
- 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 +4 -4
- package/dist/components/option/option.js +5 -5
- 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 +4 -4
- package/dist/components/radio/radio.js +5 -5
- package/dist/components/radio-button/radio-button.component.js +4 -4
- package/dist/components/radio-button/radio-button.js +5 -5
- package/dist/components/radio-button/radio-button.styles.js +2 -2
- package/dist/components/radio-group/radio-group.component.js +4 -4
- package/dist/components/radio-group/radio-group.js +5 -5
- package/dist/components/range/range.component.js +2 -2
- package/dist/components/range/range.js +3 -3
- package/dist/components/rating/rating.component.js +4 -4
- package/dist/components/rating/rating.js +5 -5
- 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 +3 -3
- package/dist/components/switch/switch.js +4 -4
- package/dist/components/switch/switch.styles.js +1 -1
- package/dist/components/tab/tab.component.js +5 -5
- package/dist/components/tab/tab.js +6 -6
- package/dist/components/tab-group/tab-group.component.js +6 -6
- package/dist/components/tab-group/tab-group.js +7 -7
- 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/body-table.js +11 -0
- package/dist/components/table/col-group.js +7 -0
- package/dist/components/table/features/row-selection.js +9 -0
- package/dist/components/table/head-table.js +11 -0
- package/dist/components/table/interface.js +1 -0
- package/dist/components/table/spinner-container.js +8 -0
- package/dist/components/table/table.component.js +31 -0
- package/dist/components/table/table.context.js +8 -0
- package/dist/components/table/table.js +33 -0
- package/dist/components/table/utils.js +7 -0
- package/dist/components/tag/tag.component.js +5 -5
- package/dist/components/tag/tag.js +6 -6
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/tooltip/tooltip.component.js +4 -4
- package/dist/components/tooltip/tooltip.js +5 -5
- package/dist/components/tooltip/tooltip.styles.js +1 -1
- package/dist/components/tree/tree.component.js +9 -9
- package/dist/components/tree/tree.js +10 -10
- package/dist/components/tree-item/tree-item.component.js +7 -7
- package/dist/components/tree-item/tree-item.js +8 -8
- package/dist/components/tree-item/tree-item.styles.js +1 -1
- 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 +1872 -1306
- package/dist/react/alert/index.js +7 -7
- package/dist/react/animated-image/index.js +6 -6
- package/dist/react/animation/index.js +4 -4
- package/dist/react/avatar/index.js +5 -5
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +5 -5
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +7 -7
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +5 -5
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +5 -5
- package/dist/react/color-picker/index.js +18 -19
- package/dist/react/copy-button/index.js +8 -8
- package/dist/react/datepicker/index.js +32 -0
- package/dist/react/details/index.js +6 -6
- package/dist/react/dialog/index.js +7 -7
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +7 -7
- package/dist/react/dropdown/index.js +5 -5
- 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 +4 -4
- package/dist/react/icon-button/index.js +5 -5
- package/dist/react/image-comparer/index.js +5 -5
- package/dist/react/include/index.js +4 -4
- package/dist/react/index.js +210 -197
- package/dist/react/input/index.js +6 -9
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +8 -8
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/option/index.js +5 -5
- 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 +5 -5
- package/dist/react/radio-button/index.js +5 -5
- package/dist/react/radio-group/index.js +5 -5
- package/dist/react/range/index.js +3 -3
- package/dist/react/rating/index.js +5 -5
- 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 +4 -4
- package/dist/react/tab/index.js +6 -6
- package/dist/react/tab-group/index.js +7 -7
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/table/index.js +32 -0
- package/dist/react/tag/index.js +6 -6
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/tooltip/index.js +5 -5
- package/dist/react/tree/index.js +10 -10
- package/dist/react/tree-item/index.js +8 -8
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/shoelace.js +207 -195
- package/dist/themes/dark.css +297 -286
- package/dist/themes/dark.styles.js +297 -286
- package/dist/themes/light.css +304 -209
- package/dist/themes/light.styles.js +316 -209
- package/dist/types/vue/index.d.ts +303 -224
- package/dist/vscode.html-custom-data.json +226 -123
- package/dist/web-types.json +601 -384
- package/package.json +4 -2
- package/cdn/chunks/chunk.23EVN5V7.js +0 -236
- package/cdn/chunks/chunk.25TVLSB6.js +0 -46
- package/cdn/chunks/chunk.2BX6R33Y.js +0 -118
- package/cdn/chunks/chunk.2KZU4HQN.js +0 -216
- package/cdn/chunks/chunk.2LADOGRX.js +0 -402
- package/cdn/chunks/chunk.2PPU4YEA.js +0 -233
- package/cdn/chunks/chunk.2QP7TUYW.js +0 -11
- package/cdn/chunks/chunk.2XSECFRM.js +0 -11
- package/cdn/chunks/chunk.353A6SRA.js +0 -11
- package/cdn/chunks/chunk.3C2CRZ44.js +0 -21
- package/cdn/chunks/chunk.3LPVBJAS.js +0 -291
- package/cdn/chunks/chunk.3RBSSBZT.js +0 -47
- package/cdn/chunks/chunk.3UTP7VYR.js +0 -162
- package/cdn/chunks/chunk.3VDD74UH.js +0 -11
- package/cdn/chunks/chunk.46QSRMCF.js +0 -11
- package/cdn/chunks/chunk.4DEAI7XV.js +0 -453
- package/cdn/chunks/chunk.4HVWIAXV.js +0 -92
- package/cdn/chunks/chunk.4IPQO5YH.js +0 -24
- package/cdn/chunks/chunk.4IZSKQSZ.js +0 -11
- package/cdn/chunks/chunk.4JNOHJHA.js +0 -27
- package/cdn/chunks/chunk.4NQ7YXTC.js +0 -28
- package/cdn/chunks/chunk.4POYRVPM.js +0 -36
- package/cdn/chunks/chunk.4R7D7P4V.js +0 -24
- package/cdn/chunks/chunk.4RAV7BXG.js +0 -114
- package/cdn/chunks/chunk.56E2RK64.js +0 -62
- package/cdn/chunks/chunk.5736WNZ4.js +0 -153
- package/cdn/chunks/chunk.57RIWXHZ.js +0 -25
- package/cdn/chunks/chunk.5BTSUJEM.js +0 -49
- package/cdn/chunks/chunk.5IGEUTD6.js +0 -11
- package/cdn/chunks/chunk.5O56UB4A.js +0 -113
- package/cdn/chunks/chunk.5U4NKKBG.js +0 -11
- package/cdn/chunks/chunk.5UIRK3LI.js +0 -11
- package/cdn/chunks/chunk.5YQYSVGD.js +0 -258
- package/cdn/chunks/chunk.64RDXT2P.js +0 -11
- package/cdn/chunks/chunk.65QQHEHA.js +0 -29
- package/cdn/chunks/chunk.6AC4CUXG.js +0 -24
- package/cdn/chunks/chunk.6AEWT6KI.js +0 -292
- package/cdn/chunks/chunk.6L2QRY3L.js +0 -162
- package/cdn/chunks/chunk.6M6ZC2UH.js +0 -29
- package/cdn/chunks/chunk.6NME7FGG.js +0 -33
- package/cdn/chunks/chunk.6P7T4OCD.js +0 -11
- package/cdn/chunks/chunk.6QB6HC7Y.js +0 -127
- package/cdn/chunks/chunk.6R646567.js +0 -94
- package/cdn/chunks/chunk.6UBAOQL6.js +0 -391
- package/cdn/chunks/chunk.6VP72EQR.js +0 -123
- package/cdn/chunks/chunk.6VQDESVL.js +0 -27
- package/cdn/chunks/chunk.6W4KVYJM.js +0 -24
- package/cdn/chunks/chunk.6X6GEZV7.js +0 -158
- package/cdn/chunks/chunk.6ZXKRRW5.js +0 -11
- package/cdn/chunks/chunk.74WFKUNR.js +0 -650
- package/cdn/chunks/chunk.774I5K75.js +0 -79
- package/cdn/chunks/chunk.77RUBACW.js +0 -11
- package/cdn/chunks/chunk.7E5SATAI.js +0 -11
- package/cdn/chunks/chunk.7FNE575V.js +0 -11
- package/cdn/chunks/chunk.7FPVHDWZ.js +0 -455
- package/cdn/chunks/chunk.7IRNCF65.js +0 -25
- package/cdn/chunks/chunk.7KD6UHVI.js +0 -21
- package/cdn/chunks/chunk.7KXGUOHE.js +0 -29
- package/cdn/chunks/chunk.7LJ7VNFD.js +0 -267
- package/cdn/chunks/chunk.7LLV4XX3.js +0 -346
- package/cdn/chunks/chunk.7MZQ2YHL.js +0 -11
- package/cdn/chunks/chunk.7YEP6LKU.js +0 -122
- package/cdn/chunks/chunk.7YTC3EK3.js +0 -11
- package/cdn/chunks/chunk.A36RG6HN.js +0 -21
- package/cdn/chunks/chunk.A43S6NAO.js +0 -53
- package/cdn/chunks/chunk.AFTLC75S.js +0 -175
- package/cdn/chunks/chunk.ANYQ5RR7.js +0 -11
- package/cdn/chunks/chunk.APZES5N6.js +0 -67
- package/cdn/chunks/chunk.AQCZUQPA.js +0 -298
- package/cdn/chunks/chunk.AQTWT7DD.js +0 -25
- package/cdn/chunks/chunk.ATDIJH4E.js +0 -185
- package/cdn/chunks/chunk.B3IYGYY2.js +0 -61
- package/cdn/chunks/chunk.B4FAHSOC.js +0 -21
- package/cdn/chunks/chunk.BBGFE6CH.js +0 -97
- package/cdn/chunks/chunk.BBQXAFWV.js +0 -162
- package/cdn/chunks/chunk.BCIBWPWZ.js +0 -128
- package/cdn/chunks/chunk.BL3SGJO4.js +0 -586
- package/cdn/chunks/chunk.BTNTELW5.js +0 -186
- package/cdn/chunks/chunk.BWUQXUSO.js +0 -14
- package/cdn/chunks/chunk.CXXVG4XA.js +0 -75
- package/cdn/chunks/chunk.D4DLSWUQ.js +0 -11
- package/cdn/chunks/chunk.D62TVOJP.js +0 -11
- package/cdn/chunks/chunk.DAJPDPCD.js +0 -11
- package/cdn/chunks/chunk.DDL2WC2E.js +0 -11
- package/cdn/chunks/chunk.DXZK446T.js +0 -27
- package/cdn/chunks/chunk.DZTS3SXO.js +0 -279
- package/cdn/chunks/chunk.E3ZOT7LU.js +0 -367
- package/cdn/chunks/chunk.E456JCAM.js +0 -92
- package/cdn/chunks/chunk.E5624Z63.js +0 -302
- package/cdn/chunks/chunk.E7M5L7XB.js +0 -21
- package/cdn/chunks/chunk.EJITNTXP.js +0 -27
- package/cdn/chunks/chunk.ETC3TS5P.js +0 -70
- package/cdn/chunks/chunk.EUS4HAPB.js +0 -50
- package/cdn/chunks/chunk.EXV47BAD.js +0 -28
- package/cdn/chunks/chunk.FDPZRI35.js +0 -299
- package/cdn/chunks/chunk.FGJQSYG3.js +0 -21
- package/cdn/chunks/chunk.FIWAWZI5.js +0 -11
- package/cdn/chunks/chunk.FLJMSAPZ.js +0 -724
- package/cdn/chunks/chunk.FO3EMX25.js +0 -11
- package/cdn/chunks/chunk.FVSIPAHJ.js +0 -14
- package/cdn/chunks/chunk.G3B4LDLG.js +0 -821
- package/cdn/chunks/chunk.G3BV6M4A.js +0 -11
- package/cdn/chunks/chunk.GCASL3UL.js +0 -51
- package/cdn/chunks/chunk.GOXFYNIZ.js +0 -197
- package/cdn/chunks/chunk.GT7ESGEV.js +0 -24
- package/cdn/chunks/chunk.GUCZNPII.js +0 -93
- package/cdn/chunks/chunk.GYJIQCRZ.js +0 -244
- package/cdn/chunks/chunk.H6ZKA4ZD.js +0 -336
- package/cdn/chunks/chunk.H7MMJU35.js +0 -27
- package/cdn/chunks/chunk.HDLX3SH4.js +0 -28
- package/cdn/chunks/chunk.HDP2P5TV.js +0 -69
- package/cdn/chunks/chunk.HDXABDQM.js +0 -29
- package/cdn/chunks/chunk.HMXJNHFX.js +0 -49
- package/cdn/chunks/chunk.I4KEUH77.js +0 -11
- package/cdn/chunks/chunk.IK2VGS5M.js +0 -11
- package/cdn/chunks/chunk.IKJJ7NNV.js +0 -11
- package/cdn/chunks/chunk.INZSKSLC.js +0 -24
- package/cdn/chunks/chunk.IU35ZCYB.js +0 -21
- package/cdn/chunks/chunk.IUFR5UQW.js +0 -75
- package/cdn/chunks/chunk.JMZM2TDT.js +0 -33
- package/cdn/chunks/chunk.JSDN56S3.js +0 -163
- package/cdn/chunks/chunk.K2WEZ35I.js +0 -361
- package/cdn/chunks/chunk.K3BRU7LG.js +0 -11
- package/cdn/chunks/chunk.K4GDL7JI.js +0 -25
- package/cdn/chunks/chunk.K75BC545.js +0 -150
- package/cdn/chunks/chunk.K7OS3WCD.js +0 -14
- package/cdn/chunks/chunk.KI7IBFHO.js +0 -345
- package/cdn/chunks/chunk.KINKNNIL.js +0 -603
- package/cdn/chunks/chunk.KMHRSCRM.js +0 -25
- package/cdn/chunks/chunk.KXK7O37F.js +0 -11
- package/cdn/chunks/chunk.L526UMJH.js +0 -21
- package/cdn/chunks/chunk.LAY5AMAI.js +0 -26
- package/cdn/chunks/chunk.LBR23TF5.js +0 -19
- package/cdn/chunks/chunk.LFMBQ5XL.js +0 -75
- package/cdn/chunks/chunk.LGMKAB5P.js +0 -11
- package/cdn/chunks/chunk.LLUFLSKF.js +0 -24
- package/cdn/chunks/chunk.LM626TEU.js +0 -21
- package/cdn/chunks/chunk.LO6Y7SW5.js +0 -87
- package/cdn/chunks/chunk.LOQYBLL3.js +0 -127
- package/cdn/chunks/chunk.LRJNU3Q5.js +0 -85
- package/cdn/chunks/chunk.LRU7NCU2.js +0 -11
- package/cdn/chunks/chunk.LXFP2EWO.js +0 -29
- package/cdn/chunks/chunk.MGWXDKRB.js +0 -11
- package/cdn/chunks/chunk.MNXRJNUB.js +0 -30
- package/cdn/chunks/chunk.MPCL5RKN.js +0 -25
- package/cdn/chunks/chunk.MPYQBTHT.js +0 -11
- package/cdn/chunks/chunk.MVYHR5GB.js +0 -82
- package/cdn/chunks/chunk.MWXNZGE6.js +0 -25
- package/cdn/chunks/chunk.MXRKEOKK.js +0 -11
- package/cdn/chunks/chunk.NENCI4JA.js +0 -73
- package/cdn/chunks/chunk.NESKTD7S.js +0 -11
- package/cdn/chunks/chunk.NFVYIXRQ.js +0 -103
- package/cdn/chunks/chunk.NINF6GJ3.js +0 -11
- package/cdn/chunks/chunk.NJAMQDDW.js +0 -11
- package/cdn/chunks/chunk.NLZKSRIS.js +0 -23
- package/cdn/chunks/chunk.NM42HJNS.js +0 -1879
- package/cdn/chunks/chunk.OO7L544R.js +0 -25
- package/cdn/chunks/chunk.OOOYHCHI.js +0 -21
- package/cdn/chunks/chunk.OOP2EFQH.js +0 -639
- package/cdn/chunks/chunk.OPVD7L25.js +0 -81
- package/cdn/chunks/chunk.OT7KJOU5.js +0 -14
- package/cdn/chunks/chunk.OWA2Y72A.js +0 -14
- package/cdn/chunks/chunk.P7QVEDJU.js +0 -255
- package/cdn/chunks/chunk.PEJOOYIT.js +0 -95
- package/cdn/chunks/chunk.PJJYT7MW.js +0 -24
- package/cdn/chunks/chunk.PXMCHPOH.js +0 -314
- package/cdn/chunks/chunk.Q3LQI2JL.js +0 -26
- package/cdn/chunks/chunk.Q4SKDWCR.js +0 -73
- package/cdn/chunks/chunk.QAAC5FMV.js +0 -11
- package/cdn/chunks/chunk.QAQDTVQK.js +0 -30
- package/cdn/chunks/chunk.QB3UMSHS.js +0 -21
- package/cdn/chunks/chunk.QFLDOAFB.js +0 -11
- package/cdn/chunks/chunk.QICCNDS3.js +0 -21
- package/cdn/chunks/chunk.QKLX3N6L.js +0 -24
- package/cdn/chunks/chunk.QLRPW47M.js +0 -25
- package/cdn/chunks/chunk.QLZC7WSZ.js +0 -16
- package/cdn/chunks/chunk.QOCHGAFK.js +0 -21
- package/cdn/chunks/chunk.QPKQOAM4.js +0 -77
- package/cdn/chunks/chunk.QULM2YGT.js +0 -99
- package/cdn/chunks/chunk.QVLAF6A7.js +0 -40
- package/cdn/chunks/chunk.QZD34UHT.js +0 -21
- package/cdn/chunks/chunk.R4O74QXG.js +0 -120
- package/cdn/chunks/chunk.R55CQBHV.js +0 -11
- package/cdn/chunks/chunk.RB23YYMF.js +0 -21
- package/cdn/chunks/chunk.RQRXG7QQ.js +0 -93
- package/cdn/chunks/chunk.RXGPXZJL.js +0 -22
- package/cdn/chunks/chunk.RYW7FUF2.js +0 -21
- package/cdn/chunks/chunk.S32TRDOY.js +0 -979
- package/cdn/chunks/chunk.S3MDVLAR.js +0 -75
- package/cdn/chunks/chunk.SERSJOYJ.js +0 -11
- package/cdn/chunks/chunk.SJGQJLXX.js +0 -11
- package/cdn/chunks/chunk.SRECDZMQ.js +0 -55
- package/cdn/chunks/chunk.T2KBZPV4.js +0 -28
- package/cdn/chunks/chunk.T33TOUU7.js +0 -37
- package/cdn/chunks/chunk.T4HYSBAS.js +0 -135
- package/cdn/chunks/chunk.T4J3JBLF.js +0 -24
- package/cdn/chunks/chunk.T5Q3S2PG.js +0 -11
- package/cdn/chunks/chunk.TC2QSLMZ.js +0 -119
- package/cdn/chunks/chunk.TMWTIVPK.js +0 -21
- package/cdn/chunks/chunk.TONJS3DH.js +0 -236
- package/cdn/chunks/chunk.TT4LVUJW.js +0 -1990
- package/cdn/chunks/chunk.TXOEJQBY.js +0 -21
- package/cdn/chunks/chunk.U2PQV3BS.js +0 -21
- package/cdn/chunks/chunk.U5YD5K2J.js +0 -11
- package/cdn/chunks/chunk.U5ZQEPKL.js +0 -320
- package/cdn/chunks/chunk.UBADX4L7.js +0 -49
- package/cdn/chunks/chunk.UGVBFZOY.js +0 -11
- package/cdn/chunks/chunk.UVFENCAO.js +0 -21
- package/cdn/chunks/chunk.V42RO5VC.js +0 -42
- package/cdn/chunks/chunk.V4KCW2CR.js +0 -156
- package/cdn/chunks/chunk.V5EAAAZL.js +0 -21
- package/cdn/chunks/chunk.VAEDVJZI.js +0 -25
- package/cdn/chunks/chunk.VGK3WMAH.js +0 -66
- package/cdn/chunks/chunk.VJI4W4W3.js +0 -21
- package/cdn/chunks/chunk.VK6OMCX5.js +0 -58
- package/cdn/chunks/chunk.VMDRFYXT.js +0 -57
- package/cdn/chunks/chunk.VMHMBRYP.js +0 -122
- package/cdn/chunks/chunk.VPQAEOFT.js +0 -63
- package/cdn/chunks/chunk.VSH5DT7A.js +0 -26
- package/cdn/chunks/chunk.VTCMHGUN.js +0 -98
- package/cdn/chunks/chunk.W27M6RDR.js +0 -96
- package/cdn/chunks/chunk.W7JIR5XQ.js +0 -24
- package/cdn/chunks/chunk.WFRRLSZF.js +0 -24
- package/cdn/chunks/chunk.WKHWOWJA.js +0 -11
- package/cdn/chunks/chunk.WLMBYT2D.js +0 -25
- package/cdn/chunks/chunk.WMKWYR2M.js +0 -11
- package/cdn/chunks/chunk.WNMYJE6U.js +0 -24
- package/cdn/chunks/chunk.WPSD2W47.js +0 -142
- package/cdn/chunks/chunk.WVPK4OML.js +0 -137
- package/cdn/chunks/chunk.X2P6O4FQ.js +0 -11
- package/cdn/chunks/chunk.X7MILIQA.js +0 -11
- package/cdn/chunks/chunk.XA3SWJSC.js +0 -302
- package/cdn/chunks/chunk.XI6TZ7UT.js +0 -11
- package/cdn/chunks/chunk.XIULUDCA.js +0 -42
- package/cdn/chunks/chunk.XT3IAJY7.js +0 -28
- package/cdn/chunks/chunk.XW6JUAI4.js +0 -25
- package/cdn/chunks/chunk.XYWSHVZY.js +0 -39
- package/cdn/chunks/chunk.YNTJR3K4.js +0 -352
- package/cdn/chunks/chunk.YPIZQQBG.js +0 -11
- package/cdn/chunks/chunk.YQFKP7S2.js +0 -27
- package/cdn/chunks/chunk.YTZXMB2I.js +0 -11
- package/cdn/chunks/chunk.YWHXAPSW.js +0 -11
- package/cdn/chunks/chunk.YWXYPY2I.js +0 -11
- package/cdn/chunks/chunk.YYU26YCG.js +0 -11
- package/cdn/chunks/chunk.Z3B46XM3.js +0 -68
- package/cdn/chunks/chunk.Z5KF36VD.js +0 -379
- package/cdn/chunks/chunk.Z6226ME2.js +0 -24
- package/cdn/chunks/chunk.ZAYAACSZ.js +0 -11
- package/cdn/chunks/chunk.ZLRQFEYA.js +0 -67
- package/cdn/chunks/chunk.ZS3KWIIQ.js +0 -11
- package/cdn/chunks/chunk.ZTHCIXLL.js +0 -19
- package/cdn/react/calendar/index.js +0 -14
- package/dist/chunks/chunk.23QTCXNR.js +0 -294
- package/dist/chunks/chunk.2DQ7YQID.js +0 -21
- package/dist/chunks/chunk.2P5EQCYK.js +0 -35
- package/dist/chunks/chunk.2P7ZU66U.js +0 -75
- package/dist/chunks/chunk.2QRAV5FA.js +0 -25
- package/dist/chunks/chunk.2R5EAE6M.js +0 -11
- package/dist/chunks/chunk.34M4NQTX.js +0 -337
- package/dist/chunks/chunk.3ADKB2M6.js +0 -11
- package/dist/chunks/chunk.3CMCXDAM.js +0 -24
- package/dist/chunks/chunk.3FQAOA6Q.js +0 -21
- package/dist/chunks/chunk.3IXMWFFZ.js +0 -24
- package/dist/chunks/chunk.3OUQJ3O6.js +0 -29
- package/dist/chunks/chunk.3OYFQ2GE.js +0 -11
- package/dist/chunks/chunk.3T5GL6TK.js +0 -11
- package/dist/chunks/chunk.4HTO3EML.js +0 -11
- package/dist/chunks/chunk.4QTJTBYM.js +0 -25
- package/dist/chunks/chunk.562QVLHR.js +0 -11
- package/dist/chunks/chunk.5EPA6SQU.js +0 -11
- package/dist/chunks/chunk.5NLYBKUE.js +0 -91
- package/dist/chunks/chunk.5Q5U5NI3.js +0 -21
- package/dist/chunks/chunk.5SZZZQEY.js +0 -100
- package/dist/chunks/chunk.5UQP3TN6.js +0 -274
- package/dist/chunks/chunk.65J32A7O.js +0 -11
- package/dist/chunks/chunk.67ZQ6PMR.js +0 -384
- package/dist/chunks/chunk.6HMT3WB6.js +0 -28
- package/dist/chunks/chunk.6N23A6X7.js +0 -11
- package/dist/chunks/chunk.6SOJUF6E.js +0 -642
- package/dist/chunks/chunk.6UYZKYOJ.js +0 -11
- package/dist/chunks/chunk.6YCRMVU7.js +0 -27
- package/dist/chunks/chunk.75OMDLY6.js +0 -11
- package/dist/chunks/chunk.7BKT2FPA.js +0 -21
- package/dist/chunks/chunk.7CLUZVZ5.js +0 -22
- package/dist/chunks/chunk.7GKEYXYF.js +0 -25
- package/dist/chunks/chunk.7HWZPVG2.js +0 -24
- package/dist/chunks/chunk.7PW2YQMR.js +0 -11
- package/dist/chunks/chunk.A5EGNDJA.js +0 -293
- package/dist/chunks/chunk.A6VUIAK5.js +0 -113
- package/dist/chunks/chunk.AAFCKJYK.js +0 -25
- package/dist/chunks/chunk.AFVKCXVD.js +0 -11
- package/dist/chunks/chunk.AMEV6ANV.js +0 -28
- package/dist/chunks/chunk.AQM6WZYQ.js +0 -26
- package/dist/chunks/chunk.AUDNO7AX.js +0 -21
- package/dist/chunks/chunk.B4FKYIJV.js +0 -11
- package/dist/chunks/chunk.B4H75FLB.js +0 -21
- package/dist/chunks/chunk.BAB4SFBU.js +0 -286
- package/dist/chunks/chunk.BMTK6KWU.js +0 -135
- package/dist/chunks/chunk.BN7I7IZK.js +0 -11
- package/dist/chunks/chunk.BPCGZGRG.js +0 -24
- package/dist/chunks/chunk.BWVSW6TI.js +0 -159
- package/dist/chunks/chunk.BYP2W3VJ.js +0 -21
- package/dist/chunks/chunk.C3NG3M7R.js +0 -25
- package/dist/chunks/chunk.C5G25IYF.js +0 -11
- package/dist/chunks/chunk.CIP5B3P6.js +0 -311
- package/dist/chunks/chunk.CKGMCN6T.js +0 -11
- package/dist/chunks/chunk.CKI5JNFU.js +0 -11
- package/dist/chunks/chunk.CLRGVPKR.js +0 -11
- package/dist/chunks/chunk.CSAG57R3.js +0 -11
- package/dist/chunks/chunk.D35KLOSK.js +0 -813
- package/dist/chunks/chunk.D3KZIOYI.js +0 -11
- package/dist/chunks/chunk.D5JS7XG6.js +0 -33
- package/dist/chunks/chunk.DIFL3OIO.js +0 -29
- package/dist/chunks/chunk.DLM7C6XL.js +0 -247
- package/dist/chunks/chunk.DO6G64SD.js +0 -67
- package/dist/chunks/chunk.DOJVTX23.js +0 -21
- package/dist/chunks/chunk.DT5UBEUD.js +0 -25
- package/dist/chunks/chunk.DY66DLXX.js +0 -25
- package/dist/chunks/chunk.EAB246RW.js +0 -21
- package/dist/chunks/chunk.EGUAJZ2Q.js +0 -50
- package/dist/chunks/chunk.ELQ6ZAHU.js +0 -24
- package/dist/chunks/chunk.ERVVHGW6.js +0 -21
- package/dist/chunks/chunk.EU44RQUN.js +0 -172
- package/dist/chunks/chunk.EUHRXKY7.js +0 -21
- package/dist/chunks/chunk.EUKB2CXW.js +0 -28
- package/dist/chunks/chunk.FOXUKKKX.js +0 -11
- package/dist/chunks/chunk.FTIAG6S3.js +0 -24
- package/dist/chunks/chunk.FW7UWQXB.js +0 -59
- package/dist/chunks/chunk.FWDGIR3U.js +0 -11
- package/dist/chunks/chunk.FY37V2E7.js +0 -21
- package/dist/chunks/chunk.FYRZ4LVX.js +0 -151
- package/dist/chunks/chunk.G4EYRYPW.js +0 -90
- package/dist/chunks/chunk.GICQNYLY.js +0 -448
- package/dist/chunks/chunk.GKHJH7GQ.js +0 -949
- package/dist/chunks/chunk.GLHWQGBU.js +0 -11
- package/dist/chunks/chunk.HA4NNNEB.js +0 -11
- package/dist/chunks/chunk.HEFQXGDF.js +0 -24
- package/dist/chunks/chunk.HHCGT72U.js +0 -192
- package/dist/chunks/chunk.HJMUNVTE.js +0 -11
- package/dist/chunks/chunk.HPCLRZ2S.js +0 -147
- package/dist/chunks/chunk.HWOUAQ7Z.js +0 -11
- package/dist/chunks/chunk.HZ35NXVY.js +0 -27
- package/dist/chunks/chunk.I5MXJCXA.js +0 -550
- package/dist/chunks/chunk.I7NX25KZ.js +0 -11
- package/dist/chunks/chunk.IB5CAIOM.js +0 -11
- package/dist/chunks/chunk.IH36OBWS.js +0 -85
- package/dist/chunks/chunk.IMQAXOY4.js +0 -11
- package/dist/chunks/chunk.IVLRZTWU.js +0 -100
- package/dist/chunks/chunk.J7PLVEQM.js +0 -89
- package/dist/chunks/chunk.JFSQ56GS.js +0 -11
- package/dist/chunks/chunk.JOKODXHH.js +0 -119
- package/dist/chunks/chunk.JRCGN5M6.js +0 -21
- package/dist/chunks/chunk.JWQMGR3J.js +0 -21
- package/dist/chunks/chunk.K7WXS3HY.js +0 -11
- package/dist/chunks/chunk.KDA5NOB4.js +0 -11
- package/dist/chunks/chunk.KLVSNEIA.js +0 -27
- package/dist/chunks/chunk.KOTLJ66H.js +0 -29
- package/dist/chunks/chunk.L2ZJEQ5W.js +0 -45
- package/dist/chunks/chunk.LVAFQGBI.js +0 -63
- package/dist/chunks/chunk.LWRNOAGN.js +0 -11
- package/dist/chunks/chunk.LXNDNLGT.js +0 -181
- package/dist/chunks/chunk.M4FM4A6G.js +0 -117
- package/dist/chunks/chunk.MAQXLKQ7.js +0 -600
- package/dist/chunks/chunk.MB7KNGYL.js +0 -73
- package/dist/chunks/chunk.MQ2MMGIS.js +0 -21
- package/dist/chunks/chunk.MXT3TWSF.js +0 -11
- package/dist/chunks/chunk.N3QVR4J3.js +0 -11
- package/dist/chunks/chunk.NFHCWV5S.js +0 -317
- package/dist/chunks/chunk.O6YP6GRM.js +0 -24
- package/dist/chunks/chunk.OBRCJZQQ.js +0 -27
- package/dist/chunks/chunk.OH57EZ77.js +0 -22
- package/dist/chunks/chunk.OHJNH7IJ.js +0 -26
- package/dist/chunks/chunk.OJKCXI5Z.js +0 -291
- package/dist/chunks/chunk.OTP7XFTZ.js +0 -450
- package/dist/chunks/chunk.OYOAAJZ3.js +0 -25
- package/dist/chunks/chunk.PINOBDE2.js +0 -26
- package/dist/chunks/chunk.PVQ25BF2.js +0 -11
- package/dist/chunks/chunk.Q7SUWESY.js +0 -11
- package/dist/chunks/chunk.QH353KMG.js +0 -11
- package/dist/chunks/chunk.QIEMAGNI.js +0 -21
- package/dist/chunks/chunk.QKJEDAAH.js +0 -417
- package/dist/chunks/chunk.QNJTII53.js +0 -11
- package/dist/chunks/chunk.QOS2AJDC.js +0 -11
- package/dist/chunks/chunk.QPBXCJGL.js +0 -11
- package/dist/chunks/chunk.QZJWCFAA.js +0 -24
- package/dist/chunks/chunk.RBIBBYEQ.js +0 -28
- package/dist/chunks/chunk.RE456CM4.js +0 -75
- package/dist/chunks/chunk.RG5YP4E7.js +0 -34
- package/dist/chunks/chunk.RQP7TRVQ.js +0 -21
- package/dist/chunks/chunk.RWS55LOH.js +0 -109
- package/dist/chunks/chunk.S7XMGNRC.js +0 -147
- package/dist/chunks/chunk.SAHEF66Y.js +0 -126
- package/dist/chunks/chunk.SQIDSWT5.js +0 -42
- package/dist/chunks/chunk.ST6QSNN7.js +0 -21
- package/dist/chunks/chunk.SVGSK7J6.js +0 -11
- package/dist/chunks/chunk.T6T4FBJN.js +0 -397
- package/dist/chunks/chunk.TEPNXV2U.js +0 -11
- package/dist/chunks/chunk.TJ7FQ5JT.js +0 -11
- package/dist/chunks/chunk.TLZDSPEP.js +0 -280
- package/dist/chunks/chunk.TTP74D6J.js +0 -21
- package/dist/chunks/chunk.TUM4Z2HM.js +0 -28
- package/dist/chunks/chunk.U2ET3HWZ.js +0 -59
- package/dist/chunks/chunk.U4UBCQGL.js +0 -361
- package/dist/chunks/chunk.UAQFNS66.js +0 -25
- package/dist/chunks/chunk.UFOZPNKL.js +0 -29
- package/dist/chunks/chunk.UGX6W73S.js +0 -11
- package/dist/chunks/chunk.ULVOY2FX.js +0 -315
- package/dist/chunks/chunk.UMAFED3Y.js +0 -11
- package/dist/chunks/chunk.VAOOYX3C.js +0 -96
- package/dist/chunks/chunk.VBUXAQMQ.js +0 -227
- package/dist/chunks/chunk.VF47UCR6.js +0 -11
- package/dist/chunks/chunk.VML2NRCR.js +0 -21
- package/dist/chunks/chunk.VSF3CBXU.js +0 -134
- package/dist/chunks/chunk.VU6KBEG4.js +0 -213
- package/dist/chunks/chunk.VWU42Q7Q.js +0 -231
- package/dist/chunks/chunk.VZI2ZFJZ.js +0 -93
- package/dist/chunks/chunk.W7S6DL6O.js +0 -116
- package/dist/chunks/chunk.WB6T5GY5.js +0 -11
- package/dist/chunks/chunk.WIKIRG5N.js +0 -11
- package/dist/chunks/chunk.WZQW2RF3.js +0 -11
- package/dist/chunks/chunk.X55OGHMU.js +0 -11
- package/dist/chunks/chunk.X7Q5WZYG.js +0 -11
- package/dist/chunks/chunk.XC4MRFYW.js +0 -11
- package/dist/chunks/chunk.XKERVFKJ.js +0 -21
- package/dist/chunks/chunk.XPPUPUIY.js +0 -259
- package/dist/chunks/chunk.XUO6GY5S.js +0 -11
- package/dist/chunks/chunk.XXVI32S7.js +0 -11
- package/dist/chunks/chunk.XZMKR5AT.js +0 -11
- package/dist/chunks/chunk.YCC476ZW.js +0 -24
- package/dist/chunks/chunk.YFFB2NHT.js +0 -24
- package/dist/chunks/chunk.YLDJOKCS.js +0 -80
- package/dist/chunks/chunk.YLKHYMMJ.js +0 -11
- package/dist/chunks/chunk.YOY67QCJ.js +0 -45
- package/dist/chunks/chunk.YSTDXP43.js +0 -111
- package/dist/chunks/chunk.Z4XFW4KE.js +0 -25
- package/dist/chunks/chunk.ZAECEDXO.js +0 -371
- package/dist/chunks/chunk.ZNE45MUQ.js +0 -21
- package/dist/react/calendar/index.js +0 -11
|
@@ -1,1879 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
popup_styles_default
|
|
3
|
-
} from "./chunk.Z3B46XM3.js";
|
|
4
|
-
import {
|
|
5
|
-
e
|
|
6
|
-
} from "./chunk.3RBSSBZT.js";
|
|
7
|
-
import {
|
|
8
|
-
LocalizeController
|
|
9
|
-
} from "./chunk.2SU6QBUU.js";
|
|
10
|
-
import {
|
|
11
|
-
component_styles_default
|
|
12
|
-
} from "./chunk.INZSKSLC.js";
|
|
13
|
-
import {
|
|
14
|
-
ShoelaceElement,
|
|
15
|
-
e as e2,
|
|
16
|
-
n
|
|
17
|
-
} from "./chunk.5YQYSVGD.js";
|
|
18
|
-
import {
|
|
19
|
-
x
|
|
20
|
-
} from "./chunk.OOP2EFQH.js";
|
|
21
|
-
import {
|
|
22
|
-
__decorateClass,
|
|
23
|
-
__objRest,
|
|
24
|
-
__spreadProps,
|
|
25
|
-
__spreadValues
|
|
26
|
-
} from "./chunk.W27M6RDR.js";
|
|
27
|
-
|
|
28
|
-
// node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
29
|
-
var min = Math.min;
|
|
30
|
-
var max = Math.max;
|
|
31
|
-
var round = Math.round;
|
|
32
|
-
var floor = Math.floor;
|
|
33
|
-
var createCoords = (v) => ({
|
|
34
|
-
x: v,
|
|
35
|
-
y: v
|
|
36
|
-
});
|
|
37
|
-
var oppositeSideMap = {
|
|
38
|
-
left: "right",
|
|
39
|
-
right: "left",
|
|
40
|
-
bottom: "top",
|
|
41
|
-
top: "bottom"
|
|
42
|
-
};
|
|
43
|
-
var oppositeAlignmentMap = {
|
|
44
|
-
start: "end",
|
|
45
|
-
end: "start"
|
|
46
|
-
};
|
|
47
|
-
function clamp(start, value, end) {
|
|
48
|
-
return max(start, min(value, end));
|
|
49
|
-
}
|
|
50
|
-
function evaluate(value, param) {
|
|
51
|
-
return typeof value === "function" ? value(param) : value;
|
|
52
|
-
}
|
|
53
|
-
function getSide(placement) {
|
|
54
|
-
return placement.split("-")[0];
|
|
55
|
-
}
|
|
56
|
-
function getAlignment(placement) {
|
|
57
|
-
return placement.split("-")[1];
|
|
58
|
-
}
|
|
59
|
-
function getOppositeAxis(axis) {
|
|
60
|
-
return axis === "x" ? "y" : "x";
|
|
61
|
-
}
|
|
62
|
-
function getAxisLength(axis) {
|
|
63
|
-
return axis === "y" ? "height" : "width";
|
|
64
|
-
}
|
|
65
|
-
function getSideAxis(placement) {
|
|
66
|
-
return ["top", "bottom"].includes(getSide(placement)) ? "y" : "x";
|
|
67
|
-
}
|
|
68
|
-
function getAlignmentAxis(placement) {
|
|
69
|
-
return getOppositeAxis(getSideAxis(placement));
|
|
70
|
-
}
|
|
71
|
-
function getAlignmentSides(placement, rects, rtl) {
|
|
72
|
-
if (rtl === void 0) {
|
|
73
|
-
rtl = false;
|
|
74
|
-
}
|
|
75
|
-
const alignment = getAlignment(placement);
|
|
76
|
-
const alignmentAxis = getAlignmentAxis(placement);
|
|
77
|
-
const length = getAxisLength(alignmentAxis);
|
|
78
|
-
let mainAlignmentSide = alignmentAxis === "x" ? alignment === (rtl ? "end" : "start") ? "right" : "left" : alignment === "start" ? "bottom" : "top";
|
|
79
|
-
if (rects.reference[length] > rects.floating[length]) {
|
|
80
|
-
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
81
|
-
}
|
|
82
|
-
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
83
|
-
}
|
|
84
|
-
function getExpandedPlacements(placement) {
|
|
85
|
-
const oppositePlacement = getOppositePlacement(placement);
|
|
86
|
-
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
87
|
-
}
|
|
88
|
-
function getOppositeAlignmentPlacement(placement) {
|
|
89
|
-
return placement.replace(/start|end/g, (alignment) => oppositeAlignmentMap[alignment]);
|
|
90
|
-
}
|
|
91
|
-
function getSideList(side, isStart, rtl) {
|
|
92
|
-
const lr = ["left", "right"];
|
|
93
|
-
const rl = ["right", "left"];
|
|
94
|
-
const tb = ["top", "bottom"];
|
|
95
|
-
const bt = ["bottom", "top"];
|
|
96
|
-
switch (side) {
|
|
97
|
-
case "top":
|
|
98
|
-
case "bottom":
|
|
99
|
-
if (rtl) return isStart ? rl : lr;
|
|
100
|
-
return isStart ? lr : rl;
|
|
101
|
-
case "left":
|
|
102
|
-
case "right":
|
|
103
|
-
return isStart ? tb : bt;
|
|
104
|
-
default:
|
|
105
|
-
return [];
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
109
|
-
const alignment = getAlignment(placement);
|
|
110
|
-
let list = getSideList(getSide(placement), direction === "start", rtl);
|
|
111
|
-
if (alignment) {
|
|
112
|
-
list = list.map((side) => side + "-" + alignment);
|
|
113
|
-
if (flipAlignment) {
|
|
114
|
-
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
return list;
|
|
118
|
-
}
|
|
119
|
-
function getOppositePlacement(placement) {
|
|
120
|
-
return placement.replace(/left|right|bottom|top/g, (side) => oppositeSideMap[side]);
|
|
121
|
-
}
|
|
122
|
-
function expandPaddingObject(padding) {
|
|
123
|
-
return __spreadValues({
|
|
124
|
-
top: 0,
|
|
125
|
-
right: 0,
|
|
126
|
-
bottom: 0,
|
|
127
|
-
left: 0
|
|
128
|
-
}, padding);
|
|
129
|
-
}
|
|
130
|
-
function getPaddingObject(padding) {
|
|
131
|
-
return typeof padding !== "number" ? expandPaddingObject(padding) : {
|
|
132
|
-
top: padding,
|
|
133
|
-
right: padding,
|
|
134
|
-
bottom: padding,
|
|
135
|
-
left: padding
|
|
136
|
-
};
|
|
137
|
-
}
|
|
138
|
-
function rectToClientRect(rect) {
|
|
139
|
-
const {
|
|
140
|
-
x: x2,
|
|
141
|
-
y,
|
|
142
|
-
width,
|
|
143
|
-
height
|
|
144
|
-
} = rect;
|
|
145
|
-
return {
|
|
146
|
-
width,
|
|
147
|
-
height,
|
|
148
|
-
top: y,
|
|
149
|
-
left: x2,
|
|
150
|
-
right: x2 + width,
|
|
151
|
-
bottom: y + height,
|
|
152
|
-
x: x2,
|
|
153
|
-
y
|
|
154
|
-
};
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
// node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
158
|
-
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
159
|
-
let {
|
|
160
|
-
reference,
|
|
161
|
-
floating
|
|
162
|
-
} = _ref;
|
|
163
|
-
const sideAxis = getSideAxis(placement);
|
|
164
|
-
const alignmentAxis = getAlignmentAxis(placement);
|
|
165
|
-
const alignLength = getAxisLength(alignmentAxis);
|
|
166
|
-
const side = getSide(placement);
|
|
167
|
-
const isVertical = sideAxis === "y";
|
|
168
|
-
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
169
|
-
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
170
|
-
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
171
|
-
let coords;
|
|
172
|
-
switch (side) {
|
|
173
|
-
case "top":
|
|
174
|
-
coords = {
|
|
175
|
-
x: commonX,
|
|
176
|
-
y: reference.y - floating.height
|
|
177
|
-
};
|
|
178
|
-
break;
|
|
179
|
-
case "bottom":
|
|
180
|
-
coords = {
|
|
181
|
-
x: commonX,
|
|
182
|
-
y: reference.y + reference.height
|
|
183
|
-
};
|
|
184
|
-
break;
|
|
185
|
-
case "right":
|
|
186
|
-
coords = {
|
|
187
|
-
x: reference.x + reference.width,
|
|
188
|
-
y: commonY
|
|
189
|
-
};
|
|
190
|
-
break;
|
|
191
|
-
case "left":
|
|
192
|
-
coords = {
|
|
193
|
-
x: reference.x - floating.width,
|
|
194
|
-
y: commonY
|
|
195
|
-
};
|
|
196
|
-
break;
|
|
197
|
-
default:
|
|
198
|
-
coords = {
|
|
199
|
-
x: reference.x,
|
|
200
|
-
y: reference.y
|
|
201
|
-
};
|
|
202
|
-
}
|
|
203
|
-
switch (getAlignment(placement)) {
|
|
204
|
-
case "start":
|
|
205
|
-
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
|
206
|
-
break;
|
|
207
|
-
case "end":
|
|
208
|
-
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
209
|
-
break;
|
|
210
|
-
}
|
|
211
|
-
return coords;
|
|
212
|
-
}
|
|
213
|
-
var computePosition = async (reference, floating, config) => {
|
|
214
|
-
const {
|
|
215
|
-
placement = "bottom",
|
|
216
|
-
strategy = "absolute",
|
|
217
|
-
middleware = [],
|
|
218
|
-
platform: platform2
|
|
219
|
-
} = config;
|
|
220
|
-
const validMiddleware = middleware.filter(Boolean);
|
|
221
|
-
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(floating));
|
|
222
|
-
let rects = await platform2.getElementRects({
|
|
223
|
-
reference,
|
|
224
|
-
floating,
|
|
225
|
-
strategy
|
|
226
|
-
});
|
|
227
|
-
let {
|
|
228
|
-
x: x2,
|
|
229
|
-
y
|
|
230
|
-
} = computeCoordsFromPlacement(rects, placement, rtl);
|
|
231
|
-
let statefulPlacement = placement;
|
|
232
|
-
let middlewareData = {};
|
|
233
|
-
let resetCount = 0;
|
|
234
|
-
for (let i2 = 0; i2 < validMiddleware.length; i2++) {
|
|
235
|
-
const {
|
|
236
|
-
name,
|
|
237
|
-
fn
|
|
238
|
-
} = validMiddleware[i2];
|
|
239
|
-
const {
|
|
240
|
-
x: nextX,
|
|
241
|
-
y: nextY,
|
|
242
|
-
data,
|
|
243
|
-
reset
|
|
244
|
-
} = await fn({
|
|
245
|
-
x: x2,
|
|
246
|
-
y,
|
|
247
|
-
initialPlacement: placement,
|
|
248
|
-
placement: statefulPlacement,
|
|
249
|
-
strategy,
|
|
250
|
-
middlewareData,
|
|
251
|
-
rects,
|
|
252
|
-
platform: platform2,
|
|
253
|
-
elements: {
|
|
254
|
-
reference,
|
|
255
|
-
floating
|
|
256
|
-
}
|
|
257
|
-
});
|
|
258
|
-
x2 = nextX != null ? nextX : x2;
|
|
259
|
-
y = nextY != null ? nextY : y;
|
|
260
|
-
middlewareData = __spreadProps(__spreadValues({}, middlewareData), {
|
|
261
|
-
[name]: __spreadValues(__spreadValues({}, middlewareData[name]), data)
|
|
262
|
-
});
|
|
263
|
-
if (reset && resetCount <= 50) {
|
|
264
|
-
resetCount++;
|
|
265
|
-
if (typeof reset === "object") {
|
|
266
|
-
if (reset.placement) {
|
|
267
|
-
statefulPlacement = reset.placement;
|
|
268
|
-
}
|
|
269
|
-
if (reset.rects) {
|
|
270
|
-
rects = reset.rects === true ? await platform2.getElementRects({
|
|
271
|
-
reference,
|
|
272
|
-
floating,
|
|
273
|
-
strategy
|
|
274
|
-
}) : reset.rects;
|
|
275
|
-
}
|
|
276
|
-
({
|
|
277
|
-
x: x2,
|
|
278
|
-
y
|
|
279
|
-
} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
|
|
280
|
-
}
|
|
281
|
-
i2 = -1;
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
return {
|
|
285
|
-
x: x2,
|
|
286
|
-
y,
|
|
287
|
-
placement: statefulPlacement,
|
|
288
|
-
strategy,
|
|
289
|
-
middlewareData
|
|
290
|
-
};
|
|
291
|
-
};
|
|
292
|
-
async function detectOverflow(state, options) {
|
|
293
|
-
var _await$platform$isEle;
|
|
294
|
-
if (options === void 0) {
|
|
295
|
-
options = {};
|
|
296
|
-
}
|
|
297
|
-
const {
|
|
298
|
-
x: x2,
|
|
299
|
-
y,
|
|
300
|
-
platform: platform2,
|
|
301
|
-
rects,
|
|
302
|
-
elements,
|
|
303
|
-
strategy
|
|
304
|
-
} = state;
|
|
305
|
-
const {
|
|
306
|
-
boundary = "clippingAncestors",
|
|
307
|
-
rootBoundary = "viewport",
|
|
308
|
-
elementContext = "floating",
|
|
309
|
-
altBoundary = false,
|
|
310
|
-
padding = 0
|
|
311
|
-
} = evaluate(options, state);
|
|
312
|
-
const paddingObject = getPaddingObject(padding);
|
|
313
|
-
const altContext = elementContext === "floating" ? "reference" : "floating";
|
|
314
|
-
const element = elements[altBoundary ? altContext : elementContext];
|
|
315
|
-
const clippingClientRect = rectToClientRect(await platform2.getClippingRect({
|
|
316
|
-
element: ((_await$platform$isEle = await (platform2.isElement == null ? void 0 : platform2.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || await (platform2.getDocumentElement == null ? void 0 : platform2.getDocumentElement(elements.floating)),
|
|
317
|
-
boundary,
|
|
318
|
-
rootBoundary,
|
|
319
|
-
strategy
|
|
320
|
-
}));
|
|
321
|
-
const rect = elementContext === "floating" ? {
|
|
322
|
-
x: x2,
|
|
323
|
-
y,
|
|
324
|
-
width: rects.floating.width,
|
|
325
|
-
height: rects.floating.height
|
|
326
|
-
} : rects.reference;
|
|
327
|
-
const offsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(elements.floating));
|
|
328
|
-
const offsetScale = await (platform2.isElement == null ? void 0 : platform2.isElement(offsetParent)) ? await (platform2.getScale == null ? void 0 : platform2.getScale(offsetParent)) || {
|
|
329
|
-
x: 1,
|
|
330
|
-
y: 1
|
|
331
|
-
} : {
|
|
332
|
-
x: 1,
|
|
333
|
-
y: 1
|
|
334
|
-
};
|
|
335
|
-
const elementClientRect = rectToClientRect(platform2.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform2.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
336
|
-
elements,
|
|
337
|
-
rect,
|
|
338
|
-
offsetParent,
|
|
339
|
-
strategy
|
|
340
|
-
}) : rect);
|
|
341
|
-
return {
|
|
342
|
-
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
343
|
-
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
344
|
-
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
345
|
-
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
346
|
-
};
|
|
347
|
-
}
|
|
348
|
-
var arrow = (options) => ({
|
|
349
|
-
name: "arrow",
|
|
350
|
-
options,
|
|
351
|
-
async fn(state) {
|
|
352
|
-
const {
|
|
353
|
-
x: x2,
|
|
354
|
-
y,
|
|
355
|
-
placement,
|
|
356
|
-
rects,
|
|
357
|
-
platform: platform2,
|
|
358
|
-
elements,
|
|
359
|
-
middlewareData
|
|
360
|
-
} = state;
|
|
361
|
-
const {
|
|
362
|
-
element,
|
|
363
|
-
padding = 0
|
|
364
|
-
} = evaluate(options, state) || {};
|
|
365
|
-
if (element == null) {
|
|
366
|
-
return {};
|
|
367
|
-
}
|
|
368
|
-
const paddingObject = getPaddingObject(padding);
|
|
369
|
-
const coords = {
|
|
370
|
-
x: x2,
|
|
371
|
-
y
|
|
372
|
-
};
|
|
373
|
-
const axis = getAlignmentAxis(placement);
|
|
374
|
-
const length = getAxisLength(axis);
|
|
375
|
-
const arrowDimensions = await platform2.getDimensions(element);
|
|
376
|
-
const isYAxis = axis === "y";
|
|
377
|
-
const minProp = isYAxis ? "top" : "left";
|
|
378
|
-
const maxProp = isYAxis ? "bottom" : "right";
|
|
379
|
-
const clientProp = isYAxis ? "clientHeight" : "clientWidth";
|
|
380
|
-
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
381
|
-
const startDiff = coords[axis] - rects.reference[axis];
|
|
382
|
-
const arrowOffsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(element));
|
|
383
|
-
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
384
|
-
if (!clientSize || !await (platform2.isElement == null ? void 0 : platform2.isElement(arrowOffsetParent))) {
|
|
385
|
-
clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
386
|
-
}
|
|
387
|
-
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
388
|
-
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
389
|
-
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
|
390
|
-
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
|
391
|
-
const min$1 = minPadding;
|
|
392
|
-
const max2 = clientSize - arrowDimensions[length] - maxPadding;
|
|
393
|
-
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
394
|
-
const offset3 = clamp(min$1, center, max2);
|
|
395
|
-
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset3 && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
396
|
-
const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max2 : 0;
|
|
397
|
-
return {
|
|
398
|
-
[axis]: coords[axis] + alignmentOffset,
|
|
399
|
-
data: __spreadValues({
|
|
400
|
-
[axis]: offset3,
|
|
401
|
-
centerOffset: center - offset3 - alignmentOffset
|
|
402
|
-
}, shouldAddOffset && {
|
|
403
|
-
alignmentOffset
|
|
404
|
-
}),
|
|
405
|
-
reset: shouldAddOffset
|
|
406
|
-
};
|
|
407
|
-
}
|
|
408
|
-
});
|
|
409
|
-
var flip = function(options) {
|
|
410
|
-
if (options === void 0) {
|
|
411
|
-
options = {};
|
|
412
|
-
}
|
|
413
|
-
return {
|
|
414
|
-
name: "flip",
|
|
415
|
-
options,
|
|
416
|
-
async fn(state) {
|
|
417
|
-
var _middlewareData$arrow, _middlewareData$flip;
|
|
418
|
-
const {
|
|
419
|
-
placement,
|
|
420
|
-
middlewareData,
|
|
421
|
-
rects,
|
|
422
|
-
initialPlacement,
|
|
423
|
-
platform: platform2,
|
|
424
|
-
elements
|
|
425
|
-
} = state;
|
|
426
|
-
const _a = evaluate(options, state), {
|
|
427
|
-
mainAxis: checkMainAxis = true,
|
|
428
|
-
crossAxis: checkCrossAxis = true,
|
|
429
|
-
fallbackPlacements: specifiedFallbackPlacements,
|
|
430
|
-
fallbackStrategy = "bestFit",
|
|
431
|
-
fallbackAxisSideDirection = "none",
|
|
432
|
-
flipAlignment = true
|
|
433
|
-
} = _a, detectOverflowOptions = __objRest(_a, [
|
|
434
|
-
"mainAxis",
|
|
435
|
-
"crossAxis",
|
|
436
|
-
"fallbackPlacements",
|
|
437
|
-
"fallbackStrategy",
|
|
438
|
-
"fallbackAxisSideDirection",
|
|
439
|
-
"flipAlignment"
|
|
440
|
-
]);
|
|
441
|
-
if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
442
|
-
return {};
|
|
443
|
-
}
|
|
444
|
-
const side = getSide(placement);
|
|
445
|
-
const initialSideAxis = getSideAxis(initialPlacement);
|
|
446
|
-
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
447
|
-
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
|
|
448
|
-
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
449
|
-
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== "none";
|
|
450
|
-
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
|
451
|
-
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
452
|
-
}
|
|
453
|
-
const placements2 = [initialPlacement, ...fallbackPlacements];
|
|
454
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
455
|
-
const overflows = [];
|
|
456
|
-
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
457
|
-
if (checkMainAxis) {
|
|
458
|
-
overflows.push(overflow[side]);
|
|
459
|
-
}
|
|
460
|
-
if (checkCrossAxis) {
|
|
461
|
-
const sides2 = getAlignmentSides(placement, rects, rtl);
|
|
462
|
-
overflows.push(overflow[sides2[0]], overflow[sides2[1]]);
|
|
463
|
-
}
|
|
464
|
-
overflowsData = [...overflowsData, {
|
|
465
|
-
placement,
|
|
466
|
-
overflows
|
|
467
|
-
}];
|
|
468
|
-
if (!overflows.every((side2) => side2 <= 0)) {
|
|
469
|
-
var _middlewareData$flip2, _overflowsData$filter;
|
|
470
|
-
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
471
|
-
const nextPlacement = placements2[nextIndex];
|
|
472
|
-
if (nextPlacement) {
|
|
473
|
-
return {
|
|
474
|
-
data: {
|
|
475
|
-
index: nextIndex,
|
|
476
|
-
overflows: overflowsData
|
|
477
|
-
},
|
|
478
|
-
reset: {
|
|
479
|
-
placement: nextPlacement
|
|
480
|
-
}
|
|
481
|
-
};
|
|
482
|
-
}
|
|
483
|
-
let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
|
|
484
|
-
if (!resetPlacement) {
|
|
485
|
-
switch (fallbackStrategy) {
|
|
486
|
-
case "bestFit": {
|
|
487
|
-
var _overflowsData$filter2;
|
|
488
|
-
const placement2 = (_overflowsData$filter2 = overflowsData.filter((d) => {
|
|
489
|
-
if (hasFallbackAxisSideDirection) {
|
|
490
|
-
const currentSideAxis = getSideAxis(d.placement);
|
|
491
|
-
return currentSideAxis === initialSideAxis || // Create a bias to the `y` side axis due to horizontal
|
|
492
|
-
// reading directions favoring greater width.
|
|
493
|
-
currentSideAxis === "y";
|
|
494
|
-
}
|
|
495
|
-
return true;
|
|
496
|
-
}).map((d) => [d.placement, d.overflows.filter((overflow2) => overflow2 > 0).reduce((acc, overflow2) => acc + overflow2, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
|
|
497
|
-
if (placement2) {
|
|
498
|
-
resetPlacement = placement2;
|
|
499
|
-
}
|
|
500
|
-
break;
|
|
501
|
-
}
|
|
502
|
-
case "initialPlacement":
|
|
503
|
-
resetPlacement = initialPlacement;
|
|
504
|
-
break;
|
|
505
|
-
}
|
|
506
|
-
}
|
|
507
|
-
if (placement !== resetPlacement) {
|
|
508
|
-
return {
|
|
509
|
-
reset: {
|
|
510
|
-
placement: resetPlacement
|
|
511
|
-
}
|
|
512
|
-
};
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
return {};
|
|
516
|
-
}
|
|
517
|
-
};
|
|
518
|
-
};
|
|
519
|
-
async function convertValueToCoords(state, options) {
|
|
520
|
-
const {
|
|
521
|
-
placement,
|
|
522
|
-
platform: platform2,
|
|
523
|
-
elements
|
|
524
|
-
} = state;
|
|
525
|
-
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
|
|
526
|
-
const side = getSide(placement);
|
|
527
|
-
const alignment = getAlignment(placement);
|
|
528
|
-
const isVertical = getSideAxis(placement) === "y";
|
|
529
|
-
const mainAxisMulti = ["left", "top"].includes(side) ? -1 : 1;
|
|
530
|
-
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
531
|
-
const rawValue = evaluate(options, state);
|
|
532
|
-
let {
|
|
533
|
-
mainAxis,
|
|
534
|
-
crossAxis,
|
|
535
|
-
alignmentAxis
|
|
536
|
-
} = typeof rawValue === "number" ? {
|
|
537
|
-
mainAxis: rawValue,
|
|
538
|
-
crossAxis: 0,
|
|
539
|
-
alignmentAxis: null
|
|
540
|
-
} : {
|
|
541
|
-
mainAxis: rawValue.mainAxis || 0,
|
|
542
|
-
crossAxis: rawValue.crossAxis || 0,
|
|
543
|
-
alignmentAxis: rawValue.alignmentAxis
|
|
544
|
-
};
|
|
545
|
-
if (alignment && typeof alignmentAxis === "number") {
|
|
546
|
-
crossAxis = alignment === "end" ? alignmentAxis * -1 : alignmentAxis;
|
|
547
|
-
}
|
|
548
|
-
return isVertical ? {
|
|
549
|
-
x: crossAxis * crossAxisMulti,
|
|
550
|
-
y: mainAxis * mainAxisMulti
|
|
551
|
-
} : {
|
|
552
|
-
x: mainAxis * mainAxisMulti,
|
|
553
|
-
y: crossAxis * crossAxisMulti
|
|
554
|
-
};
|
|
555
|
-
}
|
|
556
|
-
var offset = function(options) {
|
|
557
|
-
if (options === void 0) {
|
|
558
|
-
options = 0;
|
|
559
|
-
}
|
|
560
|
-
return {
|
|
561
|
-
name: "offset",
|
|
562
|
-
options,
|
|
563
|
-
async fn(state) {
|
|
564
|
-
var _middlewareData$offse, _middlewareData$arrow;
|
|
565
|
-
const {
|
|
566
|
-
x: x2,
|
|
567
|
-
y,
|
|
568
|
-
placement,
|
|
569
|
-
middlewareData
|
|
570
|
-
} = state;
|
|
571
|
-
const diffCoords = await convertValueToCoords(state, options);
|
|
572
|
-
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
573
|
-
return {};
|
|
574
|
-
}
|
|
575
|
-
return {
|
|
576
|
-
x: x2 + diffCoords.x,
|
|
577
|
-
y: y + diffCoords.y,
|
|
578
|
-
data: __spreadProps(__spreadValues({}, diffCoords), {
|
|
579
|
-
placement
|
|
580
|
-
})
|
|
581
|
-
};
|
|
582
|
-
}
|
|
583
|
-
};
|
|
584
|
-
};
|
|
585
|
-
var shift = function(options) {
|
|
586
|
-
if (options === void 0) {
|
|
587
|
-
options = {};
|
|
588
|
-
}
|
|
589
|
-
return {
|
|
590
|
-
name: "shift",
|
|
591
|
-
options,
|
|
592
|
-
async fn(state) {
|
|
593
|
-
const {
|
|
594
|
-
x: x2,
|
|
595
|
-
y,
|
|
596
|
-
placement
|
|
597
|
-
} = state;
|
|
598
|
-
const _a = evaluate(options, state), {
|
|
599
|
-
mainAxis: checkMainAxis = true,
|
|
600
|
-
crossAxis: checkCrossAxis = false,
|
|
601
|
-
limiter = {
|
|
602
|
-
fn: (_ref) => {
|
|
603
|
-
let {
|
|
604
|
-
x: x3,
|
|
605
|
-
y: y2
|
|
606
|
-
} = _ref;
|
|
607
|
-
return {
|
|
608
|
-
x: x3,
|
|
609
|
-
y: y2
|
|
610
|
-
};
|
|
611
|
-
}
|
|
612
|
-
}
|
|
613
|
-
} = _a, detectOverflowOptions = __objRest(_a, [
|
|
614
|
-
"mainAxis",
|
|
615
|
-
"crossAxis",
|
|
616
|
-
"limiter"
|
|
617
|
-
]);
|
|
618
|
-
const coords = {
|
|
619
|
-
x: x2,
|
|
620
|
-
y
|
|
621
|
-
};
|
|
622
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
623
|
-
const crossAxis = getSideAxis(getSide(placement));
|
|
624
|
-
const mainAxis = getOppositeAxis(crossAxis);
|
|
625
|
-
let mainAxisCoord = coords[mainAxis];
|
|
626
|
-
let crossAxisCoord = coords[crossAxis];
|
|
627
|
-
if (checkMainAxis) {
|
|
628
|
-
const minSide = mainAxis === "y" ? "top" : "left";
|
|
629
|
-
const maxSide = mainAxis === "y" ? "bottom" : "right";
|
|
630
|
-
const min2 = mainAxisCoord + overflow[minSide];
|
|
631
|
-
const max2 = mainAxisCoord - overflow[maxSide];
|
|
632
|
-
mainAxisCoord = clamp(min2, mainAxisCoord, max2);
|
|
633
|
-
}
|
|
634
|
-
if (checkCrossAxis) {
|
|
635
|
-
const minSide = crossAxis === "y" ? "top" : "left";
|
|
636
|
-
const maxSide = crossAxis === "y" ? "bottom" : "right";
|
|
637
|
-
const min2 = crossAxisCoord + overflow[minSide];
|
|
638
|
-
const max2 = crossAxisCoord - overflow[maxSide];
|
|
639
|
-
crossAxisCoord = clamp(min2, crossAxisCoord, max2);
|
|
640
|
-
}
|
|
641
|
-
const limitedCoords = limiter.fn(__spreadProps(__spreadValues({}, state), {
|
|
642
|
-
[mainAxis]: mainAxisCoord,
|
|
643
|
-
[crossAxis]: crossAxisCoord
|
|
644
|
-
}));
|
|
645
|
-
return __spreadProps(__spreadValues({}, limitedCoords), {
|
|
646
|
-
data: {
|
|
647
|
-
x: limitedCoords.x - x2,
|
|
648
|
-
y: limitedCoords.y - y,
|
|
649
|
-
enabled: {
|
|
650
|
-
[mainAxis]: checkMainAxis,
|
|
651
|
-
[crossAxis]: checkCrossAxis
|
|
652
|
-
}
|
|
653
|
-
}
|
|
654
|
-
});
|
|
655
|
-
}
|
|
656
|
-
};
|
|
657
|
-
};
|
|
658
|
-
var size = function(options) {
|
|
659
|
-
if (options === void 0) {
|
|
660
|
-
options = {};
|
|
661
|
-
}
|
|
662
|
-
return {
|
|
663
|
-
name: "size",
|
|
664
|
-
options,
|
|
665
|
-
async fn(state) {
|
|
666
|
-
var _state$middlewareData, _state$middlewareData2;
|
|
667
|
-
const {
|
|
668
|
-
placement,
|
|
669
|
-
rects,
|
|
670
|
-
platform: platform2,
|
|
671
|
-
elements
|
|
672
|
-
} = state;
|
|
673
|
-
const _a = evaluate(options, state), {
|
|
674
|
-
apply = () => {
|
|
675
|
-
}
|
|
676
|
-
} = _a, detectOverflowOptions = __objRest(_a, [
|
|
677
|
-
"apply"
|
|
678
|
-
]);
|
|
679
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
680
|
-
const side = getSide(placement);
|
|
681
|
-
const alignment = getAlignment(placement);
|
|
682
|
-
const isYAxis = getSideAxis(placement) === "y";
|
|
683
|
-
const {
|
|
684
|
-
width,
|
|
685
|
-
height
|
|
686
|
-
} = rects.floating;
|
|
687
|
-
let heightSide;
|
|
688
|
-
let widthSide;
|
|
689
|
-
if (side === "top" || side === "bottom") {
|
|
690
|
-
heightSide = side;
|
|
691
|
-
widthSide = alignment === (await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating)) ? "start" : "end") ? "left" : "right";
|
|
692
|
-
} else {
|
|
693
|
-
widthSide = side;
|
|
694
|
-
heightSide = alignment === "end" ? "top" : "bottom";
|
|
695
|
-
}
|
|
696
|
-
const maximumClippingHeight = height - overflow.top - overflow.bottom;
|
|
697
|
-
const maximumClippingWidth = width - overflow.left - overflow.right;
|
|
698
|
-
const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
|
|
699
|
-
const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
|
|
700
|
-
const noShift = !state.middlewareData.shift;
|
|
701
|
-
let availableHeight = overflowAvailableHeight;
|
|
702
|
-
let availableWidth = overflowAvailableWidth;
|
|
703
|
-
if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {
|
|
704
|
-
availableWidth = maximumClippingWidth;
|
|
705
|
-
}
|
|
706
|
-
if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {
|
|
707
|
-
availableHeight = maximumClippingHeight;
|
|
708
|
-
}
|
|
709
|
-
if (noShift && !alignment) {
|
|
710
|
-
const xMin = max(overflow.left, 0);
|
|
711
|
-
const xMax = max(overflow.right, 0);
|
|
712
|
-
const yMin = max(overflow.top, 0);
|
|
713
|
-
const yMax = max(overflow.bottom, 0);
|
|
714
|
-
if (isYAxis) {
|
|
715
|
-
availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
|
|
716
|
-
} else {
|
|
717
|
-
availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
|
|
718
|
-
}
|
|
719
|
-
}
|
|
720
|
-
await apply(__spreadProps(__spreadValues({}, state), {
|
|
721
|
-
availableWidth,
|
|
722
|
-
availableHeight
|
|
723
|
-
}));
|
|
724
|
-
const nextDimensions = await platform2.getDimensions(elements.floating);
|
|
725
|
-
if (width !== nextDimensions.width || height !== nextDimensions.height) {
|
|
726
|
-
return {
|
|
727
|
-
reset: {
|
|
728
|
-
rects: true
|
|
729
|
-
}
|
|
730
|
-
};
|
|
731
|
-
}
|
|
732
|
-
return {};
|
|
733
|
-
}
|
|
734
|
-
};
|
|
735
|
-
};
|
|
736
|
-
|
|
737
|
-
// node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
738
|
-
function hasWindow() {
|
|
739
|
-
return typeof window !== "undefined";
|
|
740
|
-
}
|
|
741
|
-
function getNodeName(node) {
|
|
742
|
-
if (isNode(node)) {
|
|
743
|
-
return (node.nodeName || "").toLowerCase();
|
|
744
|
-
}
|
|
745
|
-
return "#document";
|
|
746
|
-
}
|
|
747
|
-
function getWindow(node) {
|
|
748
|
-
var _node$ownerDocument;
|
|
749
|
-
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
750
|
-
}
|
|
751
|
-
function getDocumentElement(node) {
|
|
752
|
-
var _ref;
|
|
753
|
-
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
754
|
-
}
|
|
755
|
-
function isNode(value) {
|
|
756
|
-
if (!hasWindow()) {
|
|
757
|
-
return false;
|
|
758
|
-
}
|
|
759
|
-
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
760
|
-
}
|
|
761
|
-
function isElement(value) {
|
|
762
|
-
if (!hasWindow()) {
|
|
763
|
-
return false;
|
|
764
|
-
}
|
|
765
|
-
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
766
|
-
}
|
|
767
|
-
function isHTMLElement(value) {
|
|
768
|
-
if (!hasWindow()) {
|
|
769
|
-
return false;
|
|
770
|
-
}
|
|
771
|
-
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
772
|
-
}
|
|
773
|
-
function isShadowRoot(value) {
|
|
774
|
-
if (!hasWindow() || typeof ShadowRoot === "undefined") {
|
|
775
|
-
return false;
|
|
776
|
-
}
|
|
777
|
-
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
778
|
-
}
|
|
779
|
-
function isOverflowElement(element) {
|
|
780
|
-
const {
|
|
781
|
-
overflow,
|
|
782
|
-
overflowX,
|
|
783
|
-
overflowY,
|
|
784
|
-
display
|
|
785
|
-
} = getComputedStyle2(element);
|
|
786
|
-
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !["inline", "contents"].includes(display);
|
|
787
|
-
}
|
|
788
|
-
function isTableElement(element) {
|
|
789
|
-
return ["table", "td", "th"].includes(getNodeName(element));
|
|
790
|
-
}
|
|
791
|
-
function isTopLayer(element) {
|
|
792
|
-
return [":popover-open", ":modal"].some((selector) => {
|
|
793
|
-
try {
|
|
794
|
-
return element.matches(selector);
|
|
795
|
-
} catch (e4) {
|
|
796
|
-
return false;
|
|
797
|
-
}
|
|
798
|
-
});
|
|
799
|
-
}
|
|
800
|
-
function isContainingBlock(elementOrCss) {
|
|
801
|
-
const webkit = isWebKit();
|
|
802
|
-
const css = isElement(elementOrCss) ? getComputedStyle2(elementOrCss) : elementOrCss;
|
|
803
|
-
return css.transform !== "none" || css.perspective !== "none" || (css.containerType ? css.containerType !== "normal" : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== "none" : false) || !webkit && (css.filter ? css.filter !== "none" : false) || ["transform", "perspective", "filter"].some((value) => (css.willChange || "").includes(value)) || ["paint", "layout", "strict", "content"].some((value) => (css.contain || "").includes(value));
|
|
804
|
-
}
|
|
805
|
-
function getContainingBlock(element) {
|
|
806
|
-
let currentNode = getParentNode(element);
|
|
807
|
-
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
808
|
-
if (isContainingBlock(currentNode)) {
|
|
809
|
-
return currentNode;
|
|
810
|
-
} else if (isTopLayer(currentNode)) {
|
|
811
|
-
return null;
|
|
812
|
-
}
|
|
813
|
-
currentNode = getParentNode(currentNode);
|
|
814
|
-
}
|
|
815
|
-
return null;
|
|
816
|
-
}
|
|
817
|
-
function isWebKit() {
|
|
818
|
-
if (typeof CSS === "undefined" || !CSS.supports) return false;
|
|
819
|
-
return CSS.supports("-webkit-backdrop-filter", "none");
|
|
820
|
-
}
|
|
821
|
-
function isLastTraversableNode(node) {
|
|
822
|
-
return ["html", "body", "#document"].includes(getNodeName(node));
|
|
823
|
-
}
|
|
824
|
-
function getComputedStyle2(element) {
|
|
825
|
-
return getWindow(element).getComputedStyle(element);
|
|
826
|
-
}
|
|
827
|
-
function getNodeScroll(element) {
|
|
828
|
-
if (isElement(element)) {
|
|
829
|
-
return {
|
|
830
|
-
scrollLeft: element.scrollLeft,
|
|
831
|
-
scrollTop: element.scrollTop
|
|
832
|
-
};
|
|
833
|
-
}
|
|
834
|
-
return {
|
|
835
|
-
scrollLeft: element.scrollX,
|
|
836
|
-
scrollTop: element.scrollY
|
|
837
|
-
};
|
|
838
|
-
}
|
|
839
|
-
function getParentNode(node) {
|
|
840
|
-
if (getNodeName(node) === "html") {
|
|
841
|
-
return node;
|
|
842
|
-
}
|
|
843
|
-
const result = (
|
|
844
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
|
845
|
-
node.assignedSlot || // DOM Element detected.
|
|
846
|
-
node.parentNode || // ShadowRoot detected.
|
|
847
|
-
isShadowRoot(node) && node.host || // Fallback.
|
|
848
|
-
getDocumentElement(node)
|
|
849
|
-
);
|
|
850
|
-
return isShadowRoot(result) ? result.host : result;
|
|
851
|
-
}
|
|
852
|
-
function getNearestOverflowAncestor(node) {
|
|
853
|
-
const parentNode = getParentNode(node);
|
|
854
|
-
if (isLastTraversableNode(parentNode)) {
|
|
855
|
-
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
856
|
-
}
|
|
857
|
-
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
858
|
-
return parentNode;
|
|
859
|
-
}
|
|
860
|
-
return getNearestOverflowAncestor(parentNode);
|
|
861
|
-
}
|
|
862
|
-
function getOverflowAncestors(node, list, traverseIframes) {
|
|
863
|
-
var _node$ownerDocument2;
|
|
864
|
-
if (list === void 0) {
|
|
865
|
-
list = [];
|
|
866
|
-
}
|
|
867
|
-
if (traverseIframes === void 0) {
|
|
868
|
-
traverseIframes = true;
|
|
869
|
-
}
|
|
870
|
-
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
871
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
872
|
-
const win = getWindow(scrollableAncestor);
|
|
873
|
-
if (isBody) {
|
|
874
|
-
const frameElement = getFrameElement(win);
|
|
875
|
-
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
|
|
876
|
-
}
|
|
877
|
-
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
878
|
-
}
|
|
879
|
-
function getFrameElement(win) {
|
|
880
|
-
return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
|
|
881
|
-
}
|
|
882
|
-
|
|
883
|
-
// node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
884
|
-
function getCssDimensions(element) {
|
|
885
|
-
const css = getComputedStyle2(element);
|
|
886
|
-
let width = parseFloat(css.width) || 0;
|
|
887
|
-
let height = parseFloat(css.height) || 0;
|
|
888
|
-
const hasOffset = isHTMLElement(element);
|
|
889
|
-
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
890
|
-
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
891
|
-
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
892
|
-
if (shouldFallback) {
|
|
893
|
-
width = offsetWidth;
|
|
894
|
-
height = offsetHeight;
|
|
895
|
-
}
|
|
896
|
-
return {
|
|
897
|
-
width,
|
|
898
|
-
height,
|
|
899
|
-
$: shouldFallback
|
|
900
|
-
};
|
|
901
|
-
}
|
|
902
|
-
function unwrapElement(element) {
|
|
903
|
-
return !isElement(element) ? element.contextElement : element;
|
|
904
|
-
}
|
|
905
|
-
function getScale(element) {
|
|
906
|
-
const domElement = unwrapElement(element);
|
|
907
|
-
if (!isHTMLElement(domElement)) {
|
|
908
|
-
return createCoords(1);
|
|
909
|
-
}
|
|
910
|
-
const rect = domElement.getBoundingClientRect();
|
|
911
|
-
const {
|
|
912
|
-
width,
|
|
913
|
-
height,
|
|
914
|
-
$
|
|
915
|
-
} = getCssDimensions(domElement);
|
|
916
|
-
let x2 = ($ ? round(rect.width) : rect.width) / width;
|
|
917
|
-
let y = ($ ? round(rect.height) : rect.height) / height;
|
|
918
|
-
if (!x2 || !Number.isFinite(x2)) {
|
|
919
|
-
x2 = 1;
|
|
920
|
-
}
|
|
921
|
-
if (!y || !Number.isFinite(y)) {
|
|
922
|
-
y = 1;
|
|
923
|
-
}
|
|
924
|
-
return {
|
|
925
|
-
x: x2,
|
|
926
|
-
y
|
|
927
|
-
};
|
|
928
|
-
}
|
|
929
|
-
var noOffsets = /* @__PURE__ */ createCoords(0);
|
|
930
|
-
function getVisualOffsets(element) {
|
|
931
|
-
const win = getWindow(element);
|
|
932
|
-
if (!isWebKit() || !win.visualViewport) {
|
|
933
|
-
return noOffsets;
|
|
934
|
-
}
|
|
935
|
-
return {
|
|
936
|
-
x: win.visualViewport.offsetLeft,
|
|
937
|
-
y: win.visualViewport.offsetTop
|
|
938
|
-
};
|
|
939
|
-
}
|
|
940
|
-
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
941
|
-
if (isFixed === void 0) {
|
|
942
|
-
isFixed = false;
|
|
943
|
-
}
|
|
944
|
-
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
945
|
-
return false;
|
|
946
|
-
}
|
|
947
|
-
return isFixed;
|
|
948
|
-
}
|
|
949
|
-
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
950
|
-
if (includeScale === void 0) {
|
|
951
|
-
includeScale = false;
|
|
952
|
-
}
|
|
953
|
-
if (isFixedStrategy === void 0) {
|
|
954
|
-
isFixedStrategy = false;
|
|
955
|
-
}
|
|
956
|
-
const clientRect = element.getBoundingClientRect();
|
|
957
|
-
const domElement = unwrapElement(element);
|
|
958
|
-
let scale = createCoords(1);
|
|
959
|
-
if (includeScale) {
|
|
960
|
-
if (offsetParent) {
|
|
961
|
-
if (isElement(offsetParent)) {
|
|
962
|
-
scale = getScale(offsetParent);
|
|
963
|
-
}
|
|
964
|
-
} else {
|
|
965
|
-
scale = getScale(element);
|
|
966
|
-
}
|
|
967
|
-
}
|
|
968
|
-
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
|
969
|
-
let x2 = (clientRect.left + visualOffsets.x) / scale.x;
|
|
970
|
-
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
971
|
-
let width = clientRect.width / scale.x;
|
|
972
|
-
let height = clientRect.height / scale.y;
|
|
973
|
-
if (domElement) {
|
|
974
|
-
const win = getWindow(domElement);
|
|
975
|
-
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
976
|
-
let currentWin = win;
|
|
977
|
-
let currentIFrame = getFrameElement(currentWin);
|
|
978
|
-
while (currentIFrame && offsetParent && offsetWin !== currentWin) {
|
|
979
|
-
const iframeScale = getScale(currentIFrame);
|
|
980
|
-
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
981
|
-
const css = getComputedStyle2(currentIFrame);
|
|
982
|
-
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
983
|
-
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
984
|
-
x2 *= iframeScale.x;
|
|
985
|
-
y *= iframeScale.y;
|
|
986
|
-
width *= iframeScale.x;
|
|
987
|
-
height *= iframeScale.y;
|
|
988
|
-
x2 += left;
|
|
989
|
-
y += top;
|
|
990
|
-
currentWin = getWindow(currentIFrame);
|
|
991
|
-
currentIFrame = getFrameElement(currentWin);
|
|
992
|
-
}
|
|
993
|
-
}
|
|
994
|
-
return rectToClientRect({
|
|
995
|
-
width,
|
|
996
|
-
height,
|
|
997
|
-
x: x2,
|
|
998
|
-
y
|
|
999
|
-
});
|
|
1000
|
-
}
|
|
1001
|
-
function getWindowScrollBarX(element, rect) {
|
|
1002
|
-
const leftScroll = getNodeScroll(element).scrollLeft;
|
|
1003
|
-
if (!rect) {
|
|
1004
|
-
return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
|
|
1005
|
-
}
|
|
1006
|
-
return rect.left + leftScroll;
|
|
1007
|
-
}
|
|
1008
|
-
function getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {
|
|
1009
|
-
if (ignoreScrollbarX === void 0) {
|
|
1010
|
-
ignoreScrollbarX = false;
|
|
1011
|
-
}
|
|
1012
|
-
const htmlRect = documentElement.getBoundingClientRect();
|
|
1013
|
-
const x2 = htmlRect.left + scroll.scrollLeft - (ignoreScrollbarX ? 0 : (
|
|
1014
|
-
// RTL <body> scrollbar.
|
|
1015
|
-
getWindowScrollBarX(documentElement, htmlRect)
|
|
1016
|
-
));
|
|
1017
|
-
const y = htmlRect.top + scroll.scrollTop;
|
|
1018
|
-
return {
|
|
1019
|
-
x: x2,
|
|
1020
|
-
y
|
|
1021
|
-
};
|
|
1022
|
-
}
|
|
1023
|
-
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
1024
|
-
let {
|
|
1025
|
-
elements,
|
|
1026
|
-
rect,
|
|
1027
|
-
offsetParent,
|
|
1028
|
-
strategy
|
|
1029
|
-
} = _ref;
|
|
1030
|
-
const isFixed = strategy === "fixed";
|
|
1031
|
-
const documentElement = getDocumentElement(offsetParent);
|
|
1032
|
-
const topLayer = elements ? isTopLayer(elements.floating) : false;
|
|
1033
|
-
if (offsetParent === documentElement || topLayer && isFixed) {
|
|
1034
|
-
return rect;
|
|
1035
|
-
}
|
|
1036
|
-
let scroll = {
|
|
1037
|
-
scrollLeft: 0,
|
|
1038
|
-
scrollTop: 0
|
|
1039
|
-
};
|
|
1040
|
-
let scale = createCoords(1);
|
|
1041
|
-
const offsets = createCoords(0);
|
|
1042
|
-
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1043
|
-
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1044
|
-
if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
|
|
1045
|
-
scroll = getNodeScroll(offsetParent);
|
|
1046
|
-
}
|
|
1047
|
-
if (isHTMLElement(offsetParent)) {
|
|
1048
|
-
const offsetRect = getBoundingClientRect(offsetParent);
|
|
1049
|
-
scale = getScale(offsetParent);
|
|
1050
|
-
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1051
|
-
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1052
|
-
}
|
|
1053
|
-
}
|
|
1054
|
-
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll, true) : createCoords(0);
|
|
1055
|
-
return {
|
|
1056
|
-
width: rect.width * scale.x,
|
|
1057
|
-
height: rect.height * scale.y,
|
|
1058
|
-
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,
|
|
1059
|
-
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y
|
|
1060
|
-
};
|
|
1061
|
-
}
|
|
1062
|
-
function getClientRects(element) {
|
|
1063
|
-
return Array.from(element.getClientRects());
|
|
1064
|
-
}
|
|
1065
|
-
function getDocumentRect(element) {
|
|
1066
|
-
const html = getDocumentElement(element);
|
|
1067
|
-
const scroll = getNodeScroll(element);
|
|
1068
|
-
const body = element.ownerDocument.body;
|
|
1069
|
-
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
|
1070
|
-
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
|
1071
|
-
let x2 = -scroll.scrollLeft + getWindowScrollBarX(element);
|
|
1072
|
-
const y = -scroll.scrollTop;
|
|
1073
|
-
if (getComputedStyle2(body).direction === "rtl") {
|
|
1074
|
-
x2 += max(html.clientWidth, body.clientWidth) - width;
|
|
1075
|
-
}
|
|
1076
|
-
return {
|
|
1077
|
-
width,
|
|
1078
|
-
height,
|
|
1079
|
-
x: x2,
|
|
1080
|
-
y
|
|
1081
|
-
};
|
|
1082
|
-
}
|
|
1083
|
-
function getViewportRect(element, strategy) {
|
|
1084
|
-
const win = getWindow(element);
|
|
1085
|
-
const html = getDocumentElement(element);
|
|
1086
|
-
const visualViewport = win.visualViewport;
|
|
1087
|
-
let width = html.clientWidth;
|
|
1088
|
-
let height = html.clientHeight;
|
|
1089
|
-
let x2 = 0;
|
|
1090
|
-
let y = 0;
|
|
1091
|
-
if (visualViewport) {
|
|
1092
|
-
width = visualViewport.width;
|
|
1093
|
-
height = visualViewport.height;
|
|
1094
|
-
const visualViewportBased = isWebKit();
|
|
1095
|
-
if (!visualViewportBased || visualViewportBased && strategy === "fixed") {
|
|
1096
|
-
x2 = visualViewport.offsetLeft;
|
|
1097
|
-
y = visualViewport.offsetTop;
|
|
1098
|
-
}
|
|
1099
|
-
}
|
|
1100
|
-
return {
|
|
1101
|
-
width,
|
|
1102
|
-
height,
|
|
1103
|
-
x: x2,
|
|
1104
|
-
y
|
|
1105
|
-
};
|
|
1106
|
-
}
|
|
1107
|
-
function getInnerBoundingClientRect(element, strategy) {
|
|
1108
|
-
const clientRect = getBoundingClientRect(element, true, strategy === "fixed");
|
|
1109
|
-
const top = clientRect.top + element.clientTop;
|
|
1110
|
-
const left = clientRect.left + element.clientLeft;
|
|
1111
|
-
const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
|
|
1112
|
-
const width = element.clientWidth * scale.x;
|
|
1113
|
-
const height = element.clientHeight * scale.y;
|
|
1114
|
-
const x2 = left * scale.x;
|
|
1115
|
-
const y = top * scale.y;
|
|
1116
|
-
return {
|
|
1117
|
-
width,
|
|
1118
|
-
height,
|
|
1119
|
-
x: x2,
|
|
1120
|
-
y
|
|
1121
|
-
};
|
|
1122
|
-
}
|
|
1123
|
-
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
|
1124
|
-
let rect;
|
|
1125
|
-
if (clippingAncestor === "viewport") {
|
|
1126
|
-
rect = getViewportRect(element, strategy);
|
|
1127
|
-
} else if (clippingAncestor === "document") {
|
|
1128
|
-
rect = getDocumentRect(getDocumentElement(element));
|
|
1129
|
-
} else if (isElement(clippingAncestor)) {
|
|
1130
|
-
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
|
1131
|
-
} else {
|
|
1132
|
-
const visualOffsets = getVisualOffsets(element);
|
|
1133
|
-
rect = {
|
|
1134
|
-
x: clippingAncestor.x - visualOffsets.x,
|
|
1135
|
-
y: clippingAncestor.y - visualOffsets.y,
|
|
1136
|
-
width: clippingAncestor.width,
|
|
1137
|
-
height: clippingAncestor.height
|
|
1138
|
-
};
|
|
1139
|
-
}
|
|
1140
|
-
return rectToClientRect(rect);
|
|
1141
|
-
}
|
|
1142
|
-
function hasFixedPositionAncestor(element, stopNode) {
|
|
1143
|
-
const parentNode = getParentNode(element);
|
|
1144
|
-
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
|
1145
|
-
return false;
|
|
1146
|
-
}
|
|
1147
|
-
return getComputedStyle2(parentNode).position === "fixed" || hasFixedPositionAncestor(parentNode, stopNode);
|
|
1148
|
-
}
|
|
1149
|
-
function getClippingElementAncestors(element, cache) {
|
|
1150
|
-
const cachedResult = cache.get(element);
|
|
1151
|
-
if (cachedResult) {
|
|
1152
|
-
return cachedResult;
|
|
1153
|
-
}
|
|
1154
|
-
let result = getOverflowAncestors(element, [], false).filter((el) => isElement(el) && getNodeName(el) !== "body");
|
|
1155
|
-
let currentContainingBlockComputedStyle = null;
|
|
1156
|
-
const elementIsFixed = getComputedStyle2(element).position === "fixed";
|
|
1157
|
-
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
1158
|
-
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1159
|
-
const computedStyle = getComputedStyle2(currentNode);
|
|
1160
|
-
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
1161
|
-
if (!currentNodeIsContaining && computedStyle.position === "fixed") {
|
|
1162
|
-
currentContainingBlockComputedStyle = null;
|
|
1163
|
-
}
|
|
1164
|
-
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === "static" && !!currentContainingBlockComputedStyle && ["absolute", "fixed"].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
1165
|
-
if (shouldDropCurrentNode) {
|
|
1166
|
-
result = result.filter((ancestor) => ancestor !== currentNode);
|
|
1167
|
-
} else {
|
|
1168
|
-
currentContainingBlockComputedStyle = computedStyle;
|
|
1169
|
-
}
|
|
1170
|
-
currentNode = getParentNode(currentNode);
|
|
1171
|
-
}
|
|
1172
|
-
cache.set(element, result);
|
|
1173
|
-
return result;
|
|
1174
|
-
}
|
|
1175
|
-
function getClippingRect(_ref) {
|
|
1176
|
-
let {
|
|
1177
|
-
element,
|
|
1178
|
-
boundary,
|
|
1179
|
-
rootBoundary,
|
|
1180
|
-
strategy
|
|
1181
|
-
} = _ref;
|
|
1182
|
-
const elementClippingAncestors = boundary === "clippingAncestors" ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
1183
|
-
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
1184
|
-
const firstClippingAncestor = clippingAncestors[0];
|
|
1185
|
-
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
|
1186
|
-
const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
|
|
1187
|
-
accRect.top = max(rect.top, accRect.top);
|
|
1188
|
-
accRect.right = min(rect.right, accRect.right);
|
|
1189
|
-
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
1190
|
-
accRect.left = max(rect.left, accRect.left);
|
|
1191
|
-
return accRect;
|
|
1192
|
-
}, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
|
|
1193
|
-
return {
|
|
1194
|
-
width: clippingRect.right - clippingRect.left,
|
|
1195
|
-
height: clippingRect.bottom - clippingRect.top,
|
|
1196
|
-
x: clippingRect.left,
|
|
1197
|
-
y: clippingRect.top
|
|
1198
|
-
};
|
|
1199
|
-
}
|
|
1200
|
-
function getDimensions(element) {
|
|
1201
|
-
const {
|
|
1202
|
-
width,
|
|
1203
|
-
height
|
|
1204
|
-
} = getCssDimensions(element);
|
|
1205
|
-
return {
|
|
1206
|
-
width,
|
|
1207
|
-
height
|
|
1208
|
-
};
|
|
1209
|
-
}
|
|
1210
|
-
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
1211
|
-
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1212
|
-
const documentElement = getDocumentElement(offsetParent);
|
|
1213
|
-
const isFixed = strategy === "fixed";
|
|
1214
|
-
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
|
1215
|
-
let scroll = {
|
|
1216
|
-
scrollLeft: 0,
|
|
1217
|
-
scrollTop: 0
|
|
1218
|
-
};
|
|
1219
|
-
const offsets = createCoords(0);
|
|
1220
|
-
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1221
|
-
if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
|
|
1222
|
-
scroll = getNodeScroll(offsetParent);
|
|
1223
|
-
}
|
|
1224
|
-
if (isOffsetParentAnElement) {
|
|
1225
|
-
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
1226
|
-
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1227
|
-
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1228
|
-
} else if (documentElement) {
|
|
1229
|
-
offsets.x = getWindowScrollBarX(documentElement);
|
|
1230
|
-
}
|
|
1231
|
-
}
|
|
1232
|
-
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
1233
|
-
const x2 = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
|
|
1234
|
-
const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
|
|
1235
|
-
return {
|
|
1236
|
-
x: x2,
|
|
1237
|
-
y,
|
|
1238
|
-
width: rect.width,
|
|
1239
|
-
height: rect.height
|
|
1240
|
-
};
|
|
1241
|
-
}
|
|
1242
|
-
function isStaticPositioned(element) {
|
|
1243
|
-
return getComputedStyle2(element).position === "static";
|
|
1244
|
-
}
|
|
1245
|
-
function getTrueOffsetParent(element, polyfill) {
|
|
1246
|
-
if (!isHTMLElement(element) || getComputedStyle2(element).position === "fixed") {
|
|
1247
|
-
return null;
|
|
1248
|
-
}
|
|
1249
|
-
if (polyfill) {
|
|
1250
|
-
return polyfill(element);
|
|
1251
|
-
}
|
|
1252
|
-
let rawOffsetParent = element.offsetParent;
|
|
1253
|
-
if (getDocumentElement(element) === rawOffsetParent) {
|
|
1254
|
-
rawOffsetParent = rawOffsetParent.ownerDocument.body;
|
|
1255
|
-
}
|
|
1256
|
-
return rawOffsetParent;
|
|
1257
|
-
}
|
|
1258
|
-
function getOffsetParent(element, polyfill) {
|
|
1259
|
-
const win = getWindow(element);
|
|
1260
|
-
if (isTopLayer(element)) {
|
|
1261
|
-
return win;
|
|
1262
|
-
}
|
|
1263
|
-
if (!isHTMLElement(element)) {
|
|
1264
|
-
let svgOffsetParent = getParentNode(element);
|
|
1265
|
-
while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
|
|
1266
|
-
if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
|
|
1267
|
-
return svgOffsetParent;
|
|
1268
|
-
}
|
|
1269
|
-
svgOffsetParent = getParentNode(svgOffsetParent);
|
|
1270
|
-
}
|
|
1271
|
-
return win;
|
|
1272
|
-
}
|
|
1273
|
-
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
1274
|
-
while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
|
|
1275
|
-
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
1276
|
-
}
|
|
1277
|
-
if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
|
|
1278
|
-
return win;
|
|
1279
|
-
}
|
|
1280
|
-
return offsetParent || getContainingBlock(element) || win;
|
|
1281
|
-
}
|
|
1282
|
-
var getElementRects = async function(data) {
|
|
1283
|
-
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
1284
|
-
const getDimensionsFn = this.getDimensions;
|
|
1285
|
-
const floatingDimensions = await getDimensionsFn(data.floating);
|
|
1286
|
-
return {
|
|
1287
|
-
reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
|
|
1288
|
-
floating: {
|
|
1289
|
-
x: 0,
|
|
1290
|
-
y: 0,
|
|
1291
|
-
width: floatingDimensions.width,
|
|
1292
|
-
height: floatingDimensions.height
|
|
1293
|
-
}
|
|
1294
|
-
};
|
|
1295
|
-
};
|
|
1296
|
-
function isRTL(element) {
|
|
1297
|
-
return getComputedStyle2(element).direction === "rtl";
|
|
1298
|
-
}
|
|
1299
|
-
var platform = {
|
|
1300
|
-
convertOffsetParentRelativeRectToViewportRelativeRect,
|
|
1301
|
-
getDocumentElement,
|
|
1302
|
-
getClippingRect,
|
|
1303
|
-
getOffsetParent,
|
|
1304
|
-
getElementRects,
|
|
1305
|
-
getClientRects,
|
|
1306
|
-
getDimensions,
|
|
1307
|
-
getScale,
|
|
1308
|
-
isElement,
|
|
1309
|
-
isRTL
|
|
1310
|
-
};
|
|
1311
|
-
function observeMove(element, onMove) {
|
|
1312
|
-
let io = null;
|
|
1313
|
-
let timeoutId;
|
|
1314
|
-
const root = getDocumentElement(element);
|
|
1315
|
-
function cleanup() {
|
|
1316
|
-
var _io;
|
|
1317
|
-
clearTimeout(timeoutId);
|
|
1318
|
-
(_io = io) == null || _io.disconnect();
|
|
1319
|
-
io = null;
|
|
1320
|
-
}
|
|
1321
|
-
function refresh(skip, threshold) {
|
|
1322
|
-
if (skip === void 0) {
|
|
1323
|
-
skip = false;
|
|
1324
|
-
}
|
|
1325
|
-
if (threshold === void 0) {
|
|
1326
|
-
threshold = 1;
|
|
1327
|
-
}
|
|
1328
|
-
cleanup();
|
|
1329
|
-
const {
|
|
1330
|
-
left,
|
|
1331
|
-
top,
|
|
1332
|
-
width,
|
|
1333
|
-
height
|
|
1334
|
-
} = element.getBoundingClientRect();
|
|
1335
|
-
if (!skip) {
|
|
1336
|
-
onMove();
|
|
1337
|
-
}
|
|
1338
|
-
if (!width || !height) {
|
|
1339
|
-
return;
|
|
1340
|
-
}
|
|
1341
|
-
const insetTop = floor(top);
|
|
1342
|
-
const insetRight = floor(root.clientWidth - (left + width));
|
|
1343
|
-
const insetBottom = floor(root.clientHeight - (top + height));
|
|
1344
|
-
const insetLeft = floor(left);
|
|
1345
|
-
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
|
1346
|
-
const options = {
|
|
1347
|
-
rootMargin,
|
|
1348
|
-
threshold: max(0, min(1, threshold)) || 1
|
|
1349
|
-
};
|
|
1350
|
-
let isFirstUpdate = true;
|
|
1351
|
-
function handleObserve(entries) {
|
|
1352
|
-
const ratio = entries[0].intersectionRatio;
|
|
1353
|
-
if (ratio !== threshold) {
|
|
1354
|
-
if (!isFirstUpdate) {
|
|
1355
|
-
return refresh();
|
|
1356
|
-
}
|
|
1357
|
-
if (!ratio) {
|
|
1358
|
-
timeoutId = setTimeout(() => {
|
|
1359
|
-
refresh(false, 1e-7);
|
|
1360
|
-
}, 1e3);
|
|
1361
|
-
} else {
|
|
1362
|
-
refresh(false, ratio);
|
|
1363
|
-
}
|
|
1364
|
-
}
|
|
1365
|
-
isFirstUpdate = false;
|
|
1366
|
-
}
|
|
1367
|
-
try {
|
|
1368
|
-
io = new IntersectionObserver(handleObserve, __spreadProps(__spreadValues({}, options), {
|
|
1369
|
-
// Handle <iframe>s
|
|
1370
|
-
root: root.ownerDocument
|
|
1371
|
-
}));
|
|
1372
|
-
} catch (e4) {
|
|
1373
|
-
io = new IntersectionObserver(handleObserve, options);
|
|
1374
|
-
}
|
|
1375
|
-
io.observe(element);
|
|
1376
|
-
}
|
|
1377
|
-
refresh(true);
|
|
1378
|
-
return cleanup;
|
|
1379
|
-
}
|
|
1380
|
-
function autoUpdate(reference, floating, update, options) {
|
|
1381
|
-
if (options === void 0) {
|
|
1382
|
-
options = {};
|
|
1383
|
-
}
|
|
1384
|
-
const {
|
|
1385
|
-
ancestorScroll = true,
|
|
1386
|
-
ancestorResize = true,
|
|
1387
|
-
elementResize = typeof ResizeObserver === "function",
|
|
1388
|
-
layoutShift = typeof IntersectionObserver === "function",
|
|
1389
|
-
animationFrame = false
|
|
1390
|
-
} = options;
|
|
1391
|
-
const referenceEl = unwrapElement(reference);
|
|
1392
|
-
const ancestors = ancestorScroll || ancestorResize ? [...referenceEl ? getOverflowAncestors(referenceEl) : [], ...getOverflowAncestors(floating)] : [];
|
|
1393
|
-
ancestors.forEach((ancestor) => {
|
|
1394
|
-
ancestorScroll && ancestor.addEventListener("scroll", update, {
|
|
1395
|
-
passive: true
|
|
1396
|
-
});
|
|
1397
|
-
ancestorResize && ancestor.addEventListener("resize", update);
|
|
1398
|
-
});
|
|
1399
|
-
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
1400
|
-
let reobserveFrame = -1;
|
|
1401
|
-
let resizeObserver = null;
|
|
1402
|
-
if (elementResize) {
|
|
1403
|
-
resizeObserver = new ResizeObserver((_ref) => {
|
|
1404
|
-
let [firstEntry] = _ref;
|
|
1405
|
-
if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
|
|
1406
|
-
resizeObserver.unobserve(floating);
|
|
1407
|
-
cancelAnimationFrame(reobserveFrame);
|
|
1408
|
-
reobserveFrame = requestAnimationFrame(() => {
|
|
1409
|
-
var _resizeObserver;
|
|
1410
|
-
(_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
|
|
1411
|
-
});
|
|
1412
|
-
}
|
|
1413
|
-
update();
|
|
1414
|
-
});
|
|
1415
|
-
if (referenceEl && !animationFrame) {
|
|
1416
|
-
resizeObserver.observe(referenceEl);
|
|
1417
|
-
}
|
|
1418
|
-
resizeObserver.observe(floating);
|
|
1419
|
-
}
|
|
1420
|
-
let frameId;
|
|
1421
|
-
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
1422
|
-
if (animationFrame) {
|
|
1423
|
-
frameLoop();
|
|
1424
|
-
}
|
|
1425
|
-
function frameLoop() {
|
|
1426
|
-
const nextRefRect = getBoundingClientRect(reference);
|
|
1427
|
-
if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {
|
|
1428
|
-
update();
|
|
1429
|
-
}
|
|
1430
|
-
prevRefRect = nextRefRect;
|
|
1431
|
-
frameId = requestAnimationFrame(frameLoop);
|
|
1432
|
-
}
|
|
1433
|
-
update();
|
|
1434
|
-
return () => {
|
|
1435
|
-
var _resizeObserver2;
|
|
1436
|
-
ancestors.forEach((ancestor) => {
|
|
1437
|
-
ancestorScroll && ancestor.removeEventListener("scroll", update);
|
|
1438
|
-
ancestorResize && ancestor.removeEventListener("resize", update);
|
|
1439
|
-
});
|
|
1440
|
-
cleanupIo == null || cleanupIo();
|
|
1441
|
-
(_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
|
|
1442
|
-
resizeObserver = null;
|
|
1443
|
-
if (animationFrame) {
|
|
1444
|
-
cancelAnimationFrame(frameId);
|
|
1445
|
-
}
|
|
1446
|
-
};
|
|
1447
|
-
}
|
|
1448
|
-
var offset2 = offset;
|
|
1449
|
-
var shift2 = shift;
|
|
1450
|
-
var flip2 = flip;
|
|
1451
|
-
var size2 = size;
|
|
1452
|
-
var arrow2 = arrow;
|
|
1453
|
-
var computePosition2 = (reference, floating, options) => {
|
|
1454
|
-
const cache = /* @__PURE__ */ new Map();
|
|
1455
|
-
const mergedOptions = __spreadValues({
|
|
1456
|
-
platform
|
|
1457
|
-
}, options);
|
|
1458
|
-
const platformWithCache = __spreadProps(__spreadValues({}, mergedOptions.platform), {
|
|
1459
|
-
_c: cache
|
|
1460
|
-
});
|
|
1461
|
-
return computePosition(reference, floating, __spreadProps(__spreadValues({}, mergedOptions), {
|
|
1462
|
-
platform: platformWithCache
|
|
1463
|
-
}));
|
|
1464
|
-
};
|
|
1465
|
-
|
|
1466
|
-
// node_modules/composed-offset-position/dist/composed-offset-position.browser.min.mjs
|
|
1467
|
-
function e3(t) {
|
|
1468
|
-
return i(t);
|
|
1469
|
-
}
|
|
1470
|
-
function r(t) {
|
|
1471
|
-
return t.assignedSlot ? t.assignedSlot : t.parentNode instanceof ShadowRoot ? t.parentNode.host : t.parentNode;
|
|
1472
|
-
}
|
|
1473
|
-
function i(e4) {
|
|
1474
|
-
for (let t = e4; t; t = r(t)) if (t instanceof Element && "none" === getComputedStyle(t).display) return null;
|
|
1475
|
-
for (let n2 = r(e4); n2; n2 = r(n2)) {
|
|
1476
|
-
if (!(n2 instanceof Element)) continue;
|
|
1477
|
-
const e5 = getComputedStyle(n2);
|
|
1478
|
-
if ("contents" !== e5.display) {
|
|
1479
|
-
if ("static" !== e5.position || isContainingBlock(e5)) return n2;
|
|
1480
|
-
if ("BODY" === n2.tagName) return n2;
|
|
1481
|
-
}
|
|
1482
|
-
}
|
|
1483
|
-
return null;
|
|
1484
|
-
}
|
|
1485
|
-
|
|
1486
|
-
// src/components/popup/popup.component.ts
|
|
1487
|
-
function isVirtualElement(e4) {
|
|
1488
|
-
return e4 !== null && typeof e4 === "object" && "getBoundingClientRect" in e4 && ("contextElement" in e4 ? e4.contextElement instanceof Element : true);
|
|
1489
|
-
}
|
|
1490
|
-
var SlPopup = class extends ShoelaceElement {
|
|
1491
|
-
constructor() {
|
|
1492
|
-
super(...arguments);
|
|
1493
|
-
this.localize = new LocalizeController(this);
|
|
1494
|
-
this.active = false;
|
|
1495
|
-
this.placement = "top";
|
|
1496
|
-
this.strategy = "absolute";
|
|
1497
|
-
this.distance = 0;
|
|
1498
|
-
this.skidding = 0;
|
|
1499
|
-
this.arrow = false;
|
|
1500
|
-
this.arrowPlacement = "anchor";
|
|
1501
|
-
this.arrowPadding = 10;
|
|
1502
|
-
this.flip = false;
|
|
1503
|
-
this.flipFallbackPlacements = "";
|
|
1504
|
-
this.flipFallbackStrategy = "best-fit";
|
|
1505
|
-
this.flipPadding = 0;
|
|
1506
|
-
this.shift = false;
|
|
1507
|
-
this.shiftPadding = 0;
|
|
1508
|
-
this.autoSizePadding = 0;
|
|
1509
|
-
this.hoverBridge = false;
|
|
1510
|
-
this.updateHoverBridge = () => {
|
|
1511
|
-
if (this.hoverBridge && this.anchorEl) {
|
|
1512
|
-
const anchorRect = this.anchorEl.getBoundingClientRect();
|
|
1513
|
-
const popupRect = this.popup.getBoundingClientRect();
|
|
1514
|
-
const isVertical = this.placement.includes("top") || this.placement.includes("bottom");
|
|
1515
|
-
let topLeftX = 0;
|
|
1516
|
-
let topLeftY = 0;
|
|
1517
|
-
let topRightX = 0;
|
|
1518
|
-
let topRightY = 0;
|
|
1519
|
-
let bottomLeftX = 0;
|
|
1520
|
-
let bottomLeftY = 0;
|
|
1521
|
-
let bottomRightX = 0;
|
|
1522
|
-
let bottomRightY = 0;
|
|
1523
|
-
if (isVertical) {
|
|
1524
|
-
if (anchorRect.top < popupRect.top) {
|
|
1525
|
-
topLeftX = anchorRect.left;
|
|
1526
|
-
topLeftY = anchorRect.bottom;
|
|
1527
|
-
topRightX = anchorRect.right;
|
|
1528
|
-
topRightY = anchorRect.bottom;
|
|
1529
|
-
bottomLeftX = popupRect.left;
|
|
1530
|
-
bottomLeftY = popupRect.top;
|
|
1531
|
-
bottomRightX = popupRect.right;
|
|
1532
|
-
bottomRightY = popupRect.top;
|
|
1533
|
-
} else {
|
|
1534
|
-
topLeftX = popupRect.left;
|
|
1535
|
-
topLeftY = popupRect.bottom;
|
|
1536
|
-
topRightX = popupRect.right;
|
|
1537
|
-
topRightY = popupRect.bottom;
|
|
1538
|
-
bottomLeftX = anchorRect.left;
|
|
1539
|
-
bottomLeftY = anchorRect.top;
|
|
1540
|
-
bottomRightX = anchorRect.right;
|
|
1541
|
-
bottomRightY = anchorRect.top;
|
|
1542
|
-
}
|
|
1543
|
-
} else {
|
|
1544
|
-
if (anchorRect.left < popupRect.left) {
|
|
1545
|
-
topLeftX = anchorRect.right;
|
|
1546
|
-
topLeftY = anchorRect.top;
|
|
1547
|
-
topRightX = popupRect.left;
|
|
1548
|
-
topRightY = popupRect.top;
|
|
1549
|
-
bottomLeftX = anchorRect.right;
|
|
1550
|
-
bottomLeftY = anchorRect.bottom;
|
|
1551
|
-
bottomRightX = popupRect.left;
|
|
1552
|
-
bottomRightY = popupRect.bottom;
|
|
1553
|
-
} else {
|
|
1554
|
-
topLeftX = popupRect.right;
|
|
1555
|
-
topLeftY = popupRect.top;
|
|
1556
|
-
topRightX = anchorRect.left;
|
|
1557
|
-
topRightY = anchorRect.top;
|
|
1558
|
-
bottomLeftX = popupRect.right;
|
|
1559
|
-
bottomLeftY = popupRect.bottom;
|
|
1560
|
-
bottomRightX = anchorRect.left;
|
|
1561
|
-
bottomRightY = anchorRect.bottom;
|
|
1562
|
-
}
|
|
1563
|
-
}
|
|
1564
|
-
this.style.setProperty("--hover-bridge-top-left-x", `${topLeftX}px`);
|
|
1565
|
-
this.style.setProperty("--hover-bridge-top-left-y", `${topLeftY}px`);
|
|
1566
|
-
this.style.setProperty("--hover-bridge-top-right-x", `${topRightX}px`);
|
|
1567
|
-
this.style.setProperty("--hover-bridge-top-right-y", `${topRightY}px`);
|
|
1568
|
-
this.style.setProperty("--hover-bridge-bottom-left-x", `${bottomLeftX}px`);
|
|
1569
|
-
this.style.setProperty("--hover-bridge-bottom-left-y", `${bottomLeftY}px`);
|
|
1570
|
-
this.style.setProperty("--hover-bridge-bottom-right-x", `${bottomRightX}px`);
|
|
1571
|
-
this.style.setProperty("--hover-bridge-bottom-right-y", `${bottomRightY}px`);
|
|
1572
|
-
}
|
|
1573
|
-
};
|
|
1574
|
-
}
|
|
1575
|
-
async connectedCallback() {
|
|
1576
|
-
super.connectedCallback();
|
|
1577
|
-
await this.updateComplete;
|
|
1578
|
-
this.start();
|
|
1579
|
-
}
|
|
1580
|
-
disconnectedCallback() {
|
|
1581
|
-
super.disconnectedCallback();
|
|
1582
|
-
this.stop();
|
|
1583
|
-
}
|
|
1584
|
-
async updated(changedProps) {
|
|
1585
|
-
super.updated(changedProps);
|
|
1586
|
-
if (changedProps.has("active")) {
|
|
1587
|
-
if (this.active) {
|
|
1588
|
-
this.start();
|
|
1589
|
-
} else {
|
|
1590
|
-
this.stop();
|
|
1591
|
-
}
|
|
1592
|
-
}
|
|
1593
|
-
if (changedProps.has("anchor")) {
|
|
1594
|
-
this.handleAnchorChange();
|
|
1595
|
-
}
|
|
1596
|
-
if (this.active) {
|
|
1597
|
-
await this.updateComplete;
|
|
1598
|
-
this.reposition();
|
|
1599
|
-
}
|
|
1600
|
-
}
|
|
1601
|
-
async handleAnchorChange() {
|
|
1602
|
-
await this.stop();
|
|
1603
|
-
if (this.anchor && typeof this.anchor === "string") {
|
|
1604
|
-
const root = this.getRootNode();
|
|
1605
|
-
this.anchorEl = root.getElementById(this.anchor);
|
|
1606
|
-
} else if (this.anchor instanceof Element || isVirtualElement(this.anchor)) {
|
|
1607
|
-
this.anchorEl = this.anchor;
|
|
1608
|
-
} else {
|
|
1609
|
-
this.anchorEl = this.querySelector('[slot="anchor"]');
|
|
1610
|
-
}
|
|
1611
|
-
if (this.anchorEl instanceof HTMLSlotElement) {
|
|
1612
|
-
this.anchorEl = this.anchorEl.assignedElements({ flatten: true })[0];
|
|
1613
|
-
}
|
|
1614
|
-
if (this.anchorEl && this.active) {
|
|
1615
|
-
this.start();
|
|
1616
|
-
}
|
|
1617
|
-
}
|
|
1618
|
-
start() {
|
|
1619
|
-
if (!this.anchorEl || !this.active) {
|
|
1620
|
-
return;
|
|
1621
|
-
}
|
|
1622
|
-
this.cleanup = autoUpdate(this.anchorEl, this.popup, () => {
|
|
1623
|
-
this.reposition();
|
|
1624
|
-
});
|
|
1625
|
-
}
|
|
1626
|
-
async stop() {
|
|
1627
|
-
return new Promise((resolve) => {
|
|
1628
|
-
if (this.cleanup) {
|
|
1629
|
-
this.cleanup();
|
|
1630
|
-
this.cleanup = void 0;
|
|
1631
|
-
this.removeAttribute("data-current-placement");
|
|
1632
|
-
this.style.removeProperty("--auto-size-available-width");
|
|
1633
|
-
this.style.removeProperty("--auto-size-available-height");
|
|
1634
|
-
requestAnimationFrame(() => resolve());
|
|
1635
|
-
} else {
|
|
1636
|
-
resolve();
|
|
1637
|
-
}
|
|
1638
|
-
});
|
|
1639
|
-
}
|
|
1640
|
-
/** Forces the popup to recalculate and reposition itself. */
|
|
1641
|
-
reposition() {
|
|
1642
|
-
if (!this.active || !this.anchorEl) {
|
|
1643
|
-
return;
|
|
1644
|
-
}
|
|
1645
|
-
const middleware = [
|
|
1646
|
-
// The offset middleware goes first
|
|
1647
|
-
offset2({ mainAxis: this.distance, crossAxis: this.skidding })
|
|
1648
|
-
];
|
|
1649
|
-
if (this.sync) {
|
|
1650
|
-
middleware.push(
|
|
1651
|
-
size2({
|
|
1652
|
-
apply: ({ rects }) => {
|
|
1653
|
-
const syncWidth = this.sync === "width" || this.sync === "both";
|
|
1654
|
-
const syncHeight = this.sync === "height" || this.sync === "both";
|
|
1655
|
-
this.popup.style.width = syncWidth ? `${rects.reference.width}px` : "";
|
|
1656
|
-
this.popup.style.height = syncHeight ? `${rects.reference.height}px` : "";
|
|
1657
|
-
}
|
|
1658
|
-
})
|
|
1659
|
-
);
|
|
1660
|
-
} else {
|
|
1661
|
-
this.popup.style.width = "";
|
|
1662
|
-
this.popup.style.height = "";
|
|
1663
|
-
}
|
|
1664
|
-
if (this.flip) {
|
|
1665
|
-
middleware.push(
|
|
1666
|
-
flip2({
|
|
1667
|
-
boundary: this.flipBoundary,
|
|
1668
|
-
// @ts-expect-error - We're converting a string attribute to an array here
|
|
1669
|
-
fallbackPlacements: this.flipFallbackPlacements,
|
|
1670
|
-
fallbackStrategy: this.flipFallbackStrategy === "best-fit" ? "bestFit" : "initialPlacement",
|
|
1671
|
-
padding: this.flipPadding
|
|
1672
|
-
})
|
|
1673
|
-
);
|
|
1674
|
-
}
|
|
1675
|
-
if (this.shift) {
|
|
1676
|
-
middleware.push(
|
|
1677
|
-
shift2({
|
|
1678
|
-
boundary: this.shiftBoundary,
|
|
1679
|
-
padding: this.shiftPadding
|
|
1680
|
-
})
|
|
1681
|
-
);
|
|
1682
|
-
}
|
|
1683
|
-
if (this.autoSize) {
|
|
1684
|
-
middleware.push(
|
|
1685
|
-
size2({
|
|
1686
|
-
boundary: this.autoSizeBoundary,
|
|
1687
|
-
padding: this.autoSizePadding,
|
|
1688
|
-
apply: ({ availableWidth, availableHeight }) => {
|
|
1689
|
-
if (this.autoSize === "vertical" || this.autoSize === "both") {
|
|
1690
|
-
this.style.setProperty("--auto-size-available-height", `${availableHeight}px`);
|
|
1691
|
-
} else {
|
|
1692
|
-
this.style.removeProperty("--auto-size-available-height");
|
|
1693
|
-
}
|
|
1694
|
-
if (this.autoSize === "horizontal" || this.autoSize === "both") {
|
|
1695
|
-
this.style.setProperty("--auto-size-available-width", `${availableWidth}px`);
|
|
1696
|
-
} else {
|
|
1697
|
-
this.style.removeProperty("--auto-size-available-width");
|
|
1698
|
-
}
|
|
1699
|
-
}
|
|
1700
|
-
})
|
|
1701
|
-
);
|
|
1702
|
-
} else {
|
|
1703
|
-
this.style.removeProperty("--auto-size-available-width");
|
|
1704
|
-
this.style.removeProperty("--auto-size-available-height");
|
|
1705
|
-
}
|
|
1706
|
-
if (this.arrow) {
|
|
1707
|
-
middleware.push(
|
|
1708
|
-
arrow2({
|
|
1709
|
-
element: this.arrowEl,
|
|
1710
|
-
padding: this.arrowPadding
|
|
1711
|
-
})
|
|
1712
|
-
);
|
|
1713
|
-
}
|
|
1714
|
-
const getOffsetParent2 = this.strategy === "absolute" ? (element) => platform.getOffsetParent(element, e3) : platform.getOffsetParent;
|
|
1715
|
-
computePosition2(this.anchorEl, this.popup, {
|
|
1716
|
-
placement: this.placement,
|
|
1717
|
-
middleware,
|
|
1718
|
-
strategy: this.strategy,
|
|
1719
|
-
platform: __spreadProps(__spreadValues({}, platform), {
|
|
1720
|
-
getOffsetParent: getOffsetParent2
|
|
1721
|
-
})
|
|
1722
|
-
}).then(({ x: x2, y, middlewareData, placement }) => {
|
|
1723
|
-
const isRtl = this.localize.dir() === "rtl";
|
|
1724
|
-
const staticSide = { top: "bottom", right: "left", bottom: "top", left: "right" }[placement.split("-")[0]];
|
|
1725
|
-
this.setAttribute("data-current-placement", placement);
|
|
1726
|
-
Object.assign(this.popup.style, {
|
|
1727
|
-
left: `${x2}px`,
|
|
1728
|
-
top: `${y}px`
|
|
1729
|
-
});
|
|
1730
|
-
if (this.arrow) {
|
|
1731
|
-
const arrowX = middlewareData.arrow.x;
|
|
1732
|
-
const arrowY = middlewareData.arrow.y;
|
|
1733
|
-
let top = "";
|
|
1734
|
-
let right = "";
|
|
1735
|
-
let bottom = "";
|
|
1736
|
-
let left = "";
|
|
1737
|
-
if (this.arrowPlacement === "start") {
|
|
1738
|
-
const value = typeof arrowX === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1739
|
-
top = typeof arrowY === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1740
|
-
right = isRtl ? value : "";
|
|
1741
|
-
left = isRtl ? "" : value;
|
|
1742
|
-
} else if (this.arrowPlacement === "end") {
|
|
1743
|
-
const value = typeof arrowX === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1744
|
-
right = isRtl ? "" : value;
|
|
1745
|
-
left = isRtl ? value : "";
|
|
1746
|
-
bottom = typeof arrowY === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1747
|
-
} else if (this.arrowPlacement === "center") {
|
|
1748
|
-
left = typeof arrowX === "number" ? `calc(50% - var(--arrow-size-diagonal))` : "";
|
|
1749
|
-
top = typeof arrowY === "number" ? `calc(50% - var(--arrow-size-diagonal))` : "";
|
|
1750
|
-
} else {
|
|
1751
|
-
left = typeof arrowX === "number" ? `${arrowX}px` : "";
|
|
1752
|
-
top = typeof arrowY === "number" ? `${arrowY}px` : "";
|
|
1753
|
-
}
|
|
1754
|
-
Object.assign(this.arrowEl.style, {
|
|
1755
|
-
top,
|
|
1756
|
-
right,
|
|
1757
|
-
bottom,
|
|
1758
|
-
left,
|
|
1759
|
-
[staticSide]: "calc(var(--arrow-size-diagonal) * -1)"
|
|
1760
|
-
});
|
|
1761
|
-
}
|
|
1762
|
-
});
|
|
1763
|
-
requestAnimationFrame(() => this.updateHoverBridge());
|
|
1764
|
-
this.emit("sl-reposition");
|
|
1765
|
-
}
|
|
1766
|
-
render() {
|
|
1767
|
-
return x`
|
|
1768
|
-
<slot name="anchor" @slotchange=${this.handleAnchorChange}></slot>
|
|
1769
|
-
|
|
1770
|
-
<span
|
|
1771
|
-
part="hover-bridge"
|
|
1772
|
-
class=${e({
|
|
1773
|
-
"popup-hover-bridge": true,
|
|
1774
|
-
"popup-hover-bridge--visible": this.hoverBridge && this.active
|
|
1775
|
-
})}
|
|
1776
|
-
></span>
|
|
1777
|
-
|
|
1778
|
-
<div
|
|
1779
|
-
part="popup"
|
|
1780
|
-
class=${e({
|
|
1781
|
-
popup: true,
|
|
1782
|
-
"popup--active": this.active,
|
|
1783
|
-
"popup--fixed": this.strategy === "fixed",
|
|
1784
|
-
"popup--has-arrow": this.arrow
|
|
1785
|
-
})}
|
|
1786
|
-
>
|
|
1787
|
-
<slot></slot>
|
|
1788
|
-
${this.arrow ? x`<div part="arrow" class="popup__arrow" role="presentation"></div>` : ""}
|
|
1789
|
-
</div>
|
|
1790
|
-
`;
|
|
1791
|
-
}
|
|
1792
|
-
};
|
|
1793
|
-
SlPopup.styles = [component_styles_default, popup_styles_default];
|
|
1794
|
-
__decorateClass([
|
|
1795
|
-
e2(".popup")
|
|
1796
|
-
], SlPopup.prototype, "popup", 2);
|
|
1797
|
-
__decorateClass([
|
|
1798
|
-
e2(".popup__arrow")
|
|
1799
|
-
], SlPopup.prototype, "arrowEl", 2);
|
|
1800
|
-
__decorateClass([
|
|
1801
|
-
n()
|
|
1802
|
-
], SlPopup.prototype, "anchor", 2);
|
|
1803
|
-
__decorateClass([
|
|
1804
|
-
n({ type: Boolean, reflect: true })
|
|
1805
|
-
], SlPopup.prototype, "active", 2);
|
|
1806
|
-
__decorateClass([
|
|
1807
|
-
n({ reflect: true })
|
|
1808
|
-
], SlPopup.prototype, "placement", 2);
|
|
1809
|
-
__decorateClass([
|
|
1810
|
-
n({ reflect: true })
|
|
1811
|
-
], SlPopup.prototype, "strategy", 2);
|
|
1812
|
-
__decorateClass([
|
|
1813
|
-
n({ type: Number })
|
|
1814
|
-
], SlPopup.prototype, "distance", 2);
|
|
1815
|
-
__decorateClass([
|
|
1816
|
-
n({ type: Number })
|
|
1817
|
-
], SlPopup.prototype, "skidding", 2);
|
|
1818
|
-
__decorateClass([
|
|
1819
|
-
n({ type: Boolean })
|
|
1820
|
-
], SlPopup.prototype, "arrow", 2);
|
|
1821
|
-
__decorateClass([
|
|
1822
|
-
n({ attribute: "arrow-placement" })
|
|
1823
|
-
], SlPopup.prototype, "arrowPlacement", 2);
|
|
1824
|
-
__decorateClass([
|
|
1825
|
-
n({ attribute: "arrow-padding", type: Number })
|
|
1826
|
-
], SlPopup.prototype, "arrowPadding", 2);
|
|
1827
|
-
__decorateClass([
|
|
1828
|
-
n({ type: Boolean })
|
|
1829
|
-
], SlPopup.prototype, "flip", 2);
|
|
1830
|
-
__decorateClass([
|
|
1831
|
-
n({
|
|
1832
|
-
attribute: "flip-fallback-placements",
|
|
1833
|
-
converter: {
|
|
1834
|
-
fromAttribute: (value) => {
|
|
1835
|
-
return value.split(" ").map((p) => p.trim()).filter((p) => p !== "");
|
|
1836
|
-
},
|
|
1837
|
-
toAttribute: (value) => {
|
|
1838
|
-
return value.join(" ");
|
|
1839
|
-
}
|
|
1840
|
-
}
|
|
1841
|
-
})
|
|
1842
|
-
], SlPopup.prototype, "flipFallbackPlacements", 2);
|
|
1843
|
-
__decorateClass([
|
|
1844
|
-
n({ attribute: "flip-fallback-strategy" })
|
|
1845
|
-
], SlPopup.prototype, "flipFallbackStrategy", 2);
|
|
1846
|
-
__decorateClass([
|
|
1847
|
-
n({ type: Object })
|
|
1848
|
-
], SlPopup.prototype, "flipBoundary", 2);
|
|
1849
|
-
__decorateClass([
|
|
1850
|
-
n({ attribute: "flip-padding", type: Number })
|
|
1851
|
-
], SlPopup.prototype, "flipPadding", 2);
|
|
1852
|
-
__decorateClass([
|
|
1853
|
-
n({ type: Boolean })
|
|
1854
|
-
], SlPopup.prototype, "shift", 2);
|
|
1855
|
-
__decorateClass([
|
|
1856
|
-
n({ type: Object })
|
|
1857
|
-
], SlPopup.prototype, "shiftBoundary", 2);
|
|
1858
|
-
__decorateClass([
|
|
1859
|
-
n({ attribute: "shift-padding", type: Number })
|
|
1860
|
-
], SlPopup.prototype, "shiftPadding", 2);
|
|
1861
|
-
__decorateClass([
|
|
1862
|
-
n({ attribute: "auto-size" })
|
|
1863
|
-
], SlPopup.prototype, "autoSize", 2);
|
|
1864
|
-
__decorateClass([
|
|
1865
|
-
n()
|
|
1866
|
-
], SlPopup.prototype, "sync", 2);
|
|
1867
|
-
__decorateClass([
|
|
1868
|
-
n({ type: Object })
|
|
1869
|
-
], SlPopup.prototype, "autoSizeBoundary", 2);
|
|
1870
|
-
__decorateClass([
|
|
1871
|
-
n({ attribute: "auto-size-padding", type: Number })
|
|
1872
|
-
], SlPopup.prototype, "autoSizePadding", 2);
|
|
1873
|
-
__decorateClass([
|
|
1874
|
-
n({ attribute: "hover-bridge", type: Boolean })
|
|
1875
|
-
], SlPopup.prototype, "hoverBridge", 2);
|
|
1876
|
-
|
|
1877
|
-
export {
|
|
1878
|
-
SlPopup
|
|
1879
|
-
};
|