@kdcloudjs/shoelace 1.0.5 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/assets/icons/anthropic.svg +3 -0
- package/cdn/assets/icons/apple-music.svg +3 -0
- package/cdn/assets/icons/battery-low.svg +4 -0
- package/cdn/assets/icons/beaker-fill.svg +3 -0
- package/cdn/assets/icons/beaker.svg +4 -0
- package/cdn/assets/icons/bluesky.svg +3 -0
- package/cdn/assets/icons/calendar3-event-fill.svg +1 -1
- package/cdn/assets/icons/calendar3-range-fill.svg +1 -1
- package/cdn/assets/icons/calendar3-week-fill.svg +1 -1
- package/cdn/assets/icons/claude.svg +3 -0
- package/cdn/assets/icons/css.svg +3 -0
- package/cdn/assets/icons/flask-fill.svg +3 -0
- package/cdn/assets/icons/flask-florence-fill.svg +3 -0
- package/cdn/assets/icons/flask-florence.svg +3 -0
- package/cdn/assets/icons/flask.svg +3 -0
- package/cdn/assets/icons/fork-knife.svg +3 -0
- package/cdn/assets/icons/globe-americas-fill.svg +3 -0
- package/cdn/assets/icons/globe-asia-australia-fill.svg +3 -0
- package/cdn/assets/icons/globe-central-south-asia-fill.svg +3 -0
- package/cdn/assets/icons/globe-europe-africa-fill.svg +3 -0
- package/cdn/assets/icons/icons.json +548 -143
- package/cdn/assets/icons/javascript.svg +3 -0
- package/cdn/assets/icons/leaf-fill.svg +3 -0
- package/cdn/assets/icons/leaf.svg +3 -0
- package/cdn/assets/icons/lock-fill.svg +1 -1
- package/cdn/assets/icons/lock.svg +1 -1
- package/cdn/assets/icons/measuring-cup-fill.svg +3 -0
- package/cdn/assets/icons/measuring-cup.svg +3 -0
- package/cdn/assets/icons/meta.svg +1 -1
- package/cdn/assets/icons/openai.svg +3 -0
- package/cdn/assets/icons/perplexity.svg +3 -0
- package/cdn/assets/icons/tux.svg +4 -0
- package/cdn/assets/icons/typescript.svg +3 -0
- package/cdn/assets/icons/unlock-fill.svg +1 -1
- package/cdn/assets/icons/unlock.svg +1 -1
- package/cdn/assets/icons/unlock2-fill.svg +3 -0
- package/cdn/assets/icons/unlock2.svg +3 -0
- package/cdn/chunks/chunk.2F6BH5VZ.js +48 -0
- package/cdn/chunks/chunk.2FVW6KTS.js +24 -0
- package/cdn/chunks/chunk.2GQXLKH2.js +11 -0
- package/cdn/chunks/chunk.2M63QR5H.js +137 -0
- package/cdn/chunks/chunk.2MTL3FGH.js +75 -0
- package/cdn/chunks/chunk.2YDZBONK.js +36 -0
- package/cdn/chunks/chunk.2ZJLDS5B.js +49 -0
- package/cdn/chunks/chunk.33GIVBCX.js +186 -0
- package/cdn/chunks/chunk.3AZELGZB.js +24 -0
- package/cdn/chunks/chunk.3BBWICYY.js +11 -0
- package/cdn/chunks/chunk.3F6V74NZ.js +302 -0
- package/cdn/chunks/chunk.3TGDZ5DJ.js +23 -0
- package/cdn/chunks/chunk.3TOH2DHT.js +70 -0
- package/cdn/chunks/chunk.4DLZFMRP.js +28 -0
- package/cdn/chunks/chunk.4E6VVZLR.js +113 -0
- package/cdn/chunks/chunk.4EZCWDFF.js +282 -0
- package/cdn/chunks/chunk.4HEFI3TR.js +21 -0
- package/cdn/chunks/chunk.4ITOXMOC.js +50 -0
- package/cdn/chunks/chunk.4PCTXN2L.js +11 -0
- package/cdn/chunks/chunk.4UU2AHNM.js +11 -0
- package/cdn/chunks/chunk.4WYLYP2R.js +2654 -0
- package/cdn/chunks/chunk.535UQ7PU.js +11 -0
- package/cdn/chunks/chunk.55VMUAMC.js +219 -0
- package/cdn/chunks/chunk.5DULFYC5.js +11 -0
- package/cdn/chunks/chunk.5EVZQYMV.js +29 -0
- package/cdn/chunks/chunk.5LQPJK4T.js +25 -0
- package/cdn/chunks/chunk.5PSHBHTM.js +27 -0
- package/cdn/chunks/chunk.5QBHYHI5.js +11 -0
- package/cdn/chunks/chunk.5TFURW2T.js +11 -0
- package/cdn/chunks/chunk.6BPAJGHW.js +37 -0
- package/cdn/chunks/chunk.6EIVSMAA.js +29 -0
- package/cdn/chunks/chunk.6F2FLYOW.js +21 -0
- package/cdn/chunks/chunk.6F6QUINY.js +21 -0
- package/cdn/chunks/chunk.6FMCIQ3A.js +53 -0
- package/cdn/chunks/chunk.6FMKD5O3.js +19 -0
- package/cdn/chunks/chunk.6QPGZTOP.js +98 -0
- package/cdn/chunks/chunk.6UM6FC4K.js +11 -0
- package/cdn/chunks/chunk.6US6F6S3.js +120 -0
- package/cdn/chunks/chunk.6X3XLMW7.js +110 -0
- package/cdn/chunks/chunk.6ZIXSOPR.js +21 -0
- package/cdn/chunks/chunk.6ZKNFZGQ.js +63 -0
- package/cdn/chunks/chunk.74WFQGMH.js +7179 -0
- package/cdn/chunks/chunk.7LIKXAS7.js +11 -0
- package/cdn/chunks/chunk.7QQEWD4L.js +21 -0
- package/cdn/chunks/chunk.7R6STMVQ.js +24 -0
- package/cdn/chunks/chunk.7WSF3BCU.js +645 -0
- package/cdn/chunks/chunk.A6JN67Y5.js +574 -0
- package/cdn/chunks/chunk.AGYFIM4Q.js +29 -0
- package/cdn/chunks/chunk.AJ2OYLPL.js +87 -0
- package/cdn/chunks/chunk.AQBMDC3E.js +11 -0
- package/cdn/chunks/chunk.AU2R525E.js +26 -0
- package/cdn/chunks/chunk.AVRLZDY5.js +21 -0
- package/cdn/chunks/chunk.AYWXAFCR.js +111 -0
- package/cdn/chunks/chunk.AZSL5MFU.js +58 -0
- package/cdn/chunks/chunk.B34ZMFU5.js +14 -0
- package/cdn/chunks/chunk.B4DQB52P.js +24 -0
- package/cdn/chunks/chunk.B7G2OHZ4.js +28 -0
- package/cdn/chunks/chunk.BEJW4Y4A.js +244 -0
- package/cdn/chunks/chunk.BJDNEBPV.js +51 -0
- package/cdn/chunks/chunk.BT53JGIN.js +68 -0
- package/cdn/chunks/chunk.BY6KFH73.js +11 -0
- package/cdn/chunks/chunk.C2YJADJR.js +27 -0
- package/cdn/chunks/chunk.C4QRCLEU.js +92 -0
- package/cdn/chunks/chunk.C6IEKD4A.js +216 -0
- package/cdn/chunks/chunk.CBMCIPXG.js +97 -0
- package/cdn/chunks/chunk.CL5YXDWF.js +28 -0
- package/cdn/chunks/chunk.CMFW5LOK.js +367 -0
- package/cdn/chunks/chunk.CPLLGC7O.js +137 -0
- package/cdn/chunks/chunk.CREPJYOR.js +21 -0
- package/cdn/chunks/chunk.CV4KXOED.js +197 -0
- package/cdn/chunks/chunk.CWZ3KOZZ.js +30 -0
- package/cdn/chunks/chunk.D2BCJUHY.js +11 -0
- package/cdn/chunks/chunk.D6F22637.js +291 -0
- package/cdn/chunks/chunk.DJGGJMPC.js +21 -0
- package/cdn/chunks/chunk.DLXIAJ2V.js +11 -0
- package/cdn/chunks/chunk.DMYOWHYC.js +11 -0
- package/cdn/chunks/chunk.DSLJYWB4.js +21 -0
- package/cdn/chunks/chunk.E25NP5SO.js +11 -0
- package/cdn/chunks/chunk.EAUOUIX4.js +67 -0
- package/cdn/chunks/chunk.ECAQDARE.js +24 -0
- package/cdn/chunks/chunk.ECYL2UQT.js +16 -0
- package/cdn/chunks/chunk.ED2UP6WZ.js +11 -0
- package/cdn/chunks/chunk.EDBLN2VQ.js +25 -0
- package/cdn/chunks/chunk.EGHXUYMK.js +510 -0
- package/cdn/chunks/chunk.EMNG5BUV.js +342 -0
- package/cdn/chunks/chunk.ERKC472U.js +24 -0
- package/cdn/chunks/chunk.EZNWAXFF.js +11 -0
- package/cdn/chunks/chunk.FCH7L4DJ.js +21 -0
- package/cdn/chunks/chunk.FFVGCBGA.js +30 -0
- package/cdn/chunks/chunk.FG7FIJ4A.js +255 -0
- package/cdn/chunks/chunk.FHQ6SOQJ.js +103 -0
- package/cdn/chunks/chunk.FKNGB7NW.js +27 -0
- package/cdn/chunks/chunk.FOUHO4EI.js +233 -0
- package/cdn/chunks/chunk.FR2NJBAW.js +29 -0
- package/cdn/chunks/chunk.FYSJH6YS.js +189 -0
- package/cdn/chunks/chunk.G2YOMCHR.js +126 -0
- package/cdn/chunks/chunk.G66BUPQX.js +328 -0
- package/cdn/chunks/chunk.G7UJGWHN.js +21 -0
- package/cdn/chunks/chunk.GDDL2ZQP.js +379 -0
- package/cdn/chunks/chunk.GI23BFSO.js +11 -0
- package/cdn/chunks/chunk.GJIRETQU.js +29 -0
- package/cdn/chunks/chunk.GJYIQ2J2.js +11 -0
- package/cdn/chunks/chunk.GL362K25.js +11 -0
- package/cdn/chunks/chunk.GO3RBHQC.js +128 -0
- package/cdn/chunks/chunk.GOMPYCOG.js +76 -0
- package/cdn/chunks/chunk.GPQH7V6M.js +26 -0
- package/cdn/chunks/chunk.GQX7LPK4.js +5845 -0
- package/cdn/chunks/chunk.GRUXSLFM.js +27 -0
- package/cdn/chunks/chunk.GRX55RH2.js +177 -0
- package/cdn/chunks/chunk.GYOTPPQV.js +14 -0
- package/cdn/chunks/chunk.H2UW64J2.js +11 -0
- package/cdn/chunks/chunk.HAGPNIZX.js +175 -0
- package/cdn/chunks/chunk.HDWRDDWI.js +73 -0
- package/cdn/chunks/chunk.HGQHIEUA.js +11 -0
- package/cdn/chunks/chunk.HHBZDFH4.js +236 -0
- package/cdn/chunks/chunk.HHEYGC56.js +40 -0
- package/cdn/chunks/chunk.HKBYSRKH.js +724 -0
- package/cdn/chunks/chunk.HL7H3M6B.js +24 -0
- package/cdn/chunks/chunk.HLG4GWMI.js +21 -0
- package/cdn/chunks/chunk.HMNFR2UP.js +42 -0
- package/cdn/chunks/chunk.HOOU7UNX.js +127 -0
- package/cdn/chunks/chunk.HPYSTYB4.js +192 -0
- package/cdn/chunks/chunk.HV2YTU6Z.js +63 -0
- package/cdn/chunks/chunk.HZLF6TXJ.js +11 -0
- package/cdn/chunks/chunk.I2VIRKGU.js +257 -0
- package/cdn/chunks/chunk.I3CHFQIU.js +11 -0
- package/cdn/chunks/chunk.I56KGWR2.js +586 -0
- package/cdn/chunks/chunk.I7F4TU4S.js +11 -0
- package/cdn/chunks/chunk.ICNOZ76T.js +124 -0
- package/cdn/chunks/chunk.ICXEJ5NW.js +142 -0
- package/cdn/chunks/chunk.ICYZ3ZRB.js +28 -0
- package/cdn/chunks/chunk.IIJPIX4C.js +1990 -0
- package/cdn/chunks/chunk.IIKXCPWN.js +11 -0
- package/cdn/chunks/chunk.IMYUHA7A.js +95 -0
- package/cdn/chunks/chunk.IVT5REKM.js +11 -0
- package/cdn/chunks/chunk.IX2EEYGP.js +24 -0
- package/cdn/chunks/chunk.J43RLQAP.js +58 -0
- package/cdn/chunks/chunk.J7ZESFNQ.js +26 -0
- package/cdn/chunks/chunk.JCJCP52E.js +69 -0
- package/cdn/chunks/chunk.JGAD2NAP.js +11 -0
- package/cdn/chunks/chunk.JM7BKSZG.js +11 -0
- package/cdn/chunks/chunk.JPJQNOE3.js +11 -0
- package/cdn/chunks/chunk.JT56MIJ4.js +279 -0
- package/cdn/chunks/chunk.JTC7F5FK.js +246 -0
- package/cdn/chunks/chunk.JY6CSNX6.js +23 -0
- package/cdn/chunks/chunk.K2F3BCM7.js +391 -0
- package/cdn/chunks/chunk.K2XGWHFS.js +35 -0
- package/cdn/chunks/chunk.K35KM3AY.js +822 -0
- package/cdn/chunks/chunk.KA5JBMLK.js +130 -0
- package/cdn/chunks/chunk.KDK3IIAH.js +75 -0
- package/cdn/chunks/chunk.KF4JUKBH.js +11 -0
- package/cdn/chunks/chunk.KGZ7SQSK.js +26 -0
- package/cdn/chunks/chunk.KJQP3AWV.js +19 -0
- package/cdn/chunks/chunk.KKFPVTXK.js +122 -0
- package/cdn/chunks/chunk.KOQK2UQV.js +123 -0
- package/cdn/chunks/chunk.KRJ56QFY.js +11 -0
- package/cdn/chunks/chunk.KRLX4MIS.js +25 -0
- package/cdn/chunks/chunk.KZ22B4H2.js +93 -0
- package/cdn/chunks/chunk.L23JWZXF.js +336 -0
- package/cdn/chunks/chunk.LAR5NV4G.js +27 -0
- package/cdn/chunks/chunk.LC3BU3MO.js +299 -0
- package/cdn/chunks/chunk.LFCIQ62U.js +22 -0
- package/cdn/chunks/chunk.LH37CC6N.js +82 -0
- package/cdn/chunks/chunk.LODLV2NS.js +11 -0
- package/cdn/chunks/chunk.LRGEUME6.js +236 -0
- package/cdn/chunks/chunk.LX2IWFEF.js +155 -0
- package/cdn/chunks/chunk.M4KK4C2G.js +345 -0
- package/cdn/chunks/chunk.M7OJX77N.js +42 -0
- package/cdn/chunks/chunk.MARNMIR3.js +11 -0
- package/cdn/chunks/chunk.MR4WVQXP.js +135 -0
- package/cdn/chunks/chunk.MSEIXTPS.js +36 -0
- package/cdn/chunks/chunk.MWWXGSIA.js +502 -0
- package/cdn/chunks/chunk.N2BWLT5M.js +79 -0
- package/cdn/chunks/chunk.N2SGPX4I.js +77 -0
- package/cdn/chunks/chunk.N4TFCEDA.js +11 -0
- package/cdn/chunks/chunk.N6IGVEXW.js +54 -0
- package/cdn/chunks/chunk.N6Z36FFY.js +681 -0
- package/cdn/chunks/chunk.NCE7XJQI.js +13 -0
- package/cdn/chunks/chunk.NDXSHFSW.js +24 -0
- package/cdn/chunks/chunk.NJFCHXN5.js +11 -0
- package/cdn/chunks/chunk.NMPFIQ3O.js +361 -0
- package/cdn/chunks/chunk.NREVM6GO.js +73 -0
- package/cdn/chunks/chunk.NYGQJUAI.js +111 -0
- package/cdn/chunks/chunk.NYJEK2IL.js +24 -0
- package/cdn/chunks/chunk.O4QAGFOM.js +25 -0
- package/cdn/chunks/chunk.O7A3KDKU.js +11 -0
- package/cdn/chunks/chunk.O7EXOX5A.js +61 -0
- package/cdn/chunks/chunk.O7VOOY54.js +77 -0
- package/cdn/chunks/chunk.OB65AD3O.js +11 -0
- package/cdn/chunks/chunk.OE7W3DLA.js +28 -0
- package/cdn/chunks/chunk.OIJXPVJT.js +21 -0
- package/cdn/chunks/chunk.OJNHFZFI.js +11 -0
- package/cdn/chunks/chunk.OPAPW4GM.js +150 -0
- package/cdn/chunks/chunk.OQBMVH34.js +14 -0
- package/cdn/chunks/chunk.ORPDF22S.js +30 -0
- package/cdn/chunks/chunk.OYPNUBXO.js +21 -0
- package/cdn/chunks/chunk.PC4SBX2U.js +114 -0
- package/cdn/chunks/chunk.PCCSA6OV.js +11 -0
- package/cdn/chunks/chunk.PCQV4BNN.js +93 -0
- package/cdn/chunks/chunk.PDSZA3NP.js +21 -0
- package/cdn/chunks/chunk.PEHKG2LH.js +11 -0
- package/cdn/chunks/chunk.PGAKPN6W.js +346 -0
- package/cdn/chunks/chunk.PJ4QDGB7.js +11 -0
- package/cdn/chunks/chunk.PJG46NM4.js +24 -0
- package/cdn/chunks/chunk.PKX6PMAZ.js +313 -0
- package/cdn/chunks/chunk.PPJJBFF4.js +11 -0
- package/cdn/chunks/chunk.PPMK7HQH.js +21 -0
- package/cdn/chunks/chunk.PQXZ7YSE.js +208 -0
- package/cdn/chunks/chunk.Q4LMKXFG.js +153 -0
- package/cdn/chunks/chunk.Q7SD47LR.js +263 -0
- package/cdn/chunks/chunk.QA2FJSHX.js +266 -0
- package/cdn/chunks/chunk.QHEV3T44.js +14 -0
- package/cdn/chunks/chunk.QN6SASV6.js +86 -0
- package/cdn/chunks/chunk.QVGQMXSJ.js +11 -0
- package/cdn/chunks/chunk.QXNCQNDR.js +49 -0
- package/cdn/chunks/chunk.QYQHEP6I.js +292 -0
- package/cdn/chunks/chunk.R4673V3Q.js +66 -0
- package/cdn/chunks/chunk.RAJGP56K.js +11 -0
- package/cdn/chunks/chunk.RBQAAD2J.js +118 -0
- package/cdn/chunks/chunk.RBSOA6OJ.js +271 -0
- package/cdn/chunks/chunk.RHPZC6GF.js +27 -0
- package/cdn/chunks/chunk.RI75IJR5.js +11 -0
- package/cdn/chunks/chunk.RIKP3Z5U.js +25 -0
- package/cdn/chunks/chunk.RK2BVAV5.js +158 -0
- package/cdn/chunks/chunk.RMEE3P3T.js +11 -0
- package/cdn/chunks/chunk.RR2YAHDZ.js +101 -0
- package/cdn/chunks/chunk.RUCVRRD2.js +21 -0
- package/cdn/chunks/chunk.RV3RLE4K.js +81 -0
- package/cdn/chunks/chunk.S7NFFKPD.js +11 -0
- package/cdn/chunks/chunk.SHVWPOHD.js +25 -0
- package/cdn/chunks/chunk.SJNTLIDF.js +21 -0
- package/cdn/chunks/chunk.SMQMGR25.js +25 -0
- package/cdn/chunks/chunk.SPEZ4SVZ.js +11 -0
- package/cdn/chunks/chunk.SQQ7ETBT.js +21 -0
- package/cdn/chunks/chunk.SRYTXUFA.js +24 -0
- package/cdn/chunks/chunk.T5LB467Q.js +173 -0
- package/cdn/chunks/chunk.TPCBDU3P.js +11 -0
- package/cdn/chunks/chunk.TPPDV5GY.js +21 -0
- package/cdn/chunks/chunk.TTE3RW6X.js +11 -0
- package/cdn/chunks/chunk.TV4BBYZZ.js +21 -0
- package/cdn/chunks/chunk.TZ4FLPO7.js +57 -0
- package/cdn/chunks/chunk.U3HJITZ6.js +1925 -0
- package/cdn/chunks/chunk.U4ET44SL.js +402 -0
- package/cdn/chunks/chunk.UBEFQ5SQ.js +55 -0
- package/cdn/chunks/chunk.UDV3OXUL.js +25 -0
- package/cdn/chunks/chunk.UKEYLVHN.js +21 -0
- package/cdn/chunks/chunk.UKS2GT4S.js +11 -0
- package/cdn/chunks/chunk.UNBPKX7A.js +85 -0
- package/cdn/chunks/chunk.UOAQSJ3P.js +37 -0
- package/cdn/chunks/chunk.UW2F6UPY.js +334 -0
- package/cdn/chunks/chunk.V2IAOEIJ.js +21 -0
- package/cdn/chunks/chunk.V6QY3NB5.js +113 -0
- package/cdn/chunks/chunk.V6SSDIDU.js +11 -0
- package/cdn/chunks/chunk.VGEIUGHU.js +24 -0
- package/cdn/chunks/chunk.VHCLMDG7.js +47 -0
- package/cdn/chunks/chunk.VKDJTD6U.js +11 -0
- package/cdn/chunks/chunk.VQ6A4KVQ.js +24 -0
- package/cdn/chunks/chunk.VQ7Q6EDW.js +21 -0
- package/cdn/chunks/chunk.VQZN3VF4.js +77 -0
- package/cdn/chunks/chunk.VVNA565X.js +122 -0
- package/cdn/chunks/chunk.VYLWXLHM.js +11 -0
- package/cdn/chunks/chunk.W3R2LWJ2.js +49 -0
- package/cdn/chunks/chunk.W5TDEUTT.js +25 -0
- package/cdn/chunks/chunk.WB7R5MZO.js +11 -0
- package/cdn/chunks/chunk.WDV5PM2Q.js +25 -0
- package/cdn/chunks/chunk.WFOA4JCE.js +11 -0
- package/cdn/chunks/chunk.WKXHY77X.js +1058 -0
- package/cdn/chunks/chunk.WRQAWFOS.js +11 -0
- package/cdn/chunks/chunk.WTYJ6D3G.js +314 -0
- package/cdn/chunks/chunk.WUYRDSRQ.js +24 -0
- package/cdn/chunks/chunk.X4GBQOQN.js +11 -0
- package/cdn/chunks/chunk.X7GX2LGV.js +109 -0
- package/cdn/chunks/chunk.XKCUZEJP.js +123 -0
- package/cdn/chunks/chunk.XOO4HRZU.js +114 -0
- package/cdn/chunks/chunk.XPQFTFKI.js +11 -0
- package/cdn/chunks/chunk.XRUQSKYG.js +14 -0
- package/cdn/chunks/chunk.Y3ILBXVX.js +186 -0
- package/cdn/chunks/chunk.YBUA67DG.js +24 -0
- package/cdn/chunks/chunk.YCIA2527.js +11 -0
- package/cdn/chunks/chunk.YDZ5OX4I.js +27 -0
- package/cdn/chunks/chunk.YKDBXRCU.js +455 -0
- package/cdn/chunks/chunk.YMCRK2WA.js +21 -0
- package/cdn/chunks/chunk.YVCGZCD6.js +67 -0
- package/cdn/chunks/chunk.YWJEPR6Z.js +177 -0
- package/cdn/chunks/chunk.ZA77RJ5F.js +33 -0
- package/cdn/chunks/chunk.ZCZ26FJE.js +11 -0
- package/cdn/chunks/chunk.ZF2QQAVL.js +25 -0
- package/cdn/chunks/chunk.ZGIEOFJ3.js +25 -0
- package/cdn/chunks/chunk.ZGMXI5IW.js +27 -0
- package/cdn/chunks/chunk.ZJU3XDMM.js +11 -0
- package/cdn/chunks/chunk.ZN7RVCVV.js +28 -0
- package/cdn/chunks/chunk.ZXO2YJ7O.js +162 -0
- package/cdn/components/alert/alert.component.js +14 -14
- package/cdn/components/alert/alert.js +15 -15
- package/cdn/components/alert/alert.styles.js +2 -2
- package/cdn/components/animated-image/animated-image.component.js +8 -8
- package/cdn/components/animated-image/animated-image.js +9 -9
- package/cdn/components/animated-image/animated-image.styles.js +2 -2
- package/cdn/components/animation/animation.component.js +5 -5
- package/cdn/components/animation/animation.js +6 -6
- package/cdn/components/animation/animation.styles.js +2 -2
- package/cdn/components/avatar/avatar.component.js +9 -9
- package/cdn/components/avatar/avatar.js +10 -10
- package/cdn/components/avatar/avatar.styles.js +2 -2
- package/cdn/components/badge/badge.component.js +6 -6
- package/cdn/components/badge/badge.js +7 -7
- package/cdn/components/badge/badge.styles.js +2 -2
- package/cdn/components/breadcrumb/breadcrumb.component.js +8 -8
- package/cdn/components/breadcrumb/breadcrumb.js +9 -9
- package/cdn/components/breadcrumb/breadcrumb.styles.js +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +7 -7
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +8 -8
- package/cdn/components/breadcrumb-item/breadcrumb-item.styles.js +2 -2
- package/cdn/components/button/button.component.js +14 -14
- package/cdn/components/button/button.js +15 -15
- package/cdn/components/button/button.styles.js +2 -2
- package/cdn/components/button-group/button-group.component.js +5 -5
- package/cdn/components/button-group/button-group.js +6 -6
- package/cdn/components/button-group/button-group.styles.js +2 -2
- package/cdn/components/calendar/calendar.component.js +17 -18
- package/cdn/components/calendar/calendar.js +17 -18
- package/cdn/components/card/card.component.js +6 -6
- package/cdn/components/card/card.js +7 -7
- package/cdn/components/card/card.styles.js +2 -2
- package/cdn/components/carousel/carousel.component.js +11 -11
- package/cdn/components/carousel/carousel.js +12 -12
- package/cdn/components/carousel/carousel.styles.js +2 -2
- package/cdn/components/carousel-item/carousel-item.component.js +5 -5
- package/cdn/components/carousel-item/carousel-item.js +6 -6
- package/cdn/components/carousel-item/carousel-item.styles.js +2 -2
- package/cdn/components/checkbox/checkbox.component.js +12 -12
- package/cdn/components/checkbox/checkbox.js +13 -13
- package/cdn/components/checkbox/checkbox.styles.js +2 -2
- package/cdn/components/color-picker/color-picker.component.js +29 -29
- package/cdn/components/color-picker/color-picker.js +30 -30
- package/cdn/components/color-picker/color-picker.styles.js +2 -2
- package/cdn/components/copy-button/copy-button.component.js +14 -14
- package/cdn/components/copy-button/copy-button.js +15 -15
- package/cdn/components/copy-button/copy-button.styles.js +2 -2
- package/cdn/components/date-panel/date-panel.component.js +23 -24
- package/cdn/components/date-panel/date-panel.js +23 -24
- package/cdn/components/date-panel/date-panel.styles.js +2 -2
- package/cdn/components/datepicker/datepicker.component.js +31 -32
- package/cdn/components/datepicker/datepicker.js +31 -32
- package/cdn/components/details/details.component.js +10 -10
- package/cdn/components/details/details.js +11 -11
- package/cdn/components/details/details.styles.js +2 -2
- package/cdn/components/dialog/dialog.component.js +14 -14
- package/cdn/components/dialog/dialog.js +15 -15
- package/cdn/components/dialog/dialog.styles.js +2 -2
- package/cdn/components/divider/divider.component.js +5 -5
- package/cdn/components/divider/divider.js +6 -6
- package/cdn/components/divider/divider.styles.js +2 -2
- package/cdn/components/drawer/drawer.component.js +14 -14
- package/cdn/components/drawer/drawer.js +15 -15
- package/cdn/components/drawer/drawer.styles.js +2 -2
- package/cdn/components/dropdown/dropdown.component.js +10 -10
- package/cdn/components/dropdown/dropdown.js +11 -11
- package/cdn/components/dropdown/dropdown.styles.js +2 -2
- package/cdn/components/format-bytes/format-bytes.component.js +3 -3
- package/cdn/components/format-bytes/format-bytes.js +4 -4
- package/cdn/components/format-date/format-date.component.js +3 -3
- package/cdn/components/format-date/format-date.js +4 -4
- package/cdn/components/format-number/format-number.component.js +3 -3
- package/cdn/components/format-number/format-number.js +4 -4
- package/cdn/components/icon/icon.component.js +6 -6
- package/cdn/components/icon/icon.js +7 -7
- package/cdn/components/icon/icon.styles.js +2 -2
- package/cdn/components/icon-button/icon-button.component.js +11 -11
- package/cdn/components/icon-button/icon-button.js +12 -12
- package/cdn/components/icon-button/icon-button.styles.js +2 -2
- package/cdn/components/image-comparer/image-comparer.component.js +11 -11
- package/cdn/components/image-comparer/image-comparer.js +12 -12
- package/cdn/components/image-comparer/image-comparer.styles.js +2 -2
- package/cdn/components/include/include.component.js +5 -5
- package/cdn/components/include/include.js +6 -6
- package/cdn/components/include/include.styles.js +2 -2
- package/cdn/components/input/input.component.js +13 -13
- package/cdn/components/input/input.js +14 -14
- package/cdn/components/input/input.styles.js +2 -2
- package/cdn/components/menu/menu.component.js +5 -5
- package/cdn/components/menu/menu.js +6 -6
- package/cdn/components/menu/menu.styles.js +2 -2
- package/cdn/components/menu-item/menu-item.component.js +16 -16
- package/cdn/components/menu-item/menu-item.js +17 -17
- package/cdn/components/menu-item/menu-item.styles.js +2 -2
- package/cdn/components/menu-item/submenu-controller.js +4 -4
- package/cdn/components/menu-label/menu-label.component.js +5 -5
- package/cdn/components/menu-label/menu-label.js +6 -6
- package/cdn/components/menu-label/menu-label.styles.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.component.js +5 -5
- package/cdn/components/mutation-observer/mutation-observer.js +6 -6
- package/cdn/components/mutation-observer/mutation-observer.styles.js +2 -2
- package/cdn/components/nav/nav.component.js +13 -0
- package/cdn/components/nav/nav.js +14 -0
- package/cdn/components/nav/nav.styles.js +9 -0
- package/cdn/components/nav-group/nav-group.component.js +11 -0
- package/cdn/components/nav-group/nav-group.js +12 -0
- package/cdn/components/nav-group/nav-group.styles.js +9 -0
- package/cdn/components/nav-item/nav-item.component.js +13 -0
- package/cdn/components/nav-item/nav-item.js +14 -0
- package/cdn/components/nav-item/nav-item.styles.js +9 -0
- package/cdn/components/nav-submenu/nav-submenu.component.js +29 -0
- package/cdn/components/nav-submenu/nav-submenu.js +30 -0
- package/cdn/components/nav-submenu/nav-submenu.styles.js +9 -0
- package/cdn/components/option/option.component.js +10 -10
- package/cdn/components/option/option.js +11 -11
- package/cdn/components/option/option.styles.js +2 -2
- package/cdn/components/pagination/custom-select.js +27 -11
- package/cdn/components/pagination/pagination.component.js +25 -16
- package/cdn/components/pagination/pagination.js +25 -16
- package/cdn/components/pagination/pagination.styles.js +2 -2
- package/cdn/components/popup/popup.component.js +7 -7
- package/cdn/components/popup/popup.js +8 -8
- package/cdn/components/popup/popup.styles.js +2 -2
- package/cdn/components/progress-bar/progress-bar.component.js +9 -9
- package/cdn/components/progress-bar/progress-bar.js +10 -10
- package/cdn/components/progress-bar/progress-bar.styles.js +2 -2
- package/cdn/components/progress-ring/progress-ring.component.js +5 -5
- package/cdn/components/progress-ring/progress-ring.js +6 -6
- package/cdn/components/progress-ring/progress-ring.styles.js +2 -2
- package/cdn/components/qr-code/qr-code.component.js +6 -6
- package/cdn/components/qr-code/qr-code.js +7 -7
- package/cdn/components/qr-code/qr-code.styles.js +2 -2
- package/cdn/components/radio/radio.component.js +9 -9
- package/cdn/components/radio/radio.js +10 -10
- package/cdn/components/radio/radio.styles.js +2 -2
- package/cdn/components/radio-button/radio-button.component.js +9 -9
- package/cdn/components/radio-button/radio-button.js +10 -10
- package/cdn/components/radio-button/radio-button.styles.js +3 -3
- package/cdn/components/radio-group/radio-group.component.js +9 -9
- package/cdn/components/radio-group/radio-group.js +10 -10
- package/cdn/components/radio-group/radio-group.styles.js +2 -2
- package/cdn/components/range/range.component.js +11 -11
- package/cdn/components/range/range.js +12 -12
- package/cdn/components/range/range.styles.js +2 -2
- package/cdn/components/rating/rating.component.js +12 -12
- package/cdn/components/rating/rating.js +13 -13
- package/cdn/components/rating/rating.styles.js +2 -2
- package/cdn/components/relative-time/relative-time.component.js +3 -3
- package/cdn/components/relative-time/relative-time.js +4 -4
- package/cdn/components/resize-observer/resize-observer.component.js +5 -5
- package/cdn/components/resize-observer/resize-observer.js +6 -6
- package/cdn/components/resize-observer/resize-observer.styles.js +2 -2
- package/cdn/components/screen/gridstack.styles.js +2 -2
- package/cdn/components/screen/screen.component.js +6 -6
- package/cdn/components/screen/screen.js +7 -7
- package/cdn/components/screen/screen.styles.js +2 -2
- package/cdn/components/select/select.component.js +20 -20
- package/cdn/components/select/select.js +21 -21
- package/cdn/components/select/select.styles.js +2 -2
- package/cdn/components/skeleton/skeleton.component.js +6 -6
- package/cdn/components/skeleton/skeleton.js +7 -7
- package/cdn/components/skeleton/skeleton.styles.js +2 -2
- package/cdn/components/spinner/spinner.component.js +5 -5
- package/cdn/components/spinner/spinner.js +6 -6
- package/cdn/components/spinner/spinner.styles.js +2 -2
- package/cdn/components/split-panel/split-panel.component.js +6 -6
- package/cdn/components/split-panel/split-panel.js +7 -7
- package/cdn/components/split-panel/split-panel.styles.js +2 -2
- package/cdn/components/switch/switch.component.js +10 -10
- package/cdn/components/switch/switch.js +11 -11
- package/cdn/components/switch/switch.styles.js +2 -2
- package/cdn/components/tab/tab.component.js +14 -14
- package/cdn/components/tab/tab.js +15 -15
- package/cdn/components/tab/tab.styles.js +2 -2
- package/cdn/components/tab-group/tab-group.component.js +16 -16
- package/cdn/components/tab-group/tab-group.js +17 -17
- package/cdn/components/tab-group/tab-group.styles.js +2 -2
- package/cdn/components/tab-panel/tab-panel.component.js +6 -6
- package/cdn/components/tab-panel/tab-panel.js +7 -7
- package/cdn/components/tab-panel/tab-panel.styles.js +2 -2
- package/cdn/components/table/body-table.js +12 -10
- package/cdn/components/table/col-group.js +5 -5
- package/cdn/components/table/const.js +5 -3
- package/cdn/components/table/features/col-pining.js +11 -0
- package/cdn/components/table/features/index.js +11 -3
- package/cdn/components/table/features/row-drag.js +9 -0
- package/cdn/components/table/features/row-expend.js +2 -2
- package/cdn/components/table/features/row-selection.js +2 -2
- package/cdn/components/table/head-table.js +43 -42
- package/cdn/components/table/spinner-container.js +3 -3
- package/cdn/components/table/table.component.js +59 -51
- package/cdn/components/table/table.js +60 -52
- package/cdn/components/table/utils.js +6 -2
- package/cdn/components/tag/tag.component.js +14 -14
- package/cdn/components/tag/tag.js +15 -15
- package/cdn/components/tag/tag.styles.js +2 -2
- package/cdn/components/textarea/textarea.component.js +10 -10
- package/cdn/components/textarea/textarea.js +11 -11
- package/cdn/components/textarea/textarea.styles.js +2 -2
- package/cdn/components/time-panel/time-panel.component.js +16 -16
- package/cdn/components/time-panel/time-panel.js +16 -16
- package/cdn/components/time-panel/time-panel.styles.js +2 -2
- package/cdn/components/timepicker/timepicker.component.js +39 -26
- package/cdn/components/timepicker/timepicker.js +39 -26
- package/cdn/components/timepicker/timepicker.styles.js +2 -2
- package/cdn/components/tooltip/tooltip.component.js +9 -9
- package/cdn/components/tooltip/tooltip.js +10 -10
- package/cdn/components/tooltip/tooltip.styles.js +2 -2
- package/cdn/components/tree/tree.component.js +19 -19
- package/cdn/components/tree/tree.js +20 -20
- package/cdn/components/tree/tree.styles.js +2 -2
- package/cdn/components/tree-item/tree-item.component.js +17 -17
- package/cdn/components/tree-item/tree-item.js +18 -18
- package/cdn/components/tree-item/tree-item.styles.js +2 -2
- package/cdn/components/visually-hidden/visually-hidden.component.js +5 -5
- package/cdn/components/visually-hidden/visually-hidden.js +6 -6
- package/cdn/components/visually-hidden/visually-hidden.styles.js +2 -2
- package/cdn/custom-elements.json +4726 -3627
- package/cdn/react/alert/index.js +15 -15
- package/cdn/react/animated-image/index.js +9 -9
- package/cdn/react/animation/index.js +6 -6
- package/cdn/react/avatar/index.js +10 -10
- package/cdn/react/badge/index.js +7 -7
- package/cdn/react/breadcrumb/index.js +9 -9
- package/cdn/react/breadcrumb-item/index.js +8 -8
- package/cdn/react/button/index.js +15 -15
- package/cdn/react/button-group/index.js +6 -6
- package/cdn/react/card/index.js +7 -7
- package/cdn/react/carousel/index.js +12 -12
- package/cdn/react/carousel-item/index.js +6 -6
- package/cdn/react/checkbox/index.js +13 -13
- package/cdn/react/color-picker/index.js +30 -30
- package/cdn/react/copy-button/index.js +15 -15
- package/cdn/react/date-panel/index.js +24 -25
- package/cdn/react/datepicker/index.js +32 -33
- package/cdn/react/details/index.js +11 -11
- package/cdn/react/dialog/index.js +15 -15
- package/cdn/react/divider/index.js +6 -6
- package/cdn/react/drawer/index.js +15 -15
- package/cdn/react/dropdown/index.js +11 -11
- package/cdn/react/format-bytes/index.js +4 -4
- package/cdn/react/format-date/index.js +4 -4
- package/cdn/react/format-number/index.js +4 -4
- package/cdn/react/icon/index.js +7 -7
- package/cdn/react/icon-button/index.js +12 -12
- package/cdn/react/image-comparer/index.js +12 -12
- package/cdn/react/include/index.js +6 -6
- package/cdn/react/index.js +285 -260
- package/cdn/react/input/index.js +14 -14
- package/cdn/react/menu/index.js +6 -6
- package/cdn/react/menu-item/index.js +17 -17
- package/cdn/react/menu-label/index.js +6 -6
- package/cdn/react/mutation-observer/index.js +6 -6
- package/cdn/react/nav/index.js +14 -0
- package/cdn/react/nav-group/index.js +12 -0
- package/cdn/react/nav-item/index.js +14 -0
- package/cdn/react/nav-submenu/index.js +30 -0
- package/cdn/react/option/index.js +11 -11
- package/cdn/react/pagination/index.js +26 -17
- package/cdn/react/popup/index.js +8 -8
- package/cdn/react/progress-bar/index.js +10 -10
- package/cdn/react/progress-ring/index.js +6 -6
- package/cdn/react/qr-code/index.js +7 -7
- package/cdn/react/radio/index.js +10 -10
- package/cdn/react/radio-button/index.js +10 -10
- package/cdn/react/radio-group/index.js +10 -10
- package/cdn/react/range/index.js +12 -12
- package/cdn/react/rating/index.js +13 -13
- package/cdn/react/relative-time/index.js +4 -4
- package/cdn/react/resize-observer/index.js +6 -6
- package/cdn/react/screen/index.js +7 -7
- package/cdn/react/select/index.js +21 -21
- package/cdn/react/skeleton/index.js +7 -7
- package/cdn/react/spinner/index.js +6 -6
- package/cdn/react/split-panel/index.js +7 -7
- package/cdn/react/switch/index.js +11 -11
- package/cdn/react/tab/index.js +15 -15
- package/cdn/react/tab-group/index.js +17 -17
- package/cdn/react/tab-panel/index.js +7 -7
- package/cdn/react/table/index.js +60 -52
- package/cdn/react/tag/index.js +15 -15
- package/cdn/react/textarea/index.js +11 -11
- package/cdn/react/timepicker/index.js +40 -27
- package/cdn/react/tooltip/index.js +10 -10
- package/cdn/react/tree/index.js +20 -20
- package/cdn/react/tree-item/index.js +18 -18
- package/cdn/react/visually-hidden/index.js +6 -6
- package/cdn/shoelace.js +269 -243
- package/cdn/themes/dark.css +4 -3
- package/cdn/themes/dark.styles.js +5 -4
- package/cdn/themes/light.css +28 -4
- package/cdn/themes/light.styles.js +31 -5
- package/cdn/themes/nova.css +617 -0
- package/cdn/themes/nova.styles.d.ts +2 -0
- package/cdn/themes/nova.styles.js +634 -0
- package/cdn/types/vue/index.d.ts +516 -332
- package/cdn/vscode.html-custom-data.json +523 -356
- package/cdn/web-types.json +1343 -936
- package/dist/assets/icons/anthropic.svg +3 -0
- package/dist/assets/icons/apple-music.svg +3 -0
- package/dist/assets/icons/battery-low.svg +4 -0
- package/dist/assets/icons/beaker-fill.svg +3 -0
- package/dist/assets/icons/beaker.svg +4 -0
- package/dist/assets/icons/bluesky.svg +3 -0
- package/dist/assets/icons/calendar3-event-fill.svg +1 -1
- package/dist/assets/icons/calendar3-range-fill.svg +1 -1
- package/dist/assets/icons/calendar3-week-fill.svg +1 -1
- package/dist/assets/icons/claude.svg +3 -0
- package/dist/assets/icons/css.svg +3 -0
- package/dist/assets/icons/flask-fill.svg +3 -0
- package/dist/assets/icons/flask-florence-fill.svg +3 -0
- package/dist/assets/icons/flask-florence.svg +3 -0
- package/dist/assets/icons/flask.svg +3 -0
- package/dist/assets/icons/fork-knife.svg +3 -0
- package/dist/assets/icons/globe-americas-fill.svg +3 -0
- package/dist/assets/icons/globe-asia-australia-fill.svg +3 -0
- package/dist/assets/icons/globe-central-south-asia-fill.svg +3 -0
- package/dist/assets/icons/globe-europe-africa-fill.svg +3 -0
- package/dist/assets/icons/icons.json +548 -143
- package/dist/assets/icons/javascript.svg +3 -0
- package/dist/assets/icons/leaf-fill.svg +3 -0
- package/dist/assets/icons/leaf.svg +3 -0
- package/dist/assets/icons/lock-fill.svg +1 -1
- package/dist/assets/icons/lock.svg +1 -1
- package/dist/assets/icons/measuring-cup-fill.svg +3 -0
- package/dist/assets/icons/measuring-cup.svg +3 -0
- package/dist/assets/icons/meta.svg +1 -1
- package/dist/assets/icons/openai.svg +3 -0
- package/dist/assets/icons/perplexity.svg +3 -0
- package/dist/assets/icons/tux.svg +4 -0
- package/dist/assets/icons/typescript.svg +3 -0
- package/dist/assets/icons/unlock-fill.svg +1 -1
- package/dist/assets/icons/unlock.svg +1 -1
- package/dist/assets/icons/unlock2-fill.svg +3 -0
- package/dist/assets/icons/unlock2.svg +3 -0
- package/dist/chunks/chunk.27CAO2WY.js +28 -0
- package/dist/chunks/chunk.2ANYYJDB.js +22 -0
- package/dist/chunks/chunk.2BTEDRNT.js +11 -0
- package/dist/chunks/chunk.2I3UOM2Y.js +25 -0
- package/dist/chunks/chunk.2R5AP4PT.js +371 -0
- package/dist/chunks/chunk.2TO4Y66B.js +11 -0
- package/dist/chunks/chunk.32RC4SMF.js +27 -0
- package/dist/chunks/chunk.3EVQBFEF.js +417 -0
- package/dist/chunks/chunk.3GEIQ7YN.js +11 -0
- package/dist/chunks/chunk.3N5TNFZE.js +113 -0
- package/dist/chunks/chunk.3SQA2NPF.js +11 -0
- package/dist/chunks/chunk.3UQAMROW.js +1056 -0
- package/dist/chunks/chunk.3VZ7XFPS.js +27 -0
- package/dist/chunks/chunk.45F4OUGN.js +96 -0
- package/dist/chunks/chunk.46RNQAVZ.js +24 -0
- package/dist/chunks/chunk.4C5EWVQA.js +147 -0
- package/dist/chunks/chunk.4CT6MODQ.js +11 -0
- package/dist/chunks/chunk.4FG5MP7E.js +181 -0
- package/dist/chunks/chunk.4UTPMO5J.js +11 -0
- package/dist/chunks/chunk.566V5ODQ.js +24 -0
- package/dist/chunks/chunk.5AVBROC7.js +25 -0
- package/dist/chunks/chunk.5SWE2TKS.js +100 -0
- package/dist/chunks/chunk.5TKWYUQS.js +125 -0
- package/dist/chunks/chunk.5TQ5K66H.js +11 -0
- package/dist/chunks/chunk.5VEVKL5Z.js +93 -0
- package/dist/chunks/chunk.5VGVDAC3.js +80 -0
- package/dist/chunks/chunk.63AR3LCX.js +11 -0
- package/dist/chunks/chunk.63HBHPPT.js +814 -0
- package/dist/chunks/chunk.63VCQTIT.js +21 -0
- package/dist/chunks/chunk.67P7OKOD.js +11 -0
- package/dist/chunks/chunk.6B33ESGD.js +21 -0
- package/dist/chunks/chunk.6BPAJGHW.js +37 -0
- package/dist/chunks/chunk.6C4YL2CP.js +949 -0
- package/dist/chunks/chunk.6ETBKQ67.js +73 -0
- package/dist/chunks/chunk.6RHSUPZ4.js +135 -0
- package/dist/chunks/chunk.6SWYT4LZ.js +550 -0
- package/dist/chunks/chunk.6U7F7URL.js +33 -0
- package/dist/chunks/chunk.74UZI6MB.js +11 -0
- package/dist/chunks/chunk.7A5RDYHB.js +21 -0
- package/dist/chunks/chunk.7A6RUEOP.js +63 -0
- package/dist/chunks/chunk.7JOVR2EA.js +25 -0
- package/dist/chunks/chunk.7MRKDH2Y.js +29 -0
- package/dist/chunks/chunk.7PZSXHJK.js +231 -0
- package/dist/chunks/chunk.7UI4EO3S.js +116 -0
- package/dist/chunks/chunk.7ZIIY6WW.js +24 -0
- package/dist/chunks/chunk.A5QKINZS.js +111 -0
- package/dist/chunks/chunk.A5R6GFQO.js +568 -0
- package/dist/chunks/chunk.AFRCZNXR.js +286 -0
- package/dist/chunks/chunk.AGIKKQWV.js +24 -0
- package/dist/chunks/chunk.AKAMCQ35.js +132 -0
- package/dist/chunks/chunk.AX7A3TMU.js +21 -0
- package/dist/chunks/chunk.AXO7GIM3.js +337 -0
- package/dist/chunks/chunk.B3BZRK7H.js +11 -0
- package/dist/chunks/chunk.B4HPN34J.js +28 -0
- package/dist/chunks/chunk.B7BCUVF5.js +91 -0
- package/dist/chunks/chunk.BDOFPKDT.js +21 -0
- package/dist/chunks/chunk.BSY4RDX2.js +29 -0
- package/dist/chunks/chunk.BT3IVBNL.js +11 -0
- package/dist/chunks/chunk.BYYLDQAW.js +27 -0
- package/dist/chunks/chunk.C5L4ZKSW.js +21 -0
- package/dist/chunks/chunk.C6MVGHHV.js +21 -0
- package/dist/chunks/chunk.C6ZITJ7J.js +11 -0
- package/dist/chunks/chunk.CBS5R35Z.js +11 -0
- package/dist/chunks/chunk.CKWTFK3H.js +11 -0
- package/dist/chunks/chunk.CZ5CZSHJ.js +21 -0
- package/dist/chunks/chunk.D2ALMOVG.js +11 -0
- package/dist/chunks/chunk.D2B5TMBH.js +24 -0
- package/dist/chunks/chunk.D4DHWAPW.js +21 -0
- package/dist/chunks/chunk.DACAH5V4.js +67 -0
- package/dist/chunks/chunk.DAGWKTJ3.js +21 -0
- package/dist/chunks/chunk.DC5CLC6M.js +148 -0
- package/dist/chunks/chunk.DFHK6AXP.js +11 -0
- package/dist/chunks/chunk.DLVEHT6T.js +35 -0
- package/dist/chunks/chunk.DSRLY2FD.js +21 -0
- package/dist/chunks/chunk.DSTAA2LN.js +21 -0
- package/dist/chunks/chunk.DVJWPRKF.js +263 -0
- package/dist/chunks/chunk.DWZZOQAO.js +22 -0
- package/dist/chunks/chunk.DY753VTA.js +109 -0
- package/dist/chunks/chunk.E7FUKHCA.js +280 -0
- package/dist/chunks/chunk.EFANNIAX.js +501 -0
- package/dist/chunks/chunk.ENBWH4YM.js +328 -0
- package/dist/chunks/chunk.ESXW3HGE.js +119 -0
- package/dist/chunks/chunk.ETP3Z47A.js +21 -0
- package/dist/chunks/chunk.EYP7N2GI.js +21 -0
- package/dist/chunks/chunk.F2DTBEM6.js +25 -0
- package/dist/chunks/chunk.F37QAM3X.js +34 -0
- package/dist/chunks/chunk.F4FIAUYQ.js +11 -0
- package/dist/chunks/chunk.F526NNJ7.js +100 -0
- package/dist/chunks/chunk.F55EWCUL.js +52 -0
- package/dist/chunks/chunk.FAIR7ZLB.js +11 -0
- package/dist/chunks/chunk.FCK4DHC6.js +50 -0
- package/dist/chunks/chunk.FDXKOEYC.js +444 -0
- package/dist/chunks/chunk.FWTYDXC5.js +11 -0
- package/dist/chunks/chunk.FXPO4GRV.js +11 -0
- package/dist/chunks/chunk.G2JAPLRH.js +24 -0
- package/dist/chunks/chunk.GASEXX4D.js +11 -0
- package/dist/chunks/chunk.GCJ6K5EI.js +21 -0
- package/dist/chunks/chunk.GEKMBNLB.js +227 -0
- package/dist/chunks/chunk.GVDYPTE6.js +108 -0
- package/dist/chunks/chunk.GYMZFBKQ.js +21 -0
- package/dist/chunks/chunk.HNLTILQL.js +24 -0
- package/dist/chunks/chunk.HPOC4CDW.js +274 -0
- package/dist/chunks/chunk.HRISZKCY.js +11 -0
- package/dist/chunks/chunk.HS4WDML7.js +25 -0
- package/dist/chunks/chunk.HUWQZTJS.js +11 -0
- package/dist/chunks/chunk.I65ZJJUJ.js +11 -0
- package/dist/chunks/chunk.I6Q32ZWP.js +252 -0
- package/dist/chunks/chunk.IBPTWAHN.js +494 -0
- package/dist/chunks/chunk.IDUXZIWD.js +11 -0
- package/dist/chunks/chunk.IKG7GFWI.js +122 -0
- package/dist/chunks/chunk.INPXNEHC.js +11 -0
- package/dist/chunks/chunk.IVBA4STO.js +26 -0
- package/dist/chunks/chunk.J5Z3MMJA.js +11 -0
- package/dist/chunks/chunk.JKMZKEKQ.js +27 -0
- package/dist/chunks/chunk.JL2TZDEG.js +11 -0
- package/dist/chunks/chunk.JLB2MD35.js +21 -0
- package/dist/chunks/chunk.JO4UZZVN.js +29 -0
- package/dist/chunks/chunk.JQV37LH6.js +11 -0
- package/dist/chunks/chunk.JRAVB43A.js +27 -0
- package/dist/chunks/chunk.JTFYAKXQ.js +11 -0
- package/dist/chunks/chunk.JVEC6U7Q.js +21 -0
- package/dist/chunks/chunk.K7RC3PY7.js +214 -0
- package/dist/chunks/chunk.KD3GIHSB.js +11 -0
- package/dist/chunks/chunk.KQBYJ4UO.js +11 -0
- package/dist/chunks/chunk.L2OOPUMP.js +117 -0
- package/dist/chunks/chunk.L66OLHOJ.js +338 -0
- package/dist/chunks/chunk.LE3RS4K3.js +34 -0
- package/dist/chunks/chunk.LJ7XEI5K.js +24 -0
- package/dist/chunks/chunk.LV3SFAIR.js +134 -0
- package/dist/chunks/chunk.LWWASERC.js +247 -0
- package/dist/chunks/chunk.LX4OQWJE.js +85 -0
- package/dist/chunks/chunk.M3O3G7U7.js +46 -0
- package/dist/chunks/chunk.M6YXAFOU.js +21 -0
- package/dist/chunks/chunk.MN6YR3FC.js +174 -0
- package/dist/chunks/chunk.MP5S62BQ.js +24 -0
- package/dist/chunks/chunk.MVX4T6YW.js +11 -0
- package/dist/chunks/chunk.MZ3VGQTC.js +11 -0
- package/dist/chunks/chunk.NCE7XJQI.js +13 -0
- package/dist/chunks/chunk.NIET4WDR.js +21 -0
- package/dist/chunks/chunk.NJO2X5AJ.js +11 -0
- package/dist/chunks/chunk.NKRWRM75.js +11 -0
- package/dist/chunks/chunk.NLNGXVHU.js +11 -0
- package/dist/chunks/chunk.NQIFXCK4.js +11 -0
- package/dist/chunks/chunk.NWCCTEYD.js +21 -0
- package/dist/chunks/chunk.NXBCJFOG.js +119 -0
- package/dist/chunks/chunk.O6TH37K3.js +11 -0
- package/dist/chunks/chunk.O7Z5E3EE.js +21 -0
- package/dist/chunks/chunk.OFVB4KAZ.js +26 -0
- package/dist/chunks/chunk.OGBFUVUQ.js +11 -0
- package/dist/chunks/chunk.OHMIEXBK.js +59 -0
- package/dist/chunks/chunk.OJSCWHEP.js +11 -0
- package/dist/chunks/chunk.OZRMOJDP.js +24 -0
- package/dist/chunks/chunk.PKTQG65O.js +25 -0
- package/dist/chunks/chunk.PNTCG2IC.js +11 -0
- package/dist/chunks/chunk.PPZFBRTA.js +11 -0
- package/dist/chunks/chunk.PVO3A4II.js +11 -0
- package/dist/chunks/chunk.PZTB35EW.js +75 -0
- package/dist/chunks/chunk.Q2LC3QKX.js +64 -0
- package/dist/chunks/chunk.QCWUDPZF.js +26 -0
- package/dist/chunks/chunk.QPIANCBU.js +126 -0
- package/dist/chunks/chunk.QQS47AAN.js +25 -0
- package/dist/chunks/chunk.RETGKMAB.js +11 -0
- package/dist/chunks/chunk.REUD6MIU.js +205 -0
- package/dist/chunks/chunk.RJRDQHBH.js +28 -0
- package/dist/chunks/chunk.RL3SUI4A.js +11 -0
- package/dist/chunks/chunk.RSZTIROJ.js +28 -0
- package/dist/chunks/chunk.RU2OFHHK.js +448 -0
- package/dist/chunks/chunk.SF6FGUCP.js +11 -0
- package/dist/chunks/chunk.SFMM7FSW.js +11 -0
- package/dist/chunks/chunk.SHMJHIA3.js +11 -0
- package/dist/chunks/chunk.SHNX4K27.js +11 -0
- package/dist/chunks/chunk.SKCRDFMA.js +24 -0
- package/dist/chunks/chunk.STEKEZUP.js +293 -0
- package/dist/chunks/chunk.SYIFIRPM.js +24 -0
- package/dist/chunks/chunk.SZVFOJPZ.js +11 -0
- package/dist/chunks/chunk.T272OB6C.js +24 -0
- package/dist/chunks/chunk.TA3UWWM6.js +11 -0
- package/dist/chunks/chunk.TBJB7D6Z.js +325 -0
- package/dist/chunks/chunk.TFPDIKHB.js +33 -0
- package/dist/chunks/chunk.TGDPJA5Z.js +315 -0
- package/dist/chunks/chunk.THEKMTXT.js +11 -0
- package/dist/chunks/chunk.TJA2C3UG.js +45 -0
- package/dist/chunks/chunk.TQPRO7MK.js +27 -0
- package/dist/chunks/chunk.TT3XJXDP.js +11 -0
- package/dist/chunks/chunk.TTGNTQ4Q.js +361 -0
- package/dist/chunks/chunk.U4A23QZQ.js +213 -0
- package/dist/chunks/chunk.U5B2XCTR.js +45 -0
- package/dist/chunks/chunk.UBEFQ5SQ.js +55 -0
- package/dist/chunks/chunk.UI7O6SO3.js +25 -0
- package/dist/chunks/chunk.UJ6PDFWZ.js +28 -0
- package/dist/chunks/chunk.UL7KBIXX.js +311 -0
- package/dist/chunks/chunk.UNBYHWGI.js +167 -0
- package/dist/chunks/chunk.UVASQIHI.js +28 -0
- package/dist/chunks/chunk.UVJY6KLK.js +21 -0
- package/dist/chunks/chunk.UWJCWDTH.js +152 -0
- package/dist/chunks/chunk.V2ZTEHDU.js +11 -0
- package/dist/chunks/chunk.V5IKJSIP.js +11 -0
- package/dist/chunks/chunk.V7W3I3NS.js +294 -0
- package/dist/chunks/chunk.VKCGMSAZ.js +90 -0
- package/dist/chunks/chunk.VMLX3RO3.js +74 -0
- package/dist/chunks/chunk.VRNGQRX4.js +384 -0
- package/dist/chunks/chunk.VUQZGD6T.js +192 -0
- package/dist/chunks/chunk.VVPVWY4N.js +75 -0
- package/dist/chunks/chunk.WK2QKP3A.js +42 -0
- package/dist/chunks/chunk.WLLMG6V4.js +25 -0
- package/dist/chunks/chunk.WMLA5253.js +29 -0
- package/dist/chunks/chunk.WNKSKO35.js +25 -0
- package/dist/chunks/chunk.WO6LGHBG.js +11 -0
- package/dist/chunks/chunk.X56YRKLT.js +21 -0
- package/dist/chunks/chunk.XA6LZ3CP.js +21 -0
- package/dist/chunks/chunk.XEFYOQ4T.js +277 -0
- package/dist/chunks/chunk.XEYCIKBS.js +306 -0
- package/dist/chunks/chunk.XFLYLBM7.js +11 -0
- package/dist/chunks/chunk.XGGTHF7X.js +11 -0
- package/dist/chunks/chunk.XND5Q7FK.js +25 -0
- package/dist/chunks/chunk.XRQEVVQK.js +397 -0
- package/dist/chunks/chunk.XXPEI6S4.js +737 -0
- package/dist/chunks/chunk.Y27GLNCV.js +21 -0
- package/dist/chunks/chunk.YD7RQMAR.js +11 -0
- package/dist/chunks/chunk.YUTQSXJK.js +151 -0
- package/dist/chunks/chunk.Z2OWT5NW.js +109 -0
- package/dist/chunks/chunk.Z3PZY7SX.js +11 -0
- package/dist/chunks/chunk.Z4IE5BCD.js +11 -0
- package/dist/chunks/chunk.ZDLGREW3.js +11 -0
- package/dist/chunks/chunk.ZWPCQY7U.js +28 -0
- package/dist/components/alert/alert.component.js +5 -5
- package/dist/components/alert/alert.js +6 -6
- package/dist/components/animated-image/animated-image.component.js +4 -4
- package/dist/components/animated-image/animated-image.js +5 -5
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- 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-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/calendar/calendar.component.js +8 -9
- package/dist/components/calendar/calendar.js +8 -9
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +5 -5
- package/dist/components/carousel/carousel.js +6 -6
- 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 +5 -5
- package/dist/components/checkbox/checkbox.js +6 -6
- package/dist/components/color-picker/color-picker.component.js +15 -15
- package/dist/components/color-picker/color-picker.js +16 -16
- package/dist/components/copy-button/copy-button.component.js +6 -6
- package/dist/components/copy-button/copy-button.js +7 -7
- package/dist/components/date-panel/date-panel.component.js +12 -13
- package/dist/components/date-panel/date-panel.js +12 -13
- package/dist/components/date-panel/date-panel.styles.js +1 -1
- package/dist/components/datepicker/datepicker.component.js +17 -18
- package/dist/components/datepicker/datepicker.js +17 -18
- package/dist/components/details/details.component.js +4 -4
- package/dist/components/details/details.js +5 -5
- package/dist/components/dialog/dialog.component.js +6 -6
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/dialog/dialog.styles.js +1 -1
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +5 -5
- package/dist/components/drawer/drawer.js +6 -6
- package/dist/components/dropdown/dropdown.component.js +3 -3
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/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 -5
- package/dist/components/input/input.js +6 -6
- 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 +8 -8
- package/dist/components/menu-item/menu-item.js +9 -9
- 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/nav/nav.component.js +10 -0
- package/dist/components/nav/nav.js +11 -0
- package/dist/components/nav/nav.styles.js +8 -0
- package/dist/components/nav-group/nav-group.component.js +10 -0
- package/dist/components/nav-group/nav-group.js +11 -0
- package/dist/components/nav-group/nav-group.styles.js +8 -0
- package/dist/components/nav-item/nav-item.component.js +10 -0
- package/dist/components/nav-item/nav-item.js +11 -0
- package/dist/components/nav-item/nav-item.styles.js +8 -0
- package/dist/components/nav-submenu/nav-submenu.component.js +24 -0
- package/dist/components/nav-submenu/nav-submenu.js +25 -0
- package/dist/components/nav-submenu/nav-submenu.styles.js +8 -0
- package/dist/components/option/option.component.js +4 -4
- package/dist/components/option/option.js +5 -5
- package/dist/components/pagination/custom-select.js +18 -4
- package/dist/components/pagination/pagination.component.js +16 -8
- package/dist/components/pagination/pagination.js +16 -8
- package/dist/components/pagination/pagination.styles.js +1 -1
- 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 +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +3 -3
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/range/range.component.js +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/screen/screen.component.js +2 -2
- package/dist/components/screen/screen.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 +3 -3
- package/dist/components/spinner/spinner.js +4 -4
- package/dist/components/spinner/spinner.styles.js +1 -1
- package/dist/components/split-panel/split-panel.component.js +2 -2
- package/dist/components/split-panel/split-panel.js +3 -3
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +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 +7 -6
- package/dist/components/table/col-group.js +3 -3
- package/dist/components/table/const.js +5 -3
- package/dist/components/table/features/col-pining.js +11 -0
- package/dist/components/table/features/index.js +10 -2
- package/dist/components/table/features/row-drag.js +7 -0
- package/dist/components/table/features/row-expend.js +1 -1
- package/dist/components/table/features/row-selection.js +1 -1
- package/dist/components/table/head-table.js +26 -25
- package/dist/components/table/spinner-container.js +2 -2
- package/dist/components/table/table.component.js +41 -34
- package/dist/components/table/table.js +42 -35
- package/dist/components/table/utils.js +6 -2
- 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/time-panel/time-panel.component.js +7 -7
- package/dist/components/time-panel/time-panel.js +7 -7
- package/dist/components/timepicker/timepicker.component.js +26 -13
- package/dist/components/timepicker/timepicker.js +26 -13
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/tree/tree.component.js +11 -11
- package/dist/components/tree/tree.js +12 -12
- package/dist/components/tree-item/tree-item.component.js +8 -8
- package/dist/components/tree-item/tree-item.js +9 -9
- 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 +4726 -3627
- package/dist/react/alert/index.js +6 -6
- package/dist/react/animated-image/index.js +5 -5
- package/dist/react/animation/index.js +3 -3
- 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 +6 -6
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +6 -6
- package/dist/react/color-picker/index.js +16 -16
- package/dist/react/copy-button/index.js +7 -7
- package/dist/react/date-panel/index.js +13 -14
- package/dist/react/datepicker/index.js +18 -19
- package/dist/react/details/index.js +5 -5
- package/dist/react/dialog/index.js +7 -7
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +6 -6
- package/dist/react/dropdown/index.js +4 -4
- package/dist/react/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 +244 -219
- package/dist/react/input/index.js +6 -6
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +9 -9
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/nav/index.js +11 -0
- package/dist/react/nav-group/index.js +11 -0
- package/dist/react/nav-item/index.js +11 -0
- package/dist/react/nav-submenu/index.js +25 -0
- package/dist/react/option/index.js +5 -5
- package/dist/react/pagination/index.js +17 -9
- 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 +3 -3
- package/dist/react/radio-group/index.js +4 -4
- 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/screen/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 +4 -4
- package/dist/react/split-panel/index.js +3 -3
- package/dist/react/switch/index.js +3 -3
- 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 +42 -35
- package/dist/react/tag/index.js +6 -6
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/timepicker/index.js +27 -14
- package/dist/react/tooltip/index.js +4 -4
- package/dist/react/tree/index.js +12 -12
- package/dist/react/tree-item/index.js +9 -9
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/shoelace.js +233 -207
- package/dist/themes/dark.css +4 -3
- package/dist/themes/dark.styles.js +5 -4
- package/dist/themes/light.css +28 -4
- package/dist/themes/light.styles.js +31 -5
- package/dist/themes/nova.css +617 -0
- package/dist/themes/nova.styles.d.ts +2 -0
- package/dist/themes/nova.styles.js +634 -0
- package/dist/types/vue/index.d.ts +516 -332
- package/dist/vscode.html-custom-data.json +523 -356
- package/dist/web-types.json +1343 -936
- package/package.json +6 -4
- package/cdn/chunks/chunk.226T3KTA.js +0 -11
- package/cdn/chunks/chunk.2DGU6Y27.js +0 -21
- package/cdn/chunks/chunk.2GVHUW5C.js +0 -11
- package/cdn/chunks/chunk.2IVRNFRU.js +0 -73
- package/cdn/chunks/chunk.2NICGF3O.js +0 -95
- package/cdn/chunks/chunk.2PQBFMVP.js +0 -28
- package/cdn/chunks/chunk.2WNUV5PI.js +0 -93
- package/cdn/chunks/chunk.33CUA3Z2.js +0 -120
- package/cdn/chunks/chunk.3FDM5EJN.js +0 -11
- package/cdn/chunks/chunk.3FTYT6PZ.js +0 -123
- package/cdn/chunks/chunk.3M34SQ76.js +0 -69
- package/cdn/chunks/chunk.3NKDIRL6.js +0 -21
- package/cdn/chunks/chunk.3O6K66UZ.js +0 -42
- package/cdn/chunks/chunk.3QFHTQZY.js +0 -67
- package/cdn/chunks/chunk.3TEIDNQG.js +0 -40
- package/cdn/chunks/chunk.43VCZTB6.js +0 -11
- package/cdn/chunks/chunk.46H5FPXZ.js +0 -75
- package/cdn/chunks/chunk.475SOJAO.js +0 -28
- package/cdn/chunks/chunk.4HIOUPRK.js +0 -133
- package/cdn/chunks/chunk.4IV4JJVG.js +0 -26
- package/cdn/chunks/chunk.4RQ3KDVR.js +0 -28
- package/cdn/chunks/chunk.4RX7LNWR.js +0 -109
- package/cdn/chunks/chunk.4VRHDE3E.js +0 -8
- package/cdn/chunks/chunk.553HB2GN.js +0 -29
- package/cdn/chunks/chunk.5H2ATT4X.js +0 -21
- package/cdn/chunks/chunk.5I6XJ74U.js +0 -21
- package/cdn/chunks/chunk.5MR54PKJ.js +0 -24
- package/cdn/chunks/chunk.5SZDGBQF.js +0 -175
- package/cdn/chunks/chunk.622UIAVD.js +0 -63
- package/cdn/chunks/chunk.64CWFKX3.js +0 -11
- package/cdn/chunks/chunk.6JBPST77.js +0 -336
- package/cdn/chunks/chunk.6KS5NQNM.js +0 -29
- package/cdn/chunks/chunk.6KYZXY5D.js +0 -11
- package/cdn/chunks/chunk.6L47H33F.js +0 -11
- package/cdn/chunks/chunk.6LHVYT75.js +0 -19
- package/cdn/chunks/chunk.6NUFJ66T.js +0 -11
- package/cdn/chunks/chunk.6O3UE2MV.js +0 -11
- package/cdn/chunks/chunk.6OUPSNV2.js +0 -26
- package/cdn/chunks/chunk.6ULP6XQ6.js +0 -24
- package/cdn/chunks/chunk.6WZ27344.js +0 -142
- package/cdn/chunks/chunk.6X6VGRFE.js +0 -24
- package/cdn/chunks/chunk.6Y76RBIV.js +0 -11
- package/cdn/chunks/chunk.72345564.js +0 -25
- package/cdn/chunks/chunk.75YFCVKA.js +0 -73
- package/cdn/chunks/chunk.7BFOUTZ5.js +0 -25
- package/cdn/chunks/chunk.7BNY7LJ7.js +0 -90
- package/cdn/chunks/chunk.7CQPG7JP.js +0 -220
- package/cdn/chunks/chunk.7DBKAVCA.js +0 -76
- package/cdn/chunks/chunk.7P7NFDLH.js +0 -14
- package/cdn/chunks/chunk.7ZK2UF56.js +0 -14
- package/cdn/chunks/chunk.A575VBPW.js +0 -11
- package/cdn/chunks/chunk.ABKNVEIF.js +0 -11
- package/cdn/chunks/chunk.ADJSIZFS.js +0 -328
- package/cdn/chunks/chunk.AFUGLO2J.js +0 -82
- package/cdn/chunks/chunk.AQLXVLLC.js +0 -11
- package/cdn/chunks/chunk.ARSOELAS.js +0 -11
- package/cdn/chunks/chunk.ASARZEQG.js +0 -21
- package/cdn/chunks/chunk.ASV42T2E.js +0 -21
- package/cdn/chunks/chunk.BAZGISYP.js +0 -299
- package/cdn/chunks/chunk.BM5X26KE.js +0 -24
- package/cdn/chunks/chunk.BO4D3RTO.js +0 -77
- package/cdn/chunks/chunk.BOPYDZIV.js +0 -817
- package/cdn/chunks/chunk.BUGT6WF5.js +0 -11
- package/cdn/chunks/chunk.C56DLDQB.js +0 -21
- package/cdn/chunks/chunk.CEVCAMWX.js +0 -11
- package/cdn/chunks/chunk.CHN6XUDK.js +0 -98
- package/cdn/chunks/chunk.CIJTQGA5.js +0 -11
- package/cdn/chunks/chunk.CNR4MZDJ.js +0 -586
- package/cdn/chunks/chunk.COGWDYK3.js +0 -11
- package/cdn/chunks/chunk.COPAJV25.js +0 -19
- package/cdn/chunks/chunk.CSRJR6QI.js +0 -16
- package/cdn/chunks/chunk.CUKDISXD.js +0 -67
- package/cdn/chunks/chunk.CYAG6A2P.js +0 -70
- package/cdn/chunks/chunk.D63BQQF6.js +0 -24
- package/cdn/chunks/chunk.DDHL2VIZ.js +0 -25
- package/cdn/chunks/chunk.DERRIHEG.js +0 -5845
- package/cdn/chunks/chunk.DJQWYL6A.js +0 -11
- package/cdn/chunks/chunk.DOGMVRYQ.js +0 -229
- package/cdn/chunks/chunk.E22KEVJP.js +0 -345
- package/cdn/chunks/chunk.E3A2ZV4G.js +0 -21
- package/cdn/chunks/chunk.EFC4MFY2.js +0 -24
- package/cdn/chunks/chunk.EFE6XYM5.js +0 -24
- package/cdn/chunks/chunk.EGE4VSGA.js +0 -27
- package/cdn/chunks/chunk.ERTNALQU.js +0 -24
- package/cdn/chunks/chunk.EYS73RDP.js +0 -11
- package/cdn/chunks/chunk.F26NBLPK.js +0 -11
- package/cdn/chunks/chunk.F5POJMOI.js +0 -219
- package/cdn/chunks/chunk.F6LKCVG2.js +0 -137
- package/cdn/chunks/chunk.FPVK7RSX.js +0 -339
- package/cdn/chunks/chunk.FSV4LJQO.js +0 -24
- package/cdn/chunks/chunk.FTBOPGL6.js +0 -21
- package/cdn/chunks/chunk.FVRO7M4G.js +0 -49
- package/cdn/chunks/chunk.FW34JSGH.js +0 -455
- package/cdn/chunks/chunk.FWKBZNS6.js +0 -97
- package/cdn/chunks/chunk.G4N7MPWJ.js +0 -25
- package/cdn/chunks/chunk.G5DMMRUQ.js +0 -119
- package/cdn/chunks/chunk.GDIVSQS2.js +0 -28
- package/cdn/chunks/chunk.GIZEACAX.js +0 -24
- package/cdn/chunks/chunk.GKHDQHEH.js +0 -267
- package/cdn/chunks/chunk.GLIQM2OA.js +0 -724
- package/cdn/chunks/chunk.GQ5VEYP3.js +0 -11
- package/cdn/chunks/chunk.GTZHZDWI.js +0 -11
- package/cdn/chunks/chunk.GWE4YVV4.js +0 -27
- package/cdn/chunks/chunk.GX3PJHPQ.js +0 -27
- package/cdn/chunks/chunk.GXM67UX2.js +0 -25
- package/cdn/chunks/chunk.GY4NOO2A.js +0 -153
- package/cdn/chunks/chunk.H6GAZZO4.js +0 -21
- package/cdn/chunks/chunk.H6LKMMWQ.js +0 -123
- package/cdn/chunks/chunk.HA5BTJ4F.js +0 -175
- package/cdn/chunks/chunk.HCUTIIMI.js +0 -113
- package/cdn/chunks/chunk.HD65V4AX.js +0 -47
- package/cdn/chunks/chunk.HDS562EN.js +0 -93
- package/cdn/chunks/chunk.HFHP3OIG.js +0 -122
- package/cdn/chunks/chunk.HN6W647B.js +0 -236
- package/cdn/chunks/chunk.HNGGWFL2.js +0 -49
- package/cdn/chunks/chunk.HNQO3DOA.js +0 -192
- package/cdn/chunks/chunk.HTQR4NGP.js +0 -292
- package/cdn/chunks/chunk.HUD34TPG.js +0 -11
- package/cdn/chunks/chunk.HX3E4AEE.js +0 -244
- package/cdn/chunks/chunk.IDLOKUVC.js +0 -122
- package/cdn/chunks/chunk.IFJ5H35Z.js +0 -11
- package/cdn/chunks/chunk.IOAAX734.js +0 -25
- package/cdn/chunks/chunk.IPXCW32Y.js +0 -81
- package/cdn/chunks/chunk.ITDOZG3Q.js +0 -361
- package/cdn/chunks/chunk.IUAQGFOT.js +0 -21
- package/cdn/chunks/chunk.J5AFRKIT.js +0 -367
- package/cdn/chunks/chunk.JBNPTXYA.js +0 -25
- package/cdn/chunks/chunk.JGLKPOL4.js +0 -114
- package/cdn/chunks/chunk.JK2SZSOP.js +0 -57
- package/cdn/chunks/chunk.JKGKU3IG.js +0 -1990
- package/cdn/chunks/chunk.JLXJFBOW.js +0 -63
- package/cdn/chunks/chunk.JNL27MRY.js +0 -27
- package/cdn/chunks/chunk.JPQ7TJYO.js +0 -11
- package/cdn/chunks/chunk.JTVBQZV5.js +0 -11
- package/cdn/chunks/chunk.JWBQN7MN.js +0 -27
- package/cdn/chunks/chunk.JXV7EZNU.js +0 -178
- package/cdn/chunks/chunk.JYWV2VVH.js +0 -11
- package/cdn/chunks/chunk.K2TJ56SW.js +0 -51
- package/cdn/chunks/chunk.KBZBPAOP.js +0 -26
- package/cdn/chunks/chunk.KDEA44OK.js +0 -162
- package/cdn/chunks/chunk.KEII62OL.js +0 -61
- package/cdn/chunks/chunk.KJXKQ54G.js +0 -21
- package/cdn/chunks/chunk.KLX4IP5J.js +0 -11
- package/cdn/chunks/chunk.KN75WBDH.js +0 -402
- package/cdn/chunks/chunk.KQQL7WQY.js +0 -11
- package/cdn/chunks/chunk.KTXLNPQ6.js +0 -24
- package/cdn/chunks/chunk.KUKUZPGL.js +0 -21
- package/cdn/chunks/chunk.KY7LF3V3.js +0 -502
- package/cdn/chunks/chunk.L4BE2QNU.js +0 -29
- package/cdn/chunks/chunk.LCCF3AO6.js +0 -14
- package/cdn/chunks/chunk.LDBWY5N4.js +0 -25
- package/cdn/chunks/chunk.LDNVPVIS.js +0 -263
- package/cdn/chunks/chunk.LOQ5FMU6.js +0 -36
- package/cdn/chunks/chunk.LPQUE2WM.js +0 -25
- package/cdn/chunks/chunk.LQZ32GYA.js +0 -266
- package/cdn/chunks/chunk.LWJ3GKZI.js +0 -379
- package/cdn/chunks/chunk.LZ2AEEPH.js +0 -30
- package/cdn/chunks/chunk.LZ3VDHB6.js +0 -22
- package/cdn/chunks/chunk.LZDMFQGK.js +0 -54
- package/cdn/chunks/chunk.M5INIPKU.js +0 -291
- package/cdn/chunks/chunk.MFK75WAB.js +0 -54
- package/cdn/chunks/chunk.MGP3LEMO.js +0 -25
- package/cdn/chunks/chunk.MJUBQQBQ.js +0 -26
- package/cdn/chunks/chunk.MPLIQ3WA.js +0 -11
- package/cdn/chunks/chunk.MREPXRCZ.js +0 -11
- package/cdn/chunks/chunk.MT7WQZWH.js +0 -11
- package/cdn/chunks/chunk.MWYQUTWB.js +0 -11
- package/cdn/chunks/chunk.N6RSK3EY.js +0 -11
- package/cdn/chunks/chunk.NCELV3A3.js +0 -68
- package/cdn/chunks/chunk.NEL7CTKW.js +0 -21
- package/cdn/chunks/chunk.NGCZYV5C.js +0 -11
- package/cdn/chunks/chunk.NMYOJZQU.js +0 -86
- package/cdn/chunks/chunk.NQ56SMBO.js +0 -279
- package/cdn/chunks/chunk.O33LJU47.js +0 -177
- package/cdn/chunks/chunk.O4VEQSCU.js +0 -85
- package/cdn/chunks/chunk.O6QLVREN.js +0 -37
- package/cdn/chunks/chunk.OEOW5UZD.js +0 -21
- package/cdn/chunks/chunk.OJPX6I37.js +0 -207
- package/cdn/chunks/chunk.OK3SB6ZB.js +0 -314
- package/cdn/chunks/chunk.OPV4LWDL.js +0 -302
- package/cdn/chunks/chunk.OS2IKKCL.js +0 -246
- package/cdn/chunks/chunk.OSICTDRO.js +0 -30
- package/cdn/chunks/chunk.OTLZF5DH.js +0 -11
- package/cdn/chunks/chunk.OTSYJSEU.js +0 -233
- package/cdn/chunks/chunk.PL7KMLQ5.js +0 -29
- package/cdn/chunks/chunk.PN4AG6RW.js +0 -11
- package/cdn/chunks/chunk.POBIFRTY.js +0 -21
- package/cdn/chunks/chunk.PPJ6H72V.js +0 -173
- package/cdn/chunks/chunk.PQSBGFTM.js +0 -79
- package/cdn/chunks/chunk.PR7QMODJ.js +0 -127
- package/cdn/chunks/chunk.PXND53B4.js +0 -64
- package/cdn/chunks/chunk.PY47Y45M.js +0 -113
- package/cdn/chunks/chunk.Q2WKF37T.js +0 -186
- package/cdn/chunks/chunk.Q3XIGDZS.js +0 -110
- package/cdn/chunks/chunk.Q5EBCTBC.js +0 -27
- package/cdn/chunks/chunk.Q6AXCRB3.js +0 -24
- package/cdn/chunks/chunk.QG3X6VAB.js +0 -822
- package/cdn/chunks/chunk.QGNFY5NC.js +0 -27
- package/cdn/chunks/chunk.QNRJMDRA.js +0 -11
- package/cdn/chunks/chunk.R56TYG7R.js +0 -11
- package/cdn/chunks/chunk.RBCHRWN2.js +0 -103
- package/cdn/chunks/chunk.RGS2YUQD.js +0 -23
- package/cdn/chunks/chunk.RKWWWPJC.js +0 -11
- package/cdn/chunks/chunk.ROISDRBM.js +0 -11
- package/cdn/chunks/chunk.RRXHKTD4.js +0 -21
- package/cdn/chunks/chunk.RS262J54.js +0 -24
- package/cdn/chunks/chunk.SB5BNQR5.js +0 -11
- package/cdn/chunks/chunk.SI4YNAF2.js +0 -49
- package/cdn/chunks/chunk.SLYUWDE3.js +0 -11
- package/cdn/chunks/chunk.SMQ67RFH.js +0 -42
- package/cdn/chunks/chunk.SN3GNV2Z.js +0 -14
- package/cdn/chunks/chunk.SZ5QS6YA.js +0 -11
- package/cdn/chunks/chunk.T6RRSS3U.js +0 -11
- package/cdn/chunks/chunk.TKIO6ZIC.js +0 -158
- package/cdn/chunks/chunk.TL4WWCFB.js +0 -493
- package/cdn/chunks/chunk.TW4PTR4O.js +0 -21
- package/cdn/chunks/chunk.UA52MTA3.js +0 -28
- package/cdn/chunks/chunk.UCZMPMGN.js +0 -77
- package/cdn/chunks/chunk.UE43G6PJ.js +0 -11
- package/cdn/chunks/chunk.UFCDAF3K.js +0 -11
- package/cdn/chunks/chunk.UHRXTAZG.js +0 -11
- package/cdn/chunks/chunk.UJMSXTUB.js +0 -298
- package/cdn/chunks/chunk.ULGJX5ZV.js +0 -346
- package/cdn/chunks/chunk.UQK47RV6.js +0 -11
- package/cdn/chunks/chunk.UU26NWDB.js +0 -11
- package/cdn/chunks/chunk.UW2DE4F7.js +0 -391
- package/cdn/chunks/chunk.UYIZRRAW.js +0 -11
- package/cdn/chunks/chunk.UYKFHTN3.js +0 -24
- package/cdn/chunks/chunk.VDD6G6EQ.js +0 -66
- package/cdn/chunks/chunk.VHT6PNRV.js +0 -25
- package/cdn/chunks/chunk.VPY2OHDU.js +0 -189
- package/cdn/chunks/chunk.VS3FP5QV.js +0 -197
- package/cdn/chunks/chunk.VS72WUWL.js +0 -11
- package/cdn/chunks/chunk.VTEA642B.js +0 -11
- package/cdn/chunks/chunk.W2ZFZ3PK.js +0 -6096
- package/cdn/chunks/chunk.WE4USEQU.js +0 -126
- package/cdn/chunks/chunk.WG5WKVPM.js +0 -1879
- package/cdn/chunks/chunk.WGYBEN3X.js +0 -21
- package/cdn/chunks/chunk.WIAYOMS5.js +0 -11
- package/cdn/chunks/chunk.WIJ23EA7.js +0 -33
- package/cdn/chunks/chunk.WL7GHA3M.js +0 -114
- package/cdn/chunks/chunk.WMJU7K44.js +0 -58
- package/cdn/chunks/chunk.WNSXI66D.js +0 -29
- package/cdn/chunks/chunk.WOQ7VOEH.js +0 -28
- package/cdn/chunks/chunk.WXCYAWJR.js +0 -11
- package/cdn/chunks/chunk.WXY6OB2C.js +0 -87
- package/cdn/chunks/chunk.X2NJALR2.js +0 -29
- package/cdn/chunks/chunk.X474KPYJ.js +0 -21
- package/cdn/chunks/chunk.X4ATDEXB.js +0 -186
- package/cdn/chunks/chunk.X6WBXER6.js +0 -11
- package/cdn/chunks/chunk.XEJS7JGV.js +0 -21
- package/cdn/chunks/chunk.XENA47OC.js +0 -118
- package/cdn/chunks/chunk.XEP3MV3Z.js +0 -681
- package/cdn/chunks/chunk.XKEKLRMP.js +0 -21
- package/cdn/chunks/chunk.XNXLF5U6.js +0 -11
- package/cdn/chunks/chunk.XOJPAR6O.js +0 -153
- package/cdn/chunks/chunk.XPNYVKK5.js +0 -11
- package/cdn/chunks/chunk.XRHJO57O.js +0 -216
- package/cdn/chunks/chunk.YATLV4PE.js +0 -135
- package/cdn/chunks/chunk.YOUSBLVL.js +0 -75
- package/cdn/chunks/chunk.YUO3U4CO.js +0 -128
- package/cdn/chunks/chunk.YVUNU7A4.js +0 -24
- package/cdn/chunks/chunk.YXHVEJHY.js +0 -255
- package/cdn/chunks/chunk.ZEWT5A7Z.js +0 -11
- package/cdn/chunks/chunk.ZFMK746Y.js +0 -14
- package/cdn/chunks/chunk.ZHXQFA7P.js +0 -92
- package/cdn/chunks/chunk.ZIZOKZBM.js +0 -375
- package/cdn/chunks/chunk.ZKRJ3RUK.js +0 -643
- package/cdn/chunks/chunk.ZKTKNHGV.js +0 -236
- package/cdn/chunks/chunk.ZLZKOPYV.js +0 -47
- package/cdn/chunks/chunk.ZSNUIR56.js +0 -53
- package/cdn/chunks/chunk.ZUZCTPFU.js +0 -21
- package/cdn/chunks/chunk.ZVF3XIXB.js +0 -50
- package/cdn/chunks/chunk.ZXUNDYLD.js +0 -101
- package/cdn/chunks/chunk.ZYKYPBZK.js +0 -21
- package/dist/chunks/chunk.23K7R4NT.js +0 -21
- package/dist/chunks/chunk.2BAPB5ES.js +0 -27
- package/dist/chunks/chunk.2J6YXAWS.js +0 -126
- package/dist/chunks/chunk.2KAFZV2U.js +0 -11
- package/dist/chunks/chunk.2OGA6BZH.js +0 -29
- package/dist/chunks/chunk.2YRC6UA6.js +0 -29
- package/dist/chunks/chunk.32ACMMB6.js +0 -11
- package/dist/chunks/chunk.35CVCI6E.js +0 -24
- package/dist/chunks/chunk.3DRUISHG.js +0 -21
- package/dist/chunks/chunk.3TCZIRLS.js +0 -11
- package/dist/chunks/chunk.45JFYGIK.js +0 -80
- package/dist/chunks/chunk.4AKCX5MH.js +0 -11
- package/dist/chunks/chunk.4HRUBCPR.js +0 -28
- package/dist/chunks/chunk.4JORV644.js +0 -25
- package/dist/chunks/chunk.4MOUWA4Z.js +0 -21
- package/dist/chunks/chunk.4QWIG25M.js +0 -147
- package/dist/chunks/chunk.4VRHDE3E.js +0 -8
- package/dist/chunks/chunk.5IBHAVZB.js +0 -11
- package/dist/chunks/chunk.5LIVGRUK.js +0 -814
- package/dist/chunks/chunk.5LW6WNIF.js +0 -28
- package/dist/chunks/chunk.5O7H5V47.js +0 -11
- package/dist/chunks/chunk.5PHH6PWX.js +0 -11
- package/dist/chunks/chunk.5TRNUMBN.js +0 -315
- package/dist/chunks/chunk.5VIQWMIT.js +0 -119
- package/dist/chunks/chunk.6226EGTC.js +0 -24
- package/dist/chunks/chunk.6DV25BZ3.js +0 -11
- package/dist/chunks/chunk.6E4JXCKX.js +0 -11
- package/dist/chunks/chunk.6HCN3CVD.js +0 -29
- package/dist/chunks/chunk.6HDQXFGS.js +0 -11
- package/dist/chunks/chunk.6HL5WIAB.js +0 -417
- package/dist/chunks/chunk.6RXDWBBR.js +0 -135
- package/dist/chunks/chunk.6UDSH4MU.js +0 -21
- package/dist/chunks/chunk.6UEXF2NO.js +0 -11
- package/dist/chunks/chunk.7CQOMPVQ.js +0 -27
- package/dist/chunks/chunk.7DUCI5S4.js +0 -64
- package/dist/chunks/chunk.7I4AGK2W.js +0 -11
- package/dist/chunks/chunk.7ITNVYCE.js +0 -27
- package/dist/chunks/chunk.7IYR2C2M.js +0 -42
- package/dist/chunks/chunk.7JNOANWO.js +0 -21
- package/dist/chunks/chunk.7MJ5DZAT.js +0 -21
- package/dist/chunks/chunk.7PLM7LGQ.js +0 -45
- package/dist/chunks/chunk.7TJ3OU57.js +0 -11
- package/dist/chunks/chunk.A6RWY7SS.js +0 -51
- package/dist/chunks/chunk.AGWHCSPV.js +0 -247
- package/dist/chunks/chunk.AM3JZDVB.js +0 -22
- package/dist/chunks/chunk.AROHADPZ.js +0 -28
- package/dist/chunks/chunk.AS7AINCJ.js +0 -11
- package/dist/chunks/chunk.B3I5UMF7.js +0 -11
- package/dist/chunks/chunk.B3PQOMHX.js +0 -75
- package/dist/chunks/chunk.BGRYUZRK.js +0 -11
- package/dist/chunks/chunk.BIAKIAJA.js +0 -28
- package/dist/chunks/chunk.BSSTY3ZB.js +0 -113
- package/dist/chunks/chunk.BTCOZSMV.js +0 -280
- package/dist/chunks/chunk.BUYWCJQE.js +0 -11
- package/dist/chunks/chunk.CH37X4P2.js +0 -85
- package/dist/chunks/chunk.CKLJH3H5.js +0 -130
- package/dist/chunks/chunk.CQ6VBUBR.js +0 -96
- package/dist/chunks/chunk.CSOWQ6ZF.js +0 -22
- package/dist/chunks/chunk.CXA6EXAW.js +0 -27
- package/dist/chunks/chunk.CXU7I7I7.js +0 -45
- package/dist/chunks/chunk.D5KF7L4N.js +0 -21
- package/dist/chunks/chunk.DBTBPR6I.js +0 -11
- package/dist/chunks/chunk.DM3OE4HD.js +0 -286
- package/dist/chunks/chunk.DOJK6RUS.js +0 -100
- package/dist/chunks/chunk.DQB4ELCQ.js +0 -21
- package/dist/chunks/chunk.DTGV36KM.js +0 -100
- package/dist/chunks/chunk.DTMV2ULT.js +0 -11
- package/dist/chunks/chunk.EEKY6YDI.js +0 -11
- package/dist/chunks/chunk.EFHRHRWG.js +0 -11
- package/dist/chunks/chunk.EJNVBHMH.js +0 -21
- package/dist/chunks/chunk.ELAFEIPF.js +0 -294
- package/dist/chunks/chunk.EQJH2YFS.js +0 -11
- package/dist/chunks/chunk.F6KTV6TM.js +0 -21
- package/dist/chunks/chunk.FABTVEML.js +0 -212
- package/dist/chunks/chunk.FB63SVB3.js +0 -11
- package/dist/chunks/chunk.FDMNNFER.js +0 -11
- package/dist/chunks/chunk.FI2TCNNM.js +0 -181
- package/dist/chunks/chunk.FVWZSKWN.js +0 -11
- package/dist/chunks/chunk.G2IQGQTI.js +0 -11
- package/dist/chunks/chunk.G2NKHICI.js +0 -21
- package/dist/chunks/chunk.G7UNLCTM.js +0 -11
- package/dist/chunks/chunk.GAIJOPWX.js +0 -35
- package/dist/chunks/chunk.GDOJ72TB.js +0 -949
- package/dist/chunks/chunk.GHTILCMM.js +0 -25
- package/dist/chunks/chunk.GHW3EPMK.js +0 -311
- package/dist/chunks/chunk.GK62YFVA.js +0 -21
- package/dist/chunks/chunk.GVYXCDBW.js +0 -25
- package/dist/chunks/chunk.HA5BTJ4F.js +0 -175
- package/dist/chunks/chunk.HARIMSYA.js +0 -11
- package/dist/chunks/chunk.HD65V4AX.js +0 -47
- package/dist/chunks/chunk.HFOJQZOV.js +0 -11
- package/dist/chunks/chunk.HGUMHCJ3.js +0 -33
- package/dist/chunks/chunk.HJFDDXS6.js +0 -87
- package/dist/chunks/chunk.HZD5GWNS.js +0 -11
- package/dist/chunks/chunk.I2LYHYCJ.js +0 -21
- package/dist/chunks/chunk.I63M2N2I.js +0 -111
- package/dist/chunks/chunk.I6WAAJDP.js +0 -28
- package/dist/chunks/chunk.IBRIK4MX.js +0 -11
- package/dist/chunks/chunk.IO4L7D3R.js +0 -494
- package/dist/chunks/chunk.J76SHUCJ.js +0 -116
- package/dist/chunks/chunk.JCF3SGWP.js +0 -151
- package/dist/chunks/chunk.K53OW3SG.js +0 -21
- package/dist/chunks/chunk.K6P23T7S.js +0 -11
- package/dist/chunks/chunk.K7XW37DV.js +0 -325
- package/dist/chunks/chunk.KIMVNML5.js +0 -11
- package/dist/chunks/chunk.KMDFY6IR.js +0 -27
- package/dist/chunks/chunk.KZ2E2QPX.js +0 -214
- package/dist/chunks/chunk.L2XYGNOM.js +0 -167
- package/dist/chunks/chunk.L6IB7TSB.js +0 -448
- package/dist/chunks/chunk.LBA6EKPQ.js +0 -59
- package/dist/chunks/chunk.LVPIOFIR.js +0 -93
- package/dist/chunks/chunk.LZ5HHTHZ.js +0 -27
- package/dist/chunks/chunk.M3ZETKTC.js +0 -134
- package/dist/chunks/chunk.M4MEGHVA.js +0 -11
- package/dist/chunks/chunk.M6K5R2VR.js +0 -67
- package/dist/chunks/chunk.M6ZHGEXN.js +0 -11
- package/dist/chunks/chunk.MCD46OIE.js +0 -11
- package/dist/chunks/chunk.MD64S3ZW.js +0 -333
- package/dist/chunks/chunk.MPYCS6NC.js +0 -11
- package/dist/chunks/chunk.MRT2Y3XH.js +0 -11
- package/dist/chunks/chunk.MXNOEVRE.js +0 -813
- package/dist/chunks/chunk.MXT5E2E3.js +0 -291
- package/dist/chunks/chunk.NBRBQS2A.js +0 -91
- package/dist/chunks/chunk.NBVINANI.js +0 -21
- package/dist/chunks/chunk.NKVJLRXA.js +0 -11
- package/dist/chunks/chunk.NPSSFTSZ.js +0 -25
- package/dist/chunks/chunk.NPZGO3TF.js +0 -50
- package/dist/chunks/chunk.NW73JBXM.js +0 -369
- package/dist/chunks/chunk.O353OWBH.js +0 -117
- package/dist/chunks/chunk.OBEF6N5D.js +0 -24
- package/dist/chunks/chunk.OBLIKQB3.js +0 -26
- package/dist/chunks/chunk.OFFPQXOQ.js +0 -21
- package/dist/chunks/chunk.ONADNVXD.js +0 -11
- package/dist/chunks/chunk.OQEO56ZS.js +0 -259
- package/dist/chunks/chunk.ORZXW3UE.js +0 -25
- package/dist/chunks/chunk.OUI74XAI.js +0 -484
- package/dist/chunks/chunk.OV3GZJAR.js +0 -11
- package/dist/chunks/chunk.OW3KW6VO.js +0 -109
- package/dist/chunks/chunk.P7CKOTGP.js +0 -11
- package/dist/chunks/chunk.PAQULMRN.js +0 -21
- package/dist/chunks/chunk.PE4KZWE6.js +0 -28
- package/dist/chunks/chunk.PKGVMMJG.js +0 -11
- package/dist/chunks/chunk.PM4AMVBK.js +0 -21
- package/dist/chunks/chunk.PON4NNDJ.js +0 -231
- package/dist/chunks/chunk.Q6YUGPVX.js +0 -75
- package/dist/chunks/chunk.QGHSEJOU.js +0 -25
- package/dist/chunks/chunk.QH2UWZH5.js +0 -25
- package/dist/chunks/chunk.QI3W6HTK.js +0 -21
- package/dist/chunks/chunk.QLNJE55A.js +0 -63
- package/dist/chunks/chunk.QSDSNJKA.js +0 -21
- package/dist/chunks/chunk.QXOMAHWK.js +0 -11
- package/dist/chunks/chunk.R2SBUTSK.js +0 -11
- package/dist/chunks/chunk.R5BPAQWB.js +0 -24
- package/dist/chunks/chunk.RC22A6WL.js +0 -34
- package/dist/chunks/chunk.RJLUOWN7.js +0 -24
- package/dist/chunks/chunk.RJZ63WPY.js +0 -11
- package/dist/chunks/chunk.RQHBV33L.js +0 -24
- package/dist/chunks/chunk.RYIEJALO.js +0 -293
- package/dist/chunks/chunk.S35XBDYL.js +0 -11
- package/dist/chunks/chunk.S6V5W6F6.js +0 -11
- package/dist/chunks/chunk.S72HPYOZ.js +0 -24
- package/dist/chunks/chunk.SEPTQA5Z.js +0 -21
- package/dist/chunks/chunk.SXW7Z6ZF.js +0 -227
- package/dist/chunks/chunk.TC7HEXQD.js +0 -24
- package/dist/chunks/chunk.THHF2YU7.js +0 -550
- package/dist/chunks/chunk.THWXZUDV.js +0 -26
- package/dist/chunks/chunk.TSMWOE6E.js +0 -121
- package/dist/chunks/chunk.TTEHZN2N.js +0 -21
- package/dist/chunks/chunk.TYQJKOUY.js +0 -24
- package/dist/chunks/chunk.UCZXKYHX.js +0 -205
- package/dist/chunks/chunk.UGKTF4KF.js +0 -52
- package/dist/chunks/chunk.UJOYFODR.js +0 -11
- package/dist/chunks/chunk.UNJALYPM.js +0 -11
- package/dist/chunks/chunk.UQGDM7HN.js +0 -274
- package/dist/chunks/chunk.UYCPHCRE.js +0 -371
- package/dist/chunks/chunk.UZSTWEES.js +0 -73
- package/dist/chunks/chunk.V4ACSAX5.js +0 -29
- package/dist/chunks/chunk.V4OFZZMW.js +0 -21
- package/dist/chunks/chunk.VKXVNU5C.js +0 -11
- package/dist/chunks/chunk.VZDXD5YC.js +0 -21
- package/dist/chunks/chunk.W4O4QP2L.js +0 -384
- package/dist/chunks/chunk.W5MMYC3G.js +0 -192
- package/dist/chunks/chunk.WENLC4PY.js +0 -11
- package/dist/chunks/chunk.WFNZBTGD.js +0 -175
- package/dist/chunks/chunk.WHF6ESAS.js +0 -24
- package/dist/chunks/chunk.WIJMV6OZ.js +0 -337
- package/dist/chunks/chunk.WKSHSVGC.js +0 -25
- package/dist/chunks/chunk.WUUCPSLN.js +0 -213
- package/dist/chunks/chunk.WUWD2BSL.js +0 -11
- package/dist/chunks/chunk.WY73GMZ7.js +0 -11
- package/dist/chunks/chunk.WZQP5JDX.js +0 -25
- package/dist/chunks/chunk.X7TTTNXB.js +0 -11
- package/dist/chunks/chunk.XHPJLIWX.js +0 -26
- package/dist/chunks/chunk.XQGFFI4E.js +0 -11
- package/dist/chunks/chunk.Y3CWY7MQ.js +0 -11
- package/dist/chunks/chunk.Y3MHU54X.js +0 -11
- package/dist/chunks/chunk.Y45VBPZ3.js +0 -150
- package/dist/chunks/chunk.YIDE4D7D.js +0 -25
- package/dist/chunks/chunk.YIPMXBCU.js +0 -90
- package/dist/chunks/chunk.YPXJR2OL.js +0 -361
- package/dist/chunks/chunk.YR3LRTL7.js +0 -224
- package/dist/chunks/chunk.YXGFGUZJ.js +0 -11
- package/dist/chunks/chunk.ZMQFIJ2T.js +0 -11
- package/dist/chunks/chunk.ZNNGKQEN.js +0 -575
- package/dist/chunks/chunk.ZQHA5KWE.js +0 -24
- package/dist/chunks/chunk.ZQR2MBTN.js +0 -24
- package/dist/chunks/chunk.ZVZFQNJG.js +0 -111
- package/dist/chunks/chunk.ZZ7SF3Y7.js +0 -397
- /package/cdn/chunks/{chunk.6QBRHNIF.js → chunk.4IFF37WP.js} +0 -0
- /package/dist/chunks/{chunk.6QBRHNIF.js → chunk.4IFF37WP.js} +0 -0
|
@@ -0,0 +1,1925 @@
|
|
|
1
|
+
import {
|
|
2
|
+
popup_styles_default
|
|
3
|
+
} from "./chunk.BT53JGIN.js";
|
|
4
|
+
import {
|
|
5
|
+
e
|
|
6
|
+
} from "./chunk.VHCLMDG7.js";
|
|
7
|
+
import {
|
|
8
|
+
LocalizeController
|
|
9
|
+
} from "./chunk.2SU6QBUU.js";
|
|
10
|
+
import {
|
|
11
|
+
component_styles_default
|
|
12
|
+
} from "./chunk.NDXSHFSW.js";
|
|
13
|
+
import {
|
|
14
|
+
ShoelaceElement,
|
|
15
|
+
e as e2,
|
|
16
|
+
n
|
|
17
|
+
} from "./chunk.QA2FJSHX.js";
|
|
18
|
+
import {
|
|
19
|
+
b
|
|
20
|
+
} from "./chunk.7WSF3BCU.js";
|
|
21
|
+
import {
|
|
22
|
+
__decorateClass,
|
|
23
|
+
__objRest,
|
|
24
|
+
__spreadProps,
|
|
25
|
+
__spreadValues
|
|
26
|
+
} from "./chunk.CZCSAYQZ.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
|
+
function clamp(start, value, end) {
|
|
44
|
+
return max(start, min(value, end));
|
|
45
|
+
}
|
|
46
|
+
function evaluate(value, param) {
|
|
47
|
+
return typeof value === "function" ? value(param) : value;
|
|
48
|
+
}
|
|
49
|
+
function getSide(placement) {
|
|
50
|
+
return placement.split("-")[0];
|
|
51
|
+
}
|
|
52
|
+
function getAlignment(placement) {
|
|
53
|
+
return placement.split("-")[1];
|
|
54
|
+
}
|
|
55
|
+
function getOppositeAxis(axis) {
|
|
56
|
+
return axis === "x" ? "y" : "x";
|
|
57
|
+
}
|
|
58
|
+
function getAxisLength(axis) {
|
|
59
|
+
return axis === "y" ? "height" : "width";
|
|
60
|
+
}
|
|
61
|
+
function getSideAxis(placement) {
|
|
62
|
+
const firstChar = placement[0];
|
|
63
|
+
return firstChar === "t" || firstChar === "b" ? "y" : "x";
|
|
64
|
+
}
|
|
65
|
+
function getAlignmentAxis(placement) {
|
|
66
|
+
return getOppositeAxis(getSideAxis(placement));
|
|
67
|
+
}
|
|
68
|
+
function getAlignmentSides(placement, rects, rtl) {
|
|
69
|
+
if (rtl === void 0) {
|
|
70
|
+
rtl = false;
|
|
71
|
+
}
|
|
72
|
+
const alignment = getAlignment(placement);
|
|
73
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
74
|
+
const length = getAxisLength(alignmentAxis);
|
|
75
|
+
let mainAlignmentSide = alignmentAxis === "x" ? alignment === (rtl ? "end" : "start") ? "right" : "left" : alignment === "start" ? "bottom" : "top";
|
|
76
|
+
if (rects.reference[length] > rects.floating[length]) {
|
|
77
|
+
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
78
|
+
}
|
|
79
|
+
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
80
|
+
}
|
|
81
|
+
function getExpandedPlacements(placement) {
|
|
82
|
+
const oppositePlacement = getOppositePlacement(placement);
|
|
83
|
+
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
84
|
+
}
|
|
85
|
+
function getOppositeAlignmentPlacement(placement) {
|
|
86
|
+
return placement.includes("start") ? placement.replace("start", "end") : placement.replace("end", "start");
|
|
87
|
+
}
|
|
88
|
+
var lrPlacement = ["left", "right"];
|
|
89
|
+
var rlPlacement = ["right", "left"];
|
|
90
|
+
var tbPlacement = ["top", "bottom"];
|
|
91
|
+
var btPlacement = ["bottom", "top"];
|
|
92
|
+
function getSideList(side, isStart, rtl) {
|
|
93
|
+
switch (side) {
|
|
94
|
+
case "top":
|
|
95
|
+
case "bottom":
|
|
96
|
+
if (rtl) return isStart ? rlPlacement : lrPlacement;
|
|
97
|
+
return isStart ? lrPlacement : rlPlacement;
|
|
98
|
+
case "left":
|
|
99
|
+
case "right":
|
|
100
|
+
return isStart ? tbPlacement : btPlacement;
|
|
101
|
+
default:
|
|
102
|
+
return [];
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
106
|
+
const alignment = getAlignment(placement);
|
|
107
|
+
let list = getSideList(getSide(placement), direction === "start", rtl);
|
|
108
|
+
if (alignment) {
|
|
109
|
+
list = list.map((side) => side + "-" + alignment);
|
|
110
|
+
if (flipAlignment) {
|
|
111
|
+
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
return list;
|
|
115
|
+
}
|
|
116
|
+
function getOppositePlacement(placement) {
|
|
117
|
+
const side = getSide(placement);
|
|
118
|
+
return oppositeSideMap[side] + placement.slice(side.length);
|
|
119
|
+
}
|
|
120
|
+
function expandPaddingObject(padding) {
|
|
121
|
+
return __spreadValues({
|
|
122
|
+
top: 0,
|
|
123
|
+
right: 0,
|
|
124
|
+
bottom: 0,
|
|
125
|
+
left: 0
|
|
126
|
+
}, padding);
|
|
127
|
+
}
|
|
128
|
+
function getPaddingObject(padding) {
|
|
129
|
+
return typeof padding !== "number" ? expandPaddingObject(padding) : {
|
|
130
|
+
top: padding,
|
|
131
|
+
right: padding,
|
|
132
|
+
bottom: padding,
|
|
133
|
+
left: padding
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
function rectToClientRect(rect) {
|
|
137
|
+
const {
|
|
138
|
+
x,
|
|
139
|
+
y,
|
|
140
|
+
width,
|
|
141
|
+
height
|
|
142
|
+
} = rect;
|
|
143
|
+
return {
|
|
144
|
+
width,
|
|
145
|
+
height,
|
|
146
|
+
top: y,
|
|
147
|
+
left: x,
|
|
148
|
+
right: x + width,
|
|
149
|
+
bottom: y + height,
|
|
150
|
+
x,
|
|
151
|
+
y
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
// node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
156
|
+
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
157
|
+
let {
|
|
158
|
+
reference,
|
|
159
|
+
floating
|
|
160
|
+
} = _ref;
|
|
161
|
+
const sideAxis = getSideAxis(placement);
|
|
162
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
163
|
+
const alignLength = getAxisLength(alignmentAxis);
|
|
164
|
+
const side = getSide(placement);
|
|
165
|
+
const isVertical = sideAxis === "y";
|
|
166
|
+
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
167
|
+
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
168
|
+
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
169
|
+
let coords;
|
|
170
|
+
switch (side) {
|
|
171
|
+
case "top":
|
|
172
|
+
coords = {
|
|
173
|
+
x: commonX,
|
|
174
|
+
y: reference.y - floating.height
|
|
175
|
+
};
|
|
176
|
+
break;
|
|
177
|
+
case "bottom":
|
|
178
|
+
coords = {
|
|
179
|
+
x: commonX,
|
|
180
|
+
y: reference.y + reference.height
|
|
181
|
+
};
|
|
182
|
+
break;
|
|
183
|
+
case "right":
|
|
184
|
+
coords = {
|
|
185
|
+
x: reference.x + reference.width,
|
|
186
|
+
y: commonY
|
|
187
|
+
};
|
|
188
|
+
break;
|
|
189
|
+
case "left":
|
|
190
|
+
coords = {
|
|
191
|
+
x: reference.x - floating.width,
|
|
192
|
+
y: commonY
|
|
193
|
+
};
|
|
194
|
+
break;
|
|
195
|
+
default:
|
|
196
|
+
coords = {
|
|
197
|
+
x: reference.x,
|
|
198
|
+
y: reference.y
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
switch (getAlignment(placement)) {
|
|
202
|
+
case "start":
|
|
203
|
+
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
|
204
|
+
break;
|
|
205
|
+
case "end":
|
|
206
|
+
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
207
|
+
break;
|
|
208
|
+
}
|
|
209
|
+
return coords;
|
|
210
|
+
}
|
|
211
|
+
async function detectOverflow(state, options) {
|
|
212
|
+
var _await$platform$isEle;
|
|
213
|
+
if (options === void 0) {
|
|
214
|
+
options = {};
|
|
215
|
+
}
|
|
216
|
+
const {
|
|
217
|
+
x,
|
|
218
|
+
y,
|
|
219
|
+
platform: platform2,
|
|
220
|
+
rects,
|
|
221
|
+
elements,
|
|
222
|
+
strategy
|
|
223
|
+
} = state;
|
|
224
|
+
const {
|
|
225
|
+
boundary = "clippingAncestors",
|
|
226
|
+
rootBoundary = "viewport",
|
|
227
|
+
elementContext = "floating",
|
|
228
|
+
altBoundary = false,
|
|
229
|
+
padding = 0
|
|
230
|
+
} = evaluate(options, state);
|
|
231
|
+
const paddingObject = getPaddingObject(padding);
|
|
232
|
+
const altContext = elementContext === "floating" ? "reference" : "floating";
|
|
233
|
+
const element = elements[altBoundary ? altContext : elementContext];
|
|
234
|
+
const clippingClientRect = rectToClientRect(await platform2.getClippingRect({
|
|
235
|
+
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)),
|
|
236
|
+
boundary,
|
|
237
|
+
rootBoundary,
|
|
238
|
+
strategy
|
|
239
|
+
}));
|
|
240
|
+
const rect = elementContext === "floating" ? {
|
|
241
|
+
x,
|
|
242
|
+
y,
|
|
243
|
+
width: rects.floating.width,
|
|
244
|
+
height: rects.floating.height
|
|
245
|
+
} : rects.reference;
|
|
246
|
+
const offsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(elements.floating));
|
|
247
|
+
const offsetScale = await (platform2.isElement == null ? void 0 : platform2.isElement(offsetParent)) ? await (platform2.getScale == null ? void 0 : platform2.getScale(offsetParent)) || {
|
|
248
|
+
x: 1,
|
|
249
|
+
y: 1
|
|
250
|
+
} : {
|
|
251
|
+
x: 1,
|
|
252
|
+
y: 1
|
|
253
|
+
};
|
|
254
|
+
const elementClientRect = rectToClientRect(platform2.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform2.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
255
|
+
elements,
|
|
256
|
+
rect,
|
|
257
|
+
offsetParent,
|
|
258
|
+
strategy
|
|
259
|
+
}) : rect);
|
|
260
|
+
return {
|
|
261
|
+
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
262
|
+
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
263
|
+
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
264
|
+
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
265
|
+
};
|
|
266
|
+
}
|
|
267
|
+
var MAX_RESET_COUNT = 50;
|
|
268
|
+
var computePosition = async (reference, floating, config) => {
|
|
269
|
+
const {
|
|
270
|
+
placement = "bottom",
|
|
271
|
+
strategy = "absolute",
|
|
272
|
+
middleware = [],
|
|
273
|
+
platform: platform2
|
|
274
|
+
} = config;
|
|
275
|
+
const platformWithDetectOverflow = platform2.detectOverflow ? platform2 : __spreadProps(__spreadValues({}, platform2), {
|
|
276
|
+
detectOverflow
|
|
277
|
+
});
|
|
278
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(floating));
|
|
279
|
+
let rects = await platform2.getElementRects({
|
|
280
|
+
reference,
|
|
281
|
+
floating,
|
|
282
|
+
strategy
|
|
283
|
+
});
|
|
284
|
+
let {
|
|
285
|
+
x,
|
|
286
|
+
y
|
|
287
|
+
} = computeCoordsFromPlacement(rects, placement, rtl);
|
|
288
|
+
let statefulPlacement = placement;
|
|
289
|
+
let resetCount = 0;
|
|
290
|
+
const middlewareData = {};
|
|
291
|
+
for (let i2 = 0; i2 < middleware.length; i2++) {
|
|
292
|
+
const currentMiddleware = middleware[i2];
|
|
293
|
+
if (!currentMiddleware) {
|
|
294
|
+
continue;
|
|
295
|
+
}
|
|
296
|
+
const {
|
|
297
|
+
name,
|
|
298
|
+
fn
|
|
299
|
+
} = currentMiddleware;
|
|
300
|
+
const {
|
|
301
|
+
x: nextX,
|
|
302
|
+
y: nextY,
|
|
303
|
+
data,
|
|
304
|
+
reset
|
|
305
|
+
} = await fn({
|
|
306
|
+
x,
|
|
307
|
+
y,
|
|
308
|
+
initialPlacement: placement,
|
|
309
|
+
placement: statefulPlacement,
|
|
310
|
+
strategy,
|
|
311
|
+
middlewareData,
|
|
312
|
+
rects,
|
|
313
|
+
platform: platformWithDetectOverflow,
|
|
314
|
+
elements: {
|
|
315
|
+
reference,
|
|
316
|
+
floating
|
|
317
|
+
}
|
|
318
|
+
});
|
|
319
|
+
x = nextX != null ? nextX : x;
|
|
320
|
+
y = nextY != null ? nextY : y;
|
|
321
|
+
middlewareData[name] = __spreadValues(__spreadValues({}, middlewareData[name]), data);
|
|
322
|
+
if (reset && resetCount < MAX_RESET_COUNT) {
|
|
323
|
+
resetCount++;
|
|
324
|
+
if (typeof reset === "object") {
|
|
325
|
+
if (reset.placement) {
|
|
326
|
+
statefulPlacement = reset.placement;
|
|
327
|
+
}
|
|
328
|
+
if (reset.rects) {
|
|
329
|
+
rects = reset.rects === true ? await platform2.getElementRects({
|
|
330
|
+
reference,
|
|
331
|
+
floating,
|
|
332
|
+
strategy
|
|
333
|
+
}) : reset.rects;
|
|
334
|
+
}
|
|
335
|
+
({
|
|
336
|
+
x,
|
|
337
|
+
y
|
|
338
|
+
} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
|
|
339
|
+
}
|
|
340
|
+
i2 = -1;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
return {
|
|
344
|
+
x,
|
|
345
|
+
y,
|
|
346
|
+
placement: statefulPlacement,
|
|
347
|
+
strategy,
|
|
348
|
+
middlewareData
|
|
349
|
+
};
|
|
350
|
+
};
|
|
351
|
+
var arrow = (options) => ({
|
|
352
|
+
name: "arrow",
|
|
353
|
+
options,
|
|
354
|
+
async fn(state) {
|
|
355
|
+
const {
|
|
356
|
+
x,
|
|
357
|
+
y,
|
|
358
|
+
placement,
|
|
359
|
+
rects,
|
|
360
|
+
platform: platform2,
|
|
361
|
+
elements,
|
|
362
|
+
middlewareData
|
|
363
|
+
} = state;
|
|
364
|
+
const {
|
|
365
|
+
element,
|
|
366
|
+
padding = 0
|
|
367
|
+
} = evaluate(options, state) || {};
|
|
368
|
+
if (element == null) {
|
|
369
|
+
return {};
|
|
370
|
+
}
|
|
371
|
+
const paddingObject = getPaddingObject(padding);
|
|
372
|
+
const coords = {
|
|
373
|
+
x,
|
|
374
|
+
y
|
|
375
|
+
};
|
|
376
|
+
const axis = getAlignmentAxis(placement);
|
|
377
|
+
const length = getAxisLength(axis);
|
|
378
|
+
const arrowDimensions = await platform2.getDimensions(element);
|
|
379
|
+
const isYAxis = axis === "y";
|
|
380
|
+
const minProp = isYAxis ? "top" : "left";
|
|
381
|
+
const maxProp = isYAxis ? "bottom" : "right";
|
|
382
|
+
const clientProp = isYAxis ? "clientHeight" : "clientWidth";
|
|
383
|
+
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
384
|
+
const startDiff = coords[axis] - rects.reference[axis];
|
|
385
|
+
const arrowOffsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(element));
|
|
386
|
+
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
387
|
+
if (!clientSize || !await (platform2.isElement == null ? void 0 : platform2.isElement(arrowOffsetParent))) {
|
|
388
|
+
clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
389
|
+
}
|
|
390
|
+
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
391
|
+
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
392
|
+
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
|
393
|
+
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
|
394
|
+
const min$1 = minPadding;
|
|
395
|
+
const max2 = clientSize - arrowDimensions[length] - maxPadding;
|
|
396
|
+
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
397
|
+
const offset3 = clamp(min$1, center, max2);
|
|
398
|
+
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset3 && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
399
|
+
const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max2 : 0;
|
|
400
|
+
return {
|
|
401
|
+
[axis]: coords[axis] + alignmentOffset,
|
|
402
|
+
data: __spreadValues({
|
|
403
|
+
[axis]: offset3,
|
|
404
|
+
centerOffset: center - offset3 - alignmentOffset
|
|
405
|
+
}, shouldAddOffset && {
|
|
406
|
+
alignmentOffset
|
|
407
|
+
}),
|
|
408
|
+
reset: shouldAddOffset
|
|
409
|
+
};
|
|
410
|
+
}
|
|
411
|
+
});
|
|
412
|
+
var flip = function(options) {
|
|
413
|
+
if (options === void 0) {
|
|
414
|
+
options = {};
|
|
415
|
+
}
|
|
416
|
+
return {
|
|
417
|
+
name: "flip",
|
|
418
|
+
options,
|
|
419
|
+
async fn(state) {
|
|
420
|
+
var _middlewareData$arrow, _middlewareData$flip;
|
|
421
|
+
const {
|
|
422
|
+
placement,
|
|
423
|
+
middlewareData,
|
|
424
|
+
rects,
|
|
425
|
+
initialPlacement,
|
|
426
|
+
platform: platform2,
|
|
427
|
+
elements
|
|
428
|
+
} = state;
|
|
429
|
+
const _a = evaluate(options, state), {
|
|
430
|
+
mainAxis: checkMainAxis = true,
|
|
431
|
+
crossAxis: checkCrossAxis = true,
|
|
432
|
+
fallbackPlacements: specifiedFallbackPlacements,
|
|
433
|
+
fallbackStrategy = "bestFit",
|
|
434
|
+
fallbackAxisSideDirection = "none",
|
|
435
|
+
flipAlignment = true
|
|
436
|
+
} = _a, detectOverflowOptions = __objRest(_a, [
|
|
437
|
+
"mainAxis",
|
|
438
|
+
"crossAxis",
|
|
439
|
+
"fallbackPlacements",
|
|
440
|
+
"fallbackStrategy",
|
|
441
|
+
"fallbackAxisSideDirection",
|
|
442
|
+
"flipAlignment"
|
|
443
|
+
]);
|
|
444
|
+
if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
445
|
+
return {};
|
|
446
|
+
}
|
|
447
|
+
const side = getSide(placement);
|
|
448
|
+
const initialSideAxis = getSideAxis(initialPlacement);
|
|
449
|
+
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
450
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
|
|
451
|
+
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
452
|
+
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== "none";
|
|
453
|
+
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
|
454
|
+
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
455
|
+
}
|
|
456
|
+
const placements2 = [initialPlacement, ...fallbackPlacements];
|
|
457
|
+
const overflow = await platform2.detectOverflow(state, detectOverflowOptions);
|
|
458
|
+
const overflows = [];
|
|
459
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
460
|
+
if (checkMainAxis) {
|
|
461
|
+
overflows.push(overflow[side]);
|
|
462
|
+
}
|
|
463
|
+
if (checkCrossAxis) {
|
|
464
|
+
const sides2 = getAlignmentSides(placement, rects, rtl);
|
|
465
|
+
overflows.push(overflow[sides2[0]], overflow[sides2[1]]);
|
|
466
|
+
}
|
|
467
|
+
overflowsData = [...overflowsData, {
|
|
468
|
+
placement,
|
|
469
|
+
overflows
|
|
470
|
+
}];
|
|
471
|
+
if (!overflows.every((side2) => side2 <= 0)) {
|
|
472
|
+
var _middlewareData$flip2, _overflowsData$filter;
|
|
473
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
474
|
+
const nextPlacement = placements2[nextIndex];
|
|
475
|
+
if (nextPlacement) {
|
|
476
|
+
const ignoreCrossAxisOverflow = checkCrossAxis === "alignment" ? initialSideAxis !== getSideAxis(nextPlacement) : false;
|
|
477
|
+
if (!ignoreCrossAxisOverflow || // We leave the current main axis only if every placement on that axis
|
|
478
|
+
// overflows the main axis.
|
|
479
|
+
overflowsData.every((d) => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {
|
|
480
|
+
return {
|
|
481
|
+
data: {
|
|
482
|
+
index: nextIndex,
|
|
483
|
+
overflows: overflowsData
|
|
484
|
+
},
|
|
485
|
+
reset: {
|
|
486
|
+
placement: nextPlacement
|
|
487
|
+
}
|
|
488
|
+
};
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a, b2) => a.overflows[1] - b2.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
|
|
492
|
+
if (!resetPlacement) {
|
|
493
|
+
switch (fallbackStrategy) {
|
|
494
|
+
case "bestFit": {
|
|
495
|
+
var _overflowsData$filter2;
|
|
496
|
+
const placement2 = (_overflowsData$filter2 = overflowsData.filter((d) => {
|
|
497
|
+
if (hasFallbackAxisSideDirection) {
|
|
498
|
+
const currentSideAxis = getSideAxis(d.placement);
|
|
499
|
+
return currentSideAxis === initialSideAxis || // Create a bias to the `y` side axis due to horizontal
|
|
500
|
+
// reading directions favoring greater width.
|
|
501
|
+
currentSideAxis === "y";
|
|
502
|
+
}
|
|
503
|
+
return true;
|
|
504
|
+
}).map((d) => [d.placement, d.overflows.filter((overflow2) => overflow2 > 0).reduce((acc, overflow2) => acc + overflow2, 0)]).sort((a, b2) => a[1] - b2[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
|
|
505
|
+
if (placement2) {
|
|
506
|
+
resetPlacement = placement2;
|
|
507
|
+
}
|
|
508
|
+
break;
|
|
509
|
+
}
|
|
510
|
+
case "initialPlacement":
|
|
511
|
+
resetPlacement = initialPlacement;
|
|
512
|
+
break;
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
if (placement !== resetPlacement) {
|
|
516
|
+
return {
|
|
517
|
+
reset: {
|
|
518
|
+
placement: resetPlacement
|
|
519
|
+
}
|
|
520
|
+
};
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
return {};
|
|
524
|
+
}
|
|
525
|
+
};
|
|
526
|
+
};
|
|
527
|
+
var originSides = /* @__PURE__ */ new Set(["left", "top"]);
|
|
528
|
+
async function convertValueToCoords(state, options) {
|
|
529
|
+
const {
|
|
530
|
+
placement,
|
|
531
|
+
platform: platform2,
|
|
532
|
+
elements
|
|
533
|
+
} = state;
|
|
534
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
|
|
535
|
+
const side = getSide(placement);
|
|
536
|
+
const alignment = getAlignment(placement);
|
|
537
|
+
const isVertical = getSideAxis(placement) === "y";
|
|
538
|
+
const mainAxisMulti = originSides.has(side) ? -1 : 1;
|
|
539
|
+
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
540
|
+
const rawValue = evaluate(options, state);
|
|
541
|
+
let {
|
|
542
|
+
mainAxis,
|
|
543
|
+
crossAxis,
|
|
544
|
+
alignmentAxis
|
|
545
|
+
} = typeof rawValue === "number" ? {
|
|
546
|
+
mainAxis: rawValue,
|
|
547
|
+
crossAxis: 0,
|
|
548
|
+
alignmentAxis: null
|
|
549
|
+
} : {
|
|
550
|
+
mainAxis: rawValue.mainAxis || 0,
|
|
551
|
+
crossAxis: rawValue.crossAxis || 0,
|
|
552
|
+
alignmentAxis: rawValue.alignmentAxis
|
|
553
|
+
};
|
|
554
|
+
if (alignment && typeof alignmentAxis === "number") {
|
|
555
|
+
crossAxis = alignment === "end" ? alignmentAxis * -1 : alignmentAxis;
|
|
556
|
+
}
|
|
557
|
+
return isVertical ? {
|
|
558
|
+
x: crossAxis * crossAxisMulti,
|
|
559
|
+
y: mainAxis * mainAxisMulti
|
|
560
|
+
} : {
|
|
561
|
+
x: mainAxis * mainAxisMulti,
|
|
562
|
+
y: crossAxis * crossAxisMulti
|
|
563
|
+
};
|
|
564
|
+
}
|
|
565
|
+
var offset = function(options) {
|
|
566
|
+
if (options === void 0) {
|
|
567
|
+
options = 0;
|
|
568
|
+
}
|
|
569
|
+
return {
|
|
570
|
+
name: "offset",
|
|
571
|
+
options,
|
|
572
|
+
async fn(state) {
|
|
573
|
+
var _middlewareData$offse, _middlewareData$arrow;
|
|
574
|
+
const {
|
|
575
|
+
x,
|
|
576
|
+
y,
|
|
577
|
+
placement,
|
|
578
|
+
middlewareData
|
|
579
|
+
} = state;
|
|
580
|
+
const diffCoords = await convertValueToCoords(state, options);
|
|
581
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
582
|
+
return {};
|
|
583
|
+
}
|
|
584
|
+
return {
|
|
585
|
+
x: x + diffCoords.x,
|
|
586
|
+
y: y + diffCoords.y,
|
|
587
|
+
data: __spreadProps(__spreadValues({}, diffCoords), {
|
|
588
|
+
placement
|
|
589
|
+
})
|
|
590
|
+
};
|
|
591
|
+
}
|
|
592
|
+
};
|
|
593
|
+
};
|
|
594
|
+
var shift = function(options) {
|
|
595
|
+
if (options === void 0) {
|
|
596
|
+
options = {};
|
|
597
|
+
}
|
|
598
|
+
return {
|
|
599
|
+
name: "shift",
|
|
600
|
+
options,
|
|
601
|
+
async fn(state) {
|
|
602
|
+
const {
|
|
603
|
+
x,
|
|
604
|
+
y,
|
|
605
|
+
placement,
|
|
606
|
+
platform: platform2
|
|
607
|
+
} = state;
|
|
608
|
+
const _a = evaluate(options, state), {
|
|
609
|
+
mainAxis: checkMainAxis = true,
|
|
610
|
+
crossAxis: checkCrossAxis = false,
|
|
611
|
+
limiter = {
|
|
612
|
+
fn: (_ref) => {
|
|
613
|
+
let {
|
|
614
|
+
x: x2,
|
|
615
|
+
y: y2
|
|
616
|
+
} = _ref;
|
|
617
|
+
return {
|
|
618
|
+
x: x2,
|
|
619
|
+
y: y2
|
|
620
|
+
};
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
} = _a, detectOverflowOptions = __objRest(_a, [
|
|
624
|
+
"mainAxis",
|
|
625
|
+
"crossAxis",
|
|
626
|
+
"limiter"
|
|
627
|
+
]);
|
|
628
|
+
const coords = {
|
|
629
|
+
x,
|
|
630
|
+
y
|
|
631
|
+
};
|
|
632
|
+
const overflow = await platform2.detectOverflow(state, detectOverflowOptions);
|
|
633
|
+
const crossAxis = getSideAxis(getSide(placement));
|
|
634
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
|
635
|
+
let mainAxisCoord = coords[mainAxis];
|
|
636
|
+
let crossAxisCoord = coords[crossAxis];
|
|
637
|
+
if (checkMainAxis) {
|
|
638
|
+
const minSide = mainAxis === "y" ? "top" : "left";
|
|
639
|
+
const maxSide = mainAxis === "y" ? "bottom" : "right";
|
|
640
|
+
const min2 = mainAxisCoord + overflow[minSide];
|
|
641
|
+
const max2 = mainAxisCoord - overflow[maxSide];
|
|
642
|
+
mainAxisCoord = clamp(min2, mainAxisCoord, max2);
|
|
643
|
+
}
|
|
644
|
+
if (checkCrossAxis) {
|
|
645
|
+
const minSide = crossAxis === "y" ? "top" : "left";
|
|
646
|
+
const maxSide = crossAxis === "y" ? "bottom" : "right";
|
|
647
|
+
const min2 = crossAxisCoord + overflow[minSide];
|
|
648
|
+
const max2 = crossAxisCoord - overflow[maxSide];
|
|
649
|
+
crossAxisCoord = clamp(min2, crossAxisCoord, max2);
|
|
650
|
+
}
|
|
651
|
+
const limitedCoords = limiter.fn(__spreadProps(__spreadValues({}, state), {
|
|
652
|
+
[mainAxis]: mainAxisCoord,
|
|
653
|
+
[crossAxis]: crossAxisCoord
|
|
654
|
+
}));
|
|
655
|
+
return __spreadProps(__spreadValues({}, limitedCoords), {
|
|
656
|
+
data: {
|
|
657
|
+
x: limitedCoords.x - x,
|
|
658
|
+
y: limitedCoords.y - y,
|
|
659
|
+
enabled: {
|
|
660
|
+
[mainAxis]: checkMainAxis,
|
|
661
|
+
[crossAxis]: checkCrossAxis
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
});
|
|
665
|
+
}
|
|
666
|
+
};
|
|
667
|
+
};
|
|
668
|
+
var size = function(options) {
|
|
669
|
+
if (options === void 0) {
|
|
670
|
+
options = {};
|
|
671
|
+
}
|
|
672
|
+
return {
|
|
673
|
+
name: "size",
|
|
674
|
+
options,
|
|
675
|
+
async fn(state) {
|
|
676
|
+
var _state$middlewareData, _state$middlewareData2;
|
|
677
|
+
const {
|
|
678
|
+
placement,
|
|
679
|
+
rects,
|
|
680
|
+
platform: platform2,
|
|
681
|
+
elements
|
|
682
|
+
} = state;
|
|
683
|
+
const _a = evaluate(options, state), {
|
|
684
|
+
apply = () => {
|
|
685
|
+
}
|
|
686
|
+
} = _a, detectOverflowOptions = __objRest(_a, [
|
|
687
|
+
"apply"
|
|
688
|
+
]);
|
|
689
|
+
const overflow = await platform2.detectOverflow(state, detectOverflowOptions);
|
|
690
|
+
const side = getSide(placement);
|
|
691
|
+
const alignment = getAlignment(placement);
|
|
692
|
+
const isYAxis = getSideAxis(placement) === "y";
|
|
693
|
+
const {
|
|
694
|
+
width,
|
|
695
|
+
height
|
|
696
|
+
} = rects.floating;
|
|
697
|
+
let heightSide;
|
|
698
|
+
let widthSide;
|
|
699
|
+
if (side === "top" || side === "bottom") {
|
|
700
|
+
heightSide = side;
|
|
701
|
+
widthSide = alignment === (await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating)) ? "start" : "end") ? "left" : "right";
|
|
702
|
+
} else {
|
|
703
|
+
widthSide = side;
|
|
704
|
+
heightSide = alignment === "end" ? "top" : "bottom";
|
|
705
|
+
}
|
|
706
|
+
const maximumClippingHeight = height - overflow.top - overflow.bottom;
|
|
707
|
+
const maximumClippingWidth = width - overflow.left - overflow.right;
|
|
708
|
+
const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
|
|
709
|
+
const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
|
|
710
|
+
const noShift = !state.middlewareData.shift;
|
|
711
|
+
let availableHeight = overflowAvailableHeight;
|
|
712
|
+
let availableWidth = overflowAvailableWidth;
|
|
713
|
+
if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {
|
|
714
|
+
availableWidth = maximumClippingWidth;
|
|
715
|
+
}
|
|
716
|
+
if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {
|
|
717
|
+
availableHeight = maximumClippingHeight;
|
|
718
|
+
}
|
|
719
|
+
if (noShift && !alignment) {
|
|
720
|
+
const xMin = max(overflow.left, 0);
|
|
721
|
+
const xMax = max(overflow.right, 0);
|
|
722
|
+
const yMin = max(overflow.top, 0);
|
|
723
|
+
const yMax = max(overflow.bottom, 0);
|
|
724
|
+
if (isYAxis) {
|
|
725
|
+
availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
|
|
726
|
+
} else {
|
|
727
|
+
availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
await apply(__spreadProps(__spreadValues({}, state), {
|
|
731
|
+
availableWidth,
|
|
732
|
+
availableHeight
|
|
733
|
+
}));
|
|
734
|
+
const nextDimensions = await platform2.getDimensions(elements.floating);
|
|
735
|
+
if (width !== nextDimensions.width || height !== nextDimensions.height) {
|
|
736
|
+
return {
|
|
737
|
+
reset: {
|
|
738
|
+
rects: true
|
|
739
|
+
}
|
|
740
|
+
};
|
|
741
|
+
}
|
|
742
|
+
return {};
|
|
743
|
+
}
|
|
744
|
+
};
|
|
745
|
+
};
|
|
746
|
+
|
|
747
|
+
// node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
748
|
+
function hasWindow() {
|
|
749
|
+
return typeof window !== "undefined";
|
|
750
|
+
}
|
|
751
|
+
function getNodeName(node) {
|
|
752
|
+
if (isNode(node)) {
|
|
753
|
+
return (node.nodeName || "").toLowerCase();
|
|
754
|
+
}
|
|
755
|
+
return "#document";
|
|
756
|
+
}
|
|
757
|
+
function getWindow(node) {
|
|
758
|
+
var _node$ownerDocument;
|
|
759
|
+
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
760
|
+
}
|
|
761
|
+
function getDocumentElement(node) {
|
|
762
|
+
var _ref;
|
|
763
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
764
|
+
}
|
|
765
|
+
function isNode(value) {
|
|
766
|
+
if (!hasWindow()) {
|
|
767
|
+
return false;
|
|
768
|
+
}
|
|
769
|
+
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
770
|
+
}
|
|
771
|
+
function isElement(value) {
|
|
772
|
+
if (!hasWindow()) {
|
|
773
|
+
return false;
|
|
774
|
+
}
|
|
775
|
+
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
776
|
+
}
|
|
777
|
+
function isHTMLElement(value) {
|
|
778
|
+
if (!hasWindow()) {
|
|
779
|
+
return false;
|
|
780
|
+
}
|
|
781
|
+
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
782
|
+
}
|
|
783
|
+
function isShadowRoot(value) {
|
|
784
|
+
if (!hasWindow() || typeof ShadowRoot === "undefined") {
|
|
785
|
+
return false;
|
|
786
|
+
}
|
|
787
|
+
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
788
|
+
}
|
|
789
|
+
function isOverflowElement(element) {
|
|
790
|
+
const {
|
|
791
|
+
overflow,
|
|
792
|
+
overflowX,
|
|
793
|
+
overflowY,
|
|
794
|
+
display
|
|
795
|
+
} = getComputedStyle2(element);
|
|
796
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== "inline" && display !== "contents";
|
|
797
|
+
}
|
|
798
|
+
function isTableElement(element) {
|
|
799
|
+
return /^(table|td|th)$/.test(getNodeName(element));
|
|
800
|
+
}
|
|
801
|
+
function isTopLayer(element) {
|
|
802
|
+
try {
|
|
803
|
+
if (element.matches(":popover-open")) {
|
|
804
|
+
return true;
|
|
805
|
+
}
|
|
806
|
+
} catch (_e) {
|
|
807
|
+
}
|
|
808
|
+
try {
|
|
809
|
+
return element.matches(":modal");
|
|
810
|
+
} catch (_e) {
|
|
811
|
+
return false;
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
var willChangeRe = /transform|translate|scale|rotate|perspective|filter/;
|
|
815
|
+
var containRe = /paint|layout|strict|content/;
|
|
816
|
+
var isNotNone = (value) => !!value && value !== "none";
|
|
817
|
+
var isWebKitValue;
|
|
818
|
+
function isContainingBlock(elementOrCss) {
|
|
819
|
+
const css = isElement(elementOrCss) ? getComputedStyle2(elementOrCss) : elementOrCss;
|
|
820
|
+
return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || "") || containRe.test(css.contain || "");
|
|
821
|
+
}
|
|
822
|
+
function getContainingBlock(element) {
|
|
823
|
+
let currentNode = getParentNode(element);
|
|
824
|
+
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
825
|
+
if (isContainingBlock(currentNode)) {
|
|
826
|
+
return currentNode;
|
|
827
|
+
} else if (isTopLayer(currentNode)) {
|
|
828
|
+
return null;
|
|
829
|
+
}
|
|
830
|
+
currentNode = getParentNode(currentNode);
|
|
831
|
+
}
|
|
832
|
+
return null;
|
|
833
|
+
}
|
|
834
|
+
function isWebKit() {
|
|
835
|
+
if (isWebKitValue == null) {
|
|
836
|
+
isWebKitValue = typeof CSS !== "undefined" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none");
|
|
837
|
+
}
|
|
838
|
+
return isWebKitValue;
|
|
839
|
+
}
|
|
840
|
+
function isLastTraversableNode(node) {
|
|
841
|
+
return /^(html|body|#document)$/.test(getNodeName(node));
|
|
842
|
+
}
|
|
843
|
+
function getComputedStyle2(element) {
|
|
844
|
+
return getWindow(element).getComputedStyle(element);
|
|
845
|
+
}
|
|
846
|
+
function getNodeScroll(element) {
|
|
847
|
+
if (isElement(element)) {
|
|
848
|
+
return {
|
|
849
|
+
scrollLeft: element.scrollLeft,
|
|
850
|
+
scrollTop: element.scrollTop
|
|
851
|
+
};
|
|
852
|
+
}
|
|
853
|
+
return {
|
|
854
|
+
scrollLeft: element.scrollX,
|
|
855
|
+
scrollTop: element.scrollY
|
|
856
|
+
};
|
|
857
|
+
}
|
|
858
|
+
function getParentNode(node) {
|
|
859
|
+
if (getNodeName(node) === "html") {
|
|
860
|
+
return node;
|
|
861
|
+
}
|
|
862
|
+
const result = (
|
|
863
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
864
|
+
node.assignedSlot || // DOM Element detected.
|
|
865
|
+
node.parentNode || // ShadowRoot detected.
|
|
866
|
+
isShadowRoot(node) && node.host || // Fallback.
|
|
867
|
+
getDocumentElement(node)
|
|
868
|
+
);
|
|
869
|
+
return isShadowRoot(result) ? result.host : result;
|
|
870
|
+
}
|
|
871
|
+
function getNearestOverflowAncestor(node) {
|
|
872
|
+
const parentNode = getParentNode(node);
|
|
873
|
+
if (isLastTraversableNode(parentNode)) {
|
|
874
|
+
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
875
|
+
}
|
|
876
|
+
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
877
|
+
return parentNode;
|
|
878
|
+
}
|
|
879
|
+
return getNearestOverflowAncestor(parentNode);
|
|
880
|
+
}
|
|
881
|
+
function getOverflowAncestors(node, list, traverseIframes) {
|
|
882
|
+
var _node$ownerDocument2;
|
|
883
|
+
if (list === void 0) {
|
|
884
|
+
list = [];
|
|
885
|
+
}
|
|
886
|
+
if (traverseIframes === void 0) {
|
|
887
|
+
traverseIframes = true;
|
|
888
|
+
}
|
|
889
|
+
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
890
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
891
|
+
const win = getWindow(scrollableAncestor);
|
|
892
|
+
if (isBody) {
|
|
893
|
+
const frameElement = getFrameElement(win);
|
|
894
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
|
|
895
|
+
} else {
|
|
896
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
function getFrameElement(win) {
|
|
900
|
+
return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
// node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
904
|
+
function getCssDimensions(element) {
|
|
905
|
+
const css = getComputedStyle2(element);
|
|
906
|
+
let width = parseFloat(css.width) || 0;
|
|
907
|
+
let height = parseFloat(css.height) || 0;
|
|
908
|
+
const hasOffset = isHTMLElement(element);
|
|
909
|
+
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
910
|
+
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
911
|
+
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
912
|
+
if (shouldFallback) {
|
|
913
|
+
width = offsetWidth;
|
|
914
|
+
height = offsetHeight;
|
|
915
|
+
}
|
|
916
|
+
return {
|
|
917
|
+
width,
|
|
918
|
+
height,
|
|
919
|
+
$: shouldFallback
|
|
920
|
+
};
|
|
921
|
+
}
|
|
922
|
+
function unwrapElement(element) {
|
|
923
|
+
return !isElement(element) ? element.contextElement : element;
|
|
924
|
+
}
|
|
925
|
+
function getScale(element) {
|
|
926
|
+
const domElement = unwrapElement(element);
|
|
927
|
+
if (!isHTMLElement(domElement)) {
|
|
928
|
+
return createCoords(1);
|
|
929
|
+
}
|
|
930
|
+
const rect = domElement.getBoundingClientRect();
|
|
931
|
+
const {
|
|
932
|
+
width,
|
|
933
|
+
height,
|
|
934
|
+
$
|
|
935
|
+
} = getCssDimensions(domElement);
|
|
936
|
+
let x = ($ ? round(rect.width) : rect.width) / width;
|
|
937
|
+
let y = ($ ? round(rect.height) : rect.height) / height;
|
|
938
|
+
if (!x || !Number.isFinite(x)) {
|
|
939
|
+
x = 1;
|
|
940
|
+
}
|
|
941
|
+
if (!y || !Number.isFinite(y)) {
|
|
942
|
+
y = 1;
|
|
943
|
+
}
|
|
944
|
+
return {
|
|
945
|
+
x,
|
|
946
|
+
y
|
|
947
|
+
};
|
|
948
|
+
}
|
|
949
|
+
var noOffsets = /* @__PURE__ */ createCoords(0);
|
|
950
|
+
function getVisualOffsets(element) {
|
|
951
|
+
const win = getWindow(element);
|
|
952
|
+
if (!isWebKit() || !win.visualViewport) {
|
|
953
|
+
return noOffsets;
|
|
954
|
+
}
|
|
955
|
+
return {
|
|
956
|
+
x: win.visualViewport.offsetLeft,
|
|
957
|
+
y: win.visualViewport.offsetTop
|
|
958
|
+
};
|
|
959
|
+
}
|
|
960
|
+
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
961
|
+
if (isFixed === void 0) {
|
|
962
|
+
isFixed = false;
|
|
963
|
+
}
|
|
964
|
+
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
965
|
+
return false;
|
|
966
|
+
}
|
|
967
|
+
return isFixed;
|
|
968
|
+
}
|
|
969
|
+
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
970
|
+
if (includeScale === void 0) {
|
|
971
|
+
includeScale = false;
|
|
972
|
+
}
|
|
973
|
+
if (isFixedStrategy === void 0) {
|
|
974
|
+
isFixedStrategy = false;
|
|
975
|
+
}
|
|
976
|
+
const clientRect = element.getBoundingClientRect();
|
|
977
|
+
const domElement = unwrapElement(element);
|
|
978
|
+
let scale = createCoords(1);
|
|
979
|
+
if (includeScale) {
|
|
980
|
+
if (offsetParent) {
|
|
981
|
+
if (isElement(offsetParent)) {
|
|
982
|
+
scale = getScale(offsetParent);
|
|
983
|
+
}
|
|
984
|
+
} else {
|
|
985
|
+
scale = getScale(element);
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
|
989
|
+
let x = (clientRect.left + visualOffsets.x) / scale.x;
|
|
990
|
+
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
991
|
+
let width = clientRect.width / scale.x;
|
|
992
|
+
let height = clientRect.height / scale.y;
|
|
993
|
+
if (domElement) {
|
|
994
|
+
const win = getWindow(domElement);
|
|
995
|
+
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
996
|
+
let currentWin = win;
|
|
997
|
+
let currentIFrame = getFrameElement(currentWin);
|
|
998
|
+
while (currentIFrame && offsetParent && offsetWin !== currentWin) {
|
|
999
|
+
const iframeScale = getScale(currentIFrame);
|
|
1000
|
+
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
1001
|
+
const css = getComputedStyle2(currentIFrame);
|
|
1002
|
+
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
1003
|
+
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
1004
|
+
x *= iframeScale.x;
|
|
1005
|
+
y *= iframeScale.y;
|
|
1006
|
+
width *= iframeScale.x;
|
|
1007
|
+
height *= iframeScale.y;
|
|
1008
|
+
x += left;
|
|
1009
|
+
y += top;
|
|
1010
|
+
currentWin = getWindow(currentIFrame);
|
|
1011
|
+
currentIFrame = getFrameElement(currentWin);
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
return rectToClientRect({
|
|
1015
|
+
width,
|
|
1016
|
+
height,
|
|
1017
|
+
x,
|
|
1018
|
+
y
|
|
1019
|
+
});
|
|
1020
|
+
}
|
|
1021
|
+
function getWindowScrollBarX(element, rect) {
|
|
1022
|
+
const leftScroll = getNodeScroll(element).scrollLeft;
|
|
1023
|
+
if (!rect) {
|
|
1024
|
+
return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
|
|
1025
|
+
}
|
|
1026
|
+
return rect.left + leftScroll;
|
|
1027
|
+
}
|
|
1028
|
+
function getHTMLOffset(documentElement, scroll) {
|
|
1029
|
+
const htmlRect = documentElement.getBoundingClientRect();
|
|
1030
|
+
const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
|
|
1031
|
+
const y = htmlRect.top + scroll.scrollTop;
|
|
1032
|
+
return {
|
|
1033
|
+
x,
|
|
1034
|
+
y
|
|
1035
|
+
};
|
|
1036
|
+
}
|
|
1037
|
+
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
1038
|
+
let {
|
|
1039
|
+
elements,
|
|
1040
|
+
rect,
|
|
1041
|
+
offsetParent,
|
|
1042
|
+
strategy
|
|
1043
|
+
} = _ref;
|
|
1044
|
+
const isFixed = strategy === "fixed";
|
|
1045
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
1046
|
+
const topLayer = elements ? isTopLayer(elements.floating) : false;
|
|
1047
|
+
if (offsetParent === documentElement || topLayer && isFixed) {
|
|
1048
|
+
return rect;
|
|
1049
|
+
}
|
|
1050
|
+
let scroll = {
|
|
1051
|
+
scrollLeft: 0,
|
|
1052
|
+
scrollTop: 0
|
|
1053
|
+
};
|
|
1054
|
+
let scale = createCoords(1);
|
|
1055
|
+
const offsets = createCoords(0);
|
|
1056
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1057
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1058
|
+
if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
|
|
1059
|
+
scroll = getNodeScroll(offsetParent);
|
|
1060
|
+
}
|
|
1061
|
+
if (isOffsetParentAnElement) {
|
|
1062
|
+
const offsetRect = getBoundingClientRect(offsetParent);
|
|
1063
|
+
scale = getScale(offsetParent);
|
|
1064
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1065
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
1069
|
+
return {
|
|
1070
|
+
width: rect.width * scale.x,
|
|
1071
|
+
height: rect.height * scale.y,
|
|
1072
|
+
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,
|
|
1073
|
+
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y
|
|
1074
|
+
};
|
|
1075
|
+
}
|
|
1076
|
+
function getClientRects(element) {
|
|
1077
|
+
return Array.from(element.getClientRects());
|
|
1078
|
+
}
|
|
1079
|
+
function getDocumentRect(element) {
|
|
1080
|
+
const html = getDocumentElement(element);
|
|
1081
|
+
const scroll = getNodeScroll(element);
|
|
1082
|
+
const body = element.ownerDocument.body;
|
|
1083
|
+
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
|
1084
|
+
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
|
1085
|
+
let x = -scroll.scrollLeft + getWindowScrollBarX(element);
|
|
1086
|
+
const y = -scroll.scrollTop;
|
|
1087
|
+
if (getComputedStyle2(body).direction === "rtl") {
|
|
1088
|
+
x += max(html.clientWidth, body.clientWidth) - width;
|
|
1089
|
+
}
|
|
1090
|
+
return {
|
|
1091
|
+
width,
|
|
1092
|
+
height,
|
|
1093
|
+
x,
|
|
1094
|
+
y
|
|
1095
|
+
};
|
|
1096
|
+
}
|
|
1097
|
+
var SCROLLBAR_MAX = 25;
|
|
1098
|
+
function getViewportRect(element, strategy) {
|
|
1099
|
+
const win = getWindow(element);
|
|
1100
|
+
const html = getDocumentElement(element);
|
|
1101
|
+
const visualViewport = win.visualViewport;
|
|
1102
|
+
let width = html.clientWidth;
|
|
1103
|
+
let height = html.clientHeight;
|
|
1104
|
+
let x = 0;
|
|
1105
|
+
let y = 0;
|
|
1106
|
+
if (visualViewport) {
|
|
1107
|
+
width = visualViewport.width;
|
|
1108
|
+
height = visualViewport.height;
|
|
1109
|
+
const visualViewportBased = isWebKit();
|
|
1110
|
+
if (!visualViewportBased || visualViewportBased && strategy === "fixed") {
|
|
1111
|
+
x = visualViewport.offsetLeft;
|
|
1112
|
+
y = visualViewport.offsetTop;
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
const windowScrollbarX = getWindowScrollBarX(html);
|
|
1116
|
+
if (windowScrollbarX <= 0) {
|
|
1117
|
+
const doc = html.ownerDocument;
|
|
1118
|
+
const body = doc.body;
|
|
1119
|
+
const bodyStyles = getComputedStyle(body);
|
|
1120
|
+
const bodyMarginInline = doc.compatMode === "CSS1Compat" ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;
|
|
1121
|
+
const clippingStableScrollbarWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);
|
|
1122
|
+
if (clippingStableScrollbarWidth <= SCROLLBAR_MAX) {
|
|
1123
|
+
width -= clippingStableScrollbarWidth;
|
|
1124
|
+
}
|
|
1125
|
+
} else if (windowScrollbarX <= SCROLLBAR_MAX) {
|
|
1126
|
+
width += windowScrollbarX;
|
|
1127
|
+
}
|
|
1128
|
+
return {
|
|
1129
|
+
width,
|
|
1130
|
+
height,
|
|
1131
|
+
x,
|
|
1132
|
+
y
|
|
1133
|
+
};
|
|
1134
|
+
}
|
|
1135
|
+
function getInnerBoundingClientRect(element, strategy) {
|
|
1136
|
+
const clientRect = getBoundingClientRect(element, true, strategy === "fixed");
|
|
1137
|
+
const top = clientRect.top + element.clientTop;
|
|
1138
|
+
const left = clientRect.left + element.clientLeft;
|
|
1139
|
+
const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
|
|
1140
|
+
const width = element.clientWidth * scale.x;
|
|
1141
|
+
const height = element.clientHeight * scale.y;
|
|
1142
|
+
const x = left * scale.x;
|
|
1143
|
+
const y = top * scale.y;
|
|
1144
|
+
return {
|
|
1145
|
+
width,
|
|
1146
|
+
height,
|
|
1147
|
+
x,
|
|
1148
|
+
y
|
|
1149
|
+
};
|
|
1150
|
+
}
|
|
1151
|
+
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
|
1152
|
+
let rect;
|
|
1153
|
+
if (clippingAncestor === "viewport") {
|
|
1154
|
+
rect = getViewportRect(element, strategy);
|
|
1155
|
+
} else if (clippingAncestor === "document") {
|
|
1156
|
+
rect = getDocumentRect(getDocumentElement(element));
|
|
1157
|
+
} else if (isElement(clippingAncestor)) {
|
|
1158
|
+
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
|
1159
|
+
} else {
|
|
1160
|
+
const visualOffsets = getVisualOffsets(element);
|
|
1161
|
+
rect = {
|
|
1162
|
+
x: clippingAncestor.x - visualOffsets.x,
|
|
1163
|
+
y: clippingAncestor.y - visualOffsets.y,
|
|
1164
|
+
width: clippingAncestor.width,
|
|
1165
|
+
height: clippingAncestor.height
|
|
1166
|
+
};
|
|
1167
|
+
}
|
|
1168
|
+
return rectToClientRect(rect);
|
|
1169
|
+
}
|
|
1170
|
+
function hasFixedPositionAncestor(element, stopNode) {
|
|
1171
|
+
const parentNode = getParentNode(element);
|
|
1172
|
+
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
|
1173
|
+
return false;
|
|
1174
|
+
}
|
|
1175
|
+
return getComputedStyle2(parentNode).position === "fixed" || hasFixedPositionAncestor(parentNode, stopNode);
|
|
1176
|
+
}
|
|
1177
|
+
function getClippingElementAncestors(element, cache) {
|
|
1178
|
+
const cachedResult = cache.get(element);
|
|
1179
|
+
if (cachedResult) {
|
|
1180
|
+
return cachedResult;
|
|
1181
|
+
}
|
|
1182
|
+
let result = getOverflowAncestors(element, [], false).filter((el) => isElement(el) && getNodeName(el) !== "body");
|
|
1183
|
+
let currentContainingBlockComputedStyle = null;
|
|
1184
|
+
const elementIsFixed = getComputedStyle2(element).position === "fixed";
|
|
1185
|
+
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
1186
|
+
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1187
|
+
const computedStyle = getComputedStyle2(currentNode);
|
|
1188
|
+
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
1189
|
+
if (!currentNodeIsContaining && computedStyle.position === "fixed") {
|
|
1190
|
+
currentContainingBlockComputedStyle = null;
|
|
1191
|
+
}
|
|
1192
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === "static" && !!currentContainingBlockComputedStyle && (currentContainingBlockComputedStyle.position === "absolute" || currentContainingBlockComputedStyle.position === "fixed") || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
1193
|
+
if (shouldDropCurrentNode) {
|
|
1194
|
+
result = result.filter((ancestor) => ancestor !== currentNode);
|
|
1195
|
+
} else {
|
|
1196
|
+
currentContainingBlockComputedStyle = computedStyle;
|
|
1197
|
+
}
|
|
1198
|
+
currentNode = getParentNode(currentNode);
|
|
1199
|
+
}
|
|
1200
|
+
cache.set(element, result);
|
|
1201
|
+
return result;
|
|
1202
|
+
}
|
|
1203
|
+
function getClippingRect(_ref) {
|
|
1204
|
+
let {
|
|
1205
|
+
element,
|
|
1206
|
+
boundary,
|
|
1207
|
+
rootBoundary,
|
|
1208
|
+
strategy
|
|
1209
|
+
} = _ref;
|
|
1210
|
+
const elementClippingAncestors = boundary === "clippingAncestors" ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
1211
|
+
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
1212
|
+
const firstRect = getClientRectFromClippingAncestor(element, clippingAncestors[0], strategy);
|
|
1213
|
+
let top = firstRect.top;
|
|
1214
|
+
let right = firstRect.right;
|
|
1215
|
+
let bottom = firstRect.bottom;
|
|
1216
|
+
let left = firstRect.left;
|
|
1217
|
+
for (let i2 = 1; i2 < clippingAncestors.length; i2++) {
|
|
1218
|
+
const rect = getClientRectFromClippingAncestor(element, clippingAncestors[i2], strategy);
|
|
1219
|
+
top = max(rect.top, top);
|
|
1220
|
+
right = min(rect.right, right);
|
|
1221
|
+
bottom = min(rect.bottom, bottom);
|
|
1222
|
+
left = max(rect.left, left);
|
|
1223
|
+
}
|
|
1224
|
+
return {
|
|
1225
|
+
width: right - left,
|
|
1226
|
+
height: bottom - top,
|
|
1227
|
+
x: left,
|
|
1228
|
+
y: top
|
|
1229
|
+
};
|
|
1230
|
+
}
|
|
1231
|
+
function getDimensions(element) {
|
|
1232
|
+
const {
|
|
1233
|
+
width,
|
|
1234
|
+
height
|
|
1235
|
+
} = getCssDimensions(element);
|
|
1236
|
+
return {
|
|
1237
|
+
width,
|
|
1238
|
+
height
|
|
1239
|
+
};
|
|
1240
|
+
}
|
|
1241
|
+
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
1242
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1243
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
1244
|
+
const isFixed = strategy === "fixed";
|
|
1245
|
+
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
|
1246
|
+
let scroll = {
|
|
1247
|
+
scrollLeft: 0,
|
|
1248
|
+
scrollTop: 0
|
|
1249
|
+
};
|
|
1250
|
+
const offsets = createCoords(0);
|
|
1251
|
+
function setLeftRTLScrollbarOffset() {
|
|
1252
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
|
1253
|
+
}
|
|
1254
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1255
|
+
if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
|
|
1256
|
+
scroll = getNodeScroll(offsetParent);
|
|
1257
|
+
}
|
|
1258
|
+
if (isOffsetParentAnElement) {
|
|
1259
|
+
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
1260
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1261
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1262
|
+
} else if (documentElement) {
|
|
1263
|
+
setLeftRTLScrollbarOffset();
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1266
|
+
if (isFixed && !isOffsetParentAnElement && documentElement) {
|
|
1267
|
+
setLeftRTLScrollbarOffset();
|
|
1268
|
+
}
|
|
1269
|
+
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
1270
|
+
const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
|
|
1271
|
+
const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
|
|
1272
|
+
return {
|
|
1273
|
+
x,
|
|
1274
|
+
y,
|
|
1275
|
+
width: rect.width,
|
|
1276
|
+
height: rect.height
|
|
1277
|
+
};
|
|
1278
|
+
}
|
|
1279
|
+
function isStaticPositioned(element) {
|
|
1280
|
+
return getComputedStyle2(element).position === "static";
|
|
1281
|
+
}
|
|
1282
|
+
function getTrueOffsetParent(element, polyfill) {
|
|
1283
|
+
if (!isHTMLElement(element) || getComputedStyle2(element).position === "fixed") {
|
|
1284
|
+
return null;
|
|
1285
|
+
}
|
|
1286
|
+
if (polyfill) {
|
|
1287
|
+
return polyfill(element);
|
|
1288
|
+
}
|
|
1289
|
+
let rawOffsetParent = element.offsetParent;
|
|
1290
|
+
if (getDocumentElement(element) === rawOffsetParent) {
|
|
1291
|
+
rawOffsetParent = rawOffsetParent.ownerDocument.body;
|
|
1292
|
+
}
|
|
1293
|
+
return rawOffsetParent;
|
|
1294
|
+
}
|
|
1295
|
+
function getOffsetParent(element, polyfill) {
|
|
1296
|
+
const win = getWindow(element);
|
|
1297
|
+
if (isTopLayer(element)) {
|
|
1298
|
+
return win;
|
|
1299
|
+
}
|
|
1300
|
+
if (!isHTMLElement(element)) {
|
|
1301
|
+
let svgOffsetParent = getParentNode(element);
|
|
1302
|
+
while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
|
|
1303
|
+
if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
|
|
1304
|
+
return svgOffsetParent;
|
|
1305
|
+
}
|
|
1306
|
+
svgOffsetParent = getParentNode(svgOffsetParent);
|
|
1307
|
+
}
|
|
1308
|
+
return win;
|
|
1309
|
+
}
|
|
1310
|
+
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
1311
|
+
while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
|
|
1312
|
+
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
1313
|
+
}
|
|
1314
|
+
if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
|
|
1315
|
+
return win;
|
|
1316
|
+
}
|
|
1317
|
+
return offsetParent || getContainingBlock(element) || win;
|
|
1318
|
+
}
|
|
1319
|
+
var getElementRects = async function(data) {
|
|
1320
|
+
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
1321
|
+
const getDimensionsFn = this.getDimensions;
|
|
1322
|
+
const floatingDimensions = await getDimensionsFn(data.floating);
|
|
1323
|
+
return {
|
|
1324
|
+
reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
|
|
1325
|
+
floating: {
|
|
1326
|
+
x: 0,
|
|
1327
|
+
y: 0,
|
|
1328
|
+
width: floatingDimensions.width,
|
|
1329
|
+
height: floatingDimensions.height
|
|
1330
|
+
}
|
|
1331
|
+
};
|
|
1332
|
+
};
|
|
1333
|
+
function isRTL(element) {
|
|
1334
|
+
return getComputedStyle2(element).direction === "rtl";
|
|
1335
|
+
}
|
|
1336
|
+
var platform = {
|
|
1337
|
+
convertOffsetParentRelativeRectToViewportRelativeRect,
|
|
1338
|
+
getDocumentElement,
|
|
1339
|
+
getClippingRect,
|
|
1340
|
+
getOffsetParent,
|
|
1341
|
+
getElementRects,
|
|
1342
|
+
getClientRects,
|
|
1343
|
+
getDimensions,
|
|
1344
|
+
getScale,
|
|
1345
|
+
isElement,
|
|
1346
|
+
isRTL
|
|
1347
|
+
};
|
|
1348
|
+
function rectsAreEqual(a, b2) {
|
|
1349
|
+
return a.x === b2.x && a.y === b2.y && a.width === b2.width && a.height === b2.height;
|
|
1350
|
+
}
|
|
1351
|
+
function observeMove(element, onMove) {
|
|
1352
|
+
let io = null;
|
|
1353
|
+
let timeoutId;
|
|
1354
|
+
const root = getDocumentElement(element);
|
|
1355
|
+
function cleanup() {
|
|
1356
|
+
var _io;
|
|
1357
|
+
clearTimeout(timeoutId);
|
|
1358
|
+
(_io = io) == null || _io.disconnect();
|
|
1359
|
+
io = null;
|
|
1360
|
+
}
|
|
1361
|
+
function refresh(skip, threshold) {
|
|
1362
|
+
if (skip === void 0) {
|
|
1363
|
+
skip = false;
|
|
1364
|
+
}
|
|
1365
|
+
if (threshold === void 0) {
|
|
1366
|
+
threshold = 1;
|
|
1367
|
+
}
|
|
1368
|
+
cleanup();
|
|
1369
|
+
const elementRectForRootMargin = element.getBoundingClientRect();
|
|
1370
|
+
const {
|
|
1371
|
+
left,
|
|
1372
|
+
top,
|
|
1373
|
+
width,
|
|
1374
|
+
height
|
|
1375
|
+
} = elementRectForRootMargin;
|
|
1376
|
+
if (!skip) {
|
|
1377
|
+
onMove();
|
|
1378
|
+
}
|
|
1379
|
+
if (!width || !height) {
|
|
1380
|
+
return;
|
|
1381
|
+
}
|
|
1382
|
+
const insetTop = floor(top);
|
|
1383
|
+
const insetRight = floor(root.clientWidth - (left + width));
|
|
1384
|
+
const insetBottom = floor(root.clientHeight - (top + height));
|
|
1385
|
+
const insetLeft = floor(left);
|
|
1386
|
+
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
|
1387
|
+
const options = {
|
|
1388
|
+
rootMargin,
|
|
1389
|
+
threshold: max(0, min(1, threshold)) || 1
|
|
1390
|
+
};
|
|
1391
|
+
let isFirstUpdate = true;
|
|
1392
|
+
function handleObserve(entries) {
|
|
1393
|
+
const ratio = entries[0].intersectionRatio;
|
|
1394
|
+
if (ratio !== threshold) {
|
|
1395
|
+
if (!isFirstUpdate) {
|
|
1396
|
+
return refresh();
|
|
1397
|
+
}
|
|
1398
|
+
if (!ratio) {
|
|
1399
|
+
timeoutId = setTimeout(() => {
|
|
1400
|
+
refresh(false, 1e-7);
|
|
1401
|
+
}, 1e3);
|
|
1402
|
+
} else {
|
|
1403
|
+
refresh(false, ratio);
|
|
1404
|
+
}
|
|
1405
|
+
}
|
|
1406
|
+
if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
|
|
1407
|
+
refresh();
|
|
1408
|
+
}
|
|
1409
|
+
isFirstUpdate = false;
|
|
1410
|
+
}
|
|
1411
|
+
try {
|
|
1412
|
+
io = new IntersectionObserver(handleObserve, __spreadProps(__spreadValues({}, options), {
|
|
1413
|
+
// Handle <iframe>s
|
|
1414
|
+
root: root.ownerDocument
|
|
1415
|
+
}));
|
|
1416
|
+
} catch (_e) {
|
|
1417
|
+
io = new IntersectionObserver(handleObserve, options);
|
|
1418
|
+
}
|
|
1419
|
+
io.observe(element);
|
|
1420
|
+
}
|
|
1421
|
+
refresh(true);
|
|
1422
|
+
return cleanup;
|
|
1423
|
+
}
|
|
1424
|
+
function autoUpdate(reference, floating, update, options) {
|
|
1425
|
+
if (options === void 0) {
|
|
1426
|
+
options = {};
|
|
1427
|
+
}
|
|
1428
|
+
const {
|
|
1429
|
+
ancestorScroll = true,
|
|
1430
|
+
ancestorResize = true,
|
|
1431
|
+
elementResize = typeof ResizeObserver === "function",
|
|
1432
|
+
layoutShift = typeof IntersectionObserver === "function",
|
|
1433
|
+
animationFrame = false
|
|
1434
|
+
} = options;
|
|
1435
|
+
const referenceEl = unwrapElement(reference);
|
|
1436
|
+
const ancestors = ancestorScroll || ancestorResize ? [...referenceEl ? getOverflowAncestors(referenceEl) : [], ...floating ? getOverflowAncestors(floating) : []] : [];
|
|
1437
|
+
ancestors.forEach((ancestor) => {
|
|
1438
|
+
ancestorScroll && ancestor.addEventListener("scroll", update, {
|
|
1439
|
+
passive: true
|
|
1440
|
+
});
|
|
1441
|
+
ancestorResize && ancestor.addEventListener("resize", update);
|
|
1442
|
+
});
|
|
1443
|
+
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
1444
|
+
let reobserveFrame = -1;
|
|
1445
|
+
let resizeObserver = null;
|
|
1446
|
+
if (elementResize) {
|
|
1447
|
+
resizeObserver = new ResizeObserver((_ref) => {
|
|
1448
|
+
let [firstEntry] = _ref;
|
|
1449
|
+
if (firstEntry && firstEntry.target === referenceEl && resizeObserver && floating) {
|
|
1450
|
+
resizeObserver.unobserve(floating);
|
|
1451
|
+
cancelAnimationFrame(reobserveFrame);
|
|
1452
|
+
reobserveFrame = requestAnimationFrame(() => {
|
|
1453
|
+
var _resizeObserver;
|
|
1454
|
+
(_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
|
|
1455
|
+
});
|
|
1456
|
+
}
|
|
1457
|
+
update();
|
|
1458
|
+
});
|
|
1459
|
+
if (referenceEl && !animationFrame) {
|
|
1460
|
+
resizeObserver.observe(referenceEl);
|
|
1461
|
+
}
|
|
1462
|
+
if (floating) {
|
|
1463
|
+
resizeObserver.observe(floating);
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1466
|
+
let frameId;
|
|
1467
|
+
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
1468
|
+
if (animationFrame) {
|
|
1469
|
+
frameLoop();
|
|
1470
|
+
}
|
|
1471
|
+
function frameLoop() {
|
|
1472
|
+
const nextRefRect = getBoundingClientRect(reference);
|
|
1473
|
+
if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {
|
|
1474
|
+
update();
|
|
1475
|
+
}
|
|
1476
|
+
prevRefRect = nextRefRect;
|
|
1477
|
+
frameId = requestAnimationFrame(frameLoop);
|
|
1478
|
+
}
|
|
1479
|
+
update();
|
|
1480
|
+
return () => {
|
|
1481
|
+
var _resizeObserver2;
|
|
1482
|
+
ancestors.forEach((ancestor) => {
|
|
1483
|
+
ancestorScroll && ancestor.removeEventListener("scroll", update);
|
|
1484
|
+
ancestorResize && ancestor.removeEventListener("resize", update);
|
|
1485
|
+
});
|
|
1486
|
+
cleanupIo == null || cleanupIo();
|
|
1487
|
+
(_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
|
|
1488
|
+
resizeObserver = null;
|
|
1489
|
+
if (animationFrame) {
|
|
1490
|
+
cancelAnimationFrame(frameId);
|
|
1491
|
+
}
|
|
1492
|
+
};
|
|
1493
|
+
}
|
|
1494
|
+
var offset2 = offset;
|
|
1495
|
+
var shift2 = shift;
|
|
1496
|
+
var flip2 = flip;
|
|
1497
|
+
var size2 = size;
|
|
1498
|
+
var arrow2 = arrow;
|
|
1499
|
+
var computePosition2 = (reference, floating, options) => {
|
|
1500
|
+
const cache = /* @__PURE__ */ new Map();
|
|
1501
|
+
const mergedOptions = __spreadValues({
|
|
1502
|
+
platform
|
|
1503
|
+
}, options);
|
|
1504
|
+
const platformWithCache = __spreadProps(__spreadValues({}, mergedOptions.platform), {
|
|
1505
|
+
_c: cache
|
|
1506
|
+
});
|
|
1507
|
+
return computePosition(reference, floating, __spreadProps(__spreadValues({}, mergedOptions), {
|
|
1508
|
+
platform: platformWithCache
|
|
1509
|
+
}));
|
|
1510
|
+
};
|
|
1511
|
+
|
|
1512
|
+
// node_modules/composed-offset-position/dist/composed-offset-position.browser.min.mjs
|
|
1513
|
+
function e3(t) {
|
|
1514
|
+
return i(t);
|
|
1515
|
+
}
|
|
1516
|
+
function r(t) {
|
|
1517
|
+
return t.assignedSlot ? t.assignedSlot : t.parentNode instanceof ShadowRoot ? t.parentNode.host : t.parentNode;
|
|
1518
|
+
}
|
|
1519
|
+
function i(e4) {
|
|
1520
|
+
for (let t = e4; t; t = r(t)) if (t instanceof Element && "none" === getComputedStyle(t).display) return null;
|
|
1521
|
+
for (let n2 = r(e4); n2; n2 = r(n2)) {
|
|
1522
|
+
if (!(n2 instanceof Element)) continue;
|
|
1523
|
+
const e5 = getComputedStyle(n2);
|
|
1524
|
+
if ("contents" !== e5.display) {
|
|
1525
|
+
if ("static" !== e5.position || isContainingBlock(e5)) return n2;
|
|
1526
|
+
if ("BODY" === n2.tagName) return n2;
|
|
1527
|
+
}
|
|
1528
|
+
}
|
|
1529
|
+
return null;
|
|
1530
|
+
}
|
|
1531
|
+
|
|
1532
|
+
// src/components/popup/popup.component.ts
|
|
1533
|
+
function isVirtualElement(e4) {
|
|
1534
|
+
return e4 !== null && typeof e4 === "object" && "getBoundingClientRect" in e4 && ("contextElement" in e4 ? e4.contextElement instanceof Element : true);
|
|
1535
|
+
}
|
|
1536
|
+
var SlPopup = class extends ShoelaceElement {
|
|
1537
|
+
constructor() {
|
|
1538
|
+
super(...arguments);
|
|
1539
|
+
this.localize = new LocalizeController(this);
|
|
1540
|
+
this.active = false;
|
|
1541
|
+
this.placement = "top";
|
|
1542
|
+
this.strategy = "absolute";
|
|
1543
|
+
this.distance = 0;
|
|
1544
|
+
this.skidding = 0;
|
|
1545
|
+
this.arrow = false;
|
|
1546
|
+
this.arrowPlacement = "anchor";
|
|
1547
|
+
this.arrowPadding = 10;
|
|
1548
|
+
this.flip = false;
|
|
1549
|
+
this.flipFallbackPlacements = "";
|
|
1550
|
+
this.flipFallbackStrategy = "best-fit";
|
|
1551
|
+
this.flipPadding = 0;
|
|
1552
|
+
this.shift = false;
|
|
1553
|
+
this.shiftPadding = 0;
|
|
1554
|
+
this.autoSizePadding = 0;
|
|
1555
|
+
this.hoverBridge = false;
|
|
1556
|
+
this.updateHoverBridge = () => {
|
|
1557
|
+
if (this.hoverBridge && this.anchorEl) {
|
|
1558
|
+
const anchorRect = this.anchorEl.getBoundingClientRect();
|
|
1559
|
+
const popupRect = this.popup.getBoundingClientRect();
|
|
1560
|
+
const isVertical = this.placement.includes("top") || this.placement.includes("bottom");
|
|
1561
|
+
let topLeftX = 0;
|
|
1562
|
+
let topLeftY = 0;
|
|
1563
|
+
let topRightX = 0;
|
|
1564
|
+
let topRightY = 0;
|
|
1565
|
+
let bottomLeftX = 0;
|
|
1566
|
+
let bottomLeftY = 0;
|
|
1567
|
+
let bottomRightX = 0;
|
|
1568
|
+
let bottomRightY = 0;
|
|
1569
|
+
if (isVertical) {
|
|
1570
|
+
if (anchorRect.top < popupRect.top) {
|
|
1571
|
+
topLeftX = anchorRect.left;
|
|
1572
|
+
topLeftY = anchorRect.bottom;
|
|
1573
|
+
topRightX = anchorRect.right;
|
|
1574
|
+
topRightY = anchorRect.bottom;
|
|
1575
|
+
bottomLeftX = popupRect.left;
|
|
1576
|
+
bottomLeftY = popupRect.top;
|
|
1577
|
+
bottomRightX = popupRect.right;
|
|
1578
|
+
bottomRightY = popupRect.top;
|
|
1579
|
+
} else {
|
|
1580
|
+
topLeftX = popupRect.left;
|
|
1581
|
+
topLeftY = popupRect.bottom;
|
|
1582
|
+
topRightX = popupRect.right;
|
|
1583
|
+
topRightY = popupRect.bottom;
|
|
1584
|
+
bottomLeftX = anchorRect.left;
|
|
1585
|
+
bottomLeftY = anchorRect.top;
|
|
1586
|
+
bottomRightX = anchorRect.right;
|
|
1587
|
+
bottomRightY = anchorRect.top;
|
|
1588
|
+
}
|
|
1589
|
+
} else {
|
|
1590
|
+
if (anchorRect.left < popupRect.left) {
|
|
1591
|
+
topLeftX = anchorRect.right;
|
|
1592
|
+
topLeftY = anchorRect.top;
|
|
1593
|
+
topRightX = popupRect.left;
|
|
1594
|
+
topRightY = popupRect.top;
|
|
1595
|
+
bottomLeftX = anchorRect.right;
|
|
1596
|
+
bottomLeftY = anchorRect.bottom;
|
|
1597
|
+
bottomRightX = popupRect.left;
|
|
1598
|
+
bottomRightY = popupRect.bottom;
|
|
1599
|
+
} else {
|
|
1600
|
+
topLeftX = popupRect.right;
|
|
1601
|
+
topLeftY = popupRect.top;
|
|
1602
|
+
topRightX = anchorRect.left;
|
|
1603
|
+
topRightY = anchorRect.top;
|
|
1604
|
+
bottomLeftX = popupRect.right;
|
|
1605
|
+
bottomLeftY = popupRect.bottom;
|
|
1606
|
+
bottomRightX = anchorRect.left;
|
|
1607
|
+
bottomRightY = anchorRect.bottom;
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
this.style.setProperty("--hover-bridge-top-left-x", `${topLeftX}px`);
|
|
1611
|
+
this.style.setProperty("--hover-bridge-top-left-y", `${topLeftY}px`);
|
|
1612
|
+
this.style.setProperty("--hover-bridge-top-right-x", `${topRightX}px`);
|
|
1613
|
+
this.style.setProperty("--hover-bridge-top-right-y", `${topRightY}px`);
|
|
1614
|
+
this.style.setProperty("--hover-bridge-bottom-left-x", `${bottomLeftX}px`);
|
|
1615
|
+
this.style.setProperty("--hover-bridge-bottom-left-y", `${bottomLeftY}px`);
|
|
1616
|
+
this.style.setProperty("--hover-bridge-bottom-right-x", `${bottomRightX}px`);
|
|
1617
|
+
this.style.setProperty("--hover-bridge-bottom-right-y", `${bottomRightY}px`);
|
|
1618
|
+
}
|
|
1619
|
+
};
|
|
1620
|
+
}
|
|
1621
|
+
async connectedCallback() {
|
|
1622
|
+
super.connectedCallback();
|
|
1623
|
+
await this.updateComplete;
|
|
1624
|
+
this.start();
|
|
1625
|
+
}
|
|
1626
|
+
disconnectedCallback() {
|
|
1627
|
+
super.disconnectedCallback();
|
|
1628
|
+
this.stop();
|
|
1629
|
+
}
|
|
1630
|
+
async updated(changedProps) {
|
|
1631
|
+
super.updated(changedProps);
|
|
1632
|
+
if (changedProps.has("active")) {
|
|
1633
|
+
if (this.active) {
|
|
1634
|
+
this.start();
|
|
1635
|
+
} else {
|
|
1636
|
+
this.stop();
|
|
1637
|
+
}
|
|
1638
|
+
}
|
|
1639
|
+
if (changedProps.has("anchor")) {
|
|
1640
|
+
this.handleAnchorChange();
|
|
1641
|
+
}
|
|
1642
|
+
if (this.active) {
|
|
1643
|
+
await this.updateComplete;
|
|
1644
|
+
this.reposition();
|
|
1645
|
+
}
|
|
1646
|
+
}
|
|
1647
|
+
async handleAnchorChange() {
|
|
1648
|
+
await this.stop();
|
|
1649
|
+
if (this.anchor && typeof this.anchor === "string") {
|
|
1650
|
+
const root = this.getRootNode();
|
|
1651
|
+
this.anchorEl = root.getElementById(this.anchor);
|
|
1652
|
+
} else if (this.anchor instanceof Element || isVirtualElement(this.anchor)) {
|
|
1653
|
+
this.anchorEl = this.anchor;
|
|
1654
|
+
} else {
|
|
1655
|
+
this.anchorEl = this.querySelector('[slot="anchor"]');
|
|
1656
|
+
}
|
|
1657
|
+
if (this.anchorEl instanceof HTMLSlotElement) {
|
|
1658
|
+
this.anchorEl = this.anchorEl.assignedElements({ flatten: true })[0];
|
|
1659
|
+
}
|
|
1660
|
+
if (this.anchorEl && this.active) {
|
|
1661
|
+
this.start();
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1664
|
+
start() {
|
|
1665
|
+
if (!this.anchorEl || !this.active) {
|
|
1666
|
+
return;
|
|
1667
|
+
}
|
|
1668
|
+
this.cleanup = autoUpdate(this.anchorEl, this.popup, () => {
|
|
1669
|
+
this.reposition();
|
|
1670
|
+
});
|
|
1671
|
+
}
|
|
1672
|
+
async stop() {
|
|
1673
|
+
return new Promise((resolve) => {
|
|
1674
|
+
if (this.cleanup) {
|
|
1675
|
+
this.cleanup();
|
|
1676
|
+
this.cleanup = void 0;
|
|
1677
|
+
this.removeAttribute("data-current-placement");
|
|
1678
|
+
this.style.removeProperty("--auto-size-available-width");
|
|
1679
|
+
this.style.removeProperty("--auto-size-available-height");
|
|
1680
|
+
requestAnimationFrame(() => resolve());
|
|
1681
|
+
} else {
|
|
1682
|
+
resolve();
|
|
1683
|
+
}
|
|
1684
|
+
});
|
|
1685
|
+
}
|
|
1686
|
+
/** Forces the popup to recalculate and reposition itself. */
|
|
1687
|
+
reposition() {
|
|
1688
|
+
if (!this.active || !this.anchorEl) {
|
|
1689
|
+
return;
|
|
1690
|
+
}
|
|
1691
|
+
const middleware = [
|
|
1692
|
+
// The offset middleware goes first
|
|
1693
|
+
offset2({ mainAxis: this.distance, crossAxis: this.skidding })
|
|
1694
|
+
];
|
|
1695
|
+
if (this.sync) {
|
|
1696
|
+
middleware.push(
|
|
1697
|
+
size2({
|
|
1698
|
+
apply: ({ rects }) => {
|
|
1699
|
+
const syncWidth = this.sync === "width" || this.sync === "both";
|
|
1700
|
+
const syncHeight = this.sync === "height" || this.sync === "both";
|
|
1701
|
+
this.popup.style.width = syncWidth ? `${rects.reference.width}px` : "";
|
|
1702
|
+
this.popup.style.height = syncHeight ? `${rects.reference.height}px` : "";
|
|
1703
|
+
}
|
|
1704
|
+
})
|
|
1705
|
+
);
|
|
1706
|
+
} else {
|
|
1707
|
+
this.popup.style.width = "";
|
|
1708
|
+
this.popup.style.height = "";
|
|
1709
|
+
}
|
|
1710
|
+
if (this.flip) {
|
|
1711
|
+
middleware.push(
|
|
1712
|
+
flip2({
|
|
1713
|
+
boundary: this.flipBoundary,
|
|
1714
|
+
// @ts-expect-error - We're converting a string attribute to an array here
|
|
1715
|
+
fallbackPlacements: this.flipFallbackPlacements,
|
|
1716
|
+
fallbackStrategy: this.flipFallbackStrategy === "best-fit" ? "bestFit" : "initialPlacement",
|
|
1717
|
+
padding: this.flipPadding
|
|
1718
|
+
})
|
|
1719
|
+
);
|
|
1720
|
+
}
|
|
1721
|
+
if (this.shift) {
|
|
1722
|
+
middleware.push(
|
|
1723
|
+
shift2({
|
|
1724
|
+
boundary: this.shiftBoundary,
|
|
1725
|
+
padding: this.shiftPadding
|
|
1726
|
+
})
|
|
1727
|
+
);
|
|
1728
|
+
}
|
|
1729
|
+
if (this.autoSize) {
|
|
1730
|
+
middleware.push(
|
|
1731
|
+
size2({
|
|
1732
|
+
boundary: this.autoSizeBoundary,
|
|
1733
|
+
padding: this.autoSizePadding,
|
|
1734
|
+
apply: ({ availableWidth, availableHeight }) => {
|
|
1735
|
+
if (this.autoSize === "vertical" || this.autoSize === "both") {
|
|
1736
|
+
this.style.setProperty("--auto-size-available-height", `${availableHeight}px`);
|
|
1737
|
+
} else {
|
|
1738
|
+
this.style.removeProperty("--auto-size-available-height");
|
|
1739
|
+
}
|
|
1740
|
+
if (this.autoSize === "horizontal" || this.autoSize === "both") {
|
|
1741
|
+
this.style.setProperty("--auto-size-available-width", `${availableWidth}px`);
|
|
1742
|
+
} else {
|
|
1743
|
+
this.style.removeProperty("--auto-size-available-width");
|
|
1744
|
+
}
|
|
1745
|
+
}
|
|
1746
|
+
})
|
|
1747
|
+
);
|
|
1748
|
+
} else {
|
|
1749
|
+
this.style.removeProperty("--auto-size-available-width");
|
|
1750
|
+
this.style.removeProperty("--auto-size-available-height");
|
|
1751
|
+
}
|
|
1752
|
+
if (this.arrow) {
|
|
1753
|
+
middleware.push(
|
|
1754
|
+
arrow2({
|
|
1755
|
+
element: this.arrowEl,
|
|
1756
|
+
padding: this.arrowPadding
|
|
1757
|
+
})
|
|
1758
|
+
);
|
|
1759
|
+
}
|
|
1760
|
+
const getOffsetParent2 = this.strategy === "absolute" ? (element) => platform.getOffsetParent(element, e3) : platform.getOffsetParent;
|
|
1761
|
+
computePosition2(this.anchorEl, this.popup, {
|
|
1762
|
+
placement: this.placement,
|
|
1763
|
+
middleware,
|
|
1764
|
+
strategy: this.strategy,
|
|
1765
|
+
platform: __spreadProps(__spreadValues({}, platform), {
|
|
1766
|
+
getOffsetParent: getOffsetParent2
|
|
1767
|
+
})
|
|
1768
|
+
}).then(({ x, y, middlewareData, placement }) => {
|
|
1769
|
+
const isRtl = this.localize.dir() === "rtl";
|
|
1770
|
+
const staticSide = { top: "bottom", right: "left", bottom: "top", left: "right" }[placement.split("-")[0]];
|
|
1771
|
+
this.setAttribute("data-current-placement", placement);
|
|
1772
|
+
Object.assign(this.popup.style, {
|
|
1773
|
+
left: `${x}px`,
|
|
1774
|
+
top: `${y}px`
|
|
1775
|
+
});
|
|
1776
|
+
if (this.arrow) {
|
|
1777
|
+
const arrowX = middlewareData.arrow.x;
|
|
1778
|
+
const arrowY = middlewareData.arrow.y;
|
|
1779
|
+
let top = "";
|
|
1780
|
+
let right = "";
|
|
1781
|
+
let bottom = "";
|
|
1782
|
+
let left = "";
|
|
1783
|
+
if (this.arrowPlacement === "start") {
|
|
1784
|
+
const value = typeof arrowX === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1785
|
+
top = typeof arrowY === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1786
|
+
right = isRtl ? value : "";
|
|
1787
|
+
left = isRtl ? "" : value;
|
|
1788
|
+
} else if (this.arrowPlacement === "end") {
|
|
1789
|
+
const value = typeof arrowX === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1790
|
+
right = isRtl ? "" : value;
|
|
1791
|
+
left = isRtl ? value : "";
|
|
1792
|
+
bottom = typeof arrowY === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1793
|
+
} else if (this.arrowPlacement === "center") {
|
|
1794
|
+
left = typeof arrowX === "number" ? `calc(50% - var(--arrow-size-diagonal))` : "";
|
|
1795
|
+
top = typeof arrowY === "number" ? `calc(50% - var(--arrow-size-diagonal))` : "";
|
|
1796
|
+
} else {
|
|
1797
|
+
left = typeof arrowX === "number" ? `${arrowX}px` : "";
|
|
1798
|
+
top = typeof arrowY === "number" ? `${arrowY}px` : "";
|
|
1799
|
+
}
|
|
1800
|
+
Object.assign(this.arrowEl.style, {
|
|
1801
|
+
top,
|
|
1802
|
+
right,
|
|
1803
|
+
bottom,
|
|
1804
|
+
left,
|
|
1805
|
+
[staticSide]: "calc(var(--arrow-size-diagonal) * -1)"
|
|
1806
|
+
});
|
|
1807
|
+
}
|
|
1808
|
+
});
|
|
1809
|
+
requestAnimationFrame(() => this.updateHoverBridge());
|
|
1810
|
+
this.emit("sl-reposition");
|
|
1811
|
+
}
|
|
1812
|
+
render() {
|
|
1813
|
+
return b`
|
|
1814
|
+
<slot name="anchor" @slotchange=${this.handleAnchorChange}></slot>
|
|
1815
|
+
|
|
1816
|
+
<span
|
|
1817
|
+
part="hover-bridge"
|
|
1818
|
+
class=${e({
|
|
1819
|
+
"popup-hover-bridge": true,
|
|
1820
|
+
"popup-hover-bridge--visible": this.hoverBridge && this.active
|
|
1821
|
+
})}
|
|
1822
|
+
></span>
|
|
1823
|
+
|
|
1824
|
+
<div
|
|
1825
|
+
part="popup"
|
|
1826
|
+
class=${e({
|
|
1827
|
+
popup: true,
|
|
1828
|
+
"popup--active": this.active,
|
|
1829
|
+
"popup--fixed": this.strategy === "fixed",
|
|
1830
|
+
"popup--has-arrow": this.arrow
|
|
1831
|
+
})}
|
|
1832
|
+
>
|
|
1833
|
+
<slot></slot>
|
|
1834
|
+
${this.arrow ? b`<div part="arrow" class="popup__arrow" role="presentation"></div>` : ""}
|
|
1835
|
+
</div>
|
|
1836
|
+
`;
|
|
1837
|
+
}
|
|
1838
|
+
};
|
|
1839
|
+
SlPopup.styles = [component_styles_default, popup_styles_default];
|
|
1840
|
+
__decorateClass([
|
|
1841
|
+
e2(".popup")
|
|
1842
|
+
], SlPopup.prototype, "popup", 2);
|
|
1843
|
+
__decorateClass([
|
|
1844
|
+
e2(".popup__arrow")
|
|
1845
|
+
], SlPopup.prototype, "arrowEl", 2);
|
|
1846
|
+
__decorateClass([
|
|
1847
|
+
n()
|
|
1848
|
+
], SlPopup.prototype, "anchor", 2);
|
|
1849
|
+
__decorateClass([
|
|
1850
|
+
n({ type: Boolean, reflect: true })
|
|
1851
|
+
], SlPopup.prototype, "active", 2);
|
|
1852
|
+
__decorateClass([
|
|
1853
|
+
n({ reflect: true })
|
|
1854
|
+
], SlPopup.prototype, "placement", 2);
|
|
1855
|
+
__decorateClass([
|
|
1856
|
+
n({ reflect: true })
|
|
1857
|
+
], SlPopup.prototype, "strategy", 2);
|
|
1858
|
+
__decorateClass([
|
|
1859
|
+
n({ type: Number })
|
|
1860
|
+
], SlPopup.prototype, "distance", 2);
|
|
1861
|
+
__decorateClass([
|
|
1862
|
+
n({ type: Number })
|
|
1863
|
+
], SlPopup.prototype, "skidding", 2);
|
|
1864
|
+
__decorateClass([
|
|
1865
|
+
n({ type: Boolean })
|
|
1866
|
+
], SlPopup.prototype, "arrow", 2);
|
|
1867
|
+
__decorateClass([
|
|
1868
|
+
n({ attribute: "arrow-placement" })
|
|
1869
|
+
], SlPopup.prototype, "arrowPlacement", 2);
|
|
1870
|
+
__decorateClass([
|
|
1871
|
+
n({ attribute: "arrow-padding", type: Number })
|
|
1872
|
+
], SlPopup.prototype, "arrowPadding", 2);
|
|
1873
|
+
__decorateClass([
|
|
1874
|
+
n({ type: Boolean })
|
|
1875
|
+
], SlPopup.prototype, "flip", 2);
|
|
1876
|
+
__decorateClass([
|
|
1877
|
+
n({
|
|
1878
|
+
attribute: "flip-fallback-placements",
|
|
1879
|
+
converter: {
|
|
1880
|
+
fromAttribute: (value) => {
|
|
1881
|
+
return value.split(" ").map((p) => p.trim()).filter((p) => p !== "");
|
|
1882
|
+
},
|
|
1883
|
+
toAttribute: (value) => {
|
|
1884
|
+
return value.join(" ");
|
|
1885
|
+
}
|
|
1886
|
+
}
|
|
1887
|
+
})
|
|
1888
|
+
], SlPopup.prototype, "flipFallbackPlacements", 2);
|
|
1889
|
+
__decorateClass([
|
|
1890
|
+
n({ attribute: "flip-fallback-strategy" })
|
|
1891
|
+
], SlPopup.prototype, "flipFallbackStrategy", 2);
|
|
1892
|
+
__decorateClass([
|
|
1893
|
+
n({ type: Object })
|
|
1894
|
+
], SlPopup.prototype, "flipBoundary", 2);
|
|
1895
|
+
__decorateClass([
|
|
1896
|
+
n({ attribute: "flip-padding", type: Number })
|
|
1897
|
+
], SlPopup.prototype, "flipPadding", 2);
|
|
1898
|
+
__decorateClass([
|
|
1899
|
+
n({ type: Boolean })
|
|
1900
|
+
], SlPopup.prototype, "shift", 2);
|
|
1901
|
+
__decorateClass([
|
|
1902
|
+
n({ type: Object })
|
|
1903
|
+
], SlPopup.prototype, "shiftBoundary", 2);
|
|
1904
|
+
__decorateClass([
|
|
1905
|
+
n({ attribute: "shift-padding", type: Number })
|
|
1906
|
+
], SlPopup.prototype, "shiftPadding", 2);
|
|
1907
|
+
__decorateClass([
|
|
1908
|
+
n({ attribute: "auto-size" })
|
|
1909
|
+
], SlPopup.prototype, "autoSize", 2);
|
|
1910
|
+
__decorateClass([
|
|
1911
|
+
n()
|
|
1912
|
+
], SlPopup.prototype, "sync", 2);
|
|
1913
|
+
__decorateClass([
|
|
1914
|
+
n({ type: Object })
|
|
1915
|
+
], SlPopup.prototype, "autoSizeBoundary", 2);
|
|
1916
|
+
__decorateClass([
|
|
1917
|
+
n({ attribute: "auto-size-padding", type: Number })
|
|
1918
|
+
], SlPopup.prototype, "autoSizePadding", 2);
|
|
1919
|
+
__decorateClass([
|
|
1920
|
+
n({ attribute: "hover-bridge", type: Boolean })
|
|
1921
|
+
], SlPopup.prototype, "hoverBridge", 2);
|
|
1922
|
+
|
|
1923
|
+
export {
|
|
1924
|
+
SlPopup
|
|
1925
|
+
};
|